:root {
  --ink: #1f2937;
  --muted: #667085;
  --paper: #ffffff;
  --panel: rgba(255, 255, 255, 0.94);
  --line: rgba(15, 23, 42, 0.1);
  --accent: #b56f2f;
  --accent-deep: #8f521e;
  --accent-soft: rgba(181, 111, 47, 0.1);
  --sea: #8f521e;
  --success: #2f7d4c;
  --warning: #8a5600;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(47, 111, 98, 0.06), transparent 34%),
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 52%, #f7f9fb 100%);
  font-family: "Plus Jakarta Sans", "Segoe UI", "Trebuchet MS", sans-serif;
}

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

.page-shell {
  width: min(1500px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.top-nav-shell {
  width: min(1500px, calc(100vw - 32px));
  margin: 0 auto;
  padding-top: 18px;
}

.scope-banner-shell {
  width: min(1500px, calc(100vw - 32px));
  margin: 8px auto 0;
}

.scope-banner {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(181, 111, 47, 0.34);
  background: rgba(181, 111, 47, 0.12);
  color: var(--accent-deep);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.top-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-logo-shell {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-fallback {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c78444 0%, #9f5f27 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
}

.brand-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-nav-brand span {
  color: var(--muted);
  font-size: 0.85rem;
}

.brand-subtitle {
  white-space: nowrap;
}

.top-nav-center,
.top-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-nav-link {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.top-nav-link-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #cf8847 100%);
  color: #fff;
}

.top-nav-link.active {
  background: var(--accent-soft);
  border-color: rgba(191, 90, 54, 0.3);
  color: var(--accent-deep);
}

.inline-form {
  margin: 0;
}

form .top-nav-link {
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

.hero-bar,
.card-surface {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
}

.eyebrow,
.panel-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: #475467;
}

.hero-bar h1,
.card-surface h2,
.card-surface h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, "Palatino Linotype", serif;
}

.hero-bar h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.hero-copy {
  max-width: 56ch;
  margin: 12px 0 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-select {
  display: grid;
  gap: 6px;
  min-width: 280px;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-select select {
  min-width: 280px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.9fr) minmax(300px, 0.7fr);
  gap: 20px;
}

.workspace-grid-two {
  grid-template-columns: minmax(0, 1.6fr) minmax(420px, 1fr);
}

.settings-main-single {
  grid-template-columns: minmax(0, 1fr);
}

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

.landing-hero {
  align-items: stretch;
}

.landing-hero h1 {
  border: none;
  outline: none;
}

.hero-side {
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-logo-card {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-logo {
  width: min(300px, 100%);
  height: auto;
  object-fit: contain;
  border-radius: 26px;
  background: transparent;
}

.landing-logo-fallback {
  display: none;
  width: min(220px, 100%);
  height: 130px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #c78444 0%, #9f5f27 100%);
}

.feature-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.feature-item {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

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

.widget-shell {
  width: min(1080px, calc(100vw - 24px));
}

.widget-preview-shell {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  min-height: 640px;
}

.widget-preview-shell iframe {
  width: 100%;
  height: 760px;
  border: none;
  display: block;
}

.floating-chat-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  color: #111827;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
}

.floating-chat-cta:hover {
  transform: translateX(-50%) translateY(-1px);
}

.floating-chat-icon {
  width: 30px;
  height: 30px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d58a49 0%, #b56f2f 100%);
  color: #fff;
}

.floating-chat-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.professional-chat-shell {
  padding-top: 12px;
}

.professional-chat-card {
  padding: 18px;
  border-radius: 26px;
}

.chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chat-head-badges {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chat-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.status-badge.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: pulse 1.8s infinite;
}

.quick-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.live-order-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 8px;
}

.live-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.live-order-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-family: "Plus Jakarta Sans", "Segoe UI", "Trebuchet MS", sans-serif;
}

.live-order-items {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.live-order-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.live-order-items li em {
  font-style: normal;
  color: #8f521e;
  font-weight: 600;
}

.live-order-total {
  margin: 0;
}

.quick-action {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 140ms ease;
}

.quick-action:hover {
  border-color: rgba(181, 111, 47, 0.42);
  color: #8f521e;
  transform: translateY(-1px);
}

.quick-action.active {
  border-color: rgba(181, 111, 47, 0.42);
  background: rgba(181, 111, 47, 0.12);
  color: #8f521e;
}

.settings-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.menu-items-grid .metric-card {
  display: grid;
  gap: 6px;
}

.menu-editor-card,
.menu-editor-panel {
  grid-column: 1 / -1;
}

.menu-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 560px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.menu-search-wrap {
  position: relative;
  width: 100%;
}

.menu-search-input {
  width: 100%;
  min-width: 0;
  padding-right: 126px;
}

.menu-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  cursor: pointer;
}

.menu-search-clear:hover {
  border-color: rgba(181, 111, 47, 0.4);
  color: var(--accent-deep);
}

.menu-toolbar-actions {
  justify-self: end;
}

.menu-editor-panel.compact {
  padding: 12px;
  gap: 10px;
}

.menu-editor-panel.compact h3 {
  font-size: 1.8rem;
  line-height: 1.1;
}

.menu-editor-panel.compact label {
  gap: 5px;
  font-size: 0.86rem;
}

.menu-editor-panel.compact input,
.menu-editor-panel.compact select,
.menu-editor-panel.compact textarea {
  padding: 8px 10px;
  min-height: 38px;
  border-radius: 10px;
}

.menu-editor-panel.compact textarea {
  min-height: 88px;
}

.menu-editor-top-grid {
  grid-template-columns: 0.7fr 1.3fr;
}

.menu-editor-price-grid {
  grid-template-columns: 1fr 1fr;
}

.menu-toggle-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.menu-toggle-row .checkbox-label {
  min-width: 200px;
  min-height: 38px;
  padding: 7px 10px;
}

.menu-editor-panel .composer-actions {
  margin-top: 8px;
  gap: 10px;
}

.menu-editor-panel .primary-button,
.menu-editor-panel .secondary-button {
  padding: 9px 14px;
}

.menu-item-card.is-unavailable {
  background: rgba(254, 242, 242, 0.9);
  border-color: rgba(220, 38, 38, 0.26);
}

.checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 48px;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.professional-chat-transcript {
  min-height: 280px;
  max-height: clamp(300px, 44vh, 420px);
  padding: 8px 6px 4px;
}

.message-time {
  margin-top: 8px;
  font-size: 0.74rem;
  color: #94a3b8;
}

.typing-bubble {
  opacity: 0.94;
}

.typing-row {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 20px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
  animation: typing 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

.professional-composer input {
  min-height: 52px;
}

.with-spinner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.button-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: rgba(255, 255, 255, 1);
  animation: spin 0.8s linear infinite;
}

.auth-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.auth-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 18px;
}

.auth-logo-fallback {
  display: none;
  width: 88px;
  height: 88px;
  border-radius: 18px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c78444 0%, #9f5f27 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.card-surface {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.panel-header,
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.control-row,
.summary-stack,
.button-stack,
.draft-block {
  margin-top: 18px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(181, 111, 47, 0.14);
  border-color: rgba(181, 111, 47, 0.42);
}

.chat-transcript {
  margin-top: 18px;
  min-height: 260px;
  max-height: 50vh;
  overflow: auto;
  display: grid;
  gap: 12px;
  padding-right: 4px;
}

.message-bubble {
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  animation: fadeUp 220ms ease;
}

.message-bubble.user {
  margin-left: 36px;
  background: rgba(181, 111, 47, 0.1);
}

.message-bubble.assistant {
  margin-right: 36px;
  background: var(--accent-soft);
}

.message-role {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 6px;
}

.composer-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.composer-label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.composer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

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

.primary-button,
.secondary-button,
.ghost-button {
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent) 0%, #cf8847 100%);
  color: white;
}

.secondary-button {
  background: rgba(181, 111, 47, 0.12);
  color: var(--sea);
}

.ghost-button {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.secondary-button:disabled,
.ghost-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.status-badge,
.status-pill {
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.82rem;
  border: 1px solid var(--line);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.status-badge {
  background: rgba(255, 255, 255, 0.7);
}

.status-pill.pending {
  background: rgba(160, 92, 0, 0.12);
  color: var(--warning);
}

.status-pill.ready {
  background: rgba(47, 125, 76, 0.14);
  color: var(--success);
}

.summary-stack,
.dashboard-grid {
  display: grid;
  gap: 12px;
}

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

.metric-card,
.dash-tile {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
}

.metric-card span,
.dash-tile span,
.muted-copy {
  color: var(--muted);
}

.metric-card strong,
.dash-tile strong {
  display: block;
  margin-top: 6px;
  font-size: 1.3rem;
}

.code-panel {
  margin: 10px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 16px;
  min-height: 84px;
  border-radius: 16px;
  background: #f8fafc;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.86rem;
}

.inspector-panel .code-panel {
  max-height: 70vh;
  overflow: auto;
}

.button-stack {
  display: grid;
  gap: 10px;
}

.orders-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.order-card {
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 16px;
}

.order-card p {
  margin: 6px 0;
}

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

.order-items {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.order-items-focus {
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(245, 245, 247, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.order-items h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.order-items ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.order-items li strong {
  font-size: 1.03rem;
}

.order-meta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.orders-page .hero-bar,
.orders-page .card-surface {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.orders-page,
.orders-page button,
.orders-page input,
.orders-page select,
.orders-page textarea {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

.settings-page .card-surface h3 {
  font-family: "Plus Jakarta Sans", "Segoe UI", "Trebuchet MS", sans-serif;
  font-size: 1.12rem;
}

.prompt-editor {
  min-height: 220px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.45;
  background: #fbfdff;
}

.hero-actions .primary-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.full-width {
  width: 100%;
}

.site-footer {
  width: min(1500px, calc(100vw - 32px));
  margin: 16px auto 24px;
  padding: 0;
}

.site-footer-inner {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links,
.footer-socials {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a,
.footer-socials a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
  transition: all 130ms ease;
}

.footer-links a:hover,
.footer-socials a:hover {
  border-color: rgba(181, 111, 47, 0.34);
  color: var(--accent-deep);
  background: rgba(181, 111, 47, 0.08);
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
}

.admin-usage-table-wrap {
  overflow: auto;
}

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

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

.admin-usage-table th {
  color: #475467;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(248, 250, 252, 0.92);
  position: sticky;
  top: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes typing {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@media (max-width: 1200px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 800px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 18px;
  }

  .hero-bar,
  .card-surface {
    padding: 20px;
  }

  .hero-bar {
    flex-direction: column;
  }

  .hero-select,
  .hero-select select {
    width: 100%;
    min-width: 0;
  }

  .top-nav-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 12px;
  }

  .top-nav {
    border-radius: 28px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .top-nav-brand {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
  }

  .brand-logo-link {
    grid-row: 1 / span 2;
  }

  .brand-link {
    font-size: 0.98rem;
    line-height: 1.1;
  }

  .brand-subtitle {
    display: block;
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: normal;
  }

  .top-nav-center,
  .top-nav-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
    width: 100%;
  }

  .top-nav-link {
    padding: 10px 12px;
    font-size: 0.95rem;
    text-align: center;
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
  }

  .inline-form {
    width: 100%;
  }

  .inline-form .top-nav-link {
    width: 100%;
  }

  .widget-shell {
    width: min(100vw - 16px, 100%);
  }

  .professional-chat-shell {
    padding-top: 4px;
  }

  .professional-chat-card {
    padding: 14px;
    border-radius: 20px;
  }

  .floating-chat-cta {
    width: calc(100vw - 26px);
    justify-content: center;
    bottom: 12px;
    padding: 12px 14px;
  }

  .chat-head {
    flex-direction: column;
    gap: 8px;
  }

  .chat-head-badges {
    justify-content: flex-start;
    width: 100%;
  }

  .chat-head h2 {
    font-size: 2rem;
  }

  .quick-actions {
    gap: 6px;
  }

  .quick-action {
    padding: 7px 11px;
    font-size: 0.96rem;
  }

  .professional-chat-transcript {
    min-height: 220px;
    max-height: 38vh;
  }

  .live-order-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-transcript {
    margin-top: 12px;
  }

  .composer-card {
    margin-top: 12px;
    padding: 14px;
  }

  .composer-label {
    margin-bottom: 6px;
  }

  .professional-composer input {
    min-height: 46px;
    padding: 10px 12px;
  }

  .message-bubble {
    padding: 12px 12px;
  }

  .compact-grid,
  .summary-stack {
    grid-template-columns: 1fr;
  }

  .menu-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .menu-editor-top-grid,
  .menu-editor-price-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .menu-toolbar-actions {
    justify-self: start;
  }

  .menu-search-input {
    padding-right: 118px;
  }

  .message-bubble.user,
  .message-bubble.assistant {
    margin-left: 0;
    margin-right: 0;
  }

  .composer-actions,
  .section-title-row,
  .panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-inner {
    display: grid;
    gap: 12px;
    padding: 16px;
  }

  .footer-brand {
    gap: 2px;
  }

  .site-footer {
    margin-top: 10px;
    margin-bottom: 84px;
  }

  .footer-links,
  .footer-socials {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .footer-links a,
  .footer-socials a {
    padding: 9px 10px;
    border: 1px solid var(--line);
    text-align: center;
  }
}
