:root { --sage: #3f6f5c; --sage-wash: #e2eee7; --warning: #915f19; --warning-wash: #f8edda; --rose: #8e3d3b; --surface: #fffdf8; }

/* Public menu and reservation flow */
.menu-group--interactive { padding-top: 0; border-top: 0; }
.menu-dish { margin-bottom: 17px; }
.menu-dish-trigger { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; align-items: start; gap: 3px 15px; border: 0; background: transparent; padding: 0; color: var(--ink); text-align: left; cursor: pointer; }
.menu-dish-trigger strong { grid-column: 1; color: var(--ink); font-size: 1rem; }
.menu-dish-trigger small { grid-column: 1 / -1; max-width: 48ch; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.menu-dish-trigger b { grid-column: 2; grid-row: 1; color: var(--navy); font-size: .9rem; white-space: nowrap; }
.menu-dish-trigger i { color: var(--blue); font-size: 1.25rem; font-style: normal; line-height: .85; text-align: right; }
.menu-dish-trigger:hover strong { color: var(--blue); }
.menu-dish-detail { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 18px; margin-top: 12px; border-top: 1px solid var(--line); padding: 15px 0 4px; animation: revealDish .22s var(--ease); }
.menu-dish-detail[hidden] { display: none !important; }
.menu-dish-detail img { width: 118px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.menu-dish-detail p { margin: 3px 0 13px; max-width:46ch; color: var(--muted); font-size: .9rem; }
.dish-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dish-tags span { color: var(--muted); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.dish-tags b { border: 1px solid #aebfaf; border-radius: 99px; padding: 3px 7px; color: var(--sage); font-size: .7rem; font-weight: 600; }
@keyframes revealDish { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

.booking-experience { grid-column: 1 / -1; margin-top: 5px; border-top: 1px solid rgba(220, 236, 255, .3); padding: 27px 0 6px; }
.booking-step-head { display: flex; align-items: start; justify-content: space-between; gap: 22px; }
.booking-step-head .eyebrow { margin-bottom: 5px; color: #b6cff1; }
.booking-step-head h3 { margin: 0; color: #fff; font: 700 clamp(1.45rem, 2.5vw, 2.15rem)/1.1 var(--display); letter-spacing: -.025em; }
.booking-back { min-height: 42px; border: 1px solid rgba(220, 236, 255, .45); background: transparent; color: #eaf4ff; padding: 8px 12px; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
.booking-guidance, .table-selection { max-width: 68ch; margin: 13px 0 18px; color: #d3e2f1; font-size: .89rem; }
.guest-floor-plan { position: relative; min-height: 350px; overflow: hidden; border: 1px solid rgba(220, 236, 255, .34); background: linear-gradient(135deg, #16415f, #0d314e); }
.guest-floor-plan::before { position: absolute; inset: 0 0 auto; height: 30px; content: 'OCEAN SIDE'; color: rgba(221, 241, 255, .82); background: rgba(113, 184, 226, .24); padding: 7px 14px; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-align: center; }
.guest-table, .layout-table, .ops-table { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%); }
.guest-table { width: 82px; height: 82px; min-height: 82px; border: 1px solid #b9d9f0; border-radius: 9px; background: var(--surface); color: var(--navy); padding: 9px 5px; cursor: pointer; box-shadow: 0 8px 20px rgba(4, 24, 43, .22); transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease); }
.guest-table.capacity-md { width: 112px; height: 78px; min-height: 78px; }
.guest-table.capacity-lg { width: 138px; height: 86px; min-height: 86px; }
.guest-table.capacity-xl { width: 164px; height: 94px; min-height: 94px; }
.guest-table.capacity-md.is-vertical { width: 78px; height: 112px; min-height: 112px; }
.guest-table.capacity-lg.is-vertical { width: 86px; height: 138px; min-height: 138px; }
.guest-table.capacity-xl.is-vertical { width: 94px; height: 164px; min-height: 164px; }
.guest-table:hover:not(:disabled), .guest-table.is-selected { background: #d9edfb; transform: translate(-50%, -54%); box-shadow: 0 13px 27px rgba(4, 24, 43, .3); }
.guest-table.is-selected { border: 3px solid var(--blue); }
.guest-table:disabled { border-color: #6e8494; background: #e0e6e4; color: #71808a; cursor: not-allowed; opacity: .8; }
.guest-table-name, .guest-table small { display: block; overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
.guest-table-name { font-size: .67rem; font-weight: 700; }
.guest-table b { display: block; font: 1.6rem/1 var(--display); }
.guest-table small { margin-top: 3px; font-size: .57rem; }
.guest-table i { position: absolute; top: -9px; right: 1px; width: 23px; height: 23px; border: 1px solid #9ed1ef; border-radius: 50%; background: #e5f5ff; color: #175b8f; font-size: 1.12rem; font-style: normal; line-height: 18px; }
.booking-experience > .button { margin-top: 3px; }
.guest-details { display: grid; gap: 16px; max-width: 720px; }
.guest-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.guest-details label, .deposit-choice { color: #e7f0f8; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.guest-details input { display: block; width: 100%; min-height: 48px; margin-top: 6px; border: 0; background: var(--surface); padding: 0 11px; color: var(--ink); font-size: 1rem; letter-spacing: normal; text-transform: none; }
.deposit-choice { margin: 0; border: 1px solid rgba(220, 236, 255, .35); padding: 16px; }
.deposit-choice legend { padding: 0 6px; color: #b6cff1; }
.deposit-choice p { margin: 0 0 13px; color: #d3e2f1; font-size: .85rem; font-weight: 400; letter-spacing: normal; line-height: 1.45; text-transform: none; }
.deposit-choice label { display: flex; align-items: start; gap: 9px; margin-top: 10px; font-size: .76rem; letter-spacing: normal; text-transform: none; }
.deposit-choice input { width: auto; min-height: 0; margin: 4px 0 0; accent-color: var(--blue); }
.booking-success { max-width: 630px; padding: 12px 0 8px; }
.booking-success .eyebrow { color: #b6cff1; }
.booking-success h3 { margin: 0; color: #fff; font: 700 clamp(1.5rem, 3vw, 2.2rem)/1.1 var(--display); }
.booking-success p:not(.eyebrow) { color: #d3e2f1; }
.booking-success .text-link { border: 0; background: none; color: #fff; cursor: pointer; }

/* Dashboard upgrade */
.dashboard-nav nav { overflow-y: auto; }
.tables--live { position: relative; display: block; min-height: 290px; padding: 0; overflow: hidden; background: #f5f3ed; }
.tables--live::before { position: absolute; inset: 0 0 auto; height: 26px; content: ''; background: #d7ecf6; }
.ops-table { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid #9caeba; border-radius: 7px; background: var(--surface); color: var(--navy); text-align: center; }
.ops-table.capacity-md { width: 61px; height: 48px; }
.ops-table.capacity-lg { width: 73px; height: 52px; }
.ops-table.capacity-xl { width: 84px; height: 56px; }
.ops-table.capacity-md.is-vertical { width: 48px; height: 61px; }
.ops-table.capacity-lg.is-vertical { width: 52px; height: 73px; }
.ops-table.capacity-xl.is-vertical { width: 56px; height: 84px; }
.ops-table b { font-size: .68rem; }
.ops-table small { font-size: .58rem; }
.ops-table.is-held { border-color: var(--navy); background: var(--navy); color: #fff; }
.ops-table.is-oceanfront { box-shadow: 0 0 0 3px #b9dcff; }
.reservation-list { grid-template-columns: 1fr; }
.reservation-row { grid-template-columns: auto 1fr auto auto !important; align-items: center; }
.reservation-status { border-radius: 99px; padding: 4px 8px; font-size: .65rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.status-verified { background: var(--sage-wash); color: var(--sage); }
.status-pending { background: var(--warning-wash); color: var(--warning); }
.verify-deposit, .mini-action { min-height: 34px; border: 1px solid #8ab5dc; background: transparent; color: var(--blue); padding: 7px 9px; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.verify-deposit:hover, .mini-action:hover { border-color: var(--blue); background: #e2f0fb; }
.deposit-settings { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: 10px; max-width: 620px; margin-top: 14px; border: 1px solid #dfe3df; background: var(--paper); padding: 18px 20px; }
.deposit-settings .dash-label { grid-column: 1 / -1; margin: 0; }
.deposit-settings label { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.deposit-settings input, .dish-editor input, .dish-editor select, .dish-editor textarea, .table-editor input, .table-editor select { display: block; width: 100%; min-height: 42px; margin-top: 5px; border: 1px solid #c9d1cd; background: #fffefa; padding: 8px 9px; color: var(--ink); font: inherit; }
.save-note { min-height: 1.2em; margin: 0; color: var(--sage); font-size: .78rem; }
.menu-manager-layout, .layout-editor-layout { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); gap: 15px; max-width: 1190px; }
.menu-library, .dish-editor, .layout-workspace, .table-editor { border: 1px solid #dfe3df; background: var(--paper); padding: 20px; }
.dash-category-picker { display: grid; gap: 6px; margin: 4px 0 13px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.dash-category-picker select { width: 100%; min-height: 42px; border: 1px solid #aabdc7; background: #fffefa; padding: 8px 9px; color: var(--navy); font: 700 .88rem var(--ui); letter-spacing: normal; text-transform: none; }
.dash-menu-list { max-height: 560px; overflow: auto; }
.dash-menu-item { display: grid; width: 100%; grid-template-columns: 44px 1fr; gap: 10px; border: 0; border-top: 1px solid var(--line); background: transparent; padding: 10px 0; color: var(--ink); text-align: left; cursor: pointer; }
.dash-menu-item:hover, .dash-menu-item.is-active { color: var(--blue); }
.dash-menu-item img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.dash-menu-item b, .dash-menu-item small { display: block; }
.dash-menu-item b { font-size: .84rem; }
.dash-menu-item small { margin-top: 2px; color: var(--muted); font-size: .7rem; }
.dish-editor { display: grid; gap: 12px; align-content: start; }
.dish-editor > label, .table-editor > label { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.dish-editor textarea { min-height: 76px; resize: vertical; }
.editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.editor-grid label { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.dish-preview { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 11px; margin: 0; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.dish-preview img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.text-danger { width: max-content; border: 0; background: transparent; color: var(--rose); padding: 0; font-size: .69rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.layout-editor-layout { grid-template-columns: minmax(0, 1.5fr) minmax(250px, .5fr); }
.layout-workspace { min-width: 0; }
.layout-toolbar { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; }
.layout-toolbar span { flex: 1; color: var(--muted); font-size: .76rem; }
.layout-toolbar .text-link { margin: 0; border: 0; background: transparent; padding: 8px 0; cursor: pointer; }
.layout-canvas { position: relative; min-height: 520px; overflow: hidden; border: 1px solid #aabac0; background: #f5f3ed; touch-action: none; }
.layout-canvas::before { position: absolute; inset: 0 0 auto; height: 45px; content: ''; background: #d8edf8; }
.water-edge { position: absolute; z-index: 1; top: 13px; left: 0; right: 0; color: #286488; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-align: center; }
.layout-table { z-index: 2; width: 84px; height: 84px; min-height: 84px; border: 1px solid #7f99a7; border-radius: 8px; background: var(--surface); color: var(--navy); padding: 8px; cursor: grab; box-shadow: 0 5px 11px rgba(9, 43, 74, .09); user-select: none; }
.layout-table.capacity-md { width: 124px; height: 82px; min-height: 82px; }
.layout-table.capacity-lg { width: 154px; height: 90px; min-height: 90px; }
.layout-table.capacity-xl { width: 180px; height: 98px; min-height: 98px; }
.layout-table.capacity-md.is-vertical { width: 82px; height: 124px; min-height: 124px; }
.layout-table.capacity-lg.is-vertical { width: 90px; height: 154px; min-height: 154px; }
.layout-table.capacity-xl.is-vertical { width: 98px; height: 180px; min-height: 180px; }
.layout-table:active, .layout-table.is-dragging { cursor: grabbing; }
.layout-table.is-selected { border: 3px solid var(--blue); box-shadow: 0 0 0 3px #d7eaf8; }
.layout-table.is-oceanfront::after { position: absolute; top: -10px; right: -8px; width: 21px; height: 21px; border: 1px solid #9ed1ef; border-radius: 50%; background: #e5f5ff; color: #175b8f; content: '≈'; font-size: 1rem; line-height: 17px; }
.layout-table b, .layout-table small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.layout-table b { font-size: .73rem; }
.layout-table small { margin-top: 3px; color: var(--muted); font-size: .63rem; }
.table-editor { display: grid; align-content: start; gap: 14px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { display: inline-block; width: auto; min-height: auto; margin: 0; accent-color: var(--blue); }
.layout-mobile-note { display: none; color: var(--muted); font-size: .78rem; }
.empty-message { color: var(--muted); }

/* Financial intake: uploaded evidence stays beside the editable extraction. */
#financials .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.expense-review {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.expense-review-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.expense-review-card > a {
  display: block;
  min-height: 132px;
  border: 1px solid var(--line);
  background: var(--ivory);
}
.expense-review-card img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
}
.expense-review-card.is-processing { grid-template-columns: 1fr; }
.expense-review-card.is-processing small { display: block; margin-top: 5px; color: var(--muted); }
.expense-review-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}
.expense-review-fields label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.expense-review-fields input,
.expense-review-fields select {
  width: 100%;
  min-height: 44px;
  margin-top: 5px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 8px 10px;
}
.expense-review-actions { display: grid; gap: 9px; min-width: 132px; }
.expense-review-actions button { min-height: 44px; }
#providerPayoutList { display: block; }
#providerPayoutList > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-top: 1px solid var(--line); }
#providerPayoutList small { display: block; margin-top: 2px; color: var(--muted); text-transform: capitalize; }
#marketing .dash-section-head { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 28px; }
#marketing .dash-section-head > div { max-width: 680px; }

@media (max-width: 1100px) {
  #financials .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expense-review-card { grid-template-columns: 112px minmax(0, 1fr); }
  .expense-review-card img { height: 112px; }
  .expense-review-actions { grid-column: 2; display: flex; }
  .expense-review-fields { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
}

@media (max-width: 640px) {
  #financials .metrics { grid-template-columns: 1fr; }
  .expense-review { padding: 16px; }
  .expense-review-card { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
  .expense-review-card img { height: 82px; }
  .expense-review-fields { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .expense-review-actions { grid-column: 1 / -1; }
  #marketing .dash-section-head { display: block; }
  #connectGoogleMarketing { width: 100%; margin-top: 18px; }
}

@media (max-width: 900px) {
  .menu-manager-layout, .layout-editor-layout { grid-template-columns: 1fr; }
  .dash-menu-list { max-height: 300px; }
  .layout-canvas { min-height: 450px; }
}

@media (max-width: 640px) {
  .reservation-bar { grid-template-columns: 1fr !important; }
  .reservation-bar .form-note { grid-column: 1; }
  .booking-experience { padding-top: 22px; }
  .booking-step-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .booking-step-head > .eyebrow { grid-column: 1 / -1; }
  .booking-step-head > h3 { grid-column: 1; }
  .booking-step-head > .booking-back { grid-column: 2; grid-row: 2; }
  .booking-step-head > div { min-width: 0; }
  .booking-step-head h3 { font-size: 1.45rem; }
  .booking-back { min-height: 38px; padding: 7px; font-size: .62rem; }
  .guest-floor-plan { min-height: 405px; }
  .guest-table { width: 67px; height: 67px; min-height: 67px; padding: 7px 3px; }
  .guest-table.capacity-md { width: 82px; height: 61px; min-height: 61px; }
  .guest-table.capacity-lg { width: 96px; height: 68px; min-height: 68px; }
  .guest-table.capacity-xl { width: 106px; height: 74px; min-height: 74px; }
  .guest-table.capacity-md.is-vertical { width: 61px; height: 82px; min-height: 82px; }
  .guest-table.capacity-lg.is-vertical { width: 68px; height: 96px; min-height: 96px; }
  .guest-table.capacity-xl.is-vertical { width: 74px; height: 106px; min-height: 106px; }
  .guest-table-name { font-size: .55rem; }
  .guest-table b { font-size: 1.15rem; }
  .guest-table small { font-size: .49rem; }
  .guest-table i { top: -8px; right: -4px; width: 19px; height: 19px; font-size: .95rem; line-height: 14px; }
  .guest-fields, .editor-grid { grid-template-columns: 1fr; }
  .reservation-row { grid-template-columns: auto 1fr auto !important; }
  .reservation-row .verify-deposit { grid-column: 2 / -1; justify-self: start; margin-top: 4px; }
  .reservation-status { font-size: .57rem; }
  .deposit-settings { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 15px; }
  .deposit-settings .dash-label { grid-column: 1 / -1; }
  .menu-library, .dish-editor, .layout-workspace, .table-editor { padding: 15px; }
  .layout-toolbar { flex-wrap: wrap; }
  .layout-toolbar span { order: 3; flex-basis: 100%; }
  .layout-canvas { display: none; }
  .layout-mobile-note { display: block; margin: 0; }
  .layout-editor-layout { grid-template-columns: 1fr; }
  .table-editor { opacity: .55; pointer-events: none; }
  .dashboard-nav nav { gap: 0; }
  .dash-tab { font-size: .56rem; }
}

.reservation-manager{width:min(92vw,520px);padding:0;border:0;border-radius:18px;background:#f8f5ed;color:#12394a;box-shadow:0 28px 90px rgba(8,32,44,.3)}.reservation-manager::backdrop{background:rgba(5,25,34,.68);backdrop-filter:blur(4px)}.reservation-manager form{position:relative;padding:34px}.reservation-manager h2{margin:5px 0 10px;font-size:clamp(2rem,6vw,3rem);line-height:1}.reservation-manager p{line-height:1.55}.reservation-manager-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:23px 0}.reservation-manager-fields label{font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.reservation-manager-fields input{display:block;width:100%;margin-top:7px;padding:13px;border:1px solid #c9d4cd;border-radius:8px;background:#fff;color:#153e48;font:inherit}.reservation-manager .button{width:100%}.reservation-manager .save-note{min-height:1.5em;margin:12px 0 0;color:#376764;font-size:.82rem}@media(max-width:520px){.reservation-manager{width:100%;max-width:none;margin:auto 0 0;border-radius:18px 18px 0 0}.reservation-manager form{padding:28px 20px}.reservation-manager-fields{grid-template-columns:1fr}}

@media (prefers-reduced-motion: reduce) {
  .menu-dish-detail { animation: none; }
  .guest-table { transition: none; }
}

/* Canonical bar seats, shared by reservations and the owner floor-plan editor. */
.guest-table.is-bar-seat, .layout-table.is-bar-seat, .ops-table.is-bar-seat { display: grid; place-items: center; width: 38px; height: 38px; min-height: 38px; padding: 3px; border-radius: 5px; background: #fff8eb; color: #76541f; }
.guest-table.is-bar-seat .guest-table-name, .layout-table.is-bar-seat b, .ops-table.is-bar-seat b { font-size: .48rem; letter-spacing: 0; }
.guest-table.is-bar-seat b { font: 700 .47rem/1 var(--sans); }
.guest-table.is-bar-seat small { font-size: .42rem; }
.layout-table.is-bar-seat small { margin-top: 1px; font-size: .43rem; }
.ops-table.is-bar-seat { width: 28px; height: 28px; min-height: 28px; }
.ops-table.is-bar-seat b { font-size: .43rem; }
.ops-table.is-bar-seat small { font-size: .36rem; }
.layout-canvas::after { content: 'BAR'; position: absolute; left: 45%; top: 13%; bottom: 9%; z-index: 0; display: grid; place-items: center; width: 46px; border: 1px solid #d4b47e; border-radius: 7px; background: #ead8b5; color: #9a7038; font: .6rem/1 var(--display); letter-spacing: .15em; writing-mode: vertical-rl; }
.layout-canvas .layout-table { z-index: 2; }
@media (max-width:640px){.guest-table.is-bar-seat{width:29px;height:29px;min-height:29px}.guest-table.is-bar-seat .guest-table-name{font-size:.39rem}.guest-table.is-bar-seat b,.guest-table.is-bar-seat small{display:none}}

/* Owner dashboard: fixed navigation, live overview, and grouped settings. */
.dashboard-nav { position: sticky; top: 0; height: 100svh; min-height: 0; overflow: hidden; }
.dashboard-nav nav { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.dash-logo, .dash-exit { flex: 0 0 auto; }
.dash-exit { min-height: 44px; }
.overview-lead { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #d5dcd7; }
.overview-lead h2, .settings-heading h2 { margin: 0; }
.overview-lead h2 { max-width: none; font-size: clamp(2rem, 3vw, 3rem); }
.settings-heading h2 { max-width: none; font-size: clamp(2rem, 3vw, 3rem); }
.overview-lead p:not(.eyebrow), .settings-heading p:not(.eyebrow) { max-width: 56ch; margin: 13px 0 0; color: var(--muted); }
.shift-sales { min-width: 250px; text-align: right; }
.shift-sales span, .shift-sales small { display: block; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.shift-sales strong { display: block; margin: 5px 0 2px; color: var(--navy); font: 700 clamp(2rem, 3.4vw, 3.35rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.overview-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .7fr); gap: 15px; align-items: start; }
.overview-service, .overview-team, .overview-reservations, .overview-checkins { border: 1px solid #dce2dd; background: var(--paper); }
.overview-service { padding: 20px; }
.overview-service .panel-heading { align-items: center; }
.overview-service .panel-heading > div { display: flex; align-items: center; gap: 12px; }
.overview-service .panel-heading .dash-label { margin: 0; }
.overview-service .panel-heading > strong { color: var(--navy); font-size: .76rem; }
.overview-live { display: inline-flex; align-items: center; gap: 5px; color: #31735f; font-size: .65rem; font-weight: 700; }
.overview-live i { width: 7px; height: 7px; border-radius: 50%; background: #4a9a7c; box-shadow: 0 0 0 4px #e0f0e8; }
.overview-floor { position: relative; min-height: 380px; margin-top: 15px; overflow: hidden; border: 1px solid #b8c5c6; border-radius: 12px; background: #f5f3ed; }
.overview-floor::before { position: absolute; inset: 0; content: ''; background-image: linear-gradient(90deg, rgba(9,43,74,.035) 1px, transparent 1px), linear-gradient(rgba(9,43,74,.035) 1px, transparent 1px); background-size: 24px 24px; }
.overview-water { position: absolute; right: 16px; bottom: 13px; color: #83989d; font-size: .55rem; font-weight: 700; letter-spacing: .18em; writing-mode: vertical-rl; }
.overview-bar { position: absolute; z-index: 0; display: grid; place-items: center; width: 5.8%; border: 1px solid #d0b17d; border-radius: 6px; background: #e7d3ac; color: #916a32; font: .5rem/1 var(--display); letter-spacing: .12em; writing-mode: vertical-rl; }
.overview-bar--center { top: 8%; bottom: 7%; left: 42%; }
.overview-bar--right { top: 15%; bottom: 6%; left: 91%; }
.overview-table { position: absolute; z-index: 2; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); display: grid; width: 44px; height: 44px; place-items: center; transform: translate(-50%, -50%); border: 1px solid #9eb1b5; border-radius: 6px; background: #fffefa; color: #244e55; box-shadow: 0 4px 0 rgba(29, 66, 70, .1); }
.overview-table.capacity-md { width: 55px; height: 44px; }
.overview-table.capacity-lg { width: 67px; height: 48px; }
.overview-table.capacity-xl { width: 78px; height: 52px; }
.overview-table.capacity-md.is-vertical { width: 44px; height: 55px; }
.overview-table.capacity-lg.is-vertical { width: 48px; height: 67px; }
.overview-table.capacity-xl.is-vertical { width: 52px; height: 78px; }
.overview-table.is-bar-seat { width: 25px; height: 25px; border-radius: 4px; background: #fff8eb; font-size: .42rem; }
.overview-table b { overflow: hidden; max-width: 92%; font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
.overview-table.is-occupied { border-color: #176f7d; background: #176f7d; color: #fffefa; box-shadow: 0 0 0 4px #d7ebeb, 0 4px 0 rgba(18, 80, 88, .18); }
.overview-floor button.overview-table { padding: 0; font: inherit; cursor: pointer; transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s cubic-bezier(.22,1,.36,1); }
.overview-floor button.overview-table:hover { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 5px #cfe6e5, 0 7px 13px rgba(18, 80, 88, .2); }
.overview-floor button.overview-table:focus-visible { outline: 3px solid #d49b3b; outline-offset: 4px; }
.overview-floor-help { margin: 11px 0 0; color: var(--muted); font-size: .72rem; }
.overview-orders { margin-top: 14px; border-top: 1px solid #e0e5e0; }
.overview-order-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 64px; border-bottom: 1px solid #e7eae6; }
.overview-order-row > span { display: grid; min-height: 32px; place-items: center; border-radius: 5px; background: #e1eeeb; color: #28675f; font-size: .62rem; font-weight: 800; }
.overview-order-row strong, .overview-order-row small { display: block; }
.overview-order-row strong { overflow: hidden; color: #244446; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.overview-order-row small { margin-top: 3px; color: var(--muted); font-size: .65rem; }
.overview-order-row > b { font-size: .74rem; font-variant-numeric: tabular-nums; }
.overview-empty { margin: 18px 0 0; color: var(--muted); font-size: .8rem; }
.overview-side { display: grid; gap: 15px; }
.overview-team, .overview-reservations, .overview-checkins { padding: 20px; }
.overview-team .panel-heading, .overview-reservations .panel-heading, .overview-checkins .panel-heading { align-items: center; }
.overview-team-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 11px 0; border-top: 1px solid #e4e8e3; }
.overview-team-row > span, .overview-checkin-list article > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #e5eee8; color: #28635c; font-size: .58rem; font-weight: 800; }
.overview-team-row strong, .overview-team-row small { display: block; }
.overview-team-row strong { font-size: .76rem; }
.overview-team-row small { color: var(--muted); font-size: .64rem; text-transform: capitalize; }
.overview-team-row i { color: #37775f; font-size: .58rem; font-style: normal; font-weight: 700; }
.overview-reservations .panel-heading strong { color: var(--navy); font: 700 2.15rem/1 var(--display); }
.overview-reservations > p { margin: 18px 0; color: var(--muted); font-size: .78rem; }
.overview-checkins { margin-top: 15px; }
.overview-checkins .panel-heading > div { display: flex; align-items: center; gap: 12px; }
.overview-checkins .panel-heading .dash-label { margin: 0; }
.overview-checkins .panel-heading > span { color: var(--navy); font-size: .72rem; font-weight: 700; }
.overview-checkin-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 13px; border-top: 1px solid #e2e7e2; }
.overview-checkin-list article { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 9px; padding: 15px 16px 4px 0; }
.overview-checkin-list article + article { padding-left: 16px; border-left: 1px solid #e2e7e2; }
.overview-checkin-list article > div strong, .overview-checkin-list article > div small { display: block; }
.overview-checkin-list article > div strong { overflow: hidden; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.overview-checkin-list article > div small { color: var(--muted); font-size: .62rem; text-transform: capitalize; }
.overview-checkin-list time, .overview-checkin-list article > b { grid-column: 2; font-size: .63rem; }
.overview-checkin-list time { color: var(--navy); font-weight: 700; }
.overview-checkin-list article > b { color: #37775f; }
.settings-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.settings-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid #ced8d2; border-radius: 9px; background: #e5ebe7; }
.settings-tab { min-height: 44px; border: 0; border-radius: 6px; background: transparent; color: #526b6c; padding: 0 18px; font-size: .74rem; font-weight: 700; cursor: pointer; }
.settings-tab.active { background: #fffefa; color: var(--navy); box-shadow: 0 2px 7px rgba(20, 55, 58, .09); }
.settings-tab:hover:not(.active) { background: #eef3ef; }
.settings-tab:focus-visible { outline: 3px solid #d6a947; outline-offset: 2px; }
.settings-view[hidden] { display: none; }
.settings-view .dash-section-head { margin-bottom: 24px; }
.settings-view .dash-section-head h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }

.overview-table-dialog { width: min(92vw, 650px); max-height: min(86dvh, 760px); padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: #fffefa; color: var(--ink); box-shadow: 0 26px 80px rgba(7, 31, 45, .3); }
.overview-table-dialog::backdrop { background: rgba(5, 26, 40, .62); }
.overview-table-sheet { max-height: min(86dvh, 760px); overflow-y: auto; }
.overview-table-sheet > header { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 25px 28px 19px; border-bottom: 1px solid #dfe5df; }
.overview-table-sheet > header .eyebrow { margin-bottom: 6px; }
.overview-table-sheet > header h2 { margin: 0; color: var(--navy); font: 700 2.15rem/1 var(--display); }
.overview-table-sheet > header p:last-child { margin: 8px 0 0; color: var(--muted); font-size: .76rem; }
.overview-dialog-close { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; border: 1px solid #d3dcd6; border-radius: 50%; background: #f2f5f1; color: #38585a; padding: 0; font-size: 1.55rem; cursor: pointer; }
.overview-dialog-close:hover { border-color: #8ea9a6; background: #e6efea; }
.overview-dialog-close:focus-visible { outline: 3px solid #d49b3b; outline-offset: 3px; }
.overview-tab-facts { display: grid; grid-template-columns: 1.35fr .55fr .65fr; background: #edf3ef; padding: 15px 28px; }
.overview-tab-facts div + div { padding-left: 16px; border-left: 1px solid #d2ddd5; }
.overview-tab-facts span, .overview-tab-facts strong { display: block; }
.overview-tab-facts span { color: #687c79; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.overview-tab-facts strong { margin-top: 4px; color: #214549; font-size: .78rem; }
.overview-tab-items { padding: 9px 28px 0; }
.overview-tab-items-head, .overview-tab-items article { display: grid; grid-template-columns: minmax(0, 1fr) 48px 100px; gap: 12px; align-items: center; }
.overview-tab-items-head { padding: 10px 0 8px; color: #71817e; font-size: .59rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.overview-tab-items-head span:nth-child(2), .overview-tab-items-head span:last-child { text-align: right; }
.overview-tab-items article { min-height: 61px; border-top: 1px solid #e3e7e2; }
.overview-tab-items article strong, .overview-tab-items article small { display: block; }
.overview-tab-items article strong { color: #203f43; font-size: .82rem; }
.overview-tab-items article small { margin-top: 3px; color: var(--muted); font-size: .66rem; }
.overview-tab-items article > span, .overview-tab-items article > b { text-align: right; font-size: .76rem; font-variant-numeric: tabular-nums; }
.overview-tab-totals { margin-top: 9px; padding: 15px 28px 24px; border-top: 1px solid #dce2dc; }
.overview-tab-totals > div { display: flex; justify-content: space-between; gap: 18px; max-width: 310px; margin: 0 0 0 auto; padding: 5px 0; color: var(--muted); font-size: .76rem; }
.overview-tab-totals b { color: #37595a; font-variant-numeric: tabular-nums; }
.overview-tab-totals .overview-tab-total { margin-top: 7px; padding-top: 11px; border-top: 1px dashed #bcc9c1; color: var(--navy); font-size: .93rem; font-weight: 700; }
.overview-tab-total strong { color: var(--navy); font: 700 1.35rem/1 var(--display); font-variant-numeric: tabular-nums; }

@media (max-width: 1050px) {
  .overview-layout { grid-template-columns: minmax(0, 1.35fr) minmax(245px, .65fr); }
  .overview-checkin-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-checkin-list article:nth-child(3) { border-left: 0; }
}

@media (max-width: 900px) {
  .overview-lead, .settings-heading { align-items: stretch; flex-direction: column; }
  .shift-sales { text-align: left; }
  .overview-layout { grid-template-columns: 1fr; }
  .overview-floor { min-height: 350px; }
  .settings-tabs { width: 100%; }
  .settings-tab { flex: 1; }
}

@media (max-width: 640px) {
  .dashboard-nav { position: fixed; inset: auto 0 0; height: 72px; min-height: 72px; overflow: visible; }
  .dashboard-nav .dash-logo { display: none; }
  .dashboard-nav nav { flex: 1 1 auto; gap: 2px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .dashboard-nav nav::-webkit-scrollbar { display: none; }
  .dashboard-nav .dash-tab { flex: 0 0 auto; min-width: max-content; min-height: 48px; padding: 8px 10px; font-size: .61rem; }
  .dashboard-nav .dash-exit { flex: 0 0 55px; width: 55px; min-height: 48px; overflow: hidden; border-left: 1px solid rgba(255,255,255,.2); padding: 6px; font-size: 0; text-align: center; }
  .dashboard-nav .dash-exit::after { content: '← Site'; font-size: .62rem; font-weight: 700; }
  .dash-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; margin-bottom: 28px; }
  .dash-header .weather { display: none; }
  .dash-header .profile { grid-column: 2; grid-row: 1; }
  .overview-lead { gap: 20px; margin-bottom: 16px; padding-bottom: 18px; }
  .overview-lead h2, .settings-heading h2 { font-size: 2.35rem; }
  .shift-sales strong { font-size: 2.3rem; }
  .overview-service, .overview-team, .overview-reservations, .overview-checkins { padding: 15px; }
  .overview-floor { min-height: 330px; }
  .overview-order-row { grid-template-columns: 38px minmax(0, 1fr); }
  .overview-order-row > b { grid-column: 2; }
  .overview-checkin-list { grid-template-columns: 1fr; }
  .overview-checkin-list article + article { padding-left: 0; border-left: 0; }
  .settings-heading { gap: 18px; margin-bottom: 20px; }
  .settings-tab { padding: 0 12px; }
  .overview-table-dialog { width: 100%; max-width: none; max-height: 88dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .overview-table-sheet { max-height: 88dvh; }
  .overview-table-sheet > header { padding: 20px 18px 15px; }
  .overview-tab-facts { grid-template-columns: 1fr 1fr; gap: 12px 0; padding: 14px 18px; }
  .overview-tab-facts div + div { padding-left: 12px; }
  .overview-tab-facts div:nth-child(3) { grid-column: 1 / -1; padding: 10px 0 0; border-top: 1px solid #d2ddd5; border-left: 0; }
  .overview-tab-items { padding: 8px 18px 0; }
  .overview-tab-items-head, .overview-tab-items article { grid-template-columns: minmax(0, 1fr) 38px 82px; gap: 8px; }
  .overview-tab-totals { padding: 14px 18px 24px; }
}
