/* Product identity is selected exclusively from the authenticated organization. */
:root[data-service="scribae"], :root[data-service="platform"] {
  --bg: #edf1f4;
  --subtle: #e5ecf1;
  --line: #c8d4dc;
  --text: #20363f;
  --muted: #526975;
  --primary: #214f60;
  --primary-hover: #32677a;
  --link: #275f73;
  --icon-accent: #478298;
  --topbar: #f8fafb;
}
:root[data-service="scribae"][data-theme="dark"], :root[data-service="platform"][data-theme="dark"] {
  --bg: #111c22;
  --surface: #1c2b33;
  --subtle: #283c47;
  --line: #45616f;
  --text: #ebf2f5;
  --muted: #b0c5d0;
  --primary: #a1d4e4;
  --primary-hover: #c0e6f0;
  --link: #b0dbe8;
  --icon-accent: #78b6cd;
  --topbar: #1c2b33;
}
.service-welcome { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.service-welcome article { border-top: 1px solid var(--line); padding-top: 24px; }
.service-welcome h2 { margin: 12px 0 2px; font-size: 28px; }
.service-welcome small { color: var(--muted); }
.login-story .service-welcome p { font-size: 16px; line-height: 1.65; margin-top: 16px; }
.service-symbol .clinical-symbol { width: 40px; height: 40px; }
.service-badge { color: var(--muted); font-size: 13px; white-space: nowrap; }
[data-service="scribae"] .brand > .brand-name { font-family: Jakarta, "Segoe UI", sans-serif; letter-spacing: -.04em; }
[data-service="scribae"] .sidebar { background: #183844; --surface: #183844; --icon-paper: #183844; --icon-accent: #84bed0; --line: #52727f; }
@media (max-width: 1000px) { .service-badge { display: none; } }
@media (max-width: 760px) { .service-welcome { gap: 18px; margin-top: 24px; } .service-welcome h2 { font-size: 23px; } }
@media (max-width: 760px) { .login-card { grid-row: 1; } .login-story { grid-row: 2; } }
