/* IceTra skin for the measuring module (/salt-calculator/). Loads after
   measure.css. Only tokens and a few site-specific rules: the module's own
   stylesheet stays identical to the source module (docs/MAP_MODULE_ORIGIN.md). */
.gzm{
  --body:"Lato",system-ui,sans-serif; --display:"Lato",system-ui,sans-serif;
  /* two inks only (IR1): every token is navy or white */
  --gzm-paper:#fff; --gzm-paper-2:#fff;
  --gzm-ink:#1a2d4d; --gzm-soft:#1a2d4d;
  --gzm-accent:#1a2d4d; --gzm-accent-deep:#1a2d4d; --gzm-accent-hover:#1a2d4d;
  --gzm-hair:#1a2d4d; --gzm-danger:#1a2d4d;
  --gzm-display:"Lato",system-ui,sans-serif;
  padding:clamp(1.5rem,5vw,3rem) 0 3.5rem;
}
/* the header here is sticky, not fixed, so the module's top padding is not needed */
.gzm .gzm-intro h1{font-weight:900;font-style:italic;letter-spacing:-.03em}
.gzm-preview,.gzm-map.leaflet-container{background:#1a2d4d}
.gzm.gzm-modal{background:#1a2d4d}
.gzm-confirm{background:#1a2d4d}
.gzm .gzm-label{background:#1a2d4d}
.gzm .leaflet-control-attribution a{color:#1a2d4d}
/* hide the site's header and call bar while the drawing screen is open */
body.gzm-modal-open .callbar{display:none}
.gzm-send-status.ok{color:#1a2d4d;font-weight:700}
.gzm-send-status.bad{color:var(--gzm-danger);font-weight:700}
.gzm-cta{padding-top:14px;border-top:2px solid var(--gzm-hair)}
.gzm-cta .gzm-btn{text-decoration:none}
.salt-q{margin-top:18px}
.salt-q .gzm-field{max-width:14rem;margin:6px 0 8px}

/* ---- request flow (steps 1-5) ---- */
/* The root's data-step decides what shows. Steps 1-2 are the map module;
   steps 3-5 are IceTra's own forms. */
.flow-head,.flow-nav[data-flow-nav],.flow-step{display:none}
#gzm[data-step="1"] [data-flow-head="1"],#gzm[data-step="2"] [data-flow-head="2"],
#gzm[data-step="1"] [data-flow-nav="1"],#gzm[data-step="2"] [data-flow-nav="2"],
#gzm[data-step="3"] [data-flow-step="3"],#gzm[data-step="4"] [data-flow-step="4"],#gzm[data-step="5"] [data-flow-step="5"]{display:block}
#gzm[data-step="1"] .gzm-panel{display:none}
#gzm[data-step="1"] .gzm-app{grid-template-columns:1fr}
#gzm:not([data-step="1"]):not([data-step="2"]) .gzm-app{display:none}
.flow-head h2,.flow-step h2{font-weight:900;font-size:1.4rem;margin:22px 0 6px}
.flow-head h2:focus,.flow-step h2:focus{outline:none}
.flow-head p,.flow-step>p{color:var(--gzm-soft);max-width:60ch}
.flow-progress{margin-top:18px}
.flow-progress-t{font-weight:700;font-size:.9rem}
.flow-progress ol{display:flex;gap:4px;list-style:none;margin:6px 0 0;padding:0}
.flow-progress li{flex:1;min-width:0;border-top:4px solid var(--gzm-hair);padding-top:4px;font-size:.78rem;color:var(--gzm-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.flow-progress li.done{border-top-color:var(--gzm-ink);color:var(--gzm-ink)}
.flow-progress li:not(.done):not([aria-current]){border-top-style:dotted}
.flow-progress li[aria-current]{border-top-color:var(--gzm-ink);color:var(--gzm-ink);font-weight:700}
@media(max-width:420px){.flow-progress li span{display:none}.flow-progress li[aria-current] span{display:inline}}
.flow-nav{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:16px}
.flow-prods{border:0;padding:0;margin:14px 0 0;display:grid;gap:12px}
@media(min-width:760px){.flow-prods{grid-template-columns:repeat(3,1fr)}}
.flow-prod{border:2px solid var(--gzm-hair);border-radius:6px;padding:14px;background:#fff}
.flow-prod--upcoming{border-style:dashed}
.flow-prod-pick{display:flex;gap:10px;align-items:flex-start;cursor:pointer;min-height:44px}
.flow-prod-pick input{width:22px;height:22px;margin-top:2px;accent-color:#1a2d4d}
.flow-prod-pick small{display:block;font-size:.72rem;letter-spacing:.08em;color:var(--gzm-soft)}
.flow-prod-fig{margin:6px 0 4px;font-weight:700}
.flow-qty{display:flex;gap:8px;align-items:flex-end;margin-top:8px}
.flow-qty .gzm-field:first-child{flex:1}
.flow-qty select{min-height:48px;padding:8px;border:2px solid var(--gzm-hair);border-radius:4px;font:1rem var(--body)}
.flow-fields{display:grid;gap:12px;max-width:34rem;margin-top:12px}
.flow-fields .gzm-field span small,.gzm-field span small{font-weight:400;color:var(--gzm-soft)}
.flow-consent{align-items:flex-start;font-weight:700}
.flow-error{min-height:1.2em;color:var(--gzm-danger);font-weight:700;margin-top:8px}
.flow-status{min-height:1.2em;margin-top:8px}
.flow-status.ok{font-weight:700}
.flow-status.bad{color:var(--gzm-danger);font-weight:700}
.flow-note{padding:10px 12px;border:2px solid var(--gzm-ink)}
.flow-rev{position:relative;border-top:2px solid var(--gzm-hair);padding:12px 0}
.flow-rev h3{font-size:1rem;font-weight:900}
.flow-edit{position:absolute;right:0;top:12px;font-weight:700;color:#1a2d4d;min-height:32px}
.flow-rev dl{display:grid;grid-template-columns:minmax(7rem,auto) 1fr;gap:4px 12px;margin-top:6px}
.flow-rev dt{color:var(--gzm-soft)}
.flow-cta{margin-top:28px}
.flow-addr{border:0;padding:0;margin:0;display:grid;gap:12px}
.flow-addr legend{font-weight:700;margin-bottom:6px}
.flow-pickup{margin-top:10px;font-size:.92rem}
.flow-pickup a{font-weight:700;color:#1a2d4d}
.flow-distance{font-weight:700;margin-top:4px}
.flow-guide-box{margin-top:10px;padding:12px 14px;border:2px solid var(--gzm-ink)}
.flow-apps{max-width:18rem;margin-top:8px}
.flow-guide{margin:6px 0 2px;font-weight:700;color:var(--gzm-ink)}
/* Phones (I4): the sizes get the full width and Cut out / Edit / Delete sit underneath,
   so the longer "Traced area … · Area after removing buildings …" line never squeezes into one word per line. */
@media (max-width:560px){
  .gzm .gzm-shape{padding-left:12px}
  .gzm .gzm-shape-row{flex-wrap:wrap}
  .gzm .gzm-shape-t{flex:1 1 100%}
}

/* ---- two inks (IR1, Vildan 6 Oct 2026) ----
   Navy #1a2d4d and white only: no tints, no opacity, no soft shadows. Hover
   and focus invert; disabled is a dashed outline. Overlays on the aerial photo
   are solid white boxes with a navy rule. The shape colours drawn on the map
   are data colours and stay as they are (they must read on any photo). */
.gzm .gzm-btn,.gzm .gzm-x,.gzm .gzm-mini,.gzm .gzm-field input,.gzm .gzm-field textarea,.gzm .gzm-search input,
.gzm .flow-qty select,.gzm .gzm-chooser,.gzm .gzm-results,.gzm .gzm-found,.gzm .gzm-estimate,.gzm .gzm-units,
.gzm .gzm-preview,.gzv-stage,.gzm .flow-prod,.gzm .gzm-confirm-box,.gzm .gzm-photo-menu,.gzm .gzm-photo-opt{border-radius:0}
.gzm .gzm-btn:hover{background:#fff;color:#1a2d4d;border-color:#1a2d4d}
.gzm .gzm-btn.ghost:hover{background:#1a2d4d;color:#fff}
.gzm .gzm-btn:focus-visible,.gzm .gzm-link:focus-visible,.gzm .gzm-chip:focus-visible,.gzm .gzm-mode:focus-visible{outline:3px solid #1a2d4d;outline-offset:3px}
.gzm .gzm-btn:disabled,.gzm .gzm-btn:disabled:hover{opacity:1;background:#fff;color:#1a2d4d;border-style:dashed}
.gzm .gzm-link:disabled,.gzm .gzm-chip:disabled,.gzm .gzm-imagery input:disabled + span{opacity:1;color:#1a2d4d;text-decoration:line-through}
.gzm .gzm-btn.danger{background:#1a2d4d;border-color:#1a2d4d;color:#fff}
.gzm .gzm-basemap,.gzm .gzm-chip{background:#fff;box-shadow:none;border:2px solid #1a2d4d}
.gzm .gzm-photo-menu,.gzm .gzm-confirm-box{box-shadow:none;border:2px solid #1a2d4d}
.gzm .gzm-photo-opt[aria-pressed="true"]{background:#1a2d4d;color:#fff}
.gzm .gzm-notice,.gzm .gzm-imagery-note{background:#fff;box-shadow:none;border:2px solid #1a2d4d;border-radius:0}
.gzm .gzm-sheet{box-shadow:none;border-top:2px solid #1a2d4d}
.gzm .gzm-mbar{border-top:2px solid #1a2d4d}
.gzm .leaflet-control-attribution{background:#fff;color:#1a2d4d}
.gzm .leaflet-bar,.gzm .leaflet-touch .leaflet-bar{box-shadow:none;border:2px solid #1a2d4d;border-radius:0}
.gzm .leaflet-bar a{color:#1a2d4d;border-radius:0}
.gzm .leaflet-bar a:hover{background:#1a2d4d;color:#fff}
.gzm .gzm-crosshair::before,.gzm .gzm-crosshair::after{box-shadow:0 0 0 1px #1a2d4d}
/* the pickup pin: navy with a white ring, and its label a solid box that
   never folds into a one-word column (Marketing fix, IR1) */
.gzm .gzm-landmark span{box-shadow:0 0 0 2px #1a2d4d}
.gzm .gzm-landmark-label{width:max-content;max-width:min(240px,70vw);white-space:normal;border:2px solid #1a2d4d;box-shadow:none;border-radius:0}
.gzm .gzm-landmark-label::before{display:none}
.gzm .gzm-swatch{border:2px solid #1a2d4d;border-radius:0}
