.sheet-launch{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 20px;margin:4px 0 23px;border:1px solid #c7daec;background:#fff;border-radius:12px;box-shadow:0 5px 20px #08245708}.sheet-launch strong{font-size:15px;color:#082457}.sheet-launch p{font-size:12px;color:#58718e;margin:4px 0 0}.sheet-open-button{display:flex;align-items:center;gap:12px;border:0;border-radius:8px;background:#082457;color:white;padding:12px 18px;white-space:nowrap;font-weight:700}.sheet-count{display:grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:20px;background:#00a6aa;color:white;font-size:12px}.sheet-add{margin:10px 0 0;width:100%;min-height:44px;font-weight:700;border-color:#178b96;color:#066e79;background:#f0fbfb;cursor:pointer}.sheet-add:disabled{opacity:.45;cursor:wait}.sheet-mini-link{display:block;margin:10px auto 0}.sheet-add-note{font-size:10px;line-height:1.5;color:#58718e;text-align:center;margin-top:6px}
#sheet-dialog{box-sizing:border-box;width:calc(100vw - 32px);max-width:1220px;height:calc(100dvh - 40px);max-height:980px;padding:0;border:1px solid #c3d4e7;border-radius:16px;background:#f3f6fa;color:#132e4b;overflow:hidden}#sheet-dialog[open]{display:flex;flex-direction:column}#sheet-dialog::backdrop{background:#06162dc2;backdrop-filter:blur(4px)}#sheet-dialog [hidden]{display:none!important}.sheet-header{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:18px 24px;background:#fff;border-bottom:1px solid #d8e2ee;flex-shrink:0}.sheet-header .eyebrow{font-size:9px;margin-bottom:4px;color:#158895}.sheet-header h2{font-size:25px;font-weight:750;letter-spacing:-.7px;margin:0}.sheet-header p:last-child{font-size:11px;color:#58718e;margin:5px 0 0}.sheet-close{width:auto;padding:11px 16px;font-weight:650}.sheet-body{display:grid;grid-template-columns:285px minmax(0,1fr);min-height:0;flex:1}.sheet-sidebar{background:#fff;overflow:auto;padding:20px;border-right:1px solid #d8e2ee}.sheet-sidebar h3{font-size:14px;margin:0 0 14px}.sheet-sidebar form{padding:0}.sheet-sidebar label{display:block;font-size:11px;font-weight:650;margin-bottom:11px}.sheet-sidebar input[type=number],.sheet-sidebar select{display:block;width:100%;min-height:38px;height:38px;padding:6px 9px;margin-top:5px;border:1px solid #bdcee0;border-radius:6px;color:#132e4b;background:#fff;font-size:13px}.sheet-sidebar .sheet-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sheet-sidebar button{font-size:12px}.sheet-sidebar fieldset{margin:0;padding:0;border:0}.sheet-sidebar fieldset:disabled{opacity:.6}.sheet-helper{font-size:11px;line-height:1.6;color:#63768e;margin:10px 0 14px}.sheet-divider{border:0;border-top:1px solid #e0e8f1;margin:20px 0}.sheet-sidebar .check-row{display:flex;align-items:flex-start;font-size:12px;gap:8px;line-height:1.5;margin:15px 0}.sheet-sidebar .check-row input{flex:none;margin-top:3px}.sheet-sidebar .check-row small{font-size:10px;display:block;color:#63768e;font-weight:400}.sheet-selection-title{font-size:12px;line-height:1.5;overflow-wrap:anywhere;margin:0 0 5px;font-weight:700}.sheet-selection-size{font-size:11px;color:#63768e;line-height:1.5;margin:0 0 12px}.sheet-nudges{display:grid;grid-template-columns:repeat(3,34px);justify-content:center;gap:4px;margin:10px auto}.sheet-nudges button{width:34px;height:32px;padding:0;border:1px solid #c3d4e7;border-radius:5px;background:#f4f8fc;color:#0c4b7a;font-size:17px}.sheet-nudges span{font-size:10px;display:grid;place-items:center;color:#63768e}.sheet-selection-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.sheet-remove{color:#ad3c3c!important}.sheet-workspace{min-width:0;min-height:0;display:flex;flex-direction:column}.sheet-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 20px;border-bottom:1px solid #d8e2ee;background:#edf3f9;flex-shrink:0}.sheet-toolbar select{border:1px solid #bfcfdf;border-radius:6px;min-height:35px;background:#fff;padding:6px 9px;color:#132e4b;font-size:12px}.sheet-toolbar button{border:1px solid #c2d3e4;border-radius:6px;min-height:35px;background:white;color:#134776;padding:7px 10px;font-size:11px;font-weight:650}.sheet-toolbar .sheet-toolbar-spacer{flex:1}.sheet-scroll{padding:25px;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}.sheet-paper{position:relative;width:100%;background:white;margin:0 auto;box-shadow:0 5px 20px #09244625;isolation:isolate;overflow:hidden}.sheet-margin-guide{position:absolute;border:1px dashed #abc1d4;pointer-events:none;z-index:2}.sheet-art{position:absolute;inset:0;transform-origin:center}.sheet-art.is-mirrored{transform:scaleX(-1)}.sheet-design{position:absolute;padding:0;background:none;border:0;touch-action:none;cursor:grab;outline:none;overflow:visible;line-height:0}.sheet-design img{display:block;width:100%;height:100%;pointer-events:none;user-select:none}.sheet-design:focus-visible,.sheet-design.is-selected{outline:2px solid #00a3ad;outline-offset:3px;z-index:3}.sheet-design:active{cursor:grabbing}.sheet-design.is-blocked{outline-color:#d04239;background:#d0423920}.sheet-empty{position:absolute;inset:35% 14% auto;text-align:center;font-size:14px;color:#8090a4;line-height:1.8;pointer-events:none}.sheet-canvas-help{text-align:center;font-size:11px;line-height:1.6;color:#5a6e86;max-width:570px;margin:14px auto 0}.sheet-mirror-note{text-align:center;font-size:11px;color:#9b6317;background:#fff4d9;border:1px solid #e7d8a7;border-radius:6px;padding:8px;margin:0 auto 15px;max-width:500px}.sheet-footer{background:#fff;border-top:1px solid #d8e2ee;padding:14px 24px;display:flex;gap:18px;align-items:center;justify-content:space-between;flex-shrink:0}.sheet-footer-copy{max-width:540px}.sheet-footer-copy p{font-size:11px;line-height:1.6;margin:0}.sheet-footer-copy strong{font-size:12px}.sheet-footer-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.sheet-footer-actions .primary-button,.sheet-footer-actions .secondary-button{width:auto;white-space:nowrap;text-decoration:none;min-height:40px;font-size:12px}.sheet-pdf-ready{display:flex;gap:8px}.sheet-status{font-size:11px;color:#066e79;line-height:1.5;margin-top:6px!important}.sheet-status.is-error,.sheet-helper.is-error{color:#ae3737}.sheet-clear-confirm{background:#fff4ed;border:1px solid #edcab7;border-radius:7px;padding:12px;font-size:12px;line-height:1.6;margin-top:12px}.sheet-clear-confirm div{display:flex;gap:12px;margin-top:8px}.sheet-clear-confirm button{border:0;background:none;padding:3px;color:#164575;text-decoration:underline}.sheet-clear-confirm button:last-child{color:#ae3737}#sheet-dialog button:disabled{opacity:.45;cursor:default}#sheet-dialog button:focus-visible,#sheet-dialog a:focus-visible{outline:3px solid #0799b0;outline-offset:3px}
@media(max-width:800px){#sheet-dialog{width:100vw;height:100dvh;max-height:none;border-radius:0;overflow:auto}.sheet-header{padding:15px;position:sticky;top:0;z-index:5}.sheet-header h2{font-size:22px}.sheet-close{padding:10px;font-size:11px}.sheet-body{display:flex;flex-direction:column;overflow:visible;flex:none;min-height:auto}.sheet-sidebar{order:2;overflow:visible;border:0;display:block;padding:20px}.sheet-workspace{order:1;display:block}.sheet-scroll{padding:18px;overflow:visible}.sheet-paper{max-width:460px!important}.sheet-toolbar{padding:10px 15px}.sheet-empty{font-size:12px}.sheet-footer{display:block;padding:16px;flex:none}.sheet-footer-actions{justify-content:flex-start;margin-top:14px}.sheet-pdf-ready{flex-wrap:wrap}.sheet-launch{align-items:flex-start;padding:14px}.sheet-launch p{font-size:11px;max-width:185px}.sheet-launch strong{font-size:13px}.sheet-open-button{font-size:12px;gap:7px;padding:10px}.sheet-header .eyebrow{font-size:8px}}

#sheet-dialog .sheet-footer{margin:0}#sheet-dialog .sheet-footer:before{display:none}#sheet-dialog .sheet-footer p{display:block;max-width:none;text-align:left}#sheet-dialog .sheet-footer strong{text-transform:none;letter-spacing:0}#sheet-dialog .sheet-status{color:#066e79}#sheet-dialog .sheet-status.is-error{color:#ae3737}

/* Optional bleed: original artwork stays at the finished size. */
.sheet-bleed-panel{padding:14px;border:1px solid #b8d8dd;border-radius:9px;background:#edf8f7}.sheet-bleed-panel h3{display:flex;justify-content:space-between;align-items:center;gap:8px}.sheet-bleed-panel h3 span{font-size:10px;font-weight:500;color:#49747b;background:white;padding:3px 6px;border-radius:4px}.sheet-bleed-panel .check-row:first-of-type{margin-top:10px}.sheet-bleed-panel label[for]{display:block;font-size:12px;font-weight:600;margin:12px 0 6px}.sheet-bleed-panel>fieldset>input{width:100%;box-sizing:border-box;padding:8px;border:1px solid #c0d6db;border-radius:6px;color:#163c4c;background:white;font:inherit;font-size:13px}.sheet-bleed-panel>fieldset>select{width:100%;margin-bottom:12px}.sheet-bleed-panel #sheet-bleed-apply{width:100%;margin-top:10px}.sheet-bleed-panel input:disabled{opacity:.55}.sheet-design .sheet-bleed-image{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.sheet-design .sheet-original-image{position:absolute;pointer-events:none}.sheet-trim-guide{display:none;position:absolute;box-sizing:border-box;pointer-events:none;border:1.5px dashed #008c92;filter:drop-shadow(0 0 1px #fff);z-index:1}.show-trim .sheet-trim-guide{display:block}.sheet-trim-guide.is-circle{border-radius:50%}

.sheet-png-ready{display:flex;gap:8px;align-items:center;flex-wrap:wrap;width:100%}.sheet-png-ready select{min-height:40px;padding:6px 10px;border:1px solid #bdcee0;border-radius:6px;background:white;color:#132e4b}.sheet-png-ready span{flex-basis:100%;font-size:11px;color:#58718e}.sheet-footer-actions{min-width:0}.sheet-png-ready a{max-width:100%}

/* Specifications sit beside downloads and stay usable on short screens. */
#sheet-dialog .sheet-footer{max-height:45dvh;overflow:auto;align-items:flex-start}
.sheet-print-checks{padding:8px 10px;margin-bottom:7px;border:1px solid #bed9dc;border-radius:7px;background:#f1f9f9;overflow-wrap:anywhere}
#sheet-dialog .sheet-print-checks>p{font-size:11px;line-height:1.5;margin:0}
.sheet-print-checks>p:first-child,.sheet-print-checks>p:nth-child(3){font-weight:700;color:#153f50}
.sheet-print-details{margin-top:5px;font-size:11px;line-height:1.5}
.sheet-print-details>summary{cursor:pointer;font-weight:650;color:#096775;padding:4px 0}
.sheet-print-details>summary:focus-visible{outline:2px solid #087c87;outline-offset:2px}
#sheet-dialog .sheet-print-details p{margin:6px 0;font-size:11px}
.sheet-print-details ul{padding-left:17px;margin:8px 0;max-height:130px;overflow:auto}
.sheet-print-details li{margin:5px 0}
.sheet-calibration-ready{display:flex;gap:7px;flex-wrap:wrap;align-items:center;flex-basis:100%;min-width:0}
.sheet-calibration-ready span{flex-basis:100%;font-size:11px;line-height:1.5;color:#58718e;overflow-wrap:anywhere}
@media(max-width:800px){#sheet-dialog .sheet-footer{max-height:none;overflow:visible}.sheet-print-checks{margin-bottom:10px}}
.sheet-quality-checks{border-top:1px solid #bfd8dc;padding-top:7px;margin-top:7px;font-size:11px;line-height:1.5}
.sheet-quality-checks>summary{font-weight:700;cursor:pointer;padding:4px 0;color:#24586c}
.sheet-quality-checks.has-warnings>summary{color:#8c4b15}
.sheet-quality-checks.has-warnings{border-color:#d9bc93}
#sheet-dialog .sheet-quality-checks p{font-size:11px;line-height:1.6;margin:6px 0}
.sheet-quality-checks ul{max-height:180px;overflow:auto;padding-left:18px;margin:8px 0}
.sheet-quality-checks li{margin:0 0 12px;overflow-wrap:anywhere}
.sheet-quality-checks button{min-height:36px}
.sheet-quality-checks :is(summary,button):focus-visible{outline:3px solid #087f88;outline-offset:2px}
.sheet-touch-toggle,.sheet-touch-help{display:none}
@media(any-pointer:coarse),(max-width:800px){
 .sheet-toolbar .sheet-touch-toggle{display:block;min-height:44px;font-size:13px}
 .sheet-touch-help{display:block;margin:0;padding:8px 12px;color:#345d70;font:400 12px/1.5 Inter,Arial,sans-serif;background:#edf6f8}
 .sheet-design{touch-action:pan-y pinch-zoom}
 .sheet-touch-moving .sheet-design{touch-action:none}
 .sheet-toolbar .sheet-touch-toggle[aria-pressed=true]{background:#087c87;color:#fff;border-color:#087c87}
}

/* Round clearance and hit targets follow the printed circle, not its bitmap box. */
.sheet-design.is-circle{border-radius:50%;clip-path:circle(50%)}
.sheet-design.is-circle.is-selected:after,.sheet-design.is-circle:focus-visible:after{content:'';position:absolute;inset:0;border:2px solid #008d98;border-radius:50%;pointer-events:none}
.sheet-design.is-circle.is-blocked:after{border-color:#d04239}
.sheet-edit-open{width:100%;margin:0 0 12px;min-height:42px!important}
.sheet-edit-dialog{box-sizing:border-box;width:min(980px,calc(100vw - 24px));max-height:94dvh;padding:0;border:1px solid #bed4dd;border-radius:14px;background:#f5f9fb;color:#163b51;font:14px/1.45 Arial,sans-serif;overflow:auto}
.sheet-edit-dialog::backdrop{background:#08283bb8}
.sheet-edit-dialog *{box-sizing:border-box}
.sheet-edit-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:white;border-bottom:1px solid #d7e3e9}
.sheet-edit-dialog h2{font-size:23px;margin:0}.sheet-edit-dialog h3{font-size:15px;margin:18px 0 10px}.sheet-edit-name{margin:4px 0 0;color:#60778a;overflow-wrap:anywhere}
.sheet-edit-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;padding:22px}.sheet-edit-body fieldset{border:0;padding:0;margin:0;min-width:0}.sheet-edit-body legend{font-weight:700;margin-bottom:12px}
.sheet-edit-preview{min-width:0;align-self:start;position:sticky;top:15px;text-align:center}.sheet-edit-preview canvas{display:block;max-width:100%;max-height:56dvh;width:auto;height:auto;margin:auto;object-fit:contain;touch-action:none;cursor:move;background:repeating-conic-gradient(#e8eef1 0% 25%,white 0% 50%) 0/18px 18px}.sheet-edit-preview p{font-size:12px;color:#587084;line-height:1.5}.sheet-edit-dialog label{display:block;font-size:12px;font-weight:600;margin-bottom:12px}.sheet-edit-dialog input[type=number],.sheet-edit-dialog select{display:block;width:100%;margin-top:5px;min-height:40px;border:1px solid #bdd0d9;border-radius:6px;background:white;padding:8px;color:#173f51;font:14px Arial,sans-serif}.sheet-edit-dialog input[type=range]{width:100%;margin:0 0 14px}.sheet-edit-dialog .sheet-edit-check{display:flex;gap:8px;align-items:center;font-weight:400}.sheet-edit-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sheet-edit-buttons,.sheet-edit-nudges{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 14px}.sheet-edit-dialog button{border:1px solid #aac8d1;border-radius:6px;padding:9px 12px;min-height:40px;background:white;color:#126775;font:600 12px Arial,sans-serif;cursor:pointer}.sheet-edit-dialog button:disabled{opacity:.5;cursor:default}.sheet-edit-nudges button{flex:1;font-size:19px}.sheet-edit-note{font-size:12px;color:#587084}.sheet-edit-dialog footer{position:sticky;bottom:0;background:white;padding:14px 22px;border-top:1px solid #d7e3e9;display:flex;gap:15px;align-items:center;justify-content:space-between}.sheet-edit-dialog footer p{margin:0;font-size:13px}.sheet-edit-dialog footer>div{display:flex;gap:8px;flex-shrink:0}.sheet-edit-dialog [data-edit=save]{background:#087f88;color:white;border-color:#087f88}.sheet-edit-dialog .is-error{color:#a53232}.sheet-edit-dialog :focus-visible{outline:3px solid #00a3ad;outline-offset:2px}
@media(max-width:700px){.sheet-edit-body{grid-template-columns:1fr;padding:14px}.sheet-edit-preview{position:static}.sheet-edit-preview canvas{max-height:36dvh}.sheet-edit-dialog footer{display:block;padding:12px}.sheet-edit-dialog footer>div{justify-content:flex-end;margin-top:8px}.sheet-edit-dialog header{padding:14px}.sheet-edit-dialog h2{font-size:20px}}
