/* Shared color tokens; day mode is the default, including without JavaScript. */
:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --surface: #ffffff;
  --canvas: #eceee9;
  --ink: #182e28;
  --green: #17483d;
  --muted: #56645f;
  --line: #ccd5ca;
  --band: #edf0e8;
  --experience: #e9eee5;
  --accent: #9c432f;
  --button-bg: #17483d;
  --button-ink: #ffffff;
  --button-hover: #182e28;
  --role-bg: #17483d;
  --role-ink: #ffffff;
  --role-muted: #c6d5c9;
  --control-border: #718579;
  --resume-ink: #172b27;
  --resume-muted: #34463e;
  --resume-green: #17483d;
  --resume-line: #b6c4ba;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111c19;
  --surface: #182722;
  --canvas: #0d1613;
  --ink: #e4ede7;
  --green: #9fcdb8;
  --muted: #aabbb4;
  --line: #354a40;
  --band: #16251f;
  --experience: #192b24;
  --accent: #eba58d;
  --button-bg: #9fcdb8;
  --button-ink: #14271f;
  --button-hover: #c1e0d0;
  --role-bg: #183c31;
  --role-ink: #f4f7f0;
  --role-muted: #c4d9cd;
  --control-border: #778b80;
  --resume-ink: #e4ede7;
  --resume-muted: #aabbb4;
  --resume-green: #9fcdb8;
  --resume-line: #526d60;
}

.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:10px;border:1px solid var(--control-border);border-radius:50%;background:transparent;color:var(--green);cursor:pointer;touch-action:manipulation}
.theme-toggle[hidden]{display:none}
.theme-toggle:hover{background:var(--band);color:var(--accent)}
.theme-toggle:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.theme-toggle svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .theme-sun{display:none}
:root[data-theme="dark"] .theme-toggle .theme-moon{display:none}
:root[data-theme="dark"] .theme-toggle .theme-sun{display:block}
::selection{background:var(--green);color:var(--paper)}
@media print {
  html:root {
    color-scheme: light !important;
  --paper: #ffffff !important;
  --surface: #ffffff !important;
  --canvas: #ffffff !important;
  --ink: #182e28 !important;
  --green: #17483d !important;
  --muted: #56645f !important;
  --line: #ccd5ca !important;
  --band: #edf0e8 !important;
  --experience: #e9eee5 !important;
  --accent: #9c432f !important;
  --button-bg: #17483d !important;
  --button-ink: #ffffff !important;
  --button-hover: #182e28 !important;
  --role-bg: #17483d !important;
  --role-ink: #ffffff !important;
  --role-muted: #c6d5c9 !important;
  --control-border: #718579 !important;
  --resume-ink: #172b27 !important;
  --resume-muted: #34463e !important;
  --resume-green: #17483d !important;
  --resume-line: #b6c4ba !important;
  }
  .theme-toggle{display:none!important}
}
