.aw-shell { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 0 40px; color: #242c28; font-family: Arial, sans-serif; letter-spacing: 0; }
.aw-shell *, .aw-shell *::before, .aw-shell *::after { box-sizing: border-box; letter-spacing: 0; }
.aw-shell [hidden] { display: none !important; }
.aw-shell .aw-hero { width: 100%; margin: 0; border: 0; border-radius: 0; }
.aw-shell .aw-logout { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #d7dfd8; background: white; color: #263c2e; border-radius: 5px; z-index: 3; }
.aw-shell .hero-brand { max-width: 100%; padding-inline: 16px; }
.aw-shell .hero-brand p { color: #e8c974; }
.aw-shell .hero-brand h1 { color: #fff; font-size: 64px; white-space: nowrap; }
.aw-shell .aw-body { padding: 24px; }
.aw-shell h2, .aw-shell h3 { margin: 0; color: #242c28; font-family: Georgia, serif; font-weight: 500; }
.aw-shell h2 { font-size: 27px; line-height: 1.25; }
.aw-shell h3 { font-size: 20px; line-height: 1.35; }
.aw-shell p { line-height: 1.5; }
.aw-shell button, .aw-shell input, .aw-shell select, .aw-shell textarea { font: inherit; }
.aw-shell button, .aw-shell a { touch-action: manipulation; }
.aw-shell button { cursor: pointer; }
.aw-shell button:disabled { opacity: .55; cursor: default; }
.aw-shell svg { flex: 0 0 20px; width: 20px; height: 20px; }
.aw-shell a { color: inherit; text-decoration: none; }
.aw-shell :focus-visible { outline: 3px solid #1577ba; outline-offset: 3px; }
.aw-toolbar, .aw-section-head, .aw-actions, .aw-group-head, .aw-restaurant-heading, .aw-workspace-title { display: flex; align-items: center; gap: 12px; justify-content: space-between; min-width: 0; }
.aw-toolbar { margin-bottom: 24px; }
.aw-shell .aw-search { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #cdd4cf; border-radius: 6px; padding: 0 14px; flex: 1 1 300px; min-width: 250px; height: 50px; }
.aw-shell .aw-search input { width: 100%; min-width: 0; background: transparent; border: 0; padding: 12px 0; font-size: 16px; height: 48px; color: #242c28; text-overflow: clip; }
.aw-search input::placeholder { color: #66716a; opacity: 1; }
.aw-shell .aw-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 11px 14px; min-height: 44px; border: 1px solid #cdd4cf; border-radius: 5px; background: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; color: #29362e; text-align: center; white-space: normal; overflow-wrap: normal; word-break: normal; }
.aw-shell .aw-button:hover:not(:disabled) { background: #f0f5f2; border-color: #7f9687; }
.aw-shell .aw-primary { color: white; background: #197044; border-color: #197044; }
.aw-shell .aw-primary:hover:not(:disabled) { background: #115b35; }
.aw-shell .aw-saved { background: #0d6334; box-shadow: 0 0 0 3px #c3e3d0; }
.aw-actions { justify-content: flex-start; flex-wrap: wrap; }
.aw-section { padding: 24px 0; border-bottom: 1px solid #d7ddd8; }
.aw-section > h2, .aw-section-head { margin-bottom: 22px; }
.aw-section-head { flex-wrap: wrap; }
.aw-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.aw-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 14px; font-weight: 600; }
.aw-field > span:first-child { color: #435248; }
.aw-shell .aw-field input, .aw-shell .aw-field select, .aw-shell .aw-field textarea { border: 1px solid #cdd4cf; border-radius: 5px; padding: 11px 12px; background: white; color: #202b24; min-width: 0; width: 100%; font-size: 16px; font-weight: 400; line-height: 1.4; min-height: 46px; }
.aw-shell .aw-field textarea { resize: vertical; }
.aw-span { grid-column: 1 / -1; }
.aw-shell .aw-toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; min-height: 42px; color: #273c2e; }
.aw-shell input[type="checkbox"] { width: 19px; height: 19px; flex: 0 0 19px; accent-color: #197044; }
.aw-toggles { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.aw-language-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px 16px; }
.aw-save-row { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; margin-top: 12px; background: #fbfaf7; border-top: 1px solid #d6ded9; z-index: 2; }
.aw-form-status { font-size: 13px; color: #197044; margin: 0; }
.aw-shell [data-form="report-settings"] .aw-save-row,
.aw-shell [data-form="create"] .aw-save-row,
.aw-shell [data-form="category"] .aw-save-row { position: static; }
.aw-shell .aw-error { color: #b22035; }
.aw-message { padding: 12px 16px; border-left: 3px solid #277546; background: #ecf6ee; font-size: 14px; }
.aw-message.aw-error { background: #fff0f2; border-color: #b22035; }
.aw-table-count { max-width: 210px; }
.aw-shell .aw-stepper { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; border: 1px solid #cdd4cf; border-radius: 5px; background: white; overflow: hidden; }
.aw-shell .aw-stepper input { border: 0; text-align: center; padding: 8px 0; font-variant-numeric: tabular-nums; appearance: textfield; }
.aw-stepper input::-webkit-inner-spin-button { appearance: none; }
.aw-stepper button { border: 0; background: transparent; display: grid; place-items: center; }
.aw-restaurant { background: #fff; border: 1px solid #d4dbd5; border-radius: 7px; padding: 24px; margin-bottom: 18px; }
.aw-restaurant-heading { align-items: flex-start; }
.aw-state { padding: 5px 9px; border-radius: 4px; color: #17613b; background: #edf5ef; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.aw-inactive { color: #825616; background: #fff2d5; }
.aw-contacts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 24px; margin: 22px 0; font-size: 14px; line-height: 1.55; }
.aw-contacts > div { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 10px; }
.aw-contacts dt { color: #667268; }
.aw-contacts dd { margin: 0; overflow-wrap: anywhere; }
.aw-restaurant-actions { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid #e3e8e3; padding-top: 18px; }
.aw-preview, .aw-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; min-height: 44px; }
.aw-preview { margin-left: auto; }
.aw-workspace-title { flex-wrap: wrap; margin-bottom: 20px; }
.aw-workspace-title h2 { flex: 1 1 250px; font-size: 26px; }
.aw-back { color: #5c6a60; }
.aw-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid #cfd8d1; gap: 6px; }
.aw-tabs a { display: flex; justify-content: center; align-items: center; padding: 14px 6px; font-size: 15px; border-bottom: 3px solid transparent; text-align: center; }
.aw-tabs a[aria-current] { border-color: #b18a3f; color: #795d29; font-weight: 700; }
.aw-empty { color: #69766d; padding: 16px 0; font-size: 14px; }
.aw-menu-filter { align-items: flex-end; }
.aw-menu-filter .aw-field { flex: 1 1 230px; }
.aw-menu-group { border-top: 1px solid #d6dfd7; padding: 20px 0; }
.aw-group-head { flex-wrap: wrap; margin-bottom: 8px; }
.aw-group-head h3 small { display: block; font-family: Arial,sans-serif; font-size: 12px; color: #937033; }
.aw-menu-item { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid #e6ebe6; }
.aw-menu-item > div { min-width: 0; }
.aw-menu-item strong { font-size: 16px; }
.aw-menu-item p { color: #657066; font-size: 14px; margin: 5px 0 0; overflow-wrap: anywhere; }
.aw-menu-item small { color: #997229; font-size: 12px; }
.aw-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.aw-details { margin-top: 24px; border-top: 1px solid #d7dfd8; border-bottom: 1px solid #d7dfd8; padding-bottom: 16px; }
.aw-details > summary { cursor: pointer; padding: 16px 2px; font-weight: 600; font-size: 15px; }
.aw-details > summary span { font-size: 13px; margin-left: 12px; color: #718077; }
.aw-details .aw-form-grid { margin-top: 16px; }
.aw-note { font-size: 13px; color: #69736b; }
.aw-modifier { padding: 20px 0; border-bottom: 1px solid #d7dfd8; margin-bottom: 12px; }
.aw-modifier-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; align-items: end; }
.aw-option { display: grid; grid-template-columns: minmax(0,1fr) 130px auto; gap: 12px; align-items: end; margin: 14px 0; }
.aw-hours { max-width: 850px; }
.aw-hours-head, .aw-hours-row { display: grid; grid-template-columns: minmax(110px,1.3fr) repeat(3,minmax(0,1fr)); gap: 12px; align-items: center; }
.aw-hours-head { color: #6b786f; font-size: 12px; padding-bottom: 12px; }
.aw-hours-row { border-top: 1px solid #e0e6e0; padding: 12px 0; }
.aw-hours-row label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.aw-hours-row small { display: block; font-size: 11px; color: #788279; padding-top: 3px; }
.aw-hours-row input[type="time"] { width: 100%; min-width: 0; padding: 10px 4px; border: 1px solid #ccd5cd; border-radius: 4px; background: white; color: #27372c; font-size: 14px; }
.aw-access { border-bottom: 1px solid #d7dfd8; padding-bottom: 20px; }
.aw-access h3 { margin: 12px 0; }
.aw-access code { display: block; padding: 15px 0; }
.aw-access .aw-actions { margin-bottom: 14px; }
.aw-shell code { overflow-wrap: anywhere; white-space: normal; min-width: 0; font-size: 13px; line-height: 1.65; }
.aw-nfc-row { display: grid; grid-template-columns: 80px minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 15px 0; border-bottom: 1px solid #e0e6e1; }
.aw-nfc-row strong { font-size: 14px; }
.aw-confirm { margin: 14px 0; padding: 18px; border: 1px solid #e0ba74; background: #fff8e9; border-radius: 5px; }
.aw-confirm p { font-size: 14px; }
.aw-confirm .aw-button { margin: 6px 8px 0 0; }
.aw-report-recipient { margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.aw-report-recipient strong { overflow-wrap: anywhere; }
.aw-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 30px 0 14px; border-top: 1px solid #d7dfd8; }
.aw-metrics > div { min-width: 0; border-bottom: 1px solid #d7dfd8; padding: 20px 14px 20px 0; }
.aw-metrics dt { font-size: 13px; color: #6b786e; margin-bottom: 10px; }
.aw-metrics dd { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
[data-report-content] h3 { margin: 28px 0 15px; }
.aw-report-rows > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; padding: 14px 0; border-bottom: 1px solid #dce3dd; font-size: 14px; line-height: 1.5; }
.aw-report-rows strong { text-align: right; }
.aw-report-rows small { display: block; color: #748078; }
.aw-feedbacks article { padding: 18px 0; border-bottom: 1px solid #dce3dd; }
.aw-feedbacks article > div { display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap; font-size: 13px; color: #748078; }
.aw-feedbacks article strong { color: #9b742c; }
.aw-feedbacks p { font-size: 14px; margin-bottom: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media(max-width: 700px) {
  .aw-shell .aw-body { padding: 18px 16px; }
  .aw-shell .hero-brand h1 { font-size: 34px; }
  .aw-toolbar { flex-wrap: wrap; }
  .aw-shell .aw-search { flex-basis: 100%; min-width: 0; width: 100%; }
  .aw-toolbar > .aw-button { width: 100%; }
  .aw-contacts { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .aw-restaurant { padding: 18px; }
  .aw-restaurant h2 { font-size: 24px; }
  .aw-restaurant-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .aw-preview { margin-left: 0; }
  .aw-workspace-title h2 { order: 3; flex-basis: 100%; }
  .aw-workspace-title > .aw-preview { margin-left: auto; }
  .aw-tabs { gap: 0; }
  .aw-tabs a { font-size: 13px; padding-inline: 3px; }
  .aw-form-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .aw-language-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .aw-menu-item { grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
  .aw-menu-item > .aw-button { grid-column: 1 / -1; justify-self: start; }
  .aw-option { grid-template-columns: minmax(0,1fr) 110px; }
  .aw-option > button { grid-column: 1 / -1; justify-self: start; }
  .aw-nfc-row { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .aw-nfc-row code { grid-column: 1 / -1; grid-row: 2; }
  .aw-nfc-row .aw-button { grid-column: 2; grid-row: 1; }
  .aw-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .aw-metrics dd { font-size: 23px; }
  .aw-report-rows > div { grid-template-columns: minmax(0,1fr) minmax(85px,.65fr); }
  .aw-hours-head, .aw-hours-row { gap: 6px; grid-template-columns: 98px repeat(3,minmax(0,1fr)); }
  .aw-hours-row input[type="time"] { padding: 10px 1px; font-size: 12px; }
  .aw-hours-row input::-webkit-calendar-picker-indicator { display: none; }
  .aw-hours-row label { font-size: 12px; gap: 5px; }
  .aw-hours-row input[type="checkbox"] { width: 16px; height: 16px; flex-basis: 16px; }
}
@media(max-width: 360px) {
  .aw-restaurant-actions { grid-template-columns: minmax(0,1fr); }
  .aw-shell .aw-body { padding-inline: 12px; }
  .aw-shell .hero-brand h1 { font-size: 29px; }
  .aw-hours-head, .aw-hours-row { grid-template-columns: 89px repeat(3,minmax(0,1fr)); gap: 4px; }
  .aw-modifier-head { grid-template-columns: minmax(0,1fr); }
}
/* Restaurant-scoped advisor budget; values remain legible on narrow screens. */
.aw-advisor-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 16px; }
.aw-advisor-values div { min-width: 0; }
.aw-advisor-values dt { font-size: 14px; line-height: 1.45; color: #52625a; overflow-wrap: anywhere; }
.aw-advisor-values dd { margin: 6px 0 0; font: 700 20px/1.4 system-ui, sans-serif; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: #173d2b; }
.aw-advisor-progress { display: block; width: 100%; height: 10px; accent-color: #16844f; }
.aw-advisor-mode { font-weight: 700; color: #175437; }
.aw-advisor-history { overflow-x: auto; }
.aw-advisor-history table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.aw-advisor-history th, .aw-advisor-history td { text-align: right; border-bottom: 1px solid #ddd; padding: 12px 8px; }
.aw-advisor-history th:first-child { text-align: left; }
@media (max-width: 640px) { .aw-advisor-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
