:root {
  color-scheme: light;
  font: 14px/1.5 "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  color: #202735;
  background: #f4f6f9;
  --paper: #fff;
  --muted: #526174;
  --line: #dce3eb;
  --accent: #204d78;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
button, input, select { font: inherit; color: inherit; }
button, input, select {
  min-height: 2.4rem;
  border: 1px solid #afbccb;
  border-radius: .3rem;
  padding: .35rem .65rem;
  background: var(--paper);
}
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 2px solid #2266a5; outline-offset: 2px; }
h1, h2, p { margin: 0; }
h1 { font-size: 1.65rem; }
h2 { font-size: 1.1rem; }

.for-page { max-width: 100rem; margin: auto; padding: 1.5rem clamp(.8rem, 3vw, 2.25rem); }
.for-header, .for-section-head, .for-pages { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; }
.for-header, .for-section-head { justify-content: space-between; }
.for-header { padding-bottom: 1rem; }
.for-filters, .for-section, .for-method { background: var(--paper); border: 1px solid var(--line); border-radius: .45rem; }
.for-filters { display: flex; align-items: end; flex-wrap: wrap; gap: .65rem 1rem; padding: .85rem; }
.for-filters label { display: grid; gap: .25rem; max-width: 100%; }
.for-filters select, .for-filters input { max-width: 100%; }
.for-filters button { padding-inline: 1.25rem; background: var(--accent); color: #fff; border-color: var(--accent); }
.for-status, .for-note, .for-method { color: var(--muted); }
.for-status { padding: .65rem 0; }
.for-section { margin-bottom: .85rem; }
.for-section-head { padding: .75rem .85rem; }
.for-section-head label, .for-pages label { display: inline-flex; align-items: center; gap: .45rem; }
.for-note { margin-top: .2rem; max-width: 62rem; }
.for-table-scroll { overflow: auto; }
.for-table-scroll:focus-visible { outline-offset: -2px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
thead, tfoot { background: #edf2f7; }
th, td { border-top: 1px solid var(--line); padding: .55rem .85rem; text-align: left; vertical-align: top; }
th { font-weight: 650; white-space: nowrap; }
tbody tr:nth-child(even) { background: #f8fafc; }
tbody tr:hover { background: #f0f6fc; }
.for-number { text-align: right; white-space: nowrap; }
.for-muted { color: var(--muted); }
.for-order-number { display: block; margin-top: .15rem; color: var(--muted); overflow-wrap: anywhere; }
.for-order-name { overflow-wrap: anywhere; }
.for-money { display: block; white-space: nowrap; }
.for-drill { min-height: auto; padding: 0; border: 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.for-pages { justify-content: flex-end; border-top: 1px solid var(--line); padding: .65rem .85rem; }
.for-method { padding: .75rem .85rem; }
.for-method summary { color: var(--accent); cursor: pointer; }
.for-method ul { margin: .55rem 0 0; padding-left: 1.5rem; }
.for-method li + li { margin-top: .35rem; }

@media (max-width: 42rem) {
  .for-page { padding-block: .75rem; }
  table { min-width: 36rem; }
  th, td { padding-inline: .65rem; }
}
