* { box-sizing: border-box; }
:root { --ink: #292d33; --blue: #315c99; --gold: #b49b45; --line: #d4d7db; }
body { margin: 0; background: #f4f5f7; color: var(--ink); font: 16px/1.6 Arial, Helvetica, sans-serif; }
a { color: var(--blue); text-underline-offset: 3px; }
.utility { display: flex; justify-content: flex-end; gap: 25px; padding: 9px max(5%, calc((100% - 1160px)/2)); background: #e9ebee; font-size: 12px; }
.utility a { color: #51575f; text-decoration: none; }
header { padding: 22px max(5%, calc((100% - 1160px)/2)); background: white; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 24px; color: var(--ink); text-decoration: none; }
.brand img { width: 110px; height: auto; }
.brand span { border-left: 1px solid var(--line); padding-left: 24px; font-size: 23px; font-weight: bold; }
.brand small { display: block; font-size: 11px; font-weight: normal; letter-spacing: .3px; }
nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
nav a, .nav-logout button { text-transform: uppercase; font-size: 12px; font-weight: bold; text-decoration: none; color: #444a51; }
nav a:hover { color: var(--blue); text-decoration: underline; }
.nav-signin { border-bottom: 3px solid var(--gold); padding: 10px 0; }
.nav-logout { margin: 0; }
.nav-logout button { background: transparent; border: 0; padding: 0; }
main { max-width: 1160px; margin: auto; padding: 0 28px 65px; }
.hero { background: #262b33; color: white; padding: 55px 45px 48px; margin: 32px 0 0; border-top: 4px solid var(--gold); }
.eyebrow { font-size: 11px; letter-spacing: 1.8px; font-weight: bold; color: #5b6674; }
.hero .eyebrow { color: #d9c77f; }
h1 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.12; letter-spacing: -1.5px; margin: 18px 0 22px; max-width: 760px; }
h2 { font-size: 27px; line-height: 1.3; letter-spacing: -.5px; margin: 10px 0 24px; }
h3 { font-size: 19px; line-height: 1.35; margin: 10px 0; }
.intro { max-width: 790px; font-size: 19px; line-height: 1.65; color: #e0e3e8; }
.hero a { color: #fff; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.button, button { display: inline-block; background: var(--blue); color: white; border: 1px solid var(--blue); border-radius: 0; padding: 11px 18px; font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; }
.button:hover, button:hover { background: #254878; color: white; }
.secondary { background: transparent; color: var(--blue); }
.hero .secondary { border-color: #949eab; color: white; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); background: white; padding: 25px 45px; gap: 24px; border: 1px solid var(--line); font-size: 13px; color: #5b6674; }
.stats strong { display: block; font-size: 32px; color: var(--ink); }
.columns { display: grid; grid-template-columns: 1.5fr 1fr; gap: 38px; margin-top: 45px; }
article { background: white; padding: 22px; border: 1px solid var(--line); margin-bottom: 16px; }
small { color: #606a76; font-size: 12px; }
.empty { padding: 25px; border: 1px solid var(--line); border-left: 3px solid #aeb7c3; color: #5c6570; background: #eceff3; font-size: 14px; }
.empty p { margin-bottom: 0; }
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.groups article { border-top: 3px solid var(--gold); }
.tag { display: inline-block; padding: 3px 8px; background: #e8edf5; font-size: 11px; overflow-wrap: anywhere; }
section { margin-bottom: 38px; }
footer { background: #262b33; color: #dfe3e8; padding: 40px max(5%, calc((100% - 1104px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: 14px; }
footer a { color: #e5d699; overflow-wrap: anywhere; }
footer strong { color: white; font-size: 19px; }
.footer-note { grid-column: 1/-1; border-top: 1px solid #505762; padding-top: 22px; font-size: 12px; }
input, textarea { display: block; width: 100%; padding: 11px; border: 1px solid #aeb7c3; font: inherit; background: white; }
textarea { height: 110px; }
label { font-size: 14px; }
.login { max-width: 540px; margin: 60px auto; }
.login h1 { font-size: 42px; }
.notice { padding: 18px; background: #e8edf5; border-left: 3px solid var(--blue); margin: 24px 0; }
.help { font-size: 13px; color: #5b6674; }
.local-login { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 30px; }
summary { cursor: pointer; }
.inline { display: inline-block; margin-left: 20px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; background: #edf0f4; padding: 15px; }
details { margin: 20px 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ad7d00; outline-offset: 4px; }
.skip-link { position: absolute; top: -80px; left: 15px; background: white; padding: 12px; z-index: 10; }
.skip-link:focus { top: 10px; }
@media(max-width: 900px) { header { flex-direction: column; align-items: flex-start; gap: 18px; } nav { gap: 20px; } .groups { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 600px) { main { padding: 0 18px 35px; } .hero { padding: 30px 22px; margin-top: 22px; } .columns, .groups, footer { grid-template-columns: 1fr; } .stats { padding: 20px; gap: 14px; font-size: 11px; } .stats strong { font-size: 28px; } .brand img { width: 90px; } .brand span { font-size: 21px; padding-left: 16px; } .brand { gap: 16px; } .utility { justify-content: flex-start; gap: 18px; font-size: 10px; } nav { gap: 15px; } nav a { font-size: 11px; } .intro { font-size: 17px; } }

.document-section { margin: 0 0 12px; border: 1px solid var(--line); background: white; }
.document-section > summary { padding: 18px 22px; color: var(--ink); }
.document-section > summary h3 { display: inline; margin: 0 12px; font-size: 18px; }
.document-count { display: inline-block; padding: 1px 9px; background: #e8edf5; color: #315c99; font-size: 13px; font-weight: bold; border-radius: 12px; }
.document-section[open] > summary { border-bottom: 1px solid var(--line); }
.document-section-body { padding: 0 22px; }
.document-row { margin: 0; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); }
.document-row:last-child { border-bottom: 0; }
.document-row h4 { margin: 8px 0; font-size: 16px; overflow-wrap: anywhere; }
.document-row p { margin: 7px 0 12px; }
.document-empty { color: #606a76; font-size: 14px; margin: 20px 0; }
@media(max-width:600px) { .document-section > summary { padding: 16px 12px; } .document-section > summary h3 { font-size: 16px; margin: 0 6px; } .document-section-body { padding: 0 14px; } }
