/* Monochrome controls surround a white, printable CV in either theme. */
.cv-page{--bg:#f2f2f2;--surface:#fff;--text:#111;--muted:#555;--line:#d6d6d6;--accent:#111;--on-accent:#fff;--accent-soft:#e8e8e8;background:var(--bg);color:var(--text);color-scheme:light}
html[data-theme=dark] .cv-page{--bg:#141414;--surface:#222;--text:#f5f5f5;--muted:#bbb;--line:#555;--accent:#f5f5f5;--on-accent:#111;--accent-soft:#333;color-scheme:dark}
.cv-sheet{--surface:#fff;--text:#111;--muted:#555;--line:#ddd;--accent:#111;--on-accent:#fff;--accent-soft:#eee;background:#fff;color:#111;color-scheme:light;border-color:#ddd}
.cv-toolbar{color:var(--text)}
.cv-toolbar-actions{display:flex;align-items:center;gap:12px}
.cv-theme-toggle{min-width:42px;min-height:42px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font:22px Arial;cursor:pointer}
.cv-theme-toggle:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.cv-role,.cv-sheet h2{color:var(--accent)}
.cv-sheet h2{border-color:var(--line)}
.cv-availability,.cv-sheet h3 span,.cv-stack{color:var(--muted)}
.cv-page .cv-button{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}
.cv-toolbar .cv-button{color:var(--on-accent)}
.cv-page .cv-button:hover{background:var(--accent);border-color:var(--accent);filter:brightness(.9)}
@media(max-width:600px){.cv-toolbar{flex-wrap:wrap}.cv-toolbar-actions{gap:8px}}
@media print{.cv-page,.cv-sheet{color:#111;background:white}.cv-role,.cv-sheet h2{color:#111}.cv-availability,.cv-sheet h3 span,.cv-stack{color:#555}.cv-sheet h2{border-color:#ddd}.cv-theme-toggle{display:none}}
