/* One short row of account controls, centred over the main navigation. */
#horizon-booking-demo.hq-compact-header .hd-top.hq-header{display:grid;grid-template-columns:220px minmax(0,1fr) auto 300px;align-items:center;gap:12px;min-height:88px;padding:8px 20px 8px 32px}
#horizon-booking-demo.hq-compact-header .hd-top .hd-brand{width:220px;min-width:0;flex:none;margin:0;grid-column:1;grid-row:1}
#horizon-booking-demo.hq-compact-header .hd-top .hq-nav-stack{grid-column:2;grid-row:1;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:4px;min-width:0;position:relative;z-index:3}
#horizon-booking-demo.hq-compact-header .hd-top .hq-nav-stack .hd-nav{display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:2px;margin:0;padding:0;min-width:0;width:auto;grid-column:auto;grid-row:auto;flex:none;border:0;order:0}
#horizon-booking-demo.hq-compact-header .hd-top .hq-nav-stack .hd-nav button{padding:7px 8px;min-height:32px;font-size:11px;white-space:nowrap;flex:0 1 auto}
#horizon-booking-demo.hq-compact-header .hd-top .hq-nav-stack .hd-nav .hd-nav-icon{display:none!important}
#horizon-booking-demo.hq-compact-header .hq-nav-tools{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
#horizon-booking-demo.hq-compact-header .hq-nav-tools .hb-profile-controls{display:flex;align-items:center;justify-content:center;gap:5px;grid-column:auto;width:168px;min-width:0;margin:0;padding:0 5px;border:1px solid #8d9fb944;border-radius:7px;background:#ffffff08}
#horizon-booking-demo.hq-compact-header .hq-nav-tools .hb-profile-controls>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#horizon-booking-demo.hq-compact-header .hq-nav-tools .hb-profile-controls select{flex:1;min-width:0;max-width:none;width:120px;height:28px;min-height:28px;padding:3px 0;font-size:11px;border:0;background:transparent;box-shadow:none;color:inherit}
#horizon-booking-demo.hq-compact-header .hq-nav-tools .hb-profile-controls button{flex:none;min-height:24px;min-width:18px;padding:0;font-size:13px;line-height:1}
#horizon-booking-demo.hq-compact-header .hq-session-tools{display:flex;align-items:center;gap:5px;flex:none;margin-left:auto}
#horizon-booking-demo.hq-compact-header .hq-session-tools>.hd-text-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:26px;padding:3px 5px;font-size:10px;white-space:nowrap;border:0;background:transparent;color:inherit}
#horizon-booking-demo.hq-compact-header .hq-session-tools>.hd-text-action svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#horizon-booking-demo.hq-compact-header .hd-top .hq-header-utilities{display:flex;grid-column:3;grid-row:1;align-items:center;justify-content:center;gap:7px;margin:0;order:0;align-self:center}
#horizon-booking-demo.hq-compact-header .hd-top .hd-session-bar.hq-account-card{grid-column:4;grid-row:1;width:300px;min-width:0;max-width:none;margin:0;padding:6px 8px;gap:4px;order:0;align-self:center}
#horizon-booking-demo.hq-compact-header .hd-top .hq-account-identity{min-height:22px;gap:6px}
#horizon-booking-demo.hq-compact-header .hd-top .hq-account-avatar{width:23px;height:23px;font-size:9px}
#horizon-booking-demo.hq-compact-header .hd-top .hd-session-name{max-width:none;font-size:10px}
#horizon-booking-demo.hq-compact-header .hd-top .hw-switch-trigger{margin:0;padding:4px 6px;font-size:10px;min-height:26px}
#horizon-booking-demo.hq-compact-header .hd-top .hd-live-notice:empty{display:none}
#horizon-booking-demo.hq-compact-header .hd-top .hq-title{font-size:29px}
#horizon-booking-demo.hq-compact-header .hd-top .hq-subtitle{font-size:8px;letter-spacing:2.3px}
#horizon-booking-demo.hq-compact-header .hd-top .hq-badge{width:43px;height:43px;min-width:43px;font-size:19px}
#horizon-booking-demo.hq-compact-header .hd-top .hq-wordmark{gap:10px;padding:0}
#horizon-booking-demo.hq-compact-header .hd-top .ha-brand-monogram{font-size:49px}
#horizon-booking-demo.hq-compact-header .hd-top .ha-brand-byline{font-size:8px}
#horizon-booking-demo.hq-compact-header[data-horizon-profile=obsidian] .hd-top .hq-mode-mark{width:32px;height:32px}
#horizon-booking-demo.hq-compact-header[data-horizon-profile=obsidian] .hd-top .hq-title{font-size:25px}
#horizon-booking-demo.hq-compact-header[data-horizon-profile=obsidian] .hd-top .hq-wordmark{gap:7px}
/* Slot identity, travel legs and action share the width instead of long paragraphs. */
#horizon-booking-demo .hd-recommendation .hd-rec-result{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:11px 14px}
#horizon-booking-demo .hd-rec-content{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:14px;align-items:center;min-width:0}
#horizon-booking-demo .hd-rec-identity{min-width:0}
#horizon-booking-demo .hd-rec-identity .hd-eyebrow{font-size:10px;line-height:1.4;margin:0 0 3px}
#horizon-booking-demo .hd-rec-identity .hd-rec-rank{font-size:11px;line-height:1.4;margin:0 0 4px}
#horizon-booking-demo .hd-rec-identity h3{font-size:14px;line-height:1.4;margin:0 0 3px}
#horizon-booking-demo .hd-rec-identity .hd-rec-meta{font-size:11px;line-height:1.4;margin:0;color:var(--hd-secondary)}
#horizon-booking-demo .hd-rec-result .hd-book{padding:8px 11px;font-size:11px;min-height:34px;white-space:nowrap}
#horizon-booking-demo .hd-travel-summary{display:grid;gap:5px;min-width:0;font-size:12px;line-height:1.4;margin:0}
#horizon-booking-demo .hd-travel-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
#horizon-booking-demo .hd-travel-heading>strong{font-size:11px}
#horizon-booking-demo .hd-travel-credit{font-size:9px;color:var(--hd-muted,var(--hd-secondary));white-space:normal}
#horizon-booking-demo .hd-travel-credit a{color:inherit;text-underline-offset:2px}
#horizon-booking-demo .hd-travel-legs{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}
#horizon-booking-demo .hd-travel-leg{display:grid;grid-template-columns:205px minmax(0,1fr);align-items:baseline;gap:10px;min-width:0;padding:4px 8px;border:1px solid var(--hd-line);border-radius:6px;background:color-mix(in srgb,var(--hd-fg) 3%,transparent)}
#horizon-booking-demo .hd-travel-leg-headline{display:grid;grid-template-columns:135px 70px;align-items:baseline;gap:0;justify-content:start}
#horizon-booking-demo .hd-travel-leg-label{font-size:12px;font-weight:600;color:#f493c5}
#horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight]) .hd-travel-leg-label{color:#b32a69}
#horizon-booking-demo .hd-travel-leg-headline>strong{font-size:14px;line-height:1.3;font-weight:650;white-space:nowrap;color:var(--hd-fg)}
#horizon-booking-demo .hd-travel-route{font-size:11px;text-align:left;overflow-wrap:anywhere;min-width:0;color:var(--hd-secondary)}
#horizon-booking-demo .hd-slot-alternatives .hd-engineer-choice{display:flex;flex:0 1 300px;width:300px;max-width:300px;min-width:0;padding:0;border-radius:8px;overflow:hidden}
#horizon-booking-demo .hd-slot-alternatives .hd-engineer-choice[data-active=true]{border-color:var(--hd-action);box-shadow:inset 0 0 0 1px var(--hd-action)}
#horizon-booking-demo .hd-slot-alternatives .hd-engineer-choice .hd-engineer-slot{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:3px 3px;align-items:center;flex:1;min-width:0;width:auto;max-width:none;min-height:54px;padding:8px 0 8px 10px;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit}
#horizon-booking-demo .hd-engineer-choice .hd-engineer-slot>strong,#horizon-booking-demo .hd-engineer-choice .hd-engineer-slot>span:not(.hd-slot-next-arrow){grid-column:1;text-align:left}
#horizon-booking-demo .hd-engineer-choice .hd-engineer-slot .hd-slot-next-arrow{grid-column:2;grid-row:1/3;display:grid;place-items:center;align-self:stretch;width:32px;line-height:1;padding:0}
#horizon-booking-demo .hd-slot-next-arrow svg{display:block;width:22px;height:30px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
#horizon-booking-demo .hd-engineer-choice .hd-engineer-slot-back{display:grid;place-items:center;flex:none;width:32px;align-self:stretch;padding:0;border:0;border-right:1px solid var(--hd-line);border-radius:0;background:transparent;color:inherit;font-family:inherit;font-size:24px;font-weight:400;line-height:1;cursor:pointer}
#horizon-booking-demo .hd-engineer-choice .hd-engineer-slot-back:disabled{opacity:.4;cursor:default}
#horizon-booking-demo .hd-engineer-choice button:not(:disabled):hover{background:color-mix(in srgb,currentColor 7%,transparent)}
html body.hd-booking-layout-lock{padding-block:0}
#horizon-booking-demo.hd-booking-layout.hd-editing{box-sizing:border-box;min-height:100dvh}
#horizon-booking-demo.hd-booking-layout.hd-editing .hd-booking-confirmation>.hd-dialog-actions{position:static;display:flex;justify-content:flex-end;gap:8px;flex:none;padding:0;margin:8px 0 0;border:0;background:transparent}
@media(min-width:1000px) and (max-height:780px){
 #horizon-booking-demo.hd-booking-layout.hd-editing #hd-booking-form #hd-booking-title{height:48px;min-height:48px}
 #horizon-booking-demo.hd-booking-layout.hd-editing #hd-booking-form #hd-booking-confirmation{height:160px;min-height:160px}
 #horizon-booking-demo.hd-booking-layout.hd-editing .hd-booking-editor-grid{padding-bottom:0}
 #horizon-booking-demo.hd-booking-layout.hd-editing .hd-editor-workspace{margin-bottom:4px}
}
@media(max-width:1180px){
 #horizon-booking-demo.hq-compact-header .hd-top.hq-header{grid-template-columns:200px minmax(0,1fr) 300px;gap:7px 12px;padding:8px 18px}
 #horizon-booking-demo.hq-compact-header .hd-top .hd-brand{width:200px}
 #horizon-booking-demo.hq-compact-header[data-horizon-profile=obsidian] .hd-top .hq-title{font-size:23px}
 #horizon-booking-demo.hq-compact-header[data-horizon-profile=obsidian] .hd-top .hq-mode-mark{width:28px;height:28px}
 #horizon-booking-demo.hq-compact-header[data-horizon-profile=obsidian] .hd-top .hq-badge{width:39px;min-width:39px;height:39px}
 #horizon-booking-demo.hq-compact-header .hd-top .hq-header-utilities{grid-column:2;grid-row:1;justify-content:center}
 #horizon-booking-demo.hq-compact-header .hd-top .hd-session-bar.hq-account-card{grid-column:3;grid-row:1}
 #horizon-booking-demo.hq-compact-header .hd-top .hq-nav-stack{grid-column:1/-1;grid-row:2}
 #horizon-booking-demo .hd-rec-content{grid-template-columns:minmax(190px,240px) minmax(0,1fr);gap:14px}
}
@media(max-width:700px){
 #horizon-booking-demo .hd-rec-content{grid-template-columns:minmax(0,1fr);gap:10px}
 #horizon-booking-demo .hd-recommendation .hd-rec-result{grid-template-columns:minmax(0,1fr);gap:10px}
 #horizon-booking-demo .hd-rec-result .hd-book{justify-self:start}
 #horizon-booking-demo .hd-travel-leg{grid-template-columns:minmax(0,1fr);gap:2px}
}
@media(max-width:540px){
 #horizon-booking-demo.hq-compact-header .hd-top.hq-header{grid-template-columns:minmax(0,1fr) 150px;gap:8px;padding:8px 12px}
 #horizon-booking-demo.hq-compact-header .hd-top .hd-brand{width:auto}
 #horizon-booking-demo.hq-compact-header .hd-top .hq-title{font-size:22px}
 #horizon-booking-demo.hq-compact-header .hd-top .hq-subtitle{font-size:6px;letter-spacing:1.5px}
 #horizon-booking-demo.hq-compact-header .hd-top .hq-badge{width:33px;height:33px;min-width:33px;font-size:15px}
 #horizon-booking-demo.hq-compact-header .hd-top .hq-wordmark{gap:6px}
 #horizon-booking-demo.hq-compact-header[data-horizon-profile=obsidian] .hd-top .hq-title{font-size:22px}
 #horizon-booking-demo.hq-compact-header[data-horizon-profile=obsidian] .hd-top .hq-mode-mark{width:24px;height:24px}
 #horizon-booking-demo.hq-compact-header[data-horizon-profile=obsidian] .hd-top .hq-badge{width:33px;min-width:33px;height:33px}
 #horizon-booking-demo.hq-compact-header .hd-top .hd-session-bar.hq-account-card{grid-column:2;grid-row:1;width:150px;padding:5px 6px}
 #horizon-booking-demo.hq-compact-header .hd-top .hq-account-identity{display:grid;grid-template-columns:23px minmax(0,1fr);gap:4px}
 #horizon-booking-demo.hq-compact-header .hd-top .hq-session-tools{grid-column:1/-1;margin:0;justify-content:space-between}
 #horizon-booking-demo.hq-compact-header .hd-top .hq-nav-stack{grid-column:1/-1;grid-row:2}
 #horizon-booking-demo.hq-compact-header .hd-top .hq-nav-stack .hd-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:2px}
 #horizon-booking-demo.hq-compact-header .hd-top .hq-nav-stack .hd-nav button{width:100%;justify-content:center;min-height:30px;font-size:11px;padding:6px}
 #horizon-booking-demo.hq-compact-header .hd-top .hq-header-utilities{grid-column:1/-1;grid-row:3;justify-content:flex-end}
 #horizon-booking-demo.hq-compact-header .hq-nav-tools{gap:5px}
 #horizon-booking-demo.hq-compact-header .hq-nav-tools .hb-profile-controls{width:164px}
}
