:root { color-scheme: light; color: #18263d; background: #f2f5f9; font: 14px/1.55 "Microsoft YaHei", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1480px; margin: auto; padding: 26px; }
header, nav, .toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
header { justify-content: space-between; }
h1 { margin: 0 0 10px; font-size: 26px; }
h2 { margin: 0 0 12px; font-size: 18px; }
nav { margin: 0 0 14px; }
nav a { color: #235ab0; padding: 5px 10px; background: #e5edf9; border-radius: 6px; text-decoration: none; }
section { background: white; border: 1px solid #dce4ee; border-radius: 10px; margin: 0 0 14px; padding: 16px; }
.toolbar { align-items: end; }
label { display: grid; gap: 3px; }
input, select, button { border: 1px solid #bfd0e2; border-radius: 6px; padding: 7px 9px; background: white; color: inherit; font: inherit; }
input[type="number"] { width: 74px; }
button { cursor: pointer; }
button:hover { border-color: #235ab0; }
.primary { background: #235ab0; border-color: #235ab0; color: white; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(108px,1fr)); gap: 8px; }
.metrics div { background: #f3f6fb; border: 1px solid #e6ecf4; border-radius: 6px; padding: 8px 10px; }
.metrics dd { margin: 0; font-size: 17px; font-weight: 700; }
.metrics dt, .hint { color: #4d6078; }
.license { padding: 8px 0; border-top: 1px solid #e6ecf4; }
.label { align-self: center; min-width: 170px; }
.table-wrap { overflow: auto; }
table { border-collapse: collapse; width: 100%; white-space: nowrap; }
td, th { padding: 6px 8px; border-bottom: 1px solid #e6ecf4; text-align: left; }
th { color: #324766; background: #f3f6fb; }
.notice, .error { padding: 9px 12px; border-radius: 6px; background: #e0f3eb; }
.error { background: #ffe9e9; color: #92272d; }
.login { max-width: 420px; margin: 24px auto; }
.login button { margin-top: 12px; }
code { overflow-wrap: anywhere; }
