/* ============================================
   BLYZR — Minimal futurism design system
   ============================================ */

:root {
  /* Palette — warm off-white base */
  --bg:           oklch(0.99 0.003 100);
  --bg-2:         oklch(0.975 0.004 95);
  --surface:      oklch(0.985 0.004 95);
  --surface-2:    oklch(0.96 0.005 95);
  --surface-3:    oklch(0.93 0.006 95);
  --border:       oklch(0.91 0.006 95);
  --border-soft:  oklch(0.94 0.005 95);
  --border-strong:oklch(0.85 0.008 90);

  --ink:          oklch(0.17 0.012 80);
  --ink-2:        oklch(0.32 0.011 80);
  --ink-3:        oklch(0.50 0.010 80);
  --ink-4:        oklch(0.65 0.009 80);
  --ink-5:        oklch(0.78 0.007 80);

  --accent:       oklch(0.80 0.22 135);
  --accent-ink:   oklch(0.30 0.13 135);
  --accent-soft:  oklch(0.94 0.10 135);
  --accent-glow:  oklch(0.85 0.22 135 / 0.35);

  --warm:         oklch(0.72 0.16 55);
  --warm-soft:    oklch(0.95 0.05 65);

  --cool:         oklch(0.65 0.16 240);
  --cool-soft:    oklch(0.94 0.04 240);

  --danger:       oklch(0.62 0.20 25);

  /* Type */
  --f-logo: "Comfortaa", "Varela Round", sans-serif;
  --f-display: "Instrument Serif", "Tinos", serif;
  --f-ui: "Geist", "Helvetica Neue", Helvetica, sans-serif;
  --f-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Radii / shadows */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 0 oklch(0 0 0 / 0.03), 0 1px 2px oklch(0 0 0 / 0.03);
  --shadow-md: 0 1px 0 oklch(0 0 0 / 0.04), 0 4px 16px -4px oklch(0 0 0 / 0.06);
  --shadow-lg: 0 1px 0 oklch(0 0 0 / 0.04), 0 24px 60px -20px oklch(0 0 0 / 0.18);
  --shadow-glow: 0 0 0 1px oklch(0.85 0.22 135 / 0.2), 0 18px 50px -10px var(--accent-glow);
}

* { box-sizing: border-box; }

html, body, #root {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-ui);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  overflow: hidden;
}

/* subtle grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.045 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* atmospheric background — barely-there mesh */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 88% 12%, oklch(0.88 0.16 135 / 0.18), transparent 60%),
    radial-gradient(700px 500px at 8% 92%, oklch(0.85 0.10 55 / 0.16), transparent 65%),
    radial-gradient(500px 400px at 50% 50%, oklch(0.95 0.04 240 / 0.10), transparent 70%);
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent-soft); color: var(--ink); }

/* ============================================
   APP SHELL
   ============================================ */
.app {
  position: relative;
  height: 100vh;
  width: 100vw;
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: 1fr;
  overflow: hidden;
}

/* ============================================
   LEFT RAIL
   ============================================ */
.rail {
  border-right: 1px solid var(--border-soft);
  background: oklch(0.985 0.004 95 / 0.6);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0;
  gap: 4px;
  z-index: 10;
}

.rail-logo {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font-family: var(--f-logo);
  font-weight: 700;
  font-size: 23px;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.rail-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  transition: 0.15s ease;
  position: relative;
}
.rail-btn:hover { color: var(--ink); background: var(--surface-2); }
.rail-btn.active {
  color: var(--ink);
  background: var(--surface-3);
}
.rail-btn.active::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.rail-btn svg { width: 20px; height: 20px; }

.rail-spacer { flex: 1; }

.rail-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--warm) 0%, var(--accent) 100%);
  display: grid; place-items: center;
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================
   MAIN CANVAS
   ============================================ */
.canvas {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
.canvas::-webkit-scrollbar { width: 8px; height: 8px; }
.canvas::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
.canvas::-webkit-scrollbar-track { background: transparent; }

.canvas-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 56px 96px;
}

.canvas-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 24px;
}
.canvas-header .crumb {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.canvas-header .crumb .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.canvas-header h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.canvas-header h1 em {
  font-style: italic;
  color: var(--ink-2);
}

/* ============================================
   AGENT PANEL (RIGHT)
   ============================================ */
/* Agent is an overlay at all sizes — minimized by default, slides in from the right */
.agent {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 440px;
  transform: translateX(110%);
  transition: transform 0.34s cubic-bezier(0.2, 0.7, 0.2, 1);
  border-left: 1px solid var(--border);
  background:
    linear-gradient(180deg, oklch(0.99 0.003 100 / 0.92), oklch(0.97 0.005 95 / 0.85)),
    var(--bg);
  backdrop-filter: blur(30px);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 60;
}
.agent.open { transform: translateX(0); }

.agent-head {
  padding: 22px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-soft);
}
.agent-head .label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.agent-head .label .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
  70%  { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.agent-head-actions {
  display: flex;
  gap: 6px;
}
.icon-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--ink-3);
  transition: 0.15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }

.agent-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.agent-body::-webkit-scrollbar { width: 6px; }
.agent-body::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

/* messages */
.msg { display: flex; gap: 10px; max-width: 100%; animation: fade-up 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.msg-user { justify-content: flex-end; }
.msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 88%;
  white-space: pre-wrap;
}
.msg-agent .msg-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-top-left-radius: 4px;
  color: var(--ink);
}
.msg-user .msg-bubble {
  background: var(--ink);
  color: var(--bg);
  border-top-right-radius: 4px;
}
.msg-meta {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin: 2px 6px 0;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* agent typing */
.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-top-left-radius: 4px;
  border-radius: 14px;
}
.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-4);
  animation: blink 1.4s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* suggestion chips inside agent */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.chip {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--surface);
  transition: 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.chip.accent {
  background: var(--accent-soft);
  border-color: oklch(0.85 0.18 135 / 0.4);
  color: var(--accent-ink);
}
.chip.accent:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

/* agent inline cards */
.agent-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

/* agent footer / composer */
.composer {
  border-top: 1px solid var(--border-soft);
  padding: 14px 16px 18px;
  background: oklch(0.99 0.003 100 / 0.7);
  backdrop-filter: blur(10px);
}
.composer-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: 0.15s;
}
.composer-row:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px oklch(0.17 0.012 80 / 0.06);
}
.composer textarea {
  flex: 1;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  line-height: 1.45;
  min-height: 22px;
  max-height: 120px;
  padding: 4px 0;
  font-family: var(--f-ui);
}
.composer textarea::placeholder { color: var(--ink-4); }

.composer-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.composer .send {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  transition: 0.15s;
}
.composer .send:hover { transform: scale(1.05); }
.composer .send:disabled { background: var(--surface-3); color: var(--ink-4); cursor: default; }
.composer .send svg { width: 14px; height: 14px; }

.composer-hint {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.composer-hint kbd {
  font-family: var(--f-mono);
  font-size: 9.5px;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

/* ============================================
   ORB
   ============================================ */
.orb {
  position: relative;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg,
      oklch(0.86 0.20 135) 0%,
      oklch(0.78 0.18 90) 20%,
      oklch(0.82 0.14 55) 40%,
      oklch(0.78 0.18 320) 60%,
      oklch(0.82 0.16 240) 80%,
      oklch(0.86 0.20 135) 100%);
  filter: blur(6px) saturate(1.1);
  animation: orb-spin 18s linear infinite;
}
.orb-wrap {
  position: relative;
  display: inline-block;
}
.orb-wrap::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(closest-side, oklch(0.88 0.22 135 / 0.4), transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 0;
}
.orb-wrap.listening .orb { animation: orb-spin 6s linear infinite, orb-pulse 1.2s ease-in-out infinite; }

@keyframes orb-spin {
  to { transform: rotate(360deg); }
}
@keyframes orb-pulse {
  0%, 100% { transform: rotate(var(--r, 0)) scale(1); }
  50% { transform: rotate(var(--r, 0)) scale(1.06); }
}

.orb-inner {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, oklch(0.99 0.003 100 / 0.5), transparent 50%),
    conic-gradient(from 180deg,
      oklch(0.95 0.10 135) 0%,
      oklch(0.92 0.08 90) 25%,
      oklch(0.94 0.06 55) 50%,
      oklch(0.92 0.08 320) 75%,
      oklch(0.95 0.10 135) 100%);
  filter: blur(2px);
  z-index: 1;
}

/* mini orb for inline contexts */
.orb-mini {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.orb-mini .orb { filter: blur(2px) saturate(1.2); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: 0.15s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-outline {
  border-color: var(--border);
  background: var(--surface);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink); }
.btn-dark {
  background: var(--ink);
  color: var(--bg);
}
.btn-dark:hover { background: oklch(0.05 0.012 80); }
.btn-accent {
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-glow);
}
.btn-accent:hover { transform: translateY(-1px); }

.btn-lg {
  padding: 14px 22px;
  font-size: 14.5px;
}

/* ============================================
   GLASS CARD primitive
   ============================================ */
.glass {
  background: oklch(0.99 0.003 100 / 0.7);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   PRODUCT CARD (stylized SVG)
   ============================================ */
.product {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: 0.18s;
  position: relative;
}
.product:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-thumb {
  aspect-ratio: 1.1;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0,
      transparent 6px,
      oklch(0.93 0.005 95) 6px,
      oklch(0.93 0.005 95) 7px);
  display: grid;
  place-items: center;
}
.product-thumb .glyph {
  width: 56%;
  height: 56%;
  color: var(--ink-3);
  filter: drop-shadow(0 4px 12px oklch(0 0 0 / 0.08));
}
.product-thumb .sku {
  position: absolute;
  bottom: 6px; left: 8px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  color: var(--ink-4);
  text-transform: uppercase;
}
.product-thumb .badge {
  position: absolute;
  top: 8px; right: 8px;
  padding: 3px 7px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--ink-2);
}
.product-thumb .badge.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.product-name {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.product-sub {
  font-size: 12px;
  color: var(--ink-3);
}
.product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.product-price {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.product-add {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: 0.15s;
}
.product-add:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.product-add svg { width: 12px; height: 12px; }

.product.in-basket .product-add {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

/* ============================================
   GENERIC HELPERS
   ============================================ */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.between { justify-content: space-between; }
.center { align-items: center; }
.mono { font-family: var(--f-mono); }
.serif { font-family: var(--f-display); }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.divider {
  height: 1px;
  background: var(--border-soft);
  margin: 24px 0;
}
.muted { color: var(--ink-3); }

/* section heading */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.sec-head h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sec-head .meta {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}

/* grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* recipe / list cards */
.list-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  align-items: center;
  transition: 0.15s;
  cursor: pointer;
}
.list-card:hover { border-color: var(--border-strong); transform: translateX(2px); }

/* hero / welcome */
.welcome {
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 32px;
  padding: 40px;
}
.welcome h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 720px;
}
.welcome h1 em { font-style: italic; color: var(--ink-2); }
.welcome p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-3);
  max-width: 540px;
  line-height: 1.5;
}

/* voice transcript bar */
.voice-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  box-shadow: var(--shadow-md);
}
.voice-bar .wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 16px;
}
.voice-bar .wave span {
  width: 2px;
  background: var(--ink-2);
  border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}
.voice-bar .wave span:nth-child(1) { height: 6px;  animation-delay: 0.0s; }
.voice-bar .wave span:nth-child(2) { height: 12px; animation-delay: 0.1s; }
.voice-bar .wave span:nth-child(3) { height: 16px; animation-delay: 0.2s; }
.voice-bar .wave span:nth-child(4) { height: 10px; animation-delay: 0.3s; }
.voice-bar .wave span:nth-child(5) { height: 14px; animation-delay: 0.4s; }
.voice-bar .wave span:nth-child(6) { height: 8px;  animation-delay: 0.5s; }
.voice-bar .wave span:nth-child(7) { height: 12px; animation-delay: 0.6s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* basket pill */
.basket-pill {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 5;
}

/* ============================================
   FRIDGE SCAN VIEW
   ============================================ */
.fridge-stage {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  aspect-ratio: 1.2;
  display: grid;
  place-items: center;
}
.fridge-scan-line {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 60px;
  background: linear-gradient(180deg, oklch(0.85 0.22 135 / 0), oklch(0.85 0.22 135 / 0.35), oklch(0.85 0.22 135 / 0));
  filter: blur(1px);
  animation: scan 3s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(calc(100% * 6)); }
}
.fridge-detection {
  position: absolute;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  background: oklch(0.85 0.22 135 / 0.08);
  pointer-events: none;
}
.fridge-detection .tag {
  position: absolute;
  top: -22px;
  left: -1px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ============================================
   TIMELINE / TRACKING
   ============================================ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-row {
  display: grid;
  grid-template-columns: 70px 30px 1fr;
  gap: 18px;
  padding: 18px 0;
  align-items: center;
  position: relative;
}
.timeline-row + .timeline-row::before {
  content: "";
  position: absolute;
  left: 84px;
  top: -18px;
  height: 36px;
  width: 1px;
  background: var(--border);
}
.timeline-row.done + .timeline-row::before { background: var(--accent); }
.timeline-time {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.timeline-node {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  margin: 0 auto;
  position: relative;
}
.timeline-row.done .timeline-node {
  background: var(--accent);
  border-color: var(--accent);
}
.timeline-row.current .timeline-node {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.timeline-label .title { font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.timeline-label .sub { font-size: 12.5px; color: var(--ink-3); }

/* ============================================
   PANTRY
   ============================================ */
.pantry-item {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.pantry-bar {
  position: relative;
  height: 4px;
  background: var(--surface-3);
  border-radius: 2px;
  overflow: hidden;
}
.pantry-bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
  border-radius: 2px;
}
.pantry-bar.low > span { background: var(--warm); }
.pantry-bar.empty > span { background: var(--danger); }

/* ============================================
   SLOT / DELIVERY
   ============================================ */
.slot {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  background: var(--bg);
  cursor: pointer;
  transition: 0.15s;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.slot:hover { border-color: var(--border-strong); }
.slot.selected {
  border-color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 3px oklch(0.17 0.012 80 / 0.06);
}
.slot.selected::after {
  content: "✓";
  position: absolute;
}
.slot .when {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
}
.slot .span { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.slot .price { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); margin-top: 4px; }

/* nav top within canvas — utility */
.canvas-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

/* basket row */
.basket-row {
  display: grid;
  grid-template-columns: 56px 1fr auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.basket-row:last-child { border-bottom: 0; }
.basket-thumb {
  width: 56px;
  height: 56px;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  border: 1px solid var(--border-soft);
}
.basket-thumb svg { width: 60%; height: 60%; color: var(--ink-3); }
.basket-row .name { font-size: 14px; color: var(--ink); }
.basket-row .meta { font-family: var(--f-mono); font-size: 11px; color: var(--ink-4); letter-spacing: 0.06em; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
  height: 28px;
}
.qty button { width: 26px; height: 26px; color: var(--ink-3); }
.qty button:hover { background: var(--surface-2); color: var(--ink); }
.qty .n { width: 26px; text-align: center; font-family: var(--f-mono); font-size: 12px; }
.basket-row .price { font-family: var(--f-mono); font-size: 13px; }
.basket-row .x {
  width: 24px; height: 24px;
  border-radius: 50%;
  color: var(--ink-4);
  display: grid; place-items: center;
}
.basket-row .x:hover { background: var(--surface-2); color: var(--danger); }

/* totals */
.totals {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.totals-line {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--ink-2);
}
.totals-line.total {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
  font-size: 16px;
  color: var(--ink);
}
.totals-line .v { font-family: var(--f-mono); }

/* recipe hero */
.recipe-hero {
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 20% 30%, oklch(0.88 0.16 55 / 0.3), transparent 50%),
    radial-gradient(circle at 80% 70%, oklch(0.88 0.16 135 / 0.3), transparent 50%),
    var(--surface);
  padding: 32px;
  border: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  align-items: end;
}
.recipe-hero h2 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.recipe-hero h2 em { font-style: italic; color: var(--ink-2); }
.recipe-hero .stats {
  display: flex;
  gap: 18px;
  margin-top: 16px;
}
.recipe-hero .stat {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.recipe-hero .stat b {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
}

/* ingredient row */
.ingr-row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: 12px;
  padding: 12px 0;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
}
.ingr-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: grid; place-items: center;
  transition: 0.15s;
  cursor: pointer;
  flex-shrink: 0;
}
.ingr-check svg { width: 12px; height: 12px; opacity: 0; color: var(--ink); }
.ingr-row.checked .ingr-check { background: var(--accent); border-color: var(--accent); }
.ingr-row.checked .ingr-check svg { opacity: 1; }
.ingr-name { font-size: 14px; }
.ingr-row.checked .ingr-name { color: var(--ink-3); text-decoration: line-through; }
.ingr-amount { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.ingr-status {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink-3);
}
.ingr-status.in {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* delivery map */
.delivery-map {
  height: 220px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, oklch(0.97 0.005 95), oklch(0.94 0.005 95));
}
.delivery-map .grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px),
    linear-gradient(0deg, var(--border-soft) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}
.delivery-map .route {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Close button always shown (agent is an overlay) */
.agent-head-actions .icon-btn[title="Close"] { display: grid; }

/* FAB — appears when agent is collapsed */
.agent-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  height: 56px;
  padding: 0 20px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}
.agent-fab:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.agent-fab .label-text {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.agent-fab .label-mono {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.agent-fab .fab-orb {
  width: 38px;
  height: 38px;
  display: inline-block;
}

/* sticky brand top bar */
.canvas-top {
  position: sticky; top: 0; z-index: 8;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 32px;
  background: oklch(0.99 0.003 100 / 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
}
.canvas-top .brand { display: flex; align-items: center; gap: 10px; }
.canvas-top .brand-orb { width: 22px; height: 22px; display: inline-block; }
.canvas-top .brand-word { font-family: var(--f-logo); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; color: var(--ink); }
.canvas-top-actions { display: flex; align-items: center; gap: 10px; }
.ask-btn { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 9px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--bg); color: var(--ink); font-size: 13.5px; font-weight: 500; transition: 0.18s; }
.ask-btn:hover { border-color: var(--ink); box-shadow: var(--shadow-glow); }
.ask-btn .ask-orb { width: 22px; height: 22px; display: inline-block; }
.basket-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--bg); color: var(--ink); transition: 0.15s; }
.basket-pill:hover { border-color: var(--ink); }
.basket-pill svg { color: var(--ink-2); }
.basket-pill .mono { font-size: 12px; }
.basket-pill .basket-pill-total { font-size: 12.5px; color: var(--ink-2); }

/* agent dim scrim (overlay at all sizes) */
.agent-scrim {
  position: fixed; inset: 0;
  background: oklch(0.17 0.012 80 / 0.22);
  backdrop-filter: blur(2px);
  z-index: 55; opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.agent-scrim.show { opacity: 1; pointer-events: auto; }

/* responsive — tablets */
@media (max-width: 1180px) {
  .canvas-inner { max-width: 860px; padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 860px) {
  .canvas-top { padding: 11px 22px; }
  .canvas-inner { padding: 20px 22px 110px; }
  .canvas-header h1 { font-size: 34px; }
  .welcome h1 { font-size: 38px; }
  .welcome { padding: 24px 16px; min-height: auto; }
  .recipe-hero { grid-template-columns: 1fr; padding: 24px; }
  .recipe-hero h2 { font-size: 30px; }
  .canvas-inner > div[style*="grid-template-columns: 1fr 320px"],
  .canvas-inner > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .article-hero { grid-template-columns: 1fr; }
  .basket-row { grid-template-columns: 44px 1fr auto; gap: 10px; }
  .basket-row .qty, .basket-row .x { display: none; }
}

/* phones — left rail becomes a bottom tab bar */
@media (max-width: 720px) {
  .app { grid-template-columns: 1fr; }
  .rail {
    flex-direction: row;
    border-right: 0; border-top: 1px solid var(--border);
    position: fixed; left: 0; right: 0; bottom: 0; top: auto;
    height: calc(58px + env(safe-area-inset-bottom, 0px)); width: 100%;
    padding: 0 6px env(safe-area-inset-bottom, 0px); gap: 0; box-sizing: border-box;
    justify-content: space-around; align-items: center;
    z-index: 40;
    background: oklch(0.99 0.003 100 / 0.92);
  }
  .rail-logo, .rail-spacer, .rail-avatar { display: none; }
  .rail-btn { width: 44px; height: 42px; }
  .rail-btn.active::before { left: 12px; right: 12px; top: -9px; bottom: auto; width: auto; height: 2px; }
  .canvas-top { padding: 11px 18px; }
  .canvas-top .brand-word { font-size: 20px; }
  .ask-btn .ask-label { display: none; }
  .ask-btn { padding: 7px; }
  .canvas-inner { padding: 18px 18px calc(104px + env(safe-area-inset-bottom, 0px)); }
  .agent { max-width: 100%; }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .canvas-header h1 { font-size: 30px; }
  .welcome h1 { font-size: 32px; }
}

/* ============================================
   CATALOG + PRODUCT DETAIL
   ============================================ */
.dept-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.dept-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: var(--surface);
  font-size: 13px; color: var(--ink-2); transition: 0.15s;
}
.dept-chip:hover { border-color: var(--border-strong); color: var(--ink); }
.dept-chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.dept-dot {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background:
    radial-gradient(circle at 34% 30%, oklch(0.97 0.05 var(--h, 135)), transparent 52%),
    conic-gradient(from 200deg, oklch(0.86 0.18 var(--h, 135)), oklch(0.74 0.16 var(--h, 135)), oklch(0.90 0.13 var(--h, 135)), oklch(0.86 0.18 var(--h, 135)));
  box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.04);
}
.dept-dot.all {
  background:
    radial-gradient(circle at 34% 30%, oklch(0.98 0.02 100), transparent 52%),
    conic-gradient(from 0deg, oklch(0.86 0.20 135), oklch(0.82 0.16 55), oklch(0.80 0.16 320), oklch(0.82 0.16 240), oklch(0.86 0.20 135));
}

/* feature banner — real-image hero */
.feature-banner {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 36px; height: 240px;
}
.feature-banner image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-banner .fb-overlay {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 28px 30px;
  background: linear-gradient(0deg, oklch(0.14 0.01 80 / 0.72), oklch(0.14 0.01 80 / 0.15) 45%, transparent 72%);
}
.feature-banner .fb-eyebrow { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: oklch(0.95 0.02 100 / 0.8); }
.feature-banner .fb-title { font-family: var(--f-display); font-size: 40px; line-height: 1; letter-spacing: -0.025em; color: oklch(0.99 0.003 100); }
.feature-banner .fb-title em { font-style: italic; color: var(--accent); }
.feature-banner .fb-sub { font-size: 14px; color: oklch(0.95 0.02 100 / 0.82); max-width: 460px; }

/* product detail — expanded images */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 20px; }
.pdp-hero { position: relative; }
.pdp-hero image-slot { width: 100%; height: 420px; display: block; }
.pdp-sku {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
  background: oklch(0.99 0.003 100 / 0.85); padding: 4px 8px; border-radius: 6px; border: 1px solid var(--border);
}
.pdp-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pdp-thumbs image-slot { width: 100%; height: 96px; display: block; }

.pdp-name { font-family: var(--f-display); font-weight: 400; font-size: 46px; line-height: 1.02; letter-spacing: -0.028em; margin: 0 0 8px; }
.pdp-sub { color: var(--ink-3); font-size: 15px; margin-bottom: 24px; }
.pdp-price-row { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.pdp-price { font-family: var(--f-mono); font-size: 26px; color: var(--ink); letter-spacing: -0.01em; }
.pdp-why { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 20px; margin-bottom: 24px; }
.pdp-why-text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.pdp-meta-list { border-top: 1px solid var(--border-soft); }
.pdp-meta-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); align-items: baseline; }
.pdp-meta-row .k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.pdp-meta-row .v { font-size: 14px; color: var(--ink-2); text-align: right; }
.fact-chip { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.04em; padding: 4px 9px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border-soft); color: var(--ink-2); }

@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .pdp-hero image-slot { height: 300px; }
  .pdp-name { font-size: 36px; }
}

/* ============================================
   RECIPE ARTICLE (rich recipe)
   ============================================ */
.article-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.article-hero .art-img {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 1; background: var(--surface-2); box-shadow: var(--shadow-md);
}
.article-hero .art-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-byline { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.art-byline a { color: var(--accent-ink); border-bottom: 1px solid oklch(0.85 0.18 135 / 0.45); }
.art-byline a:hover { border-color: var(--accent-ink); }
.art-desc { color: var(--ink-2); font-size: 15px; line-height: 1.62; margin: 16px 0 0; max-width: 520px; }

.detail-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 4px 0 16px; }
.detail-cell { background: var(--bg); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 16px; }
.detail-cell .k { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 10px; }
.detail-cell .v { font-family: var(--f-display); font-style: italic; font-size: 26px; line-height: 1; letter-spacing: -0.01em; color: var(--ink); }
.detail-cell .v small { font-size: 12px; font-style: normal; font-family: var(--f-mono); color: var(--ink-4); letter-spacing: 0.04em; }

.macro-row { display: flex; flex-wrap: wrap; gap: 8px; }
.macro-chip { display: inline-flex; align-items: baseline; gap: 9px; padding: 9px 14px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border-soft); }
.macro-chip .mk { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }
.macro-chip .mv { font-size: 14px; color: var(--ink); }
.macro-chip .mp { font-family: var(--f-mono); font-size: 11px; color: var(--accent-ink); }

/* video card — vertical poster that opens the source */
.video-card {
  position: relative; width: 320px; aspect-ratio: 9 / 16; border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--border); cursor: pointer; display: block; flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card .vscrim { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.14 0.01 80 / 0.22), transparent 32%, transparent 52%, oklch(0.14 0.01 80 / 0.78)); }
.video-card .vplay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%; background: oklch(0.99 0.003 100 / 0.94);
  display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: 0.18s;
}
.video-card:hover .vplay { transform: translate(-50%, -50%) scale(1.08); }
.video-card .vplay svg { width: 24px; height: 24px; margin-left: 3px; color: var(--ink); }
.video-card .vmeta { position: absolute; left: 18px; right: 18px; bottom: 18px; color: oklch(0.99 0.003 100); }
.video-card .vtag {
  position: absolute; top: 14px; left: 14px; color: oklch(0.99 0.003 100);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  background: oklch(0.14 0.01 80 / 0.5); backdrop-filter: blur(8px); padding: 4px 9px; border-radius: var(--r-pill);
}

/* steps */
.step-card { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--border-soft); }
.step-card:first-child { border-top: 0; }
.step-num { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--ink); }
.step-card .st-time { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 7px; }
.step-card .st-body { font-size: 15px; line-height: 1.6; color: var(--ink); max-width: 620px; }
.step-uses { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.use-chip { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.03em; padding: 4px 9px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border-soft); color: var(--ink-3); }

/* ingredient grid — large image cards */
.ingr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 16px; }
.ingr-card { display: flex; flex-direction: column; gap: 3px; text-align: center; }
.ingr-card .ic-img {
  position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border-soft); background: var(--surface-2);
  display: grid; place-items: center; margin-bottom: 9px; transition: 0.16s;
}
.ingr-card .ic-img img { width: 100%; height: 100%; object-fit: cover; }
.ingr-card[data-clickable="1"] { cursor: pointer; }
.ingr-card[data-clickable="1"]:hover .ic-img { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ingr-card.added .ic-img { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.ic-add {
  position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  background: oklch(0.99 0.003 100 / 0.92); border: 1px solid var(--border); display: grid; place-items: center;
  color: var(--ink-2); backdrop-filter: blur(6px); transition: 0.15s;
}
.ic-add svg { width: 14px; height: 14px; }
.ingr-card.added .ic-add { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.ic-have {
  position: absolute; bottom: 8px; left: 8px; font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
  background: oklch(0.99 0.003 100 / 0.85); padding: 3px 7px; border-radius: var(--r-pill); border: 1px solid var(--border-soft);
}
.ic-name { font-size: 14.5px; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; }
.ic-amt { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-3); }
.ic-note { font-family: var(--f-display); font-style: italic; font-size: 13.5px; color: var(--ink-4); }

/* ============================================
   BUSINESS
   ============================================ */
.top-link { padding: 7px 12px; border-radius: var(--r-pill); font-size: 13.5px; color: var(--ink-2); transition: 0.15s; }
.top-link:hover { background: var(--surface-2); color: var(--ink); }
.top-link.active { color: var(--ink); background: var(--surface-3); }

/* small app footer */
.app-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 64px; padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}
.app-footer .foot-left { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-4); }
.app-footer .foot-orb { width: 18px; height: 18px; display: inline-block; }
.app-footer .foot-tag { color: var(--ink-5); }
.app-footer .foot-links { display: flex; align-items: center; gap: 2px; }
.app-footer .foot-link { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); padding: 5px 9px; border-radius: var(--r-pill); transition: 0.15s; display: inline-flex; align-items: center; gap: 5px; }
.app-footer .foot-link:hover { color: var(--ink); background: var(--surface-2); }
@media (max-width: 720px) {
  .app-footer { flex-direction: column; align-items: flex-start; gap: 14px; }
  .app-footer .foot-tag { display: none; }
  .app-footer .foot-links { flex-wrap: wrap; }
}

/* legal */
.legal-short { padding: 22px 24px; max-width: 680px; margin-bottom: 36px; }
.legal-short-t { font-family: var(--f-display); font-style: italic; font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.legal-sections { max-width: 680px; }
.legal-row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--border-soft); }
.legal-row:first-child { border-top: 0; }
.legal-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.legal-v { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 860px) { .legal-row { grid-template-columns: 1fr; gap: 6px; } }

/* ============================================
   BLYZR CAFÉ (app)
   ============================================ */
.cafe-scout {
  position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--border);
  padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background:
    radial-gradient(420px 300px at 88% 18%, oklch(0.90 0.12 135 / 0.18), transparent 60%),
    radial-gradient(360px 280px at 8% 92%, oklch(0.88 0.10 55 / 0.16), transparent 65%),
    var(--surface);
}
.cafe-scout .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); animation: pulse 2.4s ease-out infinite; }
.cafe-scout-orb { display: grid; place-items: center; }
.cafe-card { background: var(--bg); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 20px; }
.cafe-k { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 10px; }
.cafe-t { font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* Café — carousel + lightbox */
.cafe-carousel { position: relative; }
.cafe-carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 1px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cafe-carousel-track::-webkit-scrollbar { display: none; }
.cafe-slide { flex: 0 0 auto; width: min(340px, 82vw); scroll-snap-align: start; background: var(--bg); border: 1px solid var(--border-soft); border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; margin: 0; transition: border-color 0.18s, box-shadow 0.18s; }
.cafe-slide:hover { border-color: var(--ink-5); box-shadow: 0 8px 26px oklch(0 0 0 / 0.07); }
.cafe-slide-imgwrap { position: relative; }
.cafe-slide-imgwrap img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.cafe-slide-expand { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: oklch(0.2 0.01 100 / 0.46); backdrop-filter: blur(5px); display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity 0.18s; }
.cafe-slide:hover .cafe-slide-expand { opacity: 1; }
.cafe-slide-expand svg { width: 15px; height: 15px; }
.cafe-slide-cap { padding: 15px 18px 18px; }
.carousel-arrow { position: absolute; top: 38%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: oklch(1 0 0 / 0.92); backdrop-filter: blur(6px); color: var(--ink); font-size: 22px; line-height: 0; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 16px oklch(0 0 0 / 0.1); transition: border-color 0.16s; }
.carousel-arrow:hover { border-color: var(--ink); }
.carousel-arrow.left { left: 8px; }
.carousel-arrow.right { right: 8px; }
.cafe-lightbox { position: fixed; inset: 0; z-index: 200; background: oklch(0.12 0.008 100 / 0.88); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 28px; animation: lb-fade 0.2s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-fig { margin: 0; max-width: min(1080px, 94vw); display: flex; flex-direction: column; gap: 14px; }
.lightbox-fig img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: var(--r-md); }
.lightbox-fig figcaption { text-align: center; }
.lightbox-title { font-family: var(--f-display); font-style: italic; font-size: 26px; color: #fff; letter-spacing: -0.01em; }
.lightbox-desc { font-size: 14px; color: oklch(0.92 0 0 / 0.8); max-width: 620px; margin: 7px auto 0; line-height: 1.55; }
.lightbox-count { margin-top: 12px; font-size: 11px; letter-spacing: 0.18em; color: oklch(0.92 0 0 / 0.5); }
.lightbox-close, .lightbox-nav { position: fixed; border: 0; background: oklch(1 0 0 / 0.13); color: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 50%; z-index: 201; transition: background 0.16s; }
.lightbox-close:hover, .lightbox-nav:hover { background: oklch(1 0 0 / 0.24); }
.lightbox-close { top: 18px; right: 20px; width: 42px; height: 42px; font-size: 24px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 26px; line-height: 0; }
.lightbox-nav.left { left: 18px; }
.lightbox-nav.right { right: 18px; }
@media (max-width: 720px) {
  .carousel-arrow { display: none; }
  .lightbox-nav { top: auto; bottom: 26px; transform: none; width: 44px; height: 44px; }
  .lightbox-nav.left { left: 28px; }
  .lightbox-nav.right { right: 28px; }
  .lightbox-title { font-size: 22px; }
}
.cafe-moment-n { font-family: var(--f-display); font-style: italic; font-size: 21px; letter-spacing: -0.015em; margin-bottom: 5px; }
.cafe-moment-d { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.cafe-tasting {
  margin-top: 32px; padding: 30px 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background:
    radial-gradient(380px 260px at 90% 20%, oklch(0.84 0.14 30 / 0.16), transparent 62%),
    var(--surface);
}
.cafe-tasting-orb { display: grid; place-items: center; }
.cafe-tasting .dept-dot { flex-shrink: 0; }
@media (max-width: 860px) {
  .cafe-scout { grid-template-columns: 1fr; }
  .cafe-scout-orb { order: -1; justify-items: start; }
  .cafe-tasting { grid-template-columns: 1fr; }
  .cafe-tasting-orb { order: -1; justify-items: start; }
}

.biz-tabs { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-bottom: 32px; padding-bottom: 2px; }
.biz-tabs::-webkit-scrollbar { display: none; }
.biz-tab { padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface); font-size: 13.5px; color: var(--ink-2); transition: 0.15s; white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 720px) {
  .biz-tabs { gap: 6px; }
  .biz-tab { padding: 8px 12px; font-size: 13px; }
}
.biz-tab:hover { border-color: var(--border-strong); color: var(--ink); }
.biz-tab.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.biz-panel { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 36px; align-items: center; padding: 6px 0 12px; }
.biz-title { font-family: var(--f-display); font-weight: 400; font-size: 52px; line-height: 1.0; letter-spacing: -0.03em; margin: 0 0 16px; }
.biz-title em { font-style: italic; color: var(--ink-2); }
.biz-desc { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 520px; margin: 0; }
.biz-visual { display: grid; place-items: center; }
.biz-orb {
  width: 210px; height: 210px; border-radius: 50%; position: relative;
  background:
    radial-gradient(circle at 32% 28%, oklch(0.97 0.05 var(--h)), transparent 48%),
    conic-gradient(from 200deg, oklch(0.86 0.18 var(--h)), oklch(0.72 0.16 var(--h)), oklch(0.92 0.13 var(--h)), oklch(0.86 0.18 var(--h)));
  filter: blur(3px) saturate(1.05);
  box-shadow: 0 24px 60px -20px oklch(0.7 0.16 var(--h) / 0.55);
  animation: orb-spin 22s linear infinite;
}

.biz-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 14px; }
.biz-service { background: var(--bg); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 18px; transition: 0.16s; }
.biz-service:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.biz-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; background: oklch(0.95 0.06 var(--h)); color: oklch(0.42 0.13 var(--h)); }
.biz-ic svg { width: 20px; height: 20px; }
.biz-svc-label { font-size: 14.5px; font-weight: 500; color: var(--ink); margin-bottom: 3px; letter-spacing: -0.005em; }
.biz-svc-sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }

@media (max-width: 860px) {
  .biz-panel { grid-template-columns: 1fr; }
  .biz-visual { order: -1; justify-items: start; }
  .biz-orb { width: 150px; height: 150px; }
  .biz-title { font-size: 38px; }
}

@media (max-width: 860px) {
  .article-hero { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .video-card { width: 100%; max-width: 320px; }
}

/* ===== Plan-builder controls (stepper / slider) — reused by .biz-pick ===== */
.calc-control-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 9px; gap: 12px; }
.calc-control-label { font-size: 13px; color: var(--ink-2); }
.calc-control-meta { font-size: 11px; color: var(--ink-4); letter-spacing: -0.01em; }
.calc-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--r-pill); height: 34px; overflow: hidden; }
.calc-stepper button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink-2); transition: 0.15s; }
.calc-stepper button:hover:not(:disabled) { background: var(--surface-2); color: var(--ink); }
.calc-stepper button:disabled { color: var(--ink-5); cursor: default; }
.calc-stepper button svg { width: 14px; height: 14px; }
.calc-step-n { min-width: 42px; text-align: center; font-size: 14px; color: var(--ink); }
.calc-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: var(--surface-3); outline: none; cursor: pointer; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1.5px solid oklch(0.66 0.14 var(--h, 240)); box-shadow: var(--shadow-md); cursor: pointer; transition: transform 0.12s; }
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc-slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1.5px solid oklch(0.66 0.14 var(--h, 240)); box-shadow: var(--shadow-md); cursor: pointer; }
.calc-slider-val { margin-top: 8px; font-size: 13px; color: var(--ink-2); }

/* ===== Business lead form (TanStack Form) ===== */
.lead-overlay { position: fixed; inset: 0; z-index: 220; background: oklch(0.2 0.01 100 / 0.5); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; overflow-y: auto; animation: lb-fade 0.2s ease; }
.lead-card { position: relative; width: 100%; max-width: 520px; background: var(--bg); border-radius: var(--r-lg, 22px); padding: 30px 28px; box-shadow: var(--shadow-lg, 0 24px 60px oklch(0 0 0 / 0.18)); max-height: calc(100dvh - 40px); overflow-y: auto; }
.lead-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--ink-2); font-size: 20px; line-height: 0; cursor: pointer; display: grid; place-items: center; transition: 0.15s; }
.lead-close:hover { border-color: var(--ink); color: var(--ink); }
.lead-title { font-family: var(--f-display); font-style: italic; font-size: 28px; letter-spacing: -0.02em; margin: 0 0 6px; }
.lead-sub { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0 0 20px; }
.lead-summary { background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 12px 14px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 18px; white-space: pre-line; line-height: 1.5; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.lead-label { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.lead-req { color: var(--accent-ink, oklch(0.5 0.16 135)); margin-left: 2px; }
.lead-input { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--r-sm, 10px); background: var(--surface); font: inherit; font-size: 14px; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; box-sizing: border-box; }
.lead-input::placeholder { color: var(--ink-4); }
.lead-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px oklch(0.75 0.04 250 / 0.16); }
.lead-input.bad { border-color: oklch(0.62 0.2 25); }
.lead-textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
.lead-err { font-size: 12px; color: oklch(0.55 0.2 25); }
.lead-fine { font-size: 11.5px; color: var(--ink-4); text-align: center; margin: 14px 0 0; }
.lead-success { text-align: center; padding: 18px 8px 8px; }
.lead-success-t { font-family: var(--f-display); font-style: italic; font-size: 26px; margin: 14px 0 6px; }
.lead-success-d { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0 auto 22px; max-width: 360px; }
@media (max-width: 520px) {
  .lead-row { grid-template-columns: 1fr; gap: 0; }
  .lead-card { padding: 26px 20px; }
  .lead-title { font-size: 24px; }
}

/* ===== Sell-in-the-US plan builder (biz-pick) ===== */
/* Grouped, selectable services with pricing (Sell in the US) */
.biz-pick { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.biz-pick-main { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.biz-pick-group { --h: 240; }
.biz-pick-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.biz-pick-dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 34% 30%, oklch(0.96 0.05 var(--h)), transparent 52%), conic-gradient(from 200deg, oklch(0.86 0.18 var(--h)), oklch(0.72 0.16 var(--h)), oklch(0.90 0.13 var(--h))); }
.biz-pick-headtext { display: flex; flex-direction: column; gap: 2px; }
.biz-pick-label { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.biz-pick-blurb { font-size: 13px; color: var(--ink-3); }
.biz-pick-count { margin-left: auto; font-size: 12px; color: oklch(0.42 0.13 var(--h)); background: oklch(0.95 0.06 var(--h)); padding: 4px 10px; border-radius: var(--r-pill); }
.biz-pick-cards { display: flex; flex-direction: column; gap: 10px; }
.biz-pick-card { --h: 240; position: relative; background: var(--bg); border: 1.5px solid var(--border-soft);
  border-radius: var(--r-md); cursor: pointer; transition: border-color 0.16s, background 0.16s; }
.biz-pick-card:hover { border-color: var(--border-strong); }
.biz-pick-card.on { border-color: oklch(0.78 0.13 var(--h)); background: oklch(0.985 0.02 var(--h)); }
.biz-pick-row { display: flex; align-items: center; gap: 13px; padding: 15px 15px 15px 15px; }
.biz-pick-ic { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center;
  background: oklch(0.95 0.06 var(--h)); color: oklch(0.42 0.13 var(--h)); }
.biz-pick-ic svg { width: 21px; height: 21px; }
.biz-pick-text { display: flex; flex-direction: row; align-items: baseline; gap: 9px; flex: 1; min-width: 0; }
.biz-pick-name { font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; white-space: nowrap; flex-shrink: 0; }
.biz-pick-sub { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.biz-pick-price { margin-left: 6px; padding-left: 14px; border-left: 1px solid var(--border); min-width: 92px; text-align: right;
  font-size: 15px; color: var(--ink); white-space: nowrap; }
.biz-pick-card.on .biz-pick-price { border-left-color: oklch(0.86 0.08 var(--h)); }
.biz-pick-price small { color: var(--ink-4); font-size: 10px; }
.biz-pick-more { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--border);
  background: var(--bg); color: var(--ink-2); display: grid; place-items: center; transition: 0.15s; }
.biz-pick-more:hover { border-color: var(--border-strong); background: var(--surface-2); color: var(--ink); }
.biz-pick-more svg { width: 15px; height: 15px; }
.biz-pick-check { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--bg); display: grid; place-items: center; color: #fff; transition: 0.16s; }
.biz-pick-check svg { width: 13px; height: 13px; opacity: 0; transition: 0.16s; }
.biz-pick-card.on .biz-pick-check { background: oklch(0.78 0.16 var(--h)); border-color: oklch(0.78 0.16 var(--h)); }
.biz-pick-card.on .biz-pick-check svg { opacity: 1; }
.biz-pick-detail { padding: 0 16px 16px 70px; cursor: default; animation: bizReveal 0.18s ease; }
@keyframes bizReveal { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.biz-pick-moretext { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.biz-pick-detail .calc-control { margin-top: 4px; }
.biz-pick-line { display: flex; justify-content: space-between; align-items: center; margin-top: 14px;
  padding-top: 12px; border-top: 1px dashed var(--border); font-size: 12.5px; color: var(--ink-3); }
.biz-pick-line span:last-child { color: var(--ink); }
.biz-pick-side { position: sticky; top: 92px; }
.biz-pick-sum { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.biz-pick-sum-eyebrow { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.biz-pick-sum-figs { display: flex; flex-direction: column; gap: 14px; }
.biz-pick-fig { display: flex; flex-direction: column; gap: 3px; }
.biz-pick-fig-k { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.biz-pick-fig-v { font-family: var(--f-display); font-size: 34px; line-height: 1; color: var(--ink); }
.biz-pick-barcount { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); padding-top: 14px; border-top: 1px solid var(--border-soft); }
.biz-pick-sum .btn[disabled] { opacity: 0.4; pointer-events: none; }
.biz-pick-fine { margin: 2px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-4); }
@media (max-width: 860px) {
  .biz-pick { grid-template-columns: 1fr; }
  .biz-pick-side { position: static; }
  .biz-pick-detail { padding-left: 16px; }
}
