/* Existing visual identity, extracted for later brand exploration.
   Local review scope only: no application theme or production-site changes. */
:root {
  --brand-font: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  --brand-accent: #167267;
  --brand-dark: #173d35;
  --brand-soft: #edf6f0;
  --brand-paper: #f6f8f3;
  --brand-white: #fff;
  --brand-ink: #172b2b;
  --brand-secondary: #526664;
  --brand-muted: #708276;
  --brand-line: #d8e4dd;
  --brand-line-light: #e5ebe7;
  --brand-blue-bg: #e7edf8;
  --brand-blue-ink: #40609b;
  --brand-mint-bg: #dcf2e9;
  --brand-mint-ink: #307661;
  --brand-violet-bg: #ece7fa;
  --brand-violet-ink: #7860a4;
  --brand-amber-bg: #f6f4e9;
  --brand-amber-ink: #a16c31;
  --brand-dark-muted: #b8cdc3;
  --brand-shadow: 0 10px 28px #123d2d08;

  /* Semantic roles: warnings and actor identities stay distinguishable
     when the primary brand palette changes. */
  --color-text: var(--brand-ink);
  --color-secondary: var(--brand-secondary);
  --color-muted: var(--brand-muted);
  --color-accent: var(--brand-accent);
  --color-action: var(--brand-dark);
  --color-surface: var(--brand-white);
  --color-soft: var(--brand-paper);
  --color-highlight: var(--brand-soft);
  --color-line: var(--brand-line);
  --color-divider: var(--brand-line-light);
  --color-customer-bg: var(--brand-blue-bg);
  --color-customer-text: var(--brand-blue-ink);
  --color-member-two-bg: var(--brand-mint-bg);
  --color-member-two-text: var(--brand-mint-ink);
  --color-member-three-bg: var(--brand-violet-bg);
  --color-member-three-text: var(--brand-violet-ink);
  --color-attention-bg: var(--brand-amber-bg);
  --color-attention-text: var(--brand-amber-ink);

  /* Page foundation: independent of brand palette and scene clock. */
  --page-width: 1216px;
  --page-gutter: 48px;
  --nav-height: 70px;
  --review-height: 40px;
  --chapter-min-height: 80svh;
  --hero-min-height: calc(100svh - var(--nav-height) - var(--review-height) - 1px);
  --section-space: 32px;
  --heading-gap: 22px;
  --scene-padding: 24px;
  --radius-small: 6px;
  --radius-panel: 12px;
  --radius-icon: 13px;
  --font-hero: clamp(36px, 3.6vw, 52px);
  --font-heading: 34px;
  --font-body: 16px;
  --font-scene: 15px;
  --font-label: 12px;
  --line-body: 1.65;

  /* Per-scene frames reserve the longest state, not an entire viewport. */
  --scene-team-width: 1080px;
  --scene-chat-width: 940px;
  --scene-insight-width: 1080px;
  --scene-report-width: 1080px;
  --scene-team-height: 380px;
  --scene-chat-height: 510px;
  --scene-insight-height: 470px;
  --scene-report-height: 560px;
}
@media (min-width:701px) and (max-width:1000px) {
  :root { --page-gutter:24px; --font-heading:30px; --scene-chat-height:540px; --scene-insight-height:560px; --scene-report-height:610px; }
}
@media (max-width:700px) {
  :root {
    --page-gutter:18px; --section-space:28px; --heading-gap:18px; --nav-height:98px;
    --scene-padding:16px; --font-hero:28px; --font-heading:27px;
    --font-body:14px; --font-scene:14px; --font-label:11px;
    --scene-team-height:425px; --scene-chat-height:570px;
    --scene-insight-height:790px; --scene-report-height:780px;
  }
}
@media (max-width:380px) {
  :root { --scene-chat-height:610px; }
}
