:root {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #172940;
  background: #f3f6fa;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(calc(100% - 32px), 640px); margin: clamp(26px, 6vw, 68px) auto; }
main.wide { width: min(calc(100% - 32px), 1120px); }
header { margin-bottom: 22px; border-top: 4px solid #205891; padding-top: 20px; }
h1 { margin: 0; font-size: clamp(24px, 5vw, 36px); line-height: 1.28; }
h2 { margin-top: 0; }
header p, .hint { color: #4c5c70; }
header p { margin: 10px 0 0; }
.panel { padding: clamp(18px, 4vw, 30px); border: 1px solid #d8e1ec; border-radius: 12px; background: #fff; }
label { display: block; font-weight: 650; margin-bottom: 6px; }
input:not([type="hidden"]) { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #a8b7c9; border-radius: 6px; font: inherit; margin: 0 0 18px; }
input[type="file"] { background: #f6f8fc; }
.hint { margin: 0 0 8px; font-size: .9rem; }
.hint:empty { display: none; }
button, .button { display: inline-block; border: 1px solid transparent; padding: 10px 16px; border-radius: 6px; background: #205891; color: #fff; text-decoration: none; font: inherit; font-weight: 650; cursor: pointer; }
button:hover, .button:hover { background: #174674; }
button:disabled { opacity: .7; cursor: wait; }
.secondary { background: #eef4fb; color: #174674; border-color: #b6c8de; }
.secondary:hover { background: #dde9f7; }
:focus-visible { outline: 3px solid #386bb0; outline-offset: 2px; }
.error { background: #fff1f1; color: #932525; padding: 12px; border-radius: 6px; margin-top: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.table-wrap { overflow: auto; }
table { width: 100%; min-width: 710px; border-collapse: collapse; text-align: left; }
th, td { padding: 12px 10px; border-bottom: 1px solid #d8e1ec; overflow-wrap: anywhere; }
th { background: #eef4fb; }
td a { color: #174674; }
