:root {
  font: 14px/1.5 Inter, "Microsoft YaHei UI", "PingFang SC", sans-serif;
  color:#152d42;
  background:#eef4f8;
  --ink:#152d42;
  --muted:#4f687e;
  --blue:#115ea8;
  --rule:#dbe7f0;
  --surface:#fff;
  --water:#e9f3fc;
  --good:#126d57;
}
* {box-sizing:border-box}
body {margin:0}
h1,h2,p,dl,dd {margin:0}
a {text-decoration:none;color:var(--blue)}
a:hover {text-decoration:underline;text-underline-offset:3px}
button {font:inherit;cursor:pointer;color:var(--ink);border:1px solid var(--rule);background:#fff;border-radius:7px;padding:7px 12px}
button:hover {border-color:#8eb7dd;background:#f5faff}
a:focus-visible, button:focus-visible {outline:2px solid #126bb8;outline-offset:3px}
.layout {width:min(1540px,100%);margin:auto;padding:24px clamp(14px,3vw,42px) 34px}
.page-head {display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:100px;margin-bottom:20px;border-bottom:1px solid #d6e3ed;padding-bottom:17px}
.page-head nav {display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin-bottom:8px}
.page-head h1 {font-size:clamp(22px,2.3vw,32px);letter-spacing:-.035em;line-height:1.25}
.page-head p {color:var(--muted);margin-top:7px}
.head-actions {display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.demo-tag {background:#dcecff;color:#144e82;border-radius:999px;font-weight:650;padding:5px 11px;font-size:12px;white-space:nowrap}
.back-action {white-space:nowrap}
.period-line {display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:10px}
.period-line strong {font-size:15px}
.segment {display:flex;gap:2px;align-items:center;flex-wrap:wrap}
.segment button {background:transparent;border-color:transparent;padding:5px 9px;white-space:nowrap;color:var(--muted);font-size:12px}
.segment button:hover {color:var(--blue);background:#eef6ff}
.segment button[aria-pressed=true] {background:#e2effc;color:#0d5598;font-weight:700}
.period-line .segment {background:#fff;border:1px solid var(--rule);padding:3px;border-radius:9px}
.metrics {display:grid;grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:12px;margin-bottom:16px}
.metric,.surface {background:var(--surface);border:1px solid var(--rule);border-radius:12px}
.metric {padding:12px 15px}
.metric span,.metric small {font-size:12px;color:var(--muted)}
.metric strong {display:block;font-variant-numeric:tabular-nums;font-size:clamp(16px,2vw,26px);line-height:1.55;font-weight:700;overflow-wrap:anywhere}
.metric em {font-size:12px;color:var(--muted);font-style:normal;font-weight:500;white-space:nowrap}
.metric small:empty {display:none}
.surface {overflow:hidden;min-width:0}
.section-header {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 10px;padding:10px 14px;min-height:49px;border-bottom:1px solid #e8eff5}
.section-header h2 {font-size:15px;font-weight:700}
.section-header p {font-size:12px;color:var(--muted)}
.overview-grid {display:grid;grid-template-columns:minmax(0,2.35fr) minmax(270px,1fr);gap:14px;margin-bottom:14px}
.project-side {display:flex;flex-direction:column;gap:14px}
.project-side>.surface:last-child {flex:1}
.map {position:relative;display:grid;place-items:center;min-height:300px;height:clamp(330px,45vh,510px);background:var(--water);overflow:hidden}
.map-layer {position:relative;max-width:100%;width:min(100%, calc(clamp(330px,45vh,510px) * 1120 / 660));aspect-ratio:1120/660;background:url('./map.png') center/contain no-repeat}
.marker {position:absolute;display:flex;align-items:center;gap:5px;transform:translate(-7px,-9px);padding-right:7px;border-radius:999px;background:#f8fcff;box-shadow:0 1px 3px #16385535;color:#164977;white-space:nowrap;font-size:11px;font-weight:700;z-index:1}
.marker:hover,.marker:focus {z-index:2}
.marker:nth-child(2) {transform:translate(-7px,-18px)}
.marker:nth-child(3) {transform:translate(-7px,2px)}
.marker i,.dot {display:inline-block;width:9px;height:9px;border-radius:50%;background:#16826e}
.marker i {width:11px;height:11px;border:2px solid #fff;box-shadow:0 0 0 2px #1b729c;margin-right:2px}
.map-key {position:absolute;left:10px;bottom:10px;padding:5px 8px;background:#ffffffea;color:var(--muted);border:1px solid #ceddeb;border-radius:5px;font-size:11px}
.rows {padding:0 12px}
.entry {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 3px;border-bottom:1px solid #e6eef5;color:var(--ink)}
.entry:last-child {border:0}
.entry b {font-size:13px}
.entry small {display:block;color:var(--muted);margin-top:4px;font-size:12px}
.status {white-space:nowrap;color:var(--good);font-size:12px}
.status .dot {margin-right:5px}
.customer-list {padding:2px 14px 7px;font-size:12px}
.customer-list div {display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #ebf2f7}
.customer-list div:last-child {border:0}
.customer-list dd {font-variant-numeric:tabular-nums;color:var(--muted)}
.lower-grid {display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,1.35fr);gap:14px}
.trend {display:block;width:100%;height:166px}
.trend-note {padding:0 14px 9px;font-size:12px;color:var(--muted)}
.scroll {overflow:auto}
table {width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}
th,td {padding:9px 9px;border-bottom:1px solid #e8eff5}
th {background:#f5f9fc;color:var(--muted);font-weight:650}
td:first-child,th:first-child {white-space:normal}
.single-trend {margin-top:14px}
.detail-grid {display:grid;grid-template-columns:minmax(0,3.2fr) minmax(220px,1fr);gap:14px}
.model {display:block;width:100%;height:clamp(555px,70vh,820px);border:0;background:#eaf4ff}
.point {display:flex;justify-content:space-between;gap:8px;padding:8px 12px;border-bottom:1px solid #edf2f7;font-size:12px}
.point b {white-space:nowrap;font-variant-numeric:tabular-nums}
.point:nth-child(even) {background:#f6faff}
.scenario {margin-bottom:14px}
.scenario-inner {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:9px 12px}
.scenario p {color:var(--muted);font-size:12px}
.loading {padding:20px;color:var(--muted)}
#app:fullscreen {background:#eef4f8;overflow:auto}
@media(max-width:920px) {
  .detail-grid,.lower-grid {grid-template-columns:minmax(0,1fr)}
  .records {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:690px) {
  .layout {padding-top:15px}
  .overview-grid {grid-template-columns:minmax(0,1fr)}
  .page-head {display:grid;gap:12px}
  .metrics {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .metric {padding:10px 9px}
  .map {min-height:0;height:auto}
  .map-layer {width:100%}
  .map-key {font-size:10px;bottom:4px;left:4px}
  .model {height:560px}
}
@media(max-width:440px) {.records{grid-template-columns:1fr}.info{font-size:12px}}
