/* Glacier's three faces, served from this origin (SIL Open Font License; each family's OFL.txt sits beside its files
   in /static/fonts/). Newsreader sets titles and the words a person reads, Instrument Sans everything they operate,
   and JetBrains Mono times. Latin and Latin Extended subsets only; a page loads the subset its text needs. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader/newsreader-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader/newsreader-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader/newsreader-latin-ext-opsz-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader/newsreader-latin-opsz-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans/instrument-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans/instrument-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono/jetbrains-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* BEGIN generated by scripts/generate_design_tokens.ts from design/tokens/tokens.json. Do not edit. */

:root {
  --color-ground-canvas: #ffffff;
  --color-ground-list: #f3f7f7;
  --color-ground-sidebar: #ebf1f1;
  --color-ground-raised: #ffffff;
  --color-ground-rail: #f7fafa;
  --color-ground-field: #eaf1f1;
  --color-ground-selected: #dce8e6;
  --color-ground-accent-soft: #dff0eb;
  --color-ground-frost: #eaf4f7;
  --color-ground-frost-strong: #d6eaf1;
  --color-ground-attention-soft: #faf2e3;
  --color-ink-primary: #0e1e21;
  --color-ink-secondary: #42585b;
  --color-ink-tertiary: #5c7073;
  --color-ink-quaternary: rgb(14 30 33 / 0.16);
  --color-line-hairline: rgb(14 30 33 / 0.12);
  --color-line-strong: rgb(14 30 33 / 0.28);
  --color-line-control: #75898b;
  --color-fill-hover: rgb(14 30 33 / 0.04);
  --color-fill-pressed: rgb(14 30 33 / 0.08);
  --color-fill-selected-inactive: rgb(14 30 33 / 0.06);
  --color-accent: #0e6b5c;
  --color-accent-contrast: #ffffff;
  --color-recording: #d63b3b;
  --color-health-good: #13805f;
  --color-health-degraded: #8a5a0b;
  --color-health-failed: #9d445d;
  --color-summary-decided: #547133;
  --color-summary-todo: #7f6117;
  --color-summary-open: #56619c;
  --color-summary-proposed: #77568f;
  --color-speaker-1: #605ba2;
  --color-speaker-2: #836000;
  --color-speaker-3: #8c4c7f;
  --color-speaker-4: #517227;
  --color-speaker-5: #424b8e;
  --color-speaker-6: #5c5500;
  --color-speaker-7: #437445;
  --color-speaker-8: #8a5072;
  --color-speaker-9: #6a5b94;
  --color-speaker-10: #795689;
  --color-speaker-11: #845e22;
  --color-speaker-12: #5f6d2e;
  --color-speaker-13: #52639a;
  --color-speaker-14: #805382;
  --color-speaker-15: #76651f;
  --color-speaker-16: #4f713b;
  --color-speaker-17: #72588f;
  --color-speaker-18: #885176;
  --color-speaker-19: #5e686d;
  --color-tag-red: #a04f3c;
  --color-tag-orange: #9a640e;
  --color-tag-yellow: #5f7323;
  --color-tag-green: #0e6b5c;
  --color-tag-blue: #2f7590;
  --color-tag-purple: #7a5a8c;
  --color-tag-none: rgb(14 30 33 / 0.3);
  --color-accent-text: #0b5e50;
  --color-ai: #2f7590;
  --color-attention: #8a5a0b;
  --shadow-tint: #0e1e21;
  --font-family-reading: "Newsreader", ui-serif, "Georgia", "Times New Roman", serif;
  --font-family-interface: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --font-family-time: "JetBrains Mono", ui-monospace, "SF Mono", "Menlo", monospace;
  --type-display-font: 600 2rem/2.25rem var(--font-family-interface);
  --type-display-tracking: -0.02em;
  --type-display-numerals: proportional-nums;
  --type-title-font: 600 1.5rem/1.875rem var(--font-family-interface);
  --type-title-tracking: -0.02em;
  --type-title-numerals: proportional-nums;
  --type-heading-font: 600 1.125rem/1.5rem var(--font-family-interface);
  --type-heading-tracking: -0.01em;
  --type-heading-numerals: proportional-nums;
  --type-section-font: 600 0.75rem/1rem var(--font-family-interface);
  --type-section-tracking: 0em;
  --type-section-numerals: proportional-nums;
  --type-reading-font: 400 1rem/1.5625rem var(--font-family-reading);
  --type-reading-tracking: 0em;
  --type-reading-numerals: proportional-nums;
  --type-transcript-font: 400 0.875rem/1.3125rem var(--font-family-interface);
  --type-transcript-tracking: 0em;
  --type-transcript-numerals: proportional-nums;
  --type-interface-font: 400 0.875rem/1.3125rem var(--font-family-interface);
  --type-interface-tracking: 0em;
  --type-interface-numerals: proportional-nums;
  --type-list-title-font: 600 0.875rem/1.3125rem var(--font-family-interface);
  --type-list-title-tracking: 0em;
  --type-list-title-numerals: proportional-nums;
  --type-label-font: 600 0.75rem/1rem var(--font-family-interface);
  --type-label-tracking: 0em;
  --type-label-numerals: proportional-nums;
  --type-byline-font: 400 0.7813rem/1.125rem var(--font-family-interface);
  --type-byline-tracking: 0em;
  --type-byline-numerals: proportional-nums;
  --type-metadata-font: 400 0.7813rem/1.125rem var(--font-family-interface);
  --type-metadata-tracking: 0em;
  --type-metadata-numerals: proportional-nums;
  --type-time-font: 400 0.75rem/1rem var(--font-family-time);
  --type-time-tracking: 0em;
  --type-time-numerals: tabular-nums;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --space-huge: 48px;
  --space-giant: 64px;
  --radius-row: 8px;
  --radius-card: 12px;
  --radius-pill: 999px;
  --radius-chip: 18px;
  --radius-widget: 22px;
  --motion-duration-fast: 200ms;
  --motion-duration-ink: 200ms;
  --motion-duration-focus: 300ms;
  --motion-duration-breathe: 2600ms;
  --motion-easing-ink: cubic-bezier(0.2, 0.7, 0.2, 1);
  --size-window-expanded: 1180px;
  --size-window-regular: 820px;
  --size-window-compact-height: 620px;
  --size-window-phone: 520px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-ground-canvas: #10191c;
    --color-ground-list: #0b1315;
    --color-ground-sidebar: #091012;
    --color-ground-raised: #172226;
    --color-ground-rail: #0e171a;
    --color-ground-field: #142024;
    --color-ground-selected: #1a2b2d;
    --color-ground-accent-soft: #12302b;
    --color-ground-frost: #12252d;
    --color-ground-frost-strong: #193440;
    --color-ground-attention-soft: #2b2414;
    --color-ink-primary: #e2eeee;
    --color-ink-secondary: #a0b5b6;
    --color-ink-tertiary: #7a8f91;
    --color-ink-quaternary: rgb(226 238 238 / 0.16);
    --color-line-hairline: rgb(226 238 238 / 0.12);
    --color-line-strong: rgb(226 238 238 / 0.28);
    --color-line-control: #587074;
    --color-fill-hover: rgb(226 238 238 / 0.06);
    --color-fill-pressed: rgb(226 238 238 / 0.08);
    --color-fill-selected-inactive: rgb(226 238 238 / 0.06);
    --color-accent: #53c4a8;
    --color-accent-contrast: #04201a;
    --color-recording: #ff6a6a;
    --color-health-good: #4fd1a0;
    --color-health-degraded: #e3b355;
    --color-health-failed: #f190a7;
    --color-summary-decided: #94b474;
    --color-summary-todo: #c3a35f;
    --color-summary-open: #96a3e4;
    --color-summary-proposed: #ba97d5;
    --color-speaker-1: #a09eea;
    --color-speaker-2: #c7a250;
    --color-speaker-3: #d38dc3;
    --color-speaker-4: #91b66a;
    --color-speaker-5: #7f8cd5;
    --color-speaker-6: #9c963e;
    --color-speaker-7: #84b785;
    --color-speaker-8: #d191b5;
    --color-speaker-9: #ab9ddb;
    --color-speaker-10: #bd97cf;
    --color-speaker-11: #c9a066;
    --color-speaker-12: #a0b06f;
    --color-speaker-13: #91a5e1;
    --color-speaker-14: #c594c7;
    --color-speaker-15: #b9a764;
    --color-speaker-16: #8fb57b;
    --color-speaker-17: #b599d6;
    --color-speaker-18: #ce92ba;
    --color-speaker-19: #9faaaf;
    --color-tag-red: #e89a84;
    --color-tag-orange: #e3b355;
    --color-tag-yellow: #b5c76a;
    --color-tag-green: #53c4a8;
    --color-tag-blue: #82c6dd;
    --color-tag-purple: #c3a5d6;
    --color-tag-none: rgb(226 238 238 / 0.3);
    --color-accent-text: #6fd3ba;
    --color-ai: #82c6dd;
    --color-attention: #e3b355;
    --shadow-tint: #081013;
  }
}

:root[data-theme="dark"] {
  --color-ground-canvas: #10191c;
  --color-ground-list: #0b1315;
  --color-ground-sidebar: #091012;
  --color-ground-raised: #172226;
  --color-ground-rail: #0e171a;
  --color-ground-field: #142024;
  --color-ground-selected: #1a2b2d;
  --color-ground-accent-soft: #12302b;
  --color-ground-frost: #12252d;
  --color-ground-frost-strong: #193440;
  --color-ground-attention-soft: #2b2414;
  --color-ink-primary: #e2eeee;
  --color-ink-secondary: #a0b5b6;
  --color-ink-tertiary: #7a8f91;
  --color-ink-quaternary: rgb(226 238 238 / 0.16);
  --color-line-hairline: rgb(226 238 238 / 0.12);
  --color-line-strong: rgb(226 238 238 / 0.28);
  --color-line-control: #587074;
  --color-fill-hover: rgb(226 238 238 / 0.06);
  --color-fill-pressed: rgb(226 238 238 / 0.08);
  --color-fill-selected-inactive: rgb(226 238 238 / 0.06);
  --color-accent: #53c4a8;
  --color-accent-contrast: #04201a;
  --color-recording: #ff6a6a;
  --color-health-good: #4fd1a0;
  --color-health-degraded: #e3b355;
  --color-health-failed: #f190a7;
  --color-summary-decided: #94b474;
  --color-summary-todo: #c3a35f;
  --color-summary-open: #96a3e4;
  --color-summary-proposed: #ba97d5;
  --color-speaker-1: #a09eea;
  --color-speaker-2: #c7a250;
  --color-speaker-3: #d38dc3;
  --color-speaker-4: #91b66a;
  --color-speaker-5: #7f8cd5;
  --color-speaker-6: #9c963e;
  --color-speaker-7: #84b785;
  --color-speaker-8: #d191b5;
  --color-speaker-9: #ab9ddb;
  --color-speaker-10: #bd97cf;
  --color-speaker-11: #c9a066;
  --color-speaker-12: #a0b06f;
  --color-speaker-13: #91a5e1;
  --color-speaker-14: #c594c7;
  --color-speaker-15: #b9a764;
  --color-speaker-16: #8fb57b;
  --color-speaker-17: #b599d6;
  --color-speaker-18: #ce92ba;
  --color-speaker-19: #9faaaf;
  --color-tag-red: #e89a84;
  --color-tag-orange: #e3b355;
  --color-tag-yellow: #b5c76a;
  --color-tag-green: #53c4a8;
  --color-tag-blue: #82c6dd;
  --color-tag-purple: #c3a5d6;
  --color-tag-none: rgb(226 238 238 / 0.3);
  --color-accent-text: #6fd3ba;
  --color-ai: #82c6dd;
  --color-attention: #e3b355;
  --shadow-tint: #081013;
}

@media (prefers-contrast: more) {
  :root {
    --color-ground-canvas: #ffffff;
    --color-ground-list: #f9fdfd;
    --color-ground-sidebar: #f3f9f9;
    --color-ground-raised: #ffffff;
    --color-ground-rail: #f9fcfc;
    --color-ground-field: #f2f9f9;
    --color-ground-selected: #e4f0ee;
    --color-ground-accent-soft: #e7f8f3;
    --color-ground-frost: #f2fcff;
    --color-ground-frost-strong: #def2f9;
    --color-ground-attention-soft: #fffaeb;
    --color-ink-primary: #010c0f;
    --color-ink-secondary: #2d4245;
    --color-ink-tertiary: #46595c;
    --color-ink-quaternary: rgb(1 12 15 / 0.16);
    --color-line-hairline: rgb(1 12 15 / 0.42);
    --color-line-strong: rgb(1 12 15 / 0.65);
    --color-line-control: #687c7e;
    --color-fill-hover: rgb(1 12 15 / 0.04);
    --color-fill-pressed: rgb(1 12 15 / 0.08);
    --color-fill-selected-inactive: rgb(1 12 15 / 0.06);
    --color-accent: #005446;
    --color-accent-contrast: #ffffff;
    --color-recording: #b91823;
    --color-health-good: #006849;
    --color-health-degraded: #724300;
    --color-health-failed: #832c47;
    --color-summary-decided: #3e5a1b;
    --color-summary-todo: #674a00;
    --color-summary-open: #414a83;
    --color-summary-proposed: #603f76;
    --color-speaker-1: #4b4589;
    --color-speaker-2: #6a4900;
    --color-speaker-3: #733567;
    --color-speaker-4: #3b5b0a;
    --color-speaker-5: #2e3576;
    --color-speaker-6: #453f00;
    --color-speaker-7: #2c5c2f;
    --color-speaker-8: #723a5b;
    --color-speaker-9: #54457c;
    --color-speaker-10: #623f71;
    --color-speaker-11: #6c4701;
    --color-speaker-12: #4a5714;
    --color-speaker-13: #3d4c81;
    --color-speaker-14: #683d6b;
    --color-speaker-15: #5f4e00;
    --color-speaker-16: #395a25;
    --color-speaker-17: #5b4277;
    --color-speaker-18: #703a5f;
    --color-speaker-19: #485257;
    --color-tag-red: #863826;
    --color-tag-orange: #814d00;
    --color-tag-yellow: #495c00;
    --color-tag-green: #005446;
    --color-tag-blue: #115e78;
    --color-tag-purple: #634474;
    --color-tag-none: rgb(1 12 15 / 0.6);
    --color-accent-text: #00483b;
    --color-ai: #115e78;
    --color-attention: #724300;
    --shadow-tint: #010c0f;
  }
}

@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-ground-canvas: #081013;
    --color-ground-list: #040a0c;
    --color-ground-sidebar: #030809;
    --color-ground-raised: #0e191c;
    --color-ground-rail: #060e11;
    --color-ground-field: #0b171b;
    --color-ground-selected: #102123;
    --color-ground-accent-soft: #072621;
    --color-ground-frost: #081b23;
    --color-ground-frost-strong: #0f2a36;
    --color-ground-attention-soft: #211b0b;
    --color-ink-primary: #f3ffff;
    --color-ink-secondary: #b9cfd0;
    --color-ink-tertiary: #92a8aa;
    --color-ink-quaternary: rgb(243 255 255 / 0.16);
    --color-line-hairline: rgb(243 255 255 / 0.42);
    --color-line-strong: rgb(243 255 255 / 0.65);
    --color-line-control: #6f888c;
    --color-fill-hover: rgb(243 255 255 / 0.06);
    --color-fill-pressed: rgb(243 255 255 / 0.08);
    --color-fill-selected-inactive: rgb(243 255 255 / 0.06);
    --color-accent: #6fdec1;
    --color-accent-contrast: #04201a;
    --color-recording: #ff928e;
    --color-health-good: #6decb9;
    --color-health-degraded: #fecd70;
    --color-health-failed: #ffaac0;
    --color-summary-decided: #adce8c;
    --color-summary-todo: #ddbd78;
    --color-summary-open: #afbcff;
    --color-summary-proposed: #d4b0ef;
    --color-speaker-1: #b9b7ff;
    --color-speaker-2: #e2bb6a;
    --color-speaker-3: #eda6dd;
    --color-speaker-4: #a9cf83;
    --color-speaker-5: #96a5f0;
    --color-speaker-6: #b5af57;
    --color-speaker-7: #9dd19d;
    --color-speaker-8: #ecaace;
    --color-speaker-9: #c5b6f6;
    --color-speaker-10: #d7b0e9;
    --color-speaker-11: #e3b97e;
    --color-speaker-12: #b9ca87;
    --color-speaker-13: #aabffc;
    --color-speaker-14: #dfade1;
    --color-speaker-15: #d3c17d;
    --color-speaker-16: #a8ce94;
    --color-speaker-17: #ceb3f0;
    --color-speaker-18: #e9aad3;
    --color-speaker-19: #b8c3c9;
    --color-tag-red: #ffb39d;
    --color-tag-orange: #fecd70;
    --color-tag-yellow: #cee184;
    --color-tag-green: #6fdec1;
    --color-tag-blue: #9be0f8;
    --color-tag-purple: #ddbef0;
    --color-tag-none: rgb(243 255 255 / 0.6);
    --color-accent-text: #8aedd4;
    --color-ai: #9be0f8;
    --color-attention: #fecd70;
    --shadow-tint: #081013;
  }
}

@media (prefers-contrast: more) {
  :root[data-theme="dark"] {
    --color-ground-canvas: #081013;
    --color-ground-list: #040a0c;
    --color-ground-sidebar: #030809;
    --color-ground-raised: #0e191c;
    --color-ground-rail: #060e11;
    --color-ground-field: #0b171b;
    --color-ground-selected: #102123;
    --color-ground-accent-soft: #072621;
    --color-ground-frost: #081b23;
    --color-ground-frost-strong: #0f2a36;
    --color-ground-attention-soft: #211b0b;
    --color-ink-primary: #f3ffff;
    --color-ink-secondary: #b9cfd0;
    --color-ink-tertiary: #92a8aa;
    --color-ink-quaternary: rgb(243 255 255 / 0.16);
    --color-line-hairline: rgb(243 255 255 / 0.42);
    --color-line-strong: rgb(243 255 255 / 0.65);
    --color-line-control: #6f888c;
    --color-fill-hover: rgb(243 255 255 / 0.06);
    --color-fill-pressed: rgb(243 255 255 / 0.08);
    --color-fill-selected-inactive: rgb(243 255 255 / 0.06);
    --color-accent: #6fdec1;
    --color-accent-contrast: #04201a;
    --color-recording: #ff928e;
    --color-health-good: #6decb9;
    --color-health-degraded: #fecd70;
    --color-health-failed: #ffaac0;
    --color-summary-decided: #adce8c;
    --color-summary-todo: #ddbd78;
    --color-summary-open: #afbcff;
    --color-summary-proposed: #d4b0ef;
    --color-speaker-1: #b9b7ff;
    --color-speaker-2: #e2bb6a;
    --color-speaker-3: #eda6dd;
    --color-speaker-4: #a9cf83;
    --color-speaker-5: #96a5f0;
    --color-speaker-6: #b5af57;
    --color-speaker-7: #9dd19d;
    --color-speaker-8: #ecaace;
    --color-speaker-9: #c5b6f6;
    --color-speaker-10: #d7b0e9;
    --color-speaker-11: #e3b97e;
    --color-speaker-12: #b9ca87;
    --color-speaker-13: #aabffc;
    --color-speaker-14: #dfade1;
    --color-speaker-15: #d3c17d;
    --color-speaker-16: #a8ce94;
    --color-speaker-17: #ceb3f0;
    --color-speaker-18: #e9aad3;
    --color-speaker-19: #b8c3c9;
    --color-tag-red: #ffb39d;
    --color-tag-orange: #fecd70;
    --color-tag-yellow: #cee184;
    --color-tag-green: #6fdec1;
    --color-tag-blue: #9be0f8;
    --color-tag-purple: #ddbef0;
    --color-tag-none: rgb(243 255 255 / 0.6);
    --color-accent-text: #8aedd4;
    --color-ai: #9be0f8;
    --color-attention: #fecd70;
    --shadow-tint: #081013;
  }
}

@media print {
  :root, :root:not([data-theme="light"]), :root[data-theme="dark"] {
    --color-ground-canvas: #ffffff;
    --color-ground-list: #f3f7f7;
    --color-ground-sidebar: #ebf1f1;
    --color-ground-raised: #ffffff;
    --color-ground-rail: #f7fafa;
    --color-ground-field: #eaf1f1;
    --color-ground-selected: #dce8e6;
    --color-ground-accent-soft: #dff0eb;
    --color-ground-frost: #eaf4f7;
    --color-ground-frost-strong: #d6eaf1;
    --color-ground-attention-soft: #faf2e3;
    --color-ink-primary: #0e1e21;
    --color-ink-secondary: #42585b;
    --color-ink-tertiary: #5c7073;
    --color-ink-quaternary: rgb(14 30 33 / 0.16);
    --color-line-hairline: rgb(14 30 33 / 0.12);
    --color-line-strong: rgb(14 30 33 / 0.28);
    --color-line-control: #75898b;
    --color-fill-hover: rgb(14 30 33 / 0.04);
    --color-fill-pressed: rgb(14 30 33 / 0.08);
    --color-fill-selected-inactive: rgb(14 30 33 / 0.06);
    --color-accent: #0e6b5c;
    --color-accent-contrast: #ffffff;
    --color-recording: #d63b3b;
    --color-health-good: #13805f;
    --color-health-degraded: #8a5a0b;
    --color-health-failed: #9d445d;
    --color-summary-decided: #547133;
    --color-summary-todo: #7f6117;
    --color-summary-open: #56619c;
    --color-summary-proposed: #77568f;
    --color-speaker-1: #605ba2;
    --color-speaker-2: #836000;
    --color-speaker-3: #8c4c7f;
    --color-speaker-4: #517227;
    --color-speaker-5: #424b8e;
    --color-speaker-6: #5c5500;
    --color-speaker-7: #437445;
    --color-speaker-8: #8a5072;
    --color-speaker-9: #6a5b94;
    --color-speaker-10: #795689;
    --color-speaker-11: #845e22;
    --color-speaker-12: #5f6d2e;
    --color-speaker-13: #52639a;
    --color-speaker-14: #805382;
    --color-speaker-15: #76651f;
    --color-speaker-16: #4f713b;
    --color-speaker-17: #72588f;
    --color-speaker-18: #885176;
    --color-speaker-19: #5e686d;
    --color-tag-red: #a04f3c;
    --color-tag-orange: #9a640e;
    --color-tag-yellow: #5f7323;
    --color-tag-green: #0e6b5c;
    --color-tag-blue: #2f7590;
    --color-tag-purple: #7a5a8c;
    --color-tag-none: rgb(14 30 33 / 0.3);
    --color-accent-text: #0b5e50;
    --color-ai: #2f7590;
    --color-attention: #8a5a0b;
    --shadow-tint: #0e1e21;
  }
}

/* END generated design tokens */

/* The names the rules below consume, each pointing at a generated Glacier token (auldera-meta#2606, #2658). Values
   the token file does not hold are derived here from tokens it does hold: tints, shadows, the scrim, and the small
   inline radius. Nothing in this block states a raw colour, family, or radius; `tests/design_tokens.test.ts`
   fails if anything outside the generated region does. */
:root {
  --ground-canvas: var(--color-ground-canvas);
  --ground-list: var(--color-ground-list);
  --ground-sidebar: var(--color-ground-sidebar);
  --ground-raised: var(--color-ground-raised);

  --page: var(--ground-canvas);
  --canvas: var(--ground-canvas);
  --surface: var(--ground-canvas);
  --surface-glass: color-mix(in srgb, var(--surface) 94%, transparent);
  --surface-elevated: var(--ground-raised);
  --inset: var(--ground-list);
  --hover: var(--color-fill-hover);
  --hover-2: var(--color-fill-pressed);

  --ink: var(--color-ink-primary);
  --ink-2: var(--color-ink-secondary);
  --ink-3: var(--color-ink-tertiary);
  --ink-4: var(--color-ink-quaternary);

  /* Lines are ink at low alpha: a hairline between things, and a strong rule to open a list or underline a field.
     The former ink rule is the strong rule. */
  --line: var(--color-line-hairline);
  --line-strong: var(--color-line-strong);
  --line-soft: var(--line);
  --rule-ink: var(--line-strong);
  --field: var(--ground-sidebar);
  --border-hairline: var(--line);
  --scrim: color-mix(in srgb, var(--shadow-tint) 16%, transparent);

  --accent: var(--color-accent);
  --accent-ink: var(--accent);
  --accent-tint: color-mix(in srgb, var(--accent) 9%, transparent);
  --accent-contrast: var(--color-accent-contrast);
  --accent-color: var(--accent);
  --accent-hover: color-mix(in srgb, var(--accent) 86%, var(--ink));
  --accent-light: var(--accent-tint);
  --accent-border: color-mix(in srgb, var(--accent) 55%, transparent);

  --recording: var(--color-recording);
  --green: var(--color-health-good);
  --green-tint: color-mix(in srgb, var(--green) 9%, transparent);
  --orange: var(--color-health-degraded);
  --orange-tint: color-mix(in srgb, var(--orange) 9%, transparent);
  --red: var(--color-health-failed);
  --red-tint: color-mix(in srgb, var(--red) 8%, transparent);

  --success-color: var(--green);
  --success-bg: var(--green-tint);
  --success-border: color-mix(in srgb, var(--green) 45%, transparent);
  --success-text: color-mix(in srgb, var(--green) 70%, var(--ink));

  --warning-color: var(--orange);
  --warning-bg: var(--orange-tint);
  --warning-border: color-mix(in srgb, var(--orange) 45%, transparent);
  --warning-text: color-mix(in srgb, var(--orange) 70%, var(--ink));

  --danger-color: var(--red);
  --danger-bg: var(--red-tint);
  --danger-border: color-mix(in srgb, var(--red) 45%, transparent);
  --danger-text: color-mix(in srgb, var(--red) 70%, var(--ink));

  /* Speaker tones: class n draws the token file's speaker n + 1. */
  --speaker-0: var(--color-speaker-1);
  --speaker-1: var(--color-speaker-2);
  --speaker-2: var(--color-speaker-3);
  --speaker-3: var(--color-speaker-4);
  --speaker-4: var(--color-speaker-5);
  --speaker-5: var(--color-speaker-6);
  --speaker-6: var(--color-speaker-7);
  --speaker-7: var(--color-speaker-8);

  /* Pages use rules, not shadows. Only menus, popovers, and dialogs float. */
  --shadow-raised-paper: 0 1px 2px color-mix(in srgb, var(--shadow-tint) 5%, transparent), 0 16px 40px -12px color-mix(in srgb, var(--shadow-tint) 18%, transparent);
  --shadow-window: 0 0 0 1px var(--line), var(--shadow-raised-paper);
  --shadow-hairline: 0 0 0 1px var(--line);
  --shadow-btn: inset 0 0 0 1px var(--line-strong);
  --shadow-card: none;
  --shadow-card-hover: none;
  --shadow-raised: none;
  --shadow-overlay: 0 0 0 1px var(--line), var(--shadow-raised-paper);
  --shadow-popover: 0 0 0 1px var(--line), var(--shadow-raised-paper);
  --shadow-glow: none;

  /* Rows and fields take the row radius; cards, menus, and windows the card radius. A highlighted word, a code
     span, or a timeline bar takes a third of the row radius. The token file names the chip radius itself. */
  --radius-control: var(--radius-row);
  --radius-window: var(--radius-card);
  --radius-mark: calc(var(--radius-row) / 3);

  /* The ink curve: one even ease for every change. */
  --ease-spring: var(--motion-easing-ink);
  --ease-out-strong: var(--ease-spring);
  --transition-smooth: all var(--motion-duration-ink) var(--ease-spring);
  --transition-fast: all var(--motion-duration-fast) var(--ease-spring);
  --transition-bounce: transform var(--motion-duration-ink) var(--ease-spring);

  /* The serif for titles and reading, the sans for the interface, the mono for times. */
  --font-serif: var(--font-family-reading);
  --font-sans: var(--font-family-interface);
  --font-mono: var(--font-family-time);
}

/* Dark: the same paper at night. Only the derived values that differ by appearance are restated. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --scrim: color-mix(in srgb, var(--shadow-tint) 46%, transparent);
    --accent-tint: color-mix(in srgb, var(--accent) 13%, transparent);
    --green-tint: color-mix(in srgb, var(--green) 12%, transparent);
    --orange-tint: color-mix(in srgb, var(--orange) 12%, transparent);
    --red-tint: color-mix(in srgb, var(--red) 12%, transparent);
    --success-text: var(--green);
    --warning-text: var(--orange);
    --danger-text: var(--red);
    --shadow-raised-paper: 0 1px 1px color-mix(in srgb, var(--shadow-tint) 30%, transparent), 0 14px 36px -6px color-mix(in srgb, var(--shadow-tint) 60%, transparent);
  }
}

:root[data-theme="dark"] {
  --scrim: color-mix(in srgb, var(--shadow-tint) 46%, transparent);
  --accent-tint: color-mix(in srgb, var(--accent) 13%, transparent);
  --green-tint: color-mix(in srgb, var(--green) 12%, transparent);
  --orange-tint: color-mix(in srgb, var(--orange) 12%, transparent);
  --red-tint: color-mix(in srgb, var(--red) 12%, transparent);
  --success-text: var(--green);
  --warning-text: var(--orange);
  --danger-text: var(--red);
  --shadow-raised-paper: 0 1px 1px color-mix(in srgb, var(--shadow-tint) 30%, transparent), 0 14px 36px -6px color-mix(in srgb, var(--shadow-tint) 60%, transparent);
}

/* Increased contrast: the generated region swaps in the contrast palette; the scrim darkens too. */
@media (prefers-contrast: more) {
  :root {
    --scrim: color-mix(in srgb, var(--shadow-tint) 40%, transparent);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Accessibility: Skip to Content */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1.5rem;
  z-index: 1000;
  background: var(--accent-color);
  color: var(--accent-contrast);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-control);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
  box-shadow: var(--shadow-popover);
  transition: top 0.2s var(--ease-spring);
}

.skip-to-content:focus {
  top: 1rem;
  outline: 2px solid var(--accent-contrast);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible,
textarea:focus-visible,
li[tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* A 17 px base: every rem of type and space grows with it. */
html {
  font-size: 106.25%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-variant-numeric: lining-nums proportional-nums;
  letter-spacing: 0;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Controls inherit the interface sans; a link is the accent, underlined on hover. */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration: underline;
}

/* A page title is set in the interface sans; only the home page's hero headline keeps the serif. */
h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--accent-tint);
  color: var(--ink);
}

/* SVG Lucide icon standard styling */
.lucide {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-link {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle-btn {
  background: transparent;
  border: 0;
  color: var(--ink-2);
  padding: 0.4rem;
  border-radius: var(--radius-control);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  color: var(--ink);
  background-color: var(--hover);
}

/* The toggle draws both icons and shows the theme a press switches to. */
.theme-toggle-btn .theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-toggle-btn .theme-icon-dark { display: inline-block; }
:root[data-theme="dark"] .theme-toggle-btn .theme-icon-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle-btn .theme-icon-dark { display: inline-block; }
  :root:not([data-theme="light"]) .theme-toggle-btn .theme-icon-light { display: none; }
}

/* The mark's tall bar takes the accent of the scheme it sits in (auldera-meta#2642). */
.brand-mark-accent { fill: var(--accent); }

.kbd-shortcut {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 400;
  padding: 0 0.3rem;
  background: transparent;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: var(--radius-chip);
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

/* Main Content */
/* App pages share the header's edges. */
.main-content {
  flex: 1;
  max-width: calc(var(--shell-max) + 2 * var(--shell-gutter));
  width: 100%;
  margin: 0 auto;
  padding: 2.25rem var(--shell-gutter);
}

.content-container {
  width: 100%;
}

/* Portal & Page Headers */
.portal-header {
  margin-bottom: 1.75rem;
}

.portal-title {
  font-size: 2.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.portal-subtitle {
  font-size: 1.1rem;
  color: var(--ink-2);
}

/* Cards & Layout */
.card {
  background-color: var(--inset);
  border: 0;
  border-radius: var(--radius-card);
  padding: 1.75rem;
  position: relative;
  box-shadow: none;
  transition: var(--transition-smooth);
}

.card:hover {
  box-shadow: none;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--ink);
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-subtitle {
  color: var(--ink-2);
  font-size: 1rem;
}

.card-text {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.6;
}

.session-token {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  color: var(--ink-2);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0 1rem;
  border-radius: var(--radius-control);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid var(--line-strong);
  background-color: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button:active,
.btn:active,
.icon-button:active {
  transform: scale(0.98);
  transition: transform 0.1s var(--ease-spring);
}

.button.primary {
  background-color: var(--accent-color);
  color: var(--accent-contrast);
  border-color: var(--accent-color);
}

.button.primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-contrast);
}

.button.secondary {
  background-color: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button.secondary:hover {
  background-color: var(--hover);
  border-color: var(--line-strong);
  color: var(--ink);
}

.button.danger {
  background-color: transparent;
  color: var(--danger-text);
  border-color: var(--danger-border);
}

.button.danger:hover {
  background-color: var(--danger-bg);
  border-color: var(--danger-color);
  color: var(--danger-text);
}

.button.small {
  min-height: 30px;
  padding: 0 0.75rem;
  font-size: 0.95rem;
  border-radius: var(--radius-control);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Sign in with Apple */
.apple-btn {
  background-color: var(--ink);
  color: var(--ground-canvas);
  font-weight: 600;
  gap: 0.5rem;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-control);
  border: 1px solid var(--ink);
  box-shadow: none;
  /* The one literal family outside the token layer: Apple requires its system font on Sign in with Apple. */
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  font-variant-caps: normal;
  letter-spacing: 0;
}

.apple-btn:hover {
  background-color: color-mix(in srgb, var(--ink) 86%, var(--ground-canvas));
  border-color: color-mix(in srgb, var(--ink) 86%, var(--ground-canvas));
  color: var(--ground-canvas);
}

.legal-notice {
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-top: 1rem;
}

.legal-notice a, .link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
}

.legal-notice a:hover, .link:hover {
  text-decoration: underline;
}

/* Code & Typography Helpers */
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background-color: var(--field);
  padding: 0.15rem 0.35rem;
  border-radius: var(--radius-mark);
  border: 1px solid var(--line);
}

.font-mono { font-family: var(--font-mono); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--ink-3); }

.border-top { border-top: 1px solid var(--line); }
.mt-3 { margin-top: 0.75rem; }

.empty-state {
  text-align: center;
  padding: 1.5rem;
  color: var(--ink-3);
  font-size: 0.925rem;
}

.search-input {
  width: 100%;
  padding: 0.55rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.select-input {
  padding: 0.5rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.select-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.summary-prose-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0;
  max-width: 68ch;
}

.icon-button {
  background: none;
  border: none;
  color: var(--ink-3);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-control);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.icon-button:hover {
  color: var(--ink);
}

/* Interactive Modal Dialog (Accessible <dialog>) */
dialog.modal-dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--ground-raised);
  color: var(--ink);
  padding: 1.75rem;
  max-width: 480px;
  width: calc(100% - 2rem);
  box-shadow: none;
  margin: auto;
  outline: none;
  animation: modalEntrance 0.25s var(--ease-spring);
}

@keyframes modalEntrance {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

dialog.modal-dialog::backdrop {
  background: var(--scrim);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Command Palette Spotlight (Cmd+K) Component */
.command-palette-backdrop {
  position: fixed;
  inset: 0;
  background: var(--scrim);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}

.command-palette-modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 580px;
  box-shadow: var(--shadow-popover);
  overflow: hidden;
  animation: paletteEntrance 0.2s var(--ease-spring);
}

@keyframes paletteEntrance {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.command-palette-search {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  gap: 0.75rem;
}

.command-palette-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  outline: none;
}

.command-palette-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.5rem;
}

.command-palette-group-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-3);
  padding: 0.4rem 0.75rem;
}

.command-palette-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-control);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.command-palette-item:hover,
.command-palette-item.selected {
  background-color: var(--accent-light);
  color: var(--accent-color);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-body {
  font-size: 0.925rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-card);
  background: var(--ground-raised);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
  font-size: 0.875rem;
  font-weight: 500;
  animation: toastIn 0.25s var(--ease-spring);
  min-width: 260px;
}

.toast.toast-success {
  box-shadow: inset 0 1.5px 0 var(--success-color);
}

.toast.toast-error {
  box-shadow: inset 0 1.5px 0 var(--danger-color);
}

.toast.toast-info {
  box-shadow: inset 0 1.5px 0 var(--accent-color);
}

@keyframes toastIn {
  from {
    transform: translateY(12px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.footer-note {
  font-size: 0.85rem;
  color: var(--ink-3);
}

.footer-note a {
  color: var(--ink-2);
  text-decoration: none;
}

.footer-note a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 768px) {

  .app-shell > .container {
    padding: 1.5rem 1rem 2.5rem;
  }

}

/* Print Stylesheet */
@media print {
  body {
    background: var(--ground-raised) !important;
    color: var(--ink) !important;
    font-size: 11pt;
  }

  .toast-container,
  .skip-to-content,
  .command-palette-backdrop,
  .theme-toggle-btn,
  .copy-btn,
  .icon-button {
    display: none !important;
  }

  .main-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .card {
    border: 1px solid var(--line-strong) !important;
    box-shadow: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.5rem !important;
  }

  .summary-prose-body {
    font-family: var(--font-serif) !important;
    color: var(--ink) !important;
    font-size: 11pt !important;
    max-width: 100% !important;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--ink-2);
}

.field input[type="text"],
.field select {
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background-color: var(--surface);
  color: var(--ink);
  font-size: 0.88rem;
}

.field input[type="text"]:focus,
.field select:focus {
  outline: 2px solid var(--accent-color);
  border-color: var(--accent-color);
}

/* ---------------------------------------------------------------------------
   Marketing site
   Full-width sections on a centered container, one accent, product first.
   --------------------------------------------------------------------------- */

.brand-mark {
  display: block;
  flex-shrink: 0;
  color: var(--ink);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

body.shell-marketing {
  --mkt-max: 1160px;
  font-family: var(--font-sans);
  --mkt-gutter: clamp(1rem, 4vw, 2rem);
  --mkt-section: clamp(3rem, 7vw, 5.5rem);
  display: block;
  background: var(--page);
  font-size: 16px;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mkt-container {
  width: 100%;
  max-width: calc(var(--mkt-max) + 2 * var(--mkt-gutter));
  margin: 0 auto;
  padding-left: var(--mkt-gutter);
  padding-right: var(--mkt-gutter);
}

body.shell-marketing .theme-toggle-btn {
  border-color: transparent;
  background: transparent;
  border-radius: var(--radius-control);
}

.mkt-main {
  flex: 1;
}

/* The mock window's three dots, in Glacier's live, degraded, and good tones rather than macOS's own. */

/* The mock window's views read as native tabs: plain labels, the selected one underlined in the accent. */

[x-cloak] {
  display: none !important;
}

/* The summary is Auldera's writing, so it reads in the reading face. */

/* Citations: an accent numeral in the text and a sidenote (number, time, speaker) beside it. */

.cite-num {
  font-style: normal;
  font-weight: 600;
  font-size: 0.75em;
  font-variant-numeric: lining-nums;
  color: var(--accent);
}

sup.cite-num {
  margin-left: 1px;
}

.toast.toast-success > svg { color: var(--success-text); }
.toast.toast-error > svg { color: var(--danger-text); }
.toast.toast-info > svg { color: var(--accent); }

/* Transcript View Styling */

/* The home page's product window draws the transcript at the window's own scale, in the interface face. */

/* The mock window's Ask view */

/* Auldera's answer sits on the window's ground in the reading face, like a summary. */

/* The private reader pages: one centred, readable column under the site header (meta #2177). */
.app-shell > .container {
  flex: 1;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.card-subtitle + .button { margin-top: 1rem; }

:root {
  --shell-max: 1160px;
  --shell-gutter: clamp(1rem, 4vw, 2rem);
  --page-column: 44rem;
}

.site-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-page > main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: calc(var(--shell-max) + 2 * var(--shell-gutter));
  height: 56px;
  margin: 0 auto;
  padding: 0 var(--shell-gutter);
}

.site-header .brand-link {
  font-size: 17px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  list-style: none;
  cursor: pointer;
  transition: color var(--motion-duration-fast) var(--ease-spring), background-color var(--motion-duration-fast) var(--ease-spring);
}

.nav-link::-webkit-details-marker {
  display: none;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--hover);
  text-decoration: none;
}

.nav-link[aria-current],
.nav-link.active,
details[open] > .nav-link {
  color: var(--ink);
  background: var(--hover);
}

.nav-link:focus-visible,
.site-footer a:focus-visible,
.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-nav [hidden] {
  display: none;
}

@media (max-width: 374px) {
  .header-container {
    gap: 0.5rem;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav .nav-link {
    padding-inline: 0.25rem;
  }
}

@media (max-width: 480px) {
  .nav-link[data-optional] {
    display: none;
  }

  .nav-link {
    padding: 0.4rem 0.5rem;
  }
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  display: grid;
  gap: 1.25rem;
  max-width: calc(var(--shell-max) + 2 * var(--shell-gutter));
  margin: 0 auto;
  padding: 2rem var(--shell-gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-footer-links a {
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: var(--ink);
}

.site-footer-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer .footer-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
}

.gl-page {
  max-width: var(--page-column);
  margin: 0 auto;
}

.gl-page-title {
  margin: 0 0 2rem;
  font: var(--type-display-font);
  letter-spacing: var(--type-display-tracking);
  color: var(--ink);
}

.gl-section + .gl-section {
  margin-top: 2.75rem;
}

.gl-section > h2 {
  margin: 0 0 0.75rem;
  font: var(--type-heading-font);
  color: var(--ink);
}

.gl-status {
  margin: 0.25rem 0 0;
  color: var(--ink-2);
}

.gl-status[data-tone="attention"] {
  color: var(--warning-text);
}

.gl-status[data-tone="failed"] {
  color: var(--danger-text);
}

.gl-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.gl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.gl-row-title {
  color: var(--ink);
  font-weight: 500;
}

.gl-row-meta {
  margin-top: 0.15rem;
  font: var(--type-metadata-font);
  color: var(--ink-3);
}

.gl-time {
  font: var(--type-time-font);
  color: var(--ink-3);
  white-space: nowrap;
}

.gl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.button.plain {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
}

.button.plain:hover {
  background: transparent;
  color: var(--accent-hover);
  text-decoration: underline;
}

.button.plain.danger {
  color: var(--danger-text);
}

.button.plain:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.gl-menu {
  position: relative;
}

.gl-menu > summary {
  list-style: none;
}

.gl-menu > summary::-webkit-details-marker {
  display: none;
}

.gl-menu-items {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 950;
  display: flex;
  flex-direction: column;
  min-width: 12rem;
  padding: 0.35rem;
  background: var(--surface-elevated);
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-popover);
}

.gl-menu-item {
  display: block;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.gl-menu-item:hover,
.gl-menu-item:focus-visible {
  background-color: var(--hover);
}

.gl-menu-item.danger {
  color: var(--danger-color);
}

@media print {
  .site-header,
  .site-footer {
    display: none !important;
  }
}

.mkt-hero {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 0;
  background: var(--ground-list);
  text-align: center;
}

.hero-title {
  /* One beat per line: wide enough for "Your meetings." and too narrow for two beats. */
  max-width: 7.2em;
  margin: 0 auto 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6.4vw, 4.5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--ink);
}

.hero-subtitle {
  max-width: 34rem;
  margin: 0 auto;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  text-wrap: pretty;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin: 2rem 0 0;
}

.button.mkt-cta {
  min-height: 44px;
  padding: 0 1.375rem;
  font-size: 1.0625rem;
  white-space: nowrap;
}

.mkt-section {
  padding-top: var(--mkt-section);
  scroll-margin-top: 4rem;
}

.mkt-h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--type-display-tracking);
  text-wrap: balance;
  color: var(--ink);
}

.mkt-columns p + p {
  margin-top: 0.75rem;
}

.mkt-faq-list details {
  border-bottom: 1px solid var(--line);
}

.mkt-faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.mkt-faq-list summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  cursor: pointer;
}

.mkt-faq-list summary::-webkit-details-marker {
  display: none;
}

/* The disclosure chevron points down when closed and up when open. */
.mkt-faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--motion-duration-fast) var(--ease-spring);
}

.mkt-faq-list details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.mkt-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(2rem, 5vw, 4rem);
}

.mkt-columns--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mkt-columns h3 {
  margin: 0 0 0.5rem;
  font: var(--type-heading-font);
  color: var(--ink);
}

.mkt-columns p {
  line-height: 1.6;
  text-wrap: pretty;
  color: var(--ink-2);
}

.mkt-faq-list {
  max-width: var(--page-column);
}

.mkt-faq .mkt-h2 {
  margin-bottom: 1rem;
}

.mkt-faq-list summary {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}

.mkt-faq-list details p {
  padding: 0 2rem 1.25rem 0;
  line-height: 1.6;
  text-wrap: pretty;
  color: var(--ink-2);
}

.mkt-close {
  padding-bottom: var(--mkt-section);
  text-align: center;
}

.mkt-close .mkt-h2 {
  margin-bottom: 0;
}

/* Home page: the hero's glance line, the steps, the plugin ideas, and the pillars. */
.mkt-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.mkt-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mkt-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.mkt-plugins {
  margin-top: var(--mkt-section);
  padding-bottom: var(--mkt-section);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ground-list);
}

.mkt-plugins-head {
  max-width: 40rem;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.mkt-beat,
.mkt-plugins-head .mkt-h2 {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.mkt-beat-head {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.mkt-beat-intro {
  max-width: 34rem;
  margin: 0 auto;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.mkt-plugins-intro {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.5;
  text-wrap: pretty;
  color: var(--ink-2);
}

.mkt-status {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.1rem 0.55rem;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: 0.1em;
  color: var(--accent-ink);
}

.idea-stage {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-window);
  background: var(--surface);
  box-shadow: var(--shadow-raised-paper);
  overflow: hidden;
}

.idea-list {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.75rem;
  border-right: 1px solid var(--line);
}

.idea-tab {
  padding: 0.6rem 0.8rem;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  color: var(--ink-2);
  cursor: pointer;
  transition: color var(--motion-duration-fast) var(--ease-spring), background-color var(--motion-duration-fast) var(--ease-spring);
}

.idea-tab:hover {
  color: var(--ink);
  background: var(--hover);
}

.idea-tab.is-active {
  color: var(--accent-ink);
  background: var(--accent-tint);
}

.idea-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.idea-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  height: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.idea-copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--ink);
}

.idea-copy p {
  font-size: 1.0625rem;
  line-height: 1.55;
  text-wrap: pretty;
  color: var(--ink-2);
}

.idea-scene {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  min-height: 15rem;
  margin: 0;
  padding: 1.5rem;
  border-radius: var(--radius-card);
  background: var(--ground-list);
}

.idea-when {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font: var(--type-label-font);
  color: var(--ink-3);
}

.idea-rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--recording);
  animation: idea-breathe var(--motion-duration-breathe) ease-in-out infinite;
}

@keyframes idea-breathe {
  50% { opacity: 0.35; }
}

.idea-heard {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.idea-heard strong {
  display: block;
  font: var(--type-label-font);
  color: var(--ink-3);
}

.idea-card {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-card);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-raised-paper);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2);
  animation: idea-rise var(--motion-duration-focus) var(--ease-spring) both;
}

@keyframes idea-rise {
  from { opacity: 0; transform: translateY(8px); }
}

.idea-card strong {
  color: var(--ink);
}

.idea-card-from {
  font: var(--type-label-font);
  color: var(--accent-ink);
}

.mkt-more-ideas {
  max-width: 40rem;
  margin: 2rem auto 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
  color: var(--ink-2);
}

.mkt-trust {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.mkt-plugins-more {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--ink-2);
}

.mkt-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.mkt-pillars > div {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: var(--radius-widget);
  background: var(--ground-list);
}

.mkt-pillars h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.mkt-pillars p,
.mkt-steps p {
  line-height: 1.6;
  text-wrap: pretty;
  color: var(--ink-2);
}

.mkt-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.mkt-steps li {
  counter-increment: step;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: var(--radius-widget);
  background: var(--surface);
}

.mkt-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--accent-tint);
  font: var(--type-label-font);
  color: var(--accent-ink);
}

.mkt-steps h3 {
  margin: 0 0 0.5rem;
  font: var(--type-heading-font);
  color: var(--ink);
}

.mkt-make {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
}

.mkt-make > h3 {
  margin: 0 0 2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.12;
  text-align: center;
  color: var(--ink);
}

/* Screenshots of the app sit in a window frame. A window is the one thing on these pages that floats. */
.app-shot {
  --shadow-shot: 0 1px 2px color-mix(in srgb, var(--shadow-tint) 6%, transparent), 0 32px 72px -28px color-mix(in srgb, var(--shadow-tint) 34%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-shot);
  overflow: hidden;
}

.app-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* The hero's window hangs over the edge of the tinted band into the page below. */
.mkt-hero,
.mkt-after-hero {
  --hero-overhang: clamp(3rem, 12vw, 11rem);
}

.hero-shot {
  max-width: 1120px;
  margin: clamp(2.5rem, 6vw, 4rem) auto calc(-1 * var(--hero-overhang));
}

.mkt-after-hero {
  padding-top: calc(var(--hero-overhang) + var(--mkt-section));
}

.mkt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.mkt-row + .mkt-row {
  margin-top: clamp(3rem, 8vw, 6rem);
}

.mkt-row--flip {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.mkt-row--flip .mkt-row-copy {
  order: 2;
}

.mkt-row-copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--ink);
}

.mkt-row-copy p {
  max-width: 26rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-wrap: pretty;
  color: var(--ink-2);
}

/* A crop shows part of a capture at a readable size: the image is wider than its frame and shifted into place. */
.shot-crop {
  aspect-ratio: 4 / 3;
}

.shot-crop img {
  max-width: none;
}

.shot-crop--summary img {
  width: 205%;
  margin: -18.5% 0 0 -42.2%;
}

.shot-crop--ask img {
  width: 205%;
  margin: -29% 0 0 -42.2%;
}

.shot-crop--project img {
  width: 170%;
  margin: -5% 0 0 -32%;
}

.mkt-live {
  max-width: 1000px;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
}

.mkt-live figcaption {
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
  color: var(--ink-3);
}


@media (max-width: 900px) {
  .idea-stage,
  .idea-panel,
  .mkt-steps,
  .mkt-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .mkt-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mkt-row--flip .mkt-row-copy {
    order: 0;
  }

  .idea-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .idea-tab {
    padding: 0.45rem 0.7rem;
    font-size: 0.875rem;
  }

  .idea-scene {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .mkt-pillars {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .idea-rec,
  .idea-card {
    animation: none;
  }

  .idea-tab {
    transition: none;
  }
}

.waitlist-slot {
  width: min(100%, 36rem);
  margin: 1.5rem auto 0;
}

.waitlist-title {
  margin: 2rem 0 0;
  font: var(--type-heading-font);
  color: var(--ink);
}

.gl-article .waitlist-slot {
  width: 100%;
  max-width: 36rem;
  margin: 0.75rem 0 0;
}

.waitlist,
.waitlist-thanks {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
}

.waitlist {
  position: relative;
  text-align: left;
}

.waitlist-thanks {
  padding: 1rem 1.15rem;
  background: var(--inset);
  border: 0;
  border-radius: var(--radius-card);
  color: var(--ink);
  text-align: left;
}

.waitlist-primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.waitlist-primary > * {
  min-width: 0;
}

.waitlist-field > label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.waitlist input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.waitlist input[type="email"]:focus-visible,
.waitlist input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.waitlist-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 0.85rem;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.45;
}

.waitlist-consent input {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.waitlist-error {
  margin: 0 0 0.85rem;
  color: var(--danger-text);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.waitlist-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .waitlist-primary {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The Google Calendar disclosure Google's OAuth verification reads: a headed paragraph, verbatim. */
.mkt-legal-note {
  padding-bottom: 3rem;
}

.mkt-legal-note h2 {
  margin: 0 0 0.35rem;
  font: var(--type-list-title-font);
  color: var(--ink);
}

.mkt-legal-note p {
  max-width: var(--page-column);
  font: var(--type-interface-font);
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .mkt-columns,
  .mkt-columns--three {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (max-width: 640px) {
  .button.mkt-cta {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {

  .mkt-faq-list summary::after,
  .button.mkt-cta {
    transition: none;
  }

  .button.mkt-cta:active {
    transform: none;
  }
}

.sign-in > :not(.gl-page-title) {
  max-width: 22rem;
}

.sign-in .apple-btn {
  width: 100%;
  min-height: 48px;
  padding-block: 0;
}

.button.plain.sign-in-email {
  width: 100%;
  min-height: 44px;
  margin-top: 0.5rem;
}

.sign-in .legal-notice {
  margin-top: 1rem;
}

/* Pages outside the shared layout load no site script, so the theme toggle that needs it stays hidden; the theme
   cookie still applies, read on the server. */
.standalone-page .theme-toggle-btn {
  display: none;
}

.portal-page > * + .gl-section {
  margin-top: 2.75rem;
}
.portal-page .gl-actions.portal-first-action {
  margin-top: 0;
}

.portal-download #beta-status:empty {
  margin: 0;
}

.portal-invite-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-weight: 500;
}

.portal-invite-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portal-invite-row .search-input {
  flex: 1 1 14rem;
  width: auto;
  min-width: 0;
}

.portal-consent {
  margin: 0.25rem 0 0;
  color: var(--ink-2);
}

/* Instrument Sans sets a narrow space at metadata size; the separator keeps clear of its neighbours. */
.portal-meta-separator {
  margin: 0 0.2em;
}

.portal-row-text,
.portal-detail {
  min-width: 0;
  overflow-wrap: anywhere;
}

.portal-detail code {
  padding: 0;
  border: 0;
  background: none;
  font: var(--type-time-font);
  color: var(--ink-2);
}

.portal-row-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  border-radius: var(--radius-control);
  color: var(--ink-2);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--motion-duration-fast) var(--ease-spring);
}

.portal-row-menu > summary:hover,
.portal-row-menu[open] > summary {
  background: var(--hover);
  color: var(--ink);
}

.portal-row-menu > summary:focus-visible,
.portal-disclosure > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.portal-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  border-radius: var(--radius-control);
  list-style: none;
  cursor: pointer;
}

.portal-disclosure > summary::-webkit-details-marker {
  display: none;
}

.portal-disclosure > summary > h2 {
  margin: 0;
  font: var(--type-heading-font);
  color: var(--ink);
}

.portal-disclosure > summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.2rem;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(-45deg);
  transition: transform var(--motion-duration-fast) var(--ease-spring);
}

.portal-disclosure[open] > summary::after {
  margin-top: -0.35rem;
  transform: rotate(45deg);
}

.portal-disclosure[open] > summary {
  margin-bottom: 0.75rem;
}

.portal-end .gl-actions + .gl-actions {
  margin-top: 1.25rem;
}

@media (max-width: 480px) {
  .portal-end .gl-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.portal-dialog-label {
  display: block;
  margin: 1rem 0 0.5rem;
  color: var(--ink);
}

.modal-body > .portal-dialog-label:first-child {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .portal-disclosure > summary::after,
  .portal-row-menu > summary {
    transition: none;
  }
}

.mkt-article {
  padding: clamp(2.5rem, 7vw, 4.5rem) var(--shell-gutter) 5rem;
}
/* The private host's error page sits as low under the header as the public one. */
.app-shell > .container > .gl-article {
  padding-top: clamp(0rem, 4vw, 2rem);
}

.gl-article .gl-page-title {
  margin-bottom: 0.75rem;
}

.gl-article-meta {
  margin: 0;
  font: var(--type-metadata-font);
  color: var(--ink-3);
}

.gl-article > .gl-prose,
.gl-article > .gl-entries {
  margin-top: 2.25rem;
}

.gl-article-message {
  margin: 0;
  font: var(--type-interface-font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.gl-article .gl-actions {
  margin-top: 1.5rem;
}

.gl-prose > h2 {
  margin: 2.75rem 0 0.75rem;
  font: var(--type-heading-font);
  letter-spacing: var(--type-heading-tracking);
  color: var(--ink);
}

.gl-prose > h2:first-child {
  margin-top: 0;
}

.gl-prose > p,
.gl-entry-notes > li {
  font-family: var(--font-family-reading);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
}

.gl-prose > p {
  margin: 0 0 1rem;
}

.gl-prose strong {
  font-weight: 600;
}

.gl-prose > h3 {
  margin: 1.75rem 0 0.5rem;
  font: var(--type-heading-font);
  letter-spacing: var(--type-heading-tracking);
  color: var(--ink);
}

.gl-prose > ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.gl-prose > ul > li {
  font-family: var(--font-family-reading);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
}

.gl-prose > ul > li + li {
  margin-top: 0.35rem;
}

.gl-prose > table {
  width: 100%;
  margin: 0 0 1rem;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--font-family-reading);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink);
}

.gl-prose > table th,
.gl-prose > table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

.gl-prose > table th {
  font-family: var(--font-family-interface);
  font-weight: 600;
}

.gl-prose > table th[scope="row"] {
  width: 24%;
}

.gl-entries {
  border-top: 0;
}

.gl-entry {
  padding: 1.25rem 0;
}

.gl-entry:first-child {
  padding-top: 0;
}

.gl-entry + .gl-entry {
  border-top: 1px solid var(--line);
}

.gl-entry-title {
  margin: 0;
  font: var(--type-heading-font);
  letter-spacing: var(--type-heading-tracking);
  color: var(--ink);
}

.gl-entry-notes {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.gl-entry-notes > li + li {
  margin-top: 0.15rem;
}

.gl-entry-none {
  margin: 0.5rem 0 0;
  color: var(--ink-3);
}

/* The reader's column is the public pages' column, so its left edge meets the header's and the site's. */
.shell-app > .container {
  max-width: calc(var(--page-column) + 2 * var(--shell-gutter));
  padding-inline: var(--shell-gutter);
}

.gl-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: var(--radius-control);
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color var(--motion-duration-fast) var(--ease-spring), color var(--motion-duration-fast) var(--ease-spring);
}

.gl-menu-trigger svg {
  fill: currentColor;
}

.gl-menu-trigger:hover,
.gl-menu[open] > .gl-menu-trigger {
  background-color: var(--hover);
  color: var(--ink);
}

.gl-menu-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gl-menu-item:disabled {
  color: var(--ink-4);
  background: none;
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .gl-menu-trigger {
    transition: none;
  }
}

.shared-meeting { max-width: 52rem; padding-block: 2rem; }
.shared-meeting p { white-space: pre-wrap; overflow-wrap: anywhere; }
.shared-meeting .gl-page-title, .shared-meeting h3 { overflow-wrap: anywhere; }
.shared-meeting-brand { color: var(--color-ink-secondary); }
.shared-meeting-row + .shared-meeting-row { margin-top: 1.5rem; }
.shared-meeting-row h3 { font-size: 1rem; margin-bottom: 0.5rem; }

.shared-meeting-heading { margin-bottom: 2rem; }
.shared-meeting-heading .gl-page-title { margin-bottom: 0.5rem; }
