@charset "UTF-8";
:root {
    --bg:#f7f8f2;
    --paper:#fff;
    --ink:#233e36;
    --muted:#687970;
    --green:#28634d;
    --light:#eaf1e8;
    --line:#e1e7dd;
    --yellow:#f7edcb;
    --radius:22px;
}

* {
    box-sizing:border-box;
}

body {
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

a {
    color:var(--green);
    text-underline-offset:4px;
}

button,input {
    font:inherit;
}

button,a,input {
    touch-action:manipulation;
}

button {
    cursor:pointer;
}

a:focus-visible,button:focus-visible,input:focus-visible {
    outline:3px solid #ba861e;
    outline-offset:4px;
}

.site-header {
    max-width:1220px;
    margin:auto;
    min-height:112px;
    padding:26px 32px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
}

.brand {
    display:flex;
    align-items:center;
    gap:13px;
    text-decoration:none;
    font-weight:750;
    font-size:21px;
}

.brand-icon {
    display:grid;
    place-items:center;
    background:var(--green);
    color:#fff3c9;
    width:48px;
    height:48px;
    border-radius:16px;
    font-size:35px;
}

.brand small {
    display:block;
    font-size:11px;
    font-weight:500;
    letter-spacing:.04em;
    color:var(--muted);
}

.site-header nav {
    display:flex;
    gap:22px;
    align-items:center;
    font-size:14px;
}

.site-header nav a {
    text-decoration:none;
}

.site-header nav form {
    margin:0;
}

.public-main {
    max-width:1160px;
    margin:40px auto 80px;
    padding:0 32px;
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:80px;
    align-items:start;
}

.intro {
    padding-top:36px;
}

.eyebrow {
    display:block;
    font-size:11px;
    font-weight:800;
    letter-spacing:.17em;
    color:var(--green);
    margin-bottom:16px;
}

h1,h2,h3,p {
    margin-top:0;
}

h1 {
    font-size:clamp(38px,4.5vw,62px);
    font-weight:650;
    line-height:1.1;
    letter-spacing:-.045em;
    margin-bottom:24px;
}

h1 span {
    color:var(--green);
}

h2 {
    font-size:25px;
    letter-spacing:-.035em;
    margin-bottom:6px;
}

h3 {
    font-size:18px;
    margin-bottom:5px;
}

.intro>p {
    color:var(--muted);
    font-size:17px;
    max-width:370px;
}

.steps {
    list-style:none;
    padding:0;
    margin:44px 0;
}

.steps li {
    display:flex;
    gap:16px;
    margin:24px 0;
}

.steps li>span {
    background:var(--light);
    border:1px solid #d8e4d3;
    border-radius:50%;
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    flex-shrink:0;
    font-size:14px;
}

.steps strong {
    font-size:14px;
}

.steps p {
    font-size:13px;
    color:var(--muted);
    margin:4px 0;
}

.friendly-note {
    display:flex;
    gap:16px;
    align-items:center;
    max-width:365px;
    font-size:13px;
    color:var(--muted);
    padding:20px 0;
    border-top:1px solid var(--line);
}

.friendly-note>span {
    font-size:40px;
    color:#a7832d;
}

.card {
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:0 12px 40px #233e3605;
    padding:34px;
}

.card-heading p {
    font-size:13px;
    color:var(--muted);
    margin-bottom:28px;
}

.card-heading .eyebrow {
    margin-bottom:8px;
}

label,legend {
    display:block;
    font-weight:600;
    font-size:13px;
    margin:18px 0 7px;
}

input:not([type=checkbox]):not([type=hidden]) {
    width:100%;
    padding:12px 14px;
    border:1px solid #cfd8cc;
    border-radius:10px;
    color:var(--ink);
    background:#fff;
    min-height:48px;
}

input::placeholder {
    color:#89928c;
    font-size:14px;
}

input[type=checkbox] {
    accent-color:var(--green);
    width:18px;
    height:18px;
    flex-shrink:0;
    margin:3px 0;
}

.field-hint {
    font-size:12px;
    color:var(--muted);
    margin:7px 0 12px;
}

.dates {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    padding:0;
    border:0;
    margin:22px 0;
}

.dates legend {
    margin:0 0 4px;
}

.dates label {
    margin-top:0;
}

.muted {
    color:var(--muted);
    font-weight:400;
}

.check-panel {
    display:flex;
    gap:12px;
    align-items:flex-start;
    padding:16px;
    background:var(--light);
    border:1px solid #dce7d7;
    border-radius:12px;
    margin:24px 0 20px;
}

.check-panel strong {
    font-size:13px;
}

.check-panel small {
    display:block;
    color:var(--muted);
    font-size:11px;
    font-weight:400;
    margin-top:3px;
}

.lunch-icon {
    margin-left:auto;
    font-size:28px;
}

.check-line {
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:12px;
    font-weight:400;
}

.button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    background:var(--green);
    color:white;
    border:0;
    border-radius:10px;
    padding:13px 22px;
    font-size:14px;
    font-weight:650;
    text-decoration:none;
}

.button:hover {
    background:#1f503e;
}

.button.full {
    width:100%;
    margin-top:20px;
    justify-content:space-between;
}

.button.full:only-child {
    justify-content:center;
}

.button.small {
    font-size:12px;
    padding:10px 14px;
}

.link-button {
    padding:0;
    background:none;
    border:0;
    color:var(--green);
    font-size:inherit;
    text-decoration:underline;
    text-underline-offset:3px;
}

.form-footnote {
    font-size:11px;
    color:var(--muted);
    text-align:center;
    margin:16px 0 0;
}

.honeypot {
    position:absolute;
    left:-10000px;
    width:1px;
    height:1px;
    overflow:hidden;
}

footer {
    border-top:1px solid var(--line);
    max-width:1156px;
    padding:24px 0;
    margin:auto;
    display:flex;
    justify-content:space-between;
    gap:20px;
    font-size:12px;
    color:var(--muted);
}

.notice {
    padding:16px 20px;
    background:var(--yellow);
    border:1px solid #e6d8a8;
    border-radius:12px;
    font-size:14px;
    margin-bottom:24px;
    grid-column:1/-1;
}

.notice p:last-child,.notice ul:last-child {
    margin-bottom:0;
}

.notice.error {
    background:#fff0ed;
    border-color:#edc1b7;
    color:#8c3428;
}

.notice.success {
    background:var(--light);
    border-color:#c6d8bd;
}

.narrow {
    grid-column:1/-1;
    width:100%;
    max-width:520px;
    margin:20px auto;
}

.narrow h1 {
    font-size:38px;
}

.narrow p {
    color:var(--muted);
}

.centered {
    text-align:center;
}

.success-icon {
    margin:0 auto 24px;
    border-radius:50%;
    background:var(--light);
    width:70px;
    height:70px;
    display:grid;
    place-items:center;
    font-size:36px;
}

.admin-main {
    max-width:1220px;
    margin:36px auto 80px;
    padding:0 32px;
}

.admin-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.admin-heading h1 {
    font-size:40px;
    margin-bottom:12px;
}

.admin-heading p {
    color:var(--muted);
    font-size:14px;
}

.date-pill {
    padding:8px 16px;
    border:1px solid var(--line);
    border-radius:30px;
    white-space:nowrap;
    font-size:13px;
}

.stats {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin:24px 0;
}

.stat {
    text-decoration:none;
    padding:22px 26px;
    border:1px solid var(--line);
    border-radius:16px;
    background:white;
}

.stat:first-child {
    background:var(--light);
}

.stat span {
    font-size:13px;
    color:var(--muted);
}

.stat strong {
    display:block;
    font-size:40px;
    font-weight:650;
    line-height:1.2;
    margin-top:10px;
}

.requests-card {
    padding:24px 28px;
}

.tabs {
    display:flex;
    gap:22px;
    flex-wrap:wrap;
    border-bottom:1px solid var(--line);
    padding:0 0 14px;
}

.tabs a {
    text-decoration:none;
    font-size:13px;
    color:var(--muted);
}

.tabs [aria-current] {
    color:var(--green);
    font-weight:700;
}

.list-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:24px 0 18px;
}

.list-heading h2 {
    font-size:20px;
}

.list-heading>span {
    font-size:12px;
    color:var(--muted);
}

.request {
    display:grid;
    grid-template-columns:1fr 1fr 220px;
    gap:24px;
    padding:24px 0;
    border-top:1px solid var(--line);
}

.request-id {
    font-size:11px;
    color:var(--muted);
}

.request-person h3 {
    margin:2px 0;
}

.request-person p,.request-person a {
    font-size:12px;
    margin:0;
    overflow-wrap:anywhere;
}

.request-dates {
    padding-top:8px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:9px;
}

.request-dates strong {
    font-size:13px;
}

.badge {
    display:inline-block;
    font-size:11px;
    font-weight:600;
    padding:3px 9px;
    border-radius:6px;
    background:#f0f2ec;
    color:var(--muted);
}

.badge.lunch,.badge.done {
    background:var(--light);
    color:var(--green);
}

.badge.pending {
    background:var(--yellow);
    color:#816523;
}

.request small {
    display:block;
    font-size:11px;
    color:var(--muted);
    margin-top:6px;
}

.request-action .check-line {
    margin:12px 0;
}

.empty-state {
    text-align:center;
    padding:48px 20px;
    color:var(--muted);
}

.empty-state>span {
    font-size:35px;
    color:var(--green);
}

.empty-state h3 {
    margin-top:16px;
    color:var(--ink);
}

.empty-state p {
    font-size:14px;
}

.pagination {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:24px;
    font-size:13px;
    padding-top:24px;
}

@media(max-width:900px) {
    .public-main {
        gap:36px;
    }
    .site-header nav {
        gap:14px;
    }
    .request {
        grid-template-columns:1fr 1fr;
    }
    .request-action {
        grid-column:1/-1;
    }
    .request-action form {
        display:flex;
        gap:20px;
        align-items:center;
        flex-wrap:wrap;
    }
    footer {
        margin:0 32px;
    }
    .card {
        padding:26px;
    }
    .intro h1 {
        font-size:48px;
    }
}

@media(max-width:650px) {
    .site-header {
        padding:20px;
        min-height:90px;
        align-items:flex-start;
        flex-wrap:wrap;
    }
    .brand {
        font-size:19px;
    }
    .site-header nav {
        font-size:12px;
        flex-wrap:wrap;
    }
    .public-main {
        display:flex;
        flex-direction:column;
        margin-top:12px;
        padding:0 20px;
        gap:24px;
    }
    .intro {
        padding-top:10px;
    }
    .intro h1 {
        font-size:44px;
    }
    .intro h1 br {
        display:none;
    }
    .intro>p {
        max-width:none;
        font-size:15px;
    }
    .steps,.friendly-note {
        display:none;
    }
    .form-card {
        width:100%;
    }
    .card {
        padding:24px 20px;
        border-radius:18px;
    }
    .dates {
        gap:10px;
    }
    .dates input {
        min-width:0;
        padding:10px 7px!important;
        font-size:14px;
    }
    footer {
        margin:0 20px;
        flex-direction:column;
        gap:4px;
    }
    .admin-main {
        padding:0 20px;
        margin-top:20px;
    }
    .admin-heading {
        display:block;
    }
    .admin-heading h1 {
        font-size:33px;
    }
    .date-pill {
        display:inline-block;
    }
    .stats {
        gap:8px;
    }
    .stat {
        padding:14px 12px;
    }
    .stat span {
        font-size:11px;
        line-height:1.4;
        display:block;
    }
    .stat strong {
        font-size:30px;
    }
    .tabs {
        gap:16px;
    }
    .request {
        grid-template-columns:1fr;
        gap:14px;
    }
    .request-action {
        grid-column:auto;
    }
    .request-dates {
        padding-top:0;
    }
    .narrow {
        margin-top:0;
    }
    .admin-heading .eyebrow {
        margin-bottom:10px;
    }
}
