/* Shared Spot profile presentation. Visual values come from active core UI tokens. */
.ddb-location-profiles{display:grid;gap:var(--ui-space-lg);min-width:0}
.ddb-location-profile{overflow:hidden;min-width:0;max-width:100%;background:var(--ui-color-surface);color:var(--ui-color-text);border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-lg)}
.ddb-location-profile__hero{display:block;width:100%;height:auto;max-height:22rem;object-fit:cover;aspect-ratio:16/9}
.ddb-location-profile__body{padding:var(--ui-space-lg);display:grid;gap:var(--ui-space-md);min-width:0;overflow-wrap:anywhere}
.ddb-location-profile__body h3,.ddb-location-profile__body p{margin:0}
.ddb-location-profile__links{display:flex;flex-wrap:wrap;gap:var(--ui-space-sm) var(--ui-space-lg)}
.ddb-location-profile__links a{display:inline-flex;align-items:center;min-height:44px}
.ddb-location-profile__muted{color:var(--ui-color-text-muted);font-size:var(--ui-text-sm)}
.ddb-location-profile details{min-width:0;border-top:1px solid var(--ui-color-border);padding-top:var(--ui-space-xs)}
.ddb-location-profile summary{cursor:pointer;min-height:44px;align-content:center;font-weight:var(--ui-weight-semibold)}
.ddb-location-profile__description{line-height:var(--ui-leading-body);overflow-wrap:anywhere}
.ddb-location-profile__description h2,.ddb-location-profile__description h3,.ddb-location-profile__description h4{font-size:var(--ui-text-lg);margin:var(--ui-space-md) 0 var(--ui-space-xs)}
.ddb-location-profile__description p{margin-bottom:var(--ui-space-sm)}
.ddb-location-profile__gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:var(--ui-space-sm)}
.ddb-location-profile__gallery figure{margin:0;min-width:0}
.ddb-location-profile__gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:var(--ui-radius-sm)}
.ddb-location-profile__gallery figcaption{color:var(--ui-color-text-muted);font-size:var(--ui-text-sm)}
.ddb-location-profile__settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--ui-space-xs) var(--ui-space-md)}
.ddb-location-profile__settings dt{font-weight:var(--ui-weight-semibold)}
.ddb-location-profile__settings dd{margin:0}
.bsp-portal-card:has(>.ddb-location-profiles){grid-column:1/-1}
.sbdp-vendor-portal__header-identity{min-width:0;max-width:100%;overflow-wrap:anywhere}
.ddb-spot-editor{width:min(54rem,calc(100% - 2rem));max-height:calc(100dvh - 2rem);padding:0;color:var(--ui-color-text);background:var(--ui-color-surface);border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-lg);overflow:auto}
.ddb-spot-editor::backdrop{background:var(--ui-color-bg);opacity:.8}
.ddb-spot-editor form{padding:var(--ui-space-lg);display:grid;gap:var(--ui-space-md);margin:0;min-width:0}
.ddb-spot-editor__header{display:flex;justify-content:space-between;align-items:center;gap:var(--ui-space-md);flex-wrap:wrap}
.ddb-spot-editor__header h2{font-size:var(--ui-text-xl);margin:0}
.ddb-spot-editor__fieldset{border:0;padding:0;margin:0;min-width:0}
.ddb-spot-editor__group{border-top:1px solid var(--ui-color-border);margin-bottom:var(--ui-space-md)}
.ddb-spot-editor__group>summary{min-height:48px;align-content:center;cursor:pointer;font-weight:var(--ui-weight-semibold)}
.ddb-spot-editor__fields{display:grid;gap:var(--ui-space-md);padding-bottom:var(--ui-space-md);min-width:0}
.ddb-spot-editor__field{display:grid;gap:var(--ui-space-xs);min-width:0}
.ddb-spot-editor__field>span,.ddb-spot-editor__field>label{font-weight:var(--ui-weight-semibold)}
.ddb-spot-editor input,.ddb-spot-editor select,.ddb-spot-editor textarea,.ddb-spot-editor__description{box-sizing:border-box;max-width:100%;min-width:0;color:var(--ui-color-text);background:var(--ui-color-surface-2);border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-sm);padding:var(--ui-space-sm);font:inherit}
.ddb-spot-editor input:not([type=checkbox]),.ddb-spot-editor select,.ddb-spot-editor textarea{width:100%;min-height:44px}
.ddb-spot-editor__description{min-height:12rem;overflow-wrap:anywhere}
.ddb-spot-editor__description h2,.ddb-spot-editor__description h3,.ddb-spot-editor__description h4{font-size:var(--ui-text-lg);line-height:var(--ui-leading-body)}
.ddb-spot-editor__toolbar{display:flex;flex-wrap:wrap;gap:var(--ui-space-xs)}
.ddb-spot-editor__toolbar button{min-height:44px}
.ddb-spot-editor__photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:var(--ui-space-md)}
.ddb-spot-editor__photo{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-xs);min-width:0;overflow-wrap:anywhere}
.ddb-spot-editor__photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--ui-radius-sm)}
.ddb-spot-editor__photo label{flex-basis:100%}
.ddb-spot-editor__footer{position:sticky;bottom:0;background:var(--ui-color-surface);padding-block:var(--ui-space-sm);display:grid;gap:var(--ui-space-sm);border-top:1px solid var(--ui-color-border)}
.ddb-spot-editor__notice{margin:0;overflow-wrap:anywhere}
.ddb-spot-editor [aria-invalid=true]{border-color:var(--ui-color-danger)}

.ddb-product-hours { min-width:0; border-top:1px solid var(--ui-color-border); padding-top:var(--ui-space-sm); }
.ddb-product-hours h3 { font-size:var(--ui-text-md); margin:0 0 var(--ui-space-xs); }
.ddb-product-hours__row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:var(--ui-space-sm); align-items:end; padding-block:var(--ui-space-xs); }
.ddb-product-hours__row button { min-height:44px; }
@media(max-width:480px) { .ddb-product-hours__row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); } .ddb-product-hours__row button { grid-column:1/-1; justify-self:start; } }
