.folder-page{padding:28px}
.folder-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;flex-wrap:wrap}
.folder-tabs{display:flex;gap:4px;padding:4px;background:#fbf0e7;border:1px solid var(--border);border-radius:8px}
.folder-tabs button{padding:10px 14px;border:0;background:transparent;font-size:12px;border-radius:6px;white-space:nowrap}
.folder-tabs button[aria-pressed=true]{background:var(--accent);color:#fff;box-shadow:0 2px 4px #38282022}
.folder-filters{display:flex;gap:10px;min-width:0}
.folder-filters select{width:auto;max-width:180px;min-height:44px;font-size:13px}
.folder-filters input{width:240px;min-width:0;min-height:44px;font-size:13px}
.folder-new{display:flex;align-items:center;gap:10px;width:100%;min-height:84px;padding:16px 18px;text-align:left;background:#fcf6f1;border:1px dashed #d19a7e;border-radius:10px;margin-bottom:10px}
.folder-new strong{font-size:16px}
.folder-new small{margin-left:auto;color:var(--muted);font-size:12px;font-weight:400}
.folder-icon{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:9px;background:#f5e7dc;color:var(--accent)}
.folder-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.folder-new .folder-icon{background:var(--accent);color:#fff}
.folder-results{display:grid;gap:8px}
.folder-row{display:flex;align-items:center;gap:16px;width:100%;padding:15px 16px;text-align:left;background:#fff;border:1px solid var(--border);border-left:4px solid #b97958;border-radius:10px;color:var(--ink);min-width:0}
.folder-row:hover{border-color:#c67b5b;background:#fffcfa}
.folder-main{flex:1;min-width:0}
.folder-name{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.folder-name>strong{font-size:15px;overflow-wrap:anywhere}
.folder-row small{display:block;font-size:12px;color:var(--muted);margin-top:6px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folder-meta{font-size:12px;text-align:right;flex:none}
.folder-empty{padding:24px 12px;color:var(--muted);font-size:13px;text-align:center;line-height:1.6}
.program-folder{border:1px solid var(--border);border-left:4px solid #b97958;border-radius:10px;min-width:0}
.program-folder>summary{border:0;border-radius:9px;cursor:pointer;list-style:none}
.program-folder>summary::-webkit-details-marker{display:none}
.program-folder>summary::after{content:'⌄';color:var(--accent)}
.program-folder[open]>summary::after{content:'⌃'}
.program-folder-body{border-top:1px solid var(--border);padding:16px 20px;font-size:13px}
.program-folder-body>p{line-height:1.6;color:var(--muted)}
.program-folder-body .program-facts{grid-template-columns:repeat(4,minmax(0,1fr))}
.pill.scheduled{background:#fff0d7;color:#835316}
.pill.available{background:#e6f3ec;color:#2f7054}
.pill.paused,.pill.closed,.pill.archived{background:#f1ece7;color:#746155}
.fundraise-add{position:fixed;right:24px;bottom:24px;z-index:24;display:grid;place-items:center;width:52px;height:52px;padding:12px;border:0;border-radius:50%;background:var(--accent);color:#fff;box-shadow:0 5px 18px #38282040}
.fundraise-add:hover{background:#8b301d;color:#fff}
.fundraise-add svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.content{padding-bottom:90px}
.overview-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.overview-total{display:grid;gap:8px;text-align:left;background:#fff;border:1px solid var(--border);border-radius:10px;padding:16px}
.overview-total>span{font-size:12px;color:var(--muted);font-weight:400}
.overview-total>strong{font-size:28px;line-height:1.1}
.overview-total>small{font-size:11px;font-weight:400;color:var(--muted)}
.overview-upcoming{margin:0 0 14px;padding:16px}
.overview-upcoming .section-head{margin-bottom:8px}
.overview-upcoming h2{font-size:18px}
.overview-upcoming>p{font-size:13px;color:var(--muted)}
.overview-upcoming-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.overview-upcoming-list>button{display:grid;gap:6px;min-width:0;text-align:left;border:1px solid var(--border);border-radius:8px;padding:12px;font-size:13px}
.overview-upcoming-list small{font-size:11px;color:var(--muted);font-weight:400}
.fundraiser-overview{max-width:none}
@media(max-width:800px){
 .folder-page{padding:10px}
 .folder-toolbar{gap:8px}
 .folder-tabs,.folder-filters{width:100%}
 .folder-tabs button{flex:1;padding:9px 6px;font-size:11px}
 .folder-filters select{max-width:46%;font-size:12px}
 .folder-filters input{flex:1;width:0;font-size:12px}
 .folder-new{min-height:58px;padding:9px 10px}
 .folder-new small{display:none}
 .folder-new strong{font-size:14px}
 .folder-new .folder-icon{width:36px;height:36px}
 .folder-row{display:grid;gap:4px;padding:10px}
 .folder-row>.folder-icon{display:none}
 .folder-name{gap:6px}
 .folder-name>strong{font-size:13px}
 .folder-row small{font-size:11px;margin-top:4px}
 .folder-meta{text-align:left;display:flex;gap:6px;align-items:baseline;font-size:11px;flex-wrap:wrap}
 .folder-meta small{margin:0}
 .program-folder>summary{position:relative;padding-right:24px}
 .program-folder>summary::after{position:absolute;right:9px;top:12px}
 .program-folder-body{padding:12px}
 .program-folder-body .program-facts{grid-template-columns:1fr 1fr}
 .fundraise-add{right:16px;bottom:max(16px,env(safe-area-inset-bottom));width:50px;height:50px}
 .compact-navigation .content{padding-bottom:84px}
 .overview-totals{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
 .overview-total{padding:12px;gap:7px}
 .overview-total>strong{font-size:25px}
 .overview-total>span{font-size:11px}
 .overview-upcoming{padding:12px;margin-bottom:10px}
 .overview-upcoming-list{grid-template-columns:1fr}
}
