/* V7.9.9 Reports dashboard. Screen-only styles; print templates remain in their existing stylesheets. */
.reports-home{display:grid;gap:14px;margin:0 0 18px}.reports-welcome{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:4px 2px 8px}.reports-welcome h2{margin:2px 0 5px}.reports-welcome p{margin:0;color:var(--app-muted)}.reports-legend{display:flex;gap:12px;flex-wrap:wrap;padding-top:7px;color:var(--app-muted);font-size:12px}.reports-legend span{display:flex;align-items:center;gap:5px}.reports-panel{padding:16px;border:1px solid var(--app-line);border-radius:19px;background:#fff;box-shadow:0 5px 16px rgba(23,54,66,.035)}.reports-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.reports-panel-head h3{margin:3px 0 0;font-size:18px}.reports-compact-field{display:grid;gap:4px;font-size:12px;color:var(--app-muted);min-width:120px}.reports-compact-field .field{min-height:42px;margin:0}.reports-mini-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.reports-weekday{text-align:center;color:var(--app-muted);font-size:12px;padding:5px 0}.reports-empty{min-height:48px}.reports-day{min-width:0;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid transparent;border-radius:12px;background:#f2f7f8;color:var(--app-ink)}.reports-day.selected{border-color:var(--app-teal);background:#e4f2f4;font-weight:700}.reports-day>span{line-height:1}.reports-day i{height:7px;display:flex;gap:3px;font-style:normal}.reports-day i b{width:6px;height:6px;border-radius:50%;display:block}.reports-day .customer-dot,.reports-legend .customer-dot{background:var(--app-teal)}.reports-day .stamp-dot,.reports-legend .stamp-dot{background:#218e70}.reports-day .hotel-dot,.reports-legend .hotel-dot{background:#c4455b}.reports-day-selection{margin-top:14px;padding-top:14px;border-top:1px solid var(--app-line)}.reports-day-selection h4{margin:0 0 8px;font-size:15px}.reports-visit{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--app-line)}.reports-visit:first-child{border-top:0}.reports-visit-select{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--app-muted)}.reports-visit-select input,.reports-category-grid input,.reports-detail-toggle input{width:19px;height:19px;accent-color:var(--app-teal)}.reports-visit-main{min-width:0}.reports-visit-main strong,.reports-visit-main span{display:block;overflow-wrap:anywhere}.reports-visit-main span{font-size:12px;color:var(--app-muted);margin-top:4px;line-height:1.45}.reports-visit-actions{display:flex;gap:6px}.reports-visit-actions .pill{min-height:42px}.reports-selected-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.reports-selected-actions .big{margin:0;min-height:46px}.reports-selected-actions .big:disabled{opacity:.5;cursor:not-allowed}.reports-summary-strip,.reports-finance-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:12px 0}.reports-summary-strip>div,.reports-finance-summary>div{min-width:0;padding:11px;border-radius:13px;background:#f3f7f8}.reports-summary-strip small,.reports-summary-strip b,.reports-finance-summary small,.reports-finance-summary b{display:block}.reports-summary-strip small,.reports-finance-summary small{font-size:11px;color:var(--app-muted);margin-bottom:4px}.reports-summary-strip b,.reports-finance-summary b{font-size:15px;overflow-wrap:anywhere}.reports-panel>h4{margin:16px 0 8px;font-size:14px}.reports-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:8px}.reports-category-grid label,.reports-detail-toggle{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 10px;border:1px solid var(--app-line);border-radius:12px;font-size:13px}.reports-detail-toggle{width:max-content;max-width:100%;margin:10px 0;border:0;padding:5px 0}.reports-action-row{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;margin-top:10px}.reports-action-row button{min-height:46px;margin:0}.report-primary{background:var(--app-teal);color:#fff}.reports-single-label{display:grid;gap:4px;color:var(--app-muted);font-size:12px;min-width:205px}.reports-single-label .field{min-height:44px;margin:0}.reports-note{margin:10px 0 0}.reports-legacy{margin:14px 0;padding:12px;border:1px solid var(--app-line);border-radius:14px;background:#fafcfc}.reports-legacy>summary{cursor:pointer;font-weight:650;color:var(--app-ink);min-height:28px}.reports-legacy>.row{margin-top:10px}.reports-subtitle{margin:12px 0 5px;font-weight:650}.reports-legacy #visitReportList{overflow:auto}.reports-print-actions{margin:16px 0}.combined-work-reports>#printReport.work-report{max-width:210mm}
@media(max-width:680px){.reports-welcome{display:grid}.reports-legend{padding-top:0}.reports-panel{padding:13px;border-radius:16px}.reports-panel-head{align-items:flex-start}.reports-panel-head h3{font-size:17px}.reports-day{min-height:43px;border-radius:10px;font-size:14px}.reports-visit{grid-template-columns:1fr;gap:8px}.reports-visit-actions{justify-content:flex-start}.reports-visit-actions .pill{flex:1}.reports-visit-select{font-size:13px}.reports-action-row{display:grid;grid-template-columns:1fr}.reports-action-row>*{width:100%}.reports-single-label{min-width:0}.reports-summary-strip,.reports-finance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-selected-actions{display:grid}.reports-selected-actions .big{width:100%}}
@media(max-width:360px){.reports-mini-grid{gap:3px}.reports-day{min-height:39px}.reports-summary-strip b,.reports-finance-summary b{font-size:13px}.reports-compact-field{min-width:105px}}
