:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: #f6f8fb;
  color: #101f33;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #1975aa; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 2.75rem)); margin-inline: auto; }
.mast { background: #fff; border-bottom: 1px solid #dce3ea; }
.top { display: flex; justify-content: space-between; align-items: center; min-height: 74px; gap: 1rem; }
.brand { font: 800 1.5rem/1 system-ui, sans-serif; letter-spacing: .12em; padding-block: .7rem; }
nav { display: flex; gap: clamp(.85rem, 4vw, 2.3rem); }
nav a { display: grid; align-items: center; min-height: 44px; color: #344658; }
nav a:hover, nav a[aria-current] { color: #12617f; text-decoration: underline; text-underline-offset: .4rem; }
.site, .admin { padding-block: clamp(1.7rem, 4vw, 3.5rem); }
.banner { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #dce5ed; border-radius: .85rem; }
.intro { margin-top: clamp(1.3rem, 4vw, 3rem); }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 4rem); line-height: 1.15; letter-spacing: -.03em; }
p { color: #3d5064; margin: .7rem 0 0; }
.foot { border-top: 1px solid #dce3ea; padding-block: 1.5rem; color: #3d5064; }
.admin h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.dashboard { margin-top: 1.7rem; }
.site-picker { display: flex; gap: .45rem; flex-wrap: wrap; padding-bottom: .8rem; border-bottom: 1px solid #dce3ea; }
.site-picker a { padding-inline: .85rem; border-radius: .45rem; font-weight: 650; overflow-wrap: anywhere; }
.site-picker a:hover { background: #e8eef5; text-decoration: none; }
.site-picker a[aria-current] { background: #174963; color: #fff; text-decoration: none; }
.site-heading { margin-block: 1.45rem 1.2rem; }
.site-heading h2, .upload-card h3 { margin: 0; line-height: 1.25; }
.site-heading h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); overflow-wrap: anywhere; }
.site-heading p { margin-top: .45rem; }
.upload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); gap: 1rem; }
.upload-card { display: grid; gap: .85rem; align-content: start; min-width: 0; padding: 1rem; background: #fff; border: 1px solid #dce3ea; border-radius: .8rem; }
.upload-card header { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.upload-card header a { color: #195675; text-decoration: underline; text-underline-offset: .2em; min-height: 44px; display: grid; place-items: center; }
.upload-card figure { margin: 0; }
.upload-card .banner { border-radius: .45rem; }
.upload-card figcaption { margin-top: .45rem; color: #3d5064; font-size: .875rem; }
.upload-card form { display: grid; gap: .5rem; }
.upload-card label { font-weight: 650; }
.upload-card input, .upload-card button { width: 100%; min-height: 44px; font: inherit; border-radius: .42rem; }
.upload-card input { background: #f6f8fb; border: 1px solid #aebdce; padding: .5rem; }
.upload-card button { margin-top: .15rem; background: #174963; color: #fff; border: 0; cursor: pointer; font-weight: 650; }
.upload-card button:hover { background: #0f354a; }
.upload-card button:disabled { opacity: .65; cursor: wait; }
.upload-status { margin: 0; min-height: 1.6em; overflow-wrap: anywhere; }
@media (max-width: 740px) { .wrap { width: calc(100% - 2rem); } }
