.appshell{--bg:#0b0e14;--panel:#131823;--panel-2:#0f141d;--border:#263041;--text:#e6eaf0;--muted:#8b97a8;--accent:#4f8cff;--accent-soft:#4f8cff1f;--green:#3ecf8e;--amber:#f0a93b;--red:#ff6b6b;--font-ui:var(--font-urbanist), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-mono:var(--font-plex-mono), ui-monospace, SFMono-Regular, Menlo, monospace;background:var(--bg);min-height:100vh;color:var(--text);font-family:var(--font-ui);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;display:flex}.appshell .sidebar{border-right:1px solid var(--border);background:var(--panel-2);flex-direction:column;flex:none;align-self:flex-start;width:224px;height:100vh;padding:18px 14px;display:flex;position:sticky;top:0}.appshell .sidebar-brand{font-family:var(--font-mono);letter-spacing:.2em;text-transform:uppercase;color:var(--text);align-items:center;padding:4px 10px 20px;font-size:14px;font-weight:600;text-decoration:none;display:flex}.appshell .sidebar-brand:before{content:"✦";color:var(--accent);letter-spacing:0;margin-right:9px;font-size:13px}.appshell .sidebar-nav{flex-direction:column;gap:2px;display:flex}.appshell .sidebar-link{color:var(--muted);border-radius:8px;padding:9px 12px;font-size:13.5px;text-decoration:none;transition:color .12s,background .12s}.appshell .sidebar-link:hover{color:var(--text);background:var(--panel)}.appshell .sidebar-link.active{color:var(--text);background:var(--accent-soft);font-weight:500}.appshell .sidebar-foot{border-top:1px solid var(--border);flex-direction:column;gap:10px;margin-top:auto;padding-top:16px;display:flex}.appshell .sidebar-user-name{color:var(--text);font-size:13px}.appshell .sidebar-user-title{color:var(--muted);font-size:11px}.appshell .appmain{flex:1;min-width:0}@media (max-width:760px){.appshell{flex-direction:column}.appshell .sidebar{border-right:none;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;gap:8px;width:auto;height:auto;padding:10px 12px;position:static;overflow-x:auto}.appshell .sidebar-brand{padding:0 8px 0 4px}.appshell .sidebar-nav{flex-direction:row}.appshell .sidebar-foot{border-top:none;flex-direction:row;align-items:center;gap:12px;margin-top:0;margin-left:auto;padding-top:0}}.appshell *,.appshell :before,.appshell :after{box-sizing:border-box}.appshell .appbar{z-index:50;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(10px);background:#0f141dd9;align-items:center;gap:14px;min-height:56px;padding:0 22px;display:flex;position:sticky;top:0}.appshell .appbar-brand{font-family:var(--font-mono);letter-spacing:.22em;text-transform:uppercase;color:var(--text);align-items:center;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.appshell .appbar-brand:before{content:"✦";color:var(--accent);letter-spacing:0;margin-right:9px;font-size:12px}.appshell .appbar-nav{gap:2px;margin-left:16px;display:flex}.appshell .appbar-link{color:var(--muted);border-radius:7px;padding:6px 11px;font-size:13px;text-decoration:none;transition:color .12s,background .12s}.appshell .appbar-link:hover{color:var(--text);background:var(--panel)}.appshell .appbar-link.active{color:var(--text);background:var(--accent-soft)}.appshell .appbar-spacer{flex:1}.appshell .appbar-user{color:var(--text);font-size:13px}.appshell .appbar-title{color:var(--muted)}.appshell .dash-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.appshell .dash-grid{grid-template-columns:repeat(3,1fr);gap:14px;margin:8px 0;display:grid}@media (max-width:680px){.appshell .dash-grid{grid-template-columns:1fr}}.appshell .stat-card{border:1px solid var(--border);background:var(--panel);border-radius:12px;padding:18px 18px 18px 22px;position:relative;overflow:hidden}.appshell .stat-card:before{content:"";background:var(--stat,var(--accent));border-radius:0 3px 3px 0;width:3px;position:absolute;top:16px;bottom:16px;left:0}.appshell .dash-grid .stat-card:first-child{--stat:var(--amber)}.appshell .dash-grid .stat-card:nth-child(2){--stat:var(--accent)}.appshell .dash-grid .stat-card:nth-child(3){--stat:var(--green)}.appshell .stat-num{font-family:var(--font-mono);letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:34px;font-weight:500;line-height:1}.appshell .stat-label{margin-top:10px;font-size:13.5px;font-weight:500}.appshell .stat-hint{color:var(--muted);margin-top:3px;font-size:12px}.appshell .dash-table{margin-top:4px}.appshell .empty-state{border:1px dashed var(--border);background:var(--panel);text-align:center;border-radius:12px;padding:36px 24px}.appshell .empty-title{font-size:15px;font-weight:600}.appshell .empty-sub{color:var(--muted);max-width:440px;margin:6px auto 0;font-size:13px}.appshell a.btn{text-decoration:none;display:inline-block}.appshell .wrap.wide{max-width:1180px}.appshell .register-scroll{border-radius:10px;overflow-x:auto}.appshell .register{border-collapse:collapse;background:var(--panel-2);width:100%;font-size:12px}.appshell .register th,.appshell .register td{border:1px solid var(--border);text-align:left;vertical-align:top;padding:7px 9px}.appshell .register th{background:var(--panel);color:var(--text);white-space:nowrap;font-size:11px;font-weight:600}.appshell .register td{color:var(--text)}.appshell .register-empty td{height:30px}.appshell .audit-table td{font-size:11.5px}.appshell .audit-table .audit-changes{color:var(--text);white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.appshell .audit-table code{color:var(--muted);font-size:11px}.appshell .register-footer{color:var(--muted);margin-top:10px;font-size:11px;font-weight:600}.appshell .wrap{max-width:920px;margin:0 auto;padding:40px 24px 80px}.appshell .title{letter-spacing:-.02em;margin:0 0 5px;font-size:25px;font-weight:600}.appshell .subtitle{color:var(--muted);margin:0 0 28px;font-size:14px}.appshell .dropzone{border:2px dashed var(--border);background:var(--panel);text-align:center;cursor:pointer;border-radius:14px;padding:48px 24px;transition:border-color .15s,background .15s}.appshell .dropzone:hover{border-color:var(--accent)}.appshell .dropzone.drag{border-color:var(--accent);background:var(--accent-soft)}.appshell .dropzone .big{font-size:16px;font-weight:600}.appshell .dropzone .small{color:var(--muted);margin-top:8px;font-size:13px}.appshell .row{flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;display:flex}.appshell .btn{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:600}.appshell .btn:disabled{opacity:.5;cursor:not-allowed}.appshell .btn.secondary{border:1px solid var(--border);color:var(--text);background:0 0}.appshell .filechip{color:var(--muted);font-size:13px}.appshell .banner{border:1px solid var(--border);border-radius:10px;margin:20px 0;padding:12px 14px;font-size:13px}.appshell .banner.err{color:#ffb3b3;background:#ff6b6b14;border-color:#ff6b6b66}.appshell .banner.info{background:var(--accent-soft);color:#bcd2ff;border-color:#4f8cff66}.appshell .section-label{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:28px 0 10px;font-size:11px;font-weight:500}.appshell .fields{border-collapse:collapse;width:100%;font-size:13.5px}.appshell .fields th,.appshell .fields td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:9px 12px}.appshell .fields th{color:var(--muted);font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.08em;font-size:10.5px;font-weight:500}.appshell .fields td.label{color:var(--muted);white-space:nowrap;width:1%}.appshell .fields td.value{color:var(--text)}.appshell .fields td.value.empty{color:var(--red);font-style:italic}.appshell .pill{border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.appshell .pill.ok{color:var(--green);background:#3ecf8e1f}.appshell .pill.low{color:var(--amber);background:#f0a93b1f}.appshell .pill.none{color:var(--red);background:#ff6b6b1f}.appshell .status-pill{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.06em;border-radius:6px;padding:3px 9px;font-size:10.5px;font-weight:500}.appshell .status-pill.ok{color:var(--green);background:#3ecf8e1f}.appshell .status-pill.partial{color:var(--amber);background:#f0a93b1f}.appshell .status-pill.failed{color:var(--red);background:#ff6b6b1f}.appshell pre.json{background:var(--panel-2);border:1px solid var(--border);color:#cdd6e4;border-radius:10px;max-height:520px;padding:16px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;line-height:1.5;overflow:auto}.appshell .spinner{vertical-align:-2px;border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:14px;height:14px;margin-right:8px;animation:.7s linear infinite appshell-spin;display:inline-block}@keyframes appshell-spin{to{transform:rotate(360deg)}}.appshell .review-grid{grid-template-columns:minmax(280px,.9fr) 1.1fr;align-items:start;gap:24px;margin-top:8px;display:grid}@media (max-width:760px){.appshell .review-grid{grid-template-columns:1fr}}.appshell .source-pane{position:sticky;top:16px}.appshell .source-frame{border:1px solid var(--border);background:#fff;border-radius:10px;width:100%;height:560px}.appshell .source-img{border:1px solid var(--border);background:#fff;border-radius:10px;width:100%;display:block}.appshell .field{margin-bottom:14px}.appshell .field-label{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-bottom:5px;font-size:12.5px;display:flex}.appshell .field-tags{align-items:center;gap:6px;display:inline-flex}.appshell .req{color:var(--red);margin-left:3px}.appshell .edited{color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:2px 7px;font-size:11px;font-weight:600}.appshell .field input,.appshell .field textarea,.appshell .field select{background:var(--panel-2);border:1px solid var(--border);width:100%;color:var(--text);font:inherit;resize:vertical;border-radius:8px;outline:none;padding:9px 11px;font-size:14px}.appshell .field input:focus,.appshell .field textarea:focus,.appshell .field select:focus{border-color:var(--accent)}.appshell .field input[readonly]{color:var(--muted)}.appshell .sig-panel{border:1px solid var(--border);background:var(--panel);border-radius:12px;max-width:640px;padding:18px}.appshell .sig-panel.tampered{border-color:#ff6b6b80}.appshell .sig-row{border-bottom:1px solid var(--border);justify-content:space-between;gap:16px;padding:6px 0;font-size:13px;display:flex}.appshell .sig-row:last-child{border-bottom:none}.appshell .sig-row>span{color:var(--muted);white-space:nowrap}.appshell .sig-row .hash{color:var(--muted);word-break:break-all;text-align:right;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.appshell .coa-preview-frame{border:1px solid var(--border);background:#fff;border-radius:10px;width:100%;height:960px;box-shadow:0 8px 30px #00000040}.appshell .struck{color:var(--amber);text-decoration:line-through;text-decoration-thickness:1.5px}.appshell .corrected-arrow{color:var(--muted)}.appshell .corrected-new{color:var(--text);font-weight:600}.appshell .correction-note{color:var(--muted);margin-top:3px;font-size:11px;font-style:italic}.appshell .register tbody tr.linkrow:hover,.appshell .dash-table tbody tr.linkrow:hover{background:var(--panel);cursor:pointer}.appshell .rowlink{color:var(--accent);text-decoration:none}.appshell .rowlink:hover{text-decoration:underline}.appshell .field.invalid input,.appshell .field.invalid textarea{background:#ff6b6b0d;border-color:#ff6b6b8c}.appshell .field-hint{color:var(--muted);margin-top:4px;font-size:11.5px}.appshell .field-hint s{color:var(--amber)}.appshell .audit-controls{flex-wrap:wrap;align-items:center;gap:8px 14px;margin:6px 0 20px;display:flex}.appshell .audit-search{background:var(--panel-2);border:1px solid var(--border);color:var(--text);border-radius:8px;min-width:240px;padding:7px 11px;font-size:13px}.appshell .audit-search::placeholder{color:var(--muted)}.appshell .chip-group{align-items:center;gap:6px;display:flex}.appshell .chip-label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-right:2px;font-size:11px}.appshell .chip{font:inherit;cursor:pointer;color:var(--muted);border:1px solid var(--border);background:0 0;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600;line-height:1.4}.appshell .chip:hover{color:var(--text);border-color:var(--muted)}.appshell .chip.active{color:var(--text);background:var(--accent-soft);border-color:#0000}.appshell .chip.active.ins{color:var(--green);background:#3ecf8e2e}.appshell .chip.active.upd{color:var(--amber);background:#f0a93b2e}.appshell .chip.active.del{color:var(--red);background:#ff6b6b2e}.appshell .chip.reset{border-style:dashed}.appshell .audit-result-count{color:var(--muted);margin-left:auto;font-size:12px}.appshell .audit-graph{flex-direction:column;gap:26px;margin-top:10px;display:flex}.appshell .audit-branch{position:relative}.appshell .audit-branch:before{content:"";background:var(--rail,var(--border));opacity:.5;width:2px;position:absolute;top:7px;bottom:8px;left:7px}.appshell .branch-head{align-items:center;gap:10px;margin-bottom:4px;padding-left:28px;display:flex;position:relative}.appshell .branch-dot{width:13px;height:13px;box-shadow:0 0 0 3px var(--bg);border-radius:50%;position:absolute;top:3px;left:1px}.appshell .branch-name{color:var(--text);font-size:13.5px;font-weight:700}.appshell .branch-id{color:var(--muted);font-size:12px}.appshell .branch-count{color:var(--muted);margin-left:auto;font-size:11px}.appshell .commit{padding-left:28px;position:relative}.appshell .commit-node{border:2px solid var(--bg);background:var(--muted);border-radius:50%;width:13px;height:13px;position:absolute;top:13px;left:1px}.appshell .commit-node.ins{background:var(--green)}.appshell .commit-node.upd{background:var(--amber)}.appshell .commit-node.del{background:var(--red)}.appshell .commit-line{text-align:left;cursor:pointer;width:100%;color:var(--text);font:inherit;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;padding:7px 10px;display:flex;position:relative}.appshell .commit-line:hover,.appshell .commit.open>.commit-line{background:var(--panel);border-color:var(--border)}.appshell .action-badge{letter-spacing:.04em;white-space:nowrap;border-radius:5px;padding:2px 7px;font-size:10px;font-weight:700}.appshell .action-badge.ins{color:var(--green);background:#3ecf8e24}.appshell .action-badge.upd{color:var(--amber);background:#f0a93b24}.appshell .action-badge.del{color:var(--red);background:#ff6b6b24}.appshell .commit-summary{color:var(--text);font-size:13px}.appshell .commit-meta{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:11.5px}.appshell .commit-caret{color:var(--muted);text-align:center;width:10px;font-size:10px}.appshell .commit-tip{z-index:40;background:var(--panel);border:1px solid var(--border);color:var(--text);opacity:0;visibility:hidden;pointer-events:none;border-radius:8px;width:max-content;max-width:360px;padding:8px 11px;font-size:11.5px;line-height:1.55;transition:opacity .12s,transform .12s;position:absolute;top:calc(100% + 6px);left:28px;transform:translateY(-4px);box-shadow:0 10px 30px #00000073}.appshell .commit-line:hover .commit-tip{opacity:1;visibility:visible;transform:translateY(0)}.appshell .commit.open .commit-tip{display:none}.appshell .commit-details{border:1px solid var(--border);background:var(--panel-2);border-radius:10px;margin:2px 0 6px;padding:12px 14px}.appshell .cd-row{gap:12px;margin-bottom:6px;font-size:12.5px;display:flex}.appshell .cd-row .cd-k{color:var(--muted);flex:none;width:90px}.appshell .cd-changes{border-collapse:collapse;width:100%;margin-top:8px;font-size:12.5px}.appshell .cd-changes th{text-align:left;color:var(--muted);border-bottom:1px solid var(--border);padding:4px 8px;font-size:11px;font-weight:600}.appshell .cd-changes td{border-bottom:1px solid var(--border);vertical-align:top;word-break:break-word;padding:5px 8px}.appshell .cd-field{color:var(--text);white-space:nowrap;font-weight:600}.appshell .cd-old{color:#ffb3b3;text-decoration:line-through}.appshell .cd-new{color:var(--green)}.appshell .sample-card{border:1px solid var(--border);background:var(--panel);border-radius:12px;margin-bottom:14px;padding:14px 16px 16px}.appshell .sample-card-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.appshell .sample-card-head h3{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.08em;color:var(--text);margin:0;font-size:12px;font-weight:600}.appshell .sample-fields{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.appshell .sample-fields .field:has(textarea){grid-column:1/-1}@media (max-width:680px){.appshell .sample-fields{grid-template-columns:1fr}}.appshell .wf-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin-top:8px;display:grid}.appshell .wf-card{border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:12px;padding:18px;text-decoration:none;transition:border-color .15s,background .15s;display:block}.appshell .wf-card:hover{border-color:var(--accent);background:#161c28}.appshell .wf-card h3{align-items:center;margin:0 0 6px;font-size:15px;font-weight:600;display:flex}.appshell .wf-card p{color:var(--muted);margin:0;font-size:12.5px;line-height:1.5}.appshell .wf-card .wf-go{color:var(--accent);margin-top:12px;font-size:12px;font-weight:500}.appshell .wf-badge{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.08em;color:var(--amber);background:#f0a93b1f;border-radius:5px;margin-left:8px;padding:2px 6px;font-size:9.5px}.appshell .collapsible{margin:26px 0 6px}.appshell .collapsible-head{cursor:pointer;width:100%;font:inherit;color:var(--text);text-align:left;background:0 0;border:none;align-items:center;gap:8px;padding:0 0 8px;display:flex}.appshell .collapsible-head:disabled{cursor:default}.appshell .collapsible-title{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-size:11px;font-weight:500}.appshell .collapsible-count{font-family:var(--font-mono);color:var(--muted);border:1px solid var(--border);border-radius:999px;padding:1px 7px;font-size:10px}.appshell .collapsible-caret{color:var(--muted);font-size:11px}.appshell .collapsible-head:hover .collapsible-title,.appshell .collapsible-head:hover .collapsible-caret{color:var(--text)}.appshell .collapsible-sub{color:var(--muted);margin:-4px 0 10px;font-size:12.5px}.appshell .collapsible-more{cursor:pointer;font:inherit;color:var(--accent);background:0 0;border:none;padding:6px 0 0;font-size:12.5px}.appshell .collapsible-more:hover{text-decoration:underline}.appshell .empty-state.mini{text-align:left;color:var(--muted);padding:18px 16px;font-size:12.5px}.appshell .doc-row{border:1px solid var(--border);background:var(--panel);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;padding:12px 14px;display:flex}.appshell .doc-title{font-size:14px;font-weight:500}.appshell .doc-meta{color:var(--muted);margin-top:2px;font-size:12px}.appshell .doc-actions{flex:none;gap:14px;display:flex}.appshell .seg{border:1px solid var(--border);background:var(--panel-2);border-radius:9px;gap:2px;padding:3px;display:inline-flex}.appshell .seg a{color:var(--muted);border-radius:6px;padding:5px 14px;font-size:12.5px;text-decoration:none}.appshell .seg a:hover{color:var(--text)}.appshell .seg a.active{background:var(--panel);color:var(--text);box-shadow:inset 0 0 0 1px var(--border)}
