
:root{
  --bg:#0E1116; --surface:#161B22; --surface2:#1C232D; --surface3:#222B36;
  --border:#2A3441; --border2:#374151;
  --text:#E6EAF0; --text2:#9AA4B2; --text3:#8A93A3;  /* was #6B7480 — 3.48:1 on --surface3, 3.99:1 on --bg */
  --gold:#B06E3E; --gold-dim:#6E3F22;          /* Concept Plus copper */
  --teal:#C98E5A; --teal-dim:#7A4E2E;          /* light copper (secondary) */
  --copper:#9A5A30;
  --blue:#3B82F6; --green:#22C55E; --amber:#F59E0B; --red:#EF4444; --purple:var(--cp-accent-ink);
  --radius:12px; --radius-sm:8px;
}
:root[data-theme="light"]{
  --bg:#F4F6FA; --surface:#FFFFFF; --surface2:#F1F4F9; --surface3:#E7ECF3;
  --border:#DCE3EC; --border2:#C6D0DC;
  --text:#141A22; --text2:#4A5666; --text3:#505A68;  /* 3.95:1 on the warm partner card */
  --gold:#9A5A30; --gold-dim:#E7D3C4;
  --teal:#B0704A; --teal-dim:#E7D6C7;
  --copper:#9A5A30;
  --blue:#2563EB; --green:#16A34A; --amber:#D97706; --red:#DC2626; --purple:#7C3AED;
}
html{color-scheme:dark}
html[data-theme="light"]{color-scheme:light}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:var(--ui-font-text);background:var(--bg);color:var(--text);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--ui-font-display);font-weight:600;letter-spacing:-0.02em}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
.hidden{display:none !important}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:var(--border2);border-radius:4px}
::-webkit-scrollbar-track{background:transparent}
/* Clean PDF of the Accounting tab — hide app chrome so only the report prints. */
@media print{
  body.print-accounting .sidebar,body.print-accounting #cp-cursor,body.print-accounting .noprint,
  body.print-accounting [onclick*="Support"],body.print-accounting [data-on-click*="Support"],body.print-accounting .lang-switch{display:none!important}
  /* Floating widgets (support/translate) must never block content: dim until hovered, high-but-bounded z-index, small footprint */
  .lang-switch,[id*="support-fab"],[class*="support-fab"]{z-index:120!important;opacity:.5;transition:opacity .2s,transform .2s;transform:scale(.92)}
  .lang-switch:hover,[id*="support-fab"]:hover,[class*="support-fab"]:hover{opacity:1;transform:scale(1)}
  .lang-switch{pointer-events:auto;max-width:56px;overflow:hidden;border-radius:24px}.lang-switch:hover{max-width:none}
  body.print-accounting .app{display:block!important}
  body.print-accounting #admin-content{display:block!important;width:100%!important;padding:0!important}
}

/* ===== SCREEN SYSTEM ===== */
.screen{display:none;min-height:100vh}
.screen.active{display:block}

/* ===== BUTTONS ===== */
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:var(--radius-sm);font-weight:500;font-size:14px;transition:transform .12s cubic-bezier(.2,.7,.2,1),filter .15s,background .15s,border-color .15s,box-shadow .15s;white-space:nowrap}
.btn:active{transform:translateY(1px) scale(.985)}
.btn-gold{background:linear-gradient(135deg,#C17B45,#8E5226);color:#FBEFE3;box-shadow:0 1px 0 rgba(255,255,255,.08) inset,0 4px 14px rgba(176,110,62,.28)}
.btn-gold:hover{filter:brightness(1.08);box-shadow:0 1px 0 rgba(255,255,255,.12) inset,0 6px 20px rgba(176,110,62,.42)}
/* Ghost buttons: clearly visible track + copper hover so every action reads as a control */
.btn-ghost{border:1px solid var(--border2);background:var(--surface2);color:var(--text)}
.btn-ghost:hover{background:var(--surface3);border-color:var(--gold-dim);color:#F0D9C4;box-shadow:0 4px 14px rgba(0,0,0,.32)}
.btn-sm{padding:6px 12px;font-size:13px}
.btn-teal{background:var(--teal-dim);color:#F6E6D4}
.btn-teal:hover{filter:brightness(1.15)}

/* ===== SWITCH (universal toggle) ===== */
.switch{position:relative;display:inline-flex;align-items:center;width:42px;height:24px;border-radius:99px;background:var(--surface3);border:1px solid var(--border2);cursor:pointer;flex:0 0 auto;transition:background .2s,border-color .2s;vertical-align:middle}
.switch::after{content:'';position:absolute;top:50%;left:3px;width:16px;height:16px;border-radius:50%;background:var(--text2);transform:translateY(-50%);transition:transform .2s cubic-bezier(.2,.7,.2,1),background .2s;box-shadow:0 1px 3px rgba(0,0,0,.45)}
.switch:hover{border-color:var(--gold-dim)}
.switch.on{background:linear-gradient(135deg,#C17B45,#8E5226);border-color:var(--gold)}
.switch.on::after{transform:translate(18px,-50%);background:#FBEFE3}
.switch.on.green{background:linear-gradient(135deg,#22C55E,#15803D);border-color:#22C55E}
.switch:active::after{width:19px}
/* Icon toggles (access matrix, agents): off-state stays clearly visible + dynamic hover */
.tgl{cursor:pointer;font-size:22px;line-height:1;display:inline-flex;transition:color .15s,transform .12s cubic-bezier(.2,.7,.2,1)}
.tgl:hover{transform:scale(1.14)}
.tgl.on{color:var(--green);filter:drop-shadow(0 0 6px rgba(34,197,94,.45))}
.tgl.off{color:var(--text2)}
.tgl.off:hover{color:var(--gold)}

/* ===== LANDING ===== */
.lp-nav{position:fixed;top:0;left:0;right:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:18px 48px;backdrop-filter:blur(12px);background:color-mix(in srgb, var(--bg) 70%, transparent);border-bottom:1px solid var(--border)}
.lp-logo{display:flex;align-items:center;gap:10px;font-family:var(--ui-font-display);font-weight:700;font-size:18px}
/* Hero brand lockup — large, elegant, eye-catching */
.hero-brand{display:flex;flex-direction:column;align-items:center;gap:14px;margin-bottom:30px;animation:brandIn .9s cubic-bezier(.2,.7,.2,1)}
.hero-brand .bmark{width:104px;height:104px;background:url('/cp-mark.png') center/contain no-repeat;position:relative;filter:drop-shadow(0 8px 28px rgba(176,110,62,.45))}
.hero-brand .bmark::before{content:'';position:absolute;inset:-40% ;background:radial-gradient(circle,rgba(176,110,62,.28),transparent 62%);z-index:-1;animation:brandGlow 4s ease-in-out infinite}
/* THE REAL LOGOTYPE, NOT THE WORDS TYPED OUT. This was `font-family:'Chakra
   Petch'` setting the literal string "CONCEPT PLUS" in a gradient — a typed
   imitation of a mark, which public/brand/logo-usage-manifest.md forbids
   outright ("typed text is never a substitute for either mark"). Chakra Petch is
   not the brand face either, so the hero was showing the company's name in the
   wrong typeface directly beneath its own monogram.
   The gradient survives the change: it moves from background-clip:text onto the
   element's background and the logotype's own outline becomes the mask, so the
   gold reads exactly as before while the shape is now the official asset.
   276px was the typed line's measured width and is kept, so the hero's HORIZONTAL
   composition is unchanged. Its height is not: the official logotype is stacked
   (CONCEPT over PLUS) where the typed line was one row, so the block goes from
   ~31px to 64.3px tall and the hero grows by about 33px. That is the asset's real
   proportion — 4.291 width to height — and the alternative is compressing a logo
   to fit a space, which is the one thing the guideline names outright. */
.hero-brand .bword{width:276px;height:calc(276px/4.291);font-size:0;
  background:linear-gradient(90deg,#E6C9A8,#B06E3E 55%,#854F2D);
  -webkit-mask:url("/brand/concept-plus-logotype.svg") center/contain no-repeat;
  mask:url("/brand/concept-plus-logotype.svg") center/contain no-repeat}
.hero-brand .btag{display:flex;align-items:center;gap:12px;color:var(--text3);font-size:11px;letter-spacing:.28em;text-transform:uppercase}
.hero-brand .btag::before,.hero-brand .btag::after{content:'';width:34px;height:1px;background:linear-gradient(90deg,transparent,var(--gold-dim))}
.hero-brand .btag::after{background:linear-gradient(90deg,var(--gold-dim),transparent)}
@keyframes cpfade{from{opacity:0}to{opacity:1}}
@keyframes cprise{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@keyframes brandIn{from{opacity:0;transform:translateY(-12px) scale(.96)}to{opacity:1;transform:none}}
@keyframes brandGlow{0%,100%{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.08)}}
/* Branded CP cursor (desktop pointer only) */
@media(hover:hover) and (pointer:fine){
  html.cpcur, html.cpcur *{cursor:none !important}
  .cp-notify-focus{animation:cpNotifyFocus 4s ease-out 1;border-radius:10px}
  @keyframes cpNotifyFocus{0%,60%{box-shadow:0 0 0 3px var(--gold),0 0 0 9px rgba(176,110,62,.28)}100%{box-shadow:0 0 0 0 transparent}}
  @media (prefers-reduced-motion:reduce){.cp-notify-focus{animation:none;box-shadow:0 0 0 3px var(--gold)}}
  #cp-cursor{position:fixed;left:-50px;top:0;width:11px;height:11px;border-radius:50%;background:var(--gold);z-index:99999;pointer-events:none;transform:translate(-50%,-50%);transition:width .18s cubic-bezier(.2,.7,.2,1),height .18s,background .18s,font-size .15s;display:flex;align-items:center;justify-content:center;color:#1A1206;font-family:var(--ui-font-display);font-weight:700;font-size:0;letter-spacing:.04em;box-shadow:0 0 14px rgba(176,110,62,.55)}
  #cp-cursor.clickable{width:40px;height:40px;border-radius:0;background:url('/cp-mark.png') center/contain no-repeat;border:none;font-size:0;color:transparent;box-shadow:none;filter:drop-shadow(0 3px 9px rgba(176,110,62,.6)) drop-shadow(0 0 4px rgba(0,0,0,.5))}
  #cp-cursor.down{transform:translate(-50%,-50%) scale(.82)}
  #cp-ring{position:fixed;left:-50px;top:0;width:30px;height:30px;border:1.5px solid rgba(176,110,62,.45);border-radius:50%;z-index:99998;pointer-events:none;transform:translate(-50%,-50%)}
  #cp-ring.clickable{width:54px;height:54px;border-color:rgba(176,110,62,.7)}
}
.lp-logo .mark{width:44px;height:44px;background:url('/cp-mark.png') center/contain no-repeat;font-size:0;flex-shrink:0;filter:drop-shadow(0 3px 10px rgba(176,110,62,.4))}
.lp-navlinks{display:flex;gap:32px;align-items:center}
.lp-navlinks a{color:var(--text2);font-size:14px;transition:.15s}
.lp-navlinks a:hover{color:var(--text)}
.hero{padding:160px 48px 100px;text-align:center;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-200px;left:50%;transform:translateX(-50%);width:900px;height:600px;background:radial-gradient(ellipse,rgba(201,162,75,.12),transparent 65%);pointer-events:none}
.cp-badges{display:flex;align-items:stretch;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:8px}
.cp-badge{position:relative;display:flex;align-items:center;gap:12px;padding:9px 20px;border-radius:15px;border:1px solid rgba(201,162,75,.4);background:linear-gradient(135deg,rgba(230,201,168,.13),rgba(133,79,45,.09) 60%,rgba(255,255,255,.03));box-shadow:0 10px 30px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.13);overflow:hidden;transition:.3s cubic-bezier(.2,.7,.2,1)}
.cp-badge::after{content:'';position:absolute;top:0;left:-60%;width:38%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.3),transparent);transform:skewX(-18deg);animation:cp-badge-shine 5.6s ease-in-out infinite;pointer-events:none}
.cp-badge:nth-child(2)::after{animation-delay:.5s}.cp-badge:nth-child(3)::after{animation-delay:1s}
.cp-badge:nth-child(4)::after{animation-delay:1.5s}.cp-badge:nth-child(5)::after{animation-delay:2s}.cp-badge:nth-child(6)::after{animation-delay:2.5s}
.cp-badge:hover{transform:translateY(-3px);border-color:var(--gold);box-shadow:0 16px 36px rgba(0,0,0,.34),0 0 0 1px rgba(201,162,75,.26),inset 0 1px 0 rgba(255,255,255,.2)}
.cp-badge .tx{display:flex;flex-direction:column;line-height:1.15;text-align:center}
.cp-badge .tx b,.cp-badge .tx small{white-space:nowrap}
.cp-badge .tx b{font-size:13.5px;font-weight:700;color:#F4E7D2;letter-spacing:.005em}
.cp-badge .tx small{font-size:9px;letter-spacing:.2em;text-transform:uppercase;color:var(--text3);margin-top:3px}
.cp-badge .lr{width:16px;height:34px;flex:none;color:#F4E7D2}
.cp-badge .lr.r{transform:scaleX(-1)}
/* Light mode: cream badge ink is unreadable on the light hero — go bronze. */
:root[data-theme="light"] .cp-badge .tx b,:root[data-theme="light"] .cp-badge .lr{color:#7a5a2c}
.cp-badge .belo{width:26px;height:26px;flex:none;fill:#FF5A5F;filter:drop-shadow(0 3px 10px rgba(255,90,95,.4))}
.cp-badge .genius{display:inline-block;position:relative;padding:6px 13px 6px 12px;border-radius:7px;background:#0057B8;color:#fff;font-size:14px;font-weight:700;letter-spacing:-.01em;line-height:1;box-shadow:0 4px 14px rgba(0,87,184,.45)}
.cp-badge .genius i{font-style:normal;position:relative}
.cp-badge .genius .sr-i{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cp-badge .genius i::after{content:'';position:absolute;left:50%;top:.06em;width:4.2px;height:4.2px;margin-left:-2.1px;border-radius:50%;background:#FEBB02}
.cp-badge .byt{width:26px;height:26px;flex:none}
.cp-badge .byt.rb{color:#8E2A9B;filter:drop-shadow(0 3px 10px rgba(142,42,155,.4))}
.cp-badge .byt.ql{color:#5AC8F5;filter:drop-shadow(0 3px 10px rgba(90,200,245,.4))}
.cp-badge .trub{display:inline-block;padding:6px 12px;border-radius:7px;background:#0B3B36;color:#fff;font-size:13px;font-weight:600;line-height:1;letter-spacing:.005em;box-shadow:0 4px 14px rgba(11,59,54,.45)}
.cp-badge .trub b{font-weight:800}
.cp-badge .trub sup{font-size:7px;vertical-align:super;margin-left:1px}
@keyframes cp-badge-shine{0%,72%{left:-60%}92%,100%{left:130%}}
@media(prefers-reduced-motion:reduce){.cp-badge::after{animation:none;opacity:0}}
@media(max-width:640px){.cp-badges{gap:8px}.cp-badge{padding:7px 13px;gap:9px}.cp-badge .tx b{font-size:11.5px}.cp-badge .tx small{font-size:8px}.cp-badge .lr{width:13px;height:28px}.cp-badge .belo{width:21px;height:21px}.cp-badge .genius{font-size:12px;padding:5px 10px}.cp-badge .byt{width:21px;height:21px}.cp-badge .trub{font-size:11px;padding:5px 9px}}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;border-radius:99px;border:1px solid var(--border2);background:var(--surface);font-size:13px;color:var(--text2);margin-bottom:28px}
.hero-eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--teal);box-shadow:0 0 8px var(--teal)}
.hero h1{font-size:64px;line-height:1.05;margin-bottom:24px;background:linear-gradient(180deg,var(--text),var(--text2));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hero h1 .gold{background:linear-gradient(135deg,var(--gold),#D89A66);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hero p{font-size:19px;color:var(--text2);max-width:620px;margin:0 auto 40px}
.hero-cta{display:flex;gap:14px;justify-content:center;margin-bottom:64px}
.hero-stats{display:flex;gap:48px;justify-content:center;flex-wrap:wrap}
.hero-stat{text-align:center}
.hero-stat .num{font-family:var(--ui-font-display);font-size:36px;font-weight:700;color:var(--gold)}
.hero-stat .lbl{font-size:13px;color:var(--text3);margin-top:4px}

.section-pad{padding:80px 48px;max-width:1200px;margin:0 auto}
.sec-head{text-align:center;margin-bottom:56px}
.sec-head .tag{font-size:13px;font-weight:600;color:var(--teal);text-transform:uppercase;letter-spacing:.1em;margin-bottom:12px}
.sec-head h2{font-size:40px;margin-bottom:16px}
.sec-head p{color:var(--text2);max-width:560px;margin:0 auto;font-size:16px}
.portal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.portal-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px;transition:.2s;cursor:pointer;position:relative;overflow:hidden}
.portal-card:hover{border-color:var(--gold-dim);transform:translateY(-3px)}
.portal-card .ic{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:18px}
.portal-card h3{font-size:19px;margin-bottom:10px}
.portal-card p{color:var(--text2);font-size:14px;margin-bottom:16px}
.portal-card .enter{font-size:13px;color:var(--gold);font-weight:500;display:flex;align-items:center;gap:6px}
.portal-card:hover .enter i{transform:translateX(3px);transition:transform .2s}
.portal-section{margin-top:38px}
.ps-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--text3);margin-bottom:16px;padding-bottom:10px;border-bottom:1px solid var(--border)}
.ps-label i{color:var(--gold)}
.portal-feature{position:relative;margin-top:8px;border-radius:var(--radius);border:1px solid var(--gold-dim);background:linear-gradient(135deg,rgba(201,162,75,.10),var(--surface) 60%);overflow:hidden;cursor:pointer;transition:.22s}
.portal-feature:hover{border-color:var(--gold);transform:translateY(-3px);box-shadow:0 18px 50px rgba(0,0,0,.35)}
.portal-feature .pf-glow{position:absolute;top:-120px;right:-80px;width:340px;height:340px;background:radial-gradient(circle,rgba(201,162,75,.18),transparent 65%);pointer-events:none}
.portal-feature .pf-inner{position:relative;display:flex;gap:22px;align-items:flex-start;padding:30px 32px}
@media(max-width:640px){.portal-feature .pf-inner{flex-direction:column;gap:14px;padding:24px}}
.ic-blue{background:rgba(59,130,246,.12);color:var(--blue)}
.ic-teal{background:rgba(201,142,90,.14);color:var(--teal)}
.ic-gold{background:rgba(201,162,75,.14);color:var(--gold)}
.ic-green{background:rgba(34,197,94,.12);color:var(--green)}
.ic-purple{background:rgba(167,139,250,.12);color:var(--purple)}
.ic-amber{background:rgba(245,158,11,.12);color:var(--amber)}

.feat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.feat{padding:20px;border-left:2px solid var(--gold-dim)}
.feat i{font-size:22px;color:var(--gold);margin-bottom:12px;display:block}
.feat h3,.feat h4{font-size:16px;margin-bottom:8px;font-family:var(--ui-font-text);font-weight:600}
.feat p{color:var(--text2);font-size:13px}

.lp-footer{border-top:1px solid var(--border);padding:40px 48px;text-align:center;color:var(--text3);font-size:13px}

/* ===== OWNER LANDING CTA BAND ===== */
.cta-band{background:linear-gradient(135deg,var(--surface2),var(--surface));border:1px solid var(--border2);border-radius:20px;padding:56px;text-align:center;position:relative;overflow:hidden;margin:0 48px}
.cta-band::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 30% 20%,rgba(201,162,75,.1),transparent 50%)}
.cta-band h2{font-size:34px;margin-bottom:14px;position:relative}
.cta-band p{color:var(--text2);max-width:480px;margin:0 auto 28px;position:relative}

/* ===== APP SHELL (portals) ===== */
.app{display:flex;min-height:100vh}
.sidebar{width:248px;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;position:fixed;top:0;bottom:0;left:0;z-index:50}
.sb-head{padding:18px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:11px}
.sb-head .mark{width:38px;height:38px;background:url('/cp-mark.png') center/contain no-repeat;font-size:0;flex-shrink:0;filter:drop-shadow(0 2px 8px rgba(176,110,62,.35))}
/* Theme-aware wordmark: the PNG's shape is used as a mask so it recolors with
   the theme (var(--text)) instead of a fixed cream tint baked into the pixels —
   was invisible in light mode. */
.wordmark,.sb-head .name,.citi-logo{background-color:var(--text);-webkit-mask-image:url('/brand/citihome-logotype-white.png');mask-image:url('/brand/citihome-logotype-white.png');-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:left center;mask-position:left center;-webkit-mask-size:contain;mask-size:contain}
/* Sidebar brand = Citihome wordmark (replaces the old "CONCEPT PLUS" text so it never wraps/collides). */
.sb-head .name{font-size:0;color:transparent;width:96px;height:21px;display:block;margin-bottom:3px}
.sb-head .role{font-size:11px;color:var(--text3)}
/* Co-brand — the real Citihôme logo shown beside the Concept Plus wordmark everywhere it appears. */
/* THE CO-BRAND ::after IS GONE. It painted a SECOND CitiHome wordmark after
   every .lp-logo, from the days when .lp-logo held only the CP monogram. The
   runtime now rebuilds every brand as the real dual lockup, which already
   contains the CitiHome logotype, so this rule drew that mark twice in one
   header — exactly what manifest rule 3.1 forbids. Removed rather than
   overridden so it cannot come back when a stylesheet loads late. */
.sb-head::after{content:none}
.sb-head .role{font-size:11px;color:var(--text3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.citi-logo{display:inline-block}
/* THE LOCKUP IS NO LONGER DEFINED HERE — AND THAT IS THE POINT.
   This page carried its own copy of the dual lockup: its own --lk-h, its own
   Concept Plus mask, its own .brand-lock / .brand-word / .brand-sub, and its own
   0.50 width factor taken from logo-usage-manifest.md §2a. platform.css carried
   a different one at the same time, on the quarter-of-height rule. Two lockups,
   two ratios, and the founder's own screenshot of the header showed they had not
   agreed since 2026-08-17.
   Every brand on the site is now built by unify.js's normalizeBrand() and sized
   by .cp-brand-lockup in /brand/lockup.css, so there is ONE definition and the
   ratio lives in one custom property (--cp-lk-factor). What remains below is nav
   layout, which was never brand geometry and is still this page's business.
   The 200px Concept Plus floor this block used to enforce (--lk-h:46.6px) is a
   real manifest requirement and the lockup currently renders 188.8px; that is
   recorded next to --cp-lk-factor rather than fixed silently here, because
   changing it moves every header on the site. */
.lp-nav{gap:20px}
/* THE LINKS WRAP INSTEAD OF SPILLING. Measured at 1280px: the seven links plus
   Sign in need ~753px and the row is left ~443px once the lockup (373) and the
   injected utility cluster (328) have taken theirs. With `nowrap` the surplus
   did not shrink the row, it printed Sign in on top of the LIVE pill at x930.
   Two rows is also what the current live home does with the same link set, so
   this matches the site rather than inventing a third behaviour. */
.lp-navlinks{min-width:0;flex-shrink:1;flex-wrap:wrap;row-gap:2px;column-gap:18px;justify-content:center}
/* Below the width where the three header groups stop fitting, the ROLE LABEL
   gives way — never a mark. (Was .brand-sub, the typed connector this page
   used to draw; the connector now belongs to the lockup and always shows.) */
@media(max-width:1180px){ .lp-nav .cp-brand-lockup .cp-brand-label{display:none} }
.sb-nav{flex:1;padding:14px 12px;overflow-y:auto}
.sb-section{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text3);padding:14px 12px 6px;font-weight:600}
/* Collapsible categorized nav groups (Hostaway-style) */
.sb-group{margin-bottom:1px}
.sb-ghead{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:var(--radius-sm);color:var(--text2);font-size:14px;cursor:pointer;font-weight:600;transition:.12s;user-select:none}
.sb-ghead:hover{background:var(--surface2);color:var(--text)}
.sb-ghead>i:first-child{font-size:18px;width:18px}
.sb-ghead .chev{margin-left:auto;font-size:15px;transition:transform .15s;color:var(--text3)}
.sb-group.open>.sb-ghead .chev{transform:rotate(90deg)}
.sb-group.open>.sb-ghead{color:var(--text)}
.sb-ghead.hasactive{color:var(--gold)}
.sb-ghead.hasactive>i:first-child{color:var(--gold)}
.sb-gbody{display:none;margin:2px 0 6px 21px;padding-left:8px;border-left:1px solid var(--border)}
.sb-group.open>.sb-gbody{display:block}
.sb-gbody .sb-item{font-size:13px;padding:8px 12px}
.sb-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:var(--radius-sm);color:var(--text2);font-size:14px;transition:.12s;cursor:pointer;margin-bottom:2px}
.sb-item:hover{background:var(--surface2);color:var(--text)}
.sb-item.active{background:var(--surface3);color:var(--text)}
.sb-item.active i{color:var(--gold)}
.sb-item i{font-size:18px;width:18px}
.sb-foot{padding:14px;border-top:1px solid var(--border)}
.sb-foot .btn{width:100%;justify-content:center}
/* min-width:0 is load-bearing, not tidying. A flex item's automatic minimum size is its
   CONTENT size, so .main grew to whatever the widest child needed — 2317px for a 30-day
   calendar at a 900px viewport. Every descendant inherited that width, which meant
   #cal-grid's own `overflow:auto` had nothing left to clip (clientWidth === scrollWidth)
   and the WHOLE PAGE scrolled sideways instead: sidebar, header and the sticky unit column
   all sliding off screen while you looked at prices. Constraining the flex item is what
   lets the calendar scroll inside itself, which is where the scrolling belongs. */
.main{flex:1;min-width:0;margin-left:248px;min-height:100vh}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:16px 28px;border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--bg) 72%, transparent);backdrop-filter:blur(8px);position:sticky;top:0;z-index:40}
.topbar h2{font-size:20px}
.topbar .crumb{font-size:13px;color:var(--text3)}
/* Wrap instead of forcing the page sideways. At 900px this row is 629px of controls and
   sat past the viewport edge, so the BODY scrolled horizontally — which on the calendar
   screen dragged the sidebar and the sticky unit column off with it. */
.tb-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}
.search-box{display:flex;align-items:center;gap:8px;background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px 12px;width:280px}
.search-box input{background:none;border:none;color:var(--text);outline:none;flex:1;font-size:13px}
.search-box i{color:var(--text3)}
.cp-um-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:8px;font-size:13px;color:var(--text);cursor:pointer;text-decoration:none}.cp-um-item:hover{background:var(--surface2)}.cp-um-item i{color:var(--gold)}
.avatar{width:34px;height:34px;border-radius:50%;background:var(--surface3);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:13px;color:var(--gold);border:1px solid var(--border2)}
.content{padding:28px}

/* metric cards */
.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:28px}
.metric{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.metric .lbl{font-size:13px;color:var(--text2);margin-bottom:10px;display:flex;align-items:center;gap:8px}
.metric .lbl i{font-size:16px;color:var(--text3)}
.metric .val{font-family:var(--ui-font-display);font-size:30px;font-weight:600}
.metric .delta{font-size:12px;margin-top:6px;display:flex;align-items:center;gap:4px}
.delta.up{color:var(--green)}
.delta.down{color:var(--red)}

/* cards */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;margin-bottom:24px}
.card-head{padding:18px 22px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;min-width:0}
.card-head h3{font-size:16px;font-family:var(--ui-font-text);font-weight:600}
.card-body{padding:22px}
.card-body.np{padding:0}
/* WIDE TABLES SCROLL SIDEWAYS INSTEAD OF CRUSHING THEIR COLUMNS.
   `.tbl` is width:100%, so a twelve-column table squeezed every column to fit
   the card and the right-hand ones became unreadable — the Reservations table
   put guest, unit, dates, channel, refs, status, payment, total, payout and the
   action buttons into whatever width was left. Nothing scrolled because nothing
   ever overflowed: the table shrank instead.
   Scoped with :has(> .tbl) so it only touches containers whose DIRECT child is
   a table — card bodies holding panels, forms or absolutely-positioned menus are
   untouched, because overflow-x:auto also clips vertically and would cut off a
   dropdown. 128 of these containers exist and only 37 had scrolling. */
.card-body.np:has(> .tbl){overflow-x:auto;-webkit-overflow-scrolling:touch;max-height:72vh;overflow-y:auto}
/* THE HEADER ROW STAYS PUT while the body scrolls, in BOTH axes. A twelve-column
   table you can finally scroll sideways is still unreadable if the column names
   leave the screen the moment you do — you end up counting columns to work out
   which figure you are looking at. sticky top:0 keeps them; the z-index and an
   explicit background are both required, or the rows scroll straight through
   the header because th has no background of its own by default. */
.card-body.np:has(> .tbl) > .tbl > thead > tr > th{position:sticky;top:0;z-index:3;background:var(--surface2)}
.card-body.np:has(> .tbl) > .tbl{min-width:100%}
/* A table that declares its own min-width keeps its columns legible and lets the
   container scroll; one that does not still fills the card exactly as before. */
.tbl[data-wide]{min-width:1180px}

/* tables */
.tbl{width:100%;border-collapse:collapse}
.tbl th{text-align:left;padding:12px 22px;font-size:12px;font-weight:600;color:var(--text3);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border);background:var(--surface2)}
.tbl td{padding:14px 22px;border-bottom:1px solid var(--border);font-size:14px}
.tbl tr:last-child td{border-bottom:none}
.tbl tr.clickable{cursor:pointer;transition:.1s}
.tbl tr.clickable:hover td{background:var(--surface2)}

/* badges / pills */
.pill{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:500}
.pill.green{background:rgba(34,197,94,.14);color:var(--cp-success-ink)}
.pill.blue{background:rgba(59,130,246,.14);color:var(--cp-info-ink)}
.pill.amber{background:rgba(245,158,11,.14);color:var(--cp-warn-ink)}
.pill.red{background:rgba(239,68,68,.14);color:var(--cp-danger-ink)}
.pill.gray{background:var(--surface3);color:var(--text2)}
.pill.purple{background:rgba(167,139,250,.14);color:var(--cp-accent-ink)}
.pill .dot{width:6px;height:6px;border-radius:50%;background:currentColor}

/* ===== CHANNEL (OTA) PILLS — brand-tinted ===== */
.chan{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:600;border:1px solid transparent}
.chan i{font-size:13px}
.chan .swatch{width:7px;height:7px;border-radius:50%}
.chan-airbnb{background:rgba(255,90,95,.14);color:#FF8589;border-color:rgba(255,90,95,.25)}
.chan-booking{background:rgba(0,113,235,.16);color:#7FB6FF;border-color:rgba(0,113,235,.3)}
.chan-vrbo{background:rgba(31,102,255,.14);color:#8FB3FF;border-color:rgba(31,102,255,.25)}
.chan-expedia{background:rgba(255,199,44,.14);color:#FFD86B;border-color:rgba(255,199,44,.28)}
.chan-agoda{background:rgba(124,77,255,.16);color:#C0AAFF;border-color:rgba(124,77,255,.3)}
.chan-google{background:rgba(66,133,244,.14);color:#8AB4F8;border-color:rgba(66,133,244,.28)}
.chan-tripadvisor{background:rgba(0,170,108,.14);color:#5FE0AE;border-color:rgba(0,170,108,.28)}
.chan-marriott{background:rgba(186,12,47,.16);color:#F08C9C;border-color:rgba(186,12,47,.3)}
.chan-whatsapp{background:rgba(37,211,102,.14);color:#6EE7A0;border-color:rgba(37,211,102,.28)}
.chan-direct{background:rgba(176,110,62,.16);color:#D89A66;border-color:rgba(176,110,62,.32)}

/* ===== REPUTATION BADGES ===== */
.badges{display:flex;flex-wrap:wrap;gap:10px}
.badge{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:12px;font-size:13px;font-weight:600;border:1px solid var(--border2)}
.badge i{font-size:18px}
.badge .sub{font-weight:400;color:var(--text3);font-size:11px}
.badge-super{background:linear-gradient(135deg,rgba(255,90,95,.16),rgba(255,90,95,.06));color:#FF8589;border-color:rgba(255,90,95,.3)}
.badge-genius{background:linear-gradient(135deg,rgba(0,113,235,.18),rgba(0,113,235,.06));color:#7FB6FF;border-color:rgba(0,113,235,.32)}
.badge-fav{background:linear-gradient(135deg,rgba(176,110,62,.2),rgba(176,110,62,.05));color:#D89A66;border-color:rgba(176,110,62,.34)}
.badge-score{background:var(--surface2);color:var(--text)}
.badge-score b{font-family:var(--ui-font-display);font-size:16px}
.stars{color:var(--gold);letter-spacing:1px;font-size:13px}

.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:980px){.grid-2,.grid-3{grid-template-columns:1fr}.meta-grid{grid-template-columns:1fr !important}}

/* guest portal special */
.guest-bg{min-height:100vh;background:radial-gradient(ellipse at top,var(--surface2),var(--bg))}
.guest-wrap{max-width:640px;margin:0 auto;padding:40px 20px}
.gsec{margin-top:26px}
.gsec>h3{font-size:15px;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.gsec>h3 i{color:var(--gold)}
.gsvc{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.gsvc .gt{font-weight:600;font-size:14px}
.gsvc .gd{color:var(--text3);font-size:12px;margin-top:2px}
.gsvc .gp{font-family:var(--ui-font-display);color:var(--gold);font-size:14px;white-space:nowrap}
.gtabs{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap}
.gtab{padding:7px 14px;border-radius:99px;border:1px solid var(--border2);color:var(--text2);font-size:13px;cursor:pointer}
.gtab.active{background:var(--gold);color:#1A1408;border-color:var(--gold);font-weight:600}
.gguide{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}
.gguide .row{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;border-bottom:1px solid var(--border)}
.gguide .row:last-child{border-bottom:none}
.gguide .row .n{font-weight:500;font-size:14px}
.gguide .row .m{color:var(--text3);font-size:12px}
.guest-hero{background:var(--surface);border:1px solid var(--border);border-radius:20px;overflow:hidden;margin-bottom:20px}
.guest-hero .banner{height:200px;background:linear-gradient(135deg,var(--surface3),var(--surface));position:relative;display:flex;align-items:flex-end;padding:24px}
.guest-hero .banner::before{content:'';position:absolute;inset:0;background-image:linear-gradient(180deg,rgba(10,12,16,.05) 25%,rgba(10,12,16,.78)),var(--guest-hero-img,url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=800&q=70'));background-size:cover;background-position:center;opacity:.9}
.guest-hero .banner-content{position:relative;z-index:2}
.guest-hero .banner h2{font-size:24px;margin-bottom:4px;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.5)}
.guest-hero .banner p{color:#e8e4dc;font-size:14px;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.guest-info{padding:24px}
.gi-row{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--border)}
.gi-row:last-child{border-bottom:none}
.gi-icon{width:44px;height:44px;border-radius:12px;background:var(--surface2);display:flex;align-items:center;justify-content:center;font-size:20px;color:var(--gold);flex-shrink:0}
.gi-text{flex:1}
.gi-text .k{font-size:12px;color:var(--text3);margin-bottom:2px}
.gi-text .v{font-size:16px;font-weight:500;font-family:var(--ui-font-display)}
.gi-copy{color:var(--text3);cursor:pointer;padding:8px}
.gi-copy:hover{color:var(--gold)}
.access-banner{background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.25);border-radius:12px;padding:14px 18px;display:flex;align-items:center;gap:12px;margin-bottom:20px;font-size:13px;color:var(--cp-success-ink)}
.guest-links{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.guest-link{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px;text-align:center;transition:.15s;cursor:pointer}
.guest-link:hover{border-color:var(--gold-dim);background:var(--surface2)}
.guest-link i{font-size:24px;color:var(--gold);margin-bottom:8px;display:block}
.guest-link span{font-size:13px;color:var(--text2)}

/* login modal */
.login-screen{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(60% 55% at 50% 38%,rgba(176,110,62,.16),transparent 72%),#0a0c10;padding:20px;overflow:hidden}
/* 3D spinning Concept Plus mark on the login card — same extruded mark as the launch page */
#login-stage{position:relative;width:96px;height:96px;margin:0 auto 22px;perspective:600px;z-index:10}
#login-3d{width:96px;height:96px;position:relative;transform-style:preserve-3d;animation:cpspin3d 9s linear infinite;filter:drop-shadow(0 14px 40px rgba(176,110,62,.55))}
#login-3d .lcp-layer{position:absolute;inset:0;background:url('/cp-mark.png') center/contain no-repeat;backface-visibility:visible}
#login-3d::after{content:'';position:absolute;inset:-45%;background:radial-gradient(circle,rgba(176,110,62,.30),transparent 62%);transform:translateZ(-30px);z-index:-1;animation:loginGlow 4.5s ease-in-out infinite}
@keyframes cpspin3d{from{transform:rotateY(0deg) rotateX(14deg)}to{transform:rotateY(360deg) rotateX(14deg)}}
@keyframes loginGlow{0%,100%{opacity:.6}50%{opacity:1}}
.login-card{position:relative;z-index:10;background:rgba(18,26,34,.72);backdrop-filter:blur(10px);border:1px solid var(--border);border-radius:20px;padding:40px;width:100%;max-width:400px;box-shadow:0 24px 70px rgba(0,0,0,.55)}
.login-card .mark{width:64px;height:64px;background:url('/cp-mark.png') center/contain no-repeat;font-size:0;margin:0 auto 20px;filter:drop-shadow(0 6px 18px rgba(176,110,62,.5))}
.login-card h2{text-align:center;font-size:22px;margin-bottom:6px}
.login-card .sub{text-align:center;color:var(--text2);font-size:14px;margin-bottom:28px}
.field{margin-bottom:16px}
.field label{display:block;font-size:13px;color:var(--text2);margin-bottom:6px}
.field input{width:100%;background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:11px 14px;color:var(--text);font-size:14px;outline:none;transition:.15s}
.field input:focus{border-color:var(--gold-dim)}
.login-card .btn{width:100%;justify-content:center;margin-top:8px}
.login-hint{margin-top:18px;padding:12px;background:var(--surface2);border-radius:var(--radius-sm);font-size:12px;color:var(--text3);text-align:center}
.role-tabs{display:flex;gap:4px;margin-bottom:24px;background:var(--surface2);padding:4px;border-radius:var(--radius-sm)}
.role-tab{flex:1 1 0;min-width:0;padding:8px 4px;text-align:center;font-size:12.5px;white-space:nowrap;border-radius:6px;color:var(--text2);cursor:pointer;transition:.12s}
.role-tab.active{background:var(--surface3);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.25)}

/* CRM kanban */
.kanban{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;overflow-x:auto}
.kan-col{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px;min-width:200px}
.kan-col h4{font-size:13px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;font-family:var(--ui-font-text)}
.kan-col h4 .cnt{background:var(--surface3);color:var(--text2);font-size:11px;padding:2px 8px;border-radius:99px}
.kan-card{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px;margin-bottom:10px;cursor:grab;transition:.12s}
.kan-card:hover{border-color:var(--gold-dim)}
.kan-card .nm{font-size:14px;font-weight:500;margin-bottom:4px}
.kan-card .mt{font-size:12px;color:var(--text3);display:flex;justify-content:space-between;margin-top:8px}

/* availability calendar
   ONE price per day cell, always fully inside that cell. The day columns are
   given a hard minimum width (--cal-col) that fits "AED 1,234" on a single
   line; when the visible range is wider than the screen the grid SCROLLS
   horizontally instead of shrinking columns until the numbers collide. */
.cal{--cal-col:68px}
.cal table{border-collapse:collapse;table-layout:fixed;min-width:760px}
.cal th,.cal td{border:1px solid var(--border);padding:5px 4px;font-size:11.5px;text-align:center;white-space:nowrap;width:var(--cal-col);min-width:var(--cal-col);max-width:var(--cal-col);overflow:hidden}.cal td.avail:hover{background:rgba(201,162,75,.08)}.cal td.resv{border-radius:0}
.cal th{color:var(--text3);font-weight:600;background:var(--surface2)}
.cal th.unit,.cal td.unit{text-align:left;position:sticky;left:0;background:var(--surface);font-weight:600;width:190px;min-width:190px;max-width:190px;z-index:1;padding:5px 8px}
.cal td.avail{background:rgba(34,197,94,.10);color:var(--cp-success-ink)}
.cal td.blocked{background:rgba(239,68,68,.12);color:var(--cp-danger-ink)}
/* Price = the primary number in the cell: large, high-contrast, tabular so
   digits align down the column. The currency label is deliberately smaller and
   set apart so it never competes with the figure. */
.cal td .pr{display:flex;align-items:baseline;justify-content:center;gap:2px;font-size:13px;line-height:1.15;font-weight:700;color:#EAF1F8;font-variant-numeric:tabular-nums;letter-spacing:-.02em;overflow:hidden}
.cal td .pr .cur{font-size:8px;font-weight:800;letter-spacing:.04em;color:#D7A074}
.cal td .sub{font-size:9px;line-height:1.1;color:var(--text3);margin-top:1px;overflow:hidden;text-overflow:ellipsis}
.cal td.blocked .pr{color:var(--cp-danger-ink)}

/* 3-layer CRM */
.crm-layers{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-bottom:24px}
.crm-layer{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;cursor:pointer;transition:.15s;display:flex;gap:14px;align-items:flex-start;position:relative;overflow:hidden}
.crm-layer:hover{border-color:var(--gold-dim);transform:translateY(-2px)}
.crm-layer.active{border-color:var(--gold);background:var(--surface2)}
.crm-layer.active::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--gold)}
.crm-layer .ly-ic{width:42px;height:42px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.crm-layer .ly-no{font-size:11px;font-family:var(--ui-font-display);color:var(--text3);letter-spacing:.08em}
.crm-layer h4{font-size:15px;font-family:var(--ui-font-text);margin:2px 0 4px}
.crm-layer p{font-size:12px;color:var(--text3);line-height:1.4}
.crm-layer .ly-stat{font-family:var(--ui-font-display);font-size:18px;color:var(--gold);margin-top:8px}
.score{height:6px;background:var(--surface3);border-radius:99px;overflow:hidden;width:84px;display:inline-block;vertical-align:middle}
.score>i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--gold-dim),var(--gold));font-size:0}
.tagrow{display:flex;gap:5px;flex-wrap:wrap}
.tg{font-size:11px;padding:2px 8px;border-radius:99px;background:var(--surface3);color:var(--text2)}

/* detail panel */
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 32px}
.detail-row{display:flex;flex-direction:column;gap:4px;padding:10px 0;border-bottom:1px solid var(--border)}
.detail-row .k{font-size:12px;color:var(--text3)}
.detail-row .v{font-size:14px;font-weight:500}
.sensitive{display:flex;align-items:center;gap:8px}
.sensitive .masked{font-family:monospace;letter-spacing:2px}
.reveal-btn{font-size:11px;color:var(--gold);cursor:pointer;display:flex;align-items:center;gap:4px}

/* progress bars */
.bar-row{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.bar-row .lbl{font-size:13px;color:var(--text2);width:110px}
.bar-track{flex:1;height:8px;background:var(--surface3);border-radius:99px;overflow:hidden}
.bar-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--gold-dim),var(--gold))}
.bar-row .pct{font-size:13px;font-weight:500;width:42px;text-align:right}

/* mini chart */
.chart-bars{display:flex;align-items:flex-end;gap:8px;height:160px;padding-top:20px}
.chart-bar{flex:1;background:linear-gradient(180deg,var(--teal),var(--teal-dim));border-radius:4px 4px 0 0;position:relative;min-height:8px;transition:.3s}
.chart-bar:hover{filter:brightness(1.2)}
.chart-bar .cap{position:absolute;bottom:-22px;left:0;right:0;text-align:center;font-size:11px;color:var(--text3)}

.ua-l{font-size:10.5px;color:var(--text3);display:block;margin-bottom:3px}
.ua-i{width:100%;background:var(--surface2);border:1px solid var(--border2);border-radius:8px;padding:9px;color:var(--text);font-size:13px;color-scheme:dark}
.toast{position:fixed;bottom:24px;right:24px;background:var(--surface3);border:1px solid var(--border2);border-radius:var(--radius-sm);padding:14px 20px;display:flex;align-items:center;gap:10px;font-size:14px;z-index:200;animation:slideup .3s;box-shadow:0 8px 32px rgba(0,0,0,.4)}
.toast i{color:var(--green);font-size:18px}
@keyframes slideup{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}

.timeline-item{display:flex;gap:14px;padding-bottom:20px;position:relative}
.timeline-item::before{content:'';position:absolute;left:15px;top:32px;bottom:0;width:1px;background:var(--border)}
.timeline-item:last-child::before{display:none}
.tl-dot{width:32px;height:32px;border-radius:50%;background:var(--surface2);border:1px solid var(--border2);display:flex;align-items:center;justify-content:center;font-size:14px;color:var(--text2);flex-shrink:0}
.tl-content .act{font-size:14px}
.tl-content .meta{font-size:12px;color:var(--text3);margin-top:2px}

/* ===== BOOKING SITE (Concept Plus Stays) ===== */
.bk-bg{min-height:100vh;background:
  radial-gradient(circle at 83% 5%,rgba(176,110,62,.14),transparent 26%),
  radial-gradient(circle at 8% 30%,rgba(78,116,131,.10),transparent 28%),
  linear-gradient(180deg,color-mix(in srgb,var(--bg) 96%,#111820),var(--bg))}
.bk-nav{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:13px max(24px,calc((100vw - 1280px)/2));backdrop-filter:blur(22px) saturate(140%);background:color-mix(in srgb,var(--bg) 82%,transparent);border-bottom:1px solid color-mix(in srgb,var(--border) 74%,transparent);box-shadow:0 10px 32px rgba(0,0,0,.12)}
.bk-navlinks{display:flex;align-items:center;gap:22px;color:var(--text2);font-size:14px}
.bk-navlinks a{cursor:pointer;transition:.15s}.bk-navlinks a:hover{color:var(--text)}
.bkc-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}
.bkc-brand .bkc-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,var(--gold),#8E5226);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--ui-font-display);font-weight:700;font-size:19px}
.bkc-brand b{font-family:var(--ui-font-display);font-size:17px;letter-spacing:.02em;display:block;line-height:1.1}
.bkc-brand small{font-size:9.5px;letter-spacing:.18em;color:var(--text3)}
.bk-footer{margin-top:46px;border-top:1px solid var(--border);padding:34px 40px 26px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:26px;background:color-mix(in srgb, var(--bg) 85%, transparent)}
.bk-footer b{display:block;font-size:13px;margin-bottom:10px;color:var(--text)}
.bk-footer a{display:block;font-size:12.5px;color:var(--text2);margin:6px 0;cursor:pointer;text-decoration:none}.bk-footer a:hover{color:var(--gold)}
.bk-footer .cop{grid-column:1/-1;font-size:11.5px;color:var(--text3);border-top:1px solid var(--border);padding-top:14px;margin-top:6px}
@media(max-width:760px){.bk-footer{grid-template-columns:1fr 1fr}}
.bk-navpill{cursor:pointer;font-size:12.5px;color:var(--text2);border:1px solid var(--border);border-radius:20px;padding:5px 11px;transition:.15s}.bk-navpill:hover{border-color:var(--gold);color:var(--text)}
.bk-xtras{display:flex;flex-direction:column;gap:7px;margin-top:8px}
.bk-xtra{display:flex;align-items:center;gap:10px;border:1px solid var(--border2);border-radius:11px;padding:9px 11px;cursor:pointer;transition:.15s;background:var(--surface2)}
.bk-xtra:hover{border-color:var(--gold-dim)}
.bk-xtra.on{border-color:var(--gold);background:var(--gold-dim)}
.bk-xtra.bundle{padding:14px;background:linear-gradient(135deg,rgba(201,162,75,.16),rgba(201,162,75,.04));border-color:var(--gold-dim);position:relative;overflow:hidden}
.bk-xtra.bundle:before{content:'BEST VALUE';position:absolute;right:8px;top:7px;font-size:8px;letter-spacing:.12em;color:var(--gold);font-weight:800}
.bk-xtra .save{display:inline-flex;margin-top:4px;padding:2px 7px;border-radius:99px;background:rgba(70,211,138,.12);color:var(--cp-success-ink);font-size:9px;font-weight:700}
@media(max-width:820px){.bk-navlinks{gap:12px;font-size:13px}.bk-navlinks a[title="Help"],.bk-navpill{display:none}}
@media(max-width:640px){
  .bk-nav{padding:12px 16px;gap:10px}
  .bk-navlinks{width:100%;max-width:100%;overflow-x:auto;white-space:nowrap;gap:14px;padding:2px 0 5px;scrollbar-width:none}
  .bk-navlinks::-webkit-scrollbar{display:none}
  .bk-navlinks>*{flex:0 0 auto}
  #booking-site .bk-hero{padding:24px 16px 16px}
  #booking-site .bk-hero h1{font-size:38px}
  #booking-site .bk-hero p{font-size:14px}
  #booking-site .bk-search{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;padding:5px;margin-top:24px}
  #booking-site .bk-search .bk-field{min-width:0;padding:10px 12px;border:0}
  #booking-site .bk-search .bk-field:first-child{grid-column:1/-1}
  #booking-site .bk-search .bk-field:nth-child(4){grid-column:1/-1}
  #booking-site .bk-search .go{grid-column:1/-1;width:100%;margin:0;min-width:0}
  #booking-site .bk-wrap{padding:18px 16px 60px}
  .bk-results-head{align-items:stretch!important;flex-direction:column}
  #bk-toolbar-slot,.bk-toolbar{width:100%;min-width:0}
  #booking-site .bk-toolbar{flex-wrap:wrap}
  #booking-site .bk-toolbar>.bk-select{flex:1 1 150px;min-width:0}
  #booking-site .bk-toolbar .seg{flex:1 1 auto}
  #booking-site .bk-toolbar .seg button{flex:1;justify-content:center;padding-inline:10px}
  #booking-site .bk-grid{grid-template-columns:minmax(0,1fr)}
  #booking-site .bk-detail{padding:18px 16px 60px}
  #booking-site .bk-gallery{grid-template-columns:1fr 1fr;grid-auto-rows:120px}
  #booking-site .bk-gallery .g.big{grid-column:1/-1;grid-row:span 2}
  #booking-site .bk-detail-grid{grid-template-columns:1fr}
  #booking-site .book-widget{position:static}
  .bk-footer{padding:28px 16px 22px;grid-template-columns:1fr}
}
.bk-hero{padding:56px 40px 30px;position:relative;overflow:hidden}
.bk-hero::before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(180deg,#000,transparent 88%);pointer-events:none}
.bk-hero-shell{position:relative;z-index:1;max-width:1280px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(380px,.98fr);gap:46px;align-items:center}
.bk-hero-copy{text-align:left;padding:18px 0}
.bk-eyebrow{display:inline-flex;align-items:center;gap:9px;margin-bottom:18px;color:#D6A57D;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.bk-eyebrow::before{content:'';width:32px;height:1px;background:linear-gradient(90deg,var(--gold),#D6A57D)}
.bk-hero h1{font-size:clamp(46px,5.2vw,74px);line-height:.98;margin-bottom:20px;max-width:720px;background:linear-gradient(180deg,#fff 8%,color-mix(in srgb,var(--text) 74%,#B8C4D0));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-wrap:balance}
:root[data-theme="light"] .bk-hero h1{background:linear-gradient(180deg,#17202A,#485869);-webkit-background-clip:text;background-clip:text}
.bk-hero h1 .gold{display:block;margin-top:7px;background:linear-gradient(120deg,#E2B890,#A85E32 70%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.bk-hero p{color:var(--text2);font-size:17px;line-height:1.72;max-width:620px;margin:0}
.bk-hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:26px}
.bk-hero-primary{padding:13px 19px;border-radius:12px;background:linear-gradient(135deg,#C47B47,#8A4A27);color:#fff;font-weight:700;display:inline-flex;align-items:center;gap:9px;box-shadow:0 14px 30px rgba(176,110,62,.28);transition:.18s}
.bk-hero-primary:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(176,110,62,.38)}
.bk-hero-support{padding:12px 15px;border:1px solid var(--border);border-radius:12px;color:var(--text2);display:inline-flex;align-items:center;gap:8px;background:color-mix(in srgb,var(--surface) 76%,transparent);cursor:pointer;transition:.15s}
.bk-hero-support:hover{border-color:var(--gold-dim);color:var(--text)}
.bk-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:28px;color:var(--text2);font-size:11.5px}
.bk-trust span{min-width:0;display:flex;align-items:center;gap:8px;padding:10px 11px;border:1px solid color-mix(in srgb,var(--border) 72%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface) 65%,transparent)}
.bk-trust i{width:25px;height:25px;display:grid;place-items:center;flex:0 0 25px;border-radius:50%;color:#DFA779;background:rgba(176,110,62,.12)}
.bk-hero-gallery{height:420px;min-width:0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);grid-template-rows:1fr 1fr;gap:10px;position:relative;filter:drop-shadow(0 30px 45px rgba(0,0,0,.28))}
.bk-hero-photo{position:relative;overflow:hidden;border-radius:20px;background-color:var(--surface2);background-size:cover;background-position:center;border:1px solid rgba(255,255,255,.11);isolation:isolate}
.bk-hero-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(7,11,16,.66));z-index:-0}
.bk-hero-photo.main{grid-row:1/-1;border-radius:28px}
.bk-hero-photo .bk-photo-label{position:absolute;z-index:2;left:15px;bottom:14px;color:#fff}
.bk-hero-photo .bk-photo-label b{display:block;font-size:13px;max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-hero-photo .bk-photo-label small{display:block;margin-top:2px;color:rgba(255,255,255,.75);font-size:10px}
.bk-live-badge{position:absolute;z-index:3;left:16px;top:16px;display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:99px;background:rgba(7,12,17,.68);backdrop-filter:blur(10px);color:#fff;font-size:10px;border:1px solid rgba(255,255,255,.12)}
.bk-live-badge::before{content:'';width:7px;height:7px;border-radius:50%;background:#3DDC97;box-shadow:0 0 0 4px rgba(61,220,151,.13)}
.bk-hero-rate{position:absolute;z-index:4;right:12px;top:12px;bottom:auto;min-width:150px;padding:11px 13px;border-radius:14px;background:rgba(18,25,32,.92);border:1px solid rgba(255,255,255,.13);box-shadow:0 16px 36px rgba(0,0,0,.35);backdrop-filter:blur(15px);color:#fff}
.bk-hero-rate small{display:block;color:#AEB9C4;font-size:9px;letter-spacing:.11em;text-transform:uppercase}
.bk-hero-rate b{display:block;font-family:var(--ui-font-display);font-size:22px;margin-top:2px}
.bk-hero-rate span{color:var(--cp-success-ink);font-size:10px}
/* search bar */
/* C Club member rate + honest scarcity chips on every result card. */
.bkw-addons{margin-top:12px;padding:12px;border:1px solid var(--border2);border-radius:12px;background:var(--surface2)}
.bkw-addons>b{font-size:13px}
.bkw-addons>small{display:block;margin:3px 0 9px;font-size:11px;color:var(--text3)}
.bkw-addon-grid{display:grid;gap:7px}
.bkw-addon{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border:1px solid var(--border2);border-radius:10px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}
.bkw-addon:hover{border-color:var(--gold-dim)}
.bkw-addon.on{border-color:var(--gold);background:var(--gold-dim)}
.bkw-addon b{display:block;font-size:12px}
.bkw-addon small{display:block;margin-top:2px;font-size:10.5px;color:var(--text3);line-height:1.4}
.bkw-addon i{font-style:normal;flex:none;font-size:11.5px;font-weight:700;color:var(--gold)}
.bkw-club{margin-top:10px;padding:10px 12px;border:1px dashed color-mix(in srgb,var(--gold) 36%,transparent);border-radius:10px;background:color-mix(in srgb,var(--gold) 9%,transparent)}
.bkw-club b{display:block;font-family:var(--ui-font-display);letter-spacing:.12em;font-size:10px;color:var(--gold);margin-bottom:3px}
.bkw-club span{font-size:11.5px;color:var(--text2);line-height:1.5}
.bkw-club.is-member{border-style:solid;border-color:color-mix(in srgb,var(--cp-success-ink) 36%,transparent);background:color-mix(in srgb,var(--cp-success-ink) 10%,transparent)}
.bkw-club.is-member b{color:var(--cp-success-ink)}
/* ── Booking.com result STRUCTURE, CitiHome styling ──────────────────────────
   Filters in a left rail; results as full-width rows: photo left, details middle,
   price and CTA right. Presentation only — every hook the pricing engine patches in
   place (data-bkid / -price / -total / -cmp / -club / -urgent) is untouched, so the
   live calendar, offers, C Club rate and add-ons keep working exactly as before.
   Scoped to #bk-grid so the property page's "similar homes" grid and the map view
   are unaffected. */
.bk-more{display:none;flex-direction:column;align-items:center;gap:7px;margin-top:16px}
.bk-more small{font-size:11.5px;color:var(--text3)}
.bk-layout{display:grid;grid-template-columns:246px minmax(0,1fr);gap:20px;align-items:start}
.bk-side{position:sticky;top:84px;padding:15px;border:1px solid var(--border2);border-radius:16px;background:var(--surface)}
.bk-side-title{font-family:var(--ui-font-display);letter-spacing:.14em;font-size:10px;color:var(--text3);margin-bottom:10px}
/* The sidebar is a stack of SECTIONS, not a wrapping row of chips. */
.bk-side .bk-filters{display:block;margin:0;padding:0;border:0;background:none;box-shadow:none;overflow:visible}
.bk-side .bk-advbar{display:grid;gap:7px;width:100%;margin-top:10px;padding-top:10px;border-top:1px solid var(--border)}
.bk-side .bk-select,.bk-side .btn{width:100%}
/* ── SMART FILTERS ────────────────────────────────────────────────────────── */
.bk-smart{margin:0 0 14px;padding-bottom:13px;border-bottom:1px solid var(--border)}
.bk-smart textarea{width:100%;resize:vertical;min-height:56px;background:var(--surface2);
  border:1px solid var(--border2);border-radius:11px;padding:9px 11px;color:var(--text);
  font:inherit;font-size:12.5px;line-height:1.45;outline:none}
.bk-smart textarea:focus{border-color:var(--gold-dim)}
.bk-smart textarea::placeholder{color:var(--text3)}
.bk-smart-row{display:flex;gap:7px;margin-top:8px}
.bk-smart-go{flex:1 1 auto;background:linear-gradient(135deg,#C17B45,#8E5226);color:#fff;border:0;
  border-radius:10px;padding:8px 10px;font-family:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.bk-smart-clear{background:var(--surface2);border:1px solid var(--border);color:var(--text2);
  border-radius:10px;padding:8px 11px;font-family:inherit;font-size:12.5px;cursor:pointer}
.bk-smart-clear:hover{border-color:var(--gold-dim);color:#DFA779}
.bk-smart-out{margin-top:9px;font-size:11.5px;line-height:1.55;color:var(--text3)}
.bk-smart-out:empty{margin-top:0}
.bk-smart-out .sm-chip{display:inline-block;margin:3px 4px 0 0;padding:2px 8px;border-radius:20px;
  font-size:10.5px;background:color-mix(in srgb,var(--gold) 13%,transparent);
  border:1px solid color-mix(in srgb,var(--gold) 32%,transparent);color:#DFA779}
.bk-smart-out .sm-miss{color:var(--cp-warn-ink,#d9a441)}
#bk-grid{grid-template-columns:minmax(0,1fr);gap:13px}
#bk-grid .stay{display:grid;grid-template-columns:284px minmax(0,1fr)}
#bk-grid .stay>.ph{height:auto;min-height:210px;border-radius:0}
/* Details flow down column 1; the price block owns column 2 for the full height. */
#bk-grid .stay>.body{display:grid;grid-template-columns:minmax(0,1fr) 202px;column-gap:16px;align-content:start}
#bk-grid .stay>.body>*{grid-column:1;min-width:0}
#bk-grid .stay>.body>.stay-price-row{grid-column:2;grid-row:1/-1;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:5px;text-align:right;padding-left:16px;border-left:1px solid var(--border)}
#bk-grid .stay>.body>.cmp{grid-column:2;justify-self:end;text-align:right;padding-left:16px}
#bk-grid .stay .bk-club-line{justify-content:flex-end}
@media(max-width:980px){
  .bk-layout{grid-template-columns:minmax(0,1fr)}
  .bk-side{position:static}
  #bk-grid .stay{grid-template-columns:minmax(0,1fr)}
  #bk-grid .stay>.ph{min-height:196px}
  #bk-grid .stay>.body{grid-template-columns:minmax(0,1fr)}
  #bk-grid .stay>.body>.stay-price-row,#bk-grid .stay>.body>.cmp{grid-column:1;grid-row:auto;align-items:flex-start;text-align:left;padding-left:0;border-left:0;justify-self:start}
  #bk-grid .stay>.body>.stay-price-row{border-top:1px solid var(--border);padding-top:9px;margin-top:4px}
  #bk-grid .stay .bk-club-line{justify-content:flex-start}
}
/* ── THE CARD IS SIZED BY ITS OWN COLUMN, NOT BY THE VIEWPORT ────────────────
   The rules above ask the VIEWPORT how wide the card is. With the map open the
   card is not in a viewport-wide column — it is in a ~380px one — so at 1440px
   the desktop rule still applied: a 284px photo and a 202px price rail inside
   400px, which left the text about forty pixels wide. That is the
   "4 guests / 2 beds / 2 bath" printing one word per line, the title breaking
   mid-word, and the C CLUB line spilling over the photo.

   A container query asks the RESULT COLUMN instead, so the card is correct at
   every width, with the map open or closed, and there is only ONE card. */
.bk-results{container-type:inline-size;container-name:bkres}
#bk-grid .stay{min-width:0}
#bk-grid .stay>.body{min-width:0}
/* Long names break between words, never inside one. */
#bk-grid .stay .nm{overflow-wrap:break-word;word-break:normal;hyphens:none}
#bk-grid .stay .loc,#bk-grid .stay .meta{overflow-wrap:break-word;word-break:normal}
/* Badges over the photo wrap and stay inside it — clipped is the same as absent. */
#bk-grid .stay .tags{max-width:calc(100% - 20px);gap:5px}
#bk-grid .stay .stay-photo-meta{max-width:100%}
@container bkres (max-width:820px){
  /* The price rail cannot survive beside the details here, so it goes UNDER
     them — full width, still right-aligned money, nothing stacked or clipped. */
  #bk-grid .stay{grid-template-columns:216px minmax(0,1fr)}
  #bk-grid .stay>.ph{min-height:190px}
  #bk-grid .stay>.body{grid-template-columns:minmax(0,1fr)}
  #bk-grid .stay>.body>.stay-price-row,#bk-grid .stay>.body>.cmp{
    grid-column:1;grid-row:auto;align-items:flex-start;text-align:left;
    padding-left:0;border-left:0;justify-self:stretch}
  #bk-grid .stay>.body>.stay-price-row{
    flex-direction:row;align-items:center;justify-content:space-between;
    border-top:1px solid var(--border);padding-top:9px;margin-top:6px;gap:10px}
  #bk-grid .stay .bk-club-line{justify-content:flex-start}
}
@container bkres (max-width:430px){
  /* Still HORIZONTAL — photo left at a fixed size, everything readable beside
     it. This is the shape a phone gets too, because a phone's result column is
     also this narrow. */
  #bk-grid .stay{grid-template-columns:124px minmax(0,1fr)}
  #bk-grid .stay>.ph{min-height:158px}
  #bk-grid .stay .tags{top:7px;left:7px;font-size:9.5px}
  #bk-grid .stay .fav{top:7px;right:7px;width:28px;height:28px}
  #bk-grid .stay .stay-photo-meta{display:none}
  #bk-grid .stay>.body{padding:11px 12px}
  #bk-grid .stay .nm{font-size:14px}
}
.bk-urgent{display:inline-flex;align-items:center;gap:5px;margin:8px 0 2px;padding:3px 9px;border-radius:99px;font-size:10.5px;font-weight:700;background:color-mix(in srgb,var(--gold) 14%,transparent);color:var(--gold);border:1px solid color-mix(in srgb,var(--gold) 30%,transparent)}
.bk-urgent.hot{background:color-mix(in srgb,#e2675d 15%,transparent);color:#e2675d;border-color:color-mix(in srgb,#e2675d 34%,transparent)}
.bk-club-line{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin-top:6px;padding:7px 10px;border-radius:10px;background:color-mix(in srgb,var(--gold) 9%,transparent);border:1px dashed color-mix(in srgb,var(--gold) 34%,transparent)}
.bk-club-line b{font-family:var(--ui-font-display);letter-spacing:.12em;font-size:10px;color:var(--gold)}
.bk-club-line span{font-size:12.5px;font-weight:700}
.bk-club-line small{width:100%;font-size:10px;color:var(--text3)}
.bk-club-line.is-member{background:color-mix(in srgb,var(--cp-success-ink) 12%,transparent);border-style:solid;border-color:color-mix(in srgb,var(--cp-success-ink) 34%,transparent)}
.bk-club-line.is-member span{color:var(--cp-success-ink)}
.bk-search-panel{grid-column:1/-1;position:relative;z-index:6;margin-top:20px;padding:16px;border:1px solid color-mix(in srgb,var(--border2) 78%,transparent);border-radius:22px;background:color-mix(in srgb,var(--surface) 90%,transparent);box-shadow:0 24px 60px rgba(0,0,0,.25);backdrop-filter:blur(20px) saturate(135%)}
.bk-search-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 4px 11px}
.bk-search-head h2{font-size:15px;letter-spacing:0}
.bk-search-head span{color:var(--text3);font-size:11px;display:inline-flex;align-items:center;gap:6px}
.bk-search-head span i{color:#4DDD9A}
.bk-search{max-width:none;margin:0;background:color-mix(in srgb,var(--surface2) 84%,transparent);border:1px solid var(--border);border-radius:16px;padding:6px;display:flex;align-items:stretch;gap:4px;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.bk-field{flex:1;padding:12px 18px;border-radius:12px;cursor:pointer;transition:.15s;text-align:left}
.bk-field:hover{background:var(--surface3)}
.bk-field .k{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text3);margin-bottom:3px}
.bk-field .v{font-size:14px;font-weight:500;color:var(--text)}
.bk-field input{background:none;border:none;color:var(--text);outline:none;font-size:14px;font-weight:500;width:100%;font-family:inherit}
.bk-field+.bk-field{border-left:1px solid var(--border)}
.bk-search .go{align-self:center;margin-left:4px;min-width:50px;height:50px;padding:0 18px;border-radius:14px;background:linear-gradient(135deg,#C17B45,#8E5226);display:flex;align-items:center;justify-content:center;gap:8px;color:#FBEFE3;font-size:20px;font-weight:600;flex-shrink:0;cursor:pointer;transition:transform .12s,filter .15s,box-shadow .15s;box-shadow:0 4px 16px rgba(176,110,62,.35)}
.bk-search .go:hover{filter:brightness(1.08);box-shadow:0 6px 22px rgba(176,110,62,.5)}
.bk-search .go:active{transform:translateY(1px) scale(.97)}
.bk-search .go .go-lbl{font-size:15px;font-family:var(--ui-font-display);letter-spacing:.02em}
.bk-quick-areas{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:11px 4px 0;color:var(--text3);font-size:10.5px}
.bk-quick-areas button{padding:5px 9px;border:1px solid var(--border);border-radius:99px;background:var(--surface2);color:var(--text2);font-size:10.5px;transition:.15s}
.bk-quick-areas button:hover{color:var(--text);border-color:var(--gold-dim);background:rgba(176,110,62,.08)}
.bk-wrap{max-width:1280px;margin:0 auto;padding:34px 40px 88px}
/* filter chips */
.bk-discover-head{margin:34px 0 18px}
.bk-discover-head .bk-eyebrow{margin-bottom:8px;font-size:9px}
.bk-discover-head h2{font-size:clamp(25px,3vw,38px);line-height:1.08}
.bk-journey{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:34px;align-items:start;max-width:1280px;margin:0 auto;padding:56px 40px 10px}
.bk-journey h2{font-size:clamp(28px,3.8vw,44px);line-height:1.08;margin:8px 0 14px}
.bk-journey-lead{color:var(--text2);font-size:14.5px;line-height:1.75;max-width:560px}
.bk-journey-list{display:grid;gap:10px;margin-top:22px}
.bk-journey-item{display:flex;gap:14px;align-items:flex-start;padding:13px 15px;border:1px solid var(--border);border-radius:14px;background:color-mix(in srgb,var(--surface) 70%,transparent)}
.bk-journey-item span{font-family:var(--ui-font-display);color:var(--gold);font-size:12px;padding-top:2px}
.bk-journey-item b{display:block;font-size:13.5px}
.bk-journey-item small{display:block;color:var(--text3);font-size:12px;margin-top:3px;line-height:1.55}
.bk-journey-side{display:grid;gap:12px;padding-top:58px}
.bk-journey-card{padding:18px;border:1px solid var(--gold-dim);border-radius:16px;background:linear-gradient(135deg,rgba(201,162,75,.10),transparent 70%)}
.bk-journey-card b{font-size:14px}
.bk-journey-card small{display:block;color:var(--text2);font-size:12.5px;margin-top:5px;line-height:1.6}
@media(max-width:820px){.bk-journey{grid-template-columns:1fr;padding:38px 16px 6px}.bk-journey-side{padding-top:0}}
.oacc-hero{display:flex;gap:18px;align-items:center;padding:22px;border-radius:18px;border:1px solid var(--border2);
  background:linear-gradient(135deg,var(--oas),transparent 62%),var(--surface)}
.oacc-mono{width:64px;height:64px;flex:0 0 64px;border-radius:18px;display:grid;place-items:center;font-family:var(--ui-font-display);
  font-size:24px;font-weight:700;color:#fff;background:linear-gradient(135deg,var(--oa),var(--oa2));box-shadow:0 10px 26px rgba(0,0,0,.28)}
.oacc-kicker{font-family:var(--ui-font-display);letter-spacing:.16em;font-size:10.5px;text-transform:uppercase;color:var(--oa)}
.oacc-hero h2{font-size:24px;margin:4px 0 4px}
.oacc-hero p{color:var(--text2);font-size:13px}
.oacc-terms{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}
.oacc-terms span{font-size:11.5px;color:var(--text2);padding:5px 10px;border:1px solid var(--border);border-radius:99px;background:var(--surface2)}
.bk-trust-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:34px 0 8px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.bk-trust-strip>div{padding:22px 14px;text-align:center;border-left:1px solid var(--border)}
.bk-trust-strip>div:first-child{border-left:0}
.bk-trust-strip span{display:block;font-family:var(--ui-font-display);font-size:30px;line-height:1;color:var(--gold)}
.bk-trust-strip p{margin-top:7px;font-size:12.5px;color:var(--text3)}
.bk-collection-head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:26px;align-items:end;margin:38px 0 22px}
.bk-collection-head h2{font-size:clamp(26px,3.6vw,40px);line-height:1.1;margin-top:8px}
.bk-collection-head>p{color:var(--text2);font-size:14px;line-height:1.7;padding-bottom:6px}
.bk-eyebrow-dark{font-family:var(--ui-font-display);letter-spacing:.16em;font-size:11px;text-transform:uppercase;color:var(--gold)}
@media(max-width:820px){.bk-trust-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.bk-trust-strip>div:nth-child(3){border-left:0}.bk-collection-head{grid-template-columns:1fr;gap:12px}}
.stay .stay-avail{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:20px;font-size:9.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.stay .stay-avail.on{background:rgba(34,197,94,.90);color:#04240f}
.stay .stay-avail.off{background:rgba(15,20,26,.86);color:var(--cp-danger-ink);border:1px solid rgba(248,113,113,.45)}
.stay.is-blocked{opacity:.62;filter:saturate(.6)}
.stay.is-blocked:hover{opacity:.82;filter:none}
.stay.is-blocked .ph{filter:grayscale(.35)}
.bk-filters{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 28px;align-items:center;padding:13px;border:1px solid var(--border);border-radius:18px;background:color-mix(in srgb,var(--surface) 74%,transparent);box-shadow:0 12px 32px rgba(0,0,0,.10)}
.chip{padding:8px 16px;border-radius:99px;border:1px solid var(--border2);color:var(--text2);font-size:13px;cursor:pointer;transition:.12s;white-space:nowrap;background:var(--surface)}
.chip:hover{color:var(--text);border-color:var(--gold-dim);transform:translateY(-1px)}
.chip.active{background:linear-gradient(135deg,#C57D49,#9A5830);color:#fff;border-color:transparent;font-weight:600;box-shadow:0 7px 18px rgba(176,110,62,.22)}
.bk-advbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;width:100%;margin-top:4px}
.bk-mode-card{flex:1;min-width:210px;cursor:pointer;border:1px solid var(--border2);background:color-mix(in srgb,var(--surface) 84%,transparent);border-radius:17px;padding:14px 16px;display:flex;gap:12px;align-items:center;transition:.17s;position:relative;overflow:hidden}
.bk-mode-card:hover{border-color:var(--gold-dim);transform:translateY(-2px)}
.bk-mode-card.active{border-color:var(--gold);background:linear-gradient(125deg,rgba(176,110,62,.18),rgba(176,110,62,.04));box-shadow:0 12px 28px rgba(0,0,0,.12)}
.bk-mode-card i{font-size:21px;color:var(--text3)}
.bk-mode-card.active i{color:#D99665}
.bk-mode-card b{display:block;font-size:14px}
.bk-mode-card small{font-size:11.5px;color:var(--text3)}
.stay .fav.on{background:rgba(176,110,62,.92);color:#fff}
/* listing grid */
.bk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:22px}
.stay{background:color-mix(in srgb,var(--surface) 92%,transparent);border:1px solid color-mix(in srgb,var(--border) 88%,transparent);border-radius:22px;overflow:hidden;cursor:pointer;transition:transform .22s,border-color .2s,box-shadow .22s;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.stay:hover{transform:translateY(-6px);border-color:var(--gold-dim);box-shadow:0 24px 54px rgba(0,0,0,.30)}
.stay .ph{height:238px;position:relative;background-size:cover;background-position:center;overflow:hidden}
.stay .ph::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,12,17,.08) 30%,rgba(8,12,17,.72))}
.stay .ph::before{content:'';position:absolute;inset:0;background:inherit;background-size:cover;background-position:center;transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.stay:hover .ph::before{transform:scale(1.045)}
.stay .tags{position:absolute;top:12px;left:12px;display:flex;gap:6px;z-index:2;flex-wrap:wrap;max-width:90%}
.stay .fav{position:absolute;top:12px;right:12px;z-index:2;width:34px;height:34px;border-radius:50%;background:rgba(14,17,22,.5);display:flex;align-items:center;justify-content:center;color:#fff;backdrop-filter:blur(4px)}
.tag-chip{background:rgba(14,17,22,.62);backdrop-filter:blur(6px);color:#fff;font-size:11px;font-weight:600;padding:4px 9px;border-radius:99px;display:inline-flex;align-items:center;gap:4px}
.tag-chip.fave{background:rgba(176,110,62,.92)}
.stay-photo-meta{position:absolute;z-index:2;left:15px;right:15px;bottom:13px;display:flex;align-items:end;justify-content:space-between;gap:10px;color:#fff}
.stay-photo-meta .area{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.78)}
.stay-photo-meta .nightly{padding:6px 9px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(7,11,16,.58);backdrop-filter:blur(8px);font-family:var(--ui-font-display);font-weight:700;font-size:13px;white-space:nowrap}
.stay .body{padding:17px 18px 18px}
.stay .top{display:flex;justify-content:space-between;align-items:start;gap:10px}
.stay .nm{font-size:15px;font-weight:700;line-height:1.35}
.stay .loc{font-size:13px;color:var(--text3);margin-top:2px}
.stay .rt{font-size:13px;font-weight:600;display:flex;align-items:center;gap:4px;white-space:nowrap}
.stay .rt i{color:var(--gold);font-size:14px}
.stay .meta{font-size:13px;color:var(--text3);margin-top:8px}
.stay-price-row{display:flex;align-items:end;justify-content:space-between;gap:10px;padding-top:12px;margin-top:12px;border-top:1px solid var(--border)}
.stay .price{margin-top:0;font-size:14px}
.stay .price b{font-family:var(--ui-font-display);font-size:20px;color:var(--text)}
.stay .ib{font-size:12px;color:var(--green);display:inline-flex;align-items:center;gap:4px;margin-left:8px}
.stay-view{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;flex:0 0 35px;background:rgba(176,110,62,.12);color:#DFA779;border:1px solid rgba(176,110,62,.28);transition:.15s}
.stay:hover .stay-view{background:linear-gradient(135deg,#C17B45,#8E5226);color:#fff;transform:translateX(2px)}
/* detail */
.bk-detail{max-width:1200px;margin:0 auto;padding:30px 40px 88px}
.bk-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-auto-rows:180px;gap:10px;border-radius:24px;overflow:hidden;margin-bottom:30px;box-shadow:0 24px 60px rgba(0,0,0,.25)}
.bk-gallery .g{background-size:cover;background-position:center}
#booking-site .bk-gallery button.g{display:block;border:0;padding:0;min-width:0;cursor:zoom-in;background:var(--surface2);overflow:hidden}
#booking-site .bk-gallery .g img{display:block;width:100%;height:100%;object-fit:cover}
#booking-site .bk-gallery .g:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}
.bk-photo-count{position:absolute;bottom:12px;right:12px;background:#fff;color:#171717;padding:9px 13px;border-radius:9px;font-size:13px;font-weight:600}
#bk-photo-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:20px;border:0;background:#111;color:#fff;box-sizing:border-box}
#bk-photo-dialog [hidden],#booking-site .bk-gallery [hidden]{display:none!important}
#bk-photo-dialog::backdrop{background:rgba(0,0,0,.9)}
#bk-photo-dialog .bk-photo-top{display:flex;align-items:center;justify-content:space-between;gap:16px;height:52px}
#bk-photo-dialog button{border:1px solid #666;background:#242424;color:#fff;border-radius:10px;padding:10px 16px;min-height:44px;cursor:pointer;font:inherit}
#bk-photo-dialog .bk-photo-stage{height:calc(100% - 116px);display:flex;align-items:center;justify-content:center;position:relative}
#bk-photo-dialog img{width:100%;height:100%;object-fit:contain}
#bk-photo-dialog .bk-photo-controls{display:flex;align-items:center;justify-content:center;gap:20px;height:64px}
#bk-photo-dialog .bk-photo-status{position:absolute;background:#111d;padding:12px;border-radius:8px;text-align:center}

.bk-gallery .g.big{grid-row:span 2;grid-column:1}
/* Sparse galleries fill the available row without phantom empty photo slots. */
#booking-site .bk-gallery[data-photo-count="0"],#booking-site .bk-gallery[data-photo-count="1"]{grid-template-columns:minmax(0,1fr)}
#booking-site .bk-gallery[data-photo-count="2"],#booking-site .bk-gallery[data-photo-count="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}
#booking-site .bk-gallery[data-photo-count="2"] .g.big{grid-row:span 1}
#booking-site .bk-gallery[data-photo-count="4"] .g:last-child{grid-column:span 2}
@media(max-width:860px){#booking-site .bk-gallery[data-photo-count="4"] .g.big{grid-column:1/-1;grid-row:span 1}}

.bk-gallery .g{position:relative;transition:filter .2s,transform .25s}.bk-gallery .g:hover{filter:brightness(1.08)}
.bk-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:44px;align-items:start}
.bk-amen{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}
.bk-amen div{display:flex;align-items:center;gap:10px;color:var(--text2);font-size:14px}.bk-amen i{color:var(--gold);font-size:18px}
.book-widget{position:sticky;top:88px;background:linear-gradient(150deg,color-mix(in srgb,var(--surface) 96%,#15202A),color-mix(in srgb,var(--surface2) 94%,#0D1218));border:1px solid color-mix(in srgb,var(--border2) 82%,var(--gold-dim));border-radius:22px;padding:24px;box-shadow:0 24px 60px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.035)}
.bw-price{font-family:var(--ui-font-display);font-size:26px}
.bw-dates{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--border);border-radius:12px;overflow:hidden;margin:16px 0}
.bw-dates .d{padding:10px 14px}.bw-dates .d+.d{border-left:1px solid var(--border)}
.bw-dates .k{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--text3)}
.bw-dates .v{font-size:14px;font-weight:500}
.bw-row{display:flex;justify-content:space-between;font-size:14px;color:var(--text2);padding:7px 0}
.bw-row.total{border-top:1px solid var(--border);margin-top:8px;padding-top:12px;color:var(--text);font-weight:600;font-size:15px}
.bk-results-head{padding:2px 2px 0}
.bk-results-head h3{font-family:var(--ui-font-text);font-weight:500;color:var(--text2)}
@media(max-width:1060px){
  .bk-hero-shell{grid-template-columns:minmax(0,1fr) minmax(330px,.9fr);gap:26px}
  .bk-hero-gallery{height:410px}
  .bk-hero h1{font-size:50px}
  .bk-detail-grid{grid-template-columns:minmax(0,1fr) 350px;gap:26px}
}
@media(max-width:820px){
  .bk-hero{padding-top:34px}
  .bk-hero-shell{grid-template-columns:1fr}
  .bk-hero-copy{text-align:center;padding:8px 0 0}
  .bk-eyebrow{justify-content:center}
  .bk-hero h1,.bk-hero p{margin-left:auto;margin-right:auto}
  .bk-hero-actions{justify-content:center}
  .bk-trust{max-width:620px;margin-left:auto;margin-right:auto}
  .pay-strip{justify-content:center}
  .bk-hero-gallery{height:360px;max-width:650px;width:100%;margin:0 auto}
  .bk-search-panel{margin-top:2px}
}
@media(max-width:640px){
  .bk-hero-shell{gap:22px}
  .bk-hero h1{font-size:39px}
  .bk-hero h1 .gold{margin-top:4px}
  .bk-hero-actions{margin-top:20px}
  .bk-hero-primary,.bk-hero-support{width:100%;justify-content:center}
  .bk-trust{grid-template-columns:1fr}
  .bk-trust span{justify-content:flex-start}
  .bk-hero-gallery{height:315px;grid-template-columns:1.45fr .8fr;gap:7px}
  .bk-hero-photo.main{border-radius:20px}.bk-hero-photo{border-radius:14px}
  .bk-hero-rate{right:8px;bottom:12px;min-width:140px;padding:10px 12px}
  .bk-search-panel{padding:9px;border-radius:18px}
  .bk-search-head{display:none}
  #booking-site .bk-search{margin-top:0}
  .bk-quick-areas{display:none}
  #booking-site .bk-wrap{padding-top:18px}
  .bk-discover-head{margin-top:20px}
  .bk-discover-head h2{font-size:28px}
  .bk-filters{padding:9px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .bk-filters::-webkit-scrollbar{display:none}
  .bk-filters>.chip{flex:0 0 auto}
  .bk-advbar{min-width:max-content}
  #booking-site .bk-grid{grid-template-columns:minmax(0,1fr);gap:17px}
  .stay .ph{height:230px}
  .bk-gallery{grid-auto-rows:132px;border-radius:18px}
  .book-widget{padding:19px}
}
/* Hero-gallery layout guard: pin photo sizing against any injected shell styles,
   so tiles always fill their grid cell and never overflow onto the search panel. */
#booking-site .bk-hero-gallery{height:420px!important;width:100%!important;display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr)!important;grid-template-rows:1fr 1fr!important;gap:10px!important}
#booking-site .bk-hero-gallery .bk-hero-photo{position:relative!important;inset:auto!important;transform:none!important;margin:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;min-width:0!important}
#booking-site .bk-hero-photo.main{grid-row:1/-1!important;grid-column:1!important}
#booking-site .bk-hero-gallery .bk-live-badge{white-space:nowrap}
@media(max-width:1060px){#booking-site .bk-hero-gallery{height:410px!important}}
@media(max-width:820px){#booking-site .bk-hero-gallery{height:360px!important}}
@media(max-width:640px){#booking-site .bk-hero-gallery{height:315px!important}}
/* price comparison vs OTAs */
.cmp{display:inline-flex;align-items:center;gap:6px;font-size:12px;margin-top:6px;color:var(--text3)}
.cmp s{color:var(--text3)}
.save{background:rgba(34,197,94,.16);color:var(--cp-success-ink);font-weight:600;padding:2px 8px;border-radius:99px;font-size:11px}
.cmp-box{background:rgba(34,197,94,.08);border:1px solid rgba(34,197,94,.25);border-radius:12px;padding:12px 14px;margin:14px 0;font-size:13px;color:var(--cp-success-ink);display:flex;align-items:center;gap:10px}
.cmp-box i{font-size:18px}
/* toolbar */
.bk-toolbar{display:flex;align-items:center;gap:8px}
.seg{display:flex;background:var(--surface2);border:1px solid var(--border);border-radius:10px;padding:3px}
.seg button{padding:6px 14px;border-radius:7px;font-size:13px;color:var(--text2);display:flex;align-items:center;gap:6px}
.seg button.active{background:var(--surface3);color:var(--text)}
.bk-select{background:var(--surface2);border:1px solid var(--border);border-radius:10px;padding:8px 12px;color:var(--text);font-size:13px;font-family:inherit;outline:none}
/* ══════════════════════════════════════════════════════════════════════════
   BOOKING SEARCH — the arrangement, in OUR design language.
   Structure (three columns, a sectioned filter sidebar with live counts, a map
   column at ~half width) is the shape /book.html proved. Every colour, border,
   radius and typeface below is CitiHome's own: --surface/--border/--gold, the
   copper accent, Chakra Petch section headings. Nothing light-grey, nothing
   green-header. The page must be unmistakable at a glance and indistinguishable
   in layout.
   ══════════════════════════════════════════════════════════════════════════ */
/* ── the filter sidebar: SECTIONS with headings and a count on every option ── */
.bk-fsec{padding:12px 0;border-top:1px solid var(--border)}
.bk-fsec:first-of-type{border-top:0;padding-top:2px}
.bk-fsec>h3,.bk-fsec>h4{font-family:var(--ui-font-display);letter-spacing:.14em;text-transform:uppercase;font-size:10px;color:var(--text3);margin:0 0 8px;font-weight:600}
.bk-frow{display:flex;align-items:center;gap:8px;padding:4px 0;font-size:13px;color:var(--text2);cursor:pointer;line-height:1.3}
.bk-frow:hover{color:var(--text)}
.bk-frow input{accent-color:var(--gold);flex:0 0 auto;margin:0}
.bk-frow>span.lbl{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* THE COUNT. Right-aligned, always present, and it is the number of results you
   would have if you ticked this box with every OTHER filter still applied. */
.bk-frow .cnt{margin-left:auto;flex:0 0 auto;font-family:var(--ui-font-display);font-size:11px;color:var(--text3);padding-left:6px}
/* Zero matches is a count, not a disabled control: keep its label readable. */
.bk-frow.is-zero{opacity:1}
.bk-fsec input[type=range]{width:100%;accent-color:var(--gold);margin:2px 0}
.bk-frange{display:flex;justify-content:space-between;font-size:11px;color:var(--text3)}
.bk-fnote{font-size:11px;color:var(--text3);margin-top:4px}
.bk-side-reset{width:100%;margin-top:10px}
/* ── the results header: count · Nightly|Monthly · sort · map ── */
.bk-results-head h3 b{font-family:var(--ui-font-display);font-weight:700;color:var(--text)}
.bk-seg-mode button.active{background:linear-gradient(135deg,#C17B45,#8E5226);color:#fff}
/* ── THE MAP COLUMN. A column, not a banner: filters · results · map, and
      closing it hands the full width back to the list. ── */
.bk-mapcol{display:none;min-width:0}
/* 46% to the map left the result column at ~400px, which is where the card
   collapsed. The map is still the larger half of the pair; the list simply
   stops being squeezed into an unreadable ribbon. */
.bk-layout.map-on{grid-template-columns:212px minmax(0,1fr) minmax(0,40%)}
.bk-layout.map-on .bk-mapcol{display:block;position:sticky;top:84px;align-self:start}
/* With the map open the list becomes one column of cards — the same card, the
   same badges, the same prices, narrower. */
.bk-layout.map-on .bk-grid{grid-template-columns:minmax(0,1fr)}
/* The middle column is ~380px with the map open. The count and the controls
   side by side at that width wrapped into a 216px-tall header that pushed the
   first card off the fold — so they stack, and the controls wrap. */
.bk-layout.map-on .bk-results-head{flex-direction:column;align-items:stretch!important;gap:10px}
.bk-layout.map-on .bk-results-head h3{font-size:16px}
.bk-layout.map-on .bk-toolbar{flex-wrap:wrap}
.bk-layout.map-on .bk-toolbar .bk-select{flex:1 1 150px;min-width:0}
.bk-maphead{display:flex;gap:8px;align-items:center;margin-bottom:8px}
.bk-maphead input{flex:1 1 120px;min-width:0;background:var(--surface2);border:1px solid var(--border);border-radius:10px;padding:8px 11px;color:var(--text);font:inherit;font-size:13px;outline:none}
.bk-maphead input:focus{border-color:var(--gold-dim)}
.bk-mapclose{background:var(--surface2);border:1px solid var(--border);color:var(--text);border-radius:10px;padding:8px 13px;font-size:13px;font-family:inherit;white-space:nowrap}
.bk-mapclose:hover{border-color:var(--gold-dim);color:#DFA779}
/* The degradation line sits ABOVE the canvas — a message about a broken map you
   have to scroll past the broken map to read is not a message. */
.bk-mapnote{display:none;font-size:12px;line-height:1.45;color:#E8C98A;background:rgba(176,110,62,.10);border:1px solid var(--gold-dim);border-radius:12px;padding:9px 12px;margin-bottom:8px}
#bk-mapbox{height:calc(100vh - 150px);min-height:430px;border-radius:18px;overflow:hidden;border:1px solid var(--border2);background:var(--surface2)}
.bk-mapfoot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 2px;font-size:12px;color:var(--text3)}
.bk-mapfoot label{display:flex;align-items:center;gap:6px;cursor:pointer}
.bk-mapfoot input{accent-color:var(--gold)}
.bk-unpinned{font-size:12px;color:var(--text3);padding:8px 2px;line-height:1.5}
/* pins, clusters and the mini card — the shared component's classes, wearing
   our copper rather than book.html's green. */
.chm-pin{background:linear-gradient(135deg,#C17B45,#8E5226);color:#fff;border:1.5px solid rgba(255,255,255,.85);border-radius:10px;padding:4px 9px;font-family:var(--ui-font-display);font-weight:700;font-size:12px;line-height:1.2;box-shadow:0 3px 12px rgba(0,0,0,.45);white-space:nowrap;transition:transform .09s}
.chm-pin.is-gone{background:var(--surface3);color:var(--text3);border-color:var(--border)}
.chm-pin.is-hot{background:var(--text);color:#0E1116;transform:scale(1.16);z-index:9}
.chm-cluster{background:rgba(14,17,22,.9);color:#DFA779;border:2px solid var(--gold);border-radius:50%;min-width:36px;height:36px;font-family:var(--ui-font-display);font-weight:700;font-size:13px;box-shadow:0 3px 14px rgba(0,0,0,.5)}
.chm-popup .maplibregl-popup-content{padding:0;border-radius:16px;overflow:hidden;background:var(--surface);border:1px solid var(--border2);box-shadow:0 24px 60px rgba(0,0,0,.4)}
.chm-popup .maplibregl-popup-tip{border-top-color:var(--surface);border-bottom-color:var(--surface)}
.chm-popup img{width:100%;height:112px;object-fit:cover;display:block}
.chm-popup .chm-b{padding:11px 13px 13px}
.chm-popup .chm-n{font-weight:700;font-size:13.5px;color:var(--text)}
.chm-popup .chm-a{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--text3);margin-bottom:6px}
.chm-popup .chm-p{font-family:var(--ui-font-display);font-weight:700;font-size:15px;color:var(--text)}
.chm-popup .chm-p.chm-none{font-weight:500;font-size:13px;color:var(--text3)}
.chm-popup .chm-sub{font-size:11px;color:var(--text3)}
.chm-popup .chm-go{margin-top:9px;width:100%;background:linear-gradient(135deg,#C17B45,#8E5226);color:#fff;border:0;border-radius:10px;padding:8px;font-weight:600;font-size:13px;font-family:inherit}
/* pin ⇄ card, both directions */
.stay.is-hot{border-color:var(--gold);box-shadow:0 24px 54px rgba(0,0,0,.34),0 0 0 2px rgba(176,110,62,.5)}
@media(max-width:1200px){.bk-layout.map-on{grid-template-columns:196px minmax(0,1fr) minmax(0,38%)}}
/* ON A PHONE THE MAP AND THE LIST ARE NEVER BOTH ON SCREEN — half of each on a
   375px screen is two unusable things instead of one good one. */
@media(max-width:980px){
  .bk-layout.map-on{grid-template-columns:minmax(0,1fr)}
  .bk-layout.map-on .bk-side,.bk-layout.map-on .bk-results{display:none}
  .bk-layout.map-on .bk-mapcol{position:static}
  #bk-mapbox{height:calc(100vh - 210px)}
}
/* shared cross-view filter bar (property + dates + channel) */
.gf-bar{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;padding:12px 14px;background:var(--surface2);border:1px solid var(--border);border-radius:14px;margin-bottom:14px}
.gf-l{display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--text3);letter-spacing:.02em;text-transform:uppercase}
.gf-s{background:var(--surface3,var(--surface));border:1px solid var(--border2,var(--border));border-radius:9px;padding:8px 10px;color:var(--text);font-size:13px;font-family:inherit;outline:none;min-width:120px}
.gf-s:focus{border-color:var(--gold)}
.gf-bar .btn{margin-bottom:1px}
/* Unit 360 — one shared property command-centre opened from Properties and Calendar. */
.u360-shell{background:var(--surface);border:1px solid var(--border2);border-radius:20px;width:min(1220px,96vw);box-shadow:0 28px 90px rgba(0,0,0,.62);margin:auto;overflow:hidden}
.u360-body{padding:22px}
.u360-hero{height:220px;position:relative;display:flex;align-items:flex-end;padding:22px;background:linear-gradient(135deg,var(--surface3),var(--surface));overflow:hidden}
.u360-hero-img{position:absolute;inset:0;background:var(--surface) center/cover;opacity:.48;transition:opacity .3s}
.u360-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,8,12,.05),rgba(5,8,12,.86))}
.u360-actions{position:relative;z-index:2;margin-left:auto;display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.u360-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:9px}
.u360-link{display:flex;gap:10px;align-items:center;min-height:66px;padding:11px 12px;border:1px solid var(--border);background:var(--surface2);border-radius:12px;text-decoration:none;color:var(--text);transition:.15s}
.u360-link:hover{border-color:var(--gold-dim);transform:translateY(-1px);background:var(--surface3)}
.u360-link .ic{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(176,110,62,.12);color:var(--gold);font-size:18px;flex:0 0 auto}
.u360-link .nm{font-size:12.5px;font-weight:650}.u360-link .meta{font-size:10.5px;color:var(--text3);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:155px}
.u360-link.off{opacity:.62;cursor:default}.u360-link.off:hover{transform:none;border-color:var(--border)}
.u360-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:0 18px}
.u360-cal-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.u360-months{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:10px;padding:12px}
.u360-month{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--surface2)}
.u360-month-h{display:flex;justify-content:space-between;align-items:center;padding:9px 10px;border-bottom:1px solid var(--border);font-size:12.5px}
.u360-week,.u360-days{display:grid;grid-template-columns:repeat(7,1fr)}
.u360-week span{font-size:9px;color:var(--text3);padding:5px 2px;text-align:center}
.u360-day{min-height:44px;border-top:1px solid rgba(255,255,255,.035);border-right:1px solid rgba(255,255,255,.035);padding:4px;position:relative;font-size:9.5px}
.u360-day .n{color:var(--text2)}.u360-day .p{font-size:9px;color:var(--gold);font-weight:650;margin-top:4px}
.u360-day.blocked{background:rgba(239,68,68,.09)}.u360-day.blocked .p{color:var(--cp-danger-ink)}.u360-day.booked{background:rgba(29,93,236,.12)}
.u360-day.blank{opacity:.18}
@media(max-width:900px){.u360-months{grid-template-columns:1fr}.u360-hero{height:250px}.u360-actions{max-width:52%}.u360-body{padding:14px}}
/* in-app notification center */
.notif-bell{position:relative;width:38px;height:38px;border-radius:11px;border:1px solid var(--border);background:var(--surface2);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text2)}
.notif-bell:hover{color:var(--text);border-color:var(--border2)}
/* The badge lives INSIDE the 38px bell (a -5px offset escaped it and sat on the
   icon — flagged by the visual audit). The icon shifts down-left so the corner
   is genuinely free; pointer-events:none so the bell keeps the whole hit area. */
.notif-badge{position:absolute;top:2px;right:2px;min-width:13px;height:13px;padding:0 3px;border-radius:7px;background:#E5484D;color:#fff;font-size:9px;font-weight:700;display:flex;align-items:center;justify-content:center;border:1px solid var(--bg,#0E1116);pointer-events:none}
.notif-bell>i.ti-bell{transform:translate(-3px,4px)}
.notif-panel{position:absolute;top:48px;right:0;width:360px;max-width:88vw;max-height:460px;overflow:auto;background:var(--surface);border:1px solid var(--border2);border-radius:14px;box-shadow:0 24px 60px rgba(0,0,0,.5);z-index:60}
.notif-head{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--surface)}
.notif-item{display:flex;gap:11px;padding:12px 16px;border-bottom:1px solid var(--border);cursor:default}
.notif-item.unread{background:rgba(176,110,62,.07)}
.notif-item .ni-ic{width:34px;height:34px;border-radius:9px;background:var(--surface2);display:flex;align-items:center;justify-content:center;color:var(--gold);flex-shrink:0}
.notif-item .ni-t{font-size:13px;color:var(--text);font-weight:600}
.notif-item .ni-m{font-size:12px;color:var(--text2);margin-top:2px;line-height:1.4}
.notif-item .ni-time{font-size:11px;color:var(--text3);margin-top:3px}
/* map view */
.bk-map{position:relative;height:560px;border-radius:18px;overflow:hidden;border:1px solid var(--border);background:linear-gradient(135deg,#11202b,#0E1116)}
.bk-map .grid-lines{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:48px 48px}
.bk-map .water{position:absolute;inset:0;background:radial-gradient(ellipse 60% 40% at 70% 30%,rgba(45,120,160,.18),transparent 60%)}
.map-pin{position:absolute;transform:translate(-50%,-50%);background:var(--surface2);border:1px solid var(--gold-dim);color:var(--text);font-family:var(--ui-font-display);font-weight:600;font-size:13px;padding:6px 12px;border-radius:99px;cursor:pointer;transition:.15s;box-shadow:0 6px 18px rgba(0,0,0,.5);white-space:nowrap}
.map-pin:hover,.map-pin.hot{background:var(--gold);color:#1A1408;border-color:var(--gold);transform:translate(-50%,-50%) scale(1.08);z-index:5}

/* payments & loyalty */
.pay-label{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text3);margin:16px 0 8px}
.pay-methods{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.paym{border:1px solid var(--border2);border-radius:11px;padding:10px;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;font-size:13px;font-weight:600;transition:.12s;background:var(--surface2);min-height:42px}
.paym:hover{border-color:var(--gold-dim)}
.paym.active{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold) inset}
.paym.unavailable{opacity:.38;cursor:not-allowed;filter:grayscale(1);position:relative}
.paym.unavailable:after{content:'Not live';font-size:8px;color:var(--text3);margin-left:3px}
.paym .lg{font-weight:700;letter-spacing:-.01em}
.pm-apple{color:#fff}
.pm-gpay{color:#fff}
.pm-card{color:var(--text)}
.pm-tabby .lg{color:#3DDC97}
.pm-tamara .lg{background:linear-gradient(90deg,#FF5C8D,#8A5CFF);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.pay-note{font-size:12px;color:var(--text2);margin-top:8px;min-height:16px;line-height:1.5}
.cards-row{display:flex;gap:6px;align-items:center;margin-top:8px;flex-wrap:wrap}
.cbadge{height:22px;padding:0 7px;border-radius:5px;display:inline-flex;align-items:center;font-size:10px;font-weight:800;color:#fff;letter-spacing:.02em}
.cb-visa{background:#1A1F71}.cb-mc{background:#1A1A1A}.cb-amex{background:#016FD0}.cb-apple{background:#000}.cb-gpay{background:#fff;color:#5f6368;border:1px solid var(--border2)}.cb-mada{background:#0B7A3B}
.loy-sel{width:100%;background:var(--surface2);border:1px solid var(--border2);border-radius:11px;padding:11px 12px;color:var(--text);font-size:13px;font-family:inherit;outline:none}
.loy-note{font-size:12px;margin-top:8px;min-height:16px}
.loy-pills{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.lpill{font-size:11px;font-weight:700;padding:3px 9px;border-radius:99px;color:#fff}
.lp-fazaa{background:#0A7A3D}.lp-esaad{background:#0B2E5E}.lp-tabby{background:#06342A;color:#3DDC97}.lp-tamara{background:linear-gradient(90deg,#FF5C8D,#8A5CFF)}
.pay-strip{display:flex;gap:8px;justify-content:flex-start;align-items:center;flex-wrap:wrap;margin-top:18px;opacity:.92}

@media(max-width:860px){.bk-detail-grid{grid-template-columns:1fr}.book-widget{position:static}.bk-search{flex-wrap:wrap}.bk-gallery{grid-template-columns:1fr 1fr}.bk-map{height:420px}}

@media(max-width:860px){
  .hero h1{font-size:42px}
  .lp-navlinks{display:none}
  .lp-nav,.section-pad,.hero{padding-left:24px;padding-right:24px}
  .sidebar{transform:translateX(-100%)}
  .main{margin-left:0}
}
/* The input itself is the touch target; padding on its parent does not count. */
@media(max-width:860px){
  #booking-site .bk-field input,#booking-site .bk-field select,
  #booking-site.ch-book .bk-field input,#booking-site.ch-book .bk-field select{min-height:44px;min-width:0;box-sizing:border-box;font-size:16px}
}
@keyframes spin{to{transform:rotate(360deg)}}
.vis-timeline{border:1px solid var(--border)!important;border-radius:10px;font-family:inherit;background:var(--surface)}
.vis-panel,.vis-labelset,.vis-time-axis,.vis-foreground,.vis-background{border-color:var(--border)!important}
.vis-labelset .vis-label,.vis-time-axis .vis-grid.vis-minor{border-color:var(--border)!important}
.vis-label .vis-inner{color:var(--text)!important;padding:6px 10px!important}
.vis-time-axis .vis-text{color:var(--text3)!important;font-size:11px}
.vis-time-axis .vis-text.vis-major{color:var(--text2)!important;font-weight:600}
.vis-grid.vis-saturday,.vis-grid.vis-sunday{background:rgba(201,162,75,.05)}
.vis-item{border-width:1px;font-size:11px}
.vis-item.vis-selected{box-shadow:0 0 0 2px var(--gold)}
.vis-item.tl-blocked{background:repeating-linear-gradient(45deg,rgba(120,120,120,.18),rgba(120,120,120,.18) 6px,transparent 6px,transparent 12px);border:none}
/* Nightly Hostaway price on every free timeline night. Keep it above the row
   background and give it a real high-contrast cell so it cannot collapse into
   the one-pixel marks that transparent vis range items produced. */
/* A price item is EXACTLY one night wide and CLIPS to that night. It must never
   be wider than its own day slot (the old min-width:28px + overflow:visible let
   neighbouring nights render on top of each other whenever the zoom put a day
   under 28px). The timeline's zoomMax is capped in calTimeline() so a day slot
   is never narrower than CAL_MIN_DAY_PX — past that the operator pans instead
   of the numbers shrinking into each other. */
.vis-item.tl-price{
  height:24px!important;min-height:24px!important;min-width:0!important;
  background:rgba(9,15,21,.92)!important;
  border:1px solid rgba(201,142,90,.52)!important;border-radius:5px!important;
  box-shadow:0 2px 9px rgba(0,0,0,.26)!important;
  z-index:4!important;overflow:hidden!important
}
.vis-item.tl-price .vis-item-overflow{overflow:hidden!important}
.vis-item.tl-price .vis-item-content{
  position:absolute!important;inset:0!important;width:auto!important;max-width:100%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0 1px!important;text-align:center!important;overflow:hidden!important;
  transform:none!important
}
.tl-pr{
  display:inline-flex;align-items:baseline;justify-content:center;gap:2px;
  font-size:12px;line-height:22px;font-weight:750;color:#F4F7FB!important;
  white-space:nowrap;letter-spacing:-.025em;opacity:1!important;overflow:hidden;
  font-variant-numeric:tabular-nums;text-shadow:0 1px 3px rgba(0,0,0,.8)
}
.tl-pr .tl-cur{font-size:7px;line-height:1;font-weight:800;letter-spacing:.03em;color:#D7A074}
.vis-item.tl-price:hover{border-color:var(--gold)!important;background:#111C25!important}
/* A night that carries a task or a note is marked ON ITS OWN CHIP — a 2px
   status rail along the bottom and a small dot in the corner. Both are drawn
   inside the chip's clipped box, so they consume no width and can never land
   on a neighbouring night. Detail lives in the tooltip. */
.vis-item.tl-price.tl-has-task::after{
  content:'';position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:0 0 4px 4px}
.vis-item.tl-price.tl-task-open::after{background:#8B95A5}
.vis-item.tl-price.tl-task-progress::after{background:#C9A24B}
.vis-item.tl-price.tl-task-done::after{background:#34D399}
.vis-item.tl-price.tl-has-note::before{
  content:'';position:absolute;top:2px;right:2px;width:4px;height:4px;border-radius:50%;
  background:#E7B96B;box-shadow:0 0 0 1px rgba(9,15,21,.9);z-index:2}
.vis-item.tl-reservation{z-index:7!important}
/* ── MONTHLY (one unit) ─────────────────────────────────────────────────────
   Seven fixed columns. minmax(0,1fr) is what stops a long price forcing a
   column wider than its share and pushing the row out of alignment. */
.cm-head{display:flex;align-items:center;gap:8px;padding:4px 2px 12px;flex-wrap:wrap}
.cm-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.cm-dow{font-size:10.5px;font-weight:700;color:var(--text3);text-align:center;padding:2px 0 4px;letter-spacing:.06em}
.cm-cell{position:relative;min-height:76px;border:1px solid var(--border);border-radius:9px;padding:6px 7px;overflow:hidden;cursor:pointer;transition:.12s}
.cm-cell:hover{border-color:var(--gold);transform:translateY(-1px)}
.cm-empty{border:none;background:transparent;cursor:default;min-height:0}
.cm-empty:hover{transform:none}
.cm-free{background:rgba(34,197,94,.09)}
.cm-blk{background:rgba(239,68,68,.12)}
.cm-res{background:rgba(29,93,236,.20);border-color:rgba(29,93,236,.5)}
.cm-today{box-shadow:inset 0 0 0 2px var(--gold)}
.cm-d{font-size:11px;font-weight:700;color:var(--text2);display:flex;align-items:center;gap:4px}
.cm-dot{width:5px;height:5px;border-radius:50%;background:#E7B96B;flex:none}
.cm-pr{display:flex;align-items:baseline;justify-content:flex-start;gap:2px;margin-top:5px;
  font-size:14px;font-weight:700;color:#EAF1F8;font-variant-numeric:tabular-nums;letter-spacing:-.02em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-pr span{font-size:8px;font-weight:800;color:#D7A074;letter-spacing:.04em}
.cm-nm{font-size:10.5px;color:var(--text2);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* ── YEARLY (one unit) — 12 month blocks of day squares ──────────────────── */
.cy-wrap{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:14px}
.cy-m{border:1px solid var(--border);border-radius:10px;padding:9px 10px 11px;background:var(--surface)}
.cy-h{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;font-weight:700;margin-bottom:7px}
.cy-h span{font-size:10.5px;font-weight:600;color:var(--gold)}
.cy-g{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.cy-c,.cy-x{display:block;width:100%;aspect-ratio:1;border-radius:3px;cursor:pointer}
.cy-x{visibility:hidden;cursor:default}
.cy-none{background:rgba(255,255,255,.05)}
.cy-free{background:rgba(52,211,153,.5)}
.cy-blk{background:rgba(239,68,68,.5)}
.cy-res{background:rgba(29,93,236,.85)}
.cy-c:hover{outline:1.5px solid var(--gold);outline-offset:1px}
/* Legend swatches are fixed-size — they must NOT inherit the day square's
   width:100%/aspect-ratio, which stretched them to fill the legend row. */
.cy-key{display:inline-flex;align-items:center;gap:5px}
.cy-sw{display:inline-block;width:11px;height:11px;border-radius:3px;flex:none}
.cal-price-key{display:inline-flex;align-items:center;gap:6px;color:var(--text2)}
.cal-price-key b{display:inline-flex;align-items:baseline;gap:2px;padding:3px 6px;border:1px solid rgba(201,142,90,.52);border-radius:5px;background:rgba(9,15,21,.92);color:#F4F7FB;font-size:10px}
.cal-price-key b small{font-size:7px;color:#D7A074}
.vis-current-time{background:var(--gold)!important;width:2px}
.vis-tooltip{background:var(--surface2)!important;color:var(--text)!important;border:1px solid var(--border)!important;border-radius:8px!important;font-family:inherit!important;font-size:12px!important;padding:8px 10px!important;box-shadow:0 8px 24px rgba(0,0,0,.3)!important}
