:root{--blue:#123b70;--blue2:#1d5da2;--ink:#18283d;--muted:#64748b;--bg:#f3f6fb;--line:#dce5f0}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 system-ui,-apple-system,"Noto Sans Devanagari",sans-serif}header{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100% - 1180px)/2));position:sticky;top:0;z-index:2}.brand{display:flex;align-items:center;gap:12px;color:var(--blue)}.brand small{display:block;color:var(--muted);font-size:11px}.logo{background:var(--blue);color:#fff;border-radius:12px;width:40px;height:40px;display:grid;place-items:center;font-weight:900;font-size:22px}main{max-width:1180px;margin:34px auto;padding:0 20px;min-height:75vh}.login-wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:35px;align-items:center;max-width:1000px;margin:65px auto}.hero h1{font-size:clamp(30px,5vw,48px);line-height:1.2;margin:15px 0;color:var(--blue)}.hero p,.page-head p,.practice-head p{color:var(--muted)}.tag{font-size:11px;font-weight:800;letter-spacing:1.3px;color:var(--blue2)}.features{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.features span{background:#e5eef9;color:var(--blue);padding:8px 12px;border-radius:20px;font-size:12px}.login-card,.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 8px 28px #1c35500a}.tabs{display:flex;background:#eef3f9;padding:4px;border-radius:10px;margin-bottom:22px}.tab{flex:1;border:0;background:transparent;padding:10px;border-radius:8px;color:var(--muted);font-weight:700}.tab.active{background:#fff;color:var(--blue);box-shadow:0 2px 7px #142b4815}.login-form{display:grid;gap:9px}.login-form label{font-size:13px;font-weight:700;margin-top:5px}input,select,textarea{font:inherit;border:1px solid #ccd8e6;border-radius:9px;padding:12px;background:#fff;min-width:0;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #b9d5f5;border-color:var(--blue2)}button{font:inherit;cursor:pointer;border:0;border-radius:9px;padding:11px 16px;font-weight:700}.primary{background:var(--blue);color:#fff}.primary:hover{background:var(--blue2)}.outline{background:#fff;color:var(--blue);border:1px solid #b9cbe0}.login-form button{margin-top:12px}.msg{font-size:13px;color:#b42318;min-height:20px}.hidden{display:none!important}.page-head,.student-top,.panel-title,.practice-head{display:flex;justify-content:space-between;align-items:center;gap:18px}.page-head h1,.student-top h1{margin:5px 0;font-size:30px;color:var(--blue)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:22px 0}.stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px}.stat b{font-size:26px;color:var(--blue);display:block}.stat span{font-size:12px;color:var(--muted)}.panel{margin:18px 0}.panel h2{font-size:18px;margin:0 0 16px}.student-form{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:10px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid #edf1f6}th{color:var(--muted);font-size:11px;text-transform:uppercase}.status{padding:4px 8px;border-radius:20px;font-size:11px;background:#e7f7ed;color:#13733b}.status.off{background:#fff0e9;color:#b54708}.actions{display:flex;gap:6px}.actions button{padding:7px 9px;font-size:11px}.expiry{background:#e5eef9;color:var(--blue);padding:12px 16px;border-radius:12px;font-weight:800}.controls{display:flex;gap:8px}.timer{text-align:center;font-size:35px;font-weight:800;color:var(--blue);padding:14px}.passage{background:#f3f6fb;border:1px solid var(--line);border-radius:10px;padding:18px;line-height:2;font-size:17px;margin-bottom:12px}.practice textarea{width:100%;min-height:155px;resize:vertical}.practice-actions{display:flex;gap:10px;margin-top:12px}.result{margin-top:16px;background:#eaf3ff;border-radius:10px;padding:16px;color:var(--blue);font-weight:700}.student-top{margin-bottom:20px}footer{text-align:center;padding:20px;color:var(--muted);font-size:12px}@media(max-width:760px){.login-wrap{grid-template-columns:1fr;margin:25px auto;gap:20px}.hero h1{font-size:32px}.student-form{grid-template-columns:1fr}.stats{grid-template-columns:repeat(3,1fr);gap:8px}.stat{padding:12px}.stat b{font-size:21px}.page-head h1,.student-top h1{font-size:24px}.practice-head{align-items:flex-start;flex-direction:column}.controls{width:100%}.controls select{flex:1;width:50%}.student-top{align-items:flex-start;flex-direction:column}}
.lesson-form{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:start}.lesson-form textarea{grid-column:1/-1;min-height:110px}.checkline{display:flex;align-items:center;gap:8px;color:#334155}.checkline input{width:auto}.student-tools{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.keyboard{display:grid;gap:7px;overflow-x:auto}.keyrow{display:flex;gap:5px;justify-content:center;min-width:max-content}.key{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:38px;padding:0 8px;border:1px solid #b8c7d9;border-radius:6px;background:#f5f8fc;color:#163c68;font-weight:700;box-shadow:0 2px 0 #c7d2df}.key.homekey{background:#dcecff;border-color:#79a9df}.keyrow:last-child .key{min-width:220px}.student-top{gap:16px}.practice-head{gap:14px}.controls{display:flex;flex-wrap:wrap;gap:8px}.controls select{max-width:210px}.table-wrap{overflow-x:auto}.actions{display:flex;gap:5px;flex-wrap:wrap}.actions button{white-space:nowrap;font-size:12px;padding:7px 9px}@media(max-width:640px){.lesson-form{grid-template-columns:1fr}.student-tools button{flex:1 1 42%}.controls select{width:100%;max-width:none}.key{min-width:29px;height:34px;padding:0 6px}}
