@font-face {
  font-family: Manrope;
  src: url("/vendor/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF,U+AB30-AB6F;
}

@font-face {
  font-family: Manrope;
  src: url("/vendor/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  font-family: Manrope, system-ui, sans-serif;
  --ink: #1e2c27;
  --muted: #50625a;
  --line: #d8ded3;
  --primary: #185448;
  --primary-hover: #0c3c33;
  --soft: #eaf0e6;
  --pane: #fffefa;
  --gold: #edbe70;
  --mast: #172f28;
  color: var(--ink);
  background: #f4f4ed;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
button, select, summary { cursor: pointer; }
button:disabled, select:disabled { cursor: default; }
button:disabled { opacity: .53; }
:focus-visible { outline: 3px solid #167a66; outline-offset: 3px; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1 { font-size: clamp(2.05rem, 3.7vw, 3.45rem); font-weight: 680; letter-spacing: -.066em; line-height: 1.08; }
h2 { font-size: 1.24rem; font-weight: 760; line-height: 1.3; letter-spacing: -.035em; }
h3 { font-size: 1rem; font-weight: 760; line-height: 1.4; letter-spacing: -.016em; }
h1:focus, h2:focus:not(:focus-visible) { outline: none; }
p { line-height: 1.5; }
small { font-size: .78rem; }
.frame { width: min(1480px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4.1vw, 64px); }
.masthead { background: var(--mast); color: #f7f8ec; }
.topbar { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand strong { display: block; font-size: 1.55rem; font-weight: 800; line-height: 1; letter-spacing: -.07em; }
.brand small { display: block; margin-top: 4px; color: #c3d2c8; font-size: .68rem; line-height: 1.15; font-weight: 650; letter-spacing: .025em; }
.brand-mark { display: block; position: relative; flex: none; width: 36px; height: 36px; border: 1px solid #678475; border-radius: 9px; }
.brand-mark i { position: absolute; top: 10px; left: 7px; width: 21px; height: 6px; border-radius: 1px; background: #e4ecdb; transform: skewY(-23deg); }
.brand-mark i + i { top: 19px; width: 16px; background: var(--gold); }
.project-controls, .inline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.project-controls { flex-wrap: nowrap; }
.scope { color: #d0ddd3; font-size: .78rem; font-weight: 650; margin-right: 13px; }
.topbar .button.quiet { background: transparent; color: #eff4ed; border-color: #536d60; }
.topbar .button.quiet:hover, .project-menu[open] > summary { background: #304b3d; }
.intro { margin: clamp(22px, 3.5vw, 44px) 0 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.intro p { max-width: 75ch; margin-top: 9px; color: var(--muted); font-size: .96rem; }
.saved-status { display: inline-flex; align-items: center; flex-shrink: 0; gap: 6px; font-size: .75rem; color: var(--muted); font-weight: 650; }
.saved-status:not(:empty)::before { content: "✓"; color: var(--primary); font-weight: 800; }
.saved-status:empty { display: none; }
.steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); list-style: none; padding: 0; margin: 0 0 22px; }
.steps button { display: flex; align-items: center; justify-content: flex-start; gap: 9px; width: 100%; min-height: 49px; background: transparent; color: var(--muted); border: 0; border-bottom: 2px solid #cbd4c9; padding: 6px 10px; font-size: .85rem; font-weight: 740; }
.steps button:disabled { opacity: 1; color: #647068; border-color: #dce1d7; }
.steps button:hover:enabled { background: #e9eee4; }
.steps button[aria-current="step"] { border-color: var(--primary); color: var(--primary); }
.step-number { width: 22px; height: 22px; flex-shrink: 0; display: inline-grid; place-items: center; border: 1px solid #b7c3b7; color: #506258; border-radius: 50%; font-size: .69rem; font-weight: 760; }
.steps button[aria-current="step"] .step-number { color: white; background: var(--primary); border-color: var(--primary); }
.workspace { display: grid; grid-template-columns: minmax(310px,.83fr) minmax(0,1.52fr); grid-template-areas: "panel viewer"; align-items: start; gap: 16px 22px; }
.workspace[data-stage="address"] { grid-template-areas: "panel viewer" "files viewer"; grid-template-rows: auto 1fr; }
.workspace:is([data-stage="offer"],[data-stage="booking"]) { grid-template-columns: minmax(0,1.45fr) minmax(285px,.85fr); grid-template-areas: "panel files"; }
.workspace-jumps, .address-links, .narrow-controls { display: none; }
.card { min-width: 0; background: var(--pane); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 3px 10px #22352606; }
.panel { grid-area: panel; padding: clamp(18px, 2.1vw, 31px); }
#below { grid-area: files; min-width: 0; }
#below > :not(:first-child) { margin-top: 16px; }
.panel p, .help { font-size: .86rem; color: var(--muted); }
.panel > p, .help { margin: 6px 0 13px; }
.panel .coverage-help { margin: 12px 0 0; }
.viewer { grid-area: viewer; overflow: hidden; }
.viewer-header { color: #f4f7ec; background: #233d34; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.viewer-header h2 { font-size: 1rem; letter-spacing: -.015em; }
.view-switch { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid #60766b; border-radius: 7px; }
.view-switch button { color: #e1e9e1; background: transparent; border: 0; border-radius: 4px; min-height: 30px; padding: 4px 8px; font-size: .75rem; font-weight: 720; }
.view-switch button:hover:enabled { background: #3d5549; }
.view-switch button[aria-pressed="true"], .view-switch button[aria-pressed="true"]:hover:enabled { background: #e8efdd; color: #213e32; }
.view-switch button:focus-visible, .view-tools button:focus-visible, .masthead :focus-visible, .scene canvas:focus-visible { outline-color: #f8cd83; }
.viewport { height: clamp(360px, 51vh, 578px); position: relative; isolation: isolate; background: radial-gradient(ellipse at 52% 43%,#294c44 0%,#18362f 68%,#142f29 100%); }
.scene, .viewport > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene canvas { display: block; height: 100%; width: 100%; cursor: grab; }
.scene canvas:active { cursor: grabbing; }
.scene canvas:focus-visible { outline-offset: -4px; }
#map { cursor: crosshair; }
.view-label, .ortho-overlay { position: absolute; border-radius: 5px; background: #17352eef; color: #f3f6ed; border: 1px solid #718b7e; font-size: .73rem; font-weight: 670; }
.view-label { left: 13px; top: 13px; max-width: calc(100% - 32px); padding: 5px 8px; pointer-events: none; }
.ortho-overlay { right: 12px; bottom: 12px; min-height: 34px; padding: 4px 8px; display: flex; gap: 5px; align-items: center; }
.ortho-overlay input { accent-color: #d1e0d0; }
.view-empty { position: absolute; inset: 0; padding: 28px; display: grid; place-content: center; text-align: center; color: #f2f6ed; font-size: .9rem; pointer-events: none; }
.view-tools { position: absolute; right: 12px; bottom: 12px; display: grid; gap: 3px; }
.view-tools button { width: 36px; height: 34px; display: grid; place-items: center; border: 1px solid #83998d; border-radius: 5px; background: #193a31; color: white; font-size: 1.18rem; }
.view-tools button:hover { background: #33574a; }
.face-view { position: absolute; bottom: 12px; left: 12px; min-height: 34px; padding: 5px 10px; border: 1px solid #94a89c; border-radius: 5px; background: #1e3d34; color: #f6f7ed; font-size: .75rem; font-weight: 700; }
.face-view::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border: 1px solid #ffe4ae; background: #d6b06c; }
.face-view:hover { background: #365647; }
.viewer-footer, .plan-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 15px; padding: 11px 16px; color: var(--muted); font-size: .75rem; font-weight: 620; }
.viewer-footer { justify-content: space-between; }
.plan-legend { border-top: 1px solid var(--line); }
.plan-legend span { display: inline-flex; align-items: center; gap: 5px; }
.plan-legend i { width: 11px; height: 11px; border: 1px solid #506957; border-radius: 2px; }
.plan-legend .active { background: #77ad95; }
.plan-legend .inactive { background: #6a8174; }
.plan-legend .exclusion { background: #d48164; }
.reference { border-top: 1px solid var(--line); font-size: .83rem; }
.reference summary { padding: 12px 16px; }
.reference figure { margin: 0; padding: 0 12px 12px; }
.reference img { display: block; width: 100%; height: auto; border-radius: 4px; }
.reference figcaption { margin-top: 6px; color: var(--muted); font-size: .74rem; }
.field { display: grid; gap: 6px; margin: 13px 0; min-width: 0; color: var(--ink); font-size: .83rem; font-weight: 720; }
.field > :is(input:not([type="checkbox"]), textarea, select) { width: 100%; min-width: 0; max-width: 100%; min-height: 43px; border: 1px solid #afbeb1; border-radius: 6px; color: var(--ink); background: #fffffc; padding: 8px 10px; font-size: .9rem; font-weight: 550; }
.field textarea { resize: vertical; }
.field input::placeholder, textarea::placeholder { color: #65776d; font-weight: 500; }
input[type="file"]::file-selector-button { background: #e6ece1; border: 0; color: var(--ink); font: inherit; font-weight: 700; padding: 5px 7px; border-radius: 4px; margin-right: 6px; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 9px 15px; border: 1px solid var(--primary); border-radius: 6px; background: var(--primary); color: white; text-align: center; text-decoration: none; font-weight: 730; font-size: .85rem; line-height: 1.35; }
.button:hover:enabled, a.button:hover { background: var(--primary-hover); }
.button.quiet { background: transparent; border-color: #b8c5b9; color: var(--primary); }
.button.quiet:hover:enabled, a.button.quiet:hover { background: var(--soft); }
.button.small { min-height: 34px; padding: 6px 10px; font-size: .77rem; }
.button.full { width: 100%; }
.forward::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.text-button { min-height: 32px; display: inline-flex; align-items: center; border: 0; padding: 2px; background: transparent; color: var(--primary); font-size: .8rem; font-weight: 740; text-decoration: underline; text-underline-offset: 3px; }
.next-step, .visit-next { margin: 16px 0; }
.hr { border-top: 1px solid var(--line); margin: 18px 0 14px; }
.example-gallery, .media-card, .visit-summary { padding: clamp(17px, 1.8vw, 26px); }
.example-gallery h2 { font-size: 1.04rem; }
.example-gallery .help { margin: 4px 0 10px; font-size: .76rem; }
.example, .choice { color: var(--ink); text-align: left; width: 100%; min-width: 0; font-size: .82rem; font-weight: 730; }
.example { display: flex; align-items: center; gap: 11px; padding: 7px 2px; border: 0; border-top: 1px solid var(--line); background: transparent; }
.example img { width: 59px; height: 38px; border-radius: 4px; }
.example-name { flex: 1; }
.example-name small { display: block; color: var(--muted); font-size: .72rem; font-weight: 550; margin-top: 1px; }
.row-arrow { color: var(--primary); font-size: 1.05rem; }
.choice { border: 1px solid #c5d1c4; border-radius: 6px; background: #f8faf4; padding: 9px 11px; }
.choice small { display: block; color: var(--muted); font-weight: 600; }
.example:hover, .choice:hover, .choice[aria-pressed="true"], .project-list .choice[aria-current="true"] { background: var(--soft); }
.choice[aria-pressed="true"] { border-color: var(--primary); box-shadow: inset 3px 0 var(--primary); }
.choice-list { display: grid; gap: 6px; margin: 10px 0; }
.notice, .result, .quote-prompt { margin: 12px 0; padding: 12px 14px; border-radius: 6px; background: #e9f1e6; color: #264638; font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
.notice p, .result p, .quote-prompt p { color: inherit; margin: 3px 0 0; font-size: .82rem; }
.notice .inline { margin-top: 7px; }
.notice.warn, .survey-prompt { background: #faf0dd; color: #624620; }
.notice.error { background: #fae7df; color: #763923; }
.details { margin: 12px 0; border-block-start: 1px solid var(--line); font-size: .8rem; }
summary { color: var(--primary); font-weight: 730; }
.details > summary { padding: 10px 0 4px; }
.details dt { margin-top: 8px; color: var(--muted); font-weight: 730; }
.details dd { margin: 3px 0; overflow-wrap: anywhere; }
.metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 14px 0 8px; padding: 12px 0; border-block: 1px solid var(--line); }
.metric { padding-inline: 12px; }
.metric:first-child { padding-left: 0; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric span { display: block; color: var(--muted); font-size: .75rem; font-weight: 640; }
.metric strong { display: block; color: #234738; font-size: 1.3rem; letter-spacing: -.035em; margin-top: 2px; }
.form-row { align-items: flex-end; }
.form-row .field { flex: 1 1 115px; margin: 0; }
.check { display: flex; align-items: center; gap: 7px; margin: 9px 0; font-size: .83rem; font-weight: 700; }
.check input { accent-color: var(--primary); width: 17px; height: 17px; }
.two-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 10px; }
.two-fields .field { margin: 6px 0; }
.obstruction-list, .quote-list { display: grid; gap: 8px; padding: 0; margin: 9px 0; list-style: none; }
.obstruction-list li, .quote-list li { border: 1px solid var(--line); border-radius: 6px; padding: 8px; font-size: .81rem; }
.obstruction-list li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; justify-content: space-between; }
.quote-list .help { display: block; font-size: .76rem; margin: 4px 0 8px; overflow-wrap: anywhere; }
.panel table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: .82rem; }
.panel th, .panel td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.panel th { color: var(--muted); font-weight: 730; }
.panel .numeric { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.project-identity { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 19px; }
.project-identity h2 { font-size: clamp(1.12rem,1.75vw,1.5rem); }
.project-identity > div { min-width: 0; }
.project-identity .identity-label { font-size: .75rem; color: var(--muted); margin: 0 0 4px; font-weight: 690; }
.project-identity .identity-source { font-size: .78rem; color: var(--muted); margin: 4px 0 0; }
#project-plan { width: clamp(66px,8vw,103px); height: auto; flex-shrink: 0; border-radius: 6px; background-color: #edf1e8; }
.estimate-block { padding: clamp(16px,2.1vw,28px); background: #1d3d34; color: #f4f7ee; border-radius: 8px; border-left: 4px solid var(--gold); }
.estimate-block h3 { font-weight: 630; font-size: .88rem; color: #d7e4d5; letter-spacing: 0; }
.estimate-block h3:focus-visible { outline-color: var(--gold); }
.estimate-amount { margin: 5px 0 2px; font-size: clamp(1.76rem,3.5vw,3.15rem); letter-spacing: -.055em; line-height: 1.16; font-weight: 670; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.estimate-amount span { font-size: .58em; letter-spacing: -.045em; }
.estimate-block .estimate-scope, .estimate-block .estimate-date { font-size: .8rem; color: #e4eede; }
.estimate-block .estimate-date { color: #c4d5c8; margin-top: 10px; font-size: .74rem; }
.quote-actions { margin: 14px 0 21px; }
.breakdown { margin: 16px 0; }
.breakdown .help { font-size: .79rem; margin: 5px 0 13px; }
.quote-exports { gap: 12px; }
.visit-next { border-top: 1px solid var(--line); margin: 14px 0 0; padding-top: 14px; }
.upload-form { margin-top: 15px; }
.upload-form .field { margin: 0; }
.upload-actions, .sample-media { display: flex; align-items: center; justify-content: space-between; gap: 7px; flex-wrap: wrap; }
.upload-actions { margin-top: 8px; }
.upload-actions small, .sample-media small { color: var(--muted); font-size: .72rem; }
.sample-media { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; justify-content: flex-start; }
.media-grid { display: grid; gap: 10px; margin-top: 15px; }
.media-item { min-width: 0; border: 1px solid var(--line); background: #f8faf4; border-radius: 8px; overflow: hidden; }
.media-body { padding: 12px; }
.media-body h3 { overflow-wrap: anywhere; }
.media-body form { margin: 6px 0 10px; }
.media-body .field { margin: 7px 0; }
.media-preview { display: grid; place-items: center; min-height: 77px; background: #e9eee5; }
.media-preview img { width: 100%; height: 126px; object-fit: contain; }
.pdf-icon { border: 1px solid #8da898; border-radius: 4px; padding: 7px; color: var(--primary); font-weight: 800; }
.calendar-zone { margin: 14px 0 16px; border-block: 1px solid var(--line); padding: 10px 0; color: var(--primary); font-size: .82rem; font-weight: 720; }
.booking-record { border-left: 3px solid var(--primary); }
.booking-record p + p { margin-top: 7px; }
.booking-record .inline { margin-top: 8px; }
.summary-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-block: 9px; font-size: .8rem; }
.summary-rows dt { color: var(--muted); }
.summary-rows dd { text-align: right; font-weight: 690; }
.project-menu { position: relative; z-index: 4; }
.project-menu > summary { list-style: none; white-space: nowrap; }
.project-menu > summary::-webkit-details-marker { display: none; }
.project-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 0; width: min(292px,76vw); padding: 9px; max-height: 55vh; overflow: auto; display: grid; gap: 6px; color: var(--ink); font-size: .8rem; box-shadow: 0 9px 25px #17362a33; }
.manual-controls { margin: 14px 0; }
.app-footer { margin-block: 24px 0; padding-block: 12px 18px; display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .72rem; }
@media (min-width: 901px) {
  .workspace[data-stage="roof"] .viewer, .workspace[data-stage="layout"] .viewer { position: sticky; top: 12px; }
}
@media (max-width: 900px) {
  .workspace, .workspace[data-stage="address"], .workspace:is([data-stage="offer"],[data-stage="booking"]) { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; gap: 12px; }
  .workspace { grid-template-areas: "jumps" "viewer" "panel"; }
  .workspace[data-stage="address"] { grid-template-areas: "panel" "viewer" "files"; }
  .workspace:is([data-stage="offer"],[data-stage="booking"]) { grid-template-areas: "panel" "files"; }
  .workspace-jumps, .address-links { display: flex; gap: 7px 18px; flex-wrap: wrap; }
  .workspace-jumps a, .address-links a { font-size: .8rem; font-weight: 710; padding: 4px 0; min-height: 26px; }
  .address-links { margin-top: 6px; }
  .narrow-controls { display: block; }
  .viewport { height: clamp(214px,33vh,325px); }
  .viewer-header { padding: 8px 12px; }
  .viewer-footer, .plan-legend { padding: 8px 12px; }
  .panel, .example-gallery, .media-card, .visit-summary { padding: 19px; }
  .steps { margin-bottom: 14px; }
}
@media (max-width: 620px) {
  .scope { display: none; }
  .topbar { min-height: 58px; }
  .intro { display: block; margin: 20px 0 10px; }
  .intro p { margin-top: 6px; font-size: .86rem; }
  .saved-status { margin-top: 6px; }
  .steps button { justify-content: center; gap: 5px; padding: 6px 1px; min-height: 42px; font-size: .76rem; }
  .step-number { width: 18px; height: 18px; font-size: .63rem; }
  .viewer-header h2 { font-size: .93rem; }
  .viewer-header { gap: 6px; }
  .view-switch button { padding: 4px 6px; min-height: 29px; }
  .project-identity { margin-bottom: 13px; }
  .viewer-footer { font-size: .71rem; }
}
@media (max-width: 455px) {
  .frame { padding-inline: 12px; }
  .brand { gap: 7px; }
  .brand strong { font-size: 1.28rem; }
  .brand-mark { width: 32px; height: 34px; }
  .brand-mark i { left: 5px; }
  .project-controls { gap: 4px; }
  .topbar .button.small { padding: 5px 7px; font-size: .73rem; }
  .steps button { flex-direction: column; gap: 3px; font-size: .72rem; min-height: 46px; }
  .panel, .example-gallery, .media-card, .visit-summary { padding: 15px; }
  .workspace-jumps { gap: 15px; }
  .viewer-header { display: grid; }
  .view-switch { width: fit-content; }
  .view-switch button { font-size: .71rem; }
  .project-identity h2 { font-size: 1.1rem; }
  .quote-actions > .button { flex: 1 1 180px; }
  .panel .amounts { font-size: .76rem; }
  .amounts th, .amounts td { padding-inline: 2px; }
  .amounts td.numeric { white-space: normal; }
  .project-list { position: fixed; top: 53px; right: 12px; width: min(300px,calc(100vw - 24px)); }
}
@media (max-width: 360px) {
  .two-fields { grid-template-columns: minmax(0,1fr); }
  .brand small { font-size: .62rem; }
  .panel .amounts { font-size: .73rem; }
}

.google-bar, .texture-line { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 14px; padding:8px 15px; }
.google-bar { background:#edf2ed; color:#203d35; border-bottom:1px solid #c4d1c6; }
.google-bar > div { display:flex; flex-wrap:wrap; gap:3px; }
.google-bar button { border:1px solid transparent; background:transparent; color:#37554a; font:inherit; font-size:.8rem; font-weight:650; border-radius:5px; padding:7px 9px; cursor:pointer; }
.google-bar button[aria-pressed="true"] { background:#fff; color:#173e32; border-color:#abc3b4; box-shadow:0 1px 2px #203b3610; }
.google-bar button:disabled { opacity:.45; cursor:default; }
.google-bar a { color:#2e5446; font-size:.76rem; white-space:nowrap; text-underline-offset:3px; }
.google-map,.google-map > div,.google-map gmp-map-3d { width:100%; height:100%; display:block; }
.google-map { position:absolute; inset:0; background:#dce6df; color:#244438; }
.google-map > div[hidden], [hidden] { display:none!important; }
.google-map[data-failed="true"]::after { content:"Google imagery unavailable"; position:absolute; inset:0; display:grid; place-items:center; color:#3f5a4f; background:#e7eee6; font-weight:600; }
.google-state,.texture-line { margin:0; padding:9px 16px; font-size:.78rem; color:#284a3c; background:#eef3ec; }
.google-state[data-state="unavailable"] { background:#fff2dc; color:#62451e; }
.texture-line label { display:inline-flex; align-items:center; gap:6px; font-weight:650; }
.texture-line input { accent-color:#235e46; }
.face-spans { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:11px 0 7px; }
.face-spans div { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 8px; }
.face-spans span { color:var(--muted); font-size:.78rem; }
.face-spans strong { font-variant-numeric:tabular-nums; color:var(--ink); font-size:.93rem; }
.measurement-check { background:#fff; color:#203d33; border-top:1px solid #d4ded3; padding:16px 18px; }
.check-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px 12px; }
.check-heading h3 { font-size:1.06rem; margin:0 0 3px; }
.check-heading p,.check-foot { margin:0; color:#51665a; font-size:.8rem; line-height:1.45; }
.check-results:not(:empty) { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr)); gap:9px; margin-top:13px; }
.check-source { border:1px solid #d7e1d7; border-radius:7px; background:#f6f8f3; padding:11px; font-size:.82rem; line-height:1.43; }
.check-source h4 { margin:0 0 8px; font-size:.94rem; }
.check-source small,.check-source div { display:block; color:#53665c; font-size:.73rem; }
.check-source h4 small { font-weight:500; }
.check-source p { margin:4px 0 8px; }
.check-source .maps-attribution { color:#5e5e5e; font:500 12px/1.35 Roboto,Arial,sans-serif; margin:10px 0 2px; }
.check-foot { grid-column:1/-1; }
@media(max-width:600px){.google-bar{padding:6px 9px}.google-bar button{padding:6px}.measurement-check{padding:13px}.google-bar a{font-size:.71rem}.texture-line{padding:7px 10px}.view-switch{flex-wrap:wrap;}}
#google-outline-label { font-size:.76rem; display:inline-flex; align-items:center; gap:4px; cursor:pointer; }
#google-outline { accent-color:#276146; }
#google-sheets-label { display:inline-flex; align-items:center; gap:4px; font-size:.76rem; cursor:pointer; }
#google-sheets { accent-color:#276146; }
#google-centre { font-size:.76rem; padding:5px 7px; text-decoration:underline; text-underline-offset:3px; }
/* Keep native map canvases sized while switching views. A zero-sized WebGL
   surface can resume as a grey rectangle after a 2D or layout visit. */
.google-map > div { position:absolute; inset:0; }
.google-map[hidden],.google-map > div[hidden] { display:block!important; visibility:hidden; pointer-events:none; }
