/* ─────────────────────────────────────────────────────────────────
   css/session-log.css
   Phase A — SLP / BCBA Session Log + Time Tracker (Wave 12).
   Companion to js/builder/session-log.js. Kept in its own file
   because builder.css is at YELLOW.
   PILOT-READY.
   ───────────────────────────────────────────────────────────────── */

/* Topbar pill */
.session-log-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}
.session-log-pill.active {
  background: #fff3d6;
  border-color: #f0a93a;
  color: #6a4203;
}
@media (max-width: 640px) {
  .session-log-pill .session-log-pill-label { display: none; }
}

/* Sticky active-session bar (sits above the bottom of the viewport) */
.session-active-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #1f1f23;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  z-index: 9100;
  max-width: calc(100vw - 2rem);
}
.session-active-bar[style*="flex"] { display: flex; }
.session-active-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: sess-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.session-active-dot.paused {
  background: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18);
  animation: none;
}
@keyframes sess-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.session-active-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}
.session-active-pausedtag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 600;
}
.session-active-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.session-active-btn {
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 36px;
}
.session-active-btn.session-active-pause {
  background: #475569; color: #fff;
}
.session-active-btn.session-active-pause:hover { background: #5b6678; }
.session-active-btn.session-active-stop {
  background: #ef4444; color: #fff;
}
.session-active-btn.session-active-stop:hover { background: #dc2626; }

@media (max-width: 600px) {
  .session-active-bar {
    bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    font-size: 0.85rem;
  }
  .session-active-text { max-width: 140px; }
}

/* ── Modal shell (rendered into a host attached via BottomSheet) ── */
.session-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 20, 0.6);
  padding: 1rem;
}
.session-modal-overlay.open {
  display: flex;
}
.session-modal-card {
  background: #fff;
  color: #1f1f23;
  border-radius: 14px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.session-modal-card-wide { max-width: 880px; }
.session-modal-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e2e7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.session-modal-head h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}
.session-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #6b6b78;
  width: 36px; height: 36px;
  border-radius: 50%;
}
.session-modal-close:hover { background: #f0f0f4; }
.session-modal-body {
  padding: 1rem 1.25rem;
  overflow-y: auto;
}
.session-modal-foot {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #e2e2e7;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Choice screen (Start / View Log) */
.session-choice-btn {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.75rem;
  width: 100%;
  text-align: left;
  border: 2px solid #e2e2e7;
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
  cursor: pointer;
  margin-bottom: 0.75rem;
  font-family: inherit;
  min-height: 64px;
}
.session-choice-btn:hover { border-color: #7c5cff; background: #f9f7ff; }
.session-choice-btn.primary { border-color: #7c5cff; background: #f3efff; }
.session-choice-btn.primary:hover { background: #ebe3ff; }
.session-choice-btn .ico {
  grid-row: 1 / span 2;
  font-size: 1.6rem;
  align-self: center;
}
.session-choice-btn .lbl { font-weight: 700; font-size: 1rem; }
.session-choice-btn .hint { font-size: 0.85rem; color: #6b6b78; }

/* Privacy strip */
.session-modal-priv {
  margin-top: 0.85rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: #fef9e7;
  border: 1px solid #f0c545;
  font-size: 0.85rem;
  color: #4a3a05;
  line-height: 1.4;
}

/* Form */
.session-label {
  display: block;
  margin-top: 0.85rem;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2a2a30;
}
.session-req { color: #dc2626; }
.session-input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 16px; /* iOS no-zoom floor */
  border: 1.5px solid #d4d4dd;
  border-radius: 8px;
  font-family: inherit;
  background: #fff;
  color: #1f1f23;
}
.session-input:focus {
  outline: none;
  border-color: #7c5cff;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
}
.session-textarea { min-height: 70px; resize: vertical; }
.session-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: #6b6b78;
}

/* Buttons */
.session-btn {
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
  font-family: inherit;
}
.session-btn-primary { background: #7c5cff; color: #fff; }
.session-btn-primary:hover { background: #6b4eea; }
.session-btn-secondary { background: #475569; color: #fff; }
.session-btn-secondary:hover { background: #5b6678; }
.session-btn-ghost { background: transparent; color: #475569; border: 1.5px solid #d4d4dd; }
.session-btn-ghost:hover { background: #f0f0f4; }
.session-btn-stop { background: #ef4444; color: #fff; }
.session-btn-stop:hover { background: #dc2626; }

/* Active controls modal detail */
.session-active-detail {
  padding: 1rem;
  border-radius: 10px;
  background: #f7f6ff;
  border: 1px solid #d6cffe;
  text-align: center;
}
.session-active-detail-board {
  font-size: 0.9rem;
  color: #6b6b78;
  margin-top: 0.2rem;
}
.session-active-detail-timer {
  font-size: 2.3rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-top: 0.4rem;
  color: #2a2a30;
}
.session-active-detail-running {
  font-size: 0.8rem;
  font-weight: 700;
  color: #15803d;
  margin-top: 0.2rem;
  letter-spacing: 0.5px;
}
.session-active-detail-paused {
  font-size: 0.8rem;
  font-weight: 700;
  color: #b45309;
  margin-top: 0.2rem;
  letter-spacing: 0.5px;
}

/* Log table */
.session-summary {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #2a2a30;
}
.session-table-scroll {
  overflow-x: auto;
  border: 1px solid #e2e2e7;
  border-radius: 8px;
}
.session-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.session-table thead th {
  background: #f7f7fa;
  text-align: left;
  padding: 0.55rem 0.65rem;
  font-weight: 700;
  border-bottom: 1px solid #e2e2e7;
  white-space: nowrap;
}
.session-table tbody td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid #f0f0f4;
  vertical-align: top;
}
.session-table tbody tr:last-child td { border-bottom: none; }
.session-row-del {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #b91c1c;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  min-height: 32px;
}
.session-row-del:hover { background: #fee2e2; }
.session-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: #6b6b78;
  font-size: 0.95rem;
  border: 2px dashed #e2e2e7;
  border-radius: 10px;
}

/* ─────────────────────────────────────────────────────────────
   PHASE B (Wave 12.B) — Goal library + live tally pad
   ───────────────────────────────────────────────────────────── */

/* Goal picker block inside the Phase A start modal */
.session-goals-block {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #e2e2e7;
}
.session-goals-list {
  border: 1.5px solid #e2e2e7;
  border-radius: 8px;
  padding: 0.5rem;
  max-height: 180px;
  overflow-y: auto;
  background: #fafafc;
}
.session-goals-empty {
  padding: 0.4rem 0.5rem;
  font-size: 0.85rem;
  color: #6b6b78;
}
.session-goal-pick {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.5rem 0.4rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  min-height: 44px;
}
.session-goal-pick:hover { background: #fff; }
.session-goal-pick input[type=checkbox] {
  margin-top: 0.15rem;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.session-goal-pick-text { line-height: 1.35; color: #1f1f23; }

/* Goal library row (manage modal) */
.session-goal-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem;
  border: 1px solid #e2e2e7;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: #fff;
}
.session-goal-row-text { flex: 1; }
.session-goal-row-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f1f23;
  line-height: 1.35;
}
.session-goal-row-crit {
  font-size: 0.8rem;
  color: #6b6b78;
  margin-top: 0.2rem;
}
.session-goal-row-del {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #b91c1c;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  min-height: 36px;
}
.session-goal-row-del:hover { background: #fee2e2; }

/* Floating live-tally pad */
.session-tally-pad {
  position: fixed;
  top: 5rem;
  right: 1rem;
  width: 320px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 7rem);
  display: none;
  flex-direction: column;
  background: #fff;
  border: 2px solid #7c5cff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  z-index: 9050;
  overflow: hidden;
}
.session-tally-pad[style*="block"] { display: flex; }
.session-tally-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: #7c5cff;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.session-tally-collapse {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}
.session-tally-collapse:hover { background: rgba(255, 255, 255, 0.32); }
.session-tally-pad.collapsed .session-tally-body { display: none; }
.session-tally-body {
  padding: 0.6rem;
  overflow-y: auto;
}
.session-tally-goal {
  border: 1px solid #ece8fb;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.5rem;
  background: #faf9ff;
}
.session-tally-goal:last-child { margin-bottom: 0; }
.session-tally-goal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.session-tally-goal-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2a2a30;
  line-height: 1.3;
  flex: 1;
}
.session-tally-goal-stat {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.session-tally-pct {
  font-weight: 700;
  font-size: 1rem;
  color: #7c5cff;
}
.session-tally-frac {
  font-size: 0.75rem;
  color: #6b6b78;
}
.session-tally-pr {
  font-size: 0.75rem;
  color: #b45309;
  background: #fef3c7;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  font-weight: 600;
}
.session-tally-btns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
}
.session-tally-btn {
  border: none;
  border-radius: 8px;
  padding: 0.55rem 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px; /* big tap target — therapist eyes on student */
}
.session-tally-btn.correct { background: #15803d; color: #fff; }
.session-tally-btn.correct:hover { background: #126b34; }
.session-tally-btn.incorrect { background: #b91c1c; color: #fff; }
.session-tally-btn.incorrect:hover { background: #991717; }
.session-tally-btn.prompt { background: #b45309; color: #fff; }
.session-tally-btn.prompt:hover { background: #964606; }
.session-tally-btn.undo { background: #475569; color: #fff; font-size: 1.1rem; }
.session-tally-btn.undo:hover { background: #5b6678; }

@media (max-width: 600px) {
  .session-tally-pad {
    top: auto;
    bottom: 5rem;
    right: 0.5rem;
    left: 0.5rem;
    width: auto;
    max-height: 50vh;
  }
}

/* ─────────────────────────────────────────────────────────────
   PROGRESS REPORT picker (Wave 12.B.3) — date-range row
   ───────────────────────────────────────────────────────────── */
.pr-date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

/* ─────────────────────────────────────────────────────────────
   Wave 12.A.3 — Manual-add button (inline in modal head)
   ───────────────────────────────────────────────────────────── */
.session-btn-add {
  margin-right: 0.6rem;
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  min-height: 36px;
}
.session-modal-head { gap: 0.5rem; }

/* ─────────────────────────────────────────────────────────────
   Wave 12.B.4 — AI session-summary picker + editor
   ───────────────────────────────────────────────────────────── */
.session-row-summary {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #7c5cff;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  min-height: 32px;
  margin-right: 0.2rem;
}
.session-row-summary:hover { background: #f3efff; }

.summary-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.summary-audience {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem;
  border: 1.5px solid #e2e2e7;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  background: #fff;
}
.summary-audience:hover { border-color: #7c5cff; background: #f9f7ff; }
.summary-audience input { margin-top: 0.2rem; flex-shrink: 0; }
.summary-audience-text { display: flex; flex-direction: column; gap: 0.15rem; }
.summary-audience-lbl { font-weight: 700; color: #1f1f23; }
.summary-audience-desc { font-size: 0.8rem; color: #6b6b78; }

.summary-notes-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.85rem 0 0.4rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.summary-notes-opt input { margin-top: 0.15rem; flex-shrink: 0; }
.summary-notes-warn {
  display: block;
  font-size: 0.75rem;
  color: #b45309;
  margin-top: 0.15rem;
}

.summary-priv-banner {
  margin-top: 0.85rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: #fef3c7;
  border: 1px solid #f0a93a;
  font-size: 0.83rem;
  color: #4a3a05;
  line-height: 1.45;
}

.summary-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 4px solid #e2e2e7;
  border-top-color: #7c5cff;
  animation: summary-spin 0.9s linear infinite;
  margin: 0 auto;
}
@keyframes summary-spin { to { transform: rotate(360deg); } }

.summary-edit-meta {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: #475569;
  border-bottom: 1px solid #e2e2e7;
  padding-bottom: 0.4rem;
}
.summary-edit-area {
  min-height: 240px;
  max-height: 50vh;
  overflow-y: auto;
  padding: 0.85rem 1rem;
  border: 1.5px solid #d4d4dd;
  border-radius: 8px;
  background: #fafafc;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.summary-edit-area:focus { outline: none; border-color: #7c5cff; box-shadow: 0 0 0 3px rgba(124,92,255,.18); }
.summary-edit-area p { margin-bottom: 0.5rem; }
.summary-edit-area ul { margin: 0.4rem 0 0.6rem 1.2rem; }
.summary-edit-area strong { color: #1f1f23; }

/* ─────────────────────────────────────────────────────────────
   Wave 12.B.5 — Symbolic vs LLM engine picker
   ───────────────────────────────────────────────────────────── */
.summary-engine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
}
@media (min-width: 600px) {
  .summary-engine-grid { grid-template-columns: 1fr 1fr; }
}
.summary-engine {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem;
  border: 1.5px solid #e2e2e7;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  background: #fff;
}
.summary-engine:hover { border-color: #7c5cff; background: #f9f7ff; }
.summary-engine input { margin-top: 0.2rem; flex-shrink: 0; }
.summary-engine input:checked + .summary-engine-text .summary-engine-lbl { color: #7c5cff; }
.summary-engine-text { display: flex; flex-direction: column; gap: 0.15rem; }
.summary-engine-lbl { font-weight: 700; color: #1f1f23; }
.summary-engine-desc { font-size: 0.8rem; color: #6b6b78; line-height: 1.35; }

/* ─────────────────────────────────────────────────────────────
   Wave 13.2 — Billing-code hint inside session-start modal
   ───────────────────────────────────────────────────────────── */
.billing-hint {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1.5px solid #d4d4dd;
  background: #fafafc;
  font-size: 0.88rem;
  line-height: 1.4;
}
.billing-hint-empty { display: none; }

/* Confidence-tinted borders + backgrounds. The icon + glyph
   carry semantic meaning too — colorblind-safe. */
.billing-hint-high { border-color: #15803d; background: #ecfdf3; }
.billing-hint-med  { border-color: #b45309; background: #fff8e7; }
.billing-hint-low  { border-color: #6b7280; background: #f4f4f6; }

.billing-hint-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}
.billing-hint-icon { font-size: 1rem; }
.billing-hint-title { font-weight: 700; color: #1f1f23; }
.billing-hint-conf {
  margin-left: auto;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.billing-hint-high .billing-hint-conf { background: #15803d; color: #fff; }
.billing-hint-med  .billing-hint-conf { background: #b45309; color: #fff; }
.billing-hint-low  .billing-hint-conf { background: #475569; color: #fff; }

.billing-hint-code {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: #1f1f23;
}
.billing-hint-rationale {
  font-size: 0.8rem;
  color: #6b6b78;
  margin-bottom: 0.55rem;
}

.billing-hint-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.billing-hint-btn {
  border: 1.5px solid #d4d4dd;
  background: #fff;
  color: #1f1f23;
  padding: 0.4rem 0.75rem;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  min-height: 36px;
}
.billing-hint-btn:hover { background: #f0f0f4; }
.billing-hint-btn.primary {
  background: #7c5cff;
  color: #fff;
  border-color: #7c5cff;
}
.billing-hint-btn.primary:hover { background: #6b4eea; }
.billing-hint-btn.small {
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  min-height: 28px;
}
.billing-hint-btn-ghost {
  border-color: transparent;
  background: transparent;
  color: #6b6b78;
}

.billing-hint-more {
  margin-top: 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px dashed #d4d4dd;
}
.billing-hint-more-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}
.billing-hint-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f4;
}
.billing-hint-row:last-child { border-bottom: 0; }
.billing-hint-row-text { flex: 1; font-size: 0.82rem; }
.billing-hint-row-conf {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #475569;
  margin-left: 0.3rem;
}
.billing-hint-row-rationale {
  font-size: 0.75rem;
  color: #6b6b78;
  margin-top: 0.15rem;
}

/* ─────────────────────────────────────────────────────────────
   Wave 12.A.3 slice 2 — Edit existing entry
   ───────────────────────────────────────────────────────────── */
.session-row-edit {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #475569;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  min-height: 32px;
  margin-right: 0.2rem;
}
.session-row-edit:hover { background: #f0f0f4; }

.session-edit-immutable {
  background: #f3efff;
  border-color: #d6cffe;
  color: #2a2a30;
}
.session-edit-immutable code {
  background: rgba(124, 92, 255, 0.12);
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
}

.session-edit-history {
  margin-top: 0.85rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #e2e2e7;
  border-radius: 8px;
  background: #fafafc;
}
.session-edit-history summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  outline: none;
}
.session-edit-history-row {
  font-size: 0.8rem;
  color: #475569;
  padding: 0.3rem 0;
  border-bottom: 1px solid #f0f0f4;
  line-height: 1.5;
}
.session-edit-history-row:last-child { border-bottom: 0; }
.session-edit-history-row .when { color: #6b6b78; }
.session-edit-history-row code {
  background: rgba(0, 0, 0, 0.05);
  padding: 0 0.3rem;
  border-radius: 3px;
  font-size: 0.85em;
}
.session-edit-history-row .old {
  color: #b91c1c;
  text-decoration: line-through;
}
.session-edit-history-row .new {
  color: #15803d;
  font-weight: 600;
}
