/* SESSION IN TROUBLE (P88 lane E, 2026-11-03). Backline tokens only.
   --bad (Record Red) is the one alarm on Today; everything else stays neutral. */
.st-bar { display: flex; flex-direction: column; gap: 8px; }
.st-bar-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; min-height: 52px; padding: 0 18px;
  background: var(--bad); color: #0B0B0E;
  border-radius: 14px; font-family: var(--serif); font-size: 17px; font-weight: 700;
  letter-spacing: -0.1px;
  transition: transform .12s ease, background-color .12s ease;
}
.st-bar-btn:hover { background: #FF4A3A; }
.st-bar-btn:active { transform: scale(.985); }
.st-bar-btn:focus-visible, .st-send:focus-visible, .st-sev:focus-visible, .st-call:focus-visible,
.st-close:focus-visible, .st-ok-btn:focus-visible, .st-btn:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px;
}
.st-rule, .st-rule-sheet { margin: 0; font-size: 12px; font-weight: 500; line-height: 1.45; color: var(--mut); max-width: 60ch; }
.st-rule-sheet { color: var(--ink2); font-size: 12.5px; }
.st-sheet .sheet-eyebrow:empty { display: none; }
.st-body { display: flex; flex-direction: column; gap: 14px; }
.st-form { display: flex; flex-direction: column; gap: 14px; }
.st-field { display: flex; flex-direction: column; gap: 0; border: 0; padding: 0; margin: 0; min-width: 0; }
.st-field select.mem-field { appearance: none; -webkit-appearance: none; }
.st-sevs { display: flex; flex-wrap: wrap; gap: 8px; }
.st-sev {
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line2); color: var(--ink2); font-size: 14px; font-weight: 600;
  transition: background-color .12s ease, border-color .12s ease;
}
.st-sev.on { border-color: var(--bad); background: var(--badSoft); color: var(--ink); }
.st-hint { margin: 6px 0 0; font-size: 11.5px; color: var(--mut); }
.st-field-err { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: #FF8A80; }
.st-field-err:empty { display: none; }
.mem-field[aria-invalid="true"] { border-color: var(--bad); }
.st-form-err {
  font-size: 13px; font-weight: 600; line-height: 1.45; color: #FFB3AB;
  background: var(--badSoft); border: 1px solid var(--bad); border-radius: 12px; padding: 10px 12px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.st-send {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 56px; border-radius: 14px;
  background: var(--bad); color: #0B0B0E; font-family: var(--serif); font-size: 17px; font-weight: 700;
}
.st-send:disabled { opacity: .7; cursor: progress; }
.st-sent { display: flex; flex-direction: column; gap: 14px; }
.st-sent-box { border-radius: 14px; padding: 14px; border: 1px solid; }
.st-sent-box.ok { border-color: var(--okStroke, #37D67A55); background: var(--okSoft); }
.st-sent-box.bad { border-color: var(--bad); background: var(--badSoft); }
.st-sent-line { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.st-sent-what { margin: 6px 0 0; font-size: 13.5px; color: var(--ink2); overflow-wrap: anywhere; }
.st-sent-next { margin: 8px 0 0; font-size: 12px; color: var(--mut); line-height: 1.45; }
.st-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-call {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--line2); color: var(--ink); font-size: 14px; font-weight: 600;
  text-decoration: none;
}
.st-call-primary { background: var(--bad); border-color: var(--bad); color: #0B0B0E; }
.st-form-err .st-call { min-height: 36px; }
.st-close { min-height: 44px; padding: 0 14px; color: var(--mut); font-size: 14px; font-weight: 600; }
.st-close:hover { color: var(--ink); }
.st-btn { min-height: 44px; }
.st-resolve { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; flex: 1 1 auto; }
.st-resolve-form { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; align-items: center; }
.st-resolve-form .mem-field { flex: 1 1 180px; min-width: 0; }
.st-ok-btn { min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--ok); color: #0B0B0E; font-size: 14px; font-weight: 700; }
.st-ok-btn:disabled { opacity: .7; }
.st-inline-err { font-size: 12.5px; font-weight: 600; color: #FF8A80; }
.st-inline-err:empty { display: none; }
.st-resolved { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; color: var(--ok); }
.st-need-name { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.st-sheet .sr-only, .st-resolve .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .st-bar-btn, .st-sev { transition: none; }
  .st-bar-btn:active { transform: none; }
}
.st-form-err[hidden], .st-sheet [hidden] { display: none; }
