:root {
    --green: #123c2d;
    --deep: #09271d;
    --lime: #dbf06c;
    --cream: #f8f6ee;
    --ink: #19382e;
    --muted: #718178;
    --line: #dce2d8;
    --orange: #ef8052
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 15px 'DM Sans',sans-serif
}

.app-shell {
    max-width: 720px;
    margin: auto;
    min-height: 100vh;
    padding-bottom: 85px
}

.topbar {
    height: 78px;
    padding: 0 23px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.brand {
    color: var(--green);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.7px
}

    .brand i {
        font-family: 'DM Serif Display';
        font-weight: 400
    }

.brand-mark {
    color: var(--orange);
    font-size: 22px;
    margin-right: 5px
}

.profile-button {
    border: 0;
    background: none;
    color: var(--green);
    font: 600 12px 'DM Sans';
    display: grid;
    gap: 1px;
    text-align: center;
    cursor: pointer
}

    .profile-button span {
        font-size: 25px;
        line-height: 17px
    }
.date-range-hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all .25s ease;
}


.date-range-visible {
    max-height: 150px;
    opacity: 1;
    margin-top: 12px;
}


.date-input {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}


    .date-input label {
        width: 35px;
        font-weight: 600;
        color: #555;
    }


.date-box-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}


    .date-box-input span {
        font-size: 18px;
    }


    .date-box-input input {
        flex: 1;
        border: none;
        background: transparent;
        font-size: 15px;
        color: #333;
        outline: none;
        font-weight: 500;
    }


        .date-box-input input::-webkit-calendar-picker-indicator {
            cursor: pointer;
            opacity: .7;
        }
.hero {
    background: var(--green);
    color: #faffed;
    padding: 31px 23px 28px;
    border-radius: 0 0 28px 28px
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 10px;
    font-weight: 700;
    margin: 0 0 9px;
    color: #b7c9b4
}

.hero h1, .dashboard h1 {
    font: 43px/1.01 'DM Serif Display';
    letter-spacing: -1px;
    margin: 0
}

    .hero h1 em, .dashboard h1 em {
        color: var(--lime);
        font-weight: 400
    }

.hero-copy {
    font-size: 14px;
    line-height: 1.5;
    color: #c7d4c7;
    max-width: 350px;
    margin: 17px 0 22px
}

.search-cta {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 13px;
    background: #fff;
    color: #476057;
    padding: 15px 16px;
    text-align: left;
    font: 500 14px 'DM Sans';
    cursor: pointer;
    box-shadow: 0 4px 12px #06211755
}

    .search-cta span:first-child {
        font-size: 24px;
        line-height: 12px;
        color: var(--green)
    }

    .search-cta strong {
        margin-left: auto;
        font-size: 24px;
        font-weight: 400;
        color: var(--green)
    }

.quick-filters{
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}
.choice-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 6px;

    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;

    scrollbar-width: thin;
}

.choice-row::-webkit-scrollbar {
    height: 4px;
}

.choice-row::-webkit-scrollbar-thumb {
    border-radius: 10px;
}
.choice {
    flex: 0 0 auto;

    white-space: nowrap;

    border-radius: 999px;

    padding: 10px 16px;

    cursor: pointer;
}


.choice.selected {
    background:#123c2d;
    color:white;
    border-color:#123c2d;
}
.quick-filters {
    margin-top: 17px
}

    .quick-filters button, .choice {
        border: 1px solid #58806e;
        background: transparent;
        color: #edf5e5;
        border-radius: 50px;
        padding: 7px 12px;
        font: 500 12px 'DM Sans';
        cursor: pointer
    }

.content {
    padding: 30px 18px
}

.section-title, .sheet-head {
    display: flex;
    justify-content: space-between;
    align-items: center
}

    .section-title h2, .dashboard h2 {
        font: 25px 'DM Serif Display';
        letter-spacing: -.3px;
        margin: 0
    }

.filter-link {
    color: var(--green);
    font: 600 13px 'DM Sans';
    background: none;
    border: 0;
    cursor: pointer
}


.event-list {
    display: grid;
    gap: 12px;
    margin-top: 21px
}

.event-card {
    background: #fff;
    border: 1px solid #e7e9df;
    border-radius: 15px;
    padding: 15px;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 12px;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 4px #1b392608
}
.date-range-hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.date-range-visible {
    max-height: 120px;
    opacity: 1;
    margin-top: 10px;
}

.date-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .date-input input {
        flex: 1;
    }

@media (max-width: 600px) {
    #active-filter {
        gap: 10px;
    }
}

.active-filter {
    font-size: 12px;
    border-radius: 20px;
    padding: 7px 10px;
    width: max-content;
    margin: 15px 0 -6px
}
.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e6f0c9;
    padding: 5px 10px;
    border-radius: 20px;
    margin: 0 !important;
}
.remove-filter {
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
}
.date-box {
    text-align: center;
    color: var(--orange);
    border-right: 1px solid var(--line);
    padding-right: 10px
}

    .date-box strong {
        display: block;
        font-size: 22px;
        line-height: 20px
    }

    .date-box span {
        font-size: 10px;
        text-transform: uppercase;
        font-weight: 700
    }

.event-card h3 {
    font-size: 14px;
    margin: 0 0 4px;
    color: var(--green)
}

.event-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4
}

.badge {
    align-self: start;
    border-radius: 20px;
    background: #e6f0c9;
    color: #4c6228;
    font-size: 10px;
    padding: 5px 8px;
    font-weight: 700
}


    .badge.national {
        background: #e8d7bd;
        color: #775325
    }


.call-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1.2;
}

    .call-button span:last-child {
        font-size: 0.95em;
    }
.bottom-nav {
    position: fixed;
    z-index: 2;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px,100%);
    height: 70px;
    background: #fff;
    border-top: 1px solid #e4e7de;
    display: flex;
    justify-content: space-around
}

.nav-item {
    border: 0;
    background: none;
    color: #748279;
    text-decoration: none;
    font: 500 11px 'DM Sans';
    display: grid;
    place-content: center;
    gap: 4px;
    min-width: 75px;
    cursor: pointer
}

    .nav-item span {
        font-size: 21px;
        line-height: 17px
    }

    .nav-item.active {
        color: var(--green);
        font-weight: 700
    }

.sheet {
    border: 0;
    border-radius: 25px 25px 0 0;
    padding: 0;
    max-width: 720px;
    width: 100%;
    margin: auto 0 0;
    max-height: 90vh;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 -8px 30px #09271d33
}

    .sheet::backdrop {
        background: #09271d88
    }

    .sheet form, .event-sheet {
        padding: 10px 22px 28px;
        overflow: auto;
        max-height: 90vh
    }

.sheet-handle {
    width: 40px;
    height: 4px;
    border-radius: 5px;
    background: #d8ded6;
    margin: 2px auto 18px
}

.sheet-head {
    margin-bottom: 22px
}

    .sheet-head h2 {
        font: 26px 'DM Serif Display';
        margin: 0
    }

.icon-close {
    font: 30px/22px Arial;
    border: 0;
    background: transparent;
    color: var(--green);
    cursor: pointer
}

.field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin: 22px 0 9px
}

.choice {
    color: #4f665b;
    background: #fff;
    border-color: #dce2d8
}

    .choice.selected {
        background: var(--green);
        border-color: var(--green);
        color: white
    }

.primary {
    border: 0;
    border-radius: 12px;
    background: var(--lime);
    color: var(--deep);
    font: 700 14px 'DM Sans';
    padding: 14px 18px;
    cursor: pointer
}

.wide {
    width: 100%;
    margin-top: 28px
}

.muted, .demo-note {
    color: var(--muted);
    line-height: 1.5
}

.login-sheet label, .form-grid > label {
    font-size: 12px;
    font-weight: 700;
    display: block;
    margin-top: 15px
}

.login-sheet input, .form-grid input, .form-grid select {
    display: block;
    width: 100%;
    border: 1px solid #d9e0d8;
    border-radius: 9px;
    margin-top: 6px;
    padding: 12px;
    font: 14px 'DM Sans';
    color: var(--ink);
    background: #fff
}

.demo-note {
    font-size: 11px;
    text-align: center
}

.event-detail-date {
    color: var(--orange);
    font-weight: 700;
    font-size: 13px;
    margin: 0 0 5px
}

.event-sheet h2 {
    font: 31px/1.05 'DM Serif Display';
    margin: 0
}

.event-sheet .association {
    margin: 9px 0 23px;
    color: var(--muted)
}

.details {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    margin: 20px 0;
    display: grid;
    gap: 14px
}

.detail {
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 8px;
    align-items: center;
}

    .detail span {
        color: #638274;
        font-size: 18px
    }

    .detail b {
        display: block;
        font-size: 12px
    }

    .detail small {
        color: var(--muted);
        font-size: 12px
    }

.tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.tag {
    font-size: 11px;
    border-radius: 30px;
    background: #edf1e9;
    padding: 6px 9px
}

.dashboard {
    position: fixed;
    inset: 0;
    z-index: 5;
    background: var(--cream);
    overflow: auto;
    max-width: 720px;
    margin: auto
}

.dashboard-head {
    background: var(--green);
    color: white;
    padding: 24px 22px 28px;
    display: flex;
    align-items: start;
    gap: 13px
}

    .dashboard-head .eyebrow {
        margin-top: 3px
    }

.dashboard h1 {
    font-size: 34px
}

.back, .avatar {
    border: 0;
    background: #ffffff18;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer
}

.avatar {
    margin-left: auto;
    font: 700 11px 'DM Sans';
    background: var(--lime);
    color: var(--deep)
}

.dashboard-main {
    padding: 23px 18px
}

.dashboard-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px
}

    .dashboard-intro p {
        color: var(--muted);
        margin: 0;
        line-height: 1.45;
        max-width: 260px
    }

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 25px 0
}

    .stats div {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 13px;
        padding: 14px
    }

    .stats strong {
        font: 26px 'DM Serif Display';
        display: block
    }

    .stats span {
        font-size: 11px;
        color: var(--muted)
    }

.club-events {
    margin-top: 13px;
    display: grid;
    gap: 10px
}

.club-event {
    background: #fff;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    display: flex;
    justify-content: space-between
}

    .club-event b {
        font-size: 13px
    }

    .club-event p {
        font-size: 11px;
        color: var(--muted);
        margin: 5px 0 0
    }

    .club-event button {
        border: 0;
        background: none;
        color: var(--green);
        font: 600 12px 'DM Sans';
        cursor: pointer
    }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px
}

    .form-grid .full {
        grid-column: 1/-1
    }

    .form-grid fieldset {
        border: 1px solid var(--line);
        border-radius: 10px;
        margin: 17px 0 0;
        padding: 10px;
        font-size: 12px
    }

    .form-grid legend {
        font-weight: 700;
        padding: 0 4px
    }

    .form-grid fieldset label {
        margin-right: 11px;
        white-space: nowrap
    }

    .form-grid fieldset input {
        display: inline;
        width: auto;
        margin: 0;
        vertical-align: middle
    }

.add-sheet {
    max-height: 96vh
}

    .add-sheet form {
        max-height: 96vh
    }

@media(min-width:600px) {
    .hero {
        padding-left: 42px;
        padding-right: 42px
    }

    .content {
        padding-left: 42px;
        padding-right: 42px
    }

    .event-list {
        grid-template-columns: 1fr 1fr
    }

    .event-card {
        grid-template-columns: 45px 1fr
    }

        .event-card .badge {
            display: none
        }
}

