/* Neutral page surfaces and a clear text hierarchy; motion stays in workspace.css. */
:root {
  --ink:#303741; --muted:#626a75; --line:#d8dce1;
  --accent:#2866a4; --accent-strong:#20558a; --accent-soft:#e9f2fc;
  --surface:#fff; --heading:#111820;
}
html,body,body .workspace-body,body #main-content,body .workspace-footer,
body .workspace-topbar,body.login-page,body.login-page main {
  background:#fff; background-image:none;
}
body h1,body h2,body h3 { color:var(--heading); font-weight:750; }
body h1 { letter-spacing:-.035em; }
.heading-section,.breadcrumb,.source-note,.source-status,.library-note { color:var(--muted); }
.workspace-sidebar { background:#111e2c; border-right-color:#344353; }
.workspace-sidebar .brand,.program-identity strong,.sidebar-nav a { color:#fff; }
.program-identity span { color:#e5e9ef; }
.sidebar-nav a[aria-current=page] { background:#2c4967; border-color:#8abbe4; box-shadow:inset 3px 0 #b4ddff; }
.workspace-topbar,.workspace-footer { color:#505862; }
.workspace-topbar .profile-copy strong,.login-page .brand { color:var(--heading); }
.profile-link .avatar { color:#234d74; background:#edf2f7; border-color:#b4c5d5; }
.actions a,.control { color:#34404d; border-color:#bdc4cd; }
button { background:linear-gradient(180deg,#2e6ca6,#20558a); border-color:#20558a; }
input,select,textarea { color:#252d36; border-color:#8b96a3; background:#fff; }
.view-tabs,.duty-tabs,.calendar-tools .view-tabs { background:#edf0f4; border-color:#cdd4dd; }
.view-tabs a,.duty-tabs a { color:#46515f; }
.view-tabs a[aria-current=page],.duty-tabs a[aria-current=page] { color:#153f68; background:#fff; font-weight:750; }
.calendar-title h1,.call-title h1,.call-period,.day-link>strong { color:var(--heading); }
.calendar-range,.weekday { color:#29465f; font-weight:700; }
.calendar-day h3,.calendar-day h3 a { color:#17232f; font-weight:750; }
.calendar-layout .calendar-event h4,.phone-lecture-preview { color:#17212b; }
.calendar-layout .calendar-event h4 { font-weight:750; }
.calendar-layout .event-presenter { color:#515b67; font-weight:500; }
.event-heading { color:color-mix(in srgb,var(--tone) 80%,#111820); }
.topic-card h2,.topic-card h3,.topic-card h2 a,.topic-card h3 a,.topic-link h2,.topic-link h3 { color:#17212b; font-weight:750; }
.topic-card p,.topic-link p { color:#4d5964; }
.topic-card .topic-meta,.topic-link .topic-meta { color:#58636f; }
.series-row { background:#fff; border-color:var(--line); }
.series-row strong,.member-table th[scope=row],.member-table th[scope=row] a { color:#17212b; }
.member-table thead,.duty-table-scroll thead { color:#27313e; background:#f2f3f5; }
.member-table small,.studio-form .helptext { color:#626a75; }
.selection-control:has(input:checked),.answer-option:has(input:checked) {
  color:#163a60; background:#e1edfa; border-color:#2c6499; box-shadow:inset 0 0 0 1px #2c6499;
}
.call-controlbar { background:#fafafa; border-color:#d4d9df; }
.call-controlbar .duty-tabs { background:#eceff2; border-color:#d2d8df; }
.call-controlbar .duty-tabs a { color:#46515f; }
.call-controlbar .duty-tabs a[aria-current=page] { color:#163f67; background:#fff; }
.call-period span { color:#66707c; }
.night-rotation { background:#f6f7f9; border-color:#d2d8e0; }
.night-rotation>header strong,.night-band summary>span { color:#242d39; }
.night-rotation>header small,.night-band summary>b,.coverage-headings,.day-link>span { color:#536171; }
.call-assignment>strong { color:#16222f; font-weight:700; }
.call-assignment>span,.compact-call-table th { color:#526173; }
.va-week { border-color:#c4d2cc; }
.va-week-date { color:#293e3a; font-weight:750; }
.va-week>summary small { color:#5d6b66; }
.rotation-table thead th { color:#233240; background:#edf0f4; }
.rotation-table thead th.rotation-person { background:#edf0f4; }
.rotation-group th { color:#43515f; background:#f4f5f6; }
@media(hover:hover) {
  .sidebar-nav a:hover { background:#304154; border-color:#697f96; color:#fff; }
  .sidebar-nav a[aria-current=page]:hover { background:#365a7d; border-color:#a4d1f5; }
  .actions a:hover,.control:hover,.workspace-topbar button:hover { background:#edf1f6; border-color:#788fa8; color:#153f68; }
  .topic-card:hover,.topic-link:hover { border-color:color-mix(in srgb,var(--tone) 65%,#23303c); }
  .selection-control:hover,.answer-option:not(:has(input:disabled)):hover { background:#f0f3f7; border-color:#7a8fa5; }
  .selection-control:has(input:checked):hover,.answer-option:has(input:checked):not(:has(input:disabled)):hover { background:#d4e5f8; border-color:#24588b; }
  summary:hover { background:#edf0f4; color:#153f68; }
}
@media(max-width:760px),(orientation:landscape) and (max-height:600px) and (max-width:1100px) {
  html,body,body .workspace-body,body #main-content,body .workspace-footer,body .workspace-topbar { background:#fff; background-image:none; }
  .mobile-account-controls .profile-copy strong { color:#fff; }
  .mobile-account-controls .profile-training { color:#e5e9ef; }
  .mobile-account-controls button { background:#2c4967; border-color:#8abbe4; color:#fff; }
}
@media(forced-colors:active) {
  html,body,body .workspace-body,body #main-content,body .workspace-footer,body .workspace-topbar,
  .workspace-sidebar,.night-rotation,.call-controlbar,.view-tabs,.duty-tabs { background:Canvas; color:CanvasText; }
  body h1,body h2,body h3,.call-title h1,.call-period,.day-link>strong { color:CanvasText; }
  .sidebar-nav a,.sidebar-nav a[aria-current=page],.workspace-sidebar .brand,.program-identity strong { color:LinkText; }
  .selection-control:has(input:checked),.answer-option:has(input:checked) { color:HighlightText; background:Highlight; }
}
