:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #173d2a;
    background: #f3f5ef;
}

* { box-sizing: border-box; }
body { margin: 0; }
header {
    min-height: 68px; padding: 0 5vw; display: flex; align-items: center;
    justify-content: space-between; background: #173d2a; color: white;
}
header nav, header form { display: flex; align-items: center; gap: 1rem; }
header nav > a { color: white; text-decoration: none; }
.brand { color: white; font-weight: 750; text-decoration: none; letter-spacing: .02em; }
main { width: min(1080px, 90vw); margin: 4rem auto; }
h1 { margin: .2rem 0 .5rem; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1; }
h2 { margin-top: 0; }
.eyebrow { margin: 0; color: #bd6b38; font-size: .75rem; font-weight: 800; letter-spacing: .15em; }
.muted { color: #627066; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.5rem 0; }
.stats article, .panel, .login-panel {
    padding: 1.5rem; background: white; border: 1px solid #d9dfd6;
    border-radius: 14px; box-shadow: 0 8px 30px rgb(23 61 42 / 5%);
}
.stats strong { display: block; font-size: 2.5rem; }
.stats span { color: #627066; }
.login-panel { max-width: 440px; margin: 8vh auto; }
label { display: block; margin-top: 1rem; font-weight: 650; }
input {
    width: 100%; padding: .8rem; margin-top: .35rem; border: 1px solid #abb7ad;
    border-radius: 7px; font: inherit;
}
select {
    width: 100%; padding: .8rem; margin-top: .35rem; border: 1px solid #abb7ad;
    border-radius: 7px; background: white; font: inherit;
}
.user-form { display: grid; grid-template-columns: 2fr 2fr 1fr auto; gap: 1rem; align-items: end; }
.user-form button { margin: 0; }
.table-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.password-reset-form { display: flex; gap: .5rem; align-items: center; }
.password-reset-form input { width: 12rem; margin: 0; padding: .45rem .65rem; font-size: .8rem; }
.small-button { margin: 0; padding: .45rem .65rem; white-space: nowrap; font-size: .8rem; }
button {
    margin-top: 1.25rem; padding: .75rem 1.1rem; color: white; background: #bd6b38;
    border: 0; border-radius: 7px; font: inherit; font-weight: 700; cursor: pointer;
}
.link-button { margin: 0; padding: 0; background: transparent; text-decoration: underline; }
.validation { color: #a32d22; font-size: .9rem; }
.status-message { padding: 1rem; background: #e5f2e9; border-radius: 7px; }
.settings-panel { max-width: 620px; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .8rem .4rem; text-align: left; border-bottom: 1px solid #e2e6e0; }
th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 650px) {
    .stats { grid-template-columns: 1fr; }
    main { margin-top: 2rem; }
    table { font-size: .85rem; }
    .user-form { grid-template-columns: 1fr; }
}
