:root{font-family:DM Sans,system-ui,sans-serif;color:#24334c;background:#f5f7fb;font-synthesis:none;--navy: #172d50;--blue: #3765e5;--muted: #6d7a90;--border: #e6eaf1}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #91afff;outline-offset:3px}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .15s}input,select{width:100%;min-height:44px;border:1px solid #cfd7e4;border-radius:9px;padding:10px 12px;background:#fff;color:#24334c;min-width:0}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--blue)}h1,h2,h3{font-family:Manrope,system-ui,sans-serif;letter-spacing:-.7px}h1{font-size:30px;line-height:1.3;margin:8px 0}h2{font-size:20px;margin:0 0 16px}p{line-height:1.65}small,.small{font-size:12px}.muted{color:var(--muted)}.primary,.secondary,.light-button{border-radius:9px;min-height:44px;padding:11px 17px;font-weight:600}.primary{border:1px solid var(--blue);background:var(--blue);color:#fff}.primary:hover{background:#284fc1}.secondary{border:1px solid #d8e0ec;color:#304669;background:#fff}.secondary:hover{background:#f0f4fc}.light-button{background:#fff;border:none;color:var(--navy)}.wide{width:100%;margin-top:16px}.compact{padding:7px 11px;min-height:38px;font-size:12px}.text-button{border:0;background:none;color:#335bcc;font-weight:600;padding:8px 0}.icon-button{border:none;background:transparent;color:inherit;width:40px;height:40px;flex-shrink:0;border-radius:8px}.icon-button:hover{background:#e9edf5}.brand{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:800;letter-spacing:2px;line-height:1.4;color:#fff}.brand>span>span{display:block;font-size:10px;font-weight:500;letter-spacing:4px;color:#aebdda}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#3a60a3;color:#fff}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;color:#5b6d8b}.pill{display:inline-block;padding:6px 10px;border-radius:6px;background:#edf2ff;color:#3b60ba;font-size:11px;letter-spacing:.5px;font-weight:700}.login-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-story{color:#fff;background:radial-gradient(ellipse at 10% 100%,#2b5a8c 0,transparent 65%),#172d50;padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;gap:70px}.login-story h1{font-size:clamp(36px,4vw,62px);line-height:1.16;letter-spacing:-2px;margin:22px 0}.login-story .eyebrow{color:#bacdf1}.login-story p{color:#c2cee2;font-size:17px}.login-story small{color:#a7bad8}.story-features{display:grid;gap:20px;margin-top:38px;color:#d2def2;font-size:14px}.story-features span{display:flex;gap:14px;align-items:center}.story-features svg{color:#9bbbf8;width:20px}.login-panel{display:flex;align-items:center;justify-content:center;padding:40px;background:#f9faff}.login-card{width:100%;max-width:410px}.login-card h2{margin:22px 0 8px;font-size:29px}.login-card>small{display:block;text-align:center;margin-top:22px}.demo-note{background:#f0f4ff;border:1px solid #dce5fd;border-radius:10px;padding:15px;font-size:13px;line-height:1.6;margin:24px 0 8px;color:#405778}.demo-note p{margin:4px 0 0}.app-shell{display:flex;min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:var(--navy);color:#c7d3e9;display:flex;flex-direction:column;padding:30px 20px;z-index:5}.sidebar .brand{padding:0 9px}.sidebar-label{font-size:9px;font-weight:700;letter-spacing:1.5px;margin:47px 14px 16px;color:#9badca}.sidebar nav{display:grid;gap:8px}.nav-item{color:#b6c7e4;background:none;border:0;justify-content:flex-start;padding:14px 18px;border-radius:10px;font-size:14px;gap:13px;min-height:48px}.nav-item.active{background:#34579a;color:#fff}.nav-item:hover{background:#2b4672}.sidebar-bottom{margin-top:auto;padding:28px 8px 0}.sidebar-card{border:1px solid #3a4d6d;border-radius:12px;padding:19px 16px;background:#20385b;margin-bottom:22px}.sidebar-card svg{color:#9db9ee}.sidebar-card strong{display:block;font-size:13px;margin:12px 0 6px;color:#fff}.sidebar-card p{font-size:12px;margin:0}.sidebar-bottom>span{color:#91a5c7;font-size:10px}.workspace{width:calc(100% - 246px);margin-left:246px}.topbar{min-height:78px;border-bottom:1px solid var(--border);background:#fff;padding:16px 36px;display:flex;justify-content:space-between;align-items:center;font-size:13px}.topbar-user{display:flex;gap:14px;align-items:center;font-weight:600}.mode-badge{font-size:9px;background:#edf2fb;color:#58749d;letter-spacing:1px;border-radius:5px;padding:5px 7px;margin-left:10px}main{max-width:1440px;padding:24px 36px;margin:0 auto}.demo-strip{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#50688f;font-size:11px;border-bottom:1px solid #dfe6f2;padding:0 0 14px;margin-bottom:25px}.demo-strip button{border:0;padding:5px 0;background:none;color:#3657a3;font-size:11px;font-weight:700}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading p{margin:7px 0 0;color:var(--muted);font-size:14px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:25px}.metric{border:1px solid var(--border);border-radius:13px;background:#fff;padding:21px 23px;box-shadow:0 3px 8px #21345003}.metric-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;color:#5d6e88;gap:8px}.metric-icon{width:36px;height:36px;display:grid;place-items:center;background:#f0f4ff;color:#5b79c9;border-radius:10px}.metric strong{display:block;font-family:Manrope,sans-serif;font-size:clamp(21px,2.2vw,30px);letter-spacing:-.7px;margin:10px 0 7px}.metric small{color:#738098;font-size:11px}.card{padding:25px;border-radius:14px;background:#fff;border:1px solid var(--border);margin-bottom:24px;min-width:0}.home-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:24px}.welcome-card{background:linear-gradient(115deg,#233f75,#4167b0);border:0;color:#fff;padding:29px;position:relative;overflow:hidden}.welcome-card h2{margin:22px 0 12px;font-size:27px;max-width:350px;position:relative;z-index:1}.welcome-card p{color:#d5e2ff;max-width:360px;font-size:13px;position:relative;z-index:1}.welcome-card .pill{background:#ffffff1c;color:#dce9ff;font-size:9px}.welcome-card button{margin-top:14px;position:relative;z-index:1;font-size:12px}.welcome-art{position:absolute;right:-18px;bottom:10px;color:#fff;opacity:.09;transform:rotate(-15deg)}.quick-card button{display:flex;width:100%;justify-content:flex-start;background:none;border:0;border-top:1px solid var(--border);padding:18px 0;text-align:left;font-size:13px;font-weight:500;color:#425371}.quick-card button svg{width:18px;color:#617ba9}.quick-card button svg:last-child{margin-left:auto;width:16px}.quick-card p{font-size:13px;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:center}.section-heading h2{margin:0}.student-row{display:flex;align-items:center;gap:13px;border-bottom:1px solid #edf0f6;padding:17px 0;font-size:13px}.student-row:last-child{border:0}.student-row>span:last-child{margin-left:auto;font-size:12px;color:#6b7890}.student-row small{display:block;color:#7a879b;margin-top:5px;font-size:11px}.avatar{height:41px;width:41px;border-radius:12px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background:#eef1fc;color:#5874af;font-weight:700;font-size:13px;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.large{width:85px;height:85px;font-size:25px;border-radius:20px}.filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:24px}.filters select{width:auto;font-size:12px}.search{display:flex;align-items:center;min-width:180px;flex:1;border:1px solid #cfd7e4;padding-left:12px;border-radius:9px;color:#8692a6}.search input{border:0;font-size:12px;background:none}.checkbox{display:flex;align-items:center;gap:9px;font-size:12px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{background:#f8faff;color:#738097;font-weight:600;padding:14px 12px;white-space:nowrap}td{border-bottom:1px solid #edf0f6;padding:20px 12px}td small{display:block;margin-top:5px;color:#7b899d;font-size:11px}.table-student{display:flex;align-items:center;gap:11px;min-width:160px}.row-actions{display:flex;gap:12px;align-items:center;white-space:nowrap}.row-actions .text-button{font-size:12px}.pending-text{color:#af671c}.paid-text{color:#16825e}.schedule-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:22px}.schedule-filters{display:flex;flex-wrap:wrap;gap:12px;margin-left:auto}.schedule-filters .field{margin-bottom:0}.schedule-filters select{font-size:12px;max-width:260px}.week-controls{display:flex;align-items:center;gap:9px;font-size:12px}.schedule-actions{display:flex;gap:10px;justify-content:flex-end;margin-bottom:18px}.schedule-actions button{font-size:12px}.subject-label{color:#4966a2;background:#f0f4ff;padding:7px 11px;border-radius:7px;display:inline-block}.nowrap{white-space:nowrap}.status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px}.dot{width:8px;height:8px;border-radius:50%;background:#93a0b4}.present{color:#177c59}.present .dot{background:#20a36f}.absent{color:#bc404c}.absent .dot{background:#df535f}.unmarked{color:#6c7890}.legend{display:flex;flex-wrap:wrap;gap:18px;margin-top:22px}.legend>span:last-child{font-size:11px;color:#7c899e;margin-left:auto}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 16px;gap:8px;text-align:center;color:#74839c;font-size:13px}.empty h3,.empty p{margin:3px}.empty svg{color:#97aace;margin-bottom:8px}.profile-card{max-width:820px}.profile-title{display:flex;gap:23px;align-items:center;padding-bottom:24px;border-bottom:1px solid var(--border)}.profile-title h2{font-size:25px;margin:10px 0 4px}.profile-title p{margin:0;color:var(--muted);font-size:13px}.profile-details{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:28px 0}dt{font-size:12px;color:#7b879c;margin-bottom:8px}dd{margin:0;font-size:14px;font-weight:600}footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#8793a9;padding:8px 0 12px}.institute-links{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;margin:20px 0;font-size:12px}.institute-links a{color:#335bcc;text-underline-offset:3px}.alert{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:9px;font-size:13px;margin:0 0 18px;overflow-wrap:anywhere}.alert .icon-button{margin-left:auto}.error{color:#9d2f3b;background:#fff0f1;border:1px solid #f4d7dc}.success{color:#176c50;background:#eaf8f1;border:1px solid #c5e7d6}dialog{border:0;width:min(610px,calc(100% - 24px));max-height:90dvh;border-radius:16px;box-shadow:0 25px 100px #0a173b50;padding:26px;color:#24334c}dialog::backdrop{background:#10203e80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-heading h2{margin:0}fieldset{padding:0;margin:0;border:0;min-width:0}.field{display:block;margin-bottom:17px}.field>span{display:block;font-size:12px;font-weight:600;color:#576985;margin-bottom:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.photo-preview{display:flex;gap:15px;align-items:center;margin-bottom:16px}.photo-preview img{width:60px;height:60px;object-fit:cover;border-radius:10px}.payment-summary{display:flex;justify-content:space-between;gap:12px;padding:14px;background:#f4f7fc;border-radius:9px;font-size:13px;margin-bottom:18px}.payment-summary span{color:#af671c}.attendance-list{margin-top:14px;max-height:45dvh;overflow-y:auto}.attendance-list select{max-width:125px;margin-left:auto;font-size:12px}@media(min-width:1500px){main{padding-top:36px}}@media(max-width:1100px){.sidebar{width:208px;padding:28px 14px}.workspace{margin-left:208px;width:calc(100% - 208px)}main{padding:22px}.topbar{padding:15px 22px}.metrics{gap:12px}.metric{padding:18px}.home-grid{grid-template-columns:1fr;gap:0}.quick-card{display:none}}@media(max-width:760px){.login-page{grid-template-columns:1fr}.login-story{padding:30px 26px;gap:32px}.login-story h1{font-size:38px}.login-story p{font-size:14px}.story-features,.login-story>small{display:none}.login-panel{padding:32px 24px}.sidebar{inset:auto 0 0;width:100%;padding:6px 6px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--border)}.sidebar .brand,.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:0}.nav-item{flex:1;padding:8px 4px;flex-direction:column;gap:5px;font-size:10px;border-radius:8px;color:#7384a0}.nav-item.active{background:#edf3ff;color:#335ecd}.nav-item:hover{background:#edf3ff}.workspace{margin-left:0;width:100%}.topbar{min-height:65px;padding:calc(10px + env(safe-area-inset-top)) 18px 10px;font-size:11px}.topbar-user{gap:5px;font-size:11px}main{padding:18px 16px calc(85px + env(safe-area-inset-bottom))}.demo-strip{font-size:10px;flex-direction:column;align-items:flex-start;gap:1px;margin-bottom:22px}.page-heading{flex-wrap:wrap;gap:16px;margin-bottom:22px}h1{font-size:25px}.page-heading p{font-size:12px}.metrics{grid-template-columns:1fr;gap:10px}.metric{padding:16px 18px;position:relative}.metric strong{font-size:25px;margin:5px 0}.metric-icon{position:absolute;right:18px;top:22px;width:42px;height:42px}.metric-top{padding-right:45px}.card{padding:20px 16px}.welcome-card{padding:25px}.welcome-card h2{font-size:25px}.student-row>span:last-child{font-size:10px}.schedule-filters{margin-left:0}.schedule-filters select{max-width:100%}.week-controls{gap:2px;font-size:11px;width:100%;justify-content:space-between}.schedule-actions{justify-content:flex-start;flex-wrap:wrap}table{font-size:11px}td,th{padding:15px 10px}.legend{gap:12px}.legend>span:last-child{margin-left:0;width:100%}.filters select{flex:1}.filters .search{flex-basis:100%}.profile-details{gap:23px 15px}.profile-title{gap:15px}.profile-title h2{font-size:20px}footer span{display:none}dialog{padding:20px}.form-grid{grid-template-columns:1fr}.payment-summary{flex-direction:column}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
