@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--bg:#f6f7f8;--card:#fff;--ink:#19262d;--muted:#657279;--line:#dce1e4;--yellow:#f5cb48;--soft:#edf1f3}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--ink);background:var(--bg);font:16px/1.6 'DM Sans',sans-serif}body.dark{--bg:#131c22;--card:#1c2830;--ink:#eef2f4;--muted:#adbcc5;--line:#3b4a53;--soft:#25343d}h1,h2,h3,.brand,.reading,.match strong{font-family:'Space Grotesk',sans-serif}a{color:inherit}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3888bc;outline-offset:3px}header{max-width:1256px;margin:auto;height:92px;display:flex;align-items:center;gap:35px;padding:0 28px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;font-size:24px;font-weight:700;text-decoration:none;letter-spacing:-1px;gap:7px}.brand span:not(.brandmark){font-weight:400;margin-left:-7px}.brandmark{display:grid;place-items:center;background:var(--yellow);color:#19262d;width:35px;height:35px;border-radius:7px;font-size:30px}nav{display:flex;gap:30px;margin-left:auto}nav a{text-decoration:none;font-size:14px;font-weight:600}nav a:hover{border-bottom:2px solid var(--yellow)}.iconbutton{border:1px solid var(--line);color:var(--ink);background:var(--card);height:37px;width:37px;border-radius:50%;font-size:22px}main{max-width:1200px;margin:auto;padding:0 28px}.intro{padding:51px 0 34px;position:relative}.eyebrow,.tag{font-size:12px;letter-spacing:1.6px;font-weight:700}.eyebrow{color:var(--muted);margin:0 0 13px}h1{font-size:54px;line-height:1.08;letter-spacing:-2.6px;margin:0}h1 span{color:var(--muted)}.intro>p:last-child{position:absolute;right:10px;bottom:40px;color:var(--muted);line-height:1.8;font-size:16px}h2{font-size:27px;line-height:1.2;letter-spacing:-.8px;margin:0 0 16px}h3{font-size:21px;line-height:1.3;margin:0 0 10px}.workspace{display:grid;grid-template-columns:1.65fr 1fr;gap:24px;align-items:stretch}.tool{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:27px}.tooltop{display:flex;justify-content:space-between;gap:15px;align-items:center}.tooltop h2{font-size:22px;margin:0}.tag{font-size:11px;color:var(--muted)}.tabs{display:flex;border-bottom:1px solid var(--line);margin:22px 0}.tabs button{background:none;border:none;color:var(--muted);padding:10px 5px 13px;margin-right:25px;font-size:14px;font-weight:600;border-bottom:3px solid transparent}.tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--yellow)}.calbar{display:flex;align-items:center;gap:15px;justify-content:space-between;background:var(--soft);border-radius:7px;padding:13px;margin-bottom:22px}.calbar strong{font-size:14px}.calbar small{display:block;font-size:12px;color:var(--muted)}.smallbutton{border:1px solid var(--line);border-radius:5px;background:var(--card);color:var(--ink);font-size:13px;padding:8px 12px;white-space:nowrap}.mode{display:flex;gap:4px}.mode button{border:0;background:transparent;padding:8px 16px;border-radius:6px;font-size:14px;color:var(--muted)}.mode .active{background:var(--ink);color:var(--card)}.muted{color:var(--muted)}#gaugeHelp{font-size:14px;min-height:45px;margin:14px 0}.gauge{position:relative;height:223px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background-color:var(--bg);background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:20px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center}.gauge-label,.gauge-footer{position:absolute;font-size:10px;letter-spacing:1.6px;background:var(--bg);padding:4px 9px;color:var(--muted)}.gauge-label{top:12px}.gauge-footer{bottom:10px}#jaws{height:65px;display:flex;align-items:center;justify-content:center}#gap{border-left:2px solid #b58c13;border-right:2px solid #b58c13;background:#f5cb4830;width:15px;height:60px;position:relative}#gap:after{content:'';height:1px;background:#bd941d;position:absolute;top:50%;left:0;right:0}#gaugeValue{font-family:'Space Grotesk';font-size:26px;margin-top:10px;background:var(--bg);padding:0 8px}#gaugeValue small{font-size:14px}.adjust{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}.adjust button{background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:6px;width:35px;height:35px;font-size:20px;flex-shrink:0}input[type=range]{width:100%;accent-color:#c4981a}.small{font-size:12px;line-height:1.6}.pitchsection{border-top:1px solid var(--line);padding-top:18px;margin-top:19px}label{font-size:14px;font-weight:600;display:block}input:not([type=range]),select{display:block;width:100%;border:1px solid var(--line);color:var(--ink);background:var(--card);border-radius:6px;padding:11px 12px;margin-top:7px;font-size:14px;min-width:0}.inputrow{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:7px}.optional{color:var(--muted);font-size:12px;font-weight:400;margin-left:5px}.result{background:#1c2a33;color:#f5f7f9;border-radius:16px;padding:30px;display:flex;flex-direction:column;position:relative;overflow:hidden}.result>.tag{color:#bfccd3}.result h2{margin-top:15px;font-size:25px}.reading{border-bottom:1px solid #41505a;padding:16px 0 23px;display:flex;align-items:baseline;gap:15px}.reading>span{font-size:60px;letter-spacing:-3px;line-height:1.1;color:var(--yellow)}.reading small{font-size:12px;color:#b8c7d0}.result>p{font-size:13px;color:#bfccd3;line-height:1.7}.match{border:1px solid #42515a;border-radius:8px;padding:18px;margin:12px 0 0;display:flex;flex-direction:column}.match>span{color:#bccbd3;font-size:10px;letter-spacing:1.2px}.match strong{font-size:29px;margin:2px 0}.match small{font-size:12px;color:#bfccd3}.resultbottom{display:flex;justify-content:space-between;padding:27px 0 13px;margin-top:auto;font-size:14px}.result>.small{border-top:1px solid #42515a;padding-top:15px;font-size:12px}section:not(.workspace){margin-top:72px}.sectionhead{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px;gap:20px}.sectionhead h2{margin:0}.sectionhead>p{font-size:14px;color:var(--muted);margin:0}.identifier{display:grid;grid-template-columns:1fr 1.1fr;border:1px solid var(--line);border-radius:12px;background:var(--card);overflow:hidden}.identifier>div{padding:28px}.identifier label+label{margin-top:18px}.typeAnswer{background:var(--soft);border-left:1px solid var(--line);display:flex;flex-direction:column;justify-content:center}.typeAnswer h3{margin-top:16px}.typeAnswer p{font-size:14px;color:var(--muted);margin-bottom:0}.subheading{margin:30px 0 17px;font-size:17px}.drivegrid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.drive{padding:19px 12px;border:1px solid var(--line);border-radius:9px;text-align:center;background:var(--card)}.drive svg{width:55px;height:55px;margin-bottom:10px;stroke:var(--ink);fill:none;stroke-width:2}.drive strong{display:block;font-size:14px}.drive small{font-size:11px;color:var(--muted)}.tablewrap{overflow:auto;border:1px solid var(--line);border-radius:10px}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;background:var(--card)}th{background:var(--soft);font-size:12px;color:var(--muted);padding:14px 20px;white-space:nowrap}td{padding:13px 20px;border-top:1px solid var(--line)}td:first-child{font-weight:700}.guide{display:grid;grid-template-columns:1fr 1.65fr;gap:60px;border-top:1px solid var(--line);padding-top:42px}.guide h2{font-size:35px}.guide p{font-size:14px;color:var(--muted)}article{display:flex;gap:20px;margin-bottom:25px}article>span{font-family:'Space Grotesk';color:#9a7711;font-size:18px}.faq{max-width:820px;margin:70px auto!important}.faq h2{margin-bottom:28px}details{border-bottom:1px solid var(--line);padding:19px 0}summary{cursor:pointer;font-weight:500}details p{color:var(--muted);font-size:14px}footer{max-width:1200px;border-top:1px solid var(--line);margin:0 auto;padding:30px 28px;display:flex;justify-content:space-between;gap:15px;align-items:center}footer .brand{font-size:19px}footer>span,footer>a:last-child{font-size:12px;color:var(--muted)}dialog{width:min(520px,calc(100% - 28px));background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:30px}dialog::backdrop{background:#101a22aa;backdrop-filter:blur(3px)}dialog p{font-size:14px;color:var(--muted)}.close{position:absolute;right:14px;top:7px;border:0;background:none;color:var(--ink);font-size:27px}.calArea{height:90px;display:grid;place-items:center;overflow:hidden}#calLine{height:30px;border:2px solid #b18b1f;border-top:0;width:204px}.primary{width:100%;border:none;background:var(--yellow);color:#19262d;padding:13px;border-radius:7px;font-weight:700;margin-top:22px}[hidden]{display:none!important}@media(max-width:850px){.intro>p:last-child{position:static;margin-bottom:0}.workspace{grid-template-columns:1.3fr 1fr}.tool,.result{padding:20px}.calbar{align-items:start;flex-direction:column}.guide{gap:25px;grid-template-columns:1fr 1.5fr}.tooltop .tag{display:none}nav{gap:17px}}@media(max-width:650px){header{height:73px;padding:0 18px;gap:12px}.brand{font-size:20px}nav{margin-left:auto}header>nav>a{display:none}header>nav>a:nth-child(2){display:block;font-size:13px}main{padding:0 16px}.intro{padding:34px 0 26px}h1{font-size:42px;letter-spacing:-2px}.intro>p:last-child{font-size:14px;line-height:1.7}.workspace{grid-template-columns:1fr;gap:18px}.tool,.result{padding:20px}.calbar{flex-direction:row;align-items:center;gap:8px}.calbar small{max-width:180px}.smallbutton{font-size:12px;padding:8px}.result .reading{padding:5px 0 15px}.result .match{padding:13px}.sectionhead{align-items:start;flex-direction:column}.identifier{grid-template-columns:1fr}.identifier>div{padding:22px}.typeAnswer{border-left:0;border-top:1px solid var(--line)}.drivegrid{grid-template-columns:repeat(3,1fr)}section:not(.workspace){margin-top:48px}.guide{grid-template-columns:1fr;gap:20px}.guide h2 br{display:none}article{gap:13px}.inputrow{gap:8px}footer{flex-wrap:wrap}footer>span{display:none}dialog{padding:24px}.tag{font-size:10px}}
.brandlogo{display:block;flex-shrink:0}.calbar{background:#fff3bf;border:2px solid #d7a61c;border-radius:10px;display:grid;grid-template-columns:38px 1fr;gap:10px 13px;padding:18px;color:#19262d}.stepnumber{background:#19262d;color:#f5cb48;font:700 24px 'Space Grotesk',sans-serif;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;align-self:start}.stepcaption{display:block;font-size:11px;letter-spacing:1.1px;font-weight:800;margin-bottom:3px}.calbar strong{display:block;font-size:19px;line-height:1.3}.calbar small{display:block;font-size:13px;color:#46555d;margin-top:6px;max-width:none}.calbar .smallbutton{grid-column:1/-1;background:#19262d;color:white;padding:13px 17px;font-size:16px;font-weight:700;border:0;text-align:center}.calbar.complete{border-color:var(--line);background:var(--soft);color:var(--ink)}.calbar.complete small{color:var(--muted)}.calbar.complete .stepnumber{background:var(--ink);color:var(--card)}.calbar.complete .smallbutton{background:var(--card);color:var(--ink);border:1px solid var(--line);padding:9px}.measurestep{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.6px;margin:22px 0 12px}button:disabled,input:disabled{opacity:.4;cursor:not-allowed}.brand{gap:9px}footer{flex-wrap:wrap;align-items:start;padding-top:35px}.footerbrand p{font-size:12px;color:var(--muted);margin:9px 0}.footernav{display:flex;flex-wrap:wrap;gap:16px 24px;max-width:530px;margin:7px 0 0 auto}.footernav a{display:block!important;font-size:14px}.footerbase{width:100%;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;margin-top:12px;font-size:12px;color:var(--muted)}.legalpage{max-width:850px;padding-top:45px;padding-bottom:65px;min-height:60vh}.legalpage h1{font-size:43px;margin-top:23px;letter-spacing:-1.5px}.legalpage h2{font-size:23px;margin:30px 0 12px}.legalpage p{line-height:1.8}.legalpage .updated{font-size:13px;color:var(--muted);margin:15px 0 35px}.backlink{color:var(--muted);font-size:14px}.pagebutton{display:inline-block;border-radius:7px;background:var(--yellow);color:#19262d;padding:13px 18px;text-decoration:none;font-weight:700;margin-top:20px}@media(max-width:650px){.footernav{margin:10px 0;max-width:100%;gap:14px 22px}.calbar{padding:15px;grid-template-columns:33px 1fr;gap:10px}.stepnumber{width:33px;height:33px;font-size:22px}.calbar strong{font-size:18px}.calbar small{max-width:none}.brandlogo{width:35px;height:35px}.brand{font-size:19px}.legalpage h1{font-size:35px}.footerbase{gap:12px;flex-wrap:wrap}}

.photo-guide{margin:0 0 28px}.photo-guide>p{font-size:14px}.screwphotos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.screwphotos figure{margin:0;background:var(--card);border:1px solid var(--line);border-radius:11px;overflow:hidden}.screwphotos figure>a{display:block;background:#fff}.screwphotos img{display:block;width:100%;height:190px;object-fit:contain;padding:14px}.screwphotos figcaption{padding:18px}.screwphotos h4{font:700 19px 'Space Grotesk',sans-serif;margin:0 0 8px}.screwphotos p{font-size:14px;margin:0 0 15px;color:var(--muted)}.screwphotos small{font-size:11px;line-height:1.5;color:var(--muted);display:block}.pdf-download{display:flex;align-items:center;gap:30px;margin-top:50px;border:1px solid #c79e26;background:var(--card);border-left:6px solid var(--yellow);border-radius:10px;padding:25px}.pdf-download h3{margin-top:9px}.pdf-download p{font-size:14px;color:var(--muted);margin:8px 0}.pdf-download small{font-size:12px;color:var(--muted)}.pdf-download .pagebutton{margin:0;white-space:nowrap;font-size:14px;flex-shrink:0}.quickdownload{font-size:14px;margin-top:18px}.quickdownload a{font-weight:700}.quickdownload span{color:var(--muted);font-size:12px;margin-left:10px}@media(max-width:750px){.screwphotos{grid-template-columns:1fr}.screwphotos img{height:220px}.pdf-download{flex-direction:column;align-items:stretch;gap:18px;padding:21px}.pdf-download .pagebutton{text-align:center;white-space:normal}.quickdownload span{display:block;margin:5px 0 0}}

.referencepictures{margin-top:42px;padding-top:30px;border-top:1px solid var(--line)}.referencepictures .sectionhead{align-items:center;margin-bottom:20px}.referencepictures h3{margin-bottom:0}.referencegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.referencecard{margin:0;background:var(--card);border:1px solid var(--line);border-radius:10px;overflow:hidden}.referencecard figcaption{padding:20px 22px 15px}.referencecard h4{font:700 20px 'Space Grotesk',sans-serif;margin:0 0 8px}.referencecard p{font-size:14px;color:var(--muted);margin:0}.referenceimage{display:flex;align-items:center;justify-content:center;background:white;padding:15px;min-height:180px}.referenceimage img{display:block;width:auto;max-width:100%;height:auto;max-height:530px;object-fit:contain}.enlargelink{display:block;padding:14px 22px;font-size:14px;font-weight:600;border-top:1px solid var(--line)}@media(max-width:650px){.referencegrid{grid-template-columns:1fr}.referencepictures .sectionhead{align-items:start}.referencecard figcaption{padding:18px}.referenceimage{padding:10px}.referenceimage img{max-height:none}}

.estimate-type{margin-top:24px;padding-top:22px;border-top:1px solid #42515a}.estimate-type h3{font-size:22px;margin:0 0 9px}.estimate-type .type-intro{font-size:13px;line-height:1.65;color:#bfccd3;margin:0 0 15px}.estimate-type label{font-size:13px;margin-top:13px;color:#eef3f6}.estimate-type select{background:#263943;color:#fff;border:1px solid #627783;font-size:14px;padding:11px 9px}.type-verdict{margin-top:20px;padding:17px;background:#293d46;border-left:3px solid #f5cb48;border-radius:5px}.type-verdict>span{font-size:10px;letter-spacing:1px;color:#d2dce1}.type-verdict h4{font:600 21px/1.3 'Space Grotesk',sans-serif;color:#f5cb48;margin:9px 0}.type-verdict p{font-size:13px;line-height:1.7;color:#e1e8eb;margin:0}.type-photo-link{display:inline-block;color:#f5cb48;font-size:13px;margin-top:14px}

/* Align diagram headings, image stages and full-size links across each row. */
.referencegrid{align-items:stretch;grid-template-rows:auto}.referencecard{display:grid;grid-template-rows:118px 530px auto}.referencecard figcaption{min-width:0}.referenceimage{min-height:0;height:530px;padding:16px;overflow:hidden}.referenceimage img{max-height:100%;max-width:100%;width:auto;height:auto}.referencecard.compact-reference{grid-template-rows:118px 270px auto}.compact-reference .referenceimage{height:270px}.enlargelink{align-self:stretch;margin:0}@supports(grid-template-rows:subgrid){.referencegrid{grid-template-rows:auto 530px auto auto 270px auto}.referencecard,.referencecard.compact-reference{grid-row:span 3;grid-template-rows:subgrid}.referenceimage,.compact-reference .referenceimage{height:100%}}@media(max-width:650px){.referencegrid{grid-template-rows:none}.referencecard,.referencecard.compact-reference{grid-row:auto;display:flex;flex-direction:column}.referencecard figcaption{min-height:0}.referenceimage,.compact-reference .referenceimage{height:auto;min-height:0;padding:10px}.referenceimage img{max-height:none;width:auto;max-width:100%;height:auto}.enlargelink{margin-top:auto}}

/* Keep live comparisons beside the measuring controls on phones. */
.mobile-estimate{display:none}
@media(max-width:650px){
 .mobile-estimate{display:block;margin-top:12px;padding:12px 14px;border:1px solid var(--yellow);border-radius:9px;background:var(--soft)}
 .mobile-estimate-heading{display:flex;justify-content:space-between;gap:8px;font-size:10px;font-weight:700;letter-spacing:.7px}
 .mobile-estimate-heading span{font-weight:400;letter-spacing:0;color:var(--muted)}
 .mobile-matches{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:7px}
 .mobile-matches>div+div{border-left:1px solid var(--line);padding-left:12px}
 .mobile-matches small{display:block;font-size:11px;color:var(--muted)}
 .mobile-matches strong{display:block;font-family:'Space Grotesk',sans-serif;font-size:25px;line-height:1.25}
 .mobile-dimensions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin-top:8px;font-size:11px}
 .mobile-estimate p{font-size:11px;line-height:1.4;margin:6px 0 0;color:var(--muted)}
}
/* Accessible language menu; links keep visitors on the corresponding page. */
header{height:auto;min-height:92px;flex-wrap:wrap;gap:16px;padding-top:14px;padding-bottom:14px}
.language-menu{position:relative;flex-shrink:0;margin:0;padding:0;border:0;z-index:20;font-size:14px}
.language-menu summary{list-style:none;border:1px solid var(--line);border-radius:7px;background:var(--card);padding:8px 12px;color:var(--ink);min-height:40px}
.language-menu summary::-webkit-details-marker{display:none}
.language-menu summary::after{content:' ▾'}
.language-menu nav{display:flex;flex-direction:column;position:absolute;right:0;top:calc(100% + 8px);min-width:175px;margin:0;padding:8px;gap:2px;background:var(--card);border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #0003}
.language-menu:not([open]) nav{display:none}
.language-menu nav a{display:block;padding:8px 12px;min-height:40px;border:0;border-radius:5px;text-decoration:none}
.language-menu nav a:hover,.language-menu nav a[aria-current=page]{background:var(--soft);font-weight:700}
.language-menu summary:focus-visible{outline:3px solid #3888bc;outline-offset:3px}
html:not([lang=en]) .intro>p:last-child{position:static;margin:20px 0 0;max-width:700px}
html:not([lang=en]) .tooltop{flex-wrap:wrap}
html:not([lang=en]) .calbar{flex-wrap:wrap}
html:not([lang=en]) .gauge-label{max-width:100%;text-align:center;font-size:10px;letter-spacing:.8px}
@media(max-width:1050px){header>nav{gap:14px;font-size:13px}.language-menu{font-size:13px}}
@media(max-width:650px){header .brand{margin-right:auto}header .language-menu{order:3;width:100%}header .language-menu summary{width:100%;font-size:14px}header .language-menu nav{left:0;right:0}header .language-menu[open] nav{display:flex}.tabs{display:flex;gap:10px}.tabs button{margin-right:0;flex:1}.calbar .smallbutton{white-space:normal}html:not([lang=en]) .intro h1{font-size:36px;letter-spacing:-1px}.pdf-download .pagebutton{white-space:normal}.mobile-estimate-heading{flex-wrap:wrap}}
/* Phone header: logo and theme above, navigation and language aligned below. */
@media(max-width:650px){
 header{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:10px 12px;min-height:0;padding:12px 16px;align-items:center}
 header>.brand{grid-column:1/3;grid-row:1;margin:0;justify-self:start;min-width:0}
 header>#theme{grid-column:3;grid-row:1;width:44px;height:44px;justify-self:end}
 header>nav{grid-column:1;grid-row:2;margin:0;gap:0;justify-self:start}
 header>nav>a:nth-child(2){display:flex;align-items:center;min-height:44px;font-size:14px}
 header>.language-menu{grid-column:2/4;grid-row:2;order:initial;width:auto;max-width:100%;justify-self:end}
 header>.language-menu summary{display:flex;align-items:center;justify-content:space-between;gap:8px;width:auto;min-height:44px;padding:8px 12px;font-size:14px;line-height:1.4}
 header>.language-menu nav{left:auto;right:0;top:calc(100% + 6px);width:min(240px,calc(100vw - 32px));min-width:0;max-height:60vh;overflow-y:auto}
 header>.language-menu nav a{display:flex;align-items:center;min-height:44px;font-size:14px}
}

.guide-promo{margin:32px 0;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--card)}.guide-promo p{color:var(--muted)}.guide-promo a{font-weight:700}
.brand span:not(.brandmark){margin-left:0}

.intro h1{max-width:720px}.intro>p:last-child{position:static;margin:20px 0 0;max-width:720px}

/* Put measurement first on phones; keep supporting copy below the workspace. */
@media(max-width:650px){
 header{padding:8px 16px;gap:4px 12px}
 main:has(>.intro){display:grid;grid-template-columns:minmax(0,1fr)}
 main>.intro{display:contents}
 main>.intro>.eyebrow{display:none}
 main>.intro>h1,html:not([lang=en]) main>.intro>h1{grid-row:1;font-size:28px;line-height:1.12;letter-spacing:-1px;margin:16px 0 12px}
 main>.workspace{grid-row:2;min-width:0}
 main>.intro>p:last-child,html:not([lang=en]) main>.intro>p:last-child{grid-row:3;margin:16px 0 0;font-size:14px;line-height:1.6}
 .tool{padding:14px}
 .tooltop h2{font-size:20px}
 .tabs{margin:8px 0;gap:8px}
 .tabs button{min-height:44px;padding:8px 2px;font-size:13px}
 .calbar{padding:10px;gap:8px;margin-bottom:10px}
 .calbar strong{font-size:16px}
 .calbar small{font-size:12px;line-height:1.5;margin-top:4px}
 .calbar .stepcaption{display:none}
 .calbar .smallbutton{min-height:44px;padding:9px 12px;font-size:15px}
 .measurestep{margin:10px 0 6px;font-size:11px}
 .mode button{min-height:44px}
 #gaugeHelp{margin:8px 0;font-size:13px;line-height:1.5;min-height:0}
 .gauge{height:180px}
 .gauge-label{top:5px}
 .gauge-footer{bottom:4px}
 .adjust{margin-top:10px;gap:12px}
 .adjust button{width:44px;height:44px}
 input[type=range]{min-height:44px}
}

/* Keep the English tool title on one line at phone widths. */
@media(max-width:650px){
 html[lang=en] main>.intro>h1{font-size:clamp(15px,4.5vw,26px);letter-spacing:-.5px;white-space:nowrap}
}
