/*
IC SHIP PASS — generated by icpass.py from the map. edit the CODE; rerun to refresh this.

══════════════════════════════════════════════════════════════════════
 PAGE 0 — TABLE OF CONTENTS  (goldfish pointers)
 jump by SEARCHING the anchor phrase — line numbers drift, names don't.
══════════════════════════════════════════════════════════════════════
  tabs ........................ search: "tabs"
  tab 1: the guided meeting ... search: "tab 1: the guided"
  tab 2: paste-text tools ..... search: "tab 2: paste-text tools"
══════════════════════════════════════════════════════════════════════

 FOR AI
 ───────
   **OWNS** — The visual styling for `.p-transcript` card UI: tab switcher, guided meeting
   **recorder (messages + input + recording box), and paste-text tools (textarea + output box).
   **All `.tx-*` class names are defined here and must match the HTML that uses them.
   
   **TOUCH HERE**
   - Change tab appearance (color, size, shape) → `.tx-tab` L8–11
   - Change message bubble colors or layout → `.tx-b-bot` / `.tx-b-me` L19–20
   - Change input field styling (speaker dropdown, text input, send button) → `.tx-inrow` /
   - `.tx-speaker` / `.tx-in` / `.tx-send` L22–28
   - Change recording box header or button styling → `.tx-rec-head` / `.tx-rec-tools button`
   - L31–36
   - Change transcript output box colors or scrolling → `.tx-box` L38–40
   - Change paste-text textarea appearance → `.tx-src` L51–55
   - Change output display box styling → `.tx-out` / `.tx-out-head` / `.tx-out-body` L56–61
   - Adjust spacing or gaps between elements → `gap:` values in `.tx-wrap` / `.tx-meet` /
   - `.tx-guide` / `.tx-inrow` / `.tx-rec-head` / `.tx-controls` L4, 15, 16, 22, 31, 43
   
   **TRAPS**
   - `.tx-tab.on` (L11) and `.tx-lav-deep` color (#4b3f8f) appear in multiple places (L11, 20,
   - 25, 27, 53); changing one without the others breaks visual consistency.
   - `.tx-b-me` (L20) and `.tx-send` (L27) both use `var(--lav-deep, #4b3f8f)` — they must stay
   - visually linked.
   - `.tx-src.tx-empty` (L54) triggers animation `tx-nudge` (L55) — both must exist together or
   - the error state fails silently.
   - `.tx-panel[hidden]` (L12) and `.tx-rec-tools button[hidden]` (L36) rely on `display: none`
   - to hide; removing these rules breaks tab/button visibility toggling.
   - `max-height` values on `.tx-guide` (210px, L16), `.tx-box` (320px, L38), and `.tx-out-body`
   - (420px, L61) are load-bearing for scroll behavior; changing them alters UX without warning.
   
   **DO NOT**
   - Rename any `.tx-*` class without updating the HTML template that applies it.
   - Move or delete the `overflow-y: auto` rules (L3, 16, 38, 61) — they enable scrolling on tall
   - content.
   - Change the `font-family` on `.tx-box` (L39) without checking if recorded transcripts depend
   - on monospace rendering.
   - Add new color variables here; use the existing `--lav-deep`, `--surface`, `--text`,
   - `--danger` tokens defined elsewhere.
   - Modify layout logic (flexbox, grid, sizing) for the card body or wrapper — that belongs in
   - the parent card component, not here.
   
   
   
   ---

END IC SHIP PASS
*/

/* transcript-card.css — 🗒️ the transcript card: 🎙 guided meeting recorder + 📋 paste-text tools */
/* the card body scrolls (Sum: "needs a scroll on card, I am stuck") — content taller than the card is reachable. */
.p-transcript .card-body { overflow-y: auto; }
.tx-wrap { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 12px 14px; box-sizing: border-box; }

/* ── tabs ── */
.tx-tabs { display: flex; gap: 6px; }
.tx-tab { font: inherit; font-size: 0.82em; font-weight: 700; cursor: pointer; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-dim); }
.tx-tab:hover { color: var(--text); }
.tx-tab.on { background: var(--lav-deep, #4b3f8f); border-color: var(--lav-deep, #4b3f8f); color: #fff; }
.tx-panel[hidden] { display: none; }

/* ── tab 1: the guided meeting ── */
.tx-meet { display: flex; flex-direction: column; gap: 9px; }
.tx-guide { display: flex; flex-direction: column; gap: 6px; max-height: 210px; overflow-y: auto;
  padding: 8px; border: 1px solid var(--line); border-radius: var(--r-sm, 8px); background: var(--surface); }
.tx-b { max-width: 88%; padding: 6px 10px; border-radius: 12px; font-size: 0.86em; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.tx-b-bot { align-self: flex-start; background: var(--surface-2, #222); color: var(--text); border-bottom-left-radius: 4px; }
.tx-b-me  { align-self: flex-end; background: var(--lav-deep, #4b3f8f); color: #fff; border-bottom-right-radius: 4px; }

.tx-inrow { display: flex; gap: 6px; align-items: center; }
.tx-speaker { font: inherit; font-size: 0.82em; padding: 5px 6px; border-radius: var(--r-sm, 6px); border: 1px solid var(--line); background: var(--surface); color: var(--text); flex-shrink: 0; max-width: 34%; }
.tx-in { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 0.9em; padding: 7px 10px; border-radius: var(--r-sm, 8px); border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.tx-in:focus { outline: none; border-color: var(--lav-deep, #4b3f8f); }
.tx-send { font: inherit; font-size: 0.82em; font-weight: 700; cursor: pointer; padding: 7px 13px; border-radius: var(--r-sm, 8px);
  border: 0; background: var(--lav-deep, #4b3f8f); color: #fff; flex-shrink: 0; }
.tx-send:hover { filter: brightness(1.12); }

.tx-rec { border: 1px solid var(--line); border-radius: var(--r-sm, 8px); background: var(--surface-2, var(--surface)); overflow: hidden; }
.tx-rec-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--line); background: var(--surface); }
.tx-rec-title { font-size: 0.78em; font-weight: 700; opacity: 0.85; color: var(--text); }
.tx-rec-tools { display: inline-flex; gap: 6px; }
.tx-rec-tools button { font: inherit; font-size: 0.74em; cursor: pointer; padding: 3px 9px; border-radius: var(--r-sm, 6px); border: 1px solid var(--line); background: var(--surface-2, var(--surface)); color: var(--text); }
.tx-rec-tools button:hover { background: var(--line); }
.tx-rec-tools button[hidden] { display: none; }
.tx-end { color: var(--danger, #c2410c) !important; font-weight: 700; }
.tx-box { padding: 10px 12px; min-height: 90px; max-height: 320px; overflow-y: auto; font-size: 0.86em; line-height: 1.55;
  color: var(--text); white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.tx-box:empty::before { content: attr(placeholder); opacity: 0.5; font-family: inherit; }

/* ── tab 2: paste-text tools ── */
.tx-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tx-botlabel { font-size: 0.82em; opacity: 0.8; color: var(--text); display: inline-flex; align-items: center; gap: 5px; }
.tx-bot { font: inherit; font-size: 0.82em; padding: 3px 6px; border-radius: var(--r-sm, 6px); border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.tx-acts { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.tx-act { font: inherit; font-size: 0.82em; font-weight: 700; cursor: pointer; padding: 5px 11px; border-radius: var(--r-sm, 6px);
  border: 1px solid var(--line); background: var(--surface-2, var(--surface)); color: var(--text); }
.tx-act:hover:not(:disabled) { background: var(--line); }
.tx-act:disabled { opacity: 0.55; cursor: default; }
.tx-src { width: 100%; min-height: 150px; resize: vertical; box-sizing: border-box; font: inherit; font-size: 0.9em; line-height: 1.5;
  padding: 10px 12px; border-radius: var(--r-sm, 8px); border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.tx-src:focus { outline: none; border-color: var(--lav-deep, #4b3f8f); }
.tx-src.tx-empty { border-color: var(--danger, #c2410c); animation: tx-nudge 0.9s ease; }
@keyframes tx-nudge { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-3px); } 40%,80% { transform: translateX(3px); } }
.tx-out { border: 1px solid var(--line); border-radius: var(--r-sm, 8px); background: var(--surface-2, var(--surface)); overflow: hidden; }
.tx-out-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--line); background: var(--surface); }
.tx-out-title { font-size: 0.78em; font-weight: 700; opacity: 0.85; color: var(--text); }
.tx-copy { font: inherit; font-size: 0.74em; cursor: pointer; padding: 3px 9px; border-radius: var(--r-sm, 6px); border: 1px solid var(--line); background: var(--surface-2, var(--surface)); color: var(--text); }
.tx-copy:hover { background: var(--line); }
.tx-out-body { padding: 10px 12px; font-size: 0.9em; line-height: 1.55; color: var(--text); white-space: pre-wrap; word-break: break-word; max-height: 420px; overflow: auto; }
