:root{color-scheme:light dark;--bg: #f4f3ef;--surface: #ffffff;--surface-2: #f8f7f4;--sunken: #ecebe6;--ink: #17171a;--ink-2: #3d3d42;--muted: #76757c;--line: #e4e2dc;--line-strong: #d3d0c8;--accent: #e4572e;--accent-hover: #d14a22;--accent-soft: #fdeae3;--accent-ink: #ffffff;--danger: #c2321b;--danger-soft: #fdecea;--ok: #1f7a4d;--scrim: rgba(18, 18, 20, .5);--shadow-sm: 0 1px 2px rgba(20, 20, 24, .06);--shadow: 0 1px 2px rgba(20, 20, 24, .05), 0 8px 24px rgba(20, 20, 24, .07);--shadow-lg: 0 24px 64px rgba(20, 20, 24, .18);--radius: 14px;--radius-sm: 10px;--appbar: 64px;--composer: 380px;--font: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;--ease: cubic-bezier(.2, .7, .2, 1)}@media(prefers-color-scheme:dark){:root{--bg: #0f0f11;--surface: #18181b;--surface-2: #1d1d21;--sunken: #232328;--ink: #f2f1ee;--ink-2: #cfcdc8;--muted: #8f8e95;--line: #2a2a2f;--line-strong: #393940;--accent: #ff6a3d;--accent-hover: #ff7e57;--accent-soft: rgba(255, 106, 61, .14);--accent-ink: #1a0c06;--danger: #ff7a66;--danger-soft: rgba(255, 122, 102, .12);--ok: #4fc58a;--scrim: rgba(0, 0, 0, .62);--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);--shadow-lg: 0 24px 64px rgba(0, 0, 0, .6)}}*{box-sizing:border-box}[hidden]{display:none!important}html{-webkit-text-size-adjust:100%}html,body{margin:0}body{min-height:100vh;font-family:var(--font);font-size:14px;line-height:1.5;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0;padding:0}button:disabled{cursor:not-allowed}a{color:inherit}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.muted{color:var(--muted)}.icon{display:inline-grid;place-items:center;width:18px;height:18px;flex:none}.icon svg{width:100%;height:100%}.icon-lg{width:28px;height:28px}.icon-xl{width:40px;height:40px;color:var(--muted)}.appbar{position:sticky;top:0;z-index:30;height:var(--appbar);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:0 24px;background:color-mix(in srgb,var(--bg) 82%,transparent);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid transparent;transition:border-color .2s}.scrolled .appbar{border-bottom-color:var(--line)}.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--ink);color:var(--bg)}.brand-mark .icon{width:20px;height:20px}.brand-name{font-size:16px;font-weight:650;letter-spacing:-.01em;white-space:nowrap}.badge{font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;white-space:nowrap}.badge-mock{background:color-mix(in srgb,var(--ok) 14%,transparent);color:var(--ok)}.appbar-end{display:flex;justify-content:flex-end}.tabs{display:flex;gap:2px;padding:4px;border-radius:12px;background:var(--sunken)}.tab{position:relative;display:flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 10px;border-radius:9px;color:var(--muted);font-weight:550;transition:background .15s,color .15s}.tab:hover{color:var(--ink)}.tab[aria-selected=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}.tab-step{display:grid;place-items:center;width:20px;height:20px;border-radius:999px;font-size:11px;font-weight:700;background:var(--line);color:var(--ink-2);transition:background .15s}.tab[aria-selected=true] .tab-step{background:var(--ink);color:var(--surface)}.tab.done .tab-step{background:var(--accent);color:var(--accent-ink);font-size:0}.tab.done .tab-step:after{content:"";width:9px;height:5px;border:solid currentColor;border-width:0 0 2px 2px;transform:translateY(-1px) rotate(-45deg)}.tab-count{font-size:12px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}.icon-btn{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;color:var(--ink-2);transition:background .15s,color .15s}.icon-btn:hover{background:var(--sunken);color:var(--ink)}.icon-btn.sm{width:28px;height:28px;border-radius:8px}.icon-btn.sm .icon{width:15px;height:15px}.layout{display:grid;grid-template-columns:minmax(0,1fr) var(--composer);gap:24px;max-width:1600px;margin:0 auto;padding:0 24px 48px;align-items:start}.browser{min-width:0}.toolbar{position:sticky;top:var(--appbar);z-index:20;display:grid;gap:10px;padding:12px 0 14px;background:var(--bg)}.toolbar-row{display:flex;align-items:center;gap:10px;min-width:0}.scroll-x{overflow-x:auto;scrollbar-width:none;mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent);-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent);padding-right:32px}.scroll-x::-webkit-scrollbar{display:none}.search{flex:1 1 auto;display:flex;align-items:center;gap:8px;height:42px;min-width:0;padding:0 10px 0 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--muted);transition:border-color .15s,box-shadow .15s}.search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.search-input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ink)}.search-input::placeholder{color:var(--muted)}.search kbd{font-family:inherit;font-size:11px;padding:1px 6px;border:1px solid var(--line);border-radius:5px;color:var(--muted)}.search:focus-within kbd{display:none}.select{height:42px;padding:0 34px 0 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2376757c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;max-width:40%}.chips{display:flex;gap:6px;flex:none}.chip{height:32px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink-2);font-size:13px;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}.chip:hover{border-color:var(--line-strong);color:var(--ink)}.chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--surface)}.divider{flex:none;width:1px;height:20px;background:var(--line-strong)}.switch{display:inline-flex;align-items:center;gap:8px;flex:none;cursor:pointer;color:var(--ink-2);font-size:13px;white-space:nowrap}.switch input{position:absolute;opacity:0;width:1px;height:1px}.switch-track{position:relative;width:34px;height:20px;border-radius:999px;background:var(--line-strong);transition:background .2s}.switch-track:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003;transition:transform .2s var(--ease)}.switch input:checked+.switch-track{background:var(--accent)}.switch input:checked+.switch-track:after{transform:translate(14px)}.switch input:focus-visible+.switch-track{outline:2px solid var(--accent);outline-offset:2px}.result-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 14px;border-radius:10px;font-weight:550;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s,box-shadow .15s,transform .1s}.btn:active:not(:disabled){transform:scale(.98)}.btn-primary{background:var(--accent);color:var(--accent-ink)}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-primary:disabled{background:var(--sunken);color:var(--muted)}.btn-soft{background:var(--sunken);color:var(--ink)}.btn-soft:hover:not(:disabled){background:var(--line)}.btn-soft:disabled{opacity:.5}.btn-ghost{border:1px solid var(--line-strong);color:var(--ink)}.btn-ghost:hover{background:var(--sunken)}.btn-lg{height:48px;font-size:15px;border-radius:12px}.btn-block{width:100%}.toolbar .btn{height:42px;border-radius:12px;flex:none}.link-btn{color:var(--muted);font-size:12px;text-decoration:underline;text-underline-offset:2px}.link-btn:hover{color:var(--ink)}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:14px}.card{position:relative;min-width:0;border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm);transition:transform .2s var(--ease),box-shadow .2s var(--ease)}.card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.card-hit{display:block;width:100%;text-align:left;border-radius:inherit}.thumb{position:relative;display:block;aspect-ratio:3 / 4;overflow:hidden;border-radius:var(--radius) var(--radius) 0 0;background:var(--sunken)}.thumb img{width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .3s,transform .4s var(--ease)}.card.loaded .thumb img{opacity:1}.card:hover .thumb img{transform:scale(1.03)}.card.broken .thumb:after{content:"图片加载失败";position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:12px;color:var(--muted)}.card-cap{display:grid;gap:2px;padding:9px 11px 11px}.card-title{font-size:13px;font-weight:600;line-height:1.35;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-sub{font-size:12px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-hit[aria-pressed=true]{box-shadow:0 0 0 2px var(--accent),0 0 0 5px var(--accent-soft)}.card:has(.card-hit[aria-pressed=true]){transform:none}.card-check{position:absolute;top:8px;left:8px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--accent);color:var(--accent-ink);box-shadow:0 2px 6px #0003;opacity:0;transform:scale(.6);transition:opacity .15s,transform .2s var(--ease);pointer-events:none}.card-check .icon{width:15px;height:15px}.card-check svg{stroke-width:2.6}.card-hit[aria-pressed=true]~.card-check{opacity:1;transform:scale(1)}.card-zoom{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#1414168c;color:#fff;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .15s,background .15s}.card-zoom .icon{width:16px;height:16px}.card-zoom:hover{background:#141416cc}.card:hover .card-zoom,.card-zoom:focus-visible{opacity:1}@media(hover:none){.card-zoom{opacity:1;width:28px;height:28px}}.skeleton{box-shadow:none}.skeleton:hover{transform:none;box-shadow:none}.skeleton .thumb{border-radius:var(--radius);aspect-ratio:3 / 4.5;background:linear-gradient(100deg,var(--sunken) 30%,var(--surface-2) 50%,var(--sunken) 70%) 0 0 / 300% 100%;animation:shimmer 1.4s linear infinite}@keyframes shimmer{to{background-position:-150% 0}}.upload-tile{display:block;width:100%;text-align:center;background:transparent;box-shadow:none}.upload-tile .thumb{aspect-ratio:auto;height:100%;min-height:220px;border-radius:var(--radius);border:1.5px dashed var(--line-strong);background:var(--surface-2);transition:border-color .15s,background .15s}.upload-tile:hover .thumb,.upload-tile.drag-over .thumb{border-color:var(--accent);background:var(--accent-soft)}.upload-tile img{position:absolute;top:0;right:0;bottom:0;left:0;opacity:1}.upload-inner{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;justify-items:center;gap:6px;padding:12px;color:var(--ink-2);font-size:12px}.upload-inner strong{font-size:14px;color:var(--ink)}.upload-inner .icon{color:var(--accent)}.upload-tile.has-file .thumb{border-style:solid;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.upload-tile.has-file .upload-inner{inset:auto 0 0 0;padding:28px 10px 12px;color:#fff;background:linear-gradient(transparent,#000000b3)}.upload-tile.has-file .upload-inner strong{color:#fff}.upload-tile.has-file .upload-inner .icon,.upload-tile.has-file .upload-inner span:last-child{display:none}.empty{display:grid;justify-items:center;gap:8px;padding:72px 16px;text-align:center}.empty strong{font-size:15px}.empty .btn{margin-top:6px}.sentinel{height:1px}.composer{position:sticky;top:calc(var(--appbar) + 12px);max-height:calc(100vh - var(--appbar) - 24px);overflow-y:auto;overscroll-behavior:contain;margin-top:12px;border-radius:18px;background:var(--surface);box-shadow:var(--shadow);scrollbar-width:thin}.sheet-handle,.sheet-close{display:none}.composer-form{display:grid;gap:18px;padding:20px}.composer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.composer-head h2{font-size:18px;font-weight:650;letter-spacing:-.01em}.composer-head p{font-size:13px;margin-top:2px}.slots{display:grid;gap:8px}.slot{position:relative;display:flex;align-items:center;border-radius:12px;border:1px dashed var(--line-strong);background:var(--surface-2);transition:border-color .15s,background .15s}.slot:hover{border-color:var(--muted)}.slot.filled{border-style:solid;border-color:var(--line);background:var(--surface)}.slot.drag-over{border-color:var(--accent);background:var(--accent-soft)}.slot-main{flex:1;display:flex;align-items:center;gap:12px;min-width:0;padding:8px;text-align:left;border-radius:12px}.slot-thumb{display:grid;place-items:center;width:48px;height:64px;flex:none;overflow:hidden;border-radius:8px;background:var(--sunken);color:var(--muted)}.slot-thumb img{width:100%;height:100%;object-fit:cover}.slot-thumb .icon{width:22px;height:22px}.slot-text{display:grid;gap:3px;min-width:0}.slot-label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);font-weight:550}.slot-value{display:grid;min-width:0}.slot-title{font-size:13px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.slot.filled .slot-title{color:var(--ink);font-weight:600}.slot-sub{font-size:12px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tag{font-size:10px;font-weight:600;padding:0 6px;border-radius:999px;background:var(--sunken);color:var(--muted);line-height:17px}.tag-req{background:var(--accent-soft);color:var(--accent)}.slot.filled .tag{display:none}.slot-upload{display:inline-flex;align-items:center;gap:4px;height:30px;margin-right:8px;padding:0 10px;border-radius:8px;background:var(--surface);border:1px solid var(--line);font-size:12px;font-weight:550;flex:none}.slot-upload .icon{width:14px;height:14px}.slot-upload:hover{border-color:var(--accent);color:var(--accent)}.slot-clear{margin-right:8px;flex:none;color:var(--muted)}.field{display:grid;gap:8px;min-width:0}.field-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.field label,.field-label{font-size:12px;font-weight:600;color:var(--ink-2)}.field-note{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.field-grid{display:grid;gap:14px}textarea{width:100%;min-height:64px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);resize:vertical;line-height:1.5;transition:border-color .15s,box-shadow .15s,background .15s}textarea::placeholder{color:var(--muted)}textarea:focus{outline:0;border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px var(--accent-soft)}.segmented{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:2px;padding:3px;border-radius:10px;background:var(--sunken)}.segmented button{display:flex;align-items:baseline;justify-content:center;gap:5px;height:32px;align-items:center;border-radius:7px;font-size:13px;font-weight:550;color:var(--muted);transition:background .15s,color .15s}.segmented button:hover{color:var(--ink)}.segmented button[aria-checked=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}.segmented small{font-size:11px;font-weight:400;color:var(--muted)}.submit-area{position:sticky;bottom:0;z-index:2;display:grid;gap:10px;margin:0 -20px;padding:12px 20px 14px;background:linear-gradient(to bottom,transparent,var(--surface) 14px)}.missing{font-size:12px;color:var(--muted);text-align:center}.fine{font-size:11px;color:var(--muted);text-align:center;line-height:1.5}.spinner{width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.progress-box{display:grid;gap:6px}.progress{height:6px;border-radius:999px;background:var(--sunken);overflow:hidden}.progress-fill{display:block;height:100%;width:4%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),color-mix(in srgb,var(--accent) 60%,#ffb38f),var(--accent)) 0 0 / 200% 100%;animation:flow 1.6s linear infinite;transition:width .6s var(--ease)}@keyframes flow{to{background-position:-200% 0}}.progress-row{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:var(--ink-2)}.alert{padding:10px 12px;border-radius:10px;background:var(--danger-soft);color:var(--danger);font-size:13px;overflow-wrap:anywhere}.result{display:grid;gap:10px;padding-top:18px;border-top:1px solid var(--line);animation:rise .35s var(--ease)}@keyframes rise{0%{opacity:0;transform:translateY(8px)}}.result-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:13px}.result-head .muted{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.result-frame{position:relative;border-radius:12px;overflow:hidden;background:var(--sunken)}.result-frame img{width:100%;max-height:460px;object-fit:contain;cursor:zoom-in}.result-frame .card-zoom{opacity:1}.result-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.result-actions .btn{height:36px;padding:0 8px;font-size:13px}.result-actions .icon{width:16px;height:16px}.history{display:grid;gap:8px}.history-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:6px}.history-item{aspect-ratio:3 / 4;border-radius:8px;overflow:hidden;background:var(--sunken);opacity:.75;transition:opacity .15s,box-shadow .15s}.history-item:hover{opacity:1}.history-item[aria-pressed=true]{opacity:1;box-shadow:0 0 0 2px var(--accent)}.history-item img{width:100%;height:100%;object-fit:cover}.dock,.scrim{display:none}.to-top{position:fixed;right:calc(var(--composer) + 56px);bottom:24px;z-index:25;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.to-top:hover{background:var(--sunken)}.toasts{position:fixed;left:50%;bottom:24px;z-index:60;display:grid;gap:8px;justify-items:center;transform:translate(-50%);width:max-content;max-width:calc(100vw - 32px);pointer-events:none}.toast{display:flex;align-items:center;gap:14px;padding:10px 10px 10px 16px;border-radius:12px;background:var(--ink);color:var(--bg);box-shadow:var(--shadow-lg);font-size:13px;pointer-events:auto;animation:toast-in .25s var(--ease)}.toast:not(:has(.toast-action)){padding-right:16px}.toast.error{background:var(--danger);color:#fff}.toast.leaving{opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s}.toast-action{padding:5px 10px;border-radius:8px;background:color-mix(in srgb,var(--bg) 16%,transparent);color:inherit;font-weight:600;white-space:nowrap}.toast-action:hover{background:color-mix(in srgb,var(--bg) 26%,transparent)}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}}.drop-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:grid;place-items:center;padding:24px;background:color-mix(in srgb,var(--accent) 14%,var(--scrim));pointer-events:none;animation:fade .15s}.drop-card{display:grid;justify-items:center;gap:8px;padding:36px 48px;border-radius:20px;border:2px dashed var(--accent);background:var(--surface);box-shadow:var(--shadow-lg);text-align:center;font-size:13px;color:var(--muted)}.drop-card strong{font-size:16px;color:var(--ink)}.drop-card .icon{color:var(--accent)}@keyframes fade{0%{opacity:0}}dialog{padding:0;border:0;color:var(--ink);background:var(--surface);box-shadow:var(--shadow-lg)}dialog::backdrop{background:var(--scrim);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}dialog[open]{animation:pop .22s var(--ease)}@keyframes pop{0%{opacity:0;transform:translateY(8px) scale(.98)}}.lightbox{width:min(960px,calc(100vw - 32px));max-height:calc(100vh - 32px);border-radius:18px;overflow:hidden}.lightbox[open]{display:flex;flex-direction:column}.lb-stage{position:relative;display:flex;align-items:center;justify-content:center;flex:1 1 auto;min-height:0;height:min(74vh,880px);background:var(--sunken)}.lb-stage img{width:100%;height:100%;object-fit:contain}.lb-nav{position:absolute;top:50%;width:44px;height:44px;margin-top:-22px;border-radius:50%;background:var(--surface);box-shadow:var(--shadow)}.lb-nav:disabled{opacity:.35}.lb-nav:hover:not(:disabled){background:var(--surface);color:var(--accent)}.lb-prev{left:16px}.lb-next{right:16px}.lb-close{position:absolute;top:12px;right:12px;background:var(--surface);box-shadow:var(--shadow-sm)}.lb-bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px}.lb-info{min-width:0}.lb-info h3{font-size:15px;font-weight:650;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.lb-info p{font-size:12px;margin-top:2px}.lb-actions{display:flex;gap:8px;flex:none}.about{width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 32px);border-radius:18px}.about-body{display:grid;gap:12px;padding:22px}.about h3{margin-top:6px;font-size:13px;font-weight:650}.about p{font-size:13px;line-height:1.65}.steps{margin:0;padding-left:20px;display:grid;gap:8px;font-size:13px;line-height:1.6;color:var(--ink-2)}.steps strong{color:var(--ink)}@media(max-width:1180px){:root{--composer: 340px}.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}}@media(max-width:960px){:root{--appbar: 56px}.appbar{grid-template-columns:auto 1fr auto;padding:0 12px;gap:10px}.brand-name{display:none}.tabs{justify-self:center;width:100%;max-width:420px}.tab{flex:1;justify-content:center;padding:0 8px;gap:6px}.tab-count{display:none}.layout{display:block;padding:0 12px 104px}.toolbar{padding:10px 0 12px}.toolbar .btn{padding:0 12px}.grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.card-cap{padding:8px 9px 9px}.composer{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:50;margin:0;max-height:88vh;border-radius:20px 20px 0 0;box-shadow:var(--shadow-lg);transform:translateY(105%);visibility:hidden;transition:transform .32s var(--ease),visibility 0s linear .32s;padding-bottom:env(safe-area-inset-bottom)}.sheet-open .composer{transform:none;visibility:visible;transition:transform .32s var(--ease)}.sheet-handle{display:block;position:sticky;top:0;z-index:1;height:20px;background:var(--surface)}.sheet-handle:before{content:"";position:absolute;top:8px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:999px;background:var(--line-strong)}.sheet-close{display:inline-grid;margin:-6px -6px 0 0}.composer-form{padding:4px 16px 20px}.submit-area{margin:0 -16px;padding:12px 16px calc(14px + env(safe-area-inset-bottom))}.field-grid{grid-template-columns:1fr}.scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;background:var(--scrim);opacity:0;pointer-events:none;transition:opacity .25s}.sheet-open .scrim{opacity:1;pointer-events:auto}.sheet-open{overflow:hidden}.dock{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:40;display:flex;align-items:center;gap:8px;padding:8px;border-radius:16px;background:var(--surface);box-shadow:var(--shadow-lg);border:1px solid var(--line)}.dock-main{flex:1;display:flex;align-items:center;gap:10px;min-width:0;text-align:left}.dock-thumbs{display:flex;flex:none}.dock-thumb{display:grid;place-items:center;width:34px;height:44px;overflow:hidden;border-radius:7px;border:2px solid var(--surface);background:var(--sunken);color:var(--muted)}.dock-thumb+.dock-thumb{margin-left:-8px}.dock-thumb .icon{width:16px;height:16px}.dock-thumb img{width:100%;height:100%;object-fit:cover}.dock-text{font-size:13px;color:var(--ink-2);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dock .btn{height:44px;padding:0 16px;border-radius:12px;flex:none}.dock:not(.ready) .btn{background:var(--sunken);color:var(--ink)}.dock.busy .dock-text{color:var(--accent)}.to-top{right:16px;bottom:calc(84px + env(safe-area-inset-bottom))}.toasts{bottom:calc(84px + env(safe-area-inset-bottom))}.lightbox{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.lb-stage{height:auto}.lb-bar{flex:none}.lb-bar{flex-direction:column;align-items:stretch;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.lb-actions .btn{flex:1;height:44px}.lb-nav{width:38px;height:38px;margin-top:-19px}.lb-prev{left:8px}.lb-next{right:8px}}@media(max-width:520px){.select{max-width:34%}.toolbar .btn span.icon+*{display:inline}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tab-step{display:none}.tab.done .tab-label:after{content:" ✓";color:var(--accent)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
