:root {
    color-scheme: light;
    --json-key: var(--primary);
    --json-string: var(--success);
    --json-number: var(--primary);
    --json-boolean: var(--text-secondary);
    --llm-metric-width: 9rem;
    --llm-product-summary-height: 8rem;
    --llm-date-width: 11rem;
    --llm-row-date-width: 8rem;
    --llm-token-width: 4rem;
    --llm-actions-width: 11rem;
    --llm-filter-min-width: 12rem;
    --llm-id-width: 10rem;
    --llm-row-height: 3.25rem;
    --ability-instructions-min-height: 22rem;
    --ability-card-min-width: 18rem;
    --product-prompt-editor-min-height: 16rem;
    --font-monospace: ui-monospace, monospace;
    --knowledge-instructions-min-height: 12rem;
    --knowledge-instructions-max-height: 24rem;
    --sandbox-messages-height: 45dvh;
    --sandbox-messages-min-height: 14rem;
    --sandbox-context-field-width: 14rem;
    --sandbox-thumbnail-size: 3rem;
    --sandbox-image-height: 22rem;
    --sandbox-audio-width: 18rem;
    --information-popover-width: 20rem;
    --information-trigger-size: 2rem;
    --dropdown-max-height: 14rem;
    --pagination-size-width: 5rem;
    --modal-content-width: 52rem;
    --plan-column-width: 12rem;
    --plan-label-width: 15rem;
    --plan-mobile-column-width: 10rem;
    --plan-mobile-label-width: 9rem;
    --calendar-width: 20rem;
    --editor-width: 54rem;
    --disabled-opacity: 0.6;
    --line-relaxed: 1.8;
    --profile-summary-min-width: 14rem;
    --skeleton-line-height: 0.875rem;
    --skeleton-cycle: 1.4s;
    --loader-emblem-width: 5rem;
    --loader-emblem-height: 5.6rem;
    --loader-symbol-width: 3rem;
    --loader-symbol-height: 3.25rem;
    --loader-track-width: 1px;
    --loader-trace-width: 1.6px;
    --loader-trace-dash: 18 82;
    --loader-trace-offset: -100;
    --loader-cycle: 2.6s;
    --loader-symbol-scale: 1.04;
    --loader-dot-size: 0.3125rem;
    --loader-dot-cycle: 1.4s;
    --loader-dot-delay: 0.16s;
    --loader-dot-rise: -0.1875rem;
    --loader-muted-opacity: 0.25;
    --textarea-min-height: 6rem;
    --textarea-max-height: 12rem;
    --control-height-small: 2rem;
    --motion-reduced-duration: 0.01ms;
    --focus-forced-background: Highlight;
    --focus-forced-text: HighlightText;
    --font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    --font-xs: 0.75rem;
    --font-sm: 0.8125rem;
    --font-base: 0.875rem;
    --font-md: 1rem;
    --font-lg: clamp(1rem, calc(0.958333rem + 0.208333vw), 1.125rem);
    --font-xl: clamp(1.125rem, calc(1.041667rem + 0.416667vw), 1.375rem);
    --font-2xl: clamp(1.25rem, calc(1.166667rem + 0.416667vw), 1.5rem);
    --font-3xl: clamp(1.75rem, calc(1.583333rem + 0.833333vw), 2.25rem);
    --line-height: 1.6;
    --line-heading: 1.18;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --tracking-tight: -0.035em;
    --tracking-label: 0.11em;
    --extension-context-width: 52rem;
    --extension-context-card-width: 16rem;
    --loading-spin-duration: 1s;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-pill: 999px;
    --border-width: 1px;
    --sidebar-width: 16rem;
    --header-height: 3.75rem;
    --content-width: 78rem;
    --form-width: 29rem;
    --form-field-min-width: 16rem;
    --product-card-min-width: 16rem;
    --scope-card-min-width: 16rem;
    --scope-list-min-width: 20rem;
    --scope-description-height: 5rem;
    --page-header-icon-size: 3rem;
    --filter-panel-width: 26rem;
    --person-name-column-width: 12rem;
    --person-actions-column-width: 9rem;
    --table-actions-column-width: 7rem;
    --table-name-column-width: 10rem;
    --table-mobile-name-width: 7rem;
    --table-row-line-height: 1.35;
    --relationship-step-width: 12rem;
    --relationship-highlight-width: 0.1875rem;
    --auth-compact-width: 28rem;
    --auth-wide-width: 55rem;
    --auth-card-padding: clamp(1.5rem, 3vw, 3rem);
    --auth-card-radius: 1.5rem;
    --auth-card-shadow: 0 12px 48px #172c4608;
    --auth-header-gap: clamp(2rem, 4vw, 3rem);
    --auth-column-gap: clamp(2rem, 4vw, 4rem);
    --auth-title-size: clamp(1.5rem, calc(1.166667rem + 1.041667vw), 2rem);
    --auth-description-width: 16rem;
    --auth-action-width: 8rem;
    --auth-control-height: 3rem;
    --auth-control-height-compact: 2.75rem;
    --public-form-width: 25rem;
    --header-name-width: 14rem;
    --verification-digit-height: 3rem;
    --verification-digit-size: clamp(1.25rem, calc(1.166667rem + 0.416667vw), 1.5rem);
    --dialog-width: 38rem;
    --brand-size: 2rem;
    --control-height: 2.5rem;
    --avatar-size: 2rem;
    --avatar-large: 4rem;
    --icon-size: 1.25rem;
    --transition: 160ms ease;
    --z-sticky: 1;
    --z-header: 20;
    --z-sidebar: 30;
    --z-overlay: 40;
    --z-dialog: 50;
    --z-notification: 100;
    --background: #f6f8fb;
    --surface: #ffffff;
    --surface-raised: #ffffff;
    --surface-muted: #f0f3f8;
    --surface-hover: #eaf0f7;
    --text: #192a41;
    --text-secondary: #63738a;
    --text-muted: #748299;
    --border: #e4e9f0;
    --accent: #1767df;
    --accent-hover: #0f54bd;
    --accent-soft: #eaf2ff;
    --accent-ink: #155bc2;
    --on-accent: #ffffff;
    --success: #187951;
    --success-soft: #e6f5ed;
    --resource-lock-gold: #946c10;
    --warning: #936013;
    --warning-soft: #fff5dc;
    --danger: #bf3447;
    --danger-soft: #fff0f1;
    --brand-ink: #183653;
    --focus-background: #dceaff;
    --overlay: #10243b80;
    --shadow-sm: 0 2px 6px #172c4610;
    --shadow-lg: 0 20px 70px #14294524;
}

:root[data-theme="dark"] {
    --auth-card-shadow: 0 12px 48px #00000020;
    color-scheme: dark;
    --background: #10141d;
    --surface: #191f2b;
    --surface-raised: #202838;
    --surface-muted: #222b3b;
    --surface-hover: #2b3548;
    --text: #eef3fb;
    --text-secondary: #a0aec3;
    --text-muted: #8291a9;
    --border: #2b3547;
    --accent: #75a9ff;
    --accent-hover: #99bfff;
    --accent-soft: #233957;
    --accent-ink: #a7c8ff;
    --on-accent: #102442;
    --success: #7bd9b0;
    --success-soft: #193b32;
    --resource-lock-gold: #e5bd59;
    --warning: #f1cd81;
    --warning-soft: #403624;
    --danger: #ff9aaa;
    --danger-soft: #422733;
    --brand-ink: #e2ebf6;
    --focus-background: #334867;
    --overlay: #050a14b8;
    --shadow-sm: 0 2px 6px #00000020;
    --shadow-lg: 0 20px 70px #00000040;
}
