#bcp-public .koast-heading { align-items: start; margin-block: 12px 28px; }
#bcp-public.koast-property .bcp-property { padding-top: clamp(14px, 2vw, 30px); }
#bcp-public.koast-property .bcp-gallery { margin-bottom: 24px; }
#bcp-public.koast-property .bcp-gallery-track { height: clamp(380px, 43vw, 580px); border-radius: 12px; }
#bcp-public.koast-property .bcp-gallery-track > button:nth-child(2):last-child { grid-row: 1 / span 2; }
#bcp-public .koast-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
#bcp-public .koast-tag, .koast-pill { display: inline-flex; width: fit-content; padding: 4px 10px; border: 1px solid #99b1ac; border-radius: 20px; background: #e9f1ed; color: #294c49; font-size: 12px; font-weight: 800; line-height: 1.35; }
#bcp-public .koast-status { border-color: #b9c0ba; background: #f1f2ef; color: #414a44; }
#bcp-public .koast-tags small { color: var(--bcp-muted); font-size: 12px; }
#bcp-public .koast-price-panel { display: grid; justify-items: start; gap: 10px; min-width: min(100%, 245px); padding: 20px 24px; border-radius: 12px; border: 1px solid #c5ceca; background: linear-gradient(136deg, #f7f8f6, #edf1ef); }
#bcp-public .koast-price-panel .bcp-property-price { margin: 0; color: #244d51; font-size: clamp(24px, 2.6vw, 36px); white-space: normal; }
#bcp-public .koast-price-panel .koast-schedule { margin-top: 4px; min-width: 100%; }
#bcp-public .koast-currency { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; }
#bcp-public .koast-currency select { width: auto; padding: 4px 12px; min-height: 36px; }
#bcp-public .koast-rate { margin: 0; max-width: 37ch; color: #486161; font-size: 12px; }
#bcp-public .koast-overview { margin-block: 0 32px; }
#bcp-public .koast-overview .bcp-fact-grid { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; margin: 0; }
#bcp-public .koast-overview .bcp-fact-grid > div { padding: 16px; border: 1px solid #c8d0cc; border-radius: 9px; background: #f2f4f1; }
#bcp-public .koast-fact-icon { display: block; margin-bottom: 8px; color: #365d65; }
#bcp-public .koast-fact-icon svg, #bcp-public .koast-zone-caption svg { width: 24px; height: 24px; }
#bcp-public .koast-zone-caption { display: flex; gap: 8px; align-items: center; color: #314e51; }
#bcp-public .koast-zone-caption svg { flex: none; }
#bcp-public .koast-contact-summary { border-radius: 12px; }
#bcp-public .koast-contact-summary h2 { margin-bottom: 14px; }
#bcp-public .koast-contact-summary .koast-form > .bcp-button { width: 100%; }
#bcp-public.koast-property .bcp-property-layout { gap: clamp(27px, 5vw, 65px); }
#bcp-public.koast-property .bcp-information { scroll-margin-top: 115px; }
#bcp-public.koast-property .bcp-information:first-child { padding-top: 0; }
#bcp-public .koast-mobile-actions { display: none; }
.koast-form { display: grid; gap: 12px; }
.koast-form [hidden], #bcp-public [hidden], .koast-team [hidden] { display: none !important; }
.koast-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; }
.koast-form label span { font-weight: 600; }
.koast-form input:not([type="radio"]), .koast-form select, .koast-form textarea, .koast-invite-output input,
#bcp-public .koast-currency select { box-sizing: border-box; width: 100%; min-height: 43px; padding: 8px 11px; border: 1px solid #aebbb4; border-radius: 6px; background: #fff; color: #282929; font: inherit; font-weight: 500; }
.koast-form input:focus-visible, .koast-form select:focus-visible, .koast-form textarea:focus-visible { border-color: #365d65; outline: 2px solid #365d65; outline-offset: 1px; }
.koast-form button:disabled { opacity: .56; cursor: not-allowed; }
.koast-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.koast-feedback { margin: 0; padding: 10px 12px; border: 1px solid #a8c1b4; border-radius: 6px; background: #ecf5ef; color: #245041; font-size: 14px; }
.koast-feedback.is-error { border-color: #dba39a; background: #fceeda; color: #7e2d26; }
#bcp-public .koast-visit-dialog { position: fixed; inset: 0; width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - 28px); margin: auto; padding: 0; overflow: auto; border: 1px solid #bfcac4; border-radius: 14px; background: #f6f8f5; color: #282929; box-shadow: 0 24px 80px #111a; }
#bcp-public .koast-visit-dialog::backdrop { background: #1d2428a6; backdrop-filter: blur(3px); }
#bcp-public .koast-dialog-inner { padding: clamp(18px, 5vw, 33px); }
#bcp-public .koast-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
#bcp-public .koast-dialog-heading h2 { font-size: clamp(24px, 4vw, 35px); margin: 0; }
#bcp-public .koast-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #bac6bf; background: #e6eeea; color: #203e42; }
#bcp-public .koast-close svg { width: 21px; height: 21px; }
#bcp-public .koast-slot-group { min-width: 0; padding: 0; border: 0; margin: 0; }
#bcp-public .koast-slot-group legend { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
#bcp-public .koast-slot-group p { margin: 3px 0; font-size: 13px; color: #4b5e55; }
#bcp-public .koast-slots { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
#bcp-public .koast-slots label { display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 4px; min-height: 43px; padding: 5px 7px; border: 1px solid #bac6bf; border-radius: 7px; background: #fff; cursor: pointer; color: #203e42; }
#bcp-public .koast-slots label:has(:checked) { background: #dcf0e9; border-color: #365d65; }
#bcp-public .koast-slots input { flex: none; width: 13px; height: 13px; margin: 0; accent-color: #365d65; }
#bcp-public .koast-slots .is-reserved { background: #fbe7e4; border-color: #dfaaa2; color: #8c2626; cursor: not-allowed; }
#bcp-public .koast-slots .is-reserved small { width: 100%; padding-inline-start: 2px; font-size: 10px; }
#bcp-public .koast-visit-confirmation { margin-top: 15px; padding: 15px; border: 1px solid #a8c1b4; border-radius: 8px; color: #254f40; background: #edf4ef; }
.koast-team { font-family: Manrope, Arial, sans-serif; }
.koast-team-heading { margin: 12px 0 22px; }
.koast-team-heading h1 { font-size: clamp(31px, 5vw, 53px); }
.koast-panel { padding: clamp(16px, 3vw, 29px); margin: 20px 0; border: 1px solid #bfc9c3; border-radius: 10px; background: #f7f8f5; color: #282929; }
.koast-panel h2 { margin: 0 0 12px; font-size: clamp(18px, 2.6vw, 25px); }
.koast-profile-team { margin-top: 27px; }
.koast-registration { max-width: 590px; }
.koast-registration button { justify-self: start; }
.koast-inline-form { grid-template-columns: minmax(160px, 2fr) minmax(0, auto); align-items: end; }
.koast-inline-form:has(label:nth-of-type(2)) { grid-template-columns: minmax(155px, 1fr) minmax(165px, 2fr) auto; }
.koast-inline-form .bcp-button { min-height: 43px; }
.koast-row { display: flex; flex-wrap: wrap; gap: 10px; }
.koast-note { color: #58675e; font-size: 13px; }
.koast-visit-row-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.koast-visit-row-head .koast-note { margin: 0 0 5px; }
.koast-pill.is-cancelled { border-color: #e2adab; background: #f8ebe8; color: #8b3535; }
.koast-review-info { display: grid; grid-template-columns: repeat(auto-fit,minmax(155px, 1fr)); gap: 10px; padding: 12px 0; }
.koast-review-info dt { color: #4c6254; font-weight: 700; font-size: 13px; }
.koast-review-info dd { margin: 0; overflow-wrap: anywhere; }
.koast-request-list { list-style: none; padding: 0; margin: 0; }
.koast-request-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #c9d1cd; padding: 12px 0; }
.koast-request-list small { display: block; overflow-wrap: anywhere; }
.koast-invite-output { display: grid; gap: 7px; font-size: 14px; font-weight: 700; margin-top: 14px; }
.koast-invite-output button { justify-self: start; }
.koast-panel summary { cursor: pointer; font-weight: 800; }
.koast-panel details form { margin-top: 12px; max-width: 850px; }
.koast-hour-settings { max-width: 800px; }
.koast-hour-settings button { justify-self: start; }
.koast-panel .koast-cancel { color: #923838; }

@media (max-width: 800px) {
    #bcp-public .koast-heading { display: grid; gap: 16px; }
    #bcp-public .koast-price-panel { width: 100%; box-sizing: border-box; }
    #bcp-public.koast-property .bcp-property-layout { display: block; }
    #bcp-public .koast-contact-summary { margin-block: 25px; }
    #bcp-public .koast-mobile-actions { position: fixed; z-index: 990; inset: auto 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px max(8px, env(safe-area-inset-bottom)); background: #eef1edf5; border-top: 1px solid #bcc8c0; box-shadow: 0 -4px 16px #26342a13; }
    #bcp-public .koast-mobile-actions .bcp-button { flex: 1 1 0; padding-inline: 8px; margin: 0; }
    #bcp-public.koast-property .bcp-footer { padding-bottom: calc(65px + env(safe-area-inset-bottom)); }
    #bcp-public.koast-property .bcp-gallery-track { display: flex; gap: 8px; height: clamp(245px, 60vw, 420px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; }
    #bcp-public.koast-property .bcp-gallery-track > button:nth-child(n) { display: block; flex: 0 0 100%; scroll-snap-align: start; }
    #bcp-public .koast-overview .bcp-fact-grid { grid-template-columns: repeat(auto-fit, minmax(123px, 1fr)); }
    .koast-inline-form, .koast-inline-form:has(label:nth-of-type(2)) { grid-template-columns: 1fr; }
    .koast-team .bcp-nav { flex-wrap: wrap; gap: 7px 13px; }
}
@media (prefers-reduced-motion: no-preference) {
    #bcp-public .bcp-button { transition: background-color .18s, border-color .18s, box-shadow .18s; }
    #bcp-public .koast-visit-dialog[open] { animation: koast-open .22s ease-out; }
    @keyframes koast-open { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
