/* TQAL Academy 3.0. Scoped styles protect the existing authentication and billing views. */
.v3 {--v3-navy:#0b2742;--v3-blue:#1769db;--v3-border:#dbe5f1;--v3-bg:#f4f7fb;--v3-text:#173252;--v3-muted:#68809c;color:var(--v3-text);max-width:1500px;margin:0 auto;padding:0 0 30px;font-family:Inter,'Segoe UI',Arial,sans-serif;line-height:1.55}
.v3 *, .v3 *::before, .v3 *::after{box-sizing:border-box}
.v3 h1{font-size:clamp(24px,2.4vw,34px);line-height:1.2;margin:6px 0 8px;font-weight:780;color:#092947}
.v3 h2{font-size:17px;color:#122e4d;margin:0 0 12px;font-weight:720}
.v3 h3{font-size:15px;color:#142f50;margin:7px 0 9px}
.v3 p{font-size:13px;color:#58728e;margin:8px 0 14px}
.v3 ol,.v3 ul{margin:10px 0 15px;padding-left:20px}
.v3 li{margin:7px 0;font-size:13px}
.v3-eyebrow{color:#2775da;letter-spacing:1.35px;text-transform:uppercase;font-size:10px;font-weight:850}
.v3-header-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:8px 0 16px}
.v3-state{padding:7px 12px;border:1px solid #c5dbfa;background:#eaf4ff;color:#185dab;border-radius:10px;font-size:11px;font-weight:700}
.v3-hero{background:linear-gradient(115deg,#10335b 0%,#185a9a 66%,#1d8fc2 100%);color:white;border-radius:15px;padding:27px 30px;margin:17px 0;position:relative;overflow:hidden;min-height:175px}
.v3-hero::after{content:'';position:absolute;inset:auto -40px -135px auto;width:290px;height:290px;border:1px solid rgba(255,255,255,.18);border-radius:50%;pointer-events:none}
.v3-hero span{font-size:10px;letter-spacing:1.5px;color:#a9e7fe;font-weight:800}
.v3-hero h2{color:white;font-size:25px;margin:14px 0 8px;max-width:650px}
.v3-hero p{color:#d7ecfc;max-width:650px;margin:0 0 18px}
.v3-hero>div{display:flex;flex-wrap:wrap;gap:9px;position:relative;z-index:1}
.v3-primary,.v3-white,.v3-outline{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 15px;min-height:35px;border:1px solid transparent;border-radius:9px;font-size:12px;font-weight:750;text-decoration:none!important;cursor:pointer;white-space:normal;max-width:100%;text-align:center;transition:transform .14s,background .14s}
.v3-primary{background:#1769db;color:white!important}.v3-primary:hover{background:#1157b9;transform:translateY(-1px)}
.v3-white{background:white;color:#1a558c!important}.v3-outline{background:transparent;color:#1c62aa!important;border-color:#bad6f6}.v3-hero .v3-outline{color:#fff!important;border-color:#aacfea}
.v3-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 23px}
.v3-summary>div{background:white;border:1px solid var(--v3-border);border-radius:12px;padding:14px 16px;min-width:0;display:flex;flex-direction:column;gap:3px}
.v3-summary strong{font-size:27px;font-weight:850;color:#123d65}.v3-summary span{font-size:11px;color:#6783a0}
.v3-section-title{font-size:19px;margin:17px 0 3px!important}
.v3-muted{font-size:12px!important;color:#6b86a2!important}
.v3-pillars{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:15px}
.v3-work-card{border:1px solid var(--v3-border);border-top:4px solid #2b83ed;background:white;border-radius:13px;min-width:0;display:flex;flex-direction:column;padding:18px 14px 17px;min-height:295px;box-shadow:0 3px 8px rgba(15,54,91,.03)}
.v3-work-card.blue{border-top-color:#2472eb}.v3-work-card.purple{border-top-color:#986be4}.v3-work-card.teal{border-top-color:#12aaa0}.v3-work-card.amber{border-top-color:#efa439}.v3-work-card.rose{border-top-color:#f17787}
.v3-number{font-weight:800;font-size:14px;color:#193654;min-height:44px}.v3-work-card p{font-size:11px;min-height:34px;margin:3px 0 7px}.v3-work-card ul{margin:7px 0 16px;flex:1;padding-left:15px}.v3-work-card li{font-size:11px;line-height:1.6;color:#4a6885;margin:11px 0}.v3-work-card .v3-primary{width:100%;margin-top:auto}
.v3-calculator-band{margin:16px 0;background:linear-gradient(100deg,#edf6ff,white);border:1px solid #cfe1f9;border-radius:13px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.v3-calculator-band h2{margin:5px 0;display:flex;align-items:center;gap:9px}.v3-calculator-band p{margin:4px 0}
.v3-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.v3-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.v3-panel{background:white;border:1px solid var(--v3-border);border-radius:13px;padding:18px;min-width:0;margin-bottom:14px;box-shadow:0 3px 10px rgba(8,45,89,.025)}
.v3-panel-foot{border-top:1px solid #e9eff7;margin-top:12px;padding-top:12px}
.v3-heading{padding-bottom:14px;border-bottom:1px solid #e4ebf4;margin-bottom:18px}.v3-heading p{margin:4px 0}
.v3-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:0}
.v3-field{display:flex;flex-direction:column;margin:12px 0;gap:6px;font-size:12px;color:#325775;font-weight:650;min-width:0}
.v3 input,.v3 textarea,.v3 select{max-width:100%;width:100%;background:#fff;border:1px solid #cbd9e9;border-radius:8px;padding:9px 11px;color:#1f3e5b;font-size:12px;line-height:1.4;min-height:37px}
.v3 label:has(input[type=radio]){display:flex;align-items:center;gap:9px;padding:7px 0;font-weight:500}.v3 input[type=radio]{width:15px;min-height:15px;accent-color:#1769db}
.v3 button:focus-visible,.v3 a:focus-visible,.v3 input:focus-visible{outline:3px solid #8abaf7;outline-offset:2px}
.v3-note{border:1px solid #d2e2f6;border-radius:10px;padding:12px 14px;background:#eff7ff;color:#3a5b7d;font-size:12px;display:flex;align-items:flex-start;gap:9px;margin:10px 0;line-height:1.6}
.v3-note svg{width:17px;min-width:17px;height:17px;margin-top:1px}
.v3-question-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:14px 0}.v3-question{background:white;border:1px solid #dde8f4;border-radius:12px;padding:15px;min-width:0}.v3-question p{font-size:12px}
.v3-tag{display:inline-block;background:#edf4fd;color:#3167a3;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:700;margin:2px 0 8px}
.v3-table-wrap{max-width:100%;overflow-x:auto}.v3-table{width:100%;border-collapse:collapse;font-size:12px}.v3-table thead{background:#edf4fc}.v3-table th,.v3-table td{text-align:left;padding:10px 12px;border-bottom:1px solid #e5edf6;white-space:normal;overflow-wrap:anywhere}
.v3-table th{font-size:11px;font-weight:750;color:#22517a}.v3-table td{color:#506c89}
.v3-download-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #eef3f8;font-size:12px}.v3-download-row:last-child{border:0}.v3-download-row>span{min-width:0;overflow-wrap:anywhere}
.v3-tracks{display:grid;grid-template-columns:1fr;gap:12px}.v3-lesson{display:grid;grid-template-columns:34px 1fr;gap:10px}.v3-lesson ol{color:#304e6d}.v3-lesson li{font-size:12px}.v3-step{width:30px;height:30px;background:#edf4ff;color:#1769db;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px}
.v3-assignment{background:#f5f9ff;border:1px solid #e0ecfc;border-radius:10px;padding:12px 14px;margin:12px 0}.v3-assignment strong{color:#204d7d;font-size:13px}
.v3-quiz{border:1px solid #e1eaf3;border-radius:9px;margin:12px 0;padding:12px 14px}.v3-quiz legend{font-size:12px;font-weight:730;color:#164a77;padding:0 6px}
.v3-actions,.v3-flex{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}
.v3-pipeline{color:#3a6895;font-size:13px;padding:12px;border-radius:9px;background:#f5f9ff}
.v3-result{white-space:pre-wrap;word-break:break-word;font-size:11px;line-height:1.6;padding:12px;background:#0d2740;color:#e0f2ff;max-height:520px;overflow:auto;border-radius:9px}
.v3-exercise-answer{white-space:pre-wrap;background:#f2f6fc;padding:11px;border-radius:8px;border:1px solid #e0e8f3}
.v3-small-gap{height:12px}.v3-mapping{border:1px solid #e1e9f5;background:#f8fbff;border-radius:10px;padding:12px;margin:12px 0}
@media(max-width:1430px){.v3-pillars{grid-template-columns:repeat(3,minmax(0,1fr))}.v3-work-card{min-height:255px}.v3-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.v3-pillars{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-grid-two,.v3-question-grid,.v3-card-grid{grid-template-columns:1fr}}
@media(max-width:580px){.v3-hero{padding:23px 19px}.v3-hero h2{font-size:21px}.v3-pillars{grid-template-columns:1fr}.v3-work-card{min-height:0}.v3-calculator-band{align-items:flex-start;flex-direction:column}.v3-form-grid{grid-template-columns:1fr}.v3-lesson{grid-template-columns:1fr}.v3-summary>div{padding:11px}.v3-summary strong{font-size:21px}}
/* Career & Auditor classes 3.8 */
.cl-admin-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff7e6;border:1px solid #f3d38b;color:#6b4b00;border-radius:10px;padding:10px 14px;margin:0 0 14px;font-size:13px}
.cl-admin-bar .icon{width:18px;height:18px}
.v3-primary.cl-inline,.cl-inline{width:auto!important;margin-top:0!important}
.cl-btn{color:#1c62aa!important;border-color:#bad6f6!important;background:#fff!important;width:auto}
.cl-btn[disabled]{opacity:.4;cursor:not-allowed}
.cl-card{display:flex;flex-direction:column;gap:6px}.cl-card h2{margin:2px 0}.cl-card-top{display:flex;gap:8px;align-items:center}
.cl-level{display:inline-block;background:#e9f8f4;color:#0b7a64;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:700}
.cl-desc{font-size:12.5px;line-height:1.55}.cl-meta{font-size:12px;color:#325775;font-weight:650;margin:2px 0 10px}
.cl-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px}.cl-lead{font-size:14px;line-height:1.6;color:#173a5e}
.cl-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start}.cl-facts>div{background:#f3f8fd;border:1px solid #dbe9f6;border-radius:10px;padding:10px;display:flex;flex-direction:column}.cl-facts strong{font-size:20px;color:#0b2f57}.cl-facts span{font-size:11px;color:#607799}
.cl-progress{height:7px;background:#e6eef7;border-radius:6px;overflow:hidden;margin-top:14px}.cl-progress span{display:block;height:100%;background:#0fa37f}
.cl-list,.cl-steps,.cl-check{margin:6px 0 4px 20px;line-height:1.6;font-size:13.5px}.cl-steps li{margin:6px 0}.cl-check{list-style:none;margin-left:0;padding:0}.cl-check li:before{content:'☐ ';color:#1769db}
.cl-syllabus{list-style:none;margin:10px 0;padding:0;display:flex;flex-direction:column;gap:8px}
.cl-syllabus a{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #dbe9f6;border-radius:10px;text-decoration:none;color:#0b2f57;background:#fff}
.cl-syllabus a:hover{border-color:#1769db;background:#f6faff}.cl-num{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#edf4fd;font-weight:800;color:#1769db}
.cl-title{display:flex;flex-direction:column;min-width:0}.cl-title small{color:#607799;font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cl-time{font-size:11px;color:#607799;white-space:nowrap}.cl-status{font-size:11px;font-weight:700;border-radius:6px;padding:3px 7px;background:#eef2f6;color:#4a6078;white-space:nowrap}
.cl-ok{background:#e3f7ee!important;color:#0b7a4b!important}.cl-warn{background:#fff1e6!important;color:#9a4a00!important}.cl-info{background:#e8f1fd!important;color:#1857a4!important}
.cl-crumbs{font-size:12px;color:#607799;margin:0 0 12px}.cl-link{color:#1769db;text-decoration:none;font-weight:650}
.cl-lesson-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start}
.cl-side{position:sticky;top:12px;max-height:calc(100vh - 40px);overflow:auto}.cl-side h3{font-size:14px;margin:0 0 8px}.cl-side .cl-syllabus a{grid-template-columns:28px minmax(0,1fr);padding:8px}.cl-side .cl-time,.cl-side .cl-title small{display:none}.cl-side .cl-status{grid-column:2;justify-self:start}
.cl-lesson-head{border-bottom:1px solid #e1edf8;padding-bottom:12px;margin-bottom:6px}.cl-lesson-head h2{font-size:22px;margin:8px 0 4px}.cl-lesson-head .cl-time,.cl-lesson-head .cl-status{margin-left:8px}
.cl-section{padding:12px 0;border-bottom:1px dashed #e1edf8}.cl-section h3{display:flex;gap:10px;align-items:center;font-size:15px;color:#0b2f57;margin:0 0 6px}.cl-section h3 span{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#1769db;color:#fff;font-size:12px}
.cl-section p{font-size:13.5px;line-height:1.65;margin:6px 0}.cl-example{background:#f5fbf8;border-left:4px solid #0fa37f;border-radius:6px;padding:4px 12px}
.cl-assignment{background:#f7fbff;border:1px solid #dbe9f6;border-radius:10px;padding:12px 14px;margin-top:10px}
.cl-pager{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px}
.cl-q-lesson{display:block;font-weight:500;color:#607799;font-size:11px;margin-top:2px}
.cl-result.cl-pass{background:#e3f7ee;border-color:#9fdcc2}.cl-result.cl-fail{background:#fff4e8;border-color:#f3c99a}
.cl-feedback{font-size:12.5px;line-height:1.55;margin:10px 0 0 18px}.cl-feedback li{padding:6px 8px;border-radius:7px;margin:5px 0}
.cl-badge{display:inline-block;font-size:10px;font-weight:700;border-radius:5px;padding:3px 7px;background:#eef2f6;color:#4a6078;vertical-align:middle;margin-left:6px}.cl-edited{background:#e8f1fd;color:#1857a4}.cl-custom{background:#e9f8f4;color:#0b7a64}.cl-hidden{background:#fdecec;color:#a12828}
.cl-editor-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.cl-editor-head h2{margin:0}
.cl-editor-table td{vertical-align:middle}.cl-row-hidden{opacity:.55}.cl-row-actions{display:flex;gap:6px;flex-wrap:wrap}
.cl-quiz-edit{border:1px solid #dbe9f6;border-radius:10px;padding:10px 14px;margin:10px 0}.cl-quiz-edit legend{font-weight:750;color:#0b2f57;padding:0 6px}
.cl-opt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.cl-resource{display:grid;grid-template-columns:1fr 1.4fr auto;gap:10px;align-items:end}
.cl-save-bar{position:sticky;bottom:0;z-index:3;display:flex;gap:10px;flex-wrap:wrap;align-items:center;background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:12px;margin:10px 0 14px;box-shadow:0 -3px 14px #0b1f3a0d}
.cl-submit{width:auto!important;margin-top:0!important}
.v3-field textarea{font:13px/1.55 inherit;padding:8px;border:1px solid #cbd5e1;border-radius:8px}
@media(max-width:1100px){.cl-lesson-layout{grid-template-columns:1fr}.cl-side{position:static;max-height:none}.cl-overview-grid{grid-template-columns:1fr}}
@media(max-width:640px){.cl-syllabus a{grid-template-columns:30px minmax(0,1fr)}.cl-syllabus .cl-time{display:none}.cl-syllabus .cl-status{grid-column:2;justify-self:start}.cl-opt-grid,.cl-resource{grid-template-columns:1fr}}
