/* PixSpecs Studio workspace, light theme */
:root{--canvas:#f7f8fa;--ink:#14161c;--line:#e6e8ee;--line-2:#d5d9e0;--mono:ui-monospace,Menlo,Consolas,monospace;--muted:#697586;--pass:#0e9f6e;--pass-bg:#e7f8f1;--text-2:#364152;--bg:#fff;--sh-3:0 2px 4px rgba(11,18,32,.04),0 24px 48px -18px rgba(11,18,32,.22);--st-hover:#f1f2f6;--st-soft:#fafbfc;--st-bg:#f3f4f7;--st-panel:#fff;--st-line:#e6e8ee;--st-line2:#eef0f4;--st-ink:#1b1e26;--st-mute:#6a7080;--st-faint:#9aa0ae;--st-acc:#3d5cff;--st-acc-bg:#eef1ff;--st-canvas:#eceef2;--st-r:9px}
html,body.st-body{height:100%;margin:0;overflow:hidden;overscroll-behavior:none}
body.st-body{font:13px/1.4 Inter,system-ui,sans-serif;color:var(--st-ink);background:var(--st-bg);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
.st{position:fixed;inset:0;display:flex;flex-direction:column}
.st button{font:inherit;color:inherit;cursor:pointer}
.st .ib{width:32px;height:32px;border:0;background:transparent;border-radius:8px;display:inline-grid;place-items:center;color:#4a5060;padding:0}
.st .ib:hover{background:var(--st-hover);color:var(--st-ink)}.st .ib:disabled{opacity:.35;cursor:default;background:transparent}
.st-mb{height:46px;background:var(--st-panel);border-bottom:1px solid var(--st-line);display:flex;align-items:center;padding:0 10px;gap:6px;flex:none;position:relative;z-index:30}
.st-logo{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14.5px;color:var(--st-ink);text-decoration:none;margin-right:8px}
.st-logo i{width:24px;height:24px;border-radius:7px;background:var(--st-ink);display:block;position:relative}.st-logo i:after{content:"";position:absolute;inset:8px;border-radius:50%;background:var(--st-panel)}
.st-menus{display:flex;gap:1px}
.st-menu{position:relative}.st-mt{border:0;background:transparent;padding:7px 10px;border-radius:7px;color:#3b4050}
.st-mt:hover,.st-menu.open .st-mt{background:#eef1f7;color:var(--st-ink)}
.st-md{display:none;position:absolute;top:calc(100% + 4px);left:0;min-width:270px;max-height:calc(100vh - 70px);overflow:auto;background:var(--st-panel);border:1px solid var(--st-line);border-radius:12px;box-shadow:0 18px 50px rgba(20,28,60,.16);padding:6px;z-index:50}
.st-menu.open .st-md{display:block}
.st-mi{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;border:0;background:transparent;padding:7px 10px;border-radius:7px;text-align:left;color:#2a2e38}
.st-mi:hover{background:var(--st-acc-bg);color:var(--st-acc)}.st-mi kbd{font:11.5px Inter;color:var(--st-faint)}
.st-md hr{border:0;border-top:1px solid var(--st-line2);margin:5px 4px}.st-md hr:last-child{display:none}
.st-mi-sub{position:relative}.st-mi-sub>span{display:flex;justify-content:space-between;padding:7px 10px;border-radius:7px;color:#2a2e38}.st-mi-sub>span:after{content:"\203A";color:var(--st-faint)}
.st-mi-sub:hover>span{background:#f3f4f8}.st-mi-subl{display:none;position:absolute;left:100%;top:-6px;min-width:240px;max-height:70vh;overflow:auto;background:var(--st-panel);border:1px solid var(--st-line);border-radius:12px;box-shadow:0 18px 50px rgba(20,28,60,.16);padding:6px}
.st-mi-sub:hover .st-mi-subl{display:block}
.st-mbr{margin-left:auto;display:flex;align-items:center;gap:4px}.st-saved{font-size:12px;color:var(--st-faint);margin:0 8px}
.st-export{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 16px;border:0;border-radius:9px;background:var(--st-ink);color:var(--st-panel)!important;font-weight:600}
.st-export:hover{opacity:.88}
.st-ob{height:44px;background:var(--st-panel);border-bottom:1px solid var(--st-line);display:flex;align-items:center;gap:14px;padding:0 12px;flex:none;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none}
.st-otn{display:inline-flex;align-items:center;gap:7px;color:var(--st-mute);padding-right:12px;border-right:1px solid var(--st-line)}.st-otn b{color:var(--st-ink);font-weight:600}
.st-main{flex:1;display:grid;grid-template-columns:52px minmax(0,1fr) 300px;min-height:0}
.st-tb{background:var(--st-panel);border-right:1px solid var(--st-line);display:flex;flex-direction:column;align-items:center;padding:8px 0;gap:2px;overflow-y:auto;scrollbar-width:none}
.st-tb hr{width:26px;border:0;border-top:1px solid var(--st-line2);margin:4px 0}
.st-tool{width:36px;height:36px;border:0;background:transparent;border-radius:9px;display:grid;place-items:center;color:#4a5060;flex:none}
.st-tool:hover{background:var(--st-hover)}.st-tool.on{background:var(--st-acc-bg);color:var(--st-acc)}
.st-colors{position:relative;width:40px;height:44px;margin-top:10px;flex:none}
.st-colors .sw{position:absolute;width:24px;height:24px;border-radius:6px;border:2px solid #fff;box-shadow:0 0 0 1px #c9cdd6;cursor:pointer}.st-colors .sw input{opacity:0;width:100%;height:100%;cursor:pointer}
.st-colors .fg{left:2px;top:2px;z-index:2}.st-colors .bg{left:14px;top:16px}.st-swap{position:absolute;right:-2px;top:-2px;border:0;background:transparent;padding:2px;color:#6a7080}
.st-center{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--st-canvas)}
.st-tabs{height:34px;display:flex;align-items:stretch;background:var(--st-bg);border-bottom:1px solid #e1e4ea;overflow-x:auto;scrollbar-width:none;flex:none}
.st-tab{display:flex;align-items:center;gap:6px;padding:0 8px 0 14px;border-right:1px solid #e1e4ea;color:var(--st-mute);cursor:pointer;max-width:220px;border:0;border-right:1px solid #e1e4ea;background:transparent}
.st-tab span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-tab.on{background:var(--st-canvas);color:var(--st-ink);font-weight:600}
.st-tab button{border:0;background:transparent;width:20px;height:20px;border-radius:5px;display:grid;place-items:center;color:var(--st-faint)}.st-tab button:hover{background:#e3e6ed;color:var(--st-ink)}
.st-tab.add{padding:0 12px;color:var(--st-mute)}
.st-stage{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none}
.st-stage canvas{position:absolute;inset:0;display:block}
.st-txt{position:absolute;z-index:5;border:1px dashed var(--st-acc);background:rgba(61,92,255,.05);color:transparent;padding:0;margin:0;resize:none;outline:none;overflow:hidden;white-space:pre;box-sizing:content-box}
.st-zoom{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:2px;background:var(--st-panel);border:1px solid var(--st-line);border-radius:999px;padding:2px 6px;box-shadow:0 4px 14px rgba(20,28,60,.08);z-index:4}
.st-zv{border:0;background:transparent;min-width:52px;font-weight:600}
.st-rp{background:var(--st-panel);border-left:1px solid var(--st-line);display:flex;flex-direction:column;min-height:0}
.st-ptabs{display:flex;gap:2px;padding:8px 8px 0;border-bottom:1px solid var(--st-line);flex:none}
.st-ptabs button{flex:1;border:0;background:transparent;padding:8px 0 9px;font-weight:600;color:var(--st-mute);border-bottom:2px solid transparent}.st-ptabs button.on{color:var(--st-ink);border-color:var(--st-acc)}
.st-pbody{flex:1 1 55%;overflow:auto;padding:12px 14px;min-height:120px}
.st-lhead{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--st-faint);padding:10px 14px 6px;border-top:1px solid var(--st-line);font-weight:600}
.st-layers{flex:1 1 45%;display:flex;flex-direction:column;min-height:160px;overflow:hidden}
.st h5{margin:14px 0 4px;font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--st-faint)}
.st-hint{color:var(--st-faint);font-size:12px;margin:10px 0}
.st-row{display:flex;gap:6px;flex-wrap:wrap}.st-row2{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:end}
.st-btn{height:32px;padding:0 12px;border:1px solid var(--st-line);background:var(--st-panel);border-radius:8px;font-weight:600;color:#2a2e38}
.st-btn:hover{border-color:#cdd2dc}.st-btn.p{background:var(--st-acc);border-color:var(--st-acc);color:#fff}.st-btn.p:hover{background:#2f4ef0}
.st-rng{display:grid;grid-template-columns:auto minmax(80px,1fr) 34px;align-items:center;gap:8px;color:#3b4050}
.st-ob .st-rng{grid-template-columns:auto 110px 30px}
.st-adj{grid-template-columns:82px 1fr 32px;margin:5px 0}
.st-rng output{text-align:right;color:var(--st-mute);font-variant-numeric:tabular-nums}
.st input[type=range]{-webkit-appearance:none;appearance:none;height:4px;border-radius:2px;background:#e3e6ec;outline:none;margin:0;width:100%}
.st input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:var(--st-panel);border:2px solid var(--st-acc);cursor:pointer}
.st input[type=range]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--st-panel);border:2px solid var(--st-acc);cursor:pointer}
.st-sel{display:inline-flex;align-items:center;gap:7px}.st-sel span,.st-num span,.st-col,.st-txtf span,.st-lbl{color:var(--st-mute)}
.st select,.st input[type=number],.st-txtf input,.st-msearch{height:30px;border:1px solid var(--st-line);border-radius:7px;background:#fafbfc;padding:0 8px;font:inherit;color:var(--st-ink)}
.st-num{display:inline-flex;align-items:center;gap:7px}.st-num input{width:84px}.st-inl{width:70px!important;height:26px!important;margin:0 4px}
.st-dlg .st-num{display:grid;gap:4px}.st-dlg .st-num input{width:100%}.st-txtf{display:grid;gap:4px}.st-txtf input{width:100%;box-sizing:border-box}
.st-col{display:inline-flex;align-items:center;gap:7px}.st input[type=color]{width:30px;height:26px;border:1px solid var(--st-line);border-radius:6px;padding:1px;background:var(--st-panel);cursor:pointer}
.st-chk{display:inline-flex;align-items:center;gap:6px;color:#3b4050;cursor:pointer}
.st-seg{display:inline-flex;background:#f1f2f6;border-radius:8px;padding:2px;gap:2px}.st-seg button{border:0;background:transparent;border-radius:6px;padding:5px 10px;font-weight:600;color:var(--st-mute)}.st-seg button.on{background:var(--st-panel);color:var(--st-ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.st-note{color:var(--st-faint)}
.st-lprops{display:grid;grid-template-columns:118px 1fr;gap:8px;padding:0 12px 8px;align-items:center}.st-lprops select{width:100%}.st-lprops .st-rng{grid-template-columns:auto 1fr 28px}
.st-llist{list-style:none;margin:0;padding:0 6px;flex:1;overflow:auto}
.st-llist li{display:flex;align-items:center;gap:8px;padding:5px 6px;border-radius:8px;cursor:pointer;user-select:none}
.st-llist li:hover{background:#f6f7fa}.st-llist li.on{background:var(--st-acc-bg)}
.st-eye,.st-lock{border:0;background:transparent;width:24px;height:24px;border-radius:6px;display:grid;place-items:center;color:#7a8091;padding:0}.st-lock{color:#c3c7d0}.st-lock.on{color:#e08a00}
.st-thumb{width:44px;height:32px;border-radius:5px;border:1px solid var(--st-line);background:repeating-conic-gradient(#e9ebef 0 25%,#fff 0 50%) 0 0/10px 10px;flex:none}
.st-ln{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-badge{font-style:normal;font-size:10px;font-weight:600;color:var(--st-acc);background:var(--st-panel);border:1px solid #d8defc;border-radius:5px;padding:0 5px}
.st-lbar{display:flex;justify-content:space-around;padding:6px;border-top:1px solid var(--st-line);flex:none}
.st-looks{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.st-look{border:2px solid transparent;background:transparent;border-radius:10px;padding:0;overflow:hidden;text-align:left}.st-look canvas{width:100%;height:auto;aspect-ratio:4/3;display:block;border-radius:8px;background:#eee}
.st-look span{display:block;padding:4px 2px 2px;font-size:12px;font-weight:600}.st-look.on{border-color:var(--st-acc)}
.st-lookbar{position:sticky;bottom:-12px;background:var(--st-panel);border-top:1px solid var(--st-line);padding:10px 0 12px;margin-top:10px}.st-lookbar .st-row{justify-content:flex-end;margin-top:8px}
.st-hist{list-style:none;margin:0;padding:0}.st-hist li{padding:7px 10px;border-radius:7px;cursor:pointer}.st-hist li:hover{background:#f6f7fa}.st-hist li.on{background:var(--st-acc-bg);color:var(--st-acc);font-weight:600}.st-hist li.fut{color:var(--st-faint)}
.st-sb{height:26px;background:var(--st-panel);border-top:1px solid var(--st-line);display:flex;gap:18px;align-items:center;padding:0 14px;color:var(--st-faint);font-size:11.5px;flex:none}.st-grow{flex:1}
.st-dlg{position:fixed;top:104px;right:316px;width:320px;max-height:calc(100vh - 140px);background:var(--st-panel);border:1px solid var(--st-line);border-radius:14px;box-shadow:0 24px 60px rgba(20,28,60,.2);z-index:60;display:flex;flex-direction:column}
.st-dh{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 8px 16px}.st-dh b{font-size:14px}
.st-db{padding:4px 16px 8px;overflow:auto;display:grid;gap:12px}.st-db .st-rng{grid-template-columns:1fr 34px}.st-db .st-rng span{grid-column:1/3}.st-db .st-rng input{grid-column:1}
.st-pv{padding:0 16px 6px}.st-df{display:flex;justify-content:flex-end;gap:8px;padding:10px 16px 14px;border-top:1px solid var(--st-line2)}
#cvEd{width:100%;aspect-ratio:1;border-radius:8px;border:1px solid var(--st-line);touch-action:none;cursor:crosshair}
.st-est{display:flex;justify-content:space-between;background:#f6f7fa;border-radius:8px;padding:10px 12px}.st-est b{font-variant-numeric:tabular-nums}
.st-presets{display:grid;grid-template-columns:1fr 1fr;gap:6px}.st-presets button{border:1px solid var(--st-line);background:var(--st-panel);border-radius:9px;padding:8px 10px;text-align:left}.st-presets button.on{border-color:var(--st-acc);background:var(--st-acc-bg)}
.st-presets b{display:block;font-size:12.5px}.st-presets span{color:var(--st-faint);font-size:11.5px}
.st-anchor{display:grid;grid-template-columns:repeat(3,28px);gap:4px}.st-anchor button{width:28px;height:28px;border:1px solid var(--st-line);border-radius:6px;background:var(--st-panel)}.st-anchor button.on{background:var(--st-acc);border-color:var(--st-acc)}
.st-keys{display:grid;grid-template-columns:1fr auto;gap:6px 18px}.st-keys kbd{font:12px Inter;color:var(--st-mute);background:#f3f4f7;border-radius:5px;padding:1px 6px}
.st-busy{position:fixed;inset:0;z-index:90;background:rgba(243,244,247,.55);display:grid;place-items:center;align-content:center;gap:12px;font-weight:600;color:var(--st-mute)}
.st-busy i{width:34px;height:34px;border:3px solid #dfe3ec;border-top-color:var(--st-acc);border-radius:50%;animation:stspin .8s linear infinite;justify-self:center}
@keyframes stspin{to{transform:rotate(360deg)}}
.st-pal{position:fixed;inset:0;z-index:80;background:rgba(20,24,40,.28);display:flex;justify-content:center;padding-top:12vh}
.st-pal[hidden]{display:none}.st-palb{width:min(620px,94vw);background:var(--st-panel);border-radius:16px;box-shadow:0 30px 80px rgba(20,28,60,.3);overflow:hidden;align-self:flex-start}
.st-palb input{width:100%;box-sizing:border-box;border:0;border-bottom:1px solid var(--st-line);padding:16px 18px;font:16px Inter;outline:none}
.st-pall{max-height:52vh;overflow:auto;padding:6px}.st-pall button{display:grid;grid-template-columns:1fr auto auto;gap:12px;width:100%;border:0;background:transparent;padding:9px 12px;border-radius:8px;text-align:left}
.st-pall button.on,.st-pall button:hover{background:var(--st-acc-bg)}.st-pall em{font-style:normal;color:var(--st-faint);font-size:12px}.st-pall kbd{font:11.5px Inter;color:var(--st-faint)}
.st.drag .st-center:after{content:"Drop to open";position:absolute;inset:10px;border:2px dashed var(--st-acc);border-radius:16px;background:rgba(238,241,255,.8);display:grid;place-items:center;font-size:18px;font-weight:600;color:var(--st-acc);z-index:20}
/* empty state */
.st-empty{position:absolute;inset:0;display:none;place-items:center;overflow:auto;padding:24px;background:var(--canvas)}
.st.empty .st-empty{display:grid}.st.empty .st-stage,.st.empty .st-zoom{visibility:hidden}
.st-empty .in{width:100%;max-width:760px;text-align:center}
.st-empty .dropzone{border:2px dashed #d5dbe6;background:var(--st-panel);border-radius:26px;padding:44px 24px;cursor:pointer;position:relative;overflow:hidden}
.st-empty .dropzone:before{content:"";position:absolute;inset:0;background:radial-gradient(420px 220px at 50% 30%,#eef3ff 0,rgba(238,243,255,0) 70%);pointer-events:none}
.st-empty .dropzone.drag{border-color:var(--st-acc)}
.st-empty .dz-icon{position:relative;width:76px;height:76px;border-radius:24px;background:var(--st-panel);display:grid;place-items:center;margin:0 auto 18px;box-shadow:0 16px 40px rgba(60,80,140,.16),0 0 0 1px #eef0f5;color:#4f6bff}
.st-empty h1{position:relative;font:600 34px/1.1 Poppins,Inter,sans-serif;letter-spacing:-.025em;margin:0 0 8px}
.st-empty p{position:relative;color:var(--st-mute);font-size:15px;margin:0 0 22px}
.st-empty .b{position:relative;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.st-empty .eb{border-radius:999px;padding:13px 26px;font-weight:600;font-size:15px;border:1px solid #dfe3ea;background:var(--st-panel);color:var(--st-ink)}.st-empty .eb.p{background:var(--st-ink);color:var(--st-panel);border-color:var(--st-ink)}
.st-empty input[type=file]{display:none}
.st-restore{margin:14px auto 0;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--st-mute)}.st-restore[hidden]{display:none}
.st-restore button{border:1px solid #cfd6ff;background:var(--st-acc-bg);color:var(--st-acc);border-radius:999px;padding:6px 14px;font-weight:600}
.st-quick{margin-top:22px;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.st-quick button{border:1px solid #e6e9ef;background:var(--st-panel);border-radius:999px;padding:8px 14px;color:#3d4250}
.st-feat{margin-top:26px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;text-align:left}.st-feat div{background:var(--st-panel);border:1px solid #eceff4;border-radius:14px;padding:12px 14px}.st-feat b{display:block;font-size:13px}.st-feat span{font-size:12px;color:var(--st-mute)}
.st-sheet,.st-tray{display:none}
/* phones and small tablets */
@media(max-width:760px){
.st-menus,.st-ob,.st-tb,.st-rp,.st-sb,.st-hm,.st-tabs{display:none!important}
.st-mb{height:54px;padding:0 8px}.st-logo span{display:none}.st-export span{display:none}.st-export{width:42px;padding:0;justify-content:center}
.st-main{grid-template-columns:1fr}.st-zoom{bottom:10px}
.st-tray{display:flex;background:var(--st-panel);border-top:1px solid var(--st-line);padding:6px 4px calc(6px + env(safe-area-inset-bottom));flex:none;overflow-x:auto;scrollbar-width:none}
.st-tray button{flex:1 1 0;min-width:0;border:0;background:transparent;border-radius:12px;padding:6px 0;display:grid;justify-items:center;gap:3px;font-size:11px;color:#4a5060}.st-tray button.on{background:var(--st-acc-bg);color:var(--st-acc);font-weight:600}
.st-sheet{display:block;background:var(--st-panel);border-top:1px solid var(--st-line);border-radius:18px 18px 0 0;box-shadow:0 -10px 30px rgba(20,28,60,.08);max-height:0;overflow:hidden;transition:max-height .2s;flex:none}
.st-sheet.open{max-height:46vh;overflow:auto}
.st-sh{display:flex;justify-content:space-between;align-items:center;padding:10px 10px 4px 16px;position:sticky;top:0;background:var(--st-panel);z-index:2}.st-sh b{font-size:14px}
.st-sb2{padding:4px 14px 14px}
.st-tgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:10px}.st-tgrid button{border:1px solid var(--st-line2);background:#fafbfc;border-radius:12px;padding:10px 2px;display:grid;justify-items:center;gap:4px;font-size:11px}.st-tgrid button.on{border-color:var(--st-acc);background:var(--st-acc-bg);color:var(--st-acc)}
.st-mopts{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center}.st-mopts .st-otn{display:none}.st-mopts .st-rng{grid-template-columns:auto 1fr 30px;width:100%}
.st-looks{grid-template-columns:repeat(3,1fr)}.st-layers{min-height:0}
.st-sb2 .st-llist{max-height:none}.st-lprops{padding:0 0 8px}
.st-dlg{top:auto;bottom:0;left:0;right:0;width:auto;max-height:58vh;border-radius:18px 18px 0 0}
.st-mlist details{border-bottom:1px solid var(--st-line2)}.st-mlist summary{padding:12px 4px;font-weight:600;cursor:pointer}.st-mlist .st-mi-subl{display:block;position:static;box-shadow:none;border:0;padding:0 0 0 10px}.st-mlist .st-mi-sub>span:after{content:""}
.st-msearch{width:100%;box-sizing:border-box;margin-bottom:6px;height:38px}
.st-empty{padding:12px}.st-empty .dropzone{padding:30px 16px;border-radius:22px}.st-empty h1{font-size:26px}.st-empty p{font-size:14px}.st-empty .eb{width:100%}.st-feat{grid-template-columns:1fr 1fr}
}

/* shared pop-ups used inside the editor */
.kbd{display:inline-block;font:600 11px var(--mono);padding:2px 6px;border:1px solid var(--line-2);border-bottom-width:2px;border-radius:5px;background:var(--st-panel);color:var(--text-2);line-height:1.4}
.kbd{margin-left:auto}
.kbd{display:none}
.note{font-size:13px;color:var(--text-2);background:var(--canvas);border:1px solid var(--line);border-radius:11px;padding:10px 12px}
.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);background:var(--ink);color:#fff;padding:11px 18px;border-radius:12px;font-size:14px;font-weight:550;box-shadow:var(--sh-3);opacity:0;pointer-events:none;transition:all .25s;z-index:999}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.next-card{position:fixed;right:20px;bottom:20px;z-index:300;width:min(390px,calc(100vw - 32px));background:var(--st-panel);border:1px solid var(--line);border-radius:18px;box-shadow:var(--sh-3);padding:16px;transform:translateY(20px);opacity:0;transition:all .3s}
.next-card.show{transform:none;opacity:1}
.next-card p{margin:12px 0 8px;font-size:13px;color:var(--muted)}
.next-h{display:flex;gap:12px;align-items:center;padding-right:24px}
.next-h b{display:block;font-size:14.5px;word-break:break-all;color:var(--ink)}
.next-h span{font-size:13px;color:var(--muted)}
.next-ok{width:36px;height:36px;border-radius:50%;background:var(--pass-bg);color:var(--pass);display:grid;place-items:center;flex:none}
.next-ok svg{width:20px;height:20px}
.next-btns{display:flex;flex-wrap:wrap;gap:6px}
.next-x{position:absolute;right:10px;top:10px;border:0;background:none;color:var(--muted);cursor:pointer;font-size:15px;padding:4px 6px;border-radius:6px}
.next-x:hover{background:var(--canvas)}
.nudge{position:fixed;left:50%;bottom:20px;transform:translate(-50%,20px);opacity:0;transition:all .3s;z-index:250;background:var(--ink);color:#fff;border-radius:14px;padding:12px 44px 12px 16px;font-size:14px;box-shadow:var(--sh-3);max-width:calc(100vw - 32px)}
.nudge.show{opacity:1;transform:translate(-50%,0)}
.nudge .kbd{color:var(--ink)}
.nudge .next-x{color:#fff}
.linklike{border:0;background:none;color:#a5b8ff;text-decoration:underline;cursor:pointer;font:inherit;padding:0}

html[data-theme="dark"]{color-scheme:dark;--canvas:#0c0e11;--ink:#f3f5f9;--line:#252a33;--line-2:#343a46;--muted:#99a1b0;--text-2:#c4c9d4;--bg:#121418;--st-hover:#232730;--st-soft:#1b1e25;
--st-bg:#0f1114;--st-panel:#16181d;--st-line:#262a33;--st-line2:#20242c;--st-ink:#eef0f5;--st-mute:#a3aab8;--st-faint:#6f7787;--st-acc:#7b93ff;--st-acc-bg:#1f274d;--st-canvas:#0b0c0f}
html[data-theme="dark"] .st select,html[data-theme="dark"] .st input[type=number],html[data-theme="dark"] .st-txtf input,html[data-theme="dark"] .st-msearch{background:var(--st-soft);color:var(--st-ink)}
html[data-theme="dark"] .st input[type=range]{background:#2a2f3a}
html[data-theme="dark"] .st-mt,html[data-theme="dark"] .st-mi,html[data-theme="dark"] .st-mi-sub>span,html[data-theme="dark"] .st-btn,html[data-theme="dark"] .st-tool,html[data-theme="dark"] .st .ib,html[data-theme="dark"] .st-rng,html[data-theme="dark"] .st-chk{color:var(--st-ink)}
html[data-theme="dark"] .st-mt:hover,html[data-theme="dark"] .st-menu.open .st-mt,html[data-theme="dark"] .st-mi-sub:hover>span,html[data-theme="dark"] .st-llist li:hover,html[data-theme="dark"] .st-hist li:hover,html[data-theme="dark"] .st-seg{background:var(--st-hover)}
html[data-theme="dark"] .st-seg button.on{background:var(--st-panel);color:var(--st-ink)}
html[data-theme="dark"] .st-btn{border-color:var(--st-line)}html[data-theme="dark"] .st-presets button,html[data-theme="dark"] .st-tgrid button,html[data-theme="dark"] .st-quick button,html[data-theme="dark"] .st-feat div{background:var(--st-soft);border-color:var(--st-line);color:var(--st-ink)}
html[data-theme="dark"] .st-empty .dropzone{border-color:#343a46}html[data-theme="dark"] .st-empty .dropzone:before{background:radial-gradient(420px 220px at 50% 30%,#1a2142 0,rgba(26,33,66,0) 70%)}
html[data-theme="dark"] .st-busy{background:rgba(10,12,15,.6)}html[data-theme="dark"] .st-est{background:var(--st-soft)}html[data-theme="dark"] .st-tabs .st-tab.on{background:var(--st-canvas)}

.th-l,.th-d{display:inline-flex}.th-d{display:none}html[data-theme="dark"] .th-l{display:none}html[data-theme="dark"] .th-d{display:inline-flex}
.inst{position:fixed;inset:0;z-index:200;background:rgba(10,12,18,.5);display:grid;place-items:center;padding:16px}.inst-b{background:var(--st-panel);color:var(--st-ink);border-radius:20px;max-width:420px;width:100%;padding:22px}.inst-b ol{padding-left:20px}.inst-b .row{display:flex;justify-content:flex-end}.inst-b .btn{height:36px;padding:0 16px;border:0;border-radius:9px;background:var(--st-acc);color:#fff;font-weight:600;cursor:pointer}.muted{color:var(--st-mute)}

/* ===== v5: fonts, rail, drawers, context bar ===== */
@font-face{font-family:Inter;font-weight:400;font-display:swap;src:url(../fonts/inter-regular.woff) format("woff")}
@font-face{font-family:Inter;font-weight:500;font-display:swap;src:url(../fonts/inter-medium.woff) format("woff")}
@font-face{font-family:Inter;font-weight:600;font-display:swap;src:url(../fonts/inter-semibold.woff) format("woff")}
@font-face{font-family:Inter;font-weight:700;font-display:swap;src:url(../fonts/inter-bold.woff) format("woff")}
@media(min-width:761px){.st-main{grid-template-columns:68px minmax(0,1fr) 300px}}
.st-tb{padding:6px 0;gap:1px}
.st-rails{display:flex;flex-direction:column;gap:2px;width:100%;align-items:center}
.st-rail{width:64px;letter-spacing:-.15px;border:0;background:transparent;border-radius:10px;padding:7px 0 6px;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--st-mute);font-size:10.5px;font-weight:500;flex:none}
.st-rail:hover{background:var(--st-hover);color:var(--st-ink)}.st-rail.on{background:var(--st-acc-bg);color:var(--st-acc)}
.st-tool{width:38px;height:36px}
.st-drawer{position:absolute;left:0;top:34px;bottom:0;width:340px;background:var(--st-panel);border-right:1px solid var(--st-line);z-index:12;display:flex;flex-direction:column;box-shadow:12px 0 32px -18px rgba(20,28,60,.25)}
.st-drawer[hidden]{display:none}
.st-dwh{display:flex;align-items:center;justify-content:space-between;padding:12px 10px 8px 16px}.st-dwh b{font-size:14px;font-weight:600}
.st-dwb{flex:1;overflow:auto;padding:4px 16px 20px}
.st-dsearch{width:100%;box-sizing:border-box;height:36px;border:1px solid var(--st-line);border-radius:8px;padding:0 12px;font:inherit;background:var(--st-soft);color:var(--st-ink);margin-bottom:10px}
.st-chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:10px;scrollbar-width:none}.st-chips button{flex:none;border:1px solid var(--st-line);background:var(--st-panel);border-radius:999px;padding:5px 11px;font-size:12px;color:var(--st-mute);white-space:nowrap}.st-chips button.on{background:var(--st-ink);border-color:var(--st-ink);color:var(--st-panel)}
.st-tpls{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}
.st-tpl{border:0;background:transparent;padding:0;text-align:left;border-radius:8px}
.st-tpl canvas{width:100%;height:auto;display:block;border-radius:6px;border:1px solid var(--st-line);background:repeating-conic-gradient(var(--st-hover) 0 25%,var(--st-panel) 0 50%) 0 0/12px 12px;transition:transform .12s,box-shadow .12s}
.st-tpl:hover canvas{transform:translateY(-2px);box-shadow:0 10px 24px -12px rgba(20,28,60,.35)}
.st-tpl span{display:block;font-size:12px;font-weight:600;margin-top:6px;color:var(--st-ink)}.st-tpl small{font-size:11px;color:var(--st-faint)}
.st-tadd{display:block;width:100%;text-align:left;border:1px solid var(--st-line);background:var(--st-soft);border-radius:8px;padding:12px 14px;margin-bottom:8px;color:var(--st-ink);font-family:"Inter Display",Inter,sans-serif}
.st-tadd:hover{border-color:var(--st-acc)}.st-tadd.h{font-size:24px;font-weight:900}.st-tadd.s{font-size:17px;font-weight:600}.st-tadd.b{font-size:13px;font-weight:400;font-family:Inter}
.st-combos{display:grid;grid-template-columns:1fr 1fr;gap:8px}.st-combos button{border:1px solid var(--st-line);background:var(--st-panel);border-radius:8px;padding:12px 10px;text-align:left;min-height:74px}
.st-combos b{display:block;font-size:17px;line-height:1.15;color:var(--st-ink)}.st-combos span{display:block;font-size:11px;color:var(--st-faint);margin-top:6px}
.st-fontlist,.st-fontpop{display:flex;flex-direction:column}
.st-fontlist button,.st-fontpop button{display:flex;justify-content:space-between;align-items:baseline;border:0;background:transparent;padding:8px 10px;border-radius:6px;font-size:17px;color:var(--st-ink);text-align:left}
.st-fontlist button:hover,.st-fontpop button:hover{background:var(--st-hover)}.st-fontlist small,.st-fontpop small{font:11px Inter;color:var(--st-faint);text-transform:capitalize}
.st-fontpop{position:fixed;z-index:90;width:260px;max-height:360px;overflow:auto;background:var(--st-panel);border:1px solid var(--st-line);border-radius:10px;box-shadow:0 18px 48px -12px rgba(20,28,60,.3);padding:6px}
.st-elgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.st-elgrid button{aspect-ratio:1;border:1px solid var(--st-line2);background:var(--st-soft);border-radius:8px;display:grid;place-items:center;color:var(--st-ink);padding:8px}
.st-elgrid button:hover{border-color:var(--st-acc);background:var(--st-acc-bg)}.st-elgrid img{max-width:100%;max-height:100%}
.st-elgrid.l{grid-template-columns:repeat(3,1fr)}.st-elgrid.l button{aspect-ratio:2}.st-elgrid.ic{grid-template-columns:repeat(5,1fr)}.st-elgrid.stk{grid-template-columns:repeat(6,1fr)}.st-elgrid.stk button{font-size:22px;padding:0}
.st-sw{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-bottom:6px}.st-sw button,.st-swc{aspect-ratio:1;border-radius:7px;border:1px solid rgba(0,0,0,.08);padding:0;cursor:pointer}.st-sw button:hover{transform:scale(1.06)}
.st-swc{background:conic-gradient(#f43f5e,#f59e0b,#84cc16,#06b6d4,#6366f1,#d946ef,#f43f5e);display:block;overflow:hidden}.st-swc input{opacity:0;width:100%;height:100%}
.st-sw.g{grid-template-columns:repeat(4,1fr)}.st-wide{width:100%;margin:6px 0}
.st-ups{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.st-ups button{aspect-ratio:1;border:1px solid var(--st-line);border-radius:8px;padding:0;overflow:hidden}.st-ups img{width:100%;height:100%;object-fit:cover}
.st-ctx{display:flex;align-items:center;gap:6px;white-space:nowrap}
.st-sep{width:1px;height:22px;background:var(--st-line);margin:0 4px;flex:none}
.st-cb{width:32px;height:32px;border:0;background:transparent;border-radius:7px;display:inline-grid;place-items:center;color:var(--st-mute);padding:0;flex:none}.st-cb:hover{background:var(--st-hover);color:var(--st-ink)}.st-cb.on{background:var(--st-acc-bg);color:var(--st-acc)}
.st-fontbtn{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-width:150px;height:32px;border:1px solid var(--st-line);border-radius:7px;background:var(--st-panel);padding:0 8px 0 10px;font-size:14px;color:var(--st-ink)}
.st-size{display:inline-flex;align-items:center;border:1px solid var(--st-line);border-radius:7px;height:32px}.st-size .st-cb{width:26px;height:30px}.st-size input{width:46px!important;border:0!important;background:transparent!important;text-align:center;height:30px!important;padding:0!important;-moz-appearance:textfield}
.st-size input::-webkit-inner-spin-button{-webkit-appearance:none}
.st-colorbtn{position:relative;width:32px;height:32px;display:inline-grid;place-items:center;border-radius:7px;cursor:pointer;flex:none}.st-colorbtn:hover{background:var(--st-hover)}
.st-colorbtn span{width:20px;height:20px;border-radius:50%;border:1px solid rgba(0,0,0,.15);display:block}.st-colorbtn span.ring{background:transparent!important;border:3px solid}.st-colorbtn span.none{background:repeating-linear-gradient(45deg,#e5e7eb 0 3px,#fff 3px 6px)!important}
.st-colorbtn input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%!important;height:100%!important}
.st-mini{display:inline-flex;align-items:center;gap:6px;color:var(--st-mute);flex:none}.st-mini input[type=range]{width:78px}
.st-pos{display:inline-flex;gap:4px;align-items:center}.st-pos label{display:inline-flex;align-items:center;gap:3px;font-size:11px;color:var(--st-faint)}.st-pos input{width:54px!important;height:28px!important;padding:0 4px!important;font-size:12px!important}
.st-btn{display:inline-flex;align-items:center;gap:6px}
.st-empty .in{max-width:980px}
#stEmptyTpl{margin-top:26px;text-align:left}#stEmptyTpl .st-tpls{grid-template-columns:repeat(6,1fr)}#stEmptyTpl .st-dsearch{max-width:320px}
.st-etplh{text-align:left;margin:28px 0 10px;font-weight:600;font-size:15px}
@media(max-width:1100px){#stEmptyTpl .st-tpls{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.st-drawer{display:none!important}.st-tpls,#stEmptyTpl .st-tpls{grid-template-columns:repeat(3,1fr)}.st-elgrid{grid-template-columns:repeat(5,1fr)}.st-elgrid.ic{grid-template-columns:repeat(6,1fr)}.st-elgrid.stk{grid-template-columns:repeat(8,1fr)}
 .st-ctx{flex-wrap:wrap;white-space:normal}.st-pos{display:none}.st-tray button span{font-size:10px}}
html[data-theme="dark"] .st-fontbtn,html[data-theme="dark"] .st-chips button{background:var(--st-soft)}

.st-rail span{font-size:10px}.st-elgrid button{min-width:0;overflow:hidden}.st-elgrid img{width:100%;height:auto}

/* ===== v6: Canva-style layout ===== */
@media(min-width:761px){
 .st-main{grid-template-columns:72px minmax(0,1fr)!important}
 .st-rp{display:none!important}
 .st-tb{padding:10px 0;gap:2px;border-right:1px solid var(--st-line)}
 .st-rail{width:64px;padding:8px 0 7px;border-radius:10px;gap:4px;transition:background .12s,color .12s}
 .st-rsep{display:block;width:32px;height:1px;background:var(--st-line);margin:6px auto}
 .st-tb .st-colors{margin:auto 0 10px}
 .st-ob{position:absolute;top:46px;left:50%;transform:translateX(-50%);z-index:15;height:46px;max-width:calc(100% - 40px);border:1px solid var(--st-line);border-radius:12px;box-shadow:0 1px 2px rgba(16,24,40,.05),0 10px 30px -10px rgba(16,24,40,.22);padding:0 8px;transition:left .2s ease}
 .st.drawer-open .st-ob{left:calc(50% + 170px);max-width:calc(100% - 380px)}
 .st.empty .st-ob{display:none}
 .st-otn{border-right:1px solid var(--st-line);padding-right:10px;margin-right:2px}
 .st-drawer{top:34px;width:340px;border-right:1px solid var(--st-line);box-shadow:none}
 .st-drawer.in{animation:stIn .18s cubic-bezier(.2,.8,.2,1)}
 @keyframes stIn{from{transform:translateX(-14px);opacity:0}to{transform:none;opacity:1}}
 .st-zoom{left:auto;right:16px;transform:none}
 .st-sb{display:none}
}
.st-doc{display:flex;align-items:center;gap:10px;margin:0 auto}
.st-doc input{border:1px solid transparent;background:transparent;border-radius:7px;font:600 14px Inter,sans-serif;color:var(--st-ink);padding:6px 8px;width:220px;text-align:center}
.st-doc input:hover{border-color:var(--st-line)}.st-doc input:focus{outline:none;border-color:var(--st-acc);background:var(--st-panel)}
.st-doc span{font-size:12px;color:var(--st-faint);white-space:nowrap}
.st-rs{display:inline-flex;align-items:center;gap:6px;height:32px;border:1px solid var(--st-line);border-radius:8px;background:var(--st-panel);padding:0 12px;font-weight:600;font-size:13px;color:var(--st-ink)}
.st-rs:hover{border-color:#c9cfdb}
.st-mbr{margin-left:0}
.st-menus .st-mt{font-size:13px;padding:7px 9px}
.st-tgrid2{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.st-tgrid2 button{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:10px;border:1px solid var(--st-line2);background:var(--st-soft);border-radius:9px;padding:10px;text-align:left;font-size:12.5px;color:var(--st-ink)}
.st-tgrid2 button:hover{border-color:var(--st-line)}.st-tgrid2 button.on{border-color:var(--st-acc);background:var(--st-acc-bg);color:var(--st-acc)}
.st-tgrid2 kbd{font:11px Inter;color:var(--st-faint);border:1px solid var(--st-line);border-radius:4px;padding:0 4px}
.st-dlayers{display:flex;flex-direction:column}.st-dlayers .st-llist{max-height:none;padding:0}.st-dlayers .st-lprops{padding:0 0 10px}
.st-txt{border:1.5px solid var(--st-acc);background:transparent;border-radius:2px}
.st-stage{background:var(--st-canvas)}
.st-ob select,.st-ob input[type=number],.st-ob input[type=text]{height:32px;border:1px solid var(--st-line);border-radius:8px;background:var(--st-panel);color:var(--st-ink);font:500 13px Inter,sans-serif;padding:0 10px}
.st-ob select{appearance:none;-webkit-appearance:none;padding-right:28px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%2378809a' stroke-width='1.6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
.st-ob select:hover,.st-ob input:hover{border-color:#c9cfdb}
.st-ob select:focus,.st-ob input:focus{outline:none;border-color:var(--st-acc);box-shadow:0 0 0 3px var(--st-acc-bg)}
.st-ob label{font-size:12.5px;color:var(--st-mute)}
.st-ob input[type=checkbox]{accent-color:var(--st-acc)}
html[data-theme=dark] .st-ob select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%239aa3b8' stroke-width='1.6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E")}
html[data-theme="dark"] .st .st-chips button.on{background:var(--st-ink);border-color:var(--st-ink);color:var(--st-panel)}
html[data-theme="dark"] .st .st-ob select{background-color:var(--st-soft);background-repeat:no-repeat;background-position:right 10px center}
.st textarea.st-txt,html[data-theme="dark"] .st textarea.st-txt{background:transparent!important;box-shadow:none}
html[data-theme="dark"] .st-doc input{background:transparent}

/* ===== v7: right-click menu, pages, multi-select ===== */
.st-cmenu{position:fixed;z-index:9000;min-width:236px;padding:6px;background:var(--st-panel);border:1px solid var(--st-line);border-radius:12px;box-shadow:0 2px 6px rgba(16,24,40,.06),0 18px 44px -12px rgba(16,24,40,.28);font:500 13px Inter,sans-serif;color:var(--st-ink);animation:stPop .12s cubic-bezier(.2,.8,.2,1)}
@keyframes stPop{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
.st-cmenu>button{display:flex;align-items:center;gap:10px;width:100%;height:32px;padding:0 10px;border:0;border-radius:7px;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.st-cmenu>button:hover:not([disabled]){background:var(--st-hover)}
.st-cmenu>button[disabled]{opacity:.4;cursor:default}
.st-cmenu>button svg{color:var(--st-mute);flex:none}
.st-cmenu>button span{flex:1}
.st-cmenu kbd{font:500 11px Inter,sans-serif;color:var(--st-faint)}
.st-cmenu hr{border:0;border-top:1px solid var(--st-line);margin:5px 4px}
.st-cm-row{display:flex;gap:2px;padding:2px}
.st-cm-row button{flex:1;height:32px;border:0;border-radius:7px;background:none;color:var(--st-ink);display:grid;place-items:center;cursor:pointer}
.st-cm-row button:hover{background:var(--st-hover);color:var(--st-acc)}
.st-pagebar{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);z-index:14;display:flex;align-items:center;gap:4px;height:40px;padding:0 6px;background:var(--st-panel);border:1px solid var(--st-line);border-radius:12px;box-shadow:0 1px 2px rgba(16,24,40,.05),0 10px 28px -12px rgba(16,24,40,.25);transition:left .2s ease}
.st.drawer-open .st-pagebar{left:calc(50% + 170px)}
.st-pagebar .ib{width:30px;height:30px;border-radius:8px}
.st-pagebar .ib[disabled]{opacity:.35}
.st-pgn{border:0;background:none;font:600 13px Inter,sans-serif;color:var(--st-ink);padding:0 8px;height:30px;border-radius:8px;cursor:pointer;white-space:nowrap}
.st-pgn:hover{background:var(--st-hover)}
.st-pga{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border:0;border-radius:8px;background:none;color:var(--st-ink);font:600 13px Inter,sans-serif;cursor:pointer;white-space:nowrap}
.st-pga:hover{background:var(--st-hover)}
.st-pagebar .st-sep{width:1px;height:20px;background:var(--st-line);margin:0 2px}
.st-pgpop{position:fixed;z-index:9000;display:flex;flex-wrap:wrap;gap:10px;max-width:min(760px,calc(100vw - 16px));max-height:60vh;overflow:auto;padding:12px;background:var(--st-panel);border:1px solid var(--st-line);border-radius:14px;box-shadow:0 18px 44px -12px rgba(16,24,40,.3)}
.st-pgpop>button{display:flex;flex-direction:column;align-items:center;gap:5px;border:1.5px solid transparent;border-radius:10px;background:none;padding:6px;cursor:pointer;color:var(--st-mute);font:600 12px Inter,sans-serif}
.st-pgpop>button img{max-width:150px;max-height:110px;border-radius:5px;box-shadow:0 0 0 1px var(--st-line)}
.st-pgpop>button.on,.st-pgpop>button:hover{border-color:var(--st-acc);color:var(--st-acc)}
.st-pgpop-a{flex-basis:100%;display:flex;gap:8px;justify-content:flex-end;border-top:1px solid var(--st-line);padding-top:10px}
@media(max-width:760px){.st-pagebar{bottom:76px;height:36px}.st-pga span{display:none}}
.st-tpl img{display:block;width:100%;height:auto;border-radius:8px;background:var(--st-hover)}
.st-tpl img{border:1px solid var(--st-line);transition:transform .12s,box-shadow .12s}.st-tpl:hover img{transform:translateY(-2px);box-shadow:0 8px 20px -10px rgba(16,24,40,.35)}
/* v7 library: fonts, elements, photos */
.st-fontpop2{position:fixed;z-index:9000;width:320px;display:flex;flex-direction:column;gap:8px;padding:12px;background:var(--st-panel);border:1px solid var(--st-line);border-radius:12px;box-shadow:0 18px 44px -12px rgba(16,24,40,.3)}
.st-fontpop2 .st-chips,.st-fontwrap .st-chips{flex-wrap:nowrap}
.st-flist{overflow:auto;max-height:420px;display:flex;flex-direction:column;margin:0 -4px}
.st-fontwrap .st-flist{max-height:none;overflow:visible}
.st-flist h5{margin:8px 6px 4px}
.st-flist button{display:flex;align-items:center;justify-content:space-between;gap:10px;height:40px;padding:0 10px;border:0;border-radius:8px;background:none;color:var(--st-ink);font-size:17px;text-align:left;cursor:pointer;flex:none}
.st-flist button:hover{background:var(--st-hover)}.st-flist button.on{background:var(--st-acc-bg);color:var(--st-acc)}
.st-flist button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-flist small{font:500 11px Inter,sans-serif;color:var(--st-faint);text-transform:capitalize;flex:none}
.st-els{margin-bottom:6px}.st-elh{display:flex;align-items:center;justify-content:space-between}
.st-psearch{margin:0}
.st-phgrid{columns:2;column-gap:8px;margin-top:10px}
.st-phgrid .st-hint,.st-phgrid .st-phh{column-span:all}
.st-phgrid button{display:block;width:100%;margin:0 0 8px;padding:0;border:0;border-radius:8px;overflow:hidden;background:var(--st-hover);cursor:pointer;break-inside:avoid}
.st-phgrid img{display:block;width:100%;height:auto;transition:transform .2s}
.st-phgrid button:hover img{transform:scale(1.04)}
.st-phnote{margin-top:6px}.st-phnote a{color:var(--st-acc)}
