/* Shared Toolbox address group (spec 2026-10-08 section 12.1), grouped like the age and opening-hours fieldsets. */
.address-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px 14px;align-items:start;border:1px solid var(--line);border-radius:14px;padding:16px;margin:0;min-width:0}
.address-fields legend{padding:0 7px;color:var(--text);font-weight:800}
.address-fields>*{min-width:0}
.address-fields .address-wide,.address-fields .address-hint,.address-fields .address-legacy,.address-fields .address-status{grid-column:1/-1}
.address-fields .field-help{color:var(--muted);font-weight:500;line-height:1.4}
.address-fields .address-hint{margin-top:-6px;font-size:.65rem}
.address-number{color:var(--warning-text);font-weight:600;line-height:1.4}
.address-number:empty{display:none}
.address-fields .address-error{grid-column:1/-1;margin-top:-6px;color:var(--danger);font-size:.78rem;font-weight:600;line-height:1.4}
.address-error:empty{display:none}
.address-legacy{margin:0;padding:10px 12px;border:1px dashed var(--line);border-radius:10px;background:var(--surface-2);color:var(--muted);font-size:.8rem;line-height:1.45;overflow-wrap:anywhere}
.address-legacy strong{color:var(--text)}
.address-status{display:flex;align-items:flex-start;gap:8px;margin:0;color:var(--muted);font-size:.8rem;line-height:1.45}
.address-status.is-found{color:var(--brand-text);font-weight:700}
/* Same amber as the bookings warning chips (bookings/cards.css). */
.address-status.is-unverified,.address-status.is-approximate{padding:10px 12px;border-radius:10px;background:color-mix(in srgb,#e9b45c 14%,transparent);color:var(--warning-text);font-weight:600}
@media(max-width:520px){.address-fields{padding:14px 12px}.address-fields .address-country{grid-column:1/-1}}
/* Wizard family preview: the app card's location row and the detail view's address block (spec 12.2). */
.family-event-place{display:flex;align-items:center;gap:6px;margin:0 0 6px;color:var(--muted);font-size:.84rem;min-width:0}
.family-event-place span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.family-event-detail{display:grid;gap:6px;margin-top:14px;min-width:0}
.family-event-detail>small{color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.family-event-address{display:flex;align-items:flex-start;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
.family-event-address div{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
.family-event-address strong{color:var(--text);font-size:.9rem}
.family-event-address span{color:var(--muted);font-size:.84rem;line-height:1.45}
/* Icons as masks in the current text colour, so they follow light and dark mode. */
.address-status::before,.family-event-place::before,.family-event-address::before{content:'';flex:none;width:16px;height:16px;margin-top:1px;background:currentColor;-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat}
.address-status.is-pending::before{display:none}
.address-status.is-found::before{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
.address-status.is-unverified::before,.address-status.is-approximate::before{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v4m0 4h.01'/%3E%3C/svg%3E")}
.family-event-place::before,.family-event-address::before{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6-7-11a7 7 0 0 1 14 0c0 5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")}
.family-event-place::before{margin-top:0}
.family-event-address::before{margin-top:2px;background:var(--brand-text)}
