/* Görüşme Kayıtları (web/app/pages/recordings.js) and its player (web/app/player.js, after LumAnalyze's
   PlayerWaveForm: 70 bars, 5 px wide, 4–42 px tall; the played part lime, the rest the line colour; a dark playhead;
   1x / 1.5x / 2x with a sliding lime marker). Colours are theme.css tokens only. */
.rec-page { gap: 14px; }
.rec-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rec-h { margin: 0; font-size: 15px; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.rec-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
.rec-dir { display: inline-flex; align-items: center; gap: 5px; color: var(--text-2); white-space: nowrap; }
.rec-who { color: var(--ink); font-weight: 600; display: block; }
.rec-table td { white-space: nowrap; }
.rec-table small { display: block; font-size: 12px; }

.rec-now { gap: 14px; }
.rec-now-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rec-now-title { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.rec-now-title h2 { margin: 0; font-size: 17px; color: var(--ink); overflow-wrap: anywhere; }
.rec-now-title .muted { font-size: 12.5px; }
.rec-wait { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--bg); color: var(--text-2); font-size: 13px; }
.rec-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 18px; margin: 0; }
.rec-facts div { min-width: 0; }
.rec-facts dt { font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.rec-facts dd { margin: 0; color: var(--ink); font-size: 13.5px; overflow-wrap: anywhere; }
.rec-note { margin: 0; font-size: 13px; color: var(--text); }
.rec-note b { color: var(--muted); font-weight: 600; margin-right: 6px; }

/* ------------------------------------------------------------------ player */
.pl { display: flex; flex-direction: column; gap: 6px; }
.pl audio { display: none; }
.pl-row { display: flex; align-items: flex-end; gap: 10px; padding: 8px 0; min-width: 0; }
.pl-play { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 0; display: inline-flex; align-items: center;
  justify-content: center; background: var(--inverse); color: var(--on-inverse); cursor: pointer; }
.pl-play svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.pl-play:disabled { opacity: 0.5; cursor: default; }
.pl-play:focus-visible, .pl-track:focus-visible, .pl-speed button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.pl-track { position: relative; flex: 1 1 auto; min-width: 0; height: 48px; cursor: pointer; touch-action: none; border-radius: 6px; }
.pl-track.loading { opacity: 0.6; }
.pl-track.off { opacity: 0.45; cursor: default; }
.pl-bars { position: absolute; left: 0; right: 0; bottom: 0; height: 42px; display: flex; align-items: center;
  justify-content: space-between; gap: 1px; pointer-events: none; }
.pl-bar { flex: 0 1 5px; min-width: 2px; border-radius: 8px; background: var(--line); transition: background-color 0.15s ease; }
.pl-bar.on { background: var(--lime); }
.pl-head { position: absolute; bottom: 0; width: 2px; height: 46px; margin-left: -1px; background: var(--ink); pointer-events: none; }
.pl-head::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--ink); }
.pl-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pl-time { display: inline-flex; gap: 3px; font-size: 12.5px; color: var(--text); font-variant-numeric: tabular-nums; }
.pl-time b { color: var(--ink); font-weight: 600; }
.pl-sep { color: var(--faint); }
.pl-err { font-size: 12.5px; color: var(--red-ink); }
.pl-speed { position: relative; display: inline-grid; grid-template-columns: repeat(3, 40px); padding: 2px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--line); }
.pl-speed-on { position: absolute; top: 2px; bottom: 2px; left: 2px; width: 40px; border-radius: 6px; background: var(--lime);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.pl-speed button { position: relative; z-index: 1; height: 24px; border: 0; background: transparent; font: inherit; font-size: 12px;
  font-weight: 500; color: var(--muted); cursor: pointer; }
.pl-speed button[aria-pressed="true"] { color: var(--lime-ink); font-weight: 600; }

@media (max-width: 760px) {
  .rec-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .pl-speed-on, .pl-bar { transition: none; }
}
