:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--font-sans:"Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;--radius:16px;--radius-md:12.8px;--radius-sm:9.6px;--radius-pill:999px;--header-height:48px;--sidebar-width:208px;--background:#fcfcfc;--surface:#fff;--surface-raised:#fff;--surface-active:#fff;--foreground:#0a0a0a;--muted:#f5f5f5;--muted-foreground:#606060;--subtle-foreground:#8a8a8a;--secondary:#e4e4e4;--border:#e8e8e8;--input:#e8e8e8;--ring:#42a6ff52;--ring-border:#42a6ff;--primary:#3ea4ec;--primary-hover:#2f96df;--primary-foreground:#fff;--primary-soft:#e9f3fc;--primary-strong:#0276ea;--success:#009767;--success-soft:#0097671a;--warning:#cd8900;--warning-soft:#cd89001a;--warning-text:#8a5c00;--destructive:#e40014;--destructive-hover:#c80012;--destructive-soft:#e4001412;--info:#0084cc;--info-soft:#0084cc1a;--overlay:#0a0a0a47;--shadow-sm:0 1px 2px #0a0a0a0d;--shadow-lg:0 18px 48px #0a0a0a24}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#191919;--surface:#1e1e1e;--surface-raised:#262626;--surface-active:#3a3a3a;--foreground:#f3f3f3;--muted:#2a2a2a;--muted-foreground:#b7b7b7;--subtle-foreground:#8c8c8c;--secondary:#444;--border:#ffffff1a;--input:#ffffff2b;--ring:#348cd673;--ring-border:#3b8fd6;--primary:#0e72bc;--primary-hover:#1680cf;--primary-foreground:#fff;--primary-soft:#0e72bc3d;--primary-strong:#9fcdff;--success:#00bb7f;--success-soft:#00bb7f24;--warning:#f99c00;--warning-soft:#f99c0024;--warning-text:#f9b54a;--destructive:#ff6568;--destructive-hover:#ff7d80;--destructive-soft:#ff656821;--info:#3aa6e0;--info-soft:#018dcf2e;--overlay:#0000008c;--shadow-sm:0 1px 2px #0000004d;--shadow-lg:0 18px 48px #00000080}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#191919;--surface:#1e1e1e;--surface-raised:#262626;--surface-active:#3a3a3a;--foreground:#f3f3f3;--muted:#2a2a2a;--muted-foreground:#b7b7b7;--subtle-foreground:#8c8c8c;--secondary:#444;--border:#ffffff1a;--input:#ffffff2b;--ring:#348cd673;--ring-border:#3b8fd6;--primary:#0e72bc;--primary-hover:#1680cf;--primary-foreground:#fff;--primary-soft:#0e72bc3d;--primary-strong:#9fcdff;--success:#00bb7f;--success-soft:#00bb7f24;--warning:#f99c00;--warning-soft:#f99c0024;--warning-text:#f9b54a;--destructive:#ff6568;--destructive-hover:#ff7d80;--destructive-soft:#ff656821;--info:#3aa6e0;--info-soft:#018dcf2e;--overlay:#0000008c;--shadow-sm:0 1px 2px #0000004d;--shadow-lg:0 18px 48px #00000080}}*{box-sizing:border-box}html{background:var(--background)}body{min-width:320px;min-height:100vh;color:var(--foreground);background:var(--background);font-family:var(--font-sans);font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{color:inherit;font:inherit}h1,h2,h3,p{margin:0}::selection{background:var(--primary-soft)}.app{min-height:100vh}.app-header{z-index:40;height:var(--header-height);background:var(--background);align-items:center;gap:8px;padding:0 12px 0 20px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:8px;min-width:0;display:inline-flex}.brand strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600;overflow:hidden}.brand-tag{border-radius:var(--radius-pill);color:var(--muted-foreground);background:var(--muted);font-family:var(--font-mono);flex:none;padding:1px 8px;font-size:12px}.brand-mark{color:var(--primary-foreground);background:var(--primary);border-radius:50%;flex:none;place-items:center;display:inline-grid}.header-actions{align-items:center;gap:4px;margin-left:auto;display:flex}.user-chip{align-items:center;gap:8px;max-width:220px;height:32px;padding:0 10px 0 4px;display:inline-flex}.avatar{color:#fff;background:var(--success);border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font-size:12px;font-weight:700;display:inline-grid}.user-chip-name{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.app-body{min-height:calc(100vh - var(--header-height));grid-template-columns:var(--sidebar-width) minmax(0, 1fr);transition:grid-template-columns .2s;display:grid}.app-sidebar{top:var(--header-height);height:calc(100vh - var(--header-height));scrollbar-width:thin;padding:4px 8px 16px 16px;position:sticky;overflow-y:auto}.nav-group{gap:2px;margin-bottom:14px;display:grid}.nav-group-label{height:28px;color:var(--subtle-foreground);align-items:center;padding:0 8px;font-size:11px;font-weight:500;display:flex}.nav-item{border-radius:var(--radius-md);width:100%;height:32px;color:var(--foreground);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 8px;font-size:14px;transition:background-color .15s,color .15s;display:flex}.nav-item:hover{background:var(--muted)}.nav-item:focus-visible{box-shadow:0 0 0 3px var(--ring);outline:none}.nav-item.is-active{color:var(--primary-strong);background:var(--primary-soft);font-weight:500}.nav-item svg{flex:none}.nav-item-label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.nav-item-meta{color:var(--muted-foreground);font-variant-numeric:tabular-nums;font-size:12px}.nav-dot{flex:none;place-items:center;width:16px;height:16px;display:inline-grid}.nav-dot:after{background:var(--subtle-foreground);content:"";border-radius:50%;width:7px;height:7px}.nav-dot.is-enabled:after{background:var(--success)}.nav-initial{width:22px;height:22px;color:var(--foreground);background:var(--muted);box-shadow:inset 0 0 0 1.5px var(--subtle-foreground);border-radius:50%;flex:none;place-items:center;font-size:11px;font-weight:600;display:none}.nav-initial.is-enabled{box-shadow:inset 0 0 0 1.5px var(--success)}@media (min-width:901px){:root[data-sidebar=collapsed] .app-body{grid-template-columns:72px minmax(0,1fr)}:root[data-sidebar=collapsed] .nav-group-label,:root[data-sidebar=collapsed] .nav-item-label,:root[data-sidebar=collapsed] .nav-item-meta,:root[data-sidebar=collapsed] .nav-dot{display:none}:root[data-sidebar=collapsed] .nav-group+.nav-group{border-top:1px solid var(--border);padding-top:10px}:root[data-sidebar=collapsed] .nav-item{justify-content:center;padding:0}:root[data-sidebar=collapsed] .nav-initial{display:inline-grid}}.sidebar-backdrop{display:none}.app-main{min-width:0;min-height:calc(100vh - var(--header-height) - 8px);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm);margin:0 8px 8px 0;padding:20px 24px 28px}.page{align-content:start;gap:16px;display:grid}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 16px;display:flex}.page-header-main{gap:4px;min-width:0;display:grid}.page-header h1{font-size:18px;font-weight:700;line-height:28px}.page-header p{color:var(--muted-foreground);overflow-wrap:anywhere;font-size:13px}.page-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.back-button{color:var(--muted-foreground);justify-self:start;margin:-4px 0 -8px -10px}.fullscreen-loading,.page-loading{color:var(--muted-foreground);justify-items:center;gap:10px;display:grid}.fullscreen-loading{place-content:center;min-height:100vh}.page-loading{padding:80px 16px}.spin{animation:.9s linear infinite spin}.btn{border-radius:var(--radius-pill);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;border:1px solid #0000;flex:none;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 14px;font-size:14px;font-weight:500;line-height:1;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s;display:inline-flex}.btn:disabled{cursor:not-allowed;opacity:.5}.btn:focus-visible{box-shadow:0 0 0 3px var(--ring);outline:none}.btn-primary{color:var(--primary-foreground);background:var(--primary)}.btn-primary:not(:disabled):hover{background:var(--primary-hover)}.btn-outline{border-color:var(--border);color:var(--foreground);background:var(--surface)}.btn-outline:not(:disabled):hover{background:var(--muted)}.btn-ghost{color:var(--foreground);background:0 0}.btn-ghost:not(:disabled):hover{background:var(--muted)}.btn-danger{color:#fff;background:var(--destructive)}.btn-danger:not(:disabled):hover{background:var(--destructive-hover)}.btn-danger-outline{border-color:color-mix(in srgb, var(--destructive) 35%, transparent);color:var(--destructive);background:var(--surface)}.btn-danger-outline:not(:disabled):hover,.btn.is-danger:not(:disabled):hover{background:var(--destructive-soft)}.btn.is-danger{color:var(--destructive)}.btn-sm{gap:4px;height:28px;padding:0 10px;font-size:13px}.btn-xs{gap:4px;height:24px;padding:0 8px;font-size:12px}.btn-icon{width:32px;padding:0}.btn-icon.btn-sm{width:28px}.btn-icon.btn-xs{width:24px}.btn-block{width:100%;height:36px}.input,.textarea,.select select{border:1px solid var(--input);width:100%;color:var(--foreground);background:var(--surface);font-size:14px;transition:border-color .15s,box-shadow .15s}.input{border-radius:var(--radius-pill);height:32px;padding:0 12px}.input::placeholder,.textarea::placeholder{color:var(--subtle-foreground)}.input:focus,.textarea:focus,.select select:focus{border-color:var(--ring-border);box-shadow:0 0 0 3px var(--ring);outline:none}.input:disabled,.textarea:disabled,.select select:disabled{cursor:not-allowed;background:var(--muted);opacity:.7}.textarea{border-radius:var(--radius-md);resize:vertical;min-height:120px;padding:10px 12px;line-height:1.6}.textarea.has-issues{border-color:color-mix(in srgb, var(--warning) 60%, var(--input))}.input-issues{border-radius:var(--radius-sm);color:var(--warning-text);background:var(--warning-soft);gap:4px;margin-top:-6px;padding:10px 12px;font-size:12.5px;line-height:1.6;display:grid}.input-issues strong{align-items:center;gap:6px;font-size:13px;display:inline-flex}.input-issues ul{margin:0;padding-left:20px}.textarea-mono{font-family:var(--font-mono);font-size:13px}.select{width:100%;display:inline-flex;position:relative}.select select{border-radius:var(--radius-pill);cursor:pointer;appearance:none;height:32px;padding:0 32px 0 12px}.select svg{color:var(--muted-foreground);pointer-events:none;position:absolute;top:50%;right:11px;transform:translateY(-50%)}.select-sm select{height:28px;padding-left:10px;font-size:13px}.input-affix{width:100%;display:inline-flex;position:relative}.input-affix .input{padding-right:38px}.input-affix-button{width:26px;height:26px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.input-affix-button:hover{color:var(--foreground);background:var(--muted)}.tag-input{border:1px solid var(--input);border-radius:var(--radius-md);background:var(--surface);cursor:text;flex-wrap:wrap;align-items:center;gap:4px;min-height:34px;padding:4px 6px;transition:border-color .15s,box-shadow .15s;display:flex}.tag-input:focus-within{border-color:var(--ring-border);box-shadow:0 0 0 3px var(--ring)}.tag-input.is-disabled{cursor:not-allowed;background:var(--muted);opacity:.7}.tag-input input{min-width:120px;height:24px;color:var(--foreground);font-family:var(--font-mono);background:0 0;border:0;outline:none;flex:1;padding:0 4px;font-size:13px}.tag-input input::placeholder{color:var(--subtle-foreground);font-family:var(--font-sans)}.tag-chip{border-radius:var(--radius-pill);max-width:100%;height:24px;color:var(--primary-strong);background:var(--primary-soft);font-family:var(--font-mono);align-items:center;gap:2px;padding:0 4px 0 9px;font-size:12.5px;display:inline-flex}.tag-chip>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tag-chip button{width:18px;height:18px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.tag-chip button:hover{background:color-mix(in srgb, var(--primary) 22%, transparent)}.field-actions{align-items:center;gap:8px;display:inline-flex}.input-search>svg{color:var(--muted-foreground);pointer-events:none;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.input-search .input{padding-left:32px}.facet{position:relative}.facet-trigger{border:1px dashed var(--input);border-radius:var(--radius-pill);height:32px;color:var(--foreground);background:var(--surface);white-space:nowrap;cursor:pointer;align-items:center;gap:6px;padding:0 12px;font-size:13.5px;font-weight:500;transition:background-color .15s,border-color .15s;display:inline-flex}.facet-trigger:hover{background:var(--muted)}.facet-trigger:focus-visible{box-shadow:0 0 0 3px var(--ring);outline:none}.facet-trigger.is-active{border-style:solid;border-color:color-mix(in srgb, var(--primary) 45%, var(--input))}.facet-selected{border-left:1px solid var(--border);border-radius:var(--radius-pill);max-width:160px;color:var(--primary-strong);background:var(--primary-soft);text-overflow:ellipsis;margin-left:2px;padding:1px 8px;font-size:12px;overflow:hidden}.facet-popover{z-index:80;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);width:248px;box-shadow:var(--shadow-lg);gap:4px;padding:6px;animation:.12s ease-out menu-in;display:grid;position:absolute;top:calc(100% + 6px);left:0}.facet-search .input{background:var(--muted);border-color:#0000;height:30px}.facet-options{gap:2px;max-height:280px;display:grid;overflow-y:auto}.facet-option{border-radius:var(--radius-sm);height:32px;color:var(--foreground);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:0 10px;font-size:13.5px;display:flex}.facet-option:hover{background:var(--muted)}.facet-radio{border:1.5px solid color-mix(in srgb, var(--primary) 55%, var(--input));border-radius:50%;flex:none;width:15px;height:15px}.facet-option.is-selected .facet-radio{border-color:var(--primary);box-shadow:inset 0 0 0 3px var(--surface-raised);background:var(--primary)}.facet-option-label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.facet-count{color:var(--muted-foreground);font-family:var(--font-mono);font-size:12px}.facet-empty{color:var(--muted-foreground);padding:8px 10px;font-size:12.5px}.sort-control{align-items:center;gap:6px;display:inline-flex}.sort-select{width:136px}.checkbox{width:16px;height:16px;accent-color:var(--primary);cursor:pointer;margin:0}.field{align-content:start;gap:6px;min-width:0;display:grid}.field-wide{grid-column:1/-1}.field-label-row{justify-content:space-between;align-items:center;gap:8px;min-height:20px;display:flex}.field-label-row label{font-size:14px;font-weight:600}.field-hint,.field-counter{color:var(--muted-foreground);font-size:12.5px}.field-counter{font-variant-numeric:tabular-nums}.field-error,.form-error{color:var(--destructive);font-size:12.5px}.form-error{margin-top:16px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;display:grid}.form-grid-single{grid-template-columns:minmax(0,1fr);max-width:420px}.form-section{border-bottom:1px solid var(--border);gap:16px;padding-bottom:20px;display:grid}.form-section+.form-section{padding-top:20px}.form-section:last-of-type{border-bottom:0;padding-bottom:0}.form-note{border-radius:var(--radius-sm);color:var(--muted-foreground);background:var(--muted);padding:8px 12px;font-size:13px}.switch{border-radius:var(--radius-pill);background:var(--secondary);cursor:pointer;border:0;flex:none;width:32px;height:18px;padding:0;transition:background-color .15s;position:relative}.switch.is-on{background:var(--primary)}.switch:disabled{cursor:not-allowed;opacity:.5}.switch:focus-visible{box-shadow:0 0 0 3px var(--ring);outline:none}.switch-thumb{background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000038}.switch.is-on .switch-thumb{transform:translate(14px)}.switch-field{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;display:flex}.switch-field.is-disabled{cursor:not-allowed}.switch-text{gap:2px;display:grid}.switch-text span{font-weight:500}.switch-text small{color:var(--muted-foreground);font-size:12.5px}.page-header-actions .switch-field,.toolbar-actions .switch-field{color:var(--muted-foreground);gap:8px;font-size:13px}.segmented{border-radius:var(--radius-pill);background:var(--muted);align-items:center;gap:2px;padding:3px;display:inline-flex}.segmented-item{border-radius:var(--radius-pill);height:28px;color:var(--muted-foreground);white-space:nowrap;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:0 14px;font-size:13.5px;font-weight:500;transition:background-color .15s,color .15s,box-shadow .15s;display:inline-flex}.segmented-item:not(:disabled):hover{color:var(--foreground)}.segmented-item:focus-visible{box-shadow:0 0 0 3px var(--ring);outline:none}.segmented-item.is-active{color:var(--foreground);background:var(--surface-active);box-shadow:var(--shadow-sm), 0 0 0 1px var(--border)}.segmented-item:disabled{cursor:not-allowed;opacity:.6}.card>.segmented,.auth-card .segmented{display:flex}.card>.segmented .segmented-item,.auth-card .segmented-item{flex:1}.card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);align-content:start;gap:16px;min-width:0;padding:20px;display:grid}.card-header h2{font-size:15px;font-weight:700}.card-header p{color:var(--muted-foreground);margin-top:4px;font-size:13px}.card-actions{justify-content:flex-end;gap:8px;display:flex}.settings-card{max-width:560px}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;display:grid}.stat-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);gap:6px;padding:14px 16px;display:grid}.stat-card-label{color:var(--muted-foreground);align-items:center;gap:8px;font-size:13px;display:flex}.stat-icon,.section-icon{color:var(--primary-strong);background:var(--primary-soft);border-radius:50%;flex:none;place-items:center;display:inline-grid}.stat-icon{width:26px;height:26px}.section-icon{width:32px;height:32px}.tone-success .stat-icon,.section-icon.tone-success{color:var(--success);background:var(--success-soft)}.tone-info .stat-icon,.section-icon.tone-info{color:var(--info);background:var(--info-soft)}.tone-warning .stat-icon,.section-icon.tone-warning{color:var(--warning);background:var(--warning-soft)}.stat-value{font-family:var(--font-mono);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:22px;font-weight:700;line-height:1.3;overflow:hidden}.stat-hint{color:var(--muted-foreground);font-size:12px}.section-heading{align-items:center;gap:12px;display:flex}.section-heading strong{font-size:14.5px;font-weight:600}.section-heading p{color:var(--muted-foreground);margin-top:1px;font-size:12.5px}.status{white-space:nowrap;align-items:center;gap:6px;font-size:13.5px;font-weight:500;display:inline-flex}.status-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.status-enabled{color:var(--success)}.status-disabled{color:var(--muted-foreground)}.status-missing{color:var(--warning)}.tag{border-radius:var(--radius-pill);white-space:nowrap;align-items:center;height:22px;padding:0 8px;font-size:12px;font-weight:500;display:inline-flex}.tag-muted{color:var(--muted-foreground);background:var(--muted)}.callout{border-radius:var(--radius-sm);padding:10px 12px;font-size:13px;line-height:1.6}.callout-info{color:var(--foreground);background:var(--muted)}.callout-warning{color:var(--warning-text);background:var(--warning-soft)}.callout-error{color:var(--destructive);background:var(--destructive-soft)}.secret-box{border:1px dashed color-mix(in srgb, var(--primary) 45%, transparent);border-radius:var(--radius-md);color:var(--primary-strong);background:var(--primary-soft);align-items:center;gap:10px;padding:12px 14px;display:flex}.secret-box svg{flex:none}.secret-box code{color:var(--foreground);font-family:var(--font-mono);overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;font-size:13px}.empty-state{color:var(--muted-foreground);text-align:center;justify-items:center;gap:6px;padding:40px 16px;display:grid}.empty-state svg{color:var(--foreground);margin-bottom:4px}.empty-state strong{color:var(--foreground);font-size:14px}.empty-state p{max-width:360px;font-size:13px}.empty-state .btn{margin-top:8px}.toolbar-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.toolbar,.toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.toolbar-actions{gap:12px}.toolbar-select{width:180px}.toolbar-input{width:190px}.toolbar-input-wide{width:260px}.record-filter-bar .sort-control{margin-left:auto}.table-meta{min-height:28px;color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:-6px;font-size:13px;display:flex}.table-meta-actions{color:var(--foreground);align-items:center;gap:10px;display:inline-flex}.table-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-width:0;overflow:hidden}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:760px;font-size:14px}.data-table th{border-bottom:1px solid var(--border);text-align:left;white-space:nowrap;height:40px;padding:0 12px;font-size:13px;font-weight:500}.data-table td{border-bottom:1px solid var(--border);vertical-align:middle;padding:12px}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr{transition:background-color .12s}.data-table tbody tr:hover{background:color-mix(in srgb, var(--muted) 65%, transparent)}.data-table tbody tr.is-selected{background:var(--primary-soft)}.data-table .cell-mono{overflow-wrap:normal;white-space:nowrap}.data-table td>strong{white-space:nowrap;font-weight:500}.data-table .align-right{text-align:right}.data-table .selection-column{width:44px;padding-right:0}.cell-stack{gap:2px;min-width:0;display:grid}.cell-stack strong{white-space:nowrap;font-weight:500}.cell-mono{color:var(--muted-foreground);font-family:var(--font-mono);overflow-wrap:anywhere;font-size:12.5px}.cell-muted{color:var(--muted-foreground);white-space:nowrap;font-size:12.5px}.cell-number{font-family:var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap}.row-actions{justify-content:flex-end;align-items:center;gap:4px;display:inline-flex}.key-cell{align-items:center;gap:2px;display:flex}.key-value{max-width:360px;color:var(--foreground);margin-right:4px}.naming-hint{border-radius:var(--radius-sm);color:var(--muted-foreground);background:var(--muted);flex-wrap:wrap;align-items:center;gap:6px 10px;padding:9px 12px;font-size:13px;display:flex}.naming-hint>svg{flex:none}.naming-hint code{color:var(--foreground);font-family:var(--font-mono);font-size:12.5px}.naming-hint-meta{margin-left:auto}.member-count-button{color:var(--foreground);margin-left:-8px}.member-defaults code,.member-preview code{font-family:var(--font-mono);font-size:12.5px}.member-list{gap:10px;margin-top:14px;display:grid}.member-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);gap:10px;padding:14px 16px;display:grid}.member-card.is-disabled{background:var(--muted)}.member-card.is-disabled .cell-stack strong{color:var(--muted-foreground)}.member-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.member-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;display:grid}.member-meta dt{color:var(--muted-foreground);font-size:12px}.member-meta dd{margin:2px 0 0;font-size:13px}.member-inherited{color:var(--muted-foreground)}.member-key{border-top:1px dashed var(--border);color:var(--muted-foreground);padding-top:10px}.member-key>svg{flex:none;margin-right:6px}.member-loading{align-items:center;gap:8px;margin-top:14px;display:flex}.member-date-row{grid-template-columns:minmax(0,1fr) 120px;gap:8px;display:grid}.member-date-row:has(>:only-child){grid-template-columns:minmax(0,1fr)}.member-preview{border-radius:var(--radius-sm);background:var(--muted);gap:4px;padding:10px 12px;font-size:13px;display:grid}.member-preview>span,.member-preview small{color:var(--muted-foreground);font-size:12px}@media (max-width:560px){.member-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}.pagination{border-top:1px solid var(--border);color:var(--muted-foreground);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px 16px;padding:12px 16px;font-size:13px;display:flex}.pagination-total strong{color:var(--foreground);margin-left:2px;font-weight:600}.pagination-size{align-items:center;gap:8px;display:inline-flex}.pagination-size .select{width:76px}.pagination-pages{align-items:center;gap:6px;display:inline-flex}.pagination-current{border-radius:var(--radius-pill);min-width:28px;height:28px;color:var(--primary-foreground);background:var(--primary);place-items:center;padding:0 8px;font-weight:600;display:inline-grid}.overlay{z-index:100;background:var(--overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:.15s ease-out fade-in;display:flex;position:fixed;inset:0}.overlay-dialog{justify-content:center;align-items:center;padding:16px}.overlay-sheet{justify-content:flex-end}.dialog,.sheet{border:1px solid var(--border);background:var(--surface-raised);box-shadow:var(--shadow-lg);flex-direction:column;display:flex}.dialog{border-radius:var(--radius);width:min(520px,100%);max-height:calc(100vh - 32px);animation:.18s ease-out dialog-in}.dialog-sm{width:min(440px,100%)}.sheet{border-width:0 0 0 1px;width:min(600px,100vw);height:100%;animation:.22s ease-out sheet-in}.dialog-header,.sheet-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.dialog-header{padding:20px 16px 0 24px}.sheet-header{border-bottom:1px solid var(--border);padding:18px 16px 14px 24px}.dialog-header h2,.sheet-header h2{font-size:17px;font-weight:700;line-height:1.4}.dialog-header p,.sheet-header p{color:var(--muted-foreground);margin-top:4px;font-size:13px}.dialog-body{gap:12px;padding:16px 24px 4px;line-height:1.6;display:grid;overflow-y:auto}.sheet-body{flex:1;padding:20px 24px 24px;overflow-y:auto}.dialog-footer,.sheet-footer{justify-content:flex-end;gap:8px;display:flex}.dialog-footer{padding:16px 20px 20px}.sheet-footer{border-top:1px solid var(--border);padding:14px 24px}.menu{z-index:120;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);min-width:176px;box-shadow:var(--shadow-lg);padding:4px;animation:.12s ease-out menu-in;display:grid;position:fixed}.menu-item{border-radius:var(--radius-sm);height:32px;color:var(--foreground);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 10px;font-size:13.5px;display:flex}.menu-item:not(:disabled):hover{background:var(--muted)}.menu-item.is-danger{color:var(--destructive)}.menu-item.is-danger:not(:disabled):hover{background:var(--destructive-soft)}.menu-item:disabled{cursor:not-allowed;opacity:.5}.workspace-grid{grid-template-columns:minmax(0,1.15fr) minmax(320px,1fr);align-items:start;gap:16px;display:grid}.result-card{top:calc(var(--header-height) + 24px);position:sticky}.result-card.has-fatal-error{border-color:color-mix(in srgb, var(--destructive) 40%, var(--border))}.result-counters{flex-wrap:wrap;gap:8px;display:flex}.counter{border-radius:var(--radius-pill);height:26px;color:var(--muted-foreground);background:var(--muted);align-items:center;gap:6px;padding:0 10px;font-size:12.5px;display:inline-flex}.counter strong{color:var(--foreground);font-family:var(--font-mono)}.counter-success,.counter-success strong{color:var(--success)}.counter-success{background:var(--success-soft)}.counter-failure,.counter-failure strong{color:var(--destructive)}.counter-failure{background:var(--destructive-soft)}.progress-track{border-radius:var(--radius-pill);background:var(--muted);height:6px;overflow:hidden}.progress-fill{border-radius:var(--radius-pill);background:var(--primary);height:100%;transition:width .3s}.result-list{gap:6px;max-height:460px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.result-item{border:1px solid var(--border);border-radius:var(--radius-md);align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.result-item.result-failure{background:var(--destructive-soft);border-color:#0000}.result-icon{color:var(--primary);flex:none;margin-top:1px;display:inline-flex}.result-success .result-icon{color:var(--success)}.result-failure .result-icon{color:var(--destructive)}.result-item strong{font-family:var(--font-mono);font-size:13px;font-weight:600;display:block}.result-item div>span{color:var(--muted-foreground);overflow-wrap:anywhere;font-size:12.5px}.auth-page{background:var(--surface);grid-template-rows:auto 1fr auto;min-height:100vh;display:grid}.auth-header{justify-content:space-between;align-items:center;padding:24px 28px;display:flex}.auth-header .brand strong{font-size:18px}.auth-main{place-items:center;padding:24px 16px 48px;display:grid}.auth-card{gap:18px;width:min(400px,100%);display:grid}.auth-card h1{font-size:26px;font-weight:700}.auth-description{color:var(--muted-foreground);margin-top:-10px;line-height:1.6}.auth-form{gap:16px;display:grid}.auth-form .input{height:36px}.auth-form .btn-block{margin-top:4px}.auth-footer{color:var(--subtle-foreground);text-align:center;padding:20px;font-size:12.5px}.toast-viewport{z-index:200;pointer-events:none;gap:10px;width:min(380px,100vw - 32px);display:grid;position:fixed;top:16px;right:16px}.toast{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);box-shadow:var(--shadow-lg);pointer-events:auto;grid-template-columns:18px minmax(0,1fr) 24px;align-items:start;gap:10px;padding:12px 10px 12px 14px;animation:.18s ease-out toast-in;display:grid}.toast-icon{color:var(--primary);margin-top:1px}.toast-success .toast-icon{color:var(--success)}.toast-warning .toast-icon{color:var(--warning)}.toast-error .toast-icon{color:var(--destructive)}.toast-message{overflow-wrap:anywhere;font-size:13.5px;line-height:1.55}.toast-close{width:24px;height:24px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.toast-close:hover{color:var(--foreground);background:var(--muted)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}}@keyframes dialog-in{0%{opacity:0;transform:translateY(6px)scale(.98)}}@keyframes sheet-in{0%{opacity:0;transform:translate(32px)}}@keyframes menu-in{0%{opacity:0;transform:translateY(-4px)}}@keyframes toast-in{0%{opacity:0;transform:translateY(-6px)}}@media (max-width:1100px){.workspace-grid{grid-template-columns:minmax(0,1fr)}.result-card{position:static}}@media (max-width:900px){.app-header{padding-left:8px}.app-body{grid-template-columns:minmax(0,1fr)}.app-sidebar{z-index:60;top:var(--header-height);border-right:1px solid var(--border);background:var(--background);width:248px;height:auto;padding:8px 12px 16px;transition:transform .2s;position:fixed;bottom:0;left:0;transform:translate(-100%)}.app-sidebar.is-open{box-shadow:var(--shadow-lg);transform:none}.sidebar-backdrop{z-index:50;inset:var(--header-height) 0 0;background:var(--overlay);display:block;position:fixed}.app-main{margin:0 8px 8px;padding:16px}}@media (max-width:640px){.form-grid{grid-template-columns:minmax(0,1fr)}.brand-tag,.user-chip-name,.hide-on-mobile{display:none}.toolbar,.toolbar-select,.toolbar-input,.toolbar-input-wide{width:100%}.toolbar .btn{flex:1}.toolbar .facet,.toolbar .sort-control{flex:auto}.toolbar .sort-control .btn{flex:none}.toolbar .sort-control .select{flex:1;width:auto}.toolbar .facet-trigger{justify-content:center;width:100%}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stat-card{padding:10px 12px}.stat-icon,.stat-hint{display:none}.stat-value{font-size:16px}.pagination{justify-content:center}.auth-header{padding:16px}.dialog-header,.sheet-header{padding-left:18px}.dialog-body,.sheet-body{padding-left:18px;padding-right:18px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
