:root{--ink:#152238;--muted:#647087;--line:#dfe4ec;--bg:#f4f3ef;--purple:#2563eb;--pale:#edf3ff;--green:#237c5b;--orange:#a86518;--blue:#2563eb;--red:#b5484f;--shadow:0 12px 35px #102a5612}
body{font-family:"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink)}
.sidebar{width:252px;background:#102a56;border:0;padding:30px 20px 24px}.brand{color:#fff;padding-bottom:36px}.brand img{width:42px;height:42px;object-fit:contain;background:#fff;border-radius:7px;padding:5px}.nav{color:#b9c5d8;border-radius:5px}.nav:hover,.nav.active{background:#ffffff12;color:#fff;box-shadow:inset 3px 0 #2563eb}.profile{border-color:#ffffff1d;color:#fff}.profile small{color:#aab9d1}.avatar{border-radius:50%}main{margin-left:252px;padding:0 48px 60px}header{height:84px;border-bottom:1px solid #e4e2dc;margin-bottom:28px}.role-switch{background:#fff;border:1px solid var(--line);border-radius:6px}.role-switch button,.filter button{border-radius:3px}.role-switch button.active,.filter button.active{background:#102a56;color:#fff;box-shadow:none}.hero{min-height:210px;border:1px solid #d8dee8;border-radius:0;padding:38px 42px;background:#fff;color:var(--ink)}.hero:after{content:"A";border:0;width:auto;height:auto;right:34px;top:-44px;font:700 260px/1 Georgia,serif;color:#102a5608}.hero h1,.page-title h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.025em;color:#102a56}.hero h1{font-size:39px}.hero p{color:var(--muted)}.hero .eyebrow{color:#2563eb}.streak{width:auto;height:auto;border:0;border-left:1px solid var(--line);border-radius:0;background:none;padding:8px 26px}.streak b{font:500 34px Georgia,serif;color:#102a56}.streak span{color:var(--muted)}.stats{gap:1px;background:var(--line);border:1px solid var(--line)}.stats article{border:0;border-radius:0}.stats b{font:500 25px Georgia,serif;color:#102a56}.stat-icon{border-radius:50%}.purple,.blue{background:#edf3ff;color:#2563eb}.card,.subject-card,.behaviour-summary div{border-radius:0;box-shadow:var(--shadow)}.card-head h2{font:500 21px Georgia,serif;color:#102a56}.pill{border-radius:3px}.primary{background:#2563eb;border-radius:3px}.primary:hover{background:#174fca}.page-title h1{font-size:40px}.lesson-card{border-radius:0;border-left:1px solid var(--line);border-top:3px solid #2563eb}.subject-card .subject-icon{border-radius:50%}.progress{height:4px}.message{border-radius:0}.message.mine{background:#102a56;border-radius:0}.chat-logo{width:40px;height:40px;object-fit:contain}.chat input,.card-head input,.student button,.check,dialog,.field input,.field select,.field textarea,.dialog-actions button{border-radius:3px}
@media(max-width:900px){.sidebar{width:80px}.brand img{width:40px}main{margin-left:80px;padding:0 24px 40px}}@media(max-width:600px){.sidebar{width:252px}main{margin-left:0;padding:0 15px 30px}.hero{padding:28px 22px}.hero h1{font-size:29px}.page-title h1{font-size:31px}}
.alert-feed{display:grid;gap:8px;margin:16px 0}.notice{display:flex;align-items:flex-start;gap:12px;background:#fff;border:1px solid var(--line);border-left:3px solid #2563eb;padding:13px 16px}.notice strong,.notice small{display:block}.notice small{color:var(--muted)}.notice.warning{border-left-color:#a86518}.notice.urgent{border-left-color:#b5484f}.admin-actions{display:flex;gap:8px}.secondary{background:#fff;border:1px solid var(--line);border-radius:3px;padding:9px 16px;font-weight:700;cursor:pointer}.admin-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;margin-top:18px}.admin-grid.lower{grid-template-columns:1fr 1fr}.record-row{display:flex;align-items:center;gap:12px;padding:14px 22px;border-top:1px solid var(--line)}.record-row>div{flex:1}.record-row strong,.record-row small{display:block}.record-row small{color:var(--muted)}.upload-control{display:flex;gap:8px;margin-top:14px}.upload-control input{max-width:190px;font-size:12px}@media(max-width:900px){.admin-grid,.admin-grid.lower{grid-template-columns:1fr}}
