:root{--shell-offline-color:#9ca3af;--shell-text-primary:var(--color-text-primary);--shell-text-secondary:var(--color-text-secondary);--shell-icon-color:var(--color-text-tertiary);color-scheme:dark;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--text-page-title:24px;--text-section-title:18px;--text-body:14px;--text-control:13px;--text-caption:12px;--leading-heading:1.3;--leading-body:1.5;--control-height:36px;--control-height-compact:32px;--radius-control:8px;--radius-panel:12px;--layout-page-gutter:24px;--layout-workspace-width:1120px;--layout-wide-width:1680px;--layout-section-nav-width:232px;--layout-section-gap:28px;--layout-settings-width:952px;--layout-reading-width:68ch;--layout-state-copy-width:440px;--layout-state-height:280px;--home-chat-page-gutter:clamp(16px,3vw,24px);--home-chat-actions-fade-in:80ms;--home-chat-actions-fade-out:320ms;--home-top-bar-peek-height:36px}:root[data-theme=light]{color-scheme:light;--color-hover:#eceff1;--color-pressed:#d9dee3;--color-selected:#e4e7ea;--color-on-selected:#17212b;--color-disabled:#7b8790;--color-tooltip:#fff;--color-danger-solid:#b3263b;--color-on-danger:#fff;--color-success-solid:#18723b;--color-on-success:#fff;--color-brand-panel:#141414;--color-on-brand-panel:#f0f0f0;--color-background:#fff;--color-surface:#fafafa;--color-surface-variant:#f0f0f0;--color-surface-muted:#f7f7f7;--color-border:#dedede;--color-surface-raised:#fff;--color-border-soft:#eaeaea;--color-text-primary:#11181c;--home-chat-response-text:var(--color-text-primary);--home-chat-activity-text:#737373;--color-text-secondary:#566470;--color-text-tertiary:#5c6873;--color-primary:#0a7ea4;--color-primary-text:#096a8c;--color-accent:#a84a35;--color-on-primary:#fff;--color-on-accent:#fff;--color-success:#18723b;--color-warning:#974708;--color-error:#b00020;--color-live:#15803d;--color-accent-protected:#5b3fb8;--color-progress:#5b3fb8;--chip-accent-person-self:var(--color-primary);--chip-accent-person-shared:#2563a6;--chip-accent-source:var(--color-text-secondary);--chip-text-person-self:var(--color-text-primary);--chip-text-person-shared:var(--color-text-primary);--chip-text-source:var(--color-text-primary);--chip-tint:16%;--chip-edge:45%;--button-primary-bg:#1c2328;--button-primary-bg-hover:#2b343b;--button-primary-fg:#fff;--button-secondary-bg:#fff;--color-scrim:rgba(0,0,0,.25);--home-chat-input-shadow:0 1px 2px rgba(17,24,28,.04),0 4px 14px rgba(17,24,28,.07);--home-chat-dock-shadow:0 -6px 20px rgba(17,24,28,.05);--home-chat-bottom-fade-start:color-mix(in srgb,var(--color-background) 8%,transparent);--home-chat-bottom-fade-end:color-mix(in srgb,var(--color-background) 96%,transparent);--home-chat-bottom-blur:7px;--home-chat-scroll-button-shadow:0 3px 12px rgba(17,24,28,.14);--home-chat-user-bubble-background:#f3f3f3;--home-chat-user-bubble-border:var(--color-border-soft);--home-chat-user-bubble-color:var(--color-text-primary);--home-chat-shimmer-base:color-mix(in srgb,var(--color-text-tertiary) 55%,var(--color-background));--home-chat-shimmer-peak:#05080a}:root[data-theme=dark]{--shell-offline-color:#ababab;--shell-text-primary:#e0e0e0;--shell-text-secondary:#bcbcbc;--shell-icon-color:#c6c6c6;color-scheme:dark;--color-hover:#2a2a2a;--color-pressed:#424242;--color-selected:#353535;--color-on-selected:#f5f5f5;--color-disabled:#8f8f8f;--color-tooltip:#2a2a2a;--color-danger-solid:#b3263b;--color-on-danger:#fff;--color-success-solid:#18723b;--color-on-success:#fff;--color-brand-panel:#0f0f0f;--color-on-brand-panel:#f0f0f0;--color-background:#121212;--color-surface:#171717;--color-surface-variant:#1c1c1c;--color-surface-muted:#1c1c1c;--color-border:#444;--color-surface-raised:#1d1d1d;--color-border-soft:#333;--color-text-primary:#ccc;--home-chat-response-text:#e2e2e2;--home-chat-activity-text:#929292;--color-text-secondary:#b7b7b7;--color-text-tertiary:#a6a6a6;--color-primary:#0a7ea4;--color-primary-text:#2ea4d0;--color-accent:#d9826f;--color-on-primary:#fff;--color-on-accent:#1c110d;--color-success:#75cc96;--color-warning:#ffae00;--color-error:#f28b9b;--color-live:#22c55e;--color-accent-protected:#a78bfa;--color-progress:#a78bfa;--chip-accent-person-self:var(--color-primary-text);--chip-accent-person-shared:#8cbcff;--chip-accent-source:var(--color-text-secondary);--chip-text-person-self:var(--chip-accent-person-self);--chip-text-person-shared:var(--chip-accent-person-shared);--chip-text-source:var(--chip-accent-source);--chip-tint:10%;--chip-edge:28%;--button-primary-bg:#dedede;--button-primary-bg-hover:#eee;--button-primary-fg:#121212;--button-secondary-bg:#242424;--color-scrim:rgba(0,0,0,.5);--home-chat-input-shadow:0 6px 24px color-mix(in srgb,#000 22%,transparent);--home-chat-dock-shadow:0 -20px 40px color-mix(in srgb,#000 45%,transparent);--home-chat-bottom-fade-start:color-mix(in srgb,var(--color-background) 12%,transparent);--home-chat-bottom-fade-end:color-mix(in srgb,var(--color-background) 94%,transparent);--home-chat-bottom-blur:9px;--home-chat-scroll-button-shadow:0 4px 16px rgba(0,0,0,.42);--home-chat-user-bubble-background:#262626;--home-chat-user-bubble-border:var(--color-border-soft);--home-chat-user-bubble-color:#e2e2e2;--home-chat-shimmer-base:color-mix(in srgb,var(--color-text-tertiary) 60%,var(--color-background));--home-chat-shimmer-peak:#eee}:root{--surface-hover:var(--color-hover);--surface-pressed:var(--color-pressed);--surface-selected:var(--color-selected);--text-on-selected:var(--color-on-selected);--border-interactive:var(--color-border);--border-selected:color-mix(in srgb,var(--color-on-selected) 28%,var(--color-selected));--focus-ring-color:var(--color-primary-text);--focus-ring:0 0 0 2px var(--color-surface),0 0 0 4px var(--focus-ring-color);--color-success-surface:color-mix(in srgb,var(--color-success) 12%,var(--color-surface));--color-success-border:color-mix(in srgb,var(--color-success) 45%,var(--color-border));--color-error-surface:color-mix(in srgb,var(--color-error) 12%,var(--color-surface));--color-error-border:color-mix(in srgb,var(--color-error) 45%,var(--color-border));--color-warning-surface:color-mix(in srgb,var(--color-warning) 12%,var(--color-surface));--color-warning-border:color-mix(in srgb,var(--color-warning) 45%,var(--color-border));--color-protected-surface:color-mix(in srgb,var(--color-accent-protected) 12%,var(--color-surface));--color-info:var(--color-primary-text);--color-info-surface:color-mix(in srgb,var(--color-info) 12%,var(--color-surface));--color-info-border:color-mix(in srgb,var(--color-info) 45%,var(--color-border));--shadow-color:#000;--shadow-popover:0 8px 24px color-mix(in srgb,var(--shadow-color) 22%,transparent);--shadow-dialog:0 16px 48px color-mix(in srgb,var(--shadow-color) 32%,transparent);--tooltip-background:var(--color-tooltip);--tooltip-foreground:var(--color-text-primary);--tooltip-border:var(--color-border-soft);--sidebar-selection-background:var(--surface-selected);--sidebar-selection-foreground:var(--text-on-selected);--button-radius:8px;--button-primary-bg-pressed:color-mix(in srgb,var(--button-primary-bg) 86%,var(--button-primary-fg));--button-secondary-bg-hover:var(--surface-hover);--button-secondary-bg-pressed:var(--surface-pressed);--button-secondary-border:var(--border-interactive);--button-secondary-fg:var(--color-text-primary);--button-ghost-fg:var(--color-text-secondary);--button-ghost-fg-hover:var(--color-text-primary);--button-ghost-bg-hover:var(--surface-hover);--button-on-bg:var(--surface-selected);--button-on-fg:var(--text-on-selected);--button-disabled-bg:var(--color-surface-variant);--button-disabled-fg:var(--color-disabled);--bg:var(--color-background);--fg:var(--color-text-primary);--muted:var(--color-text-tertiary);--link:var(--color-primary-text);--card-bg:var(--color-surface);--border:var(--color-border);--accent:var(--color-accent);--color-bg:var(--color-background);--color-bg-primary:var(--color-background);--color-bg-secondary:var(--color-surface);--color-bg-tertiary:var(--color-surface-variant);--color-bg-elevated:var(--color-surface-raised);--color-text:var(--color-text-primary);--color-text-muted:var(--color-text-tertiary);--text-muted:var(--color-text-tertiary);--color-link:var(--color-primary-text);--border-divider:var(--color-border-soft);--color-border-subtle:var(--color-border-soft);--color-danger:var(--color-error);--color-danger-text:var(--color-error);--color-danger-fg:var(--color-error);--color-warning-text:var(--color-warning);--color-positive:var(--color-success);--text-success:var(--color-success);--color-success-bg:var(--color-success-surface);--color-purple:var(--color-accent-protected);--color-accent-bg:color-mix(in srgb,var(--color-accent) 12%,var(--color-surface));--color-accent-fg:var(--color-accent);--color-accent-muted:var(--color-accent-bg);--color-primary-soft:var(--color-info-surface)}.home-ai-chat-reference{display:inline}.home-ai-chat-chip{display:inline;vertical-align:baseline;padding:1px 5px;border:0;border-radius:4px;background:color-mix(in srgb,var(--source-chip-accent,#10a37f) 16%,var(--color-surface));color:color-mix(in srgb,var(--source-chip-accent,#10a37f) 35%,var(--color-text-primary));font:inherit;font-size:.95em;line-height:inherit;cursor:pointer;text-align:left;box-decoration-break:clone;-webkit-box-decoration-break:clone;overflow-wrap:anywhere}.home-ai-chat-chip>svg{width:.85em;height:.85em;vertical-align:-.08em;margin-right:4px}.home-ai-chat-chip>svg:last-child{width:.75em;height:.75em;margin-right:0;margin-left:4px;opacity:.7}.home-ai-chat-chip>span{white-space:normal}.home-ai-chat-chip:hover{background:color-mix(in srgb,var(--source-chip-accent,#10a37f) 26%,var(--color-surface));border-color:var(--source-chip-accent,#10a37f)}.home-ai-chat-chip:focus-visible{outline:2px solid var(--source-chip-accent,#10a37f);outline-offset:3px}.home-ai-chat-preview{position:fixed;z-index:10000;display:flex;flex-direction:column;gap:9px;width:320px;max-width:calc(100vw - 24px);box-sizing:border-box;padding:16px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface,#181818);color:var(--color-text-primary);box-shadow:0 12px 36px #0004;font-size:12px;line-height:1.5;overflow-wrap:anywhere;pointer-events:auto;max-height:calc(100vh - 24px);overflow-y:auto}.home-ai-chat-preview strong{font-size:14px;font-weight:550}.home-ai-chat-host,.home-ai-chat-provider{color:var(--color-text-secondary)}.home-ai-chat-preview-action{padding-top:8px;border-top:1px solid var(--color-border);display:flex;align-items:center;justify-content:space-between;gap:12px}.home-ai-chat-preview-action a,.home-ai-chat-preview-action button{display:inline-flex;align-items:center;gap:5px;font:inherit;color:inherit}.home-ai-chat-preview-action button{padding:7px;border:1px solid var(--color-border);border-radius:6px;background:var(--surface-hover);cursor:pointer}.home-ai-chat-preview-action a{text-decoration:underline;text-underline-offset:3px}.home-ai-chat-excerpt{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.home-ai-chat-chip[data-kind=messages]{--source-chip-accent:#4389e8}.home-ai-chat-chip[data-kind=transcript]{--source-chip-accent:#a47be8}.home-ai-chat-chip>svg:first-child{color:#10a37f}.home-ai-chat-chip[data-kind=messages]>svg:first-child{color:#4389e8}.home-ai-chat-chip[data-kind=transcript]>svg:first-child{color:#a47be8}.home-chat-place{display:inline;padding:1px 4px;border:0;border-radius:4px;background:color-mix(in srgb,var(--color-primary) 10%,transparent);color:inherit;font:inherit;line-height:inherit;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;cursor:pointer;text-align:left;box-decoration-break:clone;-webkit-box-decoration-break:clone}.home-chat-place>svg{width:.85em;height:.85em;margin-right:3px;vertical-align:-.08em;color:var(--color-primary)}.home-chat-place:hover{background:color-mix(in srgb,var(--color-primary) 18%,transparent)}.home-chat-place:focus-visible{outline:none;box-shadow:var(--focus-ring)}.home-chat-place.is-icon{margin-left:4px;padding:1px 3px}.home-chat-place.is-icon>svg{margin-right:0}.home-chat-places{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px;font-size:.9em}.home-chat-places .home-chat-place{padding:2px 6px}.home-chat-written{align-items:center}.home-chat-written-label{color:var(--color-text-secondary);font-size:.95em}.home-chat-written .home-chat-place{background:color-mix(in srgb,var(--entry-kind,var(--color-primary)) 12%,transparent)}.home-chat-written .home-chat-place:hover{background:color-mix(in srgb,var(--entry-kind,var(--color-primary)) 22%,transparent)}.home-chat-written .home-chat-place>svg{color:var(--entry-kind,var(--color-primary))}*{box-sizing:border-box}body,html{padding:0;margin:0;height:100%;overflow:hidden;overscroll-behavior-y:none}body{font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,Apple Color Emoji,Segoe UI Emoji;background:var(--bg);color:var(--fg);line-height:1.5}h1,h2,h3,h4,h5,h6{font-weight:600}h1,h2{letter-spacing:.01em}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}.container{max-width:960px;margin:0 auto;padding:2rem}.edit-grant-granted-scopes-cq{width:100%;container-type:inline-size}.edit-grant-granted-scopes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column-gap:12px;column-gap:12px;grid-row-gap:4px;row-gap:4px;margin:0;padding:0;list-style:none}.edit-grant-granted-scopes-grid>li{font-size:12px;font-family:ui-monospace,monospace;min-width:0;overflow-wrap:anywhere;padding-left:14px;position:relative}.edit-grant-granted-scopes-grid>li:before{content:"•";position:absolute;left:0;color:var(--color-text-primary,var(--fg))}@container (min-width: 420px){.edit-grant-granted-scopes-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}:where(input,select,textarea){accent-color:var(--focus-ring-color)}:where(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--focus-ring-color);outline-offset:3px}::selection{background:var(--surface-selected);color:var(--text-on-selected)}