/* ═══════════════════════════════════════════════════════════════
   promptlibretto studio — Homepage "Compositing Room"
   Warm dark amber-and-steel. Old darkroom meets precision panel.
   ═══════════════════════════════════════════════════════════════ */

/* ── Palette overrides for Compositing Room ─────────────────── */
:root {
  --bg: #0b0907;
  --panel: #131008;
  --border: #2d2820;
  --accent: #c98b40;
  --accent-2: #8db0cc;
  --accent-glow: rgba(201, 139, 64, 0.13);
}

/* ── Full-viewport layout ────────────────────────────────────── */
html, body { height: 100%; overflow: hidden; }
body { display: flex; flex-direction: column; }
header { flex-shrink: 0; }

.landing-wrap {
  flex: 1;
  min-height: 0;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Hero strip */
.landing-hero {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 0;
  align-items: stretch;
  flex-shrink: 0;
  margin: 14px 0 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  position: relative;
}
.landing-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, #e8a84e 28%, var(--accent-2) 60%, transparent 100%);
}
.hero-editorial {
  padding: 22px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-editorial-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-editorial-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-kicker::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.05;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}
.hero-title em {
  color: var(--accent);
  font-style: italic;
}
.hero-pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}
.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-stat-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero right — identity panel */
.hero-identity {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #0e0c09;
}
.hero-id-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.hero-uuid {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 11px;
  word-break: break-all;
  line-height: 1.6;
}
.hero-id-actions {
  display: flex;
  gap: 6px;
}
.hero-restore {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.hero-restore input {
  font-family: var(--font-mono);
  font-size: 11px;
}
.identity-status {
  font-size: 11px;
  color: var(--muted);
  min-height: 16px;
}
.identity-status[data-kind="ok"] { color: #7cba8a; }
.identity-status[data-kind="err"] { color: var(--error); }

/* ── Hero nav column — stacked cards ────────────────────────── */
.hero-nav {
  display: flex;
  flex-direction: column;
  background: #0e0c09;
}
.hero-nav .cr-panel {
  flex: 1;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  box-shadow: none;
}
.hero-nav .cr-panel:last-child {
  border-bottom: none;
}
.hero-nav .cr-panel:hover {
  transform: none;
  box-shadow: none;
  background: rgba(201,139,64,0.05);
  border-color: var(--border);
}
.hero-nav .cr-panel-inner {
  padding: 9px 16px 8px;
}
.hero-nav .cr-panel-name {
  font-size: 15px;
  margin-bottom: 2px;
}
.hero-nav .cr-panel-desc {
  font-size: 11px;
  line-height: 1.4;
}
.cr-panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color 200ms ease, transform 180ms ease, box-shadow 200ms ease;
}
.cr-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 200ms ease;
}
.cr-panel--studio::before { background: linear-gradient(90deg, var(--accent), #dba060); }
.cr-panel--builder::before { background: linear-gradient(90deg, var(--accent-2), #6a9abd); }
.cr-panel--ensemble::before { background: linear-gradient(90deg, #b09060, var(--accent)); }
.cr-panel--assistant::before { background: linear-gradient(90deg, #7a6eaa, #a08acc); }
.cr-panel:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,139,64,0.15) inset;
}
.cr-panel:hover::before { opacity: 1; }
.cr-panel-inner {
  padding: 22px 22px 18px;
}
.cr-panel-index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}
.cr-panel-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  font-style: italic;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1;
}
.cr-panel-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.cr-panel-footer {
  padding: 10px 22px;
  border-top: 1px solid var(--border);
  background: #0e0c09;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cr-panel-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.cr-panel-arrow {
  font-size: 14px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.cr-panel:hover .cr-panel-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Main content area — two-column ─────────────────────────── */
.landing-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}
.conn-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.conn-col > .section-block {
  flex: 1;
  margin-bottom: 0;
  min-height: 0;
  overflow-y: auto;
}

/* ── Section blocks ─────────────────────────────────────────── */
.section-block {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
  margin-bottom: 20px;
}
.section-block:last-child { margin-bottom: 0; }
.section-head {
  padding: 9px 16px 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.section-head-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  flex: 1;
}
.memory-toggle-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.memory-toggle-label input[type="checkbox"] {
  accent-color: var(--accent);
  width: 12px;
  height: 12px;
  cursor: pointer;
}
.section-head-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: #0e0c09;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
}
.section-body {
  padding: 14px 16px;
}

/* ── Connection tabs ─────────────────────────────────────────── */
.conn-tabs {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  padding: 3px;
}
.conn-tab {
  appearance: none;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 140ms, color 140ms;
}
.conn-tab:hover { color: var(--text-dim); }
.conn-tab.active {
  background: var(--panel-2, #1a1510);
  color: var(--accent);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.conn-tab-panel {
  padding: 14px 16px;
}
.conn-tab-panel[hidden] { display: none; }
.conn-sub-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.conn-sub-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.conn-sub-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.conn-sub-accent {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
}
.conn-sub-accent--blue {
  background: var(--accent-2);
}
.conn-sub-accent--warm {
  background: #b09060;
}

/* ── Connection form ────────────────────────────────────────── */
.conn-form { display: flex; flex-direction: column; gap: 10px; }
.conn-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.conn-form label input,
.conn-form label select {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.conn-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.conn-model-row { display: flex; gap: 6px; align-items: stretch; }
.conn-model-row select { flex: 1; }
.conn-status {
  font-size: 12px;
  color: var(--muted);
  min-height: 16px;
  padding: 2px 0;
}
.conn-status[data-kind="ok"] { color: #7cba8a; }
.conn-status[data-kind="err"] { color: var(--error); }
.conn-status[data-kind="warn"] { color: var(--warn); }
.conn-actions { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.conn-cors {
  margin-top: 4px;
  padding: 10px 12px;
  background: #0e0c09;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}
.conn-cors strong { color: var(--warn); }
.cors-tab-bar { display: flex; gap: 6px; margin: 8px 0 4px; }
.cors-tab-btn {
  padding: 3px 10px;
  font-size: 11px;
  border-radius: 4px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
}
.cors-tab-btn.cors-tab-active { border-color: var(--accent); color: var(--accent); }
.cors-pre {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 10px;
  margin: 4px 0 0;
  overflow-x: auto;
  white-space: pre;
}

/* ── Test connection button & status ─────────────────────────── */
.test-btn {
  background: transparent;
  color: var(--accent-2);
  border: 1px solid rgba(141, 176, 204, 0.35);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 160ms ease;
}
.test-btn:hover {
  background: rgba(141,176,204,0.1);
  border-color: var(--accent-2);
  color: var(--accent-2);
  transform: translateY(-1px);
}
.test-status {
  font-size: 11px;
  color: var(--muted);
  min-height: 15px;
  padding: 2px 0;
  font-family: var(--font-mono);
}
.test-status[data-kind="ok"] { color: #7cba8a; }
.test-status[data-kind="err"] { color: var(--error); }
.test-status[data-kind="pending"] { color: var(--accent); }

/* ── About editorial ─────────────────────────────────────────── */
.about-editorial {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Masthead with big italic text */
.about-masthead {
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--border);
  background: #0e0c09;
  position: relative;
  flex-shrink: 0;
}
.about-masthead::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 28px;
  width: 60px;
  height: 2px;
  background: var(--accent);
}
.about-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.about-headline {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  font-style: italic;
  color: var(--text);
  line-height: 1.1;
  margin: 0 0 14px;
}
.about-headline em { color: var(--accent); }
.about-deck {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
  max-width: 560px;
}

/* Signal diagram — architectural row */
.about-signal {
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  flex-shrink: 0;
}
.sig-node {
  padding: 4px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #0e0c09;
  color: var(--text-dim);
  transition: opacity 0.3s;
}
.sig-node--amber { border-color: var(--accent); color: var(--accent); }
.sig-node--blue  { border-color: var(--accent-2); color: var(--accent-2); }
.sig-node--warm  { border-color: #b09060; color: #b09060; }
.sig-node--green { border-color: #7cba8a; color: #7cba8a; }
.sig-node--dim   { opacity: 0.45; }
.sig-op { color: var(--muted); font-size: 13px; font-family: var(--font-mono); }
.sig-break { flex-basis: 100%; height: 0; }

/* Slide content area */
.about-slide-area {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 28px;
}
.about-slide,
.mem-slide { display: none; }
.about-slide.active,
.mem-slide.active { display: block; }
.about-slide h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  margin: 0 0 12px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}
.about-slide p {
  margin: 0 0 12px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
}
.about-slide p:last-child { margin-bottom: 0; }
.about-slide pre {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  overflow-x: auto;
  margin: 10px 0;
  color: var(--text-dim);
  line-height: 1.55;
}
.about-slide a { color: var(--accent); text-underline-offset: 3px; }
.about-pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding: 6px 14px;
  margin: 14px 0;
  line-height: 1.5;
}

/* Nav bar at base of about */
.about-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-top: 1px solid var(--border);
  background: #0e0c09;
  flex-shrink: 0;
}
.about-dots { display: flex; gap: 6px; flex: 1; justify-content: center; }
.about-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.about-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.sidebar-stack .section-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  min-height: 0;
  overflow-y: auto;
}
.sidebar-stack .section-body {
  flex: 1;
  overflow-y: auto;
}

/* Workspace identity in sidebar */
.ws-block {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
}
.ws-head {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.ws-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ws-uuid-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.ws-uuid-val {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  background: #0e0c09;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  word-break: break-all;
  line-height: 1.6;
}
.ws-actions { display: flex; gap: 6px; }
.ws-restore {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.ws-restore input { font-family: var(--font-mono); font-size: 11px; }

/* About trigger button */
.about-trigger {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(201,139,64,0.06);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 150ms, border-color 150ms;
}
.about-trigger:hover {
  background: rgba(201,139,64,0.13);
  border-color: rgba(201,139,64,0.4);
}

/* About modal */
.about-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(3px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.about-modal-backdrop[hidden] { display: none; }
.about-modal-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: min(720px, 100%);
  height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.about-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--panel);
}
.about-modal-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.about-modal-close {
  appearance: none;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 120ms, background 120ms;
}
.about-modal-close:hover { color: var(--text); background: rgba(255,255,255,0.06); }

/* ── Connection help modal ──────────────────────────────────── */
.conn-help-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: min(700px, 94vw);
  height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.conn-help-masthead {
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--border);
  background: #0e0c09;
  position: relative;
  flex-shrink: 0;
}
.conn-help-masthead::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 28px;
  width: 60px;
  height: 2px;
  background: var(--accent);
}
.conn-help-headline {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  font-style: italic;
  color: var(--text);
  line-height: 1.1;
  margin: 0 0 14px;
}
.conn-help-headline em { color: var(--accent); }
.conn-help-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.conn-help-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.conn-help-section:last-child { border-bottom: none; }
.conn-help-section--required {
  background: rgba(196, 150, 72, 0.05);
  border: 1px solid rgba(196, 150, 72, 0.25);
  border-radius: 6px;
  padding: 16px 18px;
  margin-bottom: 4px;
}
.conn-help-required-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.conn-help-section h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  margin: 0 0 10px;
  color: var(--text);
}
.conn-help-section--required h4 {
  font-size: 17px;
  margin-bottom: 8px;
}
.conn-help-section p {
  margin: 0 0 10px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
}
.conn-help-section p:last-child { margin-bottom: 0; }
.conn-help-section p + p { margin-top: 6px; }
.conn-help-section code {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--text);
}
.conn-help-section strong { color: var(--text); font-weight: 600; }
.conn-help-section pre {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  overflow-x: auto;
  margin: 10px 0 0;
  color: var(--text-dim);
  line-height: 1.55;
}

/* Status line shared class */
.status-line {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--muted);
  min-height: 15px;
}
.status-line[data-kind="ok"] { color: #7cba8a; }
.status-line[data-kind="err"] { color: var(--error); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  html, body { overflow: auto; height: auto; }
  .landing-wrap { flex: none; }
  .landing-content { grid-template-columns: 1fr; flex: none; }
  .landing-hero { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .landing-wrap { padding: 0 16px 32px; }
  .hero-title { font-size: 28px; }
  .conn-form-row { grid-template-columns: 1fr; }
}
