/*
  TRA theme tokens v1.0 (2026-09-24)
  Source of truth: P:\Claude\Web Sites\THEME.md
  Light values were pixel-sampled from Theme/reference/m365-plan-finder-reference.png. Do not change them.
  Copy this file into a project, or paste this block at the top of its styles.css.
  Set <html data-theme="light|dark"> before first paint (see THEME.md, "Theme switching").
*/

:root,
[data-theme="light"] {
  color-scheme: light;

  /* Brand bar (app header) */
  --brand-bar: #14817a;                         /* header background, measured #147f79 to #14837b */
  --brand-bar-hover: rgb(255 255 255 / 12%);    /* hover fill for controls sitting on the bar */
  --brand-bar-control: rgb(255 255 255 / 16%);  /* search field + badge fill on the bar (measured #3a7f84 over teal) */
  --brand-bar-control-border: rgb(255 255 255 / 45%);
  --brand-bar-text: #ffffff;
  --brand-bar-text-muted: rgb(255 255 255 / 78%);

  /* Accent (teal) */
  --accent: #14a38c;            /* primary button fill, selected-item left edge, active indicators (measured) */
  --accent-hover: #11907b;
  --accent-active: #0e7c69;
  --accent-text: #0e7c69;       /* teal used AS TEXT on light surfaces (5.2:1 on white) */
  --accent-soft: #e6f4f1;       /* selected list row background (measured) */
  --accent-soft-strong: #def2ef;/* "Included" chip background (measured) */
  --accent-tint: #f3faf8;       /* group bands, code chips, count badges (measured) */
  --text-on-accent: #ffffff;

  /* Surfaces */
  --bg: #ffffff;                /* canvas and main detail column */
  --surface: #ffffff;           /* list column, right panel, cards */
  --surface-rail: #fafafa;      /* left navigation rail (measured) */
  --surface-subtle: #f3faf8;    /* collapsible group header bands (measured) */
  --surface-raised: #ffffff;    /* menus, dialogs, popovers */
  --surface-overlay: rgb(11 18 32 / 45%);

  /* Text */
  --text: #0b1220;              /* titles, row labels (measured) */
  --text-secondary: #33465a;    /* body, subtitles, chip text, breadcrumbs (measured) */
  --text-muted: #5f7284;        /* meta, counts, chevrons, helper copy (measured) */
  --text-placeholder: #757575;  /* measured */
  --text-disabled: #9aa6ae;

  /* Borders */
  --border: #d2e7e2;            /* row dividers, rail/list divider (measured, teal-tinted) */
  --border-strong: #c8dcd7;     /* list/detail column divider (measured) */
  --border-neutral: #c7ccd1;    /* outline buttons, filter pills */
  --border-input: #b5b7bc;      /* text inputs, selects (measured on the outline button) */
  --border-input-hover: #8e969e;

  /* Status */
  --success-text: #0e7c69; --success-bg: #def2ef; --success-border: #b9e2da;   /* = "Included" chip */
  --warning-text: #8a5a00; --warning-bg: #fff4ce; --warning-border: #f1d98a;   /* = "Partial" chip */
  --info-text: #0f5f9f;    --info-bg: #e7f2fc;   --info-border: #b9d8f3;       /* = "Can be added" chip */
  --danger-text: #b42318;  --danger-bg: #fde7e9; --danger-border: #f4b8bd;
  --neutral-text: #33465a; --neutral-bg: #eef1f4; --neutral-border: #d1d8de;   /* = "Read only" chip */

  /* Code / monospace chips */
  --code-bg: #f3faf8; --code-text: #33465a; --code-border: #d2e7e2;

  /* Focus and elevation */
  --focus-ring: #14a38c;        /* on the brand bar use #ffffff instead */
  --shadow-menu: 0 4px 16px rgb(11 18 32 / 14%), 0 0 0 1px #d2e7e2;
  --shadow-dialog: 0 16px 48px rgb(11 18 32 / 22%);
  --scrollbar-thumb: #8b8b8b; --scrollbar-track: #fcfcfc;

  /* Typography */
  --font-ui: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
  --fs-2xs: 10px; --fs-xs: 11px; --fs-sm: 12px; --fs-md: 13px; --fs-lg: 14px; --fs-xl: 16px; --fs-2xl: 18px; --fs-3xl: 20px;
  --lh-tight: 1.2; --lh-normal: 1.45;
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700;

  /* Sizing and spacing (4px grid) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px;
  --header-h: 48px; --rail-w: 220px; --list-w: 340px; --panel-w: 400px;
  --control-h: 32px;            /* buttons, inputs, selects */
  --control-h-sm: 26px;         /* pills, small buttons */
  --row-h: 36px;                /* nav items, compact list rows */
  --radius-xs: 3px; --radius-sm: 4px; --radius-md: 6px; --radius-lg: 8px; --radius-pill: 999px;
  --motion-fast: 120ms; --motion-base: 180ms;
}

[data-theme="dark"] {
  color-scheme: dark;
  --brand-bar: #0e6a63;
  --brand-bar-hover: rgb(255 255 255 / 10%);
  --brand-bar-control: rgb(255 255 255 / 12%);
  --brand-bar-control-border: rgb(255 255 255 / 35%);
  --brand-bar-text: #ffffff;
  --brand-bar-text-muted: rgb(255 255 255 / 78%);   /* v1.0: was 72%; 78% reaches 4.5:1 on the bar */

  --accent: #1aa88f;
  --accent-hover: #24b89d;
  --accent-active: #15927c;
  --accent-text: #5ad2bb;
  --accent-soft: #14302c;
  --accent-soft-strong: #173a35;
  --accent-tint: #182124;
  --text-on-accent: #0b1220;    /* v1.0: was #ffffff (2.98:1); dark text reads 4.8:1 or better on every accent state */

  --bg: #111618;
  --surface: #161c1e;
  --surface-rail: #131a1c;
  --surface-subtle: #1a2325;
  --surface-raised: #1e2729;
  --surface-overlay: rgb(0 0 0 / 55%);

  --text: #e9eef0;
  --text-secondary: #b6c2c7;
  --text-muted: #8a989e;
  --text-placeholder: #89959b;  /* v1.0: was #75838a; now 4.5:1 on every surface */
  --text-disabled: #5c6a70;

  --border: #263237;
  --border-strong: #34444a;
  --border-neutral: #3a474d;
  --border-input: #60737c;      /* v1.0: was #4a585f; field boundary now 3:1 on every surface */
  --border-input-hover: #798b93;/* v1.0: was #64747c; kept one clear step above --border-input */

  --success-text: #5fd3b0; --success-bg: #123c33; --success-border: #1d5548;
  --warning-text: #f2c55c; --warning-bg: #3d2f0f; --warning-border: #5a4614;
  --info-text: #7cc0f5;    --info-bg: #12304a;   --info-border: #1e4a6e;
  --danger-text: #ff8f85;  --danger-bg: #421d1b; --danger-border: #67302c;
  --neutral-text: #b6c2c7; --neutral-bg: #222c30; --neutral-border: #34444a;

  --code-bg: #1f2a2e; --code-text: #c5d1d6; --code-border: #34444a;

  --focus-ring: #5ad2bb;
  --shadow-menu: 0 4px 16px rgb(0 0 0 / 50%), 0 0 0 1px #34444a;
  --shadow-dialog: 0 16px 48px rgb(0 0 0 / 60%);
  --scrollbar-thumb: #4a585f; --scrollbar-track: #161c1e;
}

/* Glossary shell. The table carries the page; borders separate work areas. */
* { box-sizing: border-box; }
html { font-family: var(--font-ui); font-size: var(--fs-md); background: var(--bg); color: var(--text); }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.skip-link { position: fixed; top: -60px; left: 12px; z-index: 30; padding: 8px 12px; background: var(--accent-active); color: #fff; text-decoration: none; border-radius: var(--radius-sm); }
.skip-link:focus { top: 8px; }

.app-header { position: sticky; top: 0; z-index: 12; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 15px 0 12px; background: var(--brand-bar); color: var(--brand-bar-text); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }
.brand-icon { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--brand-bar-control-border); border-radius: var(--radius-sm); }
.brand-icon .icon { width: 17px; height: 17px; }
.brand-name { font-size: 15px; font-weight: var(--fw-semibold); }
.brand-divider { width: 1px; height: 18px; background: var(--brand-bar-control-border); margin: 0 3px; }
.brand-description { font-size: var(--fs-sm); color: var(--brand-bar-text); }
.header-button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: var(--radius-sm); color: var(--brand-bar-text); background: transparent; }
.header-button:hover { background: var(--brand-bar-hover); }
.header-button:focus-visible { outline-color: var(--brand-bar-text); }

.shell { display: grid; grid-template-columns: 208px minmax(0, 1fr); height: calc(100dvh - var(--header-h)); min-height: 440px; }
.rail { display: flex; flex-direction: column; min-height: 0; background: var(--surface-rail); border-right: 1px solid var(--border); }
.rail-heading { padding: 19px 17px 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
#category-nav { display: grid; align-content: start; gap: 2px; min-height: 0; overflow-y: auto; padding: 0 8px 8px; }
.category-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 38px; padding: 0 11px; border: 0; border-left: 3px solid transparent; border-radius: var(--radius-xs); color: var(--text-secondary); background: transparent; text-align: left; font-size: var(--fs-md); }
.category-item:hover { background: var(--accent-tint); }
.category-item[aria-pressed="true"] { border-left-color: var(--accent); background: var(--surface); color: var(--text); font-weight: var(--fw-semibold); }
.category-count { color: var(--text-muted); font-size: var(--fs-xs); font-weight: var(--fw-regular); font-variant-numeric: tabular-nums; }
.rail-note { margin-top: auto; padding: 16px 17px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-normal); }
.rail-note p { margin: 0 0 11px; }
.rail-note p:last-child { margin: 0; }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 0; min-width: 0; min-height: 0; }
.workspace[data-open="true"] { grid-template-columns: minmax(0, 1fr) minmax(360px, 390px); }
.main-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--bg); }
.page-heading { display: flex; align-items: center; min-height: 89px; padding: 16px 24px; border-bottom: 1px solid var(--border); }
.page-heading h1 { margin: 0 0 4px; font-size: var(--fs-3xl); line-height: var(--lh-tight); font-weight: var(--fw-semibold); }
.page-heading p { margin: 0; color: var(--text-secondary); font-size: var(--fs-md); line-height: var(--lh-normal); }
.toolbar { display: flex; align-items: end; gap: 16px; min-height: 84px; padding: 13px 24px 15px; border-bottom: 1px solid var(--border); }
.search-group { display: flex; flex-direction: column; gap: 5px; width: min(100%, 420px); }
.search-group label, .mobile-filter label, .vendor-filter label { color: var(--text-secondary); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.search-box { display: flex; align-items: center; height: var(--control-h); border: 1px solid var(--border-input); border-radius: var(--radius-sm); background: var(--surface); }
.search-box:hover { border-color: var(--border-input-hover); }
.search-box:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
.search-box > .icon { width: 16px; height: 16px; margin-left: 9px; color: var(--text-muted); }
.search-box input { width: 100%; height: 100%; min-width: 0; padding: 0 8px; border: 0; outline: none; background: transparent; color: var(--text); font-size: var(--fs-md); }
.search-box input::placeholder { color: var(--text-placeholder); }
.search-box input::-webkit-search-cancel-button { display: none; }
.clear-button { display: grid; place-items: center; width: 28px; height: 28px; margin-right: 2px; padding: 0; border: 0; border-radius: var(--radius-xs); background: transparent; color: var(--text-secondary); }
.clear-button:hover { background: var(--accent-tint); }
.clear-button .icon { width: 14px; height: 14px; }
.search-hint { display: none; }
.mobile-filter { display: none; flex-direction: column; gap: 5px; }
.vendor-filter { display: flex; flex-direction: column; gap: 5px; min-width: 135px; }
.mobile-filter select, .vendor-filter select { height: var(--control-h); max-width: 100%; padding: 0 8px; border: 1px solid var(--border-input); border-radius: var(--radius-sm); color: var(--text); background: var(--surface); }
.sort-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: var(--control-h); margin-left: auto; padding: 0 10px; border: 1px solid var(--border-input); border-radius: var(--radius-sm); background: var(--surface); color: var(--text-secondary); white-space: nowrap; }
.sort-button:hover { border-color: var(--border-input-hover); background: var(--accent-tint); }
.sort-button .icon { width: 15px; height: 15px; }
.alphabet-bar { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 9px 24px; border-bottom: 1px solid var(--border); background: var(--surface); }
.alphabet-title { flex: 0 0 auto; color: var(--text-secondary); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.alphabet { display: flex; gap: 0; min-width: 0; flex-wrap: wrap; }
.letter-button { flex: 0 0 auto; min-width: 20px; height: 28px; padding: 0 3px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-secondary); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.letter-button:hover { background: var(--accent-tint); color: var(--accent-text); }
.letter-button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-text); }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 43px; padding: 0 24px; border-bottom: 1px solid var(--border); }
.result-bar h2 { margin: 0; font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-secondary); }
#results { margin-left: 7px; font-weight: var(--fw-regular); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.result-help { color: var(--text-muted); font-size: var(--fs-sm); }
.reset-filters { margin-left: auto; padding: 5px 7px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--accent-text); font-size: var(--fs-sm); font-weight: var(--fw-semibold); white-space: nowrap; }
.reset-filters:hover { background: var(--accent-tint); text-decoration: underline; }
.table-wrap { min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
th { position: sticky; top: 0; z-index: 1; height: 35px; padding: 0 14px; border-bottom: 1px solid var(--border-strong); background: var(--surface-subtle); color: var(--text-secondary); font-size: var(--fs-xs); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .035em; }
th:nth-child(1) { width: 22%; padding-left: 24px; }
th:nth-child(2) { width: 33%; }
th:nth-child(3) { width: 29%; }
th:nth-child(4) { width: 16%; }
td { height: 67px; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-size: var(--fs-md); line-height: 1.35; vertical-align: middle; }
td:first-child { padding-left: 24px; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: var(--accent-tint); }
tbody tr.is-selected { background: var(--accent-soft); box-shadow: inset 3px 0 var(--accent); }
.term-link { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: var(--text); font-size: var(--fs-lg); font-weight: var(--fw-semibold); line-height: 1.25; text-align: left; }
.term-link:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.term-alias { display: block; margin-top: 3px; color: var(--text-muted); font-size: var(--fs-sm); }
.vendor-label { display: block; margin-top: 3px; color: var(--accent-text); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.is-selected .term-alias { color: var(--text-secondary); }
.mobile-area, .mobile-locations { display: none; }
.meaning-cell { color: var(--text-secondary); }
.where-cell { padding-top: 8px; padding-bottom: 8px; }
.location-tag { display: inline-block; max-width: 100%; margin: 2px 5px 2px 0; padding: 3px 7px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--code-bg); color: var(--code-text); font-size: var(--fs-xs); line-height: 1.25; white-space: normal; }
.area-cell { color: var(--text-muted); font-size: var(--fs-sm); }
.empty-state { padding: 50px 24px; }
.empty-state h3 { margin: 0 0 5px; font-size: var(--fs-xl); font-weight: var(--fw-semibold); }
.empty-state p, .noscript { margin: 0; color: var(--text-secondary); line-height: var(--lh-normal); }
.noscript { padding: 20px 24px; }

.term-blade { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; border-left: 1px solid var(--border-strong); background: var(--surface); box-shadow: none; }
.blade-head { display: flex; justify-content: space-between; gap: 14px; padding: 19px 18px 16px 21px; border-bottom: 1px solid var(--border); }
.blade-head-text { min-width: 0; }
.blade-category { display: block; margin-bottom: 7px; color: var(--text-muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; font-weight: var(--fw-semibold); }
.blade-head h2 { margin: 0; font-size: var(--fs-3xl); line-height: 1.22; font-weight: var(--fw-semibold); overflow-wrap: anywhere; }
.blade-alias { margin: 5px 0 0; color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-normal); }
.blade-alias:empty { display: none; }
.close-button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-secondary); }
.close-button:hover { background: var(--accent-tint); }
.close-button .icon { width: 16px; height: 16px; }
.blade-body { min-height: 0; overflow: auto; padding: 20px 21px 28px; scrollbar-width: thin; scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track); }
.blade-summary { margin: 0 0 20px; color: var(--text); font-size: var(--fs-lg); font-weight: var(--fw-medium); line-height: 1.5; }
.detail-section { padding: 16px 0; border-top: 1px solid var(--border); }
.detail-section h3 { margin: 0 0 8px; color: var(--text-secondary); font-size: var(--fs-xs); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .04em; }
.detail-section p { margin: 0; color: var(--text-secondary); font-size: var(--fs-md); line-height: 1.55; }
.blade-locations { display: flex; flex-wrap: wrap; gap: 2px; }
.blade-locations .location-tag { font-size: var(--fs-sm); }
.source-list { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: var(--text-secondary); font-size: var(--fs-sm); line-height: 1.45; }
.source-list a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.source-list a:hover { text-decoration-thickness: 2px; }
.blade-backdrop { display: none; }

@media (max-width: 1349px) {
  .workspace, .workspace[data-open="true"] { display: block; }
  .term-blade { position: fixed; z-index: 11; top: var(--header-h); right: 0; bottom: 0; width: min(420px, 100vw); box-shadow: var(--shadow-dialog); }
  .blade-backdrop:not([hidden]) { display: block; position: fixed; z-index: 10; inset: var(--header-h) 0 0; background: var(--surface-overlay); }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 178px minmax(0, 1fr); }
  .rail-note { display: none; }
  th:nth-child(3), td:nth-child(3) { display: none; }
  .mobile-locations { display: block; margin-top: 5px; }
  th:nth-child(1) { width: 31%; }
  th:nth-child(2) { width: 49%; }
  th:nth-child(4) { width: 20%; }
}
@media (max-width: 700px) {
  .shell { display: block; height: auto; min-height: calc(100dvh - var(--header-h)); }
  .rail { display: none; }
  .main-panel { min-height: calc(100dvh - var(--header-h)); }
  .page-heading { min-height: 82px; padding: 15px 16px; }
  .page-heading h1 { font-size: var(--fs-2xl); }
  .page-heading p { font-size: var(--fs-sm); }
  .toolbar { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .search-group { flex: 1 1 100%; width: 100%; }
  .search-box, .mobile-filter select, .vendor-filter select, .sort-button { height: 40px; }
  .mobile-filter, .vendor-filter { display: flex; flex: 1 1 100px; min-width: 0; }
  .mobile-filter select, .vendor-filter select { width: 100%; }
  .sort-button { align-self: end; }
  .alphabet-bar { display: block; padding: 9px 16px; }
  .alphabet-title { display: block; margin-bottom: 5px; }
  .result-bar { padding: 0 16px; }
  .result-help { display: none; }
  .table-wrap { overflow: visible; }
  th:nth-child(4), td:nth-child(4) { display: none; }
  .mobile-area { display: block; margin-top: 4px; color: var(--text-muted); font-size: var(--fs-xs); }
  .is-selected .mobile-area { color: var(--text-secondary); }
  th:nth-child(1) { width: 43%; padding-left: 16px; }
  th:nth-child(2) { width: 57%; }
  td { height: auto; min-height: 64px; padding: 10px 11px; }
  td:first-child { padding-left: 16px; }
  .term-link { font-size: var(--fs-md); }
  .meaning-cell { font-size: var(--fs-sm); }
  .term-blade { width: 100%; }
  .blade-head, .blade-body { padding-left: 17px; padding-right: 17px; }
  .close-button { width: 40px; height: 40px; }
  .brand-description { display: none; }
  .brand-divider { display: none; }
  .header-button { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
  th:nth-child(1) { width: 46%; }
  th:nth-child(2) { width: 54%; }
  .search-box input::placeholder { font-size: var(--fs-sm); }
}
@media (prefers-reduced-motion: no-preference) {
  .category-item, .term-link, .header-button, .sort-button, .close-button, .letter-button { transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, border-color var(--motion-fast) ease; }
}
@media (forced-colors: active) {
  .category-item[aria-pressed="true"], tbody tr.is-selected { outline: 2px solid Highlight; outline-offset: -2px; }
  .term-blade { border-left: 1px solid CanvasText; }
}
@media (prefers-contrast: more) {
  :focus-visible, .search-box:focus-within { outline-color: var(--accent-text); }
  .search-box, .mobile-filter select, .vendor-filter select, .sort-button { border-color: var(--text-muted); }
}
@media print {
  :root, [data-theme] {
    color-scheme: light;
    --bg: #ffffff; --surface: #ffffff; --surface-subtle: #f3faf8;
    --text: #0b1220; --text-secondary: #33465a; --text-muted: #5f7284;
    --border: #d2e7e2; --border-strong: #c8dcd7;
    --code-bg: #f3faf8; --code-text: #33465a; --code-border: #d2e7e2;
  }
  .app-header, .rail, .toolbar, .alphabet-bar, .term-blade, .blade-backdrop, .result-help, .reset-filters { display: none !important; }
  .shell, .workspace { display: block; height: auto; }
  .main-panel { display: block; }
  .table-wrap { overflow: visible; }
  th { position: static; }
  tr { break-inside: avoid; }
}
