:root{
  --ink:#0b1424;--navy:#071427;--navy-2:#0c203b;--navy-3:#143252;
  --gold:#c69a4a;--gold-soft:#ead6ac;--cream:#fbf8f1;--paper:#ffffff;
  --line:#e6eaf0;--muted:#6d7787;--soft:#f5f7fa;--success:#147a4b;--danger:#b23a48;--warning:#a86b17;--info:#315c9a;
  --shadow:0 18px 50px rgba(10,24,45,.08);--shadow-hover:0 24px 60px rgba(10,24,45,.13);
  --radius:22px;--radius-sm:14px;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);background:#f3f5f8;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#f8fafc 0,#f3f5f8 58%,#eef2f6 100%);color:var(--ink);position:relative;overflow-x:hidden}
body:before{content:"";position:fixed;inset:0 0 auto 0;height:280px;background:linear-gradient(135deg,#071427 0%,#0c203b 55%,#143252 100%);z-index:-3}
.ambient{position:fixed;border-radius:50%;filter:blur(80px);opacity:.13;pointer-events:none;z-index:-2}.ambient-one{width:360px;height:360px;background:#c69a4a;right:-80px;top:30px}.ambient-two{width:320px;height:320px;background:#5d8fc0;left:-120px;top:290px}
a{color:inherit}.shell{width:min(1240px,calc(100% - 42px));margin:0 auto;padding:20px 0 42px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:white;margin-bottom:28px}.brand{display:inline-flex;align-items:center;gap:13px;text-decoration:none;color:white}.brand-mark{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#e6c882,#b88735);color:#071427;font-family:Georgia,serif;font-size:24px;font-weight:900;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 8px 22px rgba(0,0,0,.22)}.brand-copy{display:flex;flex-direction:column;line-height:1.1}.brand-copy strong{font-size:22px;letter-spacing:-.025em}.brand-copy small{margin-top:6px;color:#c9d2df;font-size:12px;letter-spacing:.035em}.tm{font-size:.53em;vertical-align:super;margin-left:1px}.page-context{text-align:right;display:flex;flex-direction:column;gap:4px}.page-context span{font-size:10px;letter-spacing:.18em;color:var(--gold-soft);font-weight:800}.page-context strong{font-size:14px;color:#e9eef5;font-weight:600}.site-footer{display:flex;justify-content:space-between;gap:18px;color:#7b8594;font-size:12px;padding:26px 4px 6px;border-top:1px solid rgba(130,144,164,.18);margin-top:22px}
.card{background:rgba(255,255,255,.98);border:1px solid rgba(217,224,233,.9);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);margin-bottom:20px;backdrop-filter:blur(8px)}.card h1,.card h2,.card h3{letter-spacing:-.025em}.card h2{font-size:25px}.card h3{font-size:18px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:16px;margin-bottom:20px}.grid>.card{margin-bottom:0}.muted{display:block;color:var(--muted);font-size:13px;margin-top:4px;line-height:1.55}.muted-inline{color:var(--muted);font-size:12px}.stat{font-size:32px;font-weight:800;letter-spacing:-.04em;margin-top:8px;color:var(--navy)}
.nav{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:20px}.btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid transparent;border-radius:13px;padding:10px 16px;background:linear-gradient(135deg,var(--navy),var(--navy-2));color:white;text-decoration:none;cursor:pointer;font-weight:750;font-size:14px;line-height:1.2;box-shadow:0 7px 17px rgba(7,20,39,.14);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}.btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(7,20,39,.18)}.btn:active{transform:translateY(0)}.btn.secondary{background:#fff;color:var(--navy);border-color:#e0e6ed;box-shadow:0 5px 14px rgba(10,24,45,.05)}.btn.secondary:hover{border-color:#c7d0dc;background:#fafbfd}.btn.success{background:linear-gradient(135deg,#126a43,#198557)}.btn.danger{background:linear-gradient(135deg,#9f2f3f,#bf4452)}.btn.small{min-height:34px;padding:7px 11px;border-radius:10px;font-size:12px}.actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d8dee7;border-radius:12px;margin-top:7px;background:#fff;color:var(--ink);font:inherit;outline:none;transition:border-color .15s,box-shadow .15s,background .15s}input:focus,select:focus,textarea:focus{border-color:#9e865c;box-shadow:0 0 0 4px rgba(198,154,74,.13);background:#fff}textarea{resize:vertical;min-height:96px}label{font-size:13px;font-weight:750;color:#222c3b}.field{margin-bottom:15px}.check{display:flex;align-items:center;gap:9px;margin:0 0 14px}.check input{width:auto;margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-pad{padding-top:16px}.two-col{display:grid;grid-template-columns:1.18fr .82fr;gap:18px}
.notice{padding:13px 15px;border:1px solid #d8e4f3;border-left:4px solid var(--info);border-radius:13px;background:#f5f9ff;color:#244368;margin-bottom:16px;font-size:13px;line-height:1.55}.notice.error,.error{background:#fff5f5;border-color:#f2d4d8;border-left-color:var(--danger);color:#7c2632}.notice.ok,.ok{background:#f2fbf6;border-color:#cfeada;border-left-color:var(--success);color:#17643f}
.badge{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:999px;background:#edf1f7;color:#354154;font-size:11px;font-weight:800;text-transform:capitalize;letter-spacing:.015em}.pending,.initiated,.pending_verification{background:#fff7e8;color:#8a5a13}.badge.approved,.badge.active,.badge.published,.badge.success,.badge.completed{background:#eaf8f1;color:#146b43}.badge.rejected,.badge.suspended,.badge.failed,.badge.tampered,.badge.cancelled{background:#fff0f2;color:#a33140}.badge.draft{background:#fff7e8;color:#8a5a13}.badge.archived,.badge.expired{background:#eef1f4;color:#727b89}.badge.recording{background:#eef5ff;color:#315c9a}
table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e7ebf0;border-radius:14px;overflow:hidden}th,td{text-align:left;padding:12px 13px;border-bottom:1px solid #edf0f4;font-size:13px;vertical-align:middle}th{background:#f8fafc;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:800}tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fbfcfe}code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:#f1f4f7;border:1px solid #e5e9ee;border-radius:7px;padding:2px 6px}
.hero{padding:56px 34px;text-align:center;overflow:hidden;position:relative}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% -10%,rgba(198,154,74,.16),transparent 43%);pointer-events:none}.hero>*{position:relative}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:48px;line-height:1.05;margin:12px 0 16px;color:var(--navy);letter-spacing:-.035em}.hero p{max-width:720px;margin:0 auto 26px;color:#566172;line-height:1.7;font-size:16px}.hero .badge{background:#f8f0df;color:#8d6929;text-transform:uppercase;letter-spacing:.08em}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 17px}.page-heading h1,.page-heading h2{margin:0}.page-heading p{max-width:760px}.eyebrow{font-size:10px;font-weight:850;letter-spacing:.14em;color:#8b7144;text-transform:uppercase}.hint{font-size:12px;font-weight:400;color:var(--muted)}
.metric-card{position:relative;overflow:hidden;padding:21px 22px}.metric-card:after{content:"";position:absolute;width:72px;height:72px;border-radius:50%;right:-22px;top:-25px;background:radial-gradient(circle,#e8d09d,transparent 68%);opacity:.42}.metric-label{font-size:12px;color:#758091;font-weight:650}.metric-value{font-size:32px;font-weight:850;line-height:1;margin-top:13px;letter-spacing:-.045em;color:var(--navy)}.metric-note{font-size:11px;color:#9aa3af;margin-top:8px}.section-card{padding:0;overflow:hidden}.section-head{padding:22px 24px 18px;border-bottom:1px solid #edf0f4;display:flex;justify-content:space-between;align-items:center;gap:16px}.section-head h2{margin:0;font-size:21px}.section-body{padding:20px 24px 24px}
.course-list{display:flex;flex-direction:column;gap:10px}.course-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #e5eaf0;border-radius:15px;text-decoration:none;color:inherit;background:#fff;transition:.16s}.course-row:hover{border-color:#cbb789;transform:translateY(-1px);box-shadow:0 10px 28px rgba(10,24,45,.07)}.course-main{min-width:0}.course-main strong{font-size:15px}.course-meta{display:flex;align-items:center;gap:11px;flex-wrap:wrap;font-size:12px;color:#667085}
.course-card{background:#fff;border:1px solid #e4e9ef;border-radius:19px;overflow:hidden;box-shadow:0 8px 24px rgba(10,24,45,.05);transition:.18s}.course-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover);border-color:#d5c59d}.course-card-img{width:100%;height:170px;object-fit:cover;display:block}.course-card-body{padding:20px}.course-card-body>strong{font-size:16px;line-height:1.35}.course-card-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:14px}.course-open{width:100%;text-align:center;margin-top:15px}.course-hero{display:grid;grid-template-columns:minmax(0,300px) 1fr;align-items:center;gap:26px}.course-hero h1{margin:5px 0 9px;font-size:34px}.course-thumb{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px}.readable{line-height:1.75;color:#3f4a5b}.module-card{border-left:4px solid var(--gold)}.module-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.module-head h3{margin:4px 0}.module-count{font-size:12px;color:var(--muted);white-space:nowrap}
.lesson-list{display:flex;flex-direction:column;gap:9px;margin:18px 0}.lesson-item,.add-lesson{border:1px solid #e5eaf0;border-radius:13px;padding:0 14px}.lesson-item summary,.add-lesson summary,details>summary{cursor:pointer;padding:13px 0}.lesson-item summary{display:flex;justify-content:space-between;align-items:center;gap:12px}.danger-zone{border-top:1px dashed #dfe4ea;margin-top:18px;padding-top:15px}.student-lesson-list{display:flex;flex-direction:column;gap:10px;margin-top:16px}.lesson-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:13px;border:1px solid #e4e9ef;border-radius:15px;padding:14px 15px;text-decoration:none;color:inherit;background:#fff;transition:.16s}.lesson-card:hover{border-color:#cbb789;transform:translateY(-1px);box-shadow:0 9px 24px rgba(10,24,45,.06)}.lesson-card.is-complete{background:#fbfefc}.lesson-order{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#f3f5f8;font-size:12px;font-weight:850}.lesson-info{min-width:0;display:flex;flex-direction:column;gap:4px}.lesson-info strong{line-height:1.3}.lesson-info small{color:var(--muted)}.lesson-flags{display:flex;align-items:center;gap:8px}.complete-mark{width:30px;height:30px;border-radius:10px;background:#e5f7ed;color:#157047;display:grid;place-items:center;font-weight:900}.type-chip{min-width:36px;padding:6px 8px;border-radius:9px;background:#f1f4f7;color:#596579;font-size:10px;font-weight:850;text-align:center;text-transform:uppercase;letter-spacing:.03em}
.progress-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#758091;margin:13px 0 7px}.progress-track{height:7px;background:#e7ebf0;border-radius:999px;overflow:hidden}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,#9d793c,#d5b96f);border-radius:inherit}.course-progress{max-width:520px;margin-top:18px}.lesson-hero h1{font-size:34px;margin:6px 0 10px}.lesson-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#6f7a89;font-size:12px}.media-frame{position:relative;width:100%;aspect-ratio:16/9;background:#03070d;border-radius:18px;overflow:hidden;box-shadow:0 15px 36px rgba(7,20,39,.16)}.media-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.native-video{width:100%;max-height:72vh;background:#03070d;border-radius:18px}.live-class-card{border-left:4px solid var(--gold)}.live-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.live-head h2{margin:4px 0}.recording-panel{border-left:4px solid #4d79aa}.resource-panel{border-left:4px solid #7d8795}.completion-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.completion-card h3{margin:0 0 4px}.lesson-nav-bottom{display:flex;justify-content:space-between;gap:12px;margin:22px 0}.lesson-nav-bottom .btn{max-width:48%;white-space:normal}
.live-recording-box{background:#f8fafc;border:1px solid #e5eaf0;border-radius:15px;padding:15px;margin:8px 0 14px}.live-recording-box h4{margin:0 0 12px}.secure-storage-info{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.secure-storage-info>div{display:flex;flex-direction:column;gap:5px}.secure-storage-info code{display:block;max-width:720px;overflow-wrap:anywhere;background:#f6f8fa;border:1px solid #e5e9ee;padding:9px 11px;border-radius:9px;font-size:11px}.recording-admin-list{display:flex;flex-direction:column;gap:5px}.recording-admin-row{margin-bottom:12px}.recording-admin-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.recording-admin-head h3{margin:5px 0 0}.secure-upload-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:14px}.secure-upload-form .field{margin:0}.secure-player-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px;font-size:12px;color:#6f7a89}
.premium-dashboard-title{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px;color:#fff}.premium-dashboard-title h1{font-family:Georgia,"Times New Roman",serif;font-size:34px;margin:0;letter-spacing:-.03em}.premium-dashboard-title p{margin:7px 0 0;color:#c8d2df;font-size:13px}.premium-dashboard-title .micro{font-size:10px;letter-spacing:.14em;color:var(--gold-soft);text-transform:uppercase;font-weight:850}.dashboard-nav{background:rgba(255,255,255,.96);padding:10px;border-radius:17px;box-shadow:0 12px 34px rgba(5,15,29,.13);margin-bottom:18px}.dashboard-nav .btn{box-shadow:none}.dashboard-nav .btn.secondary{background:transparent;border-color:transparent}.dashboard-nav .btn.secondary:hover{background:#f3f5f8}.course-pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:15px}.pricing-card{border:1px solid #e4e9ef;border-radius:17px;padding:19px;background:linear-gradient(180deg,#fff,#fcfdff);position:relative;overflow:hidden}.pricing-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,var(--gold),#e5d09c)}.pricing-card-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.pricing-card h3{margin:4px 0 2px;font-size:17px}.price-display{font-size:30px;font-weight:850;color:var(--navy);letter-spacing:-.04em;margin:16px 0 2px}.pricing-table{margin:15px 0 0;border:0;border-radius:0;background:transparent}.pricing-table td{padding:8px 0;border-bottom:1px solid #eff2f5;background:transparent!important}.pricing-table td:last-child{text-align:right;font-weight:700}.pricing-table tr:last-child td{border-bottom:0}
.auth-card{max-width:520px;margin:18px auto 0;padding:30px}.auth-card h1,.auth-card h2{font-size:29px;margin:0 0 8px}.auth-card .auth-kicker{color:#967437;font-size:10px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}.auth-card .btn{width:100%;margin-top:3px}.auth-note{text-align:center;color:#7c8796;font-size:12px;margin-top:16px}.store-price{font-size:30px;font-weight:850;letter-spacing:-.04em;margin:14px 0 2px;color:var(--navy)}
@media(max-width:900px){.two-col,.course-hero{grid-template-columns:1fr}.page-context{display:none}.premium-dashboard-title{align-items:flex-start;flex-direction:column}.shell{width:min(100% - 28px,1240px)}}
@media(max-width:680px){body:before{height:235px}.shell{width:calc(100% - 22px);padding-top:12px}.topbar{height:72px;margin-bottom:20px}.brand-mark{width:40px;height:40px;border-radius:13px}.brand-copy strong{font-size:18px}.brand-copy small{font-size:10px}.card{padding:18px;border-radius:18px}.grid{grid-template-columns:1fr;gap:12px}.form-grid{grid-template-columns:1fr}.hero{padding:38px 20px}.hero h1{font-size:36px}.hero p{font-size:14px}.nav{gap:7px}.nav .btn{flex:1 1 auto}.page-heading{align-items:flex-start;flex-direction:column}.page-heading .btn{width:100%}.course-row{align-items:flex-start;flex-direction:column}.course-meta{gap:8px}.lesson-card{grid-template-columns:36px minmax(0,1fr)}.lesson-flags{grid-column:2;justify-content:flex-start}.completion-card{align-items:flex-start;flex-direction:column}.completion-card form,.completion-card .btn{width:100%}.lesson-nav-bottom{flex-direction:column}.lesson-nav-bottom .btn{max-width:100%;width:100%}.lesson-hero h1{font-size:28px}.secure-upload-form{grid-template-columns:1fr}.secure-upload-form .btn{width:100%}.recording-admin-head{flex-direction:column}.site-footer{flex-direction:column;gap:5px}.premium-dashboard-title h1{font-size:29px}.dashboard-nav{padding:8px}.dashboard-nav .btn{width:100%}table{display:block;overflow-x:auto;white-space:nowrap}}

/* ============================================================
   PHASE 3C.1 — PREMIUM VISUAL REFINEMENT
   Visual-only overrides. No business logic or database changes.
   ============================================================ */

:root{
  --navy:#061326;
  --navy-2:#0a203b;
  --navy-3:#123657;
  --gold:#c8a25b;
  --gold-2:#e2c585;
  --gold-soft:#f2dfb7;
  --ink:#0a1526;
  --muted:#6f7a8b;
  --soft:#f4f7fa;
  --line:#e1e7ee;
  --shadow:0 18px 46px rgba(5,20,39,.08);
  --shadow-hover:0 28px 68px rgba(5,20,39,.14);
}

/* Real top brand band — fixes the washed-out white header */
body{
  background:
    radial-gradient(circle at 86% 4%,rgba(200,162,91,.14),transparent 19%),
    radial-gradient(circle at 9% 24%,rgba(77,126,173,.10),transparent 22%),
    linear-gradient(180deg,var(--navy) 0,var(--navy-2) 258px,#f4f6f9 258px,#eef2f6 100%);
}
body:before{display:none!important}
.ambient{z-index:0;opacity:.09}
.shell{position:relative;z-index:1}

.topbar{
  height:82px;
  margin-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.brand{gap:14px}
.brand-mark{
  width:48px;height:48px;border-radius:15px;
  background:linear-gradient(145deg,#f0d89d 0%,#d2aa5b 52%,#ad7d2f 100%);
  color:#061326;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 12px 30px rgba(0,0,0,.25),0 0 0 1px rgba(255,255,255,.06);
}
.brand-copy strong{font-size:22px;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.14)}
.brand-copy small{color:#aebdd0;font-size:11px;letter-spacing:.07em;text-transform:uppercase}
.page-context{
  padding:10px 13px 9px;
  min-width:146px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.045);
  border-radius:13px;
  backdrop-filter:blur(8px);
}
.page-context span{color:#e2c585;font-size:9px;letter-spacing:.17em}
.page-context strong{color:#eef3f8;font-size:13px}

.premium-dashboard-title{
  min-height:112px;
  align-items:flex-start;
  padding:22px 0 20px;
  margin-bottom:0;
}
.premium-dashboard-title h1{
  font-family:Georgia,"Times New Roman",serif;
  font-size:38px;
  line-height:1.08;
  color:#fff;
  text-shadow:0 2px 18px rgba(0,0,0,.12);
}
.premium-dashboard-title p{color:#b9c5d5;font-size:13px;margin-top:9px}
.premium-dashboard-title .micro{color:#e2c585;font-size:10px;letter-spacing:.18em}

.dashboard-nav{
  position:relative;
  z-index:3;
  margin-top:0;
  margin-bottom:22px;
  padding:10px;
  gap:7px;
  border:1px solid rgba(222,228,236,.92);
  border-top:2px solid rgba(200,162,91,.66);
  border-radius:18px;
  background:rgba(255,255,255,.985);
  box-shadow:0 16px 42px rgba(5,20,39,.15);
}
.dashboard-nav .btn{
  min-height:42px;
  border-radius:11px;
  box-shadow:none;
  padding-inline:17px;
}
.dashboard-nav .btn:not(.secondary){
  background:linear-gradient(135deg,#07172b,#0d2b4a);
  border-color:#0b2440;
}
.dashboard-nav .btn:not(.secondary):hover{background:linear-gradient(135deg,#0b2039,#12385b)}
.dashboard-nav .btn.secondary{color:#122237;background:transparent;border-color:transparent}
.dashboard-nav .btn.secondary:hover{background:#f2f5f8;border-color:#e8edf2}

.card{
  border-color:rgba(216,224,233,.96);
  box-shadow:0 16px 42px rgba(6,22,42,.065);
}
.metric-card{
  min-height:132px;
  border-top:3px solid rgba(200,162,91,.54);
  background:linear-gradient(160deg,#fff 0%,#fff 70%,#fbf7ed 145%);
  box-shadow:0 14px 34px rgba(6,22,42,.065);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.metric-card:hover{transform:translateY(-2px);box-shadow:0 20px 44px rgba(6,22,42,.10);border-color:#dac697}
.metric-card:after{
  width:92px;height:92px;right:-31px;top:-38px;
  background:radial-gradient(circle,rgba(226,197,133,.66),rgba(226,197,133,0) 69%);
  opacity:.52;
}
.metric-label{font-size:11px;text-transform:uppercase;letter-spacing:.045em;color:#728096;font-weight:800}
.metric-value{font-size:35px;color:#07182d;margin-top:14px}
.metric-note{color:#98a3b2;margin-top:9px}

.section-card{
  border-top:3px solid rgba(200,162,91,.56);
  box-shadow:0 20px 52px rgba(6,22,42,.08);
}
.section-head{padding:25px 26px 20px;background:linear-gradient(180deg,#fff,#fdfefe)}
.section-head .eyebrow{color:#917138}
.section-head h2{font-size:23px;color:#0a1930}
.section-body{padding:22px 26px 28px}

.course-pricing-grid{gap:18px}
.pricing-card{
  padding:21px;
  border-radius:19px;
  border-color:#dde4eb;
  background:
    radial-gradient(circle at 98% 0%,rgba(223,193,126,.16),transparent 25%),
    linear-gradient(180deg,#fff 0%,#fcfdff 100%);
  box-shadow:0 10px 28px rgba(6,22,42,.055);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.pricing-card:hover{transform:translateY(-3px);box-shadow:0 22px 50px rgba(6,22,42,.11);border-color:#d7c28e}
.pricing-card:before{height:4px;background:linear-gradient(90deg,#af8131,#d6b46d,#f0d99e)}
.pricing-card h3{font-size:18px;color:#0b1a30}
.price-display{font-size:34px;color:#07182d;margin-top:18px}
.pricing-table td{font-size:12px;padding:9px 0}
.pricing-table td:last-child{color:#14243a}
.pricing-card .nav .btn{width:100%;margin-top:2px}

/* General premium button treatment */
.btn{border-radius:12px;background:linear-gradient(135deg,#07172b,#0f3152);box-shadow:0 8px 20px rgba(6,22,42,.13)}
.btn:hover{box-shadow:0 14px 29px rgba(6,22,42,.19)}
.btn.secondary{background:#fff;color:#10223a;border-color:#dce4ec}
.btn.success{background:linear-gradient(135deg,#0f6d45,#19865a)}
.btn.danger{background:linear-gradient(135deg,#993243,#bd4554)}

/* Student/course cards */
.course-card{
  border-top:3px solid rgba(200,162,91,.55);
  border-radius:20px;
  box-shadow:0 13px 34px rgba(6,22,42,.065);
}
.course-card:hover{transform:translateY(-3px);box-shadow:0 25px 58px rgba(6,22,42,.12)}
.course-card-body{padding:21px}
.course-card-body>strong{font-size:17px;color:#0b1a30}
.store-price{font-size:34px;color:#07182d}
.progress-track{height:8px;background:#edf1f5;border-radius:999px;overflow:hidden}
.progress-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#b98938,#dfbf78)}

/* Auth/public polish */
.hero{border-top:3px solid rgba(200,162,91,.64);box-shadow:0 24px 68px rgba(5,20,39,.12)}
.hero h1{color:#091a30}
.auth-card{border-top:3px solid rgba(200,162,91,.64);box-shadow:0 24px 60px rgba(5,20,39,.11)}
.auth-card h1,.auth-card h2{color:#0a1930}
input,select,textarea{border-color:#d9e0e8;background:#fefefe}
input:hover,select:hover,textarea:hover{border-color:#c9d2dd}
input:focus,select:focus,textarea:focus{border-color:#bd9550;box-shadow:0 0 0 4px rgba(200,162,91,.13)}

.badge{border:1px solid rgba(0,0,0,.035);box-shadow:inset 0 1px 0 rgba(255,255,255,.55)}
.eyebrow{color:#8d6b31;letter-spacing:.16em}

.site-footer{color:#7f8998}

@media(max-width:900px){
  body{background:linear-gradient(180deg,var(--navy) 0,var(--navy-2) 290px,#f4f6f9 290px,#eef2f6 100%)}
  .premium-dashboard-title{min-height:125px;padding-top:18px}
}
@media(max-width:680px){
  body{background:linear-gradient(180deg,var(--navy) 0,var(--navy-2) 330px,#f4f6f9 330px,#eef2f6 100%)}
  .topbar{height:70px;margin-bottom:4px}
  .premium-dashboard-title{min-height:142px;padding:20px 0 18px}
  .premium-dashboard-title h1{font-size:31px}
  .premium-dashboard-title p{font-size:12px;line-height:1.55}
  .dashboard-nav{margin-bottom:17px;padding:8px;border-radius:15px}
  .dashboard-nav .btn{width:100%;justify-content:flex-start}
  .metric-card{min-height:118px;padding:18px 19px}
  .section-head,.section-body{padding-left:19px;padding-right:19px}
  .pricing-card{padding:18px}
}

/* ===== Phase 3C.2 — Full Premium Workspace Consistency ===== */
.workspace-nav{
  background:rgba(255,255,255,.96);border:1px solid rgba(223,229,236,.92);
  padding:9px;border-radius:17px;box-shadow:0 12px 34px rgba(5,20,39,.09);
  margin-bottom:20px;position:relative;z-index:2
}
.workspace-nav .btn{box-shadow:none;min-height:40px}
.workspace-nav .btn.secondary{background:transparent;border-color:transparent;color:#15243a}
.workspace-nav .btn.secondary:hover{background:#f2f5f8;border-color:#e6ebf0}
.page-heading{padding:2px 2px 4px;margin-bottom:20px}
.page-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:31px;color:#0b1b31;letter-spacing:-.035em}
.page-heading h1{font-family:Georgia,"Times New Roman",serif;color:#0b1b31}
.page-heading .muted{font-size:13px;max-width:780px}
.admin-area .page-heading:before,.student-area .page-heading:before{content:"";display:block;width:44px;height:3px;border-radius:999px;background:linear-gradient(90deg,#b98734,#e3c57f);margin-bottom:11px}
.table-wrap{overflow:auto;border-radius:16px;box-shadow:inset 0 0 0 1px #e8edf2;background:#fff}
.table-wrap table{min-width:760px;border:0;box-shadow:none}
.card.workspace-card{border-top:3px solid rgba(200,162,91,.58)}
.card.workspace-card h2,.card.workspace-card h3{color:#0b1b31}
.section-label{display:block;font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase;color:#8d6b31;margin-bottom:7px}
.access-layout{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);gap:20px;align-items:start}
.access-layout>.card{margin:0}
.access-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0 20px}
.access-pill{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#f9fbfc}
.access-pill strong{display:block;font-size:18px;color:#0b1b31}.access-pill span{font-size:10px;color:#8390a1;text-transform:uppercase;letter-spacing:.06em}
.filters-nav{padding:6px;background:#f8fafc;border:1px solid #e8edf2;border-radius:14px;box-shadow:none}
.filters-nav .btn{min-height:35px;font-size:12px;padding:8px 12px}
.course-list .course-row{padding:17px 18px;border-radius:16px;box-shadow:0 5px 15px rgba(7,20,39,.035)}
.course-main strong{font-size:15px;color:#0b1b31}.course-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#687486}
.module-card{border-top:1px solid #e8edf2;border-left:4px solid #c89e55;background:linear-gradient(180deg,#fff,#fcfdff)}
details>summary{font-weight:750;color:#26364a}
details[open]>summary{color:#0a1b30}
.lesson-item,.add-lesson{background:#fbfcfe;border-color:#e3e9ef}
.lesson-item[open],.add-lesson[open]{background:#fff;border-color:#d6c394;box-shadow:0 10px 28px rgba(7,20,39,.055)}
.live-recording-box{background:linear-gradient(180deg,#f8fbff,#f5f8fb);border-color:#dfe7f0}
.recording-admin-row{border-top:3px solid rgba(77,121,170,.42)}
.recording-admin-head .badge{margin-top:2px}
.secure-storage-info{background:#f8fafc;border:1px solid #e8edf2;border-radius:15px;padding:14px 16px;margin:12px 0 18px}
.payment-amount{font-size:18px;font-weight:850;color:#0a1a30}
.payment-status-card{border-top:3px solid rgba(200,162,91,.58)}
.student-area .course-hero,.student-area .lesson-hero{border-top:3px solid rgba(200,162,91,.64);box-shadow:0 20px 55px rgba(6,22,42,.10)}
.student-area .course-hero h1,.student-area .lesson-hero h1{font-family:Georgia,"Times New Roman",serif;color:#081a30}
.student-module{border-top:1px solid #e8edf2;border-left:4px solid #c89e55}
.student-lesson-list .lesson-card{background:linear-gradient(180deg,#fff,#fcfdff)}
.student-lesson-list .lesson-card:hover{background:#fff}
.buy-card{max-width:780px;margin:0 auto;border-top:3px solid rgba(200,162,91,.64)}
.buy-card .purchase-price{font-family:Georgia,"Times New Roman",serif;font-size:42px;font-weight:800;color:#07182d;letter-spacing:-.035em;margin:14px 0 6px}
.buy-card .purchase-meta{display:flex;gap:10px;flex-wrap:wrap;margin:13px 0 20px}
.buy-card .purchase-meta span{padding:8px 11px;border-radius:999px;background:#f4f7fa;color:#566276;font-size:12px;font-weight:700}
.payu-redirect{max-width:720px;margin:0 auto;text-align:center;border-top:3px solid rgba(200,162,91,.64)}
.payu-redirect .payu-lock{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;margin:0 auto 14px;background:linear-gradient(145deg,#e4c47d,#b98835);color:#071427;font-size:23px;box-shadow:0 10px 28px rgba(140,101,37,.22)}
@media(max-width:900px){.access-layout{grid-template-columns:1fr}.access-summary{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:680px){.workspace-nav{padding:7px}.workspace-nav .btn{width:100%;justify-content:flex-start}.page-heading h2{font-size:27px}.access-summary{grid-template-columns:1fr}.table-wrap{margin-left:-2px;margin-right:-2px}.buy-card .purchase-price{font-size:36px}}

/* ===== Phase 3C.3 — Workspace Visibility & Alignment Fix ===== */
/* Top-level workspace headings sit on the navy brand band. Keep them high-contrast. */
.admin-area .page-heading,
.student-area .page-heading{
  position:relative;
  padding:15px 2px 7px;
  margin:0 0 20px;
  min-height:84px;
  color:#fff;
}

/* The accent is decorative, not a flex item. This prevents the heading from being pushed right. */
.admin-area .page-heading:before,
.student-area .page-heading:before{
  content:"";
  position:absolute;
  left:2px;
  top:1px;
  width:44px;
  height:3px;
  margin:0;
  border-radius:999px;
  background:linear-gradient(90deg,#b98734,#e7cb8a);
  box-shadow:0 0 18px rgba(215,181,107,.22);
}

.admin-area .page-heading > div,
.student-area .page-heading > div{min-width:0}

.admin-area .page-heading h1,
.admin-area .page-heading h2,
.student-area .page-heading h1,
.student-area .page-heading h2{
  color:#fff;
  text-shadow:0 2px 16px rgba(0,0,0,.16);
}

.admin-area .page-heading .muted,
.student-area .page-heading .muted{
  color:#bcc9d8;
  margin-top:7px;
  line-height:1.5;
}

.admin-area .page-heading .section-label,
.student-area .page-heading .section-label{
  color:#e4c47b;
  margin-bottom:6px;
}

/* Badges used beside workspace titles should remain distinct on the dark band. */
.admin-area .page-heading > .badge,
.student-area .page-heading > .badge{
  box-shadow:0 6px 18px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.55);
}

/* Keep the navigation and first content panel visually separated from the dark heading zone. */
.workspace-nav{margin-bottom:17px}
.page-heading + .notice{margin-top:2px}
.page-heading + .card,
.page-heading + .two-col,
.page-heading + .access-layout,
.page-heading + .recording-admin-list{position:relative;z-index:1}

@media(max-width:680px){
  .admin-area .page-heading,
  .student-area .page-heading{
    min-height:auto;
    padding-top:15px;
    padding-bottom:9px;
  }
  .admin-area .page-heading h2,
  .student-area .page-heading h2{font-size:27px}
}

/* ===== Phase 3C.4 — Stable Full-Width Workspace Header Band ===== */
/*
   Workspace pages must not depend on the fixed-height body gradient for title visibility.
   Give each workspace heading its own full-bleed navy backing that safely contains
   eyebrow, title, subtitle and optional badge on every desktop width.
*/
.admin-area .page-heading,
.student-area .page-heading{
  isolation:isolate;
  min-height:106px;
  padding:18px 2px 22px;
  margin:0 0 34px;
  align-items:center;
  overflow:visible;
}

.admin-area .page-heading::after,
.student-area .page-heading::after{
  content:"";
  position:absolute;
  z-index:-1;
  left:50%;
  top:-24px;
  bottom:-20px;
  width:100vw;
  transform:translateX(-50%);
  background:linear-gradient(110deg,#07182d 0%,#0a213b 58%,#132b42 100%);
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.035);
  pointer-events:none;
}

/* Keep the gold rule above the title and safely inside the band. */
.admin-area .page-heading:before,
.student-area .page-heading:before{
  top:2px;
}

.admin-area .page-heading h1,
.admin-area .page-heading h2,
.student-area .page-heading h1,
.student-area .page-heading h2{
  line-height:1.12;
  margin:0;
}

.admin-area .page-heading .muted,
.student-area .page-heading .muted{
  display:block;
  color:#c6d1df;
  margin:8px 0 0;
  line-height:1.55;
  max-width:800px;
}

/* Optional phase/status badge stays vertically centred and away from the boundary. */
.admin-area .page-heading > .badge,
.student-area .page-heading > .badge{
  flex:0 0 auto;
  margin:8px 0 0 18px;
}

/* First workspace panel gets breathing room after the navy band. */
.admin-area .page-heading + .card,
.admin-area .page-heading + .two-col,
.admin-area .page-heading + .access-layout,
.admin-area .page-heading + .recording-admin-list,
.admin-area .page-heading + .secure-storage-info,
.student-area .page-heading + .card,
.student-area .page-heading + .two-col,
.student-area .page-heading + .course-hero,
.student-area .page-heading + .lesson-hero{
  margin-top:0;
}

@media(max-width:900px){
  .admin-area .page-heading,
  .student-area .page-heading{
    min-height:104px;
    padding-bottom:21px;
    margin-bottom:31px;
  }
}

@media(max-width:680px){
  .admin-area .page-heading,
  .student-area .page-heading{
    min-height:auto;
    padding:18px 2px 21px;
    margin-bottom:30px;
    align-items:flex-start;
  }
  .admin-area .page-heading::after,
  .student-area .page-heading::after{
    top:-18px;
    bottom:-17px;
  }
  .admin-area .page-heading > .badge,
  .student-area .page-heading > .badge{
    margin:10px 0 0;
  }
}


/* ===== Phase 3C.5 — Status/Button Contrast Fix ===== */
.btn.success{color:#fff!important;}
.btn.danger{color:#fff!important;}
.btn:disabled,.btn[disabled]{opacity:.58;cursor:not-allowed;transform:none;box-shadow:none;}

/* ===== Phase 4 — Batch & Community ===== */
.community-admin-layout{align-items:stretch}.community-explainer{background:linear-gradient(155deg,#fff 0%,#faf8f2 100%)}
.community-rule{display:flex;gap:13px;align-items:flex-start;padding:15px 0;border-bottom:1px solid #edf0f3}.community-rule:last-of-type{border-bottom:0}.community-rule>strong{width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#e5c57e,#bb8d3f);color:#071427;box-shadow:0 7px 16px rgba(155,112,42,.16)}.community-rule div{display:flex;flex-direction:column;gap:4px}.community-rule b{color:#0b1b31}.community-rule span{font-size:12px;color:#768296;line-height:1.5}
.batch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(275px,1fr));gap:15px}.batch-card{border:1px solid #e3e8ef;border-top:3px solid rgba(198,154,74,.72);border-radius:18px;padding:20px;background:linear-gradient(180deg,#fff,#fcfdff);box-shadow:0 10px 28px rgba(7,20,39,.055)}.batch-card-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.batch-card h3{margin:5px 0 0;color:#0b1b31}.batch-stats{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.batch-stats span{background:#f5f7fa;border:1px solid #e8edf2;border-radius:11px;padding:8px 10px;font-size:11px;color:#687486}.batch-stats b{color:#0b1b31}.batch-dates{display:flex;justify-content:space-between;gap:10px;margin-top:13px;font-size:11px;color:#7b8798}
.community-composer{border-top:3px solid rgba(198,154,74,.66)}.community-composer-options{display:flex;gap:24px;flex-wrap:wrap;margin:0 0 13px}.community-composer-options .check{margin-bottom:0}
.community-feed{display:grid;gap:16px}.community-post{border-top:3px solid rgba(198,154,74,.58);padding:22px}.community-post.community-hidden,.community-comment.community-hidden{opacity:.58;background:#f8f9fb}.community-post-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.community-post-meta{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:8px}.community-post h3{margin:0 0 6px;font-size:21px;color:#0a1a30}.community-author{font-size:11px;color:#7b8798}.community-moderation{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.community-body{font-size:14px;line-height:1.75;color:#26364a;padding:18px 0 20px;border-bottom:1px solid #edf0f4;word-break:break-word}.community-replies{padding-top:16px}.community-replies h4{margin:0 0 12px;font-size:13px;color:#536073;text-transform:uppercase;letter-spacing:.06em}.community-comment{border:1px solid #e7ebf0;background:#f9fbfc;border-radius:14px;padding:13px 14px;margin-bottom:9px}.community-comment>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center}.community-comment strong{font-size:12px;color:#0a1b30}.community-comment span{font-size:10px;color:#8a94a3}.community-comment p{margin:8px 0 0;font-size:13px;line-height:1.6;color:#3b4657}.community-comment form{margin-top:9px}.community-reply-form{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:end;margin-top:12px}.community-reply-form textarea{min-height:72px;margin:0}.community-reply-form .btn{height:42px}
@media(max-width:800px){.community-post-head{flex-direction:column}.community-moderation{justify-content:flex-start}.community-reply-form{grid-template-columns:1fr}.community-reply-form .btn{width:100%}.batch-dates{flex-direction:column}.community-admin-layout{grid-template-columns:1fr}}


/* ===== Phase 5 — Notifications, Certificates, Profile & Device Control ===== */
.phase5-two{align-items:stretch}.phase5-feature{padding:14px 0;border-bottom:1px solid #edf0f3;display:flex;flex-direction:column;gap:4px}.phase5-feature:last-child{border-bottom:0}.phase5-feature b{color:#0b1b31}.phase5-feature span{font-size:12px;color:#778397;line-height:1.5}
.notification-list{display:grid;gap:12px}.notification-item{position:relative;display:grid;grid-template-columns:12px 1fr;gap:13px;padding:17px;border:1px solid #e5eaf0;border-radius:16px;background:#fff}.notification-item.unread{border-color:#d8b86f;background:linear-gradient(110deg,#fffdf8,#fff);box-shadow:0 10px 28px rgba(128,89,25,.07)}.notification-dot{width:9px;height:9px;border-radius:999px;background:#c7ced7;margin-top:7px}.notification-item.unread .notification-dot{background:#c69743;box-shadow:0 0 0 5px rgba(198,151,67,.12)}.notification-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;color:#8a94a3}.notification-copy h3{margin:7px 0 5px;font-size:16px;color:#0a1b30}.notification-copy p{margin:0;color:#596577;font-size:13px;line-height:1.6}
.student-action-stack{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.mini-list{display:grid;gap:10px}.mini-list>div{padding:11px 12px;border:1px solid #e8edf2;border-radius:12px;background:#fafcfd;display:flex;justify-content:space-between;gap:15px}.mini-list b{color:#0b1b31}.mini-list span{font-size:11px;color:#7a8798}
.device-grid{display:grid;gap:12px}.device-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border:1px solid #e3e9ef;border-radius:15px;background:linear-gradient(180deg,#fff,#fbfcfd)}.device-card.revoked{opacity:.62;background:#f6f7f9}.device-card>div:first-child{display:flex;align-items:center;gap:12px;min-width:0}.device-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#eef3f8;color:#0a213b}.device-card strong{display:block;color:#0b1b31}.device-card span{font-size:11px;color:#788598}.device-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.certificate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.certificate-status-card{border-top:3px solid rgba(198,154,74,.7);padding:22px}.cert-progress-number{font-family:Georgia,"Times New Roman",serif;font-size:42px;font-weight:800;color:#07182d;margin:10px 0}.certificate-ready{display:flex;flex-direction:column;gap:6px;margin:16px 0}.certificate-ready strong{font-size:12px;color:#697588;letter-spacing:.04em}
.certificate-sheet{max-width:1050px;margin:20px auto;background:#f8f3e7;padding:25px;box-shadow:0 25px 70px rgba(5,20,39,.16)}.certificate-inner{position:relative;min-height:590px;border:3px solid #c39a4e;outline:1px solid #172c43;outline-offset:-13px;text-align:center;padding:50px 65px;background:radial-gradient(circle at 50% 45%,#fff 0%,#fffdf8 58%,#f6efe0 100%);overflow:hidden}.certificate-seal{margin:0 auto 12px;width:56px;height:56px;border-radius:18px;background:linear-gradient(145deg,#e3c379,#b98734);display:grid;place-items:center;font:800 28px Georgia;color:#071427;box-shadow:0 9px 25px rgba(133,92,27,.22)}.certificate-brand{font-size:12px;font-weight:850;letter-spacing:.18em;color:#9a712e}.certificate-inner h1{font-family:Georgia,"Times New Roman",serif;font-size:46px;color:#07182d;margin:26px 0 22px}.certificate-lead{color:#7b8390;font-size:15px}.certificate-name{font-family:Georgia,"Times New Roman",serif;font-size:38px;font-weight:800;color:#0a1b30;border-bottom:1px solid #c9a45d;display:inline-block;min-width:55%;padding:4px 30px 9px;margin:3px 0 10px}.certificate-course{font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:750;color:#0b1b31;margin:8px 0 28px}.certificate-details{display:flex;justify-content:center;gap:65px;margin:18px 0}.certificate-details span{display:flex;flex-direction:column;gap:5px;color:#687486;font-size:12px}.certificate-details b{color:#0b1b31;text-transform:uppercase;font-size:10px;letter-spacing:.08em}.certificate-sign{display:flex;justify-content:flex-end;margin-top:35px}.certificate-sign>div{width:240px;display:flex;flex-direction:column;gap:4px}.signature-line{border-top:1px solid #9e7a3c;margin-bottom:5px}.certificate-sign b{color:#0b1b31}.certificate-sign small,.certificate-verify{color:#8791a0;font-size:10px}.certificate-revoked{filter:grayscale(.45)}.certificate-revoked-stamp{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%) rotate(-12deg);border:6px solid #b23545;color:#b23545;font-size:64px;font-weight:900;padding:10px 30px;opacity:.55}
.verify-card{max-width:760px;margin:45px auto;border-top:3px solid rgba(198,154,74,.72)}.verification-success{display:flex;gap:18px;align-items:center;margin-top:22px;padding:18px;border:1px solid #bfe7d2;border-radius:15px;background:#f1fbf6}.verify-check{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:#13844d;color:#fff;font-size:25px;font-weight:800}.verification-success h3{margin:4px 0;color:#0b1b31}
@media print{.no-print,.topbar,.site-footer,.ambient{display:none!important}.shell{max-width:none!important;margin:0!important;padding:0!important}.certificate-sheet{box-shadow:none;margin:0;max-width:none;padding:0}.certificate-inner{min-height:520px}}
@media(max-width:720px){.device-card{align-items:flex-start;flex-direction:column}.device-actions{justify-content:flex-start}.certificate-inner{padding:38px 22px;min-height:620px}.certificate-inner h1{font-size:34px}.certificate-name{font-size:28px;min-width:90%}.certificate-details{gap:20px;flex-direction:column}.certificate-sign{justify-content:center}}


/* ===== Phase 5.1 — Public Auth Page Alignment ===== */
.public-area .shell{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
.public-area .topbar{
  flex:0 0 auto;
  margin-bottom:0;
}
.public-area .auth-card{
  width:min(520px,100%);
  margin:42px auto 36px;
  padding:32px 30px;
  flex:0 0 auto;
}
.public-area .auth-card form{
  margin-top:18px;
}
.public-area .auth-card .field{
  margin-bottom:17px;
}
.public-area .auth-card .btn{
  min-height:46px;
}
.public-area .site-footer{
  margin-top:auto;
  width:100%;
}
@media (min-width:900px){
  .public-area .auth-card{
    margin-top:54px;
  }
}
@media (max-width:680px){
  .public-area .shell{
    width:min(100% - 28px,1240px);
    padding-top:12px;
  }
  .public-area .topbar{
    height:auto;
    min-height:76px;
    margin-bottom:8px;
  }
  .public-area .auth-card{
    margin:24px auto 28px;
    padding:26px 20px;
    border-radius:18px;
  }
  .public-area .auth-card h2{
    font-size:26px;
  }
  .public-area .page-context{
    display:none;
  }
}

/* ===== Phase 5.2 — Certificate QR & Clean Verification ===== */
.certificate-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-top:26px}
.certificate-bottom .certificate-sign{margin:0;flex:1}
.certificate-qr{width:150px;text-align:center;flex:0 0 150px}
.certificate-qr-svg{display:block;width:132px;height:132px;margin:0 auto 7px;background:#fff;border:1px solid rgba(12,34,58,.12);padding:5px;border-radius:10px;box-shadow:0 8px 24px rgba(8,27,47,.08)}
.certificate-qr small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#6d7786}
.certificate-verify{margin-top:15px;word-break:break-word}
.verify-card{max-width:780px;margin:34px auto}
@media(max-width:720px){.certificate-bottom{flex-direction:column;align-items:center}.certificate-bottom .certificate-sign{width:100%}.certificate-qr{width:140px;flex-basis:auto}.certificate-qr-svg{width:122px;height:122px}}
@media print{.certificate-qr-svg{box-shadow:none}.certificate-bottom{break-inside:avoid}}


/* ===== Phase 5.3 — Certificate Alignment / Admin Preview / QR Reliability ===== */
.certificate-sheet{
  width:min(1100px,100%);
  max-width:1100px;
  aspect-ratio:297 / 210;
  margin:20px auto 32px;
  padding:22px;
  box-sizing:border-box;
}
.certificate-inner{
  height:100%;
  min-height:0;
  padding:38px 56px 28px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
}
.certificate-head{
  flex:0 0 auto;
  text-align:center;
}
.certificate-head .certificate-seal{margin-bottom:10px}
.certificate-head h1{margin:20px 0 10px}
.certificate-body{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:2px 0 4px;
}
.certificate-body .certificate-lead{margin:6px 0}
.certificate-body .certificate-name{margin:4px 0 8px}
.certificate-body .certificate-course{margin:6px 0 18px}
.certificate-details{
  margin:14px 0 0;
  gap:90px;
}
.certificate-bottom{
  flex:0 0 auto;
  width:100%;
  display:grid;
  grid-template-columns:1fr 170px;
  align-items:end;
  gap:28px;
  margin-top:10px;
}
.certificate-bottom .certificate-sign{
  margin:0;
  justify-content:center;
  align-items:flex-end;
}
.certificate-bottom .certificate-sign>div{
  width:260px;
  margin-left:90px;
}
.certificate-qr{
  width:170px;
  flex:0 0 170px;
}
.certificate-qr a{display:inline-block;line-height:0}
.certificate-qr-svg{
  width:148px;
  height:148px;
  padding:7px;
  border-radius:8px;
}
.certificate-verify{
  flex:0 0 auto;
  text-align:center;
  margin:10px 0 0;
  line-height:1.45;
}
.table-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.table-actions form{margin:0}

@media(max-width:900px){
  .certificate-sheet{aspect-ratio:auto}
  .certificate-inner{min-height:680px;height:auto;padding:38px 28px 26px}
  .certificate-details{gap:28px}
  .certificate-bottom{grid-template-columns:1fr 150px}
  .certificate-bottom .certificate-sign>div{margin-left:0}
}
@media(max-width:720px){
  .certificate-sheet{padding:12px}
  .certificate-inner{min-height:720px;padding:32px 18px 24px}
  .certificate-bottom{display:flex;flex-direction:column;align-items:center}
  .certificate-bottom .certificate-sign{width:100%}
  .certificate-bottom .certificate-sign>div{width:240px;margin:0 auto}
  .certificate-details{flex-direction:column;gap:10px}
  .certificate-qr{width:150px}
  .certificate-qr-svg{width:132px;height:132px}
}
@media print{
  .certificate-sheet{
    width:100%;
    max-width:none;
    aspect-ratio:297 / 210;
    margin:0;
    padding:12mm;
  }
  .certificate-inner{height:100%;min-height:0}
}


/* ===== Phase 5.4 — Certificate Template Manager ===== */
.template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:0 0 22px}.template-choice{padding:16px;border-top:3px solid var(--cert-accent,#c39a4e)}.template-mini-frame{height:170px;border:2px solid var(--cert-accent,#c39a4e);outline:1px solid var(--cert-border,#172c43);outline-offset:-7px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:18px;background:#fffdf8}.certificate-bg-white .template-mini-frame{background:#fff}.certificate-bg-soft_gold .template-mini-frame{background:#fbf4e4}.certificate-bg-navy .template-mini-frame{background:#f2f5f8}.template-mini-brand{font-size:9px;letter-spacing:.13em;font-weight:900;color:var(--cert-accent)}.template-mini-frame strong{font-family:Georgia,"Times New Roman",serif;font-size:20px;color:var(--cert-border)}.template-mini-frame span:not(.template-mini-brand){font-weight:800;color:#0b1b31}.template-mini-frame i{font-style:normal;font-size:12px;color:#6f7a88}.template-choice-meta{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin:14px 0}.template-choice-meta h3{margin:0 0 3px}.template-choice .nav form{margin:0}.color-field{display:flex;align-items:center;gap:12px}.color-field input[type=color]{width:58px;height:42px;padding:3px}.check-row{display:flex!important;flex-direction:row!important;align-items:center;gap:9px}.check-row input{width:auto}.template-course-list{display:flex;flex-direction:column;gap:12px}.template-course-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #e7ebf0}.template-course-row:last-child{border-bottom:0}.template-course-row>div{display:flex;flex-direction:column;gap:4px}.template-course-row small{color:#7b8797}.inline-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.inline-form select{min-width:220px}
.certificate-sheet{--cert-accent:#c39a4e;--cert-border:#172c43}.certificate-inner{border-color:var(--cert-accent);outline-color:var(--cert-border)}.certificate-brand{color:var(--cert-accent)}.certificate-name{border-bottom-color:var(--cert-accent)}.signature-line{border-top-color:var(--cert-accent)}
.certificate-bg-white .certificate-inner{background:#fff}.certificate-bg-soft_gold .certificate-inner{background:radial-gradient(circle at 50% 45%,#fffdf7 0%,#fbf4e4 72%,#f0dfba 100%)}.certificate-bg-navy .certificate-inner{background:linear-gradient(135deg,#f8fafc,#edf2f6)}
.certificate-style-modern .certificate-inner{border:2px solid var(--cert-border);outline:0;border-left:12px solid var(--cert-accent);background-image:none}.certificate-style-modern .certificate-seal{border-radius:50%;background:var(--cert-border);color:#fff}.certificate-style-modern .certificate-inner h1,.certificate-style-modern .certificate-name,.certificate-style-modern .certificate-course{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.certificate-style-modern .certificate-name{border-bottom:3px solid var(--cert-accent)}
.certificate-style-royal .certificate-inner{border:5px double var(--cert-accent);outline:2px solid var(--cert-border);outline-offset:-15px}.certificate-style-royal .certificate-seal{border-radius:50%;box-shadow:0 0 0 5px rgba(195,154,78,.12)}.certificate-style-royal .certificate-inner h1{letter-spacing:.02em}
.certificate-style-minimal .certificate-inner{border:1px solid var(--cert-border);outline:0}.certificate-style-minimal .certificate-seal{width:44px;height:44px;border-radius:50%;font-size:22px;box-shadow:none}.certificate-style-minimal .certificate-inner h1{font-size:40px}.certificate-style-minimal .certificate-name{border-bottom:0;padding-bottom:2px}.certificate-style-minimal .certificate-head{border-top:5px solid var(--cert-accent);padding-top:20px}
@media(max-width:760px){.template-course-row{align-items:flex-start;flex-direction:column}.inline-form{width:100%}.inline-form select{min-width:0;flex:1}.template-grid{grid-template-columns:1fr}}


/* ===== Phase 5.5 — Premium Certificate Polish ===== */
.certificate-sheet{
  --cert-accent:#c39a4e;
  --cert-border:#172c43;
  width:min(1140px,100%);
  max-width:1140px;
  aspect-ratio:297 / 210;
  margin:24px auto 34px;
  padding:22px;
  box-sizing:border-box;
  background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(245,239,226,.82));
  border-radius:28px;
  box-shadow:0 28px 70px rgba(6,20,39,.15);
}
.certificate-inner{
  position:relative;
  height:100%;
  min-height:0;
  padding:44px 58px 34px;
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:18px;
  box-sizing:border-box;
  border:2px solid var(--cert-accent);
  outline:1px solid rgba(23,44,67,.94);
  outline-offset:-12px;
  border-radius:14px;
  background:radial-gradient(circle at 50% 10%,rgba(255,255,255,.98) 0%,rgba(255,251,244,.96) 60%,rgba(247,239,225,.98) 100%);
  overflow:hidden;
}
.certificate-inner:before,
.certificate-inner:after{
  content:"";
  position:absolute;
  width:230px;
  height:230px;
  border-radius:50%;
  pointer-events:none;
  opacity:.14;
}
.certificate-inner:before{
  top:-120px;
  left:-92px;
  background:radial-gradient(circle, var(--cert-accent) 0%, transparent 72%);
}
.certificate-inner:after{
  right:-100px;
  bottom:-120px;
  background:radial-gradient(circle, rgba(23,44,67,.7) 0%, transparent 72%);
}
.certificate-head,
.certificate-body,
.certificate-bottom{position:relative;z-index:1}
.certificate-head{text-align:center}
.certificate-seal-wrap{display:flex;justify-content:center}
.certificate-seal{
  margin:0 auto 12px;
  width:62px;
  height:62px;
  border-radius:20px;
  background:linear-gradient(145deg,#e8cd8d,#b88735);
  display:grid;
  place-items:center;
  font:800 30px Georgia,serif;
  color:#071427;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 10px 24px rgba(136,98,36,.24);
}
.certificate-brand{
  display:block;
  font-size:12px;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--cert-accent);
}
.certificate-head h1{
  margin:18px 0 0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:52px;
  line-height:1.06;
  letter-spacing:-.03em;
  color:#0d1e34;
}
.certificate-body{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:8px 0 4px;
}
.certificate-lead{
  margin:0;
  color:#738092;
  font-size:16px;
  line-height:1.55;
}
.certificate-intro{margin-bottom:12px}
.certificate-completion{margin:12px 0 12px}
.certificate-name-wrap,
.certificate-course-wrap{width:100%;display:flex;justify-content:center}
.certificate-name{
  width:min(84%,760px);
  display:block;
  padding:0 14px 12px;
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(34px,4vw,58px);
  font-weight:800;
  line-height:1.12;
  color:#09192d;
  border-bottom:2px solid rgba(195,154,78,.95);
  letter-spacing:-.03em;
}
.certificate-course{
  width:min(86%,800px);
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(24px,2.4vw,34px);
  font-weight:700;
  line-height:1.22;
  color:#0e2036;
}
.certificate-details{
  display:grid;
  grid-template-columns:repeat(2,minmax(190px,240px));
  justify-content:center;
  gap:18px;
  margin-top:26px;
}
.certificate-detail-card{
  background:rgba(255,255,255,.64);
  border:1px solid rgba(202,211,223,.82);
  border-radius:16px;
  padding:14px 16px;
  min-height:84px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 26px rgba(12,30,52,.06);
}
.certificate-detail-card b{
  color:#6d7787;
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:.12em;
}
.certificate-detail-card span{
  margin-top:7px;
  color:#0f2238;
  font-size:14px;
  font-weight:800;
  letter-spacing:.02em;
}
.certificate-bottom{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end;
  gap:26px;
  padding-top:8px;
}
.certificate-bottom.no-validation{grid-template-columns:1fr}
.certificate-sign{
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  min-height:140px;
}
.certificate-sign>div{
  width:300px;
  max-width:100%;
  text-align:center;
}
.signature-line{
  display:block;
  border-top:2px solid var(--cert-accent);
  margin-bottom:10px;
}
.certificate-sign b{
  display:block;
  color:#0d2137;
  font-size:22px;
  font-family:Georgia,"Times New Roman",serif;
}
.certificate-sign small{
  display:block;
  margin-top:6px;
  color:#7a8595;
  font-size:12px;
  letter-spacing:.04em;
}
.certificate-validation{
  display:flex;
  align-items:flex-end;
  gap:16px;
}
.certificate-qr{
  width:166px;
  text-align:center;
}
.certificate-qr a{display:inline-block;line-height:0}
.certificate-qr-svg{
  display:block;
  width:138px;
  height:138px;
  margin:0 auto 10px;
  background:#fff;
  border:1px solid rgba(12,34,58,.12);
  padding:7px;
  border-radius:16px;
  box-shadow:0 14px 30px rgba(8,27,47,.08);
}
.certificate-qr small{
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:900;
  color:#6a7483;
}
.certificate-verify-block{
  min-width:220px;
  max-width:290px;
  padding:15px 16px;
  border-radius:16px;
  background:rgba(255,255,255,.64);
  border:1px solid rgba(202,211,223,.82);
  box-shadow:0 12px 26px rgba(12,30,52,.06);
  text-align:left;
}
.certificate-verify-block b{
  display:block;
  color:#0f2238;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:5px;
}
.certificate-verify-block span{
  display:block;
  color:#5d697a;
  font-size:12px;
  line-height:1.45;
  word-break:break-word;
}
.certificate-verify-block small{
  display:block;
  margin-top:7px;
  color:#0e2036;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
}
.certificate-revoked-stamp{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) rotate(-12deg);
  border:6px solid #b23545;
  color:#b23545;
  font-size:64px;
  font-weight:900;
  padding:10px 30px;
  opacity:.52;
}

/* background/style refinements */
.certificate-bg-white .certificate-inner{background:linear-gradient(180deg,#fff 0%,#fcfcfc 100%)}
.certificate-bg-soft_gold .certificate-inner{background:radial-gradient(circle at 50% 8%,#fffdf7 0%,#fbf4e4 72%,#f0dfba 100%)}
.certificate-bg-navy .certificate-inner{background:linear-gradient(180deg,#fbfcfe 0%,#eef4f9 100%)}

.certificate-style-classic .certificate-inner{}
.certificate-style-modern .certificate-inner{
  border:1px solid rgba(23,44,67,.12);
  outline:0;
  border-left:14px solid var(--cert-accent);
  background-image:none;
}
.certificate-style-modern .certificate-seal{
  border-radius:50%;
  background:var(--cert-border);
  color:#fff;
}
.certificate-style-modern .certificate-head h1,
.certificate-style-modern .certificate-name,
.certificate-style-modern .certificate-course,
.certificate-style-modern .certificate-sign b{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.certificate-style-modern .certificate-head h1{font-size:46px}
.certificate-style-modern .certificate-name{border-bottom:3px solid var(--cert-accent)}

.certificate-style-royal .certificate-inner{
  border:5px double var(--cert-accent);
  outline:2px solid var(--cert-border);
  outline-offset:-16px;
}
.certificate-style-royal .certificate-head h1{letter-spacing:.01em}
.certificate-style-royal .certificate-seal{
  border-radius:50%;
  box-shadow:0 0 0 6px rgba(195,154,78,.12), inset 0 1px 0 rgba(255,255,255,.6),0 10px 24px rgba(136,98,36,.24);
}
.certificate-style-minimal .certificate-inner{
  border:1px solid rgba(23,44,67,.22);
  outline:0;
  background:linear-gradient(180deg,#fff 0%,#fbfbfb 100%);
}
.certificate-style-minimal .certificate-inner:before,
.certificate-style-minimal .certificate-inner:after{display:none}
.certificate-style-minimal .certificate-head{padding-top:8px}
.certificate-style-minimal .certificate-brand{margin-top:6px}
.certificate-style-minimal .certificate-head h1{font-size:42px}
.certificate-style-minimal .certificate-seal{width:48px;height:48px;border-radius:50%;font-size:22px;box-shadow:none}
.certificate-style-minimal .certificate-name{border-bottom:0;padding-bottom:0}

/* designer page polish */
.template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px;margin:0 0 24px}
.template-choice{
  padding:18px;
  border-top:4px solid var(--cert-accent,#c39a4e);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.98));
}
.template-mini-frame{
  height:186px;
  border:2px solid var(--cert-accent,#c39a4e);
  outline:1px solid var(--cert-border,#172c43);
  outline-offset:-8px;
  border-radius:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:8px;
  padding:20px;
  background:radial-gradient(circle at 50% 10%,#ffffff 0%,#fffdf8 68%,#f5ecd8 100%);
}
.template-mini-frame strong{font-size:24px;line-height:1.08}
.template-choice .nav{margin-top:12px}
.color-field code{min-width:88px;text-align:center}

@media(max-width:980px){
  .certificate-sheet{aspect-ratio:auto;padding:16px}
  .certificate-inner{height:auto;min-height:720px;padding:36px 28px 28px}
  .certificate-details{grid-template-columns:repeat(2,minmax(170px,1fr));gap:14px}
  .certificate-bottom{grid-template-columns:1fr;gap:20px}
  .certificate-sign{justify-content:center;min-height:auto}
  .certificate-validation{justify-content:center}
  .certificate-verify-block{text-align:center}
}
@media(max-width:720px){
  .certificate-sheet{padding:10px;border-radius:18px}
  .certificate-inner{min-height:760px;padding:28px 18px 24px;gap:16px}
  .certificate-head h1{font-size:34px}
  .certificate-name{width:100%;font-size:30px}
  .certificate-course{width:100%;font-size:24px}
  .certificate-details{grid-template-columns:1fr;gap:10px;width:100%}
  .certificate-bottom{display:flex;flex-direction:column;align-items:center}
  .certificate-validation{flex-direction:column;align-items:center;width:100%}
  .certificate-verify-block{min-width:0;max-width:100%;width:100%;text-align:center}
  .certificate-qr{width:150px}
  .certificate-qr-svg{width:128px;height:128px}
}
@media print{
  .certificate-sheet{
    width:100%;
    max-width:none;
    aspect-ratio:297 / 210;
    margin:0;
    padding:9mm;
    border-radius:0;
    box-shadow:none;
    background:none;
  }
  .certificate-inner{height:100%;min-height:0;box-shadow:none}
  .certificate-qr-svg{box-shadow:none}
}

/* ===== Phase 7 — PWA / Mobile App Experience ===== */
html{background:#f3f5f8}
body.pwa-standalone .site-footer{padding-bottom:12px}

/* Install affordance */
.pwa-install-floating{
  position:fixed;
  right:18px;
  bottom:22px;
  z-index:1200;
  display:none;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:10px 15px;
  border:1px solid rgba(198,154,74,.42);
  border-radius:999px;
  background:linear-gradient(135deg,#071427,#102a49);
  color:#fff;
  font:800 13px/1.1 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  box-shadow:0 14px 34px rgba(7,20,39,.24);
  cursor:pointer;
}
.pwa-install-floating.is-visible{display:inline-flex}
.pwa-install-floating svg{width:17px;height:17px;stroke:#e6c882}
.pwa-install-floating:hover{transform:translateY(-1px)}
body.pwa-standalone .pwa-install-floating{display:none!important}

/* Network status */
.pwa-network-banner{
  position:fixed;
  left:50%;
  top:12px;
  transform:translate(-50%,-18px);
  z-index:2000;
  padding:9px 14px;
  border-radius:999px;
  background:#8f2f3d;
  color:#fff;
  font-size:12px;
  font-weight:800;
  box-shadow:0 10px 28px rgba(7,20,39,.2);
  opacity:0;
  pointer-events:none;
  transition:.22s ease;
}
.pwa-network-banner.is-visible{opacity:1;transform:translate(-50%,0)}
.pwa-network-banner.is-online{background:#176c48}

/* App-install page */
.pwa-install-page{max-width:920px;margin:0 auto}
.pwa-install-hero{text-align:center;padding:42px 28px}
.pwa-app-icon-preview{
  width:104px;height:104px;margin:0 auto 20px;border-radius:28px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,#071427,#133455);
  border:1px solid rgba(230,200,130,.42);
  box-shadow:0 20px 46px rgba(7,20,39,.22),inset 0 1px 0 rgba(255,255,255,.08);
}
.pwa-app-icon-preview span{
  width:64px;height:64px;border-radius:20px;display:grid;place-items:center;
  background:linear-gradient(145deg,#e6c882,#b88735);color:#071427;
  font:900 34px Georgia,serif;
}
.pwa-install-hero h1{margin:0 0 10px;font-family:Georgia,"Times New Roman",serif;color:#07182d;font-size:40px}
.pwa-install-hero p{max-width:680px;margin:0 auto;color:#667386;line-height:1.7}
.pwa-install-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}
.pwa-step{padding:22px;border:1px solid #e4e9ef;border-radius:18px;background:#fff}
.pwa-step-no{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#f5ead3;color:#8c6828;font-weight:900;margin-bottom:13px}
.pwa-step h3{margin:0 0 7px}.pwa-step p{margin:0;color:#707c8c;font-size:13px;line-height:1.55}
.pwa-install-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:24px}
.pwa-installed-note{display:none;margin-top:16px;color:#176c48;font-weight:800}
body.pwa-standalone .pwa-installed-note{display:block}

/* Mobile bottom navigation — student area only */
.student-bottom-nav{display:none}
@media(max-width:760px){
  body.student-area{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  body.student-area .shell{width:min(100% - 24px,1240px);padding-bottom:26px}
  body.student-area .topbar{min-height:70px;height:auto;margin-bottom:18px}
  body.student-area .brand-mark{width:42px;height:42px;border-radius:14px}
  body.student-area .brand-copy strong{font-size:18px}
  body.student-area .brand-copy small{font-size:10px}
  body.student-area .page-context{display:none}
  body.student-area .site-footer{margin-bottom:8px;padding-bottom:6px}

  .student-bottom-nav{
    position:fixed;
    left:10px;
    right:10px;
    bottom:calc(10px + env(safe-area-inset-bottom));
    z-index:1100;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    align-items:center;
    min-height:66px;
    padding:7px 6px;
    border:1px solid rgba(215,223,232,.94);
    border-radius:22px;
    background:rgba(255,255,255,.94);
    box-shadow:0 18px 44px rgba(6,20,39,.18);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }
  .student-bottom-nav a{
    position:relative;
    min-width:0;
    height:52px;
    border-radius:16px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    color:#718094;
    text-decoration:none;
    font-size:9px;
    font-weight:800;
    letter-spacing:.01em;
  }
  .student-bottom-nav a svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.9;fill:none}
  .student-bottom-nav a.active{color:#07182d;background:linear-gradient(180deg,#fbf5e8,#f4e7ca)}
  .student-bottom-nav a.active:after{
    content:"";position:absolute;top:4px;width:20px;height:3px;border-radius:999px;background:#c69a4a;
  }
  .student-bottom-nav .nav-alert-dot{
    position:absolute;top:8px;right:calc(50% - 17px);width:7px;height:7px;border-radius:50%;background:#b23a48;border:2px solid #fff;
  }
  .pwa-install-floating{right:14px;bottom:calc(88px + env(safe-area-inset-bottom));font-size:12px;min-height:40px}

  .pwa-install-steps{grid-template-columns:1fr}
  .pwa-install-hero{padding:30px 18px}
  .pwa-install-hero h1{font-size:32px}
}

/* Standalone PWA tweaks */
@media(display-mode:standalone){
  body{overscroll-behavior-y:none}
  .pwa-install-floating{display:none!important}
  .topbar{padding-top:max(0px,env(safe-area-inset-top))}
}

/* ===== Phase 7.1 — Premium Mobile App Polish ===== */
@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  body.student-area{
    padding-bottom:calc(88px + env(safe-area-inset-bottom));
    background:linear-gradient(180deg,#061326 0,#0a203b 236px,#f4f6f9 236px,#eef2f6 100%)!important;
  }
  body.student-area .ambient{display:none}
  body.student-area .shell{
    width:100%;
    max-width:none;
    padding:0 14px 30px;
  }

  /* Compact premium app header */
  body.student-area .topbar{
    height:78px!important;
    min-height:78px!important;
    margin:0 -14px 0!important;
    padding:10px 16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
    background:rgba(6,19,38,.98)!important;
  }
  body.student-area .brand{
    display:flex!important;
    align-items:center!important;
    gap:11px!important;
    min-width:0!important;
    max-width:100%!important;
    color:#fff!important;
    text-decoration:none!important;
  }
  body.student-area .brand:link,
  body.student-area .brand:visited,
  body.student-area .brand:hover{color:#fff!important;text-decoration:none!important}
  body.student-area .brand-mark{
    display:grid!important;
    flex:0 0 42px!important;
    width:42px!important;
    height:42px!important;
    border-radius:14px!important;
    place-items:center!important;
    background:linear-gradient(145deg,#f0d89d 0%,#d2aa5b 54%,#ad7d2f 100%)!important;
    color:#061326!important;
    font:900 23px/1 Georgia,serif!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 8px 20px rgba(0,0,0,.22)!important;
  }
  body.student-area .brand-copy{
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    line-height:1.08!important;
  }
  body.student-area .brand-copy strong{
    display:block!important;
    color:#fff!important;
    font-size:17px!important;
    line-height:1.12!important;
    font-weight:800!important;
    letter-spacing:-.025em!important;
    white-space:nowrap!important;
    text-decoration:none!important;
  }
  body.student-area .brand-copy small{
    display:block!important;
    margin-top:4px!important;
    color:#aebdd0!important;
    font-size:8.5px!important;
    line-height:1.1!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
  }
  body.student-area .page-context{display:none!important}

  /* Dashboard hero */
  body.student-area .premium-dashboard-title{
    min-height:auto!important;
    margin:0 -14px 0!important;
    padding:24px 20px 26px!important;
    display:block!important;
    color:#fff!important;
    background:linear-gradient(155deg,#07182d 0%,#0b2948 100%)!important;
    border-bottom:1px solid rgba(255,255,255,.06)!important;
  }
  body.student-area .premium-dashboard-title .micro{
    display:block!important;
    margin-bottom:8px!important;
    color:#e2c585!important;
    font-size:9px!important;
    letter-spacing:.16em!important;
  }
  body.student-area .premium-dashboard-title h1{
    margin:0!important;
    max-width:100%!important;
    color:#fff!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:29px!important;
    line-height:1.12!important;
    letter-spacing:-.025em!important;
  }
  body.student-area .premium-dashboard-title p{
    margin:9px 0 0!important;
    color:#c1ccda!important;
    font-size:12.5px!important;
    line-height:1.5!important;
  }

  /* Quick actions become a clean app grid */
  body.student-area .dashboard-nav{
    margin:-1px 0 18px!important;
    padding:14px!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    border:1px solid #e0e6ed!important;
    border-top:3px solid #c8a25b!important;
    border-radius:0 0 20px 20px!important;
    background:#fff!important;
    box-shadow:0 16px 36px rgba(5,20,39,.11)!important;
  }
  body.student-area .dashboard-nav .btn{
    width:100%!important;
    min-width:0!important;
    min-height:45px!important;
    margin:0!important;
    padding:9px 10px!important;
    border-radius:12px!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
    font-size:12px!important;
    line-height:1.2!important;
    box-shadow:none!important;
  }
  body.student-area .dashboard-nav .btn.secondary{
    background:#f4f6f9!important;
    color:#15243a!important;
    border-color:#edf0f4!important;
  }

  /* Main learning card */
  body.student-area .section-card{
    margin-bottom:16px!important;
    border-radius:20px!important;
    border:1px solid #e1e7ee!important;
    box-shadow:0 14px 32px rgba(7,20,39,.07)!important;
    overflow:hidden!important;
  }
  body.student-area .section-head{
    padding:18px 18px 15px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:10px!important;
    background:linear-gradient(180deg,#fff,#fbfcfe)!important;
  }
  body.student-area .section-head h2{
    margin:3px 0 0!important;
    color:#0a1a30!important;
    font-size:23px!important;
  }
  body.student-area .section-head .muted{margin-top:6px!important;font-size:11.5px!important}
  body.student-area .section-head>.badge{align-self:flex-start!important}
  body.student-area .section-body{padding:15px!important}

  /* Course cards */
  body.student-area .section-body>.grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    margin:0!important;
  }
  body.student-area .course-card{
    border:1px solid #e1e7ee!important;
    border-top:3px solid rgba(200,162,91,.68)!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 10px 26px rgba(7,20,39,.065)!important;
    overflow:hidden!important;
  }
  body.student-area .course-card-img{height:170px!important;object-fit:cover!important}
  body.student-area .course-card-body{padding:17px!important}
  body.student-area .course-card-body>strong{
    display:block!important;
    margin-bottom:5px!important;
    color:#0a1b31!important;
    font-size:16px!important;
    line-height:1.3!important;
  }
  body.student-area .course-card-body>.muted{
    margin:4px 0!important;
    font-size:11.5px!important;
    line-height:1.45!important;
  }
  body.student-area .progress-meta{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    margin:14px 0 7px!important;
    font-size:11.5px!important;
  }
  body.student-area .progress-meta span{min-width:0!important}
  body.student-area .progress-meta strong{flex:0 0 auto!important;color:#0a1b31!important}
  body.student-area .progress-track{height:8px!important;margin-bottom:13px!important}
  body.student-area .course-card-footer{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin-top:0!important;
    padding-top:2px!important;
  }
  body.student-area .course-card-footer .muted-inline{font-size:11px!important;white-space:nowrap!important}
  body.student-area .course-open{
    width:100%!important;
    min-height:44px!important;
    margin-top:14px!important;
    border-radius:12px!important;
  }

  /* Fixed app navigation */
  .student-bottom-nav{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:calc(8px + env(safe-area-inset-bottom))!important;
    z-index:99999!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    min-height:66px!important;
    padding:6px!important;
    border:1px solid rgba(215,223,232,.96)!important;
    border-radius:22px!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 16px 38px rgba(6,20,39,.22)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .student-bottom-nav a{
    min-width:0!important;
    height:52px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    border-radius:15px!important;
    color:#738094!important;
    text-decoration:none!important;
    font-size:8.5px!important;
    font-weight:800!important;
  }
  .student-bottom-nav a svg{width:20px!important;height:20px!important}
  .student-bottom-nav a.active{
    color:#07182d!important;
    background:linear-gradient(180deg,#fbf5e8,#f2e4c4)!important;
  }
  .student-bottom-nav a.active:after{top:3px!important}
  body.student-area .site-footer{display:none!important}
}

@media(max-width:380px){
  body.student-area .brand-copy strong{font-size:16px!important}
  body.student-area .brand-copy small{font-size:8px!important}
  body.student-area .premium-dashboard-title h1{font-size:27px!important}
  body.student-area .dashboard-nav{padding:12px!important;gap:7px!important}
  body.student-area .dashboard-nav .btn{font-size:11.5px!important;padding:8px!important}
}

/* ===== Phase 7.2 — Smart Student Home Dashboard ===== */
.smart-home-card{
  position:relative;
  overflow:hidden;
  padding:24px;
  border-top:3px solid rgba(198,154,74,.78);
  background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%);
}
.smart-home-card:before{
  content:"";
  position:absolute;
  width:260px;height:260px;border-radius:50%;
  top:-155px;right:-95px;
  background:radial-gradient(circle,rgba(198,154,74,.14),transparent 70%);
  pointer-events:none;
}
.smart-home-head{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}
.smart-home-head h2{margin:4px 0 0;color:#091a30;font-size:27px;letter-spacing:-.03em}
.smart-home-head .muted{margin-top:6px;max-width:720px}
.smart-overall-progress{
  --smart-progress:0%;
  flex:0 0 86px;width:86px;height:86px;border-radius:50%;
  display:grid;place-items:center;
  background:conic-gradient(#c69a4a var(--smart-progress),#edf1f5 0);
  box-shadow:0 10px 26px rgba(8,25,46,.08);
}
.smart-overall-progress:before{content:"";position:absolute;width:68px;height:68px;border-radius:50%;background:#fff}
.smart-overall-progress{position:relative}
.smart-overall-progress>div{position:relative;z-index:1;text-align:center;display:flex;flex-direction:column;line-height:1.05}
.smart-overall-progress strong{font-size:20px;color:#091a30;letter-spacing:-.04em}
.smart-overall-progress span{margin-top:4px;font-size:9px;color:#798496;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.smart-home-grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(300px,.78fr);gap:16px;position:relative;z-index:1}
.smart-resume-panel,.smart-mini-card{
  border:1px solid #e1e7ee;border-radius:19px;background:#fff;box-shadow:0 10px 28px rgba(7,20,39,.055)
}
.smart-resume-panel{padding:23px;display:flex;flex-direction:column;justify-content:center;min-height:300px;position:relative;overflow:hidden}
.smart-resume-panel:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-75px;bottom:-95px;background:radial-gradient(circle,rgba(43,92,137,.10),transparent 70%);pointer-events:none}
.smart-kicker{font-size:9px;line-height:1.2;letter-spacing:.16em;text-transform:uppercase;font-weight:900;color:#9a742f}
.smart-resume-panel h3{margin:10px 0 16px;font-family:Georgia,"Times New Roman",serif;font-size:27px;line-height:1.15;color:#091a30;letter-spacing:-.025em}
.smart-lesson-path{padding:14px 16px;border-radius:14px;background:#f5f8fb;border:1px solid #e9edf2;display:flex;flex-direction:column;gap:5px}
.smart-lesson-path span{font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:#7a8697;font-weight:800}
.smart-lesson-path strong{font-size:15px;line-height:1.35;color:#14263d}
.smart-resume-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 7px;font-size:11px;color:#758093}
.smart-resume-meta strong{color:#20334b;font-size:11px}
.smart-progress-track{margin:0 0 17px!important;height:8px!important}
.smart-primary-action{align-self:flex-start;min-width:180px;position:relative;z-index:1}
.smart-empty-copy{margin:0 0 18px;color:#687588;line-height:1.6;font-size:13px;max-width:520px}
.smart-side-stack{display:grid;grid-template-rows:1fr 1fr;gap:16px}
.smart-mini-card{padding:18px;display:flex;flex-direction:column;min-height:142px;position:relative;overflow:hidden}
.smart-mini-card h3{margin:9px 0 5px;color:#0b1d33;font-size:17px;line-height:1.3;letter-spacing:-.02em}
.smart-mini-card>p{margin:0;color:#748093;font-size:11.5px;line-height:1.5}
.smart-mini-top{display:flex;align-items:center;gap:8px;min-width:0}
.smart-mini-icon{width:28px;height:28px;flex:0 0 28px;border-radius:9px;display:grid;place-items:center;background:#edf3f8;color:#173958;font-size:10px;font-weight:900}
.smart-bell-icon{font-size:13px;background:#f8f1e4;color:#9b732b}
.smart-new-pill{margin-left:auto;padding:4px 7px;border-radius:999px;background:#fff0f2;color:#a43141;font-size:8px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
.smart-live-card.is-live{border-color:#cae7d9;background:linear-gradient(180deg,#fff,#f7fcf9)}
.smart-live-card.is-live .smart-mini-icon{background:#e5f6ed;color:#177449}
.smart-time-row{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:11px;color:#455469;font-size:10.5px}
.smart-time-row strong{color:#172b43}
.smart-live-dot{width:8px;height:8px;border-radius:50%;background:#168654;box-shadow:0 0 0 4px rgba(22,134,84,.10)}
.smart-text-link{display:inline-flex;align-items:center;gap:5px;margin-top:9px;color:#193a5b;text-decoration:none;font-size:11px;font-weight:850}
.smart-text-link:hover{text-decoration:underline}
.smart-alert-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:10px;color:#8b94a2;font-size:9.5px}
.smart-alert-footer .smart-text-link{margin-top:0;white-space:nowrap}
.smart-learning-snapshot{position:relative;z-index:1;margin-top:16px;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #e2e7ed;border-radius:17px;background:#f7f9fb;overflow:hidden}
.smart-learning-snapshot>div{padding:15px 18px;display:flex;align-items:center;gap:10px;border-right:1px solid #e2e7ed}
.smart-learning-snapshot>div:last-child{border-right:0}
.smart-learning-snapshot strong{font-size:22px;color:#0a1b31;letter-spacing:-.04em}
.smart-learning-snapshot span{font-size:10px;color:#727f91;font-weight:750}

@media(max-width:900px){
  .smart-home-grid{grid-template-columns:1fr}
  .smart-side-stack{grid-template-columns:1fr 1fr;grid-template-rows:auto}
}
@media(max-width:680px){
  body.student-area .smart-home-card{padding:0!important;margin-bottom:16px!important;border-radius:20px!important;border-top:3px solid rgba(200,162,91,.82)!important}
  body.student-area .smart-home-card:before{width:190px;height:190px;top:-120px;right:-85px}
  body.student-area .smart-home-head{padding:18px 18px 15px!important;margin:0!important;align-items:flex-start!important;gap:14px!important}
  body.student-area .smart-home-head h2{font-size:22px!important;line-height:1.15!important}
  body.student-area .smart-home-head .muted{font-size:11px!important;line-height:1.5!important}
  body.student-area .smart-overall-progress{flex-basis:68px;width:68px;height:68px}
  body.student-area .smart-overall-progress:before{width:54px;height:54px}
  body.student-area .smart-overall-progress strong{font-size:16px}
  body.student-area .smart-overall-progress span{font-size:7.5px}
  body.student-area .smart-home-grid{display:block!important;padding:0 14px!important}
  body.student-area .smart-resume-panel{min-height:0!important;padding:18px!important;border-radius:17px!important}
  body.student-area .smart-resume-panel h3{font-size:23px!important;margin:8px 0 14px!important}
  body.student-area .smart-lesson-path{padding:12px 13px!important}
  body.student-area .smart-lesson-path strong{font-size:13px!important}
  body.student-area .smart-resume-meta{margin:13px 0 7px!important;font-size:10.5px!important}
  body.student-area .smart-primary-action{width:100%!important;min-height:43px!important;margin-top:1px!important}
  body.student-area .smart-side-stack{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:10px!important}
  body.student-area .smart-mini-card{min-height:0!important;padding:15px!important;border-radius:16px!important}
  body.student-area .smart-mini-card h3{font-size:15px!important;margin:8px 0 4px!important}
  body.student-area .smart-mini-card>p{font-size:10.5px!important}
  body.student-area .smart-time-row{margin-top:10px!important;padding-top:0!important}
  body.student-area .smart-learning-snapshot{margin:12px 14px 15px!important;border-radius:15px!important}
  body.student-area .smart-learning-snapshot>div{padding:12px 6px!important;display:flex!important;flex-direction:column!important;gap:2px!important;text-align:center!important}
  body.student-area .smart-learning-snapshot strong{font-size:19px!important}
  body.student-area .smart-learning-snapshot span{font-size:8px!important;line-height:1.2!important}
}

/* ===== Phase 7.2.3 — Definitive Installed-App Scroll Layer ===== */
@media(max-width:760px){
  html{
    width:100%!important;
    height:auto!important;
    min-height:100%!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.student-area{
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:100vh!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.student-area .shell{
    position:relative!important;
    height:auto!important;
    min-height:calc(100vh - 1px)!important;
    max-height:none!important;
    overflow:visible!important;
    touch-action:pan-y!important;
  }
  body.student-area .premium-dashboard-title,
  body.student-area .dashboard-nav,
  body.student-area .smart-home-card,
  body.student-area .section-card,
  body.student-area .section-body,
  body.student-area .grid,
  body.student-area .course-card{
    touch-action:pan-y!important;
  }
}
@media(display-mode:standalone) and (max-width:760px){
  html,body.student-area{
    height:auto!important;
    min-height:100%!important;
    max-height:none!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.student-area{padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}
}

/* ===== Admin Console — Global Contained Navy Header Restore =====
   Visual-only correction: keeps every Admin .page-heading inside the normal
   workspace width and restores the premium navy-blue panel treatment.
   Student-area styling is intentionally untouched. */
body.admin-area.admin-control-center .page-heading{
  position:relative;
  isolation:isolate;
  min-height:0;
  padding:20px 22px 18px;
  margin:0 0 18px;
  border-radius:18px;
  overflow:hidden;
  align-items:center;
  color:#fff;
}
body.admin-area.admin-control-center .page-heading::after{
  content:"";
  position:absolute;
  z-index:-1;
  left:0;
  right:0;
  top:0;
  bottom:0;
  width:auto;
  transform:none;
  border-radius:18px;
  background:linear-gradient(122deg,#081d34 0%,#0b2a49 74%,#183e5e 100%);
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.04),0 12px 30px rgba(7,24,43,.08);
  pointer-events:none;
}
body.admin-area.admin-control-center .page-heading::before{
  left:22px;
  top:13px;
  width:40px;
}
body.admin-area.admin-control-center .page-heading h1,
body.admin-area.admin-control-center .page-heading h2{
  color:#fff;
  font-size:clamp(26px,2vw,32px);
  line-height:1.08;
  text-shadow:none;
}
body.admin-area.admin-control-center .page-heading .eyebrow,
body.admin-area.admin-control-center .page-heading .section-label{
  color:#d7b368;
}
body.admin-area.admin-control-center .page-heading p,
body.admin-area.admin-control-center .page-heading .muted{
  color:#c9d5e1;
}
body.admin-area.admin-control-center .page-heading > .badge{
  box-shadow:0 6px 18px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.55);
}
@media(max-width:700px){
  body.admin-area.admin-control-center .page-heading{
    padding:18px 18px 16px;
    border-radius:16px;
  }
  body.admin-area.admin-control-center .page-heading::after{
    border-radius:16px;
  }
  body.admin-area.admin-control-center .page-heading::before{
    left:18px;
    top:11px;
  }
}
