:root {
  color-scheme: light;
  --bg: #f5f7f4;
  --sidebar: #10231f;
  --panel: #ffffff;
  --panel-soft: #eef3ed;
  --text: #17211d;
  --muted: #66736d;
  --line: #dfe6df;
  --green: #1f8a5b;
  --green-dark: #12603d;
  --gold: #b98229;
  --red: #c84d3f;
  --shadow: 0 18px 45px rgba(30, 45, 35, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  background: var(--sidebar);
  color: #f7fbf7;
  padding: 24px 18px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #d8b45f;
  color: #10231f;
  font-weight: 900;
}

.brand h1,
.brand p,
.topbar h2,
.eyebrow,
.panel h3,
.metric-card span,
.metric-card strong,
.metric-card em,
.script-box p {
  margin: 0;
}

.brand h1 {
  font-size: 18px;
}

.brand p {
  margin-top: 4px;
  color: #b8c5bf;
  font-size: 12px;
}

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

.nav-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #dfe9e3;
  text-align: left;
  padding: 0 13px;
  text-decoration: none;
}

.nav-item.active,
.nav-item:hover {
  background: #d8b45f;
  color: #10231f;
  font-weight: 800;
}

.side-panel {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.section-title {
  margin-bottom: 10px;
  color: #f2dfad;
  font-size: 13px;
  font-weight: 800;
}

.compact-list {
  padding-left: 18px;
  color: #d2ddd7;
  line-height: 1.8;
  font-size: 13px;
}

.workspace {
  padding: 24px;
  overflow: auto;
}

.topbar,
.topbar-actions,
.panel-heading,
.toolbar {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.eyebrow {
  margin-bottom: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.topbar h2 {
  font-size: 25px;
  letter-spacing: 0;
}

.topbar-actions,
.toolbar {
  gap: 10px;
  flex-wrap: wrap;
}

.primary-button,
.ghost-button,
.small-button {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 14px;
}

.primary-button {
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.ghost-button,
.small-button {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.small-button {
  min-height: 32px;
  font-size: 13px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

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

.mode-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 138, 91, 0.12), rgba(216, 180, 95, 0.2)),
    #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mode-hero h3,
.mode-hero p {
  margin: 0;
}

.mode-hero h3 {
  max-width: 760px;
  font-size: 25px;
}

.mode-hero p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

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

.phone-lookup {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f7faf7;
  border: 1px solid var(--line);
}

.customer-card {
  display: none;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #fff8e7;
  border: 1px solid #edd28e;
}

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

.customer-card strong {
  color: #10231f;
  font-size: 16px;
}

.customer-card p {
  margin: 0;
  color: #56635d;
  line-height: 1.6;
}

.customer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.customer-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.phone-stage {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.phone-frame {
  min-height: 720px;
  padding: 16px;
  border: 10px solid #101917;
  border-radius: 34px;
  background: #f4f6f2;
  box-shadow: 0 28px 70px rgba(12, 24, 20, 0.28);
}

.phone-status {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  color: #68746f;
  font-size: 12px;
  font-weight: 800;
}

.mini-header {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-radius: 20px;
  background: #10231f;
  color: #fff;
}

.mini-header strong {
  font-size: 20px;
}

.mini-header span,
.mini-card span,
.mini-grid span,
.mini-stock-list span {
  color: #74817b;
  font-size: 12px;
}

.mini-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 14px 0;
}

.mini-tab {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: #e3e9e3;
  color: #46534d;
  font-size: 13px;
  font-weight: 800;
}

.mini-tab.active {
  background: var(--green);
  color: #fff;
}

.mini-page {
  display: none;
}

.mini-page.active {
  display: grid;
  gap: 12px;
}

.mini-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.mini-card.accent {
  background: #fff8e7;
  border-color: #efd394;
}

.mini-card strong {
  font-size: 18px;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mini-grid div,
.mini-stock-list div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.mini-grid strong {
  color: var(--green-dark);
  font-size: 20px;
}

.mini-primary {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.mini-secondary {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-weight: 900;
}

.kitchen-orders,
.chef-stats,
.return-trace,
.kitchen-actions,
.banquet-leads {
  display: grid;
  gap: 10px;
}

.kitchen-actions {
  grid-template-columns: 1fr 1fr;
}

.dispatch-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 13px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.dispatch-card.returned {
  background: #fff1ee;
  border-color: #f0b2a9;
}

.dispatch-card strong,
.chef-title,
.chef-stat strong,
.trace-item strong {
  color: #10231f;
}

.dispatch-card span,
.dispatch-card em,
.chef-stat span,
.trace-item span {
  display: block;
  margin-top: 4px;
  color: #68746f;
  font-size: 12px;
  line-height: 1.45;
}

.dispatch-card em {
  color: var(--green-dark);
  font-style: normal;
  font-weight: 900;
}

.dispatch-card b {
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef3ed;
  color: var(--green-dark);
  font-size: 12px;
}

.dispatch-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dispatch-actions button {
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.dispatch-actions button:last-child {
  background: #c84d3f;
}

.dispatch-actions button:disabled {
  background: #cbd5cf;
  color: #66736d;
  cursor: not-allowed;
}

.chef-stats,
.return-trace {
  padding-top: 6px;
}

.chef-title {
  font-size: 13px;
  font-weight: 900;
}

.chef-stat,
.trace-item {
  padding: 11px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

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

.parking-card {
  display: grid;
  gap: 6px;
  padding: 13px;
  border-radius: 16px;
  background: #fff8e7;
  border: 1px solid #efd394;
}

.care-card {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #f7faf7;
  border: 1px solid var(--line);
}

.care-card.compact {
  margin-bottom: 0;
  border-radius: 16px;
  background: #fff;
}

.care-card.compact p {
  margin: 0;
  color: #68746f;
  font-size: 12px;
  line-height: 1.5;
}

.care-header {
  display: grid;
  gap: 5px;
}

.care-header strong,
.care-card.compact strong {
  color: #10231f;
}

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

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 10px;
}

.care-grid div {
  padding: 11px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.care-grid b {
  display: block;
  margin-bottom: 5px;
  color: var(--green-dark);
  font-size: 13px;
}

.care-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.character-panel {
  margin-top: 16px;
}

.character-demo {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.cartoon-host {
  position: relative;
  width: 250px;
  min-height: 300px;
  margin: 0 auto;
}

.cartoon-host.photo-style img {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 35px rgba(16, 35, 31, 0.14);
}

.host-hair {
  position: absolute;
  left: 35px;
  top: 8px;
  width: 80px;
  height: 50px;
  border-radius: 50% 50% 42% 42%;
  background: #24312c;
}

.host-face {
  position: absolute;
  left: 42px;
  top: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 66px;
  height: 72px;
  padding: 23px 13px 0;
  border-radius: 28px 28px 30px 30px;
  background: #f3c8a6;
  box-shadow: inset 0 -8px 0 rgba(178, 94, 62, 0.12);
}

.host-face span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10231f;
}

.host-face i {
  grid-column: 1 / 3;
  justify-self: center;
  width: 22px;
  height: 10px;
  margin-top: 12px;
  border-bottom: 3px solid #a9433a;
  border-radius: 0 0 999px 999px;
}

.host-coat {
  position: absolute;
  left: 18px;
  top: 106px;
  width: 114px;
  height: 96px;
  border-radius: 24px 24px 14px 14px;
  background: #ffffff;
  border: 1px solid #d9e2dc;
  box-shadow: 0 18px 35px rgba(16, 35, 31, 0.12);
}

.host-coat::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 0;
  width: 38px;
  height: 96px;
  background: #1f8a5b;
  clip-path: polygon(0 0, 100% 0, 72% 100%, 28% 100%);
}

.host-coat b {
  position: absolute;
  right: -10px;
  top: 20px;
  width: 54px;
  height: 72px;
  border-radius: 8px;
  background: #fff8e7;
  border: 2px solid #d8b45f;
  transform: rotate(-4deg);
}

.host-coat b::before {
  content: "A\\A B\\A C";
  white-space: pre;
  position: absolute;
  left: 14px;
  top: 12px;
  color: #10231f;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.dialogue-stage {
  display: grid;
  gap: 12px;
}

.character-bubble {
  position: relative;
  padding: 14px 16px;
  border-radius: 18px;
  background: #10231f;
  color: #fff;
  line-height: 1.65;
  font-weight: 800;
}

.character-bubble::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 28px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 12px solid #10231f;
}

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

.combo-card {
  display: grid;
  gap: 7px;
  padding: 13px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.combo-card strong {
  color: var(--green-dark);
}

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

.combo-card button {
  min-height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.combo-card.selected {
  border-color: var(--green);
  background: #f0fbf5;
}

.character-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f7faf7;
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
}

.order-check-panel,
.wellness-panel,
.audience-panel,
.serving-panel {
  margin-top: 16px;
}

.wellness-form {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

textarea {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  resize: vertical;
}

.order-check-result,
.wellness-result,
.serving-grid {
  display: grid;
  gap: 10px;
}

.analysis-card,
.serving-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: #f7faf7;
  border: 1px solid var(--line);
}

.analysis-card strong,
.serving-card strong {
  color: #10231f;
}

.analysis-card p,
.analysis-card em,
.serving-card p,
.serving-card span,
.serving-card em {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
}

.analysis-card em,
.serving-card em {
  color: var(--green-dark);
  font-style: normal;
  font-weight: 800;
}

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

.serving-card button {
  justify-self: start;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.parking-card strong {
  color: #10231f;
}

.parking-card span,
.parking-card p {
  margin: 0;
  color: #68746f;
  font-size: 12px;
  line-height: 1.5;
}

.parking-card em {
  justify-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.banquet-card strong {
  color: #10231f;
}

.banquet-card span,
.banquet-card p,
.sms-preview {
  margin: 4px 0 0;
  color: #68746f;
  font-size: 12px;
  line-height: 1.5;
}

.sms-preview {
  padding: 10px;
  border-radius: 12px;
  background: #fff8e7;
  border: 1px solid #efd394;
}

.banquet-card button {
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.banquet-card em {
  justify-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef3ed;
  color: var(--green-dark);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.banquet-scan {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.gap-summary {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 16px;
  background: #fff8e7;
  border: 1px solid #efd394;
}

.gap-summary strong {
  color: #10231f;
}

.gap-summary span {
  color: #68746f;
  font-size: 12px;
  line-height: 1.5;
}

.mini-stock-list {
  display: grid;
  gap: 10px;
}

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

.client-host-card img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.mini-combo-grid {
  display: grid;
  gap: 10px;
}

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

.mini-combo-card.selected {
  background: #f0fbf5;
  border-color: var(--green);
}

.mini-combo-card strong {
  color: var(--green-dark);
}

.mini-combo-card span {
  color: #68746f;
  font-size: 12px;
  line-height: 1.45;
}

.mini-combo-card button {
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.client-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.mini-stock-list div {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.mini-stock-list span {
  grid-column: 1 / 2;
}

.mini-stock-list em {
  grid-row: 1 / 3;
  grid-column: 2 / 3;
  align-self: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fde8e4;
  color: var(--red);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.feature-list,
.logic-steps,
.incentive-grid {
  display: grid;
  gap: 12px;
}

.feature-list div,
.logic-step,
.incentive-grid article {
  padding: 14px;
  border-radius: 8px;
  background: #f7faf7;
  border: 1px solid var(--line);
}

.feature-list p,
.logic-step p,
.incentive-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.incentive-panel {
  margin-top: 16px;
}

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

.ppt-shell {
  min-height: 720px;
  padding: 18px;
  border-radius: 8px;
  background: #0f1b18;
  box-shadow: var(--shadow);
}

.ppt-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #fff;
}

.slide {
  display: none;
  min-height: 610px;
  padding: 54px;
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(216, 180, 95, 0.95), rgba(255, 255, 255, 0.88)),
    #f7f0dd;
  color: #10231f;
}

.slide.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide span {
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 900;
}

.slide h3 {
  max-width: 880px;
  margin: 20px 0 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

.slide p {
  max-width: 760px;
  margin: 0;
  color: #33413b;
  font-size: 24px;
  line-height: 1.55;
}

.logic-panel {
  margin-top: 16px;
}

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

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
}

.metric-card span,
.panel-heading span,
label,
.dish-meta,
.risk-note,
.summary-box,
.daily-report {
  color: var(--muted);
}

.metric-card strong {
  color: var(--green-dark);
  font-size: 28px;
}

.metric-card em {
  font-style: normal;
  font-size: 13px;
}

.two-column,
.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 16px;
}

.panel {
  padding: 18px;
}

.panel-heading {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel h3 {
  font-size: 18px;
}

.advice-list {
  display: grid;
  gap: 10px;
}

.advice-item {
  padding: 13px;
  border-radius: 8px;
  background: var(--panel-soft);
  border-left: 4px solid var(--green);
}

.advice-item strong {
  display: block;
  margin-bottom: 4px;
}

.script-box {
  display: grid;
  gap: 12px;
  line-height: 1.75;
}

.form-grid,
.settings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 11px;
}

.recommend-cards {
  display: grid;
  gap: 10px;
}

.dish-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dish-card strong {
  font-size: 16px;
}

.dish-card .tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef3ed;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.tag.warning {
  background: #fff1d8;
  color: #8b5a12;
}

.tag.danger {
  background: #fde8e4;
  color: var(--red);
}

.summary-box {
  line-height: 1.8;
}

.summary-box strong {
  color: var(--text);
}

.data-table {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  white-space: nowrap;
}

th {
  background: #f0f4f0;
  color: #34423b;
  font-size: 13px;
}

.risk-high {
  color: var(--red);
  font-weight: 900;
}

.risk-mid {
  color: var(--gold);
  font-weight: 900;
}

.daily-report {
  display: grid;
  gap: 14px;
  line-height: 1.8;
}

.report-section {
  padding: 14px;
  border-radius: 8px;
  background: #f7faf7;
  border: 1px solid var(--line);
}

.report-section strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  transform: translateY(20px);
  padding: 12px 16px;
  border-radius: 8px;
  background: #10231f;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .metric-grid,
  .two-column,
  .result-layout,
  .form-grid,
  .settings-grid,
  .mode-hero,
  .phone-stage,
  .phone-lookup,
  .incentive-grid,
  .care-grid,
  .wellness-form,
  .serving-grid,
  .character-demo,
  .combo-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    max-width: 390px;
    min-height: 640px;
  }
}
