.coach-brief { --coach-line:rgb(198 220 201 / .14); --coach-muted:#a9b8ad; color:#f1f6f0; min-width:0; }
.coach-controls, .coach-tickers { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.coach-controls { padding-block:0 15px; margin-bottom:17px; border-bottom:1px solid var(--coach-line); }
.coach-mode,.coach-ticker { border:1px solid transparent; background:transparent; color:var(--coach-muted); border-radius:10px; padding:8px 14px; min-height:40px; font:inherit; font-size:13px; cursor:pointer; }
.coach-mode[aria-pressed="true"] { border-color:#769c67; background:#20351e; color:#ceffc0; }
.coach-mode:hover,.coach-ticker:hover { background:#233029; color:#fff; }
.coach-grid { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(220px,.85fr); gap:clamp(14px,2vw,27px); align-items:start; }
.coach-main,.coach-case,.coach-journal,.coach-empty { min-width:0; }
.coach-tickers { margin-bottom:12px; }
.coach-ticker { display:flex; align-items:baseline; gap:6px; border-color:var(--coach-line); padding:6px 10px; min-height:34px; }
.coach-ticker small { font-size:11px; }
.coach-ticker[aria-pressed="true"] { color:#a3fa83; border-color:#4d694f; background:#17251a; }
.coach-ticker bdi,.coach-identity h3 { overflow-wrap:anywhere; }
.coach-case,.coach-journal,.coach-empty { border:1px solid var(--coach-line); border-radius:16px; padding:clamp(16px,2vw,26px); background:#131a16; }
.coach-case-heading,.coach-identity,.coach-case-score,.coach-provenance { display:flex; align-items:center; flex-wrap:wrap; gap:9px; }
.coach-case h3,.coach-journal h2,.coach-empty h3 { margin:0; font-size:22px; line-height:1.5; }
.coach-identity { gap:10px; }
.coach-identity span,.coach-case-score small,.coach-provenance,.coach-ticker small { color:var(--coach-muted); }
.coach-identity span { font-size:12px; }
.coach-status { padding:3px 9px; border-radius:99px; font-size:12px; background:#252e29; color:#c9d6cb; }
.coach-status.candidate,.coach-status.agreement { color:#c3ffa7; background:#283e26; }
.coach-status.conflict,.coach-status.caution,.coach-status.incomplete { color:#f4d294; background:#392f22; }
.coach-status.blocked { color:#ffbab9; background:#412625; }
.coach-case-score { margin-inline-start:auto; gap:5px; font-variant-numeric:tabular-nums; }
.coach-case-score strong { font-size:25px; }
.coach-case-score small { font-size:11px; }
.coach-summary,.coach-next p,.coach-empty p { font-size:15px; line-height:1.9; margin:12px 0; overflow-wrap:anywhere; }
.coach-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0 22px; padding-block:13px; border-block:1px solid var(--coach-line); }
.coach-facts dt,.coach-provenance { font-size:12px; color:var(--coach-muted); }
.coach-facts dd { margin:4px 0 0; font-size:15px; font-weight:650; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.coach-case h4 { font-size:14px; margin:0; }
.coach-risks { padding-inline-start:20px; color:#c4cec7; font-size:13px; line-height:1.9; margin:6px 0 17px; }
.coach-risks li::marker { color:#ceb486; }
.coach-next { border-radius:12px; padding:13px 16px; background:#1c2b20; }
.coach-next strong { color:#b8f4a6; font-size:14px; }
.coach-next p { margin:4px 0 9px; font-size:14px; }
.coach-next .coach-open { min-height:36px; padding:5px 13px; font-size:12px; }
.coach-provenance { gap:3px 14px; line-height:1.9; margin:16px 0; }
.coach-context-row { border-bottom:1px solid var(--coach-line); padding:13px 0; }
.coach-context-row a,.coach-context-row>span { display:block; line-height:1.65; font-size:14px; overflow-wrap:anywhere; }
.coach-context-row small { display:block; margin-top:5px; font-size:12px; }
.coach-history { margin:13px 0; }
.coach-history summary,.coach-journal-entry summary { cursor:pointer; font-size:13px; font-weight:600; }
.coach-history p,.coach-journal p,.coach-form-status { font-size:13px; line-height:1.9; overflow-wrap:anywhere; }
.coach-review-form { display:grid; gap:8px; margin-top:16px; }
.coach-review-form label { display:grid; gap:8px; font-size:13px; }
.coach-review-form textarea { font:inherit; font-size:14px; background:#0c120f; border:1px solid var(--coach-line); border-radius:9px; padding:10px 12px; line-height:1.8; width:100%; min-height:54px; resize:vertical; color:inherit; box-sizing:border-box; }
.coach-review-form textarea::placeholder { color:#98a99e; }
.coach-review-form button { justify-self:start; min-height:36px; padding:7px 18px; }
.coach-form-status { color:#efca96; margin:0; }
.coach-form-status:empty { display:none; }
.coach-journal h2 { font-size:18px; }
.coach-journal-entry { border-top:1px solid var(--coach-line); padding-block:12px; }
.coach-journal-entry:first-of-type { margin-top:14px; }
.coach-journal-entry summary>* { margin-inline-end:6px; }
.coach-journal-entry small { display:block; margin-top:5px; color:var(--coach-muted); font-size:11px; }
.coach-journal-change { color:#b8f4a6; }
.coach-sidebar { display:grid; gap:15px; min-width:0; }
.coach-activity { min-width:0; padding:clamp(16px,2vw,26px); background:#131a16; border:1px solid var(--coach-line); border-radius:16px; }
.coach-activity-head,.coach-event-title { display:flex; flex-wrap:wrap; align-items:baseline; gap:7px 10px; }
.coach-activity-head h2 { font-size:18px; margin:0; }
.coach-observer-state { font-size:11px; color:var(--coach-muted); }
.coach-observer-state.running { color:#acf096; }
.coach-observer-state.degraded { color:#f4cc91; }
.coach-activity-hint,.coach-event-title small,.coach-timeline time,.coach-activity-asof { color:var(--coach-muted); }
.coach-activity-hint,.coach-timeline p { font-size:12px; line-height:1.85; margin:6px 0; }
.coach-timeline { margin:14px 0; padding:0 4px 0 0; list-style:none; max-height:360px; overflow:auto; scrollbar-width:thin; }
.coach-timeline li { position:relative; padding:0 15px 14px 4px; border-inline-start:1px solid #425347; }
.coach-timeline li::before { content:""; position:absolute; inset-inline-start:-3px; top:8px; width:5px; height:5px; border-radius:50%; background:#96c38d; }
.coach-timeline li:last-child { padding-bottom:0; border-inline-start-color:transparent; }
.coach-timeline p { margin:1px 0; }
.coach-event-title bdi { font-weight:700; font-size:14px; }
.coach-event-link { background:none; padding:0 1px; min-height:26px; border:0; color:#b9f5a4; font:inherit; cursor:pointer; }
.coach-event-link:hover { text-decoration:underline; }
.coach-event-title small,.coach-timeline time,.coach-activity-asof { font-size:11px; }
@media(max-width:900px) { .coach-grid { grid-template-columns:1fr; } }
@media(max-width:520px) {
  .coach-mode { padding-inline:8px; font-size:12px; }
  .coach-facts { gap:7px; }
  .coach-facts dd { font-size:13px; }
  .coach-review-form textarea { font-size:16px; }
}
