* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    color: #1f2a24;
    background: #f4f7f2;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.page-section.container {
    width: min(1560px, calc(100% - 32px));
}

.site-header {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.82)),
        url("../images/header-watercolor.svg") center / cover no-repeat,
        #ffffff;
    border-top: 5px solid #4caf50;
    border-bottom: 1px solid #dfe8db;
    box-shadow: 0 10px 26px rgba(32, 84, 49, 0.07);
    position: sticky;
    top: 0;
    z-index: 20;
    overflow: hidden;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.84) 58%, rgba(255, 255, 255, 0.2)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.header-inner {
    position: relative;
    z-index: 1;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.brand-logo {
    width: 70px;
    height: auto;
    max-height: 78px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #e6f5e5;
    color: #2e9d45;
    font-size: 22px;
    font-weight: 700;
}

.public-page {
    background:
        linear-gradient(180deg, rgba(233, 248, 236, 0.8), rgba(244, 247, 242, 1) 360px),
        #f4f7f2;
}

.public-hero {
    padding: 28px 0 20px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.74) 46%, rgba(255, 255, 255, 0.18)),
        url("../images/banner-watercolor.jpg") center / cover no-repeat,
        #e9f8ec;
    border-bottom: 1px solid #d7e6d7;
}

.public-hero-panel {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2));
    border: 1px solid rgba(78, 148, 86, 0.24);
    border-radius: 8px;
    padding: 36px;
}

.eyebrow {
    margin: 0 0 8px;
    color: #1f9b4a;
    font-weight: 700;
    letter-spacing: 0;
}

.public-hero h1,
.page-title h1,
.register-intro h1 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.25;
}

.public-hero p,
.page-title p,
.register-intro p {
    max-width: 720px;
    margin: 0;
    color: #53645a;
}

.public-shell {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 172px;
    gap: 18px;
    align-items: start;
    padding: 24px 0 10px;
}

.public-rail {
    display: grid;
    gap: 14px;
}

.rail-action,
.qr-box,
.info-box,
.feature-banner,
.content-card,
.list-card,
.contact-card,
.detail-article,
.gallery-section,
.empty-state {
    background: #ffffff;
    border: 1px solid #dce8dc;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(27, 69, 36, 0.06);
}

.rail-action {
    min-height: 136px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    padding: 0;
    color: #103d22;
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rail-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(27, 69, 36, 0.12);
}

.rail-action strong {
    font-size: 18px;
    line-height: 1.3;
}

.rail-action span,
.qr-box span,
.info-box p {
    color: #5f7065;
    font-size: 13px;
}

.rail-waste {
    background: #ffffff;
}

.rail-register {
    background: #ffffff;
}

.rail-banner-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.qr-box,
.info-box {
    padding: 16px;
    text-align: center;
}

.qr-guide-image {
    width: 100%;
    max-width: 260px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.qr-placeholder {
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    background:
        linear-gradient(90deg, #111 8px, transparent 8px) 0 0 / 20px 20px,
        linear-gradient(#111 8px, transparent 8px) 0 0 / 20px 20px,
        #fff;
    border: 8px solid #ffffff;
    outline: 1px solid #111;
    color: #1f9b4a;
    font-weight: 700;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 18px 0;
}

.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.dashboard-action {
    min-height: 118px;
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 8px;
    align-content: end;
    padding: 20px;
    border-radius: 8px;
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(27, 69, 36, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-action:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(27, 69, 36, 0.2);
}

.dashboard-action strong,
.dashboard-action small {
    position: relative;
    z-index: 1;
}

.dashboard-action strong {
    font-size: 20px;
}

.dashboard-action small {
    max-width: 240px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.dashboard-action-icon {
    position: absolute;
    right: 18px;
    top: 8px;
    color: rgba(255, 255, 255, 0.22);
    font-size: 76px;
    line-height: 1;
    font-weight: 800;
}

.dashboard-action-waste {
    background: linear-gradient(135deg, #2E7D32, #66BB6A);
}

.dashboard-action-fund {
    background: linear-gradient(135deg, #0f766e, #4FC3F7);
}

.dashboard-action-report {
    background: linear-gradient(135deg, #d97706, #FFB74D);
}

.dashboard-chart-card {
    min-height: 320px;
}

.dashboard-stat {
    position: relative;
    overflow: hidden;
    min-height: 138px;
    padding: 22px;
    border: 0;
    isolation: isolate;
}

.dashboard-stat::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72));
}

.dashboard-stat::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -34px;
    width: 118px;
    height: 118px;
    z-index: -1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
}

.dashboard-stat .dashboard-stat-icon {
    position: absolute;
    right: 18px;
    top: 14px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 58px;
    line-height: 1;
}

.dashboard-stat span:not(.dashboard-stat-icon) {
    color: rgba(16, 61, 34, 0.68);
    font-weight: 700;
}

.dashboard-stat strong {
    margin-top: 14px;
    color: #103d22;
    font-size: 32px;
}

.dashboard-stat p {
    margin: 4px 0 0;
    color: rgba(16, 61, 34, 0.62);
    font-weight: 600;
}

.dashboard-stat-members {
    background: linear-gradient(135deg, #e8f4ff, #ffffff);
    box-shadow: 0 12px 28px rgba(79, 195, 247, 0.18);
}

.dashboard-stat-waste {
    background: linear-gradient(135deg, #e7f7e9, #ffffff);
    box-shadow: 0 12px 28px rgba(46, 125, 50, 0.16);
}

.dashboard-stat-fund {
    background: linear-gradient(135deg, #fff5df, #ffffff);
    box-shadow: 0 12px 28px rgba(255, 183, 77, 0.2);
}

.dashboard-stat-courses {
    background: linear-gradient(135deg, #edf7f4, #ffffff);
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.14);
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0;
}

.bar-chart {
    height: 190px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    padding: 24px 12px 0;
    border-left: 1px solid #dce8dc;
    border-bottom: 1px solid #dce8dc;
    background:
        repeating-linear-gradient(
            to top,
            rgba(46, 125, 50, 0.08) 0,
            rgba(46, 125, 50, 0.08) 1px,
            transparent 1px,
            transparent 38px
        );
}

.bar-chart-year {
    grid-template-columns: repeat(12, minmax(26px, 1fr));
    gap: 8px;
    overflow-x: auto;
}

.bar-chart-year .bar-wrap {
    width: 24px;
}

.bar-chart-year .bar {
    width: 14px;
}

.bar-chart-year .bar-value {
    font-size: 10px;
}

.bar-group {
    height: 100%;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 8px;
    text-align: center;
}

.bar-stack {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 4px;
    border-bottom: 1px solid #dce8dc;
}

.bar-stack.single {
    gap: 0;
}

.bar {
    width: 18px;
    min-height: 0;
    border-radius: 8px 8px 0 0;
    display: block;
}

.bar-wrap {
    width: 28px;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bar-value {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #5f7065;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
}

.bar-income,
.legend-income {
    background: #2E7D32;
}

.bar-expense,
.legend-expense {
    background: #FFB74D;
}

.bar-waste,
.legend-waste {
    background: #4FC3F7;
}

.chart-legend {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
    color: #5f7065;
    font-size: 13px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    margin-right: 6px;
}

.quick-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid #dce8dc;
    border-radius: 8px;
    background: #ffffff;
    color: #103d22;
    box-shadow: 0 8px 24px rgba(27, 69, 36, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(27, 69, 36, 0.12);
}

.quick-card span {
    color: #5f7065;
    font-size: 14px;
}

.feature-banner {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 14px;
    margin-bottom: 22px;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.feature-banner:hover {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(27, 69, 36, 0.12);
}

.feature-banner img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #ffffff;
    border-radius: 6px;
}

.feature-banner h2 {
    margin: 0 0 8px;
}

.feature-banner p {
    margin: 0;
    color: #59685f;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 22px 0 12px;
    padding: 10px 14px;
    background: #bff0d0;
    border-left: 5px solid #1f9b4a;
}

.section-heading h2 {
    margin: 0;
    font-size: 20px;
}

.section-heading a,
.content-card a,
.list-card a {
    color: #1f7a34;
    font-weight: 700;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.content-grid-wide {
    padding-bottom: 26px;
}

.content-card {
    overflow: hidden;
}

.card-link {
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-link:hover {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(27, 69, 36, 0.12);
}

.card-readmore {
    color: #1f7a34;
    font-weight: 700;
}

.content-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.content-card-body {
    padding: 16px;
}

.content-card h2,
.content-card h3,
.list-card h2,
.list-card h3 {
    margin: 4px 0 8px;
    line-height: 1.35;
}

.content-card p,
.list-card p {
    color: #59685f;
    margin: 0 0 12px;
}

time {
    color: #1f9b4a;
    font-size: 13px;
    font-weight: 700;
}

.article-list {
    display: grid;
    gap: 16px;
}

.page-list {
    padding-bottom: 28px;
}

.list-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    align-items: center;
}

.list-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.page-title {
    padding: 34px 0 22px;
    width: auto;
    max-width: none;
    margin: 0 0 28px;
    padding-left: max(16px, calc((100% - 1120px) / 2));
    padding-right: max(16px, calc((100% - 1120px) / 2));
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.78) 48%, rgba(255, 255, 255, 0.14)),
        url("../images/banner-watercolor.jpg") center / cover no-repeat,
        #f8fafc;
    border-bottom: 1px solid #dfe8db;
}

.courses-page-title {
    min-height: 260px;
    display: grid;
    align-content: center;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62) 45%, rgba(255, 255, 255, 0.18)),
        url("../images/courses-header-bg.jpg") center center / cover no-repeat,
        #eaf7ed;
}

.courses-page-title h1,
.courses-page-title p {
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.72);
}

.detail-wrap {
    padding: 28px 0;
}

.detail-article {
    overflow: hidden;
}

.detail-cover {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.detail-body {
    padding: 26px;
}

.detail-body h1 {
    margin: 8px 0 12px;
    font-size: 32px;
    line-height: 1.3;
}

.lead {
    font-size: 18px;
    color: #45604d;
    margin: 0 0 18px;
}

.rich-text {
    color: #29382e;
}

.gallery-section {
    padding: 22px;
    margin-top: 18px;
}

.gallery-section h2 {
    margin-top: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gallery-grid figure {
    margin: 0;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.gallery-grid figcaption {
    margin-top: 6px;
    color: #59685f;
    font-size: 13px;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 24px;
    text-align: center;
    color: #59685f;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
    padding-bottom: 32px;
}

.contact-card {
    padding: 22px;
}

.contact-card h2 {
    margin-top: 0;
}

.map-placeholder {
    min-height: 260px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(31, 155, 74, 0.12) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(rgba(31, 155, 74, 0.12) 1px, transparent 1px) 0 0 / 32px 32px,
        #e9f6e9;
    color: #1f7a34;
    font-size: 28px;
    font-weight: 700;
}

.map-embed {
    overflow: hidden;
    border: 1px solid #dce8dc;
    border-radius: 8px;
    background: #eef7f0;
    box-shadow: 0 8px 24px rgba(27, 69, 36, 0.06);
}

.map-embed iframe {
    width: 100%;
    min-height: 280px;
    display: block;
    border: 0;
}

.register-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 24px;
    align-items: start;
    padding: 36px 0;
}

.register-intro {
    padding: 34px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.78) 52%, rgba(255, 255, 255, 0.18)),
        url("../images/banner-watercolor.jpg") center / cover no-repeat,
        #f8fafc;
    border: 1px solid #dce8dc;
}

.register-benefits {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.register-benefits span {
    padding: 8px 10px;
    border-radius: 999px;
    background: #ffffff;
    color: #1f7a34;
    font-weight: 700;
    font-size: 13px;
}

.register-panel {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.member-content {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.member-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #dce8dc;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.62)),
        url("../images/banner-watercolor.jpg") center / cover no-repeat,
        #ffffff;
}

.member-welcome h1 {
    margin: 0 0 6px;
}

.member-welcome p {
    margin: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stat-card {
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #dce8dc;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(27, 69, 36, 0.06);
}

.stat-card span {
    display: block;
    color: #63746a;
    font-size: 13px;
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    color: #1f7a34;
    font-size: 24px;
    line-height: 1.25;
}

.member-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.compact-heading {
    margin: 0 0 14px;
    border-radius: 6px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-list-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.admin-search {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: min(100%, 420px);
}

.admin-search input {
    min-width: 240px;
}

.table-title-cell {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.table-thumb {
    width: 76px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dce8dc;
    background: #eef7f0;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
    color: #5f7065;
    font-size: 14px;
}

.pagination-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination-links a,
.pagination-links span {
    min-width: 36px;
    min-height: 36px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    border: 1px solid #dce8dc;
    border-radius: 8px;
    background: #ffffff;
    color: #1f7a34;
    font-weight: 700;
}

.pagination-links .is-current {
    background: #2E7D32;
    border-color: #2E7D32;
    color: #ffffff;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    background: #ffffff;
}

.data-table th,
.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e2ece2;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background: #eef8f0;
    color: #1f4e2d;
    font-weight: 700;
}

.data-table tr:hover td {
    background: #fbfefb;
}

.table-empty {
    text-align: center;
    color: #65736a;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #e6f5e5;
    color: #1f7a34;
    font-weight: 700;
    font-size: 12px;
}

.status-pill-muted {
    background: #eef1ef;
    color: #66736a;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.table-actions form {
    margin: 0;
}

.calculation-box {
    display: grid;
    gap: 4px;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid #a8dfb4;
    background: #eefaf0;
}

.calculation-box span,
.calculation-box small {
    color: #59685f;
}

.calculation-box strong {
    color: #1f7a34;
    font-size: 26px;
}

.detail-list {
    display: grid;
    gap: 10px;
}

.detail-list div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e2ece2;
}

.detail-list strong {
    color: #1f4e2d;
}

.mobile-body {
    min-height: 100vh;
    background:
        linear-gradient(160deg, rgba(255, 207, 92, 0.34), rgba(75, 184, 104, 0.28)),
        #f5f8f1;
}

.mobile-shell {
    width: min(430px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 18px;
}

.mobile-hero-card,
.mobile-card {
    border: 1px solid #dce8dc;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(27, 69, 36, 0.12);
}

.mobile-hero-card {
    padding: 28px 22px;
    background:
        linear-gradient(160deg, rgba(255, 218, 114, 0.78), rgba(74, 190, 102, 0.68)),
        #fff7dd;
    text-align: center;
}

.mobile-hero-card h1,
.mobile-card h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.mobile-hero-card p {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.mobile-hero-card span {
    display: inline-block;
    margin-top: 6px;
    color: #31533a;
}

.mobile-card {
    padding: 20px;
}

.mobile-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.mobile-stat-grid div {
    padding: 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #dce8dc;
}

.mobile-stat-grid span {
    display: block;
    color: #65736a;
    font-size: 13px;
}

.mobile-stat-grid strong {
    display: block;
    margin-top: 6px;
    color: #1f7a34;
    font-size: 20px;
}

.mobile-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.mobile-menu a,
.mobile-list-item {
    padding: 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #dce8dc;
}

.mobile-menu a {
    color: #1f7a34;
    font-weight: 700;
}

.mobile-menu-tile {
    min-height: 116px;
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: end;
    gap: 8px;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 10px 26px rgba(27, 69, 36, 0.16);
}

.mobile-menu-tile span {
    position: absolute;
    top: 10px;
    right: 12px;
    color: rgba(255, 255, 255, 0.28);
    font-size: 52px;
    line-height: 1;
}

.mobile-menu-tile strong {
    position: relative;
    z-index: 1;
    font-size: 16px;
}

.mobile-menu-waste {
    background: linear-gradient(135deg, #2E7D32, #66BB6A) !important;
}

.mobile-menu-fund {
    background: linear-gradient(135deg, #0f766e, #4FC3F7) !important;
}

.mobile-menu-stat {
    background: linear-gradient(135deg, #6d5dfc, #9f8cff) !important;
}

.mobile-menu-call {
    background: linear-gradient(135deg, #d97706, #FFB74D) !important;
}

.mobile-page-card {
    overflow: hidden;
    padding: 0;
}

.mobile-page-head {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 20px;
    color: #ffffff;
}

.mobile-page-head > span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 30px;
}

.mobile-page-head h1,
.mobile-page-head p {
    margin: 0;
}

.mobile-page-head h1 {
    font-size: 24px;
}

.mobile-page-head p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    line-height: 1.45;
}

.mobile-page-card > p,
.mobile-page-card > .muted,
.mobile-page-card > .button,
.mobile-page-card > h2,
.mobile-page-card > .mobile-stat-grid,
.mobile-page-card > .mobile-bar,
.mobile-page-card > .mobile-list-item {
    margin-left: 18px;
    margin-right: 18px;
}

.mobile-page-card > .mobile-list-item:first-of-type,
.mobile-page-card > .mobile-stat-grid,
.mobile-page-card > h2 {
    margin-top: 18px;
}

.mobile-page-card > .button {
    margin-bottom: 18px;
}

.mobile-waste-page .mobile-page-head {
    background: linear-gradient(135deg, #2E7D32, #66BB6A);
}

.mobile-fund-page .mobile-page-head {
    background: linear-gradient(135deg, #0f766e, #4FC3F7);
}

.mobile-stat-page .mobile-page-head {
    background: linear-gradient(135deg, #6d5dfc, #9f8cff);
}

.mobile-list-waste {
    border-left: 5px solid #4CAF50;
    background: linear-gradient(135deg, #ffffff, #effaf0);
}

.mobile-list-fund {
    border-left: 5px solid #4FC3F7;
    background: linear-gradient(135deg, #ffffff, #edf9ff);
}

.mobile-waste-form-page form,
.mobile-confirm-page form {
    padding: 24px;
}

.mobile-member-badge {
    display: grid;
    gap: 3px;
    margin: 24px 24px 0;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff, #effaf0);
    border: 1px solid #dce8dc;
    box-shadow: 0 8px 22px rgba(27, 69, 36, 0.08);
}

.mobile-member-badge span {
    color: #2E7D32;
    font-size: 12px;
    font-weight: 700;
}

.mobile-member-badge strong {
    color: #103d22;
    font-size: 18px;
}

.mobile-member-badge small {
    color: #65736a;
}

.mobile-form {
    display: grid;
    gap: 14px;
}

.mobile-form .form-group {
    display: grid;
    gap: 7px;
}

.mobile-form label {
    color: #1f4e2d;
    font-weight: 700;
}

.mobile-form input,
.mobile-form select,
.mobile-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #cfe0d2;
    border-radius: 10px;
    background: #ffffff;
    font: inherit;
}

.mobile-form textarea {
    min-height: 92px;
    resize: vertical;
}

.mobile-form input:focus,
.mobile-form select:focus,
.mobile-form textarea:focus {
    border-color: #4CAF50;
    outline: 3px solid rgba(76, 175, 80, 0.16);
}

.calculation-box {
    display: grid;
    gap: 5px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2E7D32, #66BB6A);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(46, 125, 50, 0.18);
}

.calculation-box span,
.calculation-box small {
    color: rgba(255, 255, 255, 0.84);
}

.calculation-box strong {
    font-size: 28px;
}

.mobile-submit {
    width: 100%;
    min-height: 48px;
}

.mobile-confirm-list {
    display: grid;
    gap: 10px;
    margin: 18px;
}

.mobile-confirm-list div {
    display: grid;
    grid-template-columns: minmax(95px, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
    padding: 13px;
    border: 1px solid #dce8dc;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff, #f6fbf7);
}

.mobile-confirm-list strong {
    color: #2E7D32;
}

.mobile-confirm-list span {
    min-width: 0;
    color: #103d22;
    overflow-wrap: anywhere;
}

.mobile-confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 18px 18px;
}

.mobile-confirm-actions .button {
    width: 100%;
    min-height: 48px;
}

@media (max-width: 380px) {
    .mobile-confirm-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .mobile-member-badge,
    .mobile-confirm-list {
        margin-left: 16px;
        margin-right: 16px;
    }

    .mobile-waste-form-page form,
    .mobile-confirm-page form {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.mobile-list-item {
    display: grid;
    gap: 3px;
    margin-bottom: 10px;
}

.mobile-list-item span,
.mobile-list-item small {
    color: #59685f;
}

.mobile-bar {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.mobile-bar b {
    display: block;
    height: 12px;
    min-width: 4px;
    border-radius: 999px;
    background: #1f9b4a;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.qr-card {
    padding: 22px;
    border: 1px solid #dce8dc;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
}

.qr-card h2 {
    margin-top: 0;
}

.qr-card img {
    width: 180px;
    height: 180px;
    display: block;
    margin: 10px auto 14px;
    border: 1px solid #dce8dc;
    border-radius: 6px;
}

.qr-card p {
    word-break: break-all;
    color: #59685f;
    font-size: 13px;
}

.course-grid {
    display: grid;
    gap: 16px;
}

.course-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    border: 1px solid #dce8dc;
    border-radius: 8px;
    background: #ffffff;
}

.course-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.course-card h2 {
    margin: 4px 0 8px;
}

.course-card p {
    margin: 0 0 10px;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.learning-card,
.subject-card,
.lesson-row,
.learning-head,
.locked-lesson,
.lesson-document {
    background: #ffffff;
    border: 1px solid #dce8dc;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(27, 69, 36, 0.06);
}

.learning-card {
    overflow: hidden;
}

.learning-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.learning-card-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.learning-card-body h2,
.subject-card h3,
.lesson-row h2 {
    margin: 0;
    line-height: 1.35;
}

.learning-card-body p,
.subject-card p,
.lesson-row p,
.learning-head p,
.locked-lesson p {
    margin: 0;
    color: #59685f;
}

.learning-meta,
.learning-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.learning-meta span,
.learning-summary span {
    min-height: 26px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef8f0;
    color: #1f7a34;
    font-size: 12px;
    font-weight: 700;
}

.learning-section {
    margin-top: 22px;
}

.subject-list,
.lesson-list {
    display: grid;
    gap: 14px;
}

.subject-card,
.lesson-row,
.learning-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
}

.learning-head {
    margin-bottom: 18px;
}

.learning-head h1 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.3;
}

.learning-head-actions {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.lesson-row {
    grid-template-columns: 68px minmax(0, 1fr) auto;
}

.lesson-lock {
    width: 54px;
    min-height: 54px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eef8f0;
    color: #1f7a34;
    font-size: 13px;
    font-weight: 700;
}

.locked-lesson {
    display: grid;
    gap: 12px;
    padding: 28px;
}

.locked-lesson h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.3;
}

.video-embed {
    overflow: hidden;
    margin: 22px 0;
    border-radius: 8px;
    background: #101510;
    aspect-ratio: 16 / 9;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.lesson-document {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 22px 0;
    padding: 16px;
}

.progress {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e1ebe2;
}

.progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #1f9b4a;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 18px;
}

.brand small {
    color: #65736a;
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.main-nav a,
.nav-user {
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.main-nav a:hover,
.main-nav .is-active {
    background: #e9f6e9;
    color: #1f7a34;
}

.nav-user {
    color: #617067;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 9px 16px;
    cursor: pointer;
    font: inherit;
}

.button-primary {
    background: #1f9b4a;
    color: #ffffff;
}

.button-outline {
    border-color: #1f9b4a;
    color: #1f7a34;
    background: #ffffff;
}

.button-danger {
    background: #d93025;
    color: #ffffff;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 6px;
    background: #e9f6e9;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #1f7a34;
}

.hero {
    padding: 48px 0 28px;
    background: linear-gradient(180deg, #e9f8ec 0%, #f4f7f2 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 24px;
    align-items: stretch;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.25;
}

.hero p {
    margin: 0 0 20px;
    color: #59685f;
}

.page-section {
    padding: 32px 0;
}

.layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.card,
.sidebar,
.form-panel,
.notice {
    background: #ffffff;
    border: 1px solid #dfe8db;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(27, 69, 36, 0.07);
}

.card,
.form-panel,
.notice {
    padding: 22px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card h2,
.card h3,
.form-panel h1 {
    margin-top: 0;
}

.stat {
    font-size: 32px;
    font-weight: 700;
    color: #1f9b4a;
}

.sidebar {
    padding: 14px;
}

.sidebar-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.side-nav {
    display: grid;
    gap: 6px;
}

.side-nav a {
    padding: 10px 12px;
    border-radius: 6px;
    color: #3d4a41;
}

.side-nav a:hover {
    background: #e9f6e9;
}

.side-nav .is-active {
    background: #e9f6e9;
    color: #1f7a34;
    font-weight: 700;
}

.form-page {
    min-height: calc(100vh - 154px);
    display: grid;
    place-items: start center;
    padding: 36px 0;
}

.form-panel {
    width: min(460px, 100%);
}

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cdd9ce;
    border-radius: 6px;
    padding: 9px 11px;
    font: inherit;
    background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #a8dfb4;
    border-color: #39a856;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.muted {
    color: #65736a;
}

.notice {
    margin-bottom: 18px;
}

.notice-success {
    border-color: #9bd7a8;
    color: #1f7a34;
}

.notice-error {
    border-color: #f0b7b7;
    color: #a52424;
}

.site-footer {
    margin-top: 36px;
    background: #101510;
    color: #dfe8db;
}

.footer-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

@media (max-width: 820px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .brand-logo {
        width: 60px;
        max-height: 68px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a,
    .nav-user {
        width: 100%;
    }

    .hero-grid,
    .layout,
    .card-grid,
    .stat-grid,
    .member-grid-2,
    .qr-grid,
    .dashboard-grid,
    .dashboard-actions,
    .course-card,
    .public-shell,
    .feature-banner,
    .content-grid,
    .list-card,
        .gallery-grid,
        .contact-grid,
        .register-layout,
        .form-row,
        .learning-grid,
        .subject-card,
        .lesson-row,
        .learning-head {
        grid-template-columns: 1fr;
    }

    .learning-head-actions {
        justify-items: start;
    }

    .public-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-hero h1,
    .page-title h1,
    .register-intro h1,
    .detail-body h1 {
        font-size: 28px;
    }

    .public-hero-panel,
    .register-intro,
    .detail-body {
        padding: 22px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}
