:root, [data-theme="day"] {
  color-scheme: light;
  --background: #F4F7FD;
  --heading: #071365;
  --orange: #FF5B13;
  --blue: #1E50B7;
  --navy: #061657;
  --text: #3A465E;
  --muted: #64718A;
  --line: #DDE5F2;
  --green: #188364;
  --surface: #FFF;
  --pending: #FFF4EE;
  --pending-text: #C23E00;
  --avatar: #ECF2FF;
  --avatar-text: #1E50B7;
  --avatar-orange: #FFF0E7;
  --avatar-orange-text: #B94313;
  --avatar-gray: #EDF0F5;
  --idle: #737E91;
  --chart-line: #1E50B7;
  --footer-text: #BAC9EA;
}
[data-theme="night"] {
  color-scheme: dark;
  --background: #061657;
  --heading: #F4F7FD;
  --orange: #FF5B13;
  --blue: #81AFFA;
  --navy: #061657;
  --text: #E1E8F8;
  --muted: #ADBDDF;
  --line: #2A3E79;
  --green: #75D6B1;
  --surface: #0D2264;
  --pending: #182762;
  --pending-text: #FFB58D;
  --avatar: #193976;
  --avatar-text: #C2D9FF;
  --avatar-orange: #3B305C;
  --avatar-orange-text: #FFC5A4;
  --avatar-gray: #223568;
  --idle: #B3C2E0;
  --chart-line: #81AFFA;
  --footer-text: #ADBDDF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--background); color: var(--text); font: 13px/1.5 "Microsoft YaHei","PingFang SC",sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1,h2,h3,p,dl,dd,figure { margin: 0; }
h1,h2,h3 { color: var(--heading); }
.page { position: relative; min-height: 100vh; display: flex; flex-direction: column; }
.page::before { content: ""; position: absolute; z-index: -1; width: 310px; height: 113px; right: 0; top: 0; background: #FBE0D5; border-radius: 0 0 0 100%; }
.masthead { min-height: 84px; width: min(1328px,calc(100% - 80px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.logo { width: 145px; height: 59px; object-fit: contain; }
.logo-night { display: none; }
.wecom { width: 169px; height: 32px; object-fit: contain; }
.masthead-right { display: flex; align-items: center; gap: 22px; }
.product-name { font-size: 15px; font-weight: 700; color: var(--heading); }
.clock { border-left: 1px solid var(--line); padding-left: 22px; text-align: right; }
.clock time { display: block; font-size: 14px; font-weight: 700; color: var(--heading); font-variant-numeric: tabular-nums; }
.clock span { font-size: 11px; color: var(--muted); }
.theme-toggle { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--heading); cursor: pointer; }
.theme-toggle .sun { display: none; }
.shell { flex: 1; }
.sidebar { display: none; }
main { width: min(1328px,calc(100% - 80px)); margin-inline: auto; padding: 18px 0 22px; }
.overview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.heading-title { display: flex; align-items: baseline; gap: 14px; }
h1 { font-size: 27px; line-height: 1.25; }
.heading-title p { color: var(--muted); font-size: 12px; }
.sample { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.sample::before { content: ""; width: 6px; height: 6px; background: var(--orange); }
.metrics,.agent-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.metric { min-width: 0; height: 100px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; position: relative; }
.metric dt { font-size: 12px; }
.metric dd { display: flex; align-items: baseline; gap: 7px; margin-top: 1px; color: var(--heading); }
.metric strong { font-size: 37px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.metric .unit { font-size: 12px; }
.metric .comparison { position: absolute; right: 18px; bottom: 17px; font-size: 11px; color: var(--muted); }
.metric .index { position: absolute; right: 16px; top: 13px; font-size: 11px; color: var(--muted); }
.metric.pending { border-color: #FFC7AE; background: var(--pending); }
.metric.pending strong,.metric.pending dt { color: var(--pending-text); }
.metric.pending::before { content: ""; position: absolute; width: 4px; top: 15px; bottom: 15px; left: -1px; background: var(--orange); }
.metric.pending a { display: block; }
.decision-strip { margin-top: 12px; display: grid; grid-template-columns: 135px 1fr 1fr; align-items: center; gap: 20px; min-height: 56px; padding: 10px 18px; background: var(--surface); border-left: 3px solid var(--orange); }
.decision-title h2 { font-size: 13px; }
.decision-title p,.decision-item p { color: var(--muted); font-size: 10px; }
.decision-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.decision-number { color: var(--orange); font-size: 18px; font-weight: 700; }
.decision-item h3 { font-size: 12px; font-weight: 500; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 15px 0 9px; }
h2 { font-size: 14px; font-weight: 700; }
.section-heading > p { color: var(--muted); font-size: 11px; }
.section-heading > p b { color: var(--green); }
.agent { min-width: 0; padding: 14px 16px 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.agent-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.agent-identity { display: flex; align-items: center; gap: 9px; min-width: 0; }
.avatar { display: grid; place-items: center; width: 31px; height: 31px; flex-shrink: 0; color: var(--avatar-text); background: var(--avatar); font-size: 12px; font-weight: 700; border-radius: 4px; }
.avatar.orange { color: var(--avatar-orange-text); background: var(--avatar-orange); }
.avatar.gray { color: var(--muted); background: var(--avatar-gray); }
.agent h3 { font-size: 13px; line-height: 1.25; }
.agent-identity small { color: var(--muted); font-size: 10px; }
.status { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 10px; color: var(--green); }
.status::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.status.idle,.status.offline { color: var(--idle); }
.status.offline::before { background: transparent; border: 1px solid currentColor; }
.current-task { font-size: 12px; margin: 11px 0 10px; }
.agent-stats { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 10px; color: var(--muted); }
.agent-stats dt,.agent-stats dd { display: inline; }
.agent-stats b { color: var(--heading); margin-left: 4px; font-size: 12px; font-weight: 700; }
.bottom-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; margin-top: 19px; }
.panel { min-width: 0; border-top: 2px solid var(--line); padding-top: 10px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.panel-heading small { color: var(--muted); font-size: 10px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 39px 9px 1fr; gap: 9px; align-items: baseline; min-height: 25px; font-size: 11px; }
.timeline time { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.timeline .node { position: relative; align-self: stretch; }
.timeline .node::before { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); top: 6px; left: 1px; }
.timeline .node::after { content: ""; position: absolute; width: 1px; background: var(--line); top: 14px; bottom: -2px; left: 3px; }
.timeline li:last-child .node::after { display: none; }
.timeline li:first-child .node::before { background: var(--orange); }
.timeline b { color: var(--heading); margin-right: 6px; font-weight: 500; }
.trend-total { display: flex; align-items: baseline; gap: 6px; }
.trend-total strong { color: var(--heading); font-size: 27px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.trend-total span { font-size: 10px; color: var(--muted); }
.chart { display: block; width: 100%; height: 110px; margin-top: 5px; }
.chart text { font: 9px "Microsoft YaHei","PingFang SC",sans-serif; fill: var(--muted); }
.chart .grid { stroke: var(--line); stroke-dasharray: 3 4; }
.chart .data-line { stroke: var(--chart-line); }
.chart .points { stroke: var(--chart-line); fill: var(--surface); }
.chart .chart-label { fill: var(--pending-text); font-weight: 700; }
.chart-note { display: flex; justify-content: space-between; gap: 6px; margin-top: 4px; color: var(--muted); font-size: 10px; }
.chart-note b { color: var(--blue); font-weight: 500; }
.health-list { padding: 0; margin: 0; list-style: none; }
.health-list li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.health-list li:last-child { border: 0; }
.health-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; }
.health-row b { color: var(--heading); font-size: 11px; font-weight: 500; }
.health-row .ok { color: var(--green); }
.health-list p { font-size: 10px; color: var(--muted); margin-top: 2px; }
.health-dot { display: inline-block; width: 5px; height: 5px; background: var(--green); border-radius: 50%; margin-right: 6px; vertical-align: 2px; }
footer { background: var(--navy); color: #FFF; min-height: 61px; padding: 14px max(40px,calc((100% - 1328px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.slogan { font-size: 17px; font-weight: 700; padding-left: 14px; border-left: 3px solid var(--orange); }
.footer-meta { text-align: right; font-size: 10px; color: var(--footer-text); }
.footer-meta strong { display: block; color: #FFF; font-size: 11px; margin-bottom: 2px; font-weight: 500; }
.login { max-width: 560px; margin: 15vh auto; padding: 24px; }
.login h1 { margin-block: 28px 16px; }
.login a { display: inline-block; margin-top: 20px; color: var(--blue); text-decoration: underline; }
[data-theme="night"] .page::before { display: none; }
[data-theme="night"] .masthead { width: 100%; padding: 13px 30px; }
[data-theme="night"] .logo-day { display: none; }
[data-theme="night"] .logo-night { display: block; }
[data-theme="night"] .wecom { background: #FFF; padding: 3px 6px; border-radius: 3px; width: 169px; height: 36px; }
[data-theme="night"] .theme-toggle .sun { display: block; }
[data-theme="night"] .theme-toggle .moon { display: none; }
[data-theme="night"] .shell { display: grid; grid-template-columns: 152px minmax(0,1fr); }
[data-theme="night"] .sidebar { padding: 26px 14px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.sidebar-label { font-size: 10px; color: var(--muted); padding-left: 12px; margin-bottom: 14px; }
.sidebar nav { display: grid; gap: 8px; }
.nav-item { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 10px 12px; color: var(--muted); font-size: 12px; border-left: 2px solid transparent; }
.nav-item span { font-size: 10px; }
.nav-item.active { color: #FFF; background: #1E50B7; border-left-color: var(--orange); }
.nav-item:hover { background: #17377C; color: #FFF; }
.sidebar-bottom { padding-left: 12px; font-size: 10px; color: var(--muted); }
.sidebar-bottom strong { display: block; font-size: 23px; color: #FFF; margin: 5px 0 1px; font-weight: 500; }
.sidebar-bottom strong small { font-size: 12px; color: var(--muted); }
.signal { display: flex; align-items: flex-end; gap: 3px; height: 14px; margin-top: 15px; }
.signal i { display: block; width: 4px; height: 5px; background: var(--green); }
.signal i:nth-child(2) { height: 8px; }.signal i:nth-child(3) { height: 11px; }.signal i:nth-child(4) { height: 14px; }
[data-theme="night"] main { width: 100%; min-width: 0; padding: 21px 28px 25px; background-image: linear-gradient(#A7B9E403 1px,transparent 1px),linear-gradient(90deg,#A7B9E403 1px,transparent 1px); background-size: 32px 32px; }
[data-theme="night"] .metrics { gap: 0; border-block: 1px solid #3D548D; }
[data-theme="night"] .metric { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; height: 113px; padding: 13px 21px 11px; }
[data-theme="night"] .metric:first-child { padding-left: 0; }
[data-theme="night"] .metric:last-child { border-right: 0; background: #FF5B130B; }
[data-theme="night"] .metric .comparison { position: static; font-size: 10px; }
[data-theme="night"] .metric.pending::before { width: auto; height: 3px; inset: -1px 0 auto; }
[data-theme="night"] .decision-strip { background: #132664; }
[data-theme="night"] .agent-grid { gap: 12px; }
[data-theme="night"] .agent { border-radius: 4px; padding: 13px 13px 10px; }
[data-theme="night"] .agent.working { border-top: 2px solid #5386E6; padding-top: 12px; }
[data-theme="night"] .bottom-grid { margin-top: 24px; }
[data-theme="night"] footer { border-top: 1px solid var(--line); padding-inline: 30px; }
@media (max-width:1200px) {
  [data-theme="night"] .shell { grid-template-columns: 128px minmax(0,1fr); }
  [data-theme="night"] .metrics,[data-theme="night"] .agent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  [data-theme="night"] .metric:nth-child(2) { border-right: 0; }
  [data-theme="night"] .metric:nth-child(3),[data-theme="night"] .metric:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width:1100px) {
  .masthead,main { width: calc(100% - 40px); }
  .metrics,.agent-grid,.bottom-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .activity { grid-column: 1/-1; }
  .masthead-right { gap: 14px; }
  .brand { gap: 12px; }
  .logo { width: 124px; }
  .wecom { width: 147px; }
  .clock { padding-left: 14px; }
  .decision-strip { grid-template-columns: 110px 1fr 1fr; gap: 12px; }
}
@media (max-width:800px) {
  [data-theme="night"] .shell { grid-template-columns: minmax(0,1fr); }
  [data-theme="night"] .sidebar { display: none; }
  .masthead { flex-wrap: wrap; padding-block: 10px; gap: 6px; }
  .masthead-right { width: 100%; justify-content: space-between; }
  .clock { margin-left: auto; border: 0; padding: 0; }
  [data-theme="night"] .masthead { padding: 10px 20px; }
}
@media (max-width:600px) {
  .masthead,main { width: calc(100% - 32px); }
  .brand { gap: 15px; }
  .logo { width: 116px; height: 47px; }
  .wecom { width: 157px; height: 30px; }
  .product-name { font-size: 12px; }
  .clock time { font-size: 11px; font-weight: 500; }
  .clock span { display: none; }
  .theme-toggle { width: 32px; height: 32px; flex-basis: 32px; }
  main { padding: 15px 0 24px; }
  .overview-heading { margin-bottom: 13px; }
  h1 { font-size: 23px; }
  .heading-title { gap: 10px; }
  .heading-title p,.sample { font-size: 10px; }
  .metrics,.agent-grid,.bottom-grid,[data-theme="night"] .metrics,[data-theme="night"] .agent-grid { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .metric,[data-theme="night"] .metric,[data-theme="night"] .metric:first-child { height: 76px; padding: 10px 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
  [data-theme="night"] .metrics { border: 0; }
  [data-theme="night"] .metric:last-child { border: 1px solid var(--line); background: var(--pending); }
  .metric strong { font-size: 30px; }
  .metric dt { font-size: 11px; }
  .metric .comparison,[data-theme="night"] .metric .comparison { position: absolute; bottom: 14px; right: 15px; }
  .metric .index { top: 11px; right: 15px; }
  [data-theme="night"] .metric.pending::before { width: 3px; height: auto; inset: 12px auto 12px -1px; }
  .decision-strip { grid-template-columns: minmax(0,1fr); gap: 8px; padding: 11px 14px; }
  .decision-title { display: flex; justify-content: space-between; align-items: center; }
  .decision-item { gap: 10px; }
  .decision-item p { display: inline; margin-left: 5px; }
  .decision-item h3 { display: inline; font-size: 11px; }
  .decision-number { font-size: 15px; }
  .section-heading { margin: 21px 0 10px; }
  .agent,[data-theme="night"] .agent { padding: 15px; }
  .agent h3 { font-size: 14px; }
  .agent-identity small,.status { font-size: 11px; }
  .current-task { margin: 12px 0; }
  .agent-stats { font-size: 11px; }
  .bottom-grid { margin-top: 24px; gap: 25px; }
  .activity { grid-column: auto; }
  .panel { padding-top: 12px; }
  .panel-heading { margin-bottom: 12px; }
  .timeline li { min-height: 38px; font-size: 11px; gap: 7px; }
  .chart { height: auto; aspect-ratio: 280/125; }
  .chart-note { margin-top: 8px; font-size: 11px; }
  .health-list li { padding: 11px 0; }
  .health-row,.health-row b { font-size: 12px; }
  .health-list p { font-size: 11px; }
  [data-theme="night"] .masthead { padding-inline: 16px; }
  [data-theme="night"] main { padding: 16px 16px 27px; }
  footer,[data-theme="night"] footer { min-height: 103px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 16px; }
  .slogan { font-size: 15px; }
  .footer-meta { text-align: left; padding-left: 17px; font-size: 10px; }
  .footer-meta strong { display: inline; font-size: 10px; margin-right: 6px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

/* Live views keep the approved day/night composition and allow provenance to wrap. */
.view-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.view-nav a { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 9px 14px; color: var(--muted); border-bottom: 2px solid transparent; }
.view-nav a.active { color: var(--blue); border-color: var(--orange); font-weight: 700; }
.view-nav svg { width: 16px; height: 16px; }
#load-state { font-size: 10px; color: var(--muted); margin-bottom: 10px; }
.metric,[data-theme="night"] .metric,[data-theme="night"] .metric:first-child { height: auto; min-height: 162px; padding: 14px 16px; }
.metric-value { font-size: 29px; font-weight: 700; color: var(--heading); margin: 5px 0 10px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.provenance { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 7px; font-size: 10px; color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.provenance time { display: block; flex-basis: 100%; }
.provenance .coverage { flex-basis: 100%; }
.quality { font-size: 10px; white-space: nowrap; font-weight: 700; }
.measured { color: var(--green); }
.unknown { color: var(--muted); }
.coverage,.state-note { font-size: 11px; color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
.data-section { min-width: 0; margin-top: 22px; }
.data-section > h2 { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.data-section > p { margin-block: 8px; }
.agent-link { color: var(--heading); font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.agent-token { color: var(--heading); font-size: 20px; font-weight: 700; margin-block: 13px 8px; overflow-wrap: anywhere; }
.state-note { margin-top: 10px; }
.agent-count { display: flex; flex-wrap: wrap; gap: 5px 15px; padding-top: 9px; margin-top: 10px; border-top: 1px solid var(--line); font-size: 11px; }
.agent-count > div { flex-basis: 100%; }
.agent > .provenance:last-child { margin-top: 6px; }
.live-bottom { grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; }
.live-bottom .data-section { margin-top: 0; }
.empty { padding-block: 16px; color: var(--muted); font-size: 12px; }
.health-row { flex-wrap: wrap; }
.health-list .provenance { margin-top: 4px; }
.health-list p { overflow-wrap: anywhere; }
.warning,.health-row b.warning { color: var(--pending-text); }
.ok { color: var(--green); }
.health-grid,.device-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.device { border: 1px solid var(--line); border-radius: 6px; padding: 16px; background: var(--surface); min-width: 0; }
.device-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.device h3 { font-size: 14px; }
.authorization-state { font-size: 12px; margin-block: 13px 8px; }
.capability { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.capability b { font-weight: 500; }
.capability small { font-size: 10px; color: var(--muted); text-align: right; }
.device > .coverage { margin-top: 12px; }
.detail-heading { display: flex; align-items: center; gap: 20px; margin: 16px 0; }
.agent-picker { font: inherit; color: var(--heading); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 8px 30px 8px 10px; }
.record-row { display: grid; grid-template-columns: 160px 1fr; gap: 5px 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.record-row small { grid-column: 1/-1; color: var(--muted); overflow-wrap: anywhere; }
.task-line { padding-block: 8px; border-bottom: 1px solid var(--line); }
.task-board { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin-top: 20px; align-items: start; }
.task-board:has(.task-column:nth-child(6)) { grid-template-columns: repeat(3,minmax(0,1fr)); }
.task-column { min-width: 0; border-top: 3px solid var(--line); padding-top: 10px; }
.task-column:nth-child(2) { border-color: var(--blue); }
.task-column:nth-child(3) { border-color: var(--orange); }
.task-column:nth-child(5) { border-color: var(--green); }
.task-column h2 { font-size: 12px; margin-bottom: 10px; }
.task-card { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; margin-bottom: 10px; padding: 12px; overflow-wrap: anywhere; }
.task-card summary { font-size: 12px; font-weight: 600; color: var(--heading); cursor: pointer; }
.task-body { font-size: 11px; white-space: pre-wrap; margin-top: 10px; }
.task-body p { margin-top: 8px; }
.inbox-notes { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.timeline li { grid-template-columns: 108px 9px 1fr; padding-block: 3px; }
[data-theme="night"] .logo { width: 121px; height: 49px; }
@media (max-width:1100px) {
  .live-bottom { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .task-board { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:800px) {
  .health-grid,.device-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
}
@media (max-width:600px) {
  .view-nav { gap: 0; justify-content: space-between; }
  .view-nav a { font-size: 11px; padding: 9px 5px; gap: 4px; }
  .view-nav svg { width: 14px; height: 14px; flex-shrink: 0; }
  .metric,[data-theme="night"] .metric,[data-theme="night"] .metric:first-child { min-height: 137px; }
  .metric-value { font-size: 28px; }
  .live-bottom,.task-board,.task-board:has(.task-column:nth-child(6)) { grid-template-columns: minmax(0,1fr); }
  .record-row { grid-template-columns: minmax(0,1fr); }
  .heading-title p { display: none; }
  [data-theme="night"] .logo { width: 105px; height: 43px; }
  .capability { gap: 4px; }
}
.boss-conclusion { padding: 16px 0 19px 18px; border-left: 4px solid var(--green); border-bottom: 1px solid var(--line); }
.boss-conclusion.warning { border-left-color: var(--orange); color: var(--text); }
.boss-conclusion.unknown { border-left-color: var(--muted); }
.boss-label { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.boss-conclusion h2 { font-size: 26px; line-height: 1.5; overflow-wrap: anywhere; }
.evidence { min-width: 0; font-size: 11px; color: var(--muted); margin-top: 8px; }
.evidence > summary { cursor: pointer; width: fit-content; color: var(--blue); padding-block: 3px; }
.evidence > .provenance { margin-top: 7px; }
.evidence p { overflow-wrap: anywhere; }
.daily-numbers { padding-block: 5px; }
.daily-numbers .metrics { margin-top: 10px; }
.agent-conclusion { margin-block: 14px; color: var(--heading); font-size: 14px; }
.agent-evidence .agent-token { font-size: 16px; }
.event-evidence { grid-column: 3; margin-top: 0; }
.metric,[data-theme="night"] .metric,[data-theme="night"] .metric:first-child { min-height: 108px; }
.metric-value { font-size: 22px; }
.boss-evidence p { margin-block: 5px; }
@media (max-width:600px) {
  .boss-conclusion h2 { font-size: 22px; }
  .boss-conclusion { padding-left: 12px; }
}
