/* vibes.css — per-vibe composition styles.
 * Each vibe is a full-viewport world. Selectors scoped by class.
 */

/* ---------- shared vibe primitives ---------- */
.vibe-root {
  position: relative;
  min-height: 100vh;
  width: 100%;
  isolation: isolate;
}
.vibe-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.vibe-wordmark {
  font-family: var(--lcl-font-display);
  font-weight: 500;
  font-style: italic;
  letter-spacing: var(--lcl-tracking-display);
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Andy surfaces (non-terminal) ---------- */
.andy-surface {
  width: 100%;
  max-width: 640px;
}
.andy-field-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--lcl-field-bg);
  border: 1px solid var(--lcl-field-border);
  border-radius: var(--lcl-radius-md);
  padding: 0;
  transition: border-color var(--lcl-dur-fast) var(--lcl-ease),
              background-color var(--lcl-dur-fast) var(--lcl-ease);
}
.andy-field-wrap:focus-within {
  border-color: var(--lcl-field-focus);
}
.andy-field {
  flex: 1;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 17px;
  color: var(--lcl-fg);
}
.andy-field::placeholder { color: var(--lcl-dim); }
.andy-submit {
  padding: 0 22px;
  height: 56px;
  color: var(--lcl-signal);
  display: grid;
  place-items: center;
  border-left: 1px solid var(--lcl-field-border);
}
.andy-submit:hover { color: var(--lcl-fg); background: var(--lcl-signal); }
.andy-submit[disabled] { opacity: 0.5; cursor: default; }
.andy-pending-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lcl-signal);
  animation: andy-pulse 0.9s var(--lcl-ease) infinite;
}
@keyframes andy-pulse { 0%,100% { opacity: 0.3; transform: scale(1);} 50% {opacity: 1; transform: scale(1.4);}}

.andy-reply {
  margin-top: 22px;
  padding: 20px 22px;
  border-left: 2px solid var(--lcl-signal);
  background: var(--lcl-field-bg);
}
.andy-reply-label { color: var(--lcl-signal); margin-bottom: 6px; }
.andy-reply-body { font-size: 17px; line-height: 1.5; }
.andy-pending { color: var(--lcl-dim); font-style: italic; }
.andy-dots { display: inline-block; animation: andy-ellipsis 1.4s steps(4, end) infinite; }
@keyframes andy-ellipsis { 0% { opacity: 0.2; } 50% { opacity: 1; } 100% { opacity: 0.2; }}

/* ============================================================
 * VIBE 1 — op-vasarely-canvas
 * ============================================================ */
.vibe-vasarely-overlay {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 32px 48px;
  color: var(--lcl-fg);
}
.vibe-vasarely-header { display: flex; justify-content: space-between; align-items: center; }
.vibe-vasarely-wordmark {
  color: var(--lcl-fg);
  text-shadow: 0 0 18px rgba(0,0,0,0.6);
}
.vibe-vasarely-logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lcl-signal);
  box-shadow: 0 0 16px var(--lcl-signal);
}
.vibe-vasarely-meta {
  display: flex; gap: 12px;
  color: var(--lcl-signal);
  text-shadow: 0 0 12px rgba(0,0,0,0.8);
}
.vibe-vasarely-meta-dot { opacity: 0.5; }

.vibe-vasarely-main {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 40px;
  max-width: 920px;
}
.vibe-vasarely-hero {
  font-family: var(--lcl-font-display);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  text-shadow: 0 4px 28px rgba(0,0,0,0.8);
}
.vibe-vasarely-hero em { font-style: italic; color: var(--lcl-signal); }
.vibe-vasarely-prompt { width: 100%; max-width: 640px; }

.vibe-vasarely-footer {
  display: flex; justify-content: space-between;
  color: var(--lcl-dim);
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* ============================================================
 * VIBE 2 — collection-drop
 * ============================================================ */
.vibe-cdrop {
  min-height: 100vh;
  padding: 32px 48px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--lcl-fg);
  transition: background 2.4s var(--lcl-ease);
}
.vibe-cdrop-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.14;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='0.7'/></svg>");
  mix-blend-mode: overlay;
}
.vibe-cdrop > * { position: relative; z-index: 2; }
.vibe-cdrop-header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--lcl-rule); padding-bottom: 16px; }
.vibe-cdrop-wordmark {
  font-family: var(--lcl-font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.02em;
}
.vibe-cdrop-issue { display: flex; gap: 18px; color: var(--lcl-fg); opacity: 0.85; }

.vibe-cdrop-main {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 72px;
  padding-top: 40px;
  align-items: start;
}
.vibe-cdrop-slug { color: var(--lcl-fg); opacity: 0.75; margin-bottom: 12px; }
.vibe-cdrop-hero {
  font-family: var(--lcl-font-display);
  font-weight: 500;
  font-size: clamp(54px, 7.2vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
}
.vibe-cdrop-hero em { font-style: italic; color: var(--p-zen-cream); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }

.vibe-cdrop-sidebar { padding-top: 24px; border-left: 1px solid var(--lcl-rule); padding-left: 32px; }
.vibe-cdrop-caption { color: var(--lcl-fg); opacity: 0.85; margin-bottom: 10px; }
.vibe-cdrop-note { font-size: 15px; line-height: 1.5; margin: 8px 0 0; opacity: 0.9; }

.vibe-cdrop-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--lcl-rule); padding-top: 16px; opacity: 0.85; }

/* ============================================================
 * VIBE 3 — playful-brutalist
 * ============================================================ */
.vibe-brutal { color: #0A0A0A; font-family: Arial, Helvetica, sans-serif; }
.vibe-brutal-banner {
  display: flex; gap: 16px; justify-content: space-between;
  padding: 10px 16px;
  background: #FFFF00;
  color: #0A0A0A;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  font-size: 13px;
  border-bottom: 3px solid #0A0A0A;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vibe-brutal-header {
  padding: 28px 40px 14px;
  border-bottom: 3px solid #0A0A0A;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.vibe-brutal-wordmark {
  font-family: "Times New Roman", Times, serif;
  font-size: 86px;
  line-height: 0.9;
  margin: 0;
  font-weight: normal;
}
.vibe-brutal-wordmark i { font-style: italic; }
.vibe-brutal-wordmark sup { font-size: 20px; color: #FF00A8; font-style: normal; font-family: Arial; font-weight: 700; vertical-align: top; }
.vibe-brutal-nav { display: flex; gap: 18px; font-size: 14px; }
.vibe-brutal-nav a { text-decoration: underline; color: #F95738; }
.vibe-brutal-nav a:hover { background: #0A0A0A; color: #FFF6EC; text-decoration: none; }

.vibe-brutal-hero { padding: 40px 40px 24px; border-bottom: 3px solid #0A0A0A; background: #FFF6EC; }
.vibe-brutal-h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 52px;
  line-height: 1.05;
  font-weight: normal;
  margin: 0 0 14px;
  max-width: 860px;
}
.vibe-brutal-h2 u { text-decoration-color: #F95738; text-decoration-thickness: 4px; }
.vibe-brutal-h2 mark { background: #FF00A8; color: #FFF6EC; padding: 0 4px; }
.vibe-brutal-p { font-family: Arial; font-size: 15px; max-width: 640px; margin: 0 0 18px; line-height: 1.45; }

.vibe-brutal-specimens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-bottom: 3px solid #0A0A0A; }
.vibe-brutal-spec { padding: 28px 24px; border-right: 3px solid #0A0A0A; min-height: 180px; display: grid; grid-template-rows: auto 1fr; }
.vibe-brutal-spec:last-child { border-right: 0; }
.vibe-brutal-spec-label { font-family: "Courier New", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 12px; }
.vibe-brutal-spec-body { display: grid; place-items: center; text-align: center; line-height: 1.1; }

.vibe-brutal-footer { padding: 18px 40px; font-family: "Courier New", monospace; font-size: 12px; letter-spacing: 0.1em; }
.vibe-brutal-footer hr { border: 0; border-top: 2px dashed #0A0A0A; margin: 0 0 10px; }
.vibe-brutal-footer p { margin: 0; text-transform: uppercase; }

/* ============================================================
 * VIBE 4 — terminal-ask-andy
 * ============================================================ */
.vibe-terminal {
  color: var(--p-orange-yellow);
  font-family: var(--lcl-font-mono);
  padding: 24px;
  min-height: 100vh;
  display: grid; place-items: center;
  background: #080808;
}
.vibe-terminal-scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(0deg, rgba(244,211,94,0.035) 0, rgba(244,211,94,0.035) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}
.vibe-terminal-frame {
  position: relative; z-index: 2;
  width: min(1080px, 100%);
  min-height: 78vh;
  border: 1px solid rgba(244,211,94,0.35);
  background: rgba(10, 10, 10, 0.96);
  box-shadow: 0 0 80px rgba(255, 77, 0, 0.12) inset, 0 0 40px rgba(255,77,0,0.08);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.vibe-terminal-chrome {
  display: flex; justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(244,211,94,0.25);
  font-size: 12px;
  color: var(--p-plasma-orange);
}
.vibe-terminal-body { padding: 28px 32px; font-size: 16px; line-height: 1.6; }
.vibe-terminal-boot div { margin-bottom: 2px; }
.vibe-terminal-boot div:first-child { color: var(--p-plasma-orange); font-weight: 600; }
.vibe-terminal-hint { margin-top: 10px; color: rgba(244,211,94,0.55); }
.vibe-terminal-statusbar {
  display: flex; justify-content: space-between;
  padding: 6px 14px;
  border-top: 1px solid rgba(244,211,94,0.25);
  background: rgba(255, 77, 0, 0.08);
  color: var(--p-plasma-orange);
  font-size: 12px;
}
.vibe-terminal-body .andy-terminal { margin-top: 18px; }
.andy-terminal { font-family: var(--lcl-font-mono); }
.andy-term-history { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.andy-term-line { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; }
.andy-term-prefix { color: var(--p-plasma-orange); font-size: 13px; white-space: nowrap; }
.andy-term-assistant .andy-term-prefix { color: var(--p-orange-soda); }
.andy-term-body { white-space: pre-wrap; }
.andy-term-input { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; padding-top: 6px; border-top: 1px dashed rgba(244,211,94,0.2); }
.andy-term-input input {
  background: transparent; border: 0; outline: 0;
  font-family: inherit; font-size: 16px; color: var(--p-orange-yellow); width: 100%;
}
.andy-term-input input::placeholder { color: rgba(244,211,94,0.4); }
.andy-term-caret {
  display: inline-block; width: 10px; height: 18px; background: var(--p-plasma-orange);
  animation: term-blink 1s steps(2, start) infinite;
}
@keyframes term-blink { 0%,50% { opacity: 1; } 50.01%, 100% { opacity: 0; }}

/* ============================================================
 * VIBE 5 — zen-garden-warm
 * ============================================================ */
.vibe-zen {
  color: var(--p-byzantium);
  font-family: var(--lcl-font-body);
  min-height: 100vh;
  padding: 40px 64px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 40px;
  background: var(--p-beige);
}
.vibe-zen-header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(115,54,103,0.2); padding-bottom: 18px; }
.vibe-zen-wordmark {
  font-family: var(--lcl-font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 36px;
  letter-spacing: -0.02em;
}
.vibe-zen-ampersand { color: var(--p-cedar-chest); margin-right: 6px; font-size: 42px; vertical-align: -2px; }
.vibe-zen-folio { color: var(--p-english-lavender); }

.vibe-zen-main { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; align-items: start; }
.vibe-zen-aside { position: sticky; top: 40px; font-size: 15px; line-height: 1.55; color: var(--p-english-lavender); }
.vibe-zen-kicker { color: var(--p-byzantium); opacity: 0.7; margin-bottom: 10px; }
.vibe-zen-aside p { margin: 0 0 14px; }
.vibe-zen-rule { height: 1px; background: rgba(115,54,103,0.2); margin: 24px 0; }
.vibe-zen-list { padding-left: 18px; margin: 0; }
.vibe-zen-list li { margin-bottom: 4px; }

.vibe-zen-feature { min-height: 80vh; }
.vibe-zen-slug { color: var(--p-english-lavender); margin-bottom: 14px; font-family: var(--lcl-font-mono); }
.vibe-zen-hero {
  font-family: var(--lcl-font-display);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  color: var(--p-byzantium);
}
.vibe-zen-hero em { font-style: italic; color: var(--p-cedar-chest); }
.vibe-zen-hero-accent { color: var(--p-english-lavender); }
.vibe-zen-andy { max-width: 600px; margin-bottom: 48px; }
.vibe-zen-figure { margin: 0; }
.vibe-zen-figure-art {
  position: relative;
  height: 240px;
  background: linear-gradient(135deg, var(--p-apricot), var(--p-pastel-pink) 50%, var(--p-english-lavender));
  border-radius: 2px;
  overflow: hidden;
}
.vibe-zen-petal {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  animation: petal-drift 18s ease-in-out infinite;
}
.vibe-zen-petal-1 { width: 280px; height: 280px; background: var(--p-cedar-chest); top: -100px; left: -60px; opacity: 0.8; }
.vibe-zen-petal-2 { width: 220px; height: 220px; background: var(--p-pastel-pink); top: 40px; left: 40%; opacity: 0.9; animation-delay: -6s; }
.vibe-zen-petal-3 { width: 160px; height: 160px; background: var(--p-orange-yellow); bottom: -40px; right: 20%; opacity: 0.85; animation-delay: -12s; }
@keyframes petal-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, 10px) scale(1.05); }
}
.vibe-zen-figure figcaption { margin-top: 10px; color: var(--p-english-lavender); font-family: var(--lcl-font-mono); }

.vibe-zen-footer { display: flex; justify-content: space-between; color: var(--p-english-lavender); border-top: 1px solid rgba(115,54,103,0.15); padding-top: 16px; }

/* ============================================================
 * VIBE 6 — cursor-is-the-prompt
 * ============================================================ */
.vibe-cursor { min-height: 100vh; cursor: crosshair; }
.vibe-cursor-overlay {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 32px 48px;
  color: var(--lcl-fg);
  pointer-events: none;
}
.vibe-cursor-overlay > * { pointer-events: auto; }
.vibe-cursor-header { display: flex; justify-content: space-between; align-items: center; }
.vibe-cursor-kicker { display: flex; gap: 10px; color: var(--lcl-signal); text-shadow: 0 0 10px rgba(0,0,0,0.9); }

.vibe-cursor-center { display: flex; flex-direction: column; justify-content: center; gap: 32px; max-width: 820px; }
.vibe-cursor-hero {
  font-family: var(--lcl-font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.vibe-cursor-hero[data-hidden="true"] .vibe-cursor-reveal { opacity: 0.08; filter: blur(1.2px); }
.vibe-cursor-reveal { color: var(--lcl-signal); transition: opacity 400ms var(--lcl-ease), filter 400ms var(--lcl-ease); }
.vibe-cursor-entry { max-width: 640px; }
.vibe-cursor-footer { display: flex; justify-content: space-between; color: var(--lcl-dim); text-shadow: 0 0 10px rgba(0,0,0,0.8); }

/* ============================================================
 * VIBE-PICKER
 * ============================================================ */
.vp-cluster {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 14px;
  background: rgba(10,10,10,0.82);
  color: #FFF6EC;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,246,236,0.18);
  border-radius: var(--lcl-radius-pill);
  font-family: var(--lcl-font-mono);
}
[data-vibe="zen-garden-warm"] .vp-cluster,
[data-vibe="playful-brutalist"] .vp-cluster { display: none; }
[data-vibe="collection-drop"] .vp-cluster { background: rgba(10,10,10,0.55); }

.vp-cluster-label { display: flex; gap: 10px; align-items: center; color: rgba(255,246,236,0.85); }
.vp-cluster-active { color: #FF4D00; font-weight: 600; }

.vp-cluster-dots { display: flex; gap: 6px; }
.vp-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,246,236,0.12);
  border: 1px solid rgba(255,246,236,0.35);
  display: grid; place-items: center;
  color: transparent;
  font-size: 10px;
  font-family: var(--lcl-font-mono);
  transition: all 180ms var(--lcl-ease);
  position: relative;
}
.vp-dot:hover { background: var(--dot-color); border-color: var(--dot-color); color: #0A0A0A; transform: scale(1.15); }
.vp-dot.is-active {
  background: var(--dot-color);
  border-color: var(--dot-color);
  box-shadow: 0 0 14px var(--dot-color);
}
.vp-dot.is-active .vp-dot-idx { color: #0A0A0A; font-weight: 700; }
.vp-dot-idx { color: rgba(255,246,236,0.45); }
.vp-dot.is-active .vp-dot-idx { color: #0A0A0A; }

.vp-tiles-btn {
  padding: 6px 10px;
  border-left: 1px solid rgba(255,246,236,0.2);
  color: rgba(255,246,236,0.75);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.vp-tiles-btn:hover { color: #FFF6EC; }

/* terminal-vibe form */
.vp-terminal {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center;
  max-width: 90vw;
  padding: 8px 14px;
  background: rgba(10,10,10,0.9);
  border: 1px solid rgba(244,211,94,0.3);
  font-family: var(--lcl-font-mono);
  font-size: 12px;
}
.vp-terminal-prefix { color: var(--p-plasma-orange); }
.vp-terminal-item { color: var(--p-orange-yellow); opacity: 0.6; padding: 2px 6px; }
.vp-terminal-item:hover { opacity: 1; }
.vp-terminal-item.is-active { opacity: 1; color: var(--p-plasma-orange); background: rgba(255,77,0,0.12); }
.vp-tiles-btn-term { color: var(--p-plasma-orange); opacity: 0.8; }

/* brutal-vibe form */
.vp-brutal {
  position: fixed; bottom: 24px; left: 24px; z-index: 50;
  background: #FFFF00;
  border: 3px solid #0A0A0A;
  padding: 10px 14px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  max-width: 360px;
}
.vp-brutal legend { font-weight: 700; padding: 0 6px; background: #0A0A0A; color: #FFFF00; }
.vp-brutal label { display: block; margin: 4px 0; }
.vp-brutal-tiles { background: #FF00A8; color: #FFF6EC; border: 2px solid #0A0A0A; padding: 4px 10px; margin-top: 8px; font-weight: 700; text-transform: uppercase; font-family: Arial; }

/* tiles drawer */
.vp-tiles-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 40px;
  animation: tiles-in 220ms var(--lcl-ease);
}
@keyframes tiles-in { from { opacity: 0; } to { opacity: 1; }}
.vp-tiles-sheet {
  width: min(1200px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #111;
  border: 1px solid rgba(255,246,236,0.2);
  padding: 28px;
  color: #FFF6EC;
  font-family: var(--lcl-font-mono);
}
.vp-tiles-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.vp-tiles-close { font-size: 28px; line-height: 1; color: #FFF6EC; padding: 0 10px; }
.vp-tiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vp-tile {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border: 1px solid rgba(255,246,236,0.15);
  text-align: left;
  transition: transform 220ms var(--lcl-ease), border-color 220ms var(--lcl-ease);
  cursor: pointer;
}
.vp-tile:hover { transform: translateY(-2px); border-color: #FF4D00; }
.vp-tile.is-active { outline: 2px solid #FF4D00; outline-offset: -2px; }
.vp-tile-meta {
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  display: flex; justify-content: space-between; align-items: baseline;
  color: #FFF6EC; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  text-shadow: 0 0 8px rgba(0,0,0,0.9);
}
.vp-tile-idx { opacity: 0.7; }

/* tile previews */
.tp { position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; }
.tp-vasarely { background: #0A0A0A; grid-template-columns: repeat(8, 1fr); gap: 6px; padding: 14px; place-items: center; }
.tp-vas-cell { display: inline-block; border-radius: 1px; }
.tp-drop { background: radial-gradient(120% 80% at 30% 20%, #FF2D8B, #F95738 50%, #733667 100%); color: #FFF6EC; font-family: "Söhne", sans-serif; flex-direction: column; gap: 6px; display: grid; place-items: start end; align-content: space-between; grid-template-rows: 1fr auto; }
.tp-drop-h { font-size: 36px; font-weight: 700; letter-spacing: 0.03em; place-self: start; }
.tp-drop-issue { font-size: 11px; letter-spacing: 0.15em; opacity: 0.85; place-self: end start; }
.tp-brutal { background: #FFF6EC; color: #0A0A0A; justify-items: flex-start; align-content: center; gap: 4px; }
.tp-brutal i { font-family: "Times New Roman", serif; font-style: italic; font-size: 32px; }
.tp-brutal u { font-family: Arial; font-size: 14px; color: #FF00A8; }
.tp-brutal b { font-size: 18px; color: #F95738; }
.tp-term { background: #0A0A0A; color: var(--p-orange-yellow); justify-items: flex-start; align-content: start; font-family: var(--lcl-font-mono); font-size: 13px; gap: 4px; }
.tp-term span:first-child { color: var(--p-plasma-orange); }
.tp-term-caret { width: 8px; height: 13px; background: var(--p-plasma-orange); animation: term-blink 1s steps(2, start) infinite; }
.tp-zen { background: var(--p-beige); color: var(--p-byzantium); font-family: var(--lcl-font-display); gap: 10px; font-style: italic; font-size: 28px; grid-auto-flow: column; align-items: center; }
.tp-zen span { font-family: var(--lcl-font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-style: normal; color: var(--p-english-lavender); }
.tp-cursor { background: #0A0A0A; grid-template-columns: repeat(6, 1fr); gap: 10px; place-items: center; padding: 24px; }
.tp-cur-dot { border-radius: 50%; }

/* ============================================================
 * Wave transition (vibe swap crossfade)
 * ============================================================ */
.vibe-stage {
  position: relative;
  min-height: 100vh;
}
.vibe-slide {
  animation: vibe-in 500ms var(--lcl-ease);
}
@keyframes vibe-in {
  from { opacity: 0; transform: scale(0.996); }
  to { opacity: 1; transform: scale(1); }
}

/* a11y: keyboard hint overlay */
.kb-hint {
  position: fixed; bottom: 24px; left: 24px; z-index: 40;
  font-family: var(--lcl-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lcl-dim);
  padding: 6px 10px;
  border: 1px solid var(--lcl-rule);
  background: rgba(10,10,10,0.4);
  backdrop-filter: blur(8px);
}
[data-vibe="playful-brutalist"] .kb-hint,
[data-vibe="terminal-ask-andy"] .kb-hint { display: none; }
[data-vibe="zen-garden-warm"] .kb-hint { background: rgba(255,246,236,0.5); color: var(--p-english-lavender); border-color: rgba(115,54,103,0.2); }

/* ============================================================
   Ask Andy — shared + zen-garden-warm renderers
   Contract: artifacts/integration/logicli_ask_andy_contract.md
   ============================================================ */

.aa-error {
  font-family: var(--lcl-font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 8px 10px;
  margin-top: 10px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.9;
}

/* ---- zen-garden-warm ------------------------------------------- */

.aa-zen {
  font-family: var(--lcl-font-body);
  color: var(--p-byzantium);
}

.aa-zen-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.aa-zen .aa-chip {
  font-family: var(--lcl-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--p-english-lavender);
  border: 1px solid rgba(115,54,103,0.25);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}
.aa-zen .aa-chip:hover { color: var(--p-byzantium); border-color: rgba(115,54,103,0.5); }
.aa-zen .aa-chip.is-active {
  background: var(--p-byzantium);
  color: var(--p-cream);
  border-color: var(--p-byzantium);
}

.aa-zen-field-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  border-bottom: 1px solid rgba(115,54,103,0.3);
  padding-bottom: 10px;
}
.aa-zen-field {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  resize: none;
  font-family: var(--lcl-font-display);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
  color: var(--p-byzantium);
  padding: 0;
}
.aa-zen-field::placeholder { color: rgba(115,54,103,0.4); font-style: italic; }

.aa-zen-submit {
  font-family: var(--lcl-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--p-byzantium);
  background: var(--p-byzantium);
  color: var(--p-cream);
  cursor: pointer;
  border-radius: 2px;
  transition: background 200ms ease, color 200ms ease;
}
.aa-zen-submit:hover { background: var(--p-cedar-chest); border-color: var(--p-cedar-chest); }
.aa-zen-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.aa-zen-submit-lg { padding: 12px 24px; font-size: 13px; }

.aa-zen-meta { margin-top: 12px; }
.aa-zen-linky {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--lcl-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-english-lavender);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(115,54,103,0.3);
  text-underline-offset: 3px;
}
.aa-zen-linky:hover { color: var(--p-byzantium); }
.aa-zen-linky:disabled { opacity: 0.4; cursor: not-allowed; }

.aa-zen-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.aa-zen-label { display: flex; flex-direction: column; gap: 4px; font-family: var(--lcl-font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p-english-lavender); }
.aa-zen-label input {
  font-family: var(--lcl-font-body);
  font-size: 15px;
  color: var(--p-byzantium);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(115,54,103,0.25);
  padding: 6px 0;
  outline: 0;
}
.aa-zen-label input:focus { border-bottom-color: var(--p-byzantium); }

.aa-zen-turnmeta { color: var(--p-english-lavender); margin-bottom: 12px; font-size: 11px; }

.aa-zen-history {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 8px;
  margin-bottom: 18px;
  scroll-behavior: smooth;
}
.aa-zen-history::-webkit-scrollbar { width: 6px; }
.aa-zen-history::-webkit-scrollbar-thumb { background: rgba(115,54,103,0.2); border-radius: 3px; }

.aa-zen-exchange { display: flex; flex-direction: column; gap: 12px; }
.aa-zen-ask, .aa-zen-reply { display: flex; flex-direction: column; gap: 4px; }
.aa-zen-speaker { color: var(--p-english-lavender); font-size: 10px; }
.aa-zen-bubble {
  font-family: var(--lcl-font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--p-byzantium);
  padding: 10px 14px;
  border-radius: 2px;
  background: rgba(115,54,103,0.06);
  border-left: 2px solid var(--p-english-lavender);
  white-space: pre-wrap;
}
.aa-zen-bubble-andy {
  background: rgba(240,144,123,0.08);
  border-left-color: var(--p-cedar-chest);
  font-family: var(--lcl-font-display);
  font-style: italic;
  font-size: 17px;
}
.aa-zen-thinking { opacity: 0.7; }
.aa-zen-dots { display: inline-block; animation: aa-dots 1.1s ease-in-out infinite; }
@keyframes aa-dots { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

.aa-zen-composer { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(115,54,103,0.15); padding-top: 12px; }
.aa-zen-composer .aa-zen-field { font-size: 17px; }
.aa-zen-composer-actions { display: flex; justify-content: space-between; align-items: center; }

.aa-zen-close { text-align: left; padding: 24px 0; }
.aa-zen-close-heading {
  font-family: var(--lcl-font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 3.6vw, 48px);
  color: var(--p-byzantium);
  margin: 0 0 12px;
}
.aa-zen-close-copy { color: var(--p-english-lavender); font-size: 16px; margin: 0 0 24px; max-width: 44ch; }

.aa-zen-report { padding: 8px 0; }
.aa-zen-kicker.lcl-caps { color: var(--p-english-lavender); margin-bottom: 18px; }
.aa-zen-report-body { font-size: 17px; line-height: 1.65; color: var(--p-byzantium); }
.aa-zen-report-para { margin: 0 0 16px; }
.aa-zen-report-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(115,54,103,0.15);
  color: var(--p-english-lavender);
}
.aa-zen-report-loading { color: var(--p-english-lavender); padding: 24px 0; }

@media (max-width: 720px) {
  .aa-zen-contact { grid-template-columns: 1fr; }
  .aa-zen-field { font-size: 20px; }
  .aa-zen-history { max-height: 48vh; }
}

/* ============================================================
   Ask Andy — op-vasarely-canvas renderer
   Geometric, high-contrast. White/cream cards over black canvas.
   ============================================================ */
.aa-vas { font-family: var(--lcl-font-mono); color: var(--lcl-fg); }
.aa-vas-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.aa-vas .aa-chip {
  font-family: var(--lcl-font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: transparent; color: var(--lcl-dim);
  border: 1px solid var(--lcl-rule); border-radius: 0;
  padding: 6px 12px; cursor: pointer;
}
.aa-vas .aa-chip:hover { color: var(--lcl-fg); border-color: var(--lcl-fg); }
.aa-vas .aa-chip.is-active { background: var(--lcl-signal); color: var(--p-vasarely-black); border-color: var(--lcl-signal); }

.aa-vas-field-wrap { display: flex; align-items: flex-end; gap: 10px; border-bottom: 1px solid var(--lcl-fg); padding-bottom: 8px; background: transparent; }
.aa-vas-field { flex: 1; border: 0; outline: 0; background: transparent; resize: none; color: var(--lcl-fg); font-family: var(--lcl-font-body); font-size: 20px; line-height: 1.35; padding: 0; }
.aa-vas-field::placeholder { color: var(--lcl-dim); }

.aa-vas-submit {
  font-family: var(--lcl-font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 8px 14px; border-radius: 0;
  background: var(--lcl-signal); color: var(--p-vasarely-black); border: 1px solid var(--lcl-signal); cursor: pointer;
}
.aa-vas-submit:hover { background: var(--lcl-fg); border-color: var(--lcl-fg); }
.aa-vas-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.aa-vas-submit-lg { padding: 12px 22px; font-size: 12px; }

.aa-vas-meta { margin-top: 10px; }
.aa-vas-linky { background: transparent; border: 0; padding: 0; cursor: pointer; font-family: var(--lcl-font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lcl-dim); text-decoration: underline; text-underline-offset: 3px; }
.aa-vas-linky:hover { color: var(--lcl-fg); }
.aa-vas-linky:disabled { opacity: 0.4; cursor: not-allowed; }

.aa-vas-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.aa-vas-label { display: flex; flex-direction: column; gap: 4px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lcl-dim); }
.aa-vas-label input { font-family: var(--lcl-font-body); font-size: 14px; color: var(--lcl-fg); background: var(--lcl-field-bg); border: 1px solid var(--lcl-field-border); padding: 6px 8px; outline: 0; }
.aa-vas-label input:focus { border-color: var(--lcl-signal); }

.aa-vas-turnmeta { color: var(--lcl-dim); margin-bottom: 10px; font-size: 10px; }
.aa-vas-history { display: flex; flex-direction: column; gap: 20px; max-height: 52vh; overflow-y: auto; padding-right: 8px; margin-bottom: 18px; scroll-behavior: smooth; }
.aa-vas-history::-webkit-scrollbar { width: 6px; }
.aa-vas-history::-webkit-scrollbar-thumb { background: var(--lcl-rule); }
.aa-vas-exchange { display: flex; flex-direction: column; gap: 8px; }
.aa-vas-ask, .aa-vas-reply { display: flex; flex-direction: column; gap: 4px; }
.aa-vas-speaker { color: var(--lcl-dim); font-size: 9px; }
.aa-vas-bubble { font-family: var(--lcl-font-body); font-size: 15px; line-height: 1.5; color: var(--lcl-fg); padding: 10px 12px; border: 1px solid var(--lcl-rule); background: var(--lcl-field-bg); }
.aa-vas-bubble-andy { border-color: var(--lcl-signal); background: rgba(255,77,0,0.08); }
.aa-vas-thinking { opacity: 0.7; }
.aa-vas-dots { display: inline-block; animation: aa-dots 1.1s ease-in-out infinite; }

.aa-vas-composer { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--lcl-rule); padding-top: 10px; }
.aa-vas-composer-actions { display: flex; justify-content: space-between; align-items: center; }

.aa-vas-close { padding: 16px 0; }
.aa-vas-close-heading { font-family: var(--lcl-font-body); font-weight: 700; letter-spacing: 0.02em; font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 10px; color: var(--lcl-fg); text-transform: uppercase; }
.aa-vas-close-copy { color: var(--lcl-dim); font-size: 14px; margin: 0 0 20px; max-width: 48ch; }

.aa-vas-report { padding: 4px 0; }
.aa-vas-kicker.lcl-caps { color: var(--lcl-dim); margin-bottom: 14px; }
.aa-vas-report-body { font-size: 16px; line-height: 1.6; color: var(--lcl-fg); }
.aa-vas-report-para { margin: 0 0 14px; }
.aa-vas-report-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--lcl-rule); color: var(--lcl-dim); }
.aa-vas-report-loading { color: var(--lcl-dim); padding: 20px 0; }

/* ============================================================
   Ask Andy — collection-drop renderer
   Editorial magazine spread; panel sits in the sidebar column.
   ============================================================ */
.aa-cd { font-family: var(--lcl-font-body); color: var(--p-zen-cream); }
.aa-cd-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.aa-cd .aa-chip { font-family: var(--lcl-font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; background: transparent; color: rgba(255,246,236,0.75); border: 1px solid rgba(255,246,236,0.35); border-radius: 0; padding: 5px 10px; cursor: pointer; }
.aa-cd .aa-chip:hover { color: var(--p-zen-cream); border-color: var(--p-zen-cream); }
.aa-cd .aa-chip.is-active { background: var(--p-zen-cream); color: var(--p-byzantium); border-color: var(--p-zen-cream); }

.aa-cd-field-wrap { display: flex; align-items: flex-end; gap: 10px; border-bottom: 1px solid var(--p-zen-cream); padding-bottom: 8px; }
.aa-cd-field { flex: 1; border: 0; outline: 0; background: transparent; resize: none; color: var(--p-zen-cream); font-family: var(--lcl-font-body); font-size: 18px; line-height: 1.35; padding: 0; }
.aa-cd-field::placeholder { color: rgba(255,246,236,0.55); }

.aa-cd-submit { font-family: var(--lcl-font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; padding: 8px 14px; background: var(--p-zen-cream); color: var(--p-byzantium); border: 0; cursor: pointer; }
.aa-cd-submit:hover { background: var(--p-orange-yellow); }
.aa-cd-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.aa-cd-submit-lg { padding: 12px 22px; font-size: 11px; }

.aa-cd-meta { margin-top: 10px; }
.aa-cd-linky { background: transparent; border: 0; padding: 0; cursor: pointer; font-family: var(--lcl-font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,246,236,0.7); text-decoration: underline; text-underline-offset: 3px; }
.aa-cd-linky:hover { color: var(--p-zen-cream); }
.aa-cd-linky:disabled { opacity: 0.4; cursor: not-allowed; }

.aa-cd-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.aa-cd-label { display: flex; flex-direction: column; gap: 4px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,246,236,0.75); }
.aa-cd-label input { font-family: var(--lcl-font-body); font-size: 14px; color: var(--p-zen-cream); background: rgba(255,246,236,0.1); border: 1px solid rgba(255,246,236,0.25); padding: 6px 8px; outline: 0; }

.aa-cd-turnmeta { color: rgba(255,246,236,0.7); margin-bottom: 10px; font-size: 10px; }
.aa-cd-history { display: flex; flex-direction: column; gap: 18px; max-height: 50vh; overflow-y: auto; padding-right: 6px; margin-bottom: 14px; }
.aa-cd-exchange { display: flex; flex-direction: column; gap: 6px; }
.aa-cd-ask, .aa-cd-reply { display: flex; flex-direction: column; gap: 4px; }
.aa-cd-speaker { color: rgba(255,246,236,0.65); font-size: 9px; }
.aa-cd-bubble { font-size: 14px; line-height: 1.5; color: var(--p-zen-cream); padding: 8px 10px; background: rgba(255,246,236,0.08); border-left: 2px solid var(--p-zen-cream); }
.aa-cd-bubble-andy { background: rgba(244,211,94,0.18); border-left-color: var(--p-orange-yellow); font-family: var(--lcl-font-display); font-size: 15px; }
.aa-cd-thinking { opacity: 0.7; }
.aa-cd-dots { display: inline-block; animation: aa-dots 1.1s ease-in-out infinite; }

.aa-cd-composer { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(255,246,236,0.25); padding-top: 10px; }
.aa-cd-composer-actions { display: flex; justify-content: space-between; align-items: center; }

.aa-cd-close { padding: 12px 0; }
.aa-cd-close-heading { font-family: var(--lcl-font-display); font-weight: 400; font-size: clamp(26px, 3vw, 38px); margin: 0 0 10px; color: var(--p-zen-cream); }
.aa-cd-close-copy { color: rgba(255,246,236,0.8); font-size: 14px; margin: 0 0 18px; max-width: 40ch; }

.aa-cd-report { padding: 4px 0; }
.aa-cd-kicker.lcl-caps { color: rgba(255,246,236,0.75); margin-bottom: 12px; }
.aa-cd-report-body { font-size: 15px; line-height: 1.55; color: var(--p-zen-cream); }
.aa-cd-report-para { margin: 0 0 12px; }
.aa-cd-report-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 10px; border-top: 1px solid rgba(255,246,236,0.25); color: rgba(255,246,236,0.7); }
.aa-cd-report-loading { color: rgba(255,246,236,0.7); padding: 18px 0; }

/* ============================================================
   Ask Andy — playful-brutalist renderer
   Stark, bold, clashing. Block buttons, hand-sized type.
   ============================================================ */
.aa-br { font-family: Arial, Helvetica, sans-serif; color: var(--p-vasarely-black); }
.aa-br-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.aa-br .aa-chip { font-family: "Courier New", monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--p-zen-cream); color: var(--p-vasarely-black); border: 2px solid var(--p-vasarely-black); border-radius: 0; padding: 5px 10px; cursor: pointer; }
.aa-br .aa-chip:hover { background: var(--p-orange-yellow); }
.aa-br .aa-chip.is-active { background: var(--p-electric-pink); color: var(--p-zen-cream); }

.aa-br-field-wrap { display: flex; align-items: flex-end; gap: 10px; margin-top: 4px; }
.aa-br-field { flex: 1; border: 2px solid var(--p-vasarely-black); outline: 0; background: var(--p-zen-cream); resize: none; color: var(--p-vasarely-black); font-family: Arial, Helvetica, sans-serif; font-size: 22px; line-height: 1.3; padding: 10px 12px; }
.aa-br-field::placeholder { color: rgba(10,10,10,0.5); }
.aa-br-field:focus { border-color: var(--p-electric-pink); }

.aa-br-submit { font-family: Arial, Helvetica, sans-serif; font-weight: 900; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; padding: 12px 18px; background: var(--p-vasarely-black); color: var(--p-zen-cream); border: 2px solid var(--p-vasarely-black); cursor: pointer; }
.aa-br-submit:hover { background: var(--p-electric-pink); border-color: var(--p-electric-pink); }
.aa-br-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.aa-br-submit-lg { padding: 16px 28px; font-size: 16px; }

.aa-br-meta { margin-top: 10px; }
.aa-br-linky { background: transparent; border: 0; padding: 0; cursor: pointer; font-family: "Courier New", monospace; font-size: 12px; text-transform: uppercase; color: var(--p-orange-soda); text-decoration: underline; font-weight: 700; }
.aa-br-linky:hover { color: var(--p-electric-pink); }
.aa-br-linky:disabled { opacity: 0.4; cursor: not-allowed; }

.aa-br-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.aa-br-label { display: flex; flex-direction: column; gap: 4px; font-family: "Courier New", monospace; font-size: 11px; text-transform: uppercase; color: var(--p-vasarely-black); font-weight: 700; }
.aa-br-label input { font-family: Arial, Helvetica, sans-serif; font-size: 15px; color: var(--p-vasarely-black); background: var(--p-zen-cream); border: 2px solid var(--p-vasarely-black); padding: 6px 8px; outline: 0; }

.aa-br-turnmeta { color: var(--p-vasarely-black); font-family: "Courier New", monospace; font-weight: 700; margin-bottom: 10px; font-size: 12px; }
.aa-br-history { display: flex; flex-direction: column; gap: 16px; max-height: 50vh; overflow-y: auto; padding-right: 6px; margin-bottom: 14px; }
.aa-br-exchange { display: flex; flex-direction: column; gap: 8px; }
.aa-br-ask, .aa-br-reply { display: flex; flex-direction: column; gap: 4px; }
.aa-br-speaker { font-family: "Courier New", monospace; font-weight: 700; font-size: 11px; color: var(--p-vasarely-black); }
.aa-br-bubble { font-size: 16px; line-height: 1.5; color: var(--p-vasarely-black); padding: 10px 12px; background: var(--p-zen-cream); border: 2px solid var(--p-vasarely-black); }
.aa-br-bubble-andy { background: var(--p-orange-yellow); }
.aa-br-thinking { opacity: 0.7; }
.aa-br-dots { display: inline-block; animation: aa-dots 1.1s ease-in-out infinite; }

.aa-br-composer { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--p-vasarely-black); padding-top: 12px; }
.aa-br-composer-actions { display: flex; justify-content: space-between; align-items: center; }

.aa-br-close { padding: 16px 0; }
.aa-br-close-heading { font-family: Arial, Helvetica, sans-serif; font-weight: 900; font-size: clamp(32px, 4vw, 48px); margin: 0 0 10px; color: var(--p-vasarely-black); text-transform: uppercase; letter-spacing: -0.01em; }
.aa-br-close-copy { color: var(--p-vasarely-black); font-size: 16px; margin: 0 0 20px; max-width: 48ch; text-transform: uppercase; font-weight: 700; }

.aa-br-report { padding: 4px 0; }
.aa-br-kicker.lcl-caps { color: var(--p-vasarely-black); font-family: "Courier New", monospace; font-weight: 700; margin-bottom: 12px; }
.aa-br-report-body { font-size: 17px; line-height: 1.55; color: var(--p-vasarely-black); }
.aa-br-report-para { margin: 0 0 14px; }
.aa-br-report-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 12px; border-top: 2px solid var(--p-vasarely-black); color: var(--p-vasarely-black); }
.aa-br-report-loading { color: var(--p-vasarely-black); padding: 20px 0; font-family: "Courier New", monospace; font-weight: 700; }

/* ============================================================
   Ask Andy — terminal-ask-andy renderer
   Amber phosphor mono. Terminal prompt feel.
   ============================================================ */
.aa-term { font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--p-orange-yellow); }
.aa-term-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.aa-term .aa-chip { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.1em; background: transparent; color: rgba(244,211,94,0.65); border: 1px solid rgba(244,211,94,0.3); border-radius: 0; padding: 3px 8px; cursor: pointer; }
.aa-term .aa-chip:hover { color: var(--p-orange-yellow); border-color: var(--p-orange-yellow); }
.aa-term .aa-chip.is-active { color: var(--p-vasarely-black); background: var(--p-orange-yellow); border-color: var(--p-orange-yellow); }

.aa-term-field-wrap { display: flex; align-items: flex-end; gap: 8px; padding-top: 4px; }
.aa-term-field-wrap::before { content: "$"; color: var(--p-orange-yellow); font-weight: 700; font-size: 15px; padding-bottom: 2px; }
.aa-term-field { flex: 1; border: 0; outline: 0; background: transparent; resize: none; color: var(--p-orange-yellow); font-family: "IBM Plex Mono", monospace; font-size: 15px; line-height: 1.5; padding: 0; caret-color: var(--p-orange-yellow); }
.aa-term-field::placeholder { color: rgba(244,211,94,0.35); }

.aa-term-submit { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.08em; padding: 4px 10px; background: transparent; color: var(--p-orange-yellow); border: 1px solid var(--p-orange-yellow); cursor: pointer; }
.aa-term-submit:hover { background: var(--p-orange-yellow); color: var(--p-vasarely-black); }
.aa-term-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.aa-term-submit-lg { padding: 6px 14px; font-size: 13px; }

.aa-term-meta { margin-top: 8px; }
.aa-term-linky { background: transparent; border: 0; padding: 0; cursor: pointer; font-family: "IBM Plex Mono", monospace; font-size: 11px; color: rgba(244,211,94,0.7); text-decoration: underline; }
.aa-term-linky:hover { color: var(--p-orange-yellow); }
.aa-term-linky:disabled { opacity: 0.4; cursor: not-allowed; }

.aa-term-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.aa-term-label { display: flex; flex-direction: column; gap: 2px; font-family: "IBM Plex Mono", monospace; font-size: 10px; color: rgba(244,211,94,0.7); }
.aa-term-label input { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--p-orange-yellow); background: transparent; border: 0; border-bottom: 1px solid rgba(244,211,94,0.4); padding: 4px 0; outline: 0; }
.aa-term-label input:focus { border-bottom-color: var(--p-orange-yellow); }

.aa-term-turnmeta { color: rgba(244,211,94,0.65); margin-bottom: 8px; font-size: 11px; }
.aa-term-history { display: flex; flex-direction: column; gap: 12px; max-height: 48vh; overflow-y: auto; padding-right: 6px; margin-bottom: 12px; }
.aa-term-exchange { display: flex; flex-direction: column; gap: 4px; }
.aa-term-ask, .aa-term-reply { display: flex; flex-direction: row; gap: 8px; align-items: flex-start; }
.aa-term-speaker { color: var(--p-orange-yellow); font-weight: 700; font-size: 12px; flex-shrink: 0; min-width: 42px; }
.aa-term-bubble { font-size: 13px; line-height: 1.55; color: var(--p-orange-yellow); padding: 0; background: transparent; font-family: "IBM Plex Mono", monospace; white-space: pre-wrap; }
.aa-term-bubble-andy { color: rgba(244,211,94,0.85); }
.aa-term-thinking { opacity: 0.7; font-style: italic; }
.aa-term-dots { display: inline-block; animation: aa-dots 1.1s ease-in-out infinite; }

.aa-term-composer { display: flex; flex-direction: column; gap: 6px; border-top: 1px dashed rgba(244,211,94,0.35); padding-top: 8px; }
.aa-term-composer-actions { display: flex; justify-content: space-between; align-items: center; }

.aa-term-close { padding: 10px 0; }
.aa-term-close-heading { font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: clamp(18px, 2.2vw, 24px); margin: 0 0 8px; color: var(--p-orange-yellow); }
.aa-term-close-copy { color: rgba(244,211,94,0.75); font-size: 13px; margin: 0 0 14px; max-width: 52ch; font-family: "IBM Plex Mono", monospace; }

.aa-term-report { padding: 4px 0; }
.aa-term-kicker.lcl-caps { color: rgba(244,211,94,0.7); margin-bottom: 10px; font-size: 11px; }
.aa-term-report-body { font-size: 13px; line-height: 1.6; color: var(--p-orange-yellow); font-family: "IBM Plex Mono", monospace; }
.aa-term-report-para { margin: 0 0 12px; }
.aa-term-report-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 10px; border-top: 1px dashed rgba(244,211,94,0.35); color: rgba(244,211,94,0.7); font-size: 11px; }
.aa-term-report-loading { color: rgba(244,211,94,0.7); padding: 14px 0; font-family: "IBM Plex Mono", monospace; font-size: 12px; }

/* ============================================================
   Ask Andy — cursor-is-the-prompt renderer
   Ghostly overlay. Thin white borders against colored canvas.
   ============================================================ */
.aa-cur { font-family: var(--lcl-font-body); color: rgba(255,246,236,0.95); }
.aa-cur-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.aa-cur .aa-chip { font-family: var(--lcl-font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; background: transparent; color: rgba(255,246,236,0.75); border: 1px solid rgba(255,246,236,0.35); border-radius: 999px; padding: 4px 10px; cursor: pointer; backdrop-filter: blur(8px); }
.aa-cur .aa-chip:hover { color: var(--p-zen-cream); border-color: var(--p-zen-cream); }
.aa-cur .aa-chip.is-active { background: rgba(255,246,236,0.9); color: var(--p-vasarely-black); border-color: rgba(255,246,236,0.9); }

.aa-cur-field-wrap { display: flex; align-items: flex-end; gap: 10px; border-bottom: 1px solid rgba(255,246,236,0.6); padding-bottom: 8px; backdrop-filter: blur(4px); }
.aa-cur-field { flex: 1; border: 0; outline: 0; background: transparent; resize: none; color: var(--p-zen-cream); font-family: var(--lcl-font-display); font-style: italic; font-size: clamp(18px, 2.2vw, 26px); line-height: 1.3; padding: 0; }
.aa-cur-field::placeholder { color: rgba(255,246,236,0.5); font-style: italic; }

.aa-cur-submit { font-family: var(--lcl-font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: lowercase; padding: 7px 14px; background: rgba(255,246,236,0.9); color: var(--p-vasarely-black); border: 0; cursor: pointer; border-radius: 999px; backdrop-filter: blur(6px); }
.aa-cur-submit:hover { background: var(--p-zen-cream); }
.aa-cur-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.aa-cur-submit-lg { padding: 10px 22px; font-size: 12px; }

.aa-cur-meta { margin-top: 10px; }
.aa-cur-linky { background: transparent; border: 0; padding: 0; cursor: pointer; font-family: var(--lcl-font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: lowercase; color: rgba(255,246,236,0.7); text-decoration: underline; text-underline-offset: 3px; }
.aa-cur-linky:hover { color: var(--p-zen-cream); }
.aa-cur-linky:disabled { opacity: 0.4; cursor: not-allowed; }

.aa-cur-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.aa-cur-label { display: flex; flex-direction: column; gap: 4px; font-family: var(--lcl-font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: lowercase; color: rgba(255,246,236,0.75); }
.aa-cur-label input { font-family: var(--lcl-font-body); font-size: 14px; color: var(--p-zen-cream); background: rgba(255,246,236,0.08); border: 1px solid rgba(255,246,236,0.25); padding: 6px 8px; outline: 0; border-radius: 2px; backdrop-filter: blur(4px); }

.aa-cur-turnmeta { color: rgba(255,246,236,0.7); margin-bottom: 10px; font-size: 10px; }
.aa-cur-history { display: flex; flex-direction: column; gap: 18px; max-height: 50vh; overflow-y: auto; padding-right: 6px; margin-bottom: 14px; }
.aa-cur-exchange { display: flex; flex-direction: column; gap: 8px; }
.aa-cur-ask, .aa-cur-reply { display: flex; flex-direction: column; gap: 4px; }
.aa-cur-speaker { color: rgba(255,246,236,0.65); font-size: 9px; }
.aa-cur-bubble { font-size: 15px; line-height: 1.55; color: var(--p-zen-cream); padding: 10px 12px; background: rgba(10,10,10,0.35); border: 1px solid rgba(255,246,236,0.25); border-radius: 2px; backdrop-filter: blur(6px); }
.aa-cur-bubble-andy { background: rgba(255,77,0,0.2); border-color: rgba(255,246,236,0.5); font-family: var(--lcl-font-display); font-style: italic; font-size: 16px; }
.aa-cur-thinking { opacity: 0.7; }
.aa-cur-dots { display: inline-block; animation: aa-dots 1.1s ease-in-out infinite; }

.aa-cur-composer { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(255,246,236,0.25); padding-top: 10px; }
.aa-cur-composer-actions { display: flex; justify-content: space-between; align-items: center; }

.aa-cur-close { padding: 14px 0; }
.aa-cur-close-heading { font-family: var(--lcl-font-display); font-style: italic; font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 10px; color: var(--p-zen-cream); }
.aa-cur-close-copy { color: rgba(255,246,236,0.85); font-size: 15px; margin: 0 0 20px; max-width: 44ch; font-style: italic; }

.aa-cur-report { padding: 4px 0; }
.aa-cur-kicker.lcl-caps { color: rgba(255,246,236,0.75); margin-bottom: 14px; }
.aa-cur-report-body { font-size: 16px; line-height: 1.6; color: var(--p-zen-cream); }
.aa-cur-report-para { margin: 0 0 14px; }
.aa-cur-report-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 12px; border-top: 1px solid rgba(255,246,236,0.25); color: rgba(255,246,236,0.7); }
.aa-cur-report-loading { color: rgba(255,246,236,0.7); padding: 18px 0; }
