@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/dm-sans-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:600 800;font-display:swap;src:url(/fonts/bricolage-grotesque-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--bg:#EEF3EF;--fg:#12352A;--muted:#51605A;--line:#D5DED8;--green:#1F6B4A;--green-d:#175238;--ink:#12352A;--lime:#C8F169;--lime-d:#B5E04F;--card:#fff;--tint:#E3F3E8;--err:#b3261e;--timber:#D6A25E}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.55 'DM Sans',system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;padding-bottom:84px}
h1,h2,h3,.bignum,.stat b,.totals b{font-family:'Bricolage Grotesque','DM Sans',system-ui,sans-serif}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}
.top{display:flex;align-items:center;justify-content:space-between;padding-top:16px;padding-bottom:4px}
.brand{font:800 22px 'Bricolage Grotesque',sans-serif;color:var(--ink);text-decoration:none}.brand span{color:var(--green)}
.top-note{font-size:13px;font-weight:600;color:var(--muted)}
.hero{padding-top:8px;padding-bottom:4px}
h1{font-size:2.1rem;line-height:1.05;letter-spacing:-.02em;margin:.4rem 0 .3rem;font-weight:800}
.intro{margin:0 0 4px;color:#3F4F49;max-width:640px}
h2{font-size:1.5rem;line-height:1.1;letter-spacing:-.01em;margin:0 0 .5rem;font-weight:800}
.muted{color:var(--muted)}.small{font-size:.85rem}.r{text-align:right}.sr{position:absolute;left:-9999px}

/* layout */
.layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding-top:16px;padding-bottom:32px}
@media(min-width:960px){.layout{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:24px;align-items:start}.col-results{position:sticky;top:16px}body{padding-bottom:0}h1{font-size:3rem}}

.card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:16px}
.field{margin-bottom:20px}
.label,label{display:block;font-weight:700;font-size:14px;margin-bottom:8px}
label.check,label.inline{font-weight:400;font-size:inherit}
.check{display:flex;gap:10px;align-items:flex-start;margin:12px 0;font-size:13px;line-height:1.4;color:#3F4F49}
.check input{width:22px;height:22px;margin:0;flex:none;accent-color:var(--green)}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
input[type=text],input[type=email],input[type=tel],input:not([type]),select,textarea{width:100%;min-height:48px;padding:10px 12px;font:inherit;color:inherit;background:#fff;border:2px solid var(--line);border-radius:12px;margin-bottom:12px}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,summary:focus-visible,a:focus-visible,.chips input:focus-visible+span{outline:3px solid var(--green);outline-offset:2px}
.row input[type=text],.row select{width:auto;flex:1;margin-bottom:0;min-width:0}
.bignum{height:64px;font-size:2rem!important;font-weight:800;border-color:var(--green)!important;border-radius:14px!important}
.unit{display:flex;background:var(--bg);border-radius:14px;padding:4px;gap:4px}
.unit button{width:52px;min-height:52px;border:0;border-radius:10px;background:transparent;color:var(--ink);font-family:inherit;font-weight:700;font-size:16px;cursor:pointer}
.unit button[aria-pressed=true]{background:var(--ink);color:#fff}
.range{width:100%;margin:14px 0 0;accent-color:var(--green);height:28px}
.range-ends{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}

/* buttons */
.btn,.tile,.stepper button,.heights button{font:inherit;color:inherit;cursor:pointer;background:#fff;border:2px solid var(--line);border-radius:12px;min-height:48px;padding:0 16px;transition:background .15s,border-color .15s,transform .08s,box-shadow .15s}
.btn{font-weight:700;font-size:14px}
.btn:hover,.tile:hover,.stepper button:hover,.heights button:hover{border-color:var(--green);box-shadow:0 2px 8px rgba(18,53,42,.14)}
.btn:active,.tile:active,.stepper button:active,.heights button:active,.unit button:active{transform:scale(.97)}
.btn.primary,.btn.go{background:var(--green);border-color:var(--green);color:#fff;font-weight:700}
.btn.primary{width:100%;min-height:56px;font-size:17px;border-radius:14px}
.btn.primary:hover,.btn.go:hover{background:var(--green-d);border-color:var(--green-d)}
.btn.lime{background:var(--lime);border-color:var(--lime);color:var(--ink);min-height:52px;font-size:16px}
.btn.lime:hover{background:var(--lime-d);border-color:var(--lime-d)}
.btn[disabled]{opacity:.65;cursor:progress;transform:none;box-shadow:none}
.btn.primary.busy::before{content:"";display:inline-block;width:1em;height:1em;margin-right:.6em;vertical-align:-.15em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}
.btn.done{background:var(--tint);border-color:var(--green)}
@keyframes spin{to{transform:rotate(360deg)}}

/* heights */
.heights{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-items:end}
.heights button{padding:8px 0 10px;display:flex;flex-direction:column;align-items:center;gap:6px;font-weight:600;font-size:13px}
.hbar{display:block;width:22px;background:var(--timber);border-radius:3px}
.heights button[aria-pressed=true]{background:var(--tint);border-color:var(--green);font-weight:700}
.heights button[aria-pressed=true] .hbar{background:#B9803F}

/* tiles */
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.tile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;text-align:center;position:relative;font-weight:600;font-size:14px;min-height:92px}
.tile svg{width:44px;height:36px;color:var(--muted)}
.tile[aria-pressed=true]{border-color:var(--green);background:var(--tint);font-weight:700}
.tile[aria-pressed=true] svg{color:var(--green)}
.tile[aria-pressed=true]::after{content:"";position:absolute;top:8px;right:8px;width:10px;height:10px;border-radius:50%;background:var(--green)}
/* photos: drop images in /img and set data-photo; see README */
.tile .photo{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}

.stepper{display:flex;align-items:center;gap:12px}
.stepper button{width:48px;padding:0;border-radius:50%;font-size:22px}
.stepper #gate-plus{background:var(--green);border-color:var(--green);color:#fff}
.stepper output{min-width:2ch;text-align:center;font:800 24px 'Bricolage Grotesque',sans-serif}
.more{margin-top:4px}
.more>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;justify-content:center;border:2px dashed #BCC9C1;border-radius:12px;font-weight:600;font-size:15px;margin-bottom:16px;list-style:none;padding:0 12px;text-align:center}
.more>summary::-webkit-details-marker{display:none}
.run{border:2px solid var(--line);border-radius:12px;padding:10px;margin-bottom:10px}
.error{color:var(--err);font-weight:600;margin:8px 0}
.warning:not(:empty){background:#FFF4D6;color:#4A3800;border:1px solid #E0B53C;border-radius:12px;padding:4px 14px;margin-top:12px;font-size:14px}.warning p{margin:8px 0}

/* results */
.hero-card{background:var(--ink);color:#fff;border-radius:24px;padding:20px}
.hero-card h2{margin:12px 0 0;font-size:1.1rem;color:#C9DDD2;font-weight:700;font-family:'DM Sans',sans-serif}
.chip{display:inline-block;background:var(--lime);color:var(--ink);font-weight:700;font-size:13px;padding:4px 10px;border-radius:99px}
.summary{font:800 1.4rem/1.15 'Bricolage Grotesque',sans-serif;margin:6px 0 0;letter-spacing:-.01em}
.fence-svg{margin-top:16px}.fence-svg svg{display:block;width:100%;max-height:170px;height:auto}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.stat{background:var(--ink);color:#fff;border-radius:16px;padding:14px 8px;text-align:center}
.stat b{display:block;font-size:2.4rem;line-height:1;font-weight:800}
.stat span{display:block;font-size:13px;color:#C9DDD2;margin-top:4px}
.affil{margin:12px 0 4px}
.list{padding:0;overflow:hidden}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:12px 14px;border-bottom:1px solid #E3EAE5;font-size:15px}
th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:#F6F9F7}
td:first-child{font-weight:700}td:last-child{text-align:right;font-weight:700;white-space:nowrap}
tbody tr:last-child td{border-bottom:0}
.list{overflow-x:auto}
@media(max-width:559px){#items th:nth-child(3),#items td:nth-child(3){display:none}}
.totals{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.tot{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}
.tot.fit{background:var(--lime);border-color:var(--lime)}
.tot span{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.tot.fit span{color:#2B4A10}
.tot b{display:block;font-size:1.5rem;margin-top:4px;line-height:1.1}
.tot small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.assumptions{margin-top:8px;font-size:14px}.assumptions summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}
.exports{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.exports .btn{flex:1 1 130px}
.cta{background:var(--ink);color:#fff;border-radius:20px;padding:20px;display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.cta strong{font:800 1.4rem 'Bricolage Grotesque',sans-serif}
.cta p{margin:4px 0 0;color:#C9DDD2;font-size:15px;max-width:420px}
.cta .btn{flex:1 1 240px}
.tablewrap{overflow-x:auto}

/* sticky bar (mobile) */
.bar{position:fixed;left:0;right:0;bottom:0;z-index:20;background:#fff;border-top:1px solid var(--line);padding:10px 16px;display:flex;align-items:center;gap:12px;box-shadow:0 -4px 14px rgba(18,53,42,.12)}
.bar[hidden]{display:none}
.bar #bar-text{flex:1;font-weight:700;font-size:14px}
@media(min-width:960px){.bar{display:none}}

/* lead sheet */
.sheet{border:0;padding:0;margin:auto 0 0;width:100%;max-width:100%;max-height:92dvh;background:#fff;color:var(--fg);border-radius:24px 24px 0 0;box-shadow:0 -8px 30px rgba(0,0,0,.25);overflow:auto;animation:up .25s ease-out}
.sheet::backdrop{background:rgba(10,30,22,.62)}
@keyframes up{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
@media(min-width:700px){.sheet{margin:auto;max-width:500px;border-radius:24px}}
.sheet>div:not(.grab){padding:0 16px 20px}
.grab{width:44px;height:5px;border-radius:99px;background:#C9D3CD;margin:8px auto}
.sheet-head{display:flex;gap:8px;justify-content:space-between;align-items:flex-start}
.sheet-head h2{font-size:1.5rem;margin:0}.sheet-head p{margin:4px 0 0;font-size:14px;color:var(--muted)}
.close{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:var(--bg);color:var(--ink);font-size:18px;cursor:pointer}
.attached{margin:12px 0;background:var(--tint);border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.35}
#lead-form label:not(.check):not(.sr){font-size:13px;margin:10px 0 4px}
#lead-form input,#lead-form textarea{margin-bottom:0}
.two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.chips{border:0;padding:0;margin:12px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.chips legend{font-weight:700;font-size:13px;margin-bottom:6px;padding:0;grid-column:1/-1}
.chips label{margin:0!important}
.chips input{position:absolute;opacity:0}
.chips span{display:flex;align-items:center;justify-content:center;min-height:44px;border:2px solid var(--line);border-radius:99px;font-weight:600;font-size:13px;text-align:center;padding:0 8px;cursor:pointer;transition:background .15s,border-color .15s}
.chips span:hover{border-color:var(--green)}
.chips input:checked+span{background:var(--tint);border-color:var(--green);font-weight:700}
.notes summary{cursor:pointer;color:var(--green);font-weight:700;font-size:14px;min-height:44px;display:flex;align-items:center}
.hp{position:absolute;left:-9999px}
.success{text-align:center;padding-top:12px!important}
.success-icon{width:72px;height:72px;margin:8px auto 0;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:38px;font-weight:700}
.success h2{margin:16px 0 0;font-size:1.8rem}
.success>p,.success p{color:#3F4F49}
.next{text-align:left;background:var(--bg);border-radius:16px;padding:14px;margin:16px 0}
.next p{display:flex;gap:10px;margin:8px 0 0;font-size:14px;line-height:1.35}
.next b{flex:none;width:24px;height:24px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:13px}
.keep{text-align:left;font-weight:700;margin:16px 0 0}
.success .exports{margin:8px 0 16px}

/* guides band */
.band{background:#E4ECE7;border-top:4px solid var(--green);padding:32px 0 8px}
.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;font-weight:700;color:var(--green);margin:0 0 16px}
.content{max-width:820px}
.content section{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px 16px;margin-bottom:16px}
.content section.faqs{background:transparent;border:0;padding:0}
.faq{background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:8px;overflow:hidden}
.faq summary{list-style:none;min-height:60px;display:flex;align-items:center;gap:12px;padding:12px 16px;font-weight:600;cursor:pointer;line-height:1.3}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;margin-left:auto;width:28px;height:28px;border-radius:50%;background:var(--bg);display:grid;place-items:center;font-size:20px;line-height:1}
.faq[open]{border:2px solid var(--green)}
.faq[open] summary{background:var(--tint);font-weight:700}
.faq[open] summary::after{content:"−";background:var(--green);color:#fff}
.faq p{margin:0;padding:12px 16px 16px;color:#3F4F49}

@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* cookie banner (only shown when analytics IDs are set) */
.consent{position:fixed;left:12px;right:12px;bottom:12px;z-index:40;background:var(--ink);color:#fff;border-radius:16px;padding:14px 16px;box-shadow:0 8px 30px rgba(0,0,0,.35);display:flex;gap:12px;flex-wrap:wrap;align-items:center;max-width:720px;margin:0 auto}
.consent[hidden]{display:none}
.consent p{margin:0;flex:1 1 280px;font-size:14px;line-height:1.4}.consent a{color:var(--lime)}
.consent-btns{display:flex;gap:8px}
.consent .btn{min-height:44px}

/* text pages (contact, disclaimer, affiliate, privacy) */
.page{max-width:760px;padding-bottom:48px}
.page h1{font-size:2.2rem}
.page h2{font-size:1.3rem;margin:2rem 0 .5rem}
.page p,.page li{color:#2c3d36}
.page form{max-width:560px}
.page form label{margin:14px 0 4px}
.page textarea{min-height:140px}
.foot-links{display:flex;gap:6px 16px;flex-wrap:wrap;margin:8px 0}

/* footer */
.site-footer{background:var(--ink);color:#C9DDD2;margin-top:40px;padding:28px 0 36px;font-size:.92rem}
.site-footer p{margin:6px 0;color:#C9DDD2}
.site-footer a{color:var(--lime);font-weight:600}
.site-footer a:hover{color:#fff}
.foot-links{display:flex;gap:6px 18px;flex-wrap:wrap;margin:12px 0}
.band+.site-footer{margin-top:0}
.consent .btn:not(.go){color:var(--ink)}

/* ---- layout D: quote box under the calculator, extras in a thin line under both columns ---- */
.col-left{display:contents}
#calc,#errors{order:1}.col-results{order:2}.quote{order:3}.col-extras{order:4}
.quote{background:var(--ink);border-radius:20px;padding:16px 18px;color:#fff;display:flex;align-items:center;gap:12px 16px;flex-wrap:wrap}
.quote[hidden]{display:none}
.quote-text{flex:1 1 220px;min-width:0}
.quote strong{font:800 1.4rem/1.1 'Bricolage Grotesque',sans-serif}
.quote p{margin:4px 0 0;font-size:13px;line-height:1.35;color:#C9DDD2}
.quote .btn{flex:1 1 190px;min-height:54px;font-size:15px;line-height:1.15}
.col-extras{margin-top:0}
.col-extras[hidden]{display:none}
.extras-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}
.assumptions{position:relative;margin:0}
.assumptions summary{cursor:pointer;font-weight:700;font-size:13px;min-height:44px;display:flex;align-items:center;color:var(--ink)}
.assumptions ul{margin:0 0 8px;padding:12px 16px 12px 32px;background:#fff;border:1px solid var(--line);border-radius:12px;font-size:14px}
.col-extras .exports{margin:0;gap:4px 14px}
.col-extras .exports .btn{flex:0 0 auto;min-height:44px;padding:0;border:0;background:none;font-size:13px;font-weight:700;color:var(--ink);text-decoration:underline;text-underline-offset:3px;box-shadow:none}
.col-extras .exports .btn:hover{color:var(--green);box-shadow:none}
.col-extras .exports .btn.done{background:none;color:var(--green)}
.col-extras #disclaimer{margin:8px 0 0}

@media(max-width:959px){.gates .inline{margin-top:8px}}

@media(min-width:960px){
  .layout{grid-template-columns:520px minmax(0,1fr);grid-template-areas:"left results" "extras extras";gap:12px 20px;padding-top:10px;padding-bottom:12px;align-items:stretch}
  .col-left{grid-area:left;display:flex;flex-direction:column;gap:12px}
  .col-results{grid-area:results;position:static;display:flex;flex-direction:column}
  .col-extras{grid-area:extras;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 20px}
  .col-extras[hidden]{display:none}
  .col-extras #disclaimer{margin:0}
  .assumptions[open] ul{position:absolute;right:0;bottom:100%;width:380px;margin:0 0 6px;box-shadow:0 8px 24px rgba(18,53,42,.2);z-index:5}
  .top{padding-top:8px;padding-bottom:0}
  .hero{padding-top:0;padding-bottom:8px}
  h1{font-size:2.6rem;margin:.1rem 0 .1rem}
  .intro{font-size:1rem;max-width:none}
  body{padding-bottom:0}

  #calc{flex:1;display:flex;flex-direction:column;gap:14px;padding:16px}
  #calc .field{margin-bottom:0}
  .bignum{height:56px;font-size:1.75rem!important}
  .range{margin-top:10px;height:22px}
  .range-ends{display:none}
  .heights{--k:.79}
  .heights button{height:62px;justify-content:flex-end;padding:0 0 7px;gap:5px;min-height:0}
  .row2{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;align-items:start}
  .row2 .tiles{grid-template-columns:1fr 1fr;gap:6px}
  .tile{flex-direction:row;justify-content:center;gap:6px;min-height:56px;padding:0 8px;font-size:13px}
  .tile svg{width:24px;height:22px;flex:none}
  .tile[aria-pressed=true]{padding:0 7px}
  .tile[aria-pressed=true]::after{top:5px;right:5px;width:8px;height:8px}
  .gates .row{min-height:56px;flex-wrap:wrap;gap:8px}
  .gates .stepper{gap:8px}
  .gates .stepper button{width:44px;min-height:44px}
  .gates label.inline{margin:0;display:flex;align-items:center;gap:6px;font-size:12px}
  .gates label.inline[hidden]{display:none}
  .gates .inline select{min-height:44px;width:auto;padding:0 6px;margin:0}
  .more{margin-top:auto}
  .more>summary{min-height:46px;margin-bottom:0;font-size:14px}
  .more[open]>summary{margin-bottom:12px}
  .more[open]{max-height:360px;overflow:auto}

  #output:not([hidden]){display:flex;flex-direction:column;gap:12px;flex:1}
  .hero-card{padding:16px 22px}
  .hero-card h2{margin:8px 0 0;font-size:.9rem}
  .fence-svg{margin-top:12px}.fence-svg svg{max-height:92px}
  .stats{display:none}
  .list{flex:1;margin:0}
  .list th{padding:10px 18px}
  .list td{padding:10px 18px}
  .totals{margin-top:0;flex:none}
  .tot{padding:10px 16px}.tot b{font-size:1.7rem}
  .warning:not(:empty){margin-top:0}
}

@media print{
  .top,.hero,#calc,#errors,.band,.site-footer,.bar,#consent,#quote,.fence-svg,.stats,#extras .exports,#lead-dialog{display:none!important}
  body{padding:0;background:#fff}
  .layout{display:block}
  .col-left{display:block}
  .col-extras{display:block}
  .assumptions ul{position:static!important;box-shadow:none!important;width:auto!important}
}

.quick{margin:4px 0 0;font-size:.95rem;color:#2c3d36;max-width:760px}
.quick strong{color:var(--green)}
.eyebrow .checked{text-transform:none;letter-spacing:0;font-weight:600;color:var(--muted);font-size:.85rem}
@media(min-width:960px){.quick{margin:2px 0 0;max-width:none;font-size:.95rem}.hero{padding-bottom:6px}.layout{padding-top:6px}}
.content a,.page a{color:var(--green);font-weight:600}

/* ---- header 2: nav bar with divider, two-column hero ---- */
.top{border-bottom:1px solid var(--line);min-height:48px;padding-top:0;padding-bottom:0;margin-bottom:0}
.top-nav{display:flex;align-items:center;gap:6px 22px;flex-wrap:wrap;justify-content:flex-end}
.top-nav .nl{font-size:14px;font-weight:600;color:#3F4F49;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.top-nav .nl:hover{color:var(--green)}
.chip-free{background:var(--lime);color:var(--ink);font-weight:700;font-size:13px;padding:3px 12px;border-radius:99px;white-space:nowrap}
.hero{display:flex;flex-direction:column;gap:10px;padding-top:14px;padding-bottom:6px}
.hero-text h1{margin:0}
.quick-box{background:#E3F3E8;border:1px solid #BFE0C9;border-radius:16px;padding:10px 16px}
.quick-label{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--green)}
.quick-box .quick{margin:2px 0 0;font-size:15px;line-height:1.4;color:var(--ink);max-width:none}
#calc,#guides,#about{scroll-margin-top:12px}
@media(max-width:759px){.top-nav .nl{display:none}}
@media(min-width:960px){
  .hero{flex-direction:row;align-items:center;gap:40px;padding-top:10px;padding-bottom:6px}
  .hero-text{flex:1;min-width:0}
  .hero-text h1{font-size:2.5rem;margin:0;line-height:1}
  .hero .intro{margin:6px 0 0;font-size:.95rem;line-height:1.35;max-width:600px}
  .quick-box{flex:none;width:500px}
  .top{min-height:44px}
  .top-nav .nl{min-height:44px}
}

/* ---- style selector (5 tiles) and height + gates row ---- */
.styles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.styles .tile{flex-direction:column;justify-content:center;gap:4px;min-height:64px;padding:6px 4px;font-size:12px;line-height:1.1}
.styles .tile svg{width:26px;height:24px;flex:none}
.heights button:disabled{opacity:.4;cursor:not-allowed;box-shadow:none;transform:none}
.heights button:disabled:hover{border-color:var(--line)}
@media(max-width:959px){.row-hg .gates{margin-top:0}}
@media(min-width:960px){
  .row-hg{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start}
  .row-hg .heights button{min-width:0}
  .styles{grid-template-columns:repeat(5,1fr);gap:6px}
  .styles .tile{flex-direction:column;justify-content:center;min-height:62px;padding:6px 2px;gap:4px;font-size:12px}
  .styles .tile[aria-pressed=true]{padding:5px 1px}
  .styles .tile svg{width:26px;height:22px}
  .gates .row{flex-direction:column;align-items:flex-start;min-height:0;gap:6px}
  .gates .stepper{height:62px;align-items:center}
}
.gates label.inline[hidden]{display:none}

#gravel-types .tile:disabled{opacity:.4;cursor:not-allowed;box-shadow:none;transform:none}
#gravel-types{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
