:root{--g:#0b5d3b;--g2:#e8f4ee;--ink:#1c2321;--muted:#5a6560;--line:#d7dfda;--bg:#fafcfb;--warn:#fff6d6}
*{box-sizing:border-box}
html{font-size:100%;-webkit-text-size-adjust:100%}
body{margin:0;font:1.0625rem/1.65 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}
.wrap{max-width:1000px;margin:0 auto;padding:0 1rem}.narrow{max-width:760px}
a{color:#0a5a99}a:hover{color:#06385f}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #f5a100;outline-offset:2px}
.skip{position:absolute;left:-999px;top:0;background:#000;color:#fff;padding:.5rem 1rem;z-index:10}.skip:focus{left:0}
.site-header{background:var(--g);color:#fff}
.bar{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;align-items:center;justify-content:space-between;padding-top:.75rem;padding-bottom:.75rem}
.brand{color:#fff;font-weight:700;text-decoration:none;font-size:1.15rem}
.site-header nav a{color:#fff;margin-right:1rem;text-decoration:none;font-size:.95rem}.site-header nav a:hover{text-decoration:underline}
h1{font-size:clamp(1.65rem,5vw,2.4rem);line-height:1.2;margin:1.5rem 0 .5rem}
h2{font-size:1.45rem;line-height:1.3;margin:2.2rem 0 .6rem}
.lead{font-size:1.15rem;color:#33403a}
.hero{padding-top:.5rem}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.25rem;box-shadow:0 1px 3px rgba(0,0,0,.05);margin:1.25rem 0}
.calc h2{margin-top:0}
.grid{display:grid;gap:1rem;grid-template-columns:1fr}
.field label{display:block;font-weight:600;margin-bottom:.25rem}
input[type=number],select{width:100%;font:inherit;padding:.7rem .75rem;border:1.5px solid #8a9690;border-radius:10px;background:#fff;color:var(--ink);min-height:48px}
.hint{display:block;font-size:.85rem;color:var(--muted);margin-top:.2rem}
.field.check{display:flex;align-items:center;gap:.6rem}.field.check label{margin:0}
.field.check input{width:24px;height:24px}
.results{display:grid;gap:.75rem;grid-template-columns:1fr 1fr;margin-top:1.25rem}
.res{background:var(--g2);border-radius:12px;padding:.8rem 1rem;display:flex;flex-direction:column}
.res.main{grid-column:1/-1;background:var(--g);color:#fff}
.res .k{font-size:.9rem}.res .v{font-size:1.6rem;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.res.main .v{font-size:2.2rem}
.small{font-size:.875rem}.muted{color:var(--muted)}
.crumbs{font-size:.9rem;margin-top:1rem;color:var(--muted)}
details{border:1px solid var(--line);border-radius:10px;background:#fff;margin:.5rem 0;padding:.2rem 1rem}
summary{cursor:pointer;font-weight:600;padding:.7rem 0}
details p{margin:.2rem 0 1rem}
.tablewrap{overflow-x:auto;margin:1rem 0}
table{border-collapse:collapse;width:100%;min-width:480px;background:#fff}
caption{text-align:left;font-weight:600;padding:.5rem 0}
th,td{border:1px solid var(--line);padding:.55rem .7rem;text-align:left;vertical-align:top;font-size:.97rem}
thead th{background:var(--g2)}
.routelist{padding-left:1.2rem}.routelist li{margin:.4rem 0}
.placeholder{background:var(--warn);border-color:#e6c84c}
.ad-slot{min-height:0}
.site-footer{background:#14211b;color:#d5e1da;margin-top:3rem;padding:1.5rem 0;font-size:.92rem}
.site-footer a{color:#fff}
@media(min-width:640px){.grid{grid-template-columns:1fr 1fr}.results{grid-template-columns:repeat(3,1fr)}.res.main{grid-column:1/-1}}
@media(prefers-reduced-motion:no-preference){.res .v{transition:opacity .15s}}
