@font-face {
    font-family: "Barlow Condensed";
    src: url("/assets/brand/fonts/barlow-condensed-latin-700.woff2") format("woff2");
    font-style: normal; font-weight: 700; font-display: swap;
}
@font-face {
    font-family: "DM Sans";
    src: url("/assets/brand/fonts/dm-sans-latin-variable.woff2") format("woff2");
    font-style: normal; font-weight: 400 700; font-display: swap;
}
body.cal-database {
    --db-ink: #111615;
    --db-paper: #f7f7f1;
    --db-lime: #d3fb55;
    --db-gutter: clamp(20px, 5.2vw, 88px);
    --db-width: 1344px;
    --bg: var(--db-ink); --ink: var(--db-paper); --lime: var(--db-lime);
    --paper: #18201d; --raised: #25322b; --line: #39453d; --muted: #bec9c1; --green: var(--lime);
    margin: 0; min-height: 100vh; display: flex; flex-direction: column;
    background-color: var(--bg); color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.cal-database ::selection { background: var(--db-lime); color: var(--db-ink); }
.cal-database :is(a, button, summary):focus-visible { outline: 3px solid #78a923; outline-offset: 3px; }
.cal-database .db-wrap, .cal-database main#db-content {
    width: min(calc(100% - var(--db-gutter) * 2), var(--db-width)); margin-inline: auto; padding-inline: 0; max-width: none;
}
.cal-database main#db-content { flex: 1 0 auto; margin-block: 0; }
.cal-database #db-content:has(.db-archive) { width: 100%; padding: 0; }
.db-skip { position: absolute; z-index: 20; left: 1rem; top: -5rem; background: var(--lime); color: var(--db-ink); padding: .5rem 1rem; }
.db-skip:focus { top: .5rem; }
.db-masthead { position: relative; z-index: 3; }
.db-masthead a, .db-footer a { text-decoration: none; }
.db-utility { color: #d4dcd2; background: #19211e; }
.db-utility .db-wrap, .db-tools, .db-navband .db-wrap, .db-brand, .db-languages, .db-pilot, .db-footer .db-wrap { display: flex; align-items: center; }
.db-utility .db-wrap { min-height: 34px; justify-content: space-between; font-size: .75rem; font-weight: 600; }
.db-pilot { gap: .5rem; }
.db-pilot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--db-lime); }
.db-tools { gap: 20px; }
.db-languages { border-left: 1px solid #576259; padding-left: 14px; gap: .6rem; font-size: inherit; }
.db-languages a { padding-block: .35rem; }
.db-languages [aria-current], .db-utility a:hover { color: var(--db-lime); }
.db-navband { color: var(--db-ink); background: var(--db-paper); border-bottom: 1px solid #bec5b9; }
.db-navband .db-wrap { gap: clamp(20px, 4vw, 68px); min-height: 77px; }
.db-brand { flex: none; gap: 9px; }
.db-brand img { display: block; width: 41px; height: 41px; }
.db-brand span { font: 700 1.55rem/.85 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.db-brand b { display: block; font: inherit; }
.db-nav { align-self: stretch; margin-left: auto; display: flex; align-items: stretch; gap: clamp(18px, 2.4vw, 38px); }
.db-nav a { display: flex; align-items: center; padding-top: 3px; border-bottom: 3px solid transparent; font-size: .96rem; font-weight: 600; }
.db-nav a:is(:hover, [aria-current]) { border-bottom-color: #69832a; }
.db-guide { padding: .65rem 1rem; background: var(--db-ink); color: var(--db-paper); font-size: .875rem; font-weight: 700; border-radius: 4px; }
.db-guide:hover { background: #314031; }
.cal-database footer.db-footer {
    display: block; width: 100%; max-width: none; margin: 0; border-top: 1px solid #39453d;
    padding: 0; background: #141d18; color: #c3cdc5; font: 400 .9rem/1.5 "DM Sans", Arial, sans-serif;
}
.db-footer .db-wrap { min-height: 96px; padding-block: 23px; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.db-footer .db-brand { color: var(--db-paper); }
.db-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .87rem; }
.db-footer nav a:hover { color: var(--db-lime); text-decoration: underline; }
.cal-database .notice { margin: clamp(30px,8vw,100px) auto; padding: clamp(24px, 5vw, 65px); background: var(--paper); }
.cal-database .notice h1 { font: 700 clamp(2.6rem,6vw,5rem)/.98 "Barlow Condensed", sans-serif; text-transform: uppercase; }
@media (max-width: 650px) {
    .db-utility .db-wrap { min-height: 31px; }
    .db-tools { gap: 10px; }
    .db-tools > a { display: none; }
    .db-navband .db-wrap { flex-wrap: wrap; gap: 0 .75rem; padding-top: 12px; }
    .db-brand img { width: 35px; height: 35px; }
    .db-brand span { font-size: 1.32rem; }
    .db-nav { margin: .4rem 0 0; order: 3; width: 100%; }
    .db-nav a { min-height: 40px; font-size: .89rem; }
    .db-guide { margin-left: auto; padding: .5rem .75rem; }
    .db-footer .db-wrap { align-items: flex-start; flex-direction: column; }
}
@media print {
    .db-masthead, .db-skip, footer.db-footer { display: none !important; }
    .cal-database main#db-content { width: 100%; }
}
