:root {
    --ink: #20231f;
    --muted: #73776e;
    --line: #e3e5de;
    --surface: #f5f6f2;
    --white: #fff;
    --sage: #cbd4bf;
    --acid: #dce76d;
    --orange: #f0b56f;
    --red: #c56e5d;
    --blue: #88a7bd;
    --sidebar: #20231e;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { scrollbar-color: var(--ink) var(--surface); scrollbar-width: thin; }
html::-webkit-scrollbar { width: 12px; height: 12px; }
html::-webkit-scrollbar-track { background: var(--surface); }
html::-webkit-scrollbar-thumb { border: 3px solid var(--surface); border-radius: 999px; background: var(--ink); }
html::-webkit-scrollbar-thumb:hover { background: #373a34; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.45; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; background: var(--acid); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #8b9733; outline-offset: 3px; }

.dashboard-shell { min-height: 100vh; display: grid; grid-template-columns: 258px minmax(0, 1fr); }
.dashboard-sidebar { position: sticky; top: 0; z-index: 20; min-height: 100vh; height: 100vh; display: flex; flex-direction: column; padding: 25px 18px 22px; background: var(--sidebar); color: #f4f5ef; }
.sidebar-brand { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 23px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar-brand > a { font-family: var(--serif); font-size: 2rem; line-height: 1; letter-spacing: -.06em; text-decoration: none; }
.sidebar-brand > a span { color: var(--acid); }
.sidebar-brand button { display: none; border: 0; background: transparent; color: white; font-size: 1.7rem; }
.dashboard-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 22px; }
.dashboard-nav a { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; min-height: 46px; border-radius: 3px; padding: 0 12px; color: #bfc2b8; text-decoration: none; transition: background .18s ease, color .18s ease; }
.dashboard-nav a:hover { background: rgba(255,255,255,.055); color: white; }
.dashboard-nav a[aria-current="page"] { background: #353a31; color: white; }
.nav-icon { width: 22px; text-align: center; font-size: 1.05rem; }
.nav-badge { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; background: var(--acid); color: var(--ink); font-size: .67rem; }
.sidebar-spacer { flex: 1; }
.sidebar-footer { margin: 20px 0 92px; padding: 14px 8px 0; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-footer-row { display: flex; align-items: center; gap: 10px; }
.back-to-site { min-width: 0; display: flex; align-items: center; gap: 9px; color: #bfc2b8; font-size: .72rem; line-height: 1.25; text-decoration: none; }
.back-to-site span { flex: 0 0 auto; }
.back-to-site:hover { color: white; }

.dashboard-workspace { min-width: 0; }
.dashboard-topbar { position: sticky; top: 0; z-index: 10; height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 4vw, 58px); border-bottom: 1px solid var(--line); background: rgba(245,246,242,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sidebar-toggle { display: none; border: 0; background: none; }
.topbar-date { color: var(--muted); font-size: .76rem; }
.topbar-actions { display: flex; align-items: center; gap: 22px; }
.user-chip { display: flex; align-items: center; gap: 10px; }
.user-chip > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); font-size: .72rem; }
.user-chip div { display: flex; flex-direction: column; }
.user-chip strong { font-size: .75rem; }
.user-chip small { color: var(--muted); font-size: .64rem; }
.storage-warning { margin: 18px clamp(24px, 4vw, 58px) 0; padding: 11px 14px; border-left: 3px solid var(--orange); background: #fff5e7; font-size: .76rem; }
.dashboard-live { position: fixed; z-index: -1; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.dashboard-main { padding: clamp(34px, 5vw, 68px) clamp(24px, 4vw, 58px) 90px; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.page-intro h1 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5.5vw, 5.8rem); font-weight: 400; letter-spacing: -.06em; line-height: .9; }
.page-intro > div > p { margin: 16px 0 0; color: var(--muted); }
.primary-action, .secondary-action { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--ink); border-radius: 999px; padding: 10px 19px; }
.primary-action-icon { display: block; font-size: 1.4rem; font-weight: 300; line-height: .7; transform: translateY(-1px); }
.primary-action { background: var(--ink); color: white; }
.primary-action:hover { background: #373a34; }
.secondary-action { background: white; color: var(--ink); }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.metric-card { min-height: 152px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); background: white; }
.metric-card > span { color: var(--muted); font-size: .73rem; }
.metric-card strong { margin-top: auto; font-family: var(--serif); font-size: 3.1rem; font-weight: 400; line-height: 1; letter-spacing: -.05em; }
.metric-card small { margin-top: 7px; color: var(--muted); font-size: .67rem; }
.metric-card-accent { border-color: var(--acid); background: var(--acid); }
.metric-card-accent > span, .metric-card-accent small { color: #45493f; }
.overview-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; }
.dashboard-card { border: 1px solid var(--line); background: white; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 23px 24px; border-bottom: 1px solid var(--line); }
.card-heading p { margin: 0 0 4px; color: var(--muted); font-size: .67rem; }
.card-heading h2 { margin: 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; letter-spacing: -.035em; }
.card-heading > a { color: var(--muted); font-size: .7rem; text-underline-offset: 4px; }
.service-list { padding: 0 24px 12px; }
.service-row { display: grid; grid-template-columns: 54px 1fr auto auto; align-items: center; gap: 14px; min-height: 76px; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-time { font-family: var(--serif); font-size: 1.18rem; }
.service-guest { min-width: 0; }
.service-guest strong, .service-guest small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-guest strong { font-size: .78rem; }
.service-guest small { color: var(--muted); font-size: .66rem; }
.table-chip { padding: 5px 8px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .64rem; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; width: max-content; border-radius: 999px; padding: 6px 9px; background: #edf0e9; color: #5a6251; font-size: .65rem; white-space: nowrap; }
.service-row .status-pill,
.reservation-table .status-pill,
.table-reservation .status-pill,
.drawer-status .status-pill { width: 7rem; flex: 0 0 7rem; justify-content: flex-start; }
.status-pill::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.status-pill[data-status="pending"] { background: #fff0dd; color: #9b642d; }
.status-pill[data-status="seated"] { background: #e6eef3; color: #55798e; }
.status-pill[data-status="cancelled"], .status-pill[data-status="declined"] { background: #f5e9e6; color: #9b5547; }
.status-pill[data-status="completed"] { background: #efefec; color: #85877f; }
.room-card { min-height: 390px; }
.mini-floor { position: relative; min-height: 245px; margin: 18px; border: 1px solid var(--line); background: var(--surface); }
.mini-table { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); font-size: .53rem; transform: translate(-50%, -50%); }
.mini-table.is-busy { background: var(--ink); color: white; }
.mini-table.is-pending { background: var(--orange); color: var(--ink); }
.room-summary { display: flex; justify-content: center; gap: 24px; padding: 0 16px 22px; color: var(--muted); font-size: .68rem; }
.room-summary span { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: var(--sage); }
.legend-dot.is-free { background: var(--sage); }
.legend-dot.is-busy { background: var(--ink); }
.legend-dot.is-upcoming { background: var(--blue); }
.legend-dot.is-pending { background: var(--orange); }
.activity-card { grid-column: 1 / -1; }
.activity-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.activity-item { min-height: 96px; display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: start; padding: 20px 24px; border-right: 1px solid var(--line); }
.activity-item:last-child { border-right: 0; }
.activity-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); }
.activity-item p { margin: 1px 0 3px; font-size: .72rem; }
.activity-item small { color: var(--muted); font-size: .63rem; }
.empty-inline { padding: 44px 0; color: var(--muted); text-align: center; }

.reservation-toolbar, .floor-toolbar { display: grid; align-items: end; gap: 12px; padding: 17px; border: 1px solid var(--line); background: white; }
.reservation-toolbar { grid-template-columns: minmax(170px, .72fr) minmax(170px, .68fr) minmax(250px, 1.35fr) auto; }
.floor-toolbar { grid-template-columns: repeat(3, minmax(150px, 190px)) minmax(280px, 1fr); }
.reservation-toolbar .sillon-control-field, .floor-toolbar .sillon-control-field { width: 100%; min-width: 0; }
.day-summary { min-height: 44px; display: grid; grid-template-columns: minmax(2ch, max-content) max-content; justify-content: start; column-gap: 8px; row-gap: 2px; align-content: center; align-items: baseline; min-width: 142px; padding: 0 5px 0 12px; border-left: 1px solid var(--line); }
.day-summary strong { min-width: 2ch; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; font-variant-numeric: tabular-nums; text-align: right; }
.day-summary span { color: var(--muted); font-size: .65rem; }
.reservation-table-card { min-height: 440px; margin-top: 14px; border: 1px solid var(--line); background: white; }
.table-scroll { overflow-x: auto; }
.reservation-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.reservation-table th:nth-child(5), .reservation-table td:nth-child(5) { width: 140px; }
.reservation-table th { height: 48px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .65rem; font-weight: 500; text-align: left; }
.reservation-table td { height: 70px; padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: .75rem; }
.reservation-table tr:last-child td { border-bottom: 0; }
.reservation-table tr[data-highlight="true"] { animation: row-highlight 2.4s ease both; }
.reservation-table .guest-cell strong, .reservation-table .guest-cell small { display: block; }
.reservation-table .guest-cell small { color: var(--muted); font-size: .64rem; }
.reservation-row-button { border: 0; padding: 6px; background: none; text-decoration: underline; text-underline-offset: 3px; }
.empty-state { padding: 70px 20px; text-align: center; }
.empty-state > span { display: block; font-family: var(--serif); font-size: 4rem; color: var(--sage); }
.empty-state h3 { margin: 10px 0 5px; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.empty-state p { margin: 0; color: var(--muted); }
@keyframes row-highlight { 0%, 35% { background: #f2f7c8; } 100% { background: transparent; } }

.floor-toolbar { margin-bottom: 14px; }
.floor-legend { min-height: 67px; align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin: 0; padding-left: 20px; border-left: 1px solid var(--line); color: var(--muted); font-size: .8rem; font-weight: 500; line-height: 1.2; }
.floor-legend span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.floor-legend .legend-dot { width: 10px; height: 10px; flex: 0 0 auto; }
.floor-layout { display: grid; grid-template-columns: minmax(530px, 1.5fr) minmax(290px, .5fr); gap: 14px; }
.floor-card { position: relative; min-height: 640px; overflow: hidden; border: 1px solid var(--line); background: white; }
.floor-card::before { content: ""; position: absolute; top: 64px; bottom: 0; left: 52%; width: 1px; background: linear-gradient(var(--line), transparent 85%); }
.floor-label { position: absolute; color: var(--muted); font-size: .61rem; letter-spacing: .05em; }
.floor-label-window { top: 24px; left: 50%; transform: translateX(-50%); }
.floor-label-window::after { content: ""; display: block; width: 240px; margin-top: 7px; border-top: 4px double var(--blue); }
.floor-label-kitchen { right: 25px; bottom: 18px; width: 32%; border: 1px solid var(--line); padding: 17px; text-align: center; }
.floor-plan { position: absolute; inset: 67px 18px 56px; }
.floor-table { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 74px; height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 8px solid #f1f2ed; border-radius: 50%; background: var(--sage); color: var(--ink); box-shadow: 0 0 0 1px #b7c0ad; transform: translate(-50%, -50%); transition: transform .16s ease, box-shadow .16s ease; }
.floor-table[data-shape="square"] { border-radius: 8px; }
.floor-table[data-shape="long"] { width: 115px; border-radius: 12px; }
.floor-table:hover, .floor-table[aria-pressed="true"] { z-index: 2; box-shadow: 0 0 0 3px var(--ink); transform: translate(-50%, -50%) scale(1.04); }
.floor-table.is-busy { background: var(--ink); color: white; }
.floor-table.is-pending { background: var(--orange); color: var(--ink); }
.floor-table.is-upcoming { background: var(--blue); color: #142630; }
.floor-table strong { font-size: .76rem; }
.floor-table small { font-size: .56rem; }
.table-detail { min-height: 640px; border: 1px solid var(--line); background: white; }
.table-detail-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px; color: var(--muted); text-align: center; }
.table-detail-placeholder > span { font-size: 2rem; }
.table-detail-placeholder h2 { margin: 20px 0 8px; color: var(--ink); font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.table-detail-placeholder p { max-width: 230px; margin: 0; font-size: .75rem; }
.table-detail-content { padding: 25px; }
.table-detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.table-detail-header h2 { margin: 0; font-family: var(--serif); font-size: 2.3rem; font-weight: 400; letter-spacing: -.04em; }
.table-detail-header p { margin: 4px 0 0; color: var(--muted); font-size: .67rem; }
.table-detail-header .status-pill { margin-top: 5px; }
.table-detail-content > button { width: 100%; margin: 18px 0; }
.table-detail-header-actions { display: flex; align-items: flex-start; gap: 10px; }
.table-detail-close { width: 38px; height: 38px; display: flex; flex: 0 0 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; padding: 0; background: white; color: var(--ink); }
.table-detail-close > span { position: relative; width: 14px; height: 14px; display: block; }
.table-detail-close > span::before,
.table-detail-close > span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 15px; height: 1.5px; border-radius: 999px; background: currentColor; }
.table-detail-close > span::before { transform: translate(-50%, -50%) rotate(45deg); }
.table-detail-close > span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.table-detail-close:hover { background: var(--ink); color: white; }
.table-reservations h3 { margin: 22px 0 10px; color: var(--muted); font-size: .67rem; font-weight: 500; }
.table-reservation { width: 100%; display: grid; grid-template-columns: 45px 1fr auto; gap: 9px; align-items: center; border: 0; border-top: 1px solid var(--line); padding: 13px 0; background: none; color: var(--ink); text-align: left; }
.table-reservation strong, .table-reservation small { display: block; }
.table-reservation strong { font-size: .71rem; }
.table-reservation small { color: var(--muted); font-size: .6rem; }
.accessible-table-list { margin-top: 14px; }
.accessible-table-list > div { display: grid; grid-template-columns: repeat(3, 1fr); }
.accessible-table-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 15px 22px; background: white; text-align: left; }
.accessible-table-item:nth-child(3n) { border-right: 0; }
.accessible-table-item strong { font-size: .72rem; }
.accessible-table-item span { color: var(--muted); font-size: .63rem; }

.dialog-layer { position: fixed; z-index: 800; inset: 0; display: grid; place-items: center; padding: 20px; }
.dialog-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(17,19,16,.58); backdrop-filter: blur(6px); }
.dialog-card { position: relative; width: min(700px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; background: white; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.dialog-card > header, .reservation-drawer > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.dialog-card > header p, .reservation-drawer > header p { margin: 0 0 5px; color: var(--muted); font-size: .66rem; }
.dialog-card > header h2, .reservation-drawer > header h2 { margin: 0; font-family: var(--serif); font-size: 2.6rem; font-weight: 400; letter-spacing: -.04em; }
.dialog-card > header button, .reservation-drawer > header button { border: 0; background: none; color: var(--muted); font-size: 1.8rem; }
.dialog-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.dialog-fields label { display: flex; flex-direction: column; gap: 6px; }
.dialog-fields label > span { color: var(--muted); font-size: .65rem; }
.dialog-fields input, .dialog-fields select, .dialog-fields textarea { width: 100%; min-height: 43px; border: 1px solid var(--line); padding: 9px 11px; background: white; }
.dialog-field-wide { grid-column: 1 / -1; }
.dialog-error { min-height: 1.4em; margin: 15px 0 0; color: #9b4b3c; font-size: .72rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 17px; }
.reservation-drawer-layer { place-items: stretch end; padding: 0; }
.reservation-drawer { position: relative; width: min(440px, 100vw); height: 100%; overflow-y: auto; padding: 30px; background: white; box-shadow: -20px 0 70px rgba(0,0,0,.2); }
.table-detail-dialog-card { position: relative; width: min(480px, 100%); min-height: 0; max-height: calc(100svh - 40px); overflow-y: auto; background: white; box-shadow: 0 24px 80px rgba(0,0,0,.25); scrollbar-color: var(--ink) transparent; scrollbar-width: thin; }
.table-detail-dialog-card::-webkit-scrollbar { width: 9px; }
.table-detail-dialog-card::-webkit-scrollbar-track { background: transparent; }
.table-detail-dialog-card::-webkit-scrollbar-thumb { border: 3px solid white; border-radius: 999px; background: var(--ink); }
.drawer-status { margin: 8px 0 25px; }
.drawer-details { margin: 0; }
.drawer-details div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer-details dt { color: var(--muted); font-size: .69rem; }
.drawer-details dd { margin: 0; font-size: .73rem; text-align: right; }
.drawer-note { margin-top: 25px; padding: 17px; background: var(--surface); }
.drawer-note h3 { margin: 0 0 7px; font-size: .68rem; font-weight: 500; }
.drawer-note p { margin: 0; color: var(--muted); font-size: .72rem; white-space: pre-wrap; }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 26px; }
.drawer-actions button { min-height: 43px; border: 1px solid var(--ink); border-radius: 999px; background: white; }
.drawer-actions button[data-primary="true"] { background: var(--ink); color: white; }
.toast-stack { position: fixed; z-index: 850; right: 20px; bottom: 20px; width: min(360px, calc(100vw - 40px)); display: grid; gap: 9px; }
.toast { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 15px 17px; border-left: 4px solid var(--acid); background: var(--ink); color: white; box-shadow: 0 12px 36px rgba(0,0,0,.2); }
.toast p { margin: 0; font-size: .72rem; }
.toast button { border: 0; background: none; color: white; }

@media (max-width: 1120px) {
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .reservation-toolbar { grid-template-columns: 1fr 1fr; }
    .reservation-toolbar .search-field, .reservation-toolbar .day-summary { grid-column: 1 / -1; }
    .day-summary { border-top: 1px solid var(--line); border-left: 0; padding: 12px 0 0; }
    .floor-layout { grid-template-columns: 1fr; }
    .table-detail { min-height: 280px; }
    .floor-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .floor-legend { grid-column: 1 / -1; width: 100%; min-height: 48px; align-self: auto; justify-content: center; margin-top: 0; padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 820px) {
    .dashboard-shell { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: fixed; left: 0; width: min(300px, 88vw); transform: translateX(-105%); transition: transform .2s ease; box-shadow: 18px 0 55px rgba(0,0,0,.22); }
    .dashboard-sidebar.is-open { transform: none; }
    .sidebar-brand button, .sidebar-toggle { display: block; }
    .dashboard-topbar { padding: 0 20px; }
    .topbar-date, .user-chip div { display: none; }
    .dashboard-main { padding: 34px 20px 80px; }
    .overview-grid { grid-template-columns: 1fr; }
    .activity-list { grid-template-columns: 1fr; }
    .activity-item { border-right: 0; border-bottom: 1px solid var(--line); }
    .activity-item:last-child { border-bottom: 0; }
    .accessible-table-list > div { grid-template-columns: repeat(2, 1fr); }
    .accessible-table-item:nth-child(3n) { border-right: 1px solid var(--line); }
    .accessible-table-item:nth-child(2n) { border-right: 0; }
    .floor-layout > .table-detail { display: none; }
}

@media (max-width: 560px) {
    .page-intro { align-items: flex-start; flex-direction: column; }
    .metric-grid { grid-template-columns: 1fr 1fr; }
    .metric-card { min-height: 135px; padding: 16px; }
    .metric-card strong { font-size: 2.5rem; }
    .service-list { padding: 0 12px 8px; }
    .service-row { grid-template-columns: max-content minmax(0, 1fr) auto auto; gap: 12px; min-height: 74px; }
    .service-row .status-pill { grid-column: auto; width: 6.4rem; flex-basis: 6.4rem; padding: 5px 7px; font-size: .6rem; }
    .service-row .table-chip { padding: 4px 6px; font-size: .58rem; white-space: nowrap; }
    .service-time { font-size: 1.05rem; }
    .floor-card { min-height: 530px; overflow-x: auto; }
    .floor-plan { min-width: 500px; }
    .floor-label-window { left: 270px; }
    .floor-label-kitchen { display: none; }
    .floor-table { width: 64px; height: 64px; border-width: 6px; }
    .floor-table[data-shape="long"] { width: 96px; }
    .accessible-table-list > div { grid-template-columns: 1fr; }
    .accessible-table-item, .accessible-table-item:nth-child(2n), .accessible-table-item:nth-child(3n) { border-right: 0; }
    .reservation-toolbar, .floor-toolbar { grid-template-columns: 1fr; }
    .reservation-toolbar .search-field, .reservation-toolbar .day-summary, .floor-legend { grid-column: auto; }
    .floor-legend { justify-content: flex-start; row-gap: 12px; }
    .dialog-card { width: 100%; max-height: calc(100svh - 24px); padding: 24px 20px; }
    .dialog-fields { grid-template-columns: 1fr; }
    .dialog-field-wide { grid-column: auto; }
    .dialog-actions { flex-direction: column-reverse; }
    .dialog-actions button { width: 100%; }
    .reservation-drawer { padding: 25px 20px; }
    .table-detail-dialog-layer { align-items: end; padding: 12px; }
    .table-detail-dialog-card { width: 100%; max-height: calc(100svh - 24px); }
    .table-detail-dialog-card .table-detail-content { padding: 22px 20px; }
}

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