:root {
    --green: #174e3c;
    --ink: #203f34;
    --muted: #627168;
    --lime: #d6f196;
    --paper: #f5f7f1;
    --line: #e1e7dc;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font:
        14px/1.6 system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    background: var(--paper);
    color: var(--ink);
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea {
    outline-offset: 4px;
}
button,
a {
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
button:disabled {
    opacity: 0.5;
    cursor: wait;
}
a {
    color: var(--green);
}
.shell {
    max-width: 1140px;
    margin: auto;
    padding: 28px 24px 110px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 31px;
    letter-spacing: -1.7px;
    font-weight: 800;
}
.brand img {
    width: 34px;
    height: 34px;
}
.brand small {
    font-size: 9px;
    letter-spacing: 0;
    color: var(--muted);
    margin-top: 10px;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}
.avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e8efdc;
    font-weight: 700;
    border: 0;
    color: var(--green);
}
.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--muted);
}
h1 {
    font-size: 34px;
    line-height: 1.14;
    letter-spacing: -1.3px;
    margin: 10px 0 14px;
}
h2 {
    font-size: 21px;
    letter-spacing: -0.6px;
    line-height: 1.3;
    margin: 0 0 12px;
}
p {
    color: var(--muted);
    font-size: 13px;
    margin: 8px 0 18px;
}
.button,
button.primary {
    border: 0;
    background: var(--green);
    color: white;
    padding: 14px 20px;
    min-height: 48px;
    border-radius: 14px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    text-decoration: none;
}
.button.secondary {
    color: var(--green);
    border: 1px solid var(--line);
    background: white;
}
.button.lime {
    background: var(--lime);
    color: var(--green);
}
.button.danger {
    background: #f8e8df;
    color: #9a4432;
}
.full {
    width: 100%;
}
.card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 23px;
    padding: 23px;
    min-width: 0;
    margin-bottom: 18px;
}
.hero {
    background: var(--green);
    border: 0;
    position: relative;
    color: white;
    overflow: hidden;
    padding: 27px;
    min-height: 235px;
}
.hero:after {
    content: "ϟ";
    font-size: 90px;
    line-height: 1.1;
    color: var(--green);
    display: grid;
    place-items: center;
    position: absolute;
    right: -16px;
    bottom: 20px;
    width: 100px;
    height: 120px;
    background: var(--lime);
    border-radius: 25px;
    transform: rotate(-15deg);
}
.hero:before {
    content: "";
    position: absolute;
    right: -100px;
    top: -40px;
    width: 280px;
    height: 280px;
    border: 1px solid #ffffff20;
    border-radius: 50%;
    box-shadow:
        0 0 0 25px #ffffff05,
        0 0 0 50px #ffffff05,
        0 0 0 75px #ffffff05;
}
.hero h1,
.hero h2,
.hero p,
.hero .eyebrow,
.hero .button {
    position: relative;
    z-index: 1;
    max-width: 80%;
}
.hero h1 {
    font-size: 33px;
    max-width: 75%;
}
.hero p {
    color: #d4e2d4;
    font-size: 12px;
    max-width: 70%;
}
.hero .eyebrow {
    color: var(--lime);
    font-size: 9px;
}
.hero .button {
    margin-top: 10px;
}
.balance {
    background: #f0f2df;
}
.balance strong {
    display: block;
    font-size: 45px;
    font-weight: 750;
    letter-spacing: -2px;
    line-height: 1.2;
    margin: 18px 0 4px;
}
.small {
    font-size: 11px;
    color: var(--muted);
}
.grid {
    display: grid;
    gap: 18px;
}
.grid .card {
    margin: 0;
}
.two {
    grid-template-columns: 1fr 1fr;
}
.task-art {
    height: 115px;
    border-radius: 17px;
    background: #e9efcf;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: -6px -6px 18px;
}
.task-art.audit {
    background: #f3e1cf;
}
.task-art span:last-child {
    font-size: 43px;
    transform: rotate(-12deg);
    margin-top: 20px;
    color: var(--green);
}
.pill {
    display: inline-block;
    border-radius: 20px;
    padding: 5px 10px;
    background: #eef4e3;
    color: var(--green);
    font-size: 10px;
    font-weight: 650;
}
.pill.amber {
    background: #fff1d9;
    color: #9a681f;
}
.task .pill {
    font-size: 9px;
    background: #ffffffcf;
}
.task h2 {
    font-size: 22px;
}
.task .reward {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    border-top: 1px solid var(--line);
    padding-top: 15px;
}
.task p {
    font-size: 12px;
}
.task .reward .pill {
    background: #edf4e1;
    font-size: 12px;
}
.task-link {
    border: 0;
    background: none;
    color: var(--green);
    font-weight: 700;
    min-height: 44px;
    padding: 8px;
}
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 16px;
}
.section-title h2 {
    margin: 0;
}
.tabs {
    display: flex;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.tabs button {
    border: 1px solid var(--line);
    background: white;
    color: var(--green);
    border-radius: 25px;
    padding: 10px 15px;
    min-height: 44px;
    font-size: 12px;
}
.tabs button.selected {
    background: var(--green);
    color: white;
}
.nav {
    position: fixed;
    inset: auto 0 0;
    display: flex;
    justify-content: space-around;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 9px 8px calc(9px + env(safe-area-inset-bottom));
    z-index: 10;
}
.nav button {
    border: 0;
    background: none;
    padding: 7px 14px;
    min-height: 50px;
    min-width: 60px;
    color: var(--muted);
    font-size: 10px;
    border-radius: 14px;
}
.nav button.selected {
    background: #eaf1de;
    color: var(--green);
    font-weight: 750;
}
.nav b {
    display: block;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 4px;
}
.notice {
    background: #fff2dc;
    color: #94611f;
    border-radius: 14px;
    padding: 15px 17px;
    font-size: 12px;
    margin-bottom: 18px;
}
.notice.saved {
    background: #eaf2db;
    color: #42653c;
}
.row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.between {
    justify-content: space-between;
}
.wrap {
    flex-wrap: wrap;
}
label {
    display: block;
    font-size: 12px;
    font-weight: 650;
    margin-bottom: 17px;
}
input,
select,
textarea {
    display: block;
    width: 100%;
    background: white;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 15px;
    min-height: 50px;
    margin-top: 8px;
    color: var(--ink);
}
textarea {
    min-height: 100px;
    resize: vertical;
}
input[type="checkbox"] {
    width: 20px;
    min-height: 20px;
    margin: 0;
    accent-color: var(--green);
}
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 400;
}
.auth {
    max-width: 450px;
    margin: 20px auto;
}
.auth > .brand {
    margin-bottom: 45px;
}
.auth h1 {
    font-size: 37px;
}
.auth .hero {
    margin-bottom: 30px;
}
.back {
    border: 0;
    background: none;
    color: var(--green);
    font-weight: 700;
    min-height: 44px;
    padding: 0 12px 0 0;
}
.empty {
    text-align: center;
    padding: 35px 22px;
}
.empty p {
    margin: 10px 0 0;
}
.activity {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}
.activity:last-child {
    border: 0;
}
.activity strong {
    font-size: 13px;
}
.activity .small {
    margin: 4px 0 0;
}
.profile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 1px solid var(--line);
    background: white;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 10px;
    color: var(--green);
    text-align: left;
    font-weight: 650;
    min-height: 60px;
}
.profile-link small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
    margin-top: 4px;
}
.camera {
    position: fixed;
    inset: 0;
    background: #10281fee;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.camera video {
    max-width: 100%;
    max-height: 65vh;
    border-radius: 20px;
}
.camera .row {
    margin-top: 20px;
}
.photo {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 17px;
    margin-bottom: 15px;
}
.privacy-text {
    white-space: pre-wrap;
    font-size: 13px;
    line-height: 1.9;
}
.form-head {
    margin-bottom: 25px;
}
.loading {
    text-align: center;
    margin-top: 30vh;
    color: var(--green);
}
#toast {
    position: fixed;
    bottom: 95px;
    left: 20px;
    right: 20px;
    max-width: 480px;
    margin: auto;
    background: var(--green);
    color: white;
    border-radius: 15px;
    padding: 15px 20px;
    z-index: 110;
    display: none;
    font-size: 12px;
}
.offline {
    font-size: 11px;
    background: #fff2dc;
    padding: 8px;
    text-align: center;
    color: #94611f;
}
.footer {
    text-align: center;
    color: var(--muted);
    font-size: 10px;
    margin-top: 30px;
}
.amounts {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}
.amounts button {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    padding: 14px 8px;
    color: var(--green);
    min-height: 50px;
}
.amounts button.selected {
    background: #e5efcd;
    border-color: var(--green);
}
@media (min-width: 800px) {
    .shell {
        padding: 32px 45px 110px;
    }
    .intro-grid {
        display: grid;
        grid-template-columns: 1.65fr 1fr;
        gap: 20px;
    }
    .tasks-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .tasks-grid .card {
        margin: 0;
    }
    .nav {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        bottom: 20px;
        width: 500px;
        border: 1px solid var(--line);
        border-radius: 24px;
        box-shadow: 0 8px 35px #173b2812;
        padding: 10px;
    }
    .auth {
        margin: 5vh auto;
    }
    .auth .hero {
        min-height: 240px;
    }
    .form-body {
        max-width: 650px;
        margin: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto;
    }
}
