/* Qurio Tiến Độ — use identical body > .sidebar / .workspace / footer DOM and CSS as Trang Chủ. */
/* No alternate sidebar/footer implementations live in this file. */
html,body{overflow-x:clip}
body{background:#f7f8fc}

.workspace>.progress-content{flex:1 0 auto;width:100%;min-width:0}
.progress-content{padding:26px clamp(20px,3vw,46px) 52px}
.progress-wrap{max-width:1320px;margin:0 auto}
/* Maintain Trang Chủ navigation dimensions and icons without overrides. */
/* Footer remains an unmodified body-level sibling as in Trang Chủ. */
.progress-content{flex:1;padding:30px clamp(18px,3vw,44px) 56px}.progress-wrap{max-width:1450px;margin:auto}.progress-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(110deg,#6a3ee1,#9d75ed);border-radius:27px;color:white;padding:42px 46px;min-height:250px;overflow:hidden;box-shadow:0 15px 32px #6c44c51c}.hero-kicker{font-size:11px;font-weight:800;letter-spacing:1.5px}.progress-hero h1{font-size:clamp(26px,3vw,40px);line-height:1.3;margin:13px 0}.progress-hero p{max-width:640px;font-size:13px;line-height:1.85;color:#f2eaff}.hero-link{display:inline-flex;gap:15px;align-items:center;margin-top:14px;padding:13px 18px;background:#fff;border-radius:12px;color:#633ad4;text-decoration:none;font-size:12px;font-weight:800}.hero-art{display:flex;align-items:center;gap:20px;font-size:30px;opacity:.9}.hero-orb{display:flex;flex-direction:column;align-items:center;justify-content:center;width:155px;height:155px;border:2px solid #ffffff85;border-radius:35px;transform:rotate(-10deg);font-size:75px;background:#ffffff18}.hero-orb small{font-size:12px;letter-spacing:4px}.overview{margin-top:31px}.section-heading,.panel-title{display:flex;justify-content:space-between;gap:18px;align-items:center}.section-heading{margin-bottom:17px}.eyebrow{color:#8153ee;font-weight:800;font-size:10px;letter-spacing:1.1px}.section-heading h2,.panel h2{font-size:19px;margin:7px 0;color:#282343}.panel-title p{font-size:12px;color:#8a879f;line-height:1.7;margin:5px 0}.subject-filter{font-size:12px;color:#706b88;display:flex;align-items:center;gap:9px}.subject-filter select{border:1px solid #e9e3f6;background:#fff;border-radius:10px;padding:11px;color:#393250;font-family:inherit}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.metric,.panel{background:#fff;border:1px solid #eee9f7;border-radius:19px;box-shadow:0 6px 24px #4b327006}.metric{padding:21px;display:flex;flex-direction:column;align-items:flex-start;min-height:173px}.metric-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;font-size:21px;font-weight:700;margin-bottom:11px}.purple{background:#efe9ff;color:#7951e6}.blue{background:#e5f2ff;color:#328cdb}.green{background:#e5f8ee;color:#1f9b65}.orange{background:#fff2e4;color:#e19b30}.metric-label{font-size:11px;color:#757089}.metric strong{font-size:29px;color:#5030b8;margin:5px 0}.metric small{font-size:10px;color:#a09bb2}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:18px;margin-top:20px}.panel{padding:25px;min-width:0}.chart-chip{white-space:nowrap;border-radius:20px;background:#f4f0ff;color:#7551cb;padding:8px 12px;font-size:10px}.chart-wrap{margin-top:24px;min-height:255px}.chart-wrap svg{display:block;width:100%;height:auto}.chart-empty{height:235px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#faf8ff;border-radius:15px;color:#79718d;font-size:12px;gap:10px;padding:20px}.chart-empty span{font-size:30px}.chart-empty a{color:#7449d8;font-weight:700}.subject-bars{display:grid;gap:21px;margin-top:25px}.bar-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:10px}.bar-head strong{color:#342b58}.bar-head span{font-weight:700;color:#7653d5}.bar-track{height:10px;border-radius:30px;background:#eeeaf7;overflow:hidden}.bar-fill{height:100%;border-radius:30px;background:linear-gradient(90deg,#7950e7,#a77aff)}.bar-sub{font-size:10px;color:#a19bb1;margin-top:7px}.topic-list{display:grid;gap:15px;margin-top:21px}.topic-item{display:grid;grid-template-columns:minmax(0,1fr) 95px;align-items:center;gap:15px}.topic-title{font-size:12px;font-weight:700}.topic-meta{font-size:10px;color:#9891a9;margin-top:5px}.topic-side{text-align:right;font-size:12px;font-weight:800;color:#6c45cf}.topic-track{margin-top:6px;height:6px;background:#eeeaf8;border-radius:9px;overflow:hidden}.topic-track>span{display:block;height:100%;border-radius:9px;background:#8056e9}.topic-track>span.low{background:#ec7579}.topic-track>span.high{background:#35bd87}.activity-list{display:grid;gap:0;margin-top:14px}.activity{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #f0edf7}.activity:last-child{border:0}.activity-icon{width:37px;height:37px;flex:none;border-radius:12px;display:grid;place-items:center;background:#f1eafe;color:#794ee0;font-weight:800}.activity strong{font-size:12px}.activity p{font-size:11px;color:#858098;margin:6px 0 0;line-height:1.6}.activity time{display:block;font-size:10px;color:#aaa4b9;margin-top:4px}.insight-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;background:linear-gradient(100deg,#f5efff,#fff);border-color:#e7ddff}.insight-panel p{font-size:12px;line-height:1.8;color:#77708d;max-width:730px}.insight-link{display:inline-block;white-space:nowrap;text-decoration:none;color:white;background:#7950dc;border-radius:12px;padding:13px 17px;font-weight:700;font-size:12px}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}@media(max-width:850px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.hero-art{display:none}}@media(max-width:600px){.progress-content{padding:16px 13px 35px}.progress-hero{padding:28px 23px;border-radius:20px}.metric-grid{gap:9px}.metric{padding:15px;min-height:156px}.metric strong{font-size:25px}.panel{padding:18px}.section-heading{align-items:flex-start;flex-direction:column}.insight-panel{flex-direction:column;align-items:flex-start}.chart-chip{display:none}}

/* Error Analytics */
.ea-section{margin:30px 0 34px}.ea-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.ea-heading h2{font-size:26px;margin:7px 0;color:#28233d}.ea-heading p,.ea-note{color:#817b96;font-size:13px;line-height:1.7}.ea-action{display:inline-flex;text-decoration:none;background:#7850df;color:white!important;padding:12px 17px;border-radius:12px;font-size:13px;font-weight:700;white-space:nowrap}.ea-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.ea-stats article,.ea-card{background:#fff;border:1px solid #eee8f6;border-radius:19px;padding:22px;box-shadow:0 8px 26px rgba(68,46,125,.04)}.ea-stats article span{display:block;color:#817b96;font-size:12px;margin-bottom:12px}.ea-stats strong{font-size:29px;color:#40316e}.ea-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.ea-card h3{font-size:17px;color:#34294d;margin:0 0 8px}.ea-skill{margin:15px 0}.ea-skill-head{display:flex;justify-content:space-between;gap:12px;font-size:13px}.ea-skill-head span{color:#817b96}.ea-track{height:9px;border-radius:10px;background:#f0edf8;overflow:hidden;margin-top:8px}.ea-fill{height:100%;border-radius:10px;background:linear-gradient(90deg,#f4a34b,#e46b75)}.ea-empty{background:#faf8ff;border:1px dashed #e4dbf6;border-radius:12px;padding:22px;color:#7a7293;font-size:13px;line-height:1.7}.ea-question{border-bottom:1px solid #eeeaf5;padding:13px 0}.ea-question:last-child{border-bottom:0}.ea-question strong{display:block;font-size:13px;line-height:1.6}.ea-question small{display:block;color:#817b96;margin-top:5px;line-height:1.5}.ea-advice{padding:15px;background:#f8f5ff;border-radius:13px;color:#50446c;font-size:13px;line-height:1.8;margin:14px 0}.ea-inline{margin-top:14px}.ea-svg{width:100%;height:auto;display:block}.ea-legend{font-size:12px;color:#827993;margin-top:9px}@media(max-width:900px){.ea-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ea-grid{grid-template-columns:1fr}}@media(max-width:540px){.ea-heading{align-items:flex-start;flex-direction:column}.ea-stats article,.ea-card{padding:15px}.ea-heading h2{font-size:22px}}



/* Polished dashboard while preserving the Trang Chủ shell */
.progress-hero{min-height:0;padding:32px 36px;border-radius:22px;background:linear-gradient(120deg,#6741cf,#9168e8);box-shadow:0 12px 28px #6a47bd16}
.progress-hero h1{font-size:clamp(25px,2.6vw,34px);margin:9px 0}.progress-hero p{font-size:12px;margin:0}
.hero-link{padding:10px 15px;margin-top:17px}
.overview{margin-top:26px}.metric-grid{gap:12px}.metric{min-height:130px;padding:19px;border-radius:16px}.metric strong{font-size:27px}.metric-icon{width:34px;height:34px;font-size:18px;margin-bottom:8px}
.panel,.ea-card,.ea-stats article{border-radius:17px;box-shadow:0 3px 16px #42347708;border:1px solid #eaeaf3}.panel{padding:23px}
.dashboard-grid{gap:15px;margin-top:16px}.ea-section{margin:27px 0 8px}.ea-heading{margin-bottom:14px}.ea-heading h2{font-size:23px;margin:5px 0}.ea-heading p{margin:4px 0;font-size:12px}.ea-stats{gap:12px;margin-bottom:14px}.ea-stats article{padding:18px}.ea-stats strong{font-size:25px}.ea-stats article span{margin-bottom:8px;font-size:11px}.ea-grid{gap:14px;margin-bottom:14px}.ea-card{padding:21px}.ea-card h3{font-size:15px}.ea-action{font-size:12px;padding:11px 15px}.chart-wrap{min-height:220px;margin-top:14px}
.q-empty-state{min-height:190px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;text-align:center;padding:23px 16px;color:#8f8ba4;background:linear-gradient(140deg,#fcfbff,#f9f8fd);border:1px dashed #e9e4f3;border-radius:15px}
.q-empty-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#f0eaff;color:#8864dc;font-size:23px;margin-bottom:4px}.q-empty-state strong{color:#5e5875;font-size:13px;font-weight:700}.q-empty-state p{max-width:290px;margin:0;font-size:11px;line-height:1.7}.ea-empty{border:1px dashed #e9e4f3;border-radius:12px;background:#fcfbff;min-height:100px;display:grid;place-items:center;color:#8f8ba4;font-size:12px;line-height:1.65;text-align:center;padding:22px}
.ea-advice{background:#f9f7ff;border:1px solid #ede8fa;color:#73698f;font-size:12px;line-height:1.8;border-radius:14px;padding:22px}
@media(max-width:850px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.hero-art{display:none}}
@media(max-width:600px){.progress-content{padding:16px 13px 35px}.progress-hero{padding:28px 23px;border-radius:20px}.metric-grid{gap:9px}.metric{padding:15px;min-height:156px}.metric strong{font-size:25px}.panel{padding:18px}.section-heading{align-items:flex-start;flex-direction:column}.insight-panel{flex-direction:column;align-items:flex-start}.chart-chip{display:none}}
/* Drawer backdrop: only exists on small screens, no desktop interference. */



/* Tiến Độ content only. The navigation, header and footer inherit the
   original Trang Chủ CSS and its .qurio-page-shell grid unchanged. */
.qurio-progress-page .progress-content { padding: 24px 24px 36px; width:100%; min-width:0; }
.qurio-progress-page .progress-wrap { width:100%; max-width:none; margin:0; min-width:0; }
.qurio-progress-page .qurio-page-shell > .workspace { display:flex; flex-direction:column; min-width:0; }
.qurio-progress-page .qurio-page-shell .progress-content { flex:1 0 auto; }
@media(max-width:850px){.qurio-progress-page .progress-content {padding:18px 16px 32px}}
@media(max-width:600px){.qurio-progress-page .progress-content {padding:14px 12px 28px}}
