:root {
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #192d29;
  background: #f4f6f3;
  font-size: 15px;
  --green: #185944;
  --muted: #526761;
  --line: #d8e1dc;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #388b83; outline-offset: 3px; }
.skip { position: absolute; top: -60px; left: 10px; z-index: 9; background: white; padding: 10px; }
.skip:focus { top: 4px; }
.mast { background: #173d35; color: white; }
.mast-inner, .nav-inner, .content { width: min(1536px, 100%); margin-inline: auto; }
.mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px clamp(16px, 3vw, 48px); }
.brand, .account, .nav-inner, .presets, .results-head > div, .paging, .paging > div { display: flex; align-items: center; }
.brand { color: white; text-decoration: none; font-weight: 600; gap: 17px; }
.wordmark { font: 750 22px/1.2 "Segoe UI", sans-serif; letter-spacing: -.06em; padding-right: 17px; border-right: 1px solid #719188; }
.account { gap: 17px; font-size: 13px; color: #e2ede5; }
.logout { background: transparent; color: white; border: 1px solid #6d8981; border-radius: 5px; padding: 5px 10px; }
nav { background: #fff; border-bottom: 1px solid var(--line); }
.nav-inner { padding-inline: clamp(16px, 3vw, 48px); gap: 28px; }
.nav-inner a { color: var(--muted); padding: 16px 2px 13px; text-decoration: none; border-bottom: 3px solid transparent; font-weight: 600; white-space: nowrap; }
.nav-inner a[aria-current] { color: var(--green); border-color: var(--green); }
.nav-inner a:hover, .presets a:hover { color: #124d36; background: #f0f5f0; }
.content { padding: 30px clamp(16px, 3vw, 48px) 48px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 650; line-height: 1.3; }
.heading p, .lede { color: var(--muted); margin-top: 7px; line-height: 1.65; }
.heading { margin-bottom: 22px; }
.panel, .login-card { background: white; border: 1px solid var(--line); border-radius: 10px; }
.filters { padding: 19px 22px 14px; }
.fields { display: grid; grid-template-columns: minmax(139px, 1fr) minmax(139px, 1fr) minmax(200px, 2fr) minmax(110px, .72fr) auto; align-items: end; gap: 13px; }
label { display: grid; gap: 6px; min-width: 0; color: #344a42; font-weight: 600; font-size: 13px; }
input, select { width: 100%; min-width: 0; border: 1px solid #b8c9bf; border-radius: 5px; padding: 8px 10px; min-height: 40px; background: white; color: #1d3029; font-size: 14px; font-weight: 400; }
input::placeholder { color: #6c7e75; }
.primary { background: var(--green); color: white; min-height: 40px; border: 1px solid var(--green); border-radius: 5px; font-weight: 600; padding: 8px 22px; }
.primary:hover { background: #104533; }
.presets { flex-wrap: wrap; gap: 9px; margin-top: 13px; font-size: 13px; color: var(--muted); }
.presets a { padding: 3px 8px; border-radius: 4px; text-decoration: none; color: #435f52; }
.presets .selected { background: #e4efe7; color: #184d36; font-weight: 600; }
.presets .reset { margin-left: auto; text-decoration: underline; text-underline-offset: 2px; }
.results { margin-top: 20px; }
.results-head, .paging { padding: 17px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.results-head > div { gap: 12px; }
h2 { font-size: 19px; }
.count, .paging { color: var(--muted); font-size: 13px; }
details { position: relative; font-size: 13px; color: var(--green); }
details p { position: absolute; right: 0; z-index: 1; background: white; color: #30463b; width: min(330px, 78vw); padding: 14px; border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 6px 18px #173d351c; line-height: 1.65; }
.table-scroll { width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
thead { background: #edf2ee; color: #41584a; }
th, td { text-align: left; white-space: nowrap; padding: 11px 13px; border-top: 1px solid #e1e6e1; }
th { font-size: 13px; font-weight: 600; }
th:first-child, td:first-child { padding-left: 22px; }
tbody tr:hover { background: #f5f8f5; }
.mono { font-family: "Segoe UI", "Microsoft YaHei", sans-serif; font-variant-numeric: tabular-nums; }
.number { text-align: right; }
.issued { color: #10573a; background: #edf5ee; font-weight: 650; }
.index { color: var(--muted); }
.empty { text-align: center; padding: 42px 16px; border-top: 1px solid var(--line); }
.empty p, .remember { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 8px; }
.paging { border-top: 1px solid var(--line); }
.paging > div { gap: 13px; }
.paging a { text-decoration: none; border: 1px solid var(--line); padding: 5px 10px; border-radius: 4px; }
.tool-surface iframe { border: 0; display: block; width: 100%; height: calc(100vh - 119px); height: calc(100dvh - 119px); min-height: 440px; background: white; }
.login-layout { min-height: 75vh; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: min(408px, 100%); padding: 32px; }
.login-card h1 { font-size: 27px; }
.emblem { display: flex; align-items: end; gap: 3px; height: 30px; margin-bottom: 19px; }
.emblem i { width: 10px; height: 14px; background: #317352; transform: skew(-12deg); }
.emblem i:nth-child(2) { height: 21px; background: #649575; }
.emblem i:last-child { height: 28px; background: #9db79b; }
.login-card form { margin-top: 22px; }
.login-card .primary { width: 100%; margin-top: 15px; }
.primary span { float: right; }
.login-card .remember { margin-top: 16px; font-size: 13px; }
.error { margin-top: 9px; color: #923c2b; }
@media (max-width: 850px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .search { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .mast-inner { padding: 14px 12px; }
  .wordmark { font-size: 19px; padding-right: 9px; }
  .brand { gap: 9px; font-size: 14px; }
  .location { display: none; }
  .nav-inner { justify-content: space-between; gap: 4px; padding: 0 12px; }
  .nav-inner a { font-size: 14px; padding-block: 14px 11px; }
  .content { padding: 20px 12px; }
  .filters { padding: 14px 12px; }
  .fields { gap: 9px; }
  .presets { gap: 3px; }
  .results-head, .paging { padding: 14px 12px; }
  th:first-child, td:first-child { padding-left: 12px; }
  .login-card { padding: 25px; }
  .tool-surface iframe { height: calc(100dvh - 100px); }
}
