/*
 * Quantin color modes — Version 62.
 * This file is intentionally loaded after every template stylesheet so all
 * existing and future WordPress views receive the shared color-mode layer.
 */
:root {
  --quantin-canvas: #f4f4f1;
  --quantin-ink: #132730;
  --quantin-heading: #12252e;
  --quantin-copy: #52656e;
  --quantin-panel: rgba(255,255,255,.48);
  --quantin-panel-strong: rgba(255,255,255,.74);
  --quantin-line: rgba(24,53,67,.1);
  --quantin-shadow: rgba(24,47,58,.08);
  --quantin-nav: rgba(237,240,238,.76);
}

html[data-theme="dark"] {
  --quantin-canvas: #091419;
  --quantin-ink: #dce8eb;
  --quantin-heading: #f0f7f8;
  --quantin-copy: #9db0b7;
  --quantin-panel: rgba(17,35,42,.68);
  --quantin-panel-strong: rgba(22,43,51,.9);
  --quantin-line: rgba(178,218,232,.12);
  --quantin-shadow: rgba(0,0,0,.34);
  --quantin-nav: rgba(12,27,33,.82);
  background:#091419;
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  color:#dce8eb;
  background:#091419;
}

body,
.architecture-nav,
.footer-shell,
.glass-panel,
.entry-card,
.journal-topics-shell,
.journal-grid .entry-preview,
.documentation-sidebar,
.documentation-section-card,
.documentation-article-list article,
.contact-page,
.glass-contact,
.meeting-page,
.meeting-glass,
.kit-footer,
.coming-page,
.coming-bottom {
  transition:background-color 260ms ease,color 260ms ease,border-color 260ms ease,box-shadow 260ms ease;
}

/* Shared header control. */
.header-actions { display:flex; justify-self:end; align-items:center; gap:7px; }
.theme-toggle { position:relative; display:grid; place-items:center; width:38px; height:38px; padding:0; border:1px solid rgba(255,255,255,.68); border-radius:12px; background:rgba(255,255,255,.38); color:#173746; box-shadow:inset 0 1px 0 rgba(255,255,255,.72); cursor:pointer; }
.theme-toggle-mobile { display:none; }
.theme-toggle-copy { display:grid; gap:3px; text-align:left; }
.theme-toggle-copy small { color:#71848b; font-size:10px; font-weight:550; letter-spacing:.12em; text-transform:uppercase; }
.theme-toggle-copy strong { color:#173746; font-size:14px; font-weight:650; letter-spacing:.035em; }
.theme-toggle-icon { position:relative; display:block; width:15px; height:15px; border:1.7px solid currentColor; border-radius:50%; color:#bd7a17; transition:transform 260ms ease,color 260ms ease,filter 260ms ease; }
.theme-toggle-icon::before { content:""; position:absolute; top:50%; left:50%; width:3px; height:3px; border-radius:50%; background:currentColor; box-shadow:0 -10px 0 -1px currentColor,0 10px 0 -1px currentColor,10px 0 0 -1px currentColor,-10px 0 0 -1px currentColor,7px 7px 0 -1px currentColor,-7px -7px 0 -1px currentColor,7px -7px 0 -1px currentColor,-7px 7px 0 -1px currentColor; transform:translate(-50%,-50%); }
.theme-toggle-icon::after { content:none; }
.theme-toggle:hover .theme-toggle-icon { transform:rotate(18deg) scale(1.08); filter:drop-shadow(0 0 5px rgba(205,139,35,.28)); }
html[data-theme="dark"] .theme-toggle-icon { border:0; background:#8ed8f3; color:#8ed8f3; box-shadow:0 0 13px rgba(87,194,235,.3); transform:rotate(-18deg); -webkit-mask:radial-gradient(circle at 66% 30%,transparent 0 5px,#000 5.5px); mask:radial-gradient(circle at 66% 30%,transparent 0 5px,#000 5.5px); }
html[data-theme="dark"] .theme-toggle-icon::before { content:none; }
html[data-theme="dark"] .theme-toggle:hover .theme-toggle-icon { transform:rotate(-8deg) scale(1.08); filter:drop-shadow(0 0 6px rgba(87,194,235,.35)); }
.standalone-theme-toggle { position:absolute; z-index:20; top:26px; right:0; }
.quantin-coming-body .coming-status { right:54px; }

/* Global type and controls. */
html[data-theme="dark"] body:not(.home) h1,
html[data-theme="dark"] body:not(.home) h2,
html[data-theme="dark"] body:not(.home) h3,
html[data-theme="dark"] body:not(.home) h4,
html[data-theme="dark"] body:not(.home) h5,
html[data-theme="dark"] body:not(.home) h6,
html[data-theme="dark"] body:not(.home) strong,
html[data-theme="dark"] .content-title,
html[data-theme="dark"] .entry-article > .entry-content h2,
html[data-theme="dark"] .entry-article > .entry-content h3 { color:#f0f7f8; }
html[data-theme="dark"] body:not(.home) p,
html[data-theme="dark"] .entry-content,
html[data-theme="dark"] .content-description,
html[data-theme="dark"] .entry-summary { color:#9db0b7; }
html[data-theme="dark"] input:not([type="submit"]),
html[data-theme="dark"] textarea,
html[data-theme="dark"] select { border-color:rgba(178,218,232,.16); background:rgba(7,20,25,.56); color:#e7f0f2; }
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color:rgba(204,225,232,.38); }
html[data-theme="dark"] :focus-visible { outline:2px solid #42a9d4; outline-offset:3px; }

/* Navigation and footer. */
html[data-theme="dark"] .architecture-nav { border-color:rgba(183,221,233,.14); background:rgba(10,25,31,.82); box-shadow:0 18px 48px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.08); }
html[data-theme="dark"] .header-brand,
html[data-theme="dark"] .nav-links a { color:rgba(222,238,242,.7); }
html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links a.is-active,
html[data-theme="dark"] .primary-menu .current-menu-item > a,
html[data-theme="dark"] .primary-menu .current_page_item > a,
html[data-theme="dark"] .primary-menu .current-menu-ancestor > a,
html[data-theme="dark"] .primary-menu .current_page_ancestor > a { color:#f0f7f8; background:rgba(116,184,211,.13); box-shadow:inset 0 0 0 1px rgba(155,215,237,.1); }
html[data-theme="dark"] .primary-menu .sub-menu { border-color:rgba(178,218,232,.14); background:rgba(10,27,34,.97); box-shadow:0 24px 60px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.06); }
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .mobile-menu-toggle { border-color:rgba(183,221,233,.14); background:rgba(116,184,211,.08); color:#b8dae7; box-shadow:inset 0 1px 0 rgba(255,255,255,.07); }
html[data-theme="dark"] .mobile-menu-toggle i { background:#b8dae7; }
html[data-theme="dark"] .architecture-footer { color:#dce8eb; }
html[data-theme="dark"] .footer-shell { border-color:rgba(183,221,233,.11); background:linear-gradient(135deg,rgba(20,43,51,.86),rgba(8,23,29,.76)); box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 24px 75px rgba(0,0,0,.3); }
html[data-theme="dark"] .footer-shell::after { background:linear-gradient(115deg,rgba(124,195,222,.07),transparent 28%,transparent 74%,rgba(255,255,255,.025)); }
html[data-theme="dark"] .footer-kicker,
html[data-theme="dark"] .footer-navigation span,
html[data-theme="dark"] .footer-bottom { color:rgba(179,214,225,.62); }
html[data-theme="dark"] .footer-intro p { color:#9db0b7; }
html[data-theme="dark"] .footer-navigation a { color:rgba(226,239,242,.78); }
html[data-theme="dark"] .footer-navigation a:hover { color:#fff; }
html[data-theme="dark"] .footer-bottom { border-color:rgba(178,218,232,.12); }

/* The homepage media was authored for the light canvas. In dark mode only the
   global header and footer change; the complete experience stays light. */
html[data-theme="dark"] body.home {
  --quantin-canvas:#f4f4f1;
  --quantin-ink:#132730;
  --quantin-heading:#12252e;
  --quantin-copy:#52656e;
  --quantin-panel:rgba(255,255,255,.48);
  --quantin-panel-strong:rgba(255,255,255,.74);
  --quantin-line:rgba(24,53,67,.1);
  --quantin-shadow:rgba(24,47,58,.08);
  color:#132730;
  background:#f4f4f1;
  color-scheme:light;
}
html.quantin-front-page[data-theme="dark"] { background:#f4f4f1; }
html[data-theme="dark"] body.home .architecture-nav { background:rgba(10,25,31,.95); }
html[data-theme="dark"] body.home .footer-shell { background:linear-gradient(135deg,rgba(20,43,51,.98),rgba(8,23,29,.96)); }

/* Standard WordPress, Journal, posts, search and 404. */
html[data-theme="dark"] .entry-card,
html[data-theme="dark"] .journal-grid .entry-preview,
html[data-theme="dark"] .post-navigation a,
html[data-theme="dark"] .pagination a,
html[data-theme="dark"] .pagination span { border-color:rgba(178,218,232,.11); background:rgba(15,33,40,.68); box-shadow:0 18px 55px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.05); color:#dce8eb; }
/* Standard WordPress pages stay editorial and borderless in both modes. */
html[data-theme="dark"] body.page .entry-card.entry-article {
  border:0;
  background:transparent;
  box-shadow:none;
}
html[data-theme="dark"] body.single-post .entry-card.entry-article {
  border:0;
  background:transparent;
  box-shadow:none;
}
html[data-theme="dark"] .entry-meta,
html[data-theme="dark"] .content-kicker { color:rgba(171,211,225,.55); }
html[data-theme="dark"] .entry-article > .entry-content { color:#a9bac0; }
html[data-theme="dark"] .entry-article > .entry-content blockquote { color:#c6d7dc; }
html[data-theme="dark"] .post-thumbnail-featured,
html[data-theme="dark"] .entry-preview .post-thumbnail { background:#0e2027; box-shadow:0 28px 80px rgba(0,0,0,.3); }
html[data-theme="dark"] .post-thumbnail-featured::after { background:linear-gradient(to bottom,transparent 72%,rgba(9,20,25,.16)); box-shadow:inset 0 0 75px 24px rgba(9,20,25,.22); }
html[data-theme="dark"] .journal-topics-shell { border-color:rgba(178,218,232,.11); background:rgba(15,33,40,.68); box-shadow:0 18px 46px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.05); }
html[data-theme="dark"] .journal-topics a { color:rgba(200,224,232,.64); }
html[data-theme="dark"] .journal-topics a:hover,
html[data-theme="dark"] .journal-topics .current-menu-item > a,
html[data-theme="dark"] .journal-topics .current-category-ancestor > a { border-color:rgba(139,205,231,.12); background:rgba(116,184,211,.12); color:#eff8fa; box-shadow:none; }
html[data-theme="dark"] .journal-topics > li > .sub-menu { border-color:rgba(178,218,232,.14); background:rgba(10,27,34,.97); box-shadow:0 25px 65px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.06); }
html[data-theme="dark"] .entry-preview .entry-content { color:#9db0b7; }
html[data-theme="dark"] .entry-read { border-color:rgba(178,218,232,.11); color:rgba(218,235,240,.78)!important; }
html[data-theme="dark"] .journal-related { border-color:rgba(178,218,232,.12); }
html[data-theme="dark"] .journal-related-header span { color:rgba(171,211,225,.58); }
html[data-theme="dark"] .journal-related-header h2 { color:#eff7f8; }
html[data-theme="dark"] .post-navigation .nav-links a { border-color:rgba(178,218,232,.12); background:linear-gradient(145deg,rgba(20,42,50,.82),rgba(10,27,33,.74)); box-shadow:0 22px 60px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.05); color:#edf6f8; }
html[data-theme="dark"] .post-navigation .nav-links a::after { border-color:rgba(74,178,218,.1); box-shadow:0 0 0 42px rgba(22,137,189,.025); }
html[data-theme="dark"] .post-navigation .nav-links a:hover,html[data-theme="dark"] .post-navigation .nav-links a:focus-visible { border-color:rgba(81,190,232,.34); box-shadow:0 28px 70px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.07); }
html[data-theme="dark"] .post-navigation .nav-direction,html[data-theme="dark"] .post-navigation small { color:rgba(188,216,225,.64); }

/* Privacy Policy. */
html[data-theme="dark"] .privacy-page {
  --privacy-panel:rgba(15,33,40,.76);
  --privacy-panel-strong:rgba(20,43,51,.9);
  --privacy-border:rgba(178,218,232,.13);
  --privacy-line:rgba(178,218,232,.12);
}
html[data-theme="dark"] .privacy-page::before { background:radial-gradient(circle,rgba(53,170,217,.13),rgba(53,170,217,0) 68%); }
html[data-theme="dark"] .privacy-orbit { border-color:rgba(103,198,234,.09); }
html[data-theme="dark"] .privacy-hero { border-color:var(--privacy-border); background:linear-gradient(135deg,rgba(21,45,54,.88),rgba(9,27,33,.78)); box-shadow:0 30px 85px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.065); }
html[data-theme="dark"] .privacy-hero::after { border-color:rgba(97,195,232,.09); box-shadow:0 0 0 68px rgba(69,173,214,.025),0 0 0 136px rgba(69,173,214,.012); }
html[data-theme="dark"] .privacy-kicker { color:#8fc5d8; }
html[data-theme="dark"] .privacy-kicker i { border-color:#68c1e2; background:rgba(82,189,229,.14); box-shadow:0 0 0 5px rgba(82,189,229,.07); }
html[data-theme="dark"] .privacy-hero h1 { color:#f3fafb; }
html[data-theme="dark"] .privacy-lead { color:#b3c7ce; }
html[data-theme="dark"] .privacy-hero-meta { border-color:rgba(178,218,232,.12); background:rgba(7,23,29,.48); box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 15px 38px rgba(0,0,0,.18); }
html[data-theme="dark"] .privacy-hero-meta span,html[data-theme="dark"] .privacy-hero-meta small { color:#8fb0bb; }
html[data-theme="dark"] .privacy-hero-meta strong { color:#ecf5f7; }
html[data-theme="dark"] .privacy-index-card,html[data-theme="dark"] .privacy-document { border-color:var(--privacy-border); background:var(--privacy-panel); box-shadow:0 24px 65px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.05); }
html[data-theme="dark"] .privacy-index-heading span { color:#edf6f8; }
html[data-theme="dark"] .privacy-index-heading small { color:#88a9b4; }
html[data-theme="dark"] .privacy-index a { color:#b2c7ce; }
html[data-theme="dark"] .privacy-index a:hover,html[data-theme="dark"] .privacy-index a:focus-visible { color:#f2fafb; background:rgba(116,184,211,.12); }
html[data-theme="dark"] .privacy-index .is-level-3 a,html[data-theme="dark"] .privacy-index-empty { color:#94afb8; }
html[data-theme="dark"] .privacy-document-intro span { border-color:rgba(103,198,234,.21); background:rgba(67,171,211,.1); color:#8ed8f3; }
html[data-theme="dark"] .privacy-document-intro p { color:#d1e1e5; }
html[data-theme="dark"] .privacy-content { color:#b4c6cc; }
html[data-theme="dark"] .privacy-content h2,html[data-theme="dark"] .privacy-content h3 { color:#f0f7f8; }
html[data-theme="dark"] .privacy-content strong { color:#e2eef1; }
html[data-theme="dark"] .privacy-content a { color:#8ed8f3; }
html[data-theme="dark"] .privacy-content blockquote { border-color:rgba(103,198,234,.16); border-left-color:#68c1e2; background:rgba(61,164,203,.08); color:#c9dce1; }
html[data-theme="dark"] .privacy-content table { border-color:var(--privacy-line); }
html[data-theme="dark"] .privacy-content th { background:rgba(116,184,211,.09); color:#eaf4f6; }

/* Documentation. */
html[data-theme="dark"] .documentation-sidebar,
html[data-theme="dark"] .documentation-section-card { border-color:rgba(178,218,232,.12); background:linear-gradient(145deg,rgba(20,42,50,.8),rgba(10,27,33,.72)); box-shadow:0 20px 60px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.05); }
html[data-theme="dark"] .documentation-sidebar-heading { border-color:rgba(178,218,232,.1); }
html[data-theme="dark"] .documentation-sidebar-heading span,
html[data-theme="dark"] .documentation-kicker,
html[data-theme="dark"] .documentation-section-card > div > span,
html[data-theme="dark"] .documentation-empty > span { color:rgba(179,214,225,.56); }
html[data-theme="dark"] .documentation-menu a { color:rgba(211,230,235,.7); }
html[data-theme="dark"] .documentation-menu a:hover,
html[data-theme="dark"] .documentation-menu .current-menu-item > a,
html[data-theme="dark"] .documentation-menu .current-category-ancestor > a { background:rgba(116,184,211,.12); color:#eff8fa; }
html[data-theme="dark"] .documentation-menu .sub-menu { border-color:rgba(178,218,232,.12); }
html[data-theme="dark"] .documentation-description,
html[data-theme="dark"] .documentation-article > header p,
html[data-theme="dark"] .documentation-introduction,
html[data-theme="dark"] .documentation-section-card p,
html[data-theme="dark"] .documentation-empty p,
html[data-theme="dark"] .documentation-content { color:#9db0b7; }
html[data-theme="dark"] .documentation-section-card h2 { color:#eef7f8; }
html[data-theme="dark"] .documentation-section-card:hover { border-color:rgba(99,190,225,.28); background:linear-gradient(145deg,rgba(25,51,61,.9),rgba(11,31,38,.8)); box-shadow:0 25px 66px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.07); }
html[data-theme="dark"] .documentation-section-icon { border-color:rgba(111,205,240,.28); background:linear-gradient(145deg,rgba(45,103,125,.3),rgba(12,34,42,.72)); box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 26px rgba(0,0,0,.2); }
html[data-theme="dark"] .documentation-section-icon i { width:9px; height:9px; border:1.5px solid #8ed8f3; background:rgba(142,216,243,.14); box-shadow:0 0 0 4px rgba(87,194,235,.1),0 0 14px rgba(87,194,235,.38); }
html[data-theme="dark"] .documentation-empty,
html[data-theme="dark"] .documentation-article-list article { border-color:rgba(178,218,232,.11); background:rgba(15,33,40,.62); box-shadow:inset 0 1px 0 rgba(255,255,255,.04); }
html[data-theme="dark"] .documentation-article-list span { color:#8fc5d8; }
html[data-theme="dark"] .documentation-article-list h2 a { color:#f0f7f8; }
html[data-theme="dark"] .documentation-article-list p { color:#b7c8cd; }
html[data-theme="dark"] .documentation-arrow { color:#8fc5d8; }

/* Contact and meeting flows. */
html[data-theme="dark"] .contact-page { color:#dce8eb; }
html[data-theme="dark"] .glass-contact,
html[data-theme="dark"] .meeting-glass { border-color:rgba(178,218,232,.12); background:linear-gradient(135deg,rgba(20,42,50,.78),rgba(9,26,32,.7)); box-shadow:0 24px 70px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05); }
html[data-theme="dark"] .contact-hero h1,
html[data-theme="dark"] .meeting-hero h1 { color:#f0f7f8; }
html[data-theme="dark"] .contact-hero h1 em,
html[data-theme="dark"] .meeting-hero h1 em { color:#7f99a2; }
html[data-theme="dark"] .contact-hero-grid > div > p,
html[data-theme="dark"] .contact-response p,
html[data-theme="dark"] .route-card p,
html[data-theme="dark"] .contact-section-heading p,
html[data-theme="dark"] .office-details dd,
html[data-theme="dark"] .meeting-page { color:#9db0b7; }
html[data-theme="dark"] .contact-page input:not([type="submit"]),
html[data-theme="dark"] .contact-page select,
html[data-theme="dark"] .contact-page textarea,
html[data-theme="dark"] .contact-page .wpcf7-form-control:not(.wpcf7-submit),
html[data-theme="dark"] .meeting-detail-fields input,
html[data-theme="dark"] .meeting-detail-fields textarea { border-color:rgba(178,218,232,.16); background:transparent; color:#e7f0f2; }
html[data-theme="dark"] .office-map { background:linear-gradient(145deg,rgba(14,33,40,.92),rgba(8,24,30,.82)); }
html[data-theme="dark"] .map-grid { background-image:linear-gradient(rgba(117,190,219,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(117,190,219,.07) 1px,transparent 1px); }
html[data-theme="dark"] .map-marker i { border-color:#10232a; }
html[data-theme="dark"] .route-card a,
html[data-theme="dark"] .contact-direct a { color:#bde2ef; }
html[data-theme="dark"] .contact-form-live .wpcf7-response-output,
html[data-theme="dark"] .contact-form-setup,
html[data-theme="dark"] .contact-form-unavailable { background:rgba(15,33,40,.64); color:#b5c9d0; }
html[data-theme="dark"] .contact-eyebrow,
html[data-theme="dark"] .contact-section-heading > span,
html[data-theme="dark"] .route-card > span,
html[data-theme="dark"] .contact-response > span,
html[data-theme="dark"] .office-details > span,
html[data-theme="dark"] .contact-direct > span,
html[data-theme="dark"] .contact-form-note,
html[data-theme="dark"] .contact-response div,
html[data-theme="dark"] .office-details dt,
html[data-theme="dark"] .map-caption,
html[data-theme="dark"] .map-marker span { color:#8fc5d8; }
html[data-theme="dark"] .contact-form-live .contact-field > label,
html[data-theme="dark"] .contact-page .contact-form-live label,
html[data-theme="dark"] .contact-page .contact-field label,
html[data-theme="dark"] .contact-field,
html[data-theme="dark"] .contact-form-submit p,
html[data-theme="dark"] .contact-form-live .contact-form-submit > p { color:#b7c8cd; }
html[data-theme="dark"] .meeting-page { --ink:#e9f3f5; --muted:rgba(194,217,224,.64); --line:rgba(178,218,232,.12); }
html[data-theme="dark"] .meeting-type,
html[data-theme="dark"] .meeting-team,
html[data-theme="dark"] .meeting-times button,
html[data-theme="dark"] .meeting-summary,
html[data-theme="dark"] .meeting-input-card,
html[data-theme="dark"] .meeting-trust article,
html[data-theme="dark"] .meeting-date-cards button,
html[data-theme="dark"] .meeting-stage-actions > button.is-secondary { border-color:rgba(178,218,232,.11); background:rgba(13,31,38,.62); color:#e6f0f2; box-shadow:inset 0 1px 0 rgba(255,255,255,.035); }
html[data-theme="dark"] .meeting-type:hover,
html[data-theme="dark"] .meeting-type.is-selected,
html[data-theme="dark"] .meeting-team:hover,
html[data-theme="dark"] .meeting-team.is-selected { border-color:rgba(82,179,218,.34); background:rgba(50,104,126,.18); }
html[data-theme="dark"] .meeting-calendar-head button,
html[data-theme="dark"] .meeting-calendar-head .meeting-month-controls button { border-color:rgba(178,218,232,.13); background:rgba(13,31,38,.64); box-shadow:inset 0 1px 0 rgba(255,255,255,.04); }
html[data-theme="dark"] .meeting-kicker,
html[data-theme="dark"] .meeting-section-head > span,
html[data-theme="dark"] .meeting-calendar-head span,
html[data-theme="dark"] .meeting-time-label,
html[data-theme="dark"] .meeting-detail-fields label > span,
html[data-theme="dark"] .meeting-summary span,
html[data-theme="dark"] .meeting-trust > span,
html[data-theme="dark"] .meeting-availability span,
html[data-theme="dark"] .meeting-type > span,
html[data-theme="dark"] .meeting-type > i,
html[data-theme="dark"] .meeting-progress button i,
html[data-theme="dark"] .meeting-week span,
html[data-theme="dark"] .meeting-demo-note { color:#8fc5d8; }
html[data-theme="dark"] .meeting-trust article i { color:#8fc5d8; }
html[data-theme="dark"] .meeting-progress button { color:#9fb5bc; }
html[data-theme="dark"] .meeting-progress button.is-active { color:#f0f7f8; }
html[data-theme="dark"] .meeting-type small,
html[data-theme="dark"] .meeting-team small,
html[data-theme="dark"] .meeting-input-card > small,
html[data-theme="dark"] .meeting-stage-actions > span,
html[data-theme="dark"] .meeting-trust p { color:#b7c8cd; }

/* How It Works interactive demo. */
html[data-theme="dark"] .how-it-works-page { --canvas:#091419; --ink:#e8f2f4; --muted:rgba(194,217,224,.66); --faint:rgba(178,218,232,.12); background:#091419; color:#e8f2f4; }
html[data-theme="dark"] .how-it-works-page h1 .secondary { color:rgba(196,221,228,.28); }
html[data-theme="dark"] .how-it-works-page .hero-description,
html[data-theme="dark"] .how-it-works-page .eyebrow,
html[data-theme="dark"] .how-it-works-page .message small { color:rgba(194,217,224,.62); }
html[data-theme="dark"] .chat-card { border-color:rgba(178,218,232,.11); border-top-color:rgba(178,218,232,.035); background:#0d2027; box-shadow:0 38px 100px rgba(0,0,0,.36); }
html[data-theme="dark"] .intro-mode.show-chat.zoom-chat .chat-card { box-shadow:0 55px 150px rgba(0,0,0,.4); }
html[data-theme="dark"] .chat-card::before { background:linear-gradient(135deg,rgba(126,197,224,.025),transparent 30%); }
html[data-theme="dark"] .chat-header,
html[data-theme="dark"] .chat-form,
html[data-theme="dark"] .stage-visual { border-color:rgba(178,218,232,.1); }
html[data-theme="dark"] .chat-logo,
html[data-theme="dark"] .message-mark,
html[data-theme="dark"] .user-message p,
html[data-theme="dark"] .suggestions button,
html[data-theme="dark"] .news-item,
html[data-theme="dark"] .market-price { border-color:rgba(178,218,232,.11); background:rgba(24,49,58,.64); color:#dce8eb; }
html[data-theme="dark"] .analysis { background:linear-gradient(145deg,rgba(14,35,43,.98),rgba(10,29,36,.97)); box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 18px 46px rgba(0,0,0,.3); }
html[data-theme="dark"] .how-it-works-page .analysis-query { border-color:rgba(154,211,231,.15); background:#132d36; box-shadow:inset 0 1px 0 rgba(255,255,255,.035); }
html[data-theme="dark"] .how-it-works-page .analysis-query > span,
html[data-theme="dark"] .how-it-works-page .analysis-telemetry span { color:#8fb4c0; }
html[data-theme="dark"] .how-it-works-page .analysis-query p { color:#edf7f9; }
html[data-theme="dark"] .how-it-works-page .analysis-query > b { color:#45d6a8; }
html[data-theme="dark"] .how-it-works-page .analysis-title strong { color:#f3fafb; }
html[data-theme="dark"] .how-it-works-page .analysis-title small { color:#b6cdd4; }
html[data-theme="dark"] .how-it-works-page .analysis-telemetry > div { border-color:rgba(154,211,231,.13); background:#122a33; box-shadow:inset 0 1px 0 rgba(255,255,255,.025); }
html[data-theme="dark"] .how-it-works-page .analysis-telemetry strong { color:#e2eef1; }
html[data-theme="dark"] .how-it-works-page .analysis-telemetry > div:last-child strong { color:#45d6a8; }
html[data-theme="dark"] .loader::before { background:#102a33; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08); }
html[data-theme="dark"] .stage-visual.is-switching::after { background:rgba(11,29,36,.96); }
html[data-theme="dark"] .analysis::before { background-image:linear-gradient(rgba(150,207,229,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(150,207,229,.035) 1px,transparent 1px),radial-gradient(circle at 90% 8%,color-mix(in srgb,var(--stage-accent) 13%,transparent),transparent 34%); }
html[data-theme="dark"] .analysis-title small,
html[data-theme="dark"] .process-status,
html[data-theme="dark"] .scene-label,
html[data-theme="dark"] .news-item span,
html[data-theme="dark"] .market-price small,
html[data-theme="dark"] .market-price em,
html[data-theme="dark"] .risk-card span,
html[data-theme="dark"] .signal-card span,
html[data-theme="dark"] .donut-label small,
html[data-theme="dark"] .bar-row,
html[data-theme="dark"] .flow-node span,
html[data-theme="dark"] .model-choice,
html[data-theme="dark"] .decision-node,
html[data-theme="dark"] .report-lines span,
html[data-theme="dark"] .pulse-status { color:rgba(202,225,232,.7); }
html[data-theme="dark"] .stage-visual,
html[data-theme="dark"] .process-queue,
html[data-theme="dark"] .answer-heading,
html[data-theme="dark"] .final-answer footer { border-color:rgba(178,218,232,.12); }
html[data-theme="dark"] .process-queue::before { background:rgba(178,218,232,.16); }
html[data-theme="dark"] .how-it-works-page .process-item { border-color:rgba(154,211,231,.12); background:#10262e; opacity:.82; }
html[data-theme="dark"] .how-it-works-page .process-item.active { border-color:color-mix(in srgb,var(--stage-accent) 48%,transparent); background:color-mix(in srgb,var(--stage-accent) 16%,#10262e); opacity:1; box-shadow:inset 0 1px 0 rgba(255,255,255,.035); }
html[data-theme="dark"] .how-it-works-page .process-item.complete { border-color:rgba(69,214,168,.2); background:rgba(27,92,76,.24); opacity:.94; }
html[data-theme="dark"] .process-item::before { border-color:#102832; background:#55717b; box-shadow:0 0 0 1px rgba(178,218,232,.18); }
html[data-theme="dark"] .process-item > span,
html[data-theme="dark"] .process-item b { color:#8facb6; }
html[data-theme="dark"] .process-item strong { color:#dbe9ed; }
html[data-theme="dark"] .process-item small { color:#87a8b2; }
html[data-theme="dark"] .process-item.active strong { color:#fff; }
html[data-theme="dark"] .process-item.active small { color:#bad0d7; }
html[data-theme="dark"] .process-item.complete strong { color:#e7f4f1; }
html[data-theme="dark"] .process-item.complete small { color:#9bc1b7; }
html[data-theme="dark"] .process-item.complete > span,
html[data-theme="dark"] .process-item.complete b { color:#45d6a8; }
html[data-theme="dark"] .news-item,
html[data-theme="dark"] .market-price,
html[data-theme="dark"] .risk-card,
html[data-theme="dark"] .signal-card,
html[data-theme="dark"] .flow-node,
html[data-theme="dark"] .report-sheet,
html[data-theme="dark"] .pulse-monitor,
html[data-theme="dark"] .answer-evidence > div { border-color:rgba(178,218,232,.13); background:rgba(23,48,57,.78); box-shadow:none; }
html[data-theme="dark"] .report-sheet::before,
html[data-theme="dark"] .report-sheet::after { border-color:rgba(178,218,232,.08); background:rgba(17,38,46,.76); }
html[data-theme="dark"] .model-choice,
html[data-theme="dark"] .decision-node { border-color:rgba(178,218,232,.14); background:rgba(19,42,50,.65); }
html[data-theme="dark"] .model-choice.selected,
html[data-theme="dark"] .decision-node.active { border-color:color-mix(in srgb,var(--stage-accent) 44%,transparent); background:color-mix(in srgb,var(--stage-accent) 13%,transparent); color:#9addf7; }
html[data-theme="dark"] .network-panel { border-color:rgba(178,218,232,.1); }
html[data-theme="dark"] .neural-node { fill:#244653; stroke:#55afd2; }
html[data-theme="dark"] .trade-grid,
html[data-theme="dark"] .chart-grid { stroke:rgba(178,218,232,.13); }
html[data-theme="dark"] .axis-label { fill:rgba(199,222,229,.58); }
html[data-theme="dark"] .donut { background:conic-gradient(var(--color) var(--value),rgba(178,218,232,.12) 0); }
html[data-theme="dark"] .donut::before { background:#102a33; }
html[data-theme="dark"] .donut-label { color:#edf7f9; }
html[data-theme="dark"] .bar-row i,
html[data-theme="dark"] .risk-meter,
html[data-theme="dark"] .progress { background:rgba(178,218,232,.12); }
html[data-theme="dark"] .confidence-ring { background:radial-gradient(circle at center,#102a33 58%,transparent 59%),conic-gradient(var(--green) 64%,rgba(178,218,232,.12) 0); }
html[data-theme="dark"] .answer-summary,
html[data-theme="dark"] .answer-evidence li { color:#c6d9df; }
html[data-theme="dark"] .answer-evidence span,
html[data-theme="dark"] .answer-action span,
html[data-theme="dark"] .final-answer footer { color:rgba(194,217,224,.68); }
html[data-theme="dark"] .answer-action { background:rgba(22,137,189,.1); }
html[data-theme="dark"] .chat-form { border-color:rgba(178,218,232,.13); background:rgba(13,31,38,.82); box-shadow:0 10px 34px rgba(0,0,0,.25); }
html[data-theme="dark"] .chat-form > small,
html[data-theme="dark"] .demo-caption,
html[data-theme="dark"] .scroll-note,
html[data-theme="dark"] .replay-intro { color:rgba(194,217,224,.5); }
html[data-theme="dark"] .chat-header small,
html[data-theme="dark"] .how-it-works-page .hero-meta span,
html[data-theme="dark"] .more-button { color:#9fc8d5; }
html[data-theme="dark"] .chat-form button { background:#1689bd; color:#fff; }
html[data-theme="dark"] .skip-link:focus { background:#102a33; color:#eef7f8; }
html[data-theme="dark"] .process-teaser { border-color:rgba(178,218,232,.12); }

/* Design Kit: dark tokens and examples. */
html[data-theme="dark"] .glass-panel,
html[data-theme="dark"] .kit-footer { border-color:rgba(178,218,232,.12); background:linear-gradient(135deg,rgba(20,42,50,.78),rgba(9,26,32,.68)); box-shadow:0 24px 58px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.05); }
html[data-theme="dark"] .kit-hero h1 em { color:rgba(196,221,228,.32); }
html[data-theme="dark"] .kit-hero > p,
html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .font-license > div > p,
html[data-theme="dark"] .swatch small,
html[data-theme="dark"] .motion-list p,
html[data-theme="dark"] .viewport-card p,
html[data-theme="dark"] .usage-grid p { color:#9db0b7; }
html[data-theme="dark"] .font-license dt { color:rgba(128,196,222,.72); }
html[data-theme="dark"] .font-license dd,
html[data-theme="dark"] .font-license a { color:#c5d9df; }
html[data-theme="dark"] .font-license a:hover { color:#69c5e9; }
html[data-theme="dark"] .font-license dl > div { border-color:rgba(178,218,232,.12); }
html[data-theme="dark"] .type-row,
html[data-theme="dark"] .hero-meta > div,
html[data-theme="dark"] .kit-section,
html[data-theme="dark"] .component-grid,
html[data-theme="dark"] .motion-list article,
html[data-theme="dark"] .footer-line { border-color:rgba(178,218,232,.11); }
html[data-theme="dark"] .swatch,
html[data-theme="dark"] .component-cell,
html[data-theme="dark"] .viewport-card { border-color:rgba(178,218,232,.1); background:rgba(15,33,40,.4); }
html[data-theme="dark"] .shadow-sample { border-color:rgba(178,218,232,.12); background:#10242b; color:#a8bdc4; box-shadow:0 22px 70px rgba(0,0,0,.35); }
html[data-theme="dark"] .radius-scale i,
html[data-theme="dark"] .border-sample { border-color:rgba(103,190,224,.2); background:rgba(68,133,158,.08); color:#a8bdc4; }
html[data-theme="dark"] .glass-demo { background:linear-gradient(135deg,#0c1d23,#10272f); }
html[data-theme="dark"] .demo-header b.active { background:rgba(116,184,211,.13); color:#eaf5f7; }
html[data-theme="dark"] .demo-header button { background:rgba(116,184,211,.1); }
html[data-theme="dark"] .usage-grid .dont { border-color:rgba(178,218,232,.1); background:rgba(255,255,255,.018); }
html[data-theme="dark"] .kit-eyebrow,
html[data-theme="dark"] .section-heading > span,
html[data-theme="dark"] .type-row > span,
html[data-theme="dark"] .token-card > span,
html[data-theme="dark"] .component-cell > span,
html[data-theme="dark"] .swatch > span,
html[data-theme="dark"] .hero-meta span,
html[data-theme="dark"] .glass-notes span,
html[data-theme="dark"] .motion-list article > span,
html[data-theme="dark"] .weight-grid span,
html[data-theme="dark"] .type-row code,
html[data-theme="dark"] .token-card code,
html[data-theme="dark"] .motion-list code,
html[data-theme="dark"] .opacity-scale div,
html[data-theme="dark"] .demo-card > span,
html[data-theme="dark"] .demo-header b,
html[data-theme="dark"] .usage-grid .dont span { color:#8fc5d8; }
html[data-theme="dark"] .font-license > div > span { color:#8fc5d8; }
html[data-theme="dark"] .hero-meta small,
html[data-theme="dark"] .type-body p,
html[data-theme="dark"] .demo-card > p,
html[data-theme="dark"] .demo-card > div i,
html[data-theme="dark"] .tag-row i { color:#b7c8cd; }

/* Contrast baseline shared by the light interface. */
.content-kicker,
.documentation-kicker,
.documentation-sidebar-heading span,
.documentation-section-card > div > span,
.documentation-empty > span { color:#31586a; }
.documentation-arrow { color:#31586a; }
.contact-eyebrow,
.contact-section-heading > span,
.route-card > span,
.contact-response > span,
.office-details > span,
.contact-direct > span,
.contact-form-note,
.contact-response div,
.office-details dt,
.map-caption { color:#31586a; }
.contact-hero h1 em,
.meeting-hero h1 em { color:#6d7e85; }
.meeting-kicker,
.meeting-section-head > span,
.meeting-calendar-head span,
.meeting-time-label,
.meeting-detail-fields label > span,
.meeting-summary span,
.meeting-trust > span,
.meeting-availability span,
.meeting-type > span,
.meeting-type > i,
.meeting-progress button i,
.meeting-week span,
.meeting-demo-note { color:#31586a; }
.kit-eyebrow,
.section-heading > span,
.type-row > span,
.token-card > span,
.component-cell > span,
.swatch > span,
.hero-meta span,
.glass-notes span,
.motion-list article > span,
.weight-grid span,
.type-row code,
.token-card code,
.motion-list code,
.opacity-scale div,
.demo-card > span,
.demo-header b,
.usage-grid .dont span { color:#31586a; }
.space-scale i { color:#fff; }

/* Homepage labels are functional information, not background decoration. */
html[data-theme="dark"] .core-index,
html[data-theme="dark"] .capability-kicker,
html[data-theme="dark"] .sphere-label,
html[data-theme="dark"] .card-icon { color:#8fc5d8; }
.core-index,
.capability-kicker,
.sphere-label { color:#31586a; }
.equation { color:rgba(19,62,82,.64); }
.entry-meta { color:#31586a; }
.font-license > div > span,
.font-license dt { color:#31586a; }
.kit-hero h1 em { color:#6d7e85; }
.map-marker span,
.contact-form-submit p,
.contact-form-live .contact-form-submit > p { color:#52656e; }
.meeting-trust article i,
.meeting-progress button i,
.meeting-progress button,
.meeting-demo-note { color:#31586a; }
.how-it-works-page .hero-meta span,
.how-it-works-page .chat-header small,
.how-it-works-page .more-button,
.how-it-works-page .demo-caption,
.how-it-works-page .scroll-note,
.how-it-works-page .chat-form > small { color:#31586a; }
html[data-theme="dark"] .kit-hero h1 em { color:#7f99a2; }
html[data-theme="dark"] .asset-brand-preview,
html[data-theme="dark"] .asset-media { border-color:rgba(178,218,232,.11); background:linear-gradient(145deg,#0c1d23,#10272f); }
html[data-theme="dark"] .asset-brand-lockup { color:#f0f7f8; }
html[data-theme="dark"] .asset-brand-copy > span,
html[data-theme="dark"] .asset-group-heading span,
html[data-theme="dark"] .asset-card-body > span,
html[data-theme="dark"] .asset-brand-copy dt,
html[data-theme="dark"] .asset-card-body dt { color:#8fc5d8; }
html[data-theme="dark"] .asset-brand-copy > p,
html[data-theme="dark"] .asset-group-heading p,
html[data-theme="dark"] .asset-card-body > p,
html[data-theme="dark"] .asset-brand-copy dd,
html[data-theme="dark"] .asset-card-body dd { color:#b7c8cd; }
html[data-theme="dark"] .asset-brand-copy dl > div,
html[data-theme="dark"] .asset-card-body dl > div,
html[data-theme="dark"] .asset-group-heading,
html[data-theme="dark"] .asset-file-link { border-color:rgba(178,218,232,.12); }
html[data-theme="dark"] .asset-brand-copy a,
html[data-theme="dark"] .asset-file-link { color:#bde2ef; }
html[data-theme="dark"] .asset-media > span { border-color:rgba(178,218,232,.14); background:rgba(9,20,25,.8); color:#8fc5d8; }

/* The Design Kit documents both themes while the site is in either mode. */
.theme-mode-board { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.theme-mode-card { position:relative; min-height:390px; padding:28px; overflow:hidden; border-radius:28px; }
.theme-mode-card > span { font:8px ui-monospace,monospace; letter-spacing:.16em; }
.theme-mode-card h3 { margin:75px 0 13px; font-size:38px; font-weight:540; letter-spacing:-.05em; }
.theme-mode-card p { max-width:360px; font-size:11px; line-height:1.7; }
.theme-mode-card ul { display:flex; flex-wrap:wrap; gap:7px; margin:35px 0 0; padding:0; list-style:none; }
.theme-mode-card li { padding:7px 10px; border-radius:999px; font:7px ui-monospace,monospace; }
.theme-mode-card::after { content:""; position:absolute; top:-130px; right:-130px; width:330px; height:330px; border:1px solid currentColor; border-radius:50%; opacity:.055; }
.theme-mode-light { border:1px solid rgba(24,53,67,.09); background:#f4f4f1; color:#132730; }
.theme-mode-light h3 { color:#12252e!important; }
.theme-mode-light p { color:rgba(18,37,46,.56)!important; }
.theme-mode-light li { border:1px solid rgba(24,53,67,.1); color:rgba(18,37,46,.62); }
.theme-mode-dark { border:1px solid rgba(178,218,232,.13); background:#091419; color:#dce8eb; box-shadow:inset 0 1px 0 rgba(255,255,255,.05); }
.theme-mode-dark h3 { color:#f0f7f8!important; }
.theme-mode-dark p { color:#9db0b7!important; }
.theme-mode-dark > span { color:#6cb7d5; }
.theme-mode-dark li { border:1px solid rgba(178,218,232,.14); color:#b8cbd1; background:rgba(87,164,194,.06); }
.theme-mode-rules { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:16px; }
.theme-mode-rules article { padding:24px; border:1px solid var(--quantin-line); border-radius:20px; background:var(--quantin-panel); }
.theme-mode-rules span { color:#1689bd; font:8px ui-monospace,monospace; letter-spacing:.15em; }
.theme-mode-rules strong { display:block; margin-top:22px; font-size:16px; font-weight:550; }
.theme-mode-rules p { margin:9px 0 0; color:var(--quantin-copy); font-size:10px; line-height:1.65; }

/* Interactive component reference: its colors stay fixed in either site mode. */
.mode-reference { margin-top:54px; padding:28px; border:1px solid var(--quantin-line); border-radius:28px; background:var(--quantin-panel); box-shadow:0 22px 65px var(--quantin-shadow); }
.mode-reference-head { display:flex; justify-content:space-between; gap:32px; align-items:flex-end; margin-bottom:22px; }
.mode-reference-head > div:first-child { max-width:590px; }
.mode-reference-head span { color:#1689bd; font:8px ui-monospace,monospace; letter-spacing:.16em; }
.mode-reference-head strong { display:block; margin-top:14px; color:var(--quantin-heading); font-size:25px; font-weight:560; letter-spacing:-.035em; }
.mode-reference-head p { margin:9px 0 0; color:var(--quantin-copy); font-size:10px; line-height:1.65; }
.mode-tabs { display:flex; gap:5px; padding:5px; border:1px solid var(--quantin-line); border-radius:14px; background:var(--quantin-panel); }
.mode-tabs button { min-width:105px; padding:11px 14px; border:0; border-radius:10px; background:transparent; color:var(--quantin-copy); font:9px Inter,system-ui,sans-serif; cursor:pointer; }
.mode-tabs button[aria-selected="true"] { background:var(--quantin-panel-strong); color:var(--quantin-heading); box-shadow:0 5px 18px var(--quantin-shadow); }
.mode-specimen { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr); gap:14px; min-height:450px; padding:32px; border-radius:24px; }
.mode-specimen[hidden] { display:none; }
.mode-specimen-card { align-self:stretch; padding:32px; border-radius:22px; }
.mode-specimen-kicker { font:8px ui-monospace,monospace; letter-spacing:.16em; }
.mode-specimen-card h3 { margin:70px 0 12px; font-size:38px; font-weight:550; letter-spacing:-.05em; }
.mode-specimen-card p { max-width:490px; margin:0; font-size:11px; line-height:1.7; }
.mode-specimen-tags { display:flex; flex-wrap:wrap; gap:7px; margin-top:26px; }
.mode-specimen-tags i { padding:7px 10px; border-radius:999px; font:7px ui-monospace,monospace; font-style:normal; }
.mode-specimen-card label { display:grid; gap:10px; margin-top:30px; font:8px ui-monospace,monospace; letter-spacing:.14em; }
.mode-specimen-card input { width:100%; padding:13px 0; border:0; border-bottom:1px solid currentColor; border-radius:0; background:transparent; color:inherit; font:13px Inter,system-ui,sans-serif; }
.mode-specimen-actions { display:flex; justify-content:space-between; gap:15px; align-items:center; margin-top:28px; }
.mode-specimen-actions a { font-size:10px; }
.mode-specimen-actions button { padding:13px 16px; border:0; border-radius:11px; font:8px Inter,system-ui,sans-serif; letter-spacing:.12em; }
.mode-token-list { padding:18px 22px; border-radius:22px; }
.mode-token-list > div { display:grid; gap:7px; padding:19px 0; border-top:1px solid; }
.mode-token-list > div:first-child { border-top:0; }
.mode-token-list span { font:8px ui-monospace,monospace; letter-spacing:.14em; }
.mode-token-list b { font:500 11px ui-monospace,monospace; }
.mode-reference-rule { margin:19px 4px 0; color:var(--quantin-copy); font:9px ui-monospace,monospace; letter-spacing:.04em; }
.mode-reference-rule strong { color:#1689bd; }
.mode-specimen-light { background:#f4f4f1; color:#132730; }
.mode-specimen-light .mode-specimen-card,.mode-specimen-light .mode-token-list { border:1px solid rgba(24,53,67,.1); background:rgba(255,255,255,.68); box-shadow:inset 0 1px 0 #fff; }
.mode-specimen-light .mode-specimen-kicker,.mode-specimen-light label,.mode-specimen-light .mode-token-list span { color:#31586a; }
.mode-specimen-light h3 { color:#12252e!important; }
.mode-specimen-light p { color:#52656e!important; }
.mode-specimen-light .mode-specimen-tags i { border:1px solid rgba(24,53,67,.14); color:#31586a; }
.mode-specimen-light .mode-specimen-actions a { color:#153746; }
.mode-specimen-light .mode-specimen-actions button { background:#173746; color:#fff; }
.mode-specimen-light .mode-token-list > div { border-color:rgba(24,53,67,.1); }
.mode-specimen-dark { background:#091419; color:#dce8eb; }
.mode-specimen-dark .mode-specimen-card,.mode-specimen-dark .mode-token-list { border:1px solid rgba(178,218,232,.14); background:linear-gradient(135deg,rgba(22,43,51,.9),rgba(12,29,35,.82)); box-shadow:inset 0 1px 0 rgba(255,255,255,.06); }
.mode-specimen-dark .mode-specimen-kicker,.mode-specimen-dark label,.mode-specimen-dark .mode-token-list span { color:#8fc5d8; }
.mode-specimen-dark h3 { color:#f0f7f8!important; }
.mode-specimen-dark p { color:#b7c8cd!important; }
.mode-specimen-dark .mode-specimen-tags i { border:1px solid rgba(178,218,232,.16); color:#b7c8cd; }
.mode-specimen-dark .mode-specimen-actions a { color:#bde2ef; }
.mode-specimen-dark .mode-specimen-actions button { background:#dce8eb; color:#102730; }
.mode-specimen-dark .mode-token-list > div { border-color:rgba(178,218,232,.13); }
.mode-icon-demo { display:flex; flex-wrap:wrap; gap:10px; }
.mode-icon-sample { display:flex; align-items:center; gap:11px; min-width:145px; padding:13px 15px; border:1px solid var(--quantin-line); border-radius:14px; background:var(--quantin-panel); color:var(--quantin-copy); font-size:10px; }
.mode-icon-sample i { position:relative; display:block; flex:0 0 auto; width:16px; height:16px; border-radius:50%; font-style:normal; }
.mode-icon-sample .icon-sun { border:1.7px solid #bd7a17; color:#bd7a17; }
.mode-icon-sample .icon-sun::before { content:""; position:absolute; top:50%; left:50%; width:3px; height:3px; border-radius:50%; background:currentColor; box-shadow:0 -10px 0 -1px currentColor,0 10px 0 -1px currentColor,10px 0 0 -1px currentColor,-10px 0 0 -1px currentColor,7px 7px 0 -1px currentColor,-7px -7px 0 -1px currentColor,7px -7px 0 -1px currentColor,-7px 7px 0 -1px currentColor; transform:translate(-50%,-50%); }
.mode-icon-sample .icon-moon { background:#8ed8f3; box-shadow:0 0 12px rgba(87,194,235,.3); transform:rotate(-18deg); -webkit-mask:radial-gradient(circle at 66% 30%,transparent 0 5px,#000 5.5px); mask:radial-gradient(circle at 66% 30%,transparent 0 5px,#000 5.5px); }

/* Standalone Coming Soon page. */
html[data-theme="dark"] .quantin-coming-body { background:#091419; color:#e8f2f4; }
html[data-theme="dark"] .coming-page { background:radial-gradient(circle at 75% 38%,rgba(50,131,162,.12),transparent 31%),linear-gradient(145deg,#091419 0%,#0b1b21 62%,#0d2229 100%); }
html[data-theme="dark"] .coming-page::after { background-image:linear-gradient(rgba(112,190,221,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(112,190,221,.045) 1px,transparent 1px); }
html[data-theme="dark"] .coming-copy h1 em { color:rgba(196,221,228,.3); }
html[data-theme="dark"] .coming-copy p { color:#9db0b7; }
html[data-theme="dark"] .coming-bottom { border-color:rgba(178,218,232,.12); background:linear-gradient(135deg,rgba(20,42,50,.82),rgba(9,26,32,.74)); box-shadow:0 24px 70px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.05); }
html[data-theme="dark"] .coming-notify { border-color:rgba(178,218,232,.13); background:rgba(8,22,28,.48); }
html[data-theme="dark"] .coming-notify input { color:#e8f2f4; }
html[data-theme="dark"] .coming-meta { color:rgba(190,216,224,.42); }

@media (max-width:760px) {
  .header-actions { gap:0; }
  .theme-toggle-desktop { display:none; }
  .architecture-nav.is-menu-open .theme-toggle-mobile { display:grid; grid-template-columns:42px 1fr; justify-items:start; width:100%; height:auto; min-height:58px; margin-top:12px; padding:8px 14px; border:1px solid rgba(30,76,95,.09); border-radius:14px; background:rgba(255,255,255,.72); color:#173746; box-shadow:0 5px 18px rgba(20,45,57,.055),inset 0 1px 0 #fff; }
  .architecture-nav.is-menu-open .theme-toggle-mobile .theme-toggle-icon { justify-self:center; }
  html[data-theme="dark"] .architecture-nav.is-menu-open .nav-links { border-color:rgba(178,218,232,.16); background:#0b1c22; box-shadow:0 24px 60px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.06); }
  html[data-theme="dark"] .architecture-nav.is-menu-open .primary-menu > li { border-bottom-color:rgba(178,218,232,.1); }
  html[data-theme="dark"] .architecture-nav.is-menu-open .nav-links a { color:#c9dce2; }
  html[data-theme="dark"] .architecture-nav.is-menu-open .nav-links a:hover,
  html[data-theme="dark"] .architecture-nav.is-menu-open .nav-links a:focus-visible { background:rgba(116,184,211,.12); color:#f3fafb; }
  html[data-theme="dark"] .architecture-nav.is-menu-open .nav-links a.is-active,
  html[data-theme="dark"] .architecture-nav.is-menu-open .primary-menu .current-menu-item > a,
  html[data-theme="dark"] .architecture-nav.is-menu-open .primary-menu .current_page_item > a,
  html[data-theme="dark"] .architecture-nav.is-menu-open .primary-menu .current-menu-ancestor > a,
  html[data-theme="dark"] .architecture-nav.is-menu-open .primary-menu .current_page_ancestor > a { color:#fff; background:#173640; box-shadow:inset 0 0 0 1px rgba(151,215,237,.14),0 6px 18px rgba(0,0,0,.14); }
	html[data-theme="dark"] .architecture-nav.is-menu-open .primary-menu .sub-menu { border-left-color:rgba(89,184,221,.34); background:transparent; box-shadow:none; }
	html[data-theme="dark"] .architecture-nav.is-menu-open .primary-menu .sub-menu a { border-color:rgba(178,218,232,.11); background:#102a33; color:#bcd3da; }
  html[data-theme="dark"] .architecture-nav.is-menu-open .theme-toggle-mobile { border-color:rgba(178,218,232,.1); background:rgba(116,184,211,.09); }
  html[data-theme="dark"] .theme-toggle-copy small { color:rgba(179,214,225,.58); }
  html[data-theme="dark"] .theme-toggle-copy strong { color:#e8f2f4; }
  html[data-theme="dark"] .journal-topics .sub-menu a { background:rgba(79,151,179,.07); }
  .theme-mode-board,.theme-mode-rules { grid-template-columns:1fr; }
  .theme-mode-card { min-height:320px; padding:22px; }
  .theme-mode-card h3 { margin-top:55px; font-size:33px; }
  .mode-reference { margin-top:34px; padding:18px; border-radius:22px; }
  .mode-reference-head { align-items:stretch; flex-direction:column; }
  .mode-tabs { align-self:flex-start; }
  .mode-specimen { grid-template-columns:1fr; min-height:0; padding:18px; }
  .mode-specimen-card { padding:24px 20px; }
  .mode-specimen-card h3 { margin-top:48px; font-size:32px; }
  .mode-token-list { padding:10px 20px; }
}

@media (max-width:600px) {
  .standalone-theme-toggle { top:66px; right:0; }
  .quantin-coming-body .coming-status { right:0; }
  .mode-tabs { width:100%; }
  .mode-tabs button { flex:1; min-width:0; }
  .mode-specimen { padding:12px; }
  .mode-specimen-actions { align-items:stretch; flex-direction:column; }
  .mode-specimen-actions a,.mode-specimen-actions button { width:100%; text-align:center; }
}

@media (prefers-reduced-motion:reduce) {
  body,.architecture-nav,.footer-shell,.glass-panel,.entry-card,.theme-toggle-icon { transition:none!important; }
}
