/* Layout-only CSS. Colors, surfaces, typography and controls come from Acarmoto theme. */
.geo-lab{width:min(100% - 32px,1100px);margin:clamp(20px,4vw,54px) auto var(--space-7)}
.geo-lab__header{margin-bottom:var(--space-5);padding-inline:var(--space-2)}
.geo-lab__header h1{margin:0 0 var(--space-2)}
.geo-lab__intro{color:var(--text-secondary);max-width:72ch}
.geo-lookup{width:100%;padding:clamp(18px,3vw,32px);border:1px solid var(--border-subtle);border-radius:var(--radius-panel);background:var(--surface-1);box-shadow:var(--shadow-panel,none)}
.geo-lookup *{box-sizing:border-box}
.geo-lookup label{display:grid;gap:var(--space-2);font-size:.875rem;font-weight:650;color:var(--text-secondary)}
.geo-lookup input[type="text"],.geo-lookup input[type="search"]{width:100%;min-height:46px;padding:0 var(--space-3);background:var(--surface-2);border:1px solid var(--border-strong,var(--border-subtle));border-radius:var(--radius-control);color:var(--text-primary);font:inherit}
.geo-lookup input[readonly]{background:var(--surface-0,var(--surface-1));color:var(--text-secondary);border-color:var(--border-subtle);cursor:default}
.geo-lookup button{font:inherit}
.geo-lookup button:disabled{opacity:.48;cursor:not-allowed}
.geo-lookup__search-line{display:flex;align-items:stretch;gap:var(--space-2)}
.geo-lookup__search-line input{flex:1;min-width:0}
.geo-lookup__search-label{margin-bottom:var(--space-2)}
.geo-lookup__results{display:grid;gap:3px;margin-top:var(--space-2)}
.geo-lookup__option{min-height:42px;padding:var(--space-3);text-align:left;cursor:pointer;border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--surface-2);color:var(--text-primary);font:inherit}
.geo-lookup__option:hover,.geo-lookup__option:focus-visible{background:var(--surface-3);border-color:var(--brand-red-border,var(--brand-red))}
.geo-lookup [data-geo-status]{min-height:1.5em;margin:var(--space-3) 0;color:var(--text-secondary);font-size:.875rem}
.geo-lookup__selected{border-top:1px solid var(--border-subtle);padding:var(--space-4) 0}
.geo-lookup__selected h2{margin:var(--space-2) 0;font-size:1.45rem}
.geo-lookup__selected p{margin:0;color:var(--text-secondary)}
.geo-lookup__eyebrow{color:var(--brand-red);font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700}
.geo-lookup__section{margin:var(--space-4) 0;padding:var(--space-5);border:1px solid var(--border-subtle);border-radius:var(--radius-panel);background:var(--surface-2)}
.geo-lookup__section h3{font-size:1rem;margin:0 0 var(--space-1)}
.geo-lookup__section h3 small{color:var(--text-muted);font-weight:400}
.geo-lookup__hint{font-size:.85rem;color:var(--text-secondary);margin:0 0 var(--space-4)}
.geo-lookup__fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--space-3)}
.geo-lookup__fields--editable{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.geo-lookup__map{height:440px;width:100%;border-radius:var(--radius-control);overflow:hidden;background:var(--surface-3)}
.geo-lookup__coordinates{font-size:.82rem;color:var(--text-muted)}
.geo-lookup__verification{display:flex!important;flex-direction:row;align-items:center;gap:var(--space-3);margin:var(--space-4) 0;cursor:pointer}
.geo-lookup__verification input{width:19px;height:19px;flex:none;accent-color:var(--brand-red)}
.geo-lookup__debug{border-top:1px dashed var(--border-strong,var(--border-subtle));margin-top:var(--space-5);padding-top:var(--space-4)}
.geo-lookup pre{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text-secondary);font-size:.8rem}
.geo-lookup [hidden]{display:none!important}
@media(max-width:600px){.geo-lab{width:min(100% - 20px,1100px)}.geo-lookup{padding:var(--space-3)}.geo-lookup__search-line{flex-wrap:wrap}.geo-lookup__search-line input{flex-basis:100%}.geo-lookup__section{padding:var(--space-3)}.geo-lookup__map{height:350px}.geo-lookup__fields{grid-template-columns:1fr}}

.geo-lookup__success{margin:var(--space-3) 0;padding:var(--space-3);border:1px solid var(--status-success);border-radius:var(--radius-control);color:var(--status-success);background:var(--surface-2)}

/* Shared compact read-only geographic summary; keep inputs in the form for POST. */
.geo-compact-summary { grid-column: 1 / -1; padding: .55rem .75rem; border: 1px solid var(--border, #35505b); border-radius: .5rem; font-size: .875rem; line-height: 1.4; overflow-wrap: anywhere; }
.geo-compact-summary[hidden], [data-geo-compact-hidden][hidden] { display: none !important; }
.geo-compact-summary small { display: block; margin-top: .2rem; color: #50b88b; }
.geo-compact-summary small[data-unverified] { color: inherit; opacity: .8; }
.geo-compact-extras { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-top: .35rem; }
.geo-compact-extras > span { color: var(--text-muted, #b8c7d2); font-size: .84rem; }
.geo-compact-extras > span[hidden] { display: none !important; }
.geo-compact-physical > label, .geo-compact-physical > input, .geo-compact-physical > select { display: none !important; }
.geo-compact-physical:not(.field--error):not(:has(.field-error,.field__error)) { display: none !important; }

[data-geo-compact-redundant] { display: none !important; }

/* The original fields stay in the DOM for validation/POST, never as duplicate controls. */
fieldset.point-editor .field.geo-compact-physical:not(.field--error):not(:has(.field-error,.field__error)),
[data-service-single-geo-editor] .field.geo-compact-physical:not(.field--error):not(:has(.field-error,.field__error)) {display:none!important;}
.geo-compact-summary {display:block; width:100%;}
.point-editor > .geo-compact-summary {margin-block:.4rem .6rem;}
