.business-mark { width: 3.25rem; height: 3.25rem; }
.business-cover { height: 15rem; width: 100%; object-fit: cover; }
.business-ad-photo { height: 11rem; width: 100%; object-fit: cover; }
.business-table { min-width: 48rem; }
/* Jobs wrap in the page rather than creating an inner scroll area that clips menus. */
.business-table.business-jobs-table { min-width: 0; width: 100%; }
.business-jobs-table td:first-child { overflow-wrap: anywhere; }
.business-dialog { width: min(38rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); }
.business-dialog::backdrop { background: rgba(18,18,18,.5); }
.business-notice { z-index: 1100; width: max-content; max-width: calc(100% - 2rem); }
.business-copy { white-space: pre-line; }
[hidden] { display: none !important; }
.identity-avatar { width: 2.25rem; height: 2.25rem; }
.identity-avatar-lg { width: 4.5rem; height: 4.5rem; }
.identity-logo { width: 3.25rem; height: 3.25rem; }
.identity-logo-lg { width: 5.5rem; height: 5.5rem; }
.branding-banner-preview { width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }
.business-portal { --portal-accent: var(--color-burgundy); min-height: 100dvh; background: var(--lac-surface); }
.business-portal .text-accent { color: var(--portal-accent); }
.business-portal .btn-primary { --button-bg: var(--color-black); --button-border: var(--color-black); }
.business-portal a:not(.btn):not(.nav-link):not(.portal-brand):not(.dropdown-item) { color: var(--portal-accent); }
.business-portal .dropdown-item { color: var(--bs-body-color); }
.portal-sidebar { --bs-dark-rgb: 24, 24, 27; --bs-offcanvas-width: 17rem; --bs-offcanvas-bg: #18181b; --bs-offcanvas-color: #fff; background: #18181b; color: white; }
.portal-sidebar .nav { --bs-nav-link-color: #e4e4e7; --bs-nav-link-hover-color: #fff; --bs-nav-pills-link-active-bg: var(--portal-accent); --bs-nav-pills-link-active-color: #fff; }
.portal-sidebar .nav-link:hover { background: rgba(255,255,255,.08); }
.portal-sidebar .nav-link.active:hover { background: var(--portal-accent); }
.portal-main { min-width: 0; }
.portal-content { max-width: 110rem; }
.portal-banner { height: clamp(8rem, 16vw, 14rem); width: 100%; object-fit: cover; object-position: left center; background: #dbe3d8; }
.business-profile-banner { height: auto; aspect-ratio: 4 / 1; object-position: left center; }
.portal-logo-overlap { margin-top: -2.5rem; border: .3rem solid white; box-shadow: 0 .25rem 1rem rgba(0,0,0,.08); }
.portal-sidebar .portal-account-link { color: white !important; }
.portal-business-name { overflow-wrap: anywhere; }
/* Business setup uses Bootstrap for the steps and fields; these match public profile media proportions. */
.business-setup { max-width: 70rem; }
.business-setup-progress { --bs-progress-height: .375rem; }
.business-step-link { color: var(--bs-secondary-color); }
.business-step-link[aria-current="step"] { color: var(--portal-accent); }
.business-draft-banner { aspect-ratio: 4 / 1; }
.business-draft-logo { width: 5rem; height: 5rem; margin-top: -2.5rem; outline: .25rem solid white; }
.business-settings-accordion {
  --bs-accordion-active-bg: white;
  --bs-accordion-active-color: var(--bs-body-color);
  --bs-accordion-btn-focus-box-shadow: none;
}
.business-settings-accordion .accordion-button:focus-visible { outline: 2px solid var(--portal-accent); outline-offset: -3px; }
/* White editing panels and soft-gray controls separate editable fields from the page. */
.business-settings-edit-panel { background-color: var(--color-pure-white, #fff); }
.business-settings-edit-panel .form-control:not(:focus):not(:disabled):not([readonly]),
.business-settings-edit-panel .form-select:not(:focus):not(:disabled) {
  background-color: var(--color-light-gray, #f5f5f5);
}
.business-gallery-lightbox { max-width: min(60rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); }
.business-gallery-lightbox::backdrop { background: rgba(18,18,18,.65); }
.business-gallery-lightbox img { max-height: 75dvh; object-fit: contain; }
.business-gallery-view-image { max-height: 65dvh; object-fit: contain; }
@media (min-width: 992px) {
  .portal-sidebar { position: sticky; top: 0; width: 17rem; height: 100dvh; }
}

/* User-requested logo and header/footer-free portal shell. */
.business-portal-logo { width:11rem; max-width:100%; height:auto; }

/* Existing profiles can contain legacy service descriptions longer than a badge label. */
.business-setup [data-preview-service-slot],
.business-setup [data-service-slot] { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: left; }
