/* OrderDesk prototype UI, minimal, workflow-led, keyboard-first. */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  background: #f7f7f5;
  height: 100vh;
  font-feature-settings: "calt" 0; /* keep 2x12 as typed; Inter would draw the x as a multiplication sign */
}

.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

:root {
  --brand-primary: #1f2937;
  --brand-on-primary: #f3f4f6;
  --brand-accent: #facc15;
  --brand-accent-dark: #ca8a04;
  --brand-muted-on-primary: #9ca3af;
  --brand-heading-font: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  border-bottom: 3px solid var(--brand-accent);
}
/* The yard's bar: half again as tall as the old one, their colors, their type. */
.brandbar { min-height: 66px; padding: 10px 22px; }
.brand-block { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-logo { height: 42px; width: auto; max-width: 160px; object-fit: contain; }
.brand-logo.on-light { background: #fff; padding: 4px 8px; border-radius: 6px; }
.brand-text { min-width: 0; }
.brand-name { font-family: var(--brand-heading-font); font-size: 22px; font-weight: 700; letter-spacing: .1px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-tagline { font-size: 12px; color: var(--brand-muted-on-primary); margin-top: 2px; letter-spacing: .2px; }
.brand-sep { color: var(--brand-muted-on-primary); }
.btn-top { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: var(--brand-on-primary); min-height: 36px; }
.btn-top:hover { background: rgba(255,255,255,.16); }
.btn-top.primary { background: var(--brand-accent); border-color: var(--brand-accent); color: #111; }
.btn-top.primary:hover { background: var(--brand-accent-dark); border-color: var(--brand-accent-dark); }
.btn-top .dot { width: 9px; height: 9px; border-radius: 50%; background: #6b7280; box-shadow: 0 0 0 2px rgba(255,255,255,.15); }
.btn-top.on .dot { background: #22c55e; }
.brand { font-weight: 600; font-size: 16px; }
.brand-tag {
  background: #facc15; color: #1f2937;
  font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-left: 6px;
}

.bar-info { display: flex; gap: 10px; align-items: center; }

.layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr) 320px;
  flex: 1;
  overflow: hidden;
}
[x-cloak] { display: none !important; }
.brand-sub { font-weight: 400; color: #9ca3af; font-size: 12px; margin-left: 10px; }
.link-muted { color: #9ca3af; font-size: 12px; text-decoration: none; margin-left: 6px; }
.link-muted:hover { color: #f3f4f6; }
.btn-accent { background: #facc15; color: #1f2937; border-color: #eab308; font-weight: 600; }
.btn-accent:hover { background: #eab308; }

.field { display: block; margin-bottom: 8px; }
.field > span { display: block; font-size: 11px; color: #6b7280; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; }
.field select, .field input[type=text], .field textarea, .finder input, .composer textarea, .compose-row textarea, .banner input[type=text] {
  width: 100%; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 6px; font: inherit; font-size: 13px; background: #fff; box-sizing: border-box;
}
.field textarea { resize: vertical; }
.row-actions { display: flex; gap: 8px; align-items: center; }
.samples { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: 1fr 1fr; }
.sample { width: 100%; text-align: left; padding: 6px 10px; min-height: 0; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.sample strong { font-size: 11px; color: #92400e; text-transform: uppercase; letter-spacing: .4px; }
.sample span { font-size: 12px; color: #374151; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Queue header: tabs + lane filter */
.queue-header { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; }
.tabs { display: flex; gap: 6px; }
.tab { flex: 1; min-height: 42px; padding: 6px 8px; font-size: 14px; font-weight: 700; letter-spacing: .2px; background: #e9ebef; color: #1f2937; border: 1px solid #d7dae0; border-radius: 8px; }
.tab:hover { background: #dfe3e9; }
.tab.active { background: var(--brand-primary, #1f2937); color: #fff; border-color: var(--brand-primary, #1f2937); box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.tab small { opacity: .8; margin-left: 4px; font-size: 12px; font-weight: 600; }
.tab.active small { opacity: .9; }
.lane-filter { display: flex; gap: 6px; align-items: center; }
.lane-legend { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #6b7280; margin-right: 2px; }
.lane-filter .lane-pill { cursor: pointer; border: 0; min-height: 0; }
.lane-filter .lane-pill.dim { opacity: .35; }
.queue-list .chan { background: #f3f4f6; padding: 0 5px; border-radius: 3px; }
.queue-list .empty strong { display: block; font-style: normal; color: #374151; margin-bottom: 4px; }
.status-badge.st-clarifying { background: #fef3c7; color: #92400e; }
.status-badge.st-exported, .status-badge.st-approved { background: #d1fae5; color: #065f46; }
.status-badge.st-parse_failed { background: #fee2e2; color: #991b1b; }
.status-badge.st-superseded { background: #e5e7eb; color: #6b7280; text-decoration: line-through; }
.note-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #eef2ff; color: #3730a3; white-space: nowrap; }
.note-badge.note-asked_for_person, .note-badge.note-handed_off { background: #fff1e6; color: #9a3412; }
.note-badge.note-silent { background: #f3f4f6; color: #6b7280; }

/* Draft header + banners */
.draft-header h2 { font-size: 18px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: #6b7280; font-weight: 500; }
.draft-meta { display: flex; gap: 12px; align-items: center; margin: 6px 0 0; background: none; padding: 0; }
.muted { color: #6b7280; }
.small { font-size: 12px; }
.draft-actions a { text-decoration: none; display: inline-flex; align-items: center; }
.banner { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border-radius: 6px; margin: 10px 0; font-size: 13px; }
.banner-warn { background: #fef3c7; border: 1px solid #fde68a; color: #78350f; }
.banner-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }
.banner-muted { background: #f3f4f6; border: 1px solid #e5e7eb; color: #374151; }
.banner input[type=text] { flex: 1; min-width: 200px; }
.banner label { font-weight: 600; }
.composer { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; padding: 10px 12px; margin: 10px 0; }
.composer label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.composer textarea { margin-bottom: 8px; }

/* Lines */
.lines input.qty { width: 64px; padding: 5px 6px; border: 1px solid #d1d5db; border-radius: 4px; font: inherit; }
.lines input.qty:disabled { background: #f9fafb; border-color: transparent; }
.lines td.num { text-align: right; white-space: nowrap; }
.lines tfoot td { border-top: 1px solid #e5e7eb; padding-top: 10px; }
.sku-cell { min-width: 320px; }
.candidate { display: grid; grid-template-columns: 18px 1fr; gap: 2px 8px; padding: 6px 6px; border-radius: 6px; border: 1px solid transparent; cursor: pointer; align-items: center; }
.candidate.chosen { background: #eff6ff; border-color: #bfdbfe; }
.candidate .cand-main { grid-column: 2; }
.candidate .cand-main small { color: #6b7280; margin-left: 4px; }
.finder { margin-top: 6px; position: relative; }
.finder input { padding: 5px 8px; font-size: 12px; }
.finder-results { list-style: none; margin: 2px 0 0; padding: 4px; background: #fff; border: 1px solid #d1d5db; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,.08); position: absolute; z-index: 5; width: 100%; }
.finder-results button { width: 100%; text-align: left; border: 0; background: none; padding: 5px 6px; min-height: 0; font-size: 12px; }
.finder-results button:hover { background: #f3f4f6; }
.flag-cell { white-space: nowrap; }
.flag-form { display: flex; gap: 4px; }
.flag-form select { font-size: 12px; }
.flagged { color: #b91c1c; font-size: 12px; font-weight: 600; }
.remove-line { margin-top: 6px; }
.btn-remove { background: transparent; border: 1px solid #e5e7eb; color: #9ca3af; font-size: 12px; padding: 2px 7px; min-height: 0; border-radius: 4px; }
.btn-remove:hover { color: #b91c1c; border-color: #fca5a5; }
.remove-line .btn-warn, .remove-line .btn-secondary { font-size: 12px; padding: 2px 8px; min-height: 0; }
.reach { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: -2px 0 8px; }
.reach .btn-secondary { font-size: 12px; padding: 4px 10px; min-height: 0; text-decoration: none; display: inline-flex; align-items: center; }
.toast.err { background: #b91c1c; }

/* Context column (B4) */
.context { background: #fafaf9; border-left: 1px solid #e5e7eb; overflow-y: auto; padding: 12px; }
.panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px; margin-bottom: 12px; }
.panel h3 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #6b7280; }
.kv { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 6px; font-size: 13px; align-items: baseline; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ratecard { border-left: 3px solid var(--brand-accent); padding: 4px 0 2px 8px; margin: 4px 0 8px; }
.ratecard .kv { margin-bottom: 2px; }
.messages { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; padding: 2px; }
.msg { display: flex; flex-direction: column; max-width: 92%; }
.msg.in { align-self: flex-start; }
.msg.out { align-self: flex-end; align-items: flex-end; }
.bubble { padding: 7px 10px; border-radius: 10px; font-size: 13px; line-height: 1.35; white-space: pre-wrap; font-variant-numeric: tabular-nums; }
.msg.in .bubble { background: #f3f4f6; color: #111827; border-bottom-left-radius: 3px; }
.msg.out .bubble { background: #2563eb; color: #fff; border-bottom-right-radius: 3px; }
.bubble a { color: inherit; text-decoration: underline; overflow-wrap: anywhere; }
.when { font-size: 10px; color: #9ca3af; margin-top: 2px; }

/* Queue (Screen 1) */
.queue {
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  overflow-y: auto;
}
.queue-header {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky; top: 0; background: #fff;
  display: flex; justify-content: space-between; align-items: baseline;
}
.queue-header h2 { font-size: 14px; margin: 0; }
.queue-list { list-style: none; margin: 0; padding: 0; }
.queue-list li {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
}
.queue-list li:hover { background: #fafafa; }
.queue-list li.active { background: #eff6ff; border-left: 3px solid #2563eb; padding-left: 13px; }
.queue-list li.stopped { background: #fef2f2; }
.queue-list .empty { color: #6b7280; font-style: italic; cursor: default; }
.queue-list .row1 { display: flex; gap: 8px; align-items: center; }
.queue-list .customer { flex: 1; font-weight: 600; }
.queue-list .age { color: #9ca3af; font-size: 12px; }
.queue-list .snippet { color: #4b5563; margin: 4px 0; font-size: 13px; }
.queue-list .row2 { display: flex; gap: 8px; font-size: 12px; color: #6b7280; }

/* Lane pills */
.lane-pill {
  font-size: 11px; padding: 2px 6px; border-radius: 999px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.lane-fast, .lane-fast_lane { background: #d1fae5; color: #065f46; }
.lane-normal { background: #e0e7ff; color: #3730a3; }
.lane-clarify, .lane-clarification { background: #fef3c7; color: #92400e; }
.lane-triage { background: #fee2e2; color: #991b1b; }

.status-badge {
  background: #e5e7eb; color: #374151;
  padding: 1px 6px; border-radius: 4px;
}
.stopped-badge {
  background: #b91c1c; color: white;
  padding: 1px 6px; border-radius: 4px; font-weight: 600;
}

/* Draft Review (Screen 2) */
.draft {
  background: #ffffff;
  overflow-y: auto;
  padding: 16px 24px;
}
.draft-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.draft-header h2 { margin: 0; }
.draft-actions { display: flex; gap: 8px; }

button {
  border: 1px solid #d1d5db;
  background: #fff; color: #111827;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  min-height: 36px; /* glove-friendly per D2-20 spirit */
}
button:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: #2563eb; color: white; border-color: #1d4ed8; }
.btn-primary:hover { background: #1d4ed8; }
.btn-warn { background: #fef3c7; color: #92400e; border-color: #fbbf24; }
.btn-secondary { background: #f3f4f6; }
.btn-flag { background: transparent; border: 1px solid #e5e7eb; color: #9ca3af; font-size: 12px; padding: 2px 7px; min-height: 0; border-radius: 4px; }
.btn-flag:hover { color: #b91c1c; border-color: #fca5a5; background: #fef2f2; }

.draft-meta {
  background: #f9fafb;
  padding: 8px 12px; border-radius: 6px;
  margin-bottom: 12px;
}
.notes-pre { margin-top: 6px; color: #4b5563; }

.lines { width: 100%; border-collapse: collapse; margin-top: 8px; }
.lines th { text-align: left; font-size: 12px; color: #6b7280; padding: 6px 8px; border-bottom: 1px solid #e5e7eb; }
.lines td { padding: 8px; border-bottom: 1px solid #f3f4f6; vertical-align: top; }
.lines tr.line-flagged { background: #fff7ed; }
.lines tr.line-clarify { background: #fefce8; }
.lines tr.line-review { background: #fef3c7; }
.lines tr.line-unknown { background: #fee2e2; }

.freeform { color: #374151; font-size: 13px; line-height: 1.4; max-width: 240px; }

.candidate {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
}
.candidate.preferred { font-weight: 600; }
.candidate small { color: #6b7280; }

.no-match { color: #b91c1c; font-size: 12px; font-style: italic; }

.status-pill { padding: 2px 6px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.status-clean { background: #d1fae5; color: #065f46; }
.status-needs_clarification { background: #fef3c7; color: #92400e; }
.status-needs_review { background: #fed7aa; color: #9a3412; }
.status-unknown { background: #fee2e2; color: #991b1b; }
.status-freeform { background: #e0e7ff; color: #3730a3; }

.reasons small { color: #6b7280; }

.placeholder {
  padding: 32px;
  color: #6b7280;
  font-size: 14px;
}
.hint { font-size: 13px; }
kbd {
  background: #f3f4f6; border: 1px solid #d1d5db;
  padding: 2px 6px; border-radius: 4px;
  font-family: monospace; font-size: 12px;
}

.toast {
  position: fixed;
  bottom: 16px; right: 16px;
  background: #1f2937; color: white;
  padding: 10px 14px; border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 10;
}

.empty { text-align: center; color: #6b7280; padding: 24px; font-style: italic; }

/* Responsive: outside-sales view (D3-2) collapses to single column */
@media (max-width: 1100px) {
  .layout { grid-template-columns: 300px minmax(0, 1fr); }
  .context { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #e5e7eb; }
}
@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
  .queue { border-right: none; border-bottom: 1px solid #e5e7eb; max-height: 40vh; }
  .samples { grid-template-columns: 1fr; }
}


/* Two-way conversation on the order desk */
.reply { margin-top: 10px; border-top: 1px dashed #e5e7eb; padding-top: 10px; }
.reply textarea { width: 100%; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 6px; font: inherit; font-size: 13px; resize: vertical; box-sizing: border-box; margin-bottom: 6px; }
.reply .hint { font-size: 12px; color: #6b7280; }

/* Customer side (/customer): the contact page with the counter assistant in the slot the form occupies */
.thread { display: flex; flex-direction: column; gap: 8px; background: #eceff3; border: 1px solid #e5e7eb; border-radius: 14px; padding: 14px; min-height: 240px; max-height: 46vh; overflow-y: auto; }
.bub { display: flex; flex-direction: column; max-width: 84%; }
.bub.in { align-self: flex-end; align-items: flex-end; }
.bub.out { align-self: flex-start; }
.bub-body { padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.4; white-space: pre-wrap; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bub.in .bub-body { background: #2563eb; color: #fff; border-bottom-right-radius: 4px; }
.bub.out .bub-body { background: #fff; color: #111827; border: 1px solid #e5e7eb; border-bottom-left-radius: 4px; }
.bub-body a { color: inherit; text-decoration: underline; font-weight: 600; }
.bub-when { font-size: 11px; color: #6b7280; margin: 3px 4px 0; }
.thread-empty { color: #9ca3af; font-size: 13px; margin: auto; }
.thread-status { min-height: 18px; font-size: 13px; color: #374151; margin: 8px 2px 10px; }
.thread-status.ask { color: #1e40af; font-weight: 600; }
.compose-row { display: flex; gap: 8px; align-items: flex-end; }
.compose-row textarea { flex: 1; resize: vertical; font-size: 14px; }
.compose-row button { height: 38px; }
.try { margin-top: 16px; }
.try-label { display: block; font-size: 11px; color: #6b7280; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }

/* Customer side channels */
.chan-tabs { display: flex; gap: 6px; margin: 2px 0 10px; }
.chan-tab { padding: 7px 14px; border-radius: 999px; border: 1px solid #d1d5db; background: #fff; font-size: 13px; font-weight: 600; color: #374151; cursor: pointer; min-height: 0; }
.chan-tab.active { background: var(--brand-primary); color: var(--brand-on-primary); border-color: var(--brand-primary); }
.call-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.call-btn { min-width: 170px; height: 40px; }
.call-state { font-size: 13px; color: #6b7280; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--brand-accent-dark); text-decoration: underline; cursor: pointer; }
.btn-link:hover { color: var(--brand-primary); }
.call-typed .hint { margin-bottom: 8px; }
.transcript { margin-top: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; }
.transcript-label { display: block; font-size: 11px; color: #6b7280; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.transcript-text { font-size: 15px; line-height: 1.45; min-height: 22px; }
.transcript-text .interim { color: #9ca3af; font-style: normal; }
.transcript-text .cursor { color: #9ca3af; }
.transcript-text .cursor::after { content: '...'; }
.attach-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; font-size: 13px; }
.attach-row .attached { display: inline-flex; gap: 8px; align-items: center; color: #374151; }
.photo-thumb { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; border: 1px solid #e5e7eb; }
.attach-row .hint { margin: 0; }
.call-state .level { display: inline-block; width: 46px; height: 8px; border-radius: 4px; margin-right: 8px; vertical-align: middle; background: linear-gradient(90deg, var(--brand-accent) calc(var(--lvl, 0) * 100%), #e5e7eb 0); }
.email-from { font-size: 13px; color: #374151; margin-bottom: 8px; display: flex; gap: 8px; align-items: baseline; }
.email-from .try-label { margin: 0; }
.file-input { display: none; }
.photo-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.photo-preview { display: block; max-width: 100%; max-height: 260px; border-radius: 10px; border: 1px solid #e5e7eb; margin-bottom: 8px; }
.err { color: #b91c1c; font-size: 13px; }
@media (max-width: 640px) { .brand-name { font-size: 18px; } .brandbar { padding: 10px 14px; } .btn-top span:last-child { display: none; } .btn-top.primary span:last-child { display: inline; } }

/* The customer page as the contact page: hero, agent panel with bold channel tabs, sample cards, then the one-pager sections */
.app-scroll { height: auto; min-height: 100vh; overflow: visible; }
.page-cust { background: #fff; height: auto; }
.cpage { max-width: 1180px; margin: 0 auto; padding: 0 22px 48px; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6b6b6b; font-weight: 600; }
.c-hero { padding: 40px 0 10px; }
.c-hero h1 { font-family: var(--brand-heading-font); font-weight: 400; font-size: clamp(32px, 4.4vw, 44px); line-height: 1.15; margin: 10px 0 0; }
.c-hero p { max-width: 62ch; color: #6b6b6b; margin: 14px 0 0; font-size: 17px; }
/* How to try it: the seed set's steps, numbered, three across on a wide screen, one on a phone */
.walk { border: 1px solid #e4e1dc; border-top: 3px solid var(--brand-accent); border-radius: 10px; background: #fff; padding: 14px 18px 4px; margin: 22px 0 0; }
.walk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.walk-steps { list-style: none; counter-reset: walk; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; padding: 0; margin: 14px 0 12px; }
.walk-steps li { counter-increment: walk; position: relative; padding-left: 34px; font-size: 14.5px; line-height: 1.5; color: #374151; }
.walk-steps li::before { content: counter(walk); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-primary); color: var(--brand-on-primary); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.walk-steps strong { display: block; color: #111; }
.walk-load { display: block; width: fit-content; margin-top: 6px; border: 1px solid var(--brand-primary); background: #fff; color: var(--brand-primary); border-radius: 999px; padding: 4px 14px; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.walk-load:hover { border-color: var(--brand-accent); }
@media (max-width: 900px) { .walk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .walk-steps { grid-template-columns: 1fr; } .walk { padding: 12px 14px 2px; } }
.c-main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; padding: 22px 0 48px; }
@media (max-width: 900px) { .c-main { grid-template-columns: 1fr; } }
.agent { border: 1px solid #e4e1dc; border-radius: 12px; background: #f6f5f2; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06); overflow: hidden; min-width: 0; }
.agent-head { background: var(--brand-primary); color: var(--brand-on-primary); padding: 14px 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.agent-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand-accent); box-shadow: 0 0 0 3px rgba(241,132,79,.25); }
.agent-head .name { font-family: var(--brand-heading-font); font-size: 18px; }
.agent-head .state { color: var(--brand-muted-on-primary); font-size: 13px; margin-left: auto; }
.chan-row { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px 18px 0; }
.chan { border: 2px solid var(--brand-primary); background: #fff; color: var(--brand-primary); border-radius: 999px; padding: 10px 22px; font: 700 15px inherit; font-family: inherit; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.chan[aria-selected="true"] { background: var(--brand-primary); color: var(--brand-on-primary); }
.chan:hover { border-color: var(--brand-accent); }
.chan-story { padding: 10px 18px 0; font-size: 14.5px; color: #6b6b6b; max-width: 64ch; line-height: 1.45; }
.chan-story b { color: #232323; font-weight: 600; }
.agent .try-label { padding: 14px 18px 0; margin: 0; }
.samples2 { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
.sample2 { text-align: left; border: 1px solid #e4e1dc; background: #fff; border-radius: 10px; padding: 10px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; font: inherit; }
.sample2:hover { border-color: var(--brand-accent); }
.sample2.picked { border-color: var(--brand-primary); box-shadow: inset 0 0 0 1px var(--brand-primary); }
.sample2 .who { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-accent-dark); }
.sample2 .say { font-size: 14px; color: #232323; line-height: 1.35; }
.sample2 .how { font-size: 12.5px; color: #6b6b6b; }
.agent .thread { margin: 14px 18px 0; min-height: 320px; max-height: 520px; overflow-y: auto; padding: 12px; }
.thread-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 18px 0; }
.thread-foot .thread-status { margin: 0; }
.identity { font-size: 12.5px; color: #6b6b6b; }
.composer { padding: 10px 18px 0; }
.composer .compose-row textarea { background: #fff; }
.agent-note { padding: 12px 18px 16px; font-size: 13px; color: #6b6b6b; }
.c-side { display: flex; flex-direction: column; gap: 0; min-width: 0; padding-top: 4px; }
.side-hint { font-size: 13.5px; color: #6b6b6b; margin: 6px 0 0; line-height: 1.5; }
.side-hint a { color: var(--brand-accent-dark); }
.c-card { border: 1px solid #e4e1dc; border-radius: 12px; padding: 18px 20px; background: #fff; }
.c-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.c-card p { margin: 0; font-size: 14px; color: #6b6b6b; line-height: 1.5; }
.c-card.quiet a { color: var(--brand-accent-dark); }
.c-card .sub { color: #6b6b6b; font-size: 14px; margin: 6px 0 0; }
details.fallback summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; align-items: center; gap: 8px; }
details.fallback summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #e4e1dc; font-size: 15px; color: #6b6b6b; }
details.fallback[open] summary::before { content: "-"; }
.old-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.old-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: #6b6b6b; }
.old-form input, .old-form textarea { border: 1px solid #e4e1dc; border-radius: 6px; padding: 8px 10px; font: inherit; font-size: 14px; min-width: 0; }
.old-form .full { grid-column: 1 / -1; }
.old-form .row { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ok { font-size: 13.5px; color: #1f7a3f; font-weight: 600; }
.c-band { border-top: 3px solid var(--brand-primary); padding: 28px 0 8px; }
.c-band .lede { max-width: none; font-size: 16px; color: #374151; margin: 10px 0 18px; }  /* runs the band's full width, like the rule above it and the three figures below */
.facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
@media (max-width: 760px) { .facts3 { grid-template-columns: 1fr; } }
.fact { border-top: 3px solid var(--brand-accent); padding-top: 10px; }
.fact strong { display: block; font-family: var(--brand-heading-font); font-weight: 400; font-size: 34px; line-height: 1; }
.fact span { display: block; color: #6b6b6b; margin-top: 8px; font-size: 14.5px; }
.c-two { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 18px 0 28px; border-top: 1px solid #e4e1dc; }
@media (max-width: 760px) { .c-two { grid-template-columns: 1fr; } }
.next { padding-left: 20px; margin: 10px 0 0; color: #374151; font-size: 15px; line-height: 1.5; }
.next li { margin-bottom: 8px; }
.price { font-family: var(--brand-heading-font); font-size: 30px; margin: 8px 0 6px; }
.price small { font-family: inherit; font-size: 14px; color: #6b6b6b; }
.c-two .sub { color: #6b6b6b; font-size: 14.5px; line-height: 1.5; margin: 0; }
.c-two .plan { margin-bottom: 10px; }
.c-two .terms { margin-top: 10px; }
.fb .q { margin: 12px 0 6px; font-weight: 600; font-size: 14.5px; }
.fb .choices { display: flex; gap: 16px; font-size: 14.5px; }
.fb textarea, .fb input[type=text] { width: 100%; border: 1px solid #e4e1dc; border-radius: 6px; padding: 8px 10px; font: inherit; font-size: 14px; }
.fb textarea { min-height: 70px; resize: vertical; }
.fb .hp { position: absolute; left: -9999px; }
.fb .row { display: flex; gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.c-foot p { font-size: 13.5px; color: #6b6b6b; line-height: 1.5; margin: 10px 0 0; }
.c-foot a { color: var(--brand-accent-dark); }
/* On the customer page the controls take the yard's colors, not the desk's blue */
.page-cust .btn-primary { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--brand-on-primary); }
.page-cust .btn-primary:hover { background: #000; }
.page-cust .btn-primary:disabled { opacity: .45; }
.page-cust .bub.in .bub-body { background: var(--brand-accent); color: #1a1a1a; }
.page-cust .thread { background: #eceae5; border-color: #e4e1dc; }
.page-cust .thread-status.ask { color: var(--brand-accent-dark); }
