:root {
  --green: #176b52;
  --green-dark: #10553f;
  --green-light: #e8f4ee;
  --ink: #1b2e27;
  --muted: #708078;
  --line: #e5ece8;
  --paper: #f7faf8;
  --white: #fff;
  --gold: #dfad4f;
  --shadow: 0 12px 35px rgba(31, 70, 54, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.6; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-header { height: 76px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner, .site-header nav, .brand { display: flex; align-items: center; }
.header-inner { height: 100%; justify-content: space-between; }
.brand { gap: 11px; color: var(--ink); font: 800 16px "Segoe UI", Arial, sans-serif; letter-spacing: -.4px; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 13px; background: var(--green); color: white; font: 800 13px "Segoe UI", Arial, sans-serif; letter-spacing: .5px; }
.brand-logo { display: block; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; object-fit: cover; }
.brand small { display: block; color: var(--muted); font: 500 10px "DM Sans",sans-serif; letter-spacing: .25px; }
.site-header nav { gap: 25px; font-size: 13px; font-weight: 600; }
.site-header nav a { color: #4c5e55; }
.site-header nav a:hover, .site-header nav a.nav-login { color: var(--green); }
.nav-user { color: var(--muted); font-size: 12px; }
.inline-form { display: inline; }
.link-button { padding: 0; border: 0; background: transparent; color: var(--green); font-weight: 600; cursor: pointer; }
.danger-link { color: #ad4a3f; }
.main-content { min-height: calc(100vh - 142px); padding-top: 35px; padding-bottom: 70px; }
.site-footer { padding: 23px 0; border-top: 1px solid var(--line); background: #fff; color: #839088; font-size: 12px; }
.home-hero { position: relative; overflow: hidden; min-height: 354px; padding: 60px 64px; border-radius: 22px; background: linear-gradient(115deg,#124f3c 2%,#176b52 58%,#26795d); color: white; }
.home-hero:after { position: absolute; top: -140px; right: -75px; width: 460px; height: 460px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; box-shadow: 0 0 0 50px rgba(255,255,255,.035), 0 0 0 100px rgba(255,255,255,.025); }
.hero-label, .eyebrow { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.35px; }
.home-hero .hero-label { color: #c4e6d4; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: #78d5a4; box-shadow: 0 0 0 4px rgba(120,213,164,.15); }
.home-hero h1 { position: relative; z-index: 1; margin: 20px 0 12px; font: 800 clamp(34px,5vw,52px)/1.15 Manrope,sans-serif; letter-spacing: -2px; }
.home-hero h1 span { color: #a8d8be; }
.home-hero p { position: relative; z-index: 1; max-width: 525px; margin: 0 0 24px; color: #d6e8df; }
.hero-decoration { position: absolute; right: 13%; bottom: -89px; color: rgba(255,255,255,.08); font: 800 250px Manrope,sans-serif; letter-spacing: -25px; }
.button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--green); color: white; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .15s, transform .15s; }
.button:hover { background: var(--green-dark); color: white; transform: translateY(-1px); }
.home-hero .button { background: white; color: var(--green-dark); }
.button-full { width: 100%; margin-top: 5px; }
.button-small { min-height: 36px; padding: 0 13px; font-size: 12px; }
.button-outline { border: 1px solid var(--line); background: white; color: var(--green); }
.projects-section { padding-top: 52px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.section-heading h2, .panel h2 { margin: 4px 0 0; font: 700 21px Manrope,sans-serif; letter-spacing: -.5px; }
.project-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.project-card, .panel, .stat-card, .metric-card { border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: var(--shadow); }
.project-card { padding: 22px; }
.project-card-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.project-card h3 { margin: 15px 0 6px; font: 700 18px/1.35 Manrope,sans-serif; letter-spacing: -.3px; }
.project-card h3 a { color: var(--ink); }
.project-card p { min-height: 48px; margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.status-pill { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 20px; background: #edf2ef; color: #637168; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-active { background: #e7f5ed; color: #20714e; }
.status-completed { background: #e9efff; color: #5268a5; }
.status-archived { background: #f2efec; color: #746d64; }
.progress-heading { display: flex; justify-content: space-between; margin: 10px 0 7px; color: #75837b; font-size: 11px; }
.progress-heading strong { color: var(--green); font-size: 12px; }
.progress-track { overflow: hidden; height: 8px; border-radius: 10px; background: #eaf0ec; }
.progress-track span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: linear-gradient(90deg,#23805e,#66b88a); }
.project-money { display: flex; align-items: baseline; gap: 6px; margin-top: 11px; }
.project-money strong { color: var(--green-dark); font: 700 18px Manrope,sans-serif; }
.project-money span, .card-foot { color: var(--muted); font-size: 11px; }
.card-foot { display: flex; justify-content: space-between; padding: 13px 0; margin-top: 12px; border-top: 1px solid var(--line); }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 13px; border-top: 1px solid var(--line); }
.card-actions > .button { flex: 1 1 auto; }
.card-actions .share-actions { gap: 5px; }
.card-actions .share-actions .button { min-width: 38px; padding: 0 10px; }
.card-actions .share-actions .share-copy-button { min-width: 36px; padding: 0; font-size: 17px; }
.card-share-feedback { margin: 8px 0 0; overflow-wrap: anywhere; }
.public-note { display: flex; gap: 14px; align-items: center; margin-top: 23px; padding: 18px 21px; border: 1px solid #dcebe1; border-radius: 12px; background: #f0f7f2; }
.note-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; background: #d9eee1; color: var(--green); font-weight: 700; }
.public-note strong { font-size: 13px; }.public-note p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.project-hero { padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.project-hero h1, .admin-title h1 { margin: 5px 0; font: 800 clamp(26px,4vw,36px) Manrope,sans-serif; letter-spacing: -1.2px; }
.project-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.share-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.share-feedback { margin: 10px 0 0; color: var(--green-dark); font-size: 12px; }
.share-link-fallback { min-height: 34px; margin: 7px 0 0; font-size: 11px; }
.hero-copy { max-width: 800px; margin: 10px 0 23px; color: var(--muted); }
.progress-caption { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 25px; }
.metric-card { padding: 13px 15px; box-shadow: none; }
.metric-card span, .stat-card span { display: block; color: var(--muted); font-size: 11px; }
.metric-card strong { display: block; margin-top: 3px; font: 700 15px Manrope,sans-serif; }
.content-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 20px; align-items: start; }
.panel { padding: 22px; }
.panel h2 { margin-bottom: 16px; }
.panel h3 { margin: 18px 0 8px; font: 700 15px Manrope,sans-serif; }
.muted { color: var(--muted); font-size: 12px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { padding: 10px 11px; border-bottom: 1px solid var(--line); color: #75837b; font-size: 10px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
td { padding: 11px; border-bottom: 1px solid #edf1ee; vertical-align: top; }
td small { color: var(--muted); font-size: 10px; }
td.amount { color: var(--green-dark); font-weight: 700; white-space: nowrap; }
.back-link { display: inline-block; margin: 0 0 16px; color: var(--muted); font-size: 12px; font-weight: 600; }
.update-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.update-item:last-child { border-bottom: 0; }
.update-item h3 { margin: 5px 0; font-size: 16px; }
.update-item p { margin: 0; color: var(--muted); font-size: 13px; }
.update-photo { display: block; width: 100%; max-height: 290px; margin-bottom: 12px; border-radius: 9px; object-fit: cover; }
.empty-state { padding: 45px 20px; text-align: center; color: var(--muted); }
.empty-state h1, .empty-state h3 { color: var(--ink); }
.empty-icon { color: #a7c9b4; font-size: 35px; }
.alert { margin: 0 0 18px; padding: 12px 15px; border: 1px solid; border-radius: 9px; font-size: 13px; }
.alert-success { border-color: #c9e6d4; background: #edf8f1; color: #246b47; }
.alert-warning { border-color: #f0dfb8; background: #fff8e9; color: #806327; }
.alert-error { border-color: #f0c8c3; background: #fff1ef; color: #934239; }
.login-shell { display: grid; max-width: 870px; min-height: 500px; grid-template-columns: 1fr 1fr; align-items: center; gap: 38px; margin: 25px auto; }
.login-intro { padding: 25px; }.login-logo { display: block; width: 108px; height: 108px; margin: 0 0 24px; border-radius: 50%; object-fit: cover; }
.login-intro h1 { margin: 12px 0; font: 800 37px/1.15 Manrope,sans-serif; letter-spacing: -1.4px; }
.login-intro p { color: var(--muted); }
.login-form { padding: 30px; }
.login-form h2 { margin: 0; font: 700 23px Manrope,sans-serif; }
label { display: block; margin: 13px 0; color: #48584f; font-size: 12px; font-weight: 600; }
input, textarea, select { display: block; width: 100%; min-height: 41px; margin-top: 6px; padding: 9px 11px; border: 1px solid #dce5df; border-radius: 7px; outline: none; background: white; color: var(--ink); font-size: 13px; }
input:focus, textarea:focus, select:focus { border-color: #6ca88a; box-shadow: 0 0 0 3px rgba(67,141,100,.1); }
input[type=file] { padding: 8px; font-size: 11px; }
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.filter-panel { margin: 0 0 15px; padding: 14px; }
.filter-row { display: flex; align-items: end; flex-wrap: wrap; gap: 9px; }
.filter-row select, .filter-row input { width: auto; min-width: 125px; margin: 0; }
.filter-date { margin: 0; font-size: 10px; }.filter-date input { display: block; }
.search-picker { position: relative; width: 100%; }
.filter-row > .search-picker { width: auto; min-width: 170px; flex: 1 1 170px; }
.search-picker-native { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.search-picker select.search-picker-native { width: 1px; min-width: 0; height: 1px; margin: 0; padding: 0; }
.search-picker-trigger { position: relative; display: block; width: 100%; min-height: 41px; overflow: hidden; padding: 9px 37px 9px 11px; border: 1px solid #dce5df; border-radius: 7px; background: #fff; color: var(--ink); font-size: 13px; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.search-picker-trigger:after { position: absolute; top: 50%; right: 14px; width: 8px; height: 8px; border-right: 2px solid #607168; border-bottom: 2px solid #607168; content: ""; transform: translateY(-70%) rotate(45deg); }
.search-picker-trigger:hover, .search-picker-trigger:focus-visible { border-color: #6ca88a; outline: none; box-shadow: 0 0 0 3px rgba(67,141,100,.1); }
.search-picker-trigger.is-placeholder { color: #718078; }
.search-picker-error { display: block; margin-top: 5px; color: #a7443a; font-size: 11px; }
.search-picker-dialog { width: min(500px,calc(100% - 28px)); max-width: none; max-height: min(680px,calc(100% - 36px)); padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; color: var(--ink); box-shadow: 0 25px 80px rgba(17,45,33,.24); }
.search-picker-dialog::backdrop { background: rgba(18,35,27,.48); backdrop-filter: blur(2px); }
.search-picker-panel { display: flex; max-height: min(680px,calc(100vh - 36px)); flex-direction: column; padding: 21px; }
.search-picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.search-picker-heading h2 { margin: 0; font: 700 19px "Segoe UI",Arial,sans-serif; }
.search-picker-close { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 0; border-radius: 50%; background: #f0f4f1; color: #53635a; font-size: 24px; cursor: pointer; }
.search-picker-input { min-height: 45px; margin: 0 0 11px; padding: 10px 13px; border-color: #dce5df; background: #f9fbf9; }
.search-picker-results { overflow-y: auto; overscroll-behavior: contain; }
.search-picker-option { display: block; width: 100%; padding: 12px 13px; border: 0; border-bottom: 1px solid #edf1ee; background: #fff; color: var(--ink); font-size: 13px; text-align: left; cursor: pointer; }
.search-picker-option:hover, .search-picker-option:focus-visible { outline: none; background: #f0f7f2; color: var(--green-dark); }
.search-picker-option[aria-selected="true"] { background: #e8f4ee; color: var(--green-dark); font-weight: 700; }
.search-picker-empty { margin: 0; padding: 20px 12px; border-radius: 8px; background: #f7faf8; color: var(--muted); font-size: 13px; text-align: center; }
.admin-title { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.admin-title h1 { font-size: 28px; }
.section-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-modal, .admin-confirm-dialog { padding: 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 24px 80px rgba(17,45,33,.25); }
.admin-modal { width: min(680px,calc(100% - 28px)); max-width: none; max-height: min(90vh,850px); overflow: hidden; }
.admin-modal-wide { width: min(900px,calc(100vw - 36px)); }
.admin-modal::backdrop, .admin-confirm-dialog::backdrop { background: rgba(18,35,27,.48); backdrop-filter: blur(3px); }
.admin-modal-panel { display: flex; max-height: min(90vh,850px); flex-direction: column; }
.admin-modal-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 23px; border-bottom: 1px solid var(--line); background: #fff; }
.admin-modal-header h2, .admin-confirm-dialog h2 { margin: 3px 0 0; font: 700 21px Manrope,sans-serif; letter-spacing: -.4px; }
.modal-close { display: grid; width: 37px; height: 37px; flex: 0 0 37px; place-items: center; border: 0; border-radius: 50%; background: #f1f5f2; color: #5d6c63; font-size: 25px; cursor: pointer; }
.modal-close:hover { background: #e5eee8; color: var(--green-dark); }
.admin-modal-body { min-height: 0; overflow-y: auto; padding: 20px 23px 23px; overscroll-behavior: contain; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.modal-actions-spread { align-items: center; justify-content: space-between; }
.modal-actions-spread > div { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-confirm-dialog { width: min(430px,calc(100% - 32px)); max-width: none; padding: 27px; text-align: center; }
.admin-confirm-icon { display: grid; width: 48px; height: 48px; margin: 0 auto 13px; place-items: center; border: 1px solid #f0d8ae; border-radius: 50%; background: #fff7e8; color: #b57923; font-size: 24px; font-weight: 800; }
.admin-confirm-dialog p { margin: 9px 0 20px; color: var(--muted); font-size: 13px; }
.admin-confirm-dialog .modal-actions { justify-content: center; }
.button-danger { background: #b64f45; }.button-danger:hover { background: #963a32; }
.admin-tabs { display: flex; overflow-x: auto; gap: 5px; margin-bottom: 20px; padding-bottom: 8px; }
.admin-tabs a { flex: 0 0 auto; padding: 8px 13px; border-radius: 7px; color: #64736b; font-size: 12px; font-weight: 600; }
.admin-tabs a.active { background: #e5f1e9; color: var(--green-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.stat-card { padding: 18px; }
.stat-card strong { display: block; margin: 8px 0 2px; color: var(--green-dark); font: 800 21px Manrope,sans-serif; letter-spacing: -.7px; }
.stat-card small { color: #91a097; font-size: 10px; }
.table-panel { min-width: 0; }
.table-panel .section-heading { margin-bottom: 10px; }
.table-panel .section-heading h2 { margin: 0; font-size: 17px; }
.table-panel .section-heading a { font-size: 11px; font-weight: 600; }
.admin-columns { grid-template-columns: minmax(270px,.75fr) minmax(0,1.6fr); }
.admin-columns .panel h2 { font-size: 18px; }
.action-stack { display: flex; align-items: start; flex-direction: column; gap: 6px; white-space: nowrap; }
.action-stack a, .action-stack button { font-size: 11px; }
.checkbox-label { display: flex; align-items: center; gap: 7px; }.checkbox-label input { width: 16px; min-height: 16px; margin: 0; }
.form-hint { color: var(--muted); font-size: 11px; }
.report-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.report-card h2 { font-size: 17px; }
.report-list { margin: 0; }
.report-list div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.report-list dt { color: var(--muted); }.report-list dd { margin: 0; font-weight: 700; }
.report-list .report-total { color: var(--green-dark); font-weight: 700; }
.project-admin-share { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.project-admin-share .button { min-height: 30px; padding: 0 10px; font-size: 11px; }
.participant-panel { margin-top: 18px; }
.participant-panel .section-heading h2 { font-size: 19px; }
.participant-tools { display: flex; align-items: center; gap: 18px; margin: 15px 0 12px; }
.participant-tools > input[type="search"] { max-width: 390px; margin: 0; }
.participant-tools .checkbox-label { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; margin: 0; }
.participant-list { display: grid; max-height: 370px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; overflow-y: auto; padding: 2px; }
.participant-option { display: flex; min-width: 0; align-items: center; gap: 11px; margin: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; transition: border-color .15s,background .15s; }
.participant-option:hover { border-color: #a7c9b4; background: #f8fbf9; }
.participant-option[hidden] { display: none; }
.participant-option > input { width: 17px; min-width: 17px; min-height: 17px; height: 17px; margin: 0; accent-color: var(--green); }
.participant-identity { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.participant-identity strong { overflow: hidden; color: var(--ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.participant-identity small { color: var(--muted); font-size: 11px; }
.participant-check { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border: 1px solid #dce5df; border-radius: 50%; color: transparent; font-size: 12px; }
.participant-option:has(input:checked) { border-color: #a9ceb6; background: #f0f7f2; }
.participant-option:has(input:checked) .participant-check { border-color: var(--green); background: var(--green); color: #fff; }
.participant-empty { padding: 18px; color: var(--muted); text-align: center; }
.participant-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.compact-empty { padding: 25px 10px; }
.household-progress { display: flex; min-width: 100px; align-items: center; gap: 8px; }
.household-progress .progress-track { width: 70px; flex: 0 0 70px; height: 6px; }
.household-progress strong { color: var(--green-dark); font-size: 11px; white-space: nowrap; }

@media (max-width: 850px) {
  .project-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-columns { grid-template-columns: 1fr; }
  .site-header nav { gap: 14px; }
  .nav-user { display: none; }
}
@media (max-width: 600px) {
  .admin-modal-header { padding: 15px 17px; }
  .admin-modal-body { padding: 16px 17px 19px; }
  .admin-modal-header h2 { font-size: 18px; }
  .modal-actions > .button { flex: 1 1 auto; }
  .modal-actions-spread { align-items: stretch; flex-direction: column; }
  .modal-actions-spread > div { display: grid; grid-template-columns: 1fr 1fr; }
  .section-heading-actions { width: 100%; }
  .section-heading-actions .button { flex: 1 1 auto; }
  .container { width: min(100% - 28px,1160px); }
  .site-header { height: 66px; }
  .brand { gap: 8px; font-size: 14px; }
  .brand-logo { width: 39px; height: 39px; flex-basis: 39px; }
  .site-header nav { gap: 11px; font-size: 11px; }
  .site-header nav a:nth-child(2), .site-header nav a:nth-child(3) { display: none; }
  .main-content { padding-top: 20px; padding-bottom: 45px; }
  .home-hero { min-height: 335px; padding: 39px 24px; border-radius: 16px; }
  .home-hero h1 { font-size: 35px; letter-spacing: -1.4px; }
  .home-hero p { max-width: 300px; font-size: 13px; }
  .hero-decoration { right: 2%; bottom: -53px; font-size: 175px; }
  .projects-section { padding-top: 34px; }
  .project-list, .content-grid, .report-grid { grid-template-columns: 1fr; }
  .project-card { padding: 18px; }
  .card-actions { flex-wrap: wrap; }.card-actions > .button { flex: 1 1 100%; }
  .project-card p { min-height: auto; }
  .project-hero { padding: 21px 17px; }
  .project-title-row { align-items: flex-start; flex-direction: column; gap: 9px; }
  .share-actions { width: 100%; }.share-actions .button { flex: 1 1 auto; }
  .metric-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .metric-card { padding: 11px; }.metric-card strong { font-size: 13px; }
  .panel { padding: 17px 14px; }
  .login-shell { grid-template-columns: 1fr; gap: 10px; margin: 0 auto; }
  .login-intro { padding: 15px 8px 5px; }.login-logo { width: 82px; height: 82px; margin-bottom: 15px; }
  .login-intro h1 { font-size: 30px; }.login-form { padding: 22px 18px; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .stat-card { padding: 13px 11px; }.stat-card strong { font-size: 17px; }
  .admin-title h1 { font-size: 23px; }.admin-title .button { min-height: 38px; padding: 0 11px; font-size: 11px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .filter-row { align-items: stretch; }.filter-row select, .filter-row input { min-width: 0; flex: 1 1 42%; }.filter-row > .search-picker { min-width: 0; flex: 1 1 42%; }
  .filter-date { flex: 1 1 42%; }
  .section-heading h2 { font-size: 18px; }
  .participant-tools { align-items: stretch; flex-direction: column; gap: 5px; }
  .participant-tools > input[type="search"] { max-width: none; }
  .participant-list { grid-template-columns: 1fr; }
  .participant-footer { align-items: stretch; flex-direction: column; }
  .participant-footer .button { width: 100%; }
}
@media print {
  body { background: white; }.site-header,.site-footer,.admin-tabs,.filter-panel,.button,.action-stack { display: none !important; }
  .container { width: 100%; }.main-content { padding: 0; }.panel,.stat-card { box-shadow: none; break-inside: avoid; }
}
