:root {
  color-scheme: light;
  font-family: 'Microsoft YaHei UI', 'PingFang SC', 'Noto Sans CJK SC', sans-serif;
  color: #202a24;
  background: #f3f4ef;
  font-size: 14px;
  line-height: 1.55;
  --border: #dce3da;
  --quiet: #535e56;
  --green: #295943;
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
[hidden], #status:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.workspace { max-width: 1140px; margin: auto; padding: 36px clamp(14px, 4vw, 46px) 52px; }
.page-heading { border-left: 4px solid var(--green); padding-left: 16px; margin-bottom: 24px; }
h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; }
.page-heading p, .form-footer p { color: var(--quiet); }
.page-heading p { margin-top: 8px; }
form { background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 1px 2px rgb(31 48 34 / 7%); }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
input, select, button {
  font: inherit;
  color: inherit;
  padding: 7px 9px;
  border-radius: 6px;
  border: 1px solid #c8d3c9;
  background: white;
  min-height: 36px;
}
input, select { min-width: 0; width: 100%; }
input { font-variant-numeric: tabular-nums; }
button { background: var(--green); color: white; border-color: var(--green); cursor: pointer; white-space: nowrap; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; text-align: left; width: 100%; min-width: 710px; }
th, td { padding: 10px 8px; border-top: 1px solid var(--border); }
th:first-child { padding-left: 18px; width: 112px; white-space: nowrap; }
th:last-child, td:last-child { padding-right: 18px; }
thead { background: #f3f7f0; color: var(--green); }
td:nth-child(2) { width: 24%; }
td:nth-child(3) { width: 112px; }
.form-footer { padding: 14px 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#status { margin-top: 12px; color: var(--quiet); }
#status[data-state='error'] { color: #9a351d; }
#status[data-state='success'] { color: var(--green); }
@media (max-width: 540px) {
  .workspace { padding-top: 22px; }
  .form-footer { align-items: start; flex-direction: column; }
}
