/* Editing navigation only; card artwork and print dimensions stay in their own stylesheets. */
#storage-note:empty{display:none}
@media screen{
 main{grid-template-columns:310px minmax(0,1fr);overflow:clip;align-items:start}
 .editor-sidebar{position:sticky;top:16px;display:flex;flex-direction:column;height:min(820px,calc(100dvh - 32px));max-height:none;min-height:380px;padding:0;overflow:hidden;background:#fbfaf7}
 .editor-head{padding:18px 16px 12px}
 .editor-caption{font-size:11px;color:#7d8476;margin-bottom:12px;letter-spacing:1px}
 #brand-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .editor-sidebar .brand-button{display:flex;flex-direction:column;gap:7px;justify-content:center;padding:10px 3px;margin:0;text-align:center}
 .editor-sidebar .brand-button strong{font-size:10px;white-space:nowrap}
 .editor-sidebar .brand-button small{display:none}
 .editor-sidebar .brand-dot{width:20px;height:20px;font-size:8px}
 .editor-tabs{display:grid;grid-template-columns:repeat(var(--editor-tab-count,5),minmax(0,1fr));padding:0 12px;border-bottom:1px solid #dce0d3;flex-shrink:0}
 .editor-tabs button{padding:13px 0 11px;background:transparent;border:0;border-bottom:2px solid transparent;color:#838978;font-size:12px}
 .editor-tabs button[aria-selected=true]{color:#344531;border-bottom-color:#344531;font-weight:600}
 .editor-tabs button:hover{background:#eef0e7}
 .editor-body{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:4px 16px 20px}
 .editor-sidebar .editor-panel{padding:0;margin:0;border:0}
 .editor-sidebar .editor-panel:focus-visible{outline:2px solid #798d68;outline-offset:-2px}
 .editor-sidebar .note,.editor-sidebar .asset-note{font-size:11px;line-height:1.65;margin-top:10px}
 .editor-sidebar .field-label{font-size:12px;margin-top:16px}
 .editor-sidebar .editor-save-status{margin:0;padding:10px 16px;border-top:1px solid #e0e2d9;background:#f4f5ee;font-size:10px;flex-shrink:0}
 .editor-disclosure{margin-top:12px;border:1px solid #e0e2d9;border-radius:5px;background:#ffffff45}
 .editor-disclosure summary{padding:12px;color:#526048;font-size:12px;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between}
 .editor-disclosure summary::-webkit-details-marker{display:none}
 .editor-disclosure summary::after{content:'+';font:16px Inter,Arial,sans-serif;color:#8a9280}
 .editor-disclosure[open]>summary::after{content:'−'}
 .editor-disclosure summary:focus-visible{outline:2px solid #798d68;outline-offset:2px}
 .disclosure-body{padding:0 12px 12px}
 .disclosure-body .field-label:first-child{margin-top:8px}
 .editor-sidebar #fields{display:block}
 .editor-sidebar #fields>.editor-disclosure{margin-top:10px}
 .editor-sidebar #woks-paper-bias-controls{margin-top:22px;padding-top:12px;border-top:1px solid #e0e2d9}
 .editor-sidebar .scan-presets img{height:68px}
 .editor-sidebar .cut-presets button svg{height:46px}
 .editor-sidebar .cut-presets button span{font-size:9px}
 .editor-sidebar .qr-upload-wrap{display:flex;margin-top:18px}
 .editor-sidebar .qr-upload-wrap:has([hidden]){display:none}
 .editor-sidebar .asset-buttons{margin-top:16px}
 .workspace{align-self:stretch}
 .text-presets{margin-top:12px;padding:12px;border:1px solid #d9decf;border-radius:6px;background:#f0f2ea}
 .preset-heading{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#46533d}
 .preset-heading span{font-size:10px;color:#838978}
 .preset-row{display:flex;gap:6px}.preset-row select{flex:1;min-width:0}
 .preset-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
 .preset-row button,.preset-actions button{white-space:nowrap;border:1px solid #d0d7c7;border-radius:4px;background:#fffefa;color:#405335;padding:8px;font-size:11px}
 .preset-actions button:first-child{background:#405335;color:white;border-color:#405335}
 .text-presets button:disabled{opacity:.4;cursor:default}
 #text-preset-status:empty{display:none}
 #text-preset-status[data-error=true]{color:#a04434}
}
@media screen and (max-width:780px){
 main{grid-template-columns:1fr}
 .editor-sidebar{position:static;height:auto;min-height:0;max-height:550px;border-right:0}
 .editor-head{padding:12px 16px 8px}
 .editor-caption{display:none}
 .editor-sidebar .brand-button{flex-direction:row;padding:10px 4px}
 .editor-body{max-height:340px;flex:auto}
 .editor-sidebar .brand-button strong{font-size:11px}
}
