/* Move Atlas — grey canvas, deep red accents, readable training sheets. */
:root{--ink:#202124;--muted:#555960;--line:#d0d3d6;--green:#941f2b;--paper:#eceeef;--surface:#fafafa;--sage:#f3e4e6}
body{background:#eceeef;color:#202124}header{background:#25272b;color:#fff;border-bottom:3px solid #941f2b}header a,header .brand,header .brand small{color:#fff}header nav a:hover,header nav a[aria-current=page]{background:#941f2b;color:#fff}header label{color:#fff}
h1,h2,h3{color:#202124}.eyebrow{color:#78202b}.muted,.intro,.breadcrumb,footer{color:#555960}a{color:#941f2b}
button,.button{background:#b42332;color:#fff}button:hover,.button:hover{background:#871b27;color:#fff}.secondary,button.secondary,.athlete-nav a,.athlete-nav button{background:#e0e2e5;color:#202124}.secondary:hover,button.secondary:hover{background:#d2d5d9;color:#202124}
:focus-visible{outline:3px solid #b42332;outline-offset:3px}header :focus-visible{outline-color:white}input,textarea,select,.client-area input:not([type=checkbox]),.client-area textarea,.client-area select{background:#fafafa;color:#202124;border-color:#b8bdc3}input::placeholder,textarea::placeholder{color:#62666d}input[type=checkbox],progress{accent-color:#b42332}
.panel,.search-panel,.map-reading-controls,.workout-card{background:#fafafa;border-color:#d0d3d6;color:#202124}.search-panel label,.search-panel p{color:#555960}
.catalog .card,.client-card,.today-heading,.rest-timer{background:#941f2b;color:#fff;box-shadow:0 4px 16px #2021240a}.catalog .card h2,.catalog .card h2 a,.catalog .card a,.catalog .card .eyebrow,.catalog .card .muted,.client-card h3,.client-card p,.today-heading h3,.today-heading p,.today-heading .eyebrow,.rest-timer p{color:#fff}.catalog .card .rank-badge,.catalog .card .badge{background:#fafafa;color:#202124}.catalog .card:focus-within{outline:3px solid #202124;outline-offset:3px}.client-card button{background:#fafafa;color:#941f2b}.client-card button:hover{background:#e0e2e5;color:#202124}
.notice,.today-empty,.phone-guide,.current-target{background:#e1e3e6;border-color:#b8bdc3;color:#202124}.notice{border-left-color:#941f2b}.phone-guide h2,.phone-guide h3,.current-target small{color:#202124}.phone-guide-steps section{background:#fafafa;border-color:#d0d3d6}.phone-guide-icon,.day-number{background:#941f2b;color:#fff}.phone-guide-next{border-color:#c3c7cc}
.training-table{background:#fafafa;color:#202124}.training-table thead{background:#941f2b;color:white}.training-table tbody tr:nth-child(even){background:#eceeef}.training-table td,.training-table th{border-bottom-color:#d0d3d6}.training-table td:first-child,.row-note{color:#555960}.training-day,.table-scroll{border-color:#d0d3d6}.plan-summary span{background:#e0e2e5;color:#202124}.plan-instructions{background:#e1e3e6;border-color:#c5c9ce;color:#202124}
.athlete-nav{background:#eceeeff2;border-color:#d0d3d6}.athlete-nav button[aria-pressed=true],.client-area .set-check[aria-pressed=true]{background:#941f2b;color:#fff;border-color:#941f2b}.client-area .set-check{background:#eceeef;color:#202124;border-color:#b8bdc3}.exercise-number{background:#941f2b;color:#fff}.dose-grid{border-color:#d0d3d6}.dose-grid small,.load-note,.workout-card>small,.session-note,.install-tip,.athlete-welcome p{color:#555960}.workout-card:focus-within{border-color:#941f2b}.today-heading progress{accent-color:#fff}.current-target{border-left-color:#941f2b}.exercise-video{background:#f3e4e6;border-color:#cf9ba2;color:#78202b}.exercise-video:hover{background:#e8cbd0;color:#641824}
.role-priority{background:#941f2b;color:#fff;border-color:#941f2b}.role-complementary{background:#e0e2e5;color:#202124;border-color:#adb3bb}.role-unassigned{background:#fafafa;color:#555960;border-color:#adb3bb}
.map-scroll{background:#eceeef}.map-reading-controls select{background:#fafafa}.map-relations-toggle input{accent-color:#941f2b}

/* ATLAS DARK COMPONENT COLORS */
@media screen{
html[data-theme="dark"] body{background:var(--surface, #1b222c);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] header{color:var(--ink, #ebf0f7);border-bottom:3px solid #d3505d}
html[data-theme="dark"] header a,html[data-theme="dark"] header .brand,html[data-theme="dark"] header .brand small{color:var(--ink, #ebf0f7)}
html[data-theme="dark"] header nav a:hover,html[data-theme="dark"] header nav a[aria-current=page]{color:var(--ink, #ebf0f7)}
html[data-theme="dark"] header label{color:var(--ink, #ebf0f7)}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3{color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .eyebrow{color:#bf959a}
html[data-theme="dark"] .muted,html[data-theme="dark"] .intro,html[data-theme="dark"] .breadcrumb,html[data-theme="dark"] footer{color:var(--muted, #b2bfcf)}
html[data-theme="dark"] a{color:#c98e94}
html[data-theme="dark"] button,html[data-theme="dark"] .button{color:var(--ink, #ebf0f7)}
html[data-theme="dark"] button:hover,html[data-theme="dark"] .button:hover{color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .secondary,html[data-theme="dark"] button.secondary,html[data-theme="dark"] .athlete-nav a,html[data-theme="dark"] .athlete-nav button{background:var(--surface, #1b222c);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .secondary:hover,html[data-theme="dark"] button.secondary:hover{background:var(--surface, #1b222c);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] :focus-visible{outline:3px solid #d3505d}
html[data-theme="dark"] header :focus-visible{outline-color:var(--line, #404c5e)}
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select,html[data-theme="dark"] .client-area input:not([type=checkbox]),html[data-theme="dark"] .client-area textarea,html[data-theme="dark"] .client-area select{background:var(--surface, #1b222c);color:var(--ink, #ebf0f7);border-color:var(--line, #404c5e)}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:var(--muted, #b2bfcf)}
html[data-theme="dark"] .panel,html[data-theme="dark"] .search-panel,html[data-theme="dark"] .map-reading-controls,html[data-theme="dark"] .workout-card{background:var(--surface, #1b222c);border-color:var(--line, #404c5e);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .search-panel label,html[data-theme="dark"] .search-panel p{color:var(--muted, #b2bfcf)}
html[data-theme="dark"] .catalog .card,html[data-theme="dark"] .client-card,html[data-theme="dark"] .today-heading,html[data-theme="dark"] .rest-timer{color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .catalog .card h2,html[data-theme="dark"] .catalog .card h2 a,html[data-theme="dark"] .catalog .card a,html[data-theme="dark"] .catalog .card .eyebrow,html[data-theme="dark"] .catalog .card .muted,html[data-theme="dark"] .client-card h3,html[data-theme="dark"] .client-card p,html[data-theme="dark"] .today-heading h3,html[data-theme="dark"] .today-heading p,html[data-theme="dark"] .today-heading .eyebrow,html[data-theme="dark"] .rest-timer p{color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .catalog .card .rank-badge,html[data-theme="dark"] .catalog .card .badge{background:var(--surface, #1b222c);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .catalog .card:focus-within{outline:3px solid var(--line, #404c5e)}
html[data-theme="dark"] .client-card button{background:var(--surface, #1b222c);color:#c98e94}
html[data-theme="dark"] .client-card button:hover{background:var(--surface, #1b222c);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .notice,html[data-theme="dark"] .today-empty,html[data-theme="dark"] .phone-guide,html[data-theme="dark"] .current-target{background:var(--surface, #1b222c);border-color:var(--line, #404c5e);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .notice{border-left-color:#d3505d}
html[data-theme="dark"] .phone-guide h2,html[data-theme="dark"] .phone-guide h3,html[data-theme="dark"] .current-target small{color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .phone-guide-steps section{background:var(--surface, #1b222c);border-color:var(--line, #404c5e)}
html[data-theme="dark"] .phone-guide-icon,html[data-theme="dark"] .day-number{color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .phone-guide-next{border-color:var(--line, #404c5e)}
html[data-theme="dark"] .training-table{background:var(--surface, #1b222c);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .training-table thead{color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .training-table tbody tr:nth-child(even){background:var(--surface, #1b222c)}
html[data-theme="dark"] .training-table td,html[data-theme="dark"] .training-table th{border-bottom-color:var(--line, #404c5e)}
html[data-theme="dark"] .training-table td:first-child,html[data-theme="dark"] .row-note{color:var(--muted, #b2bfcf)}
html[data-theme="dark"] .training-day,html[data-theme="dark"] .table-scroll{border-color:var(--line, #404c5e)}
html[data-theme="dark"] .plan-summary span{background:var(--surface, #1b222c);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .plan-instructions{background:var(--surface, #1b222c);border-color:var(--line, #404c5e);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .athlete-nav{background:#1b222cf2;border-color:var(--line, #404c5e)}
html[data-theme="dark"] .athlete-nav button[aria-pressed=true],html[data-theme="dark"] .client-area .set-check[aria-pressed=true]{color:var(--ink, #ebf0f7);border-color:#d3505d}
html[data-theme="dark"] .client-area .set-check{background:var(--surface, #1b222c);color:var(--ink, #ebf0f7);border-color:var(--line, #404c5e)}
html[data-theme="dark"] .exercise-number{color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .dose-grid{border-color:var(--line, #404c5e)}
html[data-theme="dark"] .dose-grid small,html[data-theme="dark"] .load-note,html[data-theme="dark"] .workout-card>small,html[data-theme="dark"] .session-note,html[data-theme="dark"] .install-tip,html[data-theme="dark"] .athlete-welcome p{color:var(--muted, #b2bfcf)}
html[data-theme="dark"] .workout-card:focus-within{border-color:#d3505d}
html[data-theme="dark"] .current-target{border-left-color:#d3505d}
html[data-theme="dark"] .exercise-video{background:#381e22;color:#bf959a}
html[data-theme="dark"] .exercise-video:hover{background:#381e23;color:#ba989d}
html[data-theme="dark"] .role-priority{color:var(--ink, #ebf0f7);border-color:#d3505d}
html[data-theme="dark"] .role-complementary{background:var(--surface, #1b222c);color:var(--ink, #ebf0f7);border-color:var(--line, #404c5e)}
html[data-theme="dark"] .role-unassigned{background:var(--surface, #1b222c);color:var(--muted, #b2bfcf);border-color:var(--line, #404c5e)}
html[data-theme="dark"] .map-scroll{background:var(--surface, #1b222c)}
html[data-theme="dark"] .map-reading-controls select{background:var(--surface, #1b222c)}
}
