/* ScannerHub listener additions — existing ivory / charcoal / burnt orange.
   Activity watch is a durable read-only operational desk, not another card UI. */
.watch-desk{margin:22px 0 0;background:#fffefd;border-top:3px solid #c53b18;padding:22px 23px 25px;box-shadow:0 4px 18px #3825140d}
.watch-heading{display:flex;justify-content:space-between;align-items:start;gap:16px;padding-bottom:13px;border-bottom:1px solid #e7dcd1}
.watch-heading h2{font-size:23px;line-height:1.2;font-weight:850;letter-spacing:-.55px;margin:0 0 5px;color:#242725}
.watch-heading p{font-size:12px;line-height:1.55;color:#5e5e58;margin:0;max-width:530px}
#watchStatus{font-size:11px;font-weight:780;color:#6c472e;line-height:1.45;text-align:right;max-width:235px;flex-shrink:0}
.watch-controls{display:flex;flex-wrap:wrap;gap:8px;padding:16px 0}
.watch-controls button{font-size:12px;min-height:40px;padding:9px 12px}
.watch-controls button:disabled{cursor:not-allowed;opacity:.52}
.watch-columns{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:25px;padding:8px 0 15px}
.watch-columns>div{min-width:0}
.watch-columns h3{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:15px;line-height:1.3;font-weight:825;color:#2c302c;margin:0 0 8px;padding-bottom:9px;border-bottom:1px solid #e5d8cc}
.watch-columns h3 span{color:#a14a30;font-size:11px;font-weight:800}
#watchChannels,#watchEvents{max-height:430px;overflow:auto;overscroll-behavior:contain}
.watch-followed,.watch-event{display:flex;gap:11px;align-items:center;justify-content:space-between;padding:12px 5px;border-bottom:1px solid #efe6de;min-width:0}
.watch-followed:hover,.watch-event:hover{background:#fff8f2}
.watch-followed-title,.watch-event>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.watch-followed strong,.watch-event strong{font-size:12px;font-weight:800;line-height:1.4;color:#2c302d;overflow-wrap:anywhere}
.watch-followed small,.watch-event small{font-size:11px;color:#66635e;line-height:1.45;overflow-wrap:anywhere}
.watch-followed button{color:#8c341d;border:0;background:transparent;font-size:11px;font-weight:800;padding:9px 6px;min-height:38px}
.watch-event button{min-height:37px;padding:8px 10px;font-size:11px;white-space:nowrap}
.watch-followed button:focus-visible,.watch-event button:focus-visible,.watch-controls button:focus-visible{outline:3px solid #b93d1a;outline-offset:2px}
.watch-columns .empty-state{margin:0;padding:15px 2px;font-size:12px;line-height:1.65}
.watch-footnote{font-size:11px;color:#68605a;line-height:1.6;margin:13px 0 0;padding-top:12px;border-top:1px solid #e6d9cd}
.watch-mini-button{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #ccad98;border-radius:5px;background:#fff5ee;
  color:#7a351c;font-size:11px;font-weight:810;min-height:37px;
  min-width:77px;padding:8px 10px;cursor:pointer;white-space:nowrap
}
.watch-mini-button[aria-pressed="true"]{background:#e1efe5;border-color:#9dbda7;color:#235c3b}
.watch-mini-button:hover{background:#f4e5d7}
.watch-mini-button[aria-pressed="true"]:hover{background:#d4e4d9}
.watch-mini-button:focus-visible{outline:3px solid #b93d1a;outline-offset:2px}
.pulse-call .watch-mini-button{margin:0 5px}
.system-insights{padding:15px 0 20px;margin:14px 0;border-top:1px solid #e2d5c9;border-bottom:1px solid #e2d5c9}
.system-insights-header{display:flex;align-items:center;justify-content:space-between;gap:15px}
.system-insights-header h3{font-size:18px;font-weight:850;line-height:1.2;letter-spacing:-.3px;margin:0}
.system-insights-header label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750;color:#464841}
.system-insights-header select{border:1px solid #cbb9a9;border-radius:5px;background:#fffefd;color:#292e2b;font-size:12px;min-height:41px;padding:8px}
.system-insights-header select:focus-visible{outline:3px solid #b93d1a;outline-offset:2px}
.system-insight-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:17px 0}
.system-insight-stat{border-left:3px solid #b95534;padding:6px 0 7px 11px;display:flex;flex-direction:column;min-width:0;gap:4px}
.system-insight-stat:nth-child(even){border-left-color:#718977}
.system-insight-stat strong{font-size:19px;font-weight:850;line-height:1.25;overflow-wrap:anywhere;color:#252924}
.system-insight-stat small{font-size:10px;font-weight:750;color:#68605a}
.system-insights h4{margin:19px 0 8px;font-size:14px;font-weight:820;color:#323530}
.system-insight-histogram{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:3px;min-height:125px;align-items:end;border-bottom:1px solid #aa9b8c}
.system-insight-hour{height:125px;display:flex;flex-direction:column;justify-content:flex-end;min-width:0}
.system-insight-bar{background:#b94526;border-radius:2px 2px 0 0;width:100%;max-height:calc(100% - 17px);transition:height 180ms ease}
.system-insight-hour:nth-child(even) .system-insight-bar{background:#9b573f}
.system-insight-hour small{font-size:9px;height:17px;line-height:17px;text-align:center;color:#575950}
.system-insight-raw{font-size:12px;color:#4e544d;margin:9px 0}
.system-insight-raw summary{font-weight:780;cursor:pointer;min-height:30px}
.system-insight-raw ol{max-height:190px;overflow:auto;columns:3;padding-left:20px;font-size:11px;line-height:1.65}
.system-insight-top,.system-insight-recent{border-top:1px solid #ece2d8}
.system-insight-tg{display:flex;align-items:center;gap:11px;justify-content:space-between;padding:11px 0;border-bottom:1px solid #ece2d8}
.system-insight-tg>div{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.system-insight-tg strong{font-size:12px;font-weight:800;overflow-wrap:anywhere}
.system-insight-tg small{font-size:11px;line-height:1.5;color:#60645d}
.system-insight-tg button{min-height:35px;white-space:nowrap;font-size:11px}
.system-insight-source-note{font-size:11px;line-height:1.55;color:#5e5f58;margin:16px 0 0}
@media(max-width:900px){
  .watch-columns{grid-template-columns:1fr;gap:18px}
  .system-insight-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:530px){
  .watch-desk{padding:16px 12px 19px}
  .watch-heading{flex-direction:column;gap:7px}
  #watchStatus{text-align:left;max-width:none}
  .watch-controls button{flex:1 1 130px}
  .watch-event{align-items:flex-start}
  .system-insights-header{align-items:flex-start;flex-direction:column}
  .system-insight-histogram{gap:1px}
  .system-insight-hour small{font-size:7px}
  .system-insight-hour:nth-child(even) small{visibility:hidden}
  .system-insight-tg{flex-wrap:wrap}
  .system-insight-tg>div{flex-basis:100%}
  .system-insight-raw ol{columns:2}
}
@media(prefers-reduced-motion:reduce){.system-insight-bar{transition:none}}

/* Five aligned elements: icon / channel / Watch / Add / Report. */
.system-detail-channel{grid-template-columns:34px minmax(0,1fr) auto auto auto;gap:8px}
.system-detail-channel .system-detail-channel-text{min-width:0}
.pulse-call{flex-wrap:wrap;gap:8px 12px}
.pulse-call .pulse-call-info{flex:1 1 160px;min-width:0}
.pulse-call .pulse-replay{white-space:nowrap}
@media(max-width:620px){
  .system-detail-channel{grid-template-columns:25px minmax(0,1fr) auto auto;gap:9px}
  .system-detail-channel .system-detail-channel-symbol{grid-column:1;grid-row:1}
  .system-detail-channel .system-detail-channel-text{grid-column:2 / 5;grid-row:1}
  .system-detail-channel .watch-mini-button{grid-column:2;grid-row:2;justify-self:start}
  .system-detail-channel .system-channel-add{grid-column:3;grid-row:2;justify-self:end}
  .system-detail-channel .system-channel-report{grid-column:4;grid-row:2;justify-self:end}
}
