/* Nomuvo product surfaces. Site header/footer, public information pages and account menus live in shell.css. */

/* Local palette keeps the brand artwork intact and gives dense product screens a calmer base. */
:where(.os-shell, .auth-shell, .search-panel, .restaurant-card, .profile-layout, .booking-layout, .account-main, .modal) {
  --ink: #202d27;
  --muted: #627168;
  --surface-2: #f3f6f2;
  --stone-200: #dfe6df;
  --stone-300: #b8c4bb;
  --shadow-xs: 0 2px 5px rgb(23 63 53 / 3%);
  --shadow-sm: 0 8px 28px rgb(23 63 53 / 7%);
  color: var(--ink);
}

:where(.search-panel, .restaurant-card, .profile-layout, .booking-layout, .account-main, .auth-shell, .os-main, .modal) .btn {
  font-weight: 650;
  letter-spacing: -.01em;
  border-radius: 12px;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
:where(.restaurant-card, .profile-layout, .booking-layout, .account-main, .os-main, .modal) .btn-sm {
  min-height: 40px;
  font-size: 13px;
}
:where(.search-panel, .restaurant-card, .profile-layout, .booking-layout, .account-main, .auth-shell, .os-main, .modal) .btn-secondary:hover:not(:disabled) {
  background: #f2f7f0;
  border-color: #769083;
}
:where(.search-panel, .restaurant-card, .profile-layout, .booking-layout, .account-main, .auth-shell, .os-main, .modal) :is(.btn, .control):focus-visible {
  outline: 2px solid #173f35;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgb(217 244 127 / 55%);
}
:where(.search-panel, .profile-layout, .booking-layout, .account-main, .auth-shell, .os-main, .modal) .field {
  gap: 8px;
}
:where(.search-panel, .profile-layout, .booking-layout, .account-main, .auth-shell, .os-main, .modal) .field label {
  color: #44584d;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
:where(.search-panel, .profile-layout, .booking-layout, .account-main, .auth-shell, .os-main, .modal) .control {
  border-color: #9aa99f;
  border-radius: 11px;
  background: #fff;
  font-weight: 450;
  line-height: 1.4;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
:where(.search-panel, .profile-layout, .booking-layout, .account-main, .auth-shell, .os-main, .modal) .control::placeholder {
  color: #738078;
  opacity: 1;
}
:where(.search-panel, .profile-layout, .booking-layout, .account-main, .auth-shell, .os-main, .modal) .control:disabled {
  background: #edf1ed;
  color: #6b776f;
  cursor: not-allowed;
}
:where(.search-panel, .profile-layout, .booking-layout, .account-main, .auth-shell, .os-main, .modal) .control[aria-invalid="true"] {
  border-color: #b42318;
  background: #fffbfa;
}
:where(.profile-layout, .booking-layout, .account-main, .auth-shell, .os-main, .modal) textarea.control {
  resize: vertical;
}
:where(.profile-layout, .booking-layout, .account-main, .auth-shell, .os-main, .modal) input:is([type="checkbox"], [type="radio"]) {
  accent-color: #173f35;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Discovery: generous imagery, a clear search surface and compact card metadata. */
.hero {
  border-radius: 28px;
  box-shadow: 0 14px 38px rgb(23 63 53 / 12%);
}
.hero-content { padding: 48px 56px 80px; }
.hero h1 {
  font-size: clamp(36px, 4.7vw, 62px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.06;
  text-wrap: balance;
}
.hero p { line-height: 1.6; }
.search-panel {
  padding: 18px;
  gap: 14px;
  border-radius: 20px;
  box-shadow: 0 10px 36px rgb(23 63 53 / 10%);
  align-items: end;
}
.search-panel .btn { min-height: 48px; }
.home-below { margin-top: 48px; }
.section-head h2 { font-weight: 650; line-height: 1.15; font-size: clamp(28px, 3vw, 36px); }
.restaurant-grid { gap: 24px; }
.restaurant-card { border-radius: 22px; box-shadow: 0 2px 7px rgb(23 63 53 / 3%); }
.restaurant-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgb(23 63 53 / 9%); }
.restaurant-photo { height: 250px; }
.restaurant-card .card-content { padding: 20px; }
.restaurant-card .card-row h3 { font-size: 22px; font-weight: 650; line-height: 1.25; }
.restaurant-card .card-content p { margin: 6px 0 18px; font-size: 14px; }
.restaurant-card .card-bottom { padding-top: 16px; border-top: 1px solid #e8ece6; align-items: center; }
.restaurant-card .card-bottom > div { min-width: 0; }
.restaurant-card .card-bottom .meta { margin-top: 4px; font-size: 12px; line-height: 1.45; }
.restaurant-card .card-bottom .btn { flex-shrink: 0; }
.restaurant-card :is(.rating, .price) { font-weight: 650; }
.restaurant-card .rating { white-space: nowrap; font-size: 14px; }
.restaurant-card .pill { font-weight: 600; font-size: 11px; background: #fff; border-color: transparent; }
.restaurant-card .heart-button { width: 44px; height: 44px; background: #fff; }
.feature-item { background: #edf1e8; border: 1px solid #e1e7da; border-radius: 16px; }
.feature-item strong { font-weight: 650; }

/* Booking and restaurant pages: defined headings, consistent surfaces and uncluttered summaries. */
.profile-header h1 { font-size: clamp(34px, 4vw, 46px); font-weight: 650; line-height: 1.12; }
.profile-header p { line-height: 1.6; max-width: 70ch; }
.profile-layout { gap: 24px; }
.profile-main { gap: 20px; }
:is(.profile-layout, .booking-layout, .account-main) .panel,
.booking-card,
.booking-item {
  border-color: #dfe6df;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgb(23 63 53 / 3%);
}
:is(.profile-layout, .booking-layout, .account-main) .panel { padding: 26px; }
:is(.profile-layout, .booking-layout, .account-main) :is(h2, h3) { font-weight: 650; line-height: 1.25; }
.booking-card { padding: 28px; }
.booking-card h1 { font-weight: 650; font-size: clamp(28px, 3vw, 36px); line-height: 1.16; text-wrap: balance; }
.booking-card > p { line-height: 1.6; max-width: 68ch; }
.booking-box { border-top: 3px solid #173f35; }
.booking-box .booking-grid { gap: 14px; }
.booking-box h3 { font-size: 22px; margin-bottom: 20px; }
.reservation-summary, .summary-mini { font-size: 14px; gap: 14px; }
:is(.reservation-summary, .summary-mini) strong { font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.reservation-summary > div, .summary-mini > div { align-items: baseline; }
.progress { gap: 12px; }
.progress-step { font-size: 12px; font-weight: 650; text-transform: none; letter-spacing: 0; }
.progress-line { height: 4px; }
.date-option, .time-option { font-weight: 600; border-radius: 11px; }
.date-option small { font-weight: 450; }
.order-choice-card { background: #fafcf8; border-radius: 16px; padding: 20px; }
.order-choice-card strong { font-size: 18px; font-weight: 650; }
.order-choice-card span { font-size: 14px; font-weight: 450; line-height: 1.55; }
.booking-item { padding: 24px; }
.booking-item-head { align-items: baseline; }
.booking-item h3 { font-size: 21px; font-weight: 650; }
.booking-actions { gap: 10px; }

/* Operating workspaces use quieter chrome, readable metrics and visible row actions. */
.os-shell { background: #f3f6f2; }
.os-main:not(.studio-os) { padding: 32px; }
.os-head { gap: 20px; margin-bottom: 28px; align-items: flex-start; }
.os-head h1 { font-size: clamp(28px, 3vw, 36px); font-weight: 650; line-height: 1.15; }
.os-head p { max-width: 72ch; font-size: 14px; line-height: 1.6; margin-top: 8px; }
.os-head-actions { flex-shrink: 0; }
.sidebar { background: #173d33; padding: 24px 16px; scrollbar-width: thin; scrollbar-color: #759386 transparent; }
.side-brand { padding: 6px 12px 22px; border-bottom-color: rgb(240 248 239 / 16%); }
.side-brand strong { font-weight: 650; font-size: 15px; }
.side-brand span { display: block; margin-top: 5px; line-height: 1.5; color: #bdcec3; }
.side-nav { gap: 6px; margin-top: 22px; }
.side-nav button { min-height: 44px; padding: 12px; font-size: 14px; font-weight: 550; color: #cfddd3; border-radius: 10px; }
.side-nav button.active { background: #d9f47f; color: #173f35; font-weight: 650; }
.side-nav button.active:hover { background: #e4f8a2; color: #173f35; }
.side-nav button:focus-visible { outline: 2px solid #d9f47f; outline-offset: 3px; box-shadow: none; }
.side-nav button.active .side-badge { background: rgb(23 63 53 / 10%); color: #173f35; }
.kpi-grid, .dash-card-grid { gap: 16px; }
.kpi, .dash-card { padding: 21px; border-radius: 16px; border-color: #dce5dc; box-shadow: 0 2px 4px rgb(23 63 53 / 2%); }
.kpi span, .dash-card span { font-weight: 550; font-size: 13px; line-height: 1.45; }
.kpi strong { font-size: 34px; font-weight: 650; letter-spacing: -.035em; line-height: 1.2; margin-top: 10px; font-variant-numeric: tabular-nums; }
.dash-card strong { font-weight: 650; font-size: 28px; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.dash-card-icon { border-radius: 9px; background: #edf3e7; }
.os-grid { gap: 20px; margin-top: 22px; }
.data-card { min-width: 0; max-width: 100%; border-radius: 17px; border-color: #dce5dc; box-shadow: 0 2px 5px rgb(23 63 53 / 2%); overflow-x: auto; }
.data-card-head { padding: 20px; gap: 14px; }
.data-card-head h2 { font-weight: 650; font-size: 19px; letter-spacing: -.015em; }
.data-table { min-width: 680px; font-size: 13px; }
.data-table th { background: #f6f8f4; padding: 13px 16px; font-size: 11px; font-weight: 650; letter-spacing: .035em; color: #5b6c60; white-space: nowrap; }
.data-table td { padding: 16px; border-top-color: #e6ece4; line-height: 1.5; overflow-wrap: anywhere; }
.data-table td strong { font-weight: 650; }
.data-table td small { font-size: 12px; line-height: 1.45; }
.data-table tr:hover td { background: #f8faf6; }
.data-table tr.row-invalid td, .data-table .row-invalid:hover td { background: #fff0ee; }
.table-actions { gap: 6px; }
.table-actions .btn { white-space: nowrap; }
.status { font-size: 11px; font-weight: 650; padding: 6px 10px; white-space: nowrap; }
.os-filter-bar { padding: 16px; gap: 14px; border-radius: 16px; border-color: #dce5dc; box-shadow: none; }
.os-filter-field, .os-sort-field { font-weight: 550; color: #54665a; }
.os-filter-field .control { min-height: 44px; font-size: 14px; }
.os-sort-field .control { min-height: 40px; font-size: 13px; }
.status-stack { padding: 20px; gap: 10px; }
.status-stack > div { padding: 14px; border-radius: 11px; font-size: 13px; }
.status-stack .status-count { font-variant-numeric: tabular-nums; font-weight: 650; }
.os-main :is(.panel, .review-panel, .media-card, .restaurant-menu-card) { border-radius: 17px; border-color: #dce5dc; box-shadow: 0 2px 5px rgb(23 63 53 / 2%); }
.os-main :is(.panel, .review-panel) :is(h2, h3) { font-weight: 650; }
.os-main :is(.staff-row, .category-row, .queue-item) { border-color: #dfe7dd; padding: 16px; }
.staff-row strong, .category-row strong, .queue-item strong { font-weight: 650; }
.review-summary-card { padding: 22px; border-radius: 17px; border-color: #dce5dc; }
.review-summary-card strong { font-weight: 650; }
.review-summary-card span { font-weight: 550; }
.media-tabs button { min-height: 40px; font-weight: 600; }
.file-drop, .upload-zone { border-width: 1px; border-color: #9db39d; background: #f7faf3; }
.property-panel h3 { font-size: 18px; font-weight: 650; }
.property-note { line-height: 1.6; }

/* Authentication and feedback stay useful without overpowering the working page. */
.auth-shell { background: #fbfcf8; }
.auth-card { max-width: 430px; }
.auth-card h1 { font-size: 40px; font-weight: 650; line-height: 1.12; }
.auth-card > p { line-height: 1.6; margin-bottom: 30px; }
.auth-quote h2 { font-weight: 650; line-height: 1.12; text-wrap: balance; }
.auth-form-wrap { padding: clamp(28px, 5vw, 72px); }
:where(.os-main, .profile-layout, .booking-layout, .account-main, .auth-shell, .modal) .notice { padding: 16px 18px; font-size: 14px; line-height: 1.6; border-radius: 13px; }
:where(.os-main, .profile-layout, .booking-layout, .account-main, .auth-shell, .modal) .notice strong { font-weight: 650; }
.loading-panel, .error-panel, .empty-state { padding: 64px 28px; }
:is(.loading-panel, .error-panel, .empty-state) h2 { font-weight: 650; font-size: 26px; line-height: 1.2; }
:is(.loading-panel, .error-panel, .empty-state) p { max-width: 52ch; margin-inline: auto; line-height: 1.65; color: #627168; }
.empty-state.compact { padding: 32px 20px; font-size: 14px; }
.success-wrap h1 { font-weight: 650; font-size: clamp(34px, 4vw, 46px); line-height: 1.1; }
.success-wrap > p { max-width: 52ch; margin-inline: auto; line-height: 1.65; }
.success-icon { width: 72px; height: 72px; border-radius: 24px; font-weight: 650; }
.modal { border: 1px solid #e2e8df; border-radius: 22px; box-shadow: 0 28px 100px rgb(13 43 35 / 24%); }
.modal h2 { font-size: 24px; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; }
.modal p { line-height: 1.6; }
.modal-head { gap: 20px; }

@media (min-width: 861px) {
  .sidebar { top: 88px; height: calc(100vh - 88px); }
}
@media (max-width: 1080px) {
  .os-main:not(.studio-os) { padding: 26px; }
  .os-head { flex-wrap: wrap; }
  .search-panel { margin-inline: 20px; }
  .restaurant-grid { gap: 20px; }
}
@media (max-width: 860px) {
  .hero-content { padding: 38px 42px 70px; }
  .os-shell { display: block; }
  .sidebar { padding: 18px 20px 12px; position: static; height: auto; overflow: hidden; }
  .side-brand { padding: 0; border: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 3px; }
  .side-brand-logo { width: 116px; margin: 0; }
  .side-brand strong { font-size: 14px; }
  .side-brand span { width: 100%; margin-top: 3px; font-size: 12px; }
  .side-nav { display: flex; gap: 6px; overflow-x: auto; margin-top: 16px; padding: 3px 2px 8px; scrollbar-width: thin; scrollbar-color: #779283 transparent; }
  .side-nav button { flex: 0 0 auto; white-space: nowrap; gap: 10px; padding: 10px 13px; }
  .profile-layout, .booking-layout { gap: 20px; }
}
@media (max-width: 660px) {
  .hero { border-radius: 22px; min-height: 290px; }
  .hero-content { padding: 32px 28px 60px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 15px; }
  .search-panel { margin: -24px 8px 0; padding: 18px; gap: 14px; }
  .home-below { margin-top: 36px; }
  .restaurant-grid { gap: 20px; }
  .restaurant-photo { height: 240px; }
  .restaurant-card .card-content { padding: 18px; }
  .restaurant-card .card-row h3 { font-size: 21px; }
  .profile-header { margin: 24px 0; }
  .profile-header h1 { font-size: 34px; }
  :is(.profile-layout, .booking-layout, .account-main) .panel, .booking-card, .booking-item { padding: 20px; border-radius: 17px; }
  .booking-card h1 { font-size: 28px; }
  .progress { gap: 10px; margin-block: 18px 24px; }
  .progress-step { grid-template-columns: 100px minmax(0, 1fr); }
  .booking-item-head { flex-wrap: wrap; gap: 8px; }
  :where(.restaurant-card, .profile-layout, .booking-layout, .account-main, .os-main, .modal) .btn-sm { min-height: 44px; }
  .booking-actions .btn { flex: 1 1 auto; }
  .os-main:not(.studio-os) { padding: 24px 16px 40px; }
  .os-head { gap: 16px; margin-bottom: 22px; }
  .os-head-actions { flex-wrap: wrap; flex-shrink: 1; width: 100%; }
  .kpi-grid, .dash-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi, .dash-card { padding: 16px; border-radius: 14px; }
  .kpi strong { font-size: 28px; }
  .dash-card strong { font-size: 25px; }
  .kpi span, .dash-card span { font-size: 12px; }
  .data-card { border-radius: 14px; }
  .data-card-head { padding: 17px 16px; }
  .data-card-head h2 { font-size: 18px; }
  .data-table { min-width: 720px; }
  .data-table td { padding: 14px; }
  .os-filter-bar { padding: 14px; gap: 12px; }
  .os-filter-field { flex: 1 1 130px; min-width: 0; }
  .os-filter-field.grow { flex-basis: 100%; min-width: 0; }
  .os-filter-bar > .btn { flex: 1 1 auto; }
  .auth-visual { min-height: 280px; }
  .auth-quote h2 { font-size: 29px; }
  .auth-form-wrap { padding: 32px 22px 44px; }
  .auth-card h1 { font-size: 34px; }
  .loading-panel, .error-panel, .empty-state { padding: 44px 22px; }
  .modal h2 { font-size: 22px; }
}
@media (hover: none) {
  .restaurant-card:hover { transform: none; box-shadow: 0 2px 7px rgb(23 63 53 / 3%); }
}
@media (prefers-reduced-motion: reduce) {
  .restaurant-card, .restaurant-card:hover { transition: none; transform: none; }
  :where(.search-panel, .profile-layout, .booking-layout, .account-main, .auth-shell, .os-main, .modal) :is(.btn, .control) { transition: none; }
}
