.stat-report-container .stat-row-flex{display:flex;gap:32px;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap}.stat-report-container .stat-row-flex:nth-child(2){margin-top:-120px}.stat-report-container #monthlyTotalReport{width:250px;height:200px}.stat-report-container #monthlyTypeReport{width:450px;height:450px}.stat-report-container #genderReport{width:400px;height:400px}.stat-report-container #typeAgeReport,.stat-report-container #counselorReport{width:500px;height:500px}.stat-report-container .stat-table{width:100%;border-collapse:collapse;margin-bottom:24px;background:#fff;font-size:12px}.stat-report-container .stat-table th,.stat-report-container .stat-table td{border:1px solid #bfc7d1;padding:6px 12px;text-align:center}.stat-report-container .stat-table th{background:#f3f6fa;font-weight:600}.stat-report-container .stat-table tr:nth-child(2n){background:#f9fafc}.stat-report-container .stat-table tr:hover{background:#e6eaf3}.stat-report-container .stat-table td.total-cell{background:#f3f6fa;font-weight:700}.stat-report-container .bg-white{background:#fff!important;border-radius:12px!important}.stat-report-container .p-4{padding:16px!important}.stat-report-container .rounded{border-radius:12px!important}.stat-report-container .mb-8{margin-bottom:32px!important}.stat-report-container .mt-4{margin-top:16px!important}.stat-report-container .text-lg{font-size:18px!important}.stat-report-container .font-bold{font-weight:700!important}.stat-report-container .section-content{display:flex;flex-direction:column;gap:16px;overflow:auto}.stat-report-container .period-text{font-size:12px;font-weight:700;text-align:center;margin-bottom:8px}.family-report-container{padding:24px}.family-report-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:32px;border-radius:12px;margin-bottom:32px;text-align:center}.family-report-header h1{margin:0 0 8px;font-size:28px}.family-report-header p{margin:0;font-size:16px;opacity:.9}.family-report-controls{display:flex;align-items:center;gap:16px;margin-bottom:32px;padding:16px;background:#f8f9fa;border-radius:8px}.family-report-top-row{display:flex;gap:24px;margin-bottom:32px;flex-wrap:wrap}.family-report-top-row .family-report-header{width:600px;margin-bottom:0}.family-report-top-row .family-report-controls{width:450px;margin-bottom:0}.family-report-controls select{padding:8px 16px;border:1px solid #ddd;border-radius:6px;font-size:16px;min-width:60px}.family-report-controls button{padding:8px 32px;background:#007bff;color:#fff;border:none;border-radius:6px;font-size:16px;cursor:pointer;transition:background-color .3s;white-space:nowrap}.family-report-controls button:hover{background:#0056b3}.family-report-section{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;margin-bottom:2rem;overflow:hidden}.family-report-section-header{background:#f8f9fa;padding:1rem 1.5rem;border-bottom:1px solid #e9ecef;font-weight:700;font-size:1.1rem}.family-report-section-content{padding:1.5rem}.chart-container{position:relative;height:400px;margin:1rem 0}.family-report-table{width:100%;border-collapse:collapse;margin:1rem 0;font-size:.9rem}.family-report-table th,.family-report-table td{border:1px solid #dee2e6;padding:.75rem;text-align:center}.family-report-table th{background:#f8f9fa;font-weight:600}.family-report-table tr:nth-child(2n){background:#f8f9fa}.family-report-table tr:hover{background:#e9ecef}.loading-spinner{display:inline-block;width:20px;height:20px;border:3px solid #f3f3f3;border-top:3px solid #007bff;border-radius:50%;animation:spin 1s linear infinite;margin-right:.5rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-message{background:#f8d7da;color:#721c24;padding:1rem;border-radius:6px;border:1px solid #f5c6cb;margin:1rem 0}.success-message{background:#d4edda;color:#155724;padding:1rem;border-radius:6px;border:1px solid #c3e6cb;margin:1rem 0}@media (max-width: 768px){.family-report-controls{flex-direction:column;align-items:stretch}.family-report-controls select,.family-report-controls button{width:100%}.chart-container{height:300px}.family-report-table{font-size:.8rem}.family-report-table th,.family-report-table td{padding:.5rem}}.counselor-panel-base{flex:1 1 auto;min-width:0;border:none;border-radius:0;background:#fff;display:none;overflow:auto}#counselorRegisterPanel{padding:12px 12px 4px}#counselorRoomPanel{padding:12px}#scheduleModal.inline-mode{display:block;position:static;left:auto;top:auto;width:100%;height:100%;overflow:visible;background-color:transparent;z-index:auto}#scheduleModal.inline-mode .modal-content{margin:0;padding:16px;width:100%;max-width:none;min-height:100%;background-color:#fff;border-radius:10px;box-shadow:none;border:1px solid #e5e7eb;animation:none}#scheduleModal.inline-mode .modal-body{display:flex;align-items:flex-start;min-height:calc(100vh - 240px)}#scheduleModal.inline-mode #counselorScheduleTable{width:calc(var(--first-col-width) + (var(--cell-width) * var(--workday-col-count)));min-width:calc(var(--first-col-width) + (var(--cell-width) * var(--workday-col-count)))}#scheduleModal.inline-mode .modal-footer,#scheduleModal.inline-mode .close-modal-btn,#scheduleModal.inline-mode #cancelCounselorSchedule{display:none}#counselorInlineLeftPane{display:flex;flex-direction:column;width:var(--left-pane-width, 180px);min-width:var(--left-pane-width, 180px);flex:0 0 var(--left-pane-width, 180px)}#counselorInlineLeftPane .modal-header{width:var(--left-pane-width, 180px);margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid #d1d5db}#counselorInlineLeftPane .modal-header h5{width:var(--left-pane-width, 180px);margin:0}#counselorInlineLeftPane #counselingTypeTabHeader,#counselorInlineLeftPane .tab-header{flex-direction:column!important;gap:8px}#counselorInlineLeftPane .tab-header .tab-btn{margin-right:0!important;white-space:nowrap;word-break:keep-all}#counselorInlineTabDivider{height:1px;width:100%;background:#d1d5db;margin:0 0 12px}#counselorInlineActionDivider{height:1px;width:100%;background:#d1d5db;margin:12px 0 10px;display:none}#counselorInlineLeftPane #counselorInputForm{width:var(--left-pane-width, 180px)!important;height:auto;margin-top:0;display:none}#counselorInlineActions{display:none;flex-direction:column;gap:8px;width:var(--left-pane-width, 180px)}#scheduleModal.inline-mode #addCounselorToSchedule{background-color:#d8b4fe;border-color:#c084fc;color:#581c87}#scheduleModal.inline-mode #confirmCounselorSchedule{width:var(--left-pane-width, 180px);background-color:#d8b4fe;color:#581c87;border-width:2px;border-style:solid;border-color:#c084fc;border-radius:8px}#scheduleModal.inline-mode #counselorScheduleLoading{margin-right:0;width:100%;text-align:center}#counselorViewTabHeader{display:flex;flex-direction:column;gap:6px;margin:0 0 10px;width:100%}#counselorViewTabHeader button[data-mode]{height:34px;border:1px solid #d1d5db;border-radius:6px;background:#f3f4f6;color:#374151;font-size:12px;font-weight:700;cursor:pointer}#counselorViewTabHeader button[data-mode][data-active=true]{background-color:#dbeafe;border-color:#93c5fd;color:#1e3a8a}#counselingTypeTabHeader .tab-btn{border-width:1px;border-style:solid}#counselingTypeTabHeader .tab-btn:not(.active){background-color:#e5e7eb;border-color:#d1d5db;color:#374151}.counselor-error-display{display:none}.counselor-delete-btn:disabled{opacity:.55;cursor:not-allowed}.counselor-delete-btn:not(:disabled){opacity:1;cursor:pointer}
