*{box-sizing:border-box}
:root{--blue:#1769c2;--navy:#112946;--text:#16243a;--muted:#8b97a8;--line:#e5eaf1;--bg:#f6f8fb}
body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}
button,input,select{font:inherit}.layout{min-height:100vh;display:flex}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:282px;background:#fff;border-right:1px solid var(--line);padding:30px 20px 20px;z-index:5}
.brand{display:flex;gap:13px;align-items:flex-start;padding:0 10px 31px}.logo{width:35px;height:35px;border:1px solid #dbe4ef;border-radius:9px;display:grid;place-items:center;color:var(--blue);font-weight:800}
.brand-name{font-size:21px;font-weight:800;color:var(--navy);line-height:1.15}.brand-name span{color:var(--blue)}.tagline{margin-top:5px;font-size:12px;line-height:1.5;color:#68778a;letter-spacing:.4px;max-width:165px}
nav{display:flex;flex-direction:column;gap:4px}.nav{display:flex;align-items:center;gap:12px;padding:11px 12px;color:#667386;text-decoration:none;font-size:15px;border-radius:8px}.nav b{width:18px;text-align:center;font-size:14px;font-weight:500}.nav:hover{background:#f5f8fc;color:var(--blue)}.nav.active{background:#eaf3ff;color:#0d5eae;font-weight:700}
.sidebar-note{position:absolute;left:20px;right:20px;bottom:25px;border-top:1px solid var(--line);padding:15px 0 0;color:#7f8b9c;font-size:10px}.sidebar-note i{display:inline-block;width:5px;height:5px;background:var(--blue);border-radius:50%;margin-right:7px}.sidebar-note strong{color:#39485b;margin-right:4px}.sidebar-note span{color:#9aa4b1}
main{margin-left:282px;min-width:0;flex:1}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}
.search{width:390px;height:38px;border:1px solid #e1e7ef;border-radius:8px;display:flex;align-items:center;gap:9px;padding:0 12px;color:#a0a9b6}.search input{width:100%;border:0;outline:0;color:#35445a;font-size:14px}.search input::placeholder{color:#a4acb8}
.top-right{display:flex;align-items:center;gap:18px}.top-btn{position:relative;border:0;background:transparent;color:#69778a;font-size:22px;cursor:pointer}.top-btn em{position:absolute;right:-5px;top:-5px;width:14px;height:14px;background:#ef7777;color:#fff;border-radius:50%;font-style:normal;font-size:8px;display:grid;place-items:center}
.user{display:flex;align-items:center;gap:9px}.avatar{width:35px;height:35px;background:#e7f0ff;color:var(--blue);border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:800}.user strong{display:block;font-size:13px}.user small{display:block;font-size:11px;color:#8e99a8;margin-top:2px}.user>b{font-size:12px;color:#8f99a7;margin-left:5px}
.content{padding:28px 36px 30px;max-width:1600px;margin:auto}.hero{height:285px;border-radius:13px;overflow:hidden;position:relative;background:#dce8f3 url("../img/hero-mountain.png") center right/cover no-repeat;border:1px solid #e3e9f0;box-shadow:0 10px 30px rgba(25,48,78,.04)}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.93) 28%,rgba(255,255,255,.62) 48%,rgba(255,255,255,.12) 72%,rgba(255,255,255,0) 100%);z-index:1;pointer-events:none}
.hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:75px;background:linear-gradient(0deg,rgba(40,68,95,.18),transparent);z-index:1;pointer-events:none}
.hero-copy{position:absolute;z-index:2;left:42px;top:42px}.hero-copy small{font-size:9px;letter-spacing:2px;color:#8491a2;font-weight:800}.hero-copy h1{margin:9px 0 3px;font-size:38px;letter-spacing:-1px}.hero-copy h1 span{color:var(--blue)}.hero-copy h2{margin:0 0 13px;font-size:20px;font-weight:650;color:#1b3658}.hero-copy p{font-size:13px;line-height:1.7;color:#728094;margin:0}
.hero-quote{position:absolute;z-index:2;right:38px;top:43px;text-align:right;color:#fff;font-size:15px;text-shadow:0 1px 7px rgba(20,40,60,.25)}.hero-quote strong{font-size:20px}.hero-quote i{display:block;width:42px;height:2px;background:#fff;margin:10px 0 0 auto;border-radius:2px}
.heading{display:flex;align-items:center;justify-content:space-between;margin:23px 0 11px}.heading h2{margin:0;font-size:18px}.heading button{border:0;background:transparent;color:#7e8a9a;font-size:12px;cursor:pointer}
.quick{display:grid;grid-template-columns:repeat(7,1fr);gap:9px}.quick button{height:72px;border:1px solid var(--line);background:#fff;border-radius:9px;color:#536176;font-size:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;cursor:pointer}.quick button:hover{border-color:#cddbeb;transform:translateY(-1px)}
.q{width:27px;height:27px;border-radius:7px;display:grid;place-items:center;font-style:normal;font-size:14px}.q.blue{background:#eaf2ff;color:#1769c2}.q.green{background:#e9f8f0;color:#27855d}.q.orange{background:#fff2e5;color:#d77c28}.q.purple{background:#f0ecff;color:#7355bd}.q.pink{background:#ffedf3;color:#c35b80}.q.teal{background:#e9f7f7;color:#2a8788}.q.sky{background:#eaf5ff;color:#3981bb}
.stats{display:grid;grid-template-columns:repeat(4,1fr) 1.35fr;gap:11px;margin-top:17px}.stats article{background:#fff;border:1px solid var(--line);border-radius:9px;padding:15px;display:flex;align-items:center;gap:11px;min-height:78px}.stat-icon{width:35px;height:35px;border-radius:8px;display:grid;place-items:center;font-style:normal;font-size:12px}.stat-icon.blue{background:#eaf2ff;color:#1769c2}.stat-icon.green{background:#e9f8f0;color:#27855d}.stat-icon.pink{background:#ffedf3;color:#c35b80}.stat-icon.orange{background:#fff2e5;color:#d77c28}.stats small{display:block;font-size:11px;color:#8d98a7}.stats strong{font-size:22px;display:inline-block;margin:3px 6px 1px 0}.stats em{font-size:11px;font-style:normal;font-weight:700}.green-t{color:#269267}.red-t{color:#cf665b}.stats span{display:block;font-size:10px;color:#a2aab5}.stats .greeting{display:block;padding:16px 18px;background:linear-gradient(135deg,#f7fbff,#eef5fc)}.greeting strong{font-size:15px;margin:0}.greeting p{margin:7px 0 3px;font-size:11px;font-weight:700}.greeting small{font-size:9px;color:#929dac}
.lower{display:grid;grid-template-columns:1.05fr 1.15fr 1.15fr;gap:13px;margin-top:17px}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;padding:17px;min-height:190px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.panel-title h2{margin:0;font-size:16px}.panel-title select{border:1px solid #e5e9ef;background:#fff;border-radius:5px;padding:5px 8px;font-size:9px;color:#697689}.panel-title a{font-size:9px;color:var(--blue);text-decoration:none;cursor:pointer}
.attendance{display:flex;align-items:center;justify-content:center;gap:32px;padding-top:5px}.donut{width:112px;height:112px;border-radius:50%;background:conic-gradient(#3f8fd1 0 96.3%,#f0a55b 96.3% 98.4%,#e98c87 98.4% 100%);display:grid;place-items:center}.donut>div{width:79px;height:79px;background:#fff;border-radius:50%;display:grid;place-items:center;text-align:center}.donut strong{font-size:20px}.donut span{font-size:10px;color:#909aaa;line-height:1.35}.legend p{margin:9px 0;font-size:11px;color:#697587}.legend b{float:right;margin-left:25px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:7px}.present{background:#3f8fd1}.late{background:#f0a55b}.absent{background:#e98c87}
.list p,.ann p{display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:center;margin:0;padding:9px 0;border-bottom:1px solid #f0f2f5;font-size:11px;color:#566478}.list p:last-child,.ann p:last-child{border-bottom:0}.activity{width:27px;height:27px;border-radius:7px;display:grid;place-items:center;font-style:normal}.activity.blue{background:#eaf2ff;color:#1769c2}.activity.green{background:#e9f8f0;color:#27855d}.activity.purple{background:#f0ecff;color:#7355bd}.activity.pink{background:#ffedf3;color:#c35b80}.list small,.ann small{font-size:10px;color:#a1a9b5;white-space:nowrap}.ann span{line-height:1.5}.ann strong{display:block;color:#39485c;font-size:9px;margin-bottom:2px}
footer{display:flex;justify-content:space-between;padding:22px 3px 0;color:#a1a9b4;font-size:8px}
@media(max-width:1200px){.sidebar{width:230px}main{margin-left:230px}.quick{grid-template-columns:repeat(4,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.stats .greeting{grid-column:span 2}.lower{grid-template-columns:1fr 1fr}.lower .panel:last-child{grid-column:span 2}}
@media(max-width:760px){.sidebar{display:none}main{margin-left:0}.topbar{padding:0 16px}.search{display:none}.content{padding:18px 15px 25px}.hero{height:250px}.hero-copy{left:24px;top:32px}.hero-copy h1{font-size:25px}.hero-copy h2{font-size:14px}.hero-quote{display:none}.quick{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:1fr}.stats .greeting{grid-column:auto}.lower{grid-template-columns:1fr}.lower .panel:last-child{grid-column:auto}footer{gap:10px;flex-direction:column}}

/* V3 typography refinement */
.hero-copy h1{font-size:40px}
.hero-copy h2{font-size:21px}
.hero-copy p{font-size:13px}
.hero-copy small{font-size:10px}
.heading h2{font-size:18px}
.heading button{font-size:11px}
.quick button{font-size:12px}
.stats small{font-size:10px}
.stats strong{font-size:22px}
.stats span{font-size:9px}
.greeting strong{font-size:14px}
.greeting p{font-size:13px}
.greeting small{font-size:10px}
.panel-title h2{font-size:16px}
.panel-title select{font-size:10px}
.panel-title a{font-size:10px}
.list p,.ann p{font-size:10px}
.list small,.ann small{font-size:9px}
footer{font-size:9px}

/* V4 — larger, more readable typography */
.brand-name{font-size:23px}
.tagline{font-size:12px}
.nav{font-size:15px;padding:12px 13px}
.search{height:42px}
.search input{font-size:15px}
.user strong{font-size:13px}
.user small{font-size:10px}
.hero-copy h1{font-size:44px}
.hero-copy h2{font-size:23px}
.hero-copy p{font-size:14px}
.hero-copy small{font-size:11px}
.hero-quote{font-size:17px}
.hero-quote strong{font-size:23px}
.heading h2{font-size:20px}
.heading button{font-size:12px}
.quick button{font-size:14px}
.q{width:30px;height:30px;font-size:14px}
.stats small{font-size:11px}
.stats strong{font-size:25px}
.stats em{font-size:10px}
.stats span{font-size:10px}
.greeting strong{font-size:15px}
.greeting p{font-size:14px}
.greeting small{font-size:11px}
.panel-title h2{font-size:18px}
.panel-title select{font-size:11px}
.panel-title a{font-size:11px}
.attendance{font-size:12px}
.donut strong{font-size:20px}
.donut span{font-size:9px}
.legend p{font-size:11px}
.list p,.ann p{font-size:12px}
.list small,.ann small{font-size:10px}
.activity{width:30px;height:30px}
footer{font-size:10px}
@media(max-width:760px){
  .brand-name{font-size:20px}
  .nav{font-size:14px}
  .hero-copy h1{font-size:34px}
  .hero-copy h2{font-size:19px}
  .hero-copy p{font-size:13px}
  .quick button{font-size:13px}
  .stats strong{font-size:23px}
  .panel-title h2{font-size:17px}
}
