/* Design tokens lifted from the ohiodnr.gov agency theme (odnr-main.scss) so
 * this app reads as part of the same system. Primary green and body ink are the
 * two hex codes ODNR communications signed off on; the rest are the supporting
 * values that stylesheet actually uses. */
:root {
    color-scheme: light;

    /* Core */
    --odnr-green: #527445;          /* primary — buttons, links, h3, footer */
    --odnr-green-dark: #375330;     /* every hover / active state */
    --odnr-text: #464846;           /* body copy, h1 / h2 */

    /* Surfaces */
    --odnr-white: #FFFFFF;
    --odnr-page: #F7F7F7;           /* page background */
    --odnr-tint: #E3E9E0;           /* pale green panels + fills */
    --odnr-border: #D8D8D8;
    --odnr-muted: #999999;
    --odnr-charcoal: #4D4D4D;       /* secondary text */

    /* Supporting greens (categories, charts, subtle accents) */
    --odnr-green-2: #4D713B;
    --odnr-green-3: #729364;
    --odnr-green-4: #809B79;
    --odnr-ohio-green: #006937;      /* shared Innovate Ohio green */

    /* Accents */
    --odnr-blue: #3D7AA9;
    --odnr-gold: #FCD56A;
    --odnr-gold-dark: #E0B23C;
    --odnr-red: #C12637;

    /* Type — ohiodnr.gov ships "Source Sans Pro", Tahoma, Verdana, Segoe.
       Source Sans 3 is the maintained release of the same design, so we load
       that and keep the state site's fallback chain behind it. */
    --font-body: 'Source Sans 3', 'Source Sans Pro', Tahoma, Verdana, Segoe, sans-serif;
    --font-head: var(--font-body);

    /* Shape — ODNR overrides every button to a pill; inputs and chips stay at
       4px, panels get a small radius. */
    --radius: 0.5rem;
    --radius-btn: 999px;
    --radius-input: 0.25rem;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* The `hidden` attribute has to beat the layout rules further down this file.
 * A class like `.form-row { display: flex }` outranks the browser's own
 * `[hidden] { display: none }`, which silently reveals the rows our JS toggles —
 * the "Other Location" write-in, the kept-fish Weight field, the map status line. */
[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    /* 18px body copy, as on ohiodnr.gov. */
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--odnr-text);
    background: var(--odnr-page);
}

/* Heading scale copied from the ohiodnr.gov agency theme: h1 and h2 are
 * 900-weight uppercase in the body ink, h3 steps down to sentence case in the
 * primary green. Component rules further down only vary the size. */
h1,
h2 {
    font-family: var(--font-head);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--odnr-text);
    line-height: 1.1;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: 1.5rem;
}

h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    color: var(--odnr-green);
    line-height: 1.25;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

h4,
h5,
h6 {
    font-size: 1.125rem;
    font-weight: 600;
}

body a {
    color: var(--odnr-green);
}

body a:hover,
body a:focus {
    color: var(--odnr-green-dark);
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--odnr-green);
    color: white;
    border-bottom: 0.3rem solid var(--odnr-green-dark);
}

.brand-identity {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.brand-image {
    height: 3rem;
    width: auto;
    display: block;
}

.brand-logo {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

.brand-text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-nav > a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Decorative Font Awesome glyph in nav links, dropdown toggles and menu items.
   Fixed width so labels line up down a menu regardless of glyph width, and a
   touch smaller than the label so the solid icons don't overpower it. */
.nav-icon {
    flex: none;
    display: inline-block;
    width: 1.15em;
    text-align: center;
    line-height: 1;
    font-style: normal;
    font-size: 0.9em;
}

.site-nav > a:hover,
.site-nav > a:focus {
    color: var(--odnr-gold);
}

/* Nav dropdowns (More menu + account menu) */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus {
    color: var(--odnr-gold);
}

/* Right-anchored (all of them, as the account menu always was): the nav sits at
   the right of the header, so a menu hung off the left edge of its toggle runs
   out of screen before one that grows back across the nav does. max-width is the
   backstop for a menu item long enough to overrun the other edge. */
.nav-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 12rem;
    max-width: calc(100vw - 2rem);
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(70, 72, 70, 0.25);
    padding: 0.4rem 0;
    z-index: 1000;
}

/* Open on click (JS adds .open) and, as a no-JS fallback, on keyboard focus. */
.nav-dropdown.open > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1rem;
    color: var(--odnr-text);
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
    background: var(--odnr-green);
    color: white;
}

.nav-dropdown-sep {
    border: none;
    border-top: 1px solid #e3e6e3;
    margin: 0.4rem 0;
}

/* Phones: the nav wraps onto two or three rows, which puts a toggle anywhere
   across the header — so no anchor on the toggle keeps every menu on screen.
   ("Admin" near the right edge was clipped on the right; "Sarah", first in its
   own row, would be clipped on the left.) Anchor the menus to the header
   instead and let them span its full width, which also makes the rows easier
   to hit with a thumb. */
@media (max-width: 768px) {
    .site-header {
        position: relative;
    }

    .site-nav .nav-dropdown {
        position: static;
    }

    .site-nav .nav-dropdown-menu {
        left: 2rem;
        right: 2rem;
        /* Offsets resolve against the header's padding box, so the extra 0.3rem
           clears its bottom border rather than sitting on top of it. */
        top: calc(100% + 0.3rem);
        min-width: 0;
        max-width: none;
    }
}

.page-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2.5rem 2rem 3rem;
}

.notifications {
    margin-bottom: 1.5rem;
}

.hero {
    padding: 2.5rem;
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 18px 45px rgba(70, 72, 70, 0.08);
    margin-bottom: 2rem;
}

.hero .eyebrow {
    font-family: var(--font-head);
    color: var(--odnr-green);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 1rem;
}

/* Logo sits beside the heading; wraps above it on narrow screens. */
.hero-heading {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin: 0 0 1rem;
}

.hero-logo-link {
    display: block;
    flex: none;
}

.hero-logo {
    height: 5.5rem;
    width: auto;
    display: block;
}

.hero h1 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 1rem;
}

/* The .hero-heading flex row owns the spacing below the title. */
.hero-heading h1 {
    margin: 0;
}

.hero p {
    max-width: 42rem;
    font-size: 1.05rem;
    color: var(--odnr-charcoal);
}

/* "Why you sign in with OHID" — landing page, signed-out visitors only. */
.ohid-explainer {
    padding: 2rem 2.5rem;
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 18px 45px rgba(70, 72, 70, 0.08);
    margin-bottom: 2rem;
}

.ohid-explainer h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 0 0 0.75rem;
}

.ohid-explainer > p {
    max-width: 42rem;
    color: var(--odnr-charcoal);
}

.ohid-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.ohid-path {
    padding: 1.25rem;
    background: var(--odnr-tint);
    border-left: 0.25rem solid var(--odnr-green);
    border-radius: var(--radius);
}

.ohid-path h3 {
    font-family: var(--font-head);
    /* green-dark, not green: at 1.05rem these headings are below WCAG's
       large-text threshold, and primary green on the tint is only 4.30:1. */
    color: var(--odnr-green-dark);
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.ohid-path p,
.ohid-path li {
    color: var(--odnr-charcoal);
    line-height: 1.55;
}

.ohid-path p {
    margin: 0;
}

.ohid-path ol {
    margin: 0;
    padding-left: 1.25rem;
}

.ohid-path li + li {
    margin-top: 0.4rem;
}

@media (max-width: 768px) {
    .ohid-explainer {
        padding: 1.5rem;
    }
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--odnr-green);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-btn);
    font-weight: 600;
    transition: background-color 0.2s;
}

.cta-button:hover,
.cta-button:focus {
    background: var(--odnr-green-dark);
    color: white;
}

.user-info {
    color: white;
    font-weight: 500;
    margin: 0 1rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.profile-item {
    padding: 1rem;
    background: var(--odnr-tint);
    border-radius: 0.5rem;
    border-left: 0.25rem solid var(--odnr-green);
}

.brand-panel {
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(82, 116, 69, 0.1), rgba(128, 155, 121, 0.12));
    border-left: 0.4rem solid var(--odnr-green-4);
    border-radius: var(--radius);
}

.brand-panel h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin-top: 0;
}

.brand-panel p {
    color: var(--odnr-charcoal);
}

.alert {
    padding: 0.95rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
}

.alert-error {
    background: #fce8e8;
    border-color: var(--odnr-red);
    color: var(--odnr-text);
}

.alert-success {
    background: #edf7eb;
    border-color: var(--odnr-green);
    color: var(--odnr-text);
}

.alert-info {
    background: #e8f4fb;
    border-color: var(--odnr-blue);
    color: var(--odnr-text);
}

.site-footer {
    padding: 1.5rem 2rem;
    background: var(--odnr-green);
    color: white;
    text-align: center;
    font-size: 0.95rem;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-content {
        padding: 1.5rem;
    }
}

/* Account Linking Styles */
.account-linking {
    max-width: 800px;
    margin: 0 auto;
}

.account-linking h1 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    text-align: center;
    margin-bottom: 2rem;
}

.linking-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(70, 72, 70, 0.08);
}

.linking-intro p {
    font-size: 1.1rem;
    color: var(--odnr-charcoal);
    margin: 0.5rem 0;
}

.linking-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
}

.option-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(70, 72, 70, 0.08);
}

.option-card h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin-top: 0;
    margin-bottom: 1rem;
}

.option-card p {
    color: var(--odnr-charcoal);
    margin-bottom: 1.5rem;
}

/* "What this option does" bullets above each linking form. */
.option-points {
    margin: 0 0 1.5rem;
    padding-left: 1.15rem;
    color: var(--odnr-charcoal);
    font-size: 0.95rem;
    line-height: 1.5;
}

.option-points li + li {
    margin-top: 0.5rem;
}

.linking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--odnr-text);
}

.form-group input {
    padding: 0.75rem;
    border: 2px solid var(--odnr-border);
    border-radius: var(--radius-input);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--odnr-green);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--odnr-green);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--odnr-green-dark);
}

.btn-secondary {
    background: var(--odnr-green);
    color: white;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--odnr-green);
}

.account-preview {
    background: var(--odnr-tint);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.account-preview h3 {
    margin-top: 0;
    color: var(--odnr-green);
    font-family: var(--font-head);
}

.account-preview ul {
    margin: 0;
    padding-left: 1.5rem;
}

.account-preview li {
    margin-bottom: 0.5rem;
}

.option-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--odnr-tint);
    border-radius: 50%;
    font-weight: 600;
    color: var(--odnr-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

.linking-help {
    padding: 2rem;
    background: var(--odnr-tint);
    border-radius: var(--radius);
}

.linking-help h3 {
    color: var(--odnr-green);
    font-family: var(--font-head);
    margin-top: 0;
    text-align: center;
}

/* The shared .faq-item cards sit on white; inside the tinted help panel they
   need no extra border to separate from the background. */
.linking-help .faq-list {
    padding: 0;
}

.linking-help .faq-item summary {
    font-size: 0.95rem;
}

.linking-help > .muted {
    text-align: center;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .linking-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .option-divider {
        display: none;
    }

    .option-card {
        padding: 1.5rem;
    }
}

/* My Trips page */
.trips-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.trips-header h1 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.trips-header .eyebrow {
    font-family: var(--font-head);
    color: var(--odnr-green);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 0.4rem;
}

.trips-header .cta-button[aria-disabled="true"] {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

.share-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.85rem 1.15rem;
    margin-bottom: 1.5rem;
    background: white;
    border-left: 0.35rem solid var(--odnr-blue);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(70, 72, 70, 0.06);
    color: var(--odnr-charcoal);
}

.share-banner a {
    font-weight: 600;
}

.trips-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(70, 72, 70, 0.08);
}

.trips-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.trips-table thead {
    background: var(--odnr-green);
    color: white;
}

.trips-table th {
    font-family: var(--font-head);
    font-weight: 600;
    text-align: left;
    padding: 0.85rem 1.15rem;
    letter-spacing: 0.03em;
}

/* Sortable header links sit on the green thead, so the default green link
   colour would make them invisible. */
.trips-table thead a,
.trips-table thead a:hover,
.trips-table thead a:focus {
    color: white;
    text-decoration: none;
}

.trips-table thead a:hover,
.trips-table thead a:focus {
    text-decoration: underline;
}

.trips-table td {
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid var(--odnr-border);
    vertical-align: middle;
}

.trips-table tbody tr:last-child td {
    border-bottom: none;
}

.trips-table tbody tr:hover {
    background: rgba(82, 116, 69, 0.06);
}

.actions-column {
    white-space: nowrap;
    width: 1%;
}

.inline-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.link-action {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    margin-right: 0.35rem;
    background: none;
    border: none;
    color: var(--odnr-green);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    border-radius: var(--radius-btn);
}

.link-action:hover,
.link-action:focus {
    color: var(--odnr-green);
    background: rgba(82, 116, 69, 0.1);
    outline: none;
}

.link-action-danger {
    color: var(--odnr-red);
}

.link-action-danger:hover,
.link-action-danger:focus {
    color: white;
    background: var(--odnr-red);
}

.empty-state {
    padding: 3rem 2rem;
    text-align: center;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(70, 72, 70, 0.06);
}

.empty-state h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin-top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 640px) {
    .trips-header {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Trip + Catch forms
 * ----------------------------------------------------------------- */

.trip-form,
.catch-form {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(70, 72, 70, 0.08);
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-row > label,
.form-section legend {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--odnr-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-section {
    border: none;
    border-top: 1px solid var(--odnr-border);
    padding: 1.5rem 0 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-section:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.form-section legend {
    font-size: 0.95rem;
    color: var(--odnr-green);
    letter-spacing: 0.08em;
    padding: 0;
    margin-bottom: 0.5rem;
}

.form-row-inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-row-inline > div {
    flex: 1 1 9rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-control {
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--odnr-border);
    border-radius: var(--radius-input);
    font: inherit;
    font-size: 1rem;
    color: var(--odnr-text);
    background: white;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
}

.form-control:hover {
    border-color: var(--odnr-green);
}

.form-control:focus {
    outline: none;
    border-color: var(--odnr-green);
    box-shadow: 0 0 0 3px rgba(82, 116, 69, 0.25);
}

.form-control:disabled,
.form-control[readonly] {
    background: var(--odnr-tint);
    color: var(--odnr-charcoal);
}

textarea.form-control {
    min-height: 6rem;
    resize: vertical;
    font-family: inherit;
}

/* Style native <select> with a custom chevron — browser defaults look dated. */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='none' stroke='%23527445' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 0.75rem auto;
    padding-right: 2.25rem;
    cursor: pointer;
}

input[type="date"].form-control,
input[type="time"].form-control {
    font-family: inherit;
}

input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--odnr-green);
    cursor: pointer;
}

/* Shrink-wrapped on purpose: a label is a click target for its checkbox, so it
   must not run past the text. Inside a column-flex .form-row the default
   align-items: stretch would widen it to the whole row, making the empty space
   beside the text toggle the box. align-self + width cover both cases (flex item
   and the plain block override in .first-time-form). */
.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    align-self: flex-start;
    width: fit-content;
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--odnr-text);
    font-weight: 500;
    cursor: pointer;
}

.required {
    color: var(--odnr-red);
    margin-left: 0.15rem;
    font-weight: 700;
}

.field-error {
    margin: 0.15rem 0 0;
    color: var(--odnr-red);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Explanatory copy under an opt-in checkbox. Indented to line up with the
   checkbox label text (1.1rem box + 0.6rem gap from .checkbox-label). */
.checkbox-help {
    margin: 0.3rem 0 0 1.7rem;
    max-width: 60ch;
    color: var(--odnr-charcoal);
    font-size: 0.85rem;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--odnr-border);
}

/* Officer management grid (admin/officers.html) */
.officer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.officer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--odnr-border);
}

.officer-identity {
    display: flex;
    flex-direction: column;
    min-width: 12rem;
    flex: 1 1 12rem;
}

.officer-assign {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
}

.officer-field {
    display: flex;
    flex-direction: column;
}

.officer-field-check {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    align-self: center;
}

.form-actions input[type="submit"] {
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

/* Trip detail page
 * ----------------------------------------------------------------- */

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.trip-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(70, 72, 70, 0.08);
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
}

.trip-detail > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-left: 0.25rem solid var(--odnr-green-4);
    padding: 0.25rem 0 0.25rem 0.85rem;
}

.trip-detail dt {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--odnr-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.trip-detail dd {
    margin: 0;
    color: var(--odnr-text);
    font-size: 1.05rem;
    font-weight: 500;
}

.catches-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 0;
    font-size: 1.5rem;
}

.danger-zone {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--odnr-border);
    text-align: right;
}

.cta-button-secondary {
    background: var(--odnr-green);
}

.cta-button-secondary:hover,
.cta-button-secondary:focus {
    background: var(--odnr-green-dark);
}

.cta-button-danger {
    background: var(--odnr-red);
}

.cta-button-danger:hover,
.cta-button-danger:focus {
    background: #8f1c29;
}

.muted {
    color: var(--odnr-charcoal);
    font-style: italic;
}

.award-badges {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.award-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--odnr-gold);
    color: var(--odnr-text);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.modal {
    border: none;
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 28rem;
    width: calc(100% - 2rem);
    background: white;
    color: var(--odnr-text);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

.modal h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 0 0 0.5rem;
}

.modal .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.75rem;
}

.modal .form-group label {
    font-weight: 600;
}

.modal .form-group input {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--odnr-border);
    border-radius: var(--radius-input);
    font: inherit;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

/* Home-page Quick Add dialog — a trip plus N fish in one form, so it needs more
 * room than the narrow default modal and a scrolling body on short screens.
 * ----------------------------------------------------------------- */

.modal-wide {
    max-width: 48rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.hero-actions .cta-button {
    border: none;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.quick-add-scroll {
    max-height: 62vh;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.quick-add-form .form-section {
    gap: 0.85rem;
}

.quick-catch-row {
    border: 1px solid var(--odnr-border);
    border-radius: var(--radius);
    padding: 0.85rem 1rem 0.6rem;
    margin: 0 0 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-catch-row legend {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--odnr-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 0.35rem;
}

.quick-catch-row-actions {
    text-align: right;
}

.quick-add-form [data-add-row]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.first-time-panel {
    max-width: 50rem;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #fff8e0;
    border: 1px solid var(--odnr-gold);
    border-radius: var(--radius);
}

.first-time-panel h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
}

.first-time-form .checkbox-label {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
}

.first-time-form .form-actions {
    margin-top: 1.25rem;
}

.small {
    font-size: 0.85rem;
}

.resource-grid {
    max-width: 60rem;
    margin: 2rem auto;
    padding: 0 1rem;
}

.resource-grid h2,
.district-addresses h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 0 0 1rem;
}

.tile-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1rem;
}

.tile {
    display: block;
    padding: 1.1rem;
    background: white;
    border: 1px solid var(--odnr-border);
    border-left: 4px solid var(--odnr-green);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--odnr-text);
    transition: border-left-color 0.15s, transform 0.15s;
}

.tile:hover,
.tile:focus {
    border-left-color: var(--odnr-green-dark);
    color: var(--odnr-text);
    transform: translateY(-1px);
}

.tile h3 {
    font-family: var(--font-head);
    color: var(--odnr-green);
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.tile p {
    margin: 0;
    color: var(--odnr-charcoal);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Landing-page season statistics: a KPI row of stat tiles plus a top-lakes bar
 * list. Deliberately not a colored chart — every value is text in an ink color
 * and the bars are decorative (aria-hidden), so the block reads the same for
 * colorblind, grayscale-print, and screen-reader visitors. */
.season-stats {
    max-width: 60rem;
    margin: 2rem auto;
    padding: 0 1rem;
}

.season-stats h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 0 0 0.5rem;
}

.season-stats > p {
    max-width: 42rem;
    color: var(--odnr-charcoal);
}

.season-stats h3 {
    font-family: var(--font-head);
    color: var(--odnr-green);
    font-size: 1.05rem;
    margin: 2rem 0 0.75rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.stat-tile {
    padding: 1rem 1.1rem;
    background: white;
    border: 1px solid var(--odnr-border);
    border-left: 4px solid var(--odnr-green);
    border-radius: 0.5rem;
}

.stat-label {
    margin: 0;
    color: var(--odnr-charcoal);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.stat-value {
    font-family: var(--font-head);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--odnr-text);
    line-height: 1.1;
    margin: 0.35rem 0 0;
}

.stat-unit {
    font-size: 1rem;
    font-weight: 600;
    color: var(--odnr-charcoal);
}

.stat-note {
    margin: 0.35rem 0 0;
    color: var(--odnr-charcoal);
    font-size: 0.8rem;
    line-height: 1.35;
}

.bar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bar-row {
    display: grid;
    grid-template-columns: minmax(7rem, 11rem) 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0;
}

.bar-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.bar-track {
    display: block;
    height: 0.75rem;
    background: var(--odnr-tint);
    border-radius: 0.375rem;
    overflow: hidden;
}

.bar-fill {
    display: block;
    height: 100%;
    min-width: 0.25rem;
    background: var(--odnr-green);
    border-radius: 0.375rem;
}

.bar-value {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--odnr-text);
    font-size: 0.9rem;
}

@media (max-width: 30rem) {
    /* Too narrow for label / bar / value in one row — stack the label above a
     * full-width bar so the lake names stay readable instead of wrapping to
     * three lines inside a 7rem column. */
    .bar-row {
        grid-template-columns: 1fr auto;
        gap: 0.25rem 0.75rem;
    }

    .bar-label {
        grid-column: 1 / -1;
    }
}

.district-addresses {
    max-width: 60rem;
    margin: 2rem auto;
    padding: 0 1rem 2rem;
}

.district-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.district-grid article {
    padding: 1rem;
    background: white;
    border-left: 4px solid var(--odnr-green);
    border-radius: 0.5rem;
}

.district-grid h3 {
    font-family: var(--font-head);
    color: var(--odnr-green);
    font-size: 0.95rem;
    margin: 0 0 0.4rem;
}

.district-grid address {
    font-style: normal;
    line-height: 1.5;
    color: var(--odnr-charcoal);
    font-size: 0.9rem;
}

.mal-contact {
    max-width: 60rem;
    margin: 2rem auto;
    padding: 0 1rem;
}

.mal-contact h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 0 0 0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.contact-card {
    padding: 1rem 1.1rem;
    background: white;
    border: 1px solid var(--odnr-border);
    border-left: 4px solid var(--odnr-gold);
    border-radius: 0.5rem;
}

.contact-card h3 {
    font-family: var(--font-head);
    color: var(--odnr-green);
    font-size: 1.05rem;
    margin: 0 0 0.4rem;
}

.contact-card address {
    font-style: normal;
    line-height: 1.6;
    color: var(--odnr-charcoal);
    font-size: 0.9rem;
}

.contact-card address a {
    color: var(--odnr-green);
}

.faq-list {
    max-width: 50rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--odnr-border);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 0.9rem 1.1rem;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--odnr-green);
    list-style: none;
    position: relative;
}

.faq-item summary::before {
    content: "\2b";
    margin-right: 0.6rem;
    color: var(--odnr-green);
    display: inline-block;
    width: 0.75rem;
}

.faq-item[open] summary::before {
    content: "\f068";
}

.faq-item summary:hover,
.faq-item summary:focus {
    background: #fafaf2;
    outline: none;
}

.faq-content {
    padding: 0.25rem 1.1rem 1rem;
    line-height: 1.6;
}

.faq-content a {
    color: var(--odnr-green);
}

.fact-banner {
    max-width: 50rem;
    margin: 1.25rem auto;
    padding: 0.85rem 1.2rem;
    background: #fff8e0;
    border-left: 4px solid var(--odnr-gold);
    border-radius: var(--radius);
    line-height: 1.5;
}

.fact-banner .fact-label {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--odnr-green);
    margin-right: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.clubs-section summary {
    cursor: pointer;
    list-style: none;
}

.clubs-section summary h2 {
    color: var(--odnr-text);
    font-family: var(--font-head);
    margin: 0;
}

.clubs-section summary::before {
    content: "\f054";
    margin-right: 0.5rem;
}

.clubs-section[open] summary::before {
    content: "\f078";
}

.clubs-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.club-row {
    display: grid;
    grid-template-columns: 14rem 1fr 9rem;
    gap: 1rem;
    padding: 0.6rem 0;
    border-top: 1px solid var(--odnr-border);
    align-items: baseline;
}

.club-row:first-child {
    border-top: none;
}

.club-name {
    font-weight: 600;
    color: var(--odnr-green);
}

.club-phone {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

@media (max-width: 640px) {
    .club-row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
    .club-phone { text-align: left; }
}

.awardsum-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.cta-active {
    background: var(--odnr-green);
    box-shadow: 0 0 0 2px var(--odnr-gold);
}

.award-grid {
    margin: 1.5rem auto;
    max-width: 60rem;
    padding: 0 1rem;
}

.award-grid h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
}

.error-panel {
    max-width: 40rem;
    margin: 4rem auto;
    padding: 2rem;
    background: white;
    border: 1px solid var(--odnr-border);
    border-top: 4px solid var(--odnr-red);
    border-radius: var(--radius);
    text-align: center;
}

.error-panel .error-code {
    font-family: var(--font-head);
    font-size: 4rem;
    font-weight: 800;
    color: var(--odnr-red);
    margin: 0;
    line-height: 1;
}

.error-panel h1 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 0.5rem 0 1rem;
    font-size: 1.5rem;
}

.error-panel p {
    color: var(--odnr-charcoal);
    line-height: 1.6;
}

.mgmt-article {
    max-width: 50rem;
    margin: 1.5rem auto;
    padding: 0 1rem;
    line-height: 1.6;
}

.mgmt-article h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 1.5rem 0 0.5rem;
}

.mgmt-lake-list {
    columns: 2;
    gap: 1.5rem;
}

.placeholder {
    background: #fffbe6;
    border-bottom: 1px dashed var(--odnr-gold);
    padding: 0 0.15rem;
    color: var(--odnr-charcoal);
    font-style: italic;
}

.alert.alert-info {
    max-width: 50rem;
    margin: 1rem auto;
    padding: 1rem 1.25rem;
    background: #e8f3f8;
    border-left: 4px solid var(--odnr-blue);
    border-radius: 0.5rem;
}

.sumall-filter {
    max-width: 60rem;
    margin: 1.5rem auto;
}

/* "Searching…" state for the filter forms.
 *
 * They submit as a plain GET, so nothing on screen changes until the next page
 * paints — several seconds on a statewide query, which reads as a click that
 * never landed. main.js appends .search-status to .form-actions on submit; it is
 * injected rather than sitting in the templates because with JS off there is
 * nothing that could reveal it. */
.search-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--odnr-green);
}

.search-status::before {
    content: "";
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--odnr-border);
    border-top-color: var(--odnr-green);
    border-radius: 50%;
    animation: search-spin 0.7s linear infinite;
}

@keyframes search-spin {
    to { transform: rotate(360deg); }
}

/* Spinning is decorative; for anglers who ask for less motion, fade instead. */
@media (prefers-reduced-motion: reduce) {
    .search-status::before {
        animation: search-fade 1.2s ease-in-out infinite;
    }
}

@keyframes search-fade {
    50% { opacity: 0.25; }
}

/* The search is already on its way, so swallow a second click. Done in CSS
   rather than by disabling the button: a submitter disabled mid-submit can lose
   its name/value from the query string. */
.sumall-filter.is-searching .form-actions .cta-button {
    pointer-events: none;
    opacity: 0.6;
}

/* Multi-select filters (month / year / location). The list needs a bit more
   height than a single select and no vertical padding, or the first row sits
   half-hidden under the top border. */
.form-control[multiple] {
    padding: 0.25rem;
    min-height: 10rem;
    resize: vertical;
}

.form-control[multiple] option {
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}

.sumall-filter kbd {
    font: inherit;
    font-size: 0.85em;
    padding: 0.05rem 0.3rem;
    border: 1px solid var(--odnr-border);
    border-bottom-width: 2px;
    border-radius: 0.25rem;
    background: #f7f8f6;
}

.sumall-table th[scope="row"] {
    text-align: left;
}

.sumall-table td {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Me-vs-statewide comparison: a narrow three-column table with the category
   label sandwiched between the two numeric columns. */
.sumall-compare {
    max-width: 44rem;
    margin: 0 auto;
}

.sumall-compare th,
.sumall-compare td {
    text-align: center;
}

.sumall-compare th[scope="row"] {
    text-align: center;
    font-weight: 600;
}

.alert-warning {
    background: #fdf6e3;
    border-color: var(--odnr-gold);
    color: var(--odnr-text);
}

.sumall-warning {
    max-width: 44rem;
    margin: 1rem auto;
}

.chart-section {
    max-width: 60rem;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.chart-section summary {
    cursor: pointer;
    display: inline-block;
    list-style: none;
}

.chart-section summary::before {
    content: "\f054";
    margin-right: 0.5rem;
}

.chart-section[open] summary::before {
    content: "\f078";
}

.chart-body {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid var(--odnr-border);
    border-radius: var(--radius);
}

.chart-body h3 {
    font-family: var(--font-head);
    color: var(--odnr-green);
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
}

.length-chart {
    width: 100%;
    height: auto;
}

.info-card {
    max-width: 50rem;
    margin: 2rem auto;
    padding: 1.75rem;
    background: white;
    border: 1px solid var(--odnr-border);
    border-left: 4px solid var(--odnr-green);
    border-radius: var(--radius);
}

.info-card h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 0 0 0.75rem;
}

.info-card p {
    line-height: 1.6;
}

.attribution {
    color: var(--odnr-charcoal);
    font-size: 0.95rem;
    max-width: 60rem;
    margin: 0 auto 1rem;
    padding: 0 1rem;
}

.moon-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 60rem;
    margin: 0 auto 1rem;
    padding: 0 1rem;
}

.moon-nav h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 0;
    font-size: 1.4rem;
}

.moon-calendar {
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
    background: white;
}

.moon-calendar thead th {
    background: var(--odnr-gold);
    color: var(--odnr-text);
    font-family: var(--font-head);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem;
    border: 1px solid var(--odnr-border);
}

.moon-cell {
    border: 1px solid var(--odnr-border);
    vertical-align: top;
    padding: 0.4rem;
    height: 8rem;
    width: 14.28%;
    font-size: 0.75rem;
    line-height: 1.3;
}

.moon-cell-out {
    background: #f6f6f0;
    color: #b0b0b0;
}

.moon-cell-today {
    background: #fff8c0;
    outline: 2px solid var(--odnr-gold);
    outline-offset: -2px;
}

.moon-cell-day {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--odnr-green);
    margin-bottom: 0.2rem;
}

.moon-cell-sun {
    color: var(--odnr-red);
    margin-bottom: 0.2rem;
}

.moon-cell-moon {
    color: var(--odnr-green);
    margin-bottom: 0.3rem;
}

.moon-cell-phase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.moon-svg {
    width: 2rem;
    height: 2rem;
}

.moon-cell-percent {
    font-weight: 600;
    color: var(--odnr-charcoal);
}

.moon-cell-phase-name {
    color: var(--odnr-charcoal);
    font-size: 0.7rem;
    text-align: center;
}

@media (max-width: 640px) {
    .trip-form,
    .catch-form {
        padding: 1.25rem 1.25rem;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .moon-cell {
        height: auto;
        font-size: 0.65rem;
        padding: 0.25rem;
    }

    .moon-cell-phase-name {
        display: none;
    }

    .moon-svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}


/* Read-only identity block on the admin angler-profile editor. */
.identity-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    margin: 0.5rem 0 0;
}
.identity-grid dt {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.7;
}
.identity-grid dd {
    margin: 0;
}


/* "Download My Data" — one card per exportable dataset.
 * ----------------------------------------------------------------- */

.export-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.export-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    border-left: 4px solid var(--odnr-green);
    box-shadow: 0 4px 12px rgba(70, 72, 70, 0.08);
}

.export-card h2 {
    font-family: var(--font-head);
    color: var(--odnr-text);
    margin: 0;
    font-size: 1.15rem;
}

.export-card p {
    margin: 0;
    color: var(--odnr-charcoal);
    font-size: 0.9rem;
    line-height: 1.5;
    /* Push the buttons to the card's bottom edge so both cards' actions line
       up even when their descriptions differ in length. */
    flex: 1;
}

/* The ::before markers above are Font Awesome glyphs, so they need the icon
 * family and its solid weight — inherited font-family would render mojibake. */
.faq-item summary::before,
.clubs-section summary::before,
.chart-section summary::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8em;
    color: var(--odnr-green);
}
