:root {
  color-scheme: light;
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f4f7fa;
  color: #172637;
  --line: #dde5ed;
  --muted: #52687b;
  --accent: #14625c;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.shell { max-width: 1140px; margin-inline: auto; padding: 0 24px; }
.masthead { min-height: 72px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { color: inherit; font-weight: 780; text-decoration: none; margin-inline-end: 12px; }
#scope, .identity, .muted { font-size: .9rem; color: var(--muted); }
.identity { display: flex; align-items: center; gap: 10px; }
#navigation { display: flex; gap: 6px; flex-wrap: wrap; padding: 20px 0 16px; }
#navigation button[aria-current="page"] { background: #ddefec; border-color: #b9dad4; color: #104e49; }
.card { padding: clamp(16px, 3vw, 28px); margin: 0 0 18px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.narrow { max-width: 410px; margin: 48px auto; }
h1, h2, h3, p { margin: 0 0 12px; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.45rem, 4vw, 2rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
a { color: #105f70; }
form { display: grid; gap: 12px; }
label { display: block; color: #334e62; font-size: .91rem; }
input:not([type="checkbox"]), select, textarea { width: 100%; display: block; margin-top: 4px; padding: 9px 11px; border: 1px solid #c4d2df; background: #fff; border-radius: 6px; color: inherit; font: inherit; }
input[readonly] { background: #f5f8fa; }
input[type="checkbox"] { margin-inline: 0 7px; }
button { padding: 8px 13px; border: 1px solid #c4d2df; background: #fff; color: inherit; border-radius: 7px; font: inherit; cursor: pointer; }
button:hover { background: #edf3f7; }
button:disabled { opacity: .55; cursor: wait; }
.primary { background: var(--accent); border-color: var(--accent); color: white; justify-self: start; }
.primary:hover { background: #104e49; }
:focus-visible { outline: 2px solid #207f99; outline-offset: 2px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%),1fr)); }
.row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.copy { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 6px; margin: 0 0 10px; }
.record { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.line { border-top: 1px solid var(--line); margin: 16px 0; }
#notice { margin-top: 12px; border: 1px solid #b9dad4; border-radius: 6px; padding: 10px; background: #e9f4f2; }
#notice[data-error="1"] { color: #84273c; background: #fbeff1; border-color: #ebc6cf; }
details > summary { cursor: pointer; font-weight: 630; margin-bottom: 8px; }
ul { padding-inline-start: 20px; }
@media (max-width: 560px) {
  .shell { padding-inline: 14px; }
  .masthead { min-height: 62px; }
  .wordmark { display: block; margin-inline-end: 0; }
  #navigation button { font-size: .88rem; padding: 7px 10px; }
}
