
:root { color-scheme: light; --ink: #1d1a16; --muted: #4a4238; --line: #c9bfae; --bg: #faf7f1; --accent: #8a5a12; --bad: #9b1c1c; }
* { box-sizing: border-box; }
html { font-size: 18px; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
a:focus, button:focus, input:focus, select:focus, textarea:focus { outline: 3px solid #1a56db; outline-offset: 2px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem; }
header { background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
header .brand { font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
header .mark { width: 1.75rem; height: 1.75rem; flex: none; }
header .company-lockup { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: nowrap; max-width: 100%; }
header .company-logo { height: 48px; width: auto; max-width: 7.5rem; object-fit: contain; flex: none; }
img.logo-preview { display: block; height: 4.5rem; width: auto; max-width: 14rem; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .25rem; }
header nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
header .util { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; margin-left: auto; }
header .util form { margin: 0; } header .util button { margin-top: 0; min-height: 44px; }
nav a[aria-current=page] { color: var(--ink); font-weight: 700; text-decoration-thickness: 3px; }
.tabbar { display: none; }
main { max-width: 46rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: .25rem 0; } h2 { font-size: 1.3rem; } h3 { font-size: 1.1rem; margin: .5rem 0 .25rem; }
.page-head { border-bottom: 2px solid var(--line); margin: 0 0 1rem; padding-bottom: .6rem; }
.page-head .subtitle { margin: 0; font-size: 1.1rem; color: var(--muted); }
label { display: block; font-weight: 600; margin-top: 1rem; }
input, select, textarea { font: inherit; font-size: 1rem; width: 100%; max-width: 30rem; padding: .6rem .7rem; border: 2px solid var(--line); border-radius: 6px; background: #fff; min-height: 48px; }
input[type=radio] { width: auto; min-height: auto; margin-right: .5rem; }
.choice { font-weight: 400; display: flex; align-items: center; }
button, .button { font: inherit; font-size: 1rem; font-weight: 600; min-height: 48px; padding: .6rem 1.2rem; margin-top: 1rem; border: 0; border-radius: 6px; background: #1a1206; color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
button.secondary { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
button, .button { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
button:hover, .button:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(29, 26, 22, .22); }
button:active, .button:active { transform: none; box-shadow: none; }
.tabbar a:hover, .tabbar button:hover { transform: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { button, .button { transition: none; } button:hover, .button:hover { transform: none; } }
.notice { border-left: 6px solid var(--accent); background: #fff; padding: .75rem 1rem; margin: 1rem 0; }
.error { border-left-color: var(--bad); }
table { border-collapse: collapse; width: 100%; } th, td { text-align: left; padding: .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.flag { color: var(--bad); }
.tag { background: var(--bad); color: #fff; font-weight: 700; padding: .1rem .5rem; border-radius: 4px; }
.hint { color: var(--muted); font-size: 1rem; }
.prewrap { white-space: pre-line; }
fieldset { border: 1px solid var(--line); border-radius: 6px; margin: 1rem 0 0; padding: .25rem 1rem 1rem; } legend { font-weight: 600; padding: 0 .25rem; }
dt { font-weight: 600; margin-top: .5rem; } dd { margin: 0; }
caption { text-align: left; font-weight: 600; padding: .5rem 0; }
dl.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .5rem; }
dl.summary > div { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .5rem .75rem; }
dl.summary dd { font-size: 1.3rem; font-weight: 700; }
ul.issues { margin: 0; padding-left: 1.1rem; } ul.issues li.error { color: var(--bad); }
ul.attention { padding-left: 1.1rem; } ul.attention li { margin: .35rem 0; } ul.attention li.urgent strong { color: var(--bad); }
svg.bar { display: block; max-width: 30rem; margin: .25rem 0 1rem; }
figure.chart { margin: .5rem 0 1rem; } svg.chart { display: block; width: 100%; max-width: 36rem; height: auto; } svg.chart.donut { max-width: 12rem; }
svg.chart text { fill: var(--ink); } svg.chart .axis { stroke: var(--line); stroke-width: 1; } svg.chart rect { stroke: none; }
svg.chart .track { fill: #e6dfd2; } svg.chart .seg { fill: none; } svg.chart .seg.track { stroke: #e6dfd2; }
.tone-green { fill: #4f7a3a; stroke: #4f7a3a; } .tone-brown { fill: #8a5a12; stroke: #8a5a12; } .tone-gold { fill: #b8860b; stroke: #b8860b; } .tone-red { fill: #9b1c1c; stroke: #9b1c1c; } .tone-blue { fill: #2f5d8a; stroke: #2f5d8a; } .tone-gray { fill: #8c8273; stroke: #8c8273; }
ul.legend { list-style: none; padding: 0; margin: .25rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; } .legend .swatch { display: inline-block; width: 1rem; height: 1rem; border-radius: 3px; vertical-align: middle; margin-right: .35rem; }
.swatch.tone-green { background: #4f7a3a; } .swatch.tone-brown { background: #8a5a12; } .swatch.tone-gold { background: #b8860b; } .swatch.tone-red { background: #9b1c1c; } .swatch.tone-blue { background: #2f5d8a; } .swatch.tone-gray { background: #8c8273; }
ul.stands-out { padding-left: 1.1rem; } ul.stands-out li { margin: .35rem 0; }
form + form { margin-top: .25rem; }
.history > li { margin-bottom: 1.25rem; }
input[type=checkbox] { width: auto; min-height: auto; margin-right: .5rem; }
.qr svg { width: 100%; max-width: 264px; height: auto; border: 1px solid var(--line); }
.secret { font-family: ui-monospace, monospace; font-size: 1.2rem; letter-spacing: .1em; word-break: break-all; background: #fff; padding: .5rem; border: 1px dashed var(--line); }
.year { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .25rem 1rem; }
.year h2 { font-size: 1.05rem; margin: .75rem 0 .25rem; } .year ul { margin: 0; padding-left: 1rem; } .year p { margin: 0; }
.reviewer-strip { margin: 0; padding: .4rem 1rem; background: #fff3cd; border-bottom: 2px solid var(--accent); color: var(--ink); font-weight: 600; text-align: center; }
footer { color: var(--muted); font-size: 1rem; text-align: center; padding: 2rem 1rem; }
/* Handoff packet: the company logo floats beside the company name, as on printed letters. */
.handoff-lead { display: flow-root; }
.handoff-sign p { margin: 1.4rem 0 0; }
.handoff-logo { float: left; width: auto; height: auto; max-height: 3rem; max-width: 10rem; margin: 0 .75rem .25rem 0; }
@media print { header, nav, .tabbar, .noprint, .skip { display: none; } body { background: #fff; font-size: 18px; } footer { padding: 1rem 0 0; color: #000; font-size: 1rem; } main { max-width: none; padding: 0; } .year { grid-template-columns: repeat(3, 1fr); } .handoff section { break-inside: avoid; } .handoff h2, .handoff h3 { break-after: avoid; } .handoff-logo { max-height: .45in; max-width: 2in; } }
.sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .75rem; margin: 1rem 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .5rem 1rem 1rem; }
.card h2 { margin: .5rem 0 0; } .card .hint { margin: .25rem 0 .5rem; }
ul.links { list-style: none; margin: 0; padding: 0; }
ul.links li { border-top: 1px solid var(--line); } ul.links a { display: block; padding: .6rem 0; min-height: 48px; }
.strip { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .6rem; }
.strip a { display: flex; flex-direction: column; height: 100%; min-height: 48px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .5rem .75rem; color: var(--ink); text-decoration: none; }
.strip a:hover { border-color: var(--accent); }
.strip a.flag { border-color: var(--bad); border-left-width: 6px; }
.strip .label { font-weight: 600; color: var(--muted); }
.strip strong { font-size: 1.5rem; line-height: 1.3; }
.strip .flag strong, .strip a.flag strong { color: var(--bad); }
.strip .note { font-size: 1rem; color: var(--muted); overflow-wrap: anywhere; }
table.attention th:last-child, table.attention td:last-child { white-space: nowrap; }
table.attention tr.urgent td.level strong { color: var(--bad); }
table.attention tr.urgent { border-left: 6px solid var(--bad); }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; margin: .5rem 0 1rem; }
.glance .card p { margin: .25rem 0; }
svg.donut { display: block; margin: .25rem auto; }
ul.holders { list-style: none; margin: 0; padding: 0; } ul.holders li { padding: .35rem 0; border-top: 1px solid var(--line); display: grid; gap: 0; }
ul.holders svg.bar { margin: .15rem 0 .25rem; }
.getting-started ol.steps { padding-left: 1.4rem; } .getting-started ol.steps li { margin: 0 0 1rem; } .getting-started ol.steps li.done strong { text-decoration: line-through; }
.getting-started .hint { display: block; } .getting-started .actions { display: flex; flex-wrap: wrap; gap: 0 .75rem; }
.quick-actions ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; }
.quick-actions .button { display: block; text-align: center; margin-top: 0; background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.getting-started .button.secondary { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
ul.features { list-style: none; margin: .5rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
li.feature { position: relative; display: flex; gap: .75rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .75rem 1rem; }
li.feature:hover, li.feature:focus-within { border-color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
ul.records-check { list-style: none; padding: 0; margin: 1rem 0; border-top: 1px solid var(--line); }
ul.records-check li { display: grid; grid-template-columns: 2rem 1fr; gap: .1rem .75rem; padding: .75rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
ul.records-check .check-mark { grid-row: span 2; display: inline-flex; width: 1.6rem; height: 1.6rem; border-radius: 50%; align-items: center; justify-content: center; font-weight: 700; }
ul.records-check .check-ok .check-mark { background: #e8f3ee; color: #1b4d32; border: 1px solid #2c6e49; }
ul.records-check .check-look .check-mark { background: #fbf4e6; color: #7a4f0e; border: 1px solid #b7791f; }
ul.records-check .check-name { font-weight: 700; } ul.records-check .check-name a { color: var(--ink); }
ul.records-check .check-detail { color: var(--muted); }
li.feature.locked { background: #f6f4ef; } li.feature.locked:hover { border-color: var(--line); }
li.feature svg.icon { flex: none; margin-top: .15rem; }
li.feature h3 { margin: 0; } li.feature p { margin: .15rem 0 0; color: var(--muted); }
li.feature a { color: var(--ink); text-decoration: none; font-weight: 700; }
li.feature a::after { content: ""; position: absolute; inset: 0; }
.trends-empty { background: #fff; border: 1px dashed var(--line); border-radius: 6px; padding: .75rem 1rem; }
.sidenav { display: none; }
.sidenav ul { list-style: none; margin: 0; padding: 0; }
.sidenav .side-title { font-weight: 700; color: var(--muted); margin: 1rem 0 .25rem .6rem; }
.sidenav a { display: block; padding: .3rem .6rem; border-radius: 6px; color: var(--ink); text-decoration: none; }
.sidenav a:hover { background: #f1e7d3; }
.sidenav a[aria-current=page] { background: #f1e7d3; box-shadow: inset 4px 0 0 var(--accent); font-weight: 700; }
.sidenav li.start a { font-weight: 700; border: 2px solid var(--accent); margin-bottom: .35rem; }
.more-start { margin: 0 0 1rem; }
@media screen and (min-width: 64rem) {
  .shell { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 0 2rem; max-width: 76rem; margin: 0 auto; padding: 0 1rem; }
  .shell main { margin: 0; max-width: 52rem; padding-left: 0; padding-right: 0; }
  .sidenav { display: block; position: sticky; top: 0; align-self: start; max-height: 100vh; overflow-y: auto; padding: 1rem 0 2rem; border-right: 1px solid var(--line); padding-right: .75rem; }
  body.with-side header nav.nav-main { display: none; }
}
@media print { .sidenav { display: none; } .shell { display: block; } }
@media screen and (max-width: 40rem) {
  ul.features { grid-template-columns: 1fr; }
  h1 { font-size: 1.6rem; }
  table, tbody, tfoot, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  caption { display: block; }
  tr { background: #fff; border: 1px solid var(--line); border-radius: 6px; margin: 0 0 .75rem; padding: .5rem .75rem; }
  th, td { border: 0; padding: .25rem 0; overflow-wrap: anywhere; }
  tbody th[scope=row] { font-size: 1.1rem; font-weight: 700; padding-bottom: .4rem; margin-bottom: .25rem; border-bottom: 1px solid var(--line); }
  td[data-label] { display: flow-root; padding-left: 8.5rem; }
  td[data-label]::before { content: attr(data-label); float: left; width: 7.75rem; margin-left: -8.5rem; font-weight: 600; color: var(--muted); }
}
@media screen and (max-width: 48rem) {
  header nav.nav-main, header .util { display: none; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: #fff; border-top: 2px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a, .tabbar button { flex: 1 1 0; min-height: 56px; display: flex; align-items: center; justify-content: center; text-align: center; margin: 0; padding: .25rem; border: 0; border-radius: 0; background: none; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; }
  .tabbar form { flex: 1 1 0; display: flex; margin: 0; }
  .tabbar a[aria-current=page] { background: #f1e7d3; box-shadow: inset 0 4px 0 var(--accent); }
  main { padding-bottom: 6rem; } footer { padding-bottom: 5rem; }
  /* Phone tap targets: every button and nav link at least 44px tall. */
  button, .button { min-height: 48px; }
  header .brand, nav a, .skip:focus { min-height: 44px; display: inline-flex; align-items: center; }
  summary { min-height: 44px; padding: .45rem 0; cursor: pointer; }
}
