/* Hospora's shared, scoped product navigation and gateway shell. */
.hospora-gateway { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: #f5f6f3; color: #111614; font: 16px/1.5 system-ui, sans-serif; }
.hospora-gateway * { box-sizing: border-box; }
.hospora-gateway a { color: inherit; text-decoration: none; }
.hospora-gateway header, .hospora-gateway footer { display: flex; justify-content: space-between; align-items: center; padding: 20px max(24px, calc((100vw - 1120px)/2)); gap: 24px; }
.hospora-gateway header { border-bottom: 1px solid #e2e8e4; font-size: 14px; }
.hospora-gateway .hospora-wordmark { font-size: 21px; letter-spacing: -.06em; font-weight: 750; color: var(--hospora-brand-text); }
.hospora-gateway main { width: min(100% - 48px, 1120px); margin: auto; padding: 100px 0; }
.hospora-gateway .eyebrow { color: var(--hospora-brand-text); font-weight: 650; font-size: 13px; text-transform: uppercase; letter-spacing: .11em; }
.hospora-gateway h1 { margin: 12px 0 8px; font-size: clamp(48px, 9vw, 108px); line-height: 1; letter-spacing: -.065em; }
.hospora-gateway main > p:not(.eyebrow) { max-width: 56ch; color: #56615c; }
.hospora-gateway nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 40px; }
.hospora-gateway .primary { display: inline-flex; align-items: center; padding: 14px 22px; background: var(--hospora-brand); color: var(--hospora-on-brand); border-radius: 12px; font-weight: 650; }
.hospora-gateway .primary:hover { filter: brightness(.9); }
.hospora-gateway .secondary:hover, .hospora-gateway footer a:hover { text-decoration: underline; }
.hospora-gateway .footnote { font-size: 13px; margin-top: 36px; }
.hospora-gateway footer { border-top: 1px solid #e2e8e4; font-size: 13px; color: #56615c; }
.hospora-gateway a:focus-visible, .hospora-shell a:focus-visible, .hospora-shell summary:focus-visible { outline: 3px solid var(--hospora-brand, #0b7a57); outline-offset: 3px; }

.hospora-shell { box-sizing: border-box; position: relative; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 8px 24px; background: #111614; color: #fff; font: 500 13px/1.4 system-ui, sans-serif; }
.hospora-shell * { box-sizing: border-box; }
.hospora-shell a, .hospora-shell button { color: inherit; text-decoration: none; }
.hospora-shell a:hover { background-color: transparent; }
.hospora-shell__brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.hospora-shell__mark { display: inline-block; width: 20px; height: 20px; border-radius: 6px; background: var(--hospora-brand, #0b7a57); }
.hospora-shell__brand strong { font-size: 16px; letter-spacing: -.05em; }
.hospora-shell__nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; }
.hospora-shell__nav a { opacity: .8; }
.hospora-shell__nav a:hover, .hospora-shell__nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--hospora-brand, #0b7a57); text-underline-offset: 5px; }
.hospora-shell__org { color: #c8d2cc; }
.hospora-shell__account { position: relative; flex: none; }
.hospora-shell__account summary { cursor: pointer; list-style: none; padding: 6px 9px; border: 1px solid #4c5550; border-radius: 8px; }
.hospora-shell__account summary::-webkit-details-marker { display: none; }
.hospora-shell__account[open] { background: #111614; }
.hospora-shell__account[open] a { position: absolute; right: 0; z-index: 1; display: block; min-width: 170px; padding: 10px 12px; background: #111614; border: 1px solid #4c5550; text-decoration: none; white-space: nowrap; }
.hospora-shell__account[open] a:first-of-type { top: 31px; border-radius: 8px 8px 0 0; }
.hospora-shell__account[open] a:last-of-type { top: 68px; border-radius: 0 0 8px 8px; }
.hospora-shell__account[open] a:hover { background: #2b3330; }
@media (max-width: 700px) {
  .hospora-shell { padding: 10px 16px; flex-wrap: wrap; }
  .hospora-shell__brand { margin-right: auto; }
  .hospora-shell__org { display: none; }
  .hospora-shell__nav { order: 3; flex-basis: 100%; justify-content: flex-start; gap: 16px; }
}

/* Gateway: organisation picker on a product's own address (time.hospora.app, ...). */
.hospora-gateway form.gateway-org { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; max-width: 560px; }
.hospora-gateway form.gateway-org label { flex-basis: 100%; font-size: 14px; font-weight: 600; }
.hospora-gateway form.gateway-org .gateway-field { flex: 1 1 260px; display: flex; align-items: stretch; border: 1px solid #c9d3cd; border-radius: 12px; background: #fff; overflow: hidden; }
.hospora-gateway form.gateway-org .gateway-field span { display: grid; place-items: center; padding: 0 0 0 14px; color: #56615c; font-size: 14px; white-space: nowrap; }
.hospora-gateway form.gateway-org input { flex: 1; min-width: 0; border: 0; padding: 14px 14px 14px 2px; font: inherit; background: transparent; color: inherit; }
.hospora-gateway form.gateway-org input:focus-visible { outline: none; }
.hospora-gateway form.gateway-org .gateway-field:focus-within { outline: 3px solid var(--hospora-brand, #0b7a57); outline-offset: 2px; }
.hospora-gateway form.gateway-org button { font: inherit; border: 0; cursor: pointer; }
.hospora-gateway ul.gateway-orgs { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 10px; max-width: 560px; }
.hospora-gateway ul.gateway-orgs a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #fff; border: 1px solid #e2e8e4; border-radius: 14px; font-weight: 600; }
.hospora-gateway ul.gateway-orgs a:hover { border-color: var(--hospora-brand, #0b7a57); }
.hospora-gateway ul.gateway-orgs small { font-weight: 500; color: #56615c; }
.hospora-gateway .gateway-logo { height: 28px; width: auto; max-width: 140px; object-fit: contain; border-radius: 6px; }
.hospora-gateway .gateway-error { color: #b42318; margin-top: 16px; font-size: 14px; }
