:root{--ink:#1c2c34;--muted:#4e6068;--blue:#174c69;--rust:#994323;--rule:#dae1df;--paper:#fafaf7;--white:#fff;--sky:#e7eff1;--dark:#1d3948;--amber:#ffc993;font:100%/1.58 'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:var(--blue);text-decoration-thickness:1px;text-underline-offset:.17em}a:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a84a0e;outline-offset:3px}h1,h2,h3,p,figure,dl,dd{margin:0}h1,h2,h3{line-height:1.14;text-wrap:balance}h1{font-size:clamp(2.45rem,5.4vw,5.05rem);letter-spacing:-.059em}h2{font-size:clamp(1.85rem,3.3vw,2.65rem);letter-spacing:-.045em}h3{font-size:1.28rem;letter-spacing:-.025em}p+p{margin-top:.95rem}p,li{overflow-wrap:break-word}.wrap{width:min(calc(100% - 3rem),72rem);margin-inline:auto}.skip{position:absolute;left:.5rem;top:-5rem;z-index:2;background:#fff;padding:.7rem}.skip:focus{top:.4rem}
header{background:#fff;border-bottom:1px solid var(--rule)}header .wrap,footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;flex-wrap:wrap}header .wrap{min-height:4.6rem;padding-block:.75rem}.brand{display:inline-flex;align-items:center;gap:.58rem;font-weight:750;text-decoration:none;color:var(--ink);font-size:1.04rem}.brand img{width:2rem;height:2rem}nav.links{display:flex;gap:clamp(.8rem,3vw,2rem);flex-wrap:wrap}.links a{color:var(--ink);font-size:.95rem;font-weight:600;text-decoration:none}.links a:hover{text-decoration:underline}
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(2rem,7vw,6rem);align-items:center;padding-block:clamp(2rem,5vw,4rem)}.hero .intro{margin-top:.9rem;max-width:37rem;font-size:clamp(1.08rem,1.8vw,1.3rem);line-height:1.55;color:var(--muted)}.hero-figure{display:flex;justify-content:center;background-color:#eaf0ef;background-image:linear-gradient(#18374309 1px,transparent 1px),linear-gradient(90deg,#18374309 1px,transparent 1px);background-size:18px 18px;border-radius:1.15rem;overflow:hidden}.hero-figure svg{width:100%;max-width:29rem;height:auto;display:block}
button,input,select{font:inherit}button,summary,select{cursor:pointer}.calc{background:var(--white);border:1px solid #bdcacb;border-radius:1.15rem;display:grid;grid-template-columns:1.35fr .8fr;overflow:hidden;scroll-margin-top:1rem}.calc form{padding:clamp(1.15rem,3vw,2.4rem)}.calc h2,.sheet h2{font-size:clamp(1.6rem,3vw,2.1rem)}.calc p.note,.sheet .note{margin-top:.38rem}.note,.byline,figcaption{font-size:.92rem;color:var(--muted)}.area-list{margin-top:1.45rem}.area-entry{border:0;padding:0;margin:0 0 1rem}.area-entry+.area-entry{border-top:1px solid var(--rule);padding-top:1rem}.area-entry legend{font-weight:650;padding:0 .4rem 0 0;font-size:.95rem}.area-actions{display:flex;align-items:end;gap:.75rem;justify-content:space-between}.area-actions label{flex:1}.input-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.82rem}.area-entry .input-grid{margin-top:.8rem}.calc label,.sheet label{display:flex;flex-direction:column;gap:.32rem;font-weight:600;font-size:.92rem;justify-content:end}.calc input,.calc select,.sheet input{width:100%;min-width:0;background:#fff;color:var(--ink);border:1px solid #93a3a8;border-radius:.4rem;padding:.48rem .62rem;font-weight:500;min-height:2.7rem}.calc select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23344850' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .85rem center;padding-right:2.1rem}.calc button{color:var(--blue);background:#fff;border:1px solid #b4c3c9;border-radius:.45rem;padding:.5rem .85rem;font-weight:650;font-size:.94rem}.calc button:hover{background:#edf3f5}details{margin-top:1.35rem;border-top:1px solid var(--rule);padding-top:.9rem}summary{font-weight:650;color:var(--blue);width:fit-content}details .input-grid{margin-top:.8rem;grid-template-columns:repeat(2,minmax(0,1fr))}.calc summary+.note{margin-top:.7rem}.receipt{background:var(--dark);color:white;padding:clamp(1.3rem,3vw,2.5rem);display:flex;flex-direction:column;justify-content:center}.receipt h2{font-size:1.3rem;letter-spacing:-.02em}.receipt .big{display:flex;align-items:baseline;gap:.5rem;line-height:1.1;color:var(--amber);font-size:clamp(2.9rem,6.4vw,5.6rem);font-weight:680;letter-spacing:-.065em;margin:.65rem 0 .2rem;flex-wrap:wrap}.big small{font-size:1.45rem;letter-spacing:-.02em}.receipt>p{color:#e0e8eb}.receipt dl{margin-top:1.35rem}.receipt dl div{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;border-top:1px solid #ffffff32;padding:.5rem 0}.receipt dt{font-size:.9rem;color:#e5ecee}.receipt dd{font-weight:650;text-align:right}.error{color:#922d17;font-weight:600}.error:not(:empty){margin-top:.8rem}[hidden]{display:none!important}
main section.divided,.article section.divided{border-top:1px solid var(--rule);padding-top:clamp(1.45rem,3.4vw,2.8rem);margin-top:clamp(2.9rem,6vw,5rem);scroll-margin-top:1.6rem}.divided>h2{margin-bottom:1.1rem}.divided>h3{margin:1.75rem 0 .6rem}.read{max-width:72ch}.math{padding:1.05rem 1.25rem;background:#e9f0ef;border-left:3px solid #5d7a83;border-radius:.2rem;font-weight:650;font-size:1.08rem;margin:1.2rem 0}.directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 1.5rem;margin-top:1.3rem}.directory a{display:block;padding:.75rem 0;border-bottom:1px solid var(--rule);line-height:1.45;font-weight:600}.split{display:grid;grid-template-columns:1.07fr .93fr;gap:clamp(1.6rem,5vw,4rem);align-items:start}.scroll-table{overflow:auto;margin:1rem 0}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;text-align:left}caption{text-align:left;font-weight:650;padding-bottom:.5rem}th,td{padding:.62rem .72rem;border-bottom:1px solid var(--rule);vertical-align:top}th{background:#eaf0f0}.crumb{font-size:.88rem;color:var(--muted);padding-top:1.35rem;display:flex;align-items:baseline;gap:.5rem;flex-wrap:wrap}
.article{max-width:50rem;margin:0 auto}.article h1{font-size:clamp(2.3rem,4.8vw,3.95rem);margin:1.45rem 0 1.05rem}.article .lead{font-size:1.15rem;line-height:1.65;color:#384f58}.article .byline{margin-top:.85rem}.article p,.article li{max-width:73ch}.article .sheet{border:1px solid #bdcacb;background:#fff;margin-top:2rem;padding:clamp(1.15rem,3vw,2rem);border-radius:1rem}.sheet .input-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1.2rem}.sheet-results{margin-top:1.25rem;background:#eaf1f2;padding:.6rem 1rem;border-radius:.5rem}.sheet-results div{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:.45rem 0}.sheet-results div+div{border-top:1px solid #cbd8da}.sheet-results dt{font-size:.94rem}.sheet-results output{font-weight:700;white-space:nowrap}.process{margin:1.35rem 0 0;background:#eef2f1;padding:1.15rem;border-radius:.6rem}.process figcaption{font-weight:700;color:var(--ink);margin-bottom:.55rem}.process ol{display:flex;list-style:none;margin:0;padding:0;gap:1rem}.process li{flex:1;padding-left:.65rem;border-left:3px solid #ba7750;font-size:.96rem}.source-list{padding-left:1.2rem}.source-list li+li{margin-top:.4rem}.byline a{color:inherit}footer{margin-top:clamp(3.5rem,7vw,6rem);border-top:1px solid var(--rule);padding:1.5rem 0 2rem;background:white}footer nav{display:flex;gap:1.25rem}
@media(max-width:750px){.wrap{width:calc(100% - 2rem)}.hero{grid-template-columns:1fr .7fr;gap:.9rem}.directory{grid-template-columns:repeat(2,minmax(0,1fr))}.calc{grid-template-columns:1.13fr .87fr}.input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:1fr}}
@media(max-width:620px){header .wrap{gap:.5rem;min-height:3.65rem}.brand{font-size:.97rem}.links a{font-size:.87rem}.hero{grid-template-columns:1fr;padding-block:1.65rem;gap:1rem}.hero-figure{display:none}.calc{grid-template-columns:1fr}.receipt{padding:1.3rem}.receipt dl{margin-top:.8rem}.directory{grid-template-columns:1fr}.process ol{flex-direction:column;gap:.6rem}.process li{padding-left:.7rem}.receipt .big{font-size:3.5rem}.sheet-results div{flex-wrap:wrap;gap:.25rem}.crumb{padding-top:1rem}.article h1{margin-top:1.2rem}.input-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){header .links{gap:.7rem}header .links a{font-size:.81rem}.wrap{width:calc(100% - 1.5rem)}.input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet .input-grid,details .input-grid{grid-template-columns:1fr 1fr}.sheet,.calc form{overflow-wrap:anywhere}.receipt dl div{gap:.5rem}}
.hero-figure img{display:block;width:100%;height:auto;max-width:29rem}.receipt .receipt-note{margin-top:1.1rem;font-size:.84rem;line-height:1.45;color:#d6e2e6}.read h3:not(:first-child){margin:1.55rem 0 .5rem}.read h3:first-child{margin-bottom:.5rem}main>.byline{margin-top:2rem}
@media (max-width:620px){.hero-figure{display:flex}.hero-figure img{width:100%;max-height:7.4rem;object-fit:contain}}
.process{display:flex;align-items:center;gap:1rem}.process>div:first-child:empty{display:none}.process>div:last-child{flex:1}.process svg{width:5.5rem;height:auto;display:block}
@media(max-width:440px){.process{align-items:start;gap:.65rem}.process svg{width:4rem}}
.process{display:block}.process .process-body{display:flex;align-items:center;gap:1rem}.process ol{flex:1}.process svg{flex:none}@media(max-width:440px){.process .process-body{gap:.7rem}}
