/* THE CASE HQ — Student Portal v1.0.0 */
.chq-portal,.chq-portal *{box-sizing:border-box}
.chq-portal{--chq-blue:#087df0;--chq-navy:#071937;--chq-border:#e2eaf5;--chq-muted:#63748b;font-family:'DM Sans',sans-serif;color:var(--chq-navy);background:#f7faff;font-size:14px;line-height:1.65;width:100%}
.chq-portal h1,.chq-portal h2,.chq-portal h3,.chq-portal h4,.chq-portal strong,.chq-portal button{font-family:Manrope,sans-serif}
.chq-portal h1,.chq-portal h2,.chq-portal h3,.chq-portal p{margin-top:0}
.chq-portal a{text-decoration:none!important}
.chq-icon{display:inline-block;flex-shrink:0;vertical-align:middle}
.chq-eyebrow{display:inline-block;font-family:Manrope,sans-serif;font-size:11px;font-weight:800;letter-spacing:1.2px;color:var(--chq-blue);text-transform:uppercase}
.chq-muted{color:var(--chq-muted)}
.chq-primary,.chq-outline,.chq-heading-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;border:1px solid var(--chq-blue)!important;border-radius:8px;padding:11px 20px;background:var(--chq-blue)!important;color:#fff!important;font:800 13px Manrope,sans-serif;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.chq-primary:hover,.chq-heading-button:hover{background:#0068d2!important;border-color:#0068d2!important;transform:translateY(-1px)}
.chq-outline{background:#fff!important;color:var(--chq-blue)!important}
.chq-outline:hover{background:#edf6ff!important}
.chq-alert{padding:12px 16px;margin:17px 0;border-radius:8px;font-size:13px;line-height:1.55}
.chq-alert--success{border:1px solid #bee5d1;background:#eefbf5;color:#176945}
.chq-alert--error{border:1px solid #ffd2ce;background:#fff5f3;color:#9c3936}
/* Auth screens */
.chq-auth{padding:56px 24px 80px;background:linear-gradient(120deg,#fff,#f2f8ff 70%,#eaf5ff)}
.chq-auth-layout{max-width:1150px;margin:0 auto;display:grid;grid-template-columns:1fr 1.05fr;min-height:630px;background:#fff;border:1px solid #e0eaf5;border-radius:22px;overflow:hidden;box-shadow:0 25px 80px rgba(11,50,93,.085)}
.chq-auth-aside{padding:58px 52px;background:linear-gradient(150deg,#071937 0%,#0a3263 65%,#087df0 145%);color:#fff;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
.chq-auth-aside:before{content:"";position:absolute;right:-135px;bottom:-210px;width:440px;height:440px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 92px rgba(255,255,255,.025);pointer-events:none}
.chq-auth-aside .chq-eyebrow{color:#91cbff;margin-bottom:18px;position:relative}
.chq-auth-aside h2{font-size:clamp(30px,3vw,42px);line-height:1.18;letter-spacing:-1px;font-weight:800;color:#fff;margin-bottom:20px;position:relative}
.chq-auth-aside p{font-size:15px;line-height:1.8;color:#d3e3f8;max-width:390px;position:relative}
.chq-auth-logo{align-self:flex-start;margin-bottom:70px;padding:10px;border-radius:12px;background:#fff;position:relative}
.chq-auth-logo img{display:block;width:135px;height:auto}
.chq-auth-benefits{display:flex;flex-direction:column;gap:12px;margin-top:35px;position:relative}
.chq-auth-benefits span{display:flex;align-items:center;gap:11px;font-size:13px;font-weight:600;color:#e2ecf9}
.chq-auth-benefits .chq-icon{width:19px;color:#72d4fb}
.chq-auth-main{display:flex;align-items:center;justify-content:center;padding:48px 46px}
.chq-auth-card{width:100%;max-width:430px}
.chq-auth-card .chq-eyebrow{margin-bottom:12px}
.chq-auth-card h1{font-size:clamp(26px,3vw,34px);font-weight:800;letter-spacing:-.8px;line-height:1.3;margin-bottom:12px;color:#071937}
.chq-auth-card>.chq-muted{margin-bottom:25px;font-size:14px;line-height:1.7}
/* forms */
.chq-form{display:flex;flex-direction:column;gap:19px}
.chq-form label{display:flex;flex-direction:column;gap:7px;font-size:12.5px;font-weight:700;color:#243753}
.chq-form input[type=text],.chq-form input[type=email],.chq-form input[type=password],.chq-form input[type=search]{width:100%;min-width:0;min-height:46px;margin:0;padding:11px 13px;border:1px solid #dce7f3!important;border-radius:8px!important;background:#fff!important;color:#152744;font:500 14px 'DM Sans',sans-serif;box-shadow:none!important;outline:none!important}
.chq-form input:focus{border-color:#087df0!important;box-shadow:0 0 0 3px rgba(8,125,240,.09)!important}
.chq-form input:disabled{background:#f4f7fb!important;color:#78889c}
.chq-form label small{color:#8491a3;font-size:11px;font-weight:500}
.chq-form-two{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.chq-form-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.chq-form-row .chq-check{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:12px;font-weight:500;color:#53647b}
.chq-form-row input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:#087df0}
.chq-form-row a,.chq-auth-switch a,.chq-text-link{color:#087df0!important;font-weight:800;font-size:12px}
.chq-form .chq-primary{width:100%;margin-top:4px}
.chq-password-wrap{display:flex;align-items:center;position:relative}
.chq-password-wrap input{padding-right:65px!important}
.chq-form .chq-pw-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;min-width:45px;min-height:34px;background:transparent!important;color:#087df0!important;border:0!important;padding:0 5px;margin:0;font-size:11px;font-weight:800;cursor:pointer}
.chq-auth-switch{text-align:center;margin:23px 0 0;color:#66768b;font-size:13px}
.chq-form-legal{margin:0;color:#7a899c;font-size:11px;line-height:1.6}
/* Dashboard */
.chq-dashboard{padding:58px 24px 96px;background:linear-gradient(#f8fbff,#f6faff)}
.chq-dashboard-wrap{max-width:1250px;margin:0 auto}
.chq-dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:31px}
.chq-dashboard-heading .chq-eyebrow{margin-bottom:9px}
.chq-dashboard-heading h1{font-size:clamp(27px,3vw,39px);font-weight:800;line-height:1.26;letter-spacing:-.9px;margin:0 0 8px}
.chq-dashboard-heading p{margin:0;color:#63748b;font-size:14px}
.chq-heading-button{flex-shrink:0}
.chq-dashboard-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:26px;align-items:start}
.chq-dash-sidebar{border:1px solid #e2eaf5;background:#fff;border-radius:14px;box-shadow:0 5px 22px rgba(12,44,85,.035);padding:18px;min-width:0}
.chq-user-block{display:flex;align-items:center;gap:12px;padding:10px 8px 21px;border-bottom:1px solid #edf1f6}
.chq-user-block img{width:54px;height:54px;border-radius:50%;object-fit:cover;flex-shrink:0}
.chq-user-block-meta{min-width:0;display:flex;flex-direction:column}
.chq-user-block-meta strong{font-size:13px;font-weight:800;overflow-wrap:anywhere}
.chq-user-block-meta span{font-size:11px;color:#8290a4}
.chq-dash-nav{display:flex;flex-direction:column;gap:4px;padding:17px 0 15px}
.chq-dash-nav a,.chq-dash-logout{display:flex;align-items:center;gap:11px;min-height:44px;padding:11px 12px;border-radius:8px;color:#52647c!important;font-size:12.5px;font-weight:700;transition:background .2s,color .2s}
.chq-dash-nav a:hover{background:#f1f7ff;color:#087df0!important}
.chq-dash-nav a.is-active{background:#eaf4ff;color:#087df0!important;font-weight:800}
.chq-dash-nav .chq-icon,.chq-dash-logout .chq-icon{width:18px;height:18px}
.chq-dash-nav a span{min-width:0;flex:1}
.chq-dash-nav em{font-size:11px;font-style:normal;color:#6084ac}
.chq-dash-logout{border-top:1px solid #edf1f6;border-radius:0;padding-top:18px;color:#a44545!important}
.chq-dash-content{min-width:0}
.chq-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:36px}
.chq-stats>div{display:flex;flex-direction:column;justify-content:center;min-height:130px;background:#fff;border:1px solid #e2eaf5;border-radius:12px;padding:20px;box-shadow:0 5px 17px rgba(12,44,85,.035)}
.chq-stats span{font-size:12px;color:#687a91;font-weight:600}
.chq-stats strong{font-family:Manrope,sans-serif;font-size:32px;font-weight:800;color:#071937;line-height:1.45}
.chq-stats small{font-size:11px;color:#8493a7;line-height:1.5}
.chq-section-top{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:21px}
.chq-section-top h2{font-family:Manrope,sans-serif;font-size:24px;font-weight:800;color:#071937;letter-spacing:-.5px;line-height:1.3;margin:6px 0 0}
.chq-section-top p{color:#7a8ba1;font-size:13px;margin:7px 0 0}
.chq-section-top>a{color:#087df0!important;font-size:12px;font-weight:800;white-space:nowrap}
.chq-courses-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.chq-course{display:flex;flex-direction:column;min-width:0;border:1px solid #e0eaf4;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 6px 18px rgba(18,57,102,.045);transition:transform .2s,box-shadow .2s}
.chq-course:hover{transform:translateY(-3px);box-shadow:0 13px 30px rgba(18,57,102,.085)}
.chq-course-image{display:block;width:100%;aspect-ratio:16/10;overflow:hidden;background:#e9f4ff}
.chq-course-image img{width:100%;height:100%;display:block;object-fit:cover}
.chq-course-placeholder{height:100%;display:flex;align-items:center;justify-content:center;font:800 20px Manrope,sans-serif;color:#087df0;background:linear-gradient(120deg,#e5f2ff,#f7fbff)}
.chq-course-body{padding:19px 17px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.chq-course-state{font-size:10px;letter-spacing:.3px;font-weight:800;color:#087df0;background:#edf6ff;border-radius:5px;padding:5px 9px;margin-bottom:12px}
.chq-course h3{font-size:15px;line-height:1.5;font-weight:800;letter-spacing:-.2px;margin:0 0 22px}
.chq-course h3 a{color:#071937!important}
.chq-course h3 a:hover{color:#087df0!important}
.chq-course-progress-label{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;font-size:11px;color:#7d8ca0;margin-top:auto;margin-bottom:8px}
.chq-course-progress-label strong{color:#071937;font-size:12px}
.chq-progress{height:7px;width:100%;background:#e7eff8;border-radius:99px;overflow:hidden}
.chq-progress span{display:block;height:100%;border-radius:99px;background:#087df0}
.chq-course-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;width:100%;margin-top:16px;padding-top:15px;border-top:1px solid #edf1f6}
.chq-course-open,.chq-course-certificate{color:#087df0!important;font-size:11.5px;font-weight:800}
.chq-course-certificate{color:#216d52!important}
.chq-empty,.chq-connect-card,.chq-settings-card{background:#fff;border:1px solid #e2eaf5;border-radius:12px;padding:33px;box-shadow:0 5px 20px rgba(10,40,80,.03)}
.chq-empty h3,.chq-connect-card h3{font-size:20px;font-weight:800;margin:0 0 10px}
.chq-empty p,.chq-connect-card p{color:#687b91;font-size:13px;line-height:1.75}
.chq-empty a{font-size:13px;font-weight:800;color:#087df0!important}
.chq-promo{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:29px;padding:26px 30px;border-radius:12px;background:linear-gradient(105deg,#071937,#0d3a75);color:#fff}
.chq-promo span{color:#93cdff;font-size:10px;font-weight:800;letter-spacing:1px}
.chq-promo h3{margin:6px 0;font-size:19px;font-weight:800;line-height:1.4;color:#fff}
.chq-promo p{margin:0;color:#cadff6;font-size:12px}
.chq-promo a{color:#071937!important;background:#fff;border-radius:7px;padding:11px 16px;font-size:12px;font-weight:800;white-space:nowrap}
.chq-cert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.chq-cert{padding:25px;border:1px solid #e2eaf5;border-radius:12px;background:#fff}
.chq-cert-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;background:#edf6ff;border-radius:10px;color:#087df0;margin-bottom:15px}
.chq-cert h3{font-size:16px;line-height:1.5;font-weight:800;margin-bottom:6px}
.chq-cert>span{display:block;font-size:12px;color:#667a91;margin-bottom:19px}
.chq-cert>a{color:#087df0!important;font-size:12px;font-weight:800}
.chq-connect-card{max-width:670px}
.chq-connect-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:12px;color:#087df0;background:#eaf5ff;margin-bottom:20px}
.chq-connect-card .chq-primary{margin-top:13px}
.chq-connect-card .chq-text-link{display:inline-block;margin-left:16px}
.chq-settings-card{max-width:710px}
.chq-settings-card .chq-form .chq-primary{width:auto;align-self:flex-start;padding-left:24px;padding-right:24px}
.chq-profile-intro{display:flex;align-items:center;gap:17px;padding-bottom:24px;margin-bottom:25px;border-bottom:1px solid #e8eef5}
.chq-profile-intro img{width:66px;height:66px;border-radius:50%;object-fit:cover}
.chq-profile-intro div{display:flex;flex-direction:column;gap:3px}
.chq-profile-intro strong{font-size:16px;font-weight:800}
.chq-profile-intro small{font-size:11px;color:#8290a4;line-height:1.55}
.chq-login-required,.chq-portal-redirect{max-width:1250px;margin:0 auto;padding:80px 24px;text-align:center}
.chq-login-required h2{font-size:30px;font-weight:800}
.chq-login-required p{color:#607187;margin-bottom:22px}
.chq-login-required .chq-outline{margin-left:8px}
@media(max-width:1150px){.chq-dashboard-grid{grid-template-columns:225px minmax(0,1fr);gap:20px}.chq-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chq-courses-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chq-dashboard{padding:48px 22px 75px}}
@media(max-width:820px){.chq-auth-layout{grid-template-columns:1fr}.chq-auth-aside{padding:30px 35px;min-height:0}.chq-auth-logo{margin-bottom:25px}.chq-auth-aside h2{font-size:28px}.chq-auth-benefits{display:none}.chq-auth-main{padding:37px 30px}.chq-dashboard-grid{grid-template-columns:1fr}.chq-dash-sidebar{padding:13px}.chq-user-block{padding:7px 8px 13px}.chq-dash-nav{flex-direction:row;flex-wrap:wrap;padding:10px 0}.chq-dash-nav .chq-nav-link{flex:1 1 145px;justify-content:flex-start}.chq-dash-logout{padding:10px 12px}.chq-courses-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.chq-auth{padding:18px 13px 35px}.chq-auth-layout{border-radius:15px}.chq-auth-aside{padding:28px 25px}.chq-auth-aside h2{font-size:25px}.chq-auth-main{padding:31px 23px}.chq-form-two{grid-template-columns:1fr;gap:17px}.chq-dashboard{padding:34px 16px 62px}.chq-dashboard-heading{align-items:flex-start;flex-direction:column;gap:14px}.chq-dashboard-heading h1{font-size:27px}.chq-heading-button{min-height:40px}.chq-dashboard-grid{gap:18px}.chq-dash-nav .chq-nav-link{flex-basis:calc(50% - 4px);font-size:11px;padding:9px 8px;gap:6px}.chq-dash-nav .chq-nav-link .chq-icon{width:16px;height:16px}.chq-stats{gap:10px;margin-bottom:26px}.chq-stats>div{padding:17px;min-height:115px}.chq-stats strong{font-size:27px}.chq-stats small{font-size:10px}.chq-section-top h2{font-size:21px}.chq-courses-grid,.chq-cert-grid{grid-template-columns:1fr}.chq-empty,.chq-connect-card,.chq-settings-card{padding:22px}.chq-promo{padding:24px;align-items:flex-start;flex-direction:column}.chq-connect-card .chq-text-link{display:block;margin:15px 0 0}.chq-settings-card .chq-form .chq-primary{width:100%}}
.chq-portal a:focus-visible,.chq-portal button:focus-visible,.chq-portal input:focus-visible{outline:3px solid #087df0;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.chq-portal *{transition:none!important}}
/* v1.1 visual refresh: screenshot-inspired dashboard without fabricated student data */
.chq-dashboard{padding:32px 20px 76px;background:#f7fafe}
.chq-dashboard-wrap{max-width:1450px}
.chq-dashboard-grid{grid-template-columns:205px minmax(0,1fr);gap:24px}
.chq-dashboard-heading.chq-overview-hide{display:none}
.chq-dash-sidebar{background:transparent;border:0;box-shadow:none;padding:3px 0;position:sticky;top:25px}
.chq-user-block{display:none}
.chq-dash-nav{padding:0;gap:5px}
.chq-dash-nav a{font-size:13px;min-height:48px;padding:12px 16px}
.chq-dash-nav a.is-active{position:relative;background:#e6f3ff}
.chq-dash-nav a.is-active:before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;background:#0079ff;border-radius:4px}
.chq-dash-logout{margin-top:25px}
.chq-welcome-card,.chq-overview-panel{background:#fff;border:1px solid #edf2fa;box-shadow:0 7px 28px rgba(27,62,116,.035);border-radius:12px}
.chq-welcome-card{padding:28px 32px;margin-bottom:25px;background:radial-gradient(ellipse at top right,#eaf5ff 0,transparent 44%),#fff}
.chq-welcome-main{display:flex;align-items:center;gap:28px}
.chq-welcome-main>img{height:104px;width:104px;object-fit:cover;border-radius:50%;border:7px solid #dcecff}
.chq-welcome-main h1{font-size:30px;line-height:1.3;margin:3px 0;font-weight:800}
.chq-welcome-main p{color:#7888a4;margin:0}
.chq-edit-profile{margin-left:auto;align-self:flex-start;background:#fff;border:1px solid #e6edf7;border-radius:7px;padding:10px 13px;color:#122a54!important;font-size:12px;font-weight:800}
.chq-edit-profile svg{width:14px;height:14px}
.chq-welcome-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:32px}
.chq-welcome-stats>div{display:grid;grid-template-columns:50px auto;column-gap:12px;align-items:center;padding:3px 18px;border-right:1px solid #dce6f2}
.chq-welcome-stats>div:first-child{padding-left:0}.chq-welcome-stats>div:last-child{border:0}
.chq-stat-icon{grid-row:span 2;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px}
.chq-stat-icon svg{width:25px;height:25px}.chq-stat-blue{color:#077cff;background:#e8f4ff}.chq-stat-green{color:#16a579;background:#e6f7ef}.chq-stat-purple{color:#9942e7;background:#f4e9ff}.chq-stat-orange{color:#f79521;background:#fff3e3}
.chq-welcome-stats strong{font-size:22px;line-height:1.25}.chq-welcome-stats small{font-size:12px;color:#697b96}
.chq-featured{padding:24px 27px;display:grid;grid-template-columns:1.2fr .9fr;gap:28px;align-items:center;background:linear-gradient(115deg,#edf7ff,#e9f3fd);border-radius:12px;margin-bottom:22px}
.chq-featured-detail h2{font-size:26px;line-height:1.28;margin:10px 0 6px}.chq-featured-detail p{color:#7283a0;margin-bottom:17px}
.chq-featured-meter{display:flex;align-items:center;gap:12px;margin-bottom:18px;color:#087df0}.chq-featured-meter .chq-progress{flex:1;background:#d5e9fc;height:9px}
.chq-featured-buttons{display:flex;gap:12px;flex-wrap:wrap}.chq-featured-buttons .chq-outline{background:transparent!important;border-color:#c7dff8!important;color:#0e3165!important}
.chq-featured-image{height:205px;border-radius:11px;overflow:hidden}.chq-featured-image img,.chq-featured-image>div{width:100%;height:100%;object-fit:cover;display:block}
.chq-overview-panel{padding:24px 22px;margin-bottom:20px}.chq-overview-panel .chq-section-top{margin-bottom:20px}.chq-overview-panel .chq-section-top h2{font-size:25px;margin:0}
.chq-courses-grid{gap:18px}.chq-course{border-radius:10px}.chq-course-image{aspect-ratio:2.1/1}.chq-course-body{padding:14px 15px 15px}.chq-course h3{font-size:14px;line-height:1.35;min-height:39px;margin-bottom:16px}
.chq-course-meter{display:flex;align-items:center;gap:10px;width:100%;margin-top:auto}.chq-course-meter .chq-progress{flex:1;height:9px;background:#e9eef6}.chq-course-meter strong{font-size:12px;color:#2e4270}.chq-course-meta{display:flex;justify-content:space-between;gap:8px;margin-top:15px;width:100%;font-size:11px;color:#617493}.chq-course-meta svg{width:15px;height:15px}
.chq-course-open{width:100%;margin-top:16px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:7px;background:#087df0;color:#fff!important;font-size:12px;font-weight:800}.chq-course-open:hover{background:#0669ce}.chq-course-open svg{width:16px;height:16px}.chq-course-certificate{margin-top:8px}
.chq-overview-lower{display:grid;grid-template-columns:1fr 1fr;gap:20px}.chq-overview-lower .chq-overview-panel{min-width:0}.chq-overview-lower .chq-section-top h2{font-size:21px}
.chq-mini-cert,.chq-activity-row{display:flex;align-items:center;gap:13px;padding:12px 0;border-bottom:1px solid #edf2f8}.chq-mini-cert:last-child,.chq-activity-row:last-child{border:0}
.chq-mini-cert-icon,.chq-activity-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:#eaf5ff;color:#087df0;border-radius:10px;flex-shrink:0}.chq-activity-icon{border-radius:50%;height:43px;width:43px}
.chq-mini-cert>div,.chq-activity-row>div{flex:1;min-width:0}.chq-mini-cert strong,.chq-activity-row strong{font-size:12px;display:block;line-height:1.5}.chq-mini-cert small,.chq-activity-row small{display:block;color:#71819b;font-size:11px}.chq-mini-cert a,.chq-soft-tag{font-size:11px;padding:8px;border-radius:6px;background:#edf6ff;color:#087df0!important;font-weight:700;white-space:nowrap}
.chq-promo{background:linear-gradient(115deg,#e2f1ff,#f3f9ff);color:#091d42;padding:30px 35px}.chq-promo h3{color:#091d42}.chq-promo p{color:#657998}.chq-promo a{background:#087df0;color:#fff!important}
@media(max-width:1100px){.chq-dashboard-grid{grid-template-columns:175px minmax(0,1fr)}.chq-welcome-stats>div{grid-template-columns:38px auto;padding:3px 8px;gap:7px}.chq-stat-icon{height:38px;width:38px}.chq-stat-icon svg{width:21px}.chq-welcome-stats small{font-size:10px}.chq-overview-lower{grid-template-columns:1fr}}
@media(max-width:820px){.chq-dashboard-grid{grid-template-columns:1fr}.chq-dash-sidebar{position:static}.chq-dash-nav{flex-direction:row;flex-wrap:wrap}.chq-dash-nav .chq-nav-link{flex:1 1 125px}.chq-dash-logout{margin-top:0}.chq-featured{grid-template-columns:1fr 1fr}.chq-welcome-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.chq-welcome-stats>div:nth-child(2){border:0}}
@media(max-width:600px){.chq-dashboard{padding:18px 12px 50px}.chq-welcome-card{padding:21px 17px}.chq-welcome-main{gap:13px;flex-wrap:wrap}.chq-welcome-main>img{width:76px;height:76px}.chq-welcome-main h1{font-size:23px}.chq-edit-profile{margin-left:0}.chq-welcome-stats{margin-top:25px}.chq-featured{grid-template-columns:1fr;padding:20px}.chq-featured-image{height:180px;grid-row:1}.chq-featured-detail h2{font-size:22px}.chq-overview-panel{padding:20px 15px}.chq-course-image{aspect-ratio:2.1/1}.chq-overview-lower{gap:0}.chq-promo{padding:25px 20px}}

/* v1.2: 1250px dashboard, white sidebar and higher-contrast navigation */
.chq-dashboard .chq-dashboard-wrap{width:100%;max-width:1250px;margin-inline:auto}
.chq-dashboard .chq-dash-sidebar{background:#fff;border:1px solid #e5edf6;border-radius:14px;box-shadow:0 6px 22px rgba(16,46,88,.055);padding:16px;position:sticky;top:24px;align-self:start}
.chq-dashboard .chq-dash-nav{gap:6px}
.chq-dashboard .chq-dash-nav a{color:#1d2b43!important;font-weight:750;border-radius:9px}
.chq-dashboard .chq-dash-nav a:hover{color:#075fc5!important;background:#f0f6ff}
.chq-dashboard .chq-dash-nav a.is-active{background:#e8f3ff;color:#0069e5!important}
.chq-dashboard .chq-dash-nav em{color:#53657b}
.chq-dashboard .chq-dash-logout{color:#25334b!important}
.chq-dashboard .chq-dash-content{transition:opacity .15s ease}
.chq-dashboard.chq-tab-loading .chq-dash-content{opacity:.55;pointer-events:none}
.chq-dashboard .chq-dash-content:focus{outline:none}
@media(max-width:820px){.chq-dashboard .chq-dash-sidebar{position:static;padding:12px}}
@media(prefers-reduced-motion:reduce){.chq-dashboard .chq-dash-content{transition:none}}

/* Native WooCommerce records displayed safely inside the student portal */
.chq-order-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px;border-bottom:1px solid #e2eaf5;padding-bottom:12px}
.chq-order-tabs a{padding:10px 16px;border-radius:8px;font-weight:750;color:#263852;background:#f1f5fa}
.chq-order-tabs a.is-active{background:#e5f2ff;color:#087df0}
.chq-order-history,.chq-order-detail{border:1px solid #e2eaf5;background:#fff;border-radius:13px;overflow:hidden}
.chq-order-table-scroll{overflow-x:auto}
.chq-order-table{width:100%;min-width:590px;border-collapse:collapse;font-size:13px}
.chq-order-table th{text-align:left;background:#f7faff;padding:16px 18px;color:#516078;font-size:12px}
.chq-order-table td{padding:17px 18px;border-top:1px solid #e8eef6;vertical-align:middle;color:#20334d}
.chq-order-view,.chq-order-back{font-weight:800;color:#087df0!important}
.chq-order-status{display:inline-flex;border-radius:24px;background:#eaf5ff;color:#1764b1;padding:5px 11px;font-size:12px;font-weight:750;white-space:nowrap}
.chq-order-pagination{padding:16px 20px;display:flex;gap:20px;align-items:center;justify-content:flex-end}
.chq-order-pagination a{font-weight:800;color:#087df0}
.chq-order-detail{padding:28px}
.chq-order-back{display:inline-block;margin-bottom:20px}
.chq-order-summary{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:20px}
.chq-order-summary h3{font-size:23px;margin:4px 0}
.chq-order-summary p{color:#63748b;margin:0}
.chq-order-line{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #e7edf5;padding:14px 0}
.chq-order-line:first-child{border-top:0}
.chq-order-line-head{background:#f7faff;margin:0 -10px;padding:12px 10px}
.chq-order-line small{color:#63748b}
.chq-order-address{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}
.chq-order-address>div{padding:20px;background:#f7faff;border:1px solid #e7edf5;border-radius:10px}
.chq-order-address h4{margin:0 0 8px}
.chq-order-address p{margin:0;color:#63748b}
.chq-billing-card{max-width:850px}
.chq-billing-card h3{font-size:20px;margin-bottom:8px}
.chq-billing-card .chq-form-wide{grid-column:1/-1}
@media(max-width:600px){.chq-order-address{grid-template-columns:1fr}.chq-order-detail{padding:18px}.chq-order-tabs a{font-size:12px;padding:9px 12px}}
