.guest-layout { max-width: 1720px; margin: auto; padding: 16px; display: grid; grid-template-columns: clamp(310px, 29vw, 430px) minmax(0, 1fr); gap: 16px; min-height: min(760px, calc(100dvh - 78px)); }
.guest-panel { display: flex; flex-direction: column; min-width: 0; gap: 16px; background: white; border: 1px solid var(--line); border-radius: 18px; padding: clamp(15px, 2vw, 24px); }
.guest-panel h1 { font-size: clamp(1.65rem, 2.15vw, 2.15rem); }
.guest-panel h2 { font-size: 1.15rem; }
.guest-panel p, .guest-panel label { font-size: .9rem; }
.guest-form { display: grid; gap: 8px; }
.guest-input-row { display: flex; gap: 8px; }
.guest-input-row input { width: 100%; min-width: 0; padding: 10px; border: 1px solid #a6bdae; border-radius: 10px; background: #f1f5f0; color: var(--ink); }
.guest-suggestions, .guest-results { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.guest-suggestions button, .guest-card { width: 100%; min-height: 44px; display: flex; align-items: center; gap: 9px; text-align: left; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 11px; padding: 8px 10px; }
.guest-card[aria-pressed="true"], .guest-card:hover, .guest-suggestions button:hover { background: var(--mint); border-color: var(--forest); }
.guest-card small { display: block; color: var(--muted); }
.guest-results strong { display: block; line-height: 1.25; }
.guest-type, .guest-key { display: flex; align-items: center; gap: 8px; }
.guest-type { border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-height: 44px; }
.guest-types { display: grid; gap: 5px; }
.guest-type input { accent-color: var(--forest); width: 17px; height: 17px; }
.guest-icon { display: grid; place-items: center; flex: none; width: 24px; height: 24px; color: white; background: #3a4859; border-radius: 6px; font-size: .74rem; font-weight: 800; line-height: 1; }
.guest-icon.street { background: #147146; border-radius: 50%; }
.guest-icon.garage { background: #245d9a; clip-path: polygon(50% 0,100% 38%,100% 100%,0 100%,0 38%); padding-top: 5px; }
.guest-detail { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--mint); }
.guest-map-view { display: flex; flex-direction: column; min-width: 0; min-height: 0; margin: 0; position: relative; overflow: hidden; border: 1px solid #c6d5cb; border-radius: 18px; background: #e6eee2; }
.guest-map-surface { flex: 1 1 auto; min-height: 490px; position: relative; }
.guest-map-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
.guest-map-view figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 14px; background: #f8fbf5; font-size: .75rem; }
.guest-zoom { position: absolute; top: 12px; right: 12px; display: grid; gap: 4px; }
.guest-zoom button { width: 44px; height: 44px; border: 1px solid #a6bdae; background: white; color: var(--ink); font-size: 1.15rem; border-radius: 8px; }
.guest-status { min-height: 1.5em; }
.guest-pending { display: grid; gap: 4px; background: #f1f5f0; border-radius: 10px; padding: 10px; }
.guest-jump { display: none; }
@media (min-width: 1041px) { .guest-panel { max-height: min(940px, max(680px, calc(100dvh - 83px))); overflow: auto; } }
@media (max-width: 760px) {
  .guest-layout { grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 10px; }
  .guest-map-surface { min-height: 370px; height: 48dvh; }
  .guest-jump { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
  .guest-results { max-height: 18rem; overflow-y: auto; padding: 4px; margin: -4px; }
}
.guest-type small { margin-left: auto; color: #4f6459; }
.guest-results section ul { display: grid; gap: 6px; list-style: none; padding: 0; margin: 7px 0 0; }
.guest-results section + section { margin-top: 6px; }
.guest-back { justify-self: start; padding: 2px 0; min-height: 44px; color: var(--forest); border: 0; background: none; font-weight: 700; }
.guest-community { border-radius: 12px; padding: 11px 13px; background: var(--mint); }
.guest-community a { color: var(--forest); font-size: .88rem; font-weight: 730; }
.guest-legend { position: absolute; inset: auto 12px 12px; margin: auto; width: max-content; max-width: calc(100% - 24px); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; border-radius: 12px; padding: 8px 11px; background: #fff; box-shadow: 0 1px 10px #10261a25; font-size: .72rem; pointer-events: none; }
.guest-legend span::before { content: ""; display: inline-block; width: 14px; height: 4px; margin-right: 5px; vertical-align: middle; border-radius: 3px; background: var(--indicator); }
.guest-legend .low { --indicator: #2b8155; }
.guest-legend .medium { --indicator: #a87000; }
.guest-legend .high { --indicator: #ae3436; }
/* The desktop map stays in place while the search panel switches views. */
body.guest-map {background:#f0ebe2}
body.guest-map .footer {display:none}
.guest-layout {gap:18px;align-items:start;min-height:calc(100dvh - 68px);max-width:none}
.guest-panel {position:relative;z-index:1;gap:10px;padding:16px;border-color:#fff;box-shadow:0 8px 24px #10261a19}
.guest-panel h1 {font-size:clamp(1.35rem,2vw,1.6rem);margin:0 0 12px}
.guest-panel fieldset {border:0;margin:0;padding:0;min-width:0}
.guest-panel legend {font-size:.83rem;font-weight:750;margin-bottom:5px}
.guest-start {min-width:0}
.guest-input-row {position:relative;align-items:stretch}
.guest-input-row > span {display:grid;place-items:center;position:absolute;inset:0 auto 0 10px;color:#215540;font-size:1.25rem;pointer-events:none}
.guest-input-row input {padding-inline-start:30px;font-size:.91rem}
.guest-input-row button {min-height:44px;padding-inline:10px}
.guest-types {margin-top:12px!important}
.guest-type {border:0;border-radius:8px;padding:4px 0;gap:9px;font-weight:650;min-height:42px}
.guest-type small {white-space:nowrap;font-weight:500}
.guest-pills {display:flex;flex-wrap:wrap;gap:7px}
.guest-pills :is(button,span) {display:inline-flex;align-items:center;min-height:38px;border:1px solid #c5d4cb;border-radius:24px;padding:0 12px;background:white;color:#143b2b;font-size:.81rem;font-weight:700;cursor:pointer}
.guest-pills label {position:relative}
.guest-pills label input {position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.guest-pills input:checked + span,.guest-pills button[aria-pressed=true] {background:#143b2b;color:white;border-color:#143b2b}
.guest-pills input:focus-visible + span,.guest-pills button:focus-visible {outline:2px solid #2a6fa9;outline-offset:2px}
.guest-status {margin:0;font-size:.82rem!important;color:#40574b}
.guest-destination {min-height:46px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px;background:#f0f4f1;border:1px solid #c5d4cb;border-radius:12px;padding-right:8px}
.guest-destination strong,.guest-destination small {display:block}
.guest-destination strong {font-size:.9rem}
.guest-destination button,.guest-count-row select {min-height:42px;font:inherit;color:#13523c;background:none;border:0;font-size:.84rem;font-weight:700;cursor:pointer}
.guest-destination .guest-reset {font-size:1.5rem}
.guest-count-row {display:flex;align-items:center;justify-content:space-between;gap:6px}
.guest-results h2 {font-size:.75rem;text-transform:uppercase;color:#3d5045;margin:6px 0;font-weight:780}
.guest-results .guest-card {min-height:60px;padding:8px 10px;gap:10px}
.guest-results .guest-card small {font-size:.78rem;margin-top:2px}
.guest-results .guest-icon,.guest-option-icon {width:38px;height:38px;font-size:1rem}
.guest-detail {padding:0;border:0;background:white;gap:11px}
.guest-detail-identity {display:flex;align-items:center;gap:11px}
.guest-detail-identity h2,.guest-detail-identity p,.guest-mobile-box p {margin:0}
.guest-facts {display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));margin:0;background:#f0f3f0;border-radius:12px;padding:6px;gap:6px}
.guest-facts div {padding:6px;min-width:0}
.guest-facts dt {font-size:.8rem;color:#41594c}
.guest-facts dd {margin:0;font-weight:750}
.guest-mobile-box {display:grid;gap:7px;border-radius:14px;padding:12px;background:#e3efe9}
.guest-mobile-box a {font-size:.85rem;font-weight:700}
.guest-store-links,.guest-option-actions {display:flex;gap:8px;flex-wrap:wrap}
.guest-option-actions button {flex:1;min-height:44px}
.guest-map-view {align-self:stretch;min-width:0;border-color:#d7cebf;background:#f1e6d2}
.guest-map-surface {min-height:calc(100dvh - 128px)}
.guest-map-layer {position:absolute;top:14px;right:14px;display:flex;align-items:center;gap:7px;min-height:44px;padding:6px 12px;border-radius:24px;background:white;color:#123b2b;box-shadow:0 5px 16px #10261a24;font-size:.79rem;font-weight:700;cursor:pointer}
.guest-map-layer input {accent-color:#185440}
.guest-zoom {top:auto;bottom:14px;right:14px;border-radius:12px;gap:0;box-shadow:0 5px 16px #10261a24;overflow:hidden}
.guest-zoom button {border:0;border-radius:0}
.guest-zoom button + button {border-top:1px solid #dfebe2}
.guest-legend {bottom:13px;max-width:calc(100% - 116px)}
@media(min-width:1041px) { .guest-layout {grid-template-columns:clamp(340px,28vw,410px) minmax(0,1fr)} .guest-panel {max-height:calc(100dvh - 88px)} }
@media(max-width:760px) {
  .guest-layout {padding:10px;gap:10px}
  .guest-panel {gap:8px}
  .guest-map-surface {min-height:370px;height:48dvh}
  .guest-pills :is(button,span) {min-height:44px}
}
.guest-panel h1 {max-width:none;font-size:clamp(1.25rem,2vw,1.47rem)}
.guest-panel [role=status]:empty {display:none}
.guest-group-head {display:flex;align-items:center;justify-content:space-between;gap:8px}
.guest-group-head button {background:none;border:0;color:#185440;min-height:40px;font:inherit;font-weight:730;font-size:.8rem;cursor:pointer}
.guest-share-status:not(:empty) {font-size:.82rem;color:#185440}
.guest-mobile-box {grid-template-columns:auto 1fr;column-gap:12px;align-items:start}
.guest-mobile-box .guest-qr {grid-row:span 4;width:82px;height:82px;align-self:center;border-radius:8px;background:white}
.guest-mobile-box > :not(.guest-qr) {grid-column:2}
.guest-mobile-box > :is(.guest-send,.guest-store-links) {justify-self:start}

.guest-departure-hint { margin: 0 0 4px; font-size: .875rem; line-height: 1.45; color: #415b4b; }
.guest-community a.guest-circle-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; border: 1px solid #17573f; border-radius: 12px; padding: 10px 14px; background: #17573f; color: #fff; text-decoration: none; font-weight: 800; }
.guest-community a.guest-circle-cta:hover { background: #0f3d2e; }
.guest-circle-cta:focus-visible { outline: 3px solid #17573f; outline-offset: 3px; }

.guest-regulated-layer { top: 53px; }
.guest-map-view [hidden] { display: none; }
.guest-map-layer[hidden] + .guest-regulated-layer { top: 14px; }
.guest-regulation-info {
  position: absolute; inset: 94px auto auto 12px; max-width: calc(100% - 76px);
  padding: 9px 11px; border-radius: 10px; background: #fff; color: #163528;
  box-shadow: 0 1px 10px #10261a26; font-size: .75rem; pointer-events: none;
}
.guest-map-layer[hidden] ~ .guest-regulation-info { top: 55px; }
.guest-regulation-info p { margin: 0; font-weight: 700; }
.guest-regulation-info ul { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 0; padding: 0; list-style: none; }
.guest-regulation-info li::before {
  content: ""; display: inline-block; width: 12px; height: 4px; margin-right: 4px;
  background: var(--regulation-color); border-radius: 2px; vertical-align: middle;
}
.guest-regulation-info .blue { --regulation-color: #1464c4; }
.guest-regulation-info .green { --regulation-color: #147143; }
.guest-regulation-info .other { --regulation-color: #6935ac; }
