
/* Keep numeric amounts tap-to-type only; no tiny increase/decrease arrows. */
input[type="number"]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

:root{--blue:#102c90;--blue2:#0d2375;--yellow:#ffe500;--cream:#fff8e9;--ink:#18213d;--muted:#5c6780;--line:#dfe4ef;--shadow:0 13px 38px #122b5a16;--green:#16733f;--red:#ac2c38;--orange:#a66400}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}input,select,textarea{width:100%;border:2px solid #cfd7e6;background:#fff;color:#18213d;border-radius:12px;padding:14px;min-height:50px;font-size:17px}input:focus,select:focus,textarea:focus,button:focus-visible{outline:3px solid #f2c300;outline-offset:2px}input[type=file]{font-size:14px}h1,h2,h3,p{margin:0}h1{font-size:clamp(26px,4vw,36px);color:var(--blue)}h2{font-size:25px;color:var(--blue)}h3{font-size:19px;color:var(--blue)}p{line-height:1.5}small,.muted{color:var(--muted)}.shell{max-width:1050px;margin:auto;padding:24px 22px 50px}.login-shell{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:28px 18px}.login-inner{width:min(520px,100%);position:relative;padding-bottom:30px}.brand{text-align:center;margin:0 auto 28px;width:max-content;max-width:100%;border:6px solid #100e86;border-radius:90px;background:var(--yellow);color:#100e86;font-weight:900;font-size:clamp(24px,4.7vw,38px);padding:5px 20px;letter-spacing:-1.3px;line-height:1.2}.login-card{background:#fff;border-radius:25px;padding:32px;box-shadow:var(--shadow);position:relative;z-index:1}.login-card h1{text-align:center;margin-bottom:24px}.login-card label{margin-bottom:8px}.hero-login{position:absolute;width:160px;right:-125px;bottom:-7px;max-width:35vw;pointer-events:none}.demo-note{margin-top:18px;text-align:center;color:#6c7283;font-size:13px}.page{background:#fff;border-radius:24px;padding:26px;box-shadow:var(--shadow);position:relative}.head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin:2px 0 20px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:1.4px;font-weight:800;color:var(--muted)}.banner{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.banner .brand{margin:0;text-align:left;font-size:21px;border-width:4px;padding:4px 13px}.tiny-pill{font-size:12px;background:#ecf1ff;color:var(--blue);padding:6px 10px;border-radius:99px;font-weight:700}.hero-dashboard{position:absolute;width:125px;right:-14px;bottom:110px;pointer-events:none}.dashboard-wrap{max-width:750px;margin:auto}.welcome{background:#f0f4ff;border-radius:16px;padding:18px;margin:10px 0 18px}.blue-footer{background:var(--blue);color:#fff;border-radius:12px;padding:14px 18px;font-weight:700;text-align:center;margin-top:22px}.dash-buttons{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px}.dash-button{border:0;border-radius:16px;min-height:124px;background:var(--blue);color:#fff;display:flex;align-items:center;gap:14px;padding:18px;text-align:left;font-weight:800;font-size:19px;box-shadow:0 4px 0 #081956;transition:transform .15s}.dash-button:active{transform:translateY(2px)}.icon-square{background:var(--yellow);color:var(--blue);min-width:50px;min-height:50px;display:grid;place-items:center;border-radius:11px;font-size:26px}.dash-button small{color:#e5ebff;font-weight:500;display:block;font-size:13px;margin-top:3px}.btn{border:0;background:var(--blue);color:white;font-weight:800;border-radius:13px;padding:13px 18px;min-height:49px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center}.btn:hover{filter:brightness(1.08)}.btn.outline{border:2px solid #b9c6df;background:white;color:var(--blue)}.btn.green{background:var(--green)}.btn.red{background:var(--red)}.btn.soft{background:#e8ecf4;color:var(--blue)}.btn.gold{background:var(--yellow);color:var(--blue)}.btn.sm{font-size:13px;padding:8px 11px;min-height:38px}.btn.wide{width:100%}.back{border:0;background:transparent;color:var(--blue);font-size:16px;font-weight:800;padding:10px 0;margin-bottom:12px}.back:hover{text-decoration:underline}.logout{margin-top:22px}.stack{display:grid;gap:16px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.card{border:1.5px solid var(--line);border-radius:16px;padding:18px;background:#fff}.soft-card{border-radius:15px;background:#f2f5fc;padding:18px}.balance{background:var(--blue);color:#fff;border-radius:16px;padding:20px}.balance h2,.balance h3{color:white}.big-num{font-size:clamp(27px,5vw,38px);font-weight:900;letter-spacing:-.6px}.small-num{font-size:25px;font-weight:850}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1}.field{display:grid;gap:6px}.field label{font-weight:750;color:#263659}.field-help{font-size:13px;color:#67718a}.subhead{display:flex;justify-content:space-between;align-items:center;margin:20px 0 10px}.account-button{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;gap:12px;border:1.5px solid var(--line);border-radius:14px;background:white;padding:17px;color:var(--ink)}.account-button:hover{background:#f6f8ff}.acc-icon{font-size:27px;background:#f0f4ff;border-radius:12px;padding:9px}.tag{display:inline-block;background:#e9eef9;color:#394e78;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800}.tag.pending{background:#fff2c9;color:#82580e}.tag.approved{background:#e1f5e9;color:#15663b}.tag.denied{background:#ffe4e7;color:#982a35}.rule{height:1px;background:var(--line);margin:12px 0}.amount-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.amount-box{border:1.5px solid var(--line);padding:15px;border-radius:13px}.amount-box .small-num{font-size:23px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}table{width:100%;border-collapse:collapse}th,td{padding:12px 13px;text-align:left;border-bottom:1px solid var(--line);font-size:14px}th{background:#f1f4fa;font-size:12px;letter-spacing:.4px;color:#44516c}td:last-child,th:last-child{text-align:right}tr:last-child td{border-bottom:0}.request{border:1.5px solid var(--line);border-radius:15px;padding:17px;display:grid;gap:10px;margin:11px 0}.request-actions{display:flex;flex-wrap:wrap;gap:9px}.bar-bg{height:14px;border-radius:20px;background:#e8ebf2;overflow:hidden}.bar-fill{height:100%;border-radius:20px;background:#1b8b55}.alert{border-radius:12px;border:1px solid #efcb7a;background:#fff8df;padding:13px;color:#734f0b}.alert.ok{background:#ecf8ef;border-color:#b6e2c6;color:#23613b}.alert.info{background:#eef4ff;border-color:#c0d0ef;color:#28487b}.alert.warn{background:#fff0ee;border-color:#f1bdb8;color:#8b2c2c}.teacher-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.tile{border:1.5px solid var(--line);background:#fff;border-radius:14px;text-align:left;padding:18px;display:grid;gap:5px;color:var(--ink);min-height:105px}.tile:hover{border-color:var(--blue);background:#f8faff}.tile-icon{font-size:25px}.emp-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.emp-btn{border:1.5px solid var(--line);border-radius:11px;background:#fff;display:flex;gap:10px;align-items:center;min-height:60px;text-align:left;padding:10px}.avatar{width:64px;height:64px;object-fit:cover;border-radius:50%;background:#e9efff;border:2px solid #d5deef}.avatar.sm{width:34px;height:34px}.avatar.lg{width:116px;height:116px}.avatar.placeholder{display:inline-grid;place-items:center;color:var(--blue);font-weight:800;font-size:24px}.modal-scrim{position:fixed;inset:0;background:#101b43ac;display:grid;place-items:center;z-index:30;padding:15px}.modal{background:#fff;border-radius:20px;padding:24px;max-width:480px;width:100%;max-height:90dvh;overflow:auto;box-shadow:0 30px 90px #0005}.modal h2{margin-bottom:11px}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.tabs .btn{font-size:13px}.empty{text-align:center;color:var(--muted);padding:25px;border:2px dashed var(--line);border-radius:14px}.brand-cup{width:53px;height:53px;border-radius:14px;background:var(--yellow);display:grid;place-items:center;font-size:27px}.note{font-size:13px;color:var(--muted);line-height:1.45}.visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:99;background:#112d62;color:white;border-radius:13px;padding:12px 19px;max-width:94vw;font-weight:700;box-shadow:0 8px 30px #0004}#toast:empty{display:none}a{color:var(--blue)}
@media(min-width:1050px){.shell{padding-top:36px}.hero-dashboard{width:150px;right:10px}}@media(max-width:690px){.page{padding:18px}.shell{padding:12px 11px 35px}.dash-buttons{gap:10px}.dash-button{font-size:16px;min-height:120px;padding:12px;flex-direction:column;justify-content:center;text-align:center}.dash-button small{font-size:12px}.hero-dashboard{width:90px;right:-7px;bottom:95px}.login-inner{width:min(440px,100%)}.hero-login{width:106px;right:-7px;bottom:-40px;z-index:2}.login-card{padding:27px 19px}.brand{margin-bottom:22px}.grid3{grid-template-columns:1fr 1fr}.amount-grid{grid-template-columns:1fr}.emp-list{grid-template-columns:1fr 1fr}.request-actions .btn{flex:1}.head h1{font-size:27px}}@media(max-width:380px){.emp-list{grid-template-columns:1fr}.dash-button{font-size:14px}}

/* Teacher request indicator: counts pending items; demo tabs can refresh from shared browser storage. */
.teacher-alert-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:2px solid #c9d5f0;background:#f3f6ff;color:var(--blue);border-radius:99px;min-height:43px;padding:7px 12px;font-size:14px;font-weight:850;white-space:nowrap}
.teacher-alert-link:hover{background:#e6edff}
.teacher-alert-count{display:inline-grid;place-items:center;min-width:27px;height:27px;padding:0 6px;border-radius:99px;background:#ffe500;color:#102c90;font-size:13px;line-height:1;font-weight:900}
.teacher-alert-count.zero{background:#dce6fa;color:#44516c}
.teacher-alert-note{background:#eff4ff;color:#243d7b;padding:12px 14px;border-radius:12px;font-weight:700}
@media(max-width:420px){.teacher-alert-link{font-size:12px;padding:6px 8px;gap:5px}.teacher-alert-count{min-width:24px;height:24px}}
