:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #143440;
  background: #edf5f7;
  line-height: 1.55;
  --accent: #087d76;
  --muted: #496675;
  --border: #d5e5e9;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 8% 0, #ceece8, transparent 60%); }
.shell { width: min(1168px, 100% - 48px); margin: 0 auto; padding: 54px 0 64px; }
.site-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 26px; }
.eyebrow { margin: 0 0 6px; color: #126c65; font-size: .875rem; font-weight: 700; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.2; letter-spacing: -.025em; }
h2 { font-size: 1.25rem; }
p { color: var(--muted); }
.badge { flex: none; padding: 4px 12px; border: 1px solid #a8d0cc; border-radius: 99px; background: #eaf7f4; color: #126b64; font-size: .875rem; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: 0 10px 30px #13504407; }
.panel + .panel { margin-top: 18px; }
.panel-heading, .actions, .filter-input, .pagination { display: flex; align-items: center; gap: 10px; }
.panel-heading { justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.panel-heading p { margin-top: 4px; }
.actions { flex-wrap: wrap; }
button, .button, input { font: inherit; border: 1px solid #b6d1d7; border-radius: 9px; }
button, .button { display: inline-flex; align-items: center; min-height: 42px; padding: 7px 14px; background: #fff; color: inherit; font-weight: 650; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: #ecf7f5; }
button:disabled { opacity: .45; cursor: default; }
.primary { background: var(--accent); color: white; border-color: var(--accent); }
.primary:hover { background: #066d66; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.filters { max-width: 620px; margin: 22px 0; }
label { display: block; font-weight: 650; margin-bottom: 6px; }
input { flex: 1; min-width: 0; padding: 9px 12px; color: inherit; }
.filters p { font-size: .875rem; margin-top: 6px; }
.tabs { display: flex; gap: 4px; padding: 4px; margin: 16px 0 12px; background: #e7f3f1; border-radius: 10px; }
.tabs button { flex: 1; justify-content: center; background: transparent; border-color: transparent; }
.tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
table { width: 100%; min-width: 625px; border-collapse: collapse; text-align: left; font-size: .9375rem; }
th, td { padding: 12px 14px; vertical-align: middle; }
th { width: 34%; background: #f0f7f7; }
th:last-child { width: 32%; }
td { border-top: 1px solid var(--border); overflow-wrap: anywhere; }
td a { color: #126b64; }
tbody tr:nth-child(even) { background: #f8fbfc; }
.pagination { justify-content: flex-end; margin-top: 14px; }
.pagination p { margin-right: auto; font-size: .875rem; }
.error { color: #a64228; margin-top: 18px; }
footer { margin-top: 18px; text-align: right; font-size: .875rem; }
footer a, .policy a { color: #126b64; }
.policy { max-width: 780px; }
.policy h2, .policy p { margin-top: 12px; }
.auth { max-width: 620px; margin: min(12vh, 100px) auto 0; }
.auth p { margin: 0 0 12px; }
.auth h1 { font-size: 1.75rem; margin-bottom: 12px; }
.auth .actions { margin-top: 24px; }

@media (max-width: 640px) {
  .shell { width: calc(100% - 28px); padding-top: 26px; }
  .site-header { flex-wrap: wrap; }
  .panel { padding: 16px; }
  .auth { margin: 32px 14px 0; }
}
