:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f4f7fb;font-synthesis:none;--blue: #1d4ed8;--blue-dark: #163da8;--teal: #0f9488;--green: #15803d;--red: #dc2626;--amber: #c76a08;--border: #dce3ed;--muted: #64748b;--surface: #ffffff}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;background:#f4f7fb}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(29,78,216,.2);outline-offset:2px}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(380px,1.1fr) minmax(420px,.9fr);background:#fff}.login-brand{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(40px,7vw,96px);overflow:hidden;color:#fff;background:#153c91}.login-brand:after{content:"";position:absolute;inset:auto -10% -38% 18%;height:60%;background:#0d8c86;transform:skewY(-8deg);opacity:.82}.brand-logo-crop{display:block;flex:0 0 auto;overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.65);border-radius:6px}.brand-logo-crop img{display:block;width:100%;height:100%;object-fit:contain}.login-logo{position:relative;z-index:1;width:82px;height:82px}.login-brand>div{position:relative;z-index:1;max-width:620px}.login-brand-header{display:flex;align-items:center;gap:14px}.login-brand-header .product-name{display:grid;gap:3px;margin:0;font-size:19px;font-weight:800;line-height:1}.login-brand-header .product-name small{color:#b9d0ff;font-size:11px;text-transform:uppercase}.login-brand h1{margin:0;max-width:620px;font-size:clamp(42px,6vw,74px);line-height:1.04;letter-spacing:0}.login-brand-copy>p:last-child{margin:24px 0 0;max-width:520px;color:#dce9ff;font-size:18px;line-height:1.65}.login-panel{display:grid;place-items:center;padding:40px}.login-form-wrap{width:min(100%,420px)}.secure-label{display:inline-flex;align-items:center;gap:8px;color:var(--teal);font-size:13px;font-weight:750;text-transform:uppercase}.login-form-wrap h2{margin:14px 0 8px;font-size:34px;letter-spacing:0}.muted{color:var(--muted);line-height:1.55;margin:0}.auth-form{display:grid;gap:20px;margin-top:30px}.auth-form label{display:grid;gap:8px;color:#334155;font-size:14px;font-weight:700}.auth-form input{width:100%;height:48px;border:1px solid #cbd5e1;border-radius:6px;padding:0 14px;color:#172033;background:#fff}.auth-form input:focus{border-color:var(--blue)}.phone-input{display:flex;border:1px solid #cbd5e1;border-radius:6px;overflow:hidden}.phone-input:focus-within{border-color:var(--blue)}.phone-input span{display:grid;place-items:center;min-width:55px;background:#f1f5f9;color:#475569;border-right:1px solid #cbd5e1}.phone-input input{border:0;border-radius:0}.otp-input{text-align:center;font-size:25px;font-weight:750;letter-spacing:8px}.primary-button,.secondary-button{min-height:44px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:750}.primary-button{border:0;padding:0 20px;background:var(--blue);color:#fff}.primary-button:hover{background:var(--blue-dark)}.primary-button:disabled{opacity:.55;cursor:not-allowed}.secondary-button{border:1px solid #cbd5e1;padding:0 16px;background:#fff;color:#26344d}.secondary-button:hover{border-color:var(--blue);color:var(--blue)}.text-button{border:0;background:none;color:var(--blue);font-weight:700;padding:6px}.form-error{border:1px solid #fecaca;background:#fff1f2;color:#b91c1c;border-radius:6px;padding:11px 13px;font-size:13px}.form-notice{border:1px solid #99f6e4;background:#f0fdfa;color:#0f766e;border-radius:6px;padding:11px 13px;font-size:13px;line-height:1.45}.otp-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.text-button:disabled{color:#94a3b8;cursor:not-allowed}.support-line{margin:34px 0 0;color:var(--muted);font-size:13px;display:flex;align-items:center;gap:8px}.loading-screen{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:16px;color:var(--muted)}.loader{width:36px;height:36px;border:3px solid #dbe5f3;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr)}.desktop-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:24px 16px;background:#102a65;color:#fff}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0 8px 26px;font-size:17px;font-weight:800;line-height:1.1}.sidebar-brand .brand-logo-crop{width:43px;height:43px}.sidebar-brand small{color:#a9c6ff;font-size:11px;text-transform:uppercase}.desktop-sidebar nav{display:grid;gap:6px}.desktop-sidebar nav button,.sidebar-logout{height:44px;display:flex;align-items:center;gap:12px;border:0;border-radius:6px;padding:0 14px;background:transparent;color:#dbe7ff;text-align:left;font-weight:650}.desktop-sidebar nav button:hover,.desktop-sidebar nav button.active{background:#fff;color:#163c8f}.sidebar-logout{margin-top:auto}.sidebar-logout:hover{background:#ffffff1a}.app-main{min-width:0}.offline-bar{height:34px;display:flex;justify-content:center;align-items:center;gap:8px;background:#fff4d8;color:#854d0e;font-size:13px;font-weight:650}.topbar{position:sticky;z-index:20;top:0;height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:#fffffff5;border-bottom:1px solid var(--border)}.school-identity{display:flex;align-items:center;gap:12px;min-width:0}.school-identity img{width:44px;height:44px;object-fit:contain}.school-identity div{display:grid;min-width:0}.school-identity strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px}.school-identity span{color:var(--muted);font-size:12px;margin-top:2px}.top-actions{position:relative;display:flex;align-items:center;gap:10px}.menu-button,.mobile-menu,.menu-backdrop{display:none}.icon-button{width:40px;height:40px;border:1px solid #d6deea;border-radius:6px;background:#fff;color:#334155;display:grid;place-items:center}.notification-button{position:relative}.notification-button span{position:absolute;right:-4px;top:-5px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#ef4444;color:#fff;font-size:10px;border:2px solid #fff}.student-strip{display:flex;align-items:center;gap:12px;max-width:1180px;margin:22px auto 0;padding:0 30px}.student-avatar{flex:0 0 auto;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#dbeafe;color:var(--blue);font-weight:850}.student-summary{display:grid;min-width:0}.student-summary span{margin-top:3px;color:var(--muted);font-size:12px}.child-switch{margin-left:auto;height:38px;display:flex;align-items:center;gap:8px;color:var(--blue)}.child-switch select{height:38px;max-width:190px;border:1px solid #cbd5e1;border-radius:6px;padding:0 30px 0 10px;background:#fff;color:#25324a;font-weight:650}.page-content{max-width:1180px;margin:0 auto;padding:28px 30px 60px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.page-heading>div>span{color:var(--blue);font-size:12px;font-weight:800;text-transform:uppercase}.page-heading h1{margin:5px 0 0;font-size:28px;letter-spacing:0}.page-heading p{color:var(--muted);margin:5px 0 0;font-size:14px}.dashboard-welcome{position:relative;min-height:174px;display:flex;align-items:center;justify-content:space-between;gap:24px;overflow:hidden;margin-bottom:24px;padding:30px 34px;border-radius:22px;color:#fff;background:linear-gradient(128deg,#173f94,#2563c7 58%,#18a6a0 120%);box-shadow:0 18px 38px #173f942e}.dashboard-welcome:before,.dashboard-welcome:after{content:"";position:absolute;border-radius:50%;background:#ffffff17}.dashboard-welcome:before{width:190px;height:190px;right:52px;top:-112px}.dashboard-welcome:after{width:130px;height:130px;right:-42px;bottom:-62px}.dashboard-welcome>div{position:relative;z-index:1}.welcome-kicker{display:inline-block;margin-bottom:10px;color:#cfe4ff;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.dashboard-welcome h1{margin:0;font-size:clamp(27px,4vw,38px);letter-spacing:-.03em}.dashboard-welcome p{margin:9px 0 0;color:#e2edff;font-size:14px}.welcome-profile{display:grid;justify-items:center;gap:8px}.dashboard-welcome .welcome-avatar{width:78px;height:78px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border:5px solid rgba(255,255,255,.32);border-radius:50%;background:linear-gradient(145deg,#fff,#dbeafe);color:#173f94;box-shadow:0 12px 28px #081c4b38;font-size:21px;font-weight:900}.welcome-avatar img{width:100%;height:100%;object-fit:cover}.welcome-child-switch{display:grid;justify-items:center;gap:3px}.welcome-child-switch>span{color:#dbeafe;font-size:9px;font-weight:750;text-transform:uppercase}.welcome-child-switch select{max-width:150px;height:30px;padding:0 24px 0 9px;border:1px solid rgba(255,255,255,.35);border-radius:8px;background:#ffffff24;color:#fff;font-size:11px;font-weight:750}.welcome-child-switch select option{color:#172033}.dashboard-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 2px 14px}.dashboard-section-heading h2{margin:0;font-size:19px}.dashboard-section-heading p{margin:4px 0 0;color:var(--muted);font-size:12px}.dashboard-section-heading>span{padding:6px 10px;border-radius:999px;background:#e8f0ff;color:#2456b9;font-size:11px;font-weight:800}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.metric-card{min-height:164px;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto auto;align-content:center;column-gap:13px;border:1px solid var(--border);border-radius:8px;padding:20px;background:#fff;text-align:left;color:#172033}.metric-card:hover{border-color:#9eb7df;box-shadow:0 7px 20px #2b406414}.metric-icon{grid-row:1 / 4;width:42px;height:42px;display:grid;place-items:center;border-radius:7px;font-size:19px}.attendance-card .metric-icon{color:#1d4ed8;background:#dbeafe}.fees-card .metric-icon{color:#08796f;background:#ccfbf1}.result-card .metric-icon{color:#a23b08;background:#ffedd5}.library-card-home .metric-icon{color:#6842c2;background:#eee8ff}.gallery-card-home .metric-icon{color:#be185d;background:#fce7f3}.transport-card-home .metric-icon{color:#b45309;background:#fef3c7}.updates-card-home .metric-icon{color:#be185d;background:#fce7f3}.dashboard-quick-grid .attendance-card{background:linear-gradient(145deg,#38bdf8,#258fd5)}.dashboard-quick-grid .fees-card{background:linear-gradient(145deg,#22b99a,#138c78)}.dashboard-quick-grid .result-card{background:linear-gradient(145deg,#ff765b,#ef523e)}.dashboard-quick-grid .library-card-home{background:linear-gradient(145deg,#9b3a9d,#71166f)}.dashboard-quick-grid .gallery-card-home{background:linear-gradient(145deg,#f05b91,#cb3473)}.dashboard-quick-grid .transport-card-home{background:linear-gradient(145deg,#7879df,#5558bd)}.dashboard-quick-grid .updates-card-home{background:linear-gradient(145deg,#ec5f9b,#c53a78)}.dashboard-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-quick-grid .metric-card{position:relative;min-height:154px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;overflow:hidden;padding:15px 16px;border:0;border-radius:14px;box-shadow:0 8px 18px #21315329;color:#fff;transition:transform .2s ease,box-shadow .2s ease}.dashboard-quick-grid .metric-card:after{content:"";position:absolute;width:74px;height:74px;right:-30px;bottom:-34px;border-radius:50%;background:currentColor;opacity:.045}.dashboard-quick-grid .metric-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px #21315321}.dashboard-quick-grid .metric-icon{width:38px;height:38px;margin-bottom:11px;border-radius:11px;background:#fff3;color:#fff;font-size:17px;box-shadow:none}.dashboard-quick-grid .metric-card>span{color:#ffffffeb;font-size:14px;font-weight:800}.dashboard-quick-grid .metric-card>strong{max-width:100%;margin:4px 0 5px;overflow:hidden;font-size:22px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.dashboard-quick-grid .metric-card>small{max-width:calc(100% - 22px);overflow:hidden;color:#ffffffdb;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.dashboard-quick-grid .metric-arrow{position:absolute;right:13px;bottom:13px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#ffffffeb;color:#233554b8;font-size:9px}.metric-card>span{color:var(--muted);font-size:13px}.metric-card>strong{font-size:27px;margin:3px 0}.metric-card>small{color:#475569}.dashboard-columns,.two-column{display:grid;grid-template-columns:1.55fr 1fr;gap:16px;margin-top:18px}.recent-updates-section{border:0;box-shadow:0 7px 20px #2d366e17}.recent-updates-section>.section-title{color:#fff;background:linear-gradient(100deg,#7478db,#8d65d5);border-bottom:0}.recent-updates-section>.section-title p{color:#ffffffc7}.recent-updates-section>.section-title button{color:#fff}.content-section{background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden}.section-title{min-height:70px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--border)}.section-title h2{margin:0;font-size:16px;letter-spacing:0}.section-title p{margin:4px 0 0;color:var(--muted);font-size:12px}.section-title button{border:0;background:none;color:var(--blue);font-size:12px;font-weight:750}.updates-list,.record-list,.fee-head-list,.receipt-list{display:grid}.updates-list button,.receipt-list button{min-height:78px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:13px 18px;border:0;border-bottom:1px solid #e8edf4;background:#fff;color:#172033;text-align:left}.updates-list button:last-child,.receipt-list button:last-child{border-bottom:0}.updates-list button:hover,.receipt-list button:hover{background:#f8fafc}.updates-list button>span:nth-child(2),.receipt-list button>span{display:grid}.updates-list small,.receipt-list small{color:var(--muted);margin-top:4px}.update-icon{flex:0 0 auto;width:38px;height:38px;display:grid;place-items:center;border-radius:7px}.update-icon.transport{background:#e0f2fe;color:#0369a1}.update-icon.fee,.update-icon.fees{background:#ffedd5;color:#c2410c}.update-icon.result{background:#dcfce7;color:#15803d}.update-icon.general{background:#e0e7ff;color:#4338ca}.route-line{display:flex;align-items:center;gap:12px;padding:18px}.route-line .route-marker{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#e0f2fe;color:#0369a1}.route-line div{display:grid}.route-line div span{margin-top:4px;color:var(--muted);font-size:12px}.transport-summary dl,.fee-progress dl{margin:0;display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--border)}.transport-summary dl div,.fee-progress dl div{padding:14px 18px}.transport-summary dt,.fee-progress dt,.transport-details dt{color:var(--muted);font-size:11px}.transport-summary dd,.fee-progress dd,.transport-details dd{margin:4px 0 0;font-weight:750}.transport-summary .secondary-button{margin:16px 18px 18px;width:calc(100% - 36px)}.empty-state{display:grid;place-items:center;text-align:center;min-height:270px;padding:30px;color:var(--muted)}.empty-state>.anticon{font-size:32px;color:#94a3b8}.empty-state.compact{min-height:180px}.attendance-summary{display:grid;grid-template-columns:1.3fr 1fr;gap:0;margin-bottom:16px;border:1px solid var(--border);border-radius:8px;background:#fff}.attendance-summary>div{padding:22px;border-right:1px solid var(--border)}.attendance-summary>div>span{color:var(--muted);font-size:13px}.attendance-summary>div>strong{display:block;font-size:32px;margin:4px 0 14px}.progress{width:100%;height:7px;overflow:hidden;border-radius:4px;background:#e7ecf2}.progress i{display:block;height:100%;border-radius:inherit;background:var(--blue)}.attendance-summary dl{display:grid;grid-template-columns:repeat(3,1fr);margin:0}.attendance-summary dl div{display:grid;place-content:center;text-align:center}.attendance-summary dt{color:var(--muted);font-size:12px}.attendance-summary dd{margin:6px 0 0;font-size:22px;font-weight:850}.green{color:var(--green)}.red{color:var(--red)}.amber{color:var(--amber)}.record-list>div{min-height:65px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:10px 18px;border-bottom:1px solid #e8edf4}.record-list>div:last-child{border-bottom:0}.record-list>div>span:nth-child(2){display:grid}.record-list small{margin-top:3px;color:var(--muted)}.status-dot{width:9px;height:9px;border-radius:50%}.status-dot.present{background:#22c55e}.status-dot.absent{background:#ef4444}.status-dot.late{background:#f59e0b}.status-badge{display:inline-flex;align-items:center;justify-content:center;width:max-content;padding:4px 8px;border-radius:4px;font-size:10px;font-weight:800}.status-badge.present,.status-badge.pass,.status-badge.active{color:#15803d;background:#dcfce7;border:1px solid #86efac}.status-badge.absent{color:#b91c1c;background:#fee2e2;border:1px solid #fca5a5}.status-badge.late{color:#a16207;background:#fef3c7;border:1px solid #fcd34d}.status-dot.empty{background:#cbd5e1}.attendance-calendar-section{overflow:hidden}.attendance-calendar-title{align-items:center}.calendar-nav{display:flex;gap:8px}.calendar-nav button{width:34px;height:34px;display:inline-grid;place-items:center;border:1px solid var(--border);border-radius:8px;background:#fff;color:#1d4ed8;cursor:pointer}.attendance-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;padding:16px 18px 10px}.calendar-weekday{text-align:center;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase}.calendar-day{position:relative;min-height:54px;display:grid;place-items:center;border:1px solid #e4eaf1;border-radius:10px;background:#f8fafc;color:#1f2937;cursor:pointer}.calendar-day:disabled{cursor:default;opacity:0}.calendar-day strong{font-size:16px;line-height:1}.calendar-day i{position:absolute;bottom:8px;width:7px;height:7px;border-radius:50%;background:#cbd5e1}.calendar-day.present{background:#ecfdf5;border-color:#bbf7d0;color:#15803d}.calendar-day.present i{background:#22c55e}.calendar-day.absent{background:#fff1f2;border-color:#fecdd3;color:#b91c1c}.calendar-day.absent i{background:#ef4444}.calendar-day.late{background:#fffbeb;border-color:#fde68a;color:#a16207}.calendar-day.late i{background:#f59e0b}.calendar-day.selected{box-shadow:0 0 0 2px #2563eb inset}.attendance-legend{display:flex;flex-wrap:wrap;gap:10px 16px;padding:6px 18px 14px;color:var(--muted);font-size:12px}.attendance-legend span{display:inline-flex;align-items:center;gap:6px}.attendance-legend i{width:8px;height:8px;border-radius:50%;background:#cbd5e1}.attendance-legend i.present{background:#22c55e}.attendance-legend i.absent{background:#ef4444}.attendance-legend i.late{background:#f59e0b}.attendance-day-detail{min-height:62px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:0 18px 18px;padding:12px 14px;border:1px solid #e4eaf1;border-radius:10px;background:#f8fafc}.attendance-day-detail>div{display:grid}.attendance-day-detail small{margin-top:3px;color:var(--muted)}.fee-overview{display:grid;grid-template-columns:.8fr 1.2fr;overflow:hidden;margin-bottom:16px;border-radius:8px;background:#173f94;color:#fff}.fee-total{padding:24px;display:grid;align-content:center;border-right:1px solid rgba(255,255,255,.2)}.fee-total span,.fee-total small{color:#d8e6ff}.fee-total strong{font-size:34px;margin:5px 0}.fee-progress{padding:21px 24px}.fee-progress>div:first-child{display:flex;justify-content:space-between;margin-bottom:8px}.fee-progress .progress{background:#ffffff2e}.fee-progress .progress i{background:#4ade80}.fee-progress dl{grid-template-columns:repeat(3,1fr);border:0;margin-top:15px}.fee-progress dl div{padding:0}.fee-progress dt{color:#bcd2fa}.two-column{grid-template-columns:1.2fr .8fr;margin-top:0}.fee-head-list>div{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:11px 18px;border-bottom:1px solid #e8edf4}.fee-head-list>div:last-child{border-bottom:0}.fee-head-list>div>span:first-child{display:grid}.fee-head-list small{color:var(--muted);margin-top:3px}.amount-due{color:var(--red);font-weight:800}.amount-paid{color:var(--green);font-weight:750}.receipt-list button{min-height:70px;grid-template-columns:1fr auto auto}.receipt-list b{color:var(--green)}.result-overview{display:flex;align-items:center;gap:20px;margin-bottom:14px;padding:16px 18px;border:1px solid var(--border);border-radius:8px;background:#fff}.score-ring{width:96px;height:96px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--teal) var(--score),#e4eaf1 0)}.score-ring>div{width:74px;height:74px;display:grid;place-content:center;text-align:center;border-radius:50%;background:#fff}.score-ring strong{font-size:22px}.score-ring span{color:var(--muted);font-size:10px}.result-pass{display:inline-flex;gap:6px;align-items:center;color:var(--green);font-weight:800;font-size:12px}.result-overview h2{margin:5px 0 2px;font-size:18px}.result-overview p{color:var(--muted);margin:0;font-size:13px}.grade-only-overview{min-height:112px}.grade-badge{width:96px;height:96px;flex:0 0 auto;display:grid;place-content:center;text-align:center;border-radius:50%;background:#e7f8ef;border:8px solid var(--teal);color:#086b4c}.grade-badge strong{font-size:28px;line-height:1}.grade-badge span{color:var(--muted);font-size:10px;margin-top:4px}.grade-sheet-preview{margin-bottom:16px;padding:20px;border:2px solid #2563eb;outline:1px solid #bfdbfe;outline-offset:-7px;border-radius:4px;background:#fff}.grade-sheet-heading{display:grid;justify-items:center;gap:4px;margin:0 0 18px;color:#5b728c;text-align:center;font-size:13px}.grade-sheet-heading strong{color:#375a7d}.grade-sheet-heading span{color:#1f2937;font-size:17px;font-weight:800}.grade-sheet-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 16px;border:1px solid #dbe3ee}.grade-sheet-details>div{min-width:0;padding:9px 11px;border-right:1px solid #dbe3ee;border-bottom:1px solid #dbe3ee}.grade-sheet-details>div:nth-child(2n){border-right:0}.grade-sheet-details>div:nth-last-child(-n+2){border-bottom:0}.grade-sheet-details dt{color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase}.grade-sheet-details dd{margin:3px 0 0;color:#0f172a;font-size:13px;font-weight:800}.grade-sheet-table{width:100%;border-collapse:collapse;font-size:13px}.grade-sheet-table th,.grade-sheet-table td{padding:10px 12px;border:1px solid #94a3b8;text-align:left}.grade-sheet-table th{background:#f8fafc;color:#111827;font-size:12px}.grade-sheet-table th:last-child,.grade-sheet-table td:last-child{width:34%;text-align:center;font-weight:850}.subject-list.grade-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.subject-list .grade-pill,.result-history-list .grade-pill{display:inline-flex;min-width:42px;min-height:28px;align-items:center;justify-content:center;padding:3px 8px;border-radius:6px;background:#e7f8ef;border:1px solid #9de1ba;color:#087443;font-weight:800;font-size:13px}.subject-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.subject-list>div{min-width:0;padding:11px 15px;border-bottom:1px solid #e8edf4}.subject-list>div:nth-child(odd){border-right:1px solid #e8edf4}.subject-list>div>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.subject-list span{color:#475569;font-weight:700}.subject-list .progress{height:6px}.result-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.result-student-summary,.result-student-card{display:flex;align-items:center;gap:14px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 6px 20px #1c30530a}.result-student-summary{margin-bottom:16px;padding:16px 18px}.result-student-avatar{width:58px;height:58px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#e8f0ff;color:#2158d6;font-size:20px;font-weight:850}.result-student-avatar img{width:100%;height:100%;object-fit:cover}.result-student-summary>div:last-child,.result-student-card>div:last-child{min-width:0;display:grid;gap:3px}.result-student-summary span{color:#5a718d;font-size:12px;font-weight:750}.result-student-summary strong,.result-student-card strong{color:#142b4e;font-size:18px}.result-student-summary small,.result-student-card small,.result-student-card span{color:var(--muted);font-size:13px}.result-history-section{margin-top:0;overflow:hidden}.result-history-count{padding:5px 8px;border-radius:5px;background:#eef5ff;color:#3163ad;font-size:12px;font-weight:800}.result-history-list>button{width:100%;min-height:82px;display:grid;grid-template-columns:70px minmax(0,1fr) auto;align-items:center;gap:13px;padding:10px 15px;border:0;border-bottom:1px solid #e8edf4;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.result-history-list>button:last-child{border-bottom:0}.result-history-list>button:hover:not(:disabled){background:#f8fbff}.result-history-list>button:disabled{cursor:wait;opacity:.7}.result-history-year{align-self:stretch;display:grid;place-content:center;gap:2px;min-width:64px;padding:7px;border-radius:7px;background:#215bd4;color:#fff;text-align:center}.result-history-year b{font-size:13px}.result-history-year small{color:#dbeafe;font-size:11px;font-weight:750}.result-history-main{min-width:0;display:grid;gap:3px}.result-history-main strong{overflow:hidden;color:#142b4e;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.result-history-main small,.result-history-main em{overflow:hidden;color:var(--muted);font-size:12px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.result-history-main em{color:#64748b}.result-history-action{display:flex;align-items:center;gap:10px;color:#5c7190}.result-detail-card{max-width:780px;margin:0 auto;overflow:hidden;border:1px solid #dbe5f0;border-radius:12px;background:#fff;box-shadow:0 12px 32px #1c305314}.result-detail-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid #e6edf6}.result-detail-title>div{display:grid;gap:4px}.result-detail-title span{color:#42617f;font-size:13px;font-weight:750}.result-detail-title h2{margin:0;color:#122f58;font-size:25px}.result-detail-title small{color:var(--muted)}.result-detail-card .result-student-card{margin:16px 20px;padding:14px;box-shadow:none}.result-detail-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 20px;border:1px solid #dfe8f2;border-radius:8px;overflow:hidden}.result-detail-meta>div{min-width:0;display:grid;gap:4px;padding:11px 12px;border-right:1px solid #dfe8f2}.result-detail-meta>div:last-child{border-right:0}.result-detail-meta span{color:#64748b;font-size:11px;font-weight:750}.result-detail-meta b{overflow:hidden;color:#17345a;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.result-detail-meta .grade-value{color:#087443}.result-subject-heading{display:flex;justify-content:space-between;padding:20px 20px 9px}.result-subject-heading h3{margin:0;color:#122f58;font-size:16px}.result-subject-heading span{color:#64748b;font-size:12px;font-weight:750}.result-subject-table{margin:0 20px;border:1px solid #dfe8f2;border-radius:8px;overflow:hidden}.result-subject-table>div{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:8px 13px;border-bottom:1px solid #e6edf5}.result-subject-table>div:last-child{border-bottom:0}.result-subject-table span{color:#263d5a;font-size:14px;font-weight:700}.result-subject-table b{min-width:42px;color:#087443;text-align:center}.result-remarks{margin:16px 20px 0;padding:13px 14px;border:1px solid #fde68a;border-radius:8px;background:#fffbeb}.result-remarks strong{color:#805b08}.result-remarks p{margin:5px 0 0;color:#5f4a12;font-size:13px}.result-download-button{width:calc(100% - 40px);margin:20px;justify-content:center}.filter-tabs{display:flex;gap:7px;margin-bottom:14px;overflow-x:auto;padding-bottom:2px}.filter-tabs button{flex:0 0 auto;height:35px;border:1px solid #cbd5e1;border-radius:5px;padding:0 13px;background:#fff;color:#475569}.filter-tabs button.active{border-color:var(--blue);background:var(--blue);color:#fff}.notification-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.alert-toggle{min-width:132px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid #bfdbfe;border-radius:7px;background:#eff6ff;color:#1d4ed8;font:inherit;font-size:13px;font-weight:850}.alert-toggle.enabled{border-color:#a7f3d0;background:#ecfdf5;color:#047857}.alert-toggle:disabled{opacity:.62;cursor:not-allowed}.push-feedback{margin:-4px 0 12px;padding:9px 12px;border:1px solid #fed7aa;border-radius:6px;background:#fff7ed;color:#9a3412;font-size:13px}.push-feedback.success{border-color:#a7f3d0;background:#ecfdf5;color:#047857}.notification-list article{display:grid;grid-template-columns:auto 1fr;gap:14px;padding:17px 18px;border-bottom:1px solid #e8edf4}.notification-list article:last-child{border-bottom:0}.notification-list article.unread{background:#f7faff;cursor:pointer}.notification-list article.unread:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.notification-title{display:flex;justify-content:space-between;gap:12px}.notification-title i{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:var(--blue)}.notification-list p{margin:5px 0 8px;color:#475569;line-height:1.5}.notification-list small{color:var(--muted);display:flex;gap:5px;align-items:center}.notification-attachments{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0}.notification-attachments button{min-width:0;max-width:100%;height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #bfdbfe;border-radius:6px;background:#eff6ff;color:#1d4ed8;font:inherit;font-size:12px;font-weight:750}.notification-attachments button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-attachments button:hover{background:#dbeafe}.library-section{padding:0 16px 16px;border-radius:14px}.library-toolbar{min-height:76px;display:flex;align-items:center;justify-content:space-between;margin:0 -16px 16px;padding:14px 18px;background:linear-gradient(105deg,#eef4ff,#f4f0ff);border-bottom:1px solid #dce5f5}.library-toolbar>div{display:flex;align-items:center;gap:11px}.library-toolbar>div>span:last-child{display:grid;gap:3px}.library-toolbar small{color:var(--muted);font-size:11px}.library-toolbar-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#fff;color:#5840b8;box-shadow:0 4px 12px #3f36821a;font-size:18px}.library-filters{display:grid;grid-template-columns:minmax(0,1.2fr) 170px 170px;gap:10px;margin-bottom:14px}.library-filters input,.library-filters select{width:100%;min-height:44px;border:1px solid var(--border);border-radius:10px;padding:0 12px;background:#fff;color:var(--ink);font:inherit;font-weight:650}.library-search{min-width:0;position:relative;display:flex;align-items:center}.library-search>.anticon{position:absolute;z-index:1;left:13px;color:#7b879b}.library-search input{padding-left:38px}.library-list{display:grid;gap:12px}.library-card{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:15px;padding:17px;border:1px solid #e1e7f0;border-radius:13px;background:linear-gradient(145deg,#fff,#fbfcff);box-shadow:0 5px 16px #2534520d}.library-file-icon{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#e7f2ff,#d8e8ff);color:#2456b9;font-size:23px}.library-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.library-card-title strong{color:var(--ink);font-size:19px;line-height:1.25}.library-card-title small{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#1d4ed8;font-size:10px;font-weight:800;text-transform:uppercase}.library-card p{margin:7px 0 10px;color:var(--muted);font-size:14px;line-height:1.45}.library-meta{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:11px}.library-meta span{padding:5px 9px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:750}.library-download{min-width:116px;min-height:42px;border:0;border-radius:10px;background:#edf4ff;color:#2456b9;font-size:14px}.library-download:hover{background:#dceaff}.notification-empty{min-height:180px;display:grid;place-content:center;justify-items:center;gap:10px;color:var(--muted)}.notification-empty .anticon{font-size:28px;color:#94a3b8}.gallery-timeline{display:grid;gap:24px}.gallery-search{position:relative;width:min(100%,520px);height:46px;display:flex;align-items:center;margin:-4px 0 20px}.gallery-search>.anticon{position:absolute;left:15px;color:#718096}.gallery-search input{width:100%;height:100%;padding:0 42px;border:1px solid #d6deea;border-radius:13px;background:#fff;color:#172033;box-shadow:0 5px 15px #2432500d}.gallery-search input:focus{border-color:#6d77d4;outline:3px solid rgba(109,119,212,.12)}.gallery-search>button{position:absolute;right:7px;width:32px;height:32px;border:0;border-radius:9px;background:#f1f5f9;color:#64748b;font-size:20px;line-height:1}.gallery-day{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:start}.gallery-date{position:sticky;top:92px;display:flex;align-items:center;gap:11px;padding:12px;border-radius:13px;background:#eef4ff;color:#254fa5}.gallery-date>span{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;border-radius:10px;background:#fff;box-shadow:0 3px 9px #254fa51a}.gallery-date>div{min-width:0;display:grid;gap:3px}.gallery-date strong{font-size:12px;line-height:1.35}.gallery-date small{color:#71809d;font-size:10px}.gallery-grid{display:grid;grid-template-columns:1fr;gap:12px}.gallery-item{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);overflow:hidden;border:1px solid #e1e7f0;border-radius:15px;background:#fff;box-shadow:0 7px 20px #24325014}.gallery-media{position:relative;width:100%;min-height:170px;aspect-ratio:4 / 3;display:grid;place-items:center;overflow:hidden;padding:0;border:0;background:linear-gradient(145deg,#edf3fb,#e4e9f2);color:#718096}.gallery-media:disabled{cursor:default}.gallery-media img,.gallery-media video{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.gallery-media:not(:disabled):hover img,.gallery-media:not(:disabled):hover video{transform:scale(1.035)}.gallery-media>span{font-size:25px}.gallery-media>i{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#fffffff2;background:#111f382e;font-size:42px;font-style:normal;text-shadow:0 3px 12px rgba(0,0,0,.25)}.gallery-item>div{align-content:center;display:grid;gap:7px;padding:18px 20px}.gallery-item>div strong{overflow:hidden;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.gallery-item>div span{overflow:hidden;color:#64748b;font-size:14px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.gallery-item>div small{display:flex;align-items:center;gap:5px;margin-top:5px;color:#8b95a6;font-size:11px;font-weight:700;text-transform:uppercase}.gallery-download{width:max-content;min-height:36px;display:inline-flex;align-items:center;gap:7px;margin-top:7px;padding:0 13px;border:0;border-radius:9px;background:#edf4ff;color:#2456b9;font-size:12px;font-weight:800}.gallery-download:hover{background:#dceaff}.gallery-download:disabled{cursor:not-allowed;opacity:.5}.gallery-empty{min-height:280px;display:grid;place-content:center;justify-items:center;padding:30px;text-align:center}.gallery-empty>.anticon{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:#fce7f3;color:#be185d;font-size:27px}.gallery-empty h2{margin:16px 0 5px;font-size:20px}.gallery-empty p{margin:0;color:var(--muted)}.gallery-viewer{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:28px;background:#070d1ce0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.gallery-viewer>button{position:fixed;z-index:2;top:18px;right:20px;width:42px;height:42px;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:#ffffff1f;color:#fff;font-size:28px;line-height:1}.gallery-viewer>div{width:min(100%,980px);max-height:calc(100vh - 56px);overflow:auto;border-radius:16px;background:#111827;box-shadow:0 20px 70px #00000073}.gallery-viewer img,.gallery-viewer video{display:block;width:100%;max-height:calc(100vh - 160px);object-fit:contain;background:#070b13}.gallery-viewer section{padding:16px 18px;color:#fff}.gallery-viewer section strong{font-size:18px}.gallery-viewer section p{margin:5px 0 0;color:#b8c2d3}.transport-page{overflow:hidden;background:#fff;border:1px solid var(--border);border-radius:8px}.track-bus-button{min-width:160px}.live-tracking-heading{display:flex;align-items:center;gap:14px;margin-bottom:18px}.live-tracking-heading>div{min-width:0}.live-tracking-heading span{color:var(--blue);font-size:12px;font-weight:800;text-transform:uppercase}.live-tracking-heading h1{margin:4px 0 0;font-size:28px;letter-spacing:0}.live-tracking-heading p{margin:4px 0 0;color:var(--muted);font-size:14px}.live-map-panel{overflow:hidden;margin-bottom:16px;background:#fff;border:1px solid var(--border);border-radius:8px}.live-map-loading{min-height:120px;display:grid;place-items:center;margin-bottom:16px;color:var(--muted)}.live-map-header{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;border-bottom:1px solid var(--border)}.live-map-title{min-width:0;display:flex;align-items:center;gap:12px}.live-map-title>div{min-width:0;display:grid}.live-map-title small,.live-map-title span{color:var(--muted);font-size:11px}.live-map-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-vehicle-icon{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:#dbeafe;color:#1d4ed8;font-size:19px}.live-state{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;color:#047857;font-size:12px;font-weight:800;text-transform:uppercase}.live-state i{width:9px;height:9px;border-radius:50%;background:#10b981;box-shadow:0 0 0 5px #10b9811f}.state-stale .live-state{color:#b45309}.state-stale .live-state i{background:#f59e0b;box-shadow:0 0 0 5px #f59e0b1f}.state-waiting_for_location .live-state,.state-trip_ended .live-state,.state-no_active_trip .live-state{color:#64748b}.state-waiting_for_location .live-state i,.state-trip_ended .live-state i,.state-no_active_trip .live-state i{background:#94a3b8;box-shadow:none}.live-map-message{min-height:52px;display:flex;align-items:center;gap:10px;padding:10px 18px;color:#475569;background:#f8fafc}.live-map-message>span{min-width:0;display:grid}.live-map-message strong{font-size:12px}.live-map-message small{display:flex;align-items:center;gap:5px;margin-top:3px;color:var(--muted)}.live-map-message>.anticon:last-child{margin-left:auto}.live-map-canvas{width:100%;height:360px;background:#e8edf4}.live-map-panel.expanded .live-map-canvas{height:min(58vh,620px);min-height:420px}.live-trip-details{display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff}.live-trip-details>div{min-width:0;display:grid;padding:15px 18px;border-right:1px solid var(--border)}.live-trip-details>div:last-child{border-right:0}.live-trip-details span,.live-trip-details small{color:var(--muted);font-size:11px}.live-trip-details strong{overflow:hidden;margin:4px 0;text-overflow:ellipsis;white-space:nowrap}.live-map-canvas .leaflet-control-attribution{font-size:9px}.live-map-empty{min-height:150px;display:grid;place-content:center;justify-items:center;gap:8px;color:var(--muted)}.live-map-empty>.anticon{font-size:25px}.live-map-empty.error{color:#b42318}.live-map-empty span{max-width:420px;padding:0 18px;text-align:center}.vehicle-banner{min-height:130px;display:flex;align-items:center;gap:16px;padding:22px;background:#153c91;color:#fff}.vehicle-banner>.vehicle-icon{width:58px;height:58px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:#ffffff26;font-size:24px}.vehicle-banner>div{display:grid}.vehicle-banner small{color:#bcd2fa}.vehicle-banner h2{margin:2px 0}.vehicle-banner p{margin:0;color:#dce9ff}.vehicle-banner .status-badge{margin-left:auto}.journey{padding:25px 28px}.journey-stop{display:grid;grid-template-columns:18px 1fr;gap:15px}.journey-stop i{width:14px;height:14px;margin-top:4px;border-radius:50%;border:4px solid var(--blue);background:#fff}.journey-stop.school i{border-color:var(--teal)}.journey-stop div{display:grid}.journey-stop span{color:var(--muted);font-size:11px}.journey-stop small{color:var(--muted);margin-top:3px}.journey-line{height:48px;margin-left:6px;border-left:2px dashed #cbd5e1}.transport-details{display:grid;grid-template-columns:repeat(3,1fr);margin:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.transport-details div{padding:17px 22px;border-right:1px solid var(--border)}.transport-details div:last-child{border-right:0}.transport-details div:nth-child(3n){border-right:0}.transport-note{display:flex;align-items:center;gap:12px;margin:18px;padding:14px;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:6px;color:#065f46}.transport-note>span{display:grid}.transport-note small{margin-top:3px;color:#047857}.bottom-nav{display:none}@media (max-width: 900px){.login-page{grid-template-columns:1fr}.login-brand{min-height:280px;padding:34px}.login-brand h1{font-size:42px}.login-brand-copy>p:last-child{font-size:15px}.login-panel{padding:36px 24px}.app-shell{grid-template-columns:1fr}.desktop-sidebar{display:none}.topbar{padding:0 20px}.menu-button{display:grid;flex:0 0 auto;border:0;background:transparent;font-size:19px}.school-identity{margin-right:auto}.menu-backdrop{position:fixed;z-index:38;top:0;right:0;bottom:0;left:0;display:block;border:0;background:#0f172a52;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.mobile-menu{position:fixed;z-index:39;top:0;left:0;bottom:0;width:min(82vw,320px);display:block;overflow-y:auto;padding:24px 16px;background:#fff;box-shadow:14px 0 40px #0f234933;animation:menu-in .2s ease-out}@keyframes menu-in{0%{transform:translate(-100%)}to{transform:translate(0)}}.mobile-menu-heading{display:grid;gap:3px;padding:10px 10px 22px}.mobile-menu-heading span{color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.mobile-menu-heading strong{font-size:22px}.mobile-menu>button{width:100%;min-height:51px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;margin-bottom:5px;padding:5px 12px 5px 7px;border:0;border-radius:12px;background:transparent;color:#43506a;text-align:left}.mobile-menu>button>span{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#f1f5f9}.mobile-menu>button>.anticon:last-child{color:#9aa5b7;font-size:11px}.mobile-menu>button.active{background:#eef4ff;color:#1d4ed8}.mobile-menu>button.active>span{background:#dbeafe}.mobile-menu>.mobile-menu-logout{margin-top:18px;color:#b42318;border-top:1px solid var(--border);border-radius:0;padding-top:16px}.page-content,.student-strip{padding-left:20px;padding-right:20px}.metric-grid{grid-template-columns:repeat(2,1fr)}.metric-grid .metric-card:last-child{grid-column:1 / -1}.dashboard-columns,.two-column{grid-template-columns:1fr}.library-section{padding:12px}.library-filters{grid-template-columns:1fr}.library-card{grid-template-columns:48px minmax(0,1fr) auto;padding:12px}.library-file-icon{width:46px;height:46px;font-size:21px}.library-card-title{justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:7px}.gallery-day{grid-template-columns:1fr;gap:10px}.gallery-date{position:static}.gallery-grid{grid-template-columns:1fr;gap:10px}.page-content{padding-bottom:42px}}@media (max-width: 560px){.notification-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 42px 42px;justify-content:stretch;gap:8px}.notification-actions .alert-toggle{min-width:0;width:100%;min-height:38px;padding:0 10px;font-size:12px}.notification-actions .secondary-button{width:42px;min-width:42px;min-height:38px;padding:0;font-size:0}.notification-actions .secondary-button .anticon{font-size:15px}.notification-actions .icon-button{width:42px;height:38px}.login-brand{min-height:235px;padding:26px 22px}.login-logo{width:58px;height:58px}.login-brand h1{font-size:34px}.login-brand-copy>p:last-child{display:none}.login-panel{place-items:start stretch}.login-form-wrap{margin:0 auto}.topbar{min-height:68px;height:auto;padding:7px 14px}.menu-button{width:34px;margin-right:5px;padding:0}.school-identity{flex:1 1 auto;gap:8px;overflow:hidden}.school-identity img{width:37px;height:37px;flex:0 0 auto}.school-identity div{flex:1 1 auto}.school-identity strong{display:-webkit-box;max-width:none;overflow:hidden;white-space:normal;font-size:14px;line-height:1.22;-webkit-box-orient:vertical;-webkit-line-clamp:2}.school-identity span{display:none}.top-actions{flex:0 0 auto;gap:0}.student-strip{margin-top:14px;padding:0 14px;gap:9px}.student-avatar{width:40px;height:40px;font-size:13px}.student-summary strong{font-size:13px}.student-summary span{max-width:165px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.child-switch>.anticon{display:none}.child-switch select{width:35px;padding:0;color:transparent;background:#fff}.page-content{padding:21px 14px 40px}.page-heading{align-items:center;margin-bottom:17px}.page-heading h1{font-size:23px}.page-heading p{font-size:12px}.page-heading .secondary-button{width:42px;min-width:42px;padding:0;font-size:0}.page-heading .secondary-button .anticon{font-size:16px}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{min-height:135px;display:block;padding:13px}.metric-icon{width:34px;height:34px;font-size:16px;margin-bottom:9px}.metric-card>span,.metric-card>strong,.metric-card>small{display:block}.metric-card>strong{font-size:21px}.metric-card>small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-grid .metric-card:last-child{grid-column:1 / -1;min-height:108px;display:grid;grid-template-columns:40px 1fr;grid-template-rows:repeat(3,auto);align-content:center}.metric-grid .metric-card:last-child .metric-icon{grid-row:1 / 4;margin:0}.dashboard-columns{margin-top:12px}.section-title{min-height:62px;padding:13px 14px}.updates-list button{padding:11px 14px}.attendance-summary{grid-template-columns:1fr}.attendance-summary>div{padding:17px;border-right:0;border-bottom:1px solid var(--border)}.attendance-summary dl{min-height:82px}.fee-overview{grid-template-columns:1fr}.fee-total{padding:19px;border-right:0;border-bottom:1px solid rgba(255,255,255,.2)}.fee-total strong{font-size:28px}.fee-progress{padding:17px 19px}.fee-progress dl{gap:8px}.result-overview{padding:14px;gap:14px}.score-ring{width:84px;height:84px}.score-ring>div{width:65px;height:65px}.score-ring strong{font-size:19px}.result-overview h2{font-size:17px}.subject-list{grid-template-columns:1fr}.subject-list>div{padding:11px 14px;border-right:0}.subject-list>div:nth-child(odd){border-right:0}.result-student-summary{padding:14px;gap:11px}.result-student-avatar{width:50px;height:50px;font-size:17px}.result-student-summary strong,.result-student-card strong{font-size:16px}.result-history-list>button{grid-template-columns:58px minmax(0,1fr) auto;gap:10px;padding:10px 12px}.result-history-year{min-width:54px;padding:6px 3px}.result-history-year b{font-size:11px}.result-history-year small{font-size:10px}.result-history-main strong{font-size:14px}.result-history-main small,.result-history-main em{font-size:11px}.result-history-action{gap:6px}.result-history-action .grade-pill{min-width:36px;padding:3px 6px}.result-detail-title{padding:16px}.result-detail-title h2{font-size:22px}.result-detail-card .result-student-card{margin:13px 14px;padding:12px}.result-detail-meta{grid-template-columns:1fr 1fr;margin:0 14px}.result-detail-meta>div:nth-child(2n){border-right:0}.result-detail-meta>div:nth-child(-n+2){border-bottom:1px solid #dfe8f2}.result-subject-heading{padding:17px 14px 8px}.result-subject-table{margin:0 14px}.result-remarks{margin:14px 14px 0}.result-download-button{width:calc(100% - 28px);margin:16px 14px}.notification-list article{padding:14px}.vehicle-banner{padding:18px}.track-bus-button{min-width:44px;padding:0 13px}.live-tracking-heading h1{font-size:23px}.live-tracking-heading p{font-size:12px}.live-map-header{min-height:68px;padding:11px 14px}.live-map-message{padding:9px 14px}.live-map-canvas{height:280px}.live-map-panel.expanded .live-map-canvas{height:52vh;min-height:350px}.live-trip-details{grid-template-columns:1fr}.live-trip-details>div{padding:12px 15px;border-right:0;border-bottom:1px solid var(--border)}.live-trip-details>div:last-child{border-bottom:0}.vehicle-banner>.vehicle-icon{width:45px;height:45px}.transport-details{grid-template-columns:1fr}.transport-details div{padding:12px 18px;border-right:0;border-bottom:1px solid var(--border)}.transport-details div:last-child{border-bottom:0}}@media (max-width: 560px){.dashboard-welcome{min-height:148px;margin:-5px 0 20px;padding:23px 20px;border-radius:19px}.dashboard-welcome h1{font-size:27px}.dashboard-welcome p{font-size:12px}.welcome-kicker{margin-bottom:7px;font-size:9px}.dashboard-welcome .welcome-avatar{width:58px;height:58px;border-width:4px;font-size:17px}.dashboard-section-heading{margin-bottom:11px}.dashboard-section-heading h2{font-size:17px}.dashboard-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.dashboard-quick-grid .metric-card,.dashboard-quick-grid .metric-card:last-child{grid-column:auto;min-height:136px;display:flex;grid-template-columns:none;grid-template-rows:none;padding:13px;border-radius:13px}.dashboard-quick-grid .metric-card:last-child .metric-icon{grid-row:auto;margin:0 0 8px}.dashboard-quick-grid .metric-icon{width:34px;height:34px;margin-bottom:8px;border-radius:10px;font-size:15px}.dashboard-quick-grid .metric-card>span{font-size:13px}.dashboard-quick-grid .metric-card>strong{font-size:20px}.dashboard-quick-grid .metric-card>small{font-size:11px}.library-section{padding:0 11px 12px}.library-toolbar{min-height:68px;margin:0 -11px 12px;padding:11px 13px}.library-toolbar-icon{width:38px;height:38px;border-radius:11px}.library-filters{gap:8px}.library-filters input,.library-filters select{min-height:42px}.library-card{grid-template-columns:44px minmax(0,1fr) auto;gap:11px;padding:14px 12px;border-radius:12px}.library-file-icon{width:42px;height:42px;border-radius:11px;font-size:18px}.library-card-title strong{font-size:17px}.library-card-title small{padding:3px 7px;font-size:9px}.library-card p{margin:6px 0 8px;font-size:13px}.library-meta{gap:5px}.library-meta{margin-bottom:0}.library-meta span{padding:4px 7px;font-size:11px}.library-download{width:auto;min-width:96px;padding:0 10px;font-size:13px}.gallery-timeline{gap:18px}.gallery-search{width:100%;height:43px;margin-bottom:16px}.gallery-grid{gap:9px}.gallery-item{grid-template-columns:118px minmax(0,1fr);border-radius:12px}.gallery-media{min-height:112px;aspect-ratio:1 / 1}.gallery-item>div{padding:10px 11px 12px}.gallery-item>div strong{font-size:15px}.gallery-item>div span{display:-webkit-box;overflow:hidden;font-size:12px;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.gallery-item>div small{font-size:10px}.gallery-download{min-height:32px;margin-top:3px;padding:0 10px;font-size:11px}.gallery-media>i{font-size:34px}.gallery-viewer{padding:12px}.gallery-viewer>div{border-radius:12px}}@media (max-width: 390px){.library-card{grid-template-columns:42px minmax(0,1fr) 42px;gap:9px;padding-left:10px;padding-right:10px}.library-download{min-width:42px;width:42px;padding:0}.library-download-label{display:none}}body{background:#f3f6fb}.app-shell{grid-template-columns:240px minmax(0,1fr);background:linear-gradient(180deg,#edf4ff 0,#f7f9fc 220px,#f3f6fb)}.desktop-sidebar{padding:22px 14px 16px;background:linear-gradient(180deg,#102f6b,#0c285c);box-shadow:8px 0 28px #0f2f641a}.sidebar-brand{padding:0 10px 24px}.sidebar-brand .brand-logo-crop{width:46px;height:46px;border-radius:11px;box-shadow:0 6px 16px #0000002e}.sidebar-caption{padding:0 12px 8px;color:#83a9dc;font-size:10px;font-weight:850;letter-spacing:.13em}.desktop-sidebar nav{gap:7px}.desktop-sidebar nav button,.sidebar-logout{height:46px;border-radius:10px;padding:0 14px;transition:background .18s ease,color .18s ease,transform .18s ease}.desktop-sidebar nav button:hover{color:#fff;background:#ffffff1a;transform:translate(2px)}.desktop-sidebar nav button.active{color:#173f94;background:#fff;box-shadow:0 8px 20px #0515372e}.sidebar-account{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;margin-top:auto;padding:14px 10px;border-top:1px solid rgba(255,255,255,.12)}.sidebar-account>span{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:#173f94;background:#fff;font-size:12px;font-weight:900}.sidebar-account>div{display:grid;min-width:0}.sidebar-account strong,.sidebar-account small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-account strong{color:#fff;font-size:12px}.sidebar-account small{margin-top:3px;color:#a9c6ef;font-size:10px}.sidebar-logout{margin-top:0;color:#fecaca}.sidebar-logout:hover{color:#fff;background:#dc262638}.app-main{min-height:100vh}.topbar{height:74px;padding:0 36px;background:#ffffffe6;box-shadow:0 5px 18px #1931590f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.school-identity img{width:46px;height:46px;padding:3px;border:1px solid #e1e8f1;border-radius:10px;background:#fff}.icon-button{border-radius:10px}.page-content{padding-top:30px}.page-heading h1{letter-spacing:-.025em}.dashboard-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-quick-grid .metric-card{min-height:150px;border-radius:15px}.content-section,.attendance-summary,.result-overview,.live-map-panel{border-color:#e1e7f0;border-radius:14px;box-shadow:0 10px 28px #1c30530f}.fee-overview{border-radius:14px;box-shadow:0 12px 30px #173f9424}.section-title{min-height:72px}.primary-button,.secondary-button{border-radius:9px}.student-strip{padding:14px 18px;border:1px solid #e1e7f0;border-radius:13px;background:#ffffffe6;box-shadow:0 8px 22px #1c30530d}.student-avatar{color:#fff;background:linear-gradient(135deg,#2563eb,#0f9488);box-shadow:0 6px 15px #2563eb33}@media (max-width: 1180px){.dashboard-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 900px){.app-shell{grid-template-columns:1fr}.topbar{height:70px;padding:0 20px}}@media (max-width: 560px){.topbar{min-height:66px;padding:7px 14px}.page-content{padding-top:20px}.student-strip{margin:12px 14px 0;padding:11px 12px}.dashboard-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-section,.attendance-summary,.result-overview,.fee-overview,.live-map-panel{border-radius:12px}}
