:root {
    color-scheme: light;
    --green: #176044;
    --dark: #18392e;
    --line: #d8e4da;
    --muted: #4e645a;
    font-family: "Segoe UI", "Nirmala UI", system-ui, sans-serif;
    color: #172b23;
    background: #f3f7f3;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); text-underline-offset: .2em; }
.top { display: flex; gap: 1rem 1.75rem; align-items: center; flex-wrap: wrap; padding: .9rem clamp(1rem, 4vw, 3rem); background: var(--dark); color: white; }
.top a { color: white; text-decoration: none; }
.top a:hover { text-decoration: underline; }
.top nav { display: flex; gap: .65rem 1.1rem; flex-wrap: wrap; margin-right: auto; }
.top button { background: transparent; border-color: #b7d3c4; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.brand span { border-radius: .45rem; background: #e7f4a8; color: var(--dark); padding: .4rem .55rem; }
main { max-width: 100rem; padding: clamp(1rem, 3vw, 2.5rem); margin: auto; }
h1 { font-size: clamp(1.75rem, 3.8vw, 2.65rem); letter-spacing: -.035em; margin: 0 0 1rem; }
h2 { font-size: 1.12rem; margin: 0 0 .9rem; }
section, details { padding: clamp(.8rem, 2vw, 1.3rem); border: 1px solid var(--line); border-radius: .75rem; background: white; margin-bottom: 1rem; }
details section { margin: .75rem 0; }
summary { cursor: pointer; font-weight: 650; }
details form { margin-top: .75rem; }
form, .actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; }
.actions { align-items: center; margin: 1rem 0; }
label { display: grid; gap: .3rem; font-size: .87rem; font-weight: 600; }
input, select, button, .button { font: inherit; border-radius: .38rem; padding: .52rem .64rem; min-height: 2.35rem; }
input, select { color: inherit; background: white; border: 1px solid #aebfb2; max-width: 100%; }
button, .button { border: 1px solid var(--green); background: var(--green); color: white; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: #114b35; }
:focus-visible { outline: 3px solid #ae6700; outline-offset: 2px; }
fieldset { min-width: 0; display: flex; flex-wrap: wrap; gap: .6rem; border: 1px solid var(--line); border-radius: .4rem; }
.permissions label { display: flex; align-items: center; gap: .25rem; }
.permissions input { min-height: auto; }
.narrow { max-width: 31rem; }
.narrow form { display: grid; }
[data-account-form] small { max-width: 22rem; color: var(--muted); font-weight: 400; }
.field-error { color: #9d2424; font-size: .86rem; }
.field-error[data-error-for="form"] { flex-basis: 100%; }
[data-account-form] [aria-invalid="true"] { border-color: #9d2424; }
.report-header { margin: 1rem 0; }
.report-header p { color: var(--muted); line-height: 1.6; }
.report-header p:first-child { margin: 0 0 .2rem; font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr)); gap: .65rem; }
.cards article { display: grid; gap: .4rem; padding: .85rem; border-radius: .45rem; background: #eaf4ec; }
.cards span { color: var(--muted); font-size: .85rem; }
.cards strong { color: var(--dark); font-size: 1.22rem; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .88rem; }
td, th { text-align: left; border-bottom: 1px solid var(--line); padding: .65rem .5rem; vertical-align: top; }
th { background: #edf4ee; }
td { font-variant-numeric: tabular-nums; }
tbody tr:hover { background: #f5f9f5; }
