.ofd07 {
    color-scheme: dark;
    --ofd-bg: #1b1c20;
    --ofd-card: #25272d;
    --ofd-line: #50545d;
    --ofd-text: #f1f2f4;
    --ofd-muted: #c3c6cd;
    background: var(--ofd-bg);
    border: 1px solid var(--ofd-line);
    border-radius: 16px;
    color: var(--ofd-text);
    margin: 1rem 0;
    padding: clamp(0.85rem, 3vw, 2rem);
}
.ofd07 :is(h2, h3, h4) { color: var(--ofd-text); margin: 0 0 0.6rem; line-height: 1.25; }
.ofd07-heading { border-bottom: 1px solid var(--ofd-line); margin-bottom: 1.1rem; padding-bottom: 0.6rem; }
.ofd07-panel {
    background: var(--ofd-card);
    border: 1px solid var(--ofd-line);
    border-radius: 12px;
    margin: 0 0 1rem;
    overflow-wrap: anywhere;
    padding: clamp(0.85rem, 2.5vw, 1.4rem);
}
.ofd07 p { margin: 0.55rem 0; }
.ofd07 .ofd07-muted { color: var(--ofd-muted); }
.ofd07-notice, .ofd07-state { border-inline-start: 3px solid #bac4d4; padding: 0.35rem 0.7rem; }
.ofd07 .ofd07-notice { background: #31353e; color: #f2f4f8; }
.ofd07 form { margin: 0.7rem 0; }
.ofd07 :is(input:not([type=hidden]):not([type=checkbox]), textarea) {
    background: #191b20;
    border: 1px solid #777e89;
    border-radius: 6px;
    color: var(--ofd-text);
    display: block;
    font: inherit;
    margin-top: 0.25rem;
    max-width: 100%;
    padding: 0.48rem;
    width: 100%;
}
.ofd07 input[type=number][name=ofd_year] { max-width: 10rem; }
.ofd07 :is(button, input::file-selector-button) {
    background: #d9dce3;
    border: 1px solid #f4f6f9;
    border-radius: 6px;
    color: #17191e;
    font: inherit;
    font-weight: 650;
    line-height: 1.25;
    margin-top: 0.35rem;
    padding: 0.55rem 0.9rem;
    white-space: normal;
}
.ofd07 button:hover { background: #f5f6fa; color: #17191e; }
.ofd07 :focus-visible, .ofd02 nav a:focus-visible { outline: 3px solid #a6cbff; outline-offset: 3px; }
.ofd02 nav a[aria-current=page] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.ofd02 nav .ofd07-approvals-link {
    align-items: center;
    background: #d9dce3;
    border: 1px solid #f4f6f9;
    border-radius: 6px;
    color: #17191e;
    display: inline-flex;
    flex-wrap: wrap;
    font-weight: 650;
    gap: 0.45rem;
    padding: 0.25rem 0.65rem;
    text-decoration: none;
}
.ofd02 nav .ofd07-approvals-link:is(:hover, [aria-current=page]) {
    background: #f5f6fa;
    text-decoration: underline;
}
.ofd07-approvals-count {
    background: #292c33;
    border-radius: 999px;
    color: #f1f2f4;
    font-size: 0.85em;
    line-height: 1.4;
    min-width: 1.4em;
    padding-inline: 0.3em;
    text-align: center;
}
.ofd07-visually-hidden {
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.ofd07 :is(fieldset, details details) { border: 1px solid var(--ofd-line); border-radius: 8px; min-width: 0; padding: 0.6rem 0.85rem; }
.ofd07 fieldset { margin: 0.8rem 0; }
.ofd07 summary { font-weight: 650; }
.ofd07 > details > summary { padding: 0; }
.ofd07 .ofd07-check { display: flex; align-items: baseline; gap: 0.4rem; }
.ofd07-fields, .ofd07-rounds, .ofd07-totals {
    display: grid;
    gap: 0.6rem 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.ofd07-rounds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ofd07-totals > div { border: 1px solid var(--ofd-line); border-radius: 8px; padding: 0.65rem 0.8rem; }
.ofd07-totals dt { color: var(--ofd-muted); }
.ofd07-totals dd { font-size: 1.65rem; font-weight: 650; margin: 0; }
.ofd07-calibers { padding-inline-start: 1.4rem; }
.ofd07-pages { margin: 0.8rem 0; }
