:root { color-scheme: light; --ink: #163745; --muted: #4d6571; --surface: #edf5f6; --accent: #126c7c; --line: #c4d6dc; font: 16px/1.5 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); }
.wrap { width: min(980px, calc(100% - 32px)); margin-inline: auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-size: 22px; }
.brand img { border-radius: 8px; }
h1, h2, h3 { line-height: 1.2; margin-block: 0 10px; letter-spacing: 0; }
h1 { font-size: 32px; margin-top: 26px; }
h2 { font-size: 23px; }
h3 { font-size: 17px; }
.intro { color: var(--muted); margin: 0 0 22px; }
form { padding-block: 20px; border-block: 1px solid var(--line); }
.birth { max-width: 240px; }
fieldset { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
legend { font-size: 14px; font-weight: 700; padding-right: 10px; }
label { display: grid; gap: 5px; font-size: 14px; font-weight: 650; min-width: 0; }
input, select, button { min-height: 44px; font: inherit; }
input, select { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; width: 100%; min-width: 0; color: var(--ink); background: white; }
input { font-size: 16px; }
button { border-radius: 6px; border: 1px solid var(--accent); padding: 8px 14px; color: white; background: var(--accent); cursor: pointer; font-weight: 650; }
button.secondary { color: var(--accent); background: var(--surface); }
button.quiet { color: var(--muted); background: transparent; border-color: transparent; }
.actions, .store-links { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; }
.store-links { padding-block: 14px 24px; }
.store-links a { display: inline-flex; align-items: center; min-height: 44px; }
:focus-visible { outline: 3px solid #b85a0a; outline-offset: 3px; }
#demo-status { color: #922b37; margin: 6px 0 0; }
#demo-status:empty { display: none; }
#results { padding-top: 24px; }
#charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.metric { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.metric svg { display: block; width: 100%; color: var(--accent); }
.metric svg text { fill: var(--muted); font-size: 12px; }
.metric svg circle { fill: currentColor; stroke: white; stroke-width: 1.5; }
.metric svg path { fill: none; stroke: var(--line); }
.metric svg polyline { fill: none; stroke: currentColor; stroke-width: 2.4; }
.metric ol { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.metric li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding-block: 3px; }
a { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 650px) { #charts { grid-template-columns: 1fr; } .metric svg { max-height: 180px; } }
@media (max-width: 425px) { fieldset { grid-template-columns: repeat(2,minmax(0,1fr)); } fieldset label:first-of-type { grid-column: 1/-1; } }
