.report-heading-meta{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;margin:-4px 0 20px;color:var(--muted);font-size:12px}
.report-heading-meta>span:first-child{color:var(--green);display:flex;gap:6px;align-items:center}
.report-heading-meta svg{width:15px;height:15px}
.report-mode{display:inline-flex;padding:4px;gap:4px;border:1px solid var(--line);border-radius:10px;background:var(--surface);margin-bottom:18px}
.report-mode button{background:transparent;border-radius:7px;min-height:44px;padding:10px 20px;font-weight:600;font-size:13px;color:var(--muted)}
.report-mode button.active{background:var(--green);color:var(--surface)}
:root[data-theme=dark] .report-mode button.active{color:var(--canvas)}
.report-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:12px;margin-bottom:20px}
.report-filters>label{display:grid;gap:6px;font-size:12px;color:var(--muted);min-width:130px;flex:1}
.report-filters select,.report-filters input{height:44px;min-width:0;width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface);font-size:13px;color:var(--text)}
.report-filters .report-search{min-width:180px}
.report-filters>:is(.button,.tfa-button){height:44px}
.report-scope{display:flex;gap:16px;justify-content:space-between;align-items:center;margin:0 0 12px;font-size:12px}
.report-scope>span{color:var(--muted)}
.report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px 0;margin-bottom:18px}
.report-metrics>div{padding:0 24px;border-right:1px solid var(--line)}
.report-metrics>div:last-child{border:0}
.report-metrics span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}
.report-metrics strong{display:block;font-size:30px;font-variant-numeric:tabular-nums;line-height:1.3}
.report-metrics strong>small{font-size:12px;font-weight:400;margin-left:5px}
.report-note{display:flex;align-items:center;gap:9px;background:var(--amber-bg);color:var(--text);border-radius:9px;padding:10px 14px;margin-bottom:18px;font-size:12px}
.report-note>svg{color:var(--amber);width:17px;min-width:17px}
.report-note>span{flex:1}
.report-note :is(.button,.tfa-button){font-size:12px;white-space:normal;min-height:44px}
.report-row-count{font-size:12px;color:var(--muted)}
.member-report-table{border-collapse:collapse;width:100%;table-layout:auto;font-size:13px}
.member-report-table thead{background:var(--canvas)}
.member-report-table th,.member-report-table td{padding:14px 18px;text-align:left;border-top:1px solid var(--line);overflow-wrap:anywhere}
.member-report-table thead th{font-size:12px;color:var(--muted);font-weight:500}
.member-report-table td{font-variant-numeric:tabular-nums}
.member-report-table tbody>tr:hover{background:var(--canvas)}
.member-report-table .report-detail-cell{padding:5px 12px}
.report-detail-cell>:is(.button,.tfa-button){min-height:44px;font-size:12px;color:var(--green)}
.report-detail-cell svg{width:14px;height:14px}
.report-event-list{margin:18px 0;display:grid;gap:10px}
.report-event-list>div{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:12px;background:var(--canvas);border-radius:8px;font-size:13px}
.report-event-list small{grid-column:1/-1}
.report-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.mobile-more{display:none}
.report-more-pages{display:grid;gap:12px}
.member-query-link{display:inline-flex;align-items:center;min-height:44px;padding:3px 0;text-align:left;font-weight:650;color:var(--green);background:none;overflow-wrap:anywhere}
.member-query-link:hover{text-decoration:underline}
.report-member-selection{margin-bottom:14px}
.member-flowers-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.member-flowers-toolbar .report-scope{flex:1 1 220px;min-width:0;margin:0}
.member-flower-group{margin:14px 0}
.member-flower-group h3{display:flex;gap:10px;align-items:center;margin:0 0 8px;font-size:15px}
.member-flower-group h3 small{font-size:12px;font-weight:400;color:var(--muted)}
.member-flower-grid{display:grid;grid-template-columns:repeat(var(--flower-columns,3),minmax(0,1fr));gap:8px}
.member-flower-tile{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;min-height:44px;padding:8px 6px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:var(--surface)}
.member-advancement{position:absolute;top:4px;right:6px;font-size:11px;font-weight:600;color:var(--green)}
.member-flower-tile:hover{border-color:var(--green);background:var(--canvas)}
.member-flower-tile .flower{width:32px;height:32px;margin:0}
.member-flower-tile strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere;font-weight:600}
.member-flower-tile small{font-size:11px;color:var(--muted)}
.distribution-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:14px 0 8px}
.distribution-toolbar h2{font-size:17px}
.distribution-card{display:flex;flex-direction:column;min-width:0;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--surface);gap:4px}
.distribution-card.unseen{border-style:dashed}
.distribution-flower{display:flex;align-items:center;gap:8px;min-width:0;min-height:44px;padding:0;background:transparent;text-align:left}
.distribution-flower .flower{width:28px;height:28px;margin:0;flex-shrink:0}
.distribution-flower strong{font-size:13px;overflow-wrap:anywhere;line-height:1.4}
.distribution-tags{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px;font-size:12px}
.distribution-card .flower-sources{margin:0;min-height:21px}
.distribution-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:2px 0}
.distribution-counts>div{min-width:0}
.distribution-counts dt{font-size:11px;color:var(--text);overflow-wrap:anywhere}
.distribution-counts dd{margin:0;font-size:21px;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.distribution-counts small{font-size:11px;font-weight:400;margin-left:3px;color:var(--text)}
.distribution-card :is(.button,.tfa-button){min-height:44px;padding:6px 0;white-space:normal;max-width:100%;margin-top:auto;color:var(--green)}
.distribution-note{margin-top:12px;font-size:12px;color:var(--text)}
.distribution-members{list-style:none;padding:0;margin:12px 0}
.distribution-members li{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:6px 0}
.distribution-members strong{white-space:nowrap;font-size:13px}
.flower-member-section{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}
.flower-member-section h3{font-size:16px;margin:0}
.flower-member-section .report-scope{flex-wrap:wrap;gap:6px 12px}
.flower-member-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.flower-member-list>li{min-width:0;max-width:100%}
.flower-member-list .member-query-link{max-width:100%;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--canvas);font-size:13px}
@media(max-width:980px){.member-report-table th,.member-report-table td{padding:12px 10px}.member-report-table{font-size:12px}.report-metrics>div{padding:0 14px}}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
 .sidebar .nav-button[data-page=data],.sidebar .nav-button[data-page=script]{display:none}
 .sidebar .mobile-more{display:flex}
 #main[data-page=members] .page-heading{display:block;margin-bottom:16px}
 #main[data-page=members] .page-heading h1{font-size:25px;letter-spacing:-.5px}
 #main[data-page=members] .page-heading .actions{margin-top:10px}
 #main[data-page=members] .heading-copy p{font-size:12px;max-width:none}
 .report-heading-meta{margin:0 0 15px;font-size:11px;gap:6px}
 .report-mode{display:flex}
 .report-mode button{flex:1;padding:9px 10px;font-size:12px}
 .report-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px;margin-bottom:16px}
 .report-filters>label,.report-filters .report-search{min-width:0;font-size:11px}
 .report-filters select,.report-filters input{font-size:12px}
 .report-filters .report-search{grid-column:1/-1}
 .report-filters>:is(.button,.tfa-button){grid-column:1/-1}
 .distribution-flower{gap:4px}
 .distribution-flower .flower{width:20px;height:20px}
 .distribution-counts{display:flex;flex-direction:column;gap:2px}
 .distribution-counts>div{display:flex;align-items:baseline;justify-content:space-between;gap:4px}
 .distribution-counts dd{font-size:17px;white-space:nowrap}
 .report-scope{display:block;font-size:12px}
 .report-scope>span{display:block;font-size:11px;margin-top:5px}
 .report-metrics{padding:0}
 .report-metrics>div{padding:14px 12px}
 .report-metrics strong{font-size:27px}
 .report-note{align-items:flex-start;flex-wrap:wrap;font-size:11px;padding:12px}
 .report-note :is(.button,.tfa-button){margin-left:20px;padding-left:0}
 .report-panel .section-head{padding:16px;gap:8px}
 .report-panel h2{font-size:16px}
 .member-report-table,.member-report-table tbody{display:block}
 .member-report-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .member-report-table tbody>tr{display:grid;grid-template-columns:1fr 1fr;padding:14px 16px;border-top:1px solid var(--line);gap:9px 14px}
 .member-report-table tbody th,.member-report-table tbody td{padding:0;border:0;display:block;min-width:0;font-size:13px}
 .member-report-table tbody th{grid-column:1/-1;font-size:14px}
 .member-report-table td[data-label]:before{content:attr(data-label);display:block;font-size:11px;color:var(--muted);font-weight:400;margin-bottom:2px}
 .member-report-table .report-detail-cell{grid-column:1/-1;padding:0;border-top:1px solid var(--line)}
 .report-detail-cell>:is(.button,.tfa-button){padding:8px 0}
}
