:root {
  color-scheme: light;
  --olive: #405431;
  --olive-deep: #2e4026;
  --olive-soft: #e7ebdc;
  --olive-pale: #f0f2e9;
  --cream: #f8f7f1;
  --paper: #fffefa;
  --ink: #25291f;
  --muted: #767a6e;
  --line: #e5e5dc;
  --sand: #e9dfcd;
  --gold: #c6a463;
  --red: #a4493d;
  --shadow: 0 18px 48px rgba(49, 56, 38, .08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--cream); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page-width { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.topbar {
  width: min(1320px, calc(100% - 64px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(64, 84, 49, .12);
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 138px; height: auto; mix-blend-mode: multiply; }
.topnav { display: flex; align-items: center; gap: 34px; }
.nav-link, .dashboard-title { color: #676b5f; font-size: 13px; font-weight: 600; }
.nav-link { height: 82px; display: inline-flex; align-items: center; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--olive); }
.nav-link.active::after { content: ""; height: 2px; position: absolute; inset: auto 0 0; background: var(--olive); }
.dashboard-title { color: var(--olive); }
.mobile-dashboard-link { display: none !important; }

.button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 23px;
  font-size: 13px;
  font-weight: 700;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--olive); color: #fff; box-shadow: 0 8px 18px rgba(64, 84, 49, .16); }
.button-dark:hover { background: var(--olive-deep); }
.button-outline { background: transparent; color: var(--olive); border: 1px solid #bdc5b3; }
.button-outline:hover { background: var(--olive-pale); }
.button-small { min-height: 39px; padding: 0 17px; font-size: 12px; }
.button-wide { width: 100%; margin-top: 18px; min-height: 52px; }

.hero { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 52px; padding-block: 62px 77px; }
.hero-copy { padding: 14px 0 20px; }
.eyebrow {
  color: #70765f;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #89935f; box-shadow: 0 0 0 4px #e6e9dc; }
h1, h2, h3, h4, p { margin-top: 0; }
.hero h1, .dashboard-heading h1 {
  color: var(--olive-deep);
  font: 600 clamp(40px, 5vw, 61px)/1.08 Georgia, serif;
  letter-spacing: -.035em;
  margin: 20px 0 17px;
}
.hero-copy > p { max-width: 430px; color: #6f7368; font-size: 15px; line-height: 1.8; margin-bottom: 26px; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 35px; }
.proof-mark {
  width: 44px; height: 44px; border: 1px solid #c9cdbd; border-radius: 50%;
  display: grid; place-items: center; color: var(--olive); font: 600 17px Georgia, serif;
}
.hero-proof strong, .hero-proof small { display: block; }
.hero-proof strong { color: #41483a; font-size: 12px; }
.hero-proof small { color: #85877c; font-size: 11px; margin-top: 3px; }
.hero-image-wrap { height: 420px; position: relative; overflow: hidden; border-radius: 180px 16px 16px 16px; background: #e9eadf; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-sticker {
  position: absolute; right: 20px; bottom: 20px; padding: 14px 19px;
  background: rgba(255, 254, 250, .91); border-radius: 3px; box-shadow: var(--shadow);
}
.hero-sticker span, .hero-sticker strong { display: block; }
.hero-sticker span { color: #74776d; font-size: 10px; }
.hero-sticker strong { color: var(--olive); font: 600 17px Georgia, serif; margin-top: 3px; }

.section { padding-block: 38px 80px; }
.section-heading, .dashboard-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-heading h2, .dashboard-section-heading h2, .team-notes h2 {
  color: var(--olive-deep); font: 600 35px/1.2 Georgia, serif; letter-spacing: -.02em; margin: 9px 0 0;
}
.section-heading > p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0 0 3px; text-align: right; }
.plans-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-top: 30px; }
.plan-card {
  min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid #e8e7de; border-radius: 13px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-card-selected { border-color: #83916f; box-shadow: 0 0 0 1px #83916f; }
.plan-photo { height: 145px; overflow: hidden; position: relative; background: #e5e8dc; }
.plan-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.plan-card:hover .plan-photo img { transform: scale(1.035); }
.plan-badge { position: absolute; top: 12px; left: 12px; color: var(--olive); background: #f8f7f0; border-radius: 99px; font-size: 9px; font-weight: 700; padding: 6px 10px; }
.plan-card-content { padding: 17px 17px 15px; }
.plan-title-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.plan-title-row h3 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
.plan-days { color: #767b6c; border: 1px solid #e3e5dc; border-radius: 99px; padding: 4px 7px; white-space: nowrap; font-size: 9px; font-weight: 600; }
.plan-card-content > p { color: #85877e; font-size: 11px; min-height: 32px; line-height: 1.5; margin: 8px 0 13px; }
.meal-counts { display: flex; gap: 6px; min-height: 43px; }
.meal-count {
  min-width: 54px; flex: 1; background: #f7f7f2; border: 1px solid #e4e6dc; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 5px 3px; color: #6d7266;
}
.meal-count:hover, .meal-count.selected { background: var(--olive-pale); border-color: #899677; color: var(--olive); }
.meal-count > span { font-size: 13px; font-weight: 700; line-height: 1.1; }
.meal-count small { font-size: 8px; margin-top: 2px; }
.plan-price { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #eeeeea; margin-top: 14px; padding-top: 12px; }
.plan-price > span { color: #888b81; font-size: 10px; }
.plan-price > strong { color: var(--olive-deep); font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.plan-price small, .customer-order-title small { font-size: 9px; font-weight: 700; letter-spacing: .02em; }
.currency { font-size: 9px; font-weight: 600; }
.text-button { color: var(--olive); border: 0; background: none; padding: 13px 0 0; font-size: 11px; font-weight: 700; }
.text-button span { display: inline-block; margin-left: 4px; transition: transform .18s; }
.text-button:hover span { transform: translateX(4px); }

.order-section { color: #fff; background: var(--olive); padding: 73px 0; overflow: hidden; position: relative; }
.order-section::before, .order-section::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; pointer-events: none; }
.order-section::before { width: 440px; height: 440px; top: -236px; left: -148px; }
.order-section::after { width: 520px; height: 520px; right: -270px; bottom: -340px; }
.order-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1fr; gap: 95px; align-items: center; }
.eyebrow-light { color: #d3ddc5; }
.order-intro h2 { color: #fff; font: 600 clamp(38px, 4vw, 52px)/1.12 Georgia, serif; letter-spacing: -.03em; margin: 16px 0; }
.order-intro > p { max-width: 380px; color: #d8dfce; font-size: 14px; line-height: 1.85; }
.order-note { display: flex; gap: 12px; margin-top: 28px; align-items: center; }
.note-icon { width: 31px; height: 31px; flex: none; display: grid; place-items: center; color: #26341f; background: #e3e9d8; border-radius: 50%; font-size: 14px; font-weight: 700; }
.order-note strong, .order-note small { display: block; }
.order-note strong { font-size: 12px; }
.order-note small { color: #d0d8c6; font-size: 10px; line-height: 1.6; margin-top: 4px; }
.form-card { padding: 29px; background: var(--paper); color: var(--ink); border-radius: 12px; box-shadow: 0 22px 65px rgba(25, 34, 20, .2); }
.form-card[hidden], [hidden] { display: none !important; }
.live-mode #customer-live-area { display: grid; gap: 12px; min-width: 0; }
.live-mode #customer-live-area > .form-card { min-width: 0; }
.live-mode #order-form[hidden] { display: none; }
.auth-card { margin-bottom: 0; }
.auth-message { color: #777a70; font-size: 11px; line-height: 1.65; margin: -5px 0 14px; }
.auth-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; background: #f0f1eb; border-radius: 8px; padding: 4px; margin-bottom: 17px; }
.auth-mode-button { min-height: 35px; border: 0; border-radius: 6px; background: transparent; color: #777b70; font-size: 10px; font-weight: 700; }
.auth-mode-button.selected { background: #fffefa; color: var(--olive); box-shadow: 0 1px 5px rgba(35, 44, 27, .09); }
.auth-consent { display: flex; align-items: start; gap: 8px; color: #777a70; margin-top: 15px; font-size: 10px; line-height: 1.6; }
.auth-consent > input { width: 15px; min-height: 15px; flex: none; margin: 2px 0 0; accent-color: var(--olive); }
.auth-consent a { color: var(--olive); text-decoration: underline; text-underline-offset: 2px; }
.auth-sign-out { margin-top: 12px; }
.whatsapp-confirmation { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 13px; padding: 12px; background: var(--olive-pale); border: 1px solid #e0e5d7; border-radius: 7px; color: #5f6655; font-size: 10px; line-height: 1.5; }
.whatsapp-confirmation strong { color: var(--olive-deep); }
.staff-auth-card { max-width: 540px; margin: 20px auto 28px; }
.dashboard-workspace[hidden] { display: none; }
.form-card-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 20px; }
.form-card-heading h3 { color: var(--olive-deep); font: 600 27px Georgia, serif; margin: 5px 0 0; }
.form-step { color: #9a9c92; font-size: 10px; font-weight: 700; }
.selected-plan-summary { background: var(--olive-pale); border: 1px solid #e0e5d7; border-radius: 8px; padding: 12px 13px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-bottom: 19px; }
.summary-label { grid-column: 1 / -1; color: #7a806e; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 700; }
.selected-plan-summary div strong, .selected-plan-summary div span { display: block; }
.selected-plan-summary div strong { color: var(--olive-deep); font-size: 13px; }
.selected-plan-summary div span { color: #73776d; margin-top: 4px; font-size: 10px; }
.summary-price { align-self: center; color: var(--olive-deep); font-size: 14px; white-space: nowrap; }
.field-label { display: block; color: #464b40; font-size: 11px; font-weight: 700; margin: 14px 0 6px; }
.optional { color: #9b9d93; font-size: 10px; font-weight: 400; }
input, textarea, select {
  width: 100%; min-height: 43px; border: 1px solid #dedfd7; border-radius: 6px;
  background: #fff; color: var(--ink); padding: 10px 12px; font-size: 12px; outline: none;
}
textarea { resize: vertical; line-height: 1.55; }
input:focus, textarea:focus, select:focus { border-color: #7f8e6d; box-shadow: 0 0 0 3px rgba(92, 113, 70, .12); }
input::placeholder, textarea::placeholder { color: #a3a59d; }
.form-footnote { color: #92958b; font-size: 9px; line-height: 1.6; text-align: center; margin: 12px 4px 0; }

.my-plan-section { padding-top: 68px; padding-bottom: 80px; }
.demo-chip { display: inline-flex; gap: 8px; align-items: center; color: #73776d; border: 1px solid #e3e4db; border-radius: 99px; padding: 8px 12px; font-size: 10px; font-weight: 600; }
.demo-chip > span { width: 7px; height: 7px; background: #c6a463; border-radius: 50%; }
.privacy-notice { padding: 12px 15px; background: #f1eee4; border: 1px solid #e8e1cf; border-radius: 7px; color: #77725f; font-size: 11px; line-height: 1.6; margin-top: 22px; }
.privacy-notice strong { color: #595740; }
.customer-orders { display: grid; gap: 14px; margin-top: 18px; }
.customer-order-card { border: 1px solid #e6e6de; background: var(--paper); border-radius: 11px; overflow: hidden; }
.customer-order-main { padding: 19px 21px; }
.order-badge-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.status-badge { display: inline-flex; align-items: center; border-radius: 99px; padding: 5px 9px; font-size: 9px; font-weight: 700; }
.status-pending { color: #866524; background: #f5eedb; }
.status-active { color: #4a6b42; background: #e8f0e2; }
.status-expired { color: #6f7169; background: #ededeb; }
.status-needs-review { color: #9e4e40; background: #f5e6e2; }
.order-number { color: #9a9b91; font-size: 9px; font-weight: 600; letter-spacing: .04em; }
.customer-order-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; }
.customer-order-title h3 { color: var(--olive-deep); font: 600 22px Georgia, serif; margin: 0; }
.customer-order-title > strong { color: var(--olive-deep); font-size: 15px; }
.customer-order-main > p { color: #777a70; font-size: 11px; margin: 7px 0 0; }
.start-date-note { color: #77796f; font-size: 10px; margin-top: 12px; }
.start-date-note strong { color: var(--olive); }
.meal-choice-form { border-top: 1px solid #ecece6; background: #fbfbf7; padding: 20px 21px; }
.meal-choice-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.meal-choice-heading h4 { color: var(--olive-deep); font: 600 20px Georgia, serif; margin: 5px 0 0; }
.meal-lock { color: #777c6b; font-size: 10px; }
.meal-calendar-intro { color: #777a70; font-size: 11px; line-height: 1.65; margin: 0 0 12px; }
.delivery-date-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.delivery-date-card { min-width: 0; min-height: 107px; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 3px; border: 1px solid #e3e5dc; border-radius: 9px; background: #fffefa; color: var(--ink); padding: 8px 4px; text-align: center; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.delivery-date-card:not(:disabled):hover { border-color: #9da98e; transform: translateY(-1px); }
.delivery-date-card.is-selected { border-color: var(--olive); background: #eef1e8; box-shadow: inset 0 0 0 1px var(--olive); }
.delivery-date-card:focus-visible { outline: 3px solid rgba(64, 84, 49, .24); outline-offset: 2px; }
.delivery-date-card:disabled { cursor: default; }
.delivery-date-card.is-off-day { background: #f1eee8; border-style: dashed; color: #89877e; }
.delivery-date-weekday, .delivery-date-month { color: #777c6b; font-size: 10px; font-weight: 650; }
.delivery-date-number { color: var(--olive-deep); font: 600 25px Georgia, serif; line-height: 1; }
.delivery-date-status { color: #898d80; font-size: 8px; line-height: 1.25; margin-top: 2px; }
.delivery-date-card.is-selected .delivery-date-status { color: var(--olive); font-weight: 700; }
.delivery-date-card.is-off-day .delivery-date-status { color: #8d5d4e; font-weight: 700; }
.delivery-day-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.delivery-day-controls > small { color: #85877e; font-size: 10px; line-height: 1.5; }
.skip-delivery-button { flex: 0 0 auto; }
.selected-delivery-date { color: #6d7265; font-size: 11px; margin: 22px 0 10px; }
.selected-delivery-date strong { color: var(--olive-deep); }
.meal-slots { display: grid; gap: 15px; margin-top: 4px; }
.meal-slot { min-width: 0; margin: 0; padding: 14px; border: 1px solid #e6e7de; border-radius: 9px; background: #fffefa; }
.meal-slot legend { display: flex; align-items: center; gap: 9px; padding: 0 4px; color: var(--olive-deep); font-size: 13px; font-weight: 700; }
.meal-slot-number { width: 23px; height: 23px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--olive-soft); color: var(--olive); font-size: 9px; }
.meal-slot-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 3px 0 10px; }
.meal-slot-toolbar label { width: min(250px, 100%); }
.meal-slot-toolbar input { min-height: 36px; padding: 7px 10px; font-size: 11px; }
.meal-slot-toolbar small { color: #96988e; font-size: 9px; white-space: nowrap; }
.meal-choice-carousel { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 2px 10px; scroll-snap-type: x mandatory; scrollbar-color: #c9cdbf transparent; scrollbar-width: thin; }
.meal-choice-card { position: relative; flex: 0 0 174px; min-width: 0; cursor: pointer; scroll-snap-align: start; }
.meal-choice-card[hidden] { display: none; }
.meal-choice-card input[type="radio"] { position: absolute; width: 1px; min-height: 0; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.meal-choice-content { display: block; height: 100%; overflow: hidden; border: 1px solid #e6e7df; border-radius: 8px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.meal-choice-card:hover .meal-choice-content { border-color: #aab39c; transform: translateY(-1px); }
.meal-choice-card.is-picked .meal-choice-content { border-color: var(--olive); box-shadow: 0 0 0 2px rgba(64, 84, 49, .16); }
.meal-choice-card input:focus-visible + .meal-choice-content { outline: 3px solid rgba(64, 84, 49, .25); outline-offset: 2px; }
.meal-choice-photo { position: relative; display: block; height: 112px; overflow: hidden; background: #f8f7f1; }
.meal-choice-photo img { width: 100%; height: 100%; object-fit: cover; }
.meal-choice-check { position: absolute; top: 8px; right: 8px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--olive); color: #fff; font-size: 13px; font-weight: 700; opacity: 0; transform: scale(.8); transition: opacity .16s ease, transform .16s ease; }
.meal-choice-card.is-picked .meal-choice-check { opacity: 1; transform: scale(1); }
.meal-choice-name { min-height: 39px; display: block; padding: 9px 10px 0; color: #40463b; font-size: 10px; font-weight: 700; line-height: 1.4; }
.meal-choice-slot { display: block; padding: 4px 10px 10px; color: #999b92; font-size: 8px; text-transform: capitalize; }
.meal-empty-note { margin: 5px 0; color: #8b5a4f; font-size: 11px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.meal-choice-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.meal-choice-footer > small { color: #85877e; font-size: 10px; }

.empty-state { min-height: 150px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; border: 1px dashed #dfe1d7; background: rgba(255, 254, 250, .7); border-radius: 10px; padding: 27px; color: #72766a; }
.empty-state strong { color: #51584a; font-size: 13px; }
.empty-state p { max-width: 380px; color: #8d9085; font-size: 11px; line-height: 1.7; margin: 7px 0 0; }
.empty-icon { color: #83906f; font-size: 23px; margin-bottom: 8px; }

.footer { min-height: 95px; display: flex; align-items: center; gap: 14px; border-top: 1px solid #e2e3da; color: #898b82; font-size: 10px; }
.footer img { width: 87px; mix-blend-mode: multiply; }
.footer > a { color: var(--olive); margin-left: auto; font-size: 10px; font-weight: 700; }
.footer > small { color: #96988f; margin-left: 18px; font-size: 9px; }
.toast { position: fixed; z-index: 10; left: 50%; bottom: 24px; max-width: min(480px, calc(100% - 30px)); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; border-radius: 8px; background: #293821; color: #fff; padding: 12px 16px; box-shadow: var(--shadow); font-size: 12px; line-height: 1.5; transition: opacity .2s ease, transform .2s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* Team dashboard */
.dashboard { padding-block: 40px 72px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dashboard-heading h1 { font-size: clamp(36px, 4vw, 48px); margin: 13px 0 8px; }
.dashboard-heading p, .dashboard-section-heading > div > p { color: #777a6f; font-size: 12px; line-height: 1.7; margin: 0; }
.dashboard-date { display: flex; align-items: center; gap: 11px; border: 1px solid #e3e4db; border-radius: 8px; background: #fffefa; padding: 10px 14px; }
.date-icon { color: var(--olive); font-size: 21px; }
.dashboard-date small, .dashboard-date strong { display: block; }
.dashboard-date small { color: #8c8f85; font-size: 9px; }
.dashboard-date strong { color: #4b5242; font-size: 11px; margin-top: 3px; }
.dashboard > .privacy-notice { margin-top: 23px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.stat-card { min-height: 119px; padding: 18px 19px; border: 1px solid #e5e5dd; border-radius: 9px; background: #fffefa; }
.stat-highlight { background: #f1f3eb; border-color: #e3e8da; }
.stat-label { display: flex; align-items: center; justify-content: space-between; color: #666b5f; font-size: 10px; font-weight: 600; }
.stat-icon { color: #808e70; font-size: 16px; }
.stat-value { display: block; color: var(--olive-deep); font: 600 30px Georgia, serif; margin-top: 12px; }
.stat-card > small { display: block; color: #8a8d83; font-size: 9px; margin-top: 2px; }
.dashboard-section { margin-top: 48px; }
.dashboard-section-heading { align-items: center; }
.dashboard-section-heading h2 { font-size: 28px; }
.inline-controls { display: flex; align-items: center; gap: 9px; }
.search-control { display: flex; align-items: center; gap: 7px; width: 185px; height: 37px; border: 1px solid #dedfd7; border-radius: 6px; padding: 0 9px; color: #8b8d84; background: #fffefa; }
.search-control > span { font-size: 19px; }
.search-control input { min-height: 30px; padding: 0; border: 0; background: transparent; font-size: 10px; box-shadow: none; }
.search-control input:focus { box-shadow: none; }
.inline-controls > select { width: 144px; min-height: 37px; padding: 7px 9px; font-size: 10px; }
.dashboard-orders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.dashboard-order-card { border: 1px solid #e5e5dd; border-radius: 9px; background: #fffefa; padding: 16px; }
.dashboard-order-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.order-created { color: #97998f; font-size: 9px; }
.dashboard-order-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 13px 15px; align-items: start; margin-top: 17px; }
.customer-identity { display: flex; align-items: center; gap: 9px; min-width: 0; }
.customer-avatar { width: 34px; height: 34px; flex: none; display: grid; place-items: center; color: var(--olive); background: #e8ebdf; border-radius: 50%; font: 600 15px Georgia, serif; }
.customer-identity h3 { color: #353a31; font-size: 12px; margin: 0 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-identity a { color: #82867b; font-size: 9px; }
.order-plan-details strong, .order-plan-details span, .order-area strong, .order-area small { display: block; }
.order-plan-details strong, .order-area strong { color: #4c5345; font-size: 10px; }
.order-plan-details span, .order-area small { color: #888b81; font-size: 9px; line-height: 1.5; margin-top: 4px; }
.detail-label { color: #a0a197; display: block; font-size: 8px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .08em; }
.customer-request { background: #f8f6ef; border-radius: 5px; padding: 9px 11px; margin-top: 12px; }
.request-label { color: #86764f; display: block; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.customer-request p { color: #68675d; font-size: 10px; line-height: 1.55; margin: 4px 0 0; }
.approval-form { display: flex; align-items: end; justify-content: space-between; gap: 8px; border-top: 1px solid #edede6; margin-top: 15px; padding-top: 12px; }
.approval-form label > span { display: block; color: #777b70; font-size: 9px; font-weight: 600; margin-bottom: 5px; }
.approval-form input { width: 148px; min-height: 35px; padding: 6px 8px; font-size: 10px; }
.order-active-footer { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #edeee7; padding-top: 12px; margin-top: 14px; color: #777c70; font-size: 9px; }
.order-active-footer strong { color: var(--olive); }
.prep-section { border-top: 1px solid #e4e4dc; padding-top: 39px; }
.prep-heading { align-items: end; }
.prep-heading > div > p { margin-top: 7px; }
.date-control { display: flex; align-items: center; gap: 8px; color: #6f7468; font-size: 9px; }
.date-control input { width: 145px; min-height: 37px; padding: 6px 8px; font-size: 10px; }
.prep-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.prep-total { display: flex; align-items: baseline; gap: 9px; background: #eef0e7; border-radius: 6px; padding: 11px 14px; }
.prep-total strong { color: var(--olive-deep); font: 600 19px Georgia, serif; }
.prep-total span { color: #72766a; font-size: 9px; }
.prep-chart { border: 1px solid #e5e5dd; border-radius: 9px; background: #fffefa; overflow: hidden; margin-top: 13px; }
.chart-heading { min-height: 36px; display: grid; grid-template-columns: 1fr 155px 115px; align-items: center; padding: 0 16px; color: #97998f; background: #fafaf6; border-bottom: 1px solid #e9e9e2; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.chart-row { display: grid; grid-template-columns: 1fr 155px 115px; align-items: center; gap: 8px; border-bottom: 1px solid #eeeeea; padding: 11px 16px; }
.chart-row:last-child { border-bottom: 0; }
.chart-meal { display: flex; align-items: center; gap: 11px; min-width: 0; }
.meal-rank { color: #a7ab9b; font-size: 8px; font-weight: 700; }
.chart-meal strong { color: #444a3e; font-size: 10px; }
.chart-quantity { display: flex; align-items: center; gap: 10px; }
.chart-quantity > strong { color: var(--olive); min-width: 13px; font: 600 15px Georgia, serif; }
.quantity-track { display: block; width: 100%; height: 5px; overflow: hidden; border-radius: 9px; background: #e9ebdf; }
.quantity-track > span { display: block; height: 100%; border-radius: inherit; background: #83936d; }
.chart-customer-toggle { display: flex; align-items: center; justify-content: space-between; gap: 5px; border: 0; background: none; color: #72776a; padding: 4px 0; font-size: 9px; text-align: left; }
.chart-customer-toggle:hover { color: var(--olive); }
.chart-customer-toggle > span { font-size: 13px; }
.chart-customers { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; padding: 4px 0 2px 27px; }
.chart-customers[hidden] { display: none; }
.chart-customer { border-left: 2px solid #cdd4c1; padding: 3px 9px; }
.chart-customer strong, .chart-customer a { display: block; }
.chart-customer strong { color: #4e5547; font-size: 9px; }
.chart-customer a { color: #85897e; font-size: 8px; margin-top: 3px; }
.chart-customer p { color: #746d5b; font-size: 9px; line-height: 1.5; margin: 5px 0 0; }
.chart-customer p span { display: block; color: #a18b5f; font-size: 7px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.prep-empty { border: 0; border-radius: 0; }
.prep-detail-caption { color: #85887d; font-size: 9px; padding: 11px 2px 0; display: flex; align-items: center; gap: 8px; }
.prep-detail-caption strong { color: #535b49; }
.team-notes { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid #e4e4dc; padding-top: 31px; }
.team-notes h2 { font-size: 25px; }
.workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.workflow-steps > div { display: flex; gap: 9px; align-items: start; max-width: 190px; }
.workflow-steps > div > span { color: #9a9f8d; font-size: 9px; font-weight: 700; }
.workflow-steps p { color: #74786d; font-size: 9px; line-height: 1.6; margin: 0; }

@media (max-width: 1050px) {
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-photo { height: 180px; }
  .order-layout { gap: 42px; }
  .dashboard-order-body { grid-template-columns: 1fr 1fr; }
  .team-notes { align-items: start; flex-direction: column; }
  .workflow-steps { width: 100%; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  .page-width, .topbar { width: min(100% - 36px, 560px); }
  .topbar { height: 68px; }
  .brand img { width: 112px; }
  .topnav { gap: 18px; }
  .topnav .nav-link { height: 68px; font-size: 11px; }
  .topnav .button { display: none; }
  .mobile-dashboard-link { display: inline-flex !important; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 38px 52px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(40px, 10vw, 55px); margin-top: 15px; }
  .hero-copy > p { max-width: 390px; font-size: 13px; }
  .hero-proof { margin-top: 22px; }
  .hero-image-wrap { height: 300px; border-radius: 120px 13px 13px 13px; }
  .hero-sticker { right: 12px; bottom: 12px; padding: 10px 13px; }
  .hero-sticker strong { font-size: 15px; }
  .section { padding-block: 25px 56px; }
  .section-heading, .dashboard-section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .section-heading h2, .dashboard-section-heading h2 { font-size: 29px; }
  .section-heading > p { text-align: left; }
  .plans-grid { gap: 11px; margin-top: 21px; }
  .plan-photo { height: 124px; }
  .plan-card-content { padding: 12px 11px; }
  .plan-title-row { align-items: start; flex-direction: column; }
  .plan-title-row h3 { font-size: 13px; }
  .plan-days { font-size: 8px; }
  .plan-card-content > p { min-height: 42px; font-size: 10px; }
  .meal-counts { gap: 4px; }
  .meal-count { min-width: 0; }
  .meal-count small { font-size: 7px; }
  .plan-price > span { font-size: 8px; }
  .plan-price > strong { font-size: 16px; }
  .plan-price small { font-size: 8px; }
  .text-button { font-size: 10px; }
  .order-section { padding: 48px 0; }
  .order-layout { grid-template-columns: 1fr; gap: 25px; }
  .order-intro h2 { font-size: 39px; }
  .order-intro > p { font-size: 12px; }
  .form-card { padding: 21px 17px; }
  .my-plan-section { padding-top: 49px; }
  .demo-chip { align-self: start; }
  .customer-order-main { padding: 16px; }
  .meal-choice-form { padding: 16px; }
  .meal-choice-heading { align-items: start; flex-direction: column; gap: 6px; }
  .meal-choice-heading h4 { font-size: 18px; }
  .delivery-date-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .delivery-date-card { min-height: 94px; }
  .delivery-date-status { font-size: 7px; }
  .meal-slot { padding: 11px; }
  .meal-slot-toolbar { align-items: start; flex-direction: column; gap: 6px; }
  .meal-slot-toolbar label { width: 100%; }
  .meal-choice-card { flex-basis: 152px; }
  .meal-choice-photo { height: 104px; }
  .meal-choice-footer { align-items: start; flex-direction: column; }
  .meal-choice-footer .button { width: 100%; }
  .delivery-day-controls { align-items: stretch; flex-direction: column; }
  .delivery-day-controls .button { width: 100%; }
  .footer { min-height: 81px; flex-wrap: wrap; gap: 8px 10px; padding-block: 14px; }
  .footer img { width: 76px; }
  .footer > a { margin-left: auto; }
  .footer > small { width: 100%; margin-left: 0; }
  .dashboard { padding-block: 29px 52px; }
  .dashboard-heading { align-items: start; flex-direction: column; gap: 15px; }
  .dashboard-heading h1 { font-size: 36px; }
  .stat-grid { gap: 8px; }
  .stat-card { min-height: 105px; padding: 12px 10px; }
  .stat-label { font-size: 8px; align-items: start; }
  .stat-icon { display: none; }
  .stat-value { font-size: 26px; margin-top: 14px; }
  .stat-card > small { font-size: 8px; }
  .dashboard-section { margin-top: 36px; }
  .dashboard-section-heading h2 { font-size: 26px; }
  .inline-controls { flex-wrap: wrap; width: 100%; }
  .search-control { flex: 1; min-width: 145px; }
  .inline-controls > select { flex: 1; min-width: 130px; }
  .dashboard-orders { grid-template-columns: 1fr; }
  .dashboard-order-body { grid-template-columns: 1fr 1fr; gap: 11px; }
  .approval-form { align-items: stretch; flex-direction: column; }
  .approval-form input { width: 100%; }
  .approval-form .button { width: 100%; }
  .prep-heading { align-items: start; }
  .date-control { flex: 1; }
  .date-control input { flex: 1; }
  .prep-heading .inline-controls { display: grid; grid-template-columns: 1fr; }
  .prep-heading .button { width: 100%; }
  .prep-summary { gap: 6px; }
  .prep-total { align-items: start; flex-direction: column; gap: 3px; padding: 9px; }
  .prep-total strong { font-size: 17px; }
  .prep-total span { font-size: 8px; line-height: 1.4; }
  .chart-heading, .chart-row { grid-template-columns: minmax(0, 1fr) 65px 76px; padding-inline: 9px; gap: 5px; }
  .chart-heading { font-size: 7px; }
  .chart-meal { gap: 5px; }
  .chart-meal strong { font-size: 9px; line-height: 1.4; }
  .meal-rank { display: none; }
  .chart-quantity { gap: 5px; }
  .quantity-track { display: none; }
  .chart-customer-toggle { font-size: 8px; }
  .chart-customers { padding-left: 4px; }
  .team-notes { gap: 15px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 9px; }
  .workflow-steps > div { max-width: none; }
}

@media (max-width: 380px) {
  .page-width, .topbar { width: calc(100% - 28px); }
  .topnav { gap: 12px; }
  .topnav .nav-link { font-size: 10px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-photo { height: 185px; }
  .plan-title-row { align-items: center; flex-direction: row; }
  .plan-card-content > p { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
