:root {
  --bg: #ffffff;
  --bg-wash: #fafafb;
  --panel: #ffffff;
  --panel-2: #f6f7fb;
  --line: #ececf1;
  --line-strong: #d8d9e3;
  --text: #0b0b12;
  --muted: #6b6d7a;
  --soft: #2a2b36;
  --accent: #7433ff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(116, 51, 255, 0.08);
  --accent-soft-2: rgba(116, 51, 255, 0.14);
  --peach: #ffe8df;
  --peach-2: #ffd6c8;
  --radius: 10px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -200px, var(--peach), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, var(--peach-2), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
body { min-height: 100vh; }

.status-strip {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 10px 28px;
  display: flex;
  gap: 18px;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.status-strip .sep { opacity: 0.4; }
.status-strip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(116, 51, 255, 0.18);
  display: inline-block;
}
.status-strip .live { color: var(--accent); }
.status-strip .spacer { flex: 1; }

.page-shell { max-width: 1440px; margin: 0 auto; padding: 36px 28px; }

.hero {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 20px 0 40px;
}
.topbar, .hero-grid, .content-grid { display: grid; gap: 24px; }
.topbar { grid-template-columns: auto 1fr auto; align-items: center; }

.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(116, 51, 255, 0.24);
}

.eyebrow, .kicker, .card-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--accent);
  margin: 0;
}

.brand-copy h1 {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--soft);
}
.hero-copy h2, .panel-header h3 { margin: 0; letter-spacing: -0.025em; font-weight: 600; color: var(--text); }

.hero-meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.research-nav-icon,
.graph-nav-icon,
.daily-nav-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(116, 51, 255, 0.12);
  color: #3a3a4a;
  text-decoration: none;
  border: none;
  transition: background .15s, color .15s, transform .15s;
}

.research-nav-icon:hover,
.graph-nav-icon:hover,
.daily-nav-link:hover {
  background: rgba(116, 51, 255, 0.22);
  color: var(--accent);
  transform: translateY(-1px);
}

.daily-nav-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.export-dropdown {
  position: relative;
}

.export-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--soft);
  height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}

.export-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft-2);
  color: var(--accent);
  transform: translateY(-1px);
}

.export-mark {
  padding: 0 12px;
}

.export-arrow {
  font-size: 0.8rem;
  line-height: 1;
  opacity: 0.8;
}

.export-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(16, 18, 27, 0.14);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 20;
}

.export-menu.open {
  display: flex;
}

.export-menu button {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--soft);
  text-align: left;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.88rem;
}

.export-menu button:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.hero-grid { grid-template-columns: 1fr auto; margin-top: 64px; align-items: end; gap: 40px; }
.hero-grid-single { grid-template-columns: 1fr auto; }

.hero-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin-top: 18px;
  max-width: 22ch;
}
.hero-summary {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-top: 22px;
}

.hero-wk {
  font-family: var(--mono);
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.85;
  color: var(--accent);
  letter-spacing: -0.05em;
  font-weight: 600;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  background: linear-gradient(160deg, #9b66ff 0%, #5819e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-wk .label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  -webkit-text-fill-color: var(--muted);
}

.hero-actions { display: flex; gap: 18px; margin-top: 36px; align-items: center; }
.hero-chip-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 7px 14px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff;
}
.hero-chip-current {
  color: var(--accent);
  border-color: var(--accent-soft-2);
  background: var(--accent-soft);
}

.primary-btn {
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 14px 40px rgba(116, 51, 255, 0.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(116, 51, 255, 0.34);
}
.secondary-link {
  color: var(--soft);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}
.secondary-link:hover { color: var(--accent); border-color: var(--accent); }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 0 rgba(16, 18, 27, 0.02), 0 24px 60px -30px rgba(16, 18, 27, 0.10);
}

.content-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.85fr);
  margin-top: 8px;
  align-items: start;
}
.main-column, .side-column { display: grid; gap: 24px; }

.panel-header {
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.panel-header h3 { font-size: 1.15rem; color: var(--text); }
.panel-header .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.panel-header .counter {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.insight-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.insight-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: border-color .15s ease, transform .15s ease;
}
.insight-card:hover {
  border-color: var(--accent-soft-2);
  transform: translateY(-2px);
}
.insight-card .index {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.insight-card .index::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.insight-card h4 {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.insight-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.92rem; }

/* ── Operating read / Implications split panel ── */
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  background: #f8f6ff;
  border-color: #e2daf5;
}
.split-panel > div { padding: 28px; }
.split-panel > div + div { border-left: 1px solid rgba(116, 51, 255, 0.12); }

/* Left: Operating read paragraph + signal list */
.operating-read-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.operating-read-text {
  margin: 0;
  color: var(--soft);
  font-size: 0.97rem;
  line-height: 1.75;
}
.signal-chip-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(116, 51, 255, 0.14);
}
.signal-chip {
  display: block;
  position: relative;
  padding: 7px 0 7px 18px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(116, 51, 255, 0.07);
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  line-height: 1.45;
}
.signal-chip:last-child { border-bottom: none; }
.signal-chip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7433ff;
  opacity: 0.45;
}

/* Shared list resets */
.archive-list, .theme-list, .stack-list { margin: 0; padding: 0; list-style: none; }

/* Generic stack-item (used in implications) */
.stack-item {
  border-top: 1px solid rgba(116, 51, 255, 0.12);
  padding: 16px 0 16px 20px;
  color: var(--soft);
  position: relative;
}
.stack-item:first-child { border-top: none; padding-top: 4px; }
.stack-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.005em;
  line-height: 1.35;
}
.stack-item > div { color: var(--muted); font-size: 0.85rem; line-height: 1.6; opacity: 0.85; }
.stack-item > div:empty { display: none; }

/* Dot bullet for implications only */
#implicationsList .stack-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7433ff;
  box-shadow: 0 0 0 3px rgba(116, 51, 255, 0.14);
}
#implicationsList .stack-item:first-child::before { top: 8px; }

/* Generic theme-item */
.theme-item {
  border-top: 1px solid var(--line);
  padding: 14px 0 14px 14px;
  border-left: 2px solid var(--accent-soft-2);
  color: var(--soft);
}
.theme-item:first-child { border-top: none; padding-top: 0; }
.theme-item strong {
  display: block;
  color: var(--accent);
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 0.95rem;
}
.theme-item > div { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* Theme item: accent left bar for hierarchy */
.theme-item {
  padding-left: 14px;
  border-left: 2px solid var(--accent-soft-2);
  border-top: 1px solid var(--line);
  margin-left: 0;
}
.theme-item:first-child { border-top: none; }
.theme-item strong { color: var(--accent); font-size: 0.95rem; }

.archive-panel { background: var(--panel); scroll-margin-top: 24px; }
.archive-panel.archive-flash {
  animation: archiveFlash 1.2s ease-out;
}
@keyframes archiveFlash {
  0%   { box-shadow: 0 0 0 0 var(--accent-soft-2), 0 1px 0 rgba(16,18,27,0.02), 0 24px 60px -30px rgba(16,18,27,0.10); }
  30%  { box-shadow: 0 0 0 6px var(--accent-soft-2), 0 1px 0 rgba(16,18,27,0.02), 0 24px 60px -30px rgba(16,18,27,0.10); }
  100% { box-shadow: 0 0 0 0 transparent, 0 1px 0 rgba(16,18,27,0.02), 0 24px 60px -30px rgba(16,18,27,0.10); }
}
.archive-item {
  border: 1px solid var(--line);
  border-left: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  margin-bottom: 10px;
  background: #ffffff;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.archive-item:hover {
  background: var(--panel-2);
  transform: translateX(2px);
}
.archive-item button {
  width: 100%;
  text-align: left;
  background: none;
  color: inherit;
  border: none;
  padding: 16px 18px;
  cursor: pointer;
  font-family: var(--sans);
}
.archive-item button strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.archive-item .meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Archive active state */
.archive-item.active {
  border-left-width: 3px;
}
.archive-item.active button strong { font-weight: 700; }

/* Delta indicators */
.delta { font-family: var(--mono); font-size: 0.68rem; }
.delta.up { color: #16a34a; }
.delta.down { color: #dc2626; }

/* Distinct treatments per week tier — hardcoded so they never retheme */
.archive-item.current-week {
  border-left-color: #7433ff;
  background: rgba(116, 51, 255, 0.06);
}
.archive-item.current-week button strong::before {
  content: "> ";
  color: #7433ff;
  font-family: var(--mono);
}
.archive-item.current-week .meta { color: #7433ff; }

.archive-item.previous-week {
  border-left-color: #ff7a59;
  background: #fff4ef;
}
.archive-item.previous-week .meta { color: #d9532b; }

.archive-item.older-week {
  border-left-color: #c9cbd6;
  background: #ffffff;
  opacity: 0.92;
}
.archive-item.older-week .meta { color: #8b8d9b; }

/* ── Tier retheming — the whole page recolors by week tier ── */
html[data-week-tier="previous"] {
  --accent: #ff7a59;
  --accent-ink: #ffffff;
  --accent-soft: rgba(255, 122, 89, 0.10);
  --accent-soft-2: rgba(255, 122, 89, 0.20);
  --peach: #ffe1d3;
  --peach-2: #ffc4ae;
}
html[data-week-tier="previous"] .brand-mark {
  background: #ff7a59;
  box-shadow: 0 10px 30px rgba(255, 122, 89, 0.30);
}
html[data-week-tier="previous"] .hero-wk {
  background: linear-gradient(160deg, #ffa487 0%, #d9532b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-week-tier="previous"] .primary-btn {
  background: #ff7a59;
  box-shadow: 0 14px 40px rgba(255, 122, 89, 0.32);
}
html[data-week-tier="previous"] .primary-btn:hover {
  box-shadow: 0 20px 50px rgba(255, 122, 89, 0.40);
}
html[data-week-tier="previous"] .status-strip .dot {
  background: #ff7a59;
  box-shadow: 0 0 0 3px rgba(255, 122, 89, 0.20);
}
html[data-week-tier="previous"] .status-strip .live { color: #d9532b; }
html[data-week-tier="previous"] .hero-chip-current {
  color: #d9532b;
  border-color: rgba(255, 122, 89, 0.30);
  background: rgba(255, 122, 89, 0.10);
}
html[data-week-tier="previous"] .insight-card .index,
html[data-week-tier="previous"] .eyebrow,
html[data-week-tier="previous"] .kicker,
html[data-week-tier="previous"] .card-label {
  color: #d9532b;
}
html[data-week-tier="previous"] .insight-card:hover {
  border-color: rgba(255, 122, 89, 0.28);
}

html[data-week-tier="older"] {
  --accent: #5b6472;
  --accent-ink: #ffffff;
  --accent-soft: rgba(91, 100, 114, 0.08);
  --accent-soft-2: rgba(91, 100, 114, 0.18);
  --peach: #e6e7ee;
  --peach-2: #d3d5df;
}
html[data-week-tier="older"] .brand-mark {
  background: #5b6472;
  box-shadow: 0 10px 30px rgba(91, 100, 114, 0.22);
}
html[data-week-tier="older"] .hero-wk {
  background: linear-gradient(160deg, #8b94a4 0%, #3e4654 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-week-tier="older"] .primary-btn {
  background: #5b6472;
  box-shadow: 0 14px 40px rgba(91, 100, 114, 0.22);
}
html[data-week-tier="older"] .status-strip .dot {
  background: #5b6472;
  box-shadow: 0 0 0 3px rgba(91, 100, 114, 0.18);
}
html[data-week-tier="older"] .status-strip .live,
html[data-week-tier="older"] .insight-card .index,
html[data-week-tier="older"] .eyebrow,
html[data-week-tier="older"] .kicker,
html[data-week-tier="older"] .card-label {
  color: #3e4654;
}

/* ── Chat Widget ── */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(116, 51, 255, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(116, 51, 255, 0.42);
}
.chat-toggle svg { flex-shrink: 0; }

.chat-panel {
  width: 360px;
  max-height: 520px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(16, 18, 27, 0.14), 0 4px 16px rgba(16, 18, 27, 0.06);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel.open { display: flex; }

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
  flex-shrink: 0;
}
.chat-header-left { display: flex; align-items: center; gap: 8px; }
.chat-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(116, 51, 255, 0.18);
}
.chat-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.chat-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 6px;
  transition: background .12s;
}
.chat-close:hover { background: var(--line); color: var(--text); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chat-msg { max-width: 88%; }
.chat-msg.user { align-self: flex-end; }
.chat-msg.assistant { align-self: flex-start; }
.chat-msg-body {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  word-break: break-word;
}
.chat-msg.user .chat-msg-body {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg.assistant .chat-msg-body {
  background: var(--panel-2);
  color: var(--soft);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.chat-msg.typing .chat-msg-body { color: var(--muted); font-style: italic; }
.chat-msg-body p {
  margin: 0;
}
.chat-msg-body p + p,
.chat-msg-body p + ul,
.chat-msg-body p + ol,
.chat-msg-body ul + p,
.chat-msg-body ol + p,
.chat-msg-body ul + ul,
.chat-msg-body ol + ol,
.chat-msg-body ul + ol,
.chat-msg-body ol + ul {
  margin-top: 10px;
}
.chat-msg-body ul,
.chat-msg-body ol {
  margin: 0;
  padding-left: 18px;
}
.chat-msg-body li + li {
  margin-top: 6px;
}
.chat-msg-body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.chat-msg.assistant .chat-msg-body a {
  color: var(--accent);
}
.chat-msg.user .chat-msg-body a {
  color: #fff;
}

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background: #fff;
}
.chat-input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--panel-2);
  outline: none;
  transition: border-color .15s;
}
.chat-input:focus { border-color: var(--accent); }
.chat-input::placeholder { color: var(--muted); }
.chat-send {
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity .15s;
}
.chat-send:hover { opacity: 0.85; }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 960px) {
  .hero-grid, .content-grid, .split-panel, .insight-grid { grid-template-columns: 1fr; }
  .split-panel > div + div { border-left: none; border-top: 1px solid var(--line); }
  .page-shell { padding: 22px 18px; }
  .hero { padding: 12px 0 24px; }
  .hero-wk { text-align: left; align-items: flex-start; }
  .status-strip { padding: 10px 18px; flex-wrap: nowrap; gap: 10px; overflow: hidden; }
  .status-strip .sep,
  #statusWeek,
  #statusGenerated { display: none; }
}

/* ── Raven KB brand mark ── */
.brand-mark.logo-brand,
html[data-week-tier="previous"] .brand-mark.logo-brand,
html[data-week-tier="older"] .brand-mark.logo-brand {
  background: #ffffff;
  border: 1px solid rgba(62, 89, 120, 0.12);
  box-shadow: 0 12px 30px rgba(12, 31, 48, 0.12);
  overflow: hidden;
  padding: 3px;
}
.brand-mark.logo-brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.brand-mark.logo-brand img { transform: scale(1.62); }

/* ── Borderless angular Einstein logo ── */
.brand-mark.logo-brand.angular-logo,
html[data-week-tier="previous"] .brand-mark.logo-brand.angular-logo,
html[data-week-tier="older"] .brand-mark.logo-brand.angular-logo {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}
.brand-mark.logo-brand.angular-logo img {
  transform: scale(1.22);
}
