/* ============================================================
   Carmada — Unified panel, three explorations
   Shared tokens
   ============================================================ */
:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e6e8ef;
  --line-soft: #eef0f5;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-tint: #f8faff;
  --accent: #2563eb;
  --accent-ink: #1d4ed8;
  --accent-soft: #eff5ff;
  --good: #047857;
  --good-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --bad: #b91c1c;
  --bad-soft: #fef2f2;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 1px rgba(15, 23, 42, .03);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .08), 0 8px 24px rgba(15, 23, 42, .06);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --font: var(--type-font);
  --mono: var(--type-mono);
}

html, body { background: #ececec; color: var(--ink); font-family: var(--font); }
* { box-sizing: border-box; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ============================================================
   OPTION 1 — Conservative
   1280 × 880 artboard
   ============================================================ */
.o1-root {
  width: 1280px; height: 880px;
  background: #fff;
  display: flex; flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.o1-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 22px 32px 0;
}
.o1-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.o1-subtitle { font-size: 13px; color: var(--muted); margin-top: 2px; }
.o1-userid {
  font-size: 12px; color: var(--muted);
  background: var(--bg-soft); padding: 6px 10px; border-radius: 999px;
  font-family: var(--mono);
}
.o1-userid span { color: var(--ink-soft); font-weight: 500; }

.o1-tabs {
  display: flex; gap: 4px;
  padding: 18px 32px 0;
  border-bottom: 1px solid var(--line);
}
.o1-tab {
  position: relative;
  background: none; border: 0;
  font-size: 14px; color: var(--muted);
  padding: 10px 14px;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.o1-tab.is-active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 500; }
.o1-tab-badge {
  background: var(--bg-soft); color: var(--muted);
  font-size: 11px; padding: 1px 7px; border-radius: 999px;
}

.o1-body {
  flex: 1; overflow-y: auto;
  padding: 0 32px;
  scroll-behavior: smooth;
}

/* empty state */
.o1-empty {
  max-width: 640px; margin: 60px auto 0;
  text-align: center;
  padding-bottom: 80px;
}
.o1-empty-icon {
  width: 56px; height: 56px;
  background: var(--bg-soft);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.o1-empty-title { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.o1-empty-sub {
  color: var(--muted); font-size: 14.5px;
  margin-top: 8px; line-height: 1.55;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.o1-empty-label {
  margin-top: 32px; font-size: 11px; letter-spacing: 0.12em;
  color: var(--accent); font-weight: 600;
}
.o1-chips {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 14px;
}
.o1-chip {
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px; color: var(--ink-soft);
  padding: 9px 16px;
  transition: border-color .15s, color .15s, transform .1s;
}
.o1-chip:hover { border-color: var(--accent); color: var(--accent); }
.o1-chip:active { transform: scale(.98); }
.o1-chip--shop {
  background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-ink);
}
.o1-chip--shop:hover { border-color: var(--accent); }

/* thread */
.o1-thread {
  max-width: 760px; margin: 24px auto 100px;
  display: flex; flex-direction: column; gap: 18px;
}
.o1-msg--user { display: flex; justify-content: flex-end; }
.o1-bubble-user {
  background: var(--accent); color: #fff;
  padding: 12px 16px;
  border-radius: 18px 18px 4px 18px;
  font-size: 14.5px; max-width: 70%;
  line-height: 1.4;
}
.o1-bubble-asst {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px 18px 18px 18px;
  padding: 18px 20px;
}
.o1-asst-text { font-size: 14.5px; color: var(--ink); line-height: 1.55; }

.o1-extracted {
  margin-top: 16px;
  background: var(--bg-tint); border: 1px dashed #cbd5e1;
  padding: 12px; border-radius: var(--r-md);
}
.o1-extracted-head {
  font-size: 11px; letter-spacing: .1em; color: var(--accent);
  font-weight: 600; text-transform: uppercase; margin-bottom: 8px;
}
.o1-extracted-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.o1-extracted-chip {
  display: inline-flex; gap: 6px; align-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 10px; font-size: 12.5px;
}
.o1-extracted-key { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.o1-extracted-edit {
  margin-left: auto; background: none; border: 0; color: var(--accent);
  font-size: 12.5px; font-weight: 500;
}

.o1-summary { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; }
.o1-summary li { font-size: 14px; line-height: 1.5; color: var(--ink-soft); padding-left: 14px; position: relative; }
.o1-summary li::before { content: ""; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; background: var(--muted-2); border-radius: 50%; }
.o1-summary-label { color: var(--ink); font-weight: 600; }

.o1-listings { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.o1-listings-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.o1-listings-head > span { font-size: 13px; color: var(--ink); font-weight: 600; }
.o1-listings-link { background: none; border: 0; color: var(--accent); font-size: 13px; }
.o1-listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.o1-card { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; transition: border-color .15s, transform .15s; }
.o1-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.o1-card-img {
  height: 100px;
  background: repeating-linear-gradient(135deg, #f1f5f9 0 8px, #e8edf5 8px 16px);
  position: relative;
}
.o1-card-imgtag {
  position: absolute; top: 8px; left: 8px;
  background: rgba(255,255,255,.92); font-size: 10.5px; padding: 2px 7px; border-radius: 999px;
  font-weight: 500; letter-spacing: .02em;
}
.o1-card-body { padding: 10px 12px; }
.o1-card-title { font-size: 13px; font-weight: 600; }
.o1-card-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.o1-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.o1-card-price { font-size: 14px; font-weight: 700; }
.o1-card-tag { font-size: 10.5px; padding: 2px 7px; border-radius: 999px; font-weight: 500; }
.o1-card-tag--good { background: var(--good-soft); color: var(--good); }
.o1-card-tag--fair { background: var(--bg-soft); color: var(--muted); }

/* filters drawer */
.o1-filters-drawer {
  position: absolute; bottom: 90px; left: 32px; right: 32px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  z-index: 4;
}
.o1-fd-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.o1-fd-head > span { font-size: 13px; font-weight: 600; }
.o1-fd-close { background: none; border: 0; font-size: 22px; line-height: 1; color: var(--muted); }
.o1-fd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.o1-fd-field { display: flex; flex-direction: column; gap: 4px; }
.o1-fd-label { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.o1-fd-input {
  appearance: none; background: var(--bg-soft); border: 1px solid var(--line-soft);
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--ink); width: 100%;
}
.o1-fd-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.o1-fd-clear { background: none; border: 0; color: var(--muted); font-size: 13px; padding: 8px 14px; }
.o1-fd-apply { background: var(--accent); color: #fff; border: 0; padding: 9px 16px; border-radius: var(--r-sm); font-size: 13px; font-weight: 500; }

/* composer */
.o1-composer {
  position: absolute; bottom: 24px; left: 32px; right: 32px;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 8px;
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.o1-filter-btn {
  width: 36px; height: 36px;
  background: var(--bg-soft); border: 0; border-radius: 50%;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center;
}
.o1-filter-btn.is-open { background: var(--accent-soft); color: var(--accent); }
.o1-input {
  flex: 1; border: 0; background: transparent;
  font-size: 14px; padding: 8px 4px; outline: none;
  color: var(--ink);
}
.o1-input::placeholder { color: var(--muted-2); }
.o1-send {
  width: 36px; height: 36px; background: var(--accent); color: #fff;
  border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ============================================================
   OPTION 2 — Balanced split (chat + live results)
   1440 × 900 artboard
   ============================================================ */
.o2-root {
  width: 1440px; height: 900px;
  display: grid;
  grid-template-columns: 540px 1fr;
  background: #fff;
  font-family: var(--font);
  color: var(--ink);
  overflow: hidden;
}

.o2-left {
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  background: #fff;
  position: relative;
  min-width: 0;
}

.o2-left-head {
  padding: 20px 24px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.o2-brand { display: flex; align-items: center; gap: 12px; }
.o2-brand-mark {
  width: 32px; height: 32px;
  background: var(--ink); color: #fff;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; letter-spacing: -.02em;
}
.o2-brand-title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.o2-brand-sub { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.o2-userid { font-size: 11px; font-family: var(--mono); color: var(--muted); background: var(--bg-soft); padding: 5px 9px; border-radius: 999px; }

.o2-tabs {
  display: flex; gap: 4px;
  padding: 16px 24px 0;
}
.o2-tab {
  background: none; border: 0;
  font-size: 12.5px; color: var(--muted);
  padding: 7px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.o2-tab.is-active { background: var(--bg-soft); color: var(--ink); font-weight: 500; }
.o2-tab-n { background: #fff; color: var(--muted); padding: 1px 6px; border-radius: 999px; font-size: 10.5px; border: 1px solid var(--line); }

.o2-thread {
  flex: 1; overflow-y: auto;
  padding: 16px 24px 24px;
  min-height: 0;
}

/* empty */
.o2-empty { padding-top: 24px; }
.o2-empty-eyebrow { font-size: 11px; letter-spacing: .12em; color: var(--accent); font-weight: 600; text-transform: uppercase; }
.o2-empty-title { font-size: 30px; line-height: 1.1; letter-spacing: -.025em; font-weight: 600; margin-top: 10px; }
.o2-empty-sub { color: var(--muted); font-size: 13.5px; margin-top: 12px; max-width: 380px; line-height: 1.55; }

.o2-section-label { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin: 24px 0 10px; }
.o2-chips { display: flex; flex-direction: column; gap: 6px; }
.o2-chip {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 11px 14px;
  text-align: left; font-size: 13.5px; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  transition: border-color .15s, background .15s;
}
.o2-chip:hover { border-color: var(--accent); background: var(--accent-soft); }
.o2-chip-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.o2-chip--shop { background: var(--bg-soft); border-color: var(--bg-soft); }
.o2-chip--shop:hover { background: var(--accent-soft); }

/* messages */
.o2-msgs { display: flex; flex-direction: column; gap: 14px; }
.o2-msg--user { display: flex; justify-content: flex-end; }
.o2-bubble-user {
  background: var(--ink); color: #fff;
  padding: 11px 14px; border-radius: 14px 14px 4px 14px;
  max-width: 80%; font-size: 13.5px; line-height: 1.45;
}
.o2-bubble-asst { background: #fff; }
.o2-asst-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.o2-asst-avatar {
  width: 22px; height: 22px; background: var(--ink); color: #fff;
  border-radius: 6px;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.o2-asst-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.o2-asst-text { font-size: 13.5px; line-height: 1.55; color: var(--ink); }

.o2-summary { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.o2-summary-row { display: flex; gap: 10px; align-items: stretch; }
.o2-summary-bar { width: 2px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.o2-summary-label { font-size: 12px; font-weight: 600; color: var(--ink); }
.o2-summary-body { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin-top: 2px; }

/* composer area */
.o2-composer-wrap {
  border-top: 1px solid var(--line);
  padding: 14px 24px 18px;
  background: #fff;
}
.o2-active-filters {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-bottom: 10px;
}
.o2-af-chip {
  display: inline-flex; gap: 6px; align-items: center;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 11.5px; padding: 4px 4px 4px 9px;
  border-radius: 999px;
}
.o2-af-key { color: var(--muted); font-weight: 500; }
.o2-af-val { font-weight: 500; }
.o2-af-x {
  background: rgba(37,99,235,.15); border: 0; color: var(--accent-ink);
  width: 16px; height: 16px; border-radius: 50%; font-size: 11px; line-height: 1;
}
.o2-af-more { background: none; border: 1px dashed var(--line); color: var(--muted); font-size: 11.5px; padding: 4px 10px; border-radius: 999px; }

.o2-filters-form {
  background: var(--bg-soft); border-radius: var(--r-md);
  padding: 12px; margin-bottom: 10px;
}
.o2-ff-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.o2-ff-field { display: flex; flex-direction: column; gap: 3px; }
.o2-ff-label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.o2-ff-input { background: #fff; border: 1px solid var(--line); padding: 7px 9px; border-radius: 6px; font-size: 12.5px; }
.o2-ff-apply { background: var(--accent); color: #fff; border: 0; padding: 8px 14px; border-radius: 6px; font-size: 12.5px; margin-top: 10px; width: 100%; }

.o2-composer {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 6px 6px 6px 14px;
  background: #fff;
  transition: border-color .15s;
}
.o2-composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.08); }
.o2-input { flex: 1; border: 0; outline: none; font-size: 13.5px; padding: 8px 0; background: transparent; }
.o2-input::placeholder { color: var(--muted-2); }
.o2-icon-btn { width: 32px; height: 32px; background: var(--bg-soft); border: 0; border-radius: 8px; color: var(--ink-soft); display: inline-flex; align-items: center; justify-content: center; }
.o2-send { width: 32px; height: 32px; background: var(--accent); border: 0; border-radius: 8px; color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* RIGHT — results */
.o2-right {
  background: var(--bg-soft);
  display: flex; flex-direction: column;
  min-width: 0;
}
.o2-right-head {
  padding: 22px 28px 16px;
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.o2-right-title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.o2-right-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.o2-right-actions { display: flex; gap: 8px; align-items: center; }
.o2-sort {
  appearance: none; background: #fff; border: 1px solid var(--line);
  padding: 7px 28px 7px 10px; border-radius: 8px; font-size: 12.5px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 9px) center;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.o2-view-toggle { width: 32px; height: 32px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); display: inline-flex; align-items: center; justify-content: center; }

/* empty/skeleton */
.o2-right-empty { flex: 1; padding: 24px 28px; position: relative; display: flex; flex-direction: column; }
.o2-right-empty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; opacity: .55; }
.o2-skeleton {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 0 0 12px;
  animation: o2pulse 1.6s ease-in-out infinite;
}
@keyframes o2pulse { 0%,100% { opacity: 1; } 50% { opacity: .6; } }
.o2-skel-img { height: 120px; background: var(--line-soft); border-radius: var(--r-md) var(--r-md) 0 0; }
.o2-skel-line { height: 8px; background: var(--line-soft); border-radius: 4px; margin: 12px 12px 0; }
.o2-skel-line.w70 { width: 70%; }
.o2-skel-line.w40 { width: 40%; }
.o2-right-empty-msg {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: rgba(255,255,255,.95); padding: 14px 22px; border-radius: 999px;
  font-size: 13px; color: var(--ink-soft); border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.o2-results { padding: 20px 28px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow-y: auto; }
.o2-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.o2-card:hover { border-color: var(--ink-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.o2-card-img {
  height: 130px; position: relative;
  background: repeating-linear-gradient(135deg, #f1f5f9 0 8px, #e8edf5 8px 16px);
}
.o2-card-tag {
  position: absolute; top: 10px; left: 10px;
  font-size: 10.5px; padding: 3px 8px; border-radius: 999px; font-weight: 600;
}
.o2-card-tag--good { background: var(--good); color: #fff; }
.o2-card-tag--fair { background: rgba(255,255,255,.92); color: var(--muted); }
.o2-card-cpo {
  position: absolute; top: 10px; right: 10px;
  font-size: 10px; background: rgba(15,23,42,.85); color: #fff;
  padding: 3px 8px; border-radius: 4px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600;
}
.o2-card-fuel { position: absolute; bottom: 10px; right: 10px; font-size: 10.5px; background: rgba(255,255,255,.92); padding: 2px 7px; border-radius: 4px; }
.o2-card-body { padding: 12px 14px 14px; }
.o2-card-row { display: flex; justify-content: space-between; align-items: baseline; }
.o2-card-title { font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; }
.o2-card-score {
  background: var(--good-soft); color: var(--good);
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px;
}
.o2-card-model { font-size: 12.5px; color: var(--ink-soft); margin-top: 1px; }
.o2-card-meta { display: flex; gap: 5px; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.o2-card-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.o2-card-price { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.o2-card-delta { font-size: 11px; margin-top: 2px; font-weight: 500; }
.o2-card-delta.is-good { color: var(--good); }
.o2-card-delta.is-meh { color: var(--muted); }
.o2-card-loc { font-size: 11px; color: var(--muted); text-align: right; }

/* ============================================================
   OPTION 3 — Ambitious "spotlight" surface
   1440 × 980 artboard
   ============================================================ */
.o3-root {
  width: 1440px; height: 980px;
  background: #f7f7fa;
  font-family: var(--font);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}

.o3-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.o3-bg-grid {
  position: absolute; inset: -10%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 15%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 45% at 85% 25%, rgba(124, 58, 237, 0.08), transparent 65%),
    radial-gradient(ellipse 70% 55% at 60% 90%, rgba(16, 185, 129, 0.06), transparent 70%);
  filter: blur(40px);
}
.o3-stage-answered .o3-bg-grid {
  opacity: 0.4;
}
.o3-bg-glow {
  position: absolute;
  width: 1100px; height: 700px;
  left: 50%; top: -20%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.18), transparent 65%);
  filter: blur(20px);
  opacity: 0.7;
}

/* chrome */
.o3-chrome {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
}
.o3-brand { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.o3-logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.o3-brand-name { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.o3-tabs {
  display: flex; gap: 2px;
  background: rgba(15,23,42,.04);
  border-radius: 999px;
  padding: 3px;
}
.o3-tab {
  background: none; border: 0;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.o3-tab.is-active { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(15,23,42,.08); }
.o3-tab-n { background: var(--bg-soft); padding: 1px 6px; border-radius: 999px; font-size: 10.5px; color: var(--muted); }
.o3-user {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 999px;
}
.o3-user-dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; }

/* spotlight */
.o3-spotlight {
  position: relative; z-index: 2;
  padding: 20px 32px 0;
  transition: padding .35s;
}
.o3-stage-idle .o3-spotlight { padding-top: 56px; }

.o3-hero { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.o3-hero-eyebrow { font-size: 11.5px; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; font-weight: 600; }
.o3-hero-title {
  margin: 14px 0 10px; font-size: 64px; line-height: 1; font-weight: 600;
  letter-spacing: -.035em;
}
.o3-hero-em { font-style: italic; font-weight: 500; color: var(--accent); }
.o3-hero-sub { font-size: 16px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.5; }

.o3-hero-modes {
  display: flex; align-items: stretch; gap: 12px; justify-content: center;
  margin-top: 28px;
}
.o3-hero-mode {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  text-align: left;
  max-width: 320px;
}
.o3-hero-mode-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  flex-shrink: 0;
}
.o3-hero-mode-icon--research { background: var(--accent-soft); color: var(--accent-ink); }
.o3-hero-mode-icon--shop { background: #ecfdf5; color: var(--good); }
.o3-hero-mode-label { font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: -.005em; }
.o3-hero-mode-ex { font-size: 12.5px; color: var(--muted); margin-top: 2px; font-style: italic; }
.o3-hero-mode-or { display: flex; align-items: center; font-size: 12px; color: var(--muted-2); font-style: italic; }

/* intent pill on the input */
.o3-intent-pill {
  display: inline-flex; gap: 6px; align-items: center;
  font-size: 11px; font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .005em;
}
.o3-intent-pill--research { background: var(--accent-soft); color: var(--accent-ink); }
.o3-intent-pill--shop { background: #ecfdf5; color: var(--good); }
.o3-intent-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.o3-bar-icon--research { background: var(--accent-soft); color: var(--accent-ink); }
.o3-bar-icon--shop { background: #ecfdf5; color: var(--good); }

.o3-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 14px 14px 12px;
  max-width: 880px; margin: 0 auto;
  transition: max-width .35s, padding .25s, border-radius .25s;
}
.o3-bar.is-docked {
  max-width: 1100px;
  padding: 10px 12px 10px;
  border-radius: 18px;
}
.o3-bar-row { display: flex; gap: 10px; align-items: center; }
.o3-bar-icon {
  width: 32px; height: 32px; background: var(--bg-soft); color: var(--ink-soft);
  border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.o3-bar-input { flex: 1; border: 0; outline: none; font-size: 16px; padding: 6px 0; background: transparent; letter-spacing: -.005em; }
.o3-bar-input::placeholder { color: var(--muted-2); }
.o3-tune {
  width: 36px; height: 36px; background: var(--bg-soft); color: var(--ink-soft);
  border: 0; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
}
.o3-tune.is-on { background: var(--accent-soft); color: var(--accent); }
.o3-go {
  background: var(--ink); color: #fff;
  border: 0; padding: 0 16px; height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500;
}

.o3-tokens {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-soft);
}
.o3-tokens-label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.o3-token {
  display: inline-flex; gap: 5px; align-items: center;
  background: var(--bg-soft); border: 1px solid var(--line-soft);
  padding: 4px 4px 4px 10px;
  border-radius: 999px; font-size: 12px; color: var(--ink);
}
.o3-token-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.o3-token--body .o3-token-dot { background: #2563eb; }
.o3-token--drive .o3-token-dot { background: #0ea5e9; }
.o3-token--price .o3-token-dot { background: #10b981; }
.o3-token--use .o3-token-dot { background: #f59e0b; }
.o3-token--geo .o3-token-dot { background: #8b5cf6; }
.o3-token-x { background: rgba(15,23,42,.06); border: 0; width: 16px; height: 16px; border-radius: 50%; font-size: 11px; line-height: 1; color: var(--ink-soft); }
.o3-token-add { background: none; border: 1px dashed var(--line); color: var(--muted); font-size: 11.5px; padding: 3px 9px; border-radius: 999px; }

/* prompt shelf */
.o3-prompt-shelf {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  max-width: 880px; margin: 56px auto 0;
}
.o3-shelf-col {
  background: rgba(255,255,255,.6); backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 16px;
}
.o3-shelf-col--research { border-top: 3px solid var(--accent); }
.o3-shelf-col--shop { border-top: 3px solid var(--good); }
.o3-shelf-head {
  display: flex; gap: 10px; align-items: center;
  padding-bottom: 10px; border-bottom: 1px solid var(--line-soft);
  margin-bottom: 6px;
}
.o3-shelf-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.o3-shelf-icon--shop { background: #ecfdf5; color: var(--good); }
.o3-shelf-label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -.005em; text-transform: none; margin-bottom: 1px; }
.o3-shelf-sub { font-size: 11.5px; color: var(--muted); }
.o3-shelf-item {
  display: flex; gap: 8px; align-items: center; width: 100%;
  background: none; border: 0; padding: 8px 4px;
  text-align: left; font-size: 13.5px; color: var(--ink);
  border-radius: 6px;
  transition: background .15s, transform .12s;
}
.o3-shelf-item + .o3-shelf-item { border-top: 1px solid var(--line-soft); }
.o3-shelf-item:hover { background: var(--bg-soft); transform: translateX(2px); }
.o3-shelf-arrow { color: var(--muted-2); font-size: 12px; }

/* filters drawer — sidebar overlay */
.o3-fp-scrim {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, .35);
  backdrop-filter: blur(2px);
  z-index: 8;
  animation: o3FpFade .2s ease-out;
}
@keyframes o3FpFade { from { opacity: 0; } to { opacity: 1; } }

.o3-fp {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 460px;
  background: #fff;
  z-index: 9;
  display: flex; flex-direction: column;
  box-shadow: -24px 0 60px rgba(15, 23, 42, .12);
  animation: o3FpSlide .28s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
}
@keyframes o3FpSlide { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.o3-fp-head {
  padding: 22px 24px 16px;
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 1px solid var(--line);
}
.o3-fp-eyebrow { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.o3-fp-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.o3-fp-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-soft); border: 0; color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center;
}
.o3-fp-close:hover { background: var(--ink); color: #fff; }

.o3-fp-status {
  display: flex; gap: 8px; align-items: center;
  padding: 12px 24px;
  background: var(--bg-soft);
  font-size: 12.5px; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.o3-fp-status-dot { width: 7px; height: 7px; background: var(--good); border-radius: 50%; box-shadow: 0 0 0 3px rgba(5, 150, 105, .15); }
.o3-fp-reset { margin-left: auto; background: none; border: 0; color: var(--accent); font-size: 12px; font-weight: 500; }

.o3-fp-body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }

.o3-fp-sec { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.o3-fp-sec:last-child { border-bottom: 0; }
.o3-fp-sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.o3-fp-sec-num {
  font-size: 10px; font-family: var(--mono); color: var(--muted-2);
  letter-spacing: .08em;
}
.o3-fp-sec-label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -.005em; }
.o3-fp-sec-count { margin-left: auto; font-size: 11.5px; color: var(--muted); font-family: var(--mono); }

/* segmented */
.o3-fp-segmented {
  display: flex; gap: 0;
  background: var(--bg-soft);
  border-radius: 10px; padding: 3px;
}
.o3-fp-seg {
  flex: 1; background: none; border: 0;
  padding: 8px 4px; font-size: 12.5px; color: var(--muted);
  border-radius: 8px;
  transition: background .15s, color .15s, box-shadow .15s;
}
.o3-fp-seg.is-active { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(15,23,42,.08); }

/* body grid */
.o3-fp-bodygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.o3-fp-body-btn {
  display: flex; flex-direction: column; gap: 4px; align-items: center;
  background: var(--bg-soft); border: 1px solid transparent;
  padding: 12px 4px; border-radius: 10px;
  transition: all .15s;
}
.o3-fp-body-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.o3-fp-body-icon { font-size: 18px; line-height: 1; }
.o3-fp-body-label { font-size: 11.5px; font-weight: 500; }

/* makes */
.o3-fp-makegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.o3-fp-make {
  display: flex; gap: 8px; align-items: center;
  background: #fff; border: 1px solid var(--line);
  padding: 9px 12px; border-radius: 8px;
  font-size: 12.5px; color: var(--ink);
  text-align: left;
  transition: all .15s;
}
.o3-fp-make:hover { border-color: var(--ink-soft); }
.o3-fp-make.is-active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }
.o3-fp-make-check {
  width: 16px; height: 16px; border-radius: 4px;
  background: var(--bg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--accent); font-weight: 700;
  flex-shrink: 0;
}
.o3-fp-make.is-active .o3-fp-make-check { background: var(--accent); color: #fff; }

/* range w/ histogram */
.o3-fp-range { padding-top: 4px; }
.o3-fp-range-track {
  position: relative;
  height: 56px;
  margin-bottom: 4px;
}
.o3-fp-range-hist {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2px;
}
.o3-fp-bar {
  flex: 1; background: var(--line); border-radius: 2px 2px 0 0;
  min-height: 6px;
}
.o3-fp-range-fill {
  position: absolute; bottom: 0; height: 100%;
  background: linear-gradient(180deg, rgba(37, 99, 235, .15), rgba(37, 99, 235, .25));
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  pointer-events: none;
  z-index: 1;
}
.o3-fp-range-inputs {
  position: relative; height: 16px;
}
.o3-fp-range-inputs input[type="range"] {
  position: absolute; left: 0; right: 0; top: 0;
  width: 100%; pointer-events: none;
  -webkit-appearance: none; appearance: none;
  background: transparent;
  margin: 0; padding: 0;
}
.o3-fp-range-inputs input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
  box-shadow: 0 2px 6px rgba(15, 23, 42, .15);
  pointer-events: auto; cursor: grab;
}
.o3-fp-range-inputs input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
  pointer-events: auto; cursor: grab;
}
.o3-fp-range-inputs input[type="range"]::-webkit-slider-runnable-track,
.o3-fp-range-inputs input[type="range"]::-moz-range-track {
  background: transparent; height: 2px;
}
.o3-fp-range-legend {
  display: flex; justify-content: space-between;
  font-size: 10.5px; color: var(--muted);
  margin-top: 6px; font-family: var(--mono);
}

/* simple slider w/ ticks */
.o3-fp-slider input[type="range"] {
  width: 100%;
  -webkit-appearance: none; appearance: none;
  height: 4px; border-radius: 999px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) calc(var(--v, 50%)), var(--line) calc(var(--v, 50%)));
  background: var(--line);
  outline: none; margin: 6px 0 4px;
}
.o3-fp-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--accent), 0 2px 6px rgba(15, 23, 42, .15);
  cursor: grab;
}
.o3-fp-slider input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--accent);
  cursor: grab;
}
.o3-fp-slider-ticks { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.o3-fp-tick {
  background: var(--bg-soft); border: 0;
  padding: 5px 10px; border-radius: 999px;
  font-size: 11px; color: var(--muted-2);
}
.o3-fp-tick.is-active { background: var(--ink); color: #fff; }

/* location */
.o3-fp-location { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: stretch; }
.o3-fp-zip {
  display: flex; flex-direction: column; gap: 3px;
  background: var(--bg-soft); border-radius: 10px;
  padding: 8px 12px;
}
.o3-fp-zip-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.o3-fp-zip input {
  background: transparent; border: 0; outline: none;
  font-size: 14px; font-weight: 500; padding: 0;
  font-family: var(--mono); color: var(--ink);
  width: 100%;
}
.o3-fp-distance { display: flex; flex-direction: column; gap: 4px; }
.o3-fp-distance-row { display: flex; align-items: baseline; }
.o3-fp-distance-val { font-size: 12.5px; color: var(--ink); font-weight: 500; }
.o3-fp-distance input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 4px; background: var(--line); border-radius: 999px;
  margin-top: 4px;
}
.o3-fp-distance input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--accent);
}
.o3-fp-distance input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--accent);
}

/* features */
.o3-fp-features { display: flex; flex-wrap: wrap; gap: 6px; }
.o3-fp-feat {
  display: inline-flex; gap: 7px; align-items: center;
  background: #fff; border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 999px;
  font-size: 12px; color: var(--ink);
  transition: all .15s;
}
.o3-fp-feat:hover { border-color: var(--ink-soft); }
.o3-fp-feat-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line); transition: background .15s, transform .15s;
}
.o3-fp-feat.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.o3-fp-feat.is-active .o3-fp-feat-dot { background: #10b981; transform: scale(1.4); }

/* foot */
.o3-fp-foot {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  display: flex; gap: 10px; align-items: center;
  background: #fff;
}
.o3-fp-foot-clear { background: none; border: 0; color: var(--muted); font-size: 13px; padding: 8px 0; }
.o3-fp-foot-apply {
  margin-left: auto;
  background: var(--ink); color: #fff;
  border: 0; padding: 11px 18px;
  border-radius: 10px;
  font-size: 13px; font-weight: 500;
  display: inline-flex; gap: 8px; align-items: center;
}
.o3-fp-foot-apply:hover { background: var(--accent); }

/* Model — empty state + select */
.o3-fp-model-empty {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12.5px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed var(--line);
  font-style: italic;
}
.o3-fp-model-wrap { position: relative; }
.o3-fp-model-select {
  appearance: none; -webkit-appearance: none;
  width: 100%; background: #fff;
  border: 1px solid var(--line);
  padding: 10px 36px 10px 14px;
  border-radius: 10px;
  font-size: 13px; color: var(--ink);
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) center, calc(100% - 11px) center;
  background-size: 5px 5px; background-repeat: no-repeat;
  cursor: pointer;
}
.o3-fp-model-select:focus { outline: none; border-color: var(--accent); }

.o3-brand { cursor: pointer; }
.o3-brand:hover { opacity: 0.8; }

.o3-new {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: #fff;
  border: 0; border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px; font-weight: 500;
  margin-left: 14px;
  cursor: pointer;
  transition: background .15s;
}
.o3-new:hover { background: var(--accent); }

/* Sub-bar (below tokens) */
.o3-subbar {
  display: flex;
  justify-content: flex-end;
  padding: 4px 4px 0;
  margin-top: 4px;
}
.o3-refine {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line-soft); border-radius: 999px;
  padding: 5px 11px;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: -0.005em;
  height: 26px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.o3-refine svg { opacity: 0.85; }
.o3-refine:hover {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: var(--line);
}
.o3-refine.is-on {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-color: transparent;
}
.o3-refine-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-size: 9.5px; font-weight: 700;
  min-width: 15px; height: 15px;
  border-radius: 999px;
  padding: 0 4px;
  margin-left: 1px;
}

/* Refine search pill */
.o3-tune-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-soft); color: var(--ink-soft);
  border: 0; border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px; font-weight: 500;
  height: 36px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  transition: background .15s, color .15s;
}
.o3-tune-pill:hover { background: var(--line-soft); color: var(--ink); }
.o3-tune-pill.is-on { background: var(--accent-soft); color: var(--accent-ink); }
.o3-tune-pill-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-size: 10.5px; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  padding: 0 5px;
  margin-left: 2px;
}
.o3-tune-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

/* answer canvas */
.o3-canvas {
  position: relative; z-index: 1;
  flex: 1; overflow-y: auto;
  padding: 22px 32px 32px;
  margin-top: 6px;
}

.o3-insights {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  max-width: 1100px; margin: 0 auto;
}
.o3-insight {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px;
}
.o3-insight--alt { background: var(--ink); color: #fff; border-color: var(--ink); }
.o3-insight-eyebrow { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.o3-insight--alt .o3-insight-eyebrow { color: rgba(255,255,255,.6); }
.o3-insight-big { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 6px; }
.o3-insight-body { font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.o3-insight--alt .o3-insight-body { color: rgba(255,255,255,.75); }

.o3-shortlist-head {
  max-width: 1100px; margin: 28px auto 14px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.o3-section-eyebrow { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.o3-section-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.o3-shortlist-actions { display: flex; gap: 8px; align-items: center; }
.o3-pin-count { font-size: 12px; color: var(--muted); }
.o3-view-toggle {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 10px; font-size: 12px; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 6px;
}
.o3-view-toggle.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.o3-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.o3-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  position: relative;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.o3-card.is-hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--ink-soft); }
.o3-card.is-pinned { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.o3-card-rank {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10.5px; font-weight: 700;
  background: rgba(15,23,42,.85); color: #fff;
  padding: 3px 7px; border-radius: 5px;
  letter-spacing: .04em;
}
.o3-card-img {
  height: 140px;
  background: repeating-linear-gradient(135deg, #eef0f6 0 10px, #e3e7f0 10px 20px);
  position: relative;
}
.o3-card-tag {
  position: absolute; top: 12px; right: 12px;
  font-size: 10.5px; padding: 3px 8px; border-radius: 999px; font-weight: 600;
}
.o3-card-tag--good { background: var(--good); color: #fff; }
.o3-card-tag--fair { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.o3-card-fuel { position: absolute; bottom: 12px; left: 12px; font-size: 10.5px; background: #fff; padding: 2px 7px; border-radius: 4px; font-weight: 500; }
.o3-card-body { padding: 14px 16px 16px; }
.o3-card-row { display: flex; justify-content: space-between; gap: 8px; }
.o3-card-title { font-size: 14px; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; }
.o3-card-meta { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.o3-card-score {
  text-align: center;
  background: var(--bg-soft); border-radius: 8px;
  padding: 5px 9px; flex-shrink: 0;
}
.o3-score-num { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1; }
.o3-score-label { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.o3-card-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.o3-card-price { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.o3-card-delta { font-size: 11px; margin-top: 2px; font-weight: 500; }
.o3-card-delta.is-good { color: var(--good); }
.o3-card-delta.is-meh { color: var(--muted); }
.o3-card-loc { font-size: 11.5px; color: var(--muted); text-align: right; }
.o3-card-actions { display: flex; gap: 8px; margin-top: 12px; }
.o3-card-pin { flex: 1; background: var(--bg-soft); border: 0; padding: 8px; border-radius: 8px; font-size: 12px; color: var(--ink-soft); }
.o3-card.is-pinned .o3-card-pin { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.o3-card-ask { background: #fff; border: 1px solid var(--line); padding: 8px 12px; border-radius: 8px; font-size: 12px; color: var(--ink-soft); }

.o3-compare-bar {
  position: sticky; bottom: 14px;
  max-width: 1100px; margin: 18px auto 0;
  background: var(--ink); color: #fff;
  border-radius: var(--r-lg);
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow-lg);
}
.o3-cb-eyebrow { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; }
.o3-cb-title { font-size: 14px; font-weight: 600; margin-top: 2px; }
.o3-cb-actions { display: flex; gap: 8px; align-items: center; }
.o3-cb-clear { background: none; border: 0; color: rgba(255,255,255,.7); font-size: 13px; padding: 8px 12px; }
.o3-cb-go { background: var(--accent); border: 0; color: #fff; padding: 9px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; }
