.st{--st-bg:#1e293b;--st-bg2:#0f172a;--st-bg3:#273449;--st-line:#334155;--st-text:#f1f5f9;--st-muted:#94a3b8;--st-primary:#22d3ee;--st-on:#0f172a;--st-danger:#f87171}
.st [hidden]{display:none!important}
[dir="rtl"] .st .st-flip{transform:scaleX(-1)}
.st-panel{background:var(--st-bg);border:1px solid var(--st-line);border-radius:1rem;padding:1rem}
@media(min-width:640px){.st-panel{padding:1.5rem}}
.st-msg{margin:0 0 1rem;padding:.75rem 1rem;border-radius:.75rem;border:1px solid rgb(248 113 113/.4);background:rgb(248 113 113/.1);color:#fecaca;font-size:.875rem;line-height:1.5;text-align:center}

.st-start{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:2.5rem 1.25rem;border:2px dashed var(--st-line);text-align:center;transition:border-color .2s,background-color .2s}
@media(min-width:640px){.st-start{padding:3.5rem 2rem}}
.st-stast-icon{width:4rem;height:4rem;border-radius:1rem;background:rgb(34 211 238/.12);color:var(--st-primary);display:flex;align-items:center;justify-content:center}
.st-or{margin:0;color:var(--st-muted);font-size:.95rem}
.st-drop-active{display:none;margin:0;color:var(--st-primary);font-weight:600}
.st-note{margin:.25rem 0 0;display:flex;align-items:center;justify-content:center;gap:.4rem;color:#4ade80;font-size:.85rem}
.st-limits{margin:0;color:var(--st-muted);font-size:.8rem}
.st.st-dragover .st-start{border-color:var(--st-primary);background:rgb(34 211 238/.06)}
.st.st-dragover .st-start .st-or{display:none}
.st.st-dragover .st-start .st-drop-active{display:block}
.st.st-dragover .st-main{border-color:var(--st-primary);background:rgb(34 211 238/.06)}

.st-primary{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:3.25rem;padding:.85rem 1.75rem;border:0;border-radius:.9rem;background:var(--st-primary);color:var(--st-on);font-size:1.0625rem;font-weight:700;line-height:1.2;text-decoration:none;cursor:pointer;box-shadow:0 8px 24px rgb(34 211 238/.18);transition:transform .15s ease,opacity .15s ease}
.st-primary:hover{transform:translateY(-1px);opacity:.92}
.st-primary:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:none}
.st-start .st-primary{width:100%;max-width:22rem;min-height:4rem;font-size:1.25rem}
.st-primary:focus-visible,.st-round:focus-visible,.st-share-buttons a:focus-visible,.st-share-buttons button:focus-visible,.st-continue a:focus-visible{outline:2px solid #fff;outline-offset:2px}

.st-round{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:999px;border:1px solid var(--st-line);background:var(--st-bg3);color:var(--st-text);cursor:pointer;transition:background-color .15s,border-color .15s,opacity .15s}
.st-round:hover:not(:disabled){border-color:var(--st-primary)}
.st-round:disabled{opacity:.35;cursor:not-allowed}
.st-round-primary{background:var(--st-primary);color:var(--st-on);border-color:transparent}
.st-round-lg{width:3.25rem;height:3.25rem}
.st-az{font-size:.75rem;font-weight:700;letter-spacing:.02em}
.st-badge{position:absolute;top:-.4rem;inset-inline-start:-.4rem;min-width:1.4rem;height:1.4rem;padding:0 .3rem;border-radius:999px;background:var(--st-bg2);border:1px solid var(--st-line);color:var(--st-text);font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center}

.st-work{display:flex;flex-direction:column;gap:1rem}
.st-main{transition:border-color .2s,background-color .2s}
.st-hint{display:flex;align-items:flex-start;gap:.65rem;padding:.75rem 1rem;border:1px solid rgb(34 211 238/.35);border-radius:.75rem;background:rgb(34 211 238/.08);color:#cffafe;font-size:.875rem;line-height:1.5}
.st-hint svg{flex:none;margin-top:.1rem}
.st-hint p{margin:0}
.st-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:.9rem;margin:1rem 0}
.st-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
@media(min-width:640px){.st-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1024px){.st-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1280px){.st-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.st-card{display:flex;flex-direction:column;gap:.5rem;padding:.6rem;border:1px solid var(--st-line);border-radius:.85rem;background:var(--st-bg2);cursor:grab;user-select:none;-webkit-user-select:none;transition:border-color .15s,opacity .15s}
.st-card:hover{border-color:rgb(34 211 238/.6)}
.st-card-error{border-color:rgb(248 113 113/.6)}
.st-dragging{opacity:.35}
.st-drop-before{box-shadow:-4px 0 0 var(--st-primary)}
.st-drop-after{box-shadow:4px 0 0 var(--st-primary)}
.st-thumb{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;border-radius:.5rem;background:var(--st-bg3);color:var(--st-muted);overflow:hidden}
.st-thumb img{width:100%;height:100%;object-fit:contain;background:#fff;pointer-events:none}
.st-order{position:absolute;top:.35rem;inset-inline-start:.35rem;min-width:1.5rem;height:1.5rem;padding:0 .35rem;border-radius:999px;background:var(--st-bg2);border:1px solid var(--st-line);color:var(--st-text);font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center}
.st-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;color:var(--st-text);font-size:.8125rem}
.st-meta{text-align:center;color:var(--st-muted);font-size:.75rem;line-height:1.3}
.st-card-error .st-meta{color:var(--st-danger)}
.st-actions{display:flex;justify-content:center;gap:.35rem}
.st-mini{width:2.25rem;height:2.25rem}
.st-danger:hover:not(:disabled){border-color:var(--st-danger);color:var(--st-danger)}
.st-spin{width:1.75rem;height:1.75rem;border:3px solid var(--st-line);border-top-color:var(--st-primary);border-radius:999px;animation:st-rotate .8s linear infinite}
@keyframes st-rotate{to{transform:rotate(360deg)}}

.st-side{display:flex;flex-direction:column;gap:.9rem}
.st-side-title{margin:0;text-align:center;font-size:1.25rem;font-weight:700;color:var(--st-text)}
.st-summary{margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;text-align:center}
.st-summary dt{font-size:.7rem;color:var(--st-muted)}
.st-summary dd{margin:0;font-size:1rem;font-weight:700;color:var(--st-text)}
.st-need{margin:0;text-align:center;color:var(--st-muted);font-size:.8125rem}
.st-merge{width:100%;min-height:3.5rem}
@media(max-width:1023px){
  .st-side{position:sticky;bottom:.75rem;z-index:20;box-shadow:0 -10px 30px rgb(0 0 0/.4)}
  .st-side-title{display:none}
}
@media(min-width:1024px){
  .st-work{flex-direction:row;align-items:flex-start}
  .st-main{flex:1;min-width:0}
  .st-side{width:19rem;flex:none;position:sticky;top:6rem}
  .st-merge{min-height:4rem;font-size:1.25rem}
}

.st-done{display:flex;flex-direction:column;align-items:center;gap:1.25rem;text-align:center}
.st-done-title{margin:0;font-size:1.75rem;font-weight:800;color:var(--st-text);outline:none}
@media(min-width:640px){.st-done-title{font-size:2.25rem}}
.st-done-info{margin:0;color:var(--st-muted);font-size:.9rem}
.st-done-actions{display:flex;align-items:center;justify-content:center;gap:.75rem;width:100%}
.st-done-actions .st-primary{flex:1 1 auto;max-width:26rem;min-height:4rem;font-size:1.1875rem}
.st-continue{width:100%;text-align:start}
.st-continue h3{margin:0 0 1rem;font-size:1.125rem;font-weight:700;color:var(--st-text)}
.st-continue ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:.5rem}
@media(min-width:640px){.st-continue ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.st-continue ul{grid-template-columns:repeat(3,minmax(0,1fr))}}
.st-continue a{display:flex;align-items:center;gap:.75rem;padding:.65rem .75rem;border:1px solid var(--st-line);border-radius:.75rem;background:var(--st-bg2);color:var(--st-text);text-decoration:none;font-size:.9rem;font-weight:600;transition:border-color .15s}
.st-continue a:hover{border-color:rgb(34 211 238/.6)}
.st-continue-icon{flex:none;width:2.5rem;height:2.5rem;border-radius:.65rem;display:flex;align-items:center;justify-content:center}
.st-continue-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-share h3{margin:0;font-size:1rem;font-weight:700;color:var(--st-text)}
.st-share p{margin:.25rem 0 1rem;color:var(--st-muted);font-size:.9rem}
.st-share-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem}
.st-share-buttons a,.st-share-buttons button{display:inline-flex;align-items:center;justify-content:center;min-height:2.5rem;padding:.5rem 1.1rem;border:1px solid var(--st-line);border-radius:.65rem;background:var(--st-bg);color:var(--st-text);font-size:.875rem;font-weight:600;text-decoration:none;cursor:pointer;transition:border-color .15s}
.st-share-buttons a:hover,.st-share-buttons button:hover{border-color:var(--st-primary)}
.st-file{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1rem;border:1px solid var(--st-line);border-radius:.75rem;background:var(--st-bg2)}
.st-file-info{display:flex;align-items:center;gap:.75rem;min-width:0}
.st-file-icon{flex:none;width:2.5rem;height:2.5rem;border-radius:.65rem;background:rgb(34 211 238/.12);color:var(--st-primary);display:flex;align-items:center;justify-content:center}
.st-file-text{min-width:0}
.st-file-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:var(--st-text);font-size:.9rem}
.st-file-meta{display:block;color:var(--st-muted);font-size:.75rem}
.st-link{flex:none;padding:.25rem;border:0;background:none;color:var(--st-primary);font-size:.85rem;font-weight:600;text-decoration:underline;cursor:pointer}
.st-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:1rem 0}
.st-mode{position:relative;display:block;cursor:pointer}
.st-mode input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.st-mode span{display:flex;align-items:center;justify-content:center;min-height:3rem;padding:.5rem;text-align:center;border:1px solid var(--st-line);border-radius:.75rem;background:var(--st-bg2);color:var(--st-muted);font-size:.8125rem;font-weight:600;line-height:1.25;transition:border-color .15s,background-color .15s,color .15s}
@media(min-width:640px){.st-mode span{font-size:.9rem}}
.st-mode input:checked+span{border-color:var(--st-primary);background:rgb(34 211 238/.1);color:var(--st-text)}
.st-mode input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}
.st-opt{display:flex;flex-direction:column;gap:.6rem;margin-bottom:1rem}
.st-label{font-size:.875rem;font-weight:600;color:var(--st-text)}
.st-field{width:100%;min-height:3rem;padding:.65rem .9rem;border:1px solid var(--st-line);border-radius:.75rem;background:var(--st-bg2);color:var(--st-text);font-size:1rem}
.st-field:focus{outline:2px solid var(--st-primary);outline-offset:1px}
.st-field-num{max-width:10rem}
.st-help{margin:0;color:var(--st-muted);font-size:.8125rem;line-height:1.5}
.st-check{display:flex;align-items:center;gap:.6rem;color:var(--st-text);font-size:.875rem;cursor:pointer}
.st-check input{width:1.15rem;height:1.15rem;accent-color:var(--st-primary)}
.st-need-err{color:#fca5a5}
.st-pages-title{margin:0 0 .75rem;font-size:.9rem;font-weight:700;color:var(--st-text)}
.st-pages{list-style:none;margin:0;padding:.25rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;max-height:32rem;overflow:auto;overscroll-behavior:contain}
@media(min-width:640px){.st-pages{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1024px){.st-pages{grid-template-columns:repeat(5,minmax(0,1fr))}}
.st-page{display:block;width:100%;padding:.35rem;border:2px solid var(--st-line);border-radius:.7rem;background:var(--st-bg2);color:var(--st-text);cursor:pointer;transition:border-color .15s,background-color .15s,opacity .15s}
.st-page:disabled{cursor:default}
.st-page:focus-visible{outline:2px solid #fff;outline-offset:2px}
.st-pnum{display:block;margin-top:.3rem;color:var(--st-muted);font-size:.75rem;text-align:center}
.st-page.st-sel{border-color:var(--st-primary);background:rgb(34 211 238/.1)}
.st-page.st-sel .st-pnum{color:var(--st-text);font-weight:700}
.st-files{width:100%;text-align:start}
.st-files h3{margin:0 0 1rem;font-size:1.125rem;font-weight:700;color:var(--st-text)}
.st-files ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem;max-height:20rem;overflow:auto}
.st-files li{display:flex;align-items:center;gap:.75rem;padding:.6rem .75rem;border:1px solid var(--st-line);border-radius:.75rem;background:var(--st-bg2)}
.st-files-text{flex:1;min-width:0}
.st-files-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--st-text);font-size:.875rem;font-weight:600}
.st-files-meta{display:block;color:var(--st-muted);font-size:.75rem}
.st-files a{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:2.25rem;padding:.35rem .9rem;border:1px solid var(--st-line);border-radius:.6rem;background:var(--st-bg);color:var(--st-text);font-size:.8125rem;font-weight:600;text-decoration:none;transition:border-color .15s}
.st-files a:hover{border-color:var(--st-primary)}
.st-files a:focus-visible,.st-link:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.st *{transition:none!important;animation-duration:2s!important}}
.st-hint{display:flex;align-items:flex-start;gap:.65rem;margin:1rem 0;padding:.75rem 1rem;border:1px solid rgb(34 211 238/.35);border-radius:.75rem;background:rgb(34 211 238/.08);color:#cffafe;font-size:.875rem;line-height:1.5}
.st-field-row{display:flex;gap:.5rem}
.st-field-row .st-field{flex:1;min-width:0}
.st-clear{flex:none;min-height:3rem;padding:.5rem 1rem;border:1px solid var(--st-line);border-radius:.75rem;background:var(--st-bg3);color:var(--st-text);font-size:.875rem;font-weight:600;cursor:pointer;transition:border-color .15s,opacity .15s}
.st-clear:disabled{opacity:.35;cursor:not-allowed}
.st-page.st-sel{border-color:var(--st-primary);background:rgb(34 211 238/.12)}
.st-page.st-sel .st-thumb::after{content:"\2713";position:absolute;top:.35rem;inset-inline-end:.35rem;width:1.6rem;height:1.6rem;display:flex;align-items:center;justify-content:center;border-radius:999px;background:var(--st-primary);color:var(--st-on);font-size:.95rem;font-weight:800;line-height:1}
.st-page.st-sel .st-pnum{color:var(--st-primary);font-weight:700}
.st-clear:hover:not(:disabled){border-color:var(--st-primary)}
.st-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.5rem;margin:1rem 0}
.st-tool{display:inline-flex;align-items:center;gap:.4rem;min-height:2.5rem;padding:.4rem .9rem;border:1px solid var(--st-line);border-radius:.65rem;background:var(--st-bg3);color:var(--st-text);font-size:.8125rem;font-weight:600;cursor:pointer;transition:border-color .15s,opacity .15s}
.st-tool:hover:not(:disabled){border-color:var(--st-primary)}
.st-tool:disabled{opacity:.35;cursor:not-allowed}
.st-tool:focus-visible{outline:2px solid #fff;outline-offset:2px}
.st-card{position:relative}
.st-actions{flex-wrap:nowrap;gap:.25rem}
.st-actions .st-mini{width:2rem;height:2rem}
.st-actions .st-mini:focus-visible{outline:2px solid #fff;outline-offset:2px}
.st-thumb img{transition:none}
.st-grid{max-height:40rem;overflow:auto;overscroll-behavior:contain;padding:.25rem}

/* Scan to PDF additions: start buttons, option fieldset, camera overlay */
.st-stast-icon{margin-bottom:.25rem}
.st-secondary{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;width:100%;max-width:22rem;min-height:3.25rem;padding:.75rem 1.5rem;border:1px solid var(--st-line);border-radius:.9rem;background:var(--st-bg3);color:var(--st-text);font-size:1.0625rem;font-weight:600;cursor:pointer;transition:border-color .15s,opacity .15s}
.st-secondary:hover:not(:disabled){border-color:var(--st-primary)}
.st-secondary:disabled,.st-start .st-primary:disabled{opacity:.4;cursor:not-allowed}
.st-secondary:focus-visible,.st-shutter:focus-visible,.st-cam-done:focus-visible{outline:2px solid #fff;outline-offset:2px}
fieldset.st-opt{border:0;padding:0;min-width:0}
fieldset.st-opt legend{padding:0;margin-bottom:.6rem}
select.st-field{appearance:auto}
.st-opt .st-modes{margin:0}
.st-side .st-opt{margin-bottom:0}
.st-toolbar{flex-wrap:wrap}
.st-grid{max-height:40rem}


/* Compress PDF additions: file preview, level cards, progress, result */
.st-file-thumb{flex:none;display:flex;align-items:center;justify-content:center;width:3rem;height:4rem;border-radius:.5rem;background:rgb(34 211 238/.12);color:var(--st-primary);overflow:hidden}
.st-file-thumb canvas{width:100%;height:100%;object-fit:contain;background:#fff;display:block}
.st-file{margin-bottom:1.25rem}
.st-levels{display:grid;grid-template-columns:1fr;gap:.6rem}
@media(min-width:640px){.st-levels{grid-template-columns:repeat(3,minmax(0,1fr))}}
.st-level{position:relative;display:block;cursor:pointer}
.st-level input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.st-level-box{display:flex;flex-direction:column;gap:.35rem;height:100%;padding:.9rem 1rem;border:1px solid var(--st-line);border-radius:.85rem;background:var(--st-bg2);transition:border-color .15s,background-color .15s}
.st-level:hover .st-level-box{border-color:rgb(34 211 238/.6)}
.st-level input:checked+.st-level-box{border-color:var(--st-primary);background:rgb(34 211 238/.1)}
.st-level input:focus-visible+.st-level-box{outline:2px solid #fff;outline-offset:2px}
.st-level input:disabled+.st-level-box{opacity:.55;cursor:not-allowed}
.st-level-title{font-size:1rem;font-weight:700;color:var(--st-text)}
.st-level-tag{align-self:flex-start;padding:.1rem .5rem;border-radius:999px;background:var(--st-primary);color:var(--st-on);font-size:.6875rem;font-weight:700;letter-spacing:.02em}
.st-level-desc{color:var(--st-muted);font-size:.8125rem;line-height:1.45}
.st-level-note{margin:1rem 0 0;padding:.65rem .9rem;border-radius:.75rem;border:1px solid var(--st-line);background:var(--st-bg2);color:var(--st-muted);font-size:.8125rem;line-height:1.5}
.st-level-note.st-warn{border-color:rgb(251 191 36/.5);background:rgb(251 191 36/.08);color:#fde68a}
.st-level-note:empty{display:none}
.st-progress{height:.5rem;border-radius:999px;background:var(--st-bg2);border:1px solid var(--st-line);overflow:hidden}
.st-progress span{display:block;height:100%;width:0;border-radius:999px;background:var(--st-primary);transition:width .2s ease}
.st-saved{margin:0}
.st-saved-pct{font-size:2.5rem;font-weight:800;color:var(--st-primary);line-height:1.1}
@media(min-width:640px){.st-saved-pct{font-size:3.25rem}}
.st-bar{width:100%;max-width:26rem;height:.75rem;border-radius:999px;background:var(--st-bg3);border:1px solid var(--st-line);overflow:hidden}
.st-bar span{display:block;height:100%;width:0;border-radius:999px;background:#4ade80}
.st-stats{margin:0;display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap}
.st-stat{min-width:7rem;padding:.75rem 1.25rem;border:1px solid var(--st-line);border-radius:.85rem;background:var(--st-bg2);text-align:center}
.st-stat dt{font-size:.75rem;color:var(--st-muted)}
.st-stat dd{margin:.15rem 0 0;font-size:1.25rem;font-weight:700;color:var(--st-text)}
.st-stat-new{border-color:rgb(74 222 128/.5)}
.st-stat-new dd{color:#4ade80}
.st-stat-arrow{color:var(--st-muted);flex:none}
.st-done-info{max-width:32rem}

/* PDF to JPG additions: two-column page mode, three-stat summary, image list thumbnails */
.st-modes-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.st-opt .st-field{margin-top:.25rem}
.st-summary-3{grid-template-columns:repeat(3,1fr)}
.st-files{max-width:100%}
.st-files ul{max-height:28rem}
.st-files-thumb{flex:none;width:2.75rem;height:3.5rem;border-radius:.4rem;background:#fff;object-fit:contain;border:1px solid var(--st-line)}
.st-done-actions .st-primary[hidden]{display:none}

/* Rotate PDF additions: page cards with rotate buttons, rotation tag, hint text */
.st-card{cursor:default}
.st-card:hover{border-color:var(--st-line)}
.st-thumb canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;background:#fff;pointer-events:none}
.st-thumb.st-loading{color:var(--st-muted)}
.st-tag{position:absolute;top:.35rem;inset-inline-end:.35rem;padding:0 .4rem;height:1.5rem;border-radius:999px;background:var(--st-primary);color:var(--st-on);font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center}
.st-tag[hidden]{display:none}
.st-actions{gap:.5rem}
.st-actions .st-mini{width:2.5rem;height:2.5rem}
.st-help{margin:0 0 .25rem;color:var(--st-muted);font-size:.875rem;line-height:1.5}
.st-summary-3{grid-template-columns:repeat(3,1fr)}
.st-need[hidden]{display:none}

/* Page numbers and watermark additions: options, position picker, live preview */
.st-card{cursor:default}
.st-thumb{container-type:inline-size}
.st-thumb canvas{width:100%;height:100%;object-fit:contain;background:#fff;display:block}
.st-pnum{display:block;text-align:center;color:var(--st-muted);font-size:.75rem}
.st-ov{position:absolute;white-space:nowrap;line-height:1;pointer-events:none;font-family:Helvetica,Arial,sans-serif;transform-origin:center}
.st-ov img{display:block;width:100%;height:auto}
.st-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.st-options{display:flex;flex-direction:column;gap:1rem;margin:0 0 1.25rem}
.st-opts-grid{display:grid;grid-template-columns:1fr;gap:1rem}
@media(min-width:640px){.st-opts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.st-opts-grid .st-opt{margin-bottom:0}
fieldset.st-opt{border:0;padding:0;min-width:0;margin:0}
.st-opt .st-label{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.st-out{color:var(--st-primary);font-weight:700;font-size:.8125rem}
.st-pos{display:inline-grid;grid-template-columns:repeat(3,2.75rem);gap:.35rem}
.st-pos label{position:relative;display:block;width:2.75rem;height:2.75rem;cursor:pointer}
.st-pos input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.st-pos-box{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border:1px solid var(--st-line);border-radius:.55rem;background:var(--st-bg2);transition:border-color .15s,background-color .15s}
.st-pos-box::after{content:"";width:.6rem;height:.6rem;border-radius:999px;background:var(--st-muted)}
.st-pos label:hover .st-pos-box{border-color:rgb(34 211 238/.6)}
.st-pos input:checked+.st-pos-box{border-color:var(--st-primary);background:rgb(34 211 238/.12)}
.st-pos input:checked+.st-pos-box::after{background:var(--st-primary)}
.st-pos input:focus-visible+.st-pos-box{outline:2px solid #fff;outline-offset:2px}
.st-pos input:disabled+.st-pos-box{opacity:.5;cursor:not-allowed}
.st-range{width:100%;accent-color:var(--st-primary);margin:.25rem 0 .5rem}
.st-color{width:4rem;height:3rem;padding:.2rem;border:1px solid var(--st-line);border-radius:.75rem;background:var(--st-bg2);cursor:pointer}
.st-range-row{display:flex;gap:.75rem;flex-wrap:wrap}
.st-inline{display:flex;flex-direction:column;gap:.35rem;color:var(--st-muted);font-size:.8125rem}
.st-inline .st-field{margin-top:0;width:7rem}
.st-image-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.st-image-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--st-muted);font-size:.8125rem;max-width:100%}
.st-need.st-need-err{color:#fca5a5}
.st-opt+.st-opt{margin-top:0}
.st-grid{max-height:34rem}
