#team-alert-board {
  --tb-ink: #1d343b; --tb-dim: #4b646b; --tb-muted: #647b80; --tb-edge: #d9e3e2;
  --tb-surface: #fff; --tb-tint: #f2f7f5; --tb-active: #006452; --tb-soft: #e1f3ea;
  --tb-highlight: #d8ebe5; --tb-amber: #8b4706; --tb-red: #9b333b; --tb-gutter: 20px;
  --tb-incident-bg: #fff3f2; --tb-incident-edge: #e4aba8; --tb-incident-ink: #843033;
  display: grid; grid-template-columns: minmax(0,1fr); gap: 15px;
  min-width: 0; color: var(--tb-ink); font: 14px/1.55 Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-variant-numeric: tabular-nums;
}
#team-alert-board [hidden] { display:none !important }
#team-alert-board *, #team-alert-board *::before, #team-alert-board *::after { box-sizing:border-box }
#team-alert-board :is(h1,h2,h3,h4,p,ol,dl,dd) { margin:0 }
#team-alert-board :is(button,select,input) { font:inherit; text-transform:none; letter-spacing:normal }
#team-alert-board :is(button,a,select,input):focus-visible { outline:3px solid #00a385; outline-offset:2px; z-index:1 }
#team-alert-board button { cursor:pointer }
#team-alert-board button:disabled { opacity:.6; cursor:default }
#team-alert-board .tb-hero {
  display:flex; position:relative; isolation:isolate; align-items:center; justify-content:space-between; gap:16px;
  background: linear-gradient(112deg,#17323b 0%,#16423e 74%,#164e46 100%);
  padding:clamp(18px,2vw,26px); border-radius:15px; color:#fff; overflow:hidden;
}
#team-alert-board .tb-hero::after { content:""; z-index:-1; position:absolute; inset:0 0 0 auto; width:36%; pointer-events:none; opacity:.4; background:repeating-linear-gradient(115deg,transparent 0 30px,#6ca99340 30px 31px); mask-image:linear-gradient(to left,#000,transparent) }
#team-alert-board .tb-kicker { display:flex; align-items:center; gap:8px; color:#a9d9c9; font-size:12px; font-weight:600 }
#team-alert-board .tb-kicker span { width:15px; height:3px; background:#78c9ab; border-radius:8px }
#team-alert-board .tb-hero h1, body.dashboard-page #main-content #team-alert-board .tb-hero h1 { color:#fff; font-weight:750; font-size:clamp(27px,2.6vw,37px); line-height:1.2; letter-spacing:-.045em; margin:7px 0 }
#team-alert-board .tb-sub { color:#c4dcd7; font-size:13px; line-height:1.7 }
#team-alert-board .tb-major {
  --tb-major-bg:#fff7e8; --tb-major-edge:#e7c898; --tb-major-light:#b96814; --tb-major-ink:var(--tb-amber);
  display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,auto); align-items:start; gap:10px 14px;
  padding:14px var(--tb-gutter); border:1px solid var(--tb-major-edge); border-inline-start:5px solid var(--tb-major-light);
  border-radius:12px; background:var(--tb-major-bg); color:var(--tb-major-ink);
}
#team-alert-board .tb-major[data-tone=healthy] {
  --tb-major-bg:var(--tb-soft); --tb-major-edge:var(--tb-highlight); --tb-major-light:#157a57; --tb-major-ink:var(--tb-active);
}
#team-alert-board .tb-major[data-tone=incident] {
  --tb-major-bg:var(--tb-incident-bg); --tb-major-edge:var(--tb-incident-edge); --tb-major-light:#bf333d; --tb-major-ink:var(--tb-incident-ink);
}
#team-alert-board .tb-major-light {
  display:grid; place-items:center; width:38px; height:38px; border:1px solid var(--tb-major-edge); border-radius:50%;
  background:var(--tb-surface); margin-top:2px;
}
#team-alert-board .tb-major-light::before {
  content:""; width:20px; height:20px; border-radius:50%; background:var(--tb-major-light);
  box-shadow:inset 0 0 0 2px #ffffff52, 0 0 0 3px var(--tb-major-bg);
}
#team-alert-board .tb-major-copy h2, body.dashboard-page #main-content #team-alert-board .tb-major-copy h2 {
  color:var(--tb-major-ink); font-size:clamp(17px,2vw,20px); font-weight:750; line-height:1.4;
}
#team-alert-board .tb-major-scope { color:var(--tb-major-ink); font-size:12px; font-weight:650; }
#team-alert-board .tb-major-note { color:var(--tb-major-ink); font-size:13px; margin-top:4px; }
#team-alert-board .tb-major-meta {
  display:grid; gap:3px; justify-items:end; align-self:center; max-width:24ch;
  color:var(--tb-major-ink); font-size:12px; overflow-wrap:anywhere;
}
#team-alert-board .tb-major ul { margin:8px 0 0; padding:0; list-style:none; }
#team-alert-board .tb-major li { display:flex; align-items:center; flex-wrap:wrap; gap:2px 12px; }
#team-alert-board .tb-major li + li { margin-top:5px; }
#team-alert-board .tb-major li > span { overflow-wrap:anywhere; }
#team-alert-board .tb-major a { color:inherit; text-decoration:underline; text-underline-offset:3px; font-weight:650; }
#team-alert-board .tb-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; flex-shrink:0 }
#team-alert-board .tb-actions :is(a,button), #team-alert-board .tb-status-actions :is(a,button), #team-alert-board .tb-transitions button, #team-alert-board .tb-more button { display:inline-flex; align-items:center; justify-content:center; min-height:35px; padding:7px 13px; border:1px solid var(--tb-edge); border-radius:7px; box-shadow:none; font-size:13px; font-weight:650; line-height:1.4; text-decoration:none }
#team-alert-board .tb-actions .tb-share { background:#c7efdb; border-color:#c7efdb; color:#153f32 }
#team-alert-board .tb-actions .tb-link-light { color:#e8f8ed; background:#255046; border-color:#527367 }
#team-alert-board .tb-actions :is(a,button):hover { filter:brightness(.94) }
#team-alert-board .tb-board-status {
  min-width:0; border:1px solid var(--tb-edge); border-radius:12px; background:var(--tb-surface);
}
#team-alert-board .tb-status-bar {
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center;
  gap:10px 20px; min-height:56px; padding:9px var(--tb-gutter);
}
#team-alert-board .tb-status-main, #team-alert-board .tb-status-actions, #team-alert-board .tb-sync-indicator {
  display:flex; flex-wrap:wrap; align-items:center; min-width:0;
}
#team-alert-board .tb-status-main { gap:8px 14px; }
#team-alert-board .tb-sync-indicator { gap:4px 8px; color:var(--tb-dim); }
#team-alert-board .tb-sync-indicator[data-tone=normal] { color:var(--tb-active); }
#team-alert-board .tb-sync-indicator[data-tone=warn] { color:var(--tb-amber); }
#team-alert-board .tb-sync-indicator strong { font-size:13px; font-weight:720; }
#team-alert-board .tb-patrol-batch { color:var(--tb-dim); font-size:12px; white-space:nowrap; }
#team-alert-board .tb-status-symbol {
  width:24px; height:24px; display:grid; place-items:center; border-radius:7px; background:var(--tb-tint);
}
#team-alert-board .tb-sync-indicator[data-tone=normal] .tb-status-symbol { background:var(--tb-soft); }
#team-alert-board .tb-status-symbol::before {
  content:""; width:7px; height:7px; border-radius:50%; background:currentColor;
}
#team-alert-board .tb-access-badge {
  padding:2px 8px; border-radius:5px; color:var(--tb-dim); background:var(--tb-tint);
  font-size:12px; font-weight:550; overflow-wrap:anywhere;
}
#team-alert-board .tb-access-badge[data-editable=true] { color:var(--tb-active); background:var(--tb-soft); }
#team-alert-board .tb-status-actions { gap:5px 7px; }
#team-alert-board .tb-status-actions :is(a,button) { gap:5px; padding-inline:10px; white-space:nowrap; }
#team-alert-board .tb-status-actions :is(a,.tb-status-info) {
  color:var(--tb-dim); border-color:transparent; background:transparent;
}
#team-alert-board .tb-status-actions a { color:var(--tb-active); }
#team-alert-board .tb-status-info > span {
  width:6px; height:6px; border-right:1px solid currentColor; border-bottom:1px solid currentColor;
  transform:translateY(-1px) rotate(45deg);
}
#team-alert-board .tb-status-info[aria-expanded=true] > span { transform:translateY(2px) rotate(225deg); }
#team-alert-board .tb-status-actions .tb-status-refresh {
  color:var(--tb-active); border-color:var(--tb-highlight); background:var(--tb-soft);
}
#team-alert-board .tb-status-refresh > span { font-size:16px; line-height:1; }
#team-alert-board .tb-status-actions :is(a,button):not(:disabled):hover { background:var(--tb-highlight); }
#team-alert-board .tb-status-notes {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(185px,1fr)); gap:9px 18px;
  padding:10px var(--tb-gutter) 13px; border-top:1px solid var(--tb-edge); color:var(--tb-dim); font-size:12px;
}
#team-alert-board .tb-status-notes dt { color:var(--tb-ink); font-weight:650; }
#team-alert-board .tb-status-notice {
  padding:7px var(--tb-gutter); border-top:1px solid var(--tb-edge); background:var(--tb-tint);
  color:var(--tb-amber); font-size:12px;
}
#team-alert-board a { color:var(--tb-active); text-underline-offset:3px }
#team-alert-board .tb-more button { color:var(--tb-ink); background:var(--tb-surface) }
#team-alert-board .tb-share-info, #team-alert-board .tb-task-note { background:var(--tb-soft); color:var(--tb-ink); padding:8px 15px; border-radius:7px; font-size:13px }
#team-alert-board .tb-share-info input { color:var(--tb-ink); background:var(--tb-surface); width:min(80%,32em); padding:5px; border:1px solid var(--tb-edge); border-radius:4px }
#team-alert-board .tb-panel, #team-alert-board .tb-summary { background:var(--tb-surface); color:var(--tb-ink); border:1px solid var(--tb-edge); border-radius:13px; overflow:hidden; min-width:0 }
#team-alert-board .tb-section-title { display:flex; align-items:flex-start; justify-content:space-between; gap:8px 16px; padding:18px 20px 11px }
#team-alert-board .tb-section-title h2 { color:var(--tb-ink); font-size:19px; line-height:1.4; font-weight:690; letter-spacing:-.025em }
#team-alert-board .tb-section-title p { font-size:12px; line-height:1.5; color:var(--tb-dim); margin-top:4px }
#team-alert-board .tb-section-title > :is(span,a) { color:var(--tb-dim); font-size:12px; white-space:nowrap; align-self:center }
#team-alert-board .tb-section-title > a { color:var(--tb-active); font-weight:620; text-decoration:none }
#team-alert-board .tb-section-title > a:hover { text-decoration:underline }
#team-alert-board .tb-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); margin:0 20px; border:1px solid var(--tb-edge); border-radius:8px; overflow:hidden }
#team-alert-board .tb-days:empty { display:none }
#team-alert-board .tb-days button { display:flex; align-items:baseline; justify-content:center; gap:6px; padding:8px 2px; min-height:37px; background:var(--tb-tint); color:var(--tb-dim); border:0; border-right:1px solid var(--tb-edge); border-radius:0; box-shadow:none; font-size:12px }
#team-alert-board .tb-days button:last-child { border-right:0 }
#team-alert-board .tb-days button strong { font-size:13px; color:var(--tb-ink) }
#team-alert-board .tb-days button[aria-pressed=true] { background:var(--tb-soft); box-shadow:inset 0 -3px var(--tb-active) }
#team-alert-board .tb-days button[aria-pressed=true] :is(span,strong) { color:var(--tb-active) }
#team-alert-board .tb-days button:hover { background:var(--tb-highlight) }
#team-alert-board .tb-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:17px 0 20px }
#team-alert-board .tb-metrics > div { display:grid; gap:3px; align-content:start; padding-left:20px; border-right:1px solid var(--tb-edge) }
#team-alert-board .tb-metrics > div:last-child { border-right:0 }
#team-alert-board .tb-metrics span { color:var(--tb-dim); font-size:12px }
#team-alert-board .tb-metrics strong { color:var(--tb-ink); font:670 clamp(26px,2.3vw,34px)/1.15 Inter,system-ui,sans-serif; letter-spacing:-.04em }
#team-alert-board .tb-metrics [data-metric=done] strong { color:var(--tb-active) }
#team-alert-board .tb-metrics [data-metric=backlog] strong { color:var(--tb-amber) }
#team-alert-board .tb-observation-status {
  padding:9px var(--tb-gutter); border-top:1px solid var(--tb-edge); color:var(--tb-dim); font-size:12px; overflow-wrap:anywhere;
}
#team-alert-board .tb-observation-status[data-tone=warn] { color:var(--tb-amber); }
#team-alert-board .tb-columns { display:grid; grid-template-columns:clamp(300px,28%,350px) minmax(0,1fr); gap:15px; align-items:start }
#team-alert-board .tb-roster-wrap { overflow-x:auto; }
#team-alert-board .tb-roster { width:100%; border-collapse:collapse; }
#team-alert-board .tb-roster th, #team-alert-board .tb-roster td { padding:9px 5px; border:0; border-top:1px solid var(--tb-edge); background:var(--tb-surface); text-align:right; vertical-align:middle; color:var(--tb-dim); font-size:13px; }
#team-alert-board .tb-roster thead th { background:var(--tb-tint); font-size:11px; font-weight:600; white-space:nowrap; }
#team-alert-board .tb-roster th:first-child { text-align:left; padding-left:17px; }
#team-alert-board .tb-roster :is(th,td):last-child { padding-right:17px }
#team-alert-board .tb-roster tbody tr[data-picked=true] > *, #team-alert-board .tb-roster tbody tr:hover > * { background:var(--tb-tint) }
#team-alert-board .tb-roster tbody button { padding:3px 0; border:0; background:transparent; color:var(--tb-ink); font-size:13px; font-weight:650; box-shadow:none; text-align:left }
#team-alert-board .tb-roster tbody button[aria-pressed=true] { color:var(--tb-active); text-decoration:underline; text-underline-offset:3px }
#team-alert-board .tb-roster td[data-metric=backlog][data-nonzero=true] { color:var(--tb-amber); font-weight:720 }
#team-alert-board .tb-roster td[data-metric=done][data-nonzero=true] { color:var(--tb-active); font-weight:680 }
#team-alert-board .tb-filters {
  padding:1px var(--tb-gutter) 16px; display:flex; align-items:flex-end; flex-wrap:wrap; gap:8px;
}
#team-alert-board .tb-filters label {
  display:grid; flex:1 1 78px; gap:4px; min-width:0; font-size:12px; font-weight:550; color:var(--tb-dim);
}
#team-alert-board .tb-filters label:has(#tb-search) { flex:2 1 156px }
#team-alert-board .tb-filters .tb-time-filter { flex:1 1 102px }
#team-alert-board .tb-queue-range { flex:1 0 100%; display:flex; align-items:flex-end; flex-wrap:wrap; gap:8px }
#team-alert-board .tb-queue-range label { flex:0 1 155px; min-width:0 }
#team-alert-board .tb-queue-range input[aria-invalid=true] { border-color:var(--tb-amber) }
#team-alert-board .tb-queue-range p { flex-basis:100%; margin:0; color:var(--tb-amber); font-size:12px }
#team-alert-board .tb-filters :is(input,select) {
  width:100%; min-width:0; min-height:36px; padding:6px 8px; margin:0; border:1px solid var(--tb-edge);
  border-radius:6px; background:var(--tb-surface); color:var(--tb-ink); font-size:13px;
}
#team-alert-board #tb-search::placeholder { color:var(--tb-dim); opacity:1 }
#team-alert-board #tb-reset, #team-alert-board .tb-detail-actions :is(button,a), #team-alert-board .tb-detail-close {
  display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:36px; margin:0; padding:6px 10px;
  border:1px solid var(--tb-edge); border-radius:6px; box-shadow:none; background:var(--tb-surface);
  color:var(--tb-active); text-decoration:none; font-size:12px; font-weight:650; line-height:1.45;
}
#team-alert-board :is(#tb-reset,.tb-detail-close):hover, #team-alert-board .tb-detail-actions :is(button,a):hover { background:var(--tb-highlight) }
#team-alert-board .tb-queue .tb-task-note { margin:0 15px 10px }
#team-alert-board .tb-queue-tools { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:5px 9px; }
#team-alert-board :is(#tb-grouped,#tb-type-grouped) {
  min-height:34px; padding:6px 10px; border:1px solid var(--tb-edge); border-radius:6px;
  background:var(--tb-surface); color:var(--tb-ink); font-size:12px; font-weight:650; white-space:nowrap;
}
#team-alert-board :is(#tb-grouped,#tb-type-grouped)[aria-pressed=true] { background:var(--tb-soft); border-color:var(--tb-highlight); color:var(--tb-active); }
#team-alert-board .tb-group { border-top:1px solid var(--tb-edge) }
#team-alert-board .tb-group-items { margin:0 0 0 var(--tb-gutter); border-left:2px solid var(--tb-highlight); }
#team-alert-board .tb-group-status { margin:0; padding:5px 12px 7px; color:var(--tb-dim); font-size:12px; }
#team-alert-board .tb-group-count { color:var(--tb-active); font-size:12px; white-space:nowrap; }
#team-alert-board .tb-batch-bar {
  display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; padding:7px var(--tb-gutter);
  background:var(--tb-tint); border-top:1px solid var(--tb-edge); color:var(--tb-dim); font-size:12px;
}
#team-alert-board .tb-batch-selection { background:var(--tb-soft); }
#team-alert-board .tb-batch-count { font-weight:700; color:var(--tb-ink); }
#team-alert-board .tb-batch-bar label { display:flex; align-items:center; gap:5px; }
#team-alert-board .tb-batch-bar small { flex-basis:100%; color:var(--tb-dim); font-size:12px; }
#team-alert-board .tb-batch-bar :is(button,select) {
  min-height:32px; padding:4px 8px; border:1px solid var(--tb-edge); border-radius:6px;
  background:var(--tb-surface); color:var(--tb-ink); font-size:12px; box-shadow:none;
}
#team-alert-board .tb-batch-bar .tb-batch-apply { background:#086451; border-color:#086451; color:#fff; }
#team-alert-board .tb-batch-bar button:not(:disabled):hover { filter:brightness(.94); }
#team-alert-board .tb-issue { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; min-width:0; border-top:1px solid var(--tb-edge); }
#team-alert-board .tb-batch-issue { grid-template-columns:auto minmax(0,1fr) auto; }
#team-alert-board .tb-batch-issue:has(input:checked) { background:var(--tb-soft); }
#team-alert-board .tb-batch-check { display:grid; place-items:center; width:36px; min-height:44px; cursor:pointer; }
#team-alert-board .tb-batch-check input { appearance:auto; margin:0; width:16px; height:16px; accent-color:#08735c; cursor:pointer; }
#team-alert-board .tb-issue:has(> .tb-task[aria-expanded=true]) { background:var(--tb-tint); box-shadow:inset 3px 0 var(--tb-active) }
#team-alert-board .tb-issue > .tb-detail { grid-column:1/-1 }
#team-alert-board .tb-list-log, #team-alert-board .tb-detail-log {
  color:var(--tb-active); font-size:12px; font-weight:650; text-decoration:underline; text-underline-offset:3px;
}
#team-alert-board .tb-list-log { display:inline-flex; align-items:center; min-height:36px; margin-right:var(--tb-gutter); }
#team-alert-board .tb-log-note { color:var(--tb-dim); font-size:12px; }
#team-alert-board .tb-task {
  display:flex; align-items:center; gap:10px; width:100%; min-height:66px; padding:12px var(--tb-gutter);
  border:0; border-radius:0; text-align:left; box-shadow:none; background:var(--tb-surface); color:var(--tb-ink);
}
#team-alert-board .tb-task:hover { background:var(--tb-tint) }
#team-alert-board .tb-task[aria-expanded=true], #team-alert-board .tb-detail {
  background:var(--tb-tint); box-shadow:inset 3px 0 var(--tb-active);
}
#team-alert-board .tb-task:focus-visible, #team-alert-board .tb-days button:focus-visible { outline-offset:-3px }
#team-alert-board .tb-task-copy { display:grid; flex:1 1 auto; gap:3px; min-width:0 }
#team-alert-board .tb-task-copy strong { font-size:14px; font-weight:670; line-height:1.45; overflow-wrap:anywhere }
#team-alert-board .tb-task-copy small, #team-alert-board .tb-empty-inline { color:var(--tb-dim); font-size:12px }
#team-alert-board .tb-task-meta { overflow-wrap:anywhere }
#team-alert-board .tb-version-label { color:var(--tb-ink); font-weight:600; font-variant-numeric:tabular-nums; }
#team-alert-board .tb-preview { color:var(--tb-dim); font-size:12px; font-weight:400; overflow:hidden; white-space:nowrap; text-overflow:ellipsis }
#team-alert-board .tb-task-end { display:flex; position:relative; justify-content:flex-end; gap:4px; align-items:center; flex-wrap:wrap; max-width:38%; flex-shrink:0 }
#team-alert-board .tb-chevron { display:grid; place-items:center; flex:0 0 12px; width:12px; height:16px; color:var(--tb-dim) }
#team-alert-board .tb-chevron::after { content:""; width:7px; height:7px; border:solid currentColor; border-width:0 1.6px 1.6px 0; transform:rotate(45deg) translate(-1px,-1px) }
#team-alert-board .tb-task[aria-expanded=true] .tb-chevron { color:var(--tb-active) }
#team-alert-board .tb-task[aria-expanded=true] .tb-chevron::after { transform:rotate(225deg) translate(-1px,-1px) }
#team-alert-board .tb-task-end:has(> .tb-chevron) { padding-right:21px }
#team-alert-board .tb-task-end > .tb-chevron { position:absolute; right:0; top:50%; transform:translateY(-50%) }
#team-alert-board .tb-type { border-top:1px solid var(--tb-edge); }
#team-alert-board .tb-type-toggle {
  min-height:52px; padding-block:10px; background:var(--tb-soft);
}
#team-alert-board .tb-type-toggle .tb-task-end { max-width:68%; }
#team-alert-board .tb-type-items { margin-inline-start:clamp(6px,1vw,13px); border-inline-start:2px solid var(--tb-highlight); }
#team-alert-board .tb-type-alert-count {
  color:var(--tb-dim); font-size:12px; white-space:nowrap;
}
#team-alert-board .tb-type-alert-count[data-has-alerts=true] {
  padding:2px 6px; border-radius:4px; font-weight:650;
  color:var(--tb-incident-ink); background:var(--tb-incident-bg);
}
#team-alert-board .tb-badge, #team-alert-board .tb-overdue, #team-alert-board .tb-critical { display:inline-block; white-space:nowrap; font-size:11px; line-height:1.45; font-weight:640; padding:2px 6px; border-radius:4px; }
#team-alert-board .tb-badge[data-state=open] { background:#f4e9d3; color:#815006 }
#team-alert-board .tb-badge[data-state=in_progress] { background:#e4edf9; color:#225078 }
#team-alert-board .tb-badge[data-state=done] { background:#ddf1e6; color:#196244 }
#team-alert-board .tb-silenced { background:var(--tb-tint); color:var(--tb-dim); border:1px solid var(--tb-edge) }
#team-alert-board .tb-notice[data-notice=alerted] { background:var(--tb-incident-bg); color:var(--tb-incident-ink); box-shadow:inset 0 0 0 1px var(--tb-incident-edge); }
#team-alert-board .tb-notice[data-notice=warning] { background:#f5e9d0; color:#794906; }
#team-alert-board .tb-notice[data-notice=unalerted] { background:var(--tb-tint); color:var(--tb-dim); box-shadow:inset 0 0 0 1px var(--tb-edge); }
#team-alert-board .tb-notice[data-notice=unknown] { background:var(--tb-tint); color:var(--tb-muted); }
#team-alert-board .tb-overdue { background:#f6e9dc; color:#874a1c }
#team-alert-board .tb-critical { background:#fae4e5; color:#97323a }
#team-alert-board .tb-more { display:flex; justify-content:center; padding:12px; border-top:1px solid var(--tb-edge) }
#team-alert-board .tb-empty { color:var(--tb-muted); text-align:center; padding:24px 15px; font-size:13px; }
#team-alert-board .tb-detail { min-width:0; padding:0 var(--tb-gutter) 18px; color:var(--tb-ink); overflow-wrap:anywhere; }
#team-alert-board .tb-detail::before { display:block; content:""; height:1px; background:var(--tb-edge); margin-bottom:14px }
#team-alert-board .tb-detail-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
#team-alert-board .tb-detail-head > div { display:flex; gap:6px }
#team-alert-board .tb-detail-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:14px; }
#team-alert-board .tb-detail h3 { margin:0 0 5px; color:var(--tb-ink); font-size:14px; line-height:1.5; font-weight:680; }
#team-alert-board .tb-reason { color:var(--tb-dim); font-size:13px; overflow-wrap:anywhere; }
#team-alert-board .tb-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr)); margin:12px 0 16px; gap:10px 14px; }
#team-alert-board .tb-fields dt { color:var(--tb-dim); font-size:11px }
#team-alert-board .tb-fields dd { color:var(--tb-ink); font-weight:620; font-size:13px; overflow-wrap:anywhere; }
#team-alert-board .tb-detail h4 { color:var(--tb-ink); font-size:13px; }
#team-alert-board .tb-history { max-height:12rem; overflow:auto; padding:2px 0 2px 17px; margin:3px 0 9px; font-size:12px; color:var(--tb-dim); }
#team-alert-board .tb-history li { padding:2px 0; line-height:1.65; }
#team-alert-board .tb-history li::marker { color:var(--tb-muted) }
#team-alert-board .tb-history time { padding-right:7px; color:var(--tb-ink) }
#team-alert-board .tb-trigger-history { margin:10px 0 15px; border-block:1px solid var(--tb-edge); font-size:12px; }
#team-alert-board .tb-trigger-history summary { padding:9px 0; font-weight:650; color:var(--tb-active); cursor:pointer; }
#team-alert-board .tb-trigger-history ol { margin:0; padding:0; list-style:none; }
#team-alert-board .tb-trigger-history li {
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;
  gap:5px 14px; padding:8px 0; border-top:1px solid var(--tb-edge);
}
#team-alert-board .tb-trigger-history small { display:block; margin-top:2px; color:var(--tb-dim); }
#team-alert-board .tb-transitions { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:12px }
#team-alert-board .tb-transitions button { padding:5px 11px; min-height:32px; color:var(--tb-active); border-color:var(--tb-highlight); background:var(--tb-surface) }
#team-alert-board .tb-transitions button:first-child { background:#086451; border-color:#086451; color:white }
#team-alert-board .tb-silence-control {
  margin-top:10px; padding:6px 10px; border:1px solid var(--tb-edge); border-radius:7px;
  color:var(--tb-dim); background:var(--tb-tint); font-size:13px;
}
#team-alert-board .tb-silence-control summary { color:var(--tb-active); cursor:pointer; font-weight:650; }
#team-alert-board .tb-silence-control summary:focus-visible { outline:2px solid var(--tb-active); outline-offset:3px }
#team-alert-board .tb-silence-control[open] { padding-block:8px 10px }
#team-alert-board .tb-silence-control p { margin-top:6px }
#team-alert-board .tb-silence-control .tb-transitions { margin-top:8px }
#team-alert-board .tb-edit-link { display:inline-block; margin-top:9px; font-size:12px }
@media(max-width:1000px) {
 #team-alert-board .tb-columns { grid-template-columns:minmax(0,1fr) }
 #team-alert-board .tb-roster-wrap { max-height:320px; overflow:auto }
 #team-alert-board .tb-roster thead { position:sticky; top:0; z-index:1 }
}
@media(max-width:680px) {
 #team-alert-board { gap:10px; --tb-gutter:13px; }
 #team-alert-board .tb-hero { align-items:flex-start; flex-direction:column; gap:12px; }
 #team-alert-board .tb-major { grid-template-columns:auto minmax(0,1fr); row-gap:5px; }
 #team-alert-board .tb-major-meta { grid-column:2; display:flex; flex-wrap:wrap; gap:2px 9px; max-width:none; }
 #team-alert-board .tb-actions { justify-content:flex-start; }
 #team-alert-board .tb-status-actions { margin-inline-start:auto; }
 #team-alert-board .tb-sub { font-size:12px; }
 #team-alert-board .tb-section-title { padding:14px 12px 10px; gap:4px 7px }
 #team-alert-board .tb-days { margin:0 12px }
 #team-alert-board .tb-days button { flex-direction:column; gap:0; align-items:center; font-size:10px; }
 #team-alert-board .tb-days button strong { font-size:12px; }
 #team-alert-board .tb-metrics { padding:13px 0 14px }
 #team-alert-board .tb-metrics > div { padding-left:9px; }
 #team-alert-board .tb-metrics span { font-size:10px; }
 #team-alert-board .tb-filters label:has(#tb-search) { flex-basis:100%; }
 #team-alert-board .tb-filters label { flex-basis:calc(50% - 8px); }
 #team-alert-board .tb-filters .tb-time-filter, #team-alert-board .tb-queue-range label { flex:1 1 calc(50% - 8px); }
 #team-alert-board .tb-issue { grid-template-columns:minmax(0,1fr); }
 #team-alert-board .tb-batch-issue { grid-template-columns:auto minmax(0,1fr); }
 #team-alert-board .tb-batch-issue > .tb-list-log { grid-column:2; }
 #team-alert-board .tb-list-log { justify-self:start; margin:0 var(--tb-gutter) 5px; min-height:31px; }
 #team-alert-board .tb-task { padding-block:11px 2px; gap:7px; }
 #team-alert-board .tb-task-end { max-width:35%; }
 #team-alert-board .tb-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
 #team-alert-board .tb-roster-wrap { max-height:220px; }
}
:root[data-theme=dark] #team-alert-board { --tb-ink:#e5eeec; --tb-dim:#b3c6c4; --tb-muted:#a7bab6; --tb-edge:#3c514e; --tb-surface:#1d2f30; --tb-tint:#263b3a; --tb-active:#a2dfc5; --tb-soft:#29483f; --tb-highlight:#375b4e; --tb-amber:#efba70; --tb-incident-bg:#412429; --tb-incident-edge:#78484c; --tb-incident-ink:#f8bec0; }
:root[data-theme=dark] #team-alert-board .tb-major[data-tone=pending] { --tb-major-bg:#392c20; --tb-major-edge:#795330; --tb-major-light:#ec9d4a; }
:root[data-theme=dark] #team-alert-board .tb-major[data-tone=healthy] { --tb-major-light:#60d6a1; }
:root[data-theme=dark] #team-alert-board .tb-major[data-tone=incident] { --tb-major-light:#f58089; }
:root[data-theme=dark] #team-alert-board .tb-badge[data-state=open], :root[data-theme=dark] #team-alert-board .tb-overdue { color:#f5c88f; background:#513b23; }
:root[data-theme=dark] #team-alert-board .tb-badge[data-state=in_progress] { color:#b8d6f5; background:#294559; }
:root[data-theme=dark] #team-alert-board .tb-badge[data-state=done] { color:#ade8c7; background:#284e40; }
:root[data-theme=dark] #team-alert-board .tb-critical { color:#f6bfc5; background:#593840; }
:root[data-theme=dark] #team-alert-board .tb-notice[data-notice=warning] { color:#f5c88f; background:#513b23; }
#team-alert-board .tb-diagnostics { margin:8px 0 15px; display:grid; grid-template-columns:minmax(0,1fr); gap:5px; }
#team-alert-board .tb-diagnostics code { display:block; min-width:0; padding:5px 8px; background:var(--tb-surface); border-inline-start:2px solid var(--tb-highlight); font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; color:var(--tb-ink); white-space:pre-wrap; overflow-wrap:anywhere; }
#team-alert-board .tb-diagnostics a { font-size:12px; margin-top:2px; }
