:root { color-scheme:light; --ink:#1b2d26; --muted:#596a60; --line:#dce2dc; --pale:#f4f6f3; --green:#126b4f; --side:#172e28; --side-width:210px; font-family:"Segoe UI","Microsoft YaHei UI","Microsoft YaHei","PingFang SC",Arial,sans-serif; font-weight:400; color:var(--ink); background:var(--pale); }
*, *:before, *:after { box-sizing:border-box; }
body { margin:0; min-width:0; font-size:14px; line-height:1.5; }
[hidden] { display:none!important; }
button, input, select { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:default; opacity:.65; }
a { color:inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline:2px solid #327943; outline-offset:3px; }
i[data-icon] { flex:none; display:inline-flex; align-items:center; justify-content:center; font-style:normal; }
i[data-icon]>svg, .brand>svg { display:block; }
.skip { position:fixed; top:7px; left:10px; transform:translateY(-150%); background:#fff; color:#173f2b; padding:8px 13px; z-index:10; border-radius:4px; }
.skip:focus { transform:none; }
.side { position:fixed; z-index:4; inset:0 auto 0 0; width:var(--side-width); display:flex; flex-direction:column; padding:32px 15px 17px; background:var(--side); color:#f2f7ef; }
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; margin:0 7px; }
.brand>svg { width:36px; height:36px; flex:none; }
.brand>span { display:grid; }
.brand strong { font-size:19px; line-height:1.35; font-weight:720; }
.brand small { color:#b7c8bb; font-size:10px; font-weight:510; }
.side-section { margin:53px 10px 14px; color:#a7bbb0; font-size:11px; }
.side nav { display:grid; gap:5px; }
.side nav a { display:flex; align-items:center; min-height:41px; padding:7px 12px; gap:11px; color:#c4d2c8; font-size:14px; border-radius:5px; text-decoration:none; }
.side nav a:hover { background:#263f34; color:white; }
.side nav a:is([aria-current=page],.active,.selected) { background:#304b3e; color:white; font-weight:620; }
.side nav a:is([aria-current=page],.active,.selected) > i { color:#bee48e; }
.side nav svg { width:17px; height:17px; }
#nav-count:not(:empty) { margin-left:auto; border-radius:3px; padding:0 5px; background:#31483d; color:#c2d2c7; font-size:10px; font-weight:550; }
.side-bottom { display:flex; align-items:center; gap:10px; margin-top:auto; padding:16px 5px 0; border-top:1px solid #395047; }
.side-bottom>div:nth-child(2) { display:grid; }
.side-bottom strong { color:#e8f0e9; font-size:13px; font-weight:600; }
.side-bottom small { color:#b3c5b9; font-size:10px; }
.station-mark, .side-icon { display:grid; place-items:center; flex:none; }
.station-mark { width:32px; height:32px; background:#2d463c; border:1px solid #415c4b; color:#cee4c7; border-radius:6px; }
.side-icon { margin-left:auto; color:#b7cbbe; width:30px; height:32px; padding:0; background:none; border:0; }
.side-icon:hover { color:white; }
.mobile-only, .scrim { display:none!important; }
#workspace { min-height:100vh; margin-left:var(--side-width); outline:none; }
.top { display:flex; align-items:center; justify-content:space-between; gap:10px; height:58px; padding:0 30px; background:white; border-bottom:1px solid var(--line); }
.crumb, .top-right, .demo, .head-actions, .btn, .icon-button, .text-btn, .hardware, .panel-head, .section-label, .resource-foot, .badge { display:flex; align-items:center; }
.crumb { gap:8px; color:var(--muted); white-space:nowrap; font-size:12px; }
.crumb i:not(#menu i) { color:#99a69d; }
.crumb > i svg { width:12px; height:12px; }
.crumb strong { font-weight:600; color:var(--ink); }
.top-right { gap:7px; color:var(--muted); white-space:nowrap; font-size:12px; }
.top-right > i svg { width:14px; height:14px; }
.top-right time, .mono, .resource-value, .k-number, .round-counts, .issue-meta, .resource-sub { font-variant-numeric:tabular-nums; }
.demo { gap:6px; color:#285b3b; font-size:12px; font-weight:600; }
.demo b { display:block; width:7px; height:7px; border-radius:100%; background:#548353; }
.divider { width:1px; height:14px; margin:0 4px; background:var(--line); }
.content { max-width:1560px; margin-inline:auto; padding:25px 30px 16px; min-width:0; }
.page-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }
.page-head h1 { font-size:31px; line-height:1.32; font-weight:710; margin:0; }
.page-head p { margin:4px 0 0; color:var(--muted); line-height:1.5; font-size:13px; }
.head-actions { gap:8px; }
.btn, .icon-button, .text-btn { justify-content:center; }
.btn { height:35px; border-radius:5px; padding:0 13px; border:1px solid #cdd7ce; font-size:13px; font-weight:580; text-decoration:none; background:#fff; color:#304338; gap:6px; white-space:nowrap; }
.btn:hover { background:#eef4ee; }
.btn svg, .text-btn svg { width:15px;height:15px; }
.btn.primary { background:#215c44; color:#fff; border-color:#215c44; }
.btn.primary:hover { background:#194d39; }
.icon-button { width:34px; height:34px; padding:0; margin:0; border:0; border-radius:5px; background:transparent; color:#45604d; }
.icon-button:hover { background:#eff4ef; }
.kpi-band { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); background:white; border:1px solid var(--line); border-radius:8px; padding:20px 0; }
.kpi { position:relative; min-width:0; padding:0 18px; appearance:none; border:0; background:transparent; color:inherit; text-align:left; }
button.kpi:focus-visible { outline-offset:-2px; }
button.kpi:hover .k-foot { color:var(--green); }
.kpi + .kpi { border-left:1px solid #d9e2d9; }
.k-label { display:flex; align-items:center; gap:6px; color:#53685a; font-size:12px; font-weight:560; }
.k-icon { display:inline-flex; color:#64806c; }
.k-icon svg { width:14px; height:14px; }
.k-number { position:relative; z-index:1; width:max-content; max-width:100%; margin:4px 0; font-family:"Segoe UI","Microsoft YaHei UI",sans-serif; color:#21362c; font-size:32px; line-height:1.25; font-weight:650; }
.k-unit { font-weight:500; color:#5f7567; margin-left:3px; font-size:13px; }
.k-value { display:flex; align-items:baseline; gap:2px; }
.k-foot { display:flex; align-items:center; gap:4px; margin:4px 0 0; min-height:17px; color:#607066; font-size:11px; }
.k-spark { position:absolute; right:16px; top:26px; width:52px; height:23px; max-width:26%; color:#268966; }
.k-spark svg, svg.k-spark { display:block; }
.k-spark>svg { width:100%;height:100%; }
.kpi:is(.good,.healthy) .k-number,.k-number.healthy,.kpi .k-foot.healthy { color:#0b7450; }
.kpi:is(.warn,.warning) .k-number,.k-number.warning { color:#a45c14; }
.kpi:is(.bad,.critical) .k-number,.k-number.critical { color:#ab3e34; }
.kpi.quiet .k-number { color:#6c7b70; }
.board, .lower { margin-top:18px; display:grid; grid-template-columns:minmax(0,1.8fr) minmax(288px,1fr); gap:16px; align-items:stretch; }
.sheet { min-width:0; padding:18px 20px 15px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.panel-head { justify-content:space-between; gap:10px; margin-bottom:14px; }
.panel-head h2 { margin:2px 0 0; font-size:18px; line-height:1.4; font-weight:680; }
.panel-head h2 small { display:inline-block; margin-left:3px; color:#607064; font-size:12px; font-weight:550; vertical-align:middle; }
.section-label { gap:5px; color:#617568; line-height:1.45; font-size:10px; font-weight:550; }
.mark { width:5px; height:5px; border-radius:1px; background:#458578; }
.mark.ochre { background:#ac8046; } .mark.blue { background:#6c90a4; }
.hardware { flex:none; padding:2px 6px; color:#506456; background:#f3f6f0; font-size:10px; border:1px solid #e2e8de; border-radius:4px; white-space:nowrap; }
.text-btn { gap:3px; border:0; border-radius:3px; padding:4px 0 4px 5px; background:transparent; color:#246448; font-size:12px; font-weight:600; white-space:nowrap; }
.text-btn:hover { color:#132e20; text-decoration:underline; }
.text-btn svg { width:13px; height:13px; }
.resource-sheet { display:flex; flex-direction:column; }
#resources { flex:1; display:flex; flex-direction:column; justify-content:space-between; gap:7px; }
.resource { min-width:0; }
.resource-top { display:flex; align-items:baseline; justify-content:space-between; gap:5px; margin-bottom:3px; }
.resource-name,.resource-value { display:inline-flex; align-items:center; gap:6px; }
.resource-name { color:#506356; font-size:12px; }
.resource-name svg { color:#738c7b; width:14px; height:14px; }
.resource-value { font-size:12px; font-weight:600; color:#283d30; }
.meter-track { display:block; width:100%; height:4px; overflow:hidden; border-radius:3px; background:#e9ede7; }
.meter-track > i { background:#368960; display:block; height:100%; border-radius:inherit; }
.meter-track > i:is(.warn,.warning), .resource:is(.warn,.warning) .meter-track>i { background:#bc802b; }
.meter-track > i:is(.bad,.critical), .resource:is(.bad,.critical) .meter-track>i { background:#bd5146; }
.resource-sub { color:#617066; font-size:10px; }
.resource-sub:empty { display:none; }
.resource-foot { gap:6px; margin-top:12px; padding-top:8px; border-top:1px solid #e5eae4; color:#67776c; font-size:10px; }
.resource-foot svg { width:12px; height:12px; }
.resource-foot span { width:3px;height:3px;border-radius:50%;background:#a8b5aa; }
.attention-row { display:grid; grid-template-columns:minmax(65px,.55fr) minmax(85px,1.8fr) max-content 13px; width:100%; align-items:center; gap:9px; padding:8px 0; border:0; border-top:1px solid #e3e8e2; color:var(--ink); background:transparent; text-align:left; font-size:12px; }
.attention-identity { display:grid; grid-template-columns:minmax(0,1fr); line-height:1.35; }
.attention-identity small { font-size:10px; font-weight:500; color:#718074; }
.attention-row > i svg { width:13px;height:13px;color:#829086; }
.attention-row:hover { background:#f6f8f4; }
.attention-row > svg { flex:none; width:14px; height:14px; color:#7c8e80; }
.mono { font-family:Consolas,"SFMono-Regular",monospace; font-weight:600; }
.issue-meta { color:#5e6e63; font-size:11px; }
.state-dot { flex:none; display:inline-block; width:7px; height:7px; border-radius:50%; background:#829086; }
.state-dot.good, .round-bar>i.good { background:#40855f; }
.state-dot.warn, .round-bar>i.warn { background:#bc873b; }
.state-dot.bad, .round-bar>i.bad { background:#b95747; }
.state-dot.quiet, .round-bar>i.quiet { background:#a3afa5; }
.badge { width:max-content; white-space:nowrap; padding:2px 7px; border-radius:4px; font-size:11px; line-height:1.5; }
.badge.good { color:#266346;background:#e9f2ea; }
.badge.warn { color:#825617;background:#f8f0da; }
.badge.bad { color:#91473a;background:#f8eae5; }
.badge.quiet { color:#506158;background:#edf0eb; }
.badge { gap:4px; }
.badge .state-dot { width:5px;height:5px;background:currentColor; }
.round-item.good .state-dot { background:#40855f; }
.round-item.warn .state-dot { background:#bc873b; }
.round-item.quiet .state-dot { background:#a3afa5; }
.round-top, .round-next, .round-counts { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.round-top { font-size:14px; } .round-top small,.round-top time { color:#5b6e60; font-size:11px; }
.round-bar { width:100%; display:flex; gap:2px; margin:15px 0 8px; height:6px; background:#edf1ed; border-radius:3px; overflow:hidden; }
.round-bar>i { display:block; height:100%; }
.round-item { display:inline-flex; align-items:center; gap:4px; color:#506356; font-size:11px; white-space:nowrap; }
.round-next { justify-content:flex-start; margin-top:13px; padding-top:10px; border-top:1px solid #e4eae3; color:#5d7062; font-size:11px; }
.page-foot { display:flex; justify-content:space-between; gap:8px; margin-top:20px; color:#728075; font-size:10px; }
#toast { position:fixed; z-index:8; right:20px; bottom:18px; max-width:calc(100% - 40px); padding:10px 16px; border-radius:5px; background:#253e30; color:white; box-shadow:0 4px 18px #18382b22; font-size:13px; }
dialog { max-width:min(540px,calc(100% - 32px)); width:100%; max-height:calc(100dvh - 32px); overflow:auto; padding:0; border:1px solid #ccd8ce; background:#fff; color:var(--ink); border-radius:8px; box-shadow:0 18px 64px #112b1e40; }
dialog::backdrop { background:#15332661; }
.dialog-head, .detail-line,.detail-hero { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.dialog-head { padding:15px 19px; border-bottom:1px solid var(--line); }
.dialog-head h2 { margin:0; font-size:18px; font-weight:680; }
#dialog-body { padding:19px; }
.detail-list { display:grid; gap:0; }
.detail-line { padding:9px 0; border-bottom:1px solid #e4e9e4; font-size:13px; }
.detail-line:last-child { border:0; }
.detail-hero { justify-content:flex-start; align-items:baseline; margin-bottom:12px; font-size:35px; font-weight:650; }
.detail-hero.good { color:#0b7450; } .detail-hero.warn { color:#a45c14; } .detail-hero.bad { color:#ab3e34; } .detail-hero.quiet { color:#6c7b70; }
.detail-hero small { font-size:15px; font-weight:500; color:var(--muted); }
.detail-text { margin:9px 0; color:var(--muted); }
@media(min-width:1550px) { .content { padding-inline:40px; } .kpi { padding-inline:25px; } .k-spark { right:25px; } }
@media(max-width:1180px) and (min-width:781px) { :root { --side-width:178px; } .content { padding-inline:22px; } .top { padding-inline:22px; } .side { padding-inline:11px; } .kpi { padding-inline:13px; } .k-spark { width:40px; right:11px; } .board,.lower { grid-template-columns:minmax(0,1.6fr) minmax(245px,1fr);gap:12px; } .sheet { padding-inline:16px; } }
@media(max-width:1000px) and (min-width:781px) { .k-spark { display:none; } .k-number { font-size:28px; } .board,.lower { grid-template-columns:minmax(0,1.5fr) minmax(212px,1fr); } .round-counts { gap:3px; } }
@media(max-width:780px) {
  :root { --side-width:220px; }
  .side { transform:translateX(-100%); visibility:hidden; }
  .nav-open .side { transform:none; visibility:visible; }
  .nav-open .scrim:not([hidden]) { display:block!important; position:fixed; z-index:3; inset:0; width:100%; height:100%; border:0; background:#1531265e; }
  .mobile-only { display:inline-flex!important; }
  #workspace { margin-left:0; }
  .top { padding:0 12px; height:50px; }
  .crumb { gap:5px; }
  .content { padding:17px 14px 14px; }
  .kpi-band { grid-template-columns:repeat(2,minmax(0,1fr)); padding:0 13px; }
  .kpi { margin:0; padding:12px 11px; }
  .kpi:nth-child(odd) { border-left:0; }
  .kpi:nth-child(-n+2) { border-bottom:1px solid #dce4dc; }
  .kpi:nth-child(even) { padding-left:17px; }
  .k-spark { width:46px; right:8px; top:36px; }
  .board,.lower { grid-template-columns:minmax(0,1fr); gap:12px; margin-top:12px; }
  .sheet { padding:16px; }
  #resources { gap:8px; }
}
@media(max-width:520px) {
  .crumb-root, .top-right > .divider, .top-right > i { display:none!important; }
  .top-right { gap:6px; } .top-right time { font-size:10px; }
  .page-head { align-items:flex-start; flex-wrap:wrap; gap:10px; margin-bottom:14px; }
  .page-head h1 { font-size:25px; }
  .page-head p { font-size:11px; max-width:40ch; }
  .head-actions { gap:5px; }
  .btn { height:32px; padding-inline:8px; font-size:12px; }
  .k-number { font-size:26px; }
  .kpi-band { padding:0; }
  .k-spark { width:33px; }
  .k-foot { font-size:10px; }
  .round-counts { justify-content:flex-start; flex-wrap:wrap; gap:12px; }
}
@media(max-width:350px) { .k-spark { display:none; } .content { padding-inline:10px; } }
@media (prefers-reduced-motion:no-preference) { .btn,.text-btn,.side nav a { transition:background-color .12s,color .12s; } }
.health-scale{margin-inline-start:auto;width:clamp(30px,4vw,64px);height:4px;background:#e8eee9;border-radius:3px;overflow:hidden;flex-shrink:0}
.health-scale i{display:block;height:100%;background:#258451}
.health-scale.warn i{background:#c17626}.health-scale.bad i{background:#be4946}
