:root{--navy:#0b2e63;--blue:#173b63;--gold:#e5a500;--green:#16803c;--ink:#18243a;--muted:#69758a;--line:#e4eaf2;--paper:#fff;--bg:#f3f6fb}
*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:radial-gradient(circle at 8% 20%,#fff3dc 0,transparent 30%),radial-gradient(circle at 95% 70%,#dff6e9 0,transparent 25%),var(--bg);min-height:100vh;display:flex;flex-direction:column}
.topbar{height:78px;background:#ffffffed;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,5vw,72px);gap:18px}
.brand{display:flex;align-items:center;gap:12px}.brand-logo{display:block;width:62px;height:62px;object-fit:contain;border-radius:8px}.domain{font-size:13px;font-weight:750;color:var(--navy);border:1px solid #dce4f0;border-radius:99px;padding:8px 13px}
main{width:100%;max-width:1200px;margin:0 auto;padding:clamp(24px,5vw,64px) clamp(18px,4vw,44px);flex:1}.login-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(32px,7vw,90px);align-items:center;min-height:570px}.intro{padding:10px 0}.eyebrow{font-size:11px;font-weight:850;letter-spacing:2px;color:var(--green)}h1{font-size:clamp(34px,5vw,58px);line-height:1.06;letter-spacing:-1.8px;margin:18px 0;color:var(--navy)}h1 em{font-style:normal;color:var(--green)}.intro p{max-width:500px;color:#5d6b80;font-size:18px;line-height:1.7}.feature-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}.feature-pills span{border:1px solid #dce5ef;background:#ffffffb8;padding:9px 13px;border-radius:99px;font-size:12px;font-weight:700;color:var(--blue)}
.login-card{background:#fff;border:1px solid #e4eaf2;border-radius:24px;padding:clamp(24px,4vw,38px);box-shadow:0 24px 65px #18365c14}.login-logo-wrap{width:112px;height:112px;overflow:hidden;border-radius:20px;box-shadow:0 8px 22px #0b2e6320;background:#071b35;display:grid;place-items:center}.login-logo{display:block;width:100%;height:100%;object-fit:cover}.login-card h2{margin:18px 0 5px;font-size:28px;color:var(--navy)}.muted{color:var(--muted);line-height:1.6}.login-card form{display:flex;flex-direction:column;margin-top:24px}.login-card label{font-size:12px;font-weight:800;margin:13px 0 7px;color:#35445c}.login-card input,.login-card select{width:100%;height:47px;border:1px solid #d9e1ed;border-radius:10px;background:#fff;padding:0 13px;font:inherit;color:var(--ink);outline:none}.login-card input:focus,.login-card select:focus{border-color:#5682c3;box-shadow:0 0 0 3px #0b2e6312}button{border:0;border-radius:11px;min-height:47px;padding:0 18px;font:inherit;font-weight:800;cursor:pointer;background:var(--navy);color:#fff;transition:transform .15s,opacity .15s}button:hover{transform:translateY(-1px)}button:disabled{opacity:.65;cursor:wait}.login-card button{margin-top:23px}.message{font-size:13px;min-height:18px;color:#b42318;line-height:1.5}.tiny{font-size:11px;color:#7b8799;line-height:1.5;margin-top:18px}
.hidden{display:none!important}.dashboard{min-height:500px}.welcome-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.welcome-row h1{font-size:clamp(32px,4vw,46px);margin:9px 0}.welcome-row p{margin:0}.secondary{background:#fff;color:var(--navy);border:1px solid #d7e0ec}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.module-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:23px;min-height:155px;box-shadow:0 8px 25px #18365c08}.module-icon{font-size:25px;margin-bottom:15px}.module-card h3{color:var(--navy);margin:0 0 8px;font-size:17px}.module-card p{color:var(--muted);font-size:13px;line-height:1.6;margin:0}.notice{margin-top:24px;padding:18px 20px;border-radius:14px;background:#fff8e6;border:1px solid #f2dfa6;color:#69501a;font-size:13px;line-height:1.6}.notice p{margin:6px 0 0}footer{text-align:center;color:#7b8799;font-size:11px;padding:22px 15px;border-top:1px solid var(--line);background:#ffffff9c}
@media(max-width:800px){.login-layout{grid-template-columns:1fr;gap:25px;min-height:unset}.intro{padding-top:12px}.intro h1{font-size:42px}.intro p{font-size:16px}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-card{max-width:560px;width:100%;margin:0 auto}}
@media(max-width:520px){.topbar{height:68px}.brand-logo{width:54px;height:54px}.login-logo-wrap{width:96px;height:96px}.domain{font-size:11px;padding:7px 10px}.intro h1{font-size:36px}.module-grid{grid-template-columns:1fr}.welcome-row{align-items:flex-start}.welcome-row h1{font-size:32px}.secondary{min-height:40px;padding:0 12px}.module-card{min-height:unset}}

.module-card-action{cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s}.module-card-action:hover,.module-card-action:focus{transform:translateY(-3px);box-shadow:0 12px 28px #18365c18;border-color:#9bb5d7;outline:2px solid #c9d9ee;outline-offset:2px}.workspace{margin-top:26px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 30px #18365c0a}.workspace-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.workspace h2{color:var(--navy);margin:8px 0}.student-tools{display:flex;gap:12px;margin:18px 0}.student-tools input,.student-form input,.student-form select{min-height:42px;border:1px solid #d9e1ed;border-radius:9px;padding:9px 11px;font:inherit;min-width:0;background:#fff}.student-tools input{flex:1}.table-wrap{overflow:auto;margin-top:16px}table{width:100%;border-collapse:collapse;font-size:13px;min-width:760px}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line)}th{background:#f5f8fc;color:var(--navy)}.small{min-height:32px;padding:0 10px;font-size:12px}.danger{background:#a52323;min-height:32px;padding:0 10px;font-size:12px}.workspace-message{font-size:13px;color:var(--muted);margin:10px 0}.student-form{background:#f7f9fc;border:1px solid var(--line);padding:18px;border-radius:12px;margin:16px 0}.student-form h3{margin-top:0;color:var(--navy)}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.form-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:750;color:#35445c}.form-actions{display:flex;gap:10px;margin-top:16px}.form-actions button{min-height:40px}.module-workspace code{background:#f2f5fa;padding:2px 5px;border-radius:4px}@media(max-width:700px){.form-grid{grid-template-columns:1fr}.student-tools{flex-direction:column}.workspace{padding:16px}.workspace-head{align-items:flex-start;flex-direction:column}}

.student-form textarea{width:100%;box-sizing:border-box;min-height:220px;border:1px solid #d9e1ed;border-radius:9px;padding:12px;font:13px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;background:#fff;color:#18243a}.student-form label{display:flex;flex-direction:column;gap:7px;margin:10px 0;font-size:13px;font-weight:700;color:#35445c}.student-form input[readonly]{background:#eef2f7}
