:root {
  --accent: #234f82;
  --text: #202c3b;
  --muted: #536171;
  --border: #dbe1e7;
  --surface: #f4f6f8;
  --header-height: 88px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 16px); scrollbar-gutter: stable; }
body { margin: 0; padding-top: var(--header-height); background: #fff; color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; }
body.modal-open { position: fixed; width: 100%; overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
h1, h2, h3, p, figure { margin: 0; }
p + p { margin-top: 12px; }
h1, h2, h3 { line-height: 1.18; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.25rem, 4.2vw, 3.7rem); font-weight: 700; letter-spacing: -.045em; }
h1 span { display: block; color: var(--accent); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 650; letter-spacing: -.035em; }
h3 { font-size: 1.2rem; font-weight: 650; }
.svg-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex: 0 0 22px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 9px; font-size: 1rem; line-height: 1.4; text-decoration: none; font-weight: 650; }
.btn:hover { filter: brightness(.94); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-wa { background: #13783d; color: #fff; }
.btn-outline { border-color: #aebdcd; background: #fff; color: var(--accent); }
.btn-light { background: #fff; color: var(--accent); }
.topbar { position: fixed; inset: 0 0 auto; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); }
.header-layout { min-height: 88px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; font-weight: 750; font-size: 1.15rem; letter-spacing: -.035em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; background: var(--accent); color: #fff; border-radius: 8px; margin-right: 9px; }
.nav { display: flex; justify-content: center; gap: 20px; }
.nav a { text-decoration: none; font-size: .92rem; padding-block: 12px; font-weight: 600; }
.nav a:hover { text-decoration: underline; }
.header-actions { display: flex; gap: 8px; }
.header-phone { white-space: nowrap; }
.mobile-menu { display: none; }
.hero { padding: 48px 0; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 48px; }
.hero-copy { min-width: 0; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; font-weight: 700; margin-bottom: 18px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 7px; }
.lead { font-size: 1.08rem; color: var(--muted); margin-top: 22px; }
.hero-location { font-size: .9rem; letter-spacing: .06em; }
.hero-subtitle { font-size: clamp(1.12rem, 1.65vw, 1.4rem); line-height: 1.4; font-weight: 600; margin-top: 18px; }
.hero-promise { font-size: .95rem; color: var(--muted); margin-top: 10px; }
.hero-services { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 16px 0 0; }
.hero-services li { padding: 4px 9px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); font-size: .82rem; line-height: 1.4; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; max-width: 480px; }
.hero-actions > .btn-primary { grid-column: 1 / -1; }
.calculator-intro { color: var(--muted); font-size: 1rem; margin-top: 14px; max-width: 660px; }
.hero-profile { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--border); padding-top: 24px; margin-top: 24px; }
.hero-profile img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; }
.hero-profile strong { display: block; font-size: .94rem; }
.hero-profile span { display: block; font-size: .86rem; color: var(--muted); }
.hero-visual { position: relative; min-width: 0; overflow: hidden; border-radius: 16px; background: #e8e6da; }
.hero-visual > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.service-strip { border-block: 1px solid var(--border); padding: 16px 0; background: #fafbfc; }
.service-strip .container { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; }
.service-strip span:before { content: "✓"; color: var(--accent); margin-right: 8px; }
.section { padding: 64px 0; }
.alt, .calculator-section { background: var(--surface); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 28px; }
.section-heading h2 { max-width: 660px; }
.section-heading > p { color: var(--muted); font-size: .95rem; }
.calculator { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; max-width: 880px; box-shadow: 0 8px 30px #203d2705; }
.calculator-step { font-size: 1.25rem; line-height: 1.4; }
.calculator-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 10px 0 16px; }
.calculator-tabs button { display: flex; align-items: center; justify-content: center; gap: 5px; border: 2px solid #aab8c8; border-radius: 10px; padding: 8px 6px; min-height: 48px; background: #fff; color: var(--accent); font-size: 1rem; font-weight: 650; line-height: 1.35; }
.calculator-tabs button:hover { border-color: var(--accent); }
.calculator-tabs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.service-choice-mark { width: 14px; flex-shrink: 0; font-size: 14px; line-height: 1; }
.calculator-tabs button[aria-selected=false] .service-choice-mark { visibility: hidden; }
.calculator-tabs button[aria-selected=true] { background: var(--accent); color: #fff; }
label { display: block; font-size: 1.12rem; font-weight: 650; line-height: 1.4; }
.input-hint { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.calculate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.input-with-unit { position: relative; min-width: 0; }
.input-with-unit input { width: 100%; min-width: 0; height: 58px; padding: 12px 55px 12px 16px; border: 1px solid #8d9eb1; border-radius: 9px; font-size: 1.4rem; color: var(--text); background: #fff; }
.input-with-unit > span { position: absolute; right: 18px; top: 15px; color: var(--muted); }
.input-with-unit input::placeholder { color: #697a8e; font-weight: 400; }
.input-error { color: #a0251d; font-size: .92rem; margin-top: 12px; }
input[aria-invalid=true] { border: 2px solid #a0251d; }
.reopen-result { margin-top: 16px; width: 100%; }
.calculator-footnote { display: grid; gap: 4px; border-top: 1px solid var(--border); padding-top: 18px; margin-top: 24px; font-size: .85rem; color: var(--muted); }
.calculator-footnote strong { color: var(--text); }
.estimate-note, .exclusions { color: var(--muted); font-size: .88rem; max-width: 880px; }
.estimate-note { margin-top: 20px; }
.floor-section { padding-block: 40px; border-bottom: 1px solid var(--border); }
.floor-section h2 { font-size: clamp(1.65rem, 2.6vw, 2.15rem); }
.section-intro { margin-top: 14px; color: var(--muted); }
.floor-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.floor-services a { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 22px; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; background: #fafbfc; }
.floor-services a:hover { border-color: var(--accent); }
.floor-services span { color: var(--accent); font-size: .9rem; }
.service-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; }
.service-grid h2 { max-width: 420px; }
.text-link { display: inline-block; color: var(--accent); font-weight: 650; text-underline-offset: 4px; }
.service-grid .text-link { margin-top: 22px; }
.service-list article { display: flex; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.service-list article:first-child { padding-top: 0; }
.service-list article > span { font-size: .85rem; color: var(--accent); }
.service-list p { color: var(--muted); margin-top: 10px; }
.muted { color: var(--muted); font-size: .95rem; }
.gallery-heading { margin-bottom: 24px; }
.gallery-heading p { margin-top: 12px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: contain; background: #e9edf1; }
.gallery figure { min-width: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 30px; }
.steps article > span { display: block; color: var(--accent); font-weight: 650; margin-bottom: 14px; }
.steps p { color: var(--muted); font-size: .95rem; margin-top: 12px; }
.contact-section { background: #202f43; color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.contact-section .eyebrow { color: #becfe4; }
.contact-section p { color: #d7e0eb; margin-top: 20px; }
.contact-phone { display: inline-block; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 650; text-decoration: none; margin: 22px 0; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-note { font-size: .88rem; }
.contact-card { padding: 30px; border: 1px solid #697b91; border-radius: 12px; }
.contact-card ul { padding-left: 19px; }
.contact-card li + li { margin-top: 10px; }
.contact-card p { font-size: .92rem; }
.footer { padding: 26px 0; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .88rem; }
.footer p { color: var(--muted); }

/* Top-layer dialog, independent of page scroll and the fixed header. */
#quote-dialog { position: fixed; inset: calc(var(--viewport-top, 0px) + 12px) 0 auto; margin: 0 auto; width: min(760px, calc(100% - 32px)); max-width: none; max-height: calc(var(--viewport-height, 100dvh) - 24px); padding: 0; border: 1px solid var(--border); border-radius: 16px; color: var(--text); background: #fff; box-shadow: 0 24px 80px #10243a40; }
#quote-dialog[open] { display: flex; flex-direction: column; }
#quote-dialog::backdrop { background: #102031a6; }
.quote-header { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.quote-header h2 { font-size: 1.3rem; letter-spacing: -.02em; }
.quote-header p { font-size: .9375rem; line-height: 1.45; color: var(--muted); margin-top: 5px; }
.quote-close { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; min-height: 44px; padding: 8px 12px; background: #edf1f5; color: var(--text); border: 1px solid var(--border); border-radius: 8px; font-size: .9rem; font-weight: 650; }
.quote-close span { font-size: 1.5rem; line-height: 1; }
.quote-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 22px 22px; -webkit-overflow-scrolling: touch; }
#quote-measurement { margin-bottom: 12px; font-weight: 650; }
#quote-cards { display: grid; gap: 12px; }
.result-card { padding: 16px; border: 1px solid var(--border); background: #fafbfc; border-radius: 10px; min-width: 0; }
.result-heading { display: grid; gap: 10px; }
.quote-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.quote-price-label { font-size: 1rem; font-weight: 600; }
.quote-detail, .quote-scope { font-size: 1rem; line-height: 1.5; color: var(--muted); margin-top: 7px; }
.result-info { min-width: 0; }
.result-info h3 { font-size: 1.0625rem; line-height: 1.4; font-weight: 700; text-wrap: initial; }
.unit-rate { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.quote-price { font-size: 2.25rem; font-weight: 750; line-height: 1.4; letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; max-width: 100%; }
.result-card .btn { width: 100%; margin-top: 12px; min-height: 46px; }
.minimum-note { font-size: 1rem; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.quote-note { margin-top: 18px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
#quote-dialog { --muted: #435162; }
.calculator-footnote, .estimate-note, .exclusions { font-size: .9375rem; line-height: 1.55; }
:focus-visible { outline: 3px solid #ad6612; outline-offset: 3px; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 200; background: #fff; padding: 12px; }
.skip-link:focus { top: 8px; }
@media (max-width: 1050px) {
  .header-layout { gap: 16px; }
  .nav { gap: 12px; }
  .header-actions .btn { padding-inline: 12px; font-size: .9rem; }
  .hero-grid, .service-grid, .contact-grid { gap: 32px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 32px); }
  .header-layout { grid-template-columns: 1fr auto; gap: 8px 12px; padding-block: 6px 10px; }
  .brand { font-size: 1.05rem; }
  .nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { min-height: 44px; display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; padding: 8px; font-size: .9rem; font-weight: 600; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 8px 15px #142a3c15; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
  .mobile-menu nav a { padding: 12px; min-height: 48px; text-decoration: none; border-radius: 7px; }
  .mobile-menu nav a:hover { background: var(--surface); }
  .header-actions { grid-column: 1/-1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-actions .btn { font-size: clamp(.875rem, 3.7vw, 1rem); min-height: 48px; padding-inline: 6px; gap: 6px; white-space: nowrap; }
  .header-actions .icon { width: 18px; height: 18px; flex: 0 0 18px; }
  .hero { padding-top: 28px; }
  .hero-grid, .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 260px; }
  .section { padding: 44px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 14px; }
  .section-heading > p br { display: none; }
  .footer .container { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  h1 { font-size: clamp(2rem, 10vw, 2.7rem); }
  h2 { font-size: 1.85rem; }
  .eyebrow { font-size: .73rem; letter-spacing: .08em; margin-bottom: 14px; }
  .lead { font-size: 1rem; margin-top: 18px; }
  .hero { padding-bottom: 24px; }
  .hero { padding-top: 20px; }
  .hero h1 { font-size: clamp(1.9rem, 8.8vw, 2.4rem); }
  .hero-location { font-size: .88rem; letter-spacing: .025em; margin-bottom: 10px; }
  .hero-subtitle { font-size: 1.12rem; line-height: 1.35; margin-top: 12px; }
  .hero-promise { font-size: .9rem; line-height: 1.45; margin-top: 8px; }
  .hero-services { margin-top: 12px; gap: 5px; }
  .hero-services li { font-size: .8rem; padding: 3px 8px; }
  .hero-actions { gap: 8px; margin-top: 16px; }
  .hero-actions .btn { min-height: 48px; padding-inline: 10px; }
  .hero-profile { margin-top: 20px; padding-top: 18px; }
  .hero-profile strong { font-size: .87rem; }
  .hero-profile span { font-size: .83rem; }
  .hero-visual { height: 200px; }
  .service-strip .container { flex-wrap: wrap; justify-content: flex-start; gap: 8px 16px; font-size: .85rem; }
  .calculator { padding: 16px; border-radius: 12px; }
  .calculator-tabs { margin-bottom: 20px; }
  .calculator-tabs button { font-size: .93rem; padding: 12px 7px; min-height: 62px; }
  label { font-size: 1.05rem; }
  .calculate-row { grid-template-columns: 1fr; gap: 10px; }
  .calculate-button { min-height: 54px; width: 100%; }
  .input-with-unit input { height: 56px; }
  .calculator-footnote { margin-top: 18px; padding-top: 16px; }
  .floor-services, .steps, .gallery { grid-template-columns: 1fr; gap: 14px; }
  .floor-services a { padding: 16px; flex-direction: row; align-items: center; gap: 14px; }
  .floor-services a span { font-size: .83rem; text-align: right; }
  .floor-services a strong { font-size: .96rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .steps article { padding-bottom: 20px; border-bottom: 1px solid var(--border); }
  .contact-card { padding: 22px; }
  .contact-actions .btn { flex: 1 1 auto; }
  .footer .container { flex-direction: column; align-items: flex-start; gap: 12px; }
  #quote-dialog { width: calc(100% - 16px); inset-block-start: calc(var(--viewport-top, 0px) + 8px); max-height: calc(var(--viewport-height, 100dvh) - 16px); border-radius: 12px; }
  .quote-header { padding: 12px; gap: 8px; }
  .quote-header h2 { font-size: 1.25rem; }
  .quote-header p { font-size: .9375rem; }
  .quote-close { padding-inline: 8px; font-size: .9375rem; gap: 5px; }
  .quote-scroll { padding: 12px; }
  #quote-measurement { font-size: 1rem; margin-bottom: 12px; }
  #quote-cards { gap: 14px; }
  .result-card { padding: 12px; }
  .result-heading { gap: 12px; }
  .result-info h3 { font-size: 1.0625rem; }
  .quote-price { font-size: 2rem; }
  .result-card .btn { margin-top: 14px; font-size: 1rem; }
  .quote-note { font-size: 1rem; margin-top: 16px; }
}
@media (max-width: 360px) {

  .result-info { flex: 1 1 120px; }
  .quote-price { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

.floor-materials { margin-top: 24px; line-height: 1.6; }
.floor-materials a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }

body.photo-open { position: fixed; width: 100%; overflow: hidden; }
#photo-dialog { position: fixed; inset: var(--photo-top, 0px) 0 auto; margin: 0; width: 100%; max-width: none; height: var(--photo-height, 100dvh); max-height: none; padding: 0; border: 0; background: #101820f5; color: #fff; overflow: hidden; overscroll-behavior: contain; }
#photo-dialog::backdrop { background: #101820f5; }
.photo-close { position: absolute; z-index: 2; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: #fff; color: #202c3b; font-size: 26px; line-height: 1; }
.photo-close:focus-visible { outline: 3px solid #82baff; outline-offset: 3px; }
.photo-stage { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; height: 100%; padding: calc(max(12px, env(safe-area-inset-top)) + 60px) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
.photo-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.photo-status { position: absolute; left: 24px; right: 24px; bottom: max(20px, env(safe-area-inset-bottom)); text-align: center; background: #101820; }
.photo-status:empty { display: none; }

/* Readable content typography; header, image viewer and price totals keep their sizing. */
main { font-size: 1.125rem; line-height: 1.6; }
main, .footer { --muted: #485767; }
.hero-subtitle { font-size: clamp(1.25rem, 1.65vw, 1.4rem); line-height: 1.5; }
.hero-promise, .lead, .calculator-intro, .steps p { font-size: 1.125rem; line-height: 1.6; }
.hero-services li { font-size: 1rem; line-height: 1.5; }
.hero-profile strong { font-size: 1.125rem; line-height: 1.5; }
.hero-profile span { font-size: 1rem; line-height: 1.55; }
.hero-profile img { flex: 0 0 54px; }
.hero-location { font-size: 1rem; }
.section .eyebrow { font-size: .9375rem; line-height: 1.5; }
.service-strip .container, .section-heading > p, .input-hint, .input-error,
.calculator-footnote, .estimate-note, .exclusions, .muted, .contact-note,
.contact-card p, .footer .container { font-size: 1rem; line-height: 1.55; }
.service-list h3, .steps h3, .contact-card h3 { font-size: 1.25rem; line-height: 1.4; }
main .btn { font-size: 1.0625rem; }
.calculator-tabs button { font-size: 1rem; line-height: 1.5; }
.calculator label { font-size: 1.1875rem; line-height: 1.5; }
.floor-services a strong { font-size: 1.1875rem; line-height: 1.5; min-width: 0; }
.floor-services a span { font-size: 1rem; line-height: 1.5; min-width: 0; }
#quote-dialog { font-size: 1.0625rem; }
.quote-header p, .quote-close, .unit-rate { font-size: 1rem; line-height: 1.5; }
.quote-detail, .quote-scope { font-size: 1.0625rem; line-height: 1.55; }
.result-info h3 { font-size: 1.1875rem; line-height: 1.45; }
#quote-measurement, .result-card .btn { font-size: 1.0625rem; }
.minimum-note, .quote-note { font-size: 1rem; line-height: 1.55; }

/* Compact quote summary without reducing the agreed text sizes. */
#quote-dialog .quote-header { padding: 10px 12px; gap: 8px; }
#quote-dialog #quote-measurement { font-size: inherit; margin: 0; }
#quote-dialog .quote-header h2 { min-width: 0; line-height: 1.35; }
#quote-dialog .quote-scroll { padding: 10px 12px 12px; }
#quote-dialog #quote-cards { gap: 8px; }
#quote-dialog .result-card { padding: 10px; }
#quote-dialog .result-heading { gap: 2px; }
#quote-dialog .result-info h3 { line-height: 1.35; }
#quote-dialog .quote-total { justify-content: space-between; gap: 2px 10px; }
#quote-dialog .unit-rate { margin: 0; }
#quote-dialog .quote-scope { margin-top: 2px; line-height: 1.5; }
#quote-dialog .result-card .btn { margin-top: 6px; padding: 8px 6px; gap: 6px; min-height: 44px; }
#quote-dialog .quote-note { margin-top: 10px; }

/* Compact mobile calculator: keep both choices and the action in view. */
@media (max-width: 600px) {
  .calculator { padding: 14px; }
  .calculator-step, .calculator label { font-size: 1.125rem; line-height: 1.4; }
  .calculator-tabs { margin: 10px 0 14px; }
  .calculator-tabs button { min-height: 48px; padding: 7px 5px; font-size: 1rem; line-height: 1.3; }
  .calculator .input-hint { margin-top: 4px; font-size: 1rem; }
  .calculator .calculate-row { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px; margin-top: 10px; }
  .calculator .input-with-unit input { height: 48px; padding: 8px 30px 8px 9px; font-size: 1.125rem; }
  .calculator .input-with-unit > span { right: 8px; top: 11px; font-size: 1rem; }
  .calculator .calculate-button { min-height: 48px; padding: 8px 6px; font-size: 1rem; line-height: 1.3; }
  .calculator .calculate-button > span { display: none; }
  .calculator-footnote { margin-top: 14px; padding-top: 12px; }
}
