:root {
    color-scheme: light;
    --color-text: #192a3c;
    --color-muted: #677685;
    --color-accent: #147d88;
    --color-border: #dfe7eb;
    --color-background: #f5f8fa;
    --color-surface: #fff;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--color-background); color: var(--color-text); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--color-accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.header-content { min-height: 86px; display: flex; align-items: center; gap: 26px; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 12px; color: var(--color-text); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; flex-shrink: 0; border-radius: 10px; background: var(--color-accent); color: #fff; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-name { max-width: 460px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 21px; font-weight: 720; letter-spacing: -.025em; }
.header-label { border-left: 1px solid var(--color-border); padding-left: 26px; font-size: 13px; color: var(--color-muted); }
.language-nav { flex-shrink: 0; margin-left: auto; display: flex; padding: 3px; gap: 2px; border: 1px solid var(--color-border); background: #f7f9fa; border-radius: 8px; }
.language-nav a { color: var(--color-muted); text-decoration: none; padding: 6px 10px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.language-nav a[aria-current="page"] { background: #fff; color: var(--color-accent); box-shadow: 0 1px 3px #182b4012; }
.main-content { flex: 1; padding-block: 56px 76px; }
.page-intro { margin-bottom: 32px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 15px; color: var(--color-accent); font-size: 11px; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
h1 { margin: 0 0 14px; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; letter-spacing: -.04em; font-weight: 720; }
h2 { margin: 12px 0; font-size: 23px; line-height: 1.3; letter-spacing: -.025em; }
h3 { letter-spacing: -.015em; }
p { margin: 0 0 16px; }
.lead { color: var(--color-muted); font-size: 16px; line-height: 1.75; }
.price-description { white-space: pre-line; overflow-wrap: anywhere; max-width: 820px; }
.intro-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: var(--color-muted); margin-top: 19px; }
.format-pill { display: inline-flex; padding: 1px 7px; border: 1px solid #b9d9dc; border-radius: 4px; color: #0d6973; background: #edf7f7; font-size: 10px; font-weight: 750; letter-spacing: .05em; }
.intro-meta-separator { width: 3px; height: 3px; border-radius: 50%; background: #9ba9b5; }
.card { padding: 32px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface); }
.empty-state { text-align: center; padding-block: 40px; }
.empty-state p { max-width: 520px; margin-inline: auto; color: var(--color-muted); }
.document-icon { display: inline-flex; justify-content: center; align-items: center; width: 50px; height: 58px; border: 1px solid var(--color-border); border-radius: 7px; color: var(--color-accent); font-weight: 750; font-size: 13px; }
.featured-card { padding: 28px 32px; margin-bottom: 36px; border-left: 4px solid var(--color-accent); box-shadow: 0 6px 24px #193b4c06; }
.document-row { display: flex; align-items: center; gap: 18px; padding: 19px 24px; border-top: 1px solid var(--color-border); }
.document-row:not(.document-featured):hover { background: #fcfefe; }
.document-featured { padding: 0; border: 0; gap: 30px; }
.document-info { flex: 1; min-width: 0; }
.document-title { margin: 0 0 5px; font-size: 15px; line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
.document-featured .document-title { margin-block: 11px 7px; font-size: clamp(21px, 3vw, 25px); font-weight: 700; }
.document-meta { margin: 0; color: var(--color-muted); font-size: 12px; }
.document-meta span { margin-inline: 5px; }
.badge { display: inline-flex; border-radius: 4px; padding: 3px 8px; background: #e5f4f3; color: #0b6972; font-size: 10px; font-weight: 750; letter-spacing: .06em; }
.file-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 42px; border: 1px solid #cde1e4; border-radius: 5px; background: #f3fafa; color: var(--color-accent); font-size: 10px; font-weight: 750; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; gap: 9px; background: var(--color-accent); color: #fff; border: 1px solid transparent; border-radius: 7px; text-decoration: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 650; flex-shrink: 0; transition: background .15s ease; }
.button:hover { background: #0e6973; }
.button-secondary { background: white; border-color: var(--color-border); color: var(--color-accent); }
.button-secondary:hover { background: #f0f7f7; }
.download-link { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 13px; font-weight: 650; min-height: 44px; flex-shrink: 0; }
.download-link:hover { text-decoration: underline; }
.button svg, .download-link svg { width: 19px; height: 19px; flex-shrink: 0; }
.archive > h2 { font-size: 26px; margin-bottom: 6px; }
.archive-help { color: var(--color-muted); font-size: 13px; margin-bottom: 23px; }
.archive-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.date-nav { padding: 0; overflow: hidden; }
.nav-heading { margin: 0; padding: 16px 20px; font-size: 10px; font-weight: 750; color: var(--color-muted); letter-spacing: .08em; }
.date-nav a { display: block; padding: 12px 19px; border-top: 1px solid var(--color-border); border-left: 3px solid transparent; color: var(--color-muted); text-decoration: none; font-size: 14px; font-weight: 550; }
.date-nav a:hover { background: #f5f9f9; }
.date-nav a[aria-current="date"] { background: #eaf6f5; border-left-color: var(--color-accent); color: #09636d; font-weight: 700; }
.archive-content { min-width: 0; }
.control { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #cbd7df; border-radius: 7px; background: #fff; color: var(--color-text); font: inherit; font-size: 14px; }
.control:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.search-field { position: relative; margin-bottom: 19px; }
.search-field svg { width: 20px; height: 20px; position: absolute; left: 15px; top: 13px; color: var(--color-muted); pointer-events: none; }
.search-field input { padding-left: 45px; }
.document-group { padding: 0; margin-bottom: 18px; overflow: hidden; scroll-margin-top: 20px; }
.group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; background: #fafcfd; }
.group-heading h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.group-heading span { color: var(--color-muted); font-size: 11px; }
.mobile-date { display: none; }
.notice { padding: 14px 20px; margin-bottom: 24px; border: 1px solid var(--color-border); border-radius: 7px; }
.notice-error { color: #8a2424; border-color: #edc5c5; background: #fff3f3; }
.site-footer { padding-block: 27px; border-top: 1px solid var(--color-border); background: var(--color-surface); }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 12px; color: var(--color-muted); }
.footer-identity { display: grid; gap: 3px; }
.footer-identity strong { color: var(--color-text); font-size: 12px; font-weight: 650; }
.footer-identity > span { font-size: 11px; }
.footer-credits { display: flex; flex-wrap: wrap; gap: 8px 25px; }
.footer-credits > span { white-space: nowrap; font-size: 11px; }
.footer-credits a { margin-left: 3px; color: var(--color-text); text-decoration: none; font-weight: 650; }
.footer-credits a:hover { color: var(--color-accent); text-decoration: underline; }
.footer-credits a span { color: var(--color-accent); font-size: 12px; }
.skip-link { position: absolute; top: -100px; left: 16px; background: #fff; padding: 10px 16px; z-index: 10; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[aria-disabled="true"] { opacity: .65; cursor: progress; }
.spinner { display: inline-block; width: 17px; height: 17px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } .button { transition: none; } }
@media (max-width: 800px) {
    .brand-name { max-width: 300px; }
    .header-label { display: none; }
    .archive-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 18px; }
    .document-row, .group-heading { padding-inline: 18px; }
    .footer-content { align-items: flex-start; }
    .footer-credits { display: grid; gap: 5px; }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 36px); }
    .header-content { min-height: 74px; gap: 12px; }
    .brand { gap: 9px; flex: 1; }
    .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
    .brand-mark svg { width: 21px; height: 21px; }
    .brand-name { min-width: 0; max-width: none; font-size: 17px; }
    .language-nav a { padding: 5px 7px; font-size: 11px; }
    .main-content { padding-block: 32px 48px; }
    .page-intro { margin-bottom: 26px; }
    .lead { font-size: 14px; }
    .intro-meta { font-size: 11px; gap: 8px; }
    .card { padding: 24px 20px; }
    .featured-card { padding: 24px 22px; margin-bottom: 30px; }
    .document-featured { flex-direction: column; align-items: stretch; padding: 0; gap: 21px; }
    .document-featured .button { width: 100%; }
    .archive-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .date-nav { display: none; }
    .mobile-date { display: block; margin-bottom: 15px; }
    .mobile-date label { display: block; color: var(--color-muted); font-size: 11px; margin-bottom: 5px; }
    .document-group { padding: 0; }
    .document-row:not(.document-featured) { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px 12px; padding: 16px; }
    .document-row:not(.document-featured) .download-link { grid-column: 2; justify-self: start; }
    .file-icon { width: 30px; height: 38px; }
    .archive > h2 { font-size: 24px; }
    .group-heading { padding: 13px 16px; }
    .footer-content { flex-direction: column; gap: 16px; }
    .footer-credits { display: flex; gap: 20px; }
}
