:root {
  color-scheme: light;
  --brand: #123f49;
  --brand-deep: #0c3139;
  --brand-soft: #e8f1f0;
  --accent: #65c8b3;
  --accent-soft: #def3ee;
  --ink: #183138;
  --muted: #718083;
  --faint: #9aa7a8;
  --line: #dde6e4;
  --line-soft: #edf2f1;
  --surface: #fff;
  --canvas: #f4f7f6;
  --danger: #b94b50;
  --danger-soft: #fae9e8;
  --shadow: 0 20px 55px rgba(13, 49, 57, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, select, summary { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid rgba(101, 200, 179, .34); outline-offset: 2px; }
a { color: inherit; }
[hidden] { display: none !important; }

.section-kicker { margin: 0; color: #5c8d87; font-size: 10px; font-weight: 850; letter-spacing: .16em; }

/* Home */
.home-page { display: flex; min-height: 100svh; flex-direction: column; background: var(--surface); }
.home-header, .home-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px clamp(22px, 5vw, 72px); }
.home-header { border-bottom: 1px solid var(--line); }
.database-status { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; font-weight: 700; }
.database-status i { width: 7px; height: 7px; border-radius: 50%; background: #a6b0b0; }
.database-status.is-connected i { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.database-status.has-error { color: var(--danger); }
.home-main { width: min(1180px, calc(100% - 44px)); margin: auto; padding: clamp(50px, 9vw, 105px) 0; }
.home-intro { max-width: 650px; }
.home-intro h1 { margin: 10px 0 13px; color: var(--brand); font-size: clamp(48px, 8vw, 88px); font-weight: 720; letter-spacing: -.065em; line-height: .95; }
.home-intro > p:last-child { max-width: 510px; margin: 0; color: var(--muted); font-size: 15px; }
.module-list { display: grid; margin-top: clamp(45px, 8vw, 88px); border-top: 1px solid var(--line); }
.module-row { display: grid; grid-template-columns: 50px minmax(220px, 1fr) 100px 35px; align-items: center; gap: 22px; min-height: 112px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: padding .25s var(--ease), background .25s; }
.module-row:hover { padding-inline: 18px; background: var(--canvas); }
.module-number { color: #71918e; font-size: 11px; font-weight: 850; }
.module-copy { display: grid; gap: 5px; }
.module-copy strong { color: var(--brand); font-size: 20px; letter-spacing: -.025em; }
.module-copy small { color: var(--muted); font-size: 12px; }
.module-meta { display: grid; justify-items: end; }
.module-meta b { color: var(--brand); font-size: 23px; }
.module-meta small { color: var(--faint); font-size: 10px; text-transform: uppercase; }
.module-arrow { display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--brand); transition: color .2s, background .2s, transform .2s; }
.module-row:hover .module-arrow { color: white; background: var(--brand); transform: rotate(45deg); }
.home-footer { border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }

/* Rate Shopper: original structure */
.rateshopper-page { min-height: 100svh; overflow-x: hidden; }
.app { min-height: 100svh; }
.toolbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(16px); }
.title-area { display: flex; min-height: 86px; align-items: center; gap: clamp(18px, 3vw, 38px); padding: 0 clamp(18px, 3.5vw, 52px); border-bottom: 1px solid var(--line-soft); }
.brand-block { display: flex; min-width: 315px; align-items: center; gap: 21px; }
.brand-block h1 { margin: 0; color: var(--brand); font-size: 27px; font-weight: 730; letter-spacing: -.045em; }
.brand-logo { display: block; width: 98px; height: auto; padding-left: 18px; border-left: 1px solid var(--line); }
.mode-tabs { display: flex; align-self: stretch; gap: 2px; }
.mode-tab-btn { position: relative; padding: 0 16px; border: 0; color: var(--muted); background: transparent; font-size: 12px; font-weight: 760; }
.mode-tab-btn::after { position: absolute; right: 14px; bottom: -1px; left: 14px; height: 2px; border-radius: 2px 2px 0 0; background: transparent; content: ""; }
.mode-tab-btn:hover { color: var(--brand); }
.mode-tab-btn.is-active { color: var(--brand); }
.mode-tab-btn.is-active::after { background: var(--accent); }
.mode-tab-btn-danger.is-active { color: var(--danger); }
.mode-tab-btn-danger.is-active::after { background: var(--danger); }
.view-mode-label { display: grid; gap: 4px; margin-left: auto; color: var(--faint); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.view-mode-label select { min-width: 140px; }
.split-pax-btn { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 7px; color: var(--brand); background: white; font-size: 11px; font-weight: 750; }
.split-pax-btn:hover, .split-pax-btn.is-active { border-color: var(--accent); background: var(--accent-soft); }

.controls { display: flex; min-height: 74px; align-items: end; gap: 9px; padding: 13px clamp(18px, 3.5vw, 52px) 14px; overflow: visible; }
.controls > label { display: grid; flex: 0 0 auto; gap: 5px; color: var(--faint); font-size: 9px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.controls input, .controls select, .pax-filter summary { min-height: 38px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--surface); }
.controls input { width: 137px; padding: 0 9px; color: var(--ink); font-size: 11px; }
.controls select { padding: 0 30px 0 10px; font-size: 11px; }
.controls > button, .button-link, .primary-action, .secondary-action { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid transparent; border-radius: 7px; font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: transform .18s, border-color .18s, background .18s; }
.controls > button:hover, .button-link:hover, .primary-action:hover, .secondary-action:hover { transform: translateY(-1px); }
.controls > button { border-color: var(--line); color: var(--brand); background: white; }
#saveRegister { border-color: var(--brand); color: white; background: var(--brand); }
#applyPeriod { color: white; background: #4f787c; }
.button-link { color: white; background: var(--brand); }
.back-home-btn { margin-left: auto; border-color: var(--line); color: var(--muted); background: var(--canvas); }
.button-link-muted { border-color: var(--line); color: var(--brand); background: white; }

.pax-filter { position: relative; flex: 0 0 auto; }
.pax-filter summary { display: flex; min-width: 90px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 11px; color: var(--muted); font-size: 10px; font-weight: 800; list-style: none; }
.pax-filter summary::-webkit-details-marker { display: none; }
.pax-filter summary::after { color: var(--faint); content: "⌄"; }
.pax-filter.has-selection summary { border-color: #8bcdbf; color: var(--brand); background: var(--accent-soft); }
.pax-filter-options { position: absolute; top: calc(100% + 7px); left: 0; z-index: 50; display: grid; min-width: 210px; max-height: 290px; padding: 8px; overflow-y: auto; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: var(--shadow); animation: dropdown-in .2s var(--ease) both; }
@keyframes dropdown-in { from { opacity: 0; transform: translateY(-5px); } }
.pax-filter-options label { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 6px; color: var(--ink); font-size: 11px; cursor: pointer; }
.pax-filter-options label:hover { background: var(--canvas); }
.pax-filter-options input { width: 14px; height: 14px; min-height: 0; accent-color: var(--brand); }
.filter-empty { padding: 10px; color: var(--faint); font-size: 11px; }

.chart-section { position: relative; min-height: 290px; padding: 24px clamp(22px, 3.5vw, 52px) 12px; border-bottom: 1px solid var(--line); background: white; animation: surface-in .35s var(--ease) both; }
#priceChart { display: block; width: 100%; height: 240px; }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; padding-top: 5px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; }
.chart-legend i { width: 13px; height: 3px; border-radius: 3px; }
.chart-tooltip { position: absolute; pointer-events: none; }

.grid-wrapper { position: relative; min-height: calc(100svh - 160px); padding: 28px clamp(18px, 3.5vw, 52px) 70px; overflow-x: auto; animation: surface-in .4s var(--ease) both; }
@keyframes surface-in { from { opacity: 0; transform: translateY(5px); } }
#rateTable, .split-tables table { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; white-space: nowrap; }
#rateTable thead th, .split-tables thead th { position: sticky; top: 0; z-index: 3; padding: 12px 15px; border-bottom: 1px solid var(--line); color: var(--faint); background: var(--canvas); font-size: 9px; font-weight: 850; letter-spacing: .075em; text-align: center; text-transform: uppercase; }
#rateTable td, #rateTable tbody th, .split-tables td, .split-tables tbody th { height: 70px; padding: 11px 15px; border-bottom: 1px solid var(--line-soft); color: #3d5458; background: rgba(255,255,255,.58); font-size: 11px; text-align: center; }
#rateTable tbody tr:hover td, #rateTable tbody tr:hover th, .split-tables tbody tr:hover td, .split-tables tbody tr:hover th { background: #fbfdfd; }
#rateTable .hotel-column, .split-tables .hotel-column { position: sticky; left: 0; z-index: 4; min-width: 245px; text-align: left; }
#rateTable thead .hotel-column, .split-tables thead .hotel-column { z-index: 5; }
.hotel-column { display: table-cell; }
tbody .hotel-column { color: var(--ink) !important; }
tbody .hotel-column > span:not(.hotel-order) { display: inline-grid; margin-left: 8px; vertical-align: middle; }
.hotel-column strong { font-size: 12px; }
.hotel-column small { color: var(--faint); font-size: 9px; font-weight: 500; }
.hotel-order { display: inline-grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--brand); background: var(--surface); font-size: 10px; font-weight: 850; vertical-align: middle; }
.reference-label { display: inline-block; margin-left: 8px; padding: 3px 6px; border-radius: 20px; color: var(--brand); background: var(--accent-soft); font-size: 8px; font-style: normal; font-weight: 850; text-transform: uppercase; vertical-align: middle; }
.reference-row td, .reference-row th { background: rgba(222,243,238,.34) !important; }
.pax-column { width: 62px; color: var(--brand) !important; font-weight: 850; }
.date-day { display: block; color: var(--ink); font-size: 10px; }
#rateTable thead small, .split-tables thead small, .hotel-heading small { display: block; margin-top: 2px; color: var(--faint); font-size: 8px; font-weight: 650; text-transform: none; }
.price-cell strong { display: block; color: var(--brand); font-size: 12px; }
.price-cell small { display: block; margin-top: 2px; color: var(--faint); font-size: 8px; }
.price-cell.is-reference strong { color: #126354; }
.price-cell.is-empty { color: #c0c9c8 !important; }
.price-cell.is-closed strong { color: var(--danger); font-size: 9px; text-transform: uppercase; }
.average-column { border-left: 1px solid var(--line) !important; color: var(--brand) !important; background: #eff5f4 !important; font-weight: 850; }
.vertical-date { text-align: left !important; }
.vertical-date strong, .vertical-date small { display: block; }
.vertical-date small { color: var(--faint); font-size: 9px; }
.hotel-heading.is-reference { color: var(--brand) !important; background: var(--accent-soft) !important; }

.vertical-focus-column { display: flex; min-width: 820px; align-items: end; gap: 32px; margin-bottom: 20px; padding: 19px 22px; border-left: 3px solid var(--accent); background: white; box-shadow: 0 8px 30px rgba(13,49,57,.045); }
.vertical-focus-column .section-kicker { margin-right: auto; align-self: center; }
.focus-metric { display: grid; }
.focus-metric span { color: var(--muted); font-size: 9px; font-weight: 750; }
.focus-metric strong { color: var(--brand); font-size: 17px; }
.focus-meta { display: flex; gap: 8px; }
.focus-meta span { padding: 5px 8px; border-radius: 20px; color: var(--muted); background: var(--canvas); font-size: 9px; }
.floating-average-btn { position: fixed; right: 24px; bottom: 24px; z-index: 20; min-height: 39px; padding: 0 14px; border: 0; border-radius: 8px; color: white; background: var(--brand); box-shadow: 0 10px 25px rgba(18,63,73,.2); font-size: 10px; font-weight: 800; }

.split-tables { display: grid; gap: 32px; min-width: 820px; }
.split-table-section { border-top: 1px solid var(--line); }
.split-table-section > header { display: flex; align-items: center; gap: 12px; padding: 17px 0 10px; }
.split-table-section > header > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: white; background: var(--brand); font-size: 10px; font-weight: 850; }
.split-table-section h2 { margin: 0; color: var(--brand); font-size: 15px; }
.split-table-section p { margin: 1px 0 0; color: var(--faint); font-size: 9px; }
.split-scroll { overflow-x: auto; }

.entry-heading { color: var(--brand) !important; background: var(--accent-soft) !important; }
.entry-cell { min-width: 150px; background: var(--accent-soft) !important; }
.entry-cell > span { margin-right: 6px; color: #5b7c78; font-size: 10px; font-weight: 850; }
.rate-input { width: 92px; height: 36px; padding: 0 9px; border: 1px solid #a7d7cd; border-radius: 6px; color: var(--brand); background: white; font-size: 12px; font-weight: 750; text-align: right; }
.rate-input:focus { border-color: var(--brand); outline: 3px solid rgba(101,200,179,.2); }
.rate-input.has-error { border-color: var(--danger); background: var(--danger-soft); }
.current-price { display: block; color: var(--brand); font-weight: 800; }
.current-price-note { display: block; color: var(--faint); font-size: 8px; }
.empty-table-row td { height: 310px !important; color: var(--muted) !important; background: transparent !important; text-align: center !important; white-space: normal; }
.empty-table-row strong, .empty-table-row span { display: block; }
.empty-table-row strong { margin-bottom: 4px; color: var(--brand); font-size: 15px; }
.empty-table-row span { margin-bottom: 14px; font-size: 11px; }
.empty-table-row button, .empty-table-row a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 12px; border: 0; border-radius: 7px; color: white; background: var(--brand); font-size: 10px; font-weight: 800; text-decoration: none; }
.loading-row td { height: 260px; color: var(--muted); text-align: center; }
.loading-row span { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--accent); animation: pulse 1s infinite alternate; }
@keyframes pulse { to { opacity: .25; transform: scale(.65); } }

/* COMPSET */
.compset-page { background: #f7f9f8; }
.compset-app { min-height: 100svh; padding: 0 clamp(20px, 4.5vw, 70px) 70px; }
.compset-header { display: flex; min-height: 106px; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.compset-brand { display: flex; align-items: center; gap: 20px; }
.compset-brand > span { width: 1px; height: 38px; background: var(--line); }
.compset-brand h1 { margin: 2px 0 0; color: var(--brand); font-size: 27px; letter-spacing: -.04em; }
.compset-header-actions { display: flex; gap: 9px; }
.primary-action { color: white; background: var(--brand); }
.secondary-action { border-color: var(--line); color: var(--brand); background: white; }
.compset-tools { display: flex; align-items: end; justify-content: space-between; gap: 25px; padding: 32px 0 25px; }
.search-control { display: grid; width: min(420px, 55vw); gap: 6px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.search-control input { height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.compset-summary { display: flex; align-items: baseline; gap: 7px; }
.compset-summary strong { color: var(--brand); font-size: 24px; }
.compset-summary span { color: var(--faint); font-size: 10px; }
.compset-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.compset-table { width: 100%; min-width: 920px; border-collapse: collapse; }
.compset-table th { padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 9px; letter-spacing: .075em; text-align: left; text-transform: uppercase; }
.compset-table td { height: 75px; padding: 12px; border-bottom: 1px solid var(--line-soft); color: #42585c; font-size: 11px; }
.compset-table tbody tr { transition: background .16s; }
.compset-table tbody tr:hover { background: white; }
.compset-table td > strong, .compset-table td > small { display: block; }
.compset-table td > strong { color: var(--ink); }
.compset-table td > small { color: var(--faint); font-size: 9px; }
.compset-table td > a { color: var(--brand); font-weight: 750; text-decoration: none; }
.table-order { display: flex; align-items: center; gap: 3px; }
.table-order strong { min-width: 25px; color: var(--brand); }
.table-order button { width: 27px; height: 27px; border: 0; border-radius: 5px; color: var(--muted); background: transparent; }
.table-order button:hover:not(:disabled) { color: var(--brand); background: var(--brand-soft); }
.table-order button:disabled { opacity: .25; cursor: default; }
.hotel-identity { display: flex; min-width: 205px; align-items: center; gap: 10px; }
.hotel-identity > span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--brand); background: white; font-size: 10px; font-weight: 850; }
.hotel-identity div { display: grid; }
.hotel-identity strong { color: var(--ink); }
.hotel-identity small { color: var(--faint); font-size: 9px; }
.status-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 20px; color: var(--muted); background: #edf1f0; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.status-chip::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
.status-chip.reference { color: var(--brand); background: #dcecee; }
.status-chip.active { color: #27705f; background: var(--accent-soft); }
.status-chip.inactive { color: #8b7475; background: #f1eaea; }
.table-actions { display: flex; gap: 7px; }
.table-actions button { padding: 4px; border: 0; color: var(--brand); background: transparent; font-size: 10px; font-weight: 750; }
.table-actions .danger-link { color: var(--danger); }
.compset-table .empty-table-row td { height: 280px !important; }

.hotel-dialog { width: min(500px, calc(100vw - 24px)); max-width: none; padding: 0; border: 0; border-radius: 12px; color: var(--ink); background: white; box-shadow: var(--shadow); }
.hotel-dialog::backdrop, .access-dialog::backdrop { background: rgba(7,37,43,.48); backdrop-filter: blur(2px); }
.hotel-dialog form > header, .hotel-dialog form > footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 21px 25px; }
.hotel-dialog form > header { border-bottom: 1px solid var(--line); }
.hotel-dialog form > footer { border-top: 1px solid var(--line); }
.hotel-dialog h2 { margin: 3px 0 0; color: var(--brand); font-size: 23px; letter-spacing: -.035em; }
.dialog-close { width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--muted); background: var(--canvas); font-size: 21px; }
.dialog-body { padding: 24px 25px 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-field { display: grid; gap: 6px; margin-bottom: 15px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.form-field input { width: 100%; height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: white; text-transform: none; }
.check-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line-soft); cursor: pointer; }
.check-line span { display: grid; }
.check-line strong { font-size: 11px; }
.check-line small { color: var(--faint); font-size: 9px; }
.check-line input { width: 18px; height: 18px; accent-color: var(--brand); }

/* Shared feedback and access */
.access-dialog { width: min(390px, calc(100vw - 28px)); padding: 0; border: 0; border-radius: 13px; color: var(--ink); background: white; box-shadow: var(--shadow); }
.access-dialog form { padding: 30px; }
.access-dialog img { display: block; margin-bottom: 22px; }
.access-dialog h2 { margin: 5px 0 8px; color: var(--brand); font-size: 25px; letter-spacing: -.04em; }
.access-dialog form > p:not(.section-kicker) { margin: 0 0 21px; color: var(--muted); font-size: 11px; }
.access-dialog label { display: grid; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.access-dialog input { height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 7px; }
.access-dialog button { width: 100%; height: 42px; margin-top: 14px; border: 0; border-radius: 7px; color: white; background: var(--brand); font-weight: 800; }
.access-error { display: block; margin-top: 8px; color: var(--danger); font-size: 10px; }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; gap: 7px; pointer-events: none; }
.toast { min-width: 260px; padding: 12px 15px; border-left: 3px solid var(--accent); border-radius: 7px; color: white; background: var(--brand-deep); box-shadow: var(--shadow); font-size: 11px; animation: toast-in .3s var(--ease) both; }
.toast.error { border-color: #ef8c84; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1120px) {
  .title-area { flex-wrap: wrap; padding-block: 16px; }
  .brand-block { min-width: 270px; }
  .mode-tabs { min-height: 48px; order: 3; align-self: auto; }
  .view-mode-label { margin-left: auto; }
  .controls { align-items: end; overflow-x: auto; }
  .back-home-btn { margin-left: 0; }
}

@media (max-width: 720px) {
  .home-header, .home-footer { padding-inline: 20px; }
  .home-main { width: calc(100% - 40px); padding-block: 55px; }
  .home-intro h1 { font-size: 50px; }
  .module-row { grid-template-columns: 30px 1fr 30px; gap: 12px; min-height: 115px; }
  .module-meta { display: none; }
  .module-copy strong { font-size: 16px; }
  .module-copy small { font-size: 10px; }

  .toolbar { position: static; }
  .title-area { min-height: 0; gap: 13px; padding: 17px 16px 0; }
  .brand-block { width: 100%; min-width: 0; justify-content: space-between; }
  .brand-block h1 { font-size: 23px; }
  .brand-logo { width: 94px; }
  .mode-tabs { width: 100%; min-height: 48px; order: 3; }
  .mode-tab-btn { flex: 1; }
  .view-mode-label { width: calc(100% - 120px); margin-left: 0; }
  .view-mode-label select { width: 100%; }
  .controls { min-height: 70px; padding: 11px 16px; overflow-x: auto; overscroll-behavior-x: contain; }
  .controls > * { flex: 0 0 auto; }
  .pax-filter summary { min-width: 84px; }
  .grid-wrapper { min-height: calc(100svh - 210px); padding: 20px 15px 70px; }
  #rateTable, .split-tables table { min-width: 740px; }
  #rateTable thead th, .split-tables thead th { top: 0; }
  #rateTable .hotel-column, .split-tables .hotel-column { min-width: 205px; }
  .vertical-focus-column { min-width: 740px; gap: 18px; }
  .chart-section { padding-inline: 15px; }
  .floating-average-btn { right: 15px; bottom: 15px; }

  .compset-app { padding-inline: 17px; }
  .compset-header { min-height: 92px; }
  .compset-brand img { width: 94px; }
  .compset-brand > span { display: none; }
  .compset-brand h1 { font-size: 21px; }
  .compset-header-actions .button-link { display: none; }
  .compset-tools { align-items: end; }
  .search-control { width: 70%; }
  .compset-summary span { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
