.hsz-unified-profile{--hsz-profile-accent:#087f80;background:#fff;border:1px solid #e1e9ec;border-top:5px solid var(--hsz-profile-accent);border-radius:24px;overflow:hidden;color:#18313e}
.hsz-unified-profile__header{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;padding:30px 32px 22px;align-items:start}
.hsz-unified-profile__header h1,.hsz-unified-profile__header h2{font-size:clamp(28px,4vw,44px);line-height:1.15;margin:8px 0 16px;overflow-wrap:anywhere}
.hsz-unified-profile__location{color:#526974;margin:0 0 18px}
.hsz-unified-profile__marks{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.hsz-unified-profile__category{background:color-mix(in srgb,var(--hsz-profile-accent) 9%,white);color:#18313e;border-left:3px solid var(--hsz-profile-accent);padding:14px 18px;border-radius:12px;margin:0}
.hsz-unified-profile .hsz-profile-badges{display:flex;flex-direction:column;align-items:flex-end;gap:8px;margin:0!important}
.hsz-unified-profile__actions{display:flex;flex-wrap:wrap;gap:10px}
.hsz-unified-profile__nav{display:flex;flex-wrap:wrap;gap:24px;padding:16px 32px;border-block:1px solid #e1e9ec}
.hsz-unified-profile__nav a{color:#526974;font-weight:700;text-decoration:none}
.hsz-unified-profile .hsz-profile-intro{display:flow-root!important;padding:28px 32px;margin:0!important}
.hsz-unified-profile .hsz-profile-photo{float:left;width:48%;margin:0 28px 18px 0!important}
.hsz-unified-profile .hsz-profile-photo img{display:block;width:100%;border-radius:18px;object-fit:cover;max-height:450px}
.hsz-unified-profile .hsz-profile-intro__text{display:block!important;padding:0!important;min-width:0}
.hsz-unified-profile .hsz-profile-intro__text h2{margin:8px 0 16px;font-size:28px}
.hsz-unified-profile .hsz-profile-intro__text p{white-space:normal;overflow-wrap:anywhere}
.hsz-unified-profile__description{padding:0 32px 28px}
.hsz-unified-profile__columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:32px;padding:0 32px 28px}
.hsz-unified-profile .hsz-profile-card,.hsz-unified-profile .hsz-profile-sidebar{min-width:0;margin:0!important}
.hsz-unified-profile .hsz-profile-sidebar{padding:22px!important;border:1px solid #e1e9ec;border-radius:16px;background:#f8fbfc}
.hsz-unified-profile .hsz-profile-map{margin:0!important;padding:28px 32px!important;border-top:1px solid #e1e9ec}
.hsz-unified-profile .hsz-profile-payments ul{padding-left:20px}
.hsz-profile-preview-notice{padding:14px 24px;margin:0;background:#eef8f6;font-size:14px}
.hsz-profile-preview-dialog{width:min(1160px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:16px;border:0;border-radius:20px;background:#f3f7f8;color:#18313e}
.hsz-profile-preview-dialog::backdrop{background:#09243199}
.hsz-profile-preview-dialog>button{display:block;margin:0 0 12px auto;padding:10px 16px;cursor:pointer}
.hsz-profile-preview-dialog [data-hsz-preview-result]{min-width:0}
.hsz-unified-profile [id]{scroll-margin-top:24px}
@media(min-width:701px) and (max-width:1000px){.hsz-unified-profile__header{grid-template-columns:minmax(0,1fr) 230px}.hsz-unified-profile__columns{grid-template-columns:1fr;gap:24px}.hsz-unified-profile .hsz-profile-sidebar{display:block;width:100%}.hsz-unified-profile .hsz-profile-photo{width:45%}}
@media(max-width:700px){.hsz-unified-profile__header{grid-template-columns:1fr;padding:22px 18px;gap:16px}.hsz-unified-profile__marks{align-items:flex-start}.hsz-unified-profile .hsz-profile-badges{flex-direction:row;flex-wrap:wrap;align-items:flex-start}.hsz-unified-profile__nav{padding:14px 18px;gap:18px}.hsz-unified-profile .hsz-profile-intro{padding:22px 18px}.hsz-unified-profile .hsz-profile-photo{float:none;width:100%;margin:0 0 20px!important}.hsz-unified-profile__description{padding:0 18px 22px}.hsz-unified-profile__columns{grid-template-columns:1fr;padding:0 18px 22px;gap:24px}.hsz-unified-profile .hsz-profile-map{padding:22px 18px!important;grid-template-columns:1fr}.hsz-profile-preview-dialog{padding:8px;width:calc(100vw - 12px)}}

.hsz-unified-profile--edit .hsz-editor-section{margin:0 0 24px}
.hsz-unified-profile--edit .hsz-profile-intro__text{display:flow-root!important;align-self:start}
.hsz-unified-profile--edit .hsz-profile-intro__text>label{display:block;font-weight:700}
.hsz-unified-profile--edit .hsz-profile-photo{min-height:280px;max-width:100%;box-sizing:border-box}
.hsz-unified-profile--edit .hsz-profile-photo input{max-width:100%;width:100%;box-sizing:border-box}
.hsz-unified-profile--edit .hsz-profile-map{display:block}
.hsz-unified-profile--edit .hsz-profile-map .hsz-form-grid{grid-template-columns:1fr}
.hsz-unified-profile--edit input:not([type=checkbox]),.hsz-unified-profile--edit textarea,.hsz-unified-profile--edit select{width:100%;max-width:100%;box-sizing:border-box}
.hsz-unified-profile--edit .hsz-unified-profile__description label{display:block;font-weight:700}
.hsz-unified-profile--edit .hsz-unified-profile__category{overflow-wrap:anywhere}
.hsz-unified-profile--edit .hsz-unified-profile__marks{min-width:0}
.hsz-unified-profile--edit .hsz-profile-sidebar fieldset{margin:24px 0 0;padding:14px;border:1px solid #c7dfdf;border-radius:12px}
@media(max-width:700px){.hsz-unified-profile--edit .hsz-profile-photo{min-height:220px}.hsz-unified-profile--edit .hsz-opening-day{grid-template-columns:1fr}.hsz-unified-profile--edit .hsz-service-editor-row__header{flex-wrap:wrap}}
.hsz-unified-profile__actions .hsz-button,.hsz-unified-profile .hsz-profile-intro__text>.hsz-button{background:#087f80!important;color:#fff!important;text-decoration:none!important;box-shadow:none!important}
.hsz-profile-preview-dialog>button{background:#fff!important;color:#18313e!important;border:1px solid #c7dfdf;box-shadow:none!important}
.hsz-profile-preview-context{display:block;margin:0 0 16px;font-weight:700}
.hsz-profile-preview-context[hidden]{display:none!important}
.hsz-profile-preview-context select{display:block;box-sizing:border-box;width:100%;max-width:100%;margin-top:6px;padding:10px;font:inherit;border:1px solid #c7dfdf;border-radius:10px;background:#fff;color:#18313e}
.hsz-profile-gallery{margin:28px 0;padding-top:24px;border-top:1px solid #dce6ed}
.hsz-profile-gallery__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hsz-profile-gallery__grid figure{margin:0;min-width:0}
.hsz-profile-gallery__grid figure button{display:block;width:100%}
.hsz-profile-gallery__grid figcaption{padding:8px 2px;color:#486273;font-size:.9rem;overflow-wrap:anywhere}
.hsz-profile-gallery__dialog [data-hsz-gallery-caption]{text-align:center;overflow-wrap:anywhere;max-width:760px;margin:12px auto 0}
.hsz-profile-gallery__grid button{border:0;padding:0;border-radius:12px;overflow:hidden;background:#eef4f6;cursor:pointer}
.hsz-profile-gallery__grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.hsz-profile-gallery__dialog{width:min(94vw,980px);max-width:none;max-height:94vh;padding:48px 20px 16px;border:0;border-radius:18px;background:#07182b;color:#fff}
.hsz-profile-gallery__dialog::backdrop{background:rgba(5,22,41,.75)}
.hsz-profile-gallery__dialog [data-hsz-gallery-close]{position:absolute;right:14px;top:8px;background:transparent;border:0;color:#fff;font-size:30px;min-width:44px;min-height:44px;cursor:pointer}
.hsz-profile-gallery__dialog img{display:block;width:auto;max-width:100%;max-height:70vh;object-fit:contain;margin:auto;touch-action:pan-y}
.hsz-profile-gallery__controls{display:flex;align-items:center;justify-content:center;gap:20px;padding-top:12px}
.hsz-profile-gallery__controls button{min-width:48px;min-height:44px;border:1px solid #7895a9;border-radius:9px;background:#102e44;color:#fff;cursor:pointer}
.hsz-profile-gallery button:focus-visible{outline:3px solid #16c5bc;outline-offset:3px}
@media(max-width:900px){.hsz-profile-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:550px){.hsz-profile-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hsz-profile-gallery__dialog{padding-left:10px;padding-right:10px}}

.hsz-editor-gallery figure{margin:0;min-width:0}.hsz-editor-gallery label{display:block;margin-top:8px}.hsz-editor-gallery input[type="text"]{width:100%;box-sizing:border-box}.hsz-editor-gallery>label{margin-top:20px}

.hsz-profile-offers { margin: 1.5rem 0; }
.hsz-profile-offers article, .hsz-profile-offers fieldset { border: 1px solid #d9e5e9; border-radius: 12px; padding: 1rem; margin: 0 0 1rem; }
.hsz-profile-offers h4 { margin: 0 0 .6rem; }
.hsz-profile-offers p { overflow-wrap: anywhere; }
.hsz-profile-offers label { display: block; margin: .75rem 0; }

.hsz-google-rating{margin-block:24px;padding:18px;border:1px solid #dce8ec;border-radius:16px;max-width:100%;overflow-wrap:anywhere}
.hsz-google-rating gmp-place-details-compact{display:block;width:100%;max-width:500px}
.hsz-google-rating [data-google-status]{font-size:.9rem}
.hsz-google-rating[data-google-state=failed] [data-google-status]{color:#a11c2a;background:#fff0f0;padding:12px;border-left:4px solid #bd202a}

/* One compact, phase-gated recruitment strip for national and city homes. */
.hsz-gathering-notice{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 20px;width:calc(100% - 40px);max-width:1180px;margin:12px auto;padding:12px 18px;border:0;border-radius:12px;background:#fdae0e;color:#051629;text-align:left}
.hsz-gathering-notice p{margin:0;padding:0;color:#051629;font-size:14px;line-height:1.5}
.hsz-gathering-notice__actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.hsz-gathering-notice__actions .hsz-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin:0;padding:7px 12px;border:1px solid #051629;border-radius:8px;background:#051629!important;color:#fff!important;font-size:12px;font-weight:700;line-height:1.3;text-decoration:none;box-shadow:none!important;white-space:nowrap;cursor:pointer}
.hsz-gathering-notice__actions button.hsz-button{background:transparent!important;color:#051629!important}
.hsz-gathering-notice__actions .hsz-button:focus-visible,.hsz-gathering-notice input:focus-visible{outline:2px solid #051629;outline-offset:3px}
.hsz-gathering-notice__link{display:block;width:100%;color:#051629;font-size:12px}
.hsz-gathering-notice__link[hidden]{display:none!important}
.hsz-gathering-notice__link input{box-sizing:border-box;display:block;width:100%;min-width:0;margin-top:4px;padding:6px 8px;border:1px solid #6c4a09;border-radius:6px;background:#fff;color:#051629;font-size:12px}
.hsz-gathering-notice [role=status]{flex-basis:100%;font-size:12px;line-height:1.3;color:#051629}
.hsz-gathering-notice [role=status]:empty{display:none}
.hsz-city-context-nav+.hsz-gathering-notice{width:100%;margin-bottom:0}
@media(max-width:850px){.hsz-gathering-notice{grid-template-columns:1fr;gap:10px;padding:12px 16px}.hsz-gathering-notice__actions{justify-content:flex-start}}
@media(max-width:480px){.hsz-gathering-notice{width:calc(100% - 24px);margin:10px auto;padding:12px}.hsz-gathering-notice p{font-size:13px}}
