:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #1b2831; background: #e8ecee; }
* { box-sizing: border-box; }
body { margin: 0; }
.toolbar { max-width: 820px; margin: 24px auto; padding: 0 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 15px; }
.toolbar a { color: #14524b; text-underline-offset: 3px; }
.toolbar button { background: #142a38; color: white; border: 0; padding: 12px 18px; border-radius: 4px; cursor: pointer; font: inherit; }
.toolbar button[hidden] { display: none; }
.toolbar :focus-visible { outline: 3px solid #14524b; outline-offset: 4px; }
.toolbar p { flex-basis: 100%; line-height: 1.5; margin: 0; }
.sheet { width: min(100%, 200mm); margin: 20px auto; padding: 12mm; background: white; }
.brand { color: #14524b; font-size: 10pt; font-weight: bold; margin: 0 0 8px; }
h1, .continued-title { font-size: 21pt; line-height: 1.15; margin: 0 0 9px; letter-spacing: -.02em; }
header > p:last-child { font-size: 9pt; line-height: 1.45; margin: 0 0 12px; }
.field { border: 1px solid #879299; margin-top: 8px; padding: 7px 9px 0; break-inside: avoid; }
.field h2 { font-size: 10pt; margin: 0 0 3px; }
.field p { font-size: 8pt; line-height: 1.35; margin: 0; }
.writing-space { min-height: 11mm; }
.field--tall .writing-space { min-height: 16mm; }
footer { border-top: 1px solid #879299; margin-top: 12px; padding-top: 6px; font-size: 8pt; line-height: 1.45; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: 10px; font-size: 9pt; }
caption { text-align: left; font-size: 8pt; line-height: 1.4; margin-bottom: 6px; }
td, th { border: 1px solid #879299; padding: 7px; text-align: left; }
thead th { background: #edf1f2; }
.blank-row { height: 13mm; }
.legend { font-size: 8pt; line-height: 1.5; margin: 10px 0; }
.skills-table th:first-child { width: 32%; }
.skills-table th:nth-child(2) { width: 10%; }
.skills-table tbody th { font-size: 9pt; font-weight: normal; }
.skills-table tbody tr { height: 15mm; }
@media (max-width: 600px) { .sheet { padding: 20px 16px; } h1, .continued-title { font-size: 1.5rem; } }
@page { size: auto; margin: 10mm; }
@media print {
  :root, body { background: white; color: black; }
  .toolbar { display: none; }
  .sheet { width: 100%; max-width: none; margin: 0; padding: 0; break-after: page; }
  .sheet:last-child { break-after: auto; }
  h1, .continued-title { font-size: 20pt; }
  .field, tr, footer { break-inside: avoid; }
}
