:root{--background:#fff;--foreground:#1d1d1f;--card:#f7f7f9;--secondary:#efeff2;--muted-foreground:#6e6e73;--subtle:#a1a1a6;--border:#e5e5ea;--sidebar:#f7f7f9;--primary:#2f6fb3;--primary-foreground:#fff;--azure:#2f6fb3;--ring:#2f6fb3;--warning:#b25000;--shadow-float:0 10px 30px #0000001f, 0 0 0 .5px #00000014;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--background:#1c1c1e;--foreground:#f5f5f7;--card:#242426;--secondary:#2c2c2e;--muted-foreground:#98989d;--subtle:#636366;--border:#38383a;--sidebar:#242426;--primary:#2f66a8;--primary-foreground:#fff;--azure:#6fa8e8;--ring:#6fa8e8;--warning:#ff9f0a;--shadow-float:0 10px 30px #00000080, 0 0 0 .5px #ffffff1a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--background:#1c1c1e;--foreground:#f5f5f7;--card:#242426;--secondary:#2c2c2e;--muted-foreground:#98989d;--subtle:#636366;--border:#38383a;--sidebar:#242426;--primary:#2f66a8;--primary-foreground:#fff;--azure:#6fa8e8;--ring:#6fa8e8;--warning:#ff9f0a;--shadow-float:0 10px 30px #00000080, 0 0 0 .5px #ffffff1a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root{--font-text:-apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;--font-display:-apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;--font-mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;--sidebar-width:224px}*{box-sizing:border-box}html,body{height:100%}body{background:var(--background);color:var(--foreground);font:400 14px/1.45 var(--font-text);-webkit-font-smoothing:antialiased;margin:0}a{color:var(--azure);text-decoration:none}a:hover{text-decoration:underline}[hidden]{display:none!important}:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb, var(--ring) 50%, transparent);border-radius:7px;outline:none}.mono{font-family:var(--font-mono);font-size:12.5px}kbd{font:500 11px/1 var(--font-text);color:var(--subtle);border:1px solid var(--border);border-radius:4px;padding:2px 4px}svg.lucide{stroke-width:1.75px;flex:none;width:16px;height:16px}.app{min-height:100%;display:flex}.sidebar{width:var(--sidebar-width);background:var(--sidebar);border-right:1px solid var(--border);flex-direction:column;flex:none;height:100vh;transition:width .25s,border-color .25s;display:flex;position:sticky;top:0;overflow:hidden}.sidebar-inner{width:var(--sidebar-width);flex-direction:column;height:100%;display:flex}.app.collapsed .sidebar{border-right-color:#0000;width:0}.wordmark-row{align-items:center;height:52px;padding:0 18px;display:flex}.wordmark{font:600 15px/1 var(--font-display);letter-spacing:-.022em;color:var(--foreground)}.wordmark:hover{text-decoration:none}.nav{flex:1;padding:4px 10px 12px;overflow-y:auto}.nav-group+.nav-group{margin-top:18px}.group-label{color:var(--subtle);padding:0 8px 4px;font-size:11px;font-weight:600}.nav-item{width:100%;min-height:28px;color:var(--foreground);font:inherit;text-align:left;cursor:default;background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;padding:4px 8px;font-size:13px;transition:background-color .15s;display:flex}.nav-item:hover{background:var(--secondary);text-decoration:none}.nav-item[aria-current=page]{background:var(--secondary);font-weight:500}.nav-item .meta{color:var(--subtle);font-variant-numeric:tabular-nums;margin-left:auto;font-size:12px}.nav-item .name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nav-empty{color:var(--subtle);padding:4px 8px;font-size:13px}.sidebar-footer{border-top:1px solid var(--border);flex-direction:column;gap:2px;padding:8px 10px;display:flex}.sidebar-footer .nav-item{color:var(--muted-foreground)}.main{flex-direction:column;flex:1;min-width:0;display:flex}.topbar{z-index:10;background:color-mix(in srgb, var(--background) 80%, transparent);-webkit-backdrop-filter:saturate(180%)blur(20px);backdrop-filter:saturate(180%)blur(20px);border-bottom:1px solid var(--border);align-items:center;gap:10px;height:52px;padding:0 16px;display:flex;position:sticky;top:0}.icon-btn{width:28px;height:28px;color:var(--muted-foreground);cursor:default;background:0 0;border:0;border-radius:7px;place-items:center;transition:background-color .15s,color .15s;display:grid}.icon-btn:hover{background:var(--secondary);color:var(--foreground)}.crumbs{color:var(--muted-foreground);align-items:center;gap:6px;min-width:0;font-size:13px;display:flex}.crumbs a{color:var(--muted-foreground)}.crumbs a:hover{color:var(--foreground);text-decoration:none}.crumbs .sep{color:var(--subtle)}.crumbs .current{color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.content{width:100%;max-width:896px;margin:0 auto;padding:32px 32px 64px}.page-title{font:600 26px/1.2 var(--font-display);letter-spacing:-.022em;margin:0 0 6px}.lede{color:var(--muted-foreground);max-width:65ch;margin:0 0 24px}.scrim{display:none}.panel{background:var(--card);border-radius:12px}.panel+.panel,.panel+.section-label,.note+.section-label{margin-top:20px}.section-label{color:var(--subtle);margin:24px 0 6px 2px;font-size:11px;font-weight:600}.rows>.row{align-items:center;gap:16px;min-height:44px;padding:8px 14px;display:flex;position:relative}.rows>.row+.row:before{content:"";border-top:1px solid var(--border);position:absolute;top:0;left:14px;right:0}.row-label{flex:1;min-width:0}.row-label .title{font-size:13px}.row-label .hint{color:var(--muted-foreground);margin-top:1px;font-size:12px}.row-control{flex:none;align-items:center;gap:8px;display:flex}.row-value{color:var(--muted-foreground);font-variant-numeric:tabular-nums;flex:none}.panel-footer{border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:10px;padding:12px 14px;display:flex}.panel-footer .spacer{flex:1}.panel-footer .hint{color:var(--subtle);align-items:center;gap:6px;margin-right:auto;font-size:12px;display:flex}.note{color:var(--muted-foreground);max-width:80ch;margin:10px 2px 0;font-size:12px}.btn{height:36px;font:500 13px/1 var(--font-text);cursor:default;white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 14px;transition:background-color .15s,border-color .15s,opacity .15s;display:inline-flex}.btn-primary{background:var(--primary);color:var(--primary-foreground)}.btn-primary:hover{background:color-mix(in srgb, var(--primary) 88%, black)}.btn-secondary{background:var(--secondary);color:var(--foreground)}.btn-secondary:hover{background:color-mix(in srgb, var(--secondary) 85%, var(--foreground) 6%)}.btn-outline{color:var(--foreground);border-color:var(--border);background:0 0}.btn-outline:hover{background:var(--secondary)}.btn-sm{border-radius:7px;height:28px;padding:0 10px;font-size:12px}.btn:disabled{opacity:.5;pointer-events:none}select,input[type=text]{height:28px;font:400 13px var(--font-text);color:var(--foreground);border:1px solid var(--border);background:0 0;border-radius:6px;outline:none;padding:0 8px;transition:border-color .15s,box-shadow .15s}select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--muted-foreground) 50%), linear-gradient(135deg, var(--muted-foreground) 50%, transparent 50%);background-position:calc(100% - 12px),calc(100% - 8px);background-repeat:no-repeat;background-size:4px 4px;max-width:240px;padding-right:24px}select option{background:var(--background);color:var(--foreground)}select:focus,input[type=text]:focus{border-color:var(--ring);box-shadow:0 0 0 3px color-mix(in srgb, var(--ring) 50%, transparent)}input.mono{font-family:var(--font-mono);width:96px;font-size:12.5px}.segmented{background:var(--secondary);border-radius:7px;gap:2px;padding:2px;display:inline-flex}.segmented button{height:24px;color:var(--foreground);font:400 12px var(--font-text);cursor:default;background:0 0;border:0;border-radius:5px;padding:0 10px}.segmented button[aria-checked=true]{background:var(--background);font-weight:500;box-shadow:0 0 0 .5px #00000014,0 1px 2px #0000001f}.switch{flex:none;width:32px;height:20px;position:relative}.switch input{opacity:0;cursor:default;margin:0;position:absolute;inset:0}.switch .track{background:var(--secondary);box-shadow:inset 0 0 0 1px var(--border);pointer-events:none;border-radius:999px;transition:background-color .15s;position:absolute;inset:0}.switch .track:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000040}.switch input:checked+.track{background:var(--primary);box-shadow:none}.switch input:checked+.track:after{transform:translate(12px)}.switch input:focus-visible+.track{box-shadow:0 0 0 3px color-mix(in srgb, var(--ring) 50%, transparent)}.dropzone{border:1.5px dashed var(--border);text-align:center;color:var(--muted-foreground);border-radius:10px;flex-direction:column;align-items:center;gap:10px;margin:14px;padding:28px 20px;transition:border-color .15s,background-color .15s;display:flex}.dropzone.over{border-color:var(--ring);background:color-mix(in srgb, var(--ring) 6%, transparent)}.dropzone svg.lucide{width:22px;height:22px;color:var(--subtle)}.dropzone .primary-line{color:var(--foreground);font-size:13px}.dropzone .secondary-line{font-size:12px}.file-row{align-items:center;gap:12px;min-height:56px;padding:12px 14px;display:flex}.file-icon{background:var(--secondary);width:32px;height:32px;color:var(--muted-foreground);border-radius:7px;flex:none;place-items:center;display:grid}.file-meta{flex:1;min-width:0}.file-meta .name{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.file-meta .detail{color:var(--muted-foreground);font-size:12px}.file-meta .detail.warn{color:var(--warning)}.dropzone .choose{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.queue-list{color:var(--muted-foreground);margin:0;padding:0 0 6px;font-size:12px;list-style:none}.queue-list li{gap:12px;padding:5px 14px 5px 58px;display:flex;position:relative}.queue-list li+li:before{content:"";border-top:1px solid var(--border);position:absolute;top:0;left:58px;right:0}.queue-list .path{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.queue-list .kind{color:var(--subtle);flex:none}.queue-list .warn{color:var(--warning)}.progress-block{padding:4px 14px 14px}.progress-track{background:var(--secondary);border-radius:999px;height:4px;overflow:hidden}.progress-bar{background:var(--primary);border-radius:999px;width:0;height:100%;transition:width .15s linear}.progress-text{color:var(--muted-foreground);justify-content:space-between;gap:12px;margin-top:8px;font-size:12px;display:flex}.progress-text .where{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.progress-text .count{font-variant-numeric:tabular-nums;flex:none}.result-head{align-items:center;gap:12px;padding:14px;display:flex}.result-head .ok{color:var(--azure)}.result-head .ok svg.lucide{width:20px;height:20px}.result-head .title{font-weight:600}.result-head .detail{color:var(--muted-foreground);font-size:12px}.result-head .actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-left:auto;display:flex}.result-head+.rows{border-top:1px solid var(--border)}.warn-text{color:var(--warning)}.table-scroll{overflow-x:auto}table.preview{border-collapse:collapse;table-layout:fixed;width:100%;min-width:640px;font-size:13px}table.preview th{color:var(--subtle);text-align:left;white-space:nowrap;padding:10px 12px 6px;font-size:11px;font-weight:600}table.preview td{border-top:1px solid var(--border);text-overflow:ellipsis;white-space:nowrap;vertical-align:top;padding:7px 12px;overflow:hidden}table.preview col.c-id{width:142px}table.preview col.c-type{width:144px}table.preview col.c-date{width:140px}table.preview col.c-from{width:24%}table.preview tr.child td{color:var(--muted-foreground)}table.preview tr.child td.subject:before{content:"↳ ";color:var(--subtle)}table.preview td.date{font-variant-numeric:tabular-nums}.prose{max-width:65ch}.prose h2{font:600 15px/1.3 var(--font-display);letter-spacing:-.01em;margin:28px 0 6px}.prose p,.prose li{color:var(--foreground)}.prose ul{padding-left:18px}.prose li+li{margin-top:4px}.prose code{font-family:var(--font-mono);background:var(--secondary);border-radius:4px;padding:1px 4px;font-size:12.5px}.def-panel .row{align-items:flex-start}.def-panel .row-label{flex:0 0 200px;font-size:13px}.def-panel .row-desc{color:var(--muted-foreground);flex:1;font-size:13px}@media (max-width:767px){.sidebar{z-index:30;width:var(--sidebar-width);box-shadow:none;transition:transform .25s;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.app.mobile-open .sidebar{box-shadow:var(--shadow-float);transform:none}.app.collapsed .sidebar{width:var(--sidebar-width)}.app.mobile-open .scrim{z-index:20;background:#0000004d;display:block;position:fixed;inset:0}.content{padding:20px 16px 48px}.result-head{flex-wrap:wrap}.result-head .actions{justify-content:flex-start;width:100%;margin-left:0}.actions-footer{flex-wrap:wrap}.actions-footer .spacer{display:none}.actions-footer .btn{flex:auto}.actions-footer .btn-primary{flex-basis:100%;order:-1}.def-panel .row{flex-direction:column;gap:2px}.def-panel .row-label{flex:none}.panel-footer .hint,.dropzone .secondary-line{display:none}select{max-width:150px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
