/* The ambient layers remain decorative and never obscure the content. */
.ambient-orb{opacity:.42}.ambient-grid{opacity:.12}.calendar-card,.agenda,.focus-card,.undated,.legend{background:rgba(255,255,255,.95)}
[data-theme="dark"]{--ink:#eef5fb;--muted:#b6c7d4;--text-muted:#b6c7d4;--line:#3a5266;color-scheme:dark}
[data-theme="dark"] body{background:#101c28;color:#eef5fb}
[data-theme="dark"] .ambient{background:radial-gradient(ellipse 450px 450px at var(--pointer-x) var(--pointer-y),#2f8cff18,transparent 75%),#101c28}
[data-theme="dark"] .ambient-orb{opacity:.65}[data-theme="dark"] .ambient-grid{opacity:.12}
[data-theme="dark"] .calendar-tabs,[data-theme="dark"] .calendar-card,[data-theme="dark"] .agenda,[data-theme="dark"] .focus-card,[data-theme="dark"] .undated,[data-theme="dark"] .legend{background:rgba(31,48,64,.95);border-color:#3a5266}
[data-theme="dark"] .page-title,[data-theme="dark"] .tab.active,[data-theme="dark"] .renewal-row,[data-theme="dark"] .event,[data-theme="dark"] dialog{color:#eef5fb}
[data-theme="dark"] .tab,[data-theme="dark"] .tab-caption,[data-theme="dark"] .eyebrow,[data-theme="dark"] .label,[data-theme="dark"] .section-heading .eyebrow,[data-theme="dark"] .weekdays span,[data-theme="dark"] .legend-heading>span+span{color:#bdcedb}
[data-theme="dark"] .tab:hover,[data-theme="dark"] .event:hover,[data-theme="dark"] .renewal-row:hover{background:#304b60;color:#fff}
[data-theme="dark"] .section-heading p:last-child,[data-theme="dark"] .undated p,[data-theme="dark"] .focus-card>p,[data-theme="dark"] .renew-section-title p:not(.eyebrow),[data-theme="dark"] .event-meta,[data-theme="dark"] .renewal-meta,[data-theme="dark"] .source-note,[data-theme="dark"] .calendar-foot,[data-theme="dark"] .activity-meta,[data-theme="dark"] .focus-empty,[data-theme="dark"] .empty-state{color:#bdcedb}
[data-theme="dark"] .search,[data-theme="dark"] .search input,[data-theme="dark"] .navigation button,[data-theme="dark"] #close,[data-theme="dark"] .renewal-row,[data-theme="dark"] .event{background:#243b4e;color:#eef5fb;border-color:#486174}
[data-theme="dark"] .search input::placeholder,[data-theme="dark"] .planner-fields input::placeholder{color:#c5d2db}
[data-theme="dark"] .day.empty{background:#1c2d3c}[data-theme="dark"] .day{border-color:#3a5266}
[data-theme="dark"] .snapshot-banner{background:#223d53;color:#e1eef8;border-color:#3c627b}
[data-theme="dark"] .activity-title a,[data-theme="dark"] .show-more,[data-theme="dark"] .dialog-copy a{color:#a9d5ff}
[data-theme="dark"] .focus-count,[data-theme="dark"] .count{background:#294a65;color:#d8ecff}
[data-theme="dark"] .all-button,[data-theme="dark"] .project-link{background:#2779bf;color:white}
[data-theme="dark"] .all-button:hover,[data-theme="dark"] .project-link:hover,[data-theme="dark"] .navigation button:hover,[data-theme="dark"] #close:hover{background:#3791d7;color:#fff}
[data-theme="dark"] dialog{background:#1f3040;color:#eef5fb}[data-theme="dark"] .dialog-copy,[data-theme="dark"] .details dd,[data-theme="dark"] .commercial .cost-note,[data-theme="dark"] .commercial .deal-note{color:#dce9f2}
[data-theme="dark"] .details dt{color:#bdcedb}[data-theme="dark"] .planner,[data-theme="dark"] .deal-note{background:#293f50;border-color:#486174}
[data-theme="dark"] .planner p,[data-theme="dark"] .planner-fields label{color:#e0ebf2}[data-theme="dark"] .planner-fields input{background:#142838;color:#fff;border-color:#698091}
[data-theme="dark"] .planner-results{background:#10212f}[data-theme="dark"] footer,[data-theme="dark"] footer a{color:#d1e1ed}
[data-theme="dark"] .pointer-active{border-color:#6188a8}
@media(max-width:480px){.header-right{gap:5px}.motion-toggle{padding:8px;font-size:10px}.brand{font-size:17px}.brand small{font-size:8px}}
