html { font-size: 15px; }

/* Brand colors: defaults here, real values injected by _Layout from Branding settings */
:root {
  --brand-primary: #4338CA; --brand-primary-text: #FFFFFF;
  --brand-accent: #F59E0B; --brand-accent-text: #000000;
  --brand-nav: #1E1B4B; --brand-nav-text: #FFFFFF;
}

.brand-logo { height: 36px; max-width: 160px; object-fit: contain; }
/* the logo's sunset: primary (sky) into accent (sun), through pinks in oklch; plain accent where oklch gradients are unsupported */
:root { --brand-sunset: linear-gradient(var(--brand-accent), var(--brand-accent)); }
@supports (background: linear-gradient(in oklch, red, blue)) { :root { --brand-sunset: linear-gradient(90deg in oklch, var(--brand-primary), var(--brand-accent)); } }

.btn-primary {
  --bs-btn-color: var(--brand-primary-text); --bs-btn-bg: var(--brand-primary); --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-color: var(--brand-primary-text);
  --bs-btn-hover-bg: color-mix(in srgb, var(--brand-primary) 85%, #000);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--brand-primary) 85%, #000);
  --bs-btn-active-color: var(--brand-primary-text);
  --bs-btn-active-bg: color-mix(in srgb, var(--brand-primary) 75%, #000);
  --bs-btn-active-border-color: color-mix(in srgb, var(--brand-primary) 75%, #000);
  --bs-btn-disabled-color: var(--brand-primary-text); --bs-btn-disabled-bg: var(--brand-primary); --bs-btn-disabled-border-color: var(--brand-primary);
}
.btn-outline-primary {
  --bs-btn-color: var(--brand-primary); --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-color: var(--brand-primary-text); --bs-btn-hover-bg: var(--brand-primary); --bs-btn-hover-border-color: var(--brand-primary);
  --bs-btn-active-color: var(--brand-primary-text); --bs-btn-active-bg: var(--brand-primary); --bs-btn-active-border-color: var(--brand-primary);
}
/* the accent color drives the "warning" buttons used for Book now / Tour */
.btn-warning {
  --bs-btn-color: var(--brand-accent-text); --bs-btn-bg: var(--brand-accent); --bs-btn-border-color: var(--brand-accent);
  --bs-btn-hover-color: var(--brand-accent-text);
  --bs-btn-hover-bg: color-mix(in srgb, var(--brand-accent) 85%, #000);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--brand-accent) 85%, #000);
  --bs-btn-active-color: var(--brand-accent-text);
  --bs-btn-active-bg: color-mix(in srgb, var(--brand-accent) 75%, #000);
  --bs-btn-active-border-color: color-mix(in srgb, var(--brand-accent) 75%, #000);
}
/* Bootstrap's own "primary" helpers follow the brand color too */
.bg-primary, .text-bg-primary { background-color: var(--brand-primary) !important; color: var(--brand-primary-text) !important; }
.border-primary { border-color: var(--brand-primary) !important; }
main a:not(.btn):not(.nav-link):not(.alert-link) { color: var(--brand-primary); }
.form-check-input:checked { background-color: var(--brand-primary); border-color: var(--brand-primary); }

/* ===================== Public website (theme: css/public.css) ===================== */
.font-serif { font-family: "Playfair Display", Georgia, serif; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600; color: var(--brand-accent); margin-bottom: .5rem; }
.zoom { overflow: hidden; display: block; }
.zoom img { transition: transform .5s ease; }
.zoom:hover img, .zoom:focus-visible img { transform: scale(1.06); }
.photo-placeholder { background: linear-gradient(135deg, #e5e7eb, #f3f4f6); color: #9ca3af; }
.contact-icon { font-size: 1.5rem; color: var(--brand-accent); }
.social-links a { font-size: 1.15rem; }
@media (prefers-reduced-motion: reduce) { .zoom img { transition: none; } }

/* demo checkout (Stripe demo mode) */
/* Stripe demo mode: Stripe-style hosted checkout (Booking/DemoCheckout, Booking/DemoPaid) */
.sc { font-family: "Inter", system-ui, sans-serif; background: #fff; color: #1a1f36; min-height: 100vh; border-top: 3px solid #ff5996; -webkit-font-smoothing: antialiased; }
.sc-page { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 920px; margin: 0 auto; }
.sc-summary, .sc-pay { padding: 2rem 1rem; }
.sc-summary { background: #fafbfc; display: flex; flex-direction: column; gap: .25rem; }
@media (min-width: 900px) {
    .sc-split { background: linear-gradient(90deg, #fafbfc 50%, #fff 50%); }
    .sc-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 3px); }
    .sc-summary { background: none; padding: 4rem 3.5rem 2rem 1rem; }
    .sc-pay { padding: 4rem 1rem 2rem 3.5rem; box-shadow: -15px 0 30px -20px rgba(0, 0, 0, .18); }
}
.sc-merchant { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.75rem; }
.sc-back { color: #697386; font-size: 1.1rem; line-height: 1; padding: .25rem; margin-left: -.25rem; border-radius: 4px; }
.sc-back:hover, .sc-back:focus-visible { color: #1a1f36; background: #edf0f4; }
.sc-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 50%; }
.sc-name { font-weight: 600; font-size: .95rem; }
.sc-test { background: #ffde92; color: #983705; font-size: .68rem; font-weight: 700; letter-spacing: .04em; padding: .1rem .4rem; border-radius: 4px; }
.sc-label { color: #697386; font-weight: 500; }
.sc-amount { font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sc-muted { color: #697386; }
.sc-items { list-style: none; padding: 0; margin: 1.75rem 0 1rem; font-size: .9rem; }
.sc-item { display: flex; align-items: flex-start; gap: .85rem; padding-bottom: 1.25rem; }
.sc-item .sc-muted { font-size: .8rem; }
.sc-thumb { flex: none; width: 42px; height: 42px; border-radius: 6px; display: grid; place-items: center; background: #fff; border: 1px solid #e3e8ee; color: #697386; font-size: 1.15rem; }
.sc-line { display: flex; justify-content: space-between; padding: .6rem 0; border-top: 1px solid #e3e8ee; margin-left: calc(42px + .85rem); }
.sc-total { font-weight: 600; }
.sc-footer { margin-top: auto; padding-top: 2.5rem; color: #a3acb9; font-size: .78rem; }
.sc-footer span { margin: 0 .5rem; }

.sc-outcome { border: 1px dashed #f5a524; background: #fffaeb; border-radius: 8px; padding: .75rem; margin-bottom: 1.75rem; display: grid; gap: .4rem; }
.sc-outcome-title { color: #983705; font-size: .78rem; font-weight: 600; }
.sc-outcome-btn { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; width: 100%; text-align: left; font-size: .85rem; background: #fff; color: #1a1f36; border: 1px solid #e3e8ee; border-radius: 6px; padding: .45rem .65rem; }
.sc-outcome-btn:hover { border-color: #c1c9d2; }
.sc-outcome-btn[aria-pressed="true"] { border-color: #0570de; box-shadow: 0 0 0 1px #0570de; }
.sc-outcome-card { margin-left: auto; font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; color: #697386; }
.sc-ok { color: #1ea672; }
.sc-bad { color: #df1b41; }

.sc-h { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.25rem; }
.sc-field { margin-bottom: 1.1rem; }
.sc-field label { display: block; color: #30313d; font-size: .82rem; font-weight: 500; margin-bottom: .3rem; }
.sc-input, .sc-card input { width: 100%; border: 0; outline: 0; background: transparent; color: #1a1f36; font-size: .95rem; padding: .6rem .75rem; }
.sc-input, .sc-card { border: 1px solid #e0e6eb; border-radius: 6px; box-shadow: 0 1px 1px rgba(0, 0, 0, .03), 0 3px 6px rgba(18, 42, 66, .02); background: #fff; transition: border-color .15s, box-shadow .15s; }
.sc-input:focus { border-color: #0570de; box-shadow: 0 0 0 3px rgba(5, 112, 222, .25); }
.sc-input[readonly] { color: #697386; background: #f7f9fb; }
.sc-input::placeholder, .sc-card input::placeholder { color: #a3acb9; }
.sc-card { overflow: hidden; }
.sc-card:focus-within { border-color: #0570de; box-shadow: 0 0 0 3px rgba(5, 112, 222, .25); }
.sc-card.is-invalid { border-color: #df1b41; box-shadow: 0 0 0 1px #df1b41; }
.sc-card.is-invalid #scCard { color: #df1b41; }
.sc-card-number { display: flex; align-items: center; border-bottom: 1px solid #e0e6eb; }
.sc-card-row { display: grid; grid-template-columns: 1fr 1fr; }
.sc-card-row input + input { border-left: 1px solid #e0e6eb; }
.sc-card input { font-variant-numeric: tabular-nums; }
.sc-card input:invalid:not(:placeholder-shown):not(:focus) { color: #df1b41; }
.sc-brands { display: inline-flex; gap: .25rem; padding-right: .6rem; }
.sc-brands span { font-size: .58rem; font-weight: 800; letter-spacing: .02em; line-height: 1; padding: .22rem .3rem; border-radius: 3px; border: 1px solid #e3e8ee; color: #1a1f71; background: #fff; transition: opacity .15s; }
.sc-brands [data-brand="mc"] { color: #eb001b; }
.sc-brands [data-brand="amex"] { color: #fff; background: #2e77bc; border-color: #2e77bc; }
.sc-brands .dim { opacity: .25; }
.sc-error { color: #df1b41; font-size: .82rem; margin-top: .35rem; min-height: 1.1rem; }
.sc-error:empty { min-height: 0; margin: 0; }

.sc-button { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; margin-top: 1.5rem; border: 0; border-radius: 6px; background: #0570de; color: #fff; font-weight: 600; font-size: 1rem; box-shadow: inset 0 -1px 1px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .1); transition: background .15s; }
.sc-button:hover { background: #0461c2; color: #fff; }
.sc-button:focus-visible { outline: 3px solid rgba(5, 112, 222, .4); outline-offset: 2px; }
.sc-button:disabled { opacity: 1; cursor: progress; }
.sc-busy, .busy .sc-idle { display: none; }
.busy .sc-busy { display: inline-flex; align-items: center; }

.sc-result { max-width: 440px; margin: 0 auto; padding: 3rem 1rem 2rem; }
.sc-check { display: block; width: 72px; height: 72px; margin: .5rem auto 1.25rem; }
.sc-check circle { stroke: #1ea672; stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: sc-draw .6s ease-out forwards; }
.sc-check path { stroke: #1ea672; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 34; animation: sc-draw .35s .5s ease-out forwards; }
@keyframes sc-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .sc-check circle, .sc-check path { animation: none; stroke-dashoffset: 0; } }
.sc-receipt { border: 1px solid #e3e8ee; border-radius: 8px; padding: .25rem 1rem; font-size: .88rem; margin-bottom: 0; }
.sc-receipt > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; }
.sc-receipt > div + div { border-top: 1px solid #f0f2f5; }
.sc-receipt dt { font-weight: 400; color: #697386; }
.sc-receipt dd { margin: 0; text-align: right; display: flex; align-items: center; gap: .35rem; justify-content: flex-end; }
.sc-receipt .sc-brands { padding: 0; }

/* Branding page: mini previews painted from their own --p/--a/--n variables */
.brand-preview .preview-nav { background: var(--n); color: var(--nt); }
.brand-preview .preview-primary { background: var(--p); color: var(--pt); border-color: var(--p); }
.brand-preview .preview-accent { background: var(--a); color: var(--at); border-color: var(--a); }
.brand-preview .preview-link { color: var(--p); text-decoration: underline; }

/* Room board (UC-001) */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: .75rem;
}
/* muted status tones, shared by room tiles, chips and counters (names match Ui.RoomCss / Ui.BookingCss) */
.tone-success { --c: #2E7D4F; } .tone-primary { --c: #3567A0; } .tone-warning { --c: #B7791F; }
.tone-danger { --c: #B42318; } .tone-secondary { --c: #6B7480; } .tone-info { --c: #0E7490; }

/* Availability calendar (FrontDesk/Calendar): steel grid, capacity blocks with a fill meter */
.cal-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--steel-500); }
.cal-scroll { overflow-x: auto; overflow-y: hidden; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.cal-grid th, .cal-grid td { padding: .4rem .3rem; text-align: center; white-space: nowrap; border-bottom: 1px solid var(--steel-100); }
.cal-grid thead th { background: var(--brand-nav); color: var(--brand-nav-text); border-bottom: 3px solid var(--steel-500); padding: .5rem .3rem; line-height: 1.1; }
.cal-grid thead th.cal-type, .cal-grid thead th.cal-next { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; vertical-align: bottom; }
.cal-dow { display: block; font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.cal-dnum { display: block; font-family: "JetBrains Mono", SFMono-Regular, Consolas, monospace; font-size: 1.05rem; font-weight: 700; }
.cal-grid thead th.is-weekend { background: color-mix(in srgb, var(--brand-nav) 85%, #fff); }
.cal-grid thead th.is-today { background: var(--brand-accent); color: var(--brand-accent-text); border-bottom-color: var(--brand-accent); }
.cal-grid .cal-type { position: sticky; left: 0; z-index: 2; text-align: left; min-width: 170px; padding-left: 1rem; background: #fff; border-right: 2px solid var(--steel-200); }
.cal-grid thead .cal-type { background: var(--brand-nav); }
.cal-spec { font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--steel-500); }
.cal-grid td.is-weekend { background: repeating-linear-gradient(-45deg, #fff 0 6px, var(--steel-50) 6px 12px); }
.cal-grid td.is-today { background: color-mix(in srgb, var(--brand-accent) 10%, #fff); box-shadow: inset 2px 0 0 var(--brand-accent), inset -2px 0 0 var(--brand-accent); }
.cal-grid td.is-past { opacity: .4; }
.cal-block { display: block; min-width: 3.4rem; padding: .3rem .35rem .3rem; border: 1px solid var(--steel-200); border-left: 3px solid var(--c); border-radius: 3px; background: #fff; text-decoration: none; color: var(--ink) !important; }
.cal-block:hover, .cal-block:focus-visible { border-color: var(--c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 25%, transparent); }
.cal-block.tone-danger { background: color-mix(in srgb, var(--c) 8%, #fff); }
.cal-free { display: block; font-family: "JetBrains Mono", SFMono-Regular, Consolas, monospace; font-weight: 700; font-size: .95rem; line-height: 1.2; color: var(--c); }
.cal-free small { font-size: .7rem; font-weight: 600; color: var(--steel-500); }
.cal-meter { display: block; height: 4px; margin-top: .25rem; background: var(--steel-100); border-radius: 1px; overflow: hidden; }
.cal-meter > span { display: block; height: 100%; background: var(--c, var(--steel-500)); }
.cal-grid tfoot td, .cal-grid tfoot th { background: var(--steel-50); border-top: 2px solid var(--steel-200); border-bottom: 0; }
.cal-grid tfoot td .cal-meter > span { background: var(--brand-primary); }
.cal-total { font-family: "JetBrains Mono", SFMono-Regular, Consolas, monospace; font-weight: 700; font-size: 1rem; }
.cal-grid .cal-next { min-width: 130px; border-left: 2px solid var(--steel-200); }
.cal-slot { display: block; padding: .3rem .5rem; border: 1px solid var(--steel-200); border-top: 3px solid var(--brand-accent); border-radius: 3px; background: #fff; text-decoration: none; color: var(--ink) !important; }
.cal-slot:hover { border-color: var(--brand-accent); }
.cal-slot.is-none { border-top-color: var(--steel-200); }
.cal-slot-date { display: block; font-family: "JetBrains Mono", SFMono-Regular, Consolas, monospace; font-weight: 700; font-size: .85rem; }
.stat-tile .cal-meter > span { background: var(--brand-primary); }

/* New reservation: room type picker cards */
.rt-option { position: relative; display: block; height: 100%; padding: .85rem 1rem .85rem 2.4rem; background: #fff; cursor: pointer;
    border: 1px solid var(--steel-200); border-left: 4px solid var(--c); border-radius: 6px; }
.rt-option > input { position: absolute; left: .85rem; top: 1rem; margin: 0; }
.rt-option:hover { border-color: var(--c); }
.rt-option:has(input:checked) { border-color: var(--brand-primary); border-left-color: var(--brand-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-primary) 25%, transparent); }
.rt-option:has(input:focus-visible) { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.rt-option.is-off { cursor: not-allowed; opacity: .55; background: var(--steel-50); }
.room-tile {
  display: flex; flex-direction: column; min-height: 138px; padding: .7rem .75rem; background: #fff;
  border: 1px solid var(--steel-200, #d5dbe3); border-top: 4px solid var(--c); border-radius: 6px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.room-tile.tone-warning { background: color-mix(in srgb, var(--c) 5%, #fff); }
.room-tile.tone-secondary { background: repeating-linear-gradient(-45deg, #fff 0 10px, #f5f6f8 10px 20px); }
.room-tile .room-number { font-size: 1.45rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: .2rem .45rem; border-radius: 3px; color: color-mix(in srgb, var(--c) 78%, #000);
  background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 28%, #fff);
}
.chip::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--c); }
.stat-tile[class*="tone-"] { border-left-color: var(--c); }

/* Housekeeping (UC-002): big touch targets for phones */
.hk-card .btn { min-height: 3rem; font-size: 1.1rem; }
.hk-card { border-top: 4px solid var(--c, var(--steel-200)) !important; }
.hk-warning { --c: #B7791F; } .hk-primary { --c: #3567A0; } .hk-secondary { --c: #6B7480; }
.hk-card .room-number, #inspect .room-number { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.hk-job > summary, .hk-fail > summary, .lf-close > summary, #open-requests details > summary, details.card > summary { list-style: none; cursor: pointer; }
.hk-job > summary::-webkit-details-marker, .hk-fail > summary::-webkit-details-marker, .lf-close > summary::-webkit-details-marker,
#open-requests details > summary::-webkit-details-marker, details.card > summary::-webkit-details-marker { display: none; }
.hk-job[open] > summary { display: none; }
.hk-check { padding: .55rem .5rem .55rem 2.2rem; border-bottom: 1px solid var(--steel-100); font-size: 1.02rem; }
.hk-check .form-check-input { width: 1.35rem; height: 1.35rem; margin-left: -1.75rem; margin-top: .1rem; }
.hk-check:has(:checked) label { color: var(--steel-500); text-decoration: line-through; }
.hk-assign { min-width: 180px; }
.mt-photo img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; border: 1px solid var(--steel-200); }

/* ===================== Admin panel: industrial console ===================== */
.admin-app {
  --sidebar-w: 248px; --ink: #1c2530; --steel-50: #f3f5f8; --steel-100: #e7ebf0; --steel-200: #d5dbe3; --steel-500: #64707f;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--steel-50); color: var(--ink); min-height: 100vh;
}
/* sidebar: admin "top bar" color from Branding, text color picked for contrast */
/* !important: Bootstrap makes .offcanvas-lg transparent (!important) on wide screens */
.admin-sidebar { background: var(--brand-nav) !important; color: var(--brand-nav-text); display: flex; flex-direction: column; }
@media (min-width: 992px) {
  .admin-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); overflow-y: auto; z-index: 1030; }
  .admin-main { margin-left: var(--sidebar-w); }
}
@media (max-width: 991.98px) { .admin-sidebar { --bs-offcanvas-width: 280px; --bs-offcanvas-bg: var(--brand-nav); --bs-offcanvas-color: var(--brand-nav-text); } }
.sidebar-brand { display: flex; align-items: center; padding: 1.1rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--brand-nav-text) 12%, transparent); }
.sidebar-brand a { color: inherit; }
.sidebar-logo { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; }
.sidebar-title { font-weight: 700; font-size: 1rem; line-height: 1.2; }
.sidebar-subtitle { font-size: .72rem; opacity: .6; text-transform: uppercase; letter-spacing: .08em; }
.sidebar-nav { padding: .5rem 0 1rem; flex-grow: 1; }
.sidebar-section { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; opacity: .45; padding: 1.1rem 1.25rem .4rem; }
.sidebar-link {
  display: flex; align-items: center; gap: .75rem; padding: .55rem 1.25rem; color: inherit; text-decoration: none; font-weight: 500;
  border-left: 3px solid transparent; opacity: .82;
}
.sidebar-link .bi { font-size: 1.05rem; width: 1.2rem; text-align: center; }
.sidebar-link:hover { opacity: 1; background: color-mix(in srgb, var(--brand-nav-text) 6%, transparent); color: inherit; }
.sidebar-link.active { opacity: 1; border-left-color: var(--brand-accent); background: linear-gradient(90deg, color-mix(in srgb, var(--brand-primary) 55%, transparent), transparent); font-weight: 600; }
.sidebar-user { display: flex; align-items: center; gap: .65rem; padding: .85rem 1rem; border-top: 1px solid color-mix(in srgb, var(--brand-nav-text) 12%, transparent); font-size: .9rem; }
.sidebar-icon-btn { color: inherit; opacity: .75; border: 0; }
.sidebar-icon-btn:hover { opacity: 1; color: inherit; background: color-mix(in srgb, var(--brand-nav-text) 10%, transparent); }
.avatar {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-accent); color: var(--brand-accent-text); font-weight: 700; font-size: .85rem; letter-spacing: .02em;
}
.avatar-lg { width: 72px; height: 72px; font-size: 1.6rem; border-radius: 10px; }
.avatar-muted { background: var(--steel-200); color: var(--ink); }
.avatar-photo { object-fit: cover; background: var(--steel-100); }
.avatar-off { filter: grayscale(1); opacity: .6; }
.form-section { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--steel-500); margin-bottom: .75rem; }

/* top bar + content */
.admin-main { display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar {
  position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: .75rem; height: 56px; padding: 0 1.5rem;
  background: var(--brand-sunset) top / 100% 3px no-repeat, #fff; border-bottom: 1px solid var(--steel-200); padding-top: 3px;
}
.topbar-crumb { font-size: .95rem; }
.admin-content { flex-grow: 1; padding: 1.5rem; }
.admin-footer { padding: .9rem 1.5rem; font-size: .8rem; color: var(--steel-500); border-top: 1px solid var(--steel-200); }
@media (max-width: 575.98px) { .admin-content { padding: 1rem; } .admin-topbar { padding: 0 1rem; } }

/* flat, squared, bordered surfaces */
.admin-app h1 { font-weight: 700; letter-spacing: -.01em; }
.admin-app .card { border: 1px solid var(--steel-200); border-radius: 6px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.admin-app .card-header {
  background: #fff; border-bottom: 1px solid var(--steel-100); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .8rem 1rem;
}
.admin-app .card-header .text-muted { text-transform: none; letter-spacing: 0; }
.admin-app .btn, .admin-app .form-control, .admin-app .form-select, .admin-app .badge, .admin-app .alert { border-radius: 4px; }
.admin-app .table { --bs-table-bg: #fff; border: 1px solid var(--steel-200); }
.admin-app .table > thead th {
  background: var(--steel-100); color: var(--steel-500); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  border-bottom: 1px solid var(--steel-200); white-space: nowrap;
}
.admin-app .table-hover > tbody > tr:hover > * { --bs-table-bg-state: var(--steel-50); }
.admin-app .nav-tabs .nav-link.active { border-top: 2px solid var(--brand-primary); font-weight: 600; }
.admin-app .form-label { font-size: .85rem; font-weight: 500; color: #3b4652; }

/* staff login: dark brand backdrop, one card */
.staff-login { background: var(--brand-nav); }
.staff-login-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1rem; gap: 1rem; }
.staff-login-card { width: min(440px, 100%); background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.staff-login-card::before { content: ""; display: block; height: 4px; background: var(--brand-sunset); }
.staff-login-brand { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.5rem; background: var(--brand-nav); color: var(--brand-nav-text); }
.staff-login-back { color: var(--brand-nav-text); opacity: .75; text-decoration: none; }
.staff-login-back:hover { opacity: 1; color: var(--brand-nav-text); }
.text-none { text-transform: none; }

/* KPI tiles */
.stat-tile { background: #fff; border: 1px solid var(--steel-200); border-left: 4px solid var(--brand-primary); border-radius: 6px; padding: .9rem 1rem; height: 100%; }
.stat-tile .stat-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--steel-500); }
.stat-tile .stat-value { font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.stat-tile.accent { border-left-color: var(--brand-accent); }
.stat-tile.muted { border-left-color: var(--steel-200); }
.detail-list dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--steel-500); }
.detail-list dd { margin-bottom: .9rem; }

/* Guided tour */
.tour-highlight {
  position: relative;
  z-index: 1040;
  border-radius: .5rem;
  outline: 3px solid var(--brand-accent);
  outline-offset: 4px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, .35);
}
#tour-card {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(380px, calc(100vw - 2rem));
  z-index: 1060;
}
#tour-card .tour-progress { width: 0; background: var(--brand-accent); }
#tour-card.playing .tour-progress { animation: tour-fill linear forwards; }
@keyframes tour-fill { from { width: 0; } to { width: 100%; } }

@media print {
  .no-print, header, footer, #tour-card { display: none !important; }
  main { padding: 0 !important; }
  .admin-main { margin-left: 0 !important; }
  .admin-app { background: #fff; }
}

/* ---------- Guest account area: My bookings, booking details, profile ---------- */
.acct-hero { background: linear-gradient(120deg, var(--brand-nav) 0%, color-mix(in srgb, var(--brand-nav) 72%, var(--brand-primary)) 100%); color: var(--brand-nav-text); padding-top: 2.25rem; }
.acct-avatar { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.15rem;
    background: var(--brand-accent); color: var(--brand-accent-text); box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.acct-hero h1 { font-size: 1.6rem; margin: 0; }
.acct-sub { opacity: .75; font-size: .9rem; }
.acct-tabs { display: flex; gap: .25rem; margin-top: 1.75rem; overflow-x: auto; }
.acct-tabs a { padding: .75rem 1.15rem; border-radius: 10px 10px 0 0; color: inherit !important; opacity: .78; text-decoration: none; font-weight: 600; white-space: nowrap; }
.acct-tabs a:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.acct-tabs a.active { background: #f5f6fa; color: #111827 !important; opacity: 1; }
.acct-body { background: #f5f6fa; padding: 2rem 0 4rem; }
.acct-stat { background: #fff; border: 1px solid #eceef3; border-radius: 14px; padding: 1rem 1.15rem; height: 100%; }
.acct-stat .n { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.acct-stat .l { font-size: .78rem; color: #6b7280; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.acct-pills .nav-link { color: #4b5563; font-weight: 600; border-radius: 999px; padding: .45rem 1rem; }
.acct-pills .nav-link.active { background: #111827; color: #fff; }
.acct-pills .badge { background: rgba(0, 0, 0, .08); color: inherit; font-weight: 600; }
.acct-pills .nav-link.active .badge { background: rgba(255, 255, 255, .2); }

.stay-card { position: relative; display: grid; grid-template-columns: 230px 1fr; background: #fff; border: 1px solid #eceef3; border-radius: 16px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .04); transition: box-shadow .15s, transform .15s; }
.stay-card:hover { box-shadow: 0 10px 30px rgba(16, 24, 40, .1); transform: translateY(-1px); }
.stay-card.is-next { border: 2px solid var(--brand-accent); }
.stay-card.is-muted .stay-photo { filter: grayscale(.8); opacity: .7; }
.stay-photo { position: relative; min-height: 180px; background: #e5e7eb center / cover no-repeat; }
.stay-photo.placeholder, .bk-hero.placeholder { background-image: linear-gradient(135deg, var(--brand-primary), var(--brand-accent)); }
.stay-photo.placeholder::after { content: "\F1E3"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; color: rgba(255, 255, 255, .85); }
.stay-ribbon { position: absolute; top: .75rem; left: .75rem; background: var(--brand-accent); color: var(--brand-accent-text); font-size: .75rem; font-weight: 700;
    padding: .25rem .6rem; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.stay-body { padding: 1.15rem 1.35rem; display: flex; flex-direction: column; gap: .85rem; min-width: 0; }
.stay-title { font-size: 1.15rem; font-weight: 700; margin: 0; }
.stay-code { font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; color: #6b7280; letter-spacing: .04em; }
.stay-dates { display: flex; align-items: center; gap: 1rem; }
.stay-date .lbl { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; font-weight: 700; }
.stay-date .day { display: block; font-weight: 700; font-size: 1.05rem; }
.stay-date .time { display: block; font-size: .8rem; color: #6b7280; }
.stay-nights { flex: 1; min-width: 50px; text-align: center; font-size: .75rem; color: #6b7280; font-weight: 600; position: relative; }
.stay-nights::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #d1d5db; }
.stay-nights span { position: relative; background: #fff; padding: 0 .5rem; }
.stay-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .75rem; border-top: 1px solid #f0f1f5; padding-top: .85rem; margin-top: auto; }
.stay-price { font-size: 1.2rem; font-weight: 700; }
.stretched-link:focus-visible { outline: none; }
.stay-card:has(.stretched-link:focus-visible) { outline: 3px solid var(--brand-primary); outline-offset: 2px; }
@media (max-width: 767.98px) { .stay-card { grid-template-columns: 1fr; } .stay-photo { min-height: 150px; } }

.bk-hero { position: relative; min-height: 240px; border-radius: 18px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; background: #111827 center / cover no-repeat; }
.bk-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .72) 100%); }
.bk-hero > div { position: relative; padding: 1.5rem 1.75rem; width: 100%; }
.bk-hero h1 { font-size: 2rem; margin: .35rem 0 .25rem; }
.bk-hero .chip { background: rgba(255, 255, 255, .92); }
.bk-code { font-family: SFMono-Regular, Menlo, Consolas, monospace; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); color: #fff;
    border-radius: 8px; padding: .2rem .6rem; font-size: .9rem; letter-spacing: .05em; }
.bk-code:hover { background: rgba(255, 255, 255, .26); }
.bk-panel { background: #fff; border: 1px solid #eceef3; border-radius: 16px; padding: 1.35rem 1.5rem; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.bk-panel > h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; font-weight: 700; margin-bottom: 1rem; }
.bk-steps { display: flex; list-style: none; margin: 0; padding: 0; }
.bk-step { flex: 1; text-align: center; position: relative; font-size: .82rem; color: #9ca3af; font-weight: 600; }
.bk-step .dot { position: relative; z-index: 1; width: 32px; height: 32px; margin: 0 auto .45rem; border-radius: 50%; display: grid; place-items: center; background: #e5e7eb; color: #fff; }
.bk-step + .bk-step::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 3px; background: #e5e7eb; }
.bk-step.done, .bk-step.current { color: #111827; }
.bk-step.done .dot { background: var(--brand-primary); }
.bk-step.current .dot { background: var(--brand-accent); color: var(--brand-accent-text); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand-accent) 25%, transparent); }
.bk-step.done::before, .bk-step.current::before { background: var(--brand-primary) !important; }
.bk-step small { display: block; font-weight: 400; color: #6b7280; }
.kv { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed #eceef3; margin: 0; }
.kv:last-child { border-bottom: 0; }
.kv dt { font-weight: 400; color: #6b7280; }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.kv.total { border-top: 2px solid #111827; border-bottom: 0; margin-top: .25rem; padding-top: .8rem; }
.kv.total dd { font-size: 1.35rem; }
.balance-due { border-radius: 12px; padding: .9rem 1rem; background: color-mix(in srgb, var(--brand-accent) 14%, #fff); border: 1px solid color-mix(in srgb, var(--brand-accent) 45%, #fff); }
.balance-due.paid { background: #ecfdf3; border-color: #a6f4c5; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .65rem; padding: .4rem 0; }
.checklist i { color: var(--brand-primary); }
@media print { .acct-hero, .site-header, .site-footer, .no-print { display: none !important; } .acct-body { background: #fff; padding: 0; } }

/* ---------- Public gallery: motel-signage look, album grids, full-screen slideshow ---------- */
.g-hero { position: relative; overflow: hidden; color: #f3f4f6; padding: 4.5rem 0 3.5rem;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px), linear-gradient(160deg, var(--brand-nav) 0%, #0b0f14 100%); }
.g-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
    background: repeating-linear-gradient(90deg, var(--brand-accent) 0 40px, #111827 40px 80px); }
.g-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .25rem 0 .75rem; color: #fff; }
.g-eyebrow { color: var(--brand-accent); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; margin: 0; }
.g-lead { font-size: 1.15rem; opacity: .8; max-width: 560px; }
.g-stats { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; font-size: .9rem; opacity: .85; }
.g-stats b { color: var(--brand-accent); font-size: 1.1rem; }
.g-neon { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%) rotate(-4deg); font-family: "Playfair Display", Georgia, serif; font-style: italic;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem); color: #ffe4ec; padding: .2rem 1.2rem; border: 3px solid #ff4f8b; border-radius: 14px; letter-spacing: .04em;
    text-shadow: 0 0 6px #ff4f8b, 0 0 18px #ff1f6d, 0 0 36px #ff1f6d; box-shadow: 0 0 12px #ff1f6d, inset 0 0 12px rgba(255, 31, 109, .6);
    animation: g-flicker 6s infinite; }
@keyframes g-flicker { 0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: .35; } }
@media (max-width: 767.98px) { .g-neon { position: static; display: inline-block; transform: rotate(-3deg); margin-bottom: 1.25rem; } }

.g-filter { position: sticky; top: var(--header-h, 64px); z-index: 1010; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid #e5e7eb; }
.g-chips { display: flex; gap: .5rem; overflow-x: auto; padding: .75rem 0; scrollbar-width: none; }
.g-chip { flex: none; border: 1px solid #d1d5db; background: #fff; color: #374151; border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.g-chip span { display: inline-block; min-width: 1.6rem; margin-left: .3rem; padding: 0 .4rem; border-radius: 999px; background: #f3f4f6; font-size: .78rem; }
.g-chip:hover { border-color: #111827; }
.g-chip[aria-pressed="true"] { background: #111827; border-color: #111827; color: #fff; }
.g-chip[aria-pressed="true"] span { background: var(--brand-accent); color: var(--brand-accent-text); }

.g-body { background: #f4f1ea; padding: 3rem 0 4rem; }
.g-album + .g-album { margin-top: 3.5rem; }
.g-album-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.25rem; }
.g-album-no { font-family: "Playfair Display", Georgia, serif; font-size: 3.2rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--brand-accent); }
.g-album-head h2 { font-size: 1.9rem; margin: 0; color: #111827; }
.g-album-head p { margin: 0; color: #6b7280; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.g-rule { flex: 1; height: 0; border-top: 2px dashed #cbbfa8; align-self: center; margin-left: .5rem; }

.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.g-feature { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-pano { grid-column: 1 / -1; }
.g-tall { grid-row: span 2; }
@media (max-width: 991.98px) { .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; } .g-feature { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .g-grid { grid-auto-rows: 140px; gap: 10px; } .g-album-no { font-size: 2.4rem; } .g-album-head h2 { font-size: 1.5rem; } }

.g-tile { position: relative; margin: 0; border-radius: 6px; overflow: hidden; background: #1f2937; box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 8px 24px rgba(17, 24, 39, .12); }
.g-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.g-tile:hover img, .g-open:focus-visible img { transform: scale(1.06); }
.g-open:focus-visible { outline: 4px solid var(--brand-accent); outline-offset: -4px; }
.g-tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .78) 100%); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; padding: .9rem 1rem; color: #fff; font-weight: 600; line-height: 1.3; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.g-feature .g-cap { font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; padding: 1.25rem 1.4rem; }
.g-plaque { position: absolute; top: .7rem; left: .7rem; z-index: 1; pointer-events: none; font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: .72rem; font-weight: 700;
    letter-spacing: .08em; color: #111827; background: #f5e9cf; border: 2px solid #111827; border-radius: 4px; padding: .1rem .45rem; box-shadow: 2px 2px 0 rgba(0, 0, 0, .35); transition: background .2s; }
.g-tile:hover .g-plaque { background: var(--brand-accent); }
.g-zoom { position: absolute; top: .6rem; right: .6rem; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(0, 0, 0, .45); color: #fff; opacity: 0; transition: opacity .2s; }
.g-tile:hover .g-zoom, .g-open:focus-visible .g-zoom { opacity: 1; }

.g-cta { background: var(--brand-nav); color: #f3f4f6; padding: 2.5rem 0; border-top: 6px solid var(--brand-accent); }
.g-cta h2 { color: #fff; font-size: 1.8rem; }
.g-cta p { opacity: .8; }

.lb { position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-rows: auto 1fr auto auto; background: rgba(8, 10, 14, .97); color: #f3f4f6; }
.lb[hidden] { display: none; }
.lb-top { position: relative; display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.25rem; }
.lb-meta { display: flex; align-items: center; gap: .9rem; }
.lb-album { color: var(--brand-accent); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; }
.lb-count { font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; opacity: .7; }
.lb-actions { display: flex; gap: .5rem; }
.lb-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.15rem; display: grid; place-items: center; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255, 255, 255, .18); outline: none; border-color: #fff; }
.lb-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .08); opacity: 0; }
.lb.playing .lb-progress { opacity: 1; }
.lb-progress span { display: block; height: 100%; width: 100%; background: var(--brand-accent); transform-origin: left; transform: scaleX(0); }
.lb.playing .lb-progress span { animation: lb-bar 4.5s linear forwards; }
@keyframes lb-bar { to { transform: scaleX(1); } }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 4.5rem; touch-action: pan-y; user-select: none; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
    opacity: 0; transform: translateX(var(--from, 0px)) scale(.985); }
.lb-stage img.in { opacity: 1; transform: none; transition: opacity .35s ease, transform .4s cubic-bezier(.2, .8, .2, 1); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.5rem; display: grid; place-items: center; }
.lb-nav:hover, .lb-nav:focus-visible { background: var(--brand-accent); color: var(--brand-accent-text); outline: none; }
.lb-nav.prev { left: 1rem; } .lb-nav.next { right: 1rem; }
.lb-caption { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: 1rem 1.25rem .5rem; text-align: center; min-height: 3.5rem; }
.lb-caption .g-plaque { position: static; }
.lb-caption h2 { font-size: 1.35rem; margin: 0; color: #fff; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: .5rem 1.25rem 1rem; justify-content: safe center; scrollbar-width: thin; }
.lb-thumb { flex: none; width: 76px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: #111; opacity: .5; transition: opacity .15s; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb:hover, .lb-thumb:focus-visible { opacity: .9; outline: none; }
.lb-thumb[aria-current="true"] { opacity: 1; border-color: var(--brand-accent); }
@media (max-width: 575.98px) { .lb-stage { padding: 0 .5rem; } .lb-nav { width: 40px; height: 40px; font-size: 1.1rem; background: rgba(0, 0, 0, .45); } .lb-nav.prev { left: .4rem; } .lb-nav.next { right: .4rem; } .lb-thumb { width: 56px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .g-neon { animation: none; } .g-open img, .lb-stage img.in { transition: none; } .lb.playing .lb-progress span { animation: none; transform: scaleX(1); } }

/* My bookings pager */
.acct-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; }
.acct-pager .page-link { color: #111827; border-color: #e5e7eb; min-width: 2.5rem; text-align: center; font-weight: 600; }
.acct-pager .page-link:hover { background: #f3f4f6; }
.acct-pager .page-item.active .page-link { background: #111827; border-color: #111827; color: #fff; }
.acct-pager .page-item.disabled .page-link { color: #9ca3af; }
/* account pages: grey background down to the footer, also on short pages */
main:has(> .acct-body), main:has(> .acct-hero) { background: #f5f6fa; }

/* ---------- Reports: dark sheet header, tabs, CSS bar charts, steel table ---------- */
.rpt-head { background: #fff; border: 1px solid var(--steel-200); border-radius: 6px; overflow: hidden; }
.rpt-band { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; color: #fff; border-bottom: 3px solid var(--brand-accent);
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 12px), var(--brand-nav); }
.rpt-eyebrow { color: var(--brand-accent); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.rpt-title { font-size: 1.55rem; font-weight: 700; margin: .1rem 0; color: #fff; }
.rpt-period { font-size: .85rem; opacity: .75; }
.rpt-downloads { display: flex; gap: .5rem; }
.rpt-dl { border: 1px solid rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); font-weight: 600; }
.rpt-dl:hover, .rpt-dl:focus-visible { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--brand-accent-text); }
.rpt-tabs { display: flex; gap: .25rem; padding: 0 1rem; border-bottom: 1px solid var(--steel-200); overflow-x: auto; }
.rpt-tabs a { padding: .7rem .9rem; font-weight: 600; font-size: .9rem; color: var(--steel-500) !important; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.rpt-tabs a:hover { color: var(--ink) !important; }
.rpt-tabs a.active { color: var(--ink) !important; border-bottom-color: var(--brand-accent); }
.rpt-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .75rem 1rem; background: var(--steel-50); }
.rpt-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-500); }

.rb-v { display: flex; align-items: flex-end; gap: 6px; height: 220px; padding-top: 1.4rem; border-bottom: 1px solid var(--steel-200);
    background: repeating-linear-gradient(to top, transparent 0 43px, var(--steel-100) 43px 44px); }
.rb-v-col { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; outline: none; }
.rb-v-bar { width: min(70%, 34px); min-height: 2px; background: var(--brand-primary); border-radius: 4px 4px 0 0; transition: filter .15s; }
.rb-v-label { position: absolute; bottom: -1.35rem; font-size: .7rem; color: var(--steel-500); font-weight: 600; }
.rb-v-tip { position: absolute; top: -.2rem; left: 50%; transform: translate(-50%, -100%); white-space: nowrap; font-size: .72rem; font-weight: 700;
    background: var(--ink); color: #fff; padding: .15rem .4rem; border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 2; }
.rb-v-col:hover .rb-v-bar, .rb-v-col:focus-visible .rb-v-bar { filter: brightness(1.2); }
.rb-v-col:hover .rb-v-tip, .rb-v-col:focus-visible .rb-v-tip { opacity: 1; }
.rb-v + * { margin-top: 1.6rem; }
.card-body:has(> .rb-v) { padding-bottom: 2rem; }
.rb-h { display: grid; gap: .45rem; }
.rb-h-row { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; align-items: center; gap: .75rem; font-size: .85rem; }
.rb-h-label { font-weight: 600; }
.rb-h-track { height: 14px; background: var(--steel-100); border-radius: 0 4px 4px 0; overflow: hidden; }
.rb-h-bar { display: block; height: 100%; min-width: 2px; background: var(--brand-primary); border-radius: 0 4px 4px 0; }
.rb-h-value { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 5.5rem; text-align: right; }

.rpt-table { font-variant-numeric: tabular-nums; font-size: .85rem; }
.admin-app .rpt-table > thead th { background: var(--brand-nav); color: #fff; border-bottom: 2px solid var(--brand-accent); }
.rpt-table tfoot td { background: var(--steel-100); font-weight: 700; border-top: 2px solid var(--ink); }
@media print {
    .rpt-head { border: 0; }
    .rpt-band { background: #fff !important; color: #000; border-bottom: 2px solid #000; }
    .rpt-title, .rpt-period { color: #000; opacity: 1; }
    .rpt-downloads, .rpt-tabs, .rpt-filters { display: none !important; }
}
