:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #182a3b;
    background: #eef2f5;
    --navy: #152d46;
    --accent: #275b79;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(100% - 2rem, 68rem); margin: 0 auto; padding: 3rem 0; }
.landing .shell { max-width: 53rem; padding-top: clamp(4rem, 13vw, 8rem); }
.page-heading { margin-bottom: 1.5rem; }
.brand { color: var(--accent); font-size: .85rem; font-weight: 700; margin: 0 0 .75rem; }
h1 { margin: 0; color: var(--navy); font-size: clamp(1.7rem, 4vw, 2.65rem); line-height: 1.15; }
.back { display: inline-block; color: var(--accent); margin-bottom: .75rem; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.choice, .panel { border: 1px solid #cfdce4; border-radius: .75rem; background: #fff; }
.choice { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 5.5rem; padding: 1.15rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.choice:hover { border-color: var(--accent); }
.panel { padding: clamp(1rem, 3vw, 2rem); }
.meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1.5rem; font-size: .9rem; }
.field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.field-grid h2 { grid-column: 1 / -1; margin: .75rem 0 0; font-size: 1.15rem; }
.field label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .9rem; }
.field input, .field select { width: 100%; min-width: 0; min-height: 2.65rem; padding: .5rem; border: 1px solid #8b9ca9; border-radius: .35rem; background: #fff; color: inherit; font: inherit; }
.primary { margin-top: 1.5rem; padding: .7rem 1.35rem; border: 0; border-radius: .35rem; background: var(--navy); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
:focus-visible { outline: 3px solid #397aa2; outline-offset: 3px; }
.notice { padding: .9rem 1rem; margin-bottom: 1rem; background: #e5f3eb; border-radius: .35rem; }
.notice.error { background: #fcece8; }
.notice ul { margin-bottom: 0; }
@media (max-width: 54rem) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) {
    .shell { padding-top: 2rem; }
    .field-grid, .choices { grid-template-columns: minmax(0, 1fr); }
}

.report-shell { width: min(100% - 2rem, 100rem); }
.report-tools { display: flex; align-items: end; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.report-tools .primary { min-height: 2.65rem; margin-top: 0; }
.report-scroll { overflow: auto; max-height: 65vh; border: 1px solid #cfdce4; border-radius: .35rem; }
.report-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .88rem; }
.report-table th, .report-table td { text-align: left; vertical-align: top; min-width: 8rem; padding: .65rem; border-bottom: 1px solid #d4dfe5; }
.report-table th { position: sticky; top: 0; background: #e7eef4; white-space: nowrap; }
.report-table td { width: 1%; overflow-wrap: anywhere; }
.report-table tr:nth-child(even) { background: #f3f7f9; }
.report-nav { display: flex; gap: 1.25rem; margin-top: 1rem; }
.report-nav a { color: var(--accent); }
