:root { color: #061f60; background: #f8f7f4; font-family: Hellix, system-ui, sans-serif; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px max(18px, calc((100% - 1120px) / 2)); border-bottom: 1px solid #dfdfdf; background: #fff; }
nav, .tools { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.wordmark { font: 650 20px Atacama, Georgia, serif; text-decoration: none; letter-spacing: .09em; }
a { color: inherit; text-underline-offset: 3px; }
main { width: min(1120px, calc(100% - 36px)); margin: 52px auto 80px; }
h1 { font: 500 clamp(42px, 7vw, 76px)/1 Atacama, Georgia, serif; margin: 5px 0 14px; letter-spacing: -.03em; }
h2 { font: 500 30px/1.1 Atacama, Georgia, serif; margin: 0 0 12px; }
.lead { color: #495870; line-height: 1.5; max-width: 65ch; }
.section-label { color: #765c35; font-weight: 650; margin: 0; }
.summary { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,160px),1fr)); gap: 10px; margin-block: 26px; }
.summary div { border-radius: 16px; background: #f0ebe1; padding: 14px 20px; color: #445168; }
.summary strong { display: block; color: #061f60; font: 500 34px Atacama, Georgia, serif; }
.panel { background: white; border: 1px solid #d9dce4; border-radius: 18px; margin: 18px 0; padding: clamp(16px,3vw,30px); }
form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
label { display: grid; min-width: 0; gap: 4px; font-size: .92rem; font-weight: 650; }
input, select, button { font: inherit; color: inherit; border-radius: 9px; border: 1px solid #9aa6bd; padding: 9px 11px; background: white; min-height: 44px; }
input { max-width: min(100%,200px); }
button { font-weight: 650; cursor: pointer; }
.primary { color: white; background: #061f60; border-color: #061f60; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 2px solid #996d31; outline-offset: 3px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: minmax(130px,.85fr) minmax(0,1.15fr); gap: 10px 20px; align-items: center; padding: 13px 0; border-top: 1px solid #e0e3e8; }
.rows li:first-child { border-top: none; }
.rows small { color: #465773; display: block; margin-top: 5px; }
#notice:not(:empty) { background: #f0ebe1; padding: 12px 16px; border-radius: 10px; }
#notice[data-error] { color: #7c2429; background: #fbede9; }
.projection .rows li { display: block; font-size: clamp(28px,7vw,68px); font-weight: 700; }
.projection .rows small { font-size: .43em; }
@media (max-width: 620px) { main { margin-top: 30px; } .rows li { grid-template-columns: 1fr; } }
