/* demo-learner.page.css — restored verbatim from v62 ground-truth stylesheet, plus any post-v62 additions */

:root{--green:#274640;--green-dark:#1C3832;--green-light:#E8F0EE;--gold:#C9970C;--gold-dark:#A07A08;--gold-light:#FDF6E3;--white:#FFFFFF;--off-white:#F8F6F1;--gray-light:#EDEBE6;--gray-mid:#B8B4AC;--gray-dark:#6B6660;--success:#2D7A4F;--success-light:#EAF5EE;--danger:#C0392B;--danger-light:#FEF0EE;--blue:#3B5ECC;--blue-light:#EEF4FF;--text:#1A2E1E;--text-muted:#6B6660;--radius:10px;--font:'Nunito',sans-serif;}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
body{font-family:var(--font);background:var(--off-white);color:var(--text);min-height:100svh;overflow-x:hidden;}
img,svg,video,canvas{max-width:100%;height:auto;}
button,a,input,select,textarea{font-family:inherit;}
button,.btn-primary,.btn-nav,.btn-nav-ghost,.btn-sm,.tab,.lib-tab{min-height:44px;touch-action:manipulation;}
input,select,textarea{font-size:16px!important;max-width:100%;}

/* Nav */
nav{background:var(--green);padding:0 1.5rem;height:64px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100;}
.nav-brand img{height:44px;width:auto;display:block;}
.nav-right{display:flex;align-items:center;gap:.75rem;}
.nav-user{font-size:13px;color:rgba(255,255,255,0.7);}
.nav-user strong{color:white;}
.btn-nav{background:rgba(255,255,255,0.1);color:white;border:1px solid rgba(255,255,255,0.2);border-radius:6px;padding:.4rem 1rem;font-size:13px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;line-height:1.2;}
.btn-nav-ghost{background:transparent;color:rgba(255,255,255,0.75);border:1px solid rgba(255,255,255,0.25);font-size:12px;padding:.35rem .75rem;border-radius:6px;cursor:pointer;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:.3rem;}

/* Hero */
.hero{background:linear-gradient(135deg,var(--green-dark) 0%,var(--green) 60%,#2D6B58 100%);padding:2rem 1.5rem;}
.hero-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;}
.hero-greeting{color:rgba(255,255,255,0.7);font-size:13px;font-weight:600;letter-spacing:.03em;margin-bottom:.25rem;}
.hero-name{color:white;font-size:26px;font-weight:800;line-height:1.1;}
.hero-sub{color:rgba(255,255,255,0.65);font-size:13px;margin-top:.4rem;line-height:1.5;}
.hero-progress{background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);border-radius:14px;padding:1rem 1.25rem;min-width:180px;text-align:center;}
.hero-progress-num{font-size:36px;font-weight:800;color:var(--gold);line-height:1;}
.hero-progress-label{font-size:11px;color:rgba(255,255,255,0.65);text-transform:uppercase;letter-spacing:.06em;margin-top:.3rem;}
.hero-progress-bar{margin-top:.65rem;height:6px;background:rgba(255,255,255,0.2);border-radius:999px;overflow:hidden;}
.hero-progress-fill{height:100%;background:var(--gold);border-radius:999px;}

main{max-width:1100px;margin:0 auto;padding:1.75rem 1.25rem 4rem;}

/* Demo banner */
.demo-mode-banner{background:#F3F8FF;border:1px solid #CFE0FF;border-radius:14px;padding:1rem 1.25rem;margin-bottom:1.5rem;color:var(--text);font-size:13px;display:flex;justify-content:space-between;gap:1rem;align-items:center;flex-wrap:wrap;}
.demo-mode-banner strong{color:var(--green);}
.demo-pill{display:inline-flex;align-items:center;gap:.35rem;background:var(--gold-light);color:var(--gold-dark);border:1px solid #E8C86A;border-radius:999px;padding:.25rem .65rem;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;}

/* Tabs */
.tabs{display:flex;margin-bottom:1.75rem;border:1px solid var(--gray-light);border-radius:var(--radius);background:var(--white);overflow-x:auto;scrollbar-width:none;}
.tabs::-webkit-scrollbar{display:none;}
.tab{padding:.75rem 1rem;font-size:13px;font-weight:600;color:var(--text-muted);cursor:pointer;border-right:1px solid var(--gray-light);white-space:nowrap;min-height:44px;display:flex;align-items:center;touch-action:manipulation;}
.tab:last-child{border-right:none;}
.tab.active{background:var(--gold-light);color:var(--gold-dark);}
.tab-panel{display:none;}
.tab-panel.active{display:block;}

/* Continue card */
.continue-card{background:linear-gradient(135deg,#2B4B9E,#3B5ECC);border-radius:14px;padding:1.25rem 1.5rem;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;text-decoration:none;transition:transform .15s,box-shadow .15s;flex-wrap:wrap;}
.continue-card:hover{transform:translateY(-2px);box-shadow:0 6px 24px rgba(59,94,204,0.3);}
.continue-label{font-size:11px;font-weight:700;color:rgba(255,255,255,0.65);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.3rem;}
.continue-title{font-size:17px;font-weight:700;color:white;margin-bottom:.25rem;}
.continue-meta{font-size:12px;color:rgba(255,255,255,0.65);}
.continue-btn{background:white;color:#2B4B9E;border-radius:8px;padding:.65rem 1.25rem;font-size:13px;font-weight:700;white-space:nowrap;flex-shrink:0;}

/* Dashboard grid */
.dashboard-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:1rem;margin-bottom:1.5rem;}
.panel{background:var(--white);border:1px solid var(--gray-light);border-radius:12px;padding:1.25rem;}
.panel-kicker{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;font-weight:700;margin-bottom:.25rem;}
.panel h3{font-size:16px;font-weight:700;color:var(--green);margin-bottom:.85rem;}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.9rem;}

/* Module cards */
.module-stack{display:flex;flex-direction:column;gap:.75rem;}
.module-card{background:var(--white);border:1px solid var(--gray-light);border-radius:12px;padding:1.25rem;text-decoration:none;display:block;transition:box-shadow .15s,transform .1s;border-left:4px solid var(--gray-light);}
.module-card:hover{box-shadow:0 4px 20px rgba(30,77,59,.1);transform:translateY(-2px);text-decoration:none;}
.module-card.status-completed{border-left-color:var(--success);}
.module-card.status-in_progress{border-left-color:var(--blue);}
.module-card.status-not_started{border-left-color:var(--gray-mid);}
.module-card.demo-assigned{border-left-color:var(--gold);}
.module-card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.6rem;}
.module-cat{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);}
.module-title{font-size:15px;font-weight:700;color:var(--green);margin-bottom:.4rem;}
.module-desc{font-size:13px;color:var(--text-muted);line-height:1.5;margin-bottom:.9rem;}
.module-meta{display:flex;gap:1rem;font-size:12px;color:var(--text-muted);}
.badge{font-size:10px;font-weight:700;padding:.2rem .6rem;border-radius:20px;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;}
.badge-passed,.badge-completed{background:var(--success-light);color:var(--success);}
.badge-in_progress,.badge-progress{background:var(--blue-light);color:var(--blue);}
.badge-not_started{background:var(--gray-light);color:var(--gray-dark);}
.badge-retry{background:var(--gold-light);color:var(--gold-dark);}
.progress-bar{width:100%;height:7px;background:var(--gray-light);border-radius:999px;overflow:hidden;margin-top:.65rem;}
.progress-fill{height:100%;background:var(--gold);border-radius:999px;}
.progress-fill.complete{background:var(--success);}

/* Stats */
.summary-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;}
.summary-stat-card{background:var(--off-white);border:1px solid var(--gray-light);border-radius:10px;padding:.9rem;}
.summary-stat-value{font-size:28px;font-weight:800;color:var(--green);line-height:1;}
.summary-stat-label{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;margin-top:.25rem;}

/* Level / CPD */
.level-card{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;margin-bottom:.85rem;}
.level-title{font-size:18px;font-weight:800;color:var(--green);}
.level-desc{font-size:13px;color:var(--text-muted);margin-top:.2rem;}
.impact-score{text-align:center;min-width:110px;padding:.8rem 1rem;border-radius:12px;background:var(--green);color:white;}
.impact-score .num{font-size:32px;font-weight:800;line-height:1;}
.impact-score .label{font-size:10px;opacity:.8;text-transform:uppercase;letter-spacing:.08em;margin-top:.25rem;}
.cpd-ring-wrap{display:flex;flex-wrap:wrap;gap:1.25rem;align-items:center;margin-top:1rem;}
.cpd-ring{width:110px;height:110px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:conic-gradient(var(--gold) calc(var(--pct)*1%),var(--gray-light) 0);position:relative;flex-shrink:0;}
.cpd-ring:after{content:'';position:absolute;inset:12px;border-radius:50%;background:var(--white);}
.cpd-ring-inner{position:relative;z-index:1;text-align:center;}
.cpd-ring-num{font-size:22px;font-weight:800;color:var(--green);line-height:1;}
.cpd-ring-label{font-size:9px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;margin-top:.2rem;}

/* Upgrade card */
.upgrade-card{background:linear-gradient(135deg,var(--green),var(--green-dark));color:white;border-radius:12px;padding:1rem;margin-top:.85rem;}
.upgrade-card h3{color:white;margin-bottom:.25rem;font-size:14px;}
.upgrade-card p{color:rgba(255,255,255,.8);font-size:12px;line-height:1.5;}
.upgrade-card a{display:inline-block;margin-top:.65rem;background:var(--gold);color:white;text-decoration:none;border-radius:8px;padding:.5rem .85rem;font-size:12px;font-weight:800;}

/* Library */
.lib-tabs{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap;}
.lib-tab{background:var(--off-white);border:1px solid var(--gray-light);color:var(--text-muted);border-radius:999px;padding:.45rem 1rem;font-size:13px;font-weight:700;cursor:pointer;transition:all .15s;}
.lib-tab.active{background:var(--green);color:#fff;border-color:var(--green);}
.library-count-note{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;background:var(--gold-light);border:1px solid #E8C86A;border-radius:12px;padding:.9rem 1.25rem;margin:0 0 1rem;color:var(--gold-dark);font-size:13px;}
.modules-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;}
.demo-lock{position:relative;overflow:hidden;border-color:#E8C86A!important;background:linear-gradient(180deg,#fff,#fffcf2)!important;cursor:default;}
.demo-lock:hover{transform:none!important;box-shadow:0 3px 12px rgba(30,77,59,.06)!important;}
.demo-lock:after{content:'🔒 Full access required';position:absolute;top:.75rem;right:.75rem;background:rgba(28,56,50,.92);color:#fff;border-radius:999px;padding:.25rem .65rem;font-size:10px;font-weight:800;z-index:4;}
.demo-lock>*:not(.lock-cta){filter:blur(1px);opacity:.7;}
.lock-cta{position:relative;z-index:5;background:rgba(253,246,227,.96);border:1px solid #E8C86A;border-radius:10px;padding:.75rem;margin-top:1rem;font-size:12px;color:var(--gold-dark);line-height:1.45;}
.lock-cta strong{color:var(--green);}

/* Toolbox */
.toolbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;}
.tool-card{background:var(--white);border:1px solid var(--gray-light);border-radius:14px;padding:1.25rem;display:flex;flex-direction:column;gap:.55rem;}
.tool-kicker{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--gold-dark);}
.tool-card h4{color:var(--green);font-size:15px;}
.tool-card p{font-size:13px;color:var(--text-muted);line-height:1.55;}
.tool-example{background:var(--off-white);border-left:3px solid var(--gold);border-radius:0 8px 8px 0;padding:.65rem .85rem;font-size:12px;font-style:italic;color:var(--green-dark);line-height:1.6;}
.tool-tag{display:inline-block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:.18rem .5rem;border-radius:20px;margin-bottom:.3rem;}
.tag-questions{background:var(--blue-light);color:var(--blue);}
.tag-change-talk{background:var(--success-light);color:var(--success);}
.tag-resistance{background:var(--danger-light);color:var(--danger);}
.tag-rulers{background:var(--gold-light);color:var(--gold-dark);}
.tag-scripts{background:var(--green-light);color:var(--green);}
.tool-blur-card{position:relative;overflow:hidden;border:1px solid #E8C86A;background:linear-gradient(180deg,#fff,#fffcf2)!important;border-radius:14px;padding:1.25rem;}
.tool-blur-card:after{content:'🔒 More tools with full access';position:absolute;top:.75rem;right:.75rem;background:rgba(28,56,50,.92);color:#fff;border-radius:999px;padding:.25rem .65rem;font-size:10px;font-weight:800;z-index:4;white-space:nowrap;}
.tool-blur-content{filter:blur(1px);opacity:.68;user-select:none;pointer-events:none;}
.toolbox-cta{background:linear-gradient(135deg,var(--green),var(--green-dark));border-radius:14px;padding:1.25rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:.5rem;}
.toolbox-cta p{color:rgba(255,255,255,.85);font-size:13px;line-height:1.5;margin:0;}
.toolbox-cta a{background:var(--gold);color:white;text-decoration:none;border-radius:8px;padding:.6rem 1.25rem;font-size:13px;font-weight:800;white-space:nowrap;}

/* Journey / profile */
.profile-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:1rem;margin-bottom:1.5rem;}
.profile-card{background:var(--white);border:1px solid var(--gray-light);border-radius:12px;padding:1.25rem;}
.profile-card h3{font-size:15px;color:var(--green);margin-bottom:.75rem;}
.profile-name{font-size:22px;font-weight:800;color:var(--green);margin-bottom:.35rem;}
.profile-line{font-size:13px;color:var(--text-muted);line-height:1.7;}
.strength-list{display:flex;flex-direction:column;gap:.45rem;}
.strength-item{display:flex;justify-content:space-between;gap:1rem;font-size:13px;padding:.45rem .55rem;border-radius:8px;background:var(--off-white);}
.strength-item strong{color:var(--green);}
.journey-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin-bottom:1.5rem;}
.journey-stat-card{background:var(--white);border:1px solid var(--gray-light);border-radius:10px;padding:.9rem;text-align:center;}
.journey-stat-value{font-size:26px;font-weight:800;color:var(--green);line-height:1;}
.journey-stat-label{font-size:10px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;margin-top:.25rem;}
.journey-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:1rem;}

/* Badges */
.achievement-panel{background:var(--white);border:1px solid var(--gray-light);border-radius:12px;padding:1.25rem;}
.achievement-panel h3{font-size:16px;font-weight:700;color:var(--green);margin-bottom:.35rem;}
.achievement-sub{font-size:13px;color:var(--text-muted);margin-bottom:1rem;}
.achievement-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.6rem;}
.badge-tile{border:1px solid var(--gray-light);border-radius:12px;padding:.85rem .65rem;background:var(--off-white);opacity:.5;text-align:center;min-height:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;}
.badge-tile.unlocked{background:var(--gold-light);border-color:#E8C86A;opacity:1;}
.badge-icon{font-size:20px;line-height:1;margin-bottom:.25rem;}
.badge-title{font-size:10px;font-weight:700;color:var(--green);line-height:1.25;}
.badge-status{margin-top:.25rem;font-size:10px;font-weight:700;color:var(--gray-dark);}
.badge-tile.unlocked .badge-status{color:var(--success);}

/* Completed table */
.completed-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.completed-table{width:100%;background:var(--white);border:1px solid var(--gray-light);border-radius:var(--radius);border-collapse:collapse;min-width:500px;}
.completed-table th{background:var(--gray-light);padding:.75rem 1rem;text-align:left;font-size:11px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;}
.completed-table td{padding:.9rem 1rem;font-size:14px;border-top:1px solid var(--gray-light);}
.score-pass{color:var(--success);font-weight:700;}
.cert-btn{background:var(--gold-light);color:var(--gold-dark);border:1px solid #E8C86A;border-radius:6px;padding:.3rem .8rem;font-size:12px;font-weight:700;cursor:pointer;text-decoration:none;}

/* Pathway cards */
.pathway-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.85rem;margin-top:.75rem;}
.pathway-card{border:1px solid var(--gray-light);border-radius:12px;padding:1rem;background:var(--off-white);}
.pathway-card.complete{border-color:#A8D5B8;background:var(--success-light);}
.pathway-top{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.6rem;}
.pathway-title{font-size:14px;font-weight:700;color:var(--green);}
.pathway-pill{font-size:11px;font-weight:700;color:var(--green);background:white;border:1px solid var(--gray-light);border-radius:999px;padding:.2rem .55rem;white-space:nowrap;}
.pathway-list{font-size:12px;color:var(--text-muted);line-height:1.6;}

/* Footer */
.demo-app-footer{margin:2rem auto 0;padding:1rem 1.25rem;border-top:1px solid rgba(39,70,64,.14);display:flex;flex-wrap:wrap;gap:.85rem 1.25rem;justify-content:center;align-items:center;font-size:.82rem;color:#6b6258;background:#f7f5ef;}
.demo-app-footer a{color:#274640;text-decoration:none;font-weight:700;}
.demo-app-footer a:hover{text-decoration:underline;}

/* Responsive */
@media(max-width:900px){
  .dashboard-grid,.journey-grid,.profile-grid{grid-template-columns:1fr;}
  .journey-stats-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:640px){
  nav{padding:0 1rem;height:56px;}
  .nav-brand img{height:36px!important;}
  .nav-user{display:none;}
  .hero{padding:1.25rem 1rem;}
  .hero-inner{flex-direction:column;align-items:flex-start;}
  .hero-progress{width:100%;}
  main{padding:1rem .875rem 3rem;}
  .modules-grid{grid-template-columns:1fr;}
  .achievement-grid{grid-template-columns:repeat(3,1fr);}
  .journey-stats-grid{grid-template-columns:repeat(2,1fr);}
  .toolbox-grid{grid-template-columns:1fr;}
  .continue-card{flex-direction:column;align-items:flex-start;}
  .continue-btn{width:100%;text-align:center;}
}

/* -- ported from dashboard.page.css: pathway group cards, matching the real learner library exactly -- */
.learn-section{border:1px solid #E4DED2;border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(39,70,64,.055);}
.learn-section-head{width:100%;border:0;background:linear-gradient(135deg,#fff 0%,#FFFCF4 100%);display:flex;align-items:center;gap:.9rem;text-align:left;padding:1rem 1.1rem;cursor:pointer;font-family:var(--font);border-bottom:1px solid #EFE7DA;}
.learn-section-head:hover{background:#FFFBED;}
.learn-section-icon{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:#FDF6E3;color:#7A5418;font-size:21px;flex:0 0 auto;box-shadow:inset 0 0 0 1px rgba(232,200,106,.25);}
.learn-section-copy{min-width:0;flex:1;}
.learn-section-title{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;color:#24493F;font-size:17px;font-weight:950;line-height:1.15;}
.learn-section-count{font-size:11px;font-weight:950;background:#EAF1EE;color:#24493F;border-radius:999px;padding:.18rem .55rem;}
.learn-section-desc{display:block;margin-top:.22rem;color:#6a675f;font-size:13px;font-weight:650;line-height:1.35;}
.learn-section-progress{font-size:11px;color:#8a7d64;font-weight:950;text-transform:uppercase;letter-spacing:.04em;margin-top:.28rem;}
.learn-section-chevron{width:34px;height:34px;border-radius:999px;border:1px solid #E3DED2;background:#fff;display:grid;place-items:center;color:#8a7d64;font-weight:900;flex:0 0 auto;}
.learn-section-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:.85rem;padding:1rem;background:#FDFBF7;}
.learn-section{min-width:0;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#FFFCF6 100%);}
.learn-section-head{min-height:150px;align-items:flex-start;border-bottom:0!important;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#FFFBED 100%);}
.learn-section.open .learn-section-head{border-bottom:1px solid #EFE7DA!important;border-radius:24px 24px 0 0;}
.learn-section-icon{width:52px;height:52px;border-radius:18px;font-size:24px;}
.learn-section-title{font-size:18px;}
.learn-section-desc{font-size:13px;max-width:440px;}
.learn-section-body{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));background:#fffdf8;border-top:1px solid #F0E8D9;}
@media (max-width:680px){.learn-section-head{min-height:auto}}
@media (max-width:980px){.learn-section-body,.toolbox-card-grid{grid-template-columns:1fr;}}
@media (max-width:640px){.learn-section-head{padding:.9rem;}}
@media (max-width:640px){.learn-section-icon,.practical-toolbox-icon{width:36px;height:36px;border-radius:13px;font-size:18px;}}

/* -- ported from dashboard.page.css: practical toolbox cards, for exact visual parity with the real Practical Library -- */
.toolbox-card-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;width:100%;align-items:stretch;}
@media(max-width:980px){.toolbox-card-grid{grid-template-columns:1fr!important;}}
/* v233: brought into line with .library-module-card (dashboard.html/manager.html's premium
   learning-module tile) — same radius, gradient direction and hover lift — so a toolbox in
   this sales demo looks like part of the same product as the modules above it, not a
   separately-styled component. Kept the row layout (icon beside text) since rewriting the
   ~11 hardcoded card blocks below into a column layout isn't needed for a visual-consistency
   fix and would add risk to a static, curated marketing page. */
.practical-toolbox-card{position:relative;width:100%;border:1px solid #E4DED2;border-radius:20px;background:linear-gradient(160deg,#fff 0%,#FFFDF6 100%);display:flex;align-items:flex-start;gap:.9rem;text-align:left;padding:1rem 1.1rem;cursor:pointer;font-family:var(--font);min-height:150px;text-decoration:none;color:inherit;box-shadow:0 8px 20px rgba(39,70,64,.055);transition:box-shadow .15s,transform .12s;}
.practical-toolbox-card:hover{box-shadow:0 14px 30px rgba(39,70,64,.11);transform:translateY(-3px);text-decoration:none;}
.practical-toolbox-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#FDF6E3;color:#7A5418;font-size:21px;box-shadow:inset 0 0 0 1px rgba(232,200,106,.30);flex:0 0 auto;}
.practical-toolbox-copy{min-width:0;flex:1;}
.practical-toolbox-title{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;color:#24493F;font-size:18px;font-weight:950;line-height:1.15;}
.practical-toolbox-desc{display:block;margin-top:.22rem;color:#6a675f;font-size:13px;font-weight:650;line-height:1.35;max-width:440px;}
.practical-toolbox-sub{font-size:11px;color:#8a7d64;font-weight:950;text-transform:uppercase;letter-spacing:.04em;margin-top:.28rem;}
.practical-toolbox-chevron{width:34px;height:34px;border-radius:999px;border:1px solid #E3DED2;background:#fff;display:grid;place-items:center;color:#8a7d64;font-weight:900;flex:0 0 auto;pointer-events:none;}
.toolbox-locked-note{padding:.6rem .85rem;background:var(--gold-light);border:1px solid #E8C86A;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin-top:.25rem;font-size:11px;font-weight:700;color:var(--gold-dark);}
.toolbox-locked-note a{font-size:11px;font-weight:800;color:var(--green);text-decoration:underline;}
@media(max-width:700px){.toolbox-card-grid{grid-template-columns:1fr}.practical-toolbox-card{min-height:auto}}

/* -- fixed: #learner-lib-grid is a .modules-grid (auto-fill grid meant for many small
   cards), but it only ever contains ONE child (.learning-section-list). As the sole
   grid item it was only claiming one ~300px auto-fill track, leaving the rest of the
   row empty. Breaking it out to block/100% width matches the real dashboard's fix. -- */
#learner-lib-grid.modules-grid{display:block!important;width:100%;}
.learning-section-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;width:100%;}
@media(max-width:980px){.learning-section-list{grid-template-columns:1fr!important;}}
@media(max-width:680px){.learning-section-list{gap:.85rem;}}
/* -- ported from dashboard.page.css: learner library hero stats bar, for visual parity with the real dashboard -- */
.learner-library-hero{display:grid;grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(120px,.7fr));gap:.85rem;align-items:stretch;border:1px solid #BFD8FF;background:linear-gradient(135deg,#F4F9FF 0%,#FCFEFF 62%,#FFFDF6 100%);border-radius:24px;padding:1rem;margin:.35rem 0 1rem;box-shadow:0 12px 30px rgba(39,70,64,.06);}
.learner-library-hero-main{padding:.15rem .25rem;}
.learner-library-eyebrow{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:#2F5EAB;font-weight:950;margin-bottom:.35rem;}
.learner-library-hero h4{font-size:22px;color:#173D32;margin:.1rem 0 .35rem;letter-spacing:-.025em;line-height:1.1;}
.learner-library-hero p{font-size:13.5px;color:#5f675f;line-height:1.5;margin:0;max-width:700px;}
.learner-library-stat{border:1px solid rgba(36,73,63,.08);background:rgba(255,255,255,.72);border-radius:18px;padding:.85rem .9rem;display:flex;flex-direction:column;justify-content:center;min-height:78px;box-shadow:0 2px 10px rgba(39,70,64,.035);}
.learner-library-stat strong{font-size:24px;line-height:1;color:#A77B00;font-weight:950;letter-spacing:-.03em;}
.learner-library-stat span{margin-top:.3rem;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#6d675b;font-weight:950;}
@media (max-width:1050px){.learner-library-hero{grid-template-columns:1fr 1fr 1fr}.learner-library-hero-main{grid-column:1/-1}}
@media (max-width:680px){.learner-library-hero{grid-template-columns:1fr}.learner-library-hero h4{font-size:20px}.learner-library-stat{min-height:68px}.learner-library-stat strong{font-size:22px}}
/* -- badge tier system, matching dashboard.page.css exactly for visual parity -- */
.badge-tile{position:relative;overflow:hidden}
.badge-tile.tier-bronze.unlocked{background:linear-gradient(155deg,#E8B27C 0%,#C97D3F 45%,#8C5A32 100%);border-color:#A0653A}
.badge-tile.tier-silver.unlocked{background:linear-gradient(155deg,#F2F4F6 0%,#C7CDD4 45%,#8E9BA8 100%);border-color:#A7B1BC}
.badge-tile.tier-gold.unlocked{background:linear-gradient(155deg,#FCE9AE 0%,#E8B93C 45%,#A67C00 100%);border-color:#C9970C}
.badge-tile.tier-platinum.unlocked{background:linear-gradient(155deg,#FFFFFF 0%,#DCE6F5 35%,#A9BEDE 70%,#7C93BE 100%);border-color:#8FA3C7;box-shadow:0 4px 18px rgba(124,147,190,.35)}
.badge-tile.tier-bronze.unlocked .badge-title,.badge-tile.tier-bronze.unlocked .badge-status{color:#3E2712}
.badge-tile.tier-silver.unlocked .badge-title,.badge-tile.tier-silver.unlocked .badge-status{color:#2E3438}
.badge-tile.tier-gold.unlocked .badge-title,.badge-tile.tier-gold.unlocked .badge-status{color:#3E2E00}
.badge-tile.tier-platinum.unlocked .badge-title,.badge-tile.tier-platinum.unlocked .badge-status{color:#1E2A42}
.badge-tile.unlocked::after{content:'';position:absolute;top:-60%;left:-20%;width:60%;height:220%;background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.55) 48%,transparent 66%);transform:rotate(20deg);pointer-events:none}
.badge-tier-pill{display:inline-block;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;padding:.15rem .5rem;border-radius:999px;margin-top:.3rem}
.recent-badge-card{display:flex;align-items:center;gap:1.1rem;border-radius:var(--radius-lg);padding:1.25rem 1.4rem;margin-bottom:1rem}
.recent-badge-card.tier-platinum{background:linear-gradient(135deg,#FFFFFF,#7C93BE);box-shadow:0 6px 22px rgba(124,147,190,.4)}
.recent-badge-trophy{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;font-size:26px;flex-shrink:0;box-shadow:inset 0 0 0 2px rgba(255,255,255,.5)}
.recent-badge-info{flex:1;min-width:0}
.recent-badge-label{font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;opacity:.75;margin-bottom:.2rem;color:#1E2A42}
.recent-badge-title{font-size:1.05rem;font-weight:900;line-height:1.25;color:#1E2A42}


/* v144 — Premium learner record action controls */
.completed-table-wrap{border-radius:18px;border:1px solid rgba(38,69,64,.12);box-shadow:0 18px 44px rgba(31,54,49,.07);background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(250,247,238,.84));overflow-x:auto;-webkit-overflow-scrolling:touch;}
.completed-table{border:0;border-radius:18px;overflow:hidden;min-width:720px;}
.completed-table th{background:linear-gradient(135deg,#F7F4EA,#EEF8F5);color:rgba(38,69,64,.72);border-bottom:1px solid rgba(38,69,64,.10);font-weight:900;}
.completed-table td{vertical-align:middle;border-top:1px solid rgba(38,69,64,.08);}
.completed-table tbody tr{transition:background .16s ease,box-shadow .16s ease;}
.completed-table tbody tr:hover{background:rgba(86,169,162,.065);}
.learner-record-actions{display:flex;align-items:center;justify-content:flex-end;gap:.42rem;flex-wrap:nowrap;white-space:nowrap;}
.cert-btn{display:inline-flex;align-items:center;justify-content:center;gap:.34rem;border-radius:999px;padding:.46rem .72rem;min-height:34px;font-size:11px;line-height:1;font-weight:900;letter-spacing:.01em;font-family:var(--font);text-decoration:none;cursor:pointer;border:1px solid rgba(50,117,111,.22);background:linear-gradient(135deg,#F7FFFF,#E7F6F3);color:#245E58;box-shadow:0 8px 18px rgba(35,94,88,.08);transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease;}
.cert-btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(35,94,88,.14);border-color:rgba(50,117,111,.38);background:linear-gradient(135deg,#FFFFFF,#DDF2EF);}
.cert-btn:focus-visible{outline:3px solid rgba(86,169,162,.28);outline-offset:2px;}
.cert-btn-certificate{background:linear-gradient(135deg,#FFF8DE,#F0D987);border-color:rgba(189,149,36,.38);color:#5D4707;box-shadow:0 10px 22px rgba(189,149,36,.12);}
.cert-btn-certificate:hover{background:linear-gradient(135deg,#FFFBEA,#E8C86A);box-shadow:0 14px 28px rgba(189,149,36,.18);}
.cert-btn-review{background:linear-gradient(135deg,#F7FFFF,#E2F5F2);border-color:rgba(86,169,162,.36);color:#246862;}
.cert-btn-retake{background:#fff;color:var(--green);border:1px solid rgba(38,69,64,.18);box-shadow:0 7px 16px rgba(31,54,49,.06);}
.cert-btn-retake:hover{background:#F8FAF7;border-color:rgba(38,69,64,.32);}
@media(max-width:760px){.completed-table{min-width:720px}.learner-record-actions{justify-content:flex-start;gap:.35rem}.cert-btn{padding:.44rem .62rem;font-size:10.5px}}

.learner-record-cell{ text-align:right; }
