:root{
  --navy:#17375e;
  --navy-2:#0f2948;
  --navy-3:#24598e;
  --gold:#d3a93b;
  --gold-soft:#f7edd1;
  --bg:#f4f7fb;
  --surface:#ffffff;
  --surface-2:#f8fafc;
  --text:#1d2a3a;
  --muted:#667085;
  --line:#e3e8ef;
  --success:#067647;
  --success-bg:#dcfae6;
  --warning:#9a6700;
  --warning-bg:#fff3d6;
  --danger:#b42318;
  --danger-bg:#fee4e2;
  --info:#175cd3;
  --info-bg:#e8f1ff;
  --shadow:0 14px 42px rgba(24,55,94,.08);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.5}
button,input,select,textarea{font:inherit}
a{color:var(--navy);text-decoration:none}
h1,h2,h3,h4,p{margin-top:0}
h1{font-size:clamp(2rem,4vw,3rem);line-height:1.08;letter-spacing:-.035em}
h2{font-size:1.55rem;line-height:1.2;letter-spacing:-.02em}
h3{font-size:1.08rem}
small{color:var(--muted)}
code{background:#eef2f7;padding:4px 7px;border-radius:7px;font-size:.86em;word-break:break-all}
[hidden]{display:none!important}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 17px;border:1px solid var(--navy);border-radius:11px;background:var(--navy);color:#fff;font-weight:750;cursor:pointer;transition:.18s ease;text-align:center}
.btn:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(23,55,94,.18)}
.btn-sm{min-height:34px;padding:7px 12px;border-radius:9px;font-size:.88rem}
.btn-block{width:100%}
.btn-outline{background:#fff;color:var(--navy);border-color:#cfd8e4}
.btn-gold{background:var(--gold);border-color:var(--gold);color:#17202d}
.btn-light{background:#fff;border-color:#fff;color:var(--navy)}
.link-button,.link-danger{border:0;background:none;padding:0;cursor:pointer;font-weight:700}
.link-button{color:var(--navy)}
.link-danger{color:var(--danger)}
.icon-btn{width:38px;height:38px;border:0;border-radius:50%;background:#eef2f7;color:var(--navy);font-size:1.4rem;cursor:pointer}

label{display:block;margin:0 0 6px;font-weight:750;color:#28384b}
input,select,textarea{width:100%;border:1px solid #ccd6e2;border-radius:11px;background:#fff;color:var(--text);padding:11px 12px;margin:0 0 15px;outline:none;transition:.15s}
input:focus,select:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(211,169,59,.16)}
input[type=checkbox],input[type=radio]{width:auto;margin:0}
textarea{resize:vertical}
fieldset{border:0;padding:0;margin:0}

.card{background:var(--surface);border:1px solid rgba(227,232,239,.9);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.card-heading h2,.card-heading h3{margin:4px 0 0}
.form-card{max-width:1100px}
.table-card{padding:0;overflow:hidden}
.table-responsive{overflow:auto}
table{width:100%;border-collapse:collapse;min-width:760px}
th,td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
th{background:#f8fafc;color:#475467;font-size:.78rem;text-transform:uppercase;letter-spacing:.045em}
td{font-size:.93rem}
td small{display:block;margin-top:3px}
tr:last-child td{border-bottom:0}

.alert{padding:13px 15px;border-radius:12px;margin-bottom:18px;border:1px solid transparent;font-weight:650}
.alert.success{background:var(--success-bg);border-color:#abefc6;color:var(--success)}
.alert.error{background:var(--danger-bg);border-color:#fecdca;color:var(--danger)}
.alert.warning{background:var(--warning-bg);border-color:#fedf89;color:var(--warning)}
.alert.info{background:var(--info-bg);border-color:#b2ccff;color:var(--info)}
.status-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:.73rem;font-weight:800;white-space:nowrap;background:#eef2f7;color:#475467}
.status-badge.success{background:var(--success-bg);color:var(--success)}
.status-badge.warning{background:var(--warning-bg);color:var(--warning)}
.status-badge.danger{background:var(--danger-bg);color:var(--danger)}
.status-badge.info{background:var(--info-bg);color:var(--info)}
.status-badge.neutral{background:#eef2f7;color:#475467}
.eyebrow,.hero-kicker{display:block;color:var(--gold);font-size:.73rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.muted{color:var(--muted)}
.back-link{display:inline-flex;margin-bottom:18px;font-weight:750;color:#52657b}

.site-header{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,4vw,60px);position:sticky;top:0;z-index:30}
.site-brand,.brand{display:flex;align-items:center;gap:11px;color:var(--navy)}
.site-brand span:last-child,.brand span:last-child{display:flex;flex-direction:column;line-height:1.05}
.site-brand small,.brand small{font-size:.7rem;margin-top:5px}
.brand-symbol{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--gold),#f1d77e);color:var(--navy-2);font-weight:900;font-size:1.2rem}
.site-header nav{display:flex;align-items:center;gap:20px}
.site-header nav>a:not(.btn){font-weight:700;color:#435268}
.site-main{max-width:1240px;margin:0 auto;padding:34px 22px 70px;min-height:calc(100vh - 140px)}
.site-footer{display:flex;justify-content:space-between;gap:20px;padding:24px clamp(18px,4vw,60px);background:var(--navy-2);color:#d7e2ef;font-size:.88rem}

.hero{margin:-34px calc(50% - 50vw) 0;padding:95px max(24px,calc((100vw - 1196px)/2));min-height:460px;display:flex;align-items:center;background:linear-gradient(110deg,rgba(13,39,69,.98),rgba(31,81,130,.93)),radial-gradient(circle at 80% 20%,#356fa8,transparent 40%);color:#fff}
.hero>div{max-width:720px}
.hero h1{font-size:clamp(2.7rem,6vw,5.3rem);margin:14px 0 20px}
.hero p{font-size:1.15rem;color:#d9e5f2;max-width:650px;margin-bottom:28px}
.public-section{padding:56px 0}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 22px}
.section-title span{display:block;color:var(--gold);text-transform:uppercase;letter-spacing:.08em;font-weight:850;font-size:.72rem}
.section-title h2{margin:5px 0 0}
.course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px}
.course-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}
.course-cover{height:150px;background:linear-gradient(135deg,var(--navy-2),var(--navy-3));display:flex;align-items:flex-end;padding:22px;color:#fff;font-size:1.8rem;font-weight:900;letter-spacing:.08em;position:relative;overflow:hidden}
.course-cover:after{content:"";position:absolute;width:180px;height:180px;border:30px solid rgba(211,169,59,.16);border-radius:50%;right:-55px;top:-55px}
.course-card-body{padding:22px}
.course-card-body h3{font-size:1.28rem;margin:12px 0 8px}
.course-card-body p{color:var(--muted);min-height:48px}
.course-meta{display:flex;flex-wrap:wrap;gap:12px;color:#607085;font-size:.82rem;margin:14px 0}

.auth-page{min-height:calc(100vh - 180px);display:grid;grid-template-columns:1fr 480px;gap:70px;align-items:center}
.auth-brand{padding:30px}
.auth-brand h1{font-size:clamp(3rem,6vw,5.6rem);color:var(--navy);margin:14px 0 18px}
.auth-brand p{font-size:1.1rem;color:var(--muted);max-width:560px}
.auth-card{background:#fff;border-radius:24px;padding:34px;box-shadow:0 30px 90px rgba(23,55,94,.17);border:1px solid var(--line)}
.auth-card h2{font-size:1.8rem;margin-bottom:6px}
.auth-card>p{color:var(--muted);margin-bottom:25px}

.app-shell{min-height:100vh;display:grid;grid-template-columns:265px 1fr}
.sidebar{background:linear-gradient(180deg,var(--navy-2),#10243d);color:#fff;padding:22px 16px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;z-index:50}
.sidebar .brand{color:#fff;padding:0 10px 24px;border-bottom:1px solid rgba(255,255,255,.1)}
.sidebar .brand small{color:#9eb2c9}
.side-nav{display:flex;flex-direction:column;gap:4px;padding:20px 0;overflow-y:auto}
.side-nav a{display:flex;align-items:center;gap:11px;color:#c9d6e5;padding:10px 12px;border-radius:10px;font-size:.91rem;font-weight:650}
.side-nav a:hover,.side-nav a.active{background:rgba(255,255,255,.1);color:#fff}
.side-nav a.active{box-shadow:inset 3px 0 0 var(--gold)}
.nav-dot{width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.7}
.sidebar-footer{margin-top:auto;padding:18px 10px 0;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:8px}
.sidebar-footer a{color:#fff;font-weight:700}
.sidebar-footer small{color:#93a8c0}
.main-panel{min-width:0}
.app-topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:35}
.app-topbar>div:nth-child(2){display:flex;flex-direction:column}
.app-topbar .eyebrow{color:#7c8ca0}
.menu-toggle{display:none;border:0;background:#eef2f7;border-radius:10px;width:42px;height:42px;font-size:1.3rem}
.user-chip{display:flex;align-items:center;gap:10px}
.user-chip>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:850}
.user-chip>div{display:flex;flex-direction:column;line-height:1.15}
.user-chip small{font-size:.7rem}
.content{max-width:1440px;margin:0 auto;padding:32px}
.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}
.page-header h1{margin-bottom:8px}
.page-header p{margin:0;color:var(--muted);max-width:760px}
.page-actions{display:flex;gap:10px;flex-wrap:wrap}

.stat-grid{display:grid;grid-template-columns:repeat(6,minmax(145px,1fr));gap:14px;margin-bottom:24px}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(23,55,94,.05)}
.stat-card span{display:block;color:var(--muted);font-size:.78rem;margin-bottom:8px}
.stat-card strong{font-size:1.75rem;color:var(--navy)}
.dashboard-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px}
.dashboard-course-row,.activity-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.dashboard-course-row:last-child,.activity-row:last-child{border-bottom:0}
.dashboard-course-row>div:first-child,.activity-row>div:nth-child(2){flex:1;display:flex;flex-direction:column}
.dashboard-course-row small,.activity-row small{margin-top:3px}
.activity-row>span:last-child{font-size:.78rem;color:var(--muted)}
.avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#e8eef5;color:var(--navy);font-weight:850;flex:0 0 auto}

.course-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:20px}
.admin-course-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}
.admin-course-cover{height:115px;background:linear-gradient(135deg,var(--navy),#2d6ca8);padding:20px;display:flex;align-items:flex-end;color:#fff;font-size:1.3rem;font-weight:900;letter-spacing:.08em}
.admin-course-body{padding:20px}
.admin-course-title{display:flex;justify-content:space-between;gap:14px}
.admin-course-title span:first-child{font-size:.72rem;color:var(--gold);text-transform:uppercase;font-weight:850}
.admin-course-title h3{font-size:1.25rem;margin:5px 0 10px}
.admin-course-body>p{color:var(--muted);min-height:46px}
.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}
.mini-stats>div{background:#f7f9fc;border-radius:12px;padding:11px;text-align:center}
.mini-stats strong,.mini-stats span{display:block}
.mini-stats strong{font-size:1.15rem;color:var(--navy)}
.mini-stats span{font-size:.71rem;color:var(--muted)}
.card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}

.content-course-list{display:flex;flex-direction:column;gap:18px}
.content-course-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;display:grid;grid-template-columns:minmax(260px,1fr) auto auto;align-items:center;gap:24px;box-shadow:var(--shadow)}
.content-course-main{display:flex;gap:16px;align-items:flex-start}
.course-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--gold-soft);color:var(--warning);font-weight:900}
.content-course-main h2{margin:4px 0 7px}
.content-course-main p{color:var(--muted);margin:0}
.content-counts{display:grid;grid-template-columns:repeat(4,72px);gap:7px}
.content-counts div{background:#f7f9fc;border-radius:11px;text-align:center;padding:9px}
.content-counts strong,.content-counts span{display:block}
.content-counts strong{color:var(--navy);font-size:1.05rem}
.content-counts span{font-size:.64rem;color:var(--muted)}

.builder-intro{background:linear-gradient(135deg,var(--navy),var(--navy-3));color:#fff;border-radius:20px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:22px}
.builder-intro p{color:#d9e5f2;max-width:720px;margin-bottom:0}
.builder-steps{display:flex;align-items:center;gap:8px;white-space:nowrap}
.builder-steps span{background:rgba(255,255,255,.1);padding:8px 10px;border-radius:9px;font-size:.78rem;font-weight:750}
.builder-steps i{font-style:normal;color:var(--gold)}
.stage-builder-list{display:flex;flex-direction:column;gap:14px}
.stage-builder-card{display:grid;grid-template-columns:52px 1fr auto;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px;box-shadow:0 7px 22px rgba(23,55,94,.05)}
.stage-position{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:900}
.stage-builder-title{display:flex;justify-content:space-between;gap:14px}
.stage-builder-title span:first-child{color:var(--gold);font-size:.7rem;text-transform:uppercase;font-weight:850}
.stage-builder-title h3{font-size:1.13rem;margin:4px 0 7px}
.stage-builder-main>p{color:var(--muted);margin-bottom:9px}
.stage-counts{display:flex;flex-wrap:wrap;gap:14px;font-size:.78rem;color:#5f7084}
.stage-counts strong{color:var(--navy)}
.stage-builder-actions{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:150px}

.content-tabs{display:flex;gap:5px;background:#eaf0f6;padding:5px;border-radius:12px;width:max-content;margin-bottom:25px;position:sticky;top:96px;z-index:20}
.content-tabs a{padding:8px 13px;border-radius:9px;color:#52657b;font-weight:750;font-size:.86rem}
.content-tabs a.active{background:#fff;color:var(--navy);box-shadow:0 3px 10px rgba(23,55,94,.08)}
.admin-lesson-list{display:flex;flex-direction:column;gap:18px;margin-bottom:48px}
.admin-lesson-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:21px;box-shadow:var(--shadow)}
.admin-lesson-head{display:flex;align-items:center;gap:13px}
.lesson-order{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#eef2f7;color:var(--navy);font-weight:850}
.admin-lesson-head>div:nth-child(2){flex:1}
.admin-lesson-head span{font-size:.7rem;text-transform:uppercase;color:var(--muted);font-weight:750}
.admin-lesson-head h3{margin:3px 0 0;font-size:1.18rem}
.admin-lesson-actions{display:flex;gap:8px}
.admin-lesson-card>p{color:var(--muted);margin:15px 0}
.lesson-admin-meta{display:flex;flex-wrap:wrap;gap:12px;color:#607085;font-size:.78rem;margin-bottom:15px}
.video-preview{display:flex;align-items:center;gap:12px;background:#f5f8fc;padding:10px;border-radius:12px;width:max-content;max-width:100%;margin:12px 0}
.video-preview img{width:100px;height:58px;object-fit:cover;border-radius:8px}
.video-preview span{font-weight:750}
.admin-material-list{border-top:1px solid var(--line);margin-top:17px;padding-top:15px}
.admin-material-list h4{margin-bottom:10px}
.admin-material-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.admin-material-row:last-child{border-bottom:0}
.admin-material-row>div:nth-child(2){flex:1;display:flex;flex-direction:column}
.file-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:var(--gold-soft);color:var(--warning);font-size:.72rem;font-weight:900;flex:0 0 auto}
.assessment-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}

.modal{border:0;padding:0;border-radius:22px;background:transparent;width:min(760px,calc(100% - 28px));max-height:92vh}
.modal::backdrop{background:rgba(12,27,46,.7);backdrop-filter:blur(4px)}
.modal-card{background:#fff;border-radius:22px;padding:26px;max-height:92vh;overflow:auto;box-shadow:0 35px 120px rgba(0,0,0,.3)}
.modal-card.small{max-width:480px;margin:auto}
.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}
.modal-header h2{margin:4px 0 0}
.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:5px 0 18px}
.check-grid label{display:flex;align-items:center;gap:8px;font-weight:650;color:#46576b}
.inline-actions{display:flex;gap:12px;align-items:center}
.inline-form{display:grid;grid-template-columns:160px 90px auto;align-items:center;gap:6px}
.inline-form select,.inline-form input{margin:0;padding:7px 8px}

.student-welcome{background:linear-gradient(120deg,var(--navy-2),var(--navy-3));color:#fff;border-radius:22px;padding:30px;margin-bottom:25px;position:relative;overflow:hidden}
.student-welcome:after{content:"";position:absolute;width:220px;height:220px;border:35px solid rgba(211,169,59,.12);border-radius:50%;right:-60px;top:-90px}
.student-welcome h2{font-size:2rem;margin:5px 0 8px}
.student-welcome p{color:#dce7f3;max-width:760px;margin:0}
.student-course .course-card-top{display:flex;justify-content:space-between;align-items:center;font-size:.78rem;color:var(--muted)}
.student-course p{min-height:60px}
.progress-line>div:first-child{display:flex;justify-content:space-between;font-size:.8rem;margin-bottom:7px}
.progress{height:9px;background:#e7edf4;border-radius:999px;overflow:hidden}
.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--gold),#eed575);border-radius:999px}
.course-hero{background:linear-gradient(115deg,var(--navy-2),var(--navy-3));color:#fff;border-radius:24px;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:32px}
.course-hero h1{margin:10px 0 12px}
.course-hero p{color:#d9e5f2;max-width:760px}
.course-hero-meta{display:flex;flex-wrap:wrap;gap:10px}
.course-hero-meta span{padding:7px 10px;background:rgba(255,255,255,.1);border-radius:9px;font-size:.78rem}
.course-progress-ring{width:130px;height:130px;border:13px solid rgba(255,255,255,.15);border-top-color:var(--gold);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;flex:0 0 auto}
.course-progress-ring strong{font-size:1.7rem}
.course-progress-ring span{font-size:.7rem;color:#dbe6f2}
.course-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}
.sticky-card{position:sticky;top:100px}
.summary-list{display:flex;flex-direction:column;gap:2px;margin:14px 0 18px}
.summary-list>div{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--line)}
.summary-list>div:last-child{border-bottom:0}
.summary-list span{color:var(--muted);font-size:.82rem}
.summary-list strong{text-align:right;font-size:.85rem}
.timeline{position:relative;display:flex;flex-direction:column;gap:14px}
.timeline:before{content:"";position:absolute;left:23px;top:28px;bottom:28px;width:2px;background:#dfe7ef}
.timeline-item{display:grid;grid-template-columns:48px 1fr;gap:14px;position:relative}
.timeline-marker{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#e9eef4;color:#667085;font-weight:850;border:5px solid var(--bg);z-index:2}
.timeline-item.done .timeline-marker{background:var(--success);color:#fff}
.timeline-item.current .timeline-marker,.timeline-item.review .timeline-marker{background:var(--gold);color:var(--navy)}
.timeline-item.failed .timeline-marker{background:var(--danger);color:#fff}
.timeline-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px;box-shadow:0 7px 24px rgba(23,55,94,.05)}
.timeline-title{display:flex;justify-content:space-between;gap:14px}
.timeline-title span:first-child{font-size:.7rem;color:var(--gold);text-transform:uppercase;font-weight:850}
.timeline-title h3{margin:4px 0 7px;font-size:1.1rem}
.timeline-card>p{color:var(--muted);margin-bottom:10px}
.locked-note{font-size:.78rem;color:var(--muted);font-weight:650}

.stage-header{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px;box-shadow:var(--shadow)}
.stage-header h1{margin:8px 0 12px}
.stage-header p{color:var(--muted);max-width:850px;margin:0}
.stage-progress{text-align:center;min-width:120px}
.stage-progress strong,.stage-progress span{display:block}
.stage-progress strong{font-size:1.8rem;color:var(--navy)}
.stage-progress span{font-size:.72rem;color:var(--muted)}
.lesson-list{display:flex;flex-direction:column;gap:20px}
.lesson-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:var(--shadow)}
.lesson-heading{display:flex;align-items:center;gap:12px;margin-bottom:15px}
.lesson-number{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:850}
.lesson-heading>div:nth-child(2){flex:1}
.lesson-heading span:first-child{font-size:.7rem;color:var(--gold);text-transform:uppercase;font-weight:850}
.lesson-heading h2{font-size:1.25rem;margin:3px 0 0}
.lesson-card>p{color:var(--muted)}
.video-wrap{position:relative;margin:18px 0;border-radius:16px;overflow:hidden;background:#000}
.video{display:block;width:100%;aspect-ratio:16/9;border:0}
.student-watermark{position:absolute;right:12px;bottom:10px;background:rgba(0,0,0,.55);color:#fff;padding:5px 8px;border-radius:7px;font-size:.65rem;pointer-events:none}
.materials-box{background:#f7f9fc;border-radius:14px;padding:15px;margin:16px 0}
.materials-box h3{font-size:.95rem;margin-bottom:10px}
.material-row{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);padding:11px;border-radius:12px;margin-top:8px}
.material-row>div:nth-child(2){flex:1;display:flex;flex-direction:column}
.material-row>span:last-child{font-size:.78rem;font-weight:800;color:var(--navy)}
.assessments-section{margin-top:42px}
.assessment-card{margin-bottom:18px}
.assessment-heading{display:flex;justify-content:space-between;gap:20px}
.assessment-heading h3{font-size:1.25rem;margin:9px 0 7px}
.assessment-heading p{color:var(--muted)}
.attempt-chip{background:var(--gold-soft);color:var(--warning);border-radius:12px;padding:9px 11px;height:max-content;font-weight:800;white-space:nowrap}
.attempt-history{background:#f7f9fc;padding:14px;border-radius:12px;margin:15px 0}
.attempt-history>div{display:flex;justify-content:space-between;gap:15px;padding:7px 0}
.attempt-history p{color:var(--muted);font-size:.85rem}
.assessment-form{margin-top:18px}
.question{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:16px;margin:14px 0}
.question legend{font-weight:800;margin-bottom:10px}
.radio-option{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px;margin:7px 0;cursor:pointer}

.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.detail-grid>div{background:#f8fafc;border-radius:12px;padding:12px;display:flex;flex-direction:column}
.detail-grid span{font-size:.72rem;color:var(--muted);margin-bottom:3px}
.review-layout,.question-builder-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px}
.answer-box{background:#f8fafc;border-radius:12px;padding:18px;white-space:normal}
.question-list{display:flex;flex-direction:column;gap:14px;margin-top:20px}
.question-admin-card h3{margin:0}
.options-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.options-preview>div{display:flex;align-items:center;gap:8px;background:#f7f9fc;border-radius:10px;padding:10px}
.options-preview>div>span{width:27px;height:27px;border-radius:8px;display:grid;place-items:center;background:#e9eef4;font-weight:800}
.options-preview>div.correct{background:var(--success-bg);color:var(--success)}
.options-preview>div strong{margin-left:auto;font-size:.7rem}
.user-cell{display:flex;align-items:center;gap:10px}
.table-progress{width:110px;height:7px;background:#e7edf4;border-radius:999px;overflow:hidden}
.table-progress span{display:block;height:100%;background:var(--gold)}
.enrollment-overview{display:grid;grid-template-columns:1fr 300px;gap:20px;margin-bottom:25px}
.admin-columns{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px}
.compact-list{display:flex;flex-direction:column;gap:4px}
.compact-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.compact-row>div{display:flex;flex-direction:column}
.compact-row>div:last-child{align-items:flex-end;gap:5px}
.internship-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:18px}
.filter-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.filter-tabs a{padding:8px 12px;border-radius:9px;background:#e9eef4;color:#52657b;font-weight:750;font-size:.84rem}
.filter-tabs a.active{background:var(--navy);color:#fff}
.validation-card{max-width:620px;margin:70px auto;background:#fff;border-radius:22px;padding:34px;box-shadow:var(--shadow)}
.certificate{background:#fff;max-width:1050px;margin:20px auto;text-align:center;padding:70px 60px;border:12px double var(--gold);box-shadow:var(--shadow);position:relative}
.certificate-seal{width:90px;height:90px;border-radius:50%;display:grid;place-items:center;margin:0 auto 20px;background:var(--navy);color:#fff;border:7px solid var(--gold);font-weight:900}
.certificate-kicker{text-transform:uppercase;letter-spacing:.15em;color:var(--gold);font-weight:850}
.certificate h1{font-family:Georgia,serif;font-size:3rem;color:var(--navy);margin:20px 0 8px}
.certificate h2{font-size:2rem;color:var(--navy);margin:12px 0}
.certificate-data{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;margin:28px 0;font-size:.85rem}
.validation-code{margin:25px 0}
.empty-state{text-align:center;background:#fff;border:1px dashed #c7d2df;border-radius:18px;padding:42px 24px;color:var(--muted)}
.empty-state h3{color:var(--text);font-size:1.25rem;margin:10px 0 5px}
.empty-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--gold-soft);color:var(--warning);font-size:1.5rem;margin:auto}

.installer-page{min-height:100vh;background:radial-gradient(circle at 10% 10%,#244f7e 0,#17375e 35%,#0f2743 100%)}
.install-shell{width:min(1040px,calc(100% - 32px));min-height:100vh;margin:0 auto;display:grid;grid-template-columns:.9fr 1.25fr;gap:48px;align-items:center;padding:48px 0}
.install-brand{color:#fff;padding:20px}
.brand-mark{width:72px;height:72px;border:2px solid rgba(255,255,255,.45);border-radius:20px;display:grid;place-items:center;font-size:28px;font-weight:800;letter-spacing:-2px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px);margin-bottom:24px}
.install-brand .eyebrow{font-size:12px;letter-spacing:.12em;font-weight:700;color:#e5c86f;line-height:1.5}
.install-brand h1{font-size:clamp(34px,5vw,58px);line-height:1.02;margin:12px 0 18px;letter-spacing:-.04em}
.install-brand>p:last-child{font-size:18px;color:#dbe7f4;max-width:420px;line-height:1.6}
.install-card{margin:0;padding:32px;box-shadow:0 28px 80px rgba(0,0,0,.22)}
.install-card h2{font-size:28px;margin:12px 0 6px;color:#17375e}
.step-chip{display:inline-block;padding:6px 10px;border-radius:999px;background:#eef3f9;color:#17375e;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.form-section-title{font-weight:800;color:#17375e;border-top:1px solid #e7ebf1;padding-top:20px;margin:22px 0 12px}
.install-card input{background:#fbfcfe;min-height:44px}
.install-card small{display:block;margin:-7px 0 18px;color:#6b7280}

@media(max-width:1180px){
  .stat-grid{grid-template-columns:repeat(3,1fr)}
  .dashboard-grid{grid-template-columns:1fr}
  .content-course-card{grid-template-columns:1fr auto}
  .content-counts{grid-column:1/-1;grid-row:2}
  .builder-intro{align-items:flex-start;flex-direction:column}
}
@media(max-width:960px){
  .app-shell{display:block}
  .sidebar{position:fixed;left:-280px;transition:.2s;width:265px}
  body.menu-open .sidebar{left:0;box-shadow:20px 0 50px rgba(0,0,0,.25)}
  .menu-toggle{display:block}
  .app-topbar{justify-content:flex-start;gap:14px}
  .user-chip{margin-left:auto}
  .course-layout,.review-layout,.question-builder-layout,.admin-columns{grid-template-columns:1fr}
  .sticky-card{position:static}
  .auth-page{grid-template-columns:1fr;gap:20px}
  .auth-brand{padding-bottom:0}
  .enrollment-overview{grid-template-columns:1fr}
}
@media(max-width:760px){
  .site-header{height:auto;min-height:72px;padding:12px 16px;align-items:flex-start}
  .site-header nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}
  .site-header nav a{font-size:.8rem}
  .site-brand small{display:none}
  .site-main{padding:24px 14px 55px}
  .hero{margin-top:-24px;padding-top:68px;padding-bottom:68px}
  .hero h1{font-size:2.7rem}
  .content{padding:22px 14px}
  .page-header{align-items:flex-start;flex-direction:column}
  .page-actions{width:100%}
  .page-actions .btn{flex:1}
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .content-course-card{grid-template-columns:1fr}
  .content-counts{grid-column:auto;grid-row:auto;grid-template-columns:repeat(4,1fr)}
  .stage-builder-card{grid-template-columns:44px 1fr}
  .stage-builder-actions{grid-column:2;align-items:flex-start;flex-direction:row}
  .admin-lesson-head{align-items:flex-start;flex-wrap:wrap}
  .admin-lesson-actions{width:100%}
  .form-grid,.form-grid.three,.detail-grid,.check-grid,.options-preview{grid-template-columns:1fr}
  .course-hero,.stage-header{align-items:flex-start;flex-direction:column}
  .course-progress-ring{width:105px;height:105px}
  .assessment-heading{flex-direction:column}
  .certificate{padding:40px 20px;border-width:7px}
  .certificate h1{font-size:2rem}
  .certificate h2{font-size:1.45rem}
  .install-shell{grid-template-columns:1fr;gap:10px;padding:28px 0}
  .install-brand{padding:10px 4px}
  .install-brand h1{font-size:38px}
  .install-card{padding:24px}
}
@media(max-width:520px){
  .user-chip>div{display:none}
  .app-topbar{padding:0 14px}
  .stat-grid{grid-template-columns:1fr 1fr}
  .stat-card{padding:14px}
  .stat-card strong{font-size:1.45rem}
  .course-admin-grid{grid-template-columns:1fr}
  .content-counts{grid-template-columns:repeat(2,1fr)}
  .builder-steps{display:grid;grid-template-columns:1fr 1fr;white-space:normal;width:100%}
  .builder-steps i{display:none}
  .modal-card{padding:20px}
  .modal-actions{flex-direction:column-reverse}
  .modal-actions .btn{width:100%}
  .inline-form{grid-template-columns:1fr}
  .site-footer{flex-direction:column}
}
@media print{
  body{background:#fff}
  .site-header,.site-footer,.no-print{display:none!important}
  .site-main{max-width:none;padding:0}
  .certificate{box-shadow:none;margin:0;max-width:none;min-height:100vh;display:flex;flex-direction:column;justify-content:center}
}

/* =========================================================
   SBPMA ACADEMY 2.0 — EXPERIÊNCIA COMERCIAL
   ========================================================= */
:root{
  --primary:#123b67;
  --primary-900:#0a2542;
  --primary-800:#0e3157;
  --primary-700:#174b7f;
  --primary-100:#e8f0f8;
  --accent:#d7a928;
  --accent-700:#a97e0c;
  --accent-100:#fbf3d9;
  --ink:#172333;
  --ink-2:#314156;
  --muted-2:#6f7f91;
  --canvas:#f4f7fb;
  --surface:#fff;
  --line-2:#e7ebf0;
  --success-2:#0b8a5a;
  --danger-2:#c53b35;
  --shadow-sm:0 8px 22px rgba(12,39,68,.07);
  --shadow-md:0 18px 50px rgba(12,39,68,.11);
  --shadow-lg:0 35px 90px rgba(9,31,56,.18);
  --radius-sm:12px;
  --radius-md:18px;
  --radius-lg:28px;
}
body{background:var(--canvas);color:var(--ink);font-size:15px;-webkit-font-smoothing:antialiased}
body.area-public,body.area-auth{background:#fff}
.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex:0 0 auto}
.icon.rotate-180{transform:rotate(180deg)}
.container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.section{padding:88px 0}
.section-soft{background:#f6f8fb}
.section-heading{margin-bottom:38px}
.section-heading.centered{text-align:center;max-width:760px;margin-left:auto;margin-right:auto}
.section-heading.split{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}
.section-heading.compact{margin-bottom:20px}
.section-heading h2{font-size:clamp(2rem,4vw,3.35rem);line-height:1.05;margin:8px 0 12px;color:var(--ink)}
.section-heading.compact h2{font-size:1.5rem;margin-bottom:0}
.section-heading p{font-size:1.05rem;color:var(--muted-2);max-width:680px}
.section-eyebrow,.page-kicker{display:block;color:var(--accent-700);font-size:.74rem;line-height:1.2;text-transform:uppercase;letter-spacing:.12em;font-weight:900}
.text-link{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:var(--primary);white-space:nowrap}
.text-link .icon{width:17px;height:17px}
.text-link.center{justify-content:center;width:100%;margin-top:16px}
.btn{border-radius:12px;border:1px solid transparent;min-height:44px;padding:10px 17px;font-size:.92rem;font-weight:800;box-shadow:none}
.btn .icon{width:18px;height:18px}
.btn:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(17,59,103,.16)}
.btn-primary{background:var(--primary);border-color:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-900);border-color:var(--primary-900)}
.btn-secondary,.btn-outline{background:#fff;border-color:#d7dfe8;color:var(--primary)}
.btn-secondary:hover,.btn-outline:hover{border-color:#b9c8d8;background:#f9fbfd}
.btn-ghost{background:transparent;border-color:rgba(255,255,255,.35);color:#fff}
.btn-light{background:#fff;border-color:#fff;color:var(--primary)}
.btn-lg{min-height:54px;padding:14px 23px;border-radius:14px;font-size:1rem}
.btn-sm{min-height:36px;padding:8px 13px;border-radius:10px;font-size:.82rem}
.panel-card,.dashboard-section{background:#fff;border:1px solid var(--line-2);border-radius:22px;padding:24px;box-shadow:var(--shadow-sm)}
.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}
.panel-heading h2{font-size:1.35rem;margin:4px 0 0}
.status-badge{gap:7px;padding:6px 10px;border-radius:999px;font-size:.72rem;line-height:1;font-weight:850}
.status-badge i{width:6px;height:6px;border-radius:50%;background:currentColor}
.status-badge.success{background:#e5f7ef;color:#087a4f}
.status-badge.warning{background:#fff4d7;color:#8b6504}
.status-badge.danger{background:#feeceb;color:#b4322d}
.status-badge.info{background:#eaf2fb;color:#1d5e96}
.status-badge.neutral{background:#eef2f6;color:#566679}
.avatar{font-style:normal;width:42px;height:42px;background:linear-gradient(135deg,var(--primary),var(--primary-700));color:#fff;font-size:.8rem;letter-spacing:.02em}
.avatar-sm{width:34px;height:34px;font-size:.68rem}
.back-link{display:inline-flex;align-items:center;gap:8px;color:#607186;font-size:.88rem;margin-bottom:20px}
.back-link.light{color:#dce8f4}

/* Branding */
.brand-mark{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),#f2d774);box-shadow:0 8px 20px rgba(215,169,40,.22);overflow:hidden;flex:0 0 auto}
.brand-mark img{width:100%;height:100%;object-fit:contain;background:#fff;padding:4px}
.brand-monogram{font-size:1.35rem;font-weight:950;color:var(--primary-900)}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.brand-copy strong{font-size:1.02rem;letter-spacing:-.01em}
.brand-copy small{font-size:.64rem;margin-top:5px;color:#74869a;letter-spacing:.02em}

/* Public header/footer */
.public-header{height:82px;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(226,232,239,.9);position:sticky;top:0;z-index:100;backdrop-filter:blur(18px)}
.public-header-inner{width:min(1240px,calc(100% - 36px));height:100%;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:30px}
.public-brand,.footer-brand{display:flex;align-items:center;gap:12px;color:var(--ink)}
.public-nav{display:flex;align-items:center;gap:26px}
.public-nav>a:not(.btn){font-size:.9rem;font-weight:750;color:#53657a;position:relative}
.public-nav>a:not(.btn):hover,.public-nav>a.active{color:var(--primary)}
.public-nav>a.active:after{content:"";position:absolute;left:0;right:0;bottom:-29px;height:3px;border-radius:3px;background:var(--accent)}
.public-login{padding-left:22px;border-left:1px solid var(--line-2)}
.public-menu-button{display:none;border:0;background:#eef3f8;border-radius:11px;width:43px;height:43px;color:var(--primary)}
.public-main{min-height:70vh}
.public-footer{background:var(--primary-900);color:#d8e4ef;padding:64px 0 0}
.footer-grid{width:min(1180px,calc(100% - 40px));margin:0 auto;display:grid;grid-template-columns:1.8fr .8fr 1fr;gap:70px;padding-bottom:45px}
.footer-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.footer-grid>div:first-child p{max-width:440px;color:#adc0d2;margin:8px 0 0}
.footer-grid strong{color:#fff;margin-bottom:7px}
.footer-grid a,.footer-grid span{color:#b9c9d8;font-size:.9rem}
.footer-brand .brand-copy strong{color:#fff}
.footer-brand .brand-copy small{color:#95abc0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.11);width:min(1180px,calc(100% - 40px));margin:0 auto;padding:22px 0;display:flex;justify-content:space-between;color:#8ea5ba;font-size:.78rem}

/* Public hero */
.commercial-hero{min-height:690px;position:relative;background:linear-gradient(120deg,var(--primary-900) 0%,var(--primary) 58%,#1a5387 100%);overflow:hidden;color:#fff;display:flex;align-items:center}
.commercial-hero-bg{position:absolute;inset:0;background:radial-gradient(circle at 83% 18%,rgba(215,169,40,.23),transparent 25%),radial-gradient(circle at 70% 85%,rgba(255,255,255,.09),transparent 30%)}
.commercial-hero:before{content:"";position:absolute;width:500px;height:500px;border:90px solid rgba(255,255,255,.035);border-radius:50%;right:-160px;top:-180px}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);gap:65px;align-items:center;padding:78px 0}
.hero-copy h1{font-size:clamp(3rem,5vw,5.4rem);line-height:.98;letter-spacing:-.055em;margin:18px 0 24px;max-width:720px}
.hero-copy>p{font-size:1.16rem;line-height:1.7;color:#d8e5f1;max-width:650px;margin-bottom:30px}
.hero-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.1);color:#fff;border-radius:999px;padding:8px 13px;font-size:.74rem;text-transform:uppercase;letter-spacing:.08em;font-weight:850;backdrop-filter:blur(8px)}
.hero-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent)}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-trust{display:flex;align-items:center;gap:14px;margin-top:32px}
.trust-avatars{display:flex}
.trust-avatars span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--primary-900);background:#fff;color:var(--primary);font-size:.62rem;font-weight:900;margin-left:-7px}
.trust-avatars span:first-child{margin-left:0}
.hero-trust p{font-size:.78rem;line-height:1.35;color:#c8d7e5;margin:0}
.hero-trust strong{color:#fff}
.hero-visual{position:relative;min-height:500px;display:flex;align-items:center;justify-content:center}
.hero-device{width:460px;height:430px;border-radius:28px;background:#fff;padding:11px;box-shadow:0 45px 110px rgba(4,19,35,.36);transform:perspective(900px) rotateY(-5deg) rotateX(2deg);position:relative}
.device-top{height:28px;display:flex;gap:5px;align-items:center;padding:0 8px;background:#edf2f7;border-radius:18px 18px 0 0}
.device-top span{width:7px;height:7px;border-radius:50%;background:#b8c6d5}
.device-content{height:380px;background:#f4f7fb;border-radius:0 0 19px 19px;display:grid;grid-template-columns:72px 1fr;overflow:hidden}
.device-sidebar{background:var(--primary-900);padding:20px 13px;display:flex;flex-direction:column;align-items:center;gap:18px}
.device-logo{width:34px;height:34px;border-radius:10px;background:var(--accent);color:var(--primary-900);display:grid;place-items:center;font-weight:950;margin-bottom:14px}
.device-sidebar i{width:31px;height:8px;border-radius:8px;background:rgba(255,255,255,.14)}
.device-main{padding:35px 28px}
.device-label{font-size:.62rem;color:var(--accent-700);text-transform:uppercase;letter-spacing:.1em;font-weight:900}
.device-main h3{font-size:1.45rem;margin:7px 0 25px;color:var(--ink)}
.device-course{display:grid;grid-template-columns:95px 1fr;gap:17px;background:#fff;border-radius:17px;padding:14px;box-shadow:var(--shadow-sm)}
.device-cover{border-radius:12px;background:linear-gradient(145deg,var(--primary),#2d6da9);height:110px;position:relative;overflow:hidden}
.device-cover:after{content:"S";position:absolute;right:12px;bottom:8px;color:#fff;font-size:1.5rem;font-weight:950}
.device-course>div:last-child{display:flex;flex-direction:column;padding:9px 0}
.device-course strong{font-size:.82rem;line-height:1.3}
.device-course span{font-size:.65rem;color:#7b8b9d;margin-top:8px}
.device-progress{height:7px;background:#e8edf2;border-radius:999px;margin-top:auto;overflow:hidden}
.device-progress i{display:block;width:63%;height:100%;background:var(--accent);border-radius:999px}
.device-lessons{display:grid;gap:9px;margin-top:20px}
.device-lessons span{height:42px;border-radius:12px;background:#fff;box-shadow:0 5px 15px rgba(17,54,88,.05)}
.floating-card{position:absolute;background:#fff;color:var(--ink);padding:13px 17px;border-radius:15px;box-shadow:var(--shadow-lg);display:flex;align-items:center;gap:11px;min-width:210px}
.floating-card>.icon{width:28px;height:28px;color:var(--success-2);background:#e5f7ef;border-radius:9px;padding:5px}
.floating-card div{display:flex;flex-direction:column}
.floating-card strong{font-size:.78rem}
.floating-card span{font-size:.65rem;color:#75879a;margin-top:3px}
.floating-card-one{left:-15px;bottom:58px}
.floating-card-two{right:-30px;top:52px}
.floating-card-two>.icon{color:var(--accent-700);background:var(--accent-100)}
.institution-strip{background:#fff;border-bottom:1px solid var(--line-2)}
.institution-strip-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:28px 0}
.institution-strip-grid>div{display:flex;align-items:center;justify-content:center;gap:11px;border-right:1px solid var(--line-2)}
.institution-strip-grid>div:last-child{border:0}
.institution-strip-grid strong{font-size:1.65rem;color:var(--primary)}
.institution-strip-grid span{font-size:.78rem;color:#6d7c8d;max-width:95px;line-height:1.25}

/* Public benefits/course cards */
.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.benefit-card{background:#fff;border:1px solid var(--line-2);border-radius:22px;padding:26px;transition:.25s;box-shadow:0 8px 25px rgba(15,45,76,.04)}
.benefit-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);border-color:#d7e0e9}
.benefit-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--primary-100);color:var(--primary);margin-bottom:20px}
.benefit-icon .icon{width:25px;height:25px}
.benefit-card h3{font-size:1.12rem;margin:0 0 9px}
.benefit-card p{color:var(--muted-2);line-height:1.65;margin:0}
.commercial-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.commercial-course-card{background:#fff;border:1px solid var(--line-2);border-radius:24px;overflow:hidden;box-shadow:var(--shadow-sm);transition:.25s;display:flex;flex-direction:column}
.commercial-course-card:hover{transform:translateY(-7px);box-shadow:var(--shadow-md)}
.commercial-course-cover{height:260px;background:linear-gradient(145deg,var(--primary-900),var(--primary-700));background-size:cover;background-position:center;position:relative;display:flex;align-items:flex-end;padding:20px;overflow:hidden}
.commercial-course-cover:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,29,50,.05),rgba(8,29,50,.72))}
.commercial-course-cover:not(.has-image):after{content:"";position:absolute;width:240px;height:240px;border:38px solid rgba(215,169,40,.16);border-radius:50%;right:-80px;top:-80px}
.course-format{position:absolute;left:18px;top:18px;background:rgba(255,255,255,.92);color:var(--primary);padding:6px 10px;border-radius:999px;font-size:.68rem;font-weight:850;z-index:2}
.cover-brand{position:relative;z-index:2;color:#fff;font-size:1.7rem;font-weight:950;letter-spacing:.08em}
.commercial-course-body{padding:23px;display:flex;flex-direction:column;flex:1}
.course-facts{display:flex;gap:13px;flex-wrap:wrap;color:#6b7d90;font-size:.72rem}
.course-facts span{display:flex;align-items:center;gap:5px}
.course-facts .icon{width:14px;height:14px}
.commercial-course-body h3{font-size:1.35rem;line-height:1.25;margin:14px 0 10px}
.commercial-course-body h3 a{color:var(--ink)}
.commercial-course-body>p{color:var(--muted-2);line-height:1.6;margin:0 0 20px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.course-card-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:auto;padding-top:18px;border-top:1px solid var(--line-2)}
.course-price{display:flex;flex-direction:column}
.course-price small{font-size:.64rem;text-transform:uppercase;letter-spacing:.07em}
.course-price strong{font-size:1.08rem;color:var(--primary)}
.circle-link{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:#fff}
.circle-link .icon{width:18px;height:18px}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}
.catalog-toolbar>div{color:#697a8d}
.catalog-toolbar>div strong{color:var(--ink)}
.catalog-search{display:flex;align-items:center;gap:8px;min-width:320px;border:1px solid #dce3eb;border-radius:13px;padding:0 13px;background:#fff;margin:0}
.catalog-search .icon{color:#8a99aa}
.catalog-search input{border:0;box-shadow:none!important;margin:0;padding:12px 0}

/* Institution / CTA */
.institution-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.institution-visual{position:relative;min-height:500px}
.institution-photo{height:480px;border-radius:30px;background:linear-gradient(145deg,var(--primary-900),#2266a0);display:flex;align-items:flex-end;padding:35px;overflow:hidden;position:relative}
.institution-photo:before{content:"";position:absolute;width:480px;height:480px;border:70px solid rgba(255,255,255,.08);border-radius:50%;right:-140px;top:-130px}
.institution-photo span{font-size:3.5rem;font-weight:950;letter-spacing:.09em;color:#fff;position:relative}
.experience-badge{position:absolute;right:-20px;bottom:-20px;width:150px;height:150px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--accent);color:var(--primary-900);border:9px solid #fff;box-shadow:var(--shadow-md)}
.experience-badge strong{font-size:2rem;line-height:1}
.experience-badge span{font-size:.7rem;margin-top:6px;font-weight:800}
.institution-copy h2{font-size:clamp(2.2rem,4vw,3.5rem);line-height:1.05;margin:12px 0 20px}
.institution-copy>p{font-size:1.03rem;line-height:1.75;color:var(--muted-2)}
.check-list{display:grid;gap:12px;margin:24px 0 30px}
.check-list span{display:flex;align-items:center;gap:10px;font-weight:700;color:#425469}
.check-list .icon{width:21px;height:21px;color:var(--success-2);background:#e6f7ef;border-radius:50%;padding:4px}
.cta-section{padding:30px 0 88px;background:#fff}
.cta-card{background:linear-gradient(120deg,var(--primary-900),var(--primary));color:#fff;border-radius:30px;padding:52px 60px;display:flex;align-items:center;justify-content:space-between;gap:35px;position:relative;overflow:hidden}
.cta-card:after{content:"";position:absolute;width:330px;height:330px;border:55px solid rgba(215,169,40,.13);border-radius:50%;right:-80px;top:-150px}
.cta-card>div,.cta-card>a{position:relative;z-index:2}
.cta-card h2{font-size:clamp(2rem,4vw,3.3rem);margin:8px 0 10px}
.cta-card p{color:#d3e0ec;margin:0;max-width:630px}
.cta-card .section-eyebrow{color:#f1cd65}

/* Page/course public */
.page-hero{background:linear-gradient(125deg,var(--primary-900),var(--primary));color:#fff;padding:88px 0 78px}
.page-hero h1{font-size:clamp(2.7rem,5vw,4.7rem);max-width:850px;margin:20px 0 18px}
.page-hero p{color:#d7e4ef;font-size:1.1rem;max-width:720px}
.course-public-hero{min-height:620px;background:linear-gradient(120deg,var(--primary-900),var(--primary));background-size:cover;background-position:center;position:relative;color:#fff;display:flex;align-items:center;padding:80px 0}
.course-public-hero.has-banner{background-image:var(--course-banner)}
.course-public-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,28,49,.97) 0%,rgba(7,28,49,.88) 48%,rgba(7,28,49,.48) 100%)}
.course-public-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:70px;align-items:center}
.breadcrumb{display:inline-flex;gap:8px;color:#bcd0e1;font-size:.78rem;margin-bottom:24px}
.course-public-hero h1{font-size:clamp(3rem,5vw,5.1rem);line-height:1;letter-spacing:-.05em;margin:17px 0 20px;max-width:760px}
.course-public-hero-grid>div>p{font-size:1.12rem;line-height:1.7;color:#d8e4ee;max-width:720px}
.course-public-facts{display:flex;flex-wrap:wrap;gap:13px;margin-top:27px}
.course-public-facts span{display:flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.08);border-radius:12px;padding:9px 12px;color:#edf5fb}
.course-public-facts .icon{width:18px;height:18px;color:#f0cb63}
.course-public-facts strong{font-size:.78rem}
.enrollment-box{background:#fff;color:var(--ink);border-radius:25px;padding:29px;box-shadow:0 35px 100px rgba(3,19,34,.32)}
.enrollment-box-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:var(--success-2)}
.enrollment-box h3{font-size:1.35rem;margin:7px 0 18px}
.enrollment-price{display:flex;flex-direction:column;background:#f5f8fb;border-radius:15px;padding:17px;margin-bottom:18px}
.enrollment-price small{font-size:.68rem;text-transform:uppercase;letter-spacing:.06em}
.enrollment-price strong{font-size:1.8rem;color:var(--primary)}
.enrollment-box ul{list-style:none;padding:0;margin:0 0 20px;display:grid;gap:11px}
.enrollment-box li{display:flex;gap:8px;align-items:center;font-size:.82rem;color:#506278}
.enrollment-box li .icon{width:18px;height:18px;color:var(--success-2)}
.enrollment-box>small{display:block;text-align:center;font-size:.65rem;margin-top:12px}
.course-anchor-nav{height:62px;background:#fff;border-bottom:1px solid var(--line-2);position:sticky;top:82px;z-index:50}
.course-anchor-nav .container{height:100%;display:flex;align-items:center;gap:32px;overflow:auto}
.course-anchor-nav a{white-space:nowrap;font-size:.82rem;font-weight:800;color:#627488}
.course-info-grid{display:grid;grid-template-columns:minmax(0,1.5fr) 340px;gap:70px;align-items:start}
.course-description h2{font-size:clamp(2.2rem,4vw,3.45rem);margin:10px 0 24px}
.rich-public-text{font-size:1.02rem;line-height:1.8;color:#536579}
.course-summary-card{background:#fff;border:1px solid var(--line-2);border-radius:22px;padding:25px;box-shadow:var(--shadow-sm)}
.course-summary-card h3{margin-bottom:17px}
.course-summary-card>div{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line-2)}
.course-summary-card>div:last-child{border:0}
.course-summary-card span{font-size:.78rem;color:#728296}
.course-summary-card strong{font-size:.82rem;text-align:right}
.curriculum-list{display:grid;gap:12px}
.curriculum-item{border:1px solid var(--line-2);border-radius:17px;background:#fff;overflow:hidden}
.curriculum-item summary{display:grid;grid-template-columns:52px 1fr auto 25px;gap:15px;align-items:center;padding:19px 22px;cursor:pointer;list-style:none}
.curriculum-item summary::-webkit-details-marker{display:none}
.curriculum-number{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--primary-100);color:var(--primary);font-weight:900;font-size:.78rem}
.curriculum-item summary>div{display:flex;flex-direction:column}
.curriculum-item summary small{font-size:.63rem;text-transform:uppercase;letter-spacing:.07em;color:var(--accent-700);font-weight:850}
.curriculum-item summary strong{font-size:.95rem;margin-top:3px}
.curriculum-meta{font-size:.72rem;color:#718195}
.curriculum-item summary i{font-style:normal;font-size:1.25rem;color:#8494a6}
.curriculum-item[open] summary i{transform:rotate(45deg)}
.curriculum-body{padding:0 24px 22px 89px;color:#66788b}
.curriculum-body p{margin:0}
.two-column-content{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.two-column-content h2{font-size:2rem;margin:8px 0 18px}
.text-panel{background:#fff;border:1px solid var(--line-2);border-radius:20px;padding:25px;min-height:170px;color:#596b7e;line-height:1.75}
.certificate-promo{display:grid;grid-template-columns:450px 1fr;gap:75px;align-items:center}
.certificate-promo-art{height:330px;border-radius:28px;background:linear-gradient(145deg,var(--primary-900),var(--primary));padding:45px;display:grid;place-items:center;position:relative;overflow:hidden}
.certificate-promo-art:before{content:"";position:absolute;width:300px;height:300px;border:50px solid rgba(215,169,40,.18);border-radius:50%;right:-90px;top:-100px}
.mini-certificate{width:300px;height:220px;background:#fff;border:6px double #d8b649;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;box-shadow:0 25px 55px rgba(3,18,33,.3);transform:rotate(-4deg)}
.mini-certificate span{font-weight:950;color:var(--primary);letter-spacing:.1em}
.mini-certificate strong{font-size:1.55rem;margin:10px 0}
.mini-certificate i{display:block;width:130px;height:2px;background:#d9dee4;margin:5px}
.mini-certificate small{margin-top:10px}
.certificate-promo h2{font-size:clamp(2.1rem,4vw,3.45rem);margin:10px 0 18px}
.certificate-promo>div:last-child>p{color:#5e7084;line-height:1.75}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.testimonial-card{background:#fff;border:1px solid var(--line-2);border-radius:22px;padding:26px;box-shadow:var(--shadow-sm)}
.stars{color:#e3af17;letter-spacing:.08em;margin-bottom:14px}
.testimonial-card>p{font-size:1rem;line-height:1.7;color:#45576a;min-height:120px}
.testimonial-card>div:last-child{display:flex;align-items:center;gap:11px}
.testimonial-card>div:last-child>div{display:flex;flex-direction:column}
.faq-layout{display:grid;grid-template-columns:320px 1fr;gap:70px;align-items:start}
.faq-layout h2{font-size:2.7rem;margin:10px 0 18px}
.faq-layout>div:first-child p{color:#6a7c8f}
.faq-list{display:grid;gap:11px}
.faq-list details{border:1px solid var(--line-2);border-radius:16px;padding:0 20px;background:#fff}
.faq-list summary{list-style:none;display:flex;justify-content:space-between;gap:20px;padding:18px 0;font-weight:800;cursor:pointer}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary span{font-size:1.2rem;color:#8393a4}
.faq-list details[open] summary span{transform:rotate(45deg)}
.faq-list p{color:#617286;line-height:1.7;padding:0 0 18px;margin:0}

/* Enrollment/auth */
.enrollment-page{min-height:calc(100vh - 82px);background:linear-gradient(135deg,#eef4f9,#fff);padding:65px 0}
.enrollment-page-grid{display:grid;grid-template-columns:1fr 520px;gap:80px;align-items:start}
.enrollment-course-summary{padding-top:45px}
.enrollment-course-summary h1{font-size:clamp(2.7rem,5vw,4.5rem);line-height:1.02;margin:18px 0}
.enrollment-course-summary>p{font-size:1.05rem;line-height:1.7;color:#66788b}
.enrollment-summary-list{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:30px 0}
.enrollment-summary-list>span{display:flex;gap:9px;align-items:center;background:#fff;border:1px solid var(--line-2);border-radius:14px;padding:13px}
.enrollment-summary-list .icon{color:var(--accent-700)}
.enrollment-summary-list div{display:flex;flex-direction:column}
.enrollment-summary-list small{font-size:.6rem;text-transform:uppercase;letter-spacing:.06em}
.enrollment-summary-list strong{font-size:.78rem}
.secure-box{display:flex;align-items:flex-start;gap:12px;background:#e8f3fb;border-radius:15px;padding:16px;color:#315875}
.secure-box>.icon{width:23px;height:23px;margin-top:2px}
.secure-box div{display:flex;flex-direction:column}
.secure-box p{font-size:.75rem;margin:4px 0 0;color:#54718a}
.enrollment-form-card{background:#fff;border-radius:27px;padding:35px;box-shadow:var(--shadow-lg);border:1px solid var(--line-2)}
.enrollment-form-card h2{font-size:1.8rem;margin:18px 0 6px}
.enrollment-form-card>p{color:#748496;margin-bottom:24px}
.form-progress{display:flex;align-items:center;gap:8px}
.form-progress span{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#eef2f6;color:#8190a1;font-size:.7rem;font-weight:850}
.form-progress span.active{background:var(--primary);color:#fff}
.form-progress i{height:2px;flex:1;background:#e6ebf0}
.commercial-form label{font-size:.79rem;font-weight:800;color:#374a5f;margin-bottom:15px}
.commercial-form input,.commercial-form select,.commercial-form textarea{margin:6px 0 0;border-color:#d8e0e9;border-radius:12px;padding:12px 13px;background:#fff}
.commercial-form label small{display:block;margin-top:5px;font-weight:500}
.password-field{position:relative}
.password-field input{padding-right:72px}
.password-field button{position:absolute;right:8px;top:14px;border:0;background:#eef3f8;color:var(--primary);font-size:.68rem;font-weight:850;border-radius:8px;padding:6px 8px;cursor:pointer}
.terms-check{display:flex!important;align-items:flex-start;gap:9px;font-weight:600!important;line-height:1.45}
.terms-check input{width:auto;margin:3px 0 0}
.form-login{text-align:center;font-size:.78rem;margin:17px 0 0;color:#718295}
.form-login a{font-weight:850;color:var(--primary)}
.auth-page{min-height:100vh;display:grid;grid-template-columns:1.08fr .92fr;background:#fff}
.auth-visual{position:relative;min-height:100vh;background:linear-gradient(135deg,var(--primary-900),var(--primary));display:flex;align-items:flex-end;padding:70px;overflow:hidden}
.auth-visual:before{content:"";position:absolute;width:600px;height:600px;border:95px solid rgba(255,255,255,.05);border-radius:50%;right:-180px;top:-200px}
.auth-visual:after{content:"SBPMA";position:absolute;right:-18px;bottom:20px;font-size:7rem;font-weight:950;color:rgba(255,255,255,.035);letter-spacing:.08em}
.auth-visual-overlay{position:absolute;inset:0;background:radial-gradient(circle at 75% 25%,rgba(215,169,40,.24),transparent 28%)}
.auth-visual-content{position:relative;z-index:2;max-width:630px;color:#fff}
.auth-visual-content h1{font-size:clamp(3rem,5vw,5rem);line-height:1;margin:18px 0 22px}
.auth-visual-content>p{font-size:1.1rem;color:#d8e5f0;line-height:1.7}
.auth-features{display:grid;gap:11px;margin-top:30px}
.auth-features span{display:flex;gap:9px;align-items:center;color:#e5eef6}
.auth-features .icon{color:#f2cc61}
.auth-panel{padding:40px 70px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fff}
.auth-logo{display:flex;align-items:center;gap:12px;align-self:flex-start;margin-bottom:50px}
.auth-card{width:min(430px,100%);box-shadow:none;border:0;padding:0}
.auth-card h2{font-size:2rem;margin:8px 0 7px}
.auth-card>p{color:#708194;margin-bottom:28px}
.login-options{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:.75rem;margin:0 0 18px}
.login-options label{display:flex;align-items:center;gap:6px;margin:0;font-weight:600}
.login-options input{width:auto;margin:0}
.login-options a{font-weight:800}
.auth-help{text-align:center;border-top:1px solid var(--line-2);padding-top:20px;margin-top:22px;font-size:.8rem;color:#6f8092}
.auth-help a{font-weight:850}
.auth-copyright{margin-top:45px}
.simple-auth{min-height:calc(100vh - 82px);background:#f4f7fb;display:grid;place-items:center;padding:50px 20px}
.simple-auth-card{width:min(480px,100%);background:#fff;border-radius:25px;padding:35px;box-shadow:var(--shadow-md);text-align:center}
.simple-auth-card .auth-logo{justify-content:center;margin:0 0 35px}
.simple-auth-card .benefit-icon{margin:0 auto 20px}
.simple-auth-card h1{font-size:2rem}
.simple-auth-card>p{color:#6c7d90}
.support-contact-box{display:grid;gap:8px;background:#f5f8fb;border-radius:15px;padding:18px;margin:25px 0;text-align:left}
.support-contact-box span{color:#617286}

/* Certificate public */
.certificate-public-page{background:#f3f6fa;min-height:calc(100vh - 82px);padding:70px 0}
.validation-layout{display:grid;grid-template-columns:1fr 460px;gap:80px;align-items:center;min-height:540px}
.validation-copy h1{font-size:clamp(3rem,5vw,5rem);line-height:1;margin:20px 0}
.validation-copy>p{font-size:1.08rem;color:#68798c;line-height:1.7;max-width:650px}
.validation-copy .hero-badge{background:var(--primary);border-color:var(--primary)}
.validation-copy .secure-box{margin-top:30px;max-width:550px}
.validation-card{background:#fff;border-radius:25px;padding:35px;box-shadow:var(--shadow-md);border:1px solid var(--line-2)}
.validation-card .benefit-icon{margin-bottom:22px}
.validation-card h2{font-size:1.7rem}
.certificate-result{max-width:1000px;margin:0 auto}
.certificate-status{display:flex;align-items:center;gap:13px;border-radius:16px;padding:16px 20px;margin-bottom:25px}
.certificate-status.valid{background:#e3f7ed;color:#08774e}
.certificate-status.revoked{background:#fee9e8;color:#ae322e}
.certificate-status>span{width:38px;height:38px;border-radius:50%;background:currentColor;color:#fff;display:grid;place-items:center;font-weight:900}
.certificate-status div{display:flex;flex-direction:column}
.certificate-status small{color:inherit;opacity:.8}
.certificate-document{background:#fff;padding:20px;box-shadow:var(--shadow-lg)}
.certificate-border{min-height:650px;border:10px double var(--accent);padding:45px;display:flex;flex-direction:column;background:linear-gradient(135deg,#fff,#fffdf6)}
.certificate-header{display:flex;align-items:center;justify-content:center;gap:17px;text-align:left}
.certificate-logo{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:#fff;font-weight:950;font-size:1.15rem}
.certificate-header>div:last-child{display:flex;flex-direction:column}
.certificate-header strong{font-size:1rem;text-transform:uppercase;letter-spacing:.07em;color:var(--primary)}
.certificate-header span{font-family:Georgia,serif;font-size:1.6rem;color:#7c6320}
.certificate-content{text-align:center;margin:auto 0}
.certificate-content>p{font-family:Georgia,serif;font-size:1.05rem;color:#586879}
.certificate-content h1{font-family:Georgia,serif;font-size:3.3rem;font-weight:400;color:var(--primary);margin:15px 0}
.certificate-content h2{font-family:Georgia,serif;font-size:2rem;font-weight:400;color:#8b6911;margin:15px 0}
.certificate-signatures{display:grid;grid-template-columns:1fr 1fr;gap:90px;margin:30px 60px}
.certificate-signatures>div{display:flex;flex-direction:column;text-align:center}
.certificate-signatures i{height:1px;background:#758292;margin-bottom:8px}
.certificate-signatures strong{font-family:Georgia,serif;font-size:.9rem}
.certificate-signatures span{font-size:.68rem;color:#718194}
.certificate-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #dde3e9;padding-top:15px;font-size:.7rem;color:#67788a}
.certificate-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}

/* Core app layout */
.app-shell,.learning-shell{min-height:100vh;display:grid;grid-template-columns:278px minmax(0,1fr);background:var(--canvas)}
.sidebar,.learning-sidebar{position:fixed;inset:0 auto 0 0;width:278px;height:100vh;background:linear-gradient(180deg,var(--primary-900),#081e35);color:#fff;padding:0 14px 16px;display:flex;flex-direction:column;z-index:110;overflow:hidden}
.sidebar-brand{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-bottom:1px solid rgba(255,255,255,.1)}
.sidebar-brand>a{display:flex;align-items:center;gap:11px;color:#fff}
.sidebar-brand .brand-copy small{color:#91a8be}
.sidebar-close{display:none;width:36px;height:36px;border:0;border-radius:10px;background:rgba(255,255,255,.1);color:#fff}
.side-nav{flex:1;overflow:auto;padding:16px 2px 10px;scrollbar-width:thin}
.nav-group{display:grid;gap:4px;margin-bottom:17px}
.nav-group-title{padding:0 11px 7px;color:#718ba3;font-size:.61rem;text-transform:uppercase;letter-spacing:.12em;font-weight:900}
.nav-link{display:flex;align-items:center;gap:11px;color:#c4d3e1;padding:10px 11px;border-radius:11px;font-size:.84rem;font-weight:700;transition:.18s}
.nav-link .icon{width:18px;height:18px;color:#8ba2b8}
.nav-link:hover{background:rgba(255,255,255,.07);color:#fff}
.nav-link.active{background:linear-gradient(90deg,rgba(215,169,40,.18),rgba(255,255,255,.08));color:#fff;box-shadow:inset 3px 0 0 var(--accent)}
.nav-link.active .icon{color:#f0ca5e}
.sidebar-footer{border-top:1px solid rgba(255,255,255,.1);padding:14px 6px 0;margin-top:auto;display:grid;gap:9px}
.sidebar-user{display:flex;align-items:center;gap:9px;padding:4px 5px}
.sidebar-user>div{display:flex;flex-direction:column;min-width:0}
.sidebar-user strong{font-size:.77rem;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-user small{font-size:.62rem;color:#8fa5ba}
.logout-link{padding:8px 6px}
.version{font-size:.55rem;color:#59748e!important;padding:0 7px}
.main-panel,.learning-main{grid-column:2;min-width:0}
.app-topbar,.learning-topbar{height:86px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line-2);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:80;backdrop-filter:blur(18px)}
.topbar-left{display:flex;align-items:center;gap:15px}
.topbar-left>div{display:flex;flex-direction:column}
.topbar-left .eyebrow{color:#8997a7;font-size:.59rem}
.topbar-left strong{font-size:.95rem}
.topbar-icon{width:42px;height:42px;border:1px solid #e1e7ed;border-radius:12px;background:#fff;color:#526579;display:grid;place-items:center;cursor:pointer}
.topbar-icon .icon{width:20px;height:20px}
.topbar-left>.topbar-icon{display:none}
.topbar-actions{display:flex;align-items:center;gap:10px}
.topbar-view-site{display:flex;align-items:center;gap:7px;border:1px solid #e1e7ed;border-radius:11px;padding:9px 12px;font-size:.75rem;font-weight:800;color:#536579}
.topbar-view-site .icon{width:16px;height:16px}
.user-menu{display:flex;align-items:center;gap:9px;margin-left:6px;padding-left:15px;border-left:1px solid var(--line-2)}
.user-menu>div{display:flex;flex-direction:column}
.user-menu strong{font-size:.76rem}
.user-menu small{font-size:.6rem}
.content,.learning-content{max-width:1540px;width:100%;margin:0 auto;padding:34px}
.page-header{align-items:flex-start;margin-bottom:28px}
.page-header h1{font-size:2.25rem;margin:7px 0 8px;letter-spacing:-.035em}
.page-header p{font-size:.9rem;color:#728296}
.sidebar-overlay{display:none}
.learning-sidebar .side-nav{padding-top:24px}
.sidebar-help{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);border-radius:15px;padding:16px;margin:10px 3px 17px}
.help-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--accent);color:var(--primary-900);font-weight:950;margin-bottom:10px}
.sidebar-help strong{font-size:.78rem}
.sidebar-help p{font-size:.65rem;color:#9db1c4;margin:5px 0 10px;line-height:1.5}
.sidebar-help a{font-size:.68rem;color:#f1cc62;font-weight:850}
.learning-topbar{padding:0 27px}
.learning-topbar-brand{display:flex;align-items:center;gap:13px;font-weight:850;color:#43566b}
.learning-topbar-brand .brand-mark{width:36px;height:36px;border-radius:10px}

/* Executive dashboard */
.executive-header{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:27px}
.executive-header h1{font-size:2.55rem;margin:6px 0 7px}
.executive-header p{color:#708094;margin:0}
.executive-actions{display:flex;gap:10px}
.executive-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:22px}
.executive-stat{background:#fff;border:1px solid var(--line-2);border-radius:20px;padding:20px;display:flex;align-items:center;gap:15px;box-shadow:var(--shadow-sm)}
.stat-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center}
.stat-icon .icon{width:23px;height:23px}
.stat-icon.blue{background:#e7f0fa;color:#28659b}.stat-icon.green{background:#e4f7ee;color:#0b8557}.stat-icon.gold{background:#fff3d3;color:#9a7106}.stat-icon.red{background:#feecea;color:#b63a34}
.executive-stat>div{display:flex;flex-direction:column}
.executive-stat small{font-size:.68rem;text-transform:uppercase;letter-spacing:.05em}
.executive-stat strong{font-size:1.55rem;line-height:1.2;margin:3px 0;color:var(--ink)}
.executive-stat span:last-child{font-size:.66rem;color:#7b8a9b}
.executive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:20px}
.executive-grid .span-2{grid-column:span 2}
.modern-table{display:grid}
.modern-table-head,.modern-table-row{display:grid;grid-template-columns:1.4fr 1fr 100px 110px 25px;gap:13px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line-2)}
.modern-table-head{font-size:.63rem;text-transform:uppercase;letter-spacing:.07em;color:#8996a5;font-weight:850}
.modern-table-row{color:#43566a;font-size:.78rem}
.modern-table-row:last-child{border:0}
.modern-table-row:hover{background:#f8fafc;margin:0 -10px;padding-left:10px;padding-right:10px;border-radius:10px}
.person-cell{display:flex;align-items:center;gap:10px}
.person-cell>span{display:flex;flex-direction:column}
.person-cell strong{color:var(--ink)}
.person-cell small{font-size:.62rem}
.modern-table-row>.icon{width:17px;height:17px}
.task-list{display:grid;gap:8px}
.task-row{display:flex;align-items:center;gap:11px;padding:11px;border-radius:13px;background:#f7f9fb;color:var(--ink)}
.task-row:hover{background:#eef3f8}
.task-icon{width:38px;height:38px;border-radius:11px;background:#fff;display:grid;place-items:center;color:var(--primary)}
.task-icon .icon{width:19px;height:19px}
.task-row>div{display:flex;flex-direction:column;flex:1}
.task-row strong{font-size:.75rem}
.task-row small{font-size:.61rem}
.task-count{min-width:27px;height:27px;border-radius:9px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:.68rem;font-weight:850}
.all-clear{text-align:center;padding:25px 10px;color:#587085}
.all-clear>.icon{width:46px;height:46px;border-radius:50%;padding:11px;background:#e4f7ee;color:#0b8557;margin-bottom:11px}
.all-clear strong{display:block;color:var(--ink)}
.all-clear p{font-size:.72rem;margin:5px 0}
.all-clear.small{padding:18px 8px}
.all-clear.small>.icon{width:38px;height:38px}
.admin-course-portfolio{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}
.admin-course-portfolio article{display:grid;grid-template-columns:110px 1fr;border:1px solid var(--line-2);border-radius:15px;overflow:hidden}
.portfolio-cover{background:linear-gradient(145deg,var(--primary-900),var(--primary-700));background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:10px;min-height:115px}
.portfolio-cover span{background:rgba(255,255,255,.9);color:var(--primary);font-size:.55rem;font-weight:900;padding:4px 7px;border-radius:999px}
.admin-course-portfolio article>div:last-child{padding:13px}
.admin-course-portfolio small{font-size:.58rem;color:var(--accent-700);text-transform:uppercase;font-weight:850}
.admin-course-portfolio h3{font-size:.82rem;margin:4px 0}
.admin-course-portfolio p{font-size:.61rem;color:#758598;margin:0 0 9px}
.admin-course-portfolio article>div:last-child>div{display:flex;gap:11px}
.admin-course-portfolio a{font-size:.65rem;font-weight:850}
.financial-summary{display:flex;flex-direction:column}
.financial-donut{width:170px;height:170px;border-radius:50%;margin:0 auto 20px;background:conic-gradient(var(--accent) 0 72%,#e9edf2 72% 100%);display:grid;place-items:center}
.financial-donut:before{content:"";width:125px;height:125px;border-radius:50%;background:#fff;position:absolute}
.financial-donut>div{position:relative;z-index:2;text-align:center;display:flex;flex-direction:column}
.financial-donut strong{font-size:1.05rem}
.financial-donut span{font-size:.58rem;color:#778698}
.financial-line{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid var(--line-2);font-size:.72rem}
.financial-line span{display:flex;align-items:center;gap:7px}
.financial-line i{width:7px;height:7px;border-radius:50%}.financial-line i.green{background:#0b8a5a}.financial-line i.red{background:#d05750}
.financial-summary .btn{margin-top:auto}

/* Marketing/editor/admin */
.marketing-overview{background:linear-gradient(115deg,var(--primary-900),var(--primary));color:#fff;border-radius:22px;padding:25px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}
.marketing-overview>div{display:flex;align-items:center;gap:16px}
.marketing-overview>div>span{width:52px;height:52px;border-radius:15px;background:rgba(255,255,255,.1);display:grid;place-items:center;color:#f1ca5d}
.marketing-overview strong{display:block;font-size:1rem}
.marketing-overview p{font-size:.75rem;color:#c3d4e3;margin:4px 0 0}
.marketing-overview>a{color:#fff;font-size:.75rem;font-weight:850;display:flex;align-items:center;gap:7px}
.marketing-course-list{display:grid;gap:16px}
.marketing-course-card{display:grid;grid-template-columns:170px 1fr auto;gap:22px;align-items:center;background:#fff;border:1px solid var(--line-2);border-radius:20px;padding:15px;box-shadow:var(--shadow-sm)}
.marketing-cover{height:135px;border-radius:15px;background:linear-gradient(145deg,var(--primary-900),var(--primary-700));background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:12px}
.marketing-cover span{font-size:.59rem;font-weight:850;background:rgba(255,255,255,.92);padding:5px 8px;border-radius:999px;color:var(--primary)}
.marketing-course-info>div:first-child{display:flex;gap:6px}
.marketing-course-info h2{font-size:1.2rem;margin:8px 0 6px}
.marketing-course-info>p{font-size:.75rem;color:#718194;max-width:650px;margin:0}
.marketing-metrics{display:flex;gap:20px;margin-top:13px}
.marketing-metrics span{display:flex;flex-direction:column;font-size:.6rem;color:#8392a2}
.marketing-metrics strong{font-size:.75rem;color:#435569}
.marketing-actions{display:flex;flex-direction:column;gap:8px;min-width:190px}
.editor-tabs{display:flex;gap:5px;background:#e9eef4;padding:5px;border-radius:13px;width:max-content;position:sticky;top:97px;z-index:50;margin-bottom:18px}
.editor-tabs a{padding:8px 13px;border-radius:9px;font-size:.73rem;font-weight:850;color:#68798b}
.editor-tabs a.active,.editor-tabs a:hover{background:#fff;color:var(--primary);box-shadow:0 4px 12px rgba(13,47,82,.08)}
.commercial-editor{margin-bottom:20px}
.media-editor-grid{display:grid;grid-template-columns:230px 1fr;gap:20px;margin-bottom:24px}
.media-upload{font-size:.76rem!important}
.media-upload input{margin-top:9px}
.media-preview{height:260px;border-radius:17px;background:#edf2f7 center/cover no-repeat;border:1px dashed #bcc9d6;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#6f8194;text-align:center;padding:20px}
.media-preview .icon{width:35px;height:35px}
.media-preview strong{font-size:.72rem}
.media-preview small{font-size:.6rem}
.course-banner-preview{height:260px}
.toggle-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:10px 0 20px}
.toggle-card{display:flex!important;align-items:center;gap:13px;border:1px solid var(--line-2);border-radius:14px;padding:15px;margin:0!important;cursor:pointer}
.toggle-card input{display:none}
.toggle-card>span{width:41px;height:23px;background:#cbd5df;border-radius:999px;position:relative;transition:.2s}
.toggle-card>span:before{content:"";position:absolute;width:17px;height:17px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 2px 5px rgba(0,0,0,.18)}
.toggle-card input:checked+span{background:var(--primary)}
.toggle-card input:checked+span:before{transform:translateX(18px)}
.toggle-card>div{display:flex;flex-direction:column}
.toggle-card strong{font-size:.76rem}
.toggle-card small{font-size:.61rem;margin-top:3px}
.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.sticky-actions{position:sticky;bottom:15px;background:rgba(255,255,255,.94);border:1px solid var(--line-2);border-radius:16px;padding:12px 16px;box-shadow:var(--shadow-md);z-index:50}
.editable-list{display:grid;gap:10px}
.editable-row{display:grid;grid-template-columns:43px 1fr auto;gap:12px;align-items:center;border:1px solid var(--line-2);border-radius:14px;padding:13px}
.editable-icon{width:40px;height:40px;border-radius:11px;background:var(--primary-100);color:var(--primary);display:grid;place-items:center;font-weight:900}
.editable-icon .icon{width:19px;height:19px}
.editable-row strong{font-size:.78rem}
.editable-row p{font-size:.68rem;color:#778698;margin:4px 0 0}
.icon-danger{border:0;background:#feeceb;color:#b53833;width:31px;height:31px;border-radius:9px;cursor:pointer}
.testimonial-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.testimonial-admin-grid article{border:1px solid var(--line-2);border-radius:15px;padding:17px}
.testimonial-admin-grid p{font-size:.72rem;color:#56687b;min-height:85px}
.testimonial-admin-grid strong,.testimonial-admin-grid small{display:block}
.testimonial-admin-grid form{margin-top:10px}
.brand-editor{display:grid;gap:20px}
.brand-upload-grid{display:grid;grid-template-columns:260px 1fr;gap:28px}
.brand-logo-upload{font-size:.76rem!important}
.brand-logo-preview{height:180px;border-radius:18px;background:#f1f5f9;border:1px dashed #bcc9d5;display:grid;place-items:center;margin:8px 0}
.brand-logo-preview img{max-width:80%;max-height:80%;object-fit:contain}
.brand-logo-preview strong{font-size:3.5rem;color:var(--primary)}
.brand-fields{display:flex;flex-direction:column}
.lead-list{display:grid}
.lead-row{display:grid;grid-template-columns:1.4fr 1fr 120px 150px 80px;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line-2)}
.lead-row:last-child{border:0}
.lead-person{display:flex;align-items:center;gap:10px}
.lead-person>div{display:flex;flex-direction:column}
.lead-row>div:not(.lead-person){display:flex;flex-direction:column}
.lead-row small{font-size:.61rem;color:#7f8d9c}
.lead-row strong{font-size:.76rem}
.announcement-admin-list{display:grid;gap:13px}
.announcement-admin-card{display:grid;grid-template-columns:50px 1fr auto;gap:16px;background:#fff;border:1px solid var(--line-2);border-left:4px solid #9cacbd;border-radius:17px;padding:18px;box-shadow:var(--shadow-sm)}
.announcement-admin-card.priority-important{border-left-color:var(--accent)}
.announcement-admin-card.priority-urgent{border-left-color:#d04640}
.announcement-priority{width:45px;height:45px;border-radius:13px;background:#eef3f8;color:var(--primary);display:grid;place-items:center}
.announcement-meta{display:flex;gap:12px;font-size:.61rem;color:#8593a2;text-transform:uppercase;letter-spacing:.04em}
.announcement-admin-card h2{font-size:1rem;margin:7px 0 5px}
.announcement-admin-card p{font-size:.72rem;color:#617286;margin:0 0 8px}
.proof-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.proof-card{background:#fff;border:1px solid var(--line-2);border-radius:19px;padding:19px;box-shadow:var(--shadow-sm)}
.proof-file{display:flex;align-items:center;gap:11px;background:#f6f8fb;border-radius:13px;padding:12px}
.proof-file>span{width:40px;height:40px;border-radius:11px;background:#fff;display:grid;place-items:center;color:var(--primary)}
.proof-file>div{display:flex;flex-direction:column;flex:1;min-width:0}
.proof-file strong{font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.proof-file small{font-size:.59rem}
.proof-file>a{font-size:.65rem;font-weight:850}
.proof-info{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0}
.proof-info>div{display:flex;flex-direction:column}
.proof-info small{font-size:.57rem;text-transform:uppercase;letter-spacing:.04em}
.proof-info strong{font-size:.71rem;margin:3px 0}
.proof-info span{font-size:.61rem;color:#738396}
.proof-review{border-top:1px solid var(--line-2);padding-top:13px}
.proof-review form{display:grid;gap:8px;margin-top:10px}
.proof-review textarea{margin:0;font-size:.7rem}
.proof-review form>div{display:flex;justify-content:flex-end;gap:7px}
.ticket-admin-list{display:grid;background:#fff;border:1px solid var(--line-2);border-radius:20px;padding:0 20px;box-shadow:var(--shadow-sm)}
.ticket-admin-row{display:grid;grid-template-columns:9px 1.1fr 1.5fr 90px 160px 25px;gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line-2);color:var(--ink)}
.ticket-admin-row:last-child{border:0}
.ticket-priority{width:7px;height:42px;border-radius:999px;background:#9fafbf}.ticket-priority.high{background:var(--accent)}.ticket-priority.urgent{background:#d0443e}
.ticket-person{display:flex;align-items:center;gap:10px}
.ticket-person>div,.ticket-subject,.ticket-admin-row>div:nth-child(4),.ticket-admin-row>div:nth-child(5){display:flex;flex-direction:column}
.ticket-admin-row strong{font-size:.73rem}
.ticket-admin-row small{font-size:.59rem;color:#7b8999;margin-top:3px}
.ticket-layout,.student-ticket-view{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px}
.conversation{display:flex;flex-direction:column;min-height:600px}
.conversation-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:15px;border-bottom:1px solid var(--line-2)}
.conversation-header>div:first-child{display:flex;align-items:center;gap:10px}
.conversation-header>div:first-child>div{display:flex;flex-direction:column}
.messages{display:flex;flex-direction:column;gap:13px;padding:25px 0;flex:1;max-height:600px;overflow:auto}
.message{display:flex}
.message.staff{justify-content:flex-end}
.message>div{max-width:72%;border-radius:15px;padding:12px 14px;background:#eef3f7}
.message.staff>div{background:var(--primary);color:#fff}
.message strong{font-size:.68rem}
.message p{font-size:.75rem;line-height:1.55;margin:5px 0}
.message small{font-size:.57rem;color:inherit;opacity:.7}
.reply-form{border-top:1px solid var(--line-2);padding-top:15px}
.reply-form textarea{margin:0 0 10px}
.reply-form>div{display:flex;justify-content:flex-end;gap:9px}
.reply-form select{width:auto;margin:0}
.ticket-details h3{margin-bottom:14px}
.ticket-details>div{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--line-2)}
.ticket-details span{font-size:.68rem;color:#788798}
.ticket-details strong{font-size:.7rem;text-align:right}

/* Student dashboard/library */
.student-dashboard-header{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:26px}
.student-dashboard-header h1{font-size:2.35rem;margin:7px 0 8px}
.student-dashboard-header p{color:#718194;margin:0}
.student-date{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line-2);border-radius:12px;padding:10px 13px;font-size:.75rem;font-weight:800;color:#5d7083}
.continue-card{background:linear-gradient(120deg,var(--primary-900),var(--primary));border-radius:26px;padding:22px;display:grid;grid-template-columns:210px 1fr 145px;gap:25px;align-items:center;color:#fff;box-shadow:0 24px 60px rgba(9,40,69,.2);margin-bottom:22px;overflow:hidden;position:relative}
.continue-card:after{content:"";position:absolute;width:300px;height:300px;border:55px solid rgba(215,169,40,.1);border-radius:50%;right:-120px;top:-160px}
.continue-cover{height:205px;border-radius:17px;background:linear-gradient(145deg,#1e639b,#0c2948) center/cover no-repeat;display:flex;align-items:flex-end;padding:17px;position:relative;z-index:2}
.continue-cover span{font-size:1.4rem;font-weight:950;letter-spacing:.08em}
.continue-content{position:relative;z-index:2}
.continue-top{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:.67rem;color:#bdd0e1}
.continue-card h2{font-size:1.85rem;margin:12px 0 8px;color:#fff}
.continue-card p{color:#c8d8e7;font-size:.78rem;margin:0 0 15px;max-width:650px}
.continue-progress>div:first-child{display:flex;justify-content:space-between;font-size:.7rem;margin-bottom:6px}
.continue-progress .progress{background:rgba(255,255,255,.16)}
.continue-progress small{display:block;color:#aebfd0;margin-top:5px;font-size:.6rem}
.next-lesson{display:flex;align-items:center;gap:11px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:11px;margin-top:14px}
.play-circle{width:37px;height:37px;border-radius:50%;background:var(--accent);color:var(--primary-900);display:grid;place-items:center}
.play-circle .icon{width:17px;height:17px}
.next-lesson>div{display:flex;flex-direction:column;flex:1}
.next-lesson small{font-size:.56rem;color:#a9bed1;text-transform:uppercase}
.next-lesson strong{font-size:.73rem}
.next-lesson span{font-size:.59rem;color:#b8cbdb}
.next-lesson .btn{min-height:37px;font-size:.68rem;padding:8px 12px}
.progress-ring{width:120px;height:120px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--accent) calc(var(--progress)*1%),rgba(255,255,255,.14) 0);position:relative;z-index:2}
.progress-ring:before{content:"";position:absolute;width:92px;height:92px;border-radius:50%;background:var(--primary)}
.progress-ring>div{position:relative;z-index:2;text-align:center;display:flex;flex-direction:column}
.progress-ring strong{font-size:1.45rem}
.progress-ring span{font-size:.57rem;color:#bdd0e0}
.progress-ring.large{width:155px;height:155px}
.progress-ring.large:before{width:120px;height:120px;background:#113e6a}
.progress-ring.large strong{font-size:1.8rem}
.student-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:20px}
.student-dashboard-grid .span-2{grid-column:span 2}
.student-mini-courses{display:grid;gap:10px}
.student-mini-course{display:grid;grid-template-columns:90px 1fr 22px;gap:13px;align-items:center;border:1px solid var(--line-2);border-radius:14px;padding:9px;color:var(--ink)}
.student-mini-course:hover{background:#f8fafc}
.mini-course-cover{height:72px;border-radius:11px;background:linear-gradient(145deg,var(--primary-900),var(--primary-700)) center/cover no-repeat}
.student-mini-course>div:nth-child(2)>span{font-size:.55rem;color:var(--accent-700);text-transform:uppercase;font-weight:850}
.student-mini-course h3{font-size:.75rem;margin:3px 0 7px}
.student-mini-course .progress{height:6px}
.student-mini-course small{font-size:.55rem}
.student-mini-course>.icon{width:17px;height:17px;color:#8a98a7}
.student-charge-list{display:grid;gap:8px;margin-bottom:13px}
.student-charge-list>a{display:flex;justify-content:space-between;gap:10px;background:#f7f9fb;border-radius:12px;padding:11px;color:var(--ink)}
.student-charge-list>a>div{display:flex;flex-direction:column}
.student-charge-list strong{font-size:.68rem}
.student-charge-list small{font-size:.56rem}
.student-charge-list>a>div:last-child{align-items:flex-end}
.student-announcement-list{display:grid;gap:10px}
.student-announcement{display:grid;grid-template-columns:42px 1fr;gap:12px;border:1px solid var(--line-2);border-left:4px solid #a4b3c2;border-radius:13px;padding:12px}
.student-announcement.priority-important{border-left-color:var(--accent)}.student-announcement.priority-urgent{border-left-color:#d04741}
.student-announcement>span{width:38px;height:38px;border-radius:10px;background:#eef3f8;color:var(--primary);display:grid;place-items:center}
.student-announcement small{font-size:.56rem}
.student-announcement h3{font-size:.75rem;margin:3px 0}
.student-announcement p{font-size:.65rem;color:#6f8092;margin:0}
.support-widget{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.support-widget-icon{width:50px;height:50px;border-radius:15px;background:var(--primary-100);color:var(--primary);display:grid;place-items:center}
.support-widget h2{font-size:1.2rem;margin:14px 0 7px}
.support-widget p{font-size:.7rem;color:#718194;line-height:1.6}
.support-widget small{font-size:.58rem;margin-top:10px}
.student-course-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}
.student-library-card{display:grid;grid-template-columns:210px 1fr;background:#fff;border:1px solid var(--line-2);border-radius:22px;overflow:hidden;box-shadow:var(--shadow-sm)}
.library-cover{background:linear-gradient(145deg,var(--primary-900),var(--primary-700)) center/cover no-repeat;min-height:310px;padding:17px;display:flex;align-items:flex-start}
.library-cover span{font-size:.6rem;font-weight:850;background:rgba(255,255,255,.92);color:var(--primary);padding:5px 8px;border-radius:999px}
.library-body{padding:23px;display:flex;flex-direction:column}
.library-facts{display:flex;gap:13px;font-size:.62rem;color:#718194}
.library-facts span{display:flex;gap:5px;align-items:center}.library-facts .icon{width:14px;height:14px}
.library-body h2{font-size:1.25rem;margin:12px 0 9px}
.library-body>p{font-size:.7rem;color:#718194;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.library-body .continue-progress{margin-top:auto}
.library-actions{display:flex;gap:8px;margin-top:18px}
.library-actions .btn{font-size:.68rem;min-height:38px}

/* Student course/path/player */
.student-course-hero{border-radius:27px;background:linear-gradient(115deg,var(--primary-900),var(--primary));background-size:cover;background-position:center;padding:30px 36px 40px;color:#fff;margin-bottom:25px;box-shadow:var(--shadow-md)}
.student-course-hero-grid{display:grid;grid-template-columns:1fr 180px;gap:40px;align-items:center}
.student-course-hero h1{font-size:2.7rem;margin:17px 0 12px;color:#fff}
.student-course-hero p{color:#c9d8e6;max-width:800px}
.student-course-hero .btn{margin-top:24px}
.course-learning-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}
.learning-path{position:relative;display:grid;gap:15px}
.learning-path:before{content:"";position:absolute;left:24px;top:40px;bottom:40px;width:2px;background:#dce4ec}
.learning-module{display:grid;grid-template-columns:50px 1fr;gap:15px;position:relative}
.module-marker{width:50px;height:50px;border-radius:15px;background:#fff;border:1px solid #dce4ec;display:grid;place-items:center;color:#718194;font-weight:900;position:relative;z-index:2;box-shadow:0 5px 14px rgba(15,47,79,.07)}
.learning-module.active .module-marker{background:var(--primary);color:#fff;border-color:var(--primary)}
.learning-module.done .module-marker{background:#0b8a5a;color:#fff;border-color:#0b8a5a}
.learning-module.locked .module-marker{background:#eef2f6;color:#98a5b2}
.module-card{background:#fff;border:1px solid var(--line-2);border-radius:20px;padding:20px;box-shadow:var(--shadow-sm)}
.learning-module.active .module-card{border-color:#b7cee3;box-shadow:0 12px 35px rgba(17,58,96,.1)}
.module-header{display:flex;justify-content:space-between;gap:20px}
.module-header small{font-size:.58rem;color:var(--accent-700);text-transform:uppercase;letter-spacing:.06em;font-weight:850}
.module-header h3{font-size:1.05rem;margin:5px 0 6px}
.module-header p{font-size:.67rem;color:#758497;margin:0}
.module-lessons{display:grid;gap:7px;margin-top:15px;border-top:1px solid var(--line-2);padding-top:13px}
.module-lessons a{display:grid;grid-template-columns:35px 1fr 20px;gap:10px;align-items:center;padding:9px;border-radius:11px;color:var(--ink)}
.module-lessons a:hover{background:#f5f8fb}
.lesson-state{width:32px;height:32px;border-radius:9px;background:#eef3f8;color:var(--primary);display:grid;place-items:center}
.lesson-state .icon{width:16px;height:16px}
.module-lessons a>div{display:flex;flex-direction:column}
.module-lessons strong{font-size:.7rem}
.module-lessons small{font-size:.56rem}
.module-lessons>a>.icon{width:15px;height:15px;color:#8997a6}
.module-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line-2);margin-top:12px;padding-top:12px;font-size:.62rem;color:#778698}
.module-footer a{display:flex;align-items:center;gap:5px;font-weight:850;color:var(--primary)}
.module-footer .icon{width:14px;height:14px}
.locked-message{display:flex;align-items:center;gap:9px;background:#f5f7f9;border-radius:12px;padding:12px;margin-top:14px;color:#718194;font-size:.65rem}
.locked-message .icon{width:18px;height:18px}
.course-side-summary h3{margin-bottom:15px}
.summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line-2);font-size:.68rem}
.summary-row span{color:#748396}
.course-side-summary .btn{margin-top:17px}
.lesson-player-shell{display:grid;grid-template-columns:315px minmax(0,1fr);min-height:100vh;background:#f3f6fa;margin:-34px}
.lesson-outline{background:var(--primary-900);color:#fff;height:100vh;position:sticky;top:0;display:flex;flex-direction:column}
.lesson-outline-header{padding:20px;border-bottom:1px solid rgba(255,255,255,.1)}
.lesson-outline-header>a{display:flex;align-items:center;gap:7px;color:#9eb4c8;font-size:.68rem;margin-bottom:14px}
.lesson-outline-header h2{font-size:.9rem;color:#fff;margin:0}
.outline-scroll{overflow:auto;padding:10px}
.outline-stage{border-bottom:1px solid rgba(255,255,255,.08)}
.outline-stage summary{list-style:none;display:grid;grid-template-columns:31px 1fr 17px;gap:9px;align-items:center;padding:13px 7px;cursor:pointer}
.outline-stage summary::-webkit-details-marker{display:none}
.outline-stage summary>span{width:27px;height:27px;border-radius:8px;background:rgba(255,255,255,.08);display:grid;place-items:center;font-size:.58rem;font-weight:850}
.outline-stage summary strong{font-size:.65rem;line-height:1.3;color:#dbe6ef}
.outline-stage summary i{font-style:normal;color:#7f9ab3}
.outline-stage>div{display:grid;gap:3px;padding:0 0 10px 35px}
.outline-lesson{display:grid;grid-template-columns:27px 1fr;gap:8px;align-items:center;color:#9db2c5;padding:8px;border-radius:9px}
.outline-lesson:hover,.outline-lesson.active{background:rgba(255,255,255,.08);color:#fff}
.outline-lesson.active{box-shadow:inset 3px 0 0 var(--accent)}
.outline-lesson.locked{opacity:.45;pointer-events:none}
.outline-lesson>span{width:24px;height:24px;border-radius:7px;background:rgba(255,255,255,.07);display:grid;place-items:center}
.outline-lesson .icon{width:13px;height:13px}
.outline-lesson>div{display:flex;flex-direction:column}
.outline-lesson strong{font-size:.59rem}
.outline-lesson small{font-size:.5rem;color:#718ca4}
.lesson-player-main{min-width:0}
.lesson-player-top{height:72px;background:#fff;border-bottom:1px solid var(--line-2);display:flex;align-items:center;gap:13px;padding:0 24px;position:sticky;top:0;z-index:40}
.lesson-player-top>.topbar-icon{display:none}
.lesson-player-top>div{display:flex;flex-direction:column;flex:1}
.lesson-player-top small{font-size:.56rem;color:#7d8c9c}
.lesson-player-top strong{font-size:.76rem}
.lesson-player-content{max-width:1000px;margin:0 auto;padding:28px}
.video-stage{aspect-ratio:16/9;background:#0a1521;border-radius:20px;overflow:hidden;position:relative;box-shadow:0 22px 55px rgba(5,20,34,.18)}
.video-stage iframe{width:100%;height:100%;border:0}
.video-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#a6bacb}
.video-placeholder .icon{width:65px;height:65px;padding:18px;border-radius:50%;background:rgba(255,255,255,.08);margin-bottom:13px}
.video-placeholder span{font-size:.68rem;margin-top:5px}
.student-watermark{position:absolute;right:13px;bottom:12px;background:rgba(0,0,0,.56);color:#fff;border-radius:8px;padding:5px 8px;font-size:.54rem;pointer-events:none}
.lesson-info{background:#fff;border:1px solid var(--line-2);border-radius:20px;padding:25px;margin-top:18px;box-shadow:var(--shadow-sm)}
.lesson-title-row{display:flex;justify-content:space-between;gap:30px}
.lesson-title-row h1{font-size:2rem;margin:7px 0 11px}
.lesson-title-row p{color:#647588;line-height:1.65}
.lesson-duration{display:flex;align-items:center;gap:6px;white-space:nowrap;background:#f3f6f9;border-radius:10px;padding:8px 10px;height:max-content;font-size:.65rem;color:#647689}
.lesson-duration .icon{width:15px;height:15px}
.lesson-rich-content{border-top:1px solid var(--line-2);padding-top:20px;line-height:1.75;color:#536579}
.lesson-resources{border-top:1px solid var(--line-2);margin-top:22px;padding-top:20px}
.lesson-resources h2,.lesson-notes h2{font-size:1.25rem}
.resource-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.resource-grid>a{display:grid;grid-template-columns:43px 1fr 20px;gap:10px;align-items:center;border:1px solid var(--line-2);border-radius:13px;padding:11px;color:var(--ink)}
.resource-grid>a:hover{background:#f7f9fb}
.resource-icon{width:40px;height:40px;border-radius:11px;background:var(--accent-100);color:var(--accent-700);display:grid;place-items:center}
.resource-icon.link{background:var(--primary-100);color:var(--primary)}
.resource-icon .icon{width:19px;height:19px}
.resource-grid>a>div{display:flex;flex-direction:column}
.resource-grid strong{font-size:.68rem}
.resource-grid small{font-size:.55rem}
.resource-grid>a>.icon{width:15px;height:15px;color:#8996a4}
.lesson-notes{border-top:1px solid var(--line-2);margin-top:22px;padding-top:20px;display:grid;grid-template-columns:260px 1fr;gap:25px}
.lesson-notes>div p{font-size:.68rem;color:#748496}
.lesson-notes textarea{margin:0 0 9px}
.lesson-notes form{text-align:right}
.lesson-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}
.lesson-navigation>div{display:flex;gap:8px}
.lesson-navigation form{margin:0}

/* Student announcements/support/payment */
.announcement-feed{display:grid;gap:14px;max-width:980px}
.announcement-feed-card{display:grid;grid-template-columns:48px 1fr;gap:15px;background:#fff;border:1px solid var(--line-2);border-left:4px solid #9babbc;border-radius:17px;padding:19px;box-shadow:var(--shadow-sm)}
.announcement-feed-card.priority-important{border-left-color:var(--accent)}.announcement-feed-card.priority-urgent{border-left-color:#d1443e}
.announcement-feed-card.read{opacity:.82}
.announcement-feed-icon{width:44px;height:44px;border-radius:13px;background:#eef3f8;color:var(--primary);display:grid;place-items:center}
.announcement-feed-card h2{font-size:1rem;margin:6px 0}
.announcement-feed-card p{font-size:.75rem;color:#5f7184;line-height:1.65;margin:0 0 8px}
.new-dot{background:#e7f0fa;color:#236297!important;border-radius:999px;padding:3px 7px;font-weight:850}
.student-ticket-list{display:grid;gap:10px}
.student-ticket-list>a{display:grid;grid-template-columns:48px 1fr auto 20px;gap:13px;align-items:center;background:#fff;border:1px solid var(--line-2);border-radius:16px;padding:14px;color:var(--ink);box-shadow:var(--shadow-sm)}
.student-ticket-list h3{font-size:.82rem;margin:3px 0}
.student-ticket-list p,.student-ticket-list small{font-size:.6rem;color:#758497;margin:0}
.student-ticket-view{grid-template-columns:1fr}
.proof-upload-page{max-width:670px}
.payment-summary{display:flex;align-items:center;gap:15px;background:#f5f8fb;border-radius:15px;padding:17px;margin-bottom:20px}
.payment-summary .benefit-icon{margin:0}
.payment-summary>div{display:flex;flex-direction:column}
.payment-summary strong{font-size:1.5rem;color:var(--primary)}
.payment-summary span{font-size:.68rem;color:#718194}
.dropzone{display:flex!important;align-items:center;justify-content:center;flex-direction:column;border:2px dashed #b7c5d3;border-radius:17px;padding:36px!important;text-align:center;cursor:pointer;background:#fafcfd}
.dropzone:hover{border-color:var(--primary);background:#f4f8fb}
.dropzone input{display:none}
.dropzone>span{width:52px;height:52px;border-radius:15px;background:var(--primary-100);color:var(--primary);display:grid;place-items:center;margin-bottom:12px}
.dropzone>strong{font-size:.82rem}
.dropzone>small{font-size:.63rem}

/* Existing forms/tables refinements */
.card{border-color:var(--line-2);border-radius:20px;box-shadow:var(--shadow-sm)}
input,select,textarea{border-color:#d6dee7;border-radius:11px;font-size:.82rem}
input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(18,59,103,.09)}
label{font-size:.78rem;color:#405367}
table{font-size:.78rem}
th{background:#f6f8fa;color:#738293;font-size:.63rem}
th,td{padding:13px 14px}
.modal{border-radius:22px}
.modal-card{border-radius:22px;padding:26px}
.modal-header h2{font-size:1.55rem}
.empty-state{padding:50px 25px;text-align:center;background:#fff;border:1px dashed #cfd9e3;border-radius:20px}
.empty-icon{width:58px;height:58px;border-radius:18px;background:var(--primary-100);color:var(--primary);display:grid;place-items:center;margin:0 auto 17px}
.empty-icon .icon{width:27px;height:27px}
.empty-state h3{font-size:1.1rem;margin-bottom:7px}
.empty-state p{color:#728295;max-width:520px;margin:0 auto 18px}
.toast-stack{position:fixed;right:22px;top:100px;z-index:300;display:grid;gap:10px;width:min(390px,calc(100% - 30px))}
.toast{display:grid;grid-template-columns:38px 1fr 25px;gap:11px;align-items:start;background:#fff;border:1px solid var(--line-2);border-radius:15px;padding:13px;box-shadow:var(--shadow-lg);animation:toastIn .3s ease}
@keyframes toastIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
.toast-icon{width:35px;height:35px;border-radius:10px;background:#e6f7ef;color:#0a8053;display:grid;place-items:center;font-weight:950}
.toast.error .toast-icon{background:#feeceb;color:#b63731}.toast.warning .toast-icon{background:#fff3d5;color:#8d6707}
.toast strong{font-size:.75rem}.toast p{font-size:.67rem;color:#647588;margin:3px 0 0}.toast button{border:0;background:none;color:#8a98a7;font-size:1.1rem;cursor:pointer}
.update-shell{width:min(820px,calc(100% - 40px));margin:70px auto;background:#fff;border:1px solid var(--line-2);border-radius:28px;padding:40px;box-shadow:var(--shadow-lg)}
.update-hero{text-align:center;margin-bottom:25px}.update-hero h1{font-size:2.5rem;margin:15px 0 12px}.update-hero p{color:#6e7f92}.badge-gold{background:var(--accent-100);color:var(--accent-700);border-radius:999px;padding:7px 11px;font-size:.68rem;font-weight:850}.update-checklist{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:20px 0}.update-checklist>div{display:flex;gap:8px;align-items:center;background:#f6f8fa;border-radius:11px;padding:10px;font-size:.72rem}.update-checklist>div span{color:#0a8556}.update-actions{display:flex;justify-content:center;gap:10px;margin:25px 0}.update-form{text-align:center}

/* Responsive */
@media(max-width:1200px){
  .hero-grid{grid-template-columns:1fr 460px;gap:35px}.hero-copy h1{font-size:4.3rem}
  .benefit-grid{grid-template-columns:repeat(2,1fr)}.commercial-course-grid{grid-template-columns:repeat(2,1fr)}
  .executive-stat-grid{grid-template-columns:repeat(2,1fr)}
  .student-course-library{grid-template-columns:1fr}
  .proof-grid{grid-template-columns:1fr}
}
@media(max-width:1024px){
  .public-nav{display:none;position:absolute;top:82px;left:0;right:0;background:#fff;padding:20px;box-shadow:var(--shadow-md);flex-direction:column;align-items:stretch;gap:0}.public-nav.open{display:flex}.public-nav>a{padding:12px}.public-nav>a.active:after{display:none}.public-login{border:0;padding-left:12px}.public-menu-button{display:grid;place-items:center}
  .hero-grid{grid-template-columns:1fr;padding:70px 0 100px}.hero-copy{text-align:center}.hero-copy h1,.hero-copy>p{margin-left:auto;margin-right:auto}.hero-actions,.hero-trust{justify-content:center}.hero-visual{min-height:440px}.hero-device{width:min(470px,90%)}
  .institution-grid,.certificate-promo{grid-template-columns:1fr;gap:50px}.institution-visual{max-width:600px}.certificate-promo-art{max-width:600px}
  .course-public-hero-grid{grid-template-columns:1fr}.enrollment-box{max-width:480px}.course-info-grid{grid-template-columns:1fr}.course-summary-card{max-width:500px}.faq-layout{grid-template-columns:1fr;gap:30px}
  .enrollment-page-grid{grid-template-columns:1fr;gap:35px}.enrollment-course-summary{padding-top:0}.enrollment-form-card{max-width:620px}
  .validation-layout{grid-template-columns:1fr;gap:35px}.validation-card{max-width:520px}
  .auth-page{grid-template-columns:1fr}.auth-visual{display:none}.auth-panel{min-height:100vh;padding:35px}.auth-logo{align-self:center}.auth-card{width:min(460px,100%)}
  .executive-grid{grid-template-columns:1fr}.executive-grid .span-2{grid-column:auto}.admin-course-portfolio{grid-template-columns:1fr 1fr}
  .marketing-course-card{grid-template-columns:140px 1fr}.marketing-actions{grid-column:1/-1;flex-direction:row}.marketing-actions .btn{flex:1}
  .media-editor-grid{grid-template-columns:1fr 1.5fr}.brand-upload-grid{grid-template-columns:220px 1fr}
  .student-dashboard-grid{grid-template-columns:1fr}.student-dashboard-grid .span-2{grid-column:auto}.course-learning-grid{grid-template-columns:1fr}.course-learning-grid aside{display:none}
  .continue-card{grid-template-columns:170px 1fr}.continue-card>.progress-ring{display:none}
  .lesson-player-shell{grid-template-columns:1fr}.lesson-outline{position:fixed;left:-330px;top:0;width:315px;z-index:200;transition:.25s}.lesson-player-shell.outline-open .lesson-outline{left:0}.lesson-player-top>.topbar-icon{display:grid}
  .ticket-layout{grid-template-columns:1fr}.ticket-details{display:none}
}
@media(max-width:780px){
  .container{width:min(100% - 28px,1180px)}.section{padding:62px 0}.section-heading.split{align-items:flex-start;flex-direction:column;gap:12px}.section-heading h2{font-size:2.35rem}
  .commercial-hero{min-height:auto}.hero-grid{padding:55px 0 75px}.hero-copy h1{font-size:3.2rem}.hero-copy>p{font-size:1rem}.hero-visual{display:none}
  .institution-strip-grid{grid-template-columns:repeat(2,1fr);gap:0}.institution-strip-grid>div{padding:14px;border-bottom:1px solid var(--line-2)}
  .benefit-grid,.commercial-course-grid,.testimonial-grid,.two-column-content{grid-template-columns:1fr}
  .commercial-course-cover{height:230px}.institution-grid{gap:35px}.institution-visual{min-height:370px}.institution-photo{height:360px}.experience-badge{width:125px;height:125px;right:-5px}.cta-card{padding:36px 28px;flex-direction:column;align-items:flex-start}.cta-card h2{font-size:2.2rem}
  .page-hero{padding:60px 0}.page-hero h1{font-size:3rem}.catalog-toolbar{align-items:stretch;flex-direction:column}.catalog-search{min-width:0}
  .course-public-hero{padding:55px 0}.course-public-hero h1{font-size:3.2rem}.course-anchor-nav{top:72px}.course-public-facts{gap:8px}.course-public-facts span{padding:8px 9px}.certificate-promo-art{height:280px;padding:30px}.mini-certificate{width:250px;height:190px}.faq-layout h2{font-size:2.3rem}
  .enrollment-summary-list{grid-template-columns:1fr}.enrollment-form-card{padding:25px}.enrollment-course-summary h1{font-size:3rem}
  .validation-copy h1{font-size:3rem}.certificate-border{padding:25px;min-height:600px}.certificate-content h1{font-size:2.3rem}.certificate-content h2{font-size:1.5rem}.certificate-signatures{margin:25px 0;gap:30px}.certificate-footer{flex-direction:column;gap:5px}.certificate-actions{flex-direction:column}
  .app-shell,.learning-shell{display:block}.sidebar,.learning-sidebar{transform:translateX(-100%);transition:.25s}.menu-open .sidebar,.menu-open .learning-sidebar{transform:none}.sidebar-close{display:grid;place-items:center}.sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(5,18,31,.58);z-index:105;opacity:0;visibility:hidden;transition:.25s}.menu-open .sidebar-overlay{opacity:1;visibility:visible}.main-panel,.learning-main{grid-column:auto}.topbar-left>.topbar-icon{display:grid}.app-topbar,.learning-topbar{height:72px;padding:0 15px}.topbar-view-site span,.user-menu>div{display:none}.content,.learning-content{padding:22px 15px}.page-header{flex-direction:column}.page-header h1{font-size:1.9rem}.page-actions{width:100%}.page-actions .btn{flex:1}
  .executive-header{align-items:flex-start;flex-direction:column}.executive-actions{width:100%}.executive-actions .btn{flex:1}.executive-stat-grid{grid-template-columns:1fr}.modern-table-head{display:none}.modern-table-row{grid-template-columns:1fr auto}.modern-table-row>span:nth-child(2),.modern-table-row>span:nth-child(3),.modern-table-row>span:nth-child(5){display:none}.admin-course-portfolio{grid-template-columns:1fr}
  .marketing-overview{align-items:flex-start;flex-direction:column}.marketing-course-card{grid-template-columns:110px 1fr;gap:13px}.marketing-cover{height:120px}.marketing-course-info>p,.marketing-metrics{display:none}.marketing-actions{grid-column:1/-1}.editor-tabs{top:82px;max-width:100%;overflow:auto}.media-editor-grid,.brand-upload-grid{grid-template-columns:1fr}.toggle-grid,.testimonial-admin-grid{grid-template-columns:1fr}.lead-row{grid-template-columns:1fr auto}.lead-row>div:nth-child(2),.lead-row>div:nth-child(3),.lead-row>div:nth-child(4){display:none}.proof-info{grid-template-columns:1fr}.ticket-admin-row{grid-template-columns:7px 1fr 20px}.ticket-admin-row>div:nth-child(3),.ticket-admin-row>div:nth-child(4),.ticket-admin-row>div:nth-child(5){display:none}
  .student-dashboard-header{align-items:flex-start;flex-direction:column}.continue-card{grid-template-columns:1fr;padding:16px}.continue-cover{height:180px}.continue-card h2{font-size:1.5rem}.next-lesson{align-items:flex-start;flex-wrap:wrap}.next-lesson .btn{width:100%}.student-course-library{grid-template-columns:1fr}.student-library-card{grid-template-columns:1fr}.library-cover{min-height:210px}.student-course-hero{padding:23px}.student-course-hero-grid{grid-template-columns:1fr}.student-course-hero .progress-ring{display:none}.student-course-hero h1{font-size:2.2rem}.learning-path:before{left:18px}.learning-module{grid-template-columns:37px 1fr;gap:10px}.module-marker{width:37px;height:37px;border-radius:11px;font-size:.7rem}.module-header{flex-direction:column}.module-footer{align-items:flex-start;flex-direction:column}.lesson-player-shell{margin:-22px -15px}.lesson-player-content{padding:15px}.video-stage{border-radius:0}.lesson-info{border-radius:0;margin-top:10px;padding:18px}.lesson-title-row{flex-direction:column}.lesson-title-row h1{font-size:1.55rem}.lesson-duration{align-self:flex-start}.resource-grid,.lesson-notes{grid-template-columns:1fr}.lesson-navigation{align-items:stretch;flex-direction:column}.lesson-navigation>div{display:grid}.lesson-navigation .btn{width:100%}
  .form-grid,.form-grid.three,.check-grid{grid-template-columns:1fr}.update-checklist{grid-template-columns:1fr}.update-shell{padding:25px;margin:35px auto}.update-actions{flex-direction:column}.footer-grid{grid-template-columns:1fr;gap:30px}.footer-bottom{flex-direction:column;gap:7px}.toast-stack{top:85px;right:15px}
}
@media print{
  .public-header,.public-footer,.no-print,.certificate-status,.certificate-actions{display:none!important}
  .certificate-public-page{padding:0;background:#fff}.certificate-document{box-shadow:none;padding:0}.certificate-border{min-height:95vh}
}
/* Financeiro, perfil e certificados do aluno */
.finance-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px}.finance-summary-grid article{display:flex;align-items:center;gap:16px;padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow-sm)}.finance-summary-grid small,.finance-summary-grid span{display:block;color:var(--muted)}.finance-summary-grid strong{display:block;font-size:1.55rem;margin:3px 0;color:var(--ink)}.payment-instructions{display:grid;grid-template-columns:1.3fr 1fr;gap:25px;align-items:center;margin-bottom:22px}.payment-instructions>div:first-child{display:flex;gap:16px;align-items:flex-start}.pix-box{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px;border-radius:16px;background:var(--surface-soft);border:1px dashed #b8c5d3}.pix-box small,.pix-box span{display:block;color:var(--muted)}.pix-box strong{display:block;overflow-wrap:anywhere;margin:4px 0}.finance-card-list{display:grid;gap:14px}.finance-charge-card{display:grid;grid-template-columns:minmax(0,1.5fr) auto minmax(190px,.6fr);align-items:center;gap:20px;padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-sm)}.charge-main{display:flex;align-items:center;gap:14px}.charge-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#edf3fa;color:var(--primary);flex:0 0 auto}.charge-icon.success{background:#e9f8f0;color:#15875d}.charge-icon.danger{background:#fff0ef;color:#c23a35}.charge-main small,.charge-main p,.charge-actions span{color:var(--muted)}.charge-main h2{font-size:1.03rem;margin:4px 0}.charge-main p{font-size:.86rem;margin:0}.charge-value{text-align:right}.charge-value>strong{display:block;font-size:1.15rem;margin-bottom:5px}.charge-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}.identified-account{display:flex;align-items:center;gap:13px;padding:15px;border:1px solid var(--line);background:var(--surface-soft);border-radius:16px;margin:18px 0}.identified-account small{display:block;color:var(--muted);margin-top:3px}.profile-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:22px;align-items:start}.profile-layout main{display:grid;gap:22px}.profile-summary{text-align:center;position:sticky;top:92px}.profile-avatar{width:92px;height:92px;margin:0 auto 15px;border-radius:28px;display:grid;place-items:center;background:linear-gradient(145deg,var(--primary),#2e6297);color:#fff;font-size:2rem;font-weight:800}.profile-summary>p{color:var(--muted);overflow-wrap:anywhere}.profile-summary>div{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-top:1px solid var(--line);text-align:left}.profile-summary>div span{color:var(--muted)}.form-hint{font-size:.88rem;color:var(--muted);padding:12px 14px;background:var(--surface-soft);border-radius:12px}.student-certificate-grid{display:grid;gap:18px}.student-certificate-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px;align-items:center;padding:25px;background:linear-gradient(135deg,#fff,#fbfaf5);border:1px solid #e9dfc1;border-radius:22px;box-shadow:var(--shadow-sm)}.certificate-medal{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:rgba(215,169,40,.15);color:#a97e08}.certificate-medal .icon{width:30px;height:30px}.student-certificate-card small,.student-certificate-card p{color:var(--muted)}.student-certificate-card h2{margin:5px 0;font-size:1.18rem}.student-certificate-card code{display:inline-block;padding:6px 9px;background:#f2eee2;border-radius:8px}.student-certificate-card>div:last-child{display:grid;gap:10px;justify-items:end}
@media(max-width:900px){.finance-summary-grid{grid-template-columns:1fr}.payment-instructions{grid-template-columns:1fr}.finance-charge-card{grid-template-columns:1fr}.charge-value{text-align:left}.charge-actions{justify-content:flex-start}.profile-layout{grid-template-columns:1fr}.profile-summary{position:static}.student-certificate-card{grid-template-columns:auto 1fr}.student-certificate-card>div:last-child{grid-column:1/-1;justify-items:stretch}.student-certificate-card .btn{text-align:center}}
/* Documentação acadêmica */
.document-admin-grid,.student-document-list{display:grid;gap:15px}.document-review-card{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(260px,.65fr);gap:18px;align-items:center;padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-sm)}.document-file-summary{display:flex;gap:14px;align-items:center}.document-file-summary small,.document-file-summary p,.document-review-meta small{color:var(--muted)}.document-file-summary h2{font-size:1.03rem;margin:4px 0}.document-file-summary p{margin:0}.document-review-meta{display:grid;gap:5px;justify-items:start}.document-review-meta a{font-weight:700;color:var(--primary);font-size:.88rem;overflow-wrap:anywhere}.document-review-form{display:grid;gap:8px}.document-review-form>div{display:flex;justify-content:flex-end;gap:8px}.review-comment{padding:12px;background:var(--surface-soft);border-radius:12px;color:var(--muted)}.student-document-list article{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:19px 21px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-sm)}.document-type-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#eef3f9;color:var(--primary)}.student-document-list small,.student-document-list p{color:var(--muted)}.student-document-list h2{font-size:1rem;margin:3px 0}.student-document-list p{margin:0;font-size:.87rem}
@media(max-width:900px){.document-review-card{grid-template-columns:1fr}.document-review-meta{justify-items:start}.student-document-list article{grid-template-columns:auto 1fr}.student-document-list article>.status-badge,.student-document-list article>.btn{grid-column:1/-1}.student-document-list article>.btn{text-align:center}}

/* v2.1.0 — preços por pontualidade */
.course-price span,
.enrollment-price span{
  display:block;
  margin-top:3px;
  font-size:.72rem;
  line-height:1.35;
  color:var(--muted);
}
.enrollment-summary-list em{
  display:block;
  margin-top:3px;
  font-style:normal;
  font-size:.73rem;
  color:var(--muted);
}
.charge-status-form{
  display:grid;
  grid-template-columns:minmax(88px,110px) minmax(130px,1fr);
  gap:7px;
  align-items:center;
}
.charge-status-form input,
.charge-status-form select{
  min-width:0;
}
.check-list.plain{
  display:grid;
  gap:9px;
  padding:0;
  margin:18px 0 0;
  list-style:none;
}
.check-list.plain li{
  position:relative;
  padding-left:25px;
}
.check-list.plain li::before{
  content:'✓';
  position:absolute;
  left:0;
  top:0;
  color:#15875d;
  font-weight:800;
}
@media(max-width:900px){
  .charge-status-form{grid-template-columns:1fr}
}

/* v2.2.0 — conteúdo acadêmico editável */
.rich-editor-shell{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;margin-top:6px}.rich-editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:9px;background:var(--surface-soft);border-bottom:1px solid var(--line)}.rich-editor-toolbar button{appearance:none;border:1px solid #cdd7e2;background:#fff;color:var(--ink);padding:7px 10px;border-radius:9px;font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}.rich-editor-toolbar button:hover{border-color:var(--primary);color:var(--primary)}.rich-editor{min-height:260px;max-height:460px;overflow:auto;padding:20px;outline:none;line-height:1.7}.rich-editor:focus{box-shadow:inset 0 0 0 2px rgba(18,61,101,.14)}.rich-editor h2,.rich-editor h3,.lesson-rich-content h2,.lesson-rich-content h3{color:var(--ink);line-height:1.25}.rich-editor h2,.lesson-rich-content h2{font-size:1.25rem;margin:25px 0 10px}.rich-editor h3,.lesson-rich-content h3{font-size:1.03rem;margin:20px 0 8px}.rich-editor p,.lesson-rich-content p{margin:0 0 13px}.rich-editor ul,.rich-editor ol,.lesson-rich-content ul,.lesson-rich-content ol{padding-left:24px;margin:0 0 16px}.rich-editor li,.lesson-rich-content li{margin:7px 0}.rich-editor blockquote,.lesson-rich-content blockquote{margin:18px 0;padding:16px 18px;border-left:4px solid var(--gold);border-radius:0 12px 12px 0;background:#fbf7ea;color:#3b4652}.lesson-rich-content{margin:22px 0 18px;padding:4px 2px 2px;line-height:1.75;color:#344254}.lesson-rich-content h2:first-child{margin-top:0}.lesson-rich-content a{color:var(--primary);font-weight:700;text-decoration:underline}.video-fallback{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:-2px 0 20px;padding:11px 14px;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;background:#f8fafc;font-size:.82rem;color:var(--muted)}.video-fallback a{font-weight:800;color:var(--primary);white-space:nowrap}.admin-lesson-card .lesson-admin-meta{flex-wrap:wrap}
@media(max-width:640px){.rich-editor-toolbar{overflow-x:auto;flex-wrap:nowrap}.rich-editor-toolbar button{white-space:nowrap}.rich-editor{min-height:220px;padding:16px}.video-fallback{align-items:flex-start;flex-direction:column}.video-fallback a{white-space:normal}}
