:root{--bg:#f4f5f7;--surface:#fff;--surface-2:#f8f9fb;--border:#e3e6eb;--border-strong:#cfd4dc;--text:#141a26;--text-2:#4a5465;--muted:#6c7686;--accent:#4f46e5;--accent-hover:#4338ca;--accent-soft:#eef0ff;--accent-text:#fff;--logo-door:#1e1b4b;--focus:#4f46e559;--shadow:0 1px 2px #1018280d;--blue:#1d4ed8;--blue-bg:#e8f0ff;--violet:#6d28d9;--violet-bg:#f1ebff;--amber:#a15c07;--amber-bg:#fdf3dc;--green:#047857;--green-bg:#e3f6ee;--red:#b42318;--red-bg:#fdecea;--orange:#c2410c;--orange-bg:#fdeee4;--gray:#4a5465;--gray-bg:#eef0f3;--radius:10px;--radius-sm:7px;--sidebar:224px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#0c1018;--surface:#131926;--surface-2:#101521;--border:#232b3b;--border-strong:#303a4d;--text:#e6e9ef;--text-2:#aab2c0;--muted:#8a93a3;--accent:#8b85ff;--accent-hover:#a29dff;--accent-soft:#8b85ff24;--accent-text:#0c1018;--logo-door:#e6e9ef;--focus:#8b85ff73;--shadow:none;--blue:#8db4ff;--blue-bg:#4d84ff29;--violet:#c4a8ff;--violet-bg:#966eff2b;--amber:#f2c466;--amber-bg:#f2b13426;--green:#6fd8a8;--green-bg:#34c78526;--red:#ff9a90;--red-bg:#ff635526;--orange:#ffb27a;--orange-bg:#ff8c4226;--gray:#aab2c0;--gray-bg:#aab2c01f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font:14px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{margin:0;font-weight:600;line-height:1.25}h1{letter-spacing:-.01em;font-size:22px}h2{font-size:15px}h3{font-size:14px}code,.mono{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12.5px}.layout{grid-template-columns:var(--sidebar) minmax(0, 1fr);min-height:100vh;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--border)}.sidebar-inner{flex-direction:column;gap:18px;height:100vh;padding:18px 12px;display:flex;position:sticky;top:0}.brand{color:var(--text);align-items:center;gap:10px;padding:0 8px;font-size:16px;font-weight:700;display:flex}.brand:hover{text-decoration:none}.brand-mark{background:var(--accent);width:30px;height:30px;color:var(--accent-text);border-radius:8px;place-items:center;font-size:15px;font-weight:800;display:grid}.brand-mark svg{width:66%;height:66%;display:block}.brand-lockup-svg{width:auto;max-width:100%;height:44px;display:block}.nav{flex-direction:column;gap:2px;display:flex}.nav a{border-radius:var(--radius-sm);color:var(--text-2);align-items:center;gap:10px;padding:8px 10px;font-weight:500;display:flex}.nav a:hover{background:var(--surface-2);color:var(--text);text-decoration:none}.nav a.active{background:var(--accent-soft);color:var(--accent)}.nav svg{flex:none;width:18px;height:18px}.sidebar-foot{border-top:1px solid var(--border);color:var(--muted);gap:6px;margin-top:auto;padding:10px;font-size:12.5px;display:grid}.main{width:100%;min-width:0;max-width:1280px;padding:26px 32px 48px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.page-head p{color:var(--muted);margin:4px 0 0}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.stack{gap:18px;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.grid-main{grid-template-columns:minmax(0,2fr) minmax(280px,1fr);align-items:start;gap:18px;display:grid}.stack>*,.grid-2>*,.grid-main>*{min-width:0}@media (width<=1000px){.grid-2,.grid-main{grid-template-columns:minmax(0,1fr)}}@media (width<=820px){.layout{grid-template-columns:minmax(0,1fr)}.sidebar{border-right:0;border-bottom:1px solid var(--border)}.sidebar-inner{flex-flow:wrap;align-items:center;gap:10px;height:auto;padding:10px 16px;position:static}.nav{flex-flow:wrap}.nav a span,.sidebar-foot{display:none}.main{padding:18px 16px 40px}}@media (width<=640px){.hide-sm{display:none}.truncate{max-width:200px}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.card-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.card-head .muted{font-weight:400}.card-body{padding:16px 18px}.card-body.flush{padding:0}.stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);color:inherit;padding:14px 16px}a.stat:hover{border-color:var(--border-strong);text-decoration:none}.stat-label{color:var(--muted);font-size:12.5px;font-weight:500}.stat-value{letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin-top:2px;font-size:26px;font-weight:650}.stat-value.warn{color:var(--orange)}.stat-value.bad{color:var(--red)}.status-strip{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0;display:grid}.status-item{border-right:1px solid var(--border);min-width:0;padding:14px 18px}.status-item:last-child{border-right:0}.status-item .label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:500}.status-item .value{align-items:center;gap:8px;margin-top:4px;font-weight:600;display:flex}.status-item .sub{color:var(--muted);text-overflow:ellipsis;margin-top:2px;font-size:12.5px;overflow:hidden}.status-alert{border-top:1px solid var(--border);background:var(--red-bg);color:var(--red);border-radius:0 0 var(--radius) var(--radius);padding:10px 18px;font-weight:500}.dot{background:var(--gray);border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.dot.ok{background:var(--green)}.dot.busy{background:var(--amber);animation:1.2s ease-in-out infinite pulse}.dot.off{background:var(--red)}@keyframes pulse{50%{opacity:.35}}.table-wrap{overflow-x:auto}table.data{border-collapse:collapse;width:100%}table.data th{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;background:var(--surface-2);border-bottom:1px solid var(--border);white-space:nowrap;padding:10px 14px;font-size:12px;font-weight:600}table.data td{border-bottom:1px solid var(--border);vertical-align:top;padding:11px 14px}table.data tr:last-child td{border-bottom:0}table.data tbody tr:hover{background:var(--surface-2)}table.data .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}table.data .nowrap{white-space:nowrap}[hidden]{display:none!important}.cell-title{color:var(--text);font-weight:550}.cell-sub{color:var(--muted);margin-top:2px;font-size:12.5px}.row-actions{flex-wrap:nowrap;justify-content:flex-end;gap:6px;display:flex}.badge{white-space:nowrap;background:var(--gray-bg);color:var(--gray);border-radius:999px;align-items:center;gap:5px;padding:2px 9px;font-size:12px;font-weight:600;display:inline-flex}.badge.matched,.badge.manual,.badge.blue{background:var(--blue-bg);color:var(--blue)}.badge.queued,.badge.violet{background:var(--violet-bg);color:var(--violet)}.badge.applying,.badge.dry_run,.badge.amber{background:var(--amber-bg);color:var(--amber)}.badge.applied,.badge.green{background:var(--green-bg);color:var(--green)}.badge.failed,.badge.red{background:var(--red-bg);color:var(--red)}.badge.needs_attention,.badge.orange{background:var(--orange-bg);color:var(--orange)}.badge.skipped{background:var(--gray-bg);color:var(--gray)}.badge.outline{border:1px solid var(--border-strong);color:var(--text-2);background:0 0;font-weight:500}.tag{background:var(--surface-2);border:1px solid var(--border);color:var(--text-2);border-radius:5px;margin:0 4px 4px 0;padding:1px 7px;font-size:12px;display:inline-block}.btn{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);height:34px;color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:6px;padding:0 13px;font-weight:550;display:inline-flex}.btn:hover{background:var(--surface-2);text-decoration:none}.btn:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:1px}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.btn.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.btn.danger{color:var(--red)}.btn.danger:hover{background:var(--red-bg);border-color:var(--red)}.btn.sm{height:28px;padding:0 9px;font-size:12.5px}.btn.ghost{color:var(--text-2);background:0 0;border-color:#0000}.btn.ghost:hover{background:var(--surface-2);color:var(--text)}.btn svg{width:15px;height:15px}form.inline{margin:0;display:inline}label{color:var(--text);font-size:13px;font-weight:550}input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],input[type=search],select,textarea{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;height:36px;color:var(--text);font:inherit;padding:0 10px}textarea{resize:vertical;height:auto;min-height:84px;padding:8px 10px;line-height:1.45}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent);margin:0}input[type=file]{font:inherit;color:var(--text-2);max-width:100%}input[type=file]::file-selector-button{font:inherit;color:var(--text);cursor:pointer;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);height:34px;margin-right:10px;padding:0 13px;font-weight:550}.field{align-content:start;gap:5px;display:grid}.field .hint{color:var(--muted);font-size:12.5px;font-weight:400}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;display:grid}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid .wide{grid-column:1/-1}@media (width<=720px){.form-grid,.form-grid.three{grid-template-columns:1fr}}.check{align-items:flex-start;gap:10px;font-weight:400;display:flex}.check input{margin-top:2px}.check strong{font-weight:600;display:block}.check .hint{color:var(--muted);font-size:12.5px}.form-actions{border-top:1px solid var(--border);background:var(--surface-2);border-radius:0 0 var(--radius) var(--radius);flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:14px 18px;display:flex}.toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding:12px 14px;display:flex}.toolbar input[type=search]{max-width:280px}.toolbar select{width:auto;min-width:140px}.answers-table{gap:8px;display:grid}.answers-row{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px;display:grid}.tabs{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:2px;padding:0 10px;display:flex}.tabs a{color:var(--text-2);border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-1px;padding:11px 10px;font-weight:550;display:inline-flex}.tabs a:hover{color:var(--text);text-decoration:none}.tabs a.active{color:var(--accent);border-bottom-color:var(--accent)}.tabs .count{color:var(--muted);background:var(--surface-2);border:1px solid var(--border);border-radius:999px;padding:0 6px;font-size:11.5px;font-weight:600}.pagination{border-top:1px solid var(--border);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:10px 14px;font-size:13px;display:flex}.pagination .range{white-space:nowrap}.pagination .pages{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.pagination .pages button,.pagination .pages a,.pagination .pages .current,.pagination .pages .disabled{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-width:32px;height:30px;color:var(--text-2);font:inherit;cursor:pointer;justify-content:center;align-items:center;padding:0 9px;font-size:13px;text-decoration:none;display:inline-flex}.pagination .pages button:hover:not(:disabled),.pagination .pages a:hover{border-color:var(--border-strong);color:var(--text)}.pagination .pages button:disabled,.pagination .pages .disabled{opacity:.45;cursor:default}.pagination .pages button.current,.pagination .pages .current{background:var(--accent);border-color:var(--accent);color:var(--accent-text);cursor:default;font-weight:600}.pagination .gap{padding:0 3px}.pagination .rows{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.pagination .rows select{width:auto;min-width:0;padding:4px 26px 4px 8px;font-size:13px}@media (width<=640px){.pagination .pages button.number:not(.current),.pagination .gap{display:none}.pagination .range{width:100%}}.typeahead{position:relative}.typeahead input[type=search]{width:240px}.typeahead .menu{z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);min-width:100%;max-width:380px;padding:4px;display:grid;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 8px 24px #10182824}.typeahead .menu button{text-align:left;cursor:pointer;font:inherit;color:var(--text);text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:4px;padding:7px 10px;overflow:hidden}.typeahead .menu button:hover{background:var(--surface-2)}.typeahead .menu .hint{padding:7px 10px}.toolbar .chip{font-size:13px}.stat-sub{color:var(--muted);margin-top:2px;font-size:12.5px}.notice{border-radius:var(--radius-sm);border:1px solid;margin-bottom:16px;padding:11px 14px;font-weight:500}.notice.success{background:var(--green-bg);color:var(--green);border-color:#0000}.notice.error{background:var(--red-bg);color:var(--red);border-color:#0000}.notice.info{background:var(--blue-bg);color:var(--blue);border-color:#0000}.notice ul{margin:6px 0 0;padding-left:18px;font-weight:400}.empty{text-align:center;color:var(--muted);padding:36px 20px}.empty h3{color:var(--text);margin-bottom:6px}.empty .actions{justify-content:center;margin-top:14px}.muted{color:var(--muted)}.small{font-size:12.5px}.err-text{color:var(--red)}.truncate{text-overflow:ellipsis;white-space:nowrap;max-width:360px;overflow:hidden}.checklist{gap:2px;margin:0;padding:0;list-style:none;display:grid}.checklist li a{border-radius:var(--radius-sm);color:var(--text);align-items:center;gap:10px;padding:8px 10px;display:flex}.checklist li a:hover{background:var(--surface-2);text-decoration:none}.checklist .tick{border:2px solid var(--border-strong);border-radius:50%;flex:none;place-items:center;width:20px;height:20px;display:grid}.checklist .done .tick{background:var(--green);border-color:var(--green);color:var(--surface)}.checklist .done .text{color:var(--muted);text-decoration:line-through}.checklist .tick svg{width:12px;height:12px}.feed{margin:0;padding:0;list-style:none}.feed li{border-bottom:1px solid var(--border);grid-template-columns:10px minmax(0,1fr);gap:10px;padding:10px 18px;display:grid}.feed li:last-child{border-bottom:0}.feed .dot{margin-top:6px}.feed .dot.warning{background:var(--amber)}.feed .dot.error{background:var(--red)}.feed .dot.info{background:var(--blue)}.feed .msg{word-wrap:break-word}.feed .meta{color:var(--muted);font-size:12px}.kv{grid-template-columns:140px minmax(0,1fr);gap:8px 14px;margin:0;display:grid}.kv dt{color:var(--muted)}.kv dd{word-wrap:break-word;margin:0}.prose{color:var(--text);overflow-wrap:anywhere;line-height:1.6}.prose h1,.prose h2,.prose h3,.prose h4{margin:18px 0 6px;font-size:15px}.prose p{margin:0 0 10px}.prose ul,.prose ol{margin:0 0 12px;padding-left:22px}.prose li{margin-bottom:3px}.pre-text{white-space:pre-wrap;font:inherit;margin:0;line-height:1.55}.pre-line{white-space:pre-line}.screenshot{border:1px solid var(--border);border-radius:var(--radius-sm);max-width:100%}.error-page{text-align:center;padding:80px 20px}.error-page .code{color:var(--accent);letter-spacing:-.03em;font-size:54px;font-weight:750}.badge.draft,.badge.assigned{background:var(--gray-bg);color:var(--gray)}.badge.pending,.badge.generating,.badge.bidding{background:var(--amber-bg);color:var(--amber)}.badge.approved,.badge.submitted{background:var(--green-bg);color:var(--green)}.badge.rejected,.badge.suspended{background:var(--red-bg);color:var(--red)}.badge.generated{background:var(--violet-bg);color:var(--violet)}.dot.idle{background:var(--blue)}.dot.busy-static{background:var(--amber)}.warn-text{color:var(--orange)}.loading{color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:40px 0;display:flex}.spinner{opacity:.8;border:2px solid;border-right-color:#0000;border-radius:50%;flex:none;width:14px;height:14px;animation:.8s linear infinite spin;display:inline-block}.spinner.big{width:28px;height:28px;color:var(--accent);border-width:3px}@keyframes spin{to{transform:rotate(360deg)}}.toasts{z-index:50;gap:8px;max-width:min(420px,100vw - 36px);display:grid;position:fixed;bottom:18px;right:18px}.toast{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:10px;padding:11px 12px 11px 14px;font-weight:500;display:flex;box-shadow:0 6px 24px #1018282e}.toast.success{border-left:4px solid var(--green)}.toast.error{border-left:4px solid var(--red)}.toast.info{border-left:4px solid var(--blue)}.toast button{color:var(--muted);cursor:pointer;background:0 0;border:0;width:18px;height:18px;padding:0}.toast button svg{width:16px;height:16px}.notice.warning{background:var(--amber-bg);color:var(--amber);border-color:#0000}.auth-page{place-items:center;min-height:100vh;padding:24px 16px;display:grid}.auth-card{width:100%;max-width:400px;padding:28px}.auth-card h1{margin:18px 0 16px}.auth-brand{align-items:center;gap:10px;font-size:16px;font-weight:700;display:flex}.center{text-align:center}input[type=password],input[type=date]{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;height:36px;color:var(--text);font:inherit;padding:0 10px}.nav-group{gap:2px;margin-top:10px;display:grid}.nav-heading{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);padding:4px 10px;font-size:11.5px;font-weight:600}.nav a.nav-profile{padding:6px 10px;font-weight:450}.nav a.nav-profile .truncate{max-width:160px}.sidebar-foot .who{color:var(--text);display:grid}.sidebar-foot .who span{color:var(--muted)}.foot-links{gap:4px;display:grid}.foot-links a,.link-button{color:var(--text-2);font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:0;font-size:12.5px;display:inline-flex}.foot-links svg{width:15px;height:15px}.link-button.inline{color:var(--accent);font-size:inherit;display:inline}.link-button:hover{color:var(--text);text-decoration:underline}.narrow{max-width:720px}.title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.tabs-card{margin-bottom:18px}.tabs-card .tabs{border-bottom:0}.switcher{width:auto;min-width:200px}.border-top{border-top:1px solid var(--border)}.plain-list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.missing-list{gap:2px;margin:6px 0 0;padding-left:20px;display:grid}.status-line{align-items:center;gap:8px;display:flex}.danger-card .card-head h2{color:var(--red)}.feed.compact li{padding:6px 0}.kv-row{display:contents}.profile-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;display:grid}.profile-card{color:inherit;display:grid}.profile-card:hover{border-color:var(--border-strong);text-decoration:none}.profile-card-head{justify-content:space-between;align-items:flex-start;gap:10px;padding:16px 18px 0;display:flex}.profile-card-head h2{font-size:16px}.profile-card-body{padding:4px 18px 16px}.profile-card-body p{margin:10px 0 0}.mini-stats{color:var(--text-2);flex-wrap:wrap;gap:6px 16px;margin-top:10px;display:flex}.dropzone{text-align:center;cursor:pointer;border:2px dashed var(--border-strong);border-radius:var(--radius);background:var(--surface-2);color:var(--text-2);place-items:center;gap:6px;padding:28px 16px;display:grid}.dropzone svg{width:28px;height:28px;color:var(--accent)}.dropzone.over,.dropzone:hover{border-color:var(--accent);background:var(--accent-soft)}.mapping-progress{align-items:center;gap:18px;padding:28px 22px;display:flex}.mapping-progress p{margin:4px 0 0}.subhead{color:var(--text-2);margin:4px 0 -4px;font-size:13px}.field>span:first-child{font-weight:550}.req{color:var(--red)}.field-error{color:var(--red);font-size:12.5px;font-weight:500}.field.invalid input,.field.invalid select,.field.invalid textarea{border-color:var(--red)}.field.missing input,.field.missing select,.check.missing input{outline:2px solid var(--amber);outline-offset:1px}.list-field.missing{outline:2px dashed var(--amber);outline-offset:6px;border-radius:var(--radius-sm)}.field-pair{grid-template-columns:110px minmax(0,1fr);gap:8px;display:grid}.input-with-suffix{align-items:center;gap:8px;display:flex}.input-with-suffix .suffix{color:var(--muted);white-space:nowrap}.check.inline{align-items:center;gap:6px;margin-right:14px;font-weight:450;display:inline-flex}.check-row{flex-wrap:wrap;align-items:center;min-height:36px;display:flex}.chips{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.chip{background:var(--accent-soft);color:var(--accent);border-radius:999px;align-items:center;gap:4px;padding:3px 4px 3px 10px;font-weight:550;display:inline-flex}.chip button{color:inherit;cursor:pointer;background:0 0;border:0;width:18px;height:18px;padding:0}.chip button svg{width:14px;height:14px}.chips select{width:auto;min-width:170px}.category-groups{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;display:grid}.category-group{border:1px solid var(--border);border-radius:var(--radius-sm);align-content:start;gap:6px;min-width:0;margin:0;padding:10px 12px 8px;display:grid}.category-group legend{align-items:center;gap:10px;padding:0 6px;font-size:13px;font-weight:600;display:flex}.category-group .check.inline{align-items:flex-start;margin-right:0}.category-group .check.inline input{margin-top:3px}.badge-row{flex-wrap:wrap;gap:4px;display:inline-flex}.inline-field{color:var(--text-2);white-space:nowrap;align-items:center;gap:6px;font-weight:450;display:inline-flex}.inline-field input{width:auto}code.folder{background:var(--surface-2);border:1px solid var(--border);white-space:nowrap;border-radius:4px;padding:1px 5px;font-size:12px}.form-tabs{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-wrap:nowrap;gap:4px;padding:4px;display:flex;overflow-x:auto}.form-tabs a{border-radius:var(--radius-sm);color:var(--text-2);white-space:nowrap;flex:none;padding:8px 12px;font-weight:550;text-decoration:none}.form-tabs a:hover{background:var(--surface-2);color:var(--text)}.form-tabs a.active{background:var(--accent-soft);color:var(--accent)}.form-tabs .count{background:var(--amber-bg);min-width:18px;color:var(--amber);text-align:center;border-radius:999px;margin-left:6px;padding:0 5px;font-size:11.5px;display:inline-block}.form-tabs .count.err{background:var(--red-bg);color:var(--red)}.tab-next{justify-content:flex-end;display:flex}.dirty-dot{background:var(--amber);vertical-align:middle;border-radius:50%;width:7px;height:7px;margin-left:6px;display:inline-block}dialog.confirm{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:calc(100% - 32px);max-width:440px;color:var(--text);padding:0;box-shadow:0 20px 50px #10182840}dialog.confirm::backdrop{background:#10182873}dialog.confirm .dialog-body{padding:20px 22px 8px}dialog.confirm h2{margin:0 0 8px;font-size:17px}dialog.confirm .dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:14px 22px 18px;display:flex}.preview-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.preview-list li{gap:2px;display:grid}.versions{gap:12px;display:grid}.version-changes{color:var(--text-2);margin:6px 0 0;padding-left:18px}.version-changes li{margin:2px 0}.list-field{justify-items:start;gap:12px;display:grid}.list-item{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);width:100%;padding:12px 14px}.list-item-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.save-bar{z-index:5;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);justify-content:flex-end;align-items:center;gap:14px;margin-top:4px;padding:12px 16px;display:flex;position:sticky;bottom:0;box-shadow:0 -4px 16px #1018280f}@media (width<=720px){.field-pair{grid-template-columns:90px minmax(0,1fr)}}@media (width<=820px){.layout{grid-template-rows:auto 1fr}.nav-group{display:none}.sidebar-foot{border:0;margin:0 0 0 auto;padding:0;display:flex}.sidebar-foot .who,.sidebar-foot>.muted{display:none}.foot-links{gap:14px;display:flex}}.card-fields{border:0;min-width:0;margin:0;padding:0}.card.editing{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.card-foot{border-top:1px solid var(--border);justify-content:center;padding:10px 18px;display:flex}.word-list{white-space:pre-wrap;word-wrap:break-word;max-height:260px;font:inherit;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);margin:0;padding:8px 10px;font-size:13px;line-height:1.55;overflow:auto}.word-list.short{max-height:160px}.change-list{gap:6px;margin:0;padding-left:18px;display:grid}.version-list{margin:0;padding:0;list-style:none}.version-list li{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:9px 18px;display:flex}.version-list li:last-child{border-bottom:0}.auth-card.wide{max-width:880px}.auth-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.start-steps{color:var(--muted);flex-wrap:wrap;gap:4px;margin:16px 0 0;padding:0;font-size:13px;list-style:none;display:flex}.start-steps li{align-items:center;gap:4px;display:inline-flex}.start-steps li+li:before{content:"›";color:var(--muted);margin:0 6px}.start-steps li.current{color:var(--accent);font-weight:600}.start-steps li.done{color:var(--text-2)}.category-summary{flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.category-area summary{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:10px 14px}.category-area[open] summary{margin-bottom:12px}
