/* Explicit choice overrides the operating-system preference. */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f5f7f2;
  --surface-2: #eaf0e5;
  --text: #202b22;
  --muted: #586452;
  --line: #23391d26;
  --accent: #39651c;
  --accent-rgb: 57 101 28;
  --cyan: #086e72;
}

html[data-theme="light"] .site-header { background: #fffffff0; }

html[data-theme="light"] .nav-row nav a,
html[data-theme="light"] .hero-description,
html[data-theme="light"] .integration-names,
html[data-theme="light"] h2 .serif,
html[data-theme="light"] .scenario-tabs > button,
html[data-theme="light"] .chat-message p,
html[data-theme="light"] .meeting-card p,
html[data-theme="light"] .meeting-task,
html[data-theme="light"] .desktop-bottom p,
html[data-theme="light"] .docs-content p,
html[data-theme="light"] .docs-content li,
html[data-theme="light"] .docs-content td { color: #485641; }

html[data-theme="light"] .orb-topline,
html[data-theme="light"] .orb-cross,
html[data-theme="light"] .floating-note small,
html[data-theme="light"] .scenario-number,
html[data-theme="light"] .scenario-tabs small,
html[data-theme="light"] .demo-label,
html[data-theme="light"] .demo-bottom,
html[data-theme="light"] .source-row small,
html[data-theme="light"] .source-time,
html[data-theme="light"] .screenshot-header > .mono,
html[data-theme="light"] .desktop-gallery-tabs .mono,
html[data-theme="light"] .architecture-line,
html[data-theme="light"] .start-aside a > span:first-child,
html[data-theme="light"] .footer-note,
html[data-theme="light"] .docs-sidebar > .mono,
html[data-theme="light"] .code-header,
html[data-theme="light"] .visual-label,
html[data-theme="light"] .abstract-card > span,
html[data-theme="light"] .docs-content .reference-source { color: #586452; }

html[data-theme="light"] .button,
html[data-theme="light"] .announcement-divider,
html[data-theme="light"] .desktop-gallery-main,
html[data-theme="light"] .node-icon,
html[data-theme="light"] dialog { border-color: var(--line); }

html[data-theme="light"] .button:hover,
html[data-theme="light"] .orb-state-btn.active,
html[data-theme="light"] .source-icon,
html[data-theme="light"] .segmented button.active,
html[data-theme="light"] .platform,
html[data-theme="light"] .docs-content th { background: var(--surface); }

html[data-theme="light"] .button.primary,
html[data-theme="light"] .button.primary:hover { color: #fff; background: var(--accent); }

html[data-theme="light"] .button.primary:hover { background: #294d11; }

html[data-theme="light"] .announcement-divider { background: var(--line); }

html[data-theme="light"] .orb-orbit { border-color: #476d2926; }

html[data-theme="light"] .orbit-two { border-color: #476d291a; }

html[data-theme="light"] .hero-visual { background: radial-gradient(ellipse at 55% 50%, #e5f4f0aa, transparent 68%); }

html[data-theme="light"] .floating-note { background: #ffffffea; border-color: #42632b30; box-shadow: 0 12px 35px #23391d0d; }

html[data-theme="light"] .scenario-sidebar,
html[data-theme="light"] .desktop-section,
html[data-theme="light"] .desktop-toolbar,
html[data-theme="light"] .code-header,
html[data-theme="light"] .abstract-card.back-card { background: var(--surface); }

html[data-theme="light"] .scenario-stage,
html[data-theme="light"] .desktop-capability,
html[data-theme="light"] dialog { background: var(--bg); }

html[data-theme="light"] .demo-stat,
html[data-theme="light"] .meeting-card,
html[data-theme="light"] .chat-message,
html[data-theme="light"] .node-icon,
html[data-theme="light"] .doc-card,
html[data-theme="light"] .abstract-card { background: var(--surface); }

html[data-theme="light"] .source-state,
html[data-theme="light"] .demo-callout,
html[data-theme="light"] .doc-note,
html[data-theme="light"] .node-icon,
html[data-theme="light"] .architecture-line > div:after { color: #39651c; }

html[data-theme="light"] .nav-row nav a:hover,
html[data-theme="light"] .scenario-tabs button.active,
html[data-theme="light"] .scenario-tabs button:hover,
html[data-theme="light"] .desktop-gallery-tabs button.active .mono { color: var(--accent); }

html[data-theme="light"] .urgency.critical { color: #923f13; border-color: #923f1340; }

html[data-theme="light"] .chat-message.user { background: #eaf0e5; }

html[data-theme="light"] .zoom-hint { background: #ffffffed; color: var(--text); border-color: var(--line); }

html[data-theme="light"] .start-section { background: radial-gradient(ellipse at 5% 0%, #dceac9, transparent 75%), var(--surface); border-color: var(--line); }

html[data-theme="light"] .docs-content strong,
html[data-theme="light"] .docs-content th { color: var(--text); }

html[data-theme="light"] .docs-content code { color: #34551f; }

html[data-theme="light"] .docs-content pre { background: #f6f8f3; }

html[data-theme="light"] .docs-content pre code { color: #30482c; }

html[data-theme="light"] .doc-note.warning { color: #734415; background: #fff8ed; border-color: #b67829; }

html[data-theme="light"] .spatial-cube:before,
html[data-theme="light"] .spatial-cube:after,
html[data-theme="light"] .spatial-cube i { border-color: #39651ca0; }

html[data-theme="light"] .spatial-axis { border-color: #39651c40; }
@media (max-width: 600px) {
html[data-theme="light"] .nav-row nav { background: var(--bg); } }

@media (prefers-color-scheme: light) {
html:not([data-theme]) {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f5f7f2;
  --surface-2: #eaf0e5;
  --text: #202b22;
  --muted: #586452;
  --line: #23391d26;
  --accent: #39651c;
  --accent-rgb: 57 101 28;
  --cyan: #086e72;
}

html:not([data-theme]) .site-header { background: #fffffff0; }

html:not([data-theme]) .nav-row nav a,
html:not([data-theme]) .hero-description,
html:not([data-theme]) .integration-names,
html:not([data-theme]) h2 .serif,
html:not([data-theme]) .scenario-tabs > button,
html:not([data-theme]) .chat-message p,
html:not([data-theme]) .meeting-card p,
html:not([data-theme]) .meeting-task,
html:not([data-theme]) .desktop-bottom p,
html:not([data-theme]) .docs-content p,
html:not([data-theme]) .docs-content li,
html:not([data-theme]) .docs-content td { color: #485641; }

html:not([data-theme]) .orb-topline,
html:not([data-theme]) .orb-cross,
html:not([data-theme]) .floating-note small,
html:not([data-theme]) .scenario-number,
html:not([data-theme]) .scenario-tabs small,
html:not([data-theme]) .demo-label,
html:not([data-theme]) .demo-bottom,
html:not([data-theme]) .source-row small,
html:not([data-theme]) .source-time,
html:not([data-theme]) .screenshot-header > .mono,
html:not([data-theme]) .desktop-gallery-tabs .mono,
html:not([data-theme]) .architecture-line,
html:not([data-theme]) .start-aside a > span:first-child,
html:not([data-theme]) .footer-note,
html:not([data-theme]) .docs-sidebar > .mono,
html:not([data-theme]) .code-header,
html:not([data-theme]) .visual-label,
html:not([data-theme]) .abstract-card > span,
html:not([data-theme]) .docs-content .reference-source { color: #586452; }

html:not([data-theme]) .button,
html:not([data-theme]) .announcement-divider,
html:not([data-theme]) .desktop-gallery-main,
html:not([data-theme]) .node-icon,
html:not([data-theme]) dialog { border-color: var(--line); }

html:not([data-theme]) .button:hover,
html:not([data-theme]) .orb-state-btn.active,
html:not([data-theme]) .source-icon,
html:not([data-theme]) .segmented button.active,
html:not([data-theme]) .platform,
html:not([data-theme]) .docs-content th { background: var(--surface); }

html:not([data-theme]) .button.primary,
html:not([data-theme]) .button.primary:hover { color: #fff; background: var(--accent); }

html:not([data-theme]) .button.primary:hover { background: #294d11; }

html:not([data-theme]) .announcement-divider { background: var(--line); }

html:not([data-theme]) .orb-orbit { border-color: #476d2926; }

html:not([data-theme]) .orbit-two { border-color: #476d291a; }

html:not([data-theme]) .hero-visual { background: radial-gradient(ellipse at 55% 50%, #e5f4f0aa, transparent 68%); }

html:not([data-theme]) .floating-note { background: #ffffffea; border-color: #42632b30; box-shadow: 0 12px 35px #23391d0d; }

html:not([data-theme]) .scenario-sidebar,
html:not([data-theme]) .desktop-section,
html:not([data-theme]) .desktop-toolbar,
html:not([data-theme]) .code-header,
html:not([data-theme]) .abstract-card.back-card { background: var(--surface); }

html:not([data-theme]) .scenario-stage,
html:not([data-theme]) .desktop-capability,
html:not([data-theme]) dialog { background: var(--bg); }

html:not([data-theme]) .demo-stat,
html:not([data-theme]) .meeting-card,
html:not([data-theme]) .chat-message,
html:not([data-theme]) .node-icon,
html:not([data-theme]) .doc-card,
html:not([data-theme]) .abstract-card { background: var(--surface); }

html:not([data-theme]) .source-state,
html:not([data-theme]) .demo-callout,
html:not([data-theme]) .doc-note,
html:not([data-theme]) .node-icon,
html:not([data-theme]) .architecture-line > div:after { color: #39651c; }

html:not([data-theme]) .nav-row nav a:hover,
html:not([data-theme]) .scenario-tabs button.active,
html:not([data-theme]) .scenario-tabs button:hover,
html:not([data-theme]) .desktop-gallery-tabs button.active .mono { color: var(--accent); }

html:not([data-theme]) .urgency.critical { color: #923f13; border-color: #923f1340; }

html:not([data-theme]) .chat-message.user { background: #eaf0e5; }

html:not([data-theme]) .zoom-hint { background: #ffffffed; color: var(--text); border-color: var(--line); }

html:not([data-theme]) .start-section { background: radial-gradient(ellipse at 5% 0%, #dceac9, transparent 75%), var(--surface); border-color: var(--line); }

html:not([data-theme]) .docs-content strong,
html:not([data-theme]) .docs-content th { color: var(--text); }

html:not([data-theme]) .docs-content code { color: #34551f; }

html:not([data-theme]) .docs-content pre { background: #f6f8f3; }

html:not([data-theme]) .docs-content pre code { color: #30482c; }

html:not([data-theme]) .doc-note.warning { color: #734415; background: #fff8ed; border-color: #b67829; }

html:not([data-theme]) .spatial-cube:before,
html:not([data-theme]) .spatial-cube:after,
html:not([data-theme]) .spatial-cube i { border-color: #39651ca0; }

html:not([data-theme]) .spatial-axis { border-color: #39651c40; }
@media (max-width: 600px) {
html:not([data-theme]) .nav-row nav { background: var(--bg); } }

}
