:root {
  color-scheme: light;
  --surface: #fff;
  --backdrop: #f1f4f8;
  --ink: #15243a;
  --muted: #495d75;
  --line: #dce4ee;
  --nav: #13233b;
  --blue: #145db3;
  --blue-dark: #0f4a94;
  --green: #126351;
  --red: #a32738;
  --orange: #864708;
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--backdrop); color: var(--ink); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.2; letter-spacing: -.03em; font-weight: 760; }
h2 { font-size: 1.12rem; line-height: 1.35; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid #4a90d4; outline-offset: 3px; }
.skip { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: .6rem; background: white; }
.skip:focus { top: .25rem; }
.site-header { background: var(--nav); color: #fff; }
.topline { max-width: 1340px; margin: 0 auto; min-height: 64px; padding: .65rem 1.6rem; display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.topline a { color: #e8eef8; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.13rem; font-weight: 750; }
.brand-sign { background: #367dcb; color: #fff; border-radius: .45rem; display: grid; place-items: center; width: 2rem; height: 2rem; font-size: 1rem; }
.topline nav, .session { display: flex; gap: 1.15rem; align-items: center; font-size: .92rem; }
.session { margin-left: auto; }
.session span { max-width: 20ch; overflow: hidden; text-overflow: ellipsis; }
.quiet { border: 1px solid #647d9a; border-radius: .35rem; padding: .25rem .7rem; background: none; color: #fff; cursor: pointer; }
.shell { max-width: 1340px; margin: 0 auto; padding: 2.15rem 1.6rem 4rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: .7rem; box-shadow: 0 2px 7px #23364a08; }
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.hero p, .page-heading p { margin-top: .7rem; color: var(--muted); }
.hero-count { display: flex; gap: 1.5rem; }
.hero-count div { border-left: 1px solid #afc3dc; padding-left: 1rem; min-width: 6.1rem; }
.hero-count strong { font-size: 1.55rem; display: block; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hero-count span { font-size: .9rem; color: var(--muted); }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.batch-card { display: grid; gap: .85rem; padding: 1.25rem; color: inherit; min-height: 12rem; align-content: start; }
.batch-card:hover { border-color: #88add8; text-decoration: none; }
.batch-card:hover .card-foot { text-decoration: underline; }
.batch-card p { min-height: 3rem; color: var(--muted); }
.card-metrics { display: flex; gap: .6rem 1.05rem; flex-wrap: wrap; font-size: .9rem; }
.card-foot { color: var(--blue); font-weight: 650; padding-top: .6rem; border-top: 1px solid var(--line); font-size: .9rem; }
.page-heading { margin-bottom: 1.35rem; }
.breadcrumb { display: inline-block; margin-bottom: .75rem; font-size: .92rem; }
.title-row { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.filters { padding: 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; gap: .85rem; margin-bottom: 1.15rem; }
label { display: grid; gap: .28rem; font-size: .88rem; color: var(--muted); font-weight: 650; }
input:not([type=checkbox]), select { width: 100%; min-height: 2.4rem; border: 1px solid #adbed0; border-radius: .36rem; background: white; color: var(--ink); padding: .38rem .55rem; }
select { cursor: pointer; appearance: none; padding-right: 1.8rem;
  background-image: linear-gradient(45deg, transparent 50%, #536580 50%), linear-gradient(135deg, #536580 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 10px) 52%; background-size: 4px 4px; background-repeat: no-repeat; }
input[type=checkbox] { accent-color: var(--blue); width: 1.1rem; height: 1.1rem; vertical-align: middle; cursor: pointer; }
.actions, .row-form { display: flex; align-items: end; gap: .6rem; flex-wrap: wrap; }
.primary, .button { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; min-height: 2.4rem; border: 1px solid #aebed1; border-radius: .36rem; padding: .34rem .85rem; background: white; color: var(--ink); font-size: .88rem; font-weight: 650; cursor: pointer; white-space: nowrap; }
.primary, .comparison:not(:disabled) { background: var(--blue); color: white; border-color: var(--blue); }
.primary:hover, .comparison:not(:disabled):hover { background: var(--blue-dark); }
.button:hover { text-decoration: none; border-color: var(--blue); }
.button:disabled { opacity: .55; cursor: default; }
.table-toolbar, .section-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 1rem 1.15rem; }
.table-toolbar p, .section-head p { margin-top: .25rem; }
.count { margin-left: .3rem; color: var(--muted); font-size: .85rem; font-weight: 500; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { text-align: left; text-wrap: nowrap; padding: .65rem .85rem; border-bottom: 1px solid #e4ebf3; vertical-align: middle; }
th { color: #3e5270; font-weight: 700; background: #f5f8fb; }
tbody tr:hover { background: #f4f8fd; }
td strong { font-weight: 680; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.muted, .unit { color: var(--muted); }
.small { font-size: .82rem; }
.positive { color: var(--green); }
.negative { color: var(--red); }
.state { display: inline-flex; border-radius: .3rem; padding: .17rem .44rem; font-size: .8rem; font-weight: 650; }
.state.stop { background: #fee9ec; color: var(--red); }
.state.terminal { background: #fff0d7; color: var(--orange); }
.state.normal { background: #e7f5f0; color: var(--green); }
.pagination { padding: .85rem 1.15rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .65rem; font-size: .88rem; }
.pagination > :first-child { justify-self: start; }
.pagination > :last-child { justify-self: end; }
.empty { text-align: center; padding: 1.9rem 1rem; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; margin-bottom: 1rem; }
.metric { display: grid; gap: .3rem; padding: .9rem 1rem; }
.metric span { font-size: .88rem; color: var(--muted); }
.metric strong { font-size: clamp(1.3rem,4vw,1.85rem); line-height: 1.22; font-variant-numeric: tabular-nums; }
.details { padding: 1rem 1.15rem; margin-bottom: 1rem; }
.details h2 { margin-bottom: .65rem; }
dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.1rem; }
dl div { border-top: 1px solid #e4ebf3; padding: .55rem .25rem 0 0; }
dt { color: var(--muted); font-size: .87rem; }
dd { margin: .12rem 0 0; font-size: .92rem; font-variant-numeric: tabular-nums; }
.chart-block { margin: 1rem 0; padding-bottom: .9rem; }
.chart { width: 100%; }
.chart.large { height: 365px; }
.chart.secondary { height: 290px; }
.chart-captions { padding: .5rem 1.15rem; font-size: .87rem; }
.section-head p { color: var(--muted); font-size: .88rem; }
.source-data { display: none; }
.event-filter { min-width: 8rem; }
.login { width: min(100%,440px); margin: 6vh auto 0; padding: 2rem; }
.login .eyebrow { color: var(--blue); font-size: .89rem; font-weight: 700; margin-bottom: .6rem; }
.login h1 { font-size: 1.8rem; }
.login p { margin-top: .8rem; }
.stack { display: grid; gap: 1rem; margin-top: 1.35rem; }
.notice { padding: .85rem 1rem; }
.notice.warning { background: #fff0d7; color: var(--orange); border-radius: .4rem; }
.account { border-top: 1px solid var(--line); padding: .62rem .2rem; }
.account summary { cursor: pointer; font-weight: 700; }
.account-content { display: grid; gap: .75rem; padding: .7rem; }
.grants { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }
.grants label { display: flex; align-items: center; }
.subject { max-width: 28rem; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 940px) {
  .catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .shell { padding: 1.45rem .8rem 3rem; }
  .topline { gap: .55rem 1rem; padding: .72rem .8rem; }
  .topline nav, .session { gap: .65rem; }
  .catalog, dl { grid-template-columns: 1fr; }
  .batch-card { min-height: auto; }
  .batch-card p { min-height: auto; }
  .section-head { align-items: flex-start; }
  .chart.large { height: 310px; }
  .chart.secondary { height: 262px; }
  .login { padding: 1.35rem; }
}
