:root{--primary: #16a34a;--primary-hover: #15803d;--primary-light: #f0fdf4;--text-dark: #0f172a;--text-muted: #64748b;--bg-light: #f8fafc;--border: #e2e8f0;--success: #16a34a;--success-light: #dcfce7;--danger: #dc2626;--danger-light: #fee2e2;--warning: #d97706;--warning-light: #fef3c7;--info: #0284c7;--info-light: #f0f9ff}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}:focus-visible{outline:2.5px solid var(--primary)!important;outline-offset:2px!important}html{scrollbar-gutter:stable}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Be Vietnam Pro,Nunito,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:#f8fafc;color:var(--text-dark);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.45;scrollbar-gutter:stable}button{font-family:inherit;display:inline-flex;align-items:center;justify-content:center;min-width:0;line-height:1.35;border-radius:8px}button svg,.btn svg{flex-shrink:0}input,select,textarea{font-family:inherit;color:var(--text-dark);line-height:1.35}input::placeholder{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:#94a3b8}h1,h2,h3,h4,.brand-logo,.stat-value{font-family:"Baloo 2",Be Vietnam Pro,cursive,sans-serif;font-weight:700;text-wrap:pretty;line-height:1.3}.app-shell{display:flex;min-height:100vh;min-height:100dvh;width:100%;max-width:100%;overflow-x:hidden}.sidebar{width:240px;background-color:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;position:fixed;top:0;bottom:0;left:0;z-index:100}.sidebar-brand{padding:20px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--border)}.brand-text h2{font-size:20px;color:var(--primary);line-height:1.2}.brand-text span{font-size:11px;color:var(--text-muted);font-weight:800;text-transform:uppercase}.sidebar-menu{flex:1;padding:16px 12px;overflow-y:auto;display:flex;flex-direction:column;gap:6px}.menu-item{display:flex;align-items:center;gap:12px;padding:10px 14px;border:none;background:transparent;color:var(--text-muted);font-family:inherit;font-size:14px;font-weight:700;border-radius:8px;cursor:pointer;text-align:left;transition:all .15s ease}.menu-item:hover{background-color:var(--bg-light);color:var(--text-dark)}.menu-item.active{background-color:var(--primary-light);color:var(--primary)}.sidebar-footer{padding:16px;border-top:1px solid var(--border);font-size:12px;background:#f8fafc}.main-content{flex:1 1 0%;margin-left:240px;display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;min-width:0;width:calc(100% - 240px);max-width:100%;overflow-x:hidden}.top-header-sticky{position:sticky;top:0;z-index:99;background-color:#fff;border-bottom:1px solid var(--border);box-shadow:0 1px 3px #0f172a0d;width:100%;min-width:0}.top-header-bar{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;gap:12px;width:100%;box-sizing:border-box;min-width:0;flex-wrap:nowrap}.top-header-left{display:flex;align-items:center;gap:8px;flex-shrink:0}.top-header-campus{display:flex;align-items:center;gap:6px;background:#f8fafc;border:1.5px solid #cbd5e1;border-radius:8px;padding:6px 10px;font-size:13px;font-weight:700;color:#0f172a;min-width:220px;max-width:300px;flex-shrink:0;transition:all .15s ease}.top-header-campus:hover{border-color:#94a3b8;background:#fff}.top-header-campus select{width:100%;border:none;background:transparent;font-size:13px;font-weight:700;color:#0f172a;outline:none;cursor:pointer;white-space:nowrap;-webkit-appearance:none;-moz-appearance:none;appearance:none}.top-header-class{display:flex;align-items:center;gap:6px;background:#f8fafc;border:1.5px solid #cbd5e1;border-radius:8px;padding:6px 10px;font-size:13px;font-weight:700;color:#0f172a;min-width:130px;max-width:170px;flex-shrink:0;transition:all .15s ease}.top-header-class:hover{border-color:#94a3b8;background:#fff}.top-header-class select{width:100%;border:none;background:transparent;font-size:13px;font-weight:700;color:#0f172a;outline:none;cursor:pointer;white-space:nowrap;-webkit-appearance:none;-moz-appearance:none;appearance:none}.top-header-search-wrapper{position:relative;flex:1 1 160px;min-width:120px;max-width:360px}.top-header-search-wrapper input{width:100%;height:38px;padding:0 32px 0 34px;border-radius:8px;border:1.5px solid #cbd5e1;background:#f8fafc;font-size:13px;font-weight:600;color:#0f172a;outline:none;transition:all .15s ease;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.top-header-search-wrapper input:focus{border-color:#2563eb;background:#fff;box-shadow:0 0 0 3px #2563eb1a}.top-header-right{display:flex;align-items:center;gap:10px;flex-shrink:0}.top-header-user-btn{display:flex;align-items:center;gap:8px;cursor:pointer;padding:4px 10px;border-radius:8px;border:1px solid transparent;transition:all .15s ease;flex-shrink:0;min-width:max-content}.top-header-user-btn:hover{background-color:#f1f5f9;border-color:#e2e8f0}.top-header-user-text{display:flex;flex-direction:column;text-align:left;min-width:0}.top-header-user-name{font-weight:700;font-size:13px;color:#0f172a;line-height:1.2;white-space:nowrap}.top-header-user-role{font-size:11px;color:#2563eb;font-weight:600;white-space:nowrap}.top-header-pending-btn{background-color:#fef3c7;color:#92400e;border:1.5px solid #f59e0b;border-radius:8px;padding:6px 12px;font-weight:800;font-size:12px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;height:36px;flex-shrink:0;transition:all .15s ease}.top-header-pending-btn:hover{background-color:#fde68a}.pending-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background-color:#d97706;flex-shrink:0}.pending-short-text{display:none}.pending-full-text{display:inline;white-space:nowrap}.top-header-birthday-btn{background:#fef3c7;border:1.2px solid #fde68a;color:#92400e;padding:0 12px;border-radius:10px;font-weight:800;font-size:12px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;height:36px;flex-shrink:0;transition:all .15s ease}.top-header-birthday-btn:hover{background:#fde68a}.bday-short-text{display:none}.bday-full-text{display:inline;white-space:nowrap}@media (max-width: 1440px){.top-header-bar{padding:0 12px;gap:8px}.top-header-campus{min-width:200px;max-width:260px;padding:5px 8px;font-size:12.5px}.top-header-class{min-width:120px;max-width:150px;padding:5px 8px;font-size:12.5px}.top-header-month{min-width:125px;max-width:135px;padding:5px 8px;font-size:12.5px}.top-header-search-wrapper{flex:1 1 120px;max-width:260px}}@media (max-width: 1200px){.top-header-campus{min-width:180px;max-width:220px}.top-header-search-wrapper{min-width:100px;max-width:200px}.top-header-user-role{display:none}}@media (max-width: 860px){.sidebar{width:60px!important}.sidebar-brand{padding:12px 6px!important;justify-content:center!important}.brand-text{display:none!important}.sidebar-menu{padding:10px 4px!important}.menu-item{justify-content:center!important;padding:9px!important}.menu-item span,.sidebar-footer{display:none!important}.main-content{margin-left:60px!important;width:calc(100% - 60px)!important;max-width:calc(100% - 60px)!important}.container{padding:12px 14px 24px!important}.top-header-bar{height:auto!important;min-height:52px;flex-wrap:wrap!important;padding:8px 10px!important;gap:8px!important}.top-header-search-wrapper{order:3;width:100%!important;max-width:100%!important;flex:1 1 100%!important;margin-top:4px}.top-header-campus{max-width:160px!important}.top-header-campus,.top-header-class,.top-header-pending-btn,.top-header-birthday-btn,.top-header-user-btn{min-height:44px;box-sizing:border-box}.pending-full-text{display:none!important}.pending-short-text{display:inline!important}.bday-full-text{display:none!important}.bday-short-text{display:inline!important}.top-header-right{flex-wrap:wrap}}@media (max-width: 768px){.sidebar{display:none!important}.main-content{margin-left:0!important;width:100%!important;max-width:100%!important}.mobile-bottom-nav{display:flex!important}.container{padding:12px 14px calc(76px + env(safe-area-inset-bottom,0px))!important}.top-header-bar{height:52px!important;min-height:52px!important;padding:0 10px!important}.wizard-step-label{display:none!important}.wizard-step-label.is-active{display:inline-block!important}input,select,textarea{font-size:16px!important}.modal-overlay{align-items:flex-end!important;padding:0!important}.modal-content{width:100%!important;max-width:100%!important;max-height:90dvh!important;border-radius:20px 20px 0 0!important;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))!important}}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-right:6px}.status-dot.active{background-color:var(--success)}.status-dot.paused{background-color:var(--warning)}.status-dot.dropped{background-color:var(--danger)}.status-dot.graduated{background-color:#2563eb}.container{padding:16px 20px 28px;max-width:none;width:100%}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:24px}.stat-card{background-color:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;display:flex;align-items:center;gap:14px}.stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center}.stat-info{display:flex;flex-direction:column}.stat-label{font-size:12px;color:var(--text-muted);font-weight:700;white-space:nowrap}.stat-value{font-size:24px;font-weight:800;color:var(--text-dark);line-height:1.2;white-space:nowrap}.stat-subtext{font-size:11px;font-weight:700;white-space:nowrap}.kpi-grid-8{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}@media (max-width: 1200px){.kpi-grid-8{grid-template-columns:repeat(2,1fr)}}@media (max-width: 640px){.kpi-grid-8{grid-template-columns:1fr}}.section-title{font-size:18px;font-weight:800;color:var(--text-dark);margin-bottom:16px;display:flex;align-items:center;gap:8px}.classes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin-bottom:24px}.class-card{background-color:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;display:flex;flex-direction:column;transition:box-shadow .15s}.class-card:hover{box-shadow:0 4px 12px #00000008}.class-header{display:flex;align-items:center;gap:10px;margin-bottom:14px}.class-avatar{width:40px;height:40px;border-radius:50%;background-color:var(--primary-light);display:flex;align-items:center;justify-content:center;font-size:20px}.class-title h4{font-family:"Baloo 2",cursive;font-size:15px;font-weight:800;color:var(--text-dark)}.class-title span{font-size:11px;color:var(--text-muted)}.class-stats{display:flex;flex-direction:column;gap:8px;font-size:13px;margin-bottom:16px}.class-stat-row{display:flex;justify-content:space-between}.class-stat-row span:first-child{color:var(--text-muted)}.class-stat-row span:last-child{font-weight:700}.badge{padding:4px 8px;border-radius:6px;font-size:11.5px;font-weight:800;text-align:center;white-space:nowrap;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:4px;line-height:1.2}.badge-success{background-color:#dcfce7;color:#166534}.badge-danger{background-color:#fee2e2;color:#991b1b}.badge-warning{background-color:#fef3c7;color:#92400e}.badge-info{background-color:#e0f2fe;color:#075985}.btn{padding:8px 16px;border-radius:8px;border:none;font-family:inherit;font-size:13px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.375rem;line-height:1;transition:all .15s;min-height:36px;white-space:nowrap;flex-shrink:0;-webkit-user-select:none;user-select:none}.btn svg{width:16px;height:16px;flex:0 0 auto}.btn-primary{background-color:var(--primary);color:#fff}.btn-primary:hover{background-color:var(--primary-hover)}.btn-outline{background-color:var(--bg-light);border:1px solid var(--border);color:var(--text-dark)}.btn-outline:hover{background-color:var(--border)}.btn-success{background-color:var(--success);color:#fff}.btn-success:hover{background-color:#15803d}.btn-danger{background-color:var(--danger);color:#fff}.btn-danger:hover{background-color:#b91c1c}.btn-warning{background-color:var(--warning);color:#fff}.btn-warning:hover{background-color:#b45309}.btn-block{width:100%}.btn-sm{padding:5px 10px;font-size:12px;min-height:28px}.btn-sm svg{width:14px;height:14px}.btn-lg{padding:10px 20px;font-size:14px;min-height:42px}.btn-lg svg{width:18px;height:18px}.dashboard-row{display:grid;grid-template-columns:1fr 1.2fr;gap:20px;margin-bottom:24px}@media (max-width: 1024px){.dashboard-row{grid-template-columns:1fr}}.card{background-color:#fff;border:1px solid var(--border);border-radius:12px;padding:20px}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.card-title{font-family:"Baloo 2",cursive;font-size:16px;font-weight:800}.table-responsive{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{background-color:var(--bg-light);color:var(--text-muted);font-weight:800;text-align:left;padding:10px;border-bottom:2px solid var(--border);white-space:nowrap}.data-table td{padding:10px;border-bottom:1px solid var(--border);vertical-align:middle}.data-table tr:hover{background-color:var(--bg-light)}.table-col-sticky-right{position:sticky;right:0;background-color:#fff;z-index:2;box-shadow:-4px 0 8px #0000000d}.data-table tr:hover .table-col-sticky-right{background-color:var(--bg-light)}.data-table th.table-col-sticky-right{background-color:var(--bg-light);z-index:3}.timeline{display:flex;flex-direction:column;gap:14px}.timeline-item{display:flex;gap:16px;position:relative}.timeline-time{font-size:12.5px;font-weight:700;color:var(--text-muted);width:45px}.timeline-point{width:12px;height:12px;border-radius:50%;background-color:var(--primary);margin-top:4px;position:relative;z-index:2}.timeline-point:after{content:"";position:absolute;top:12px;left:5px;bottom:-20px;width:2px;background-color:var(--border);z-index:1}.timeline-item:last-child .timeline-point:after{display:none}.timeline-content{flex:1;font-size:13px}.timeline-content strong{font-weight:700;color:var(--text-dark)}.timeline-author{font-size:12px;color:var(--text-muted);text-align:right;width:80px}.footer-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;background-color:#fff;border:1px solid var(--border);border-radius:12px;padding:20px;margin-bottom:24px}.metric-box{display:flex;flex-direction:column;gap:12px}.metric-header{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:700}.progress-bar-container{display:flex;height:8px;border-radius:4px;overflow:hidden;background-color:var(--bg-light)}.progress-segment{height:100%}.metric-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;color:var(--text-muted)}.legend-item{display:flex;align-items:center;gap:6px;font-weight:700}.legend-color{width:8px;height:8px;border-radius:50%}.login-screen{background-color:#f1f5f9;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.login-card{background-color:#fff;border:1px solid var(--border);border-radius:16px;padding:32px;width:100%;max-width:400px;box-shadow:0 10px 25px -5px #0000000d}.login-header{text-align:center;margin-bottom:24px}.login-logo{font-size:48px;margin-bottom:8px}.login-card h2{font-size:22px;color:var(--primary)}.login-card p{font-size:12.5px;color:var(--text-muted);margin-top:4px}.form-group{margin-bottom:16px}.form-group label{display:block;font-weight:700;font-size:13px;margin-bottom:6px}.form-control{width:100%;padding:10px 12px;border-radius:8px;border:1px solid var(--border);font-family:inherit;font-size:13.5px;outline:none}.form-control:focus{border-color:var(--primary)}.form-error{color:var(--danger);font-size:12.5px;font-weight:700;margin-bottom:12px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.modal-content{background-color:#fff;border-radius:12px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;padding:24px}.modal-content-wide{max-width:900px}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;border-bottom:1px solid var(--border);padding-bottom:12px}.modal-close{background:transparent;border:none;cursor:pointer;font-size:18px;color:var(--text-muted);min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.modal-close:hover{color:var(--text-dark)}.permanent-delete-action-button{width:30px;height:30px;flex-shrink:0;white-space:nowrap;border:1px solid #b91c1c;border-radius:50%;background:#dc2626;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.permanent-delete-action-button:hover{background:#b91c1c}.permanent-delete-action-button--mobile{width:100%;min-height:44px;height:auto;border-radius:10px;gap:8px;font-family:inherit;font-weight:800;font-size:13px}.students-mobile-card-list{display:none}.permanent-delete-dialog-actions{display:flex;justify-content:flex-end;gap:8px}@media (max-width: 768px){.students-desktop-table{display:none!important}.students-mobile-card-list{display:flex!important;gap:12px;padding:12px}.student-mobile-card{border:1px solid #dbe3ee;border-radius:14px;background:#fff;padding:14px;box-shadow:0 2px 8px #0f172a0d}.student-mobile-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.student-mobile-card-identity{min-width:0}.student-mobile-card-title,.student-mobile-card-code,.student-mobile-card-status,.student-mobile-card-details dd{white-space:nowrap}.student-mobile-card-title{margin:0;color:#0f172a;font-family:"Baloo 2",cursive;font-size:17px;font-weight:800;overflow:hidden;text-overflow:ellipsis}.student-mobile-card-code{display:block;color:#64748b;font-size:12px;font-weight:800;margin-top:2px}.student-mobile-card-status{flex-shrink:0;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800}.student-mobile-card-status--active{background:#dcfce7;color:#166534}.student-mobile-card-status--graduated{background:#f5f3ff;color:#6d28d9;border:1px solid #ddd6fe}.student-mobile-card-status--paused{background:#fef3c7;color:#92400e}.student-mobile-card-status--inactive{background:#fee2e2;color:#991b1b}.student-mobile-card-details{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin:14px 0}.student-mobile-card-details div{min-width:0}.student-mobile-card-details dt{color:#64748b;font-size:11px;font-weight:700}.student-mobile-card-details dd{color:#334155;font-size:13px;font-weight:800;margin:2px 0 0;overflow:hidden;text-overflow:ellipsis}.student-mobile-card-actions{display:flex;flex-direction:column;gap:8px}.student-mobile-card-action{width:100%;min-height:44px;border-radius:10px;border:1px solid #fca5a5;background:#fef2f2;color:#b91c1c;font-family:inherit;font-size:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.student-mobile-card-empty{color:#64748b;padding:24px 12px;text-align:center}.permanent-delete-action-button{min-width:44px;min-height:44px}.permanent-delete-dialog-actions{flex-direction:column-reverse;width:100%}.permanent-delete-dialog-actions .btn{width:100%;min-height:44px}.tuition-desktop-table{display:none!important}.tuition-mobile-cards{display:block!important}.modal-overlay{align-items:flex-end!important;padding:0!important}.modal-content{width:100%!important;max-width:100%!important;border-radius:20px 20px 0 0!important;max-height:90dvh!important;overflow-y:auto!important;padding:20px 16px calc(24px + env(safe-area-inset-bottom,0px)) 16px!important;animation:slideUpModal .25s cubic-bezier(.16,1,.3,1)!important}}@keyframes slideUpModal{0%{transform:translateY(100%)}to{transform:translateY(0)}}.tuition-desktop-table{display:block}.tuition-mobile-cards{display:none}.hover-card-link{transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s cubic-bezier(.16,1,.3,1),border-color .2s ease}.hover-card-link:hover{transform:translateY(-2px);box-shadow:0 8px 18px -4px #0284c724,0 2px 4px -1px #0000000a!important;border-color:#38bdf8!important}.settings-container{max-width:1400px;margin:0 auto;display:flex;gap:20px;align-items:flex-start}.settings-mobile-selector{display:none}@media (max-width: 960px){.settings-container{flex-direction:column}}@media (max-width: 768px){.sidebar{display:none!important}.main-content{margin-left:0!important;max-width:100vw!important;width:100%!important}.container{padding:12px!important}.top-header-sticky{padding:4px 8px!important}.settings-mobile-selector{display:block}.settings-sidebar{display:none!important}}.attendance-page-container{display:flex;flex-direction:column;gap:20px}.attendance-page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.attendance-title-wrapper{display:flex;align-items:center;gap:14px}.attendance-title-icon{width:44px;height:44px;border-radius:12px;background-color:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #2563eb33}.attendance-title-icon svg{width:24px;height:24px}.attendance-title-text h1{font-size:22px;font-weight:800;color:var(--text-dark);line-height:1.2}.attendance-title-text p{font-size:13px;color:var(--text-muted);margin-top:2px}.attendance-nav-tabs{display:inline-flex;align-items:center;gap:6px;background-color:#e2e8f0;padding:6px;border-radius:12px;border:1px solid #cbd5e1;flex-wrap:wrap}.attendance-tab-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:8px;border:none;background:transparent;color:#475569;font-family:inherit;font-size:13px;font-weight:800;cursor:pointer;transition:all .15s ease}.attendance-tab-btn:hover{background-color:#fff9;color:#0f172a}.attendance-tab-btn.active{background-color:#fff;color:var(--primary);box-shadow:0 2px 8px #00000014}.attendance-tab-btn svg{width:16px;height:16px}.attendance-kpi-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.attendance-kpi-card{background-color:#fff;border:1px solid var(--border);border-radius:14px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 1px 3px #00000005}.attendance-kpi-card--success{background-color:#f0fdf4;border-color:#bbf7d0}.attendance-kpi-card--purple{background-color:#faf5ff;border-color:#e9d5ff}.attendance-kpi-card--danger{background-color:#fff1f2;border-color:#fecdd3}.attendance-kpi-card--amber{background-color:#fffbeb;border-color:#fde68a}.attendance-kpi-header{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:800;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.attendance-kpi-value{font-size:24px;font-weight:800;color:var(--text-dark);margin-top:8px;line-height:1.2}.attendance-kpi-sub{font-size:11.5px;font-weight:600;color:var(--text-muted);margin-top:4px}.attendance-calendar-card{background-color:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:0 2px 8px #0000000a}.attendance-calendar-topbar{padding:16px 20px;background-color:#f8fafc;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.attendance-calendar-nav{display:flex;align-items:center;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:4px}.attendance-calendar-nav button{background:transparent;border:none;padding:6px;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center;color:var(--text-muted)}.attendance-calendar-nav button:hover{background-color:#f1f5f9;color:var(--text-dark)}.attendance-calendar-month-label{padding:0 12px;font-size:13px;font-weight:800;color:var(--text-dark)}.attendance-calendar-body{padding:20px}.attendance-weekdays-row{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-bottom:8px;text-align:center}.attendance-weekday-header{padding:8px;background-color:#f1f5f9;border-radius:8px;font-size:12px;font-weight:800;color:#475569;text-transform:uppercase}.attendance-calendar-body{width:100%;overflow-x:auto;min-width:0;-webkit-overflow-scrolling:touch}.attendance-month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.attendance-day-card{background-color:#fff;border:1px solid var(--border);border-radius:12px;padding:10px;min-height:105px;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:all .15s ease}.attendance-day-card:hover{border-color:var(--primary);box-shadow:0 4px 12px #2563eb1a}.attendance-day-card.selected{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary)}.attendance-day-card.sunday{background-color:#f8fafc;color:#94a3b8}.attendance-day-card.future{background-color:#f8fafc;opacity:.7}.attendance-day-num{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800}.attendance-day-num.today{background-color:var(--primary);color:#fff}.attendance-day-chips{display:flex;flex-direction:column;gap:4px;margin:6px 0}.attendance-day-chip{display:flex;align-items:center;justify-content:space-between;padding:2px 6px;border-radius:6px;font-size:11px;font-weight:700}.attendance-day-chip--present{background-color:#dcfce7;color:#166534}.attendance-day-chip--excused{background-color:#f3e8ff;color:#6b21a8}.attendance-day-chip--unconfirmed{background-color:#fef3c7;color:#92400e}.attendance-matrix-container{background-color:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:0 2px 8px #0000000a}.attendance-matrix-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.attendance-matrix-table{width:100%;border-collapse:collapse;font-size:12px;min-width:1100px}.attendance-matrix-table th{background-color:#f1f5f9;color:#334155;font-weight:800;padding:8px 6px;border:1px solid var(--border);text-align:center;white-space:nowrap}.attendance-matrix-table td{padding:6px;border:1px solid var(--border);text-align:center;vertical-align:middle}.attendance-matrix-table tr:hover td{background-color:#f8fafc}.attendance-cell-present{background-color:#dcfce7;color:#166534;font-weight:800}.attendance-cell-excused{background-color:#f3e8ff;color:#6b21a8;font-weight:800}.attendance-cell-unexcused{background-color:#fee2e2;color:#991b1b;font-weight:800}.attendance-cell-late{background-color:#fef3c7;color:#92400e;font-weight:800}.attendance-cell-start{background-color:#e0e7ff;color:#3730a3;font-weight:800}.attendance-cell-na{background-color:#f8fafc;color:#94a3b8;font-weight:700}.attendance-classes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.attendance-class-box{background-color:#fff;border:1px solid var(--border);border-radius:16px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 2px 6px #00000008;transition:all .15s ease}.attendance-class-box:hover{border-color:var(--primary);box-shadow:0 6px 16px #2563eb1a}.attendance-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0f172a80;z-index:1000;display:flex;justify-content:flex-end}.attendance-drawer-panel{width:100%;max-width:600px;background-color:#fff;height:100%;display:flex;flex-direction:column;box-shadow:-4px 0 20px #00000026}.attendance-drawer-header{padding:20px;background-color:#0f172a;color:#fff;display:flex;align-items:flex-start;justify-content:space-between}.attendance-drawer-body{flex:1;overflow-y:auto;padding:20px;background-color:#f8fafc;display:flex;flex-direction:column;gap:16px}@media (max-width: 768px){.attendance-kpi-strip{grid-template-columns:repeat(2,1fr)}.attendance-weekdays-row,.attendance-month-grid{gap:4px}.attendance-day-card{min-height:80px;padding:6px}}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}@media (max-width: 1440px){.page-container{padding:14px 16px!important}.page-header{margin-bottom:14px!important}.page-title{font-size:20px!important}.page-subtitle{font-size:12px!important}}.birthday-sidequest-card{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom,0px));right:20px;z-index:9999;width:360px;max-width:calc(100vw - 32px);background:#fff;border:1.5px solid #fde68a;border-radius:18px;box-shadow:0 12px 28px -4px #0f172a24,0 4px 10px -2px #0f172a0f;padding:14px 16px;animation:birthdaySlideUp .3s ease-out}@keyframes birthdaySlideUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.birthday-card-inner{display:flex;gap:12px;align-items:flex-start}.birthday-icon-box{width:38px;height:38px;border-radius:10px;background:#fef3c7;color:#d97706;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px}.birthday-card-content{flex:1;min-width:0}.birthday-card-badge{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;background:#fffbeb;color:#b45309;border:1px solid #fde68a;padding:2px 7px;border-radius:6px}.birthday-card-title{margin:4px 0 2px;font-size:13.5px;font-weight:800;color:#0f172a;line-height:1.35}.birthday-card-desc{font-size:12px;color:#475569;line-height:1.45;margin:0}.birthday-card-actions{display:flex;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #f1f5f9}.birthday-btn-primary{flex:1;min-height:44px;background:#d97706;color:#fff;border:none;border-radius:12px;padding:8px 14px;font-size:12.5px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 1px 3px #d9770633;transition:all .15s ease}.birthday-btn-primary:hover{background:#b45309}.birthday-btn-primary:active{transform:scale(.98)}.birthday-btn-ghost{min-height:44px;background:#f1f5f9;color:#475569;border:none;border-radius:12px;padding:8px 14px;font-size:12.5px;font-weight:600;cursor:pointer;transition:all .15s ease}.birthday-btn-ghost:hover{background:#e2e8f0;color:#0f172a}.birthday-btn-close{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#94a3b8;border-radius:8px;cursor:pointer;margin:-6px -6px 0 0}.birthday-btn-close:hover{background:#f1f5f9;color:#475569}.birthday-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:16px;animation:modalFadeIn .2s ease-out}.birthday-modal-card{background:#fff;border-radius:20px;width:100%;max-width:480px;max-height:92dvh;box-shadow:0 25px 50px -12px #0f172a40;border:1px solid #e2e8f0;overflow-y:auto;display:flex;flex-direction:column}.birthday-modal-header{background:linear-gradient(to right,#fffbeb,#fff7ed);padding:14px 18px;border-bottom:1px solid #fef3c7;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.birthday-modal-body{padding:16px 18px 20px;overflow-y:auto;flex:1}.birthday-chip{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:6px 10px;min-height:36px;font-size:11.5px;color:#92400e;cursor:pointer;font-weight:600;display:inline-flex;align-items:center;transition:all .15s ease}.birthday-chip:hover{background:#fef3c7;border-color:#f59e0b}.birthday-inbox-page{display:flex;flex-direction:column;gap:18px;padding-bottom:40px}.birthday-inbox-banner{background:linear-gradient(135deg,#f59e0b,#ea580c);border-radius:20px;padding:22px 24px;color:#fff;box-shadow:0 8px 24px -4px #ea580c40}.birthday-inbox-toolbar{background:#fff;border:1px solid var(--border);border-radius:16px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 1px 3px #0f172a0a}.birthday-campus-pills{display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:none}.birthday-campus-btn{min-height:40px;padding:6px 14px;border-radius:10px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;border:1px solid transparent;transition:all .15s ease}.birthday-campus-btn.active{background:#d97706;color:#fff;box-shadow:0 1px 2px #d9770633}.birthday-campus-btn:not(.active){background:#f1f5f9;color:#475569}.birthday-campus-btn:not(.active):hover{background:#e2e8f0}.birthday-search-input{min-height:44px;padding:8px 14px 8px 36px;border:1.5px solid #cbd5e1;border-radius:12px;font-size:13px;width:260px;color:#0f172a;outline:none;transition:border-color .15s}.birthday-search-input:focus{border-color:#d97706;box-shadow:0 0 0 3px #d9770626}.birthday-wishes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.birthday-wish-card{background:#fff;border:1.5px solid #fef3c7;border-radius:16px;padding:16px;box-shadow:0 2px 6px #0f172a0a;display:flex;flex-direction:column;justify-content:space-between;transition:all .15s ease}.birthday-wish-card:hover{border-color:#fde68a;box-shadow:0 6px 14px -2px #0f172a14}@media (max-width: 640px){.birthday-sidequest-card{left:12px;right:12px;width:auto;max-width:380px;margin:0 auto;bottom:calc(12px + env(safe-area-inset-bottom,0px))}.birthday-modal-overlay{align-items:flex-end;padding:0}.birthday-modal-card{border-radius:24px 24px 0 0;max-height:92dvh;border-bottom:none}.birthday-inbox-banner{padding:18px 16px;border-radius:16px}.birthday-inbox-toolbar{flex-direction:column;align-items:stretch;padding:12px}.birthday-search-input{width:100%;font-size:16px!important}.birthday-wishes-grid{grid-template-columns:1fr}}
