:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#183329;background:#f4f6f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}a{color:#215c45}.bar{height:68px;background:#173f30;color:#fff;padding:0 max(20px,calc((100vw - 1100px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-weight:800;letter-spacing:-1px;font-size:27px}.brand span{color:#a4c675}.who{display:flex;align-items:center;gap:16px;font-size:13px}.who .ghost{color:white;border-color:#628576}.container{max-width:1100px;margin:auto;padding:24px 18px 64px}.tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:25px;padding-bottom:4px}.tabs button{border:0;background:#e4ece6;border-radius:10px;padding:12px 18px;white-space:nowrap;color:#2e5540}.tabs button.active{background:#1f5b44;color:white}.panel{background:white;border:1px solid #dde4dd;border-radius:15px;padding:21px;box-shadow:0 2px 12px #193b2909}.page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:5px 0 21px}.page-head h1{margin:0}h1{font-size:clamp(24px,4vw,33px);line-height:1.18;letter-spacing:-.6px}h2{font-size:20px;margin-top:26px}h3{font-size:16px;margin-top:24px}p{line-height:1.48}.page-head p{color:#64756b;margin:7px 0 0}.primary,.secondary,.ghost{padding:11px 16px;border-radius:9px;font-weight:650;border:1px solid transparent}.primary{background:#205c45;color:#fff}.primary:hover{background:#164a36}.secondary{background:#e6f0e9;color:#1b523c}.ghost{background:transparent;color:#1f5942;border-color:#b5cabd}.danger{color:#a13f42}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.kpis .panel{display:flex;gap:10px;flex-direction:column}.kpis small,.three small{color:#6a7b70}.kpis strong{font-size:25px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.report-card{text-align:left;background:#fff;border:1px solid #d8e2da;border-radius:14px;padding:19px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;color:#1d3d2e}.report-card strong{font-size:18px}.report-card span:not(.pill){font-size:13px;color:#536759}.report-card .description{overflow-wrap:anywhere;line-height:1.5}.report-card:hover{border-color:#2e7453}.pill{font-size:12px;border-radius:30px;padding:5px 10px;display:inline-block;font-weight:700}.pill.draft{background:#eff1f2;color:#48575a}.pill.submitted{background:#fff0d8;color:#805c1d}.pill.approved{background:#def3e4;color:#236b3c}.pill.changes{background:#fbe2e3;color:#923f40}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:17px 0;border-top:1px solid #e4ebe5;border-bottom:1px solid #e4ebe5}.three>div{display:flex;flex-direction:column;gap:8px}.three strong{font-size:20px}.preline{white-space:pre-wrap;overflow-wrap:anywhere}.filter{max-width:260px;margin-bottom:17px}.login{min-height:calc(100vh - 68px);display:grid;place-items:center;padding:32px 18px}.login .panel{width:min(100%,440px)}.login h1{margin-top:4px}.login p,.hint,.muted{color:#65766b;font-size:14px}label{font-weight:650;font-size:13px;color:#354f3e;display:flex;flex-direction:column;gap:7px;margin-bottom:15px}input,select,textarea{padding:11px;border:1px solid #bfcfc4;border-radius:8px;background:white;color:#193b2c;min-width:0;width:100%;font-weight:400}input:focus,textarea:focus,select:focus{outline:2px solid #9ac6ac;outline-offset:1px}textarea{resize:vertical}.login form .primary{width:100%;margin:6px 0 15px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.time-row{display:grid;grid-template-columns:1fr 1.4fr 1.4fr auto;gap:9px;align-items:end;background:#f7faf8;border-radius:9px;padding:12px;margin-bottom:10px}.expense-row{display:grid;grid-template-columns:1fr 1fr 1fr 1.4fr auto;gap:9px;align-items:end;padding:12px;margin-bottom:10px;background:#f7faf8;border-radius:9px}.time-row label,.expense-row label{margin:0}.time-row button,.expense-row button{margin-bottom:0}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.expense-detail{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e6ede8;padding:11px 0;font-size:14px}.gallery{display:flex;flex-wrap:wrap;gap:11px}.gallery img{width:132px;height:132px;object-fit:cover;border-radius:10px}.warning{background:#fff2de;border:1px solid #edca8d;border-radius:8px;padding:12px;color:#714d17}.notice{max-width:1100px;margin:10px auto 0;padding:12px 18px;border-radius:8px}.notice.success{background:#dff2e2;color:#1f633a}.notice.error{background:#fbe0e0;color:#842f33}.notice.hidden{display:none}.error-text{color:#9d3337!important}.loading{text-align:center;margin:25vh 0}.who span{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}footer{margin-top:45px;color:#7b8a7e;font-size:12px;text-align:center}@media(max-width:830px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.time-row,.expense-row{grid-template-columns:repeat(2,minmax(0,1fr))}.time-row button,.expense-row button{grid-column:1/-1}}@media(max-width:580px){.container{padding:18px 12px 40px}.bar{padding:0 13px;height:60px}.bar .brand{font-size:23px}.who span{display:none}.page-head{align-items:flex-start;flex-direction:column}.page-head .primary{width:100%}.cards,.form-grid{grid-template-columns:1fr}.kpis{gap:9px}.kpis .panel{padding:15px}.kpis strong{font-size:22px}.three{gap:7px}.three strong{font-size:15px}.time-row,.expense-row{grid-template-columns:1fr}.gallery img{width:105px;height:105px}.expense-detail{align-items:flex-start;flex-direction:column}.actions .primary,.actions .secondary{flex:1}}
/* Admin tools: search, multi-dimensional filters and export. */
.filter-panel{margin-bottom:20px}
.filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.filters label{margin:0}
.compact-actions{margin-top:15px}
.compact-actions button{font-size:13px}
.panel>button[data-site-toggle],.panel>button[data-member-toggle]{margin-top:8px}
.panel strong{overflow-wrap:anywhere}
.pill.trash{background:#fbe2e3;color:#923f40}
@media(max-width:830px){.filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.filters{grid-template-columns:1fr}.compact-actions{display:grid;grid-template-columns:1fr 1fr}.compact-actions button{width:100%;padding:11px 8px;font-size:12px}}

.audit-list{display:grid;gap:10px}.audit-event{border-bottom:1px solid #e0e9e3;padding:10px 0;display:flex;gap:5px;flex-direction:column}.audit-event strong{color:#1f5b44}.audit-event span{font-size:13px;color:#64756b}.audit-event p{margin:3px 0;font-size:13px}
