:root{--ink:#111827;--muted:#6b7280;--line:#e7e9ee;--bg:#f5f6f8;--green:#8cff5a;--dark:#111827;--white:#fff;--radius:22px}*{box-sizing:border-box}body{margin:0;font-family:Inter,sans-serif;color:var(--ink);background:var(--bg)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.sidebar{position:fixed;inset:0 auto 0 0;width:245px;background:#fff;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px}.brand>span{width:38px;height:38px;border-radius:13px;background:var(--green);display:grid;place-items:center;font-weight:900}.brand div{display:flex;flex-direction:column}.brand b{font-size:18px}.brand small{font-size:11px;color:var(--muted);margin-top:2px}.sidebar nav{display:flex;flex-direction:column;gap:7px;margin-top:42px}.sidebar nav a,.logout{border:0;background:none;border-radius:13px;padding:13px 15px;display:flex;gap:13px;align-items:center;font-weight:600;color:#737b8c;cursor:pointer}.sidebar nav a.active,.sidebar nav a:hover{background:#111827;color:#fff}.sidebar nav i{font-style:normal;width:22px;text-align:center}.sidebar form{margin-top:auto}.logout{width:100%}.logout:hover{color:#d33;background:#fff4f4}main{margin-left:245px;min-height:100vh}.container{max-width:1180px;margin:auto;padding:46px}.mobile-head,.bottom-nav{display:none}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.page-title h1{font-size:34px;letter-spacing:-1.2px;margin:5px 0}.page-title p{margin:0;color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:#788091}.avatar{width:52px;height:52px;border-radius:50%;background:var(--green);display:grid;place-items:center;font-weight:800}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}.stats article,.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px}.stats article{display:grid;grid-template-columns:48px 1fr;gap:2px 14px;align-items:center}.stats i{grid-row:1/3;width:48px;height:48px;border-radius:15px;display:grid;place-items:center;font-style:normal}.stats span{font-size:12px;text-transform:uppercase;color:var(--muted);font-weight:700}.stats b{font-size:25px}.stats small{color:var(--muted)}.purple{background:#f0eaff;color:#7146d7}.green{color:#16a34a}.stats .green{background:#e9fbe7}.stats .orange{background:#fff3df}.orange{color:#d97706}.blue{color:#2563eb}.red{color:#dc2626}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.card-head{display:flex;justify-content:space-between;align-items:center}.card-head h2,.card h2{margin:5px 0 18px;font-size:19px}.card-head a,.accent a{font-size:13px;font-weight:700}.attendance-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.attendance-stats div{background:#f7f8fa;border-radius:14px;padding:15px;display:flex;flex-direction:column}.attendance-stats b{font-size:25px}.attendance-stats span{font-size:11px;color:var(--muted);margin-top:4px}.accent{background:#111827;color:#fff}.accent .eyebrow,.accent p{color:#aeb4c1}.accent h2{font-size:30px}.progress{height:7px;background:#303746;border-radius:10px;margin:26px 0 18px;overflow:hidden}.progress i{display:block;height:100%;background:var(--green)}.section-grid{display:grid;grid-template-columns:360px 1fr;gap:20px;align-items:start}.form-card h2{margin-top:0}.form-card form,.auth-card form{display:flex;flex-direction:column;gap:14px}label{font-size:12px;font-weight:700;color:#4b5563;display:flex;flex-direction:column;gap:7px}input,select,textarea{width:100%;border:1px solid #dfe2e8;border-radius:12px;padding:12px;background:#fff;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:#111827;box-shadow:0 0 0 3px #11182712}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.btn{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:13px;padding:13px 18px;font-weight:700;cursor:pointer}.primary{background:var(--green);color:#12200e}.dark{background:#111827;color:#fff}.light{background:#fff;border:1px solid #ddd}.full{width:100%}.count{background:#f0f2f5;padding:7px 11px;border-radius:20px;font-weight:700}.item-list{margin-top:8px}.item{display:flex;align-items:center;gap:13px;padding:16px 2px;border-top:1px solid var(--line)}.item:first-child{border-top:0}.item-icon{width:40px;height:40px;flex:0 0 40px;background:#efffe8;border-radius:12px;display:grid;place-items:center}.item-copy{min-width:0;flex:1}.item h3{font-size:14px;margin:0 0 5px}.item p{font-size:12px;color:var(--muted);margin:0;white-space:normal}.item h3.completed{text-decoration:line-through;color:#9298a4}.mini{border:0;background:none;color:#16803d;padding:5px 0 0;font-size:11px;font-weight:700;cursor:pointer}.delete{border:0;width:30px;height:30px;border-radius:9px;background:#fff0f0;color:#d33;font-size:20px;cursor:pointer}.badge{font-weight:700;color:#111}.empty{text-align:center;padding:55px 15px;color:var(--muted)}.empty i{font-size:40px}.empty h3{color:var(--ink)}.alert{padding:13px 16px;border-radius:12px;margin-bottom:18px;font-size:13px}.success{background:#eaffdf;color:#267111}.error{background:#fff0f0;color:#b42318}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#f4f5f7,#e8ffc9)}.auth-card{width:min(420px,100%);background:#fff;border-radius:28px;padding:36px;box-shadow:0 25px 70px #1112}.brand.center{justify-content:center;margin-bottom:30px}.auth-card h1{text-align:center;margin-bottom:5px}.auth-card>p{text-align:center;color:var(--muted);margin:0 0 25px}.check{flex-direction:row;align-items:center}.check input{width:auto}.back{display:block;text-align:center;color:var(--muted);font-size:12px;margin-top:24px}.landing{background:#f2f3f4}.landing header{height:84px;max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.text-link{font-weight:700}.hero{text-align:center;max-width:850px;margin:85px auto 110px;padding:0 24px}.hero .eyebrow{display:inline-block;background:#e3ffcf;color:#246710;padding:8px 12px;border-radius:30px}.hero h1{font-size:66px;line-height:1.02;letter-spacing:-4px;margin:22px 0}.hero h1 em{font-style:normal;color:#5eca31}.hero p{max-width:610px;margin:0 auto;color:var(--muted);font-size:18px;line-height:1.65}.hero-actions{display:flex;justify-content:center;gap:10px;margin:30px 0 16px}.hero small{color:#8a909b}.feature-grid{max-width:1050px;margin:0 auto 80px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:0 24px}.feature-grid article{background:#fff;border-radius:22px;padding:24px}.feature-grid i{font-style:normal;background:#e7ffd8;width:40px;height:40px;border-radius:12px;display:grid;place-items:center}.feature-grid h2{font-size:17px}.feature-grid p{font-size:13px;color:var(--muted);line-height:1.6}.landing footer{text-align:center;padding:28px;color:var(--muted);font-size:12px;border-top:1px solid #ddd}
@media(max-width:800px){.sidebar{display:none}main{margin:0;padding-bottom:78px}.container{padding:24px 16px}.mobile-head{height:68px;padding:0 16px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.mobile-head .brand>span{width:34px;height:34px}.mobile-head button{border:0;background:#f1f2f4;border-radius:10px;padding:8px 11px;font-size:12px}.bottom-nav{display:grid;position:fixed;z-index:10;bottom:0;left:0;right:0;height:70px;background:#fff;border-top:1px solid var(--line);grid-template-columns:repeat(5,1fr);padding-bottom:env(safe-area-inset-bottom)}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:9px;color:#8a919e}.bottom-nav i{font-size:18px;font-style:normal}.bottom-nav a.active{color:#111;font-weight:800}.page-title h1{font-size:28px}.stats{grid-template-columns:1fr}.dashboard-grid,.section-grid{grid-template-columns:1fr}.section-grid{display:flex;flex-direction:column}.section-grid .card{width:100%}.form-card{order:2}.attendance-stats{grid-template-columns:1fr 1fr}.hero{margin:60px auto 80px}.hero h1{font-size:44px;letter-spacing:-2.5px}.feature-grid{grid-template-columns:1fr 1fr}.landing header{height:70px}}@media(max-width:480px){.feature-grid{grid-template-columns:1fr}.hero-actions{flex-direction:column}.hero h1{font-size:38px}.form-row{grid-template-columns:1fr}.card{padding:18px}}
