:root {
  --ink: #1e1915;
  --muted: #665d54;
  --paper: #fffdf8;
  --cream: #f6efe2;
  --line: #e6dac9;
  --green: #2f6f4e;
  --red: #a6402d;
  --gold: #d99b35;
  --shadow: 0 18px 50px rgba(47, 38, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 5vw;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 250px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 24px;
}

.brand strong {
  display: block;
  font-size: 18px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.main-nav a {
  padding: 8px 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--cream);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 42px;
  align-items: center;
  padding: 64px 5vw 48px;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 10px 0 18px;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-text {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.btn.primary {
  color: #fff;
  background: var(--green);
}

.btn.secondary {
  color: var(--green);
  background: #e5f0e8;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
  margin: 0;
}

.quick-info div,
.hours-card,
.location-card,
.today-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.quick-info div {
  padding: 16px;
  border-radius: 8px;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

dd {
  margin: 5px 0 0;
  font-weight: 700;
}

.hero-media {
  position: relative;
}

.hero-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.today-card {
  position: absolute;
  left: -24px;
  bottom: 24px;
  width: min(290px, 82%);
  padding: 18px;
  border-radius: 8px;
}

.today-card span,
.today-card small {
  display: block;
  color: var(--muted);
}

.today-card strong {
  display: block;
  margin: 4px 0;
  font-size: 20px;
}

.section {
  padding: 48px 5vw;
}

.intro-grid,
.menu-grid,
.link-grid {
  display: grid;
  gap: 20px;
}

.intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.intro-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.intro-grid h2,
.intro-grid p {
  margin-left: 18px;
  margin-right: 18px;
}

.intro-grid h2 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 21px;
}

.intro-grid p {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--muted);
}

.menu-preview {
  background: var(--cream);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 5px 0 0;
  font-size: 34px;
}

.section-head a {
  color: var(--green);
  font-weight: 800;
}

.menu-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.menu-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.menu-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.menu-card div {
  padding: 18px;
}

.menu-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.menu-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.menu-card strong {
  color: var(--red);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}

.split h2 {
  margin: 5px 0 12px;
  font-size: 36px;
}

.split p {
  color: var(--muted);
  max-width: 620px;
}

.hours-card {
  max-width: 580px;
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.hours-card div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.hours-card div:last-child {
  border-bottom: 0;
}

.hours-card span {
  color: var(--muted);
}

.location-card {
  overflow: hidden;
  border-radius: 8px;
}

.location-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.location-card h3,
.location-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.location-card h3 {
  margin-top: 18px;
  margin-bottom: 8px;
}

.location-card p {
  margin-top: 0;
  color: var(--muted);
}

.link-panel {
  background: #fff;
}

.link-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.link-grid a {
  padding: 18px;
  min-height: 76px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

.link-grid a:hover {
  border-color: var(--green);
  color: var(--green);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw;
  color: #f8efe2;
  background: #211b15;
}

.site-footer p {
  margin: 5px 0 0;
  color: #cabca9;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.business-login-link {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.business-login-link:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.public-link-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
  padding: 54px clamp(20px, 6vw, 76px);
  background: #f7f1e7;
}

.contact-hero h1 {
  margin: 10px 0 14px;
  max-width: 760px;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.98;
  color: #18382d;
}

.contact-hero p {
  max-width: 680px;
  color: #4f625b;
  font-size: 1.05rem;
}

.contact-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(20, 40, 32, 0.16);
}

.contact-grid,
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card,
.help-grid article,
.contact-form {
  background: #fffaf1;
  border: 1px solid rgba(38, 88, 71, 0.14);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(20, 40, 32, 0.08);
}

.contact-card h2,
.help-grid h3 {
  margin: 10px 0 8px;
  color: #18382d;
}

.contact-card p,
.help-grid p {
  color: #52645e;
}

.compact-hours {
  padding: 0;
  box-shadow: none;
  background: transparent;
}

.help-grid a {
  display: inline-flex;
  margin-top: 10px;
  color: #265847;
  font-weight: 800;
}

.contact-form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #30443c;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(38, 88, 71, 0.22);
  border-radius: 8px;
  padding: 12px 13px;
  color: #18382d;
  background: #ffffff;
  font: inherit;
}

.business-login-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 56, 45, 0.62);
}

.business-login-modal[hidden] {
  display: none;
}

.business-login-card {
  position: relative;
  width: min(420px, 100%);
  border: 1px solid rgba(38, 88, 71, 0.16);
  border-radius: 8px;
  padding: 24px;
  background: #fffaf1;
  box-shadow: 0 28px 70px rgba(20, 40, 32, 0.28);
}

.business-login-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(38, 88, 71, 0.18);
  border-radius: 999px;
  color: #18382d;
  background: #ffffff;
  cursor: pointer;
}

.business-login-card h2 {
  margin: 8px 0 16px;
  color: #18382d;
}

.business-login-card form {
  display: grid;
  gap: 14px;
}

.business-login-card label {
  display: grid;
  gap: 7px;
  color: #30443c;
  font-weight: 800;
}

.business-login-card input,
.business-login-card select {
  width: 100%;
  border: 1px solid rgba(38, 88, 71, 0.22);
  border-radius: 8px;
  padding: 12px 13px;
  color: #18382d;
  background: #ffffff;
  font: inherit;
}

.legal-gate-page {
  background: #f7f1e7;
}

.legal-redirect {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.legal-hero {
  padding: 56px 5vw 34px;
  background: #fffaf1;
  border-bottom: 1px solid rgba(38, 88, 71, 0.12);
}

.legal-hero h1 {
  max-width: 920px;
  margin: 8px 0 12px;
  color: #18382d;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1;
}

.legal-hero p {
  max-width: 780px;
  color: #52645e;
}

.legal-note-warning {
  display: inline-flex;
  border: 1px solid rgba(142, 63, 47, 0.24);
  border-radius: 999px;
  padding: 8px 12px;
  color: #8e3f2f;
  background: #fff0ea;
  font-weight: 900;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: 22px;
  align-items: start;
}

.legal-summary-card,
.legal-terms-card,
.legal-acceptance-panel {
  border: 1px solid rgba(38, 88, 71, 0.14);
  border-radius: 8px;
  background: #fffaf1;
  box-shadow: 0 12px 28px rgba(20, 40, 32, 0.08);
}

.legal-summary-card,
.legal-terms-card {
  padding: 22px;
}

.legal-summary-card {
  position: sticky;
  top: 20px;
}

.legal-summary-card h2,
.legal-terms-card h2,
.legal-acceptance-panel h2 {
  margin: 8px 0 10px;
  color: #18382d;
}

.legal-summary-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: #52645e;
}

.legal-terms-content {
  max-height: 680px;
  overflow: auto;
  padding-right: 8px;
}

.legal-term-section {
  padding: 18px 0;
  border-top: 1px solid rgba(38, 88, 71, 0.12);
}

.legal-term-section h3 {
  margin: 0 0 8px;
  color: #18382d;
}

.legal-term-section p {
  margin: 0;
  color: #52645e;
}

.legal-acceptance-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
}

.legal-acceptance-form {
  display: grid;
  gap: 14px;
}

.legal-acceptance-form label {
  display: grid;
  gap: 7px;
  color: #30443c;
  font-weight: 800;
}

.legal-acceptance-form input[type="text"],
.legal-acceptance-form input[type="email"],
.legal-acceptance-form input[type="tel"],
.legal-acceptance-form input[type="url"] {
  width: 100%;
  border: 1px solid rgba(38, 88, 71, 0.22);
  border-radius: 8px;
  padding: 12px 13px;
  color: #18382d;
  background: #ffffff;
  font: inherit;
}

.legal-checkbox {
  display: flex !important;
  grid-template-columns: none;
  gap: 10px !important;
  align-items: flex-start;
  border: 1px solid rgba(38, 88, 71, 0.12);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.legal-checkbox input {
  margin-top: 3px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.internal-gated-page main {
  display: none;
}

.internal-access-notice {
  min-height: 58vh;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 64px 5vw;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.96), rgba(255, 250, 241, 0.82)),
    url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1400&q=80") center/cover;
}

.internal-access-notice h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  color: #18382d;
}

.internal-access-notice p {
  max-width: 660px;
  margin: 0;
  color: #52645e;
  font-size: 1.05rem;
}

.tax-note {
  margin: 8px 0 0;
  color: #6f5c46;
  font-size: 0.9rem;
}

.order-controls {
  align-items: end;
}

.order-controls label:has(.item-modifiers) {
  min-width: min(220px, 100%);
}

.order-controls .item-modifiers {
  width: 100%;
  border: 1px solid rgba(38, 88, 71, 0.2);
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
}

.cart-row small {
  display: block;
  margin-top: 3px;
  color: #6f5c46;
}

.private-backend-page {
  background: #f7f1e7;
}

.private-hero {
  padding: 56px 5vw 28px;
  background: #fffaf1;
  border-bottom: 1px solid rgba(38, 88, 71, 0.12);
}

.private-hero h1 {
  max-width: 820px;
  margin: 8px 0 12px;
  color: #18382d;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
}

.private-hero p {
  max-width: 720px;
  color: #52645e;
}

.private-dashboard {
  padding: 36px 5vw 64px;
}

.private-session-bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(38, 88, 71, 0.14);
  border-radius: 8px;
  padding: 12px 14px;
  color: #30443c;
  background: #fffaf1;
  box-shadow: 0 8px 18px rgba(20, 40, 32, 0.06);
}

.private-session-bar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.private-session-bar button,
.private-owner-link {
  border: 1px solid rgba(38, 88, 71, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  color: #18382d;
  background: #ffffff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.private-session-bar button:hover,
.private-owner-link:hover {
  border-color: #265847;
}

.access-denied-panel {
  min-height: 58vh;
}

.order-status-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.order-status-column {
  min-height: 240px;
  border: 1px solid rgba(38, 88, 71, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: #fffaf1;
}

.order-status-column h2 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  color: #18382d;
  font-size: 1rem;
}

.order-status-column h2 span {
  color: #8e3f2f;
}

.private-order-card {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(38, 88, 71, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(20, 40, 32, 0.06);
}

.private-order-card > div:first-child,
.private-order-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.private-order-card span,
.private-order-card p,
.private-order-card small {
  color: #52645e;
}

.private-order-card ul {
  margin: 0;
  padding-left: 18px;
}

.private-order-card label,
.tax-settings-form label {
  display: grid;
  gap: 7px;
  color: #30443c;
  font-weight: 800;
}

.private-order-card select,
.tax-settings-form input {
  width: 100%;
  border: 1px solid rgba(38, 88, 71, 0.22);
  border-radius: 8px;
  padding: 10px 12px;
  color: #18382d;
  background: #ffffff;
  font: inherit;
}

.tax-settings-form {
  max-width: 760px;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(38, 88, 71, 0.14);
  border-radius: 8px;
  background: #fffaf1;
  box-shadow: 0 12px 28px rgba(20, 40, 32, 0.08);
}

.menu-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 58px 5vw 36px;
  background: var(--cream);
}

.menu-hero h1 {
  margin: 8px 0 16px;
  font-size: 48px;
  line-height: 1.06;
}

.menu-hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.menu-hero img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.category-nav {
  position: sticky;
  top: 75px;
  z-index: 8;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 5vw;
  background: rgba(255, 253, 248, 0.96);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-nav a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--green);
  background: #e5f0e8;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.menu-category {
  scroll-margin-top: 140px;
}

.product-grid,
.simple-menu,
.market-grid,
.catering-grid {
  display: grid;
  gap: 20px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-body h3,
.market-grid h3,
.catering-grid h3,
.simple-menu h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.product-body p,
.market-grid p,
.catering-grid p,
.simple-menu p {
  margin: 0 0 14px;
  color: var(--muted);
}

.tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-foot strong,
.simple-menu strong,
.market-grid strong,
.catering-grid strong {
  color: var(--red);
  font-size: 17px;
}

.product-foot a,
.catering-grid a {
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.warm-section,
.catering-preview {
  background: var(--cream);
}

.simple-menu {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simple-menu article,
.catering-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
}

.menu-two-col h2,
.catering-preview h2 {
  margin: 6px 0 12px;
  font-size: 34px;
}

.menu-two-col img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.price-list {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.price-list div:last-child {
  border-bottom: 0;
}

.price-list span {
  color: var(--muted);
}

.market-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.market-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.market-grid h3,
.market-grid p,
.market-grid strong {
  margin-left: 16px;
  margin-right: 16px;
}

.market-grid h3 {
  margin-top: 16px;
}

.market-grid strong {
  display: block;
  margin-bottom: 16px;
}

.catering-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.catering-preview p {
  color: var(--muted);
}

.catering-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 58px 5vw 36px;
  background: var(--cream);
}

.order-hero h1 {
  margin: 8px 0 16px;
  font-size: 48px;
  line-height: 1.06;
}

.order-hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.order-hero img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
  padding: 48px 5vw;
}

.order-category {
  margin-bottom: 34px;
}

.order-category > h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.order-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.order-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.order-item img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.order-item > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.order-item h4 {
  margin: 0 0 8px;
  font-size: 19px;
}

.order-item p {
  margin: 0 0 12px;
  color: var(--muted);
}

.order-item strong {
  display: block;
  margin-top: auto;
  color: var(--red);
  font-size: 17px;
}

.order-controls {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
}

.order-controls label,
.pickup-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.order-controls input,
.pickup-form input,
.pickup-form select,
.pickup-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.add-btn,
.place-order-btn {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.add-btn:hover,
.place-order-btn:hover {
  background: #25593e;
}

.cart-panel {
  position: sticky;
  top: 96px;
}

.cart-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
}

.cart-card h2 {
  margin: 6px 0 18px;
  font-size: 28px;
}

.cart-items {
  display: grid;
  gap: 12px;
  min-height: 58px;
}

.empty-cart {
  margin: 0;
  color: var(--muted);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 14px;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cart-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.cart-row button {
  display: block;
  margin-top: 4px;
  border: 0;
  padding: 0;
  color: var(--red);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.totals {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 16px 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.totals span {
  color: var(--muted);
}

.grand-total {
  font-size: 20px;
}

.pickup-form {
  display: grid;
  gap: 14px;
}

.pickup-form h3 {
  margin: 0;
  font-size: 22px;
}

.place-order-btn {
  min-height: 48px;
  margin-top: 4px;
}

.order-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.order-status.success {
  color: var(--green);
}

.order-status.warning {
  color: var(--red);
}

.catering-review-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.catering-review-card[hidden] {
  display: none;
}

.catering-review-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.catering-review-card p {
  margin: 0;
  color: var(--muted);
}

.secondary-catering-submit {
  background: var(--red);
}

.secondary-catering-submit:hover {
  background: #843421;
}


.catering-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 58px 5vw 36px;
  background: var(--cream);
}

.catering-hero h1 {
  margin: 8px 0 16px;
  font-size: 48px;
  line-height: 1.06;
}

.catering-hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.catering-hero img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.catering-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
  padding: 48px 5vw;
}

.catering-section {
  margin-bottom: 36px;
}

.catering-section.warm-section {
  margin-left: -5vw;
  margin-right: -5vw;
  padding: 36px 5vw;
}

.package-grid,
.catering-options-grid {
  display: grid;
  gap: 20px;
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-card,
.catering-options-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.package-card {
  display: flex;
  flex-direction: column;
}

.package-card img,
.catering-options-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.package-card > div,
.catering-options-grid article > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.package-card h3,
.catering-options-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.package-card p,
.catering-options-grid p {
  margin: 0 0 14px;
  color: var(--muted);
}

.package-card strong,
.catering-options-grid strong {
  display: block;
  margin-top: auto;
  color: var(--red);
  font-size: 17px;
}

.select-package-btn {
  min-height: 42px;
  margin-top: 16px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.select-package-btn:hover {
  background: #25593e;
}

.catering-options-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catering-request-panel {
  position: sticky;
  top: 96px;
}

.catering-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.catering-form h2 {
  margin: 6px 0 4px;
  font-size: 28px;
}

.catering-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.catering-form input,
.catering-form select,
.catering-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.catering-form textarea {
  resize: vertical;
}

.catering-form fieldset {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.catering-form legend {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.catering-form fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.catering-form fieldset input {
  width: auto;
  min-height: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.estimate-card {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.estimate-card div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.estimate-card span {
  color: var(--muted);
}

.inventory-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 58px 5vw 36px;
  background: var(--cream);
}

.inventory-hero h1 {
  margin: 8px 0 16px;
  font-size: 48px;
  line-height: 1.06;
}

.inventory-hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.inventory-hero img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.inventory-dashboard {
  padding: 48px 5vw;
}

.summary-grid,
.alert-grid,
.supplier-strip {
  display: grid;
  gap: 18px;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 34px;
}

.summary-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-grid strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 34px;
  line-height: 1;
}

.summary-grid p {
  margin: 0;
  color: var(--muted);
}

.summary-warning {
  border-color: #e0b478 !important;
  background: #fff7e8 !important;
}

.inventory-alerts {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 42px;
  padding: 26px;
  border-radius: 8px;
  background: var(--cream);
}

.inventory-alerts h2 {
  margin: 6px 0 0;
  font-size: 30px;
}

.alert-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.alert-grid article {
  padding: 18px;
  border: 1px solid #e0b478;
  border-radius: 8px;
  background: #fff;
}

.alert-grid strong,
.alert-grid span {
  display: block;
}

.alert-grid span {
  margin-top: 4px;
  color: var(--red);
  font-weight: 800;
}

.alert-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.inventory-section {
  margin-bottom: 34px;
}

.inventory-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.inventory-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.inventory-table th,
.inventory-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.inventory-table thead th {
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.inventory-table tbody tr:last-child th,
.inventory-table tbody tr:last-child td {
  border-bottom: 0;
}

.inventory-table tbody th {
  font-size: 15px;
}

.inventory-table tbody td {
  color: var(--muted);
}

.inventory-table tbody tr.is-low {
  background: #fff7e8;
}

.inventory-table tbody tr.is-expiring {
  background: #fffdf0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.good {
  color: var(--green);
  background: #e5f0e8;
}

.status-pill.warning {
  color: #7a510f;
  background: #f8e5ba;
}

.status-pill.danger {
  color: var(--red);
  background: #f6ddd5;
}

.reorder-btn {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.reorder-btn:hover {
  background: #25593e;
}

.secondary-action {
  color: var(--green);
  background: #e5f0e8;
}

.secondary-action:hover {
  color: #fff;
}

.supplier-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.supplier-strip article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.supplier-strip strong,
.supplier-strip span {
  display: block;
}

.supplier-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.staff-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 58px 5vw 36px;
  background: var(--cream);
}

.staff-hero h1 {
  margin: 8px 0 16px;
  font-size: 48px;
  line-height: 1.06;
}

.staff-hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.staff-hero img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.staff-dashboard {
  padding: 48px 5vw;
}

.staff-summary-grid,
.coverage-grid,
.staff-lower-grid,
.contact-list {
  display: grid;
  gap: 18px;
}

.staff-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 34px;
}

.staff-summary-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.staff-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.staff-summary-grid strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 30px;
  line-height: 1;
}

.staff-summary-grid p {
  margin: 0;
  color: var(--muted);
}

.coverage-panel {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 42px;
  padding: 26px;
  border-radius: 8px;
  background: var(--cream);
}

.coverage-panel h2 {
  margin: 6px 0 0;
  font-size: 30px;
}

.coverage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coverage-grid article {
  padding: 18px;
  border: 1px solid #e0b478;
  border-radius: 8px;
  background: #fff;
}

.coverage-grid strong,
.coverage-grid span {
  display: block;
}

.coverage-grid span {
  margin-top: 4px;
  color: var(--red);
  font-weight: 800;
}

.coverage-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.schedule-section {
  margin-bottom: 34px;
}

.schedule-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.schedule-table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.schedule-table thead th {
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.schedule-table tbody tr:last-child th,
.schedule-table tbody tr:last-child td {
  border-bottom: 0;
}

.schedule-table tbody th {
  font-size: 15px;
}

.schedule-table tbody td {
  color: var(--muted);
}

.role-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.role-pill.manager {
  color: #fff;
  background: var(--green);
}

.role-pill.kitchen {
  color: #7a510f;
  background: #f8e5ba;
}

.role-pill.counter {
  color: var(--red);
  background: #f6ddd5;
}

.role-pill.cashier {
  color: #2b5672;
  background: #dcecf4;
}

.role-pill.prep {
  color: #4f5d24;
  background: #e7edcc;
}

.role-pill.closing {
  color: #4e3c69;
  background: #e6def1;
}

.coverage-warning-cell {
  color: var(--red) !important;
  background: #fff7e8;
  font-weight: 800;
}

.staff-lower-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: start;
}

.timeoff-panel,
.contact-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.timeoff-panel h2,
.contact-panel h2 {
  margin: 6px 0 18px;
  font-size: 28px;
}

.timeoff-panel article {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.timeoff-panel article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeoff-panel strong,
.timeoff-panel span,
.contact-list strong,
.contact-list span,
.contact-list a {
  display: block;
}

.timeoff-panel span {
  margin-top: 4px;
  color: var(--red);
  font-weight: 800;
}

.timeoff-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.contact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.contact-list span {
  margin: 4px 0;
  color: var(--muted);
}

.contact-list a {
  color: var(--green);
  font-weight: 800;
}

.crm-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 58px 5vw 36px;
  background: var(--cream);
}

.crm-hero h1 {
  margin: 8px 0 16px;
  font-size: 48px;
  line-height: 1.06;
}

.crm-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.crm-hero img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.crm-dashboard {
  padding: 48px 5vw;
}

.crm-summary-grid,
.crm-workspace,
.crm-lower-grid,
.response-tracker {
  display: grid;
  gap: 18px;
}

.crm-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 34px;
}

.crm-summary-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.crm-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.crm-summary-grid strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 30px;
  line-height: 1;
}

.crm-summary-grid p {
  margin: 0;
  color: var(--muted);
}

.crm-workspace {
  grid-template-columns: 320px minmax(0, 1fr) 300px;
  align-items: start;
  margin-bottom: 34px;
}

.message-queue,
.conversation-panel,
.profile-panel,
.lead-table-panel,
.reminder-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.message-queue,
.profile-panel,
.conversation-panel,
.lead-table-panel,
.reminder-panel {
  padding: 22px;
}

.queue-head,
.message-topline,
.conversation-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.queue-head h2,
.conversation-header h2,
.profile-panel h2,
.reminder-panel h2 {
  margin: 6px 0 0;
  font-size: 26px;
}

.unread-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.message-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.message-card.is-active {
  border-color: var(--green);
  background: #eef6f0;
}

.message-card p {
  margin: 8px 0;
  color: var(--muted);
}

.message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.priority-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.priority-tag.high {
  color: #fff;
  background: var(--red);
}

.priority-tag.issue {
  color: #7a510f;
  background: #f8e5ba;
}

.priority-tag.lead {
  color: var(--green);
  background: #e5f0e8;
}

.priority-tag.normal {
  color: #2b5672;
  background: #dcecf4;
}

.conversation-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.conversation-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.conversation-thread {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.chat-bubble {
  max-width: 78%;
  padding: 14px 16px;
  border-radius: 8px;
}

.chat-bubble span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chat-bubble p {
  margin: 0;
}

.chat-bubble.customer {
  background: var(--cream);
}

.chat-bubble.staff {
  justify-self: end;
  color: #fff;
  background: var(--green);
}

.response-tracker {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.response-tracker article,
.profile-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.response-tracker span,
.profile-card strong,
.profile-card span,
.profile-card a {
  display: block;
}

.response-tracker span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.response-tracker strong {
  display: block;
  margin-top: 6px;
}

.profile-card {
  margin-top: 14px;
}

.profile-card span {
  margin-top: 5px;
  color: var(--muted);
}

.profile-card a {
  margin-top: 5px;
  color: var(--green);
  font-weight: 800;
}

.crm-lower-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.lead-table-panel {
  overflow: hidden;
}

.lead-table-wrap {
  overflow-x: auto;
  margin: 0 -22px -22px;
}

.lead-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.lead-table th,
.lead-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.lead-table thead th {
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lead-table tbody th {
  font-size: 15px;
}

.lead-table tbody td {
  color: var(--muted);
}

.reminder-panel article {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.reminder-panel article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.reminder-panel strong,
.reminder-panel span {
  display: block;
}

.reminder-panel strong {
  color: var(--red);
}

.reminder-panel span {
  margin-top: 4px;
  color: var(--muted);
}

.reports-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 58px 5vw 36px;
  background: var(--cream);
}

.reports-hero h1 {
  margin: 8px 0 16px;
  font-size: 48px;
  line-height: 1.06;
}

.reports-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.reports-hero img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.reports-dashboard {
  padding: 48px 5vw;
}

.report-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.report-actions h2 {
  margin: 6px 0 0;
  font-size: 34px;
}

.export-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.export-actions button {
  min-height: 42px;
  padding: 9px 13px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.export-actions button:hover {
  background: #25593e;
}

.report-summary-grid,
.report-grid,
.trend-grid,
.reports-lower-grid,
.conversion-list {
  display: grid;
  gap: 18px;
}

.report-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 34px;
}

.report-summary-grid article,
.metric-panel,
.trend-grid article,
.report-table-panel,
.conversion-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.report-summary-grid article {
  padding: 20px;
}

.report-summary-grid span,
.trend-grid span,
.conversion-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.report-summary-grid strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 30px;
  line-height: 1;
}

.report-summary-grid p {
  margin: 0;
  color: var(--muted);
}

.report-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 38px;
}

.metric-panel {
  padding: 22px;
}

.metric-panel h2,
.conversion-panel h2 {
  margin: 6px 0 18px;
  font-size: 26px;
}

.metric-list {
  display: grid;
  gap: 12px;
}

.metric-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.metric-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.metric-list span {
  color: var(--muted);
}

.metric-list strong {
  white-space: nowrap;
}

.trend-section {
  margin-bottom: 38px;
}

.trend-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.trend-grid article {
  padding: 18px;
}

.trend-grid strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 24px;
}

.trend-grid p {
  margin: 0;
  color: var(--muted);
}

.reports-lower-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.report-table-panel,
.conversion-panel {
  padding: 22px;
}

.report-table-panel {
  overflow: hidden;
}

.report-table-wrap {
  overflow-x: auto;
  margin: 0 -22px -22px;
}

.report-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.report-table th,
.report-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.report-table thead th {
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.report-table tbody th {
  font-size: 15px;
}

.report-table tbody td {
  color: var(--muted);
}

.conversion-list {
  margin-bottom: 18px;
}

.conversion-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.conversion-list strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.settings-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 58px 5vw 36px;
  background: var(--cream);
}

.settings-hero h1 {
  margin: 8px 0 16px;
  font-size: 48px;
  line-height: 1.06;
}

.settings-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.settings-hero img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.settings-dashboard {
  padding: 48px 5vw;
}

.settings-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.settings-topbar h2 {
  margin: 6px 0 0;
  font-size: 34px;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.settings-actions button,
.hours-settings-grid button,
.integration-grid button {
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.settings-actions button:hover,
.hours-settings-grid button:hover,
.integration-grid button:hover {
  background: #25593e;
}

.settings-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.settings-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.settings-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.settings-nav a:hover,
.settings-nav a[aria-current="page"] {
  color: var(--green);
  background: #e5f0e8;
}

.settings-stack {
  display: grid;
  gap: 24px;
}

.settings-panel {
  scroll-margin-top: 100px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.settings-form-grid,
.hours-settings-grid,
.toggle-grid,
.integration-grid,
.operations-grid {
  display: grid;
  gap: 16px;
}

.settings-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.settings-form-grid label,
.wide-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.settings-form-grid input,
.wide-field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.wide-field {
  margin-top: 16px;
}

.hours-settings-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.hours-settings-grid div,
.integration-grid article,
.operations-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.hours-settings-grid span,
.hours-settings-grid strong,
.integration-grid strong,
.integration-grid span,
.operations-grid strong,
.operations-grid span {
  display: block;
}

.hours-settings-grid span,
.integration-grid span,
.operations-grid span {
  color: var(--muted);
}

.hours-settings-grid strong {
  margin: 6px 0 12px;
}

.toggle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.toggle-grid label,
.switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 800;
}

.toggle-grid input,
.switch-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.permission-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.permission-table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
}

.permission-table th,
.permission-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.permission-table thead th {
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.permission-table tbody tr:last-child th,
.permission-table tbody tr:last-child td {
  border-bottom: 0;
}

.permission-table tbody td {
  color: var(--muted);
}

.integration-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.integration-grid code {
  display: block;
  margin: 10px 0 14px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--green);
  background: #e5f0e8;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.operations-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.operations-grid span {
  margin: 6px 0 12px;
}

.switch-row {
  justify-content: flex-start;
  min-height: 42px;
  padding: 9px 10px;
  background: #fff;
}

.admin-dashboard .admin-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-dashboard .admin-summary-grid article {
  min-height: 154px;
}

.admin-dashboard .admin-summary-grid article:nth-child(4) strong,
.admin-dashboard .admin-summary-grid article:nth-child(3) strong {
  color: var(--green);
}

.admin-dashboard .admin-summary-grid article:nth-child(2),
.admin-dashboard .admin-summary-grid article:nth-child(7) {
  border-color: #e0b478;
  background: #fff7e8;
}

.reports-dashboard .report-grid .metric-panel .conversion-list {
  margin-top: 18px;
}

.reports-dashboard .report-grid .metric-panel .conversion-list article {
  background: #fff;
}

.reports-dashboard .report-grid .metric-panel .conversion-list strong {
  font-size: 16px;
  line-height: 1.35;
}

.admin-dashboard .admin-queue-list span {
  color: var(--red);
}

.admin-dashboard .admin-module-panel {
  min-height: 100%;
}

.admin-dashboard .admin-queue-list article {
  border-left: 4px solid var(--red);
}

.admin-dashboard .admin-queue-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-dashboard .admin-approval-panel .metric-list strong {
  color: var(--red);
}

.admin-dashboard .admin-security-list article {
  border-left: 4px solid #e0b478;
}

.admin-dashboard .admin-security-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-dashboard .admin-security-panel .metric-list strong {
  color: #7a510f;
}

.admin-dashboard .admin-audit-list article {
  border-left: 4px solid var(--green);
}

.admin-dashboard .admin-audit-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-dashboard .admin-audit-panel .metric-list strong {
  color: var(--green);
}

.admin-dashboard .admin-health-panel .status-pill {
  white-space: nowrap;
}

.admin-dashboard .admin-health-table th:first-child {
  min-width: 150px;
}

.admin-dashboard .admin-control-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-dashboard .admin-control-grid article {
  min-height: 148px;
}

.admin-dashboard .admin-control-grid strong {
  margin: 7px 0 8px;
  font-size: 20px;
}

.admin-dashboard .admin-control-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-dashboard .admin-oversight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.admin-dashboard .admin-oversight-card {
  display: grid;
  gap: 18px;
  align-content: space-between;
  min-height: 262px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-dashboard .admin-oversight-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-dashboard .admin-oversight-card strong {
  display: block;
  margin-top: 8px;
  font-size: 23px;
  line-height: 1.2;
}

.admin-dashboard .admin-oversight-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.admin-dashboard .admin-oversight-card a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.admin-dashboard .admin-oversight-card a:hover {
  text-decoration: underline;
}

.reports-dashboard .report-table td:nth-child(2) {
  font-weight: 800;
  color: var(--green);
}

.reports-dashboard .report-table tbody tr:nth-child(2) td:nth-child(2),
.reports-dashboard .report-table tbody tr:nth-child(5) td:nth-child(2),
.reports-dashboard .report-table tbody tr:nth-child(6) td:nth-child(2) {
  color: var(--red);
}

.reports-dashboard .conversion-panel .conversion-list a {
  color: var(--green);
  text-decoration: none;
}

.reports-dashboard .conversion-panel .conversion-list a:hover {
  text-decoration: underline;
}

/* Cross-page consistency polish */
.menu-hero h1,
.order-hero h1,
.catering-hero h1,
.inventory-hero h1,
.staff-hero h1,
.crm-hero h1,
.reports-hero h1,
.settings-hero h1 {
  margin: 8px 0 16px;
  line-height: 1.06;
}

.menu-hero p,
.order-hero p,
.catering-hero p,
.inventory-hero p,
.staff-hero p,
.crm-hero p,
.reports-hero p,
.settings-hero p {
  margin-top: 0;
}

.intro-grid article,
.menu-card,
.product-card,
.market-grid article,
.catering-grid article,
.package-card,
.catering-options-grid article,
.summary-grid article,
.alert-grid article,
.staff-summary-grid article,
.coverage-grid article,
.crm-summary-grid article,
.message-card,
.profile-card,
.reminder-panel article,
.report-summary-grid article,
.metric-panel,
.trend-grid article,
.conversion-list article,
.settings-panel,
.hours-settings-grid div,
.integration-grid article,
.operations-grid article,
.admin-dashboard .admin-module-panel,
.admin-dashboard .admin-oversight-card {
  border-radius: 8px;
}

.btn,
.add-btn,
.place-order-btn,
.select-package-btn,
.reorder-btn,
.export-actions button,
.settings-actions button,
.hours-settings-grid button,
.integration-grid button,
.admin-dashboard .admin-oversight-card a,
.reports-dashboard .conversion-panel .conversion-list a {
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover,
.add-btn:hover,
.place-order-btn:hover,
.select-package-btn:hover,
.reorder-btn:hover,
.export-actions button:hover,
.settings-actions button:hover,
.hours-settings-grid button:hover,
.integration-grid button:hover,
.admin-dashboard .admin-oversight-card a:hover,
.reports-dashboard .conversion-panel .conversion-list a:hover {
  transform: translateY(-1px);
}

.secondary-action,
.btn.secondary {
  border: 1px solid #c6ddcf;
}

.status-pill,
.role-pill {
  line-height: 1.1;
}

.pickup-form input,
.pickup-form select,
.pickup-form textarea,
.catering-form input,
.catering-form select,
.catering-form textarea,
.settings-form-grid input,
.settings-form-grid select,
.settings-form-grid textarea {
  min-height: 44px;
}

.inventory-table-wrap,
.schedule-table-wrap,
.lead-table-wrap,
.report-table-wrap,
.permission-table-wrap {
  scrollbar-color: var(--line) transparent;
}

.inventory-table th,
.inventory-table td,
.schedule-table th,
.schedule-table td,
.lead-table th,
.lead-table td,
.report-table th,
.report-table td,
.permission-table th,
.permission-table td {
  line-height: 1.35;
}

.site-footer {
  min-height: 110px;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .split,
  .menu-hero,
  .menu-two-col,
  .catering-preview,
  .order-hero,
  .order-layout,
  .catering-hero,
  .contact-hero,
  .catering-layout,
  .contact-form-section,
  .inventory-hero,
  .inventory-alerts,
  .staff-hero,
  .coverage-panel,
  .staff-lower-grid,
  .crm-hero,
  .crm-workspace,
  .crm-lower-grid,
  .reports-hero,
  .reports-lower-grid,
  .settings-hero,
  .settings-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel,
  .catering-request-panel {
    position: static;
  }

  .site-header {
    display: grid;
    align-items: start;
  }

  .main-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .main-nav a {
    padding: 7px 9px;
    font-size: 13px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .intro-grid,
  .menu-grid,
  .link-grid,
  .product-grid,
  .compact-products,
  .simple-menu,
  .market-grid,
  .catering-grid,
  .order-card-grid,
  .package-grid,
  .catering-options-grid,
  .contact-grid,
  .help-grid,
  .summary-grid,
  .alert-grid,
  .supplier-strip,
  .staff-summary-grid,
  .coverage-grid,
  .contact-list,
  .crm-summary-grid,
  .response-tracker,
  .report-summary-grid,
  .report-grid,
  .trend-grid,
  .settings-form-grid,
  .hours-settings-grid,
  .integration-grid,
  .operations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-actions,
  .settings-topbar {
    display: block;
  }

  .export-actions,
  .settings-actions {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .settings-nav {
    position: static;
  }

  .reports-dashboard .report-summary-grid,
  .admin-dashboard .admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard .admin-control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard .admin-oversight-grid {
    grid-template-columns: 1fr;
  }

  .order-status-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard .admin-oversight-card {
    min-height: auto;
  }

  .today-card {
    left: 18px;
  }

  .category-nav {
    top: 125px;
  }

  .inventory-dashboard,
  .staff-dashboard,
  .crm-dashboard,
  .reports-dashboard,
  .settings-dashboard {
    padding-top: 38px;
  }
}

@media (max-width: 620px) {
  body {
    overflow-x: hidden;
  }

  .brand {
    min-width: 0;
    max-width: 100%;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    overflow-wrap: anywhere;
  }

  .site-header {
    gap: 14px;
    padding: 14px 4vw;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 8px;
    text-align: center;
  }

  .hero {
    padding: 38px 4vw 34px;
  }

  .menu-hero,
  .order-hero,
  .catering-hero,
  .contact-hero,
  .inventory-hero,
  .staff-hero,
  .crm-hero,
  .reports-hero,
  .settings-hero {
    padding: 38px 4vw 30px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-actions,
  .export-actions,
  .settings-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .export-actions button,
  .settings-actions button,
  .add-btn,
  .place-order-btn,
  .select-package-btn {
    width: 100%;
  }

  .section,
  .order-layout,
  .catering-layout,
  .inventory-dashboard,
  .staff-dashboard,
  .crm-dashboard,
  .reports-dashboard,
  .settings-dashboard {
    padding-left: 4vw;
    padding-right: 4vw;
  }

  .category-nav {
    top: 145px;
    padding-left: 4vw;
    padding-right: 4vw;
  }

  .quick-info,
  .intro-grid,
  .menu-grid,
  .link-grid,
  .product-grid,
  .compact-products,
  .simple-menu,
  .market-grid,
  .catering-grid,
  .contact-grid,
  .help-grid,
  .order-card-grid {
    grid-template-columns: 1fr;
  }

  .menu-hero h1,
  .order-hero h1,
  .catering-hero h1,
  .contact-hero h1,
  .inventory-hero h1,
  .staff-hero h1,
  .crm-hero h1,
  .reports-hero h1,
  .settings-hero h1 {
    font-size: 34px;
  }

  .form-row,
  .package-grid,
  .catering-options-grid,
  .contact-form-section,
  .contact-grid,
  .help-grid,
  .summary-grid,
  .alert-grid,
  .supplier-strip,
  .staff-summary-grid,
  .coverage-grid,
  .contact-list,
  .crm-summary-grid,
  .response-tracker,
  .report-summary-grid,
  .report-grid,
  .trend-grid,
  .settings-form-grid,
  .hours-settings-grid,
  .toggle-grid,
  .integration-grid,
  .operations-grid,
  .legal-layout,
  .legal-acceptance-panel {
    grid-template-columns: 1fr;
  }

  .legal-summary-card {
    position: static;
  }

  .legal-terms-content {
    max-height: none;
  }

  .queue-head,
  .message-topline,
  .conversation-header,
  .report-actions,
  .settings-topbar,
  .private-session-bar {
    display: block;
  }

  .private-session-bar > div {
    margin-top: 10px;
  }

  .chat-bubble {
    max-width: 100%;
  }

  .section-head,
  .site-footer,
  .hours-card div {
    display: block;
  }

  .report-table-panel,
  .conversion-panel,
  .settings-panel,
  .timeoff-panel,
  .contact-panel,
  .conversation-panel,
  .profile-panel,
  .lead-table-panel,
  .reminder-panel,
  .cart-card,
  .catering-form {
    padding: 18px;
  }

  .report-table-wrap,
  .lead-table-wrap {
    margin-left: -18px;
    margin-right: -18px;
  }

  .cart-row,
  .totals div,
  .metric-list div {
    gap: 10px;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .reports-dashboard .report-summary-grid,
  .admin-dashboard .admin-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard .admin-control-grid {
    grid-template-columns: 1fr;
  }

  .order-status-board {
    grid-template-columns: 1fr;
  }

  .admin-dashboard .admin-oversight-card strong {
    font-size: 20px;
  }

  .hours-card strong {
    display: block;
    margin-top: 4px;
  }
}
