:root{--ink:#182238;--muted:#718096;--blue:#16a34a;--pale:#f0fdf4;--line:#e6ebf2;--bg:#f8fafc}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}.app-shell{display:flex;min-height:100vh}.sidebar{width:264px;background:#fff;border-right:1px solid var(--line);padding:28px 16px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;text-decoration:none;color:var(--ink);font-size:16px;font-weight:800;padding:0 10px 34px;align-items:center}.brand>span{background:var(--blue);color:#fff;border-radius:10px;width:38px;height:38px;display:grid;place-items:center;font-size:23px}.brand small{display:block;font-weight:500;font-size:11px;color:var(--muted);margin-top:2px}.sidebar nav{display:grid;gap:6px}.nav-link{font:inherit;border:0;background:transparent;border-radius:9px;padding:13px 14px;text-align:left;font-weight:650;color:#4d7c0f;cursor:pointer;font-size:14px}.nav-link span{margin-left:10px}.nav-link.active,.nav-link:hover{background:var(--pale);color:var(--blue)}.sidebar-note{margin:auto 9px 0;padding:17px;background:#f1f6ff;border-radius:12px;color:#5b6d85;font-size:12px}.sidebar-note strong{color:var(--blue)}main{flex:1;min-width:0}header{height:73px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;padding:0 46px}#menuButton{display:none}.header-user{display:flex;align-items:center;gap:9px;color:#718096;font-size:13px}.header-user span{height:34px;width:34px;border-radius:50%;display:grid;place-items:center;background:#dcfce7;color:#15803d;font-weight:800;font-size:11px}.view{display:none;max-width:1170px;margin:auto;padding:46px}.view.active{display:block}.hero{min-height:285px;background:linear-gradient(102deg,#15803d,#22c55e);border-radius:20px;color:#fff;padding:40px 55px;display:flex;justify-content:space-between;overflow:hidden}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.3px;margin:0 0 10px;color:#86efac}.hero .eyebrow{color:#bbf7d0}.hero h1,.page-heading h1{font-size:32px;line-height:1.15;margin:0 0 12px;letter-spacing:-.7px}.hero p:not(.eyebrow){font-size:14px;color:#dcfce7;max-width:420px;line-height:1.6}.primary,.secondary{border:0;border-radius:8px;padding:12px 17px;font-weight:750;cursor:pointer;font-size:14px}.primary{background:var(--blue);color:#fff}.hero .primary{background:#fff;color:#15803d;margin-top:6px}.primary b{margin-left:16px}.hero-art{font-size:110px;position:relative;align-self:center;filter:drop-shadow(0 15px 15px #14532d)}.hero-art i,.hero-art em{position:absolute;font-style:normal;font-size:25px;filter:none}.hero-art i{top:-26px;right:12px}.hero-art em{bottom:-5px;left:-32px}.section-title{display:flex;justify-content:space-between;align-items:end;margin-top:37px}.section-title h2{font-size:19px;margin:0 0 6px}.section-title p,.page-heading p{color:var(--muted);font-size:14px;margin:0}.section-title strong{font-size:13px;color:var(--blue)}.progress-wrap{height:8px;background:#dcfce7;border-radius:10px;margin:18px 0 29px;overflow:hidden}.progress-wrap div{height:100%;background:var(--blue);width:0;border-radius:10px;transition:.25s}.quick-grid,.chapter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.quick-grid article,.chapter-grid article,.exam-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px}.icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;font-weight:bold}.blue{background:#dcfce7;color:#16a34a}.orange{background:#fff0db;color:#e67817}.green{background:#dcfce7;color:#16a34a}.quick-grid h3{font-size:15px;margin:17px 0 7px}.quick-grid p{font-size:13px;color:var(--muted);line-height:1.5;margin:0 0 18px}.text-button{border:0;background:none;padding:0;color:var(--blue);font-weight:750;cursor:pointer}.page-heading{margin-bottom:30px}.page-heading .eyebrow{margin-bottom:7px}.page-heading h1{margin-bottom:8px}.chapter-grid{grid-template-columns:repeat(2,1fr)}.chapter-grid article{display:flex;align-items:center;gap:17px;cursor:pointer;transition:.15s}.chapter-grid article:hover{border-color:#86efac;transform:translateY(-2px)}.chapter-num{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--pale);color:var(--blue);font-weight:800}.chapter-grid h3{margin:0 0 5px;font-size:15px}.chapter-grid p{margin:0;color:var(--muted);font-size:12px}.lesson,.exam-runner{background:#fff;border:1px solid var(--line);padding:30px;border-radius:16px}.hidden{display:none!important}.back{border:0;background:transparent;color:#4d7c0f;font-weight:700;cursor:pointer;padding:0 0 22px}.lesson-top,.exam-status{display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.lesson-top span:first-child{background:var(--pale);color:var(--blue);padding:5px 9px;border-radius:6px;font-weight:700}.lesson h2{font-size:21px;line-height:1.45;margin:28px 0}.answers{display:grid;gap:10px}.answer{border:1px solid var(--line);background:#fff;border-radius:9px;text-align:left;padding:14px;cursor:pointer;font:inherit;font-size:14px}.answer:hover,.answer.selected{border-color:var(--blue);background:var(--pale)}.answer.correct{border-color:#22c55e;background:#f0fdf4}.answer.wrong{border-color:#ef4444;background:#fef2f2}.lesson-footer{display:flex;justify-content:space-between;align-items:center;margin-top:30px}.secondary{background:#ecfccb;color:#365314}.exam-options{display:grid;grid-template-columns:1fr 1fr;gap:20px}.exam-card{padding:30px}.exam-card.featured{border:2px solid #86efac;background:#f0fdf4}.exam-card>span{font-size:30px}.exam-card h2{font-size:20px;margin:16px 0 8px}.exam-card p,.exam-card li{color:var(--muted);font-size:14px;line-height:1.6}.exam-card ul{padding-left:19px;margin:18px 0}.exam-sets{display:grid;gap:9px;margin-top:19px}.set-button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:12px;text-align:left;cursor:pointer;font:inherit;font-weight:700;color:#365314}.set-button:hover{border-color:var(--blue);color:var(--blue)}.exam-runner{margin-top:25px}.exam-status{align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px}.exam-status .back{padding:0}.exam-status strong{color:#ef4444;font-size:18px}.exam-question h2{font-size:21px;line-height:1.45;margin:28px 0}.modal{position:fixed;inset:0;background:#17203380;display:grid;place-items:center;padding:18px}.modal-box{background:#fff;border-radius:17px;max-width:380px;text-align:center;padding:37px}.result-icon{display:grid;place-items:center;width:62px;height:62px;margin:auto;border-radius:50%;background:#dcfce7;color:#16a34a;font-size:35px}.modal-box h2{margin:16px 0 8px}.modal-box p{color:var(--muted);line-height:1.6;font-size:14px;margin-bottom:23px}@media(max-width:760px){.sidebar{position:fixed;z-index:3;height:100%;transform:translateX(-100%);transition:.2s}.sidebar.open{transform:none}.view{padding:25px 18px}header{height:60px;padding:0 18px;justify-content:space-between}#menuButton{display:block;border:0;background:none;font-size:23px}.hero{padding:30px 25px;min-height:auto}.hero h1,.page-heading h1{font-size:26px}.hero-art{display:none}.quick-grid,.chapter-grid,.exam-options{grid-template-columns:1fr}.section-title{margin-top:27px}.lesson,.exam-runner{padding:20px}.lesson-footer{gap:8px}.lesson-footer button{padding:11px 10px}.exam-status{gap:8px}}
/* Nút xóa tiến độ đặt ở trang Tổng quan, thuận tiện cho màn hình điện thoại. */
.progress-wrap{margin-bottom:12px}.overview-reset-wrap{display:flex;justify-content:flex-end;margin:0 0 29px}.overview-reset{border:1px solid #fca5a5;border-radius:9px;background:rgb(255 255 255 / 78%);padding:9px 13px;color:#b91c1c;font:700 13px/1 Inter,system-ui,sans-serif;cursor:pointer;transition:.2s}.overview-reset:hover{background:#fef2f2;border-color:#ef4444;transform:translateY(-1px)}@media(max-width:760px){.overview-reset-wrap{justify-content:stretch}.overview-reset{width:100%;padding:12px}}
