/* FB Vacations Manager */
:root {
  --bg: #f5f2eb;
  --surface: #ffffff;
  --surface-2: #faf8f3;
  --line: #e6e0d4;
  --line-2: #d8d0c0;
  --ink: #1b2733;
  --ink-2: #4a5866;
  --muted: #6f7b87;
  --navy: #16324f;
  --navy-2: #214a72;
  --sea: #4f8f84;
  --sea-soft: #e3efec;
  --sand: #c9a46a;
  --warn: #a65a12;
  --warn-soft: #fbf0e2;
  --err: #a3302a;
  --err-soft: #fbe9e7;
  --ok: #2f7353;
  --ok-soft: #e5f2ea;
  --pending: #b7791f;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(22, 50, 79, .06), 0 2px 8px rgba(22, 50, 79, .04);
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --side: 244px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 var(--font); color: var(--ink); background: var(--bg); }
a { color: var(--navy-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; color: var(--navy); }
h1 { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -.01em; }
h2 { font-size: 16px; font-weight: 700; }
h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 18px 0 8px; }
p { margin: 0 0 12px; }
code, .code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.code { background: var(--sea-soft); color: var(--navy); padding: 2px 8px; border-radius: 6px; font-weight: 700; letter-spacing: .08em; }
.code.big { font-size: 24px; padding: 6px 14px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.block { display: block; }
.strong { font-weight: 700; }
.warn-text { color: var(--warn); }
.ok-text { color: var(--ok); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 99; }
.skip:focus { left: 8px; }
.ic { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap; text-decoration: none; }
.btn:hover { background: var(--surface-2); text-decoration: none; border-color: #c6bca8; }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-sm { height: 32px; padding: 0 11px; font-size: 13px; }
.btn-sm .ic { width: 16px; height: 16px; }
.btn-block { width: 100%; justify-content: center; height: 44px; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.danger-btn { color: var(--err); border-color: #e3c3bf; }
.link { background: none; border: 0; padding: 0; color: var(--navy-2); font: inherit; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.link.danger { color: var(--err); font-size: 13px; }
.icon-btn { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); display: inline-grid; place-items: center; color: var(--navy); cursor: pointer; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 9px 11px; width: 100%; min-height: 40px; }
input[type=color] { padding: 4px; height: 40px; }
input[type=checkbox] { width: 18px; height: 18px; min-height: 0; accent-color: var(--navy); margin: 0; flex: none; }
textarea { resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(79, 143, 132, .18); }
input[readonly] { background: var(--surface-2); color: var(--ink-2); }
.help { color: var(--muted); font-size: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 6px 0; cursor: pointer; }
.check input { margin-top: 2px; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 8px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack > .btn:not(.btn-block) { align-self: flex-start; }
.grid2, .grid3, .grid4 { display: grid; gap: 14px; margin-bottom: 14px; }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span3 { grid-column: span 3; } .span4 { grid-column: span 4; }
.form-card h2 { margin: 22px 0 12px; }
.form-card h2:first-of-type, .form-card > h2:first-child { margin-top: 0; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.form-actions .grow { flex: 1; }
.inline { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.inline.wrap { flex-wrap: wrap; }
.top-gap { margin-top: 16px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; }

/* Flash */
.flash { padding: 11px 14px; border-radius: var(--radius-sm); margin: 0 0 14px; font-size: 14px; border: 1px solid; }
.flash-ok { background: var(--ok-soft); border-color: #c4e0cf; color: #1f5139; }
.flash-err { background: var(--err-soft); border-color: #efc9c4; color: #7c241f; }
.flash-warn { background: var(--warn-soft); border-color: #efd6b4; color: #7a4310; }

/* App shell */
.app { display: flex; min-height: 100vh; }
.side { width: var(--side); background: var(--navy); color: #d6e0ea; display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 40; padding: 18px 12px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none !important; }
.brand strong { display: block; font-size: 15px; color: #fff; line-height: 1.2; }
.brand small { display: block; font-size: 12px; opacity: .7; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: #fff; color: var(--navy); font: 600 15px/36px var(--display); text-align: center; flex: none; }
.side .brand { padding: 4px 8px 18px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 12px; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a, .side-link { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 8px; color: #c9d6e3; font-weight: 500; font-size: 14.5px; text-decoration: none; background: none; border: 0; width: 100%; cursor: pointer; font-family: inherit; }
.side nav a:hover, .side-link:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.side nav a.on { background: rgba(255,255,255,.12); color: #fff; }
.side nav a.on .ic { color: #9fd3c8; }
.count { margin-left: auto; background: var(--sand); color: var(--navy); font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 1px 7px; min-width: 20px; text-align: center; }
.side-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.side-foot form { margin: 0; }
.me { display: flex; gap: 10px; align-items: center; padding: 6px 10px 10px; }
.me strong { display: block; color: #fff; font-size: 14px; }
.me small { font-size: 12px; opacity: .7; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--sea-soft); color: var(--navy); display: inline-grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.side .avatar { background: rgba(255,255,255,.14); color: #fff; }
.avatar.lg { width: 48px; height: 48px; min-width: 48px; font-size: 16px; border-radius: 50%; }
.main-wrap { flex: 1; margin-left: var(--side); min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 30; display: flex; gap: 12px; align-items: center; padding: 12px 28px; background: rgba(245, 242, 235, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.menu-btn { display: none; }
.search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; color: var(--muted); }
.search input { border: 0; padding: 9px 0; min-height: 38px; box-shadow: none !important; }
.btn-new { margin-left: auto; }
.main { padding: 26px 28px 40px; max-width: 1360px; width: 100%; }
.foot { padding: 16px 28px 28px; color: var(--muted); font-size: 12px; }
.scrim { position: fixed; inset: 0; background: rgba(10, 20, 30, .4); z-index: 35; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head p { margin: 6px 0 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 6px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 18px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.card-head a { font-size: 13px; font-weight: 600; }
.card > h2 { margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.pad { padding: 4px 0; margin: 0; }
.empty { text-align: center; padding: 34px 16px; }
.empty h3 { text-transform: none; letter-spacing: 0; font-size: 17px; color: var(--navy); margin: 0 0 6px; }
.empty .btn { margin-top: 6px; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpi-value { font: 600 26px/1.15 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.kpi-sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-warn { border-color: #ecd3ae; background: #fffaf2; }
.kpi-warn .kpi-value { color: var(--warn); }

.dash-grid, .detail-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.detail-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }

/* Rows */
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.rows > li:first-child { border-top: 0; }
.rows.tight > li { padding: 8px 0; font-size: 14px; }
.rows > li > div { min-width: 0; flex: 1; }
.req .inline { flex: none; }
.homes li { justify-content: flex-start; }
.swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 7px; flex: none; vertical-align: 1px; }
.homes .swatch { width: 12px; height: 36px; border-radius: 4px; margin: 0; align-self: stretch; height: auto; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-busy { background: var(--navy); } .dot-free { background: #c9d9cf; } .dot-block { background: var(--sand); }
.amt { font-variant-numeric: tabular-nums; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-2); font-size: 14px; }
.clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; display: inline-block; }

.timeline { list-style: none; margin: 0; padding: 0; }
.tl-day { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 0 6px; }
.tl-day:first-child { padding-top: 0; }
.tl-item { display: flex; align-items: center; gap: 10px; padding: 7px 0; flex-wrap: wrap; }
.tl-tag { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; min-width: 76px; text-align: center; }
.tl-in { background: var(--sea-soft); color: #23594f; }
.tl-out { background: #efe7d8; color: #6b5328; }

/* Pills */
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; vertical-align: 1px; }
.pill-pending { background: #fbefd9; color: #8a560c; }
.pill-upcoming, .pill-confirmed { background: #e2ecf6; color: #1d4b78; }
.pill-staying { background: var(--sea-soft); color: #22584e; }
.pill-completed { background: #ecebe7; color: #5b5f63; }
.pill-declined, .pill-cancelled { background: #f6e3e1; color: #8b2f29; }
.pill-ical { background: #ece6f5; color: #5a3f86; }

/* Tables */
.table-card { padding: 0; overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-weight: 700; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr[data-href] { cursor: pointer; }
.table tbody tr:hover td { background: #fcfbf8; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.mini { width: 100%; border-collapse: collapse; font-size: 14px; }
.mini td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.mini tr.tot td { font-weight: 700; border-bottom: 1px solid var(--line-2); }

.toolbar { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar input[type=search] { max-width: 340px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .tabs { margin: 0; }
.tabs a { padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.tabs a:hover { background: #ebe6db; }
.tabs a.on { background: var(--navy); color: #fff; }
.filter select { min-width: 190px; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; }
.facts.one { grid-template-columns: 1fr; gap: 0; }
.facts.one .fact { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.fact span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.fact strong { font-weight: 600; font-size: 15px; }
.fact strong small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.facts.one .fact strong { text-align: right; }
.quote { margin-top: 16px; background: var(--surface-2); border-left: 3px solid var(--sea); padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: 14px; }
.quote p { margin: 4px 0 0; }
.person { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
details.add { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
details.add summary { cursor: pointer; font-weight: 600; color: var(--navy-2); display: inline-flex; gap: 6px; align-items: center; list-style: none; }
details.add summary::-webkit-details-marker { display: none; }
details.add[open] summary { margin-bottom: 12px; }
.log { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.log li { padding: 7px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.log li:first-child { border-top: 0; }
.log small { font-size: 12px; }

/* Messages */
.thread { display: flex; flex-direction: column; gap: 12px; max-height: 460px; overflow-y: auto; padding: 2px; margin-bottom: 12px; }
.msg { display: flex; flex-direction: column; max-width: 82%; }
.msg small { font-size: 11.5px; margin-top: 3px; }
.msg .bubble { padding: 10px 13px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; }
.msg-host { align-self: flex-end; align-items: flex-end; }
.msg-host .bubble { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg-guest .bubble { background: #efebe2; border-bottom-left-radius: 4px; }
.reply { display: flex; gap: 10px; align-items: flex-end; }
.reply textarea { flex: 1; }
.inbox li a { display: flex; gap: 12px; align-items: center; width: 100%; color: inherit; text-decoration: none; }
.inbox li a > div { flex: 1; min-width: 0; }
.inbox li small { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }
.inbox li.unread strong { color: var(--navy); }
.inbox li.unread { background: linear-gradient(90deg, rgba(79,143,132,.08), transparent); }

/* Calendar */
.cal-card { padding: 16px 0 6px; }
.cal-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 18px 12px; flex-wrap: wrap; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.lg-confirmed { background: var(--navy); } .lg-pending { background: #f2c27b; } .lg-block { background: repeating-linear-gradient(45deg, #cdbf9f 0 3px, #e6dcc6 3px 6px); } .lg-ical { background: #8a6fb8; }
.cal-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cal { --cw: 26px; --nw: 172px; min-width: calc(var(--nw) + var(--days) * var(--cw)); }
.cal-row { display: grid; grid-template-columns: var(--nw) repeat(var(--days), minmax(var(--cw), 1fr)); grid-auto-rows: 52px; position: relative; border-top: 1px solid var(--line); }
.cal-head { grid-auto-rows: 44px; border-top: 0; }
.cal-name { grid-column: 1; grid-row: 1; display: flex; align-items: center; padding: 0 14px 0 18px; font-weight: 600; font-size: 14px; position: sticky; left: 0; background: var(--surface); z-index: 3; border-right: 1px solid var(--line); min-width: 0; }
.cal-name a { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-day { grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.1; }
.cal-day small { font-size: 10px; color: var(--muted); font-weight: 600; }
.cal-day.is-wkend { background: #faf7f0; }
.cal-day.is-today { color: #fff; background: var(--sea); border-radius: 8px; margin: 4px 2px; }
.cal-day.is-today small { color: #e9f5f2; }
.cal-cell { grid-row: 1; border-left: 1px solid #f0ece3; }
.cal-cell:hover { background: var(--sea-soft); }
.cal-cell.is-today { background: rgba(79, 143, 132, .08); }
.cal-cell.is-past { background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(0,0,0,.012) 4px 5px); }
.bar { grid-row: 1; align-self: center; height: 32px; margin: 0 2px; border-radius: 7px; display: flex; align-items: center; padding: 0 7px; font-size: 12.5px; font-weight: 600; color: #fff; text-decoration: none !important; overflow: hidden; z-index: 2; min-width: 0; position: relative; }
.bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar.cut-l { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.bar.cut-r { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.bar-confirmed { background: var(--navy); }
.bar-confirmed:hover { background: var(--navy-2); }
.bar-pending { background: #f2c27b; color: #4d3305; }
.bar-block { background: repeating-linear-gradient(45deg, #cdbf9f 0 5px, #ddd2b9 5px 10px); color: #4a3d22; }
.bar-ical { background: #8a6fb8; }

/* Properties */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.prop { padding: 0; overflow: hidden; color: inherit; text-decoration: none !important; display: flex; flex-direction: column; margin: 0; transition: box-shadow .15s, transform .15s; }
.prop:hover { box-shadow: 0 6px 24px rgba(22,50,79,.1); transform: translateY(-1px); }
.prop img, .prop-ph { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.prop-ph { display: grid; place-items: center; color: rgba(255,255,255,.85); font: 600 34px var(--display); }
.prop-body { padding: 16px 18px 18px; }
.prop-body h2 { font-family: var(--display); font-size: 20px; font-weight: 600; }
.prop-body p { margin: 2px 0 12px; font-size: 14px; }
.mini-dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 14px; }
.mini-dl dt { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.mini-dl dd { margin: 0; font-weight: 700; font-size: 14px; }
.meter { height: 6px; background: #eee8dc; border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.meter span { display: block; height: 100%; background: var(--sea); border-radius: 99px; }
.info-block { border-top: 1px solid var(--line); padding-top: 4px; }
.info-block h3 { margin-top: 10px; }
.info-block p { font-size: 14px; }
.seasons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.season-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 8px; }
.steps { padding-left: 20px; margin: 0 0 16px; }
.steps li { margin-bottom: 6px; }

/* Reports */
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; align-items: end; height: 230px; padding: 10px 0 0; }
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; font-size: 12px; min-width: 0; }
.bar-col .stack-bar { width: 100%; max-width: 46px; display: flex; flex-direction: column-reverse; border-radius: 6px 6px 2px 2px; overflow: hidden; min-height: 2px; background: #eee8dc; }
.bar-col .stack-bar span { display: block; min-height: 2px; }
.bar-col small { white-space: nowrap; }
.card .legend { margin-top: 14px; }

/* Auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(1200px 600px at 10% -10%, #e3efec 0, transparent 60%), radial-gradient(900px 500px at 110% 110%, #efe4cf 0, transparent 60%), var(--bg); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: 0 12px 40px rgba(22, 50, 79, .08); }
.auth-card h1 { font-size: 26px; margin: 22px 0 6px; }
.brand-lg .brand-mark { background: var(--navy); color: #fff; }
.brand-lg strong { color: var(--navy); }
.brand-lg small { color: var(--muted); opacity: 1; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 14px; flex-wrap: wrap; }

/* Guest portal */
.portal { background: var(--bg); }
.p-wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.p-top { background: #fff; border-bottom: 1px solid var(--line); }
.p-top-in { display: flex; justify-content: space-between; align-items: center; height: 66px; }
.p-top .brand-mark { background: var(--navy); color: #fff; }
.p-top .brand strong { color: var(--navy); }
.p-top .brand small { color: var(--muted); opacity: 1; }
.p-top form { margin: 0; }
.p-main { padding-top: 26px; padding-bottom: 40px; }
.p-foot { border-top: 1px solid var(--line); padding: 20px 0 30px; font-size: 13px; color: var(--muted); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sea); margin: 0 0 8px; }
.lede { font-size: 17px; color: var(--ink-2); max-width: 52ch; }
.p-h1 { font-size: 34px; margin-bottom: 6px; }
.p-login { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 30px 0 20px; }
.p-login h1 { font-size: 42px; line-height: 1.12; margin-bottom: 14px; }
.p-feats { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.p-feats li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-2); }
.p-feats .ic { width: 22px; height: 22px; color: var(--sea); }
.p-login-card { padding: 28px; }
.p-login-card h2 { font-size: 20px; margin-bottom: 6px; }
.code-input { text-transform: uppercase; letter-spacing: .25em; font-family: ui-monospace, Menlo, monospace; font-size: 18px; font-weight: 700; }
.p-hero { position: relative; border-radius: 18px; overflow: hidden; min-height: 240px; display: flex; align-items: flex-end; background: linear-gradient(180deg, rgba(10,25,40,.05) 0%, rgba(10,25,40,.72) 100%), var(--photo, linear-gradient(135deg, #16324f, #2d6475 60%, #4f8f84)); background-size: cover; background-position: center; margin-bottom: 18px; }
.p-hero-in { padding: 26px 28px; color: #fff; }
.p-hero .eyebrow { color: #d5ece7; }
.p-hero h1 { color: #fff; font-size: 40px; }
.p-count { font-size: 17px; margin: 6px 0 0; color: #eef3f6; }
.p-welcome { font-size: 15.5px; }
.p-welcome p:last-child { margin: 0; }
.p-note { background: var(--sea-soft); padding: 10px 14px; border-radius: 8px; margin-top: 10px !important; }
.p-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.q { margin: 0; display: flex; flex-direction: column; gap: 2px; padding: 16px; }
.q .ic { color: var(--sea); width: 22px; height: 22px; margin-bottom: 4px; }
.q span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.q strong { font: 600 21px/1.2 var(--display); color: var(--navy); }
.q small { color: var(--muted); font-size: 13px; }
.p-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.p-grid .card > h2 .ic { color: var(--sea); width: 20px; height: 20px; }
.p-addr { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--surface-2); border-radius: 10px; margin-bottom: 14px; }
.p-addr .ic { color: var(--sea); margin-top: 2px; }
.p-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px; border: 1px dashed var(--line-2); border-radius: 10px; margin-bottom: 14px; }
.p-code > span { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; min-width: 90px; }
.p-wifi { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.p-wifi > div { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.p-wifi span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.p-wifi strong { font-size: 17px; word-break: break-all; }
.prose { font-size: 15px; line-height: 1.6; }
.bullets { margin: 0; padding-left: 20px; }
.bullets li { margin-bottom: 6px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist label { display: flex; gap: 12px; align-items: center; padding: 11px 2px; cursor: pointer; font-size: 15px; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.p-stays { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 18px; }
.p-stay { padding: 0; overflow: hidden; color: inherit; text-decoration: none !important; }
.p-stay img, .p-stay .prop-ph { width: 100%; aspect-ratio: 16/8; object-fit: cover; display: block; }
.p-stay > div:last-child { padding: 16px; }
.p-stay h2 { font-family: var(--display); font-size: 20px; font-weight: 600; }

/* Responsive */
@media (max-width: 1180px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .side { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0,0,0,.25); }
  .side.open { transform: none; }
  .main-wrap { margin-left: 0; }
  .menu-btn { display: inline-grid; }
  .top { padding: 10px 16px; }
  .main { padding: 20px 16px 32px; }
  .dash-grid, .detail-grid, .p-grid { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span4 { grid-column: span 2; }
  .p-login { grid-template-columns: 1fr; gap: 24px; padding-top: 8px; }
  .p-login > .p-login-card { order: -1; }
  .p-login h1 { font-size: 34px; }
  .p-quick { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  h1 { font-size: 24px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 12px; }
  .kpi-value { font-size: 22px; }
  .btn-new span { display: none; }
  .btn-new { padding: 0 11px; }
  .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
  .span3, .span4 { grid-column: auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 16px; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .table td::before { content: attr(data-label); color: var(--muted); font-size: 12.5px; font-weight: 600; text-align: left; flex: none; }
  .table td.num { text-align: right; }
  .table td .cv { min-width: 0; text-align: right; }
  .table td .cv .block { display: block; }
  .req { flex-direction: column; align-items: stretch !important; }
  .req .inline { justify-content: flex-start; }
  .reply { flex-direction: column; align-items: stretch; }
  .msg { max-width: 92%; }
  .season-row { grid-template-columns: 1fr 1fr; }
  .season-row input:first-child { grid-column: span 2; }
  .page-head { align-items: flex-start; }
  .actions { width: 100%; }
  .bars { gap: 4px; height: 180px; }
  .bar-col small.muted { display: none; }
  .p-hero h1 { font-size: 30px; }
  .p-hero { min-height: 200px; }
  .p-hero-in { padding: 20px; }
  .p-wifi { grid-template-columns: 1fr; }
  .p-wrap { padding: 0 16px; }
  .clip { max-width: 100%; }
  .rows.tight > li { flex-wrap: wrap; }
  .copy-row { flex-direction: column; }
  .cal { --cw: 34px; --nw: 116px; }
  .cal-name { padding: 0 8px 0 12px; font-size: 13px; }
}

@media print {
  .side, .top, .foot, .p-top, .p-foot, .reply, form, .btn, details.add, .flash { display: none !important; }
  .main-wrap { margin: 0; }
  body, .portal { background: #fff; }
  .card { box-shadow: none; break-inside: avoid; }
  .p-hero { min-height: 0; background: none !important; }
  .p-hero-in { color: #000; padding: 0; }
  .p-hero h1, .p-hero .eyebrow, .p-count { color: #000; }
  .dash-grid, .detail-grid, .p-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.demo-bar { position: fixed; z-index: 60; bottom: 12px; left: 50%; transform: translateX(-50%); background: #fff8e8; color: #6b4a12; border: 1px solid #ecd3a0; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,.08); white-space: nowrap; max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis; }
@media print { .demo-bar { display: none; } }
.p-narrow { max-width: 460px; margin: 30px auto 10px; }
.p-feats li span { font-weight: 500; }
.p-feats li span strong { font-weight: 700; }

/* ---------- Guest stay page (sidebar layout) ---------- */
body.portal { background: #f6f3ee; }
.p-wrap { max-width: 1240px; }
.p-top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); }
.p-top-actions { display: flex; align-items: center; gap: 10px; }
.p-help { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 10px; border-radius: 999px; background: var(--navy); color: #fff !important; text-decoration: none !important; box-shadow: 0 4px 14px rgba(22,50,79,.18); }
.p-help:hover { background: var(--navy-2); }
.p-help .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(255,255,255,.14); }
.p-help span { display: flex; flex-direction: column; line-height: 1.15; }
.p-help small { font-size: 11px; letter-spacing: .04em; color: #cfe0ea; font-weight: 600; }
.p-help strong { font-size: 16px; letter-spacing: .01em; }
.p-main:has(.gx) { padding-top: 22px; }
.gx { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 28px; align-items: start; }
.gx-side { position: sticky; top: 88px; }
.gx-side-in { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.gx-stay { display: flex; gap: 12px; align-items: center; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.gx-stay img, .gx-stay-ph { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.gx-stay div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gx-stay strong { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--navy); line-height: 1.2; }
.gx-stay span { font-size: 12.5px; color: var(--muted); }
.gx-stay .pill { align-self: flex-start; }
.gx-nav { display: flex; flex-direction: column; gap: 2px; }
.gx-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; text-decoration: none !important; }
.gx-nav a .ic { color: var(--muted); width: 18px; height: 18px; }
.gx-nav a:hover { background: var(--surface-2); color: var(--navy); }
.gx-nav a.on { background: var(--sea-soft); color: var(--navy); }
.gx-nav a.on .ic { color: var(--sea); }
.gx-side-code { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.gx-side-code span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.gx-side-code .code { align-self: flex-start; font-size: 18px; }
.gx-side-code small { font-size: 12px; color: var(--muted); }
.gx-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.gx-panel { display: flex; flex-direction: column; gap: 18px; min-width: 0; animation: gxIn .22s ease; }
.gx-panel[hidden] { display: none; }
@keyframes gxIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gx-ph { display: flex; flex-direction: column; gap: 10px; padding: 2px 0 4px; }
.gx-back { display: none; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--navy-2); text-decoration: none !important; }
.gx-back .ic { width: 16px; height: 16px; }
.gx-ph-row { display: flex; align-items: center; gap: 14px; }
.gx-ph-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--sea-soft); display: grid; place-items: center; flex: none; }
.gx-ph-ic .ic { width: 24px; height: 24px; color: var(--sea); }
.gx-ph h1 { font-family: var(--display); font-weight: 600; font-size: 30px; color: var(--navy); line-height: 1.15; outline: none; }
.gx-ph p { margin: 3px 0 0; color: var(--muted); font-size: 15px; }
.gx-count { font-style: normal; margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.gx-tiles-h { font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--navy); margin: 6px 0 -4px; }
.gx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gx-tile { display: flex; align-items: center; gap: 13px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); color: var(--ink) !important; text-decoration: none !important; transition: border-color .15s, transform .15s, box-shadow .15s; min-width: 0; }
a.gx-tile:hover { border-color: #b9d5cf; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(22,50,79,.09); }
.gx-tile-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sea-soft); display: grid; place-items: center; flex: none; }
.gx-tile-ic .ic { width: 21px; height: 21px; color: var(--sea); }
.gx-tile-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.gx-tile-t strong { font-size: 15.5px; color: var(--navy); }
.gx-tile-t small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-tile > .ic { width: 18px; height: 18px; color: var(--line-2); flex: none; }
.gx-tile-off { opacity: .75; box-shadow: none; background: var(--surface-2); }
.gx-tile-off .gx-tile-ic { background: #fff; }
.gx-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gx-two > .gx-card { margin: 0; }
.gx-big { font-size: 18px; font-weight: 600; color: var(--navy); margin: 0 0 12px; }
.gx-codeline { display: flex; align-items: center; gap: 10px; margin: 0; }
.gx-kv { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.gx-kv > span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.gx-kv > strong { font-size: 22px; color: var(--navy); word-break: break-all; }
.gx-kv .code.big { font-size: 22px; }
.gx-prose-lg { font-size: 16px; }
.gx-gallery-card { padding: 10px; }
.gx-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 8px; }
.gx-gallery button { all: unset; cursor: zoom-in; position: relative; display: block; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.gx-gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gx-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gx-gallery button:hover img { transform: scale(1.04); }
.gx-gallery-all { margin: 10px 4px 4px; }
.gx-chat .thread { max-height: 520px; overflow: auto; }
.gx-empty { display: flex; align-items: center; gap: 10px; }
.gx-help-big .ic { width: 22px; height: 22px; color: var(--sea); margin-bottom: 6px; }
.gx-help-911 .ic { color: var(--err); }
.gx-help-msg p { margin: 0; }
/* Menu button (three lines), shown on phones and small tablets */
.p-burger { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; flex: none; }
.p-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); }
.p-burger:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.gx-tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.98); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 18px rgba(22,50,79,.07); }
.gx-tabbar a, .gx-tabbar button { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 10px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-align: center; -webkit-tap-highlight-color: transparent; }
.gx-tabbar .ic { width: 22px; height: 22px; }
.gx-tabbar a.on { color: var(--navy); }
.gx-tabbar a.on .ic { color: var(--sea); }
.gx-sheet { border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: transparent; }
.gx-sheet::backdrop { background: rgba(10,22,34,.45); }
.gx-sheet[open] { display: flex; align-items: flex-start; }
.gx-sheet-in { width: 100%; max-height: 100vh; max-height: 100dvh; overflow: auto; overscroll-behavior: contain; background: #fff; border-radius: 0 0 20px 20px; padding: calc(12px + env(safe-area-inset-top)) 16px 18px; box-shadow: 0 18px 40px -12px rgba(35,40,52,.35); display: flex; flex-direction: column; gap: 12px; animation: gxUp .22s ease; }
@keyframes gxUp { from { transform: translateY(-24px); opacity: .6; } to { transform: none; opacity: 1; } }
.gx-sheet-in > * { flex: none; }
.gx-sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gx-sheet-top .gx-stay { border: 0; padding: 0; margin: 0; }
.gx-sheet-x { all: unset; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; flex: none; }
.gx-sheet-nav { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.gx-sheet-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-weight: 600; font-size: 15.5px; color: var(--ink) !important; text-decoration: none !important; border-top: 1px solid var(--line); }
.gx-sheet-nav a:first-child { border-top: 0; }
.gx-sheet-nav a > .ic:first-child { color: var(--sea); width: 20px; height: 20px; }
.gx-sheet-nav a > .ic:last-child { margin-left: auto; color: var(--line-2); width: 16px; height: 16px; }
.gx-sheet-nav a.on { background: var(--sea-soft); }
.gx-sheet-call, .gx-sheet-out { width: 100%; justify-content: center; min-height: 48px; }

.gx-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; box-shadow: var(--shadow); }
.gx-card > h2 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--navy); margin-bottom: 14px; }
.gx-card > h2 .ic { width: 22px; height: 22px; color: var(--sea); }
.gx-sub { margin: 24px 0 10px; }
.gx-hero { position: relative; display: grid; grid-template-columns: 1fr; gap: 8px; height: 400px; border-radius: 18px; overflow: hidden; }
.gx-hero.gx-hero-3 { grid-template-columns: 2fr 1fr; }
.gx-hero button { all: unset; cursor: zoom-in; display: block; width: 100%; height: 100%; overflow: hidden; }
.gx-hero img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gx-hero button:hover img { transform: scale(1.03); }
.gx-hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 0; }
.gx-hero-blank { background: linear-gradient(135deg, var(--c, #16324f), #2d6475 60%, #4f8f84); }
.gx-hero-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 28px 24px; background: linear-gradient(180deg, rgba(8,20,32,0) 0%, rgba(8,20,32,.78) 100%); color: #fff; pointer-events: none; }
.gx-hero.gx-hero-3 .gx-hero-text { right: calc((100% - 8px) / 3 + 8px); }
.gx-hero-text .eyebrow { color: #d5ece7; margin-bottom: 4px; }
.gx-hero-text h1 { color: #fff; font-size: 40px; }
.gx-hero .gx-allphotos { all: revert; position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px; border: 0; background: rgba(255,255,255,.95); color: var(--navy); font: 700 13px/1 var(--font); cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.gx-hero .gx-allphotos:hover { background: #fff; }
.gx-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gx-fact { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; box-shadow: var(--shadow); }
.gx-fact .ic { grid-row: span 3; width: 22px; height: 22px; color: var(--sea); }
.gx-fact span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.gx-fact strong { font-size: 17px; color: var(--navy); }
.gx-fact small { font-size: 12.5px; color: var(--muted); }
.gx-login { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; background: linear-gradient(135deg, #16324f 0%, #1f4a6b 100%); border: 0; color: #e8f0f5; }
.gx-login h2 { color: #fff; font-family: var(--display); font-weight: 600; font-size: 20px; margin-bottom: 4px; }
.gx-login p { margin: 0; font-size: 14px; color: #c8d8e3; }
.gx-login p strong { color: #fff; }
.gx-login-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.gx-login-icon .ic { width: 24px; height: 24px; color: #fff; }
.gx-login-dl { display: flex; gap: 22px; margin: 0; }
.gx-login-dl div { display: flex; flex-direction: column; gap: 4px; }
.gx-login-dl dt { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #a9c1d1; }
.gx-login-dl dd { margin: 0; display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; word-break: break-all; }
.gx-login .code { background: #fff; color: var(--navy); }
.gx-login .btn { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.gx-welcome { font-size: 15.5px; }
.gx-welcome p:last-child { margin: 0; }
.gx-next { border-left: 4px solid var(--pending); }
.gx-sec-head { margin-bottom: 14px; }
.gx-h { font-family: var(--display); font-weight: 600; font-size: 28px; color: var(--navy); }
.gx-tagline { color: var(--ink-2); font-size: 16px; margin: 6px 0 0; }
.gx-specs { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.gx-specs li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.gx-specs .ic { color: var(--sea); }
.gx-desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.gx-desc p { margin: 0; }
.gx-desc.is-clamped { max-height: 8.4em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.gx-more { all: unset; cursor: pointer; margin-top: 8px; font-weight: 700; color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.gx-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gx-thumbs button { all: unset; cursor: zoom-in; position: relative; display: block; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.gx-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gx-thumbs button:hover img { transform: scale(1.05); }
.gx-thumb-more::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,25,40,.55); color: #fff; font-weight: 700; font-size: 20px; }
.gx-amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; }
.gx-amen li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.gx-amen .ic { color: var(--sea); width: 17px; height: 17px; margin-top: 2px; }
.gx-area { color: var(--ink-2); }
.gx-nearby { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.gx-nearby li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.gx-nearby .ic { color: var(--sand); width: 17px; height: 17px; margin-top: 2px; }
.gx-listing { margin: 20px 0 0; }
.gx-listing a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.gx-res { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.gx-res h3:first-child { margin-top: 0; }
.gx-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; align-items: end; }
.gx-form > div:last-child { grid-column: 1 / -1; }
.gx-help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 10px; }
.gx-help-big { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 14px; background: var(--sea-soft); color: var(--navy) !important; text-decoration: none !important; border: 1px solid #cfe3de; }
.gx-help-big span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--sea); }
.gx-help-big strong { font-size: 22px; font-family: var(--display); font-weight: 600; }
.gx-help-911 { background: var(--err-soft); border-color: #f2cfca; }
.gx-help-911 span { color: var(--err); }
.gx-viewer { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.gx-viewer::backdrop { background: rgba(6,14,22,.92); }
.gx-viewer[open] { display: grid; place-items: center; }
.gx-viewer img { max-width: min(92vw, 1400px); max-height: 84vh; border-radius: 10px; object-fit: contain; }
.gx-viewer button { position: fixed; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.gx-viewer button:hover { background: rgba(255,255,255,.24); }
.gx-v-close { top: 18px; right: 18px; }
.gx-v-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.gx-v-next { right: 18px; top: 50%; transform: translateY(-50%); }
.gx-v-count { position: fixed; bottom: 16px; left: 0; right: 0; text-align: center; color: #d7e2ea; font-size: 14px; margin: 0; }
@media (max-width: 1080px) {
  .gx-amen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-login { grid-template-columns: auto minmax(0, 1fr); }
  .gx-login-dl { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .gx { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gx-side { display: none; }
  .p-burger { display: inline-flex; }
  .p-signout { display: none; }
  .gx-facts { grid-template-columns: repeat(2, 1fr); }
  .gx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-back { display: inline-flex; }
  .p-main:has(.gx) { padding-top: 14px; }
  .gx-res { grid-template-columns: 1fr; gap: 6px; }
  .gx-form { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .p-top-in { height: 60px; }
  .p-top .brand small { display: none; }
  .p-help { padding: 6px 12px 6px 6px; gap: 7px; }
  .p-help .ic { width: 26px; height: 26px; padding: 5px; }
  .p-help small { font-size: 10px; }
  .p-help strong { font-size: 14px; }
  .p-signout span { display: none; }
  .p-signout { padding: 0 9px; }
  .gx-side { top: 60px; }
  .gx-hero, .gx-hero.gx-hero-3 { grid-template-columns: 1fr; height: 260px; border-radius: 14px; }
  .gx-hero-side { display: none; }
  .gx-hero.gx-hero-3 .gx-hero-text { right: 0; }
  .gx-hero-text { padding: 60px 18px 16px; }
  .gx-hero-text h1 { font-size: 28px; }
  .gx-hero .gx-allphotos { top: 12px; bottom: auto; right: 12px; }
  .gx-card { padding: 18px; border-radius: 14px; }
  .gx-fact { padding: 12px; }
  .gx-fact strong { font-size: 15.5px; }
  .gx-login { grid-template-columns: 1fr; gap: 12px; }
  .gx-login-icon { display: none; }
  .gx-login-dl { flex-direction: column; gap: 10px; }
  .gx-thumbs { grid-template-columns: repeat(3, 1fr); }
  .gx-amen, .gx-nearby { grid-template-columns: 1fr; }
  .gx-h { font-size: 24px; }
  .gx-tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .gx-tile { padding: 13px 14px; }
  .gx-two { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gx-panel { gap: 12px; }
  .gx-ph h1 { font-size: 24px; }
  .gx-ph-ic { width: 42px; height: 42px; }
  .gx-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .gx-help-grid { grid-template-columns: minmax(0, 1fr); }
  .p-main { padding-left: 14px; padding-right: 14px; }
  .gx-chat .thread { max-height: none; }
  .reply { flex-direction: column; align-items: stretch; }
}
@media print {
  .gx { grid-template-columns: 1fr; }
  .gx-side, .gx-hero-side, .gx-allphotos, .gx-thumbs, .gx-gallery-card, .gx-viewer, .p-help, .gx-tabbar, .gx-sheet, .gx-tiles, .gx-tiles-h, .gx-back, .reply { display: none !important; }
  .gx-panel[hidden] { display: flex !important; }
  .gx-panel { break-inside: avoid; }
  .gx-hero { height: auto; }
  .gx-hero-main { display: none !important; }
  .gx-hero-text { position: static; background: none; color: #000; padding: 0; }
  .gx-hero-text h1, .gx-hero-text .eyebrow { color: #000; }
  .gx-login { background: none; color: #000; }
  .gx-login h2, .gx-login dd, .gx-login p { color: #000; }
}

/* ---------- FB Vacations brand for guest-facing pages (portal + sign-in) ----------
   Same palette and type as fbvacations.com: charcoal ink, sea-glass teal from the logo,
   deep teal accents, warm sand backgrounds, Instrument Serif headings and Switzer text. */
body.guest-brand {
  --bg: #f7f3ec;
  --surface-2: #faf7f1;
  --line: #e6dfd3;
  --line-2: #d9d1c3;
  --ink: #232834;
  --ink-2: #394050;
  --muted: #5b6270;
  --navy: #232834;
  --navy-2: #2c6e72;
  --sea: #2c6e72;
  --sea-soft: #dcefef;
  --sand: #2c6e72;
  --brand-sea: #90c5c7;
  --brand-sea-dark: #1f5154;
  --brand-wash: #eef6f6;
  --sand-2: #efe8dc;
  --pending: #b7791f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(35,40,52,.05), 0 14px 34px -18px rgba(35,40,52,.22);
  --font: 'Switzer', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.guest-brand a { color: var(--sea); }
.guest-brand .btn { border-radius: 12px; font-weight: 700; }
.guest-brand .btn-primary { background: var(--sea); border-color: var(--sea); color: #fff; }
.guest-brand .btn-primary:hover { background: var(--brand-sea-dark); border-color: var(--brand-sea-dark); }
.guest-brand .eyebrow { color: var(--sea); letter-spacing: .14em; }
.guest-brand .code { background: var(--brand-wash); color: var(--ink); }
/* Display type: Instrument Serif is a single-weight face, so use it at regular weight and a little larger */
.guest-brand h1, .guest-brand .gx-h, .guest-brand .gx-ph h1, .guest-brand .gx-card > h2, .guest-brand .gx-login h2,
.guest-brand .gx-tiles-h, .guest-brand .gx-stay strong, .guest-brand .gx-help-big strong, .guest-brand .gx-hero-text h1 { font-family: var(--display); font-weight: 400; letter-spacing: -.005em; }
.guest-brand .gx-hero-text h1 { font-size: 48px; }
.guest-brand .gx-ph h1 { font-size: 36px; }
.guest-brand .gx-card > h2 { font-size: 24px; }
.guest-brand .gx-tiles-h { font-size: 26px; }
.guest-brand .gx-stay strong { font-size: 19px; }
.guest-brand .gx-help-big strong { font-size: 26px; }
.guest-brand .gx-login h2 { font-size: 24px; }
/* Logo lockup */
.brand.has-logo { gap: 14px; align-items: center; text-decoration: none !important; }
.brand-logo { display: block; height: 44px; width: auto; }
.brand-sub { padding-left: 14px; border-left: 1px solid var(--line-2); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brand-lg.has-logo { flex-direction: column; align-items: flex-start; gap: 10px; }
.brand-lg.has-logo .brand-logo { height: 58px; }
.brand-lg.has-logo .brand-sub { padding-left: 0; border-left: 0; }
.guest-brand .brand-mark { background: var(--ink); color: #fff; }
.brand-logo-preview img { max-height: 60px; width: auto; padding: 8px 12px; background: #f7f3ec; border: 1px solid var(--line); border-radius: 10px; }
/* Header and help line */
.guest-brand .p-top { background: rgba(247,243,236,.92); border-bottom: 1px solid var(--line); }
.guest-brand .p-help { background: var(--ink); box-shadow: 0 6px 16px -6px rgba(35,40,52,.45); }
.guest-brand .p-help:hover { background: #394050; }
.guest-brand .p-help .ic { background: var(--brand-sea); color: var(--ink); }
.guest-brand .p-help small { color: var(--brand-sea); }
.guest-brand .p-signout { color: var(--ink); }
/* Cards and menu */
.guest-brand .gx-card, .guest-brand .gx-fact, .guest-brand .gx-side-in, .guest-brand .gx-tile { border-color: var(--line); border-radius: 18px; }
.guest-brand .gx-fact .ic, .guest-brand .gx-card > h2 .ic, .guest-brand .gx-specs .ic, .guest-brand .gx-amen .ic, .guest-brand .gx-nearby .ic { color: var(--sea); }
.guest-brand .gx-nav a { color: var(--ink-2); }
.guest-brand .gx-nav a:hover { background: var(--brand-wash); }
.guest-brand .gx-nav a.on { background: var(--sea-soft); color: var(--ink); box-shadow: inset 3px 0 0 var(--sea); }
.guest-brand .gx-count { background: var(--sea); }
.guest-brand .gx-side-code { background: var(--brand-wash); border-color: #bfdcdd; }
.guest-brand .gx-tile-ic, .guest-brand .gx-ph-ic { background: var(--sea-soft); }
.guest-brand a.gx-tile:hover { border-color: var(--brand-sea); }
.guest-brand .gx-specs li { background: var(--brand-wash); border-color: #cfe5e5; }
/* Sign-in details card: charcoal with the logo's sea-glass teal */
.guest-brand .gx-login { background: linear-gradient(135deg, #232834 0%, #2f3a48 100%); }
.guest-brand .gx-login-icon { background: rgba(144,197,199,.18); }
.guest-brand .gx-login-icon .ic { color: var(--brand-sea); }
.guest-brand .gx-login-dl dt { color: var(--brand-sea); }
.guest-brand .gx-login .code { background: #fff; color: var(--ink); }
.guest-brand .gx-hero-text { background: linear-gradient(180deg, rgba(35,40,52,0) 0%, rgba(35,40,52,.82) 100%); }
.guest-brand .gx-hero-text .eyebrow { color: #fff; opacity: .92; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.guest-brand .gx-hero-text h1, .guest-brand .gx-hero-text .p-count { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.guest-brand .gx-help-big { background: var(--brand-wash); border-color: #cfe5e5; color: var(--ink) !important; }
.guest-brand .gx-help-big span, .guest-brand .gx-help-big .ic { color: var(--sea); }
.guest-brand .gx-help-911 { background: var(--err-soft); border-color: #f2cfca; }
.guest-brand .gx-help-911 span, .guest-brand .gx-help-911 .ic { color: var(--err); }
.guest-brand .msg-host .bubble { background: var(--ink); }
.guest-brand .gx-tabbar a.on { color: var(--ink); }
.guest-brand .gx-tabbar a.on .ic { color: var(--sea); }
.guest-brand .gx-tabbar a.on::before { content: ''; position: absolute; top: -6px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--sea); }
.guest-brand .gx-tabbar a { position: relative; }
.guest-brand .gx-sheet-nav a.on { background: var(--sea-soft); }
.guest-brand .p-foot { background: var(--sand-2); border-top: 1px solid var(--line); }
/* Sign-in page */
.guest-brand.auth { background: radial-gradient(1100px 560px at 8% -10%, #dcefef 0, transparent 60%), radial-gradient(900px 520px at 110% 110%, #efe8dc 0, transparent 60%), #f7f3ec; }
.guest-brand .auth-card { border-radius: 22px; border-color: var(--line); box-shadow: 0 1px 2px rgba(35,40,52,.05), 0 24px 50px -24px rgba(35,40,52,.28); }
.guest-brand .auth-card h1 { font-size: 34px; }
@media (max-width: 640px) {
  .brand-logo { height: 34px; }
  .brand-sub { display: none; }
  .guest-brand .gx-hero-text h1 { font-size: 34px; }
  .guest-brand .gx-ph h1 { font-size: 30px; }
}
@media (max-width: 380px) { .brand-logo { height: 30px; } }
