/* ─────────────────────────────────────────────────────────────────────────────
   tabs.css — per-tab component styles
   ───────────────────────────────────────────────────────────────────────── */

/* ── PROJECTS TAB ────────────────────────────────────────────────────────── */
.proj-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pt-hdr {
  display: grid;
  grid-template-columns: 1fr 120px 70px 110px 110px 30px;
  padding: 9px 18px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  gap: 12px;
}
.pt-row {
  display: grid;
  grid-template-columns: 1fr 120px 70px 110px 110px 30px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  align-items: center;
  transition: background .1s;
}
.pt-row:last-child,
.pt-row.no-border { border-bottom: none; }
.pt-row:hover     { background: rgba(255,255,255,.016); }
.pt-row.expanded  { background: rgba(255,255,255,.022); }

.proj-name   { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proj-author { font-family: var(--mono); font-size: 11px; color: var(--text-3); margin-top: 2px; }
.pt-cell-mono { font-family: var(--mono); font-size: 11px; color: var(--text-3); }

.age-text       { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.age-fresh      { color: var(--accent); }
.age-stale      { color: var(--orange); }

.spark-bar  { display: flex; gap: 3px; align-items: flex-end; height: 18px; }
.spark-col  { width: 8px; border-radius: 1px; background: var(--border2); min-height: 2px; transition: background .15s; }
.spark-col.has-ev  { background: var(--accent); opacity: .5; }
.spark-col.this-wk { background: var(--accent); opacity: 1; }

.xpnd-btn {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--text-3);
  border-radius: 3px; border: none; background: transparent;
  transition: all .12s;
}
.xpnd-btn:hover { background: var(--border); color: var(--text); }
.xpnd-btn.open  { color: var(--accent); }

/* Detail panel */
.pt-detail {
  display: none;
  padding: 20px 18px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.18);
  gap: 24px;
  grid-template-columns: 1fr 1fr 220px;
}
.pt-detail.vis { display: grid; }

.detail-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.mini-tl   { display: flex; flex-direction: column; gap: 8px; }
.mini-ev   { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; }
.mini-dot  { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }

.dot-journal         { background: var(--blue); }
.dot-diff            { background: var(--purple); }
.dot-agent-diff      { background: var(--text-3); }
.dot-milestone       { background: var(--accent); }
.dot-instructor-note { background: var(--orange); }
.dot-media           { background: var(--teal); }

.mini-date { font-family: var(--mono); font-size: 10px; color: var(--text-3); white-space: nowrap; flex-shrink: 0; width: 52px; }
.mini-txt  { color: var(--text-2); line-height: 1.4; }

.meta-kv  { display: flex; flex-direction: column; gap: 9px; }
.meta-k   { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--text-3); letter-spacing: .08em; }
.meta-v   { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.mono-sm  { font-family: var(--mono); font-size: 11px; }

.kw-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.kw-chip  {
  font-family: var(--mono); font-size: 10px;
  padding: 3px 8px; border-radius: 2px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border2);
  color: var(--text-2);
}
.statement-quote {
  font-size: 12px; color: var(--text-2);
  font-style: italic; line-height: 1.65;
  margin-top: 6px;
  border-left: 2px solid var(--border2);
  padding-left: 10px;
}

/* ── GRAPH TAB ───────────────────────────────────────────────────────────── */
.graph-controls {
  display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap;
}
.graph-mode-btn {
  font-family: var(--mono); font-size: 10px; padding: 4px 12px;
  border-radius: 3px; border: 1px solid var(--border);
  background: transparent; color: var(--text-2); transition: all .12s; letter-spacing: .04em;
}
.graph-mode-btn.active { background: var(--accent-d); border-color: rgba(200,240,96,.3); color: var(--accent); }

#graph-canvas {
  width: 100%; display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.graph-legend { display: flex; gap: 18px; margin-top: 12px; flex-wrap: wrap; }
.legend-item  { display: flex; align-items: center; gap: 7px;
                font-family: var(--mono); font-size: 10px; color: var(--text-2); }
.legend-dot   { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.graph-tooltip {
  position: fixed; background: var(--surface2);
  border: 1px solid var(--border2); border-radius: var(--r);
  padding: 10px 14px; font-size: 12px;
  pointer-events: none; z-index: 500; display: none; max-width: 240px;
}
.tt-term  { font-family: var(--mono); font-size: 11px; color: var(--accent); margin-bottom: 4px; }
.tt-count { font-size: 11px; color: var(--text-2); margin-bottom: 4px; }
.tt-proj  { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* ── TRENDS TAB ──────────────────────────────────────────────────────────── */
.trends-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.chart-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 24px;
}
.chart-title {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
  margin-bottom: 18px;
}

.bar-chart  { display: flex; flex-direction: column; gap: 9px; }
.bar-row    { display: flex; align-items: center; gap: 10px; }
.bar-label  {
  font-family: var(--mono); font-size: 11px; color: var(--text-2);
  width: 140px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bar-track  { flex: 1; height: 5px; background: var(--border2); border-radius: 3px; overflow: hidden; }
.bar-fill   { height: 100%; border-radius: 3px; transition: width .5s ease; }
.bar-count  { font-family: var(--mono); font-size: 11px; color: var(--text-3);
              width: 22px; text-align: right; flex-shrink: 0; }

.year-timeline { display: flex; flex-direction: column; gap: 8px; }
.yr-row   { display: flex; align-items: center; gap: 10px; }
.yr-label { font-family: var(--mono); font-size: 11px; color: var(--text-2); width: 40px; flex-shrink: 0; }
.yr-dots  { display: flex; gap: 5px; flex-wrap: wrap; }
.yr-dot   { width: 11px; height: 11px; border-radius: 2px; }
.yr-count { font-family: var(--mono); font-size: 10px; color: var(--text-3); }

.duration-list { display: flex; flex-direction: column; gap: 12px; }
.dur-row   { display: flex; align-items: baseline; gap: 10px; }
.dur-name  { font-size: 13px; flex: 1; color: var(--text-2); }
.dur-right { display: flex; align-items: baseline; gap: 4px; flex-shrink: 0; }
.dur-days  { font-family: var(--mono); font-size: 24px; font-weight: 300; color: var(--accent); }
.dur-unit  { font-family: var(--mono); font-size: 10px; color: var(--text-3); }

.mood-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mood-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
}
.mood-dot   { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mood-name  { font-family: var(--mono); font-size: 11px; color: var(--text-2); flex: 1; }
.mood-count { font-family: var(--mono); font-size: 20px; font-weight: 300; }

/* ── MEDIA TAB ───────────────────────────────────────────────────────────── */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 16px; }

.media-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.media-thumb {
  width: 100%; height: 150px; object-fit: cover; display: block;
  background: var(--surface2);
}
.media-thumb-ph {
  width: 100%; height: 150px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
}
.video-ph { background: #0a0a14; }
.audio-ph { background: #0a100a; }

.play-icon  { font-size: 28px; color: var(--blue); opacity: .7; }
.media-dur  { font-family: var(--mono); font-size: 11px; color: var(--text-3); }

.waveform { display: flex; gap: 3px; align-items: center; }
.wv-bar   { width: 4px; background: var(--teal); border-radius: 2px; opacity: .6; }

.media-body   { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.media-badge  {
  font-family: var(--mono); font-size: 9px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 2px; display: inline-block; margin-bottom: 3px;
}
.mt-video { background: var(--blue-d);   color: var(--blue);   border: 1px solid rgba(96,200,240,.2); }
.mt-audio { background: var(--teal-d);   color: var(--teal);   border: 1px solid rgba(64,208,160,.2); }
.mt-image { background: var(--purple-d); color: var(--purple); border: 1px solid rgba(160,128,240,.2); }

.media-caption { font-size: 12px; color: var(--text-2); line-height: 1.4; }
.media-proj    { font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.media-link    {
  font-family: var(--mono); font-size: 10px; color: var(--blue);
  margin-top: 6px; display: inline-block;
}
.audio-player  { width: 100%; margin-top: 8px; accent-color: var(--accent); }

/* ── ENTRY TAB ───────────────────────────────────────────────────────────── */
.entry-wrap { max-width: 720px; }

.entry-proj-bar {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.entry-proj-id    { font-family: var(--mono); font-size: 10px; color: var(--text-3); letter-spacing: .06em; }
.entry-proj-title { font-size: 14px; font-weight: 500; margin-top: 2px; }
.entry-proj-count { font-family: var(--mono); font-size: 12px; color: var(--text-3); flex-shrink: 0; }

.log-row {
  display: grid;
  grid-template-columns: 10px 200px 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.log-row:last-child { border-bottom: none; }
.log-dot  { width: 7px; height: 7px; border-radius: 50%; margin-top: 3px; flex-shrink: 0; }
.log-meta { display: flex; gap: 8px; align-items: center; }
.log-date { font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.log-type { font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.log-text { color: var(--text-2); line-height: 1.45; }

/* ── MAP PLACEHOLDER ─────────────────────────────────────────────────────── */
.map-ph {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 64px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.map-ph-title { font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.map-ph-desc  {
  font-size: 13px; color: var(--text-3);
  text-align: center; max-width: 500px; line-height: 1.75;
}
.map-ph-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px;
  width: 100%; max-width: 560px; margin-top: 20px;
}
.map-ph-node {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 14px;
  text-align: center; font-family: var(--mono);
  font-size: 10px; color: var(--text-3);
}
.map-ph-node strong {
  display: block; font-size: 20px; font-weight: 300;
  color: var(--text-2); margin-bottom: 5px; font-family: var(--mono);
}

/* ── TOOLTIP (field-tip) ─────────────────────────────────────────────────── */
.field-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: 6px;
  vertical-align: middle;
  cursor: help;
}
.field-tip-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--surface2);
  color: var(--text-3);
  font-size: 9px;
  font-weight: 500;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  transition: border-color .12s, color .12s;
  user-select: none;
}
.field-tip:hover .field-tip-icon,
.field-tip:focus .field-tip-icon {
  border-color: var(--accent);
  color: var(--accent);
}
.field-tip-bubble {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface3);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  padding: 10px 13px;
  font-size: 12px;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.55;
  width: 260px;
  z-index: 400;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  text-transform: none;
  letter-spacing: 0;
}
.field-tip-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--border2);
}
.field-tip:hover .field-tip-bubble,
.field-tip:focus .field-tip-bubble { display: block; }

/* ── DIFF EXPLAINER ──────────────────────────────────────────────────────── */
.entry-diff-explainer {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--purple);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 18px;
}
.diff-explainer-title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}
.diff-explainer-body {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.65;
}
.diff-explainer-body code {
  font-size: 11px;
  background: var(--surface);
  padding: 1px 5px;
  border-radius: 2px;
}

/* ── THEMES TAB ──────────────────────────────────────────────────────────── */
.theme-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.theme-search-input {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  width: 300px;
  outline: none;
  transition: border-color .12s;
}
.theme-search-input::placeholder { color: var(--text-3); }
.theme-search-input:focus { border-color: var(--accent); }

.theme-section { margin-bottom: 20px; }
.theme-section-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.theme-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.theme-chip {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 3px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .12s;
}
.theme-chip:hover { border-color: var(--border3); color: var(--text); }
.theme-chip.active {
  background: var(--accent-d);
  border-color: rgba(200,240,96,.35);
  color: var(--accent);
}
.theme-chip-count {
  font-size: 10px;
  opacity: .6;
}

.theme-active-bar {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  margin-bottom: 24px;
  min-height: 42px;
}
.theme-active-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}
.theme-active-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}

/* Project cards row */
.theme-proj-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.theme-proj-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.theme-proj-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.theme-proj-title { font-size: 13px; font-weight: 500; line-height: 1.3; }
.theme-proj-meta  { font-family: var(--mono); font-size: 10px; color: var(--text-3); margin-top: 3px; }
.theme-proj-desc  { font-size: 12px; color: var(--text-2); line-height: 1.5; flex: 1; }
.theme-proj-footer { display: flex; align-items: center; justify-content: space-between; }
.theme-proj-link {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  text-decoration: none;
}
.theme-proj-link:hover { text-decoration: underline; }

/* Chronological thread */
.theme-timeline { display: flex; flex-direction: column; }

.thread-event {
  display: grid;
  grid-template-columns: 160px 24px 1fr;
  gap: 0 16px;
  position: relative;
  padding-bottom: 24px;
}
.thread-event-left {
  text-align: right;
  padding-top: 2px;
}
.thread-date {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  line-height: 1.4;
}
.thread-project {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  margin-top: 2px;
  opacity: .8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.thread-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}
.thread-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--bg);
  z-index: 1;
}
.thread-line {
  flex: 1;
  width: 1px;
  background: var(--border2);
  margin-top: 4px;
}
.theme-timeline .thread-event:last-child .thread-line { display: none; }

.thread-event-right { padding-top: 0; }
.thread-type-tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 6px;
}
.thread-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}
.thread-mood {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  margin-top: 5px;
}
.thread-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }

/* Empty state */
.theme-empty {
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.theme-empty-title {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
}
.theme-empty-body {
  font-size: 13px;
  color: var(--text-3);
  max-width: 480px;
  line-height: 1.75;
}

/* ── SCHEMA TREE (tab-schema) ────────────────────────────────────────────── */
.schema-tree-controls {
  display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; align-items: center;
}
.schema-tree-controls .filter-label { margin-right: 4px; }

.schema-node {
  display: flex; align-items: baseline; gap: 8px;
  padding: 4px 0; line-height: 1.5;
  border-left: 1px solid transparent;
  transition: background .08s;
}
.schema-node:hover { background: rgba(255,255,255,.02); }
.schema-node-spine { border-left-color: var(--accent) !important; }

.schema-toggle {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-3); cursor: pointer; flex-shrink: 0;
  width: 14px; text-align: center; user-select: none;
  transition: color .12s;
}
.schema-toggle:hover { color: var(--accent); }
.schema-toggle-ph { width: 14px; flex-shrink: 0; display: inline-block; }

.schema-label {
  font-family: var(--mono); font-size: 12px;
  color: var(--text-2); flex-shrink: 0;
}
.schema-label-parent { cursor: pointer; color: var(--text); font-weight: 500; }
.schema-label-parent:hover { color: var(--accent); }

.schema-type {
  font-family: var(--mono); font-size: 10px;
  padding: 1px 6px; border-radius: 2px;
  background: rgba(255,255,255,.04);
  flex-shrink: 0;
}

.schema-req {
  color: var(--red); font-size: 12px;
  flex-shrink: 0; margin-left: -4px;
}

.schema-desc {
  font-size: 11px; color: var(--text-3);
  line-height: 1.45;
}

.schema-badge {
  font-family: var(--mono); font-size: 9px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 1px 6px; border-radius: 2px;
  border: 1px solid transparent; flex-shrink: 0;
}

.schema-children { border-left: 1px solid var(--border); margin-left: 7px; }

/* ── RECORD TREE (project.html) ──────────────────────────────────────────── */
.rtree-controls {
  display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap;
}
.rtree-root { font-size: 13px; }

.rtree-row {
  display: flex; align-items: baseline; gap: 7px;
  padding: 3px 0; line-height: 1.5;
  transition: background .08s;
}
.rtree-row:hover { background: rgba(255,255,255,.02); }
.rtree-row.rtree-dim { opacity: .35; }
.rtree-row.rtree-highlight { background: var(--accent-g); }

.rtree-toggle {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-3); cursor: pointer; flex-shrink: 0;
  width: 14px; text-align: center; user-select: none;
}
.rtree-ph { width: 14px; flex-shrink: 0; display: inline-block; }

.rtree-section { cursor: pointer; }
.rtree-section:hover { background: rgba(255,255,255,.025); }

.rtree-key {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-2); flex-shrink: 0;
}
.rtree-key-parent { color: var(--text); font-weight: 500; }

.rtree-sep { font-family: var(--mono); font-size: 11px; color: var(--text-3); flex-shrink: 0; }

.rtree-val { font-size: 12px; }
.rtree-string { color: var(--blue); }

.rtree-count {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-3); flex-shrink: 0;
}

.rtree-ev-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-bottom: -1px;
}

/* ── CREATE TAB ──────────────────────────────────────────────────────────── */
.create-next {
  margin-top: 28px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: 16px 18px;
}
.create-next-title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.create-next-list {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
  padding-left: 18px;
}
.create-next-list li { margin: 2px 0; }
.create-next-list code {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--surface);
  padding: 1px 5px;
  border-radius: 2px;
  color: var(--accent);
}

/* ── INLINE CREATE FORM ──────────────────────────────────────────────────── */
.create-inline-form {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-top: 2px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 20px 24px 24px;
}
.create-inline-title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.cr-id-preview {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: inline-block;
  min-width: 200px;
}
