:root {
  --bg: #f5efe5;
  --surface: #ffffff;
  --surface-alt: #f7f2ea;
  --text: #0f1f2a;
  --muted: #5c6a73;
  --accent: #0a9396;
  --accent-strong: #045a60;
  --accent-soft: #d1f4ef;
  --danger: #b91c1c;
  --card: #ffffff;
  --border: #e6d9c6;
  --brand: #0a9396;
  --shadow-soft: 0 10px 26px rgba(15, 26, 36, 0.1);
  --shadow-card: 0 18px 42px rgba(15, 26, 36, 0.12);
}

body {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, #fff7ef 0%, transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(10, 147, 150, 0.16) 0%, transparent 52%),
    linear-gradient(180deg, var(--bg) 0%, #fdf8f1 55%, #f4ede2 100%);
  color: var(--text);
}

h1,
h2,
h3,
.brand,
.nav-label {
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 239, 229, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230, 217, 198, 0.7);
  box-shadow: 0 12px 28px rgba(15, 26, 36, 0.08);
}

.brand {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-logo {
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(15, 26, 36, 0.12);
}

.main-nav {
  gap: 14px;
}

.main-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(230, 217, 198, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent-strong);
  border-color: var(--accent);
  box-shadow: 0 10px 18px rgba(15, 26, 36, 0.08);
  transform: translateY(-1px);
}

.main-nav a.is-active {
  background: linear-gradient(135deg, var(--accent) 0%, #6ec6ca 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(10, 147, 150, 0.25);
}

.nav-toggle {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(230, 217, 198, 0.9);
  color: var(--accent-strong);
  box-shadow: 0 10px 18px rgba(15, 26, 36, 0.08);
}

.nav-toggle:hover {
  border-color: var(--accent);
}

.content {
  padding: 28px;
}

.card,
.wizard-card,
.map-panel,
.rider-panel,
.rider-card,
.telephony-row,
.order-card,
.context-bar__item {
  border-radius: 16px;
  border: 1px solid rgba(230, 217, 198, 0.9);
  box-shadow: var(--shadow-soft);
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f1 100%);
}

.order-card {
  background: #ffffff;
}

.status-pill {
  letter-spacing: 0.02em;
}

.pill {
  background: rgba(10, 147, 150, 0.1);
  color: var(--accent-strong);
}

.pill-phone {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
  position: relative;
}

.toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.toggle__track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.6);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.toggle__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 12px rgba(15, 26, 36, 0.15);
  transition: transform 0.2s ease;
}

.toggle__label {
  font-size: 13px;
  color: var(--text);
}

.toggle input:checked + .toggle__track {
  background: linear-gradient(135deg, var(--accent) 0%, #6ec6ca 100%);
  border-color: transparent;
}

.toggle input:checked + .toggle__track::after {
  transform: translateX(20px);
}

.toggle input:focus-visible + .toggle__track {
  box-shadow: 0 0 0 3px rgba(10, 147, 150, 0.25);
}

button,
.button {
  background: linear-gradient(135deg, var(--accent) 0%, #5fd0c8 100%);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(10, 147, 150, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

button:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(10, 147, 150, 0.24);
  filter: saturate(1.05);
}

button:active,
.button:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(10, 147, 150, 0.2);
}

button.danger,
.danger {
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
  box-shadow: 0 12px 24px rgba(185, 28, 28, 0.2);
}

.ghost-button,
.context-bar__btn.ghost {
  border-radius: 999px;
  border: 1px solid rgba(10, 147, 150, 0.45);
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.8);
}

.ghost-button:hover {
  border-color: var(--accent);
}

select,
input,
textarea {
  border-radius: 12px;
  border: 1px solid rgba(230, 217, 198, 0.9);
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 147, 150, 0.18);
}

.chip {
  border-radius: 999px;
  background: rgba(10, 147, 150, 0.12);
  color: var(--accent-strong);
}

.context-bar {
  background: rgba(245, 239, 229, 0.86);
  backdrop-filter: blur(10px);
}

.context-bar__btn {
  background: linear-gradient(135deg, var(--accent) 0%, #6ec6ca 100%);
  border-radius: 999px;
}

.call-pop {
  background: #0f1f2a;
  border-radius: 18px;
}

.call-pop__btn {
  border-radius: 999px;
}

.call-pop__dismiss,
.call-pop__snooze {
  border-radius: 999px;
}

.dashboard-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dashboard-shell > section {
  order: 10;
}

.dashboard-shell > .dashboard-hero {
  order: 1;
}

.dashboard-shell > .ops-shell--primary {
  order: 2;
}

.dashboard-shell > .section-map {
  order: 3;
}

.dashboard-shell > section + section {
  margin-top: 4px;
}

.section-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(230, 217, 198, 0.8);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.section-header h2 {
  margin: 0 0 4px;
}

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

.section-card .map-panel {
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.section-card #orders-map {
  min-height: 360px;
  border-radius: 16px;
}

.map-toolbar {
  display: flex;
  gap: 8px;
  padding: 10px 12px 0;
  align-items: center;
  flex-wrap: wrap;
}

.dashboard-shell .rider-panel {
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  max-height: 560px;
  overflow: auto;
}

.dashboard-shell .rider-list {
  gap: 12px;
}

.dashboard-shell .rider-card {
  border-radius: 16px;
  background: #ffffff;
}

.dashboard-shell .ops-board {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dashboard-shell .ops-column {
  position: relative;
  padding-top: 18px;
  border-radius: 18px;
}

.dashboard-shell .ops-column::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 12px;
  right: 12px;
  height: 4px;
  border-radius: 999px;
  background: var(--col, rgba(15, 23, 42, 0.08));
}

.dashboard-shell .ops-column__head {
  color: var(--text);
}

.dashboard-shell .ops-column[data-column="NEW"] {
  --col: #ef4444;
}

.dashboard-shell .ops-column[data-column="KITCHEN"] {
  --col: #f97316;
}

.dashboard-shell .ops-column[data-column="READY"] {
  --col: #3b82f6;
}

.dashboard-shell .ops-column[data-column="ASSIGNED"] {
  --col: #8b5cf6;
}

.dashboard-shell .ops-column[data-column="ROUTE"] {
  --col: #14b8a6;
}

.dashboard-shell .ops-column[data-column="DONE"] {
  --col: #0f172a;
}

.dashboard-shell .order-card {
  border-left: 4px solid transparent;
}

.dashboard-shell .order-card[data-status-group="NEW"] {
  border-left-color: #ef4444;
}

.dashboard-shell .order-card[data-status-group="KITCHEN"] {
  border-left-color: #f97316;
}

.dashboard-shell .order-card[data-status-group="READY"] {
  border-left-color: #3b82f6;
}

.dashboard-shell .order-card[data-status-group="ASSIGNED"] {
  border-left-color: #8b5cf6;
}

.dashboard-shell .order-card[data-status-group="ROUTE"] {
  border-left-color: #14b8a6;
}

.dashboard-shell .order-card[data-status-group="DONE"] {
  border-left-color: #0f172a;
}

.dashboard-shell .order-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 26, 36, 0.12);
}

.dashboard-row {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
}

.dashboard-stack {
  display: grid;
  gap: 16px;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(230, 217, 198, 0.8);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.hourly-chart {
  display: grid;
  grid-template-columns: repeat(24, minmax(10px, 1fr));
  align-items: end;
  gap: 6px;
  height: 150px;
  padding-top: 6px;
}

.hour-bar {
  display: grid;
  align-items: end;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

.hour-bar__fill {
  height: var(--bar);
  min-height: 6px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, rgba(10, 147, 150, 0.9), rgba(10, 147, 150, 0.25));
}

.hour-bar__label {
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

.queue-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.queue-grid span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.queue-grid strong {
  font-size: 18px;
}

.telephony-kpis {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  margin: 10px 0 12px;
}

.telephony-kpi {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
  position: relative;
  overflow: hidden;
}

.telephony-kpi span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.telephony-kpi strong {
  font-size: 26px;
  line-height: 1;
}

.telephony-kpi small {
  font-size: 12px;
}

.telephony-kpi.is-live {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(236, 253, 245, 0.9);
}

.telephony-kpi.is-warn {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(255, 251, 235, 0.92);
}

.telephony-kpi.is-danger {
  border-color: rgba(239, 68, 68, 0.55);
  background: rgba(254, 242, 242, 0.92);
}

.telephony-summary {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(220px, 0.85fr) minmax(260px, 1fr) minmax(220px, 0.85fr);
  margin-bottom: 12px;
}

.telephony-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(230, 217, 198, 0.85);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.telephony-search {
  flex: 1 1 280px;
}

.telephony-search input {
  width: 100%;
  min-width: 240px;
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(230, 217, 198, 0.9);
  background: rgba(255, 255, 255, 0.95);
}

.telephony-hint {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.telephony-pbx-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}

.telephony-pbx-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background:
    radial-gradient(circle at 90% 0%, rgba(110, 198, 202, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.telephony-pbx-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.telephony-pbx-card strong {
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.05;
}

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

.telephony-pbx-card--future {
  border-color: rgba(245, 158, 11, 0.32);
  background:
    radial-gradient(circle at 92% 12%, rgba(245, 158, 11, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.94));
}

.telephony-pbx-card--assistant {
  border-color: rgba(16, 185, 129, 0.32);
  background:
    radial-gradient(circle at 92% 12%, rgba(16, 185, 129, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.94));
}

.telephony-assistant-panel {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1fr);
  gap: 14px;
  align-items: stretch;
  margin: 0 0 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 118, 110, 0.86)),
    #0f172a;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  color: #ffffff;
}

.telephony-assistant-panel .section-kicker {
  color: #99f6e4;
}

.telephony-assistant-panel h2,
.telephony-assistant-panel p {
  margin: 0;
}

.telephony-assistant-panel h2 {
  color: #ffffff;
  font-size: 24px;
}

.telephony-assistant-panel p {
  max-width: 680px;
  color: rgba(226, 232, 240, 0.86);
}

.telephony-assistant-panel__main {
  display: grid;
  align-content: center;
  gap: 8px;
}

.telephony-assistant-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.telephony-assistant-rules article {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.telephony-assistant-rules span {
  color: rgba(226, 232, 240, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.telephony-assistant-rules strong {
  color: #ffffff;
  font-size: 20px;
}

.telephony-jump a {
  text-decoration: none;
}

.telephony-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.telephony-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.telephony-filters .chip {
  border: 1px solid rgba(230, 217, 198, 0.9);
  background: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.telephony-filters .chip.is-active {
  background: linear-gradient(135deg, var(--accent) 0%, #6ec6ca 100%);
  color: #ffffff;
  border-color: transparent;
}

.telephony-card {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.26);
}

.telephony-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: start;
}

.telephony-card--status {
  background: #f8fafc;
}

.telephony-card--me.is-live {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(236, 253, 245, 0.88);
}

.telephony-card--primary {
  border-color: rgba(15, 23, 42, 0.12);
}

.telephony-card--team {
  position: sticky;
  top: 74px;
  z-index: 3;
}

.telephony-card__meta {
  display: grid;
  gap: 6px;
}

.telephony-card__meta p {
  margin: 0;
}

.telephony-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  align-items: center;
  padding: 9px 10px;
}

.telephony-row[data-state="RINGING"],
.telephony-row[data-call-state="RINGING"] {
  border-left: 4px solid #f59e0b;
}

.telephony-row[data-state="IN_CALL"],
.telephony-row[data-call-state="IN_CALL"] {
  border-left: 4px solid #10b981;
}

.telephony-row__meta {
  color: var(--muted);
}

.telephony-row__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.telephony-queue__item {
  background: rgba(248, 250, 252, 0.8);
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(230, 217, 198, 0.7);
}

.telephony-queue {
  gap: 10px;
}

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

.telephony-collapse {
  gap: 0;
}

.telephony-collapse > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.telephony-collapse > summary::-webkit-details-marker {
  display: none;
}

.telephony-collapse__title {
  display: grid;
  gap: 4px;
}

.telephony-collapse__title h2,
.telephony-collapse__title p {
  margin: 0;
}

.telephony-collapse__body {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(230, 217, 198, 0.85);
}

.telephony-inline-form {
  align-items: center;
}

.telephony-inline-form input {
  min-width: 180px;
}

@media (max-width: 980px) {
  .telephony-kpis,
  .telephony-pbx-strip,
  .telephony-summary {
    grid-template-columns: 1fr 1fr;
  }

  .telephony-assistant-panel {
    grid-template-columns: 1fr;
  }

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

  .telephony-card--team {
    position: static;
  }

  .telephony-row {
    grid-template-columns: 1fr;
  }

  .telephony-row__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .telephony-collapse > summary {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .telephony-kpis,
  .telephony-pbx-strip,
  .telephony-summary {
    grid-template-columns: 1fr;
  }
}

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

.ranking-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(230, 217, 198, 0.85);
  background: rgba(255, 255, 255, 0.85);
}

.ranking-pos {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-strong);
  background: rgba(10, 147, 150, 0.12);
  padding: 4px 8px;
  border-radius: 999px;
}

.ranking-info {
  display: grid;
  gap: 2px;
}

.ranking-info strong {
  font-size: 14px;
}

.ranking-metrics {
  display: grid;
  gap: 2px;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}

.filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-chips .chip {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  border: 1px solid rgba(230, 217, 198, 0.9);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.filter-chips .chip.is-active {
  background: linear-gradient(135deg, var(--accent) 0%, #6ec6ca 100%);
  color: #ffffff;
  border-color: transparent;
}

@media (max-width: 1200px) {
  .ranking-row {
    flex-wrap: wrap;
  }

  .ranking-metrics {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 980px) {
  .work-start-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hourly-chart {
    grid-template-columns: repeat(12, minmax(12px, 1fr));
  }

  .hour-bar__label {
    display: none;
  }
}
@media (max-width: 980px) {
  .dashboard-shell .rider-panel {
    max-height: none;
  }
}

@media (max-width: 620px) {
  .work-start-panel {
    grid-template-columns: 1fr;
  }
}

.customer-profile {
  display: grid;
  gap: 18px;
}

.customer-hero {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    radial-gradient(circle at 8% 10%, rgba(20, 184, 166, .18), transparent 28%),
    linear-gradient(135deg, #101827 0%, #1f3d3b 52%, #f5efe5 100%);
  color: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .14);
}

.customer-hero h1 {
  margin: 4px 0 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: .95;
}

.customer-hero .eyebrow {
  color: #b7f4e7;
}

.customer-hero__meta,
.customer-hero__actions,
.customer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.customer-hero__meta span {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .08);
  font-weight: 800;
}

.warn-chip {
  background: #fff1c2 !important;
  color: #7a3b00 !important;
  border-color: rgba(122, 59, 0, .22) !important;
}

.customer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 18px;
  align-items: start;
}

.customer-side {
  display: grid;
  gap: 18px;
}

.customer-card {
  padding: 20px;
  border-radius: 20px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.customer-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.customer-form label {
  display: grid;
  gap: 7px;
  font-weight: 850;
  color: #344054;
}

.customer-form .full {
  grid-column: 1 / -1;
}

.customer-form input,
.customer-form textarea,
.customer-form select {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #d7dee8;
  padding: 10px 12px;
  background: #fff;
  color: #111827;
  font: inherit;
}

.customer-form textarea {
  min-height: 100px;
  resize: vertical;
}

.customer-details {
  border: 1px solid #dfe6ef;
  border-radius: 16px;
  background: #f8fafc;
  padding: 0;
  overflow: hidden;
}

.customer-details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 950;
}

.customer-details summary::-webkit-details-marker {
  display: none;
}

.customer-details summary strong {
  border-radius: 999px;
  background: #e9f3f1;
  color: #14635b;
  padding: 6px 9px;
  font-size: 12px;
}

.voice-preference-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr);
  gap: 14px;
  padding: 0 14px 14px;
  align-items: end;
}

.voice-language-select {
  display: grid;
  gap: 7px;
  font-weight: 850;
  color: #344054;
}

.voice-readout {
  min-height: 42px;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  background: #fff;
  padding: 8px 12px;
  display: grid;
  gap: 2px;
}

.voice-readout span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.voice-readout strong {
  color: #111827;
  font-size: 14px;
}

.allergen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  padding: 0 14px 14px;
}

.check-chip {
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  padding: 9px 11px;
  background: #fff;
  display: flex !important;
  grid-template-columns: auto 1fr;
  gap: 8px !important;
  align-items: center;
  font-weight: 850;
}

.address-list,
.order-history {
  display: grid;
  gap: 10px;
}

.address-card,
.mini-order,
.history-row {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 6px;
  background: #fff;
}

.address-card span,
.address-card small,
.history-row span,
.history-row small,
.mini-order span {
  color: #667085;
}

.history-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.history-row__end {
  display: flex;
  gap: 10px;
  align-items: center;
}

.danger-zone {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf2f7;
}

.empty-state {
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 18px;
  color: #667085;
  background: #f8fafc;
}

.dashboard-shell .ops-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
  gap: 16px;
}

.dashboard-shell .ops-column {
  min-width: 0;
  border-radius: 18px;
}

.dashboard-shell .ops-card {
  font-size: 14px;
  border-radius: 16px;
}

.dashboard-shell .ops-card__title,
.dashboard-shell .ops-card strong {
  font-size: 16px;
}

.dashboard-shell .rush-panel,
.dashboard-shell .ops-group-strip {
  display: none;
}

.dashboard-shell .ops-filters a[href*="status=DONE"] {
  display: none;
}

.delivery-cash-panel {
  border-radius: 22px;
}

.delivery-cash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}

.delivery-cash-card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 15px;
  display: grid;
  gap: 12px;
  background: #fff;
}

.delivery-cash-card.needs-drop {
  border-color: #fca5a5;
  background: linear-gradient(180deg, #fff7f7, #fff);
}

.delivery-cash-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.delivery-cash-card__head span {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-weight: 750;
}

.delivery-cash-card__head b {
  border-radius: 999px;
  padding: 8px 10px;
  background: #ecfdf5;
  color: #047857;
  white-space: nowrap;
}

.delivery-cash-alert {
  margin: 0;
  border-radius: 12px;
  padding: 9px 11px;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 950;
}

.delivery-cash-actions {
  display: grid;
  gap: 10px;
}

.delivery-cash-actions form {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(120px, auto) auto;
  gap: 8px;
  align-items: center;
}

.delivery-cash-actions input,
.delivery-cash-actions select {
  min-height: 40px;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  padding: 9px 10px;
  background: #fff;
  color: #111827;
}

@media (max-width: 980px) {
  .customer-hero,
  .history-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .customer-grid,
  .customer-form,
  .voice-preference-panel {
    grid-template-columns: 1fr;
  }
}

.stock-workspace {
  display: grid;
  gap: 18px;
}

.stock-hero {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, .22), transparent 26%),
    linear-gradient(135deg, #111827 0%, #233b43 50%, #eaf7ef 100%);
  color: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .12);
}

.stock-hero h1 {
  margin: 3px 0 6px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: .92;
}

.stock-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, .78);
}

.stock-hero .eyebrow {
  color: #bef7df;
}

.stock-hero__actions,
.stock-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.stock-kpi {
  border: 1px solid #e1e7ef;
  border-radius: 20px;
  padding: 17px;
  background: #fff;
  display: grid;
  gap: 4px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .05);
}

.stock-kpi span {
  color: #667085;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.stock-kpi strong {
  font-size: 34px;
  line-height: 1;
}

.stock-kpi small {
  color: #667085;
  font-weight: 750;
}

.stock-kpi.is-danger {
  border-color: #fecaca;
  background: #fff7f7;
}

.stock-kpi.is-warning {
  border-color: #fde68a;
  background: #fffbeb;
}

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

.stock-alert-strip > div {
  border: 1px solid #fed7aa;
  border-radius: 18px;
  padding: 15px;
  background: #fff7ed;
}

.stock-alert-strip strong {
  color: #9a3412;
}

.stock-alert-strip p {
  margin: 5px 0 0;
  color: #7c2d12;
  font-weight: 800;
}

.stock-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 18px;
  align-items: stretch;
}

.stock-panel {
  border-radius: 22px;
  padding: 20px;
}

.stock-panel--primary {
  border-color: #bfe9dd;
  background:
    linear-gradient(180deg, rgba(236, 253, 245, .62), rgba(255, 255, 255, .96));
}

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

.stock-fast-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 900;
}

.stock-fast-form .full {
  grid-column: 1 / -1;
}

.stock-fast-form input,
.stock-fast-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d7dee8;
  border-radius: 14px;
  padding: 11px 13px;
  background: #fff;
  color: #111827;
  font: inherit;
}

.check-card {
  flex: 1 1 220px;
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  padding: 13px;
  background: #fff;
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px !important;
}

.check-card small {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-weight: 700;
}

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

.stock-move {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  background: #fff;
}

.stock-move span,
.stock-move small {
  display: block;
  color: #667085;
  margin-top: 3px;
}

.stock-move b {
  border-radius: 999px;
  padding: 7px 10px;
  background: #ecfdf5;
  color: #047857;
}

@media (max-width: 980px) {
  .stock-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .stock-kpi-grid,
  .stock-alert-strip,
  .stock-main-grid,
  .stock-fast-form {
    grid-template-columns: 1fr;
  }

  .delivery-cash-actions form {
    grid-template-columns: 1fr;
  }
}

.summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 16px 0 20px;
}

.summary-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(230, 217, 198, 0.9);
  border-radius: 16px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow-soft);
}

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

.summary-card strong {
  font-size: 20px;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: end;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.category-quick-card {
  background: linear-gradient(135deg, rgba(10, 147, 150, 0.12), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(10, 147, 150, 0.24);
}

.category-quick-form {
  align-items: end;
}

.product-form--guided {
  gap: 14px;
}

.product-listing {
  gap: 12px;
}

.product-card {
  overflow: hidden;
}

.product-card > summary {
  list-style: none;
  cursor: pointer;
}

.product-card > summary::-webkit-details-marker {
  display: none;
}

.product-summary--card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 2px 0;
}

.product-summary__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.product-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(230, 217, 198, 0.9);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 26, 36, 0.16);
  flex-shrink: 0;
}

.product-summary__identity .stack {
  gap: 4px;
}

.product-summary__badges {
  justify-content: flex-end;
}

.product-card__body {
  border-top: 1px solid rgba(230, 217, 198, 0.85);
  padding-top: 10px;
}

.badge.ok {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.32);
  color: #0f766e;
}

.badge.danger {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

@media (max-width: 900px) {
  .product-summary--card {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-summary__badges {
    justify-content: flex-start;
  }
}

.wizard-head {
  border: 1px solid rgba(10, 147, 150, 0.25);
  border-radius: 14px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(10, 147, 150, 0.08), rgba(255, 255, 255, 0.88));
}

.wizard-choices {
  align-items: center;
  gap: 8px;
}

.wizard-progress {
  gap: 8px;
}

.wizard-chip {
  border-radius: 999px;
  border: 1px solid rgba(10, 147, 150, 0.25);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  box-shadow: none;
}

.wizard-chip.is-active {
  background: linear-gradient(135deg, var(--accent) 0%, #6ec6ca 100%);
  border-color: transparent;
  color: #ffffff;
}

.wizard-chip.is-done {
  background: rgba(10, 147, 150, 0.12);
  border-color: rgba(10, 147, 150, 0.45);
  color: var(--accent-strong);
}

.wizard-nav {
  align-items: center;
  justify-content: space-between;
}

.wizard-feedback {
  min-height: 20px;
  margin: 0;
}

.wizard-feedback.is-info {
  color: var(--muted);
}

.wizard-feedback.is-ok {
  color: #0f766e;
}

.wizard-feedback.is-error {
  color: var(--danger);
  font-weight: 600;
}

.wizard-actions {
  gap: 8px;
}

.product-step {
  border: 1px solid rgba(230, 217, 198, 0.9);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.product-step h3 {
  margin: 0;
  font-size: 15px;
}

.product-step .muted {
  margin: 0;
}

.day-picker label {
  min-width: 34px;
  justify-content: center;
}

[data-availability-custom],
[data-preorder-fields],
[data-ready-times-fields],
[data-menu-fields] {
  margin-top: 4px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.form-accordion {
  border: 1px dashed rgba(148, 163, 184, 0.6);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.7);
}

.form-accordion summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.rider-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rider-create-card {
  background: linear-gradient(135deg, rgba(10, 147, 150, 0.12), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(10, 147, 150, 0.2);
}

.rider-section {
  border: 1px solid rgba(230, 217, 198, 0.85);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.rider-section summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.stock-card {
  display: grid;
  gap: 12px;
}

.table-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(230, 217, 198, 0.85);
  border-radius: 16px;
  padding: 8px 10px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.table-card .table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(10, 147, 150, 0.08);
}

.table-card .table td,
.table-card .table th {
  padding: 10px;
}

.table-card .table tr:last-child td {
  border-bottom: none;
}

.ops-shell {
  gap: 18px;
}

.ops-toolbar {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(230, 217, 198, 0.85);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: var(--shadow-soft);
}

.ops-filters .chip {
  border: 1px solid rgba(230, 217, 198, 0.9);
  background: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.ops-filters .chip.is-active {
  background: linear-gradient(135deg, var(--accent) 0%, #6ec6ca 100%);
  color: #ffffff;
  border-color: transparent;
}

.ops-search {
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid rgba(230, 217, 198, 0.9);
  background: rgba(255, 255, 255, 0.9);
}

.ops-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.ops-compact-toggle.is-active {
  background: #0f172a;
  color: #ffffff;
  border-color: transparent;
}

.ops-board {
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ops-column {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  border: 1px solid rgba(230, 217, 198, 0.85);
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

.ops-column__head {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.ops-column__head .badge {
  background: var(--accent);
  color: #ffffff;
}

.order-card {
  border-radius: 16px;
  border: 1px solid rgba(230, 217, 198, 0.9);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 26px rgba(15, 26, 36, 0.08);
}

.order-card__head h3 {
  margin: 0;
  font-size: 14px;
}

.order-timer {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(10, 147, 150, 0.12);
  color: var(--accent-strong);
  font-weight: 600;
}

.order-timer.is-late {
  background: rgba(239, 68, 68, 0.18);
  color: #991b1b;
}

.order-card__meta {
  font-size: 11px;
  color: var(--muted);
}

.order-card__details {
  font-size: 12px;
  color: var(--text);
}

.order-card details.order-details summary {
  font-size: 12px;
  color: var(--accent-strong);
}

.primary-actions select {
  min-width: 120px;
}

.primary-actions button,
.primary-actions .button {
  border-radius: 10px;
}

.ops-compact .order-card {
  padding: 8px;
  gap: 6px;
}

.ops-compact .order-card__head h3 {
  font-size: 13px;
}

.ops-compact .order-card__meta {
  font-size: 10px;
  gap: 6px;
}

.ops-compact .order-card__details {
  display: none;
}

.ops-compact .primary-actions {
  gap: 6px;
}

.ops-compact .order-card details.order-details summary {
  font-size: 11px;
}

.dashboard-hero {
  background: linear-gradient(135deg, rgba(10, 147, 150, 0.18), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(10, 147, 150, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 12px;
}

.dashboard-hero__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-hero__title h1 {
  margin: 4px 0 0;
  font-size: clamp(26px, 3vw, 42px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.dashboard-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-hero__kpis {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.dashboard-kpi {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(230, 217, 198, 0.9);
  border-radius: 16px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}

.dashboard-kpi span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.dashboard-kpi strong {
  font-size: 22px;
  font-weight: 700;
}

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

.work-start-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.work-start-card {
  display: grid;
  min-height: 68px;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.98);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.work-start-card--primary {
  background: linear-gradient(135deg, #111827, #0f766e);
  color: #ffffff;
}

.work-start-card strong {
  align-self: center;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.work-start-card span {
  color: inherit;
  opacity: 0.76;
  font-size: 14px;
  line-height: 1.35;
}

.dashboard-insights {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.insight-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(230, 217, 198, 0.85);
  border-radius: 16px;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow-soft);
}

.insight-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.insight-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

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

.lunch-ops {
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.lunch-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.lunch-grid__wide {
  grid-column: 1 / -1;
}

.lunch-actions {
  align-items: center;
  gap: 12px;
}

.ops-shell {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(230, 217, 198, 0.7);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.ops-toolbar {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(230, 217, 198, 0.7);
  padding: 10px 12px;
  border-radius: 14px;
}

.ops-column {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(230, 217, 198, 0.8);
  box-shadow: var(--shadow-soft);
}

.ops-column__head {
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(230, 217, 198, 0.9);
}

@media (max-width: 720px) {
  .content {
    padding: 20px;
  }

  .main-nav {
    background: rgba(255, 248, 240, 0.92);
    border: 1px solid rgba(230, 217, 198, 0.82);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow-soft);
  }

  .main-nav a {
    padding: 6px 10px;
  }

  .nav-group {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    padding: 6px;
  }

  .context-bar {
    background: rgba(245, 239, 229, 0.94);
  }

  .context-bar__item {
    background: rgba(255, 255, 255, 0.94);
  }
}

/* Administracion: cockpit estructurado para negocios complejos */
.admin-home {
  display: grid;
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.admin-header--focused,
.admin-focus-panel,
.admin-operating-model,
.admin-playbooks,
.admin-maintenance-plan,
.admin-module-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(230, 217, 198, 0.86);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(253, 248, 241, 0.9));
  box-shadow: var(--shadow-soft);
}

.admin-header--focused {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 14px;
  padding: 18px;
}

.admin-header--focused::before {
  content: "";
  position: absolute;
  inset: -35% 45% auto -10%;
  height: 220px;
  background: radial-gradient(circle, rgba(10, 147, 150, 0.2), transparent 70%);
  pointer-events: none;
}

.admin-header--focused > * {
  position: relative;
  z-index: 1;
}

.admin-header--focused h1 {
  margin: 4px 0 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.admin-search input {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  padding-inline: 18px;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 147, 150, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.admin-focus-panel,
.admin-operating-model,
.admin-maintenance-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

.admin-focus-panel {
  background:
    radial-gradient(circle at 92% 18%, rgba(245, 158, 11, 0.16), transparent 28%),
    linear-gradient(135deg, #0f1f2a, #134e4a);
  color: #ecfeff;
}

.admin-focus-panel .muted {
  color: rgba(236, 254, 255, 0.74);
}

.admin-focus-panel .ghost-button {
  color: #ecfeff;
  border-color: rgba(236, 254, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.admin-status-strip,
.admin-playbook-grid,
.admin-module-grid,
.admin-review-steps {
  display: grid;
  gap: 12px;
}

.admin-status-strip {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  flex: 1;
}

.admin-status-pill {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 16px;
  border: 1px solid rgba(230, 217, 198, 0.9);
  background: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.admin-status-pill small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-status-pill.is-on {
  border-color: rgba(10, 147, 150, 0.35);
  background: rgba(209, 244, 239, 0.7);
  color: var(--accent-strong);
}

.admin-status-pill.is-off {
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.55);
}

.admin-playbooks,
.admin-module-section,
.admin-maintenance-plan {
  padding: 22px;
}

.admin-playbooks__head,
.admin-module-section__head,
.admin-maintenance-plan__head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-playbook-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-playbook-card,
.admin-module-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 16px;
  border: 1px solid rgba(230, 217, 198, 0.88);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(15, 26, 36, 0.06);
}

.admin-playbook-card:hover,
.admin-module-card:hover {
  border-color: rgba(10, 147, 150, 0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.admin-playbook-card__head,
.admin-module-card__top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.admin-playbook-card h3,
.admin-module-card strong {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 18px;
  line-height: 1.1;
}

.admin-playbook-card p,
.admin-module-card p {
  margin: 0;
  color: var(--muted);
}

.admin-playbook-tags,
.admin-playbook-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-playbook-tags span,
.admin-module-card__top span,
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(10, 147, 150, 0.1);
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-playbook-steps a {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(15, 31, 42, 0.06);
  color: var(--text);
  font-weight: 800;
}

.admin-module-groups {
  display: grid;
  gap: 18px;
}

.admin-module-grid {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

.admin-module-card--priority {
  border-color: rgba(245, 158, 11, 0.42);
  background:
    radial-gradient(circle at 96% 10%, rgba(245, 158, 11, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.92);
}

.admin-review-steps {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-review-steps span {
  padding: 12px;
  border-radius: 15px;
  background: rgba(15, 31, 42, 0.05);
  color: var(--text);
  font-weight: 800;
}

.admin-home [hidden] {
  display: none !important;
}

@media (max-width: 860px) {
  .admin-header--focused,
  .admin-focus-panel,
  .admin-operating-model,
  .admin-maintenance-plan {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}

.admin-pro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(230, 217, 198, 0.86);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.admin-pro-hero h2 {
  margin: 8px 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.admin-pro-hero--kitchen {
  background:
    radial-gradient(circle at 88% 18%, rgba(249, 115, 22, 0.18), transparent 32%),
    linear-gradient(135deg, #fff, #fff8ed);
}

.admin-pro-hero--hours {
  background:
    radial-gradient(circle at 86% 14%, rgba(10, 147, 150, 0.18), transparent 30%),
    linear-gradient(135deg, #ffffff, #effdfb);
}

.ops-principles {
  display: grid;
  gap: 10px;
}

.ops-principles span,
.admin-help-grid article {
  border: 1px solid rgba(230, 217, 198, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 24px rgba(15, 26, 36, 0.06);
}

.ops-principles span {
  padding: 12px 14px;
  font-weight: 900;
}

.admin-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}

.admin-help-grid article {
  display: grid;
  gap: 6px;
  padding: 13px;
}

.admin-help-grid strong {
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.admin-help-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.kitchen-admin-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: 16px;
  align-items: start;
  margin: 16px 0 22px;
}

.section-title-row.compact {
  margin: 0;
}

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

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

.kitchen-stat-grid div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.kitchen-stat-grid strong {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.kitchen-stat-grid span,
.kitchen-summary-list p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.kitchen-summary-list {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.kitchen-preset-grid,
.kitchen-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.kitchen-preset-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.kitchen-preset-heading h3,
.kitchen-preset-heading p {
  margin: 0;
}

.kitchen-type-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.kitchen-type-group,
.kitchen-capability-editor {
  min-width: 0;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 18px;
  background: #f8fafc;
  overflow: clip;
}

.kitchen-type-group > summary,
.kitchen-capability-editor > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.kitchen-type-group > summary::-webkit-details-marker,
.kitchen-capability-editor > summary::-webkit-details-marker {
  display: none;
}

.kitchen-type-group > summary::after,
.kitchen-capability-editor > summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 900;
}

.kitchen-type-group[open] > summary::after,
.kitchen-capability-editor[open] > summary::after {
  content: "\2212";
}

.kitchen-type-group > summary > span:first-child,
.kitchen-capability-editor > summary > span:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.kitchen-type-group > summary small,
.kitchen-capability-editor > summary small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.kitchen-group-count {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.kitchen-type-group > .kitchen-type-grid {
  grid-template-columns: 1fr;
  padding: 0 12px 12px;
}

.kitchen-type-catalog.compact {
  grid-template-columns: 1fr;
  padding: 12px;
  border-top: 1px solid rgba(226, 232, 240, 0.96);
}

.kitchen-type-group--embedded {
  padding: 12px;
  overflow: visible;
}

.kitchen-type-group--embedded > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.kitchen-type-group--embedded > .kitchen-type-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  padding: 0;
}

.kitchen-preset-card,
.kitchen-type-card {
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.kitchen-preset-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.kitchen-preset-card:hover,
.kitchen-preset-card.is-selected {
  border-color: rgba(15, 118, 110, 0.42);
  background: linear-gradient(180deg, #ecfdf5, #ffffff);
}

.kitchen-preset-card strong,
.kitchen-type-card strong {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.kitchen-preset-card span,
.kitchen-type-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.kitchen-zone-form {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.kitchen-main-fields {
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.7fr);
}

.kitchen-type-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px;
  cursor: pointer;
}

.kitchen-type-card:has(input:checked) {
  border-color: rgba(15, 118, 110, 0.48);
  background: #ecfdf5;
}

.kitchen-type-card span {
  display: grid;
  gap: 4px;
}

.kitchen-type-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.kitchen-missing-stations {
  display: grid;
  gap: 8px;
}

.kitchen-missing-stations ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kitchen-missing-stations li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 800;
}

.kitchen-missing-stations li span {
  opacity: 0.72;
  font-size: 11px;
}

.kitchen-simple-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.kitchen-day-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  padding: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.74);
  border-radius: 16px;
  background: #f8fafc;
}

.kitchen-day-picker span {
  font-weight: 900;
  margin-right: 4px;
}

.kitchen-day-picker label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 9px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 999px;
  background: #fff;
}

.kitchen-day-picker small {
  flex-basis: 100%;
  color: var(--muted);
}

.kitchen-advanced {
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 18px;
  background: #fbfdff;
  padding: 12px 14px;
}

.kitchen-advanced summary {
  cursor: pointer;
  font-weight: 900;
}

.kitchen-capacity-table {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.kitchen-capacity-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) repeat(3, minmax(110px, 1fr));
  gap: 10px;
  align-items: end;
  padding: 10px;
  border-radius: 14px;
  background: #ffffff;
}

.kitchen-capacity-row[hidden] {
  display: none;
}

.kitchen-zone-list {
  display: grid;
  gap: 14px;
}

.kitchen-zone-card {
  display: grid;
  gap: 12px;
}

.kitchen-zone-head {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.switch-line {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 10px;
}

@media (max-width: 860px) {
  .admin-pro-hero {
    grid-template-columns: 1fr;
  }

  .kitchen-admin-layout,
  .kitchen-main-fields,
  .kitchen-zone-head,
  .kitchen-capacity-row,
  .kitchen-type-catalog {
    grid-template-columns: 1fr;
  }

  .kitchen-status-panel {
    position: static;
  }

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

.product-operating-map {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  margin: 18px 0;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 32%),
    linear-gradient(135deg, #f8fafc, #ecfdf5);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.product-operating-map h2 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.product-operating-map p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

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

.operating-type-grid article {
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.operating-type-grid strong {
  display: block;
  margin-bottom: 7px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 950;
}

.operating-type-grid span {
  display: block;
  color: #64748b;
  font-size: 13px;
  line-height: 1.42;
}

@media (max-width: 900px) {
  .product-operating-map,
  .operating-type-grid {
    grid-template-columns: 1fr;
  }
}

.admin-command-flow,
.admin-readiness,
.admin-advanced-config {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.admin-command-flow,
.admin-readiness {
  padding: 16px;
}

.admin-command-flow__head h2,
.admin-readiness h2 {
  margin: 2px 0 0;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.045em;
}

.admin-command-lanes,
.admin-readiness-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.admin-command-lanes a,
.admin-readiness-card {
  display: grid;
  gap: 6px;
  min-height: 84px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 14px;
  background: #f8fafc;
  color: inherit;
  text-decoration: none;
}

.admin-command-lanes strong,
.admin-readiness-card strong {
  font-size: 14px;
  font-weight: 950;
}

.admin-command-lanes span,
.admin-readiness-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.admin-readiness-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 950;
}

.admin-readiness-card.is-ok span {
  background: #dcfce7;
  color: #166534;
}

.admin-readiness-card.is-warn span {
  background: #fef3c7;
  color: #92400e;
}

.admin-advanced-config {
  padding: 0;
  overflow: hidden;
}

.admin-advanced-config > summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 950;
}

.admin-advanced-config > summary small {
  color: var(--muted);
  font-weight: 700;
}

.admin-advanced-config .admin-module-groups {
  padding: 0 20px 20px;
}

@media (max-width: 1100px) {
  .admin-command-lanes,
  .admin-readiness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .admin-command-lanes,
  .admin-readiness-grid {
    grid-template-columns: 1fr;
  }
}

.auth-standard {
  min-height: calc(100vh - 170px);
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.auth-standard__card {
  width: min(480px, 100%);
  padding: 26px;
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
}

.auth-standard__brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.auth-standard__brand img,
.auth-standard__mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
}

.auth-standard__mark {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
}

.auth-standard__brand span,
.auth-standard__head span,
.auth-standard__foot {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

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

.auth-standard__head h1 {
  margin: 8px 0;
  font-size: clamp(32px, 6vw, 54px);
  line-height: .9;
  letter-spacing: -.06em;
}

.auth-standard__head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.telephony-hero,
.help-hero {
  display: grid;
  gap: 18px;
  padding: 24px;
  margin-bottom: 18px;
  border: 1px solid rgba(14, 116, 144, .18);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, .18), transparent 34%),
    linear-gradient(135deg, #f8fafc, #eef9ff);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .1);
}

.telephony-hero {
  grid-template-columns: minmax(280px, .9fr) minmax(340px, 1.1fr);
  align-items: stretch;
}

.telephony-hero h1,
.help-hero h1 {
  margin: 6px 0 8px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .86;
  letter-spacing: -.075em;
}

.telephony-hero p,
.help-hero p {
  margin: 0;
  max-width: 760px;
  color: #475569;
  line-height: 1.55;
}

.telephony-flow,
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.telephony-flow article,
.help-grid article {
  display: grid;
  gap: 7px;
  padding: 15px;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
}

.telephony-flow strong,
.help-grid strong {
  color: #0f172a;
  font-weight: 950;
}

.telephony-flow span,
.help-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.help-hub {
  display: grid;
  gap: 16px;
}

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

.help-quick-grid article {
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.help-quick-grid strong {
  color: #0f172a;
  font-weight: 950;
}

.help-quick-grid span {
  color: #475569;
  line-height: 1.45;
  font-size: 13px;
}

.help-manual-shell {
  color: #111827;
}

.help-hero--manual {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #f1f8f6 55%, #f7f0df);
}

.help-hero--manual h1 {
  font-size: 48px;
  letter-spacing: 0;
}

.help-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 480px;
}

.help-hero-actions a,
.help-toc a {
  text-decoration: none;
}

.help-hero-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-weight: 850;
}

.help-hero-actions a.help-guide-launch {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.help-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.help-toc {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.help-toc strong {
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 13px;
  text-transform: uppercase;
}

.help-toc a {
  padding: 9px 10px;
  border-radius: 8px;
  color: #475569;
  font-weight: 800;
}

.help-toc a:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.help-manual {
  display: grid;
  gap: 14px;
}

.help-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(15, 23, 42, .07);
  scroll-margin-top: 24px;
}

.help-section--wide {
  grid-template-columns: 1fr;
}

.help-section__copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.help-section h2 {
  margin: 0;
  color: #0f172a;
  font-size: 26px;
  letter-spacing: 0;
}

.help-section p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.help-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-weight: 950;
}

.help-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #1f2937;
}

.help-steps li {
  line-height: 1.45;
}

.help-rule,
.help-warning {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 10px;
  line-height: 1.4;
}

.help-rule {
  border: 1px solid #b7ddd7;
  background: #effaf7;
  color: #155e56;
}

.help-warning {
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.help-flow-table {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(110px, .7fr) minmax(0, 1.5fr);
  gap: 6px;
  padding: 10px;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #f8fafc;
}

.help-flow-table span,
.help-flow-table strong,
.help-flow-table em {
  display: block;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #ffffff;
  line-height: 1.35;
  font-style: normal;
}

.help-flow-table span {
  color: #475569;
  font-weight: 850;
}

.help-flow-table strong {
  color: #0f172a;
  font-weight: 950;
}

.help-flow-table em {
  color: #475569;
}

.help-shot {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 240px;
  margin: 0;
  padding: 14px;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  background: #f8fafc;
}

.help-shot figcaption {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.help-shot__top,
.help-shot__tabs,
.help-shot__board,
.mock-form,
.mock-pack,
.mock-map-layout,
.mock-call,
.mock-stock,
.mock-hours {
  display: grid;
  gap: 8px;
}

.help-shot__top,
.help-shot__tabs {
  display: flex;
  flex-wrap: wrap;
}

.help-shot__top span,
.help-shot__tabs span,
.mock-order-card span,
.mock-table span,
.mock-table strong,
.mock-stock span,
.mock-stock button {
  border-radius: 8px;
}

.help-shot__top span,
.help-shot__tabs span {
  padding: 8px 10px;
  background: #e9eef5;
  color: #263244;
  font-weight: 850;
}

.help-shot__top .ok,
.help-shot__tabs .active {
  background: #dcfce7;
  color: #166534;
}

.help-shot__tabs .active {
  background: #111827;
  color: #fff;
}

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

.help-shot__board div,
.mock-pack > div,
.mock-call,
.mock-hours strong,
.mock-hours span,
.mock-form label,
.mock-stock span,
.mock-stock button,
.mock-table span,
.mock-table strong {
  padding: 12px;
  border: 1px solid #dbe4ee;
  background: #fff;
}

.help-shot__board strong,
.help-shot__board em {
  display: block;
  font-style: normal;
}

.help-shot__board em {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 950;
}

.mock-order-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-left: 5px solid #f97316;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.mock-order-card b {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 34px;
}

.mock-order-card small,
.mock-order-card span {
  display: block;
  color: #64748b;
  font-weight: 850;
}

.mock-order-card strong {
  display: block;
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.25;
}

.mock-order-card span {
  padding: 8px;
  background: #fee2e2;
  color: #991b1b;
}

.mock-order-card button,
.mock-pack button,
.mock-map-layout button {
  grid-column: 1 / -1;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-weight: 900;
}

.mock-form label {
  display: grid;
  gap: 6px;
  border-radius: 10px;
  font-weight: 900;
}

.mock-form span,
.mock-pack span,
.mock-call span {
  color: #475569;
  font-weight: 750;
}

.mock-pack > div,
.mock-call {
  border-radius: 10px;
}

.mock-map-layout {
  grid-template-columns: 1fr 1.6fr 1fr;
  min-height: 240px;
}

.mock-map-layout > div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  font-weight: 800;
}

.mock-map-layout > div:nth-child(2) {
  place-content: center;
  background: linear-gradient(135deg, #e7f0ea, #f8fafc);
  color: #155e56;
}

.mock-table {
  display: grid;
  grid-template-columns: .7fr .7fr 1fr 1.4fr;
  gap: 6px;
}

.mock-table span {
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.mock-table strong {
  color: #0f172a;
}

.mock-stock {
  grid-template-columns: 1fr auto;
}

.mock-stock button {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
  font-weight: 900;
}

.mock-hours {
  grid-template-columns: .7fr 1.3fr;
}

.mock-hours strong,
.mock-hours span {
  border-radius: 10px;
}

.mock-mobile-order {
  display: grid;
  gap: 10px;
  max-width: 290px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid #dbe4ee;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: inset 0 0 0 6px #f1f5f9;
}

.mock-mobile-order__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.mock-mobile-order__steps span,
.mock-mobile-order__search,
.mock-mobile-order__cart {
  padding: 9px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.mock-mobile-order__steps .active,
.mock-mobile-order__cart {
  background: #111827;
  color: #ffffff;
}

.mock-mobile-order__card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
}

.mock-mobile-order__card strong {
  color: #0f172a;
  font-size: 18px;
}

.mock-mobile-order__card small {
  color: #0f766e;
  font-weight: 900;
}

.mock-mobile-order__card button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 950;
}

.help-call-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.help-call-rules article {
  display: grid;
  gap: 5px;
  padding: 11px;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #f8fafc;
}

.help-call-rules strong {
  color: #0f172a;
}

.help-call-rules span {
  color: #475569;
  line-height: 1.4;
}

.help-checklist,
.help-decision-grid {
  display: grid;
  gap: 10px;
}

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

.help-checklist label,
.help-decision-grid article {
  padding: 12px;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #f8fafc;
}

.help-checklist label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #1f2937;
  line-height: 1.35;
  font-weight: 780;
}

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

.help-decision-grid article {
  display: grid;
  gap: 6px;
}

.help-decision-grid strong {
  color: #0f172a;
}

.help-decision-grid span {
  color: #475569;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .telephony-hero,
  .telephony-flow,
  .help-grid,
  .help-quick-grid {
    grid-template-columns: 1fr;
  }

  .help-hero--manual,
  .help-layout,
  .help-section,
  .help-checklist,
  .help-decision-grid,
  .help-call-rules,
  .help-flow-table {
    grid-template-columns: 1fr;
  }

  .help-toc {
    position: static;
  }

  .help-hero--manual h1 {
    font-size: 36px;
  }

  .mock-map-layout,
  .mock-table,
  .mock-hours {
    grid-template-columns: 1fr;
  }
}
