.reports-content{max-width:1180px;margin:auto}.report-card{background:#fffefa;border:1px solid #dce6dc;border-radius:18px;padding:20px;margin:16px 0}.report-card h2{margin-top:0;font-size:1.2rem}.report-filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.report-filters label{display:grid;gap:8px;flex:1;min-width:170px;font-weight:600}.report-filters [hidden]{display:none}.report-filters input,.report-filters select,.report-filters button,#restore-report,#print-report{min-height:46px;padding:10px 14px;border:1px solid #b9cbbb;border-radius:10px;background:white;font:inherit;max-width:100%}.report-filters button,#print-report{background:#225a54;color:white;cursor:pointer}button:disabled{opacity:.55;cursor:wait}.report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.report-metrics .report-card{margin:8px 0 16px}.report-metrics strong{display:block;font-size:2rem;color:#205845;margin-top:10px}.report-metrics span{color:#526859;font-size:.9rem}.report-meta p,#offline-status,#report-status{line-height:1.6}.report-error{color:#9d3c32}.chart-legend{display:flex;gap:20px}.legend-member{color:#225a54}.legend-visitor{color:#956330}.chart-row{display:grid;grid-template-columns:105px 1fr;gap:12px;align-items:center;margin:16px 0;font-size:.9rem}.chart-bars{display:grid;gap:5px}.chart-bar{height:12px;border-radius:4px;min-width:0}.chart-bar.member{background:#225a54}.chart-bar.visitor{background:#bc8b54}.chart-empty{color:#647668;font-size:.85rem}.report-table-wrap{overflow-x:auto}.report-table{border-collapse:collapse;width:100%;font-size:.9rem}.report-table caption{text-align:left;color:#526859;padding:0 0 12px}.report-table th,.report-table td{text-align:left;padding:12px 10px;border-bottom:1px solid #e1e9e1;white-space:nowrap}.report-table th{background:#edf5ee}.report-table tfoot{font-weight:700}.visitor-breakdown{display:flex;flex-wrap:wrap;gap:30px}.visitor-breakdown dt{color:#526859}.visitor-breakdown dd{margin:8px 0;font-size:1.4rem;font-weight:700}#report-content[hidden]{display:none!important}#report-heading{font-size:1.2rem}#print-report{margin:8px 0 24px}
@media(max-width:760px){.report-card{padding:16px}.report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.report-metrics .report-card{margin:0;padding:12px;display:flex;flex-direction:column}.report-metrics span{font-size:.78rem;line-height:1.4}.report-metrics strong{font-size:1.6rem;margin-top:auto;padding-top:8px}.report-metrics{margin-bottom:16px}.report-filters{display:grid;grid-template-columns:1fr}.report-filters label{min-width:0}.chart-row{grid-template-columns:90px 1fr}.visitor-breakdown{gap:20px}.report-table{font-size:.82rem}}
@media print{.sidebar,.topbar,.mobile-bottom-nav,#report-filters,#restore-report,#print-report{display:none!important}.main,.content{margin:0!important;padding:0!important}.report-card{border:0;box-shadow:none;break-inside:avoid}.report-metrics{grid-template-columns:repeat(3,1fr)}.report-table-wrap{overflow:visible}.report-table td,.report-table th{white-space:normal}#report-content[hidden]{display:none!important}}
