:root {
  color-scheme: light;
  font: 16px/1.5 system-ui, sans-serif;
  --ink: #192520;
  --muted: #4e6257;
  --line: #dbe4dd;
  --brand: #176044;
  --canvas: #f4f7f4;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: var(--brand); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #8a5500; outline-offset: 4px; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-200%); background: white; padding: 8px; }
.skip:focus { transform: translateY(0); z-index: 1; }
.shell { width: min(calc(100% - 32px), 1040px); margin-inline: auto; }
.top { background: white; border-bottom: 1px solid var(--line); }
.top-inner { min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 12px; }
.brand { font-size: 24px; line-height: 32px; font-weight: 750; letter-spacing: -.04em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--brand); }
.account { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.account a, .link { color: var(--brand); font-size: 14px; line-height: 20px; }
.link { font: inherit; font-size: 14px; padding: 0; border: 0; background: none; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.main { padding-block: clamp(32px, 7vw, 80px); }
h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.12; letter-spacing: -.045em; margin: 0 0 16px; text-wrap: balance; }
h2 { font-size: 24px; line-height: 32px; margin: 0 0 16px; overflow-wrap: anywhere; }
p { margin: 0 0 16px; text-wrap: pretty; }
.signin { max-width: 480px; padding: clamp(24px, 5vw, 40px); border: 1px solid var(--line); border-radius: 16px; background: white; }
.signin p { color: var(--muted); }
.form { display: grid; gap: 8px; margin-top: 24px; }
.form label { font-weight: 600; }
.form input:not([type="hidden"]) { display: block; width: 100%; font: inherit; color: inherit; margin: 0 0 8px; padding: 8px 12px; min-height: 44px; border: 1px solid #92a599; border-radius: 8px; }
.primary { min-height: 44px; font: inherit; font-weight: 650; color: white; background: var(--brand); border: 0; border-radius: 8px; padding: 8px 16px; cursor: pointer; }
.primary:hover { background: #104c35; }
.primary:active { background: #0a3c28; }
.support { font-size: 14px; line-height: 20px; margin: 24px 0 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.tabs a { display: block; padding: 8px 12px; border-radius: 8px; min-height: 44px; text-decoration: none; font-weight: 600; background: white; }
.tabs a:hover { background: #e7f0e9; }
.tabs a[aria-current] { background: var(--brand); color: white; }
.client + .client { margin-top: 40px; }
.records { padding: 0; margin: 0; list-style: none; background: white; border: 1px solid var(--line); border-radius: 12px; }
.record { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 16px 24px; }
.record strong { overflow-wrap: anywhere; }
.record + .record { border-top: 1px solid var(--line); }
.meta { color: var(--muted); font-size: 14px; line-height: 20px; margin: 4px 0 0; }
.status { font-size: 14px; line-height: 20px; padding: 4px 8px; border-radius: 8px; color: var(--brand); background: #e7f0e9; }
.download { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; font-weight: 600; }
.notice { color: var(--muted); padding: 16px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.error { color: #9d2626; background: #fff6f5; }
.error ul { margin: 0; padding-left: 24px; }
.password-form ul, .password-form .helptext { color: var(--muted); font-size: 14px; }
.password-form + p { margin-top: 16px; }
@media (max-width: 520px) {
  .record { flex-wrap: wrap; padding: 12px 16px; }
}
