:root {
  color-scheme: light;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #152e42;
  background: #f2f6f7;
  font-synthesis: none;
  --muted: #486175;
  --line: #d6e2e8;
  --primary: #0d615c;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #075d57; text-underline-offset: .19em; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); margin-bottom: .4em; line-height: 1.18; }
h2 { font-size: 1.28rem; }
p { line-height: 1.65; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #248773;
  outline-offset: 3px;
}
.shell { max-width: 1144px; margin-inline: auto; padding-inline: 24px; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-inner { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #153546; text-decoration: none; font-weight: 700; }
.mark { display: grid; place-items: center; width: 38px; height: 38px; background: #153e46; color: #f9fdfb; border-radius: 12px; font-family: Georgia, serif; font-size: 23px; }
nav { display: flex; align-items: center; gap: 18px; }
nav form { margin: 0; }
.quiet { background: none; border: 0; padding: 8px 0; color: var(--muted); font: inherit; cursor: pointer; }
.auth-wrap { display: grid; grid-template-columns: 1.18fr 1fr; gap: 22px; align-items: stretch; margin-top: clamp(32px, 9vh, 94px); margin-bottom: 36px; }
.auth-hero { display: flex; flex-direction: column; justify-content: center; min-height: 425px; padding: clamp(28px, 6vw, 65px); color: #f4fcf9; border-radius: 26px; background: radial-gradient(ellipse at 100% 0, #327f70 0, transparent 65%), linear-gradient(128deg, #152f45, #185952); }
.auth-hero h1 { font-size: clamp(2.25rem, 6vw, 4.6rem); line-height: 1.08; letter-spacing: -.055em; margin-bottom: .4em; }
.auth-hero p { max-width: 29em; color: #d9f0ec; }
.panel { min-width: 0; padding: clamp(20px, 4vw, 34px); border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 7px 20px #2448550a; }
.auth-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 5vw, 56px); }
.auth-card h2 { font-size: 1.6rem; margin-bottom: 24px; }
.kicker { color: #496875; font-size: .77rem; font-weight: 750; letter-spacing: .18em; margin-bottom: 15px; }
.auth-hero .kicker { color: #acdcd7; }
.muted, .small, .helptext { color: var(--muted); }
.small, .helptext { font-size: .87rem; }
.helptext { display: inline-block; padding-top: 6px; }
label { display: block; font-weight: 650; margin-bottom: 6px; }
input:not([type="checkbox"]):not([type="hidden"]) { display: block; min-height: 48px; width: 100%; border: 1px solid #9eb3bf; border-radius: 10px; padding: 10px 12px; font: inherit; color: inherit; background: #fff; }
input[type="checkbox"] { width: 18px; height: 18px; vertical-align: middle; accent-color: var(--primary); }
fieldset { border: none; margin: 0 0 14px; padding: 0; }
legend { font-weight: 700; margin-bottom: 10px; }
fieldset label { font-weight: 500; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.primary { color: white; background: var(--primary); }
.primary:hover { background: #084d49; }
.secondary { background: #edf5f6; color: #164650; border-color: var(--line); }
.danger, .error, .errorlist { color: #9b2626; }
.errorlist { font-size: .92rem; padding-left: 20px; }
.full { width: 100%; }
.auth-card .small { margin: 20px 0 0; }
.library-head { padding-block: 45px 20px; }
.report-grid, .manage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: 36px; }
.report-card h2 { overflow-wrap: anywhere; font-size: 1.43rem; }
.report-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: #125b55; background: #e9f6f3; font-size: 24px; margin-bottom: 14px; }
.section-title, .rows li { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.section-title h2 { margin: 0; }
.rows { list-style: none; padding: 0; margin: 15px 0 0; }
.rows li { padding: 15px 0; border-top: 1px solid var(--line); }
.rows li a { flex-shrink: 0; }
.rows li div { overflow-wrap: anywhere; }
.narrow { max-width: 690px; margin-block: 32px; }
.narrow h1, .narrow p { overflow-wrap: anywhere; }
.back { display: inline-block; margin-bottom: 18px; }
.account-tools { margin-top: 16px; }
.account-tools form { margin-bottom: 9px; }
@media (max-width: 680px) {
  .shell { padding-inline: 15px; }
  .top-inner { min-height: 63px; }
  .auth-wrap { grid-template-columns: 1fr; gap: 12px; margin-top: 17px; }
  .auth-hero { min-height: 0; padding: 25px; border-radius: 20px; }
  .auth-hero h1 { font-size: 2.6rem; }
  .auth-hero p:last-child { margin-bottom: 0; }
  .report-grid, .manage-grid { grid-template-columns: 1fr; }
  .library-head { padding-top: 30px; }
  nav { gap: 12px; font-size: .88rem; }
}
