#sticker-studio{max-width:var(--page-width);margin-inline:auto}.sticker-storage-error{border:1px solid var(--danger);color:var(--danger);background:var(--paper);border-radius:7px;margin:0 0 .75rem;padding:.75rem 1rem}.sticker-viewport{overscroll-behavior-x:contain;scrollbar-color:var(--olive-dark) var(--paper);scrollbar-width:auto;border-radius:14px;overflow-x:auto}.sticker-viewport:focus-visible{outline:3px solid var(--olive-dark);outline-offset:3px}.sticker-app{box-sizing:border-box;border:1px solid var(--line);background:#e9e5de;border-radius:14px;width:1152px;position:relative;overflow:hidden}.sticker-toolbar{background:var(--paper);border-bottom:1px solid var(--line);align-items:center;gap:1rem;min-height:4.5rem;padding:.75rem 1rem;display:flex}.sticker-toolbar-group{align-items:center;gap:.5rem;display:flex}.sticker-toolbar-group+.sticker-toolbar-group{border-left:1px solid var(--line);padding-left:1rem}.sticker-toolbar [data-clear]{color:var(--danger);margin-left:auto}.sticker-toolbar [data-undo],.sticker-toolbar [data-redo]{width:2.75rem;padding:.5rem}.sticker-toolbar svg{width:1.1rem;height:1.1rem;margin:auto;display:block}.sticker-toolbar label{align-items:center;gap:.45rem;font-weight:700;display:flex}.sticker-toolbar select{width:auto;min-width:6rem}.sticker-toolbar button,.sticker-upload,.sticker-inspector button{border:1px solid var(--line);min-height:2.75rem;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border-radius:7px;padding:.55rem .78rem;font-weight:700}.sticker-toolbar select{min-height:2.75rem}.sticker-toolbar button:not(:disabled):hover,.sticker-upload:not(:has(input:disabled)):hover{border-color:var(--olive-dark);background:#f1f3eb}.sticker-toolbar .primary:not(:disabled):hover{background:var(--olive-dark);filter:brightness(.9)}.sticker-app button:focus-visible,.sticker-upload:focus-within{outline:3px solid var(--olive-dark);outline-offset:2px}.sticker-toolbar button,.sticker-upload{white-space:nowrap}.sticker-toolbar .primary{border-color:var(--olive-dark);background:var(--olive-dark);color:#fff}.sticker-upload{cursor:pointer;position:relative;display:inline-flex!important}.sticker-upload input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.sticker-workspace{grid-template-columns:13rem minmax(22rem,1fr) 16rem;height:44rem;min-height:38rem;display:grid}.sticker-filmstrip,.sticker-inspector{background:var(--paper);min-width:0}.sticker-filmstrip{border-right:1px solid var(--line);grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.sticker-inspector{border-left:1px solid var(--line);scrollbar-width:thin;overflow-y:scroll}.sticker-inspector::-webkit-scrollbar{width:.5rem}.sticker-panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:3rem;padding:.75rem;display:flex}.sticker-panel-heading span{color:#696d63;font-size:.9rem}.sticker-slots{scrollbar-width:thin;grid-template-columns:1fr 1fr;align-content:start;gap:.55rem;min-height:0;padding:.65rem;display:grid;overflow-y:scroll}.sticker-slots::-webkit-scrollbar{width:.5rem}.sticker-slot{border:1px solid var(--line);min-width:0;height:max-content;min-height:0;color:var(--ink);cursor:pointer;background:#f4f0e9;border-radius:7px;align-self:start;padding:.3rem;position:relative}.sticker-slot[aria-current=true]{border:2px solid var(--olive-dark);padding:calc(.3rem - 1px);box-shadow:0 0 0 2px #8b9a6e38}.sticker-slot canvas{aspect-ratio:370/320;background:repeating-conic-gradient(#dfdbd3 0 25%, white 0 50%) 50% / 10px 10px;width:100%;display:block}.sticker-slot-preview{cursor:grab;touch-action:none;user-select:none;background:0 0;border:0;width:100%;min-height:0;padding:0;display:block}.sticker-slot.is-dragging{opacity:.45}.sticker-slot.is-drop-target{outline:3px solid var(--olive-dark);outline-offset:-3px}.sticker-slot-footer{justify-content:space-between;align-items:center;gap:.1rem;padding-top:.3rem;display:flex}.sticker-slot-footer>span{text-align:center;font-size:.75rem}.sticker-slot-choice{border:1px solid var(--line);background:var(--paper);width:1.5rem;min-height:1.5rem;color:var(--muted);border-radius:4px;flex:0 0 1.5rem;place-items:center;padding:0;font-size:.68rem;font-weight:700;display:grid}.sticker-slot-choice[aria-pressed=true]{border-color:var(--olive-dark);background:var(--olive-dark);color:#fff}.sticker-canvas-panel{grid-template-rows:auto minmax(0,1fr);align-content:start;min-width:0;display:grid}.sticker-canvas-toolbar{border-bottom:1px solid var(--line);background:#f5f1ea;justify-content:space-between;align-items:center;min-height:3rem;padding:.5rem .8rem;font-weight:700;display:flex}.sticker-zoom{align-items:center;gap:.4rem;display:flex}.sticker-zoom button{border:1px solid var(--line);width:2rem;height:2rem;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border-radius:5px;padding:0}.sticker-zoom output{text-align:center;width:3.4rem;font-size:.85rem}.sticker-canvas-wrap{background:#dcd8d1;place-items:center;min-height:31rem;padding:2rem;display:grid;position:relative;overflow:auto}.sticker-canvas-wrap canvas{background:repeating-conic-gradient(#eeeae3 0 25%, white 0 50%) 50% / 20px 20px;cursor:move;touch-action:none;outline-offset:3px;outline:3px solid #0000;width:370px;max-width:none;height:320px;display:block;box-shadow:0 7px 28px #24291f2e}.sticker-canvas-wrap canvas:focus-visible{outline-color:var(--olive-dark)}.sticker-toast{z-index:1;color:#51564a;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;max-width:calc(100% - 1.6rem);margin:0;font-size:.8rem;line-height:1.6;position:absolute;bottom:.65rem;left:.8rem;overflow:hidden}.sticker-inspector{padding-bottom:1rem}.sticker-tabs{z-index:2;border-bottom:1px solid var(--line);background:var(--paper);grid-template-columns:repeat(3,1fr);display:grid;position:sticky;top:0}#sticker-studio .sticker-tabs{grid-template-columns:repeat(2,1fr)}.sticker-app .sticker-background{gap:.35rem;padding-block:.45rem .65rem}.sticker-background-heading{justify-content:space-between;align-items:center;gap:.5rem;min-height:2.75rem;display:flex}.sticker-app .sticker-background-toggle{cursor:pointer;align-items:center;gap:.5rem;min-height:2.75rem;display:flex}.sticker-background-toggle>span{color:var(--muted);font-size:.78rem;font-weight:400}.sticker-app .sticker-background-toggle input{appearance:none;cursor:pointer;background:#e7e9e3;border:1px solid #aeb4a5;border-radius:1rem;flex:0 0 2.25rem;width:2.25rem;height:1.25rem;min-height:0;margin:0;padding:.15rem}.sticker-background-toggle input:before{content:"";background:#fff;border-radius:50%;width:.8rem;height:.8rem;display:block;box-shadow:0 1px 2px #24291f40}.sticker-app .sticker-background-toggle input:checked{background:var(--olive-dark);border-color:var(--olive-dark)}.sticker-background-toggle input:checked:before{transform:translate(1rem)}.sticker-background-toggle input:focus-visible{outline:3px solid var(--olive-dark);outline-offset:3px}.sticker-app .sticker-background-color{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:6px;grid-template-columns:2rem minmax(0,1fr);align-items:center;gap:.65rem;padding:.3rem .45rem;display:grid}.sticker-app .sticker-background-color[hidden]{display:none}.sticker-app .sticker-background-color input[type=color]{border:1px solid var(--line);background:var(--paper);cursor:pointer;border-radius:4px;width:2rem;height:2rem;min-height:2rem;padding:.15rem}.sticker-background-color input::-webkit-color-swatch-wrapper{padding:0}.sticker-background-color input::-webkit-color-swatch{border:0;border-radius:2px}.sticker-background-color input::-moz-color-swatch{border:0;border-radius:2px}.sticker-background-color output{color:var(--ink);text-transform:uppercase;font-size:.85rem;font-weight:400}.sticker-tabs button{border:0;border-bottom:3px solid #0000;border-radius:0}.sticker-tabs button[aria-selected=true]{border-bottom-color:var(--olive-dark);color:var(--olive-dark);background:#f1f3eb}.sticker-inspector section{border-bottom:1px solid var(--line);gap:.8rem;padding:.9rem;display:grid}.sticker-inspector section[hidden]{display:none}.sticker-inspector section .sticker-background{border-top:1px solid var(--line);border-bottom:0;padding-inline:0}.sticker-inspector h2{margin:0;font-size:1rem}.sticker-inspector label{gap:.35rem;font-size:.9rem;font-weight:700;display:grid}.sticker-inspector input,.sticker-inspector textarea{width:100%;min-width:0}.sticker-inspector textarea{scrollbar-width:thin;scrollbar-gutter:stable}.sticker-inspector textarea::-webkit-scrollbar{width:.5rem}.sticker-inspector input[type=color]{height:2.5rem;padding:.2rem}.sticker-range{gap:.45rem!important}.sticker-control-heading{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.sticker-control-value{border:1px solid var(--line);width:5rem;height:2.25rem;color:var(--ink);background:var(--paper);font-variant-numeric:tabular-nums;border-radius:7px;flex:0 0 5rem;justify-content:flex-end;align-items:center;gap:.18rem;padding:0 .55rem;font-size:.8rem;display:flex}.sticker-control-value:focus-within{border-color:var(--olive-dark);box-shadow:0 0 0 3px #4d583b29}.sticker-control-value input{appearance:textfield;font:inherit;text-align:right;outline:0;font-weight:700;width:2.7rem!important;min-height:1.6rem!important;color:inherit!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;padding:0!important}.sticker-control-value input::-webkit-inner-spin-button,.sticker-control-value input::-webkit-outer-spin-button{appearance:none;margin:0}.sticker-control-value>span{color:var(--muted);text-align:center;flex:0 0 .75rem;font-weight:600}.sticker-range input[type=range]{appearance:none;min-height:1.5rem;accent-color:var(--olive-dark);background:0 0;margin:0;padding:0}.sticker-range input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--olive-dark) 0 var(--range-progress), #e7e9e3 var(--range-progress) 100%);border:1px solid #aeb4a5;border-radius:999px;height:.35rem}.sticker-range input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--olive-dark);border:0;border-radius:50%;width:1rem;height:1rem;margin-top:-.36rem}.sticker-range input[type=range]::-moz-range-track{background:#e7e9e3;border:1px solid #aeb4a5;border-radius:999px;height:.35rem}.sticker-range input[type=range]::-moz-range-progress{background:var(--olive-dark);border-radius:999px;height:.35rem}.sticker-range input[type=range]::-moz-range-thumb{background:var(--olive-dark);border:0;border-radius:50%;width:1rem;height:1rem}.sticker-position-grid{grid-template-columns:1fr 1fr;gap:.55rem;display:grid}.sticker-check{align-items:center;gap:.5rem;display:flex!important}.sticker-check input{width:auto}.danger-button{color:var(--danger)!important}.sticker-app button:disabled,.sticker-upload:has(input:disabled){opacity:.45;cursor:not-allowed}.sticker-zip-dialog{border:1px solid var(--line);background:var(--paper);width:min(54rem,100% - 2rem);max-height:calc(100vh - 2rem);color:var(--ink);border-radius:12px;padding:0;box-shadow:0 20px 60px #24291f47}.sticker-zip-dialog::backdrop{background:#24291f73}.sticker-zip-dialog-heading{z-index:1;background:var(--paper);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:.8rem 1rem;display:flex;position:sticky;top:0}.sticker-zip-dialog-heading h2{margin:0;font-size:1.15rem}.sticker-zip-dialog-heading button{border:1px solid var(--line);width:2.3rem;height:2.3rem;font:inherit;cursor:pointer;background:#fff;border-radius:6px}.sticker-zip-dialog>p{padding-inline:1rem}.sticker-zip-grid{grid-template-columns:repeat(auto-fill,minmax(8rem,1fr));gap:.7rem;padding:0 1rem 1rem;display:grid}.sticker-zip-grid article{border:1px solid var(--line);background:#f5f1ea;border-radius:7px;min-width:0;padding:.55rem}.sticker-zip-grid img{object-fit:contain;background:repeating-conic-gradient(#dfdbd3 0 25%, white 0 50%) 50% / 10px 10px;width:100%;height:7rem;display:block}.sticker-zip-grid p{overflow-wrap:anywhere;margin:.4rem 0 0;font-size:.76rem}
