﻿:root {
  color-scheme: light;
  --bg: #ffffff;
  --page: #f7f8f7;
  --ink: #18191c;
  --muted: #666b73;
  --soft: #eef0ed;
  --line: #dedfdc;
  --panel: #ffffff;
  --panel-2: #fbfaf7;
  --accent: #8f171b;
  --accent-2: #bb3326;
  --accent-soft: #f7e8e5;
  --green: #347350;
  --green-soft: #e5f4eb;
  --tan: #c79545;
  --amber: #a66c18;
  --blue: #345f9f;
  --shadow: 0 16px 46px rgba(29, 18, 18, 0.08);
  --radius: 8px;
  --sidebar: 230px;
  --helper: 340px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr) var(--helper);
  background: var(--bg);
}

.app-shell.no-helper {
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}

.app-shell.no-helper .main-inner {
  max-width: 1360px;
}

.side-nav,
.helper-rail {
  min-width: 0;
  background: #fff;
}

.side-nav {
  border-right: 1px solid var(--line);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand-lockup {
  display: grid;
  gap: 9px;
  place-items: center;
  padding: 0 0 16px;
  text-align: center;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.brand-mark svg {
  width: 52px;
  height: 52px;
}

.brand-title {
  display: grid;
  gap: 2px;
}

.brand-title strong {
  font-size: 22px;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
}

.brand-title span {
  font-size: 10px;
  line-height: 1.2;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-item {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.nav-item.is-active {
  background: linear-gradient(135deg, var(--accent), #650814);
  color: #fff;
  box-shadow: 0 10px 20px rgba(138, 16, 32, 0.2);
}

.nav-count {
  min-width: 24px;
  padding: 3px 6px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.nav-item.is-active .nav-count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.sidebar-spacer {
  flex: 1;
}

.status-tile,
.store-card,
.operator-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 14px;
}

.status-tile {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--green);
}

.store-card {
  display: grid;
  gap: 10px;
}

.store-card strong {
  font-size: 14px;
}

.store-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.operator-card {
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
}

.operator-card strong,
.operator-card span {
  display: block;
}

.operator-card strong {
  font-size: 13px;
}

.operator-card span {
  color: var(--muted);
  font-size: 12px;
}

.main-view {
  min-width: 0;
  background: var(--page);
}

.main-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 22px 34px;
}

.view-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.view-kicker {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: 28px;
  line-height: 1.1;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--accent);
}

h2 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.2;
}

h3 {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.header-actions,
.button-row,
.inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.segmented {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 4px;
  gap: 4px;
}

.segmented button,
.mini-tab {
  border: 0;
  border-radius: 6px;
  background: transparent;
  min-height: 34px;
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.segmented button.is-active,
.mini-tab.is-active {
  color: #fff;
  background: var(--accent);
}

.btn {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  min-height: 40px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}

.btn svg {
  width: 17px;
  height: 17px;
}

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

.btn.ghost {
  background: transparent;
}

.btn.danger {
  color: var(--accent);
  border-color: #d8a5ac;
}

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

.btn.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(10px);
}

.icon-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.storefront-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(138, 16, 32, 0.035) 0 1px, transparent 1px 100%),
    #fff;
  background-size: 96px 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(222, 223, 220, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.site-brand {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: var(--accent);
  text-align: left;
}

.site-brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d8a5ac;
  border-radius: 50%;
  background: #fff;
}

.site-brand-mark svg {
  width: 32px;
  height: 32px;
}

.site-brand strong,
.site-brand small {
  display: block;
}

.site-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  letter-spacing: 2px;
  line-height: 1;
}

.site-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-nav button {
  border: 0;
  background: transparent;
  min-height: 40px;
  padding: 8px 12px;
  color: #33383f;
  font-size: 13px;
  font-weight: 900;
}

.site-nav button:hover {
  color: var(--accent);
}

.site-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-hero {
  min-height: min(650px, calc(100vh - 92px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: clamp(20px, 4vw, 54px);
  padding: clamp(36px, 7vw, 90px) clamp(18px, 5vw, 72px) 46px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 10, 8, 0.8), rgba(16, 10, 8, 0.42) 42%, rgba(16, 10, 8, 0.08)),
    linear-gradient(0deg, rgba(16, 10, 8, 0.5), transparent 40%),
    url("images/beef-hero.jpg") center / cover no-repeat;
}

.site-hero-copy {
  max-width: 680px;
  padding-bottom: 18px;
}

.site-hero-copy h1 {
  max-width: 740px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.site-hero-copy p {
  max-width: 560px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

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

.hero-order-card {
  align-self: end;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(12, 7, 7, 0.28);
}

.hero-order-card h2 {
  margin-bottom: 2px;
  color: var(--accent);
}

.hero-revenue {
  display: block;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
}

.hero-order-row {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.hero-order-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-order-row strong {
  font-size: 14px;
}

.delivery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.delivery-strip div {
  min-height: 124px;
  padding: 22px clamp(16px, 3vw, 34px);
  background: #fff;
  display: grid;
  align-content: center;
  gap: 6px;
}

.delivery-strip strong {
  color: var(--accent);
  font-size: 16px;
}

.delivery-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.site-shop,
.suite-preview,
.site-recent,
.customer-service-strip {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) clamp(16px, 4vw, 40px);
}

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

.site-section-head h2 {
  margin-bottom: 6px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
}

.site-section-head p {
  max-width: 620px;
  margin-bottom: 0;
}

.site-shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}

.shop-board {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  padding: 16px;
  box-shadow: var(--shadow);
}

.site-cats {
  margin-bottom: 14px;
}

.site-product-grid {
  gap: 14px;
}

.site-product-grid .product-card {
  grid-template-rows: 170px 1fr;
}

.site-product-grid .product-shot {
  min-height: 170px;
}

.site-product-grid .product-body {
  padding: 14px;
}

.site-product-grid .product-title strong {
  font-size: 16px;
}

.site-product-grid .price-line {
  margin-top: 2px;
}

.site-shell .checkout-panel {
  position: sticky;
  top: 92px;
}

.customer-service-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.customer-service-strip h2 {
  margin-bottom: 6px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
}

.customer-service-strip p {
  max-width: 680px;
  margin-bottom: 0;
}

.operator-gate {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 42px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  background:
    linear-gradient(90deg, rgba(16, 10, 8, 0.84), rgba(16, 10, 8, 0.54)),
    url("images/beef-hero.jpg") center / cover no-repeat;
}

.operator-gate .site-brand {
  color: #fff;
}

.operator-gate-card {
  width: min(100%, 520px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 16px;
}

.operator-gate-card h1 {
  margin: 0;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 48px);
}

.operator-gate-card p,
.operator-gate-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.suite-preview {
  padding-top: 18px;
}

.suite-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.suite-module {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 10px;
  text-align: left;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.suite-module svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.suite-module strong {
  font-size: 16px;
}

.suite-module span {
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
}

.socialai-promo {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) auto;
  gap: 18px;
  align-items: center;
  padding: 28px clamp(16px, 4vw, 40px);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(138, 16, 32, 0.08), rgba(47, 143, 91, 0.08)),
    #fff;
}

.socialai-promo h2 {
  margin-bottom: 6px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
}

.socialai-promo p {
  max-width: 760px;
  margin-bottom: 0;
}

.socialai-promo-card {
  border: 1px solid rgba(138, 16, 32, 0.18);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
  box-shadow: 0 14px 34px rgba(29, 18, 18, 0.08);
}

.socialai-promo-card strong,
.socialai-promo-card span {
  display: block;
}

.socialai-promo-card strong {
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 4px;
}

.socialai-promo-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.socialai-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(138, 16, 32, 0.08), rgba(47, 143, 91, 0.08)),
    #fff;
  padding: 22px;
  box-shadow: var(--shadow);
}

.socialai-hero-panel h2 {
  margin-bottom: 8px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.socialai-score {
  border: 1px solid rgba(138, 16, 32, 0.18);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 6px;
}

.socialai-score span,
.socialai-score small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.socialai-score strong {
  color: var(--accent);
  font-size: 44px;
  line-height: 1;
}

.socialai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
  align-items: start;
}

.social-campaign-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.social-campaign-card strong,
.social-campaign-card span {
  display: block;
}

.social-campaign-card span {
  margin-top: 3px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.social-campaign-card p {
  margin: 0;
}

.promo-product-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.promo-product-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.promo-product-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

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

.ops-board-panel {
  overflow: hidden;
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  overflow-x: auto;
}

.kanban-column {
  min-height: 520px;
  background: #fbfbfa;
  padding: 12px;
}

.kanban-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.kanban-head span {
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--ink);
}

.kanban-stack {
  display: grid;
  gap: 9px;
}

.kanban-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 7px;
  text-align: left;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(29, 18, 18, 0.05);
}

.kanban-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(138, 16, 32, 0.14);
}

.kanban-card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.kanban-card-top em {
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
}

.kanban-card small {
  color: var(--muted);
  line-height: 1.35;
}

.kanban-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kanban-card-meta em {
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 4px 7px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.empty.small {
  padding: 12px;
  font-size: 12px;
}

.order-inspector {
  position: sticky;
  top: 18px;
}

.inspector-profile {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.inspector-profile .avatar {
  width: 48px;
  height: 48px;
}

.inspector-profile h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.inspector-profile p {
  margin: 0;
  font-size: 13px;
}

.inspector-items {
  margin: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel.flat {
  box-shadow: none;
}

.panel-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.panel-body {
  padding: 16px;
}

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
}

.cat-tab {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  min-height: 34px;
  padding: 8px 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cat-tab.is-active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.toolbar span {
  color: var(--muted);
  font-size: 13px;
}

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

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: 142px 1fr;
}

.product-card.is-featured {
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(138, 16, 32, 0.11);
}

.product-shot {
  min-height: 142px;
  background-image: url("images/beef-products-contact-sheet.png");
  background-size: 300% 300%;
  background-repeat: no-repeat;
  position: relative;
}

.shot-0 { background-position: 0% 0%; }
.shot-1 { background-position: 50% 0%; }
.shot-2 { background-position: 100% 0%; }
.shot-3 { background-position: 0% 50%; }
.shot-4 { background-position: 50% 50%; }
.shot-5 { background-position: 100% 50%; }
.shot-6 { background-position: 0% 100%; }
.shot-7 { background-position: 50% 100%; }
.shot-8 { background-position: 100% 100%; }

.featured-check {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
}

.featured-check svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.product-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.product-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.product-title strong {
  font-size: 14px;
  line-height: 1.25;
}

.stock-chip,
.status-chip,
.tiny-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 4px 7px;
  min-height: 22px;
  font-size: 11px;
  font-weight: 900;
}

.stock-chip {
  color: var(--green);
  background: var(--green-soft);
}

.stock-chip.low {
  color: var(--amber);
  background: #fff4df;
}

.status-chip {
  background: var(--soft);
  color: var(--muted);
}

.status-chip.New { color: var(--accent); background: var(--accent-soft); }
.status-chip.Confirmed { color: var(--blue); background: #e7eef8; }
.status-chip.Packing { color: var(--amber); background: #fff4df; }
.status-chip.Out { color: var(--blue); background: #e7eef8; }
.status-chip.Delivered { color: var(--green); background: var(--green-soft); }

.product-card p {
  margin: 0;
  min-height: 42px;
  font-size: 12px;
  color: var(--muted);
}

.product-meta {
  color: var(--muted);
  font-size: 12px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.quantity-control {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  overflow: hidden;
  min-width: 122px;
}

.quantity-control button {
  border: 0;
  min-height: 32px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.quantity-control span {
  min-height: 32px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.checkout-panel {
  position: sticky;
  top: 14px;
}

.order-lines {
  display: grid;
  gap: 10px;
}

.order-line {
  display: grid;
  grid-template-columns: 46px 1fr auto 26px;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.thumb {
  width: 46px;
  height: 46px;
  border-radius: 7px;
  background-image: url("images/beef-products-contact-sheet.png");
  background-size: 300% 300%;
  background-repeat: no-repeat;
}

.line-copy strong,
.line-copy span {
  display: block;
}

.line-copy strong {
  font-size: 13px;
}

.line-copy span {
  color: var(--muted);
  font-size: 12px;
}

.line-price {
  font-size: 13px;
  font-weight: 900;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 9px 10px;
  color: var(--ink);
  font-size: 13px;
}

.field textarea {
  min-height: 80px;
  resize: vertical;
  line-height: 1.45;
}

.totals {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 12px 0;
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

.total-row:last-child {
  border-bottom: 0;
  font-size: 20px;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 900;
  background: #fbfbfa;
}

td strong {
  font-size: 13px;
}

.helper-rail {
  border-left: 1px solid var(--line);
  padding: 24px 18px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.helper-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
}

.helper-title svg {
  width: 24px;
  height: 24px;
}

.helper-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.helper-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 38px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
}

.helper-tabs button.is-active {
  color: var(--accent);
  border-color: var(--accent);
}

.message-box {
  min-height: 156px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  white-space: pre-line;
  color: #34373b;
  font-size: 13px;
  line-height: 1.5;
}

.helper-stat-list,
.activity-list {
  display: grid;
  gap: 10px;
}

.helper-stat,
.activity-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.helper-stat strong,
.activity-item strong {
  color: var(--ink);
}

.helper-stat span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.helper-stat svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  stroke-width: 1.9;
}

.grid-2,
.admin-grid,
.delivery-grid,
.pitch-grid,
.customer-grid {
  display: grid;
  gap: 16px;
}

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

.admin-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

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

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

.product-editor-list,
.order-stack,
.packing-list {
  display: grid;
  gap: 10px;
}

.editor-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #fff;
}

.editor-fields {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.65fr 0.6fr;
  gap: 8px;
}

.editor-fields .field input,
.editor-fields .field select {
  min-height: 36px;
  padding: 7px 8px;
}

.switch-line {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.switch-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.order-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.order-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(138, 16, 32, 0.1);
}

.order-card-head,
.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.order-card-head strong {
  display: block;
}

.stop-number {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-family: var(--font);
}

.order-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.status-actions button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  min-height: 30px;
  padding: 6px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.status-actions button.is-active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.packing-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.packing-item:last-child {
  border-bottom: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

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

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.benefit-card,
.workflow-card,
.customer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.benefit-card {
  display: grid;
  gap: 8px;
}

.pitch-urgency {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(138, 16, 32, 0.1), rgba(214, 184, 135, 0.18)),
    #fff;
  box-shadow: var(--shadow);
}

.pitch-urgency h2 {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 38px);
}

.pitch-urgency p {
  max-width: 760px;
  margin-bottom: 0;
}

.pitch-proof {
  border: 1px solid rgba(138, 16, 32, 0.18);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.pitch-proof strong,
.pitch-proof span {
  display: block;
}

.pitch-proof strong {
  color: var(--accent);
  font-size: 34px;
  font-family: Georgia, "Times New Roman", serif;
}

.pitch-proof span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.brand-option-grid .panel {
  min-height: 100%;
}

.brand-preview {
  display: grid;
  gap: 12px;
}

.brand-preview img {
  width: 100%;
  min-height: 180px;
  max-height: 230px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.brand-preview p {
  margin: 0;
  color: var(--muted);
}

.meeting-agenda {
  display: grid;
  gap: 10px;
}

.agenda-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.agenda-row > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.agenda-row strong {
  display: block;
  color: var(--ink);
}

.agenda-row p {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.close-card {
  border-color: rgba(143, 23, 27, 0.28);
  background: linear-gradient(135deg, var(--accent-soft), #fff);
}

.metrics-grid .metric {
  min-height: 110px;
}

.metrics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 16px;
  margin-bottom: 16px;
}

.metrics-panel {
  min-width: 0;
}

.health-grid,
.funnel-list,
.metrics-story {
  display: grid;
  gap: 10px;
}

.health-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.health-row p,
.metrics-story p {
  margin: 2px 0 0;
  font-size: 13px;
}

.health-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.health-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px var(--green-soft);
}

.health-row.blue .health-dot {
  background: var(--blue);
  box-shadow: 0 0 0 5px #e7eef8;
}

.health-row.amber .health-dot {
  background: var(--amber);
  box-shadow: 0 0 0 5px #fff4df;
}

.funnel-row {
  display: grid;
  gap: 8px;
}

.funnel-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.funnel-row span {
  color: var(--muted);
  font-weight: 900;
}

.funnel-track {
  height: 12px;
  border-radius: 999px;
  background: var(--soft);
  overflow: hidden;
}

.funnel-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--tan));
}

.metrics-story {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metrics-story article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.tracking-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(247, 232, 229, 0.55), rgba(255, 255, 255, 0) 34%),
    #fff;
}

.tracking-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.tracking-header-actions,
.tracking-map-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tracking-main {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(18px, 4vw, 44px);
  padding: clamp(28px, 5vw, 70px) clamp(14px, 4vw, 36px);
}

.tracking-copy h1 {
  max-width: 520px;
  margin-bottom: 14px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
}

.tracking-copy p {
  max-width: 560px;
  font-size: 18px;
}

.tracking-status-card {
  display: grid;
  gap: 4px;
  margin: 22px 0;
  border: 1px solid rgba(143, 23, 27, 0.22);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}

.tracking-status-card span,
.tracking-status-card small {
  color: var(--muted);
  font-weight: 800;
}

.tracking-status-card strong {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
}

.tracking-steps {
  display: grid;
  gap: 10px;
}

.tracking-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.tracking-step > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--soft);
}

.tracking-step svg {
  width: 22px;
  height: 22px;
}

.tracking-step.is-done > span {
  color: #fff;
  background: var(--green);
}

.tracking-step strong,
.tracking-step small {
  display: block;
}

.tracking-step small {
  color: var(--muted);
  font-weight: 800;
}

.tracking-map-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.tracking-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(52, 115, 80, 0.15), transparent 28%),
    radial-gradient(circle at 22% 74%, rgba(143, 23, 27, 0.12), transparent 28%),
    linear-gradient(135deg, #f8f3ea, #eef4ec 62%, #f7e8e5);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(102, 107, 115, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 107, 115, 0.13) 1px, transparent 1px);
  background-size: 56px 56px;
}

.route-svg {
  position: absolute;
  inset: 6% 4%;
  width: 92%;
  height: 86%;
}

.route-shadow,
.route-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-shadow {
  stroke: rgba(24, 25, 28, 0.11);
  stroke-width: 22;
}

.route-line {
  stroke: var(--accent);
  stroke-width: 10;
  stroke-dasharray: 20 18;
}

.map-pin,
.tracking-truck {
  position: absolute;
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(24, 25, 28, 0.18);
}

.map-pin svg,
.tracking-truck svg {
  width: 26px;
  height: 26px;
}

.map-pin.depot {
  background: var(--ink);
}

.map-pin.home {
  background: var(--green);
}

.tracking-truck {
  left: var(--truck-left);
  top: var(--truck-top);
  background: var(--accent);
  animation: truck-bob 1.6s ease-in-out infinite;
}

.map-label {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(222, 223, 220, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(24, 25, 28, 0.09);
}

.depot-label {
  left: 9%;
  bottom: 10%;
}

.home-label {
  right: 6%;
  top: 10%;
}

.tracking-map-footer {
  justify-content: space-between;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.tracking-map-footer span,
.tracking-map-footer strong {
  display: block;
}

.tracking-map-footer span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.tracking-empty {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}

.driver-shell {
  min-height: 100vh;
  background: #f7f8f7;
}

.driver-topbar {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(18px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.driver-app {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  grid-template-areas:
    "current map"
    "queue map"
    "summary summary";
  gap: 16px;
  padding: clamp(18px, 4vw, 42px);
}

.driver-current,
.driver-map-panel,
.driver-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.driver-current {
  grid-area: current;
  padding: 18px;
}

.driver-card-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.driver-current h1 {
  margin: 8px 0;
  font-size: clamp(30px, 4vw, 48px);
}

.driver-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.driver-stat-row div,
.driver-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
}

.driver-stat-row span,
.driver-note span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.driver-stat-row strong,
.driver-note strong {
  display: block;
  margin-top: 3px;
}

.driver-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.driver-map-panel {
  grid-area: map;
  overflow: hidden;
}

.driver-map {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(52, 115, 80, 0.14), transparent 30%),
    linear-gradient(135deg, #f8f3ea, #eef4ec 62%, #f7e8e5);
}

.driver-stop {
  position: absolute;
  z-index: 4;
  min-width: 112px;
  border: 1px solid rgba(222, 223, 220, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  padding: 8px;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 12px 26px rgba(24, 25, 28, 0.13);
}

.driver-stop span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.driver-stop strong {
  font-size: 12px;
}

.driver-stop.is-current {
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(143, 23, 27, 0.24);
}

.driver-queue {
  grid-area: queue;
}

.driver-stop-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.driver-stop-card.is-current {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.driver-stop-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.driver-stop-card > div:last-child {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.driver-summary {
  grid-area: summary;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

@keyframes truck-bob {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-7px); }
}

.benefit-card svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.timeline-step span:first-child {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.integration-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tiny-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.empty {
  border: 1px dashed #c7c9c4;
  border-radius: var(--radius);
  padding: 18px;
  color: var(--muted);
  text-align: center;
  background: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 800;
  z-index: 30;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1240px) {
  .app-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .helper-rail {
    grid-column: 2;
    border-left: 0;
    border-top: 1px solid var(--line);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-panel {
    position: static;
  }

  .site-shop-layout,
  .orders-workspace,
  .socialai-grid {
    grid-template-columns: 1fr;
  }

  .order-inspector {
    position: static;
  }
}

@media (max-width: 980px) {
  .app-shell {
    display: block;
  }

  .side-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand-lockup,
  .sidebar-spacer,
  .status-tile,
  .store-card,
  .operator-card {
    display: none;
  }

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

  .nav-item {
    min-height: 42px;
    grid-template-columns: 20px 1fr;
    padding: 8px;
    font-size: 12px;
  }

  .nav-count {
    display: none;
  }

  .main-inner {
    max-width: 100%;
    padding: 18px 12px 26px;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-hero {
    min-height: 620px;
    grid-template-columns: 1fr;
    align-items: end;
    background:
      linear-gradient(90deg, rgba(16, 10, 8, 0.84), rgba(16, 10, 8, 0.5)),
      linear-gradient(0deg, rgba(16, 10, 8, 0.58), transparent 44%),
      url("images/beef-hero.jpg") center / cover no-repeat;
  }

  .site-hero-copy {
    padding-bottom: 0;
  }

  .hero-order-card {
    max-width: 460px;
  }

  .delivery-strip {
    grid-template-columns: 1fr;
  }

  .site-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .socialai-promo,
  .socialai-hero-panel,
  .customer-service-strip {
    grid-template-columns: 1fr;
  }

  .storefront-layout,
  .admin-grid,
  .delivery-grid,
  .metrics-layout,
  .tracking-main,
  .driver-app,
  .grid-2,
  .pitch-grid,
  .pitch-urgency,
  .customer-grid {
    grid-template-columns: 1fr;
  }

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

  .tracking-main {
    padding-top: 30px;
  }

  .driver-app {
    grid-template-areas:
      "current"
      "map"
      "queue"
      "summary";
  }

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

  .helper-rail {
    display: grid;
    grid-template-columns: 1fr;
    padding: 16px 12px 24px;
  }

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

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

  html,
  body,
  #app,
  .app-shell,
  .main-view,
  .main-inner,
  .panel,
  .pitch-proof,
  .brand-preview,
  .agenda-row {
    max-width: 100%;
    min-width: 0;
  }

  .view-header,
  .toolbar,
  .panel-head,
  .metric-row {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: 24px;
  }

  .site-header {
    position: relative;
    padding: 12px;
  }

  .site-brand strong {
    font-size: 22px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav button {
    flex: 0 0 auto;
    padding-inline: 9px;
    font-size: 12px;
  }

  .site-actions .btn {
    width: auto;
  }

  .site-hero {
    min-height: 610px;
    padding: 30px 14px;
  }

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

  .site-hero-copy p {
    font-size: 15px;
  }

  .hero-order-card {
    padding: 14px;
  }

  .site-shop,
  .suite-preview,
  .site-recent,
  .customer-service-strip {
    padding-inline: 12px;
  }

  .customer-service-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-board {
    padding: 10px;
  }

  .suite-preview-grid {
    grid-template-columns: 1fr;
  }

  .socialai-promo {
    padding-inline: 12px;
  }

  .kanban-board {
    grid-template-columns: repeat(5, minmax(210px, 1fr));
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .editor-row,
  .editor-fields {
    grid-template-columns: 1fr;
  }

  .product-shot,
  .product-card {
    min-width: 0;
  }

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

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metrics-story {
    grid-template-columns: 1fr;
  }

  .tracking-header,
  .tracking-header-actions,
  .driver-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .tracking-copy h1 {
    font-size: 42px;
  }

  .tracking-copy p {
    font-size: 16px;
  }

  .tracking-map {
    min-height: 390px;
  }

  .tracking-map-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .map-label {
    font-size: 11px;
  }

  .driver-app {
    padding: 12px;
  }

  .driver-stat-row,
  .driver-summary {
    grid-template-columns: 1fr;
  }

  .driver-map {
    min-height: 420px;
  }

  .driver-stop {
    min-width: 96px;
    padding: 7px;
  }

  .header-actions,
  .button-row,
  .inline-actions {
    width: 100%;
  }

  .btn,
  .segmented,
  .segmented button {
    width: 100%;
  }
}

