@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
/* CPDExpress Front-End Refresh v3.4 (1 Nov 2026) — GREEN PALETTE.
   v3.23: coupon note design review: full width on phones, quieter in the mini-cart, 12px like the sale note (GitLab #77, ?v=73).
   v3.22: cart line note when a coupon and a package special meet (GitLab #77, ?v=72).
   v3.21: home headline, coloured sentence on its own line on desktop (GitLab #56, ?v=71).
   v3.20: email opt-in, consent bar, unsubscribe page (GitLab #22, ?v=64).
   v3.19: no focus box after clicking links; rounded green ring for keyboard users (GitLab #42, ?v=63).
   v3.18: course overviews justified, even font and spacing; certificate line is a bullet (GitLab #13 #14, ?v=62).
   v3.17: packages section at the top of the course list (GitLab #43); compact rows on phones, clears the sticky header (?v=61).
   v3.4: login popup centred on pages that load style.css.
   v3.3: attempts-left column on the course listing.
   v3.1: single authoritative cart-badge rule at the end of this file; the partial
   rules earlier (.cpd-cart-count at ~line 65/430, the v2.2 block and the v2.10
   legacy reset) were cancelling each other out and left the digit off-centre.
   v3.2: cart digit nudged to true centre; header cart icon sized (it was 0x0).
   v3.0 (23 Oct 2026) notes follow.
   Colour tokens and literals remapped from POC v10 (blue/lime/orange) to the
   client's brand-guide family: Forest #263330, Deep #3F5D52, Mid #557364,
   Sage #779384, Sage grey #C1C4B9, Cream #EADFC9, Linen #F2EEE3, Card #FFFCF5,
   Line #DCD6C6, Rust #8A5216. One accent kept by client decision: the call to
   action is orange #C4631B with white text (hover #A85016). Type: Inter.
   Layout, spacing and component rules below are unchanged from v2.28. */
/* CPDExpress Front-End Refresh v2 — POC-exact component library.
   Base = approved POC v10 stylesheet; + compat layer for server controls.
   Linked only from customer masters/pages. NEVER from Admin.Master. */
:root{--cpd-navy:#263330;--cpd-navy-2:#263330;--cpd-text:#263330;--cpd-bg-tint:#F2EEE3;--cpd-card-shadow:var(--cpd-shadow);--cpd-card-shadow-sm:var(--cpd-shadow-sm);--cpd-radius-pill:999px;--cpd-maxw:1180px}
/* ============================================================
   CPDExpress Front-End Refresh — Phase 1 Proof of Concept
   Namespaced (cpd-*) styles using the TRUE brand palette taken
   from the production style.css / logo:
     green  #557364   blue  #3F5D52   orange #C4631B
     ink    #263330   slate #263330
   Static POC only — no backend. All numbers shown are live
   system values observed Aug 2026 for illustration; production
   renders them from the database.
   ============================================================ */
:root{
  --cpd-green:#557364; --cpd-green-dark:#3F5D52; --cpd-green-soft:#E6ECE4;
  --cpd-blue:#3F5D52;  --cpd-blue-dark:#263330;  --cpd-blue-soft:#F2EEE3;
  --cpd-orange:#C4631B;--cpd-orange-dark:#A85016;--cpd-orange-soft:#EADFC9;
  --cpd-ink:#263330;   --cpd-slate:#263330;      --cpd-muted:#566159;
  --cpd-bg:#F2EEE3;    --cpd-border:#DCD6C6;
  --cpd-radius:14px;   --cpd-radius-sm:10px;
  --cpd-shadow:0 8px 24px rgba(38,51,48,.08);
  --cpd-shadow-sm:0 3px 10px rgba(38,51,48,.06);
  --cpd-font:Inter,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
body.cpd-refresh-page *{box-sizing:border-box}
body.cpd-refresh-page{margin:0;font-family:var(--cpd-font);color:var(--cpd-ink);background:#F2EEE3;-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.55}
body.cpd-refresh-page img{max-width:100%}
body.cpd-refresh-page a{text-decoration:none;color:var(--cpd-blue)}
body.cpd-refresh-page h1,body.cpd-refresh-page h2,body.cpd-refresh-page h3,body.cpd-refresh-page h4{margin:0;line-height:1.2;color:var(--cpd-ink)}
.cpd-container{max-width:1180px;margin:0 auto;padding:0 20px}
.cpd-section{padding:56px 0}
.cpd-section-head{margin-bottom:28px}
.cpd-section-head h2{font-size:28px;font-weight:700}
.cpd-section-head p{color:var(--cpd-muted);margin:6px 0 0;font-size:15px}
.cpd-muted{color:var(--cpd-muted)}

/* ---------- buttons ---------- */
.cpd-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:600;line-height:1;padding:13px 20px;border-radius:10px;border:1.5px solid transparent;cursor:pointer;white-space:nowrap;transition:all .15s ease}
.cpd-btn-lg{padding:16px 26px;font-size:16px}
.cpd-btn-sm{padding:9px 14px;font-size:14px}
.cpd-btn-blue{background:var(--cpd-blue);color:#FFFCF5}.cpd-btn-blue:hover{background:var(--cpd-blue-dark)}
.cpd-btn-green{background:var(--cpd-green);color:#FFFCF5}.cpd-btn-green:hover{background:var(--cpd-green-dark)}
.cpd-btn-orange{background:var(--cpd-orange);color:#FFFCF5}.cpd-btn-orange:hover{background:var(--cpd-orange-dark)}
.cpd-btn-outline{background:#FFFCF5;color:var(--cpd-blue);border-color:var(--cpd-blue)}
.cpd-btn-outline:hover{background:var(--cpd-blue-soft)}
.cpd-btn-ghost{background:transparent;color:var(--cpd-slate);border-color:var(--cpd-border)}

/* ---------- header ---------- */
.cpd-nav{position:sticky;top:0;z-index:50;background:#FFFCF5;border-bottom:1px solid var(--cpd-border)}
.cpd-nav-inner{max-width:1180px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;gap:22px}
.cpd-nav-brand img{height:44px;width:auto;display:block}
.cpd-nav-links{display:flex;gap:20px;list-style:none;margin:0 0 0 8px;padding:0;flex:1}
.cpd-nav-links a{color:var(--cpd-slate);font-weight:600;font-size:15px;padding:8px 2px}
.cpd-nav-links a:hover{color:var(--cpd-blue)}
.cpd-nav-actions{display:flex;gap:10px;align-items:center}
.cpd-cart-count{background:var(--cpd-orange);color:#FFFCF5;border-radius:999px;font-size:12px;padding:2px 7px;margin-left:6px}
.cpd-nav-toggle{display:none;background:none;border:1px solid var(--cpd-border);border-radius:8px;padding:8px 10px;font-size:18px;line-height:1}

/* ---------- hero ---------- */
.cpd-hero{position:relative;padding:64px 0 56px;overflow:hidden;background:
  linear-gradient(90deg,rgba(255,252,245,.97) 0%,rgba(255,252,245,.92) 30%,rgba(247,244,236,.55) 55%,rgba(247,244,236,.05) 80%),
  var(--hero-img) right center/cover no-repeat,var(--cpd-blue-soft)}
/* v3.0: --hero-img is the re-graded clinicians photo (1400x787, cover). For the vector illustration (hero-illustration.svg) use
   "right center/auto 100%" and a fade that ends at calc(100% - 600px) so the artwork is never washed or cropped. */
.cpd-hero-inner{max-width:640px}
.cpd-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.cpd-hero h1{font-size:42px;font-weight:800;letter-spacing:-.01em}
.cpd-hero h1 .accent{color:var(--cpd-blue)}
.cpd-hero-sub{font-size:18px;color:var(--cpd-muted);margin:16px 0 24px;max-width:34em}
.cpd-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.cpd-pill{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:7px 12px;border-radius:999px;background:#FFFCF5;border:1px solid var(--cpd-border);color:var(--cpd-slate)}
.cpd-pill.is-green{background:var(--cpd-green-soft);border-color:#C9D6C9;color:var(--cpd-green-dark)}
.cpd-pill.is-orange{background:var(--cpd-orange-soft);border-color:#EADFC9;color:var(--cpd-orange-dark)}
.cpd-hero-cta{display:flex;gap:12px;flex-wrap:wrap}
.cpd-hero-card{background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:var(--cpd-radius);box-shadow:var(--cpd-shadow);padding:26px}
.cpd-hero-card h3{font-size:19px;margin-bottom:4px}
.cpd-hero-card .cpd-hint{font-size:14px;color:var(--cpd-muted);margin:0 0 14px}
.cpd-search{display:flex;border:2px solid var(--cpd-blue);border-radius:12px;overflow:hidden}
.cpd-search input{flex:1;border:0;outline:0;padding:14px 16px;font-size:16px;font-family:inherit}
.cpd-search button{border:0;background:var(--cpd-blue);color:#FFFCF5;font-weight:700;padding:0 22px;cursor:pointer;font-size:15px}
/* discipline typeahead dropdown (UX target for the restyled ASPxComboBox) */
.cpd-search-wrap{position:relative}
.cpd-suggest{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:12px;box-shadow:var(--cpd-shadow);z-index:60;max-height:320px;overflow-y:auto;display:none}
.cpd-suggest.open{display:block}
.cpd-suggest .group{font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--cpd-muted);padding:12px 16px 6px}
.cpd-suggest .item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;cursor:pointer;font-size:15px}
.cpd-suggest .item:hover,.cpd-suggest .item.active{background:var(--cpd-blue-soft)}
.cpd-suggest .item b{color:var(--cpd-blue);font-weight:800}
.cpd-suggest .item .go{font-size:12.5px;font-weight:700;color:var(--cpd-blue);opacity:0;white-space:nowrap}
.cpd-suggest .item:hover .go,.cpd-suggest .item.active .go{opacity:1}
.cpd-suggest .empty{padding:16px;font-size:14px;color:var(--cpd-muted)}
.cpd-suggest .empty a{font-weight:700}

.cpd-disc-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.cpd-disc-pills a{font-size:13px;font-weight:600;padding:7px 12px;border-radius:999px;background:var(--cpd-bg);border:1px solid var(--cpd-border);color:var(--cpd-slate)}
.cpd-disc-pills a:hover{background:var(--cpd-blue-soft);border-color:var(--cpd-blue);color:var(--cpd-blue)}

/* ---------- fact strip ---------- */
.cpd-facts{background:var(--cpd-slate);color:#FFFCF5;padding:22px 0}
.cpd-facts-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.cpd-fact{display:flex;align-items:center;justify-content:center;gap:13px;text-align:left}
.cpd-fact .ico{flex:none;width:42px;height:42px;border-radius:50%;background:rgba(255,252,245,.09);display:flex;align-items:center;justify-content:center}
.cpd-fact .ico svg{width:20px;height:20px}
.cpd-fact.tone-green .ico{color:var(--cpd-green)}
.cpd-fact.tone-blue .ico{color:#A3C2B1}
.cpd-fact.tone-orange .ico{color:var(--cpd-orange)}
.cpd-fact b{display:block;font-size:21px}
.cpd-fact span{font-size:13px;color:#C1C4B9}

/* ---------- package cards ---------- */
.cpd-pkg-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cpd-pkg{position:relative;background:#FFFCF5;border:1.5px solid var(--cpd-border);border-radius:var(--cpd-radius);padding:26px 22px;text-align:center;box-shadow:var(--cpd-shadow-sm);display:flex;flex-direction:column;gap:8px}
.cpd-pkg.is-best{border-color:var(--cpd-green);box-shadow:var(--cpd-shadow)}
.cpd-pkg-badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--cpd-green);color:#FFFCF5;font-size:12px;font-weight:700;letter-spacing:.04em;padding:5px 14px;border-radius:999px}
.cpd-pkg-credits{font-size:24px;font-weight:800}
.cpd-pkg-desc{font-size:14px;color:var(--cpd-muted)}
.cpd-pkg-price{font-size:32px;font-weight:800;color:var(--cpd-blue)}
.cpd-pkg-ceu{font-size:14px;font-weight:700;color:var(--cpd-green-dark);background:var(--cpd-green-soft);border-radius:8px;padding:6px;margin:0 auto 6px;width:70%}
.cpd-pkg .cpd-btn{margin-top:auto}
.cpd-pkg-note{font-size:13px;color:var(--cpd-muted);margin-top:14px;text-align:center}

/* ---------- course cards ---------- */
.cpd-course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cpd-course{background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:var(--cpd-radius);overflow:hidden;box-shadow:var(--cpd-shadow-sm);display:flex;flex-direction:column;transition:box-shadow .15s ease,transform .15s ease}
.cpd-course:hover{box-shadow:var(--cpd-shadow);transform:translateY(-2px)}
.cpd-course-media{position:relative;background:linear-gradient(135deg,var(--cpd-blue-soft),var(--cpd-green-soft));height:120px;display:flex;align-items:center;justify-content:center;color:var(--cpd-blue);font-weight:700;font-size:14px}
.cpd-course-ceu{position:absolute;top:10px;left:10px;background:var(--cpd-slate);color:#FFFCF5;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px}
.cpd-course-new{position:absolute;top:10px;right:10px;background:var(--cpd-orange);color:#FFFCF5;font-size:11px;font-weight:800;letter-spacing:.05em;padding:4px 8px;border-radius:6px}
.cpd-course-body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:10px;flex:1}
.cpd-course-title{font-size:16px;font-weight:700;line-height:1.35;min-height:2.7em}
.cpd-course-abstract{font-size:13.5px;color:var(--cpd-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.cpd-chiprow{display:flex;gap:6px;flex-wrap:wrap}
.cpd-chip{font-size:12px;font-weight:600;padding:4px 9px;border-radius:999px;background:var(--cpd-bg);border:1px solid var(--cpd-border);color:var(--cpd-slate)}
.cpd-chip.is-green{background:var(--cpd-green-soft);color:var(--cpd-green-dark);border-color:#C9D6C9}
.cpd-chip.is-blue{background:var(--cpd-blue-soft);color:var(--cpd-blue-dark);border-color:#C1C4B9}
.cpd-chip.is-orange{background:var(--cpd-orange-soft);color:var(--cpd-orange-dark);border-color:#EADFC9}
.cpd-course-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
.cpd-price{font-size:20px;font-weight:800}
.cpd-price small{display:block;font-size:12px;font-weight:600;color:var(--cpd-muted)}

/* ---------- steps (connected flow) ---------- */
.cpd-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;position:relative}
.cpd-steps::before{content:"";position:absolute;top:46px;left:12%;right:12%;height:2px;background:repeating-linear-gradient(90deg,var(--cpd-border) 0 10px,transparent 10px 18px);z-index:0}
.cpd-step{background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:var(--cpd-radius);padding:26px 20px 22px;text-align:center;position:relative;z-index:1;box-shadow:var(--cpd-shadow-sm);transition:box-shadow .15s ease,transform .15s ease}
.cpd-step:hover{box-shadow:var(--cpd-shadow);transform:translateY(-2px)}
.cpd-step-num{position:absolute;top:-14px;left:50%;transform:translateX(-50%);width:28px;height:28px;border-radius:50%;background:var(--cpd-blue);color:#FFFCF5;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(38,51,48,.18)}
.cpd-step-ico{width:56px;height:56px;border-radius:16px;margin:4px auto 14px;display:flex;align-items:center;justify-content:center}
.cpd-step-ico svg{width:26px;height:26px}
.cpd-step.tone-blue .cpd-step-ico{background:var(--cpd-blue-soft);color:var(--cpd-blue)}
.cpd-step.tone-green .cpd-step-ico{background:var(--cpd-green-soft);color:var(--cpd-green-dark)}
.cpd-step.tone-orange .cpd-step-ico{background:var(--cpd-orange-soft);color:var(--cpd-orange-dark)}
.cpd-step.tone-slate .cpd-step-ico{background:#EDEAE0;color:var(--cpd-slate)}
.cpd-step h3{font-size:16px;margin:0 0 6px}
.cpd-step p{font-size:13.5px;color:var(--cpd-muted);margin:0}
.cpd-step .fact{display:inline-block;margin-top:12px;font-size:12px;font-weight:700;color:var(--cpd-slate);background:var(--cpd-bg);border:1px solid var(--cpd-border);border-radius:999px;padding:5px 11px}

/* ---------- "why professionals" feature grid ---------- */
.cpd-why-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cpd-why{background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:var(--cpd-radius);padding:18px;display:flex;gap:14px;align-items:flex-start;box-shadow:var(--cpd-shadow-sm)}
.cpd-why .ico{flex:none;width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center}
.cpd-why .ico svg{width:22px;height:22px}
.cpd-why.tone-blue .ico{background:var(--cpd-blue-soft);color:var(--cpd-blue)}
.cpd-why.tone-green .ico{background:var(--cpd-green-soft);color:var(--cpd-green-dark)}
.cpd-why.tone-orange .ico{background:var(--cpd-orange-soft);color:var(--cpd-orange-dark)}
.cpd-why.tone-slate .ico{background:#EDEAE0;color:var(--cpd-slate)}
.cpd-why h3{font-size:15px;margin:0 0 4px}
.cpd-why p{font-size:13.5px;color:var(--cpd-muted);margin:0;line-height:1.5}

/* ---------- trust ---------- */
.cpd-trust{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--cpd-muted)}
.cpd-trust .tag{border:1px solid var(--cpd-border);border-radius:8px;padding:6px 10px;font-weight:600;background:#FFFCF5;color:var(--cpd-slate)}

/* ---------- listing page ---------- */
.cpd-page-head{background:linear-gradient(180deg,var(--cpd-blue-soft),#FFFCF5);padding:36px 0 26px;border-bottom:1px solid var(--cpd-border)}
.cpd-page-head h1{font-size:30px;font-weight:800}
.cpd-page-head p{color:var(--cpd-muted);margin:8px 0 0}
.cpd-listing-tools{display:flex;gap:14px;align-items:center;margin:22px 0;flex-wrap:wrap}
.cpd-listing-tools .cpd-search{flex:1;min-width:260px}
.cpd-pkg-rail{background:var(--cpd-green-soft);border:1.5px solid var(--cpd-green);border-radius:var(--cpd-radius);padding:18px 22px;display:flex;align-items:center;gap:18px;justify-content:space-between;flex-wrap:wrap;margin:26px 0}
.cpd-pkg-rail b{font-size:16px}
.cpd-pkg-rail p{margin:2px 0 0;font-size:14px;color:var(--cpd-muted)}

/* ---------- promo rows (featured / trending) ---------- */
.cpd-rowhead{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin:28px 0 12px;flex-wrap:wrap}
.cpd-rowhead h2{font-size:20px;font-weight:800}
.cpd-rowhead .sub{font-size:13px;color:var(--cpd-muted)}
.cpd-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(235px,265px);gap:14px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.cpd-mini{scroll-snap-align:start;background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:var(--cpd-radius-sm);padding:14px;display:flex;flex-direction:column;gap:8px;box-shadow:var(--cpd-shadow-sm);transition:box-shadow .15s ease}
.cpd-mini:hover{box-shadow:var(--cpd-shadow)}
.cpd-mini-title{font-size:14.5px;font-weight:700;line-height:1.35;color:var(--cpd-ink)}
.cpd-mini-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;gap:8px}
.cpd-mini-price{font-weight:800;font-size:16px}

/* state chips for logged-in users */
.cpd-state-owned{background:var(--cpd-blue-soft);color:var(--cpd-blue-dark)}
.cpd-state-done{background:#eee;color:#666}

/* ---------- course detail ---------- */
.cpd-detail-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:36px;align-items:start}
.cpd-detail-media{border-radius:var(--cpd-radius);height:auto;min-height:0;padding:0;background:var(--cpd-bg-tint);display:block;aspect-ratio:16/9;color:var(--cpd-blue);font-weight:700;margin-bottom:24px;overflow:hidden;box-shadow:var(--cpd-shadow-sm)}
.cpd-buybox{background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:var(--cpd-radius);box-shadow:var(--cpd-shadow);padding:24px;position:sticky;top:84px}
.cpd-buybox .cpd-price{font-size:30px}
.cpd-buybox .row{display:flex;justify-content:space-between;font-size:14px;padding:9px 0;border-bottom:1px dashed var(--cpd-border)}
.cpd-buybox select{width:100%;padding:10px;border:1px solid var(--cpd-border);border-radius:8px;font-family:inherit;font-size:14px}
.cpd-upsell{background:var(--cpd-orange-soft);border:1.5px solid var(--cpd-orange);border-radius:var(--cpd-radius-sm);padding:14px 16px;font-size:14px;margin-top:16px}
.cpd-upsell b{display:block;margin-bottom:2px}

/* ---------- cart ---------- */
.cpd-cart-wrap{display:grid;grid-template-columns:1.6fr 1fr;gap:28px;align-items:start}
.cpd-cart-items{background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:var(--cpd-radius);overflow:hidden}
.cpd-cart-item{display:flex;gap:14px;align-items:center;padding:16px 18px;border-bottom:1px solid var(--cpd-border)}
.cpd-cart-item:last-child{border-bottom:0}
.cpd-cart-thumb{width:54px;height:54px;border-radius:10px;background:linear-gradient(135deg,var(--cpd-blue-soft),var(--cpd-green-soft));flex:none;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:var(--cpd-blue)}
.cpd-cart-item h4{font-size:15px;font-weight:700}
.cpd-cart-item .meta{font-size:13px;color:var(--cpd-muted)}
.cpd-cart-item .amt{margin-left:auto;font-weight:800;white-space:nowrap}
.cpd-cart-item .rm{border:0;background:none;color:#b33;font-size:18px;cursor:pointer;padding:4px 8px}
.cpd-nudge{background:var(--cpd-green-soft);border:1.5px solid var(--cpd-green);border-radius:var(--cpd-radius);padding:18px 20px;margin-top:18px}
.cpd-nudge h4{font-size:16px;color:var(--cpd-green-dark);margin-bottom:8px;display:flex;align-items:center;gap:8px}
.cpd-nudge table{width:100%;font-size:14px;border-collapse:collapse}
.cpd-nudge td{padding:5px 0}
.cpd-nudge td:last-child{text-align:right;font-weight:700}
.cpd-nudge .save td{color:var(--cpd-green-dark);font-weight:800;border-top:1px solid #C9D6C9;font-size:15px}
.cpd-nudge .actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.cpd-summary{background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:var(--cpd-radius);box-shadow:var(--cpd-shadow-sm);padding:22px}
.cpd-summary .row{display:flex;justify-content:space-between;font-size:14.5px;padding:8px 0}
.cpd-summary .total{border-top:2px solid var(--cpd-ink);font-size:17px;font-weight:800;margin-top:6px;padding-top:12px}
.cpd-summary .cpd-btn{width:100%;margin-top:14px}
/* real payment logos strip */
.cpd-paylogos{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:12px}
.cpd-paylogos img{height:26px;width:auto}
.cpd-paylogos.on-dark img{background:#FFFCF5;border-radius:6px;padding:3px 6px;height:30px}

/* discount / cash payment code inputs */
.cpd-code-row{display:flex;gap:8px;margin:10px 0}
.cpd-code-row input{flex:1;min-width:0;padding:11px 12px;border:1px solid var(--cpd-border);border-radius:8px;font-family:inherit;font-size:14px}
.cpd-code-row input:focus{outline:2px solid var(--cpd-blue);outline-offset:0;border-color:var(--cpd-blue)}
.cpd-code-row .cpd-btn{flex:none}

/* EFT / cash deposit card — always visible in cart */
.cpd-eft-card{background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:var(--cpd-radius);overflow:hidden;margin-top:18px;box-shadow:var(--cpd-shadow-sm)}
.cpd-eft-card .head{background:var(--cpd-blue);color:#FFFCF5;font-weight:700;text-align:center;padding:11px 14px;font-size:15px}
.cpd-eft-card .sub{text-align:center;font-weight:700;font-size:13.5px;padding:10px 12px;border-bottom:1px solid var(--cpd-border)}
.cpd-eft-card table{width:100%;border-collapse:collapse;font-size:13.5px}
.cpd-eft-card td{padding:9px 14px;border-bottom:1px solid var(--cpd-border)}
.cpd-eft-card td:first-child{color:var(--cpd-muted);width:46%}
.cpd-eft-card td:last-child{font-weight:600;text-align:right}
.cpd-eft-card .note{padding:11px 14px;font-size:13px;color:var(--cpd-muted);border-bottom:1px solid var(--cpd-border)}
.cpd-eft-card .warn{padding:11px 14px;font-size:13px;font-weight:700;color:#8A5216;background:#F3E6DD;text-align:center}

/* ---------- footer ---------- */
.cpd-footer{background:var(--cpd-slate);color:#C1C4B9;padding:48px 0 24px;margin-top:56px}
.cpd-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:28px}
.cpd-footer h4{color:#FFFCF5;font-size:15px;margin-bottom:12px}
.cpd-footer ul{list-style:none;margin:0;padding:0}
.cpd-footer li{margin-bottom:8px}
.cpd-footer a{color:#C1C4B9;font-size:14px}
.cpd-footer a:hover{color:#FFFCF5}
.cpd-footer-logo{background:#FFFCF5;border-radius:10px;padding:10px;display:inline-block}
.cpd-footer-pay{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.cpd-footer-pay span{background:#FFFCF5;color:var(--cpd-slate);border-radius:6px;font-size:11px;font-weight:700;padding:5px 8px}
.cpd-footer-bottom{border-top:1px solid #2F3D38;margin-top:34px;padding-top:18px;font-size:13px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}

/* ---------- auth modal (login / register / forgot) ---------- */
.cpd-modal-overlay{position:fixed;inset:0;background:rgba(38,51,48,.55);z-index:200;display:none;align-items:flex-start;justify-content:center;padding:34px 16px;overflow-y:auto}
.cpd-modal-overlay.open{display:flex}
.cpd-modal{background:#FFFCF5;border-radius:var(--cpd-radius);box-shadow:0 24px 64px rgba(38,51,48,.28);width:100%;max-width:460px;position:relative;animation:cpdpop .18s ease}
.cpd-modal.wide{max-width:660px}
@keyframes cpdpop{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}
.cpd-modal-close{position:absolute;top:12px;right:14px;border:0;background:none;font-size:26px;line-height:1;color:var(--cpd-muted);cursor:pointer;padding:4px 8px}
.cpd-modal-close:hover{color:var(--cpd-ink)}
.cpd-tabs{display:flex;border-bottom:1px solid var(--cpd-border)}
.cpd-tabs button{flex:1;border:0;background:none;font-family:inherit;font-size:16px;font-weight:700;padding:16px;cursor:pointer;color:var(--cpd-muted);border-bottom:3px solid transparent}
.cpd-tabs button.active{color:var(--cpd-blue);border-bottom-color:var(--cpd-blue)}
.cpd-modal-body{padding:22px 26px 26px}
.cpd-modal-body h3{font-size:20px;margin-bottom:4px}
.cpd-modal-sub{font-size:14px;color:var(--cpd-muted);margin:0 0 18px}
.cpd-fieldset{border:0;padding:0;margin:0 0 6px}
.cpd-fieldset legend{font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--cpd-blue);padding:0;margin:14px 0 10px}
.cpd-field{margin-bottom:14px}
.cpd-field label{display:block;font-size:13.5px;font-weight:700;margin-bottom:5px}
.cpd-field label .req{color:var(--cpd-orange-dark)}
.cpd-field input,.cpd-field select{width:100%;padding:12px 13px;border:1px solid var(--cpd-border);border-radius:9px;font-family:inherit;font-size:15px;background:#FFFCF5}
.cpd-field input:focus,.cpd-field select:focus{outline:2px solid var(--cpd-blue);outline-offset:0;border-color:var(--cpd-blue)}
.cpd-field .help{font-size:12.5px;color:var(--cpd-muted);margin-top:4px}
.cpd-field.has-error input{border-color:#8A5216;outline-color:#8A5216}
.cpd-field.has-error .err{display:block;font-size:12.5px;color:#8A5216;font-weight:600;margin-top:4px}
.cpd-field .err{display:none}
.cpd-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.cpd-pw-wrap{position:relative}
.cpd-pw-wrap input{padding-right:64px}
.cpd-pw-wrap .pw-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:none;font-size:12.5px;font-weight:700;color:var(--cpd-blue);cursor:pointer;padding:6px}
.cpd-auth-note{background:var(--cpd-blue-soft);border-radius:var(--cpd-radius-sm);padding:12px 14px;font-size:13px;color:var(--cpd-blue-dark);margin-bottom:16px}
.cpd-auth-foot{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:14px;flex-wrap:wrap;gap:10px}
.cpd-auth-legal{font-size:12.5px;color:var(--cpd-muted);margin:14px 0 0}
@media (max-width:640px){
  .cpd-modal-overlay{padding:0}
  .cpd-modal,.cpd-modal.wide{max-width:none;min-height:100%;border-radius:0}
  .cpd-form-grid{grid-template-columns:1fr}
}

/* ---------- contact / talk-to-us card ---------- */
.cpd-contact-card{background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:var(--cpd-radius);box-shadow:var(--cpd-shadow);padding:24px;display:flex;flex-direction:column;height:100%}
.cpd-chan{display:flex;gap:13px;align-items:center;padding:11px 0;border-bottom:1px solid var(--cpd-border);text-decoration:none}
.cpd-chan:last-of-type{border-bottom:0}
.cpd-chan .ico{flex:none;width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center}
.cpd-chan .ico svg{width:20px;height:20px}
.cpd-chan.tone-green .ico{background:var(--cpd-green-soft);color:var(--cpd-green-dark)}
.cpd-chan.tone-blue .ico{background:var(--cpd-blue-soft);color:var(--cpd-blue)}
.cpd-chan.tone-orange .ico{background:var(--cpd-orange-soft);color:var(--cpd-orange-dark)}
.cpd-chan.tone-slate .ico{background:#EDEAE0;color:var(--cpd-slate)}
.cpd-chan b{display:block;font-size:14.5px;color:var(--cpd-ink)}
.cpd-chan span{font-size:13px;color:var(--cpd-muted)}
.cpd-chan .go{margin-left:auto;color:var(--cpd-blue);font-weight:800;font-size:16px}
.cpd-chan:hover b{color:var(--cpd-blue)}
.cpd-faq-mini{background:var(--cpd-bg);border-radius:var(--cpd-radius-sm);padding:14px 16px;margin-top:auto}
.cpd-faq-mini h4{font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--cpd-muted);margin:0 0 8px}
.cpd-faq-mini a{display:block;font-size:14px;font-weight:600;padding:5px 0;color:var(--cpd-blue)}
.cpd-faq-mini a:hover{text-decoration:underline}

/* footer newsletter */
.cpd-news-row{display:flex;gap:8px}
.cpd-news-row input{flex:1;min-width:0;padding:10px 12px;border:1px solid #2F3D38;border-radius:8px;background:#2F3D38;color:#FFFCF5;font-family:inherit;font-size:13.5px}
.cpd-news-row input::placeholder{color:#8F9B93}
.cpd-news-row input:focus{outline:2px solid var(--cpd-green);border-color:var(--cpd-green)}

/* POC banner */
.cpd-poc-note{background:var(--cpd-orange-soft);border-bottom:1px solid #EADFC9;color:var(--cpd-orange-dark);font-size:12.5px;font-weight:600;text-align:center;padding:6px 14px}

/* ---------- responsive ---------- */
@media (max-width:960px){
  .cpd-hero{background:linear-gradient(rgba(255,252,245,.93),rgba(255,252,245,.93)),var(--hero-img) right center/cover no-repeat,var(--cpd-blue-soft)}
  .cpd-hero-grid,.cpd-detail-grid,.cpd-cart-wrap{grid-template-columns:1fr}
  .cpd-course-grid,.cpd-pkg-grid{grid-template-columns:repeat(2,1fr)}
  .cpd-facts-grid,.cpd-steps{grid-template-columns:repeat(2,1fr)}
  .cpd-steps::before{display:none}
  .cpd-why-grid{grid-template-columns:1fr}
  .cpd-footer-grid{grid-template-columns:1fr 1fr}
  .cpd-hero h1{font-size:32px}
  .cpd-buybox{position:static}
}
@media (max-width:640px){
  .cpd-nav-links{display:none}
  .cpd-nav-links.open{display:flex;position:absolute;top:100%;left:0;right:0;background:#FFFCF5;flex-direction:column;padding:16px 20px;border-bottom:1px solid var(--cpd-border);box-shadow:var(--cpd-shadow)}
  .cpd-nav-toggle{display:block}
  .cpd-nav-actions .cpd-btn-outline{display:none}
  .cpd-course-grid,.cpd-pkg-grid,.cpd-facts-grid,.cpd-steps{grid-template-columns:1fr}
  .cpd-section{padding:40px 0}
  .cpd-hero{padding:36px 0}
  .cpd-hero h1{font-size:27px}
  .cpd-footer-grid{grid-template-columns:1fr}
  .cpd-pkg-rail{flex-direction:column;align-items:flex-start}
}


/* ===== COMPAT LAYER (restored prototype controls: ucHomeMenu, DevExpress discipline combo, FeaturedCourses head) ===== */
body.cpd-refresh-page .nav-container.cpd-nav {
    background: #FFFCF5;
    border-bottom: 1px solid var(--cpd-border);
    padding: 0;
    margin: 0;
}

body.cpd-refresh-page .cpd-nav .navbar {
    margin: 0;
    border: none;
    background: transparent;
    min-height: 0;
}

.cpd-nav-inner {
    max-width: var(--cpd-maxw);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cpd-nav-brand {
    display: flex;
    align-items: center;
}

.cpd-nav-brand img {
    height: 76px;
    width: auto;
    display: block;
}

.cpd-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
}

.cpd-nav-links > li { margin: 0; }

.cpd-nav-links > li > a {
    color: #2F3D38;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 2px;
    transition: color .15s ease;
}
.cpd-nav-links > li > a:hover { color: var(--cpd-blue); }

.cpd-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.cpd-nav-actions .cpd-btn { height: 42px; padding: 0 18px; font-size: 14px; }

.cpd-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 2px;
    border-radius: var(--cpd-radius-pill);
    background: rgba(255,252,245,.28);
    font-size: 12px;
    font-weight: 700;
}

/* logged-in greeting / dropdown kept usable */
.cpd-nav-actions .cpd-user {
    color: #2F3D38;
    font-size: 14px;
    font-weight: 500;
}
.cpd-nav-actions .dropdown-menu { font-size: 14px; }

/* hamburger (mobile) */
body.cpd-refresh-page .cpd-nav .navbar-toggle {
    border: 1px solid var(--cpd-border);
    margin: 0;
}
body.cpd-refresh-page .cpd-nav .navbar-toggle .icon-bar { background: #2F3D38; }

.cpd-search-box {
    position: relative;
    margin-bottom: 14px;
}
.cpd-search-box .cpd-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #8F9B93;
    pointer-events: none;
    z-index: 2;
}
body.cpd-refresh-page .cpd-search-box .home-discipline-dropdown,
body.cpd-refresh-page .cpd-search-box .dxeButtonEditSys {
    width: 100% !important;
}
body.cpd-refresh-page .cpd-search-box .dxeButtonEdit_Moderno,
body.cpd-refresh-page .cpd-search-box .dxeEditArea_Moderno {
    border: 1px solid #DCD6C6 !important;
    border-radius: var(--cpd-radius-pill) !important;
    background: #F7F4EC !important;
    height: 46px !important;
    padding-left: 38px !important;
    box-shadow: none !important;
    font-size: 14px;
}
.cpd-search-box img { display: none; } /* legacy magnifier png */

.cpd-disc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cpd-disc-pills a {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--cpd-blue);
    background: #FFFCF5;
    border: 1px solid #C9D6C9;
    padding: 6px 13px;
    border-radius: var(--cpd-radius-pill);
    transition: background .15s ease, border-color .15s ease;
}
.cpd-disc-pills a:hover { background: var(--cpd-blue-soft); border-color: var(--cpd-blue); }
.cpd-featured .cpd-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}
.cpd-viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cpd-blue);
    font-weight: 600;
    font-size: 15px;
}
.cpd-viewall svg { width: 16px; height: 16px; }

    body.cpd-refresh-page .cpd-nav-inner { flex-wrap: wrap; }
    body.cpd-refresh-page .cpd-nav .navbar-collapse {
        flex-basis: 100%;
        border-top: 1px solid var(--cpd-border);
        margin-top: 10px;
    }
    .cpd-nav-links { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 0; }
    .cpd-nav-actions { padding-bottom: 12px; }
}
/* modern contact section (keeps existing form + WebMethod contract) */
.cpd-contact { background: #FFFCF5; padding: 64px 0; }
.cpd-contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: start; max-width: var(--cpd-maxw); margin: 0 auto; padding: 0 24px; }
.cpd-contact h2 { font-size: 26px; font-weight: 700; margin: 0 0 6px; color: var(--cpd-text); }
.cpd-contact .cpd-sub { color: var(--cpd-muted); font-size: 14.5px; margin: 0 0 18px; }
.cpd-contact-form input[type=text], .cpd-contact-form input[type=email], .cpd-contact-form input[type=tel],
.cpd-contact-form input, .cpd-contact-form textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--cpd-border); border-radius: 9px; font-family: var(--cpd-font); font-size: 15px; margin-bottom: 12px; background: #FFFCF5; color: var(--cpd-text); }
.cpd-contact-form textarea { min-height: 110px; resize: vertical; }
.cpd-contact-form input:focus, .cpd-contact-form textarea:focus { outline: 2px solid var(--cpd-blue); border-color: var(--cpd-blue); }
.cpd-contact-card { background: #FFFCF5; border: 1px solid var(--cpd-border); border-radius: var(--cpd-radius); box-shadow: var(--cpd-card-shadow); padding: 22px; }
.cpd-chan { display: flex; gap: 13px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--cpd-border); text-decoration: none; }
.cpd-chan:last-of-type { border-bottom: 0; }
.cpd-chan .ico { flex: none; width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.cpd-chan .ico svg { width: 20px; height: 20px; }
.cpd-chan.tone-green .ico { background: var(--cpd-green-soft); color: var(--cpd-green-dark); }
.cpd-chan.tone-blue .ico { background: var(--cpd-blue-soft); color: var(--cpd-blue); }
.cpd-chan.tone-orange .ico { background: var(--cpd-orange-soft); color: #A85016; }
.cpd-chan b { display: block; font-size: 14.5px; color: var(--cpd-text); }
.cpd-chan span { font-size: 13px; color: var(--cpd-muted); }
.cpd-chan:hover b { color: var(--cpd-blue); }
.cpd-faq-mini { background: #F2EEE3; border-radius: var(--cpd-radius-sm); padding: 14px 16px; margin-top: 14px; }
.cpd-faq-mini h4 { font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--cpd-muted); margin: 0 0 8px; }
.cpd-faq-mini a { display: block; font-size: 14px; font-weight: 600; padding: 4px 0; color: var(--cpd-blue); text-decoration: none; }
.cpd-faq-mini a:hover { text-decoration: underline; }
.cpd-social-row { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.cpd-social-row span { font-size: 13.5px; color: var(--cpd-muted); font-weight: 600; }
.cpd-contact .btn-send { display: inline-flex; align-items: center; justify-content: center; background: var(--cpd-blue); color: #FFFCF5; font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none; }
.cpd-contact .btn-send:hover { background: var(--cpd-blue-dark); color: #FFFCF5; }

@media (max-width:960px){.cpd-contact-grid{grid-template-columns:1fr}}

/* aliases for restored controls */
.cpd-step-t{font-size:16px;font-weight:700;margin:0 0 6px;color:var(--cpd-ink)}
.cpd-step-s{font-size:13.5px;color:var(--cpd-muted);margin:0}
.cpd-step-fact{display:inline-block;margin-top:12px;font-size:12px;font-weight:700;color:var(--cpd-slate);background:var(--cpd-bg);border:1px solid var(--cpd-border);border-radius:999px;padding:5px 11px}
.cpd-step.tone-blue .cpd-step-ico{background:var(--cpd-blue-soft);color:var(--cpd-blue)}
.cpd-step.tone-green .cpd-step-ico{background:var(--cpd-green-soft);color:var(--cpd-green-dark)}
.cpd-step.tone-orange .cpd-step-ico{background:var(--cpd-orange-soft);color:var(--cpd-orange-dark)}
.cpd-step.tone-slate .cpd-step-ico{background:#EDEAE0;color:var(--cpd-slate)}
.cpd-step-ico{width:56px;height:56px;border-radius:16px;margin:4px auto 14px;display:flex;align-items:center;justify-content:center}
.cpd-step-ico svg{width:26px;height:26px}
.cpd-pkg.is-recommended{border-color:var(--cpd-green);box-shadow:var(--cpd-shadow)}
.cpd-hero-card .cpd-search-box .dxeButtonEdit_Moderno,
.cpd-hero-card .cpd-search-box .dxeEditArea_Moderno{border:2px solid var(--cpd-blue) !important;border-radius:12px !important;background:#FFFCF5 !important;height:50px !important;padding-left:40px !important;box-shadow:none !important;font-size:15px}

/* ===== render fixes v2.1 (validated in browser) ===== */
/* nav: lay out BS3 navbar-collapse horizontally on desktop */
body.cpd-refresh-page .cpd-nav .navbar{margin:0;border:0;background:none;min-height:0}
body.cpd-refresh-page .cpd-nav-inner{display:flex;align-items:center;gap:18px;max-width:1180px;margin:0 auto;padding:10px 20px}
body.cpd-refresh-page .cpd-nav .navbar-header{float:none;display:flex;align-items:center;margin:0}
@media (min-width:768px){
  body.cpd-refresh-page .cpd-nav .navbar-collapse.collapse{display:flex!important;align-items:center;flex:1;padding:0;border:0;box-shadow:none;height:auto!important;overflow:visible}
  body.cpd-refresh-page .cpd-nav-links{display:flex;gap:20px;flex:1;margin:0;padding:0;list-style:none}
  body.cpd-refresh-page .cpd-nav-links li{float:none;margin:0}
  body.cpd-refresh-page .cpd-nav-actions{display:flex;gap:10px;align-items:center;margin-left:auto}
}
/* buttons: beat the scoped anchor colour rule */
body.cpd-refresh-page a.cpd-btn-blue,body.cpd-refresh-page a.cpd-btn-green,body.cpd-refresh-page a.cpd-btn-orange{color:#FFFCF5}
body.cpd-refresh-page a.cpd-btn-blue:hover,body.cpd-refresh-page a.cpd-btn-green:hover,body.cpd-refresh-page a.cpd-btn-orange:hover{color:#FFFCF5}
body.cpd-refresh-page a.cpd-btn-outline{color:var(--cpd-blue)}
/* course cards: constrain real DB images */
.cpd-course-media{overflow:hidden}
.cpd-course-media img{width:100%;height:100%;object-fit:cover;display:block}

@media (min-width:768px){body.cpd-refresh-page .cpd-nav-links{flex-direction:row!important;align-items:center;padding:0}body.cpd-refresh-page .cpd-nav .navbar-collapse{width:auto;flex-wrap:nowrap}}

/* ===== v2.2 POC pixel-fidelity fixes ===== */
/* nav: sticky, logo 44px, orange cart badge — exact POC values */
body.cpd-refresh-page .cpd-nav{position:sticky;top:0;z-index:50;background:#FFFCF5;border-bottom:1px solid var(--cpd-border)}
body.cpd-refresh-page .cpd-nav-brand img{height:44px!important;width:auto!important;display:block}
body.cpd-refresh-page .cpd-cart-count{background:var(--cpd-orange)!important;color:#FFFCF5!important;border-radius:999px;font-size:12px;font-weight:700;padding:2px 7px;margin-left:6px;display:inline-block;line-height:1.4}
body.cpd-refresh-page .cpd-nav-links > li > a{font-size:15px;font-weight:600;color:var(--cpd-slate);padding:8px 2px}
/* discipline search: POC .cpd-search composite (blue border, attached Search button) */
body.cpd-refresh-page .cpd-search-box{display:flex;align-items:stretch;border:2px solid var(--cpd-blue);border-radius:12px;overflow:hidden;background:#FFFCF5;position:relative;margin-bottom:0;padding:0}
body.cpd-refresh-page .cpd-search-box .home-discipline-dropdown,
body.cpd-refresh-page .cpd-search-box .dxeButtonEditSys{flex:1;width:auto !important}
body.cpd-refresh-page .cpd-search-box .dxeButtonEdit_Moderno,
body.cpd-refresh-page .cpd-search-box .dxeEditArea_Moderno{border:0 !important;border-radius:0 !important;background:#FFFCF5 !important;height:48px !important;padding-left:42px !important;box-shadow:none !important;font-size:16px !important}
body.cpd-refresh-page .cpd-search-go{display:flex;align-items:center;background:var(--cpd-blue);color:#FFFCF5 !important;font-weight:700;padding:0 22px;font-size:15px;text-decoration:none;flex:none;cursor:pointer}
body.cpd-refresh-page .cpd-search-go:hover{background:var(--cpd-blue-dark);color:#FFFCF5}
body.cpd-refresh-page .cpd-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#8F9B93;z-index:2;pointer-events:none}

/* ===== v2.3 section-parity fixes ===== */
.cpd-trustgrid{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
@media (max-width:960px){.cpd-trustgrid{grid-template-columns:1fr}}
.cpd-chan .go{margin-left:auto;color:var(--cpd-blue);font-weight:800;font-size:16px}
.cpd-contact-formrow{max-width:720px;margin:40px auto 0}
.cpd-btn-lg{padding:16px 26px;font-size:16px}
/* need-help widget: see .cpd-help-* (v3.0) */
/* footer newsletter control on dark */
.cpd-footer-news input{width:100%;padding:10px 12px;border:1px solid #2F3D38;border-radius:8px;background:#2F3D38;color:#FFFCF5;font-size:13.5px;margin-bottom:8px;font-family:inherit}
.cpd-footer-news input::placeholder{color:#8F9B93}
.cpd-footer-news a,.cpd-footer-news .btn,.cpd-footer-news input[type=submit],.cpd-footer-news button{background:var(--cpd-green);color:#FFFCF5 !important;border:0;border-radius:8px;padding:9px 14px;font-weight:700;font-size:13.5px;display:inline-block;text-decoration:none}
.cpd-footer-news h1,.cpd-footer-news h2,.cpd-footer-news h3,.cpd-footer-news h4{color:#FFFCF5;font-size:15px}
.cpd-footer-news p{font-size:13.5px;color:#C1C4B9}

/* ===== v2.4 polish ===== */
body.cpd-refresh-page .cpd-footer h4,body.cpd-refresh-page .cpd-footer-news h4,body.cpd-refresh-page .cpd-footer-news h3{color:#FFFCF5;font-size:15px;margin:0 0 12px}
body.cpd-refresh-page .cpd-footer a{color:#C1C4B9;font-size:14px}
body.cpd-refresh-page .cpd-footer a:hover{color:#FFFCF5}
.btn-send{display:inline-flex;align-items:center;justify-content:center;background:var(--cpd-blue);color:#FFFCF5 !important;font-weight:700;font-size:15px;padding:13px 26px;border-radius:10px;border:0;cursor:pointer;text-decoration:none}
.btn-send:hover{background:var(--cpd-blue-dark)}
.cpd-course-price{font-size:20px;font-weight:800;color:var(--cpd-ink)}
.cpd-course-go{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:var(--cpd-blue);color:#FFFCF5 !important}
.cpd-course-go svg{width:18px;height:18px}
.cpd-course-go:hover{background:var(--cpd-blue-dark)}

/* ===== v2.5 search box height trim ===== */
body.cpd-refresh-page .cpd-search-box .dxeButtonEdit_Moderno,
body.cpd-refresh-page .cpd-search-box .dxeEditArea_Moderno{height:42px !important;font-size:15px !important}
body.cpd-refresh-page .cpd-search-go{padding:0 20px;font-size:14.5px}

/* ===== v2.6 search icon-to-text gap (padding was applied on wrapper AND edit area) ===== */
body.cpd-refresh-page .cpd-search-box .dxeButtonEdit_Moderno{padding-left:0 !important}
body.cpd-refresh-page .cpd-search-box .dxeEditArea_Moderno{padding-left:38px !important}

/* ===== v2.7 auth modal (login / register / forgot) — POC design on the BS3 modal ===== */
body.cpd-refresh-page #loginModal .modal-dialog{width:680px;max-width:95vw;margin-top:34px}
body.cpd-refresh-page #loginModal .modal-content,
body.cpd-refresh-page #forgotPasswordModal .modal-content{border-radius:16px;border:0;box-shadow:0 24px 64px rgba(38,51,48,.28)}
body.cpd-refresh-page #loginModal .modal-body,body.cpd-refresh-page #loginModal .model-body{padding:0 0 6px}
body.cpd-refresh-page #loginModal .close{position:absolute;top:12px;right:16px;z-index:5;font-size:26px;opacity:.5}
body.cpd-refresh-page #loginModal .nav-tabs{display:flex;border-bottom:1px solid var(--cpd-border);margin:0}
body.cpd-refresh-page #loginModal .nav-tabs>li{flex:1;float:none;margin:0}
body.cpd-refresh-page #loginModal .nav-tabs>li>a{display:block;text-align:center;font-size:16px;font-weight:700;padding:16px;color:var(--cpd-muted);border:0;border-bottom:3px solid transparent;border-radius:0;margin:0;background:none;cursor:pointer}
body.cpd-refresh-page #loginModal .nav-tabs>li.active>a,body.cpd-refresh-page #loginModal .nav-tabs>li>a:hover{color:var(--cpd-blue);border:0;border-bottom:3px solid var(--cpd-blue);background:none}
.cpd-auth-body{padding:22px 26px 26px;text-align:left}
.cpd-auth-body h3{font-size:20px;font-weight:700;margin:0 0 4px;color:var(--cpd-ink)}
.cpd-auth-sub{font-size:14px;color:var(--cpd-muted);margin:0 0 18px}
.cpd-auth-note{background:var(--cpd-blue-soft);border-radius:12px;padding:12px 14px;font-size:13px;color:var(--cpd-blue-dark);margin-bottom:16px}
.cpd-field{margin-bottom:14px}
.cpd-field label{display:block;font-size:13.5px;font-weight:700;margin-bottom:5px;color:var(--cpd-ink)}
.cpd-field .req{color:var(--cpd-orange-dark)}
.cpd-auth-body .cpd-field input.form-control,.cpd-auth-body .cpd-field select.form-control{width:100%;height:auto;padding:11px 13px;border:1px solid var(--cpd-border);border-radius:9px;font-size:15px;box-shadow:none}
.cpd-auth-body .cpd-field input.form-control:focus,.cpd-auth-body .cpd-field select.form-control:focus{outline:2px solid var(--cpd-blue);border-color:var(--cpd-blue);box-shadow:none}
.cpd-field .help{font-size:12.5px;color:var(--cpd-muted);margin-top:4px;display:block}
.cpd-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
@media (max-width:600px){.cpd-form-grid{grid-template-columns:1fr}}
.cpd-fieldset{border:0;padding:0;margin:0 0 6px;min-width:0}
.cpd-fieldset legend{font-size:12.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--cpd-blue);border:0;margin:14px 0 10px;width:auto}
input.cpd-auth-submit{width:100%;background:var(--cpd-blue);color:#FFFCF5;font-weight:700;font-size:15px;padding:13px;border:0;border-radius:10px;cursor:pointer}
input.cpd-auth-submit:hover{background:var(--cpd-blue-dark)}
input.cpd-auth-submit.green{background:var(--cpd-green)}
input.cpd-auth-submit.green:hover{background:var(--cpd-green-dark)}
.cpd-auth-foot{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:14px;flex-wrap:wrap;gap:10px}
.cpd-auth-legal{font-size:12.5px;color:var(--cpd-muted);margin:14px 0 0}
/* register pane can be tall — scroll inside the modal */
body.cpd-refresh-page #loginModal #tab2 .cpd-auth-body{max-height:calc(100vh - 200px);overflow-y:auto}
@media (max-width:720px){body.cpd-refresh-page #loginModal .modal-dialog{width:auto;margin:10px}}
/* legacy style.css pins this popup to the top right; centre it as on the homepage */
body.cpd-refresh-page #loginModal{position:fixed !important;top:0 !important;right:0;bottom:0;left:0;width:auto !important}
body.cpd-refresh-page #loginModal:before{display:none}
body.cpd-refresh-page.modal-open{overflow:hidden}
@media (min-width:924px){body.cpd-refresh-page #loginModal .modal-dialog{width:680px !important}}

/* ===== v2.8 listing + detail pages ===== */
.cpd-cardhost > table{width:100%;border:0;border-collapse:collapse}
.cpd-cardhost > table td{border:0;padding:0}
.cpd-empty{background:#FFFCF5;border:1px dashed var(--cpd-border);border-radius:14px;padding:28px;text-align:center;color:var(--cpd-muted);font-size:15px}
.cpd-indirect{margin:34px 0 48px}
.cpd-indirect summary{font-weight:700;font-size:17px;cursor:pointer;color:var(--cpd-blue);padding:6px 0}
.cpd-indirect[open] summary{margin-bottom:14px}
.cpd-chiprow .AccredYear{border:0;background:none;font:inherit;font-weight:700;color:var(--cpd-blue);cursor:pointer;padding:0 2px}
.cpd-course-media img{position:absolute;inset:0}
.cpd-course-media{position:relative}
.cpd-detail-abstract{color:var(--cpd-muted);font-size:15px;line-height:1.65;overflow-wrap:break-word}
.cpd-detail-media .dxbImage{display:block;width:100%;height:100%}
.cpd-detail-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0;image-rendering:auto}
body.cpd-refresh-page .header-cart{display:none}
body.cpd-refresh-page .cpd-page-head h1{font-size:30px;font-weight:800;margin:0}
body.cpd-refresh-page .cpd-listing-tools .cpd-search input{flex:1;border:0;outline:0;padding:12px 16px;font-size:15px;font-family:inherit;min-width:0}

/* ===== v2.9 listing chrome fixes ===== */
body.cpd-refresh-page .nav-container{min-height:0}
body.cpd-refresh-page .main_wrap{padding-top:0}
/* hospersa strip: dark only when it has visible content (logo/message render only for members) */
.cpd-hospersa-wrap{background:var(--cpd-slate);padding:0}
/* accreditation year select: kill the legacy image-skinned dropdown */
body.cpd-refresh-page select.AccredYear{appearance:auto;-webkit-appearance:menulist;background:none !important;background-image:none !important;border:1px solid var(--cpd-border) !important;border-radius:7px;width:auto !important;height:auto !important;padding:2px 6px !important;font:inherit;font-weight:700;color:var(--cpd-blue);cursor:pointer;text-indent:0 !important}
body.cpd-refresh-page .cpd-chiprow .cpd-chip{display:inline-flex;align-items:center;gap:6px}

/* ===== v2.10 cart badge: neutralise legacy absolute .cart span rule ===== */
body.cpd-refresh-page .cpd-nav .cart span,body.cpd-refresh-page .cpd-cart-count{position:static !important;float:none !important;margin-top:0 !important;left:auto !important;top:auto !important;width:auto !important;height:auto !important;line-height:1.4 !important;font-size:12px !important}

/* ===== v2.11 header height parity with homepage (style.css forces .navbar min-height:110px on inner pages) ===== */
body.cpd-refresh-page .cpd-nav .navbar{min-height:0 !important;height:auto !important;margin:0 !important;border:0;background:none}
body.cpd-refresh-page .cpd-nav .navbar-brand{height:auto !important;padding:0 !important;display:flex;align-items:center;min-height:0}
body.cpd-refresh-page .cpd-nav .navbar-header{min-height:0;height:auto}

/* ===== v2.12 no legacy backgrounds on redesigned pages ===== */
body.cpd-refresh-page .main-bg,body.cpd-refresh-page .main_wrap{background:none !important;background-image:none !important}
body.cpd-refresh-page{background:#F2EEE3}

/* ===== v2.13 cart: mini-cart modal skin + page polish ===== */
body.cpd-refresh-page #cartModal .modal-dialog{width:760px;max-width:95vw}
body.cpd-refresh-page #cartModal .modal-content{border-radius:16px;border:0;box-shadow:0 24px 64px rgba(38,51,48,.28)}
body.cpd-refresh-page #cartModal .divExamTitle h2{font-size:20px;font-weight:700;color:var(--cpd-ink);margin:4px 0 14px}
body.cpd-refresh-page #cartModal .cpdtable th{background:var(--cpd-slate);color:#FFFCF5;font-size:13px;padding:8px 10px}
body.cpd-refresh-page #cartModal .cpdtable td{font-size:14px;padding:8px 10px;border-bottom:1px solid var(--cpd-border);vertical-align:middle}
body.cpd-refresh-page #cartModal .td-footer{font-weight:800;background:var(--cpd-green-soft) !important;color:var(--cpd-green-dark) !important}
body.cpd-refresh-page #cartModal .btn-cart{background:var(--cpd-orange);color:#FFFCF5;font-weight:700;border:0;border-radius:10px;padding:12px 18px;width:100%}
body.cpd-refresh-page #cartModal .btn-cart:hover{background:var(--cpd-orange-dark, #A85016)}
body.cpd-refresh-page #cartModal .box-info h2{font-size:16px;font-weight:700;color:var(--cpd-ink)}
body.cpd-refresh-page #cartModal .cash-deposit-info{font-size:13px}
body.cpd-refresh-page #cartModal .form-control{border:1px solid var(--cpd-border);border-radius:8px;box-shadow:none}
body.cpd-refresh-page #cartModal .btn-primary{background:var(--cpd-blue);border:0;border-radius:8px;font-weight:700}
body.cpd-refresh-page .cpd-cart-thumb img{width:100%;height:100%;object-fit:cover;border-radius:10px}
body.cpd-refresh-page .cpd-cart-thumb svg{width:24px;height:24px;color:var(--cpd-blue)}

/* ===== v2.14 mini-cart: compact single-column summary ===== */
body.cpd-refresh-page #cartModal .modal-dialog.cpd-minicart{width:520px;max-width:95vw;margin-top:40px}
body.cpd-refresh-page #cartModal .modal-body{padding:20px 22px 22px}
body.cpd-refresh-page #cartModal .cpdtable{width:100%}
body.cpd-refresh-page #cartModal .cpdtable .close{float:none;margin-left:8px;font-size:18px;opacity:.4}
body.cpd-refresh-page #cartModal .tdCartImage{width:46px}
body.cpd-refresh-page #cartModal .cartthumbnail{width:40px;height:40px;object-fit:cover;border-radius:8px}
body.cpd-refresh-page .cpd-minicart-totals{margin:14px 0 6px;border-top:1px solid var(--cpd-border);padding-top:10px}
body.cpd-refresh-page .cpd-minicart-totals td{font-size:14px;padding:5px 0;border:0}
body.cpd-refresh-page .cpd-minicart-totals tr.net td{font-size:16px;font-weight:800;border-top:2px solid var(--cpd-ink);padding-top:10px}
body.cpd-refresh-page .cpd-minicart-actions{display:flex;flex-direction:column;gap:10px;margin-top:12px}
body.cpd-refresh-page .cpd-minicart-terms{text-align:center;font-size:13px;margin:2px 0 0}
body.cpd-refresh-page #cartModal .notvisible{display:none}

/* ===== v2.15 mini-cart table cleanup ===== */
body.cpd-refresh-page #cartModal .cpdtable td{background:none !important;color:var(--cpd-ink) !important}
body.cpd-refresh-page #cartModal .cpdtable td a{color:var(--cpd-ink)}
body.cpd-refresh-page #cartModal .cpdtable .td-footer{display:none}
body.cpd-refresh-page #cartModal .cpdtable tr:has(.td-footer){display:none}

/* ===== v2.16 cart page summary fixes (bootstrap .row conflict) ===== */
body.cpd-refresh-page .cpd-summary .row{margin-left:0 !important;margin-right:0 !important;width:100%}
body.cpd-refresh-page .cpd-summary .row:before,body.cpd-refresh-page .cpd-summary .row:after{display:none}
body.cpd-refresh-page .cpd-code-row{display:flex;gap:8px;margin:6px 0 12px}
body.cpd-refresh-page .cpd-code-row input{flex:1 1 auto !important;width:100% !important;min-width:0;padding:11px 12px;border:1px solid var(--cpd-border);border-radius:8px;font-size:14px;font-family:inherit}
body.cpd-refresh-page .cpd-code-row .cpd-btn{flex:0 0 auto;width:auto}

/* ===== v2.17 compare-packages popup ===== */
body.cpd-refresh-page #packagesModal .modal-dialog.cpd-packages-dialog{width:940px;max-width:96vw;margin-top:40px}
body.cpd-refresh-page #packagesModal .modal-content{border-radius:16px;border:0;box-shadow:0 24px 64px rgba(38,51,48,.28)}
body.cpd-refresh-page #packagesModal .modal-body{padding:22px 26px 26px}
body.cpd-refresh-page #packagesModal .cpd-pkg-grid{margin-top:16px}
body.cpd-refresh-page #packagesModal .close{position:absolute;top:12px;right:16px;z-index:5;font-size:26px}
@media (max-width:960px){body.cpd-refresh-page #packagesModal .cpd-pkg-grid{grid-template-columns:1fr}}

/* ===== v2.18 add-to-cart floating nudge ===== */
.cpd-float-nudge{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:300;background:#FFFCF5;border:2px solid var(--cpd-green);border-radius:14px;box-shadow:0 16px 44px rgba(38,51,48,.22);padding:14px 18px;display:flex;align-items:center;gap:16px;max-width:860px;width:calc(100vw - 32px);font-size:14px}
.cpd-float-nudge .t{flex:1;line-height:1.5}
.cpd-float-nudge .a{display:flex;gap:8px;flex:none}
@media (max-width:700px){.cpd-float-nudge{flex-direction:column;align-items:stretch;text-align:center}.cpd-float-nudge .a{justify-content:center}}

/* ===== v2.19 discipline typeahead dropdown fix (overflow:hidden was clipping the DevExpress popup) ===== */
body.cpd-refresh-page .cpd-search-box{overflow:visible}
body.cpd-refresh-page .cpd-search-box .dxeButtonEdit_Moderno{border-radius:10px 0 0 10px !important}
body.cpd-refresh-page .cpd-search-go{border-radius:0 10px 10px 0}
/* dropdown list: POC suggestion-list look */
.dxpcDropDown,.dxpc-content{z-index:500 !important}
body.cpd-refresh-page .dxpcDropDown{border:1px solid var(--cpd-border) !important;border-radius:12px !important;box-shadow:var(--cpd-shadow) !important;overflow:hidden;margin-top:6px}
body.cpd-refresh-page .dxpcDropDown .dxeListBox_Moderno{border:0 !important}
body.cpd-refresh-page .dxpcDropDown .dxeListBoxItem_Moderno{padding:10px 16px !important;font-size:15px !important;font-family:var(--cpd-font) !important;color:var(--cpd-ink) !important}
body.cpd-refresh-page .dxpcDropDown .dxeListBoxItemHover_Moderno,
body.cpd-refresh-page .dxpcDropDown .dxeListBoxItemSelected_Moderno{background:var(--cpd-blue-soft) !important;color:var(--cpd-blue) !important}


/* ============================================================
   v2.20 — Course History / Order History / Referrals revamp
   ============================================================ */

/* Grid card wrapper */
body.cpd-refresh-page .cpd-grid{background:#FFFCF5;border:1px solid #DCD6C6;border-radius:14px;overflow:hidden;box-shadow:0 2px 10px rgba(38,51,48,.05)}
body.cpd-refresh-page .cpd-grid .dxgvControl_Moderno,
body.cpd-refresh-page .cpd-grid .dxgvControl_Moderno table{border:0 !important;font-family:inherit !important}

/* Header row — slate, centered */
body.cpd-refresh-page .cpd-grid td.dxgvHeader_Moderno{background:#263330 !important;color:#FFFCF5 !important;border:0 !important;font-weight:700 !important;padding:13px 12px !important;font-size:13px !important;text-align:center !important}
body.cpd-refresh-page .cpd-grid td.dxgvHeader_Moderno table td{text-align:center}

/* Data rows — white, subtle divider, hover tint (kills legacy blue/grey cells) */
body.cpd-refresh-page .cpd-grid tr.dxgvDataRow_Moderno td.dxgv,
body.cpd-refresh-page .cpd-grid tr.dxgvDataRowAlt_Moderno td.dxgv{background:#FFFCF5 !important;color:#263330 !important;border:0 !important;border-bottom:1px solid #EDEAE0 !important;padding:12px 12px !important;font-size:14px !important}
body.cpd-refresh-page .cpd-grid tr.dxgvDataRow_Moderno:hover td.dxgv,
body.cpd-refresh-page .cpd-grid tr.dxgvDataRowAlt_Moderno:hover td.dxgv{background:#F7F4EC !important}

/* Command links & buttons inside grids */
body.cpd-refresh-page .cpd-grid a{color:#3F5D52;font-weight:600;text-decoration:none}
body.cpd-refresh-page .cpd-grid a:hover{color:#35504A;text-decoration:underline}
body.cpd-refresh-page .cpd-grid .dxbButton_Moderno,
body.cpd-refresh-page .cpd-grid .dxbButton_Moderno div.dxb{background:#3F5D52 !important;border:0 !important;border-radius:8px !important;color:#FFFCF5 !important;cursor:pointer}
body.cpd-refresh-page .cpd-grid .dxbButton_Moderno span{color:#FFFCF5 !important;font-weight:600;font-size:12.5px}
body.cpd-refresh-page .cpd-grid .dxbButton_Moderno:hover,
body.cpd-refresh-page .cpd-grid .dxbButton_Moderno:hover div.dxb{background:#35504A !important}

/* Pager + empty state */
body.cpd-refresh-page .cpd-grid .dxpLite_Moderno{padding:10px 12px;background:#FFFCF5}
body.cpd-refresh-page .cpd-grid td.dxgvEmptyDataRow_Moderno{background:#FFFCF5 !important;color:#566159 !important;padding:34px 12px !important;text-align:center}

/* Actions row under a grid */
body.cpd-refresh-page .cpd-grid-actions{display:flex;gap:12px;justify-content:center;align-items:center;margin-top:20px;flex-wrap:wrap}

/* HPCSA submission note (Course History) */
body.cpd-refresh-page .cpd-hpcsa-note{background:#FFFCF5;border:1px solid #DCD6C6;border-left:4px solid #C4631B;border-radius:12px;padding:14px 18px;margin-bottom:18px;font-size:14px;color:#263330;line-height:1.6}
body.cpd-refresh-page .cpd-hpcsa-note b{display:block;margin-bottom:2px}

/* Referral pages */
body.cpd-refresh-page .cpd-ref-intro{background:#FFFCF5;border:1px solid #DCD6C6;border-radius:12px;padding:16px 20px}
body.cpd-refresh-page .cpd-ref-intro ul{margin:0;padding-left:20px;color:#566159;line-height:1.9;font-size:14.5px}
body.cpd-refresh-page .cpd-ref-login{background:#FFFCF5;border:1px solid #DCD6C6;border-radius:12px;margin-top:18px}
body.cpd-refresh-page .cpd-ref-table{border-radius:12px;overflow:hidden;border-collapse:separate;border-spacing:0;border:1px solid #DCD6C6;font-size:14px}
body.cpd-refresh-page .cpd-ref-claimform{max-width:600px}
body.cpd-refresh-page .cpd-ref-claimform label{font-size:13px;font-weight:700;color:#566159}
body.cpd-refresh-page .cpd-ref-claimform .form-control{border-radius:10px;border:1.5px solid #DCD6C6;box-shadow:none;height:42px}
body.cpd-refresh-page .cpd-ref-claimform .form-control:focus{border-color:#3F5D52}

/* Fallback for any remaining legacy divExamTitle headings (sub pages not yet revamped) */
body.cpd-refresh-page .divExamTitle h2{color:#263330;font-weight:800;font-size:22px;letter-spacing:.2px;margin:6px 0 14px}
body.cpd-refresh-page .divExamTitle p{color:#566159;font-size:14px}


/* ============================================================
   v2.21 — return-to-top arrow (styles lived only in legacy
   style.css, which the POC home page does not load)
   ============================================================ */
#return-to-top{position:fixed;bottom:24px;right:196px;background:#FFFCF5;border:1px solid var(--cpd-border);box-shadow:var(--cpd-shadow-sm);width:50px;height:50px;text-decoration:none;border-radius:35px;display:none;z-index:90;transition:all .3s ease}
#return-to-top i{color:var(--cpd-blue);margin:0;position:relative;left:16px;top:13px;font-size:19px;transition:all .3s ease}
#return-to-top:hover{background:var(--cpd-blue)}#return-to-top:hover i{color:#FFFCF5}
@media screen and (max-width:550px){#return-to-top{bottom:16px;right:82px;width:46px;height:46px}#return-to-top i{left:14px;top:12px}}


/* ============================================================
   v2.22 — slimmer desktop header: total height barely more
   than the 44px logo (was ~65px with 10px vertical padding)
   ============================================================ */
@media (min-width:768px){
  body.cpd-refresh-page .cpd-nav-inner{padding:4px 20px}
}

/* v2.22b — the real 72px culprits: navbar-collapse margin-top:10px + nav-actions padding-bottom:12px */
@media (min-width:768px){
  body.cpd-refresh-page .cpd-nav .navbar-collapse{margin-top:0 !important;margin-bottom:0 !important}
  body.cpd-refresh-page .cpd-nav-actions{padding:0 !important}
}

/* v2.23 — header shrinks on scroll: 72px at top, 53px once the user scrolls (desktop) */
@media (min-width:768px){
  body.cpd-refresh-page .cpd-nav-inner{padding:13.5px 20px;transition:padding .25s ease}
  body.cpd-refresh-page .cpd-nav.is-scrolled .cpd-nav-inner{padding:4px 20px}
}

/* ============================================================
   v2.24 — FAQ page accordion
   ============================================================ */
body.cpd-refresh-page .cpd-faq-group{margin-bottom:34px}
body.cpd-refresh-page .cpd-faq-group>h2{font-size:19px;font-weight:800;color:#263330;margin:0 0 14px;padding-bottom:8px;border-bottom:2px solid #557364}
body.cpd-refresh-page .cpd-faq details{background:#FFFCF5;border:1px solid #DCD6C6;border-radius:12px;margin-bottom:10px;box-shadow:0 1px 4px rgba(38,51,48,.04)}
body.cpd-refresh-page .cpd-faq summary{cursor:pointer;padding:16px 52px 16px 20px;font-weight:700;font-size:15.5px;color:#263330;list-style:none;position:relative;line-height:1.45}
body.cpd-refresh-page .cpd-faq summary::-webkit-details-marker{display:none}
body.cpd-refresh-page .cpd-faq summary:after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;background:#F7F4EC;color:#3F5D52;font-weight:700;font-size:17px;display:flex;align-items:center;justify-content:center;transition:transform .2s ease}
body.cpd-refresh-page .cpd-faq details[open] summary:after{content:"\2212";background:#3F5D52;color:#FFFCF5}
body.cpd-refresh-page .cpd-faq details[open] summary{color:#3F5D52}
body.cpd-refresh-page .cpd-faq details>div{padding:0 20px 18px;color:#566159;font-size:14.5px;line-height:1.75}
body.cpd-refresh-page .cpd-faq details>div a{color:#3F5D52;font-weight:600}

/* ============================================================
   v2.25 — content pages (Pricing / What is CPD / Legal / T&C)
   ============================================================ */
body.cpd-refresh-page .cpd-prose{background:#FFFCF5;border:1px solid #DCD6C6;border-radius:14px;padding:34px 38px;box-shadow:0 2px 10px rgba(38,51,48,.05)}
body.cpd-refresh-page .cpd-prose p{color:#2F3D38;font-size:14.5px;line-height:1.8;margin:0 0 14px}
body.cpd-refresh-page .cpd-prose h3{font-size:17px;font-weight:800;color:#263330;margin:28px 0 10px;padding-top:6px}
body.cpd-refresh-page .cpd-prose ul{padding-left:22px;color:#2F3D38;font-size:14.5px;line-height:1.8;margin:0 0 14px}
body.cpd-refresh-page .cpd-prose ul li{margin-bottom:8px}
body.cpd-refresh-page .cpd-prose a{color:#3F5D52;font-weight:600}
body.cpd-refresh-page .cpd-prose a:hover{color:#35504A}
body.cpd-refresh-page .cpd-prose-note{background:#F7F0E3;border:1px solid #EADFC9;border-left:4px solid #C4631B;border-radius:10px;padding:12px 16px;font-size:14px}
body.cpd-refresh-page .cpd-prose-cta{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;background:#EDEFE7;border:1px solid #C9D6C9;border-radius:12px;padding:18px 22px;margin-top:24px}
body.cpd-refresh-page .cpd-prose-cta p{margin:0;font-size:14px;color:#566159}
@media (max-width:640px){body.cpd-refresh-page .cpd-prose{padding:24px 20px}}

/* v2.25b — buttons inside prose cards: prose link colour must not bleed into .cpd-btn */
body.cpd-refresh-page .cpd-prose a.cpd-btn{text-decoration:none}
body.cpd-refresh-page .cpd-prose a.cpd-btn.cpd-btn-orange,
body.cpd-refresh-page .cpd-prose a.cpd-btn.cpd-btn-orange:hover,
body.cpd-refresh-page .cpd-prose a.cpd-btn.cpd-btn-blue,
body.cpd-refresh-page .cpd-prose a.cpd-btn.cpd-btn-blue:hover,
body.cpd-refresh-page .cpd-prose a.cpd-btn.cpd-btn-green,
body.cpd-refresh-page .cpd-prose a.cpd-btn.cpd-btn-green:hover{color:#FFFCF5}

/* ============================================================
   v2.26 — exam pages (Exam.aspx question skin + ExamResult)
   ============================================================ */
/* question header row (legacy .question-blue) as card header */
body.cpd-refresh-page .cpd-exam .question-blue{background:#263330 !important;color:#FFFCF5;border-radius:12px 12px 0 0;margin:22px 0 0;padding:14px 18px}
body.cpd-refresh-page .cpd-exam .question-blue label{color:#FFFCF5;font-weight:700;font-size:15px;margin:0;line-height:1.5}
/* answers block (legacy .answer-white) as card body */
body.cpd-refresh-page .cpd-exam .answer-white{background:#FFFCF5;border:1px solid #DCD6C6;border-top:0;border-radius:0 0 12px 12px;margin:0;padding:14px 18px 18px;box-shadow:0 1px 5px rgba(38,51,48,.04)}
body.cpd-refresh-page .cpd-exam .answer-white .radio label,
body.cpd-refresh-page .cpd-exam .answer-white .checkbox label{font-size:14.5px;color:#263330;line-height:1.6;cursor:pointer}
body.cpd-refresh-page .cpd-exam .answer-white input[type=radio],
body.cpd-refresh-page .cpd-exam .answer-white input[type=checkbox]{margin-right:8px;accent-color:#3F5D52;transform:scale(1.15)}
body.cpd-refresh-page .cpd-exam .text-answer{padding-top:6px;padding-bottom:6px}

/* result cards */
body.cpd-refresh-page .cpd-exam-result{background:#FFFCF5;border:1px solid #DCD6C6;border-radius:16px;padding:36px 34px;text-align:center;box-shadow:0 2px 10px rgba(38,51,48,.05)}
body.cpd-refresh-page .cpd-exam-result h2{font-size:21px;font-weight:800;color:#263330;margin:14px 0 8px}
body.cpd-refresh-page .cpd-exam-result .cpd-exam-mark{font-size:16px;color:#263330;margin:0}
body.cpd-refresh-page .cpd-exam-badge{width:64px;height:64px;border-radius:50%;margin:0 auto;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:800;color:#FFFCF5}
body.cpd-refresh-page .is-pass .cpd-exam-badge{background:#557364}
body.cpd-refresh-page .is-fail .cpd-exam-badge{background:#C4631B}
body.cpd-refresh-page .cpd-exam-result a.cpd-btn{color:#FFFCF5}
body.cpd-refresh-page .cpd-exam-result a.cpd-btn.cpd-btn-outline{color:#3F5D52}

/* v2.26b — bigger exam answer controls (radio/checkbox), especially for touch */
body.cpd-refresh-page .cpd-exam .answer-white input[type=radio],
body.cpd-refresh-page .cpd-exam .answer-white input[type=checkbox]{width:22px;height:22px;accent-color:#3F5D52;transform:none;margin:0 10px 0 0;vertical-align:middle;position:relative;top:-1px;cursor:pointer}
body.cpd-refresh-page .cpd-exam .answer-white .radio label,
body.cpd-refresh-page .cpd-exam .answer-white .checkbox label{display:flex;align-items:flex-start;gap:10px;padding-left:0}
body.cpd-refresh-page .cpd-exam .answer-white .radio label input,
body.cpd-refresh-page .cpd-exam .answer-white .checkbox label input{flex:0 0 22px;margin-top:1px;position:static}
body.cpd-refresh-page .cpd-exam .answer-white .radio,
body.cpd-refresh-page .cpd-exam .answer-white .checkbox{margin:10px 0}
@media (max-width:767px){
  body.cpd-refresh-page .cpd-exam .answer-white input[type=radio],
  body.cpd-refresh-page .cpd-exam .answer-white input[type=checkbox]{width:26px;height:26px}
  body.cpd-refresh-page .cpd-exam .answer-white .radio label input,
  body.cpd-refresh-page .cpd-exam .answer-white .checkbox label input{flex:0 0 26px}
  body.cpd-refresh-page .cpd-exam .answer-white .radio label,
  body.cpd-refresh-page .cpd-exam .answer-white .checkbox label{font-size:15.5px}
}

/* v2.26c — bigger still + whole answer row clickable */
body.cpd-refresh-page .cpd-exam .answer-white input[type=radio],
body.cpd-refresh-page .cpd-exam .answer-white input[type=checkbox]{width:24px;height:24px}
body.cpd-refresh-page .cpd-exam .answer-white .radio label input,
body.cpd-refresh-page .cpd-exam .answer-white .checkbox label input{flex:0 0 24px}
body.cpd-refresh-page .cpd-exam .answer-white .radio,
body.cpd-refresh-page .cpd-exam .answer-white .checkbox{cursor:pointer;border-radius:10px;padding:8px 10px;margin:6px 0;transition:background .12s ease}
body.cpd-refresh-page .cpd-exam .answer-white .radio:hover,
body.cpd-refresh-page .cpd-exam .answer-white .checkbox:hover{background:#F7F4EC}
@media (max-width:767px){
  body.cpd-refresh-page .cpd-exam .answer-white input[type=radio],
  body.cpd-refresh-page .cpd-exam .answer-white input[type=checkbox]{width:30px;height:30px}
  body.cpd-refresh-page .cpd-exam .answer-white .radio label input,
  body.cpd-refresh-page .cpd-exam .answer-white .checkbox label input{flex:0 0 30px}
}

/* v2.26d — answer rows: whole row clickable across every answer layout */
body.cpd-refresh-page .cpd-exam .answer-white .text-answer{cursor:pointer;border-radius:10px;padding:9px 10px;margin:2px 0;transition:background .12s ease}
body.cpd-refresh-page .cpd-exam .answer-white .text-answer:hover{background:#F7F4EC}
body.cpd-refresh-page .cpd-exam .answer-white .text-answer label{cursor:pointer;margin:0;font-weight:400;font-size:14.5px;color:#263330;line-height:1.6}
body.cpd-refresh-page .cpd-exam .answer-white .text-answer td{padding-right:4px}
@media (max-width:767px){
  body.cpd-refresh-page .cpd-exam .answer-white .text-answer label{font-size:15.5px}
}


/* ============================================================
   v2.27 — credits chip in the navigation (logged-in users)
   ============================================================ */
body.cpd-refresh-page .cpd-credits-chip{display:inline-flex;align-items:center;gap:7px;background:#EDEFE7;border:1.5px solid #557364;color:#263330 !important;border-radius:999px;padding:6px 14px;font-weight:600;font-size:13.5px;line-height:1;text-decoration:none;transition:background .15s ease}
body.cpd-refresh-page .cpd-credits-chip:hover{background:#E6ECE4;text-decoration:none}
body.cpd-refresh-page .cpd-credits-chip svg{width:16px;height:16px;color:#557364;flex:0 0 16px}
body.cpd-refresh-page .cpd-credits-chip b{font-weight:800;color:#3F5D52}
@media (max-width:900px){body.cpd-refresh-page .cpd-credits-chip{padding:6px 10px}}

/* credits row inside the account dropdown */
body.cpd-refresh-page .cpd-dd-credits > span{display:block;padding:10px 20px;background:#EDEFE7;color:#263330;font-size:13px;border-bottom:1px solid #DCD6C6;white-space:nowrap}
body.cpd-refresh-page .cpd-dd-credits b{color:#3F5D52}
body.cpd-refresh-page .cpd-dd-credits a{display:inline;padding:0;color:#3F5D52;font-weight:700}

/* Admin nav link styled like the orange ADMIN badge for instant recognition */
body.cpd-refresh-page .cpd-nav-links a.cpd-nav-adminlink{background:#C4631B;color:#FFFCF5 !important;font-size:11px;font-weight:800;letter-spacing:1.2px;border-radius:5px;padding:5px 10px;line-height:1}
body.cpd-refresh-page .cpd-nav-links a.cpd-nav-adminlink:hover{background:#A85016;color:#FFFCF5 !important}

/* v2.28 — empty credits chip turns orange as a gentle top-up nudge */
body.cpd-refresh-page .cpd-credits-chip.is-empty{background:#F3EBDC;border-color:#C4631B;color:#263330 !important}
body.cpd-refresh-page .cpd-credits-chip.is-empty:hover{background:#EADFC9}
body.cpd-refresh-page .cpd-credits-chip.is-empty svg{color:#C4631B}
body.cpd-refresh-page .cpd-credits-chip.is-empty b{color:#A85016}

/* forgot-password modal sized like the auth forms */
body.cpd-refresh-page #forgotPasswordModal .modal-dialog{max-width:420px}
body.cpd-refresh-page #forgotPasswordModal .modal-content{border-radius:16px;border:0}
body.cpd-refresh-page #forgotPasswordModal .close{position:absolute;top:14px;right:16px;z-index:5}

/* change-password + edit-profile modals share the auth look */
body.cpd-refresh-page #changePasswordModal .modal-dialog{max-width:420px}
body.cpd-refresh-page #profileModal .modal-dialog{max-width:560px}
body.cpd-refresh-page #changePasswordModal .modal-content,
body.cpd-refresh-page #profileModal .modal-content{border-radius:16px;border:0}
body.cpd-refresh-page #changePasswordModal .close,
body.cpd-refresh-page #profileModal .close{position:absolute;top:14px;right:16px;z-index:5}
body.cpd-refresh-page #profileModal .modal-body{max-height:82vh;overflow-y:auto}

/* legacy style.css pins .modal-dialog to 350px — widen the account modals properly */
body.cpd-refresh-page #profileModal .modal-dialog{width:560px !important;max-width:94vw}
body.cpd-refresh-page #changePasswordModal .modal-dialog,
body.cpd-refresh-page #forgotPasswordModal .modal-dialog{width:420px !important;max-width:94vw}
@media (max-width:600px){body.cpd-refresh-page #profileModal .modal-dialog{width:94vw !important}}

/* centre the account modals (legacy css drags dialogs right with a -225px margin) */
body.cpd-refresh-page #profileModal .modal-dialog,
body.cpd-refresh-page #changePasswordModal .modal-dialog,
body.cpd-refresh-page #forgotPasswordModal .modal-dialog{margin:56px auto !important;float:none}

/* fully reclaim the three account modals from legacy absolute positioning:
   proper fixed overlay, centred dialog, sensible widths */
body.cpd-refresh-page #profileModal,
body.cpd-refresh-page #changePasswordModal,
body.cpd-refresh-page #forgotPasswordModal{position:fixed !important;top:0 !important;right:0 !important;bottom:0 !important;left:0 !important;width:auto !important;height:auto !important;overflow-y:auto}
body.cpd-refresh-page #profileModal .modal-dialog{width:560px !important;max-width:94vw !important;margin:48px auto !important;float:none}
body.cpd-refresh-page #changePasswordModal .modal-dialog,
body.cpd-refresh-page #forgotPasswordModal .modal-dialog{width:420px !important;max-width:94vw !important;margin:70px auto !important;float:none}
body.cpd-refresh-page #profileModal .modal-body{max-height:none}

/* legacy ::before 100vh spacer pushes block dialogs below the fold — remove it here */
body.cpd-refresh-page #profileModal:before,
body.cpd-refresh-page #changePasswordModal:before,
body.cpd-refresh-page #forgotPasswordModal:before{content:none !important;display:none !important}

/* profile modal: compact vertical rhythm so the whole form (incl. Save) fits on screen;
   on shorter displays the form scrolls but the Save button stays pinned in view */
body.cpd-refresh-page #profileModal .modal-dialog{margin:24px auto !important}
body.cpd-refresh-page #profileModal .modal-content{max-height:calc(100vh - 48px);display:flex;flex-direction:column;overflow:hidden}
body.cpd-refresh-page #profileModal .modal-body{overflow-y:auto;flex:1 1 auto}
body.cpd-refresh-page #profileModal .cpd-auth-body h3{margin:0 0 2px;font-size:20px}
body.cpd-refresh-page #profileModal .cpd-auth-sub{margin-bottom:12px;font-size:13px}
body.cpd-refresh-page #profileModal .cpd-field{margin-bottom:10px}
body.cpd-refresh-page #profileModal .cpd-field label{margin-bottom:3px;font-size:12.5px}
body.cpd-refresh-page #profileModal .cpd-field input,
body.cpd-refresh-page #profileModal .cpd-field select{padding:9px 12px;font-size:14px}
body.cpd-refresh-page #profileModal .cpd-auth-submit{position:sticky;bottom:0;margin-top:8px;box-shadow:0 -8px 12px rgba(255,252,245,.9)}


/* ============================================================
   v2.29 — payment pages (Buy.aspx + WaitForPaymentConfirmation)
   ============================================================ */
body.cpd-refresh-page .cpd-buy-intro{background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:12px;padding:16px 20px;margin-bottom:22px}
body.cpd-refresh-page .cpd-buy-intro p{margin:0;font-size:14.5px;color:#2F3D38;line-height:1.7}
body.cpd-refresh-page .cpd-buy-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
@media (max-width:980px){body.cpd-refresh-page .cpd-buy-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){body.cpd-refresh-page .cpd-buy-grid{grid-template-columns:1fr}}
body.cpd-refresh-page .cpd-buy-card{display:flex;align-items:center;justify-content:center;text-align:center;min-height:110px;padding:18px 16px;border-radius:14px;font-weight:800;font-size:15px;line-height:1.5;color:#FFFCF5 !important;text-decoration:none;box-shadow:0 2px 8px rgba(38,51,48,.10);transition:transform .12s ease,box-shadow .12s ease}
body.cpd-refresh-page .cpd-buy-card:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(38,51,48,.16);text-decoration:none}
body.cpd-refresh-page .cpd-buy-card.tone-green{background:#557364}
body.cpd-refresh-page .cpd-buy-card.tone-blue{background:#3F5D52}
body.cpd-refresh-page .cpd-buy-card.tone-orange{background:#C4631B}
body.cpd-refresh-page .cpd-buy-card.tone-ghost{background:#FFFCF5;color:#263330 !important;border:1.5px solid var(--cpd-border);font-weight:700}
body.cpd-refresh-page .cpd-buy-card.tone-ghost:hover{border-color:#3F5D52}

body.cpd-refresh-page .cpd-paywait{background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:16px;padding:44px 38px;text-align:center;box-shadow:0 2px 10px rgba(38,51,48,.05)}
body.cpd-refresh-page .cpd-paywait h2{font-size:22px;font-weight:800;color:#263330;margin:18px 0 8px}
body.cpd-refresh-page .cpd-paywait p{color:#566159;font-size:14.5px;line-height:1.7;margin:0 0 6px}
body.cpd-refresh-page .cpd-paywait-spinner{width:52px;height:52px;margin:0 auto;border-radius:50%;border:5px solid #DCD6C6;border-top-color:#557364;animation:cpdspin 1s linear infinite}
@keyframes cpdspin{to{transform:rotate(360deg)}}


/* ===== v3.0 — logo (SVG wordmark), table-style course listing ===== */
body.cpd-refresh-page .cpd-nav .navbar-brand img{height:28px;width:auto;display:block}
body.cpd-refresh-page .cpd-footer-logo img{height:30px;width:auto;display:block}
body.cpd-refresh-page .cpd-table{width:100%;border-collapse:separate;border-spacing:0;background:#FFFCF5;border-radius:14px;overflow:hidden;box-shadow:var(--cpd-shadow-sm);border:1px solid var(--cpd-border);margin:0}
body.cpd-refresh-page .cpd-table th{background:var(--cpd-blue);color:#fff;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;padding:12px 16px;text-align:left;border:0}
body.cpd-refresh-page .cpd-table th.cpd-c,body.cpd-refresh-page .cpd-table th.cpd-p,body.cpd-refresh-page .cpd-table th.cpd-a{text-align:center}
body.cpd-refresh-page .cpd-table td{padding:12px 16px;border:0;border-bottom:1px solid var(--cpd-border);font-size:15px;vertical-align:middle;background:transparent}
body.cpd-refresh-page .cpd-table tr:last-child td{border-bottom:0}
body.cpd-refresh-page .cpd-table tr.cpd-course-row:hover td{background:#F7F4EC}
body.cpd-refresh-page .cpd-cardhost .cpd-table td,body.cpd-refresh-page .cpd-cardhost .cpd-table th{display:table-cell}
body.cpd-refresh-page .cpd-cardhost .cpd-table tr{display:table-row}
body.cpd-refresh-page .cpd-table td.cpd-t a{color:var(--cpd-ink);font-weight:600;line-height:1.35}
body.cpd-refresh-page .cpd-table td.cpd-t a:hover{color:var(--cpd-blue)}
body.cpd-refresh-page .cpd-table td.cpd-t .cpd-chip{margin-left:8px;vertical-align:1px}
body.cpd-refresh-page .cpd-table td.cpd-c{width:76px;text-align:center;font-weight:700}
body.cpd-refresh-page .cpd-table td.cpd-p{width:130px;text-align:right;font-weight:800;font-size:16px;letter-spacing:-.01em;white-space:nowrap}
body.cpd-refresh-page .cpd-table td.cpd-p small{display:block;font-size:11.5px;color:var(--cpd-muted);font-weight:500;letter-spacing:0}
body.cpd-refresh-page .cpd-table td.cpd-p .cpd-price{font-size:inherit}
body.cpd-refresh-page .cpd-table td.cpd-a{width:220px;text-align:right;white-space:nowrap}
body.cpd-refresh-page .cpd-table td.cpd-a .cpd-btn{margin-left:6px}
@media (max-width:760px){
  body.cpd-refresh-page .cpd-table th.cpd-c,body.cpd-refresh-page .cpd-table td.cpd-c{display:none}
  body.cpd-refresh-page .cpd-table td.cpd-a{width:auto;white-space:normal}
}

/* ===== v3.0 — client-side pager under each course table ===== */
body.cpd-refresh-page .cpd-pager{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:16px 0 8px}
body.cpd-refresh-page .cpd-pager-info{font-size:13.5px;color:var(--cpd-muted)}
body.cpd-refresh-page .cpd-pager-btns{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body.cpd-refresh-page a.cpd-pager-btn{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border-radius:10px;border:1px solid var(--cpd-border);background:#FFFCF5;color:var(--cpd-ink);font-size:14px;font-weight:600;text-decoration:none}
body.cpd-refresh-page a.cpd-pager-btn:hover{border-color:var(--cpd-blue);color:var(--cpd-blue)}
body.cpd-refresh-page a.cpd-pager-btn.is-current{background:var(--cpd-blue);border-color:var(--cpd-blue);color:#fff}
body.cpd-refresh-page a.cpd-pager-btn.is-disabled{opacity:.4;pointer-events:none}
body.cpd-refresh-page .cpd-pager-gap{color:var(--cpd-muted);padding:0 2px}

/* ===== v3.0 — notification toast (bootstrap-notify, .alert-addcart) in the green look ===== */
body.cpd-refresh-page .alert-addcart.cpd-toast,body .alert-addcart.cpd-toast{display:flex!important;flex-direction:row;align-items:center;gap:14px;background:#FFFCF5;border:1px solid var(--cpd-border);border-left:4px solid var(--cpd-blue);border-radius:14px;box-shadow:0 12px 32px rgba(38,51,48,.18);color:var(--cpd-ink);padding:14px 18px 14px 14px;font-family:var(--cpd-font);min-width:300px}
body .alert-addcart.cpd-toast .cpd-toast-icon{width:44px;height:44px;border-radius:10px;margin:0;flex:none}
body .alert-addcart.cpd-toast .cpd-toast-body{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 auto;text-align:left}
body .alert-addcart.cpd-toast [data-notify="title"]{display:block;font-weight:700;font-size:15px;color:var(--cpd-ink);margin:0}
body .alert-addcart.cpd-toast [data-notify="message"]{display:block;font-size:13.5px;color:var(--cpd-muted)}
body .alert-addcart.cpd-toast [data-notify="dismiss"]{display:none}

/* ============================================================
   v3.0 (23 Oct 2026) — "Need help?" widget (FooterLocal.ascx)
   Pill button bottom-right; cream panel with the contact
   channels and the call-back form. Replaces the PNG badge +
   blue/lime popups. Public API: CpdHelp.open/close/callback.
   ============================================================ */
.cpd-help-fab{position:fixed;right:20px;bottom:20px;z-index:95;display:inline-flex;align-items:center;gap:9px;height:52px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--cpd-blue);color:#FFFCF5;font-family:var(--cpd-font);font-size:15px;font-weight:700;letter-spacing:.01em;cursor:pointer;box-shadow:0 10px 26px rgba(38,51,48,.22);transition:background .18s ease,transform .18s ease,box-shadow .18s ease}
.cpd-help-fab svg{width:20px;height:20px;flex:none}
.cpd-help-fab:hover{background:var(--cpd-blue-dark);transform:translateY(-1px);box-shadow:0 14px 30px rgba(38,51,48,.26)}
.cpd-help-fab:focus-visible{outline:3px solid rgba(217,115,28,.45);outline-offset:2px}
.cpd-help-fab.is-open{background:var(--cpd-blue-dark)}
.cpd-help-panel{position:fixed;right:20px;bottom:84px;z-index:96;width:340px;max-width:calc(100vw - 40px);max-height:calc(100vh - 110px);overflow:auto;background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:var(--cpd-radius);box-shadow:0 18px 48px rgba(38,51,48,.18);font-family:var(--cpd-font);color:var(--cpd-ink);animation:cpdHelpIn .18s ease-out}
.cpd-help-panel[hidden]{display:none}
@keyframes cpdHelpIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.cpd-help-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 18px 14px;border-bottom:1px solid var(--cpd-border);background:var(--cpd-blue-soft);border-radius:var(--cpd-radius) var(--cpd-radius) 0 0}
.cpd-help-head b{display:block;font-size:17px;font-weight:800;color:var(--cpd-ink);line-height:1.2}
.cpd-help-head span{display:block;font-size:13px;color:var(--cpd-muted);margin-top:3px}
.cpd-help-close{flex:none;width:32px;height:32px;border:1px solid var(--cpd-border);border-radius:999px;background:#FFFCF5;color:var(--cpd-slate);font-size:20px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0 0 2px}
.cpd-help-close:hover{background:var(--cpd-blue);border-color:var(--cpd-blue);color:#FFFCF5}
.cpd-help-view{padding:6px 18px 16px}
.cpd-help-view[hidden]{display:none}
.cpd-help-panel .cpd-chan{padding:12px 0}
.cpd-help-panel .cpd-chan:hover b{color:var(--cpd-blue)}
.cpd-help-panel .cpd-chan .go{color:var(--cpd-muted);font-size:16px}
.cpd-help-back{display:inline-block;font-size:13px;font-weight:600;color:var(--cpd-blue);margin:10px 0 8px}
.cpd-help-back:hover{text-decoration:underline}
.cpd-help-view h5{margin:0 0 4px;font-size:17px;font-weight:800;color:var(--cpd-ink);font-family:var(--cpd-font)}
.cpd-help-view p{margin:0 0 12px;font-size:13.5px;color:var(--cpd-muted);line-height:1.45}
.cpd-help-view .form-group{margin-bottom:10px}
.cpd-help-view .form-control{height:42px;border:1px solid var(--cpd-border);border-radius:10px;background:#fff;color:var(--cpd-ink);font-family:var(--cpd-font);font-size:14px;box-shadow:none;padding:8px 12px}
.cpd-help-view textarea.form-control{height:auto;min-height:80px;resize:vertical}
.cpd-help-view .form-control:focus{border-color:var(--cpd-blue);box-shadow:0 0 0 3px rgba(63,93,82,.15);outline:0}
.cpd-help-view .cpd-btn{width:100%;margin-top:4px}
@media screen and (max-width:550px){
  .cpd-help-fab{right:14px;bottom:14px;height:52px;width:52px;padding:0;justify-content:center}
  .cpd-help-fab .cpd-help-fab-label{display:none}
  .cpd-help-panel{right:14px;left:14px;bottom:76px;width:auto;max-width:none}
}
/* v3.0 (23 Oct 2026) — primary-action strategy: orange = the one action that moves the user on
   (Register, Add to cart, recommended package, Proceed to payment, Submit answers, Take exam, Request callback). */
input.cpd-auth-submit.orange{background:var(--cpd-orange)}
input.cpd-auth-submit.orange:hover{background:var(--cpd-orange-dark)}
input.cpd-btn{font-family:var(--cpd-font);-webkit-appearance:none;appearance:none;line-height:1.2}
body.cpd-refresh-page .orderfooter{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:18px 0 6px}
body.cpd-refresh-page .orderfooter .cpd-btn-lg{margin-left:auto}

/* ============================================================
   v3.0 (23 Oct 2026) — home hero: "Browse all disciplines" modal
   Replaces the popular-discipline chips. Flat A-Z list in a modal
   with its own live filter and letter rail; full-screen sheet on phones.
   ============================================================ */
body.cpd-refresh-page .cpd-disc-pills{display:none}
.cpd-browse-row{display:flex;align-items:center;gap:12px;margin-top:12px}
.cpd-browse-toggle{display:inline-flex;align-items:center;gap:9px;background:transparent;border:1.5px solid var(--cpd-border);border-radius:999px;padding:9px 16px 9px 12px;font-family:var(--cpd-font);font-size:14px;font-weight:600;color:var(--cpd-blue);cursor:pointer;transition:background .15s ease,border-color .15s ease}
.cpd-browse-toggle svg{width:17px;height:17px}
.cpd-browse-toggle:hover{background:var(--cpd-blue-soft);border-color:var(--cpd-blue)}
body.cpd-refresh-page #disciplinesModal .modal-dialog.cpd-browse-dialog{width:980px;max-width:96vw;margin:36px auto}
body.cpd-refresh-page #disciplinesModal .modal-content{border-radius:18px;border:0;box-shadow:0 24px 64px rgba(38,51,48,.28);background:#FFFCF5;overflow:hidden;display:flex;flex-direction:column;max-height:calc(100vh - 72px)}
.cpd-browse-head{flex:none;padding:18px 22px 12px;border-bottom:1px solid var(--cpd-border);background:var(--cpd-bg-tint)}
.cpd-browse-titlerow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.cpd-browse-titlerow h3{margin:0;font-size:20px;font-weight:800;color:var(--cpd-ink);display:flex;align-items:center;gap:10px}
.cpd-browse-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px;padding:0 8px;border-radius:999px;background:var(--cpd-blue);color:#FFFCF5;font-size:12.5px;font-weight:700}
.cpd-browse-close{flex:none;width:34px;height:34px;border:1px solid var(--cpd-border);border-radius:999px;background:#FFFCF5;color:var(--cpd-slate);font-size:22px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0 0 2px;opacity:1}
.cpd-browse-close:hover{background:var(--cpd-blue);border-color:var(--cpd-blue);color:#FFFCF5}
.cpd-browse-search{position:relative;display:flex;align-items:center}
.cpd-browse-search svg{position:absolute;left:14px;width:18px;height:18px;color:var(--cpd-muted);pointer-events:none}
.cpd-browse-search input{width:100%;height:46px;border:2px solid var(--cpd-blue);border-radius:12px;background:#FFFCF5;padding:0 40px 0 42px;font-family:var(--cpd-font);font-size:15px;color:var(--cpd-ink);outline:0}
.cpd-browse-search input:focus{box-shadow:0 0 0 3px rgba(63,93,82,.15)}
.cpd-browse-search input::placeholder{color:#8F9B93}
.cpd-browse-clear{position:absolute;right:10px;width:26px;height:26px;border:0;border-radius:999px;background:var(--cpd-border);color:var(--cpd-ink);font-size:17px;line-height:1;cursor:pointer;padding:0 0 1px}
.cpd-browse-clear[hidden]{display:none}
.cpd-az{display:flex;flex-wrap:wrap;gap:2px;margin-top:12px}
.cpd-az a{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;border-radius:7px;font-size:12px;font-weight:800;color:var(--cpd-blue);text-decoration:none}
.cpd-az a:hover{background:#FFFCF5;color:var(--cpd-blue-dark)}
.cpd-az a.is-off{color:var(--cpd-border);pointer-events:none}
.cpd-browse-body{flex:1 1 auto;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}
.cpd-browse-list{column-count:4;column-gap:20px;padding:14px 22px 18px}
.cpd-browse-letter{display:block;break-inside:avoid;font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--cpd-muted);padding:12px 8px 4px;border-bottom:1px solid var(--cpd-border);margin-bottom:3px}
.cpd-browse-letter[hidden]{display:none}
.cpd-browse-item{display:block;break-inside:avoid;font-size:14px;font-weight:500;color:var(--cpd-ink);padding:7px 8px;border-radius:8px;text-decoration:none;line-height:1.3}
.cpd-browse-item:hover{background:var(--cpd-blue-soft);color:var(--cpd-blue)}
.cpd-browse-item[hidden]{display:none}
.cpd-browse-empty{margin:0;padding:18px 22px 22px;font-size:14px;color:var(--cpd-muted)}
.cpd-browse-empty[hidden]{display:none}
@media (max-width:960px){.cpd-browse-list{column-count:3}}
@media (max-width:720px){.cpd-browse-list{column-count:2}}
@media (max-width:560px){
  /* full-screen sheet */
  body.cpd-refresh-page #disciplinesModal .modal-dialog.cpd-browse-dialog{width:auto;max-width:none;margin:0;height:100%}
  body.cpd-refresh-page #disciplinesModal .modal-content{border-radius:0;height:100%;max-height:none}
  .cpd-browse-head{padding:14px 16px 10px}
  .cpd-browse-titlerow h3{font-size:18px}
  .cpd-az{flex-wrap:nowrap;overflow-x:auto;gap:1px;padding-bottom:2px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .cpd-az::-webkit-scrollbar{display:none}
  .cpd-az a{min-width:24px;height:28px;font-size:12.5px;flex:none}
  .cpd-browse-list{column-count:1;padding:8px 10px 24px}
  .cpd-browse-item{padding:12px 10px;font-size:16px;border-radius:10px}
  .cpd-browse-letter{padding:14px 10px 4px}
  .cpd-browse-toggle{width:100%;justify-content:center}
}

/* ===== v3.1 cart badge — single authoritative rule, must stay LAST =====
   Four rules were fighting over this one span and the digit lost:
     ~line 65   .cpd-cart-count            padding only, no centring
     ~line 430  .cpd-cart-count            correct inline-flex centring...
     v2.2 block body.cpd-refresh-page ...  ...overridden back to inline-block, line-height 1.4
     v2.10 block .cpd-nav .cart span       width/height/line-height forced to auto !important
   Legacy style.css #cc-cart-quantity is an ID selector (position:absolute,
   26px circle, white bg, Roboto), so every colliding property needs !important
   here. Specificity is (0,4,2) to beat the v2.10 `.cart span` rule at (0,3,2). */
body.cpd-refresh-page .cpd-nav .cart span.cpd-cart-count,
body.cpd-refresh-page span.cpd-cart-count{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    position:static !important;
    float:none !important;
    top:auto !important; right:auto !important; bottom:auto !important; left:auto !important;
    width:auto !important;
    min-width:20px !important;
    height:20px !important;
    padding:1px 6px 0 !important; /* browsers round Inter's ascent up, so the digit sits high without this */
    margin:0 !important; /* the button's flex gap already spaces it from "Cart" */
    border-radius:999px !important;
    background:var(--cpd-orange) !important;
    color:#FFFCF5 !important;
    font-family:var(--cpd-font) !important;
    font-size:12px !important;
    font-weight:700 !important;
    line-height:1 !important;
    font-variant-numeric:tabular-nums;
    text-align:center !important;
    vertical-align:middle !important;
}
/* The header cart icon has no width/height attributes and nothing sized it, so it
   collapsed to 0x0 and its flex gap left the button's contents off-centre. */
body.cpd-refresh-page .cpd-nav .cart svg{width:16px;height:16px;flex:none}

/* ===== v3.3 course listing: attempts-left column (logged-in users only) ===== */
body.cpd-refresh-page .cpd-table td.cpd-t .cpd-chip{display:inline-block;white-space:nowrap}
body.cpd-refresh-page .cpd-table th.cpd-n{text-align:center}
body.cpd-refresh-page .cpd-table td.cpd-n{width:96px;text-align:center;font-weight:700;white-space:nowrap}
@media (max-width:760px){
  body.cpd-refresh-page .cpd-table td.cpd-n{width:auto}
}

/* ===== v3.5 (8 Nov 2026) Zillah feedback, GitLab #13 #14 #15 ===== */
/* #13 course Overview: abstracts are pasted from Word with inline sizes, colours and alignment on some
   paragraphs. Give every paragraph the same size, colour and alignment. */
body.cpd-refresh-page .cpd-detail-abstract p,
body.cpd-refresh-page .cpd-detail-abstract div,
body.cpd-refresh-page .cpd-detail-abstract span,
body.cpd-refresh-page .cpd-detail-abstract li,
body.cpd-refresh-page .cpd-detail-abstract font{font-size:15px !important;line-height:1.65 !important;color:var(--cpd-muted) !important;font-family:inherit !important}
/* v3.18 (16 Nov 2026, #13 reopened): Zillah wants the overviews JUSTIFIED (most are saved with
   text-align:justify; v3.5 forced them left). The container gets the same font too, because some
   abstracts put their text straight into it with <br>s. Gaps between paragraphs are evened out: most
   abstracts separate paragraphs with an empty "<div><br></div>" (one line), so a <p> now leaves the same
   one-line gap. (Collapsing the empty divs instead is not safe: CSS cannot tell "<div><br></div>" from
   "<div>text<br></div>", which hid real text on course 2870.) Phones stay left-aligned (justified text
   on a 340px column leaves wide gaps between words). */
body.cpd-refresh-page .cpd-detail-abstract{font-size:15px;line-height:1.65;color:var(--cpd-muted);text-align:justify}
body.cpd-refresh-page .cpd-detail-abstract p,
body.cpd-refresh-page .cpd-detail-abstract div{text-align:justify !important;text-indent:0 !important;margin-left:0 !important;margin-right:0 !important}
body.cpd-refresh-page .cpd-detail-abstract p{margin-top:0 !important;margin-bottom:1.65em !important}
body.cpd-refresh-page .cpd-detail-abstract div{margin-top:0 !important;margin-bottom:0 !important}
@media (max-width:640px){
  body.cpd-refresh-page .cpd-detail-abstract,
  body.cpd-refresh-page .cpd-detail-abstract p,
  body.cpd-refresh-page .cpd-detail-abstract div{text-align:left !important}
}
body.cpd-refresh-page .cpd-detail-abstract b,
body.cpd-refresh-page .cpd-detail-abstract strong,
body.cpd-refresh-page .cpd-detail-abstract h1,
body.cpd-refresh-page .cpd-detail-abstract h2,
body.cpd-refresh-page .cpd-detail-abstract h3,
body.cpd-refresh-page .cpd-detail-abstract h4{color:var(--cpd-slate) !important;font-family:inherit !important}
body.cpd-refresh-page .cpd-detail-abstract h1,
body.cpd-refresh-page .cpd-detail-abstract h2,
body.cpd-refresh-page .cpd-detail-abstract h3,
body.cpd-refresh-page .cpd-detail-abstract h4{font-size:16px !important;margin:14px 0 6px !important;text-align:left !important}

/* #14 "Certificate on completion" was a bordered chip that looked clickable: plain fact line instead */
/* v3.18 (16 Nov 2026, #14 reopened): Zillah: "a tick instead of a bullet" and a different font. It is now
   one more bullet in the same style as the "How completion works" list above it. */
body.cpd-refresh-page .cpd-detail-grid .cpd-trust{margin-top:0 !important;padding-left:18px}
body.cpd-refresh-page .cpd-detail-grid .cpd-trust .tag{display:list-item;list-style:disc;border:0;background:transparent;padding:0;border-radius:0;font-size:15px;line-height:1.65;font-weight:400;color:var(--cpd-muted);cursor:default}
/* "How completion works" list (inline line-height:2 in Detail.aspx): same size, spacing and justification as the overview */
body.cpd-refresh-page .cpd-detail-abstract ~ ul{font-size:15px;line-height:1.65 !important;color:var(--cpd-muted);text-align:justify;margin-bottom:6px}
body.cpd-refresh-page .cpd-detail-abstract ~ ul li{margin-bottom:6px}
@media (max-width:640px){body.cpd-refresh-page .cpd-detail-abstract ~ ul{text-align:left}}

/* #15 copyright notice as small print (legacy style.css forces 14px grey on a grey box) */
body.cpd-refresh-page .divCopyright{background:transparent !important;padding:0 !important;margin:24px 0 0 !important;text-align:left !important;border-top:1px solid var(--cpd-border);padding-top:12px !important}
body.cpd-refresh-page .divCopyright h3{font-size:11.5px !important;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin:0 0 4px !important;color:var(--cpd-muted)}
body.cpd-refresh-page .divCopyright p{font-size:11px !important;line-height:1.5 !important;color:var(--cpd-muted) !important;margin:0 !important}
/* #31 (8 Nov 2026): hide the "More courses" section when it has no courses (e.g. the Ethics discipline,
   whose ethics courses are all in the main table). A keyword search with no match in this section hides it too. */
body.cpd-refresh-page details.cpd-indirect:has(.cpd-empty):not(:has(.cpd-table)){display:none}
/* v3.6 (8 Nov 2026, GitLab #1): button orange one step darker at Zillah's request (more burnt orange):
   #D9731C -> #C4631B, hover #B85E12 -> #A85016. White text contrast 3.27 -> 4.08. Logo X tile unchanged. */

/* v3.7 (8 Nov 2026, GitLab #40): bank approval (3-D Secure) note above the payment buttons */
body.cpd-refresh-page .cpd-bank-note{display:flex;gap:8px;align-items:flex-start;margin:14px 0 0;padding:10px 12px;background:#FFFCF5;border:1px solid #DCD6C6;border-radius:10px;font-size:12.5px;line-height:1.5;color:var(--cpd-muted);text-align:left}
body.cpd-refresh-page .cpd-bank-note::before{content:"\1F512";font-size:13px;line-height:1.4;flex:none}
body.cpd-refresh-page .cpd-minicart-actions .cpd-bank-note{margin:0 0 10px}
/* v3.8 (8 Nov 2026): mobile alignment.
   .cpd-section's padding shorthand removed .cpd-container's side gutter where both classes meet (course page): restore it. */
.cpd-container.cpd-section{padding-left:20px;padding-right:20px}
@media (max-width:640px){
  /* facts strip: one left-aligned column, centred as a block, so the icons line up */
  .cpd-facts-grid{width:max-content;max-width:100%;margin:0 auto}
  .cpd-fact{justify-content:flex-start}
}
/* v3.9 (8 Nov 2026): Login was hidden on phones (old rule hid .cpd-btn-outline <=640px); the actions sit
   inside the hamburger menu there, so show it again and let the buttons wrap. */
@media (max-width:640px){
  body.cpd-refresh-page .cpd-nav-actions{flex-wrap:wrap}
  body.cpd-refresh-page .cpd-nav-actions .cpd-btn-outline{display:inline-flex}
}
/* v3.10 (8 Nov 2026): hamburger showed as a blank white button on iPhone. Legacy style.css forces
   .icon-bar to #fff !important, so the bars were white on the light header. Dark bars, a defined
   background in every state, and no native iOS button styling. */.cpd-refresh-page .cpd-nav .navbar-toggle{-webkit-appearance:none;appearance:none;background-color:#FFFCF5 !important;border:1px solid var(--cpd-border) !important;border-radius:8px}.cpd-refresh-page .cpd-nav .navbar-toggle:hover,body.cpd-refresh-page .cpd-nav .navbar-toggle:focus,body.cpd-refresh-page .cpd-nav .navbar-toggle:active{background-color:#EFEADF !important}.cpd-refresh-page .cpd-nav .navbar-toggle .icon-bar{background-color:#2F3D38 !important}
/* v3.11 (8 Nov 2026): mobile user menu was cut off. The open hamburger panel scrolls (Bootstrap caps it at
   340px), so the floating dropdown was clipped at its edge. On phones the dropdown opens inline inside
   the panel, and the panel may use the screen height (scrolls if the menu is longer). Relative + z-index (not static)
   so it stays above Bootstrap's touch .dropdown-backdrop (z 990), which otherwise swallowed taps on the items. */
@media (max-width:767px){
  body.cpd-refresh-page .cpd-nav .navbar-collapse.in{max-height:calc(100vh - 80px);overflow-y:auto}
  body.cpd-refresh-page .cpd-nav-actions{flex-wrap:wrap}
  body.cpd-refresh-page .cpd-nav-actions span.cpd-user.dropdown{flex-basis:100%}
  body.cpd-refresh-page .cpd-nav-actions span.cpd-user .dropdown-menu{position:relative;z-index:1000;top:auto;left:auto;right:auto;float:none;width:100%;margin-top:8px;box-shadow:none;border:1px solid var(--cpd-border);border-radius:10px}
}
/* v3.12 (8 Nov 2026): course table on phones. Logged in it was 529px wide (title, attempts, price, button),
   which stretched the whole page past the screen: popups opened off-centre and iPhone zoomed out.
   <=640px each row stacks: title on top, price left + button right, attempts left underneath.
   Rows hidden by the client-side paging (inline display:none) stay hidden. */
@media (max-width:640px){
  body.cpd-refresh-page .cpd-table,body.cpd-refresh-page .cpd-table tbody{display:block}
  body.cpd-refresh-page .cpd-cardhost .cpd-table tr:has(> th),body.cpd-refresh-page .cpd-table tr:has(> th){display:none !important}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row:not([style*="none"]){display:grid !important;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--cpd-border)}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row:last-child{border-bottom:0}
  body.cpd-refresh-page .cpd-cardhost .cpd-table tr.cpd-course-row td,body.cpd-refresh-page .cpd-table tr.cpd-course-row td{display:block;padding:0;border:0;width:auto;text-align:left;white-space:normal}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row td.cpd-t{grid-column:1 / -1;margin-bottom:4px}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row td.cpd-c{display:none}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row td.cpd-p{grid-column:1;grid-row:2;white-space:nowrap}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row td.cpd-a{grid-column:2;grid-row:2 / span 2;text-align:right;white-space:nowrap}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row td.cpd-a .cpd-btn{margin:0}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row td.cpd-n{grid-column:1;grid-row:3;font-size:13px;font-weight:600;color:var(--cpd-muted)}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row td.cpd-n::before{content:"Attempts left: ";font-weight:500}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row td.cpd-n:empty{display:none}
}
/* v3.13 (8 Nov 2026): grids on account pages (Course History, HPCSA Activity Report, Order History, order detail,
   My Referrals, exam result) were clipped on phones: .cpd-grid hid its overflow, so the right-hand columns
   (attempts, results, certificate, invoice) could not be reached. The box now scrolls sideways (corners kept). */
body.cpd-refresh-page .cpd-grid{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
@media (max-width:640px){
  /* "No data to display" sits at the left, where it can be seen, instead of centred across the full grid width */
  body.cpd-refresh-page .cpd-grid td.dxgvEmptyDataRow_Moderno{text-align:left !important;padding-left:16px !important}
}
/* v3.14 (8 Nov 2026): exam questions ran 10px past the right edge on phones (legacy style.css gives
   .divQuestions margin-right:-30px). Even margins on both sides. */
body.cpd-refresh-page .divQuestions{margin-right:0}
/* v3.15 (8 Nov 2026): course list still 3px too wide at 320px logged in. The list sits in an outer layout
   table (#tblDirect / #tblInDirect) that grows to its content, and "Paid - no extra charge" + the Retake
   button could not wrap. On phones the outer table becomes a block and the price text may wrap. */
@media (max-width:640px){
  body.cpd-refresh-page #tblDirect,body.cpd-refresh-page #tblInDirect,
  body.cpd-refresh-page #tblDirect > tbody,body.cpd-refresh-page #tblInDirect > tbody,
  body.cpd-refresh-page #tblDirect > tbody > tr,body.cpd-refresh-page #tblInDirect > tbody > tr,
  body.cpd-refresh-page #tblDirect > tbody > tr > td,body.cpd-refresh-page #tblInDirect > tbody > tr > td{display:block;width:100%;max-width:100%;padding-left:0;padding-right:0}
  body.cpd-refresh-page .cpd-table{max-width:100%}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row:not([style*="none"]){grid-template-columns:minmax(0,1fr) auto}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row td.cpd-p{white-space:normal;min-width:0}
}
@media (max-width:640px){
  body.cpd-refresh-page .cpd-table tr.cpd-course-row td.cpd-n{white-space:nowrap}
  body.cpd-refresh-page .cpd-table tr.cpd-course-row td.cpd-p{line-height:1.35}
}
/* v3.16 (8 Nov 2026): "More courses that can earn you CPD points" looked like a heading, so people did not
   know it opens. Now a full-width tappable bar: icon, title, hint with course count, Show/Hide pill + chevron. */
body.cpd-refresh-page .cpd-indirect summary{list-style:none;display:flex;align-items:center;gap:14px;min-height:56px;padding:14px 16px;margin:0;background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:14px;box-shadow:var(--cpd-shadow-sm);color:var(--cpd-ink);font-size:16px;font-weight:700;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}
body.cpd-refresh-page .cpd-indirect summary::-webkit-details-marker{display:none}
body.cpd-refresh-page .cpd-indirect summary::marker{content:""}
body.cpd-refresh-page .cpd-indirect summary:hover{background:#F7F4EC;border-color:#C9C2B0}
body.cpd-refresh-page .cpd-indirect summary:active{background:#EFEADF}
body.cpd-refresh-page .cpd-indirect summary:focus-visible{outline:3px solid rgba(63,93,82,.35);outline-offset:2px}
body.cpd-refresh-page .cpd-indirect[open] summary{margin-bottom:14px;border-color:#C9C2B0}
body.cpd-refresh-page .cpd-ind-icon{flex:none;width:40px;height:40px;border-radius:50%;background:#E3EAE5;color:var(--cpd-blue);display:flex;align-items:center;justify-content:center}
body.cpd-refresh-page .cpd-ind-icon svg{width:19px;height:19px}
body.cpd-refresh-page .cpd-ind-text{flex:1;min-width:0;line-height:1.3}
body.cpd-refresh-page .cpd-ind-text > span:first-child{display:block}
body.cpd-refresh-page .cpd-ind-hint{display:block;margin-top:3px;font-size:13px;font-weight:500;color:var(--cpd-muted)}
body.cpd-refresh-page .cpd-ind-pill{flex:none;display:inline-flex;align-items:center;gap:6px;padding:8px 12px 8px 14px;border-radius:999px;background:var(--cpd-blue);color:#FFFCF5;font-size:13px;font-weight:700;white-space:nowrap}
body.cpd-refresh-page .cpd-ind-pill svg{width:16px;height:16px;transition:transform .2s ease}
body.cpd-refresh-page .cpd-indirect summary:hover .cpd-ind-pill{background:#35504A}
body.cpd-refresh-page .cpd-ind-hide{display:none}
body.cpd-refresh-page .cpd-indirect[open] .cpd-ind-show{display:none}
body.cpd-refresh-page .cpd-indirect[open] .cpd-ind-hide{display:inline}
body.cpd-refresh-page .cpd-indirect[open] .cpd-ind-pill svg{transform:rotate(180deg)}
@media (max-width:640px){
  body.cpd-refresh-page .cpd-indirect summary{gap:12px;padding:14px;font-size:15px}
  body.cpd-refresh-page .cpd-ind-icon{display:none}
  body.cpd-refresh-page .cpd-ind-pill{padding:8px 10px}
  body.cpd-refresh-page .cpd-ind-pill .cpd-ind-show,body.cpd-refresh-page .cpd-indirect[open] .cpd-ind-pill .cpd-ind-hide{font-size:12.5px}
}
/* More courses bar: desktop "Related courses that also count towards your CPD · 53 courses";
   phones just "53 related courses" so the title is not squeezed */
body.cpd-refresh-page .cpd-ind-rel{display:none}
@media (max-width:640px){
  body.cpd-refresh-page .cpd-ind-long,body.cpd-refresh-page .cpd-ind-sep{display:none}
  body.cpd-refresh-page .cpd-ind-rel{display:inline}
}

/* v3.17 (16 Nov 2026, GitLab #43): packages now sit at the TOP of the course list (Zillah: "so that they
   don't run away when they see the individual prices first"). Compact variant of the home-page package
   section; the one-package rail above the list is no longer rendered. */
/* The Packages menu link scrolls this section to the very top, under the 52px sticky header. The section
   starts 26px up, inside the page head's empty bottom padding (transparent, so the head looks unchanged),
   and its own padding is larger, so the heading lands clear of the header. Visible gap below the head: 36px. */
body.cpd-refresh-page .cpd-packages-top{background:transparent;padding:62px 0 6px;margin-top:-26px}
body.cpd-refresh-page .cpd-packages-top .cpd-section-head{margin-bottom:22px}
body.cpd-refresh-page .cpd-packages-top .cpd-section-head h2{font-size:22px}
body.cpd-refresh-page .cpd-packages-top .cpd-section-head p{font-size:14px}
body.cpd-refresh-page .cpd-packages-top .cpd-section-head a{color:var(--cpd-green-dark);text-decoration:underline;font-weight:600}
body.cpd-refresh-page .cpd-packages-top .cpd-pkg-grid{gap:16px}
body.cpd-refresh-page .cpd-packages-top .cpd-pkg{padding:20px 18px 18px;gap:6px}
body.cpd-refresh-page .cpd-packages-top .cpd-pkg-credits{font-size:19px}
body.cpd-refresh-page .cpd-packages-top .cpd-pkg-desc{font-size:13px}
body.cpd-refresh-page .cpd-packages-top .cpd-pkg-price{font-size:26px}
body.cpd-refresh-page .cpd-packages-top .cpd-pkg-ceu{font-size:13px;padding:4px 6px}
body.cpd-refresh-page .cpd-packages-top .cpd-pkg-note{margin-top:12px;margin-bottom:0}
/* Phones: each package becomes a compact row (credits + per-CEU left, price + button right) so the
   course list is not pushed 1.5 screens down. */
@media (max-width:640px){
  /* phone header is 74px: start further up (page head has no links, section is transparent) */
  body.cpd-refresh-page .cpd-packages-top{padding:86px 0 0;margin-top:-56px}
  body.cpd-refresh-page .cpd-packages-top .cpd-section-head{margin-bottom:18px}
  body.cpd-refresh-page .cpd-packages-top .cpd-pkg-grid{gap:16px}
  body.cpd-refresh-page .cpd-packages-top .cpd-pkg{display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left;padding:16px 14px 14px;gap:4px 12px}
  body.cpd-refresh-page .cpd-packages-top .cpd-pkg-badge{left:14px;transform:none;top:-11px;font-size:11px;padding:3px 10px}
  body.cpd-refresh-page .cpd-packages-top .cpd-pkg-credits{grid-column:1;grid-row:1;font-size:17px}
  body.cpd-refresh-page .cpd-packages-top .cpd-pkg-desc{display:none}
  body.cpd-refresh-page .cpd-packages-top .cpd-pkg-price{grid-column:2;grid-row:1;font-size:21px;text-align:right}
  body.cpd-refresh-page .cpd-packages-top .cpd-pkg-ceu{grid-column:1;grid-row:2;width:auto;margin:0;padding:0;background:none;text-align:left}
  body.cpd-refresh-page .cpd-packages-top .cpd-pkg .cpd-btn{grid-column:2;grid-row:2;margin:0;padding:7px 14px;font-size:13px;white-space:nowrap}
}

/* v3.19 (17 Nov 2026, GitLab #42): Zillah saw a tight black box (Windows) / blue box (Mac) around "Packages"
   after clicking it. It is Bootstrap's a:focus outline (browser focus ring, offset -2px) shown on every
   mouse click. No ring after a mouse click; keyboard users get a rounded green ring with room around it. */
body.cpd-refresh-page a:focus:not(:focus-visible),
body.cpd-refresh-page button:focus:not(:focus-visible),
body.cpd-refresh-page .btn:focus:not(:focus-visible){outline:0}
body.cpd-refresh-page a:focus-visible,
body.cpd-refresh-page button:focus-visible,
body.cpd-refresh-page .btn:focus-visible{outline:2px solid var(--cpd-green);outline-offset:4px}
body.cpd-refresh-page a:not([class]):focus-visible,body.cpd-refresh-page .cpd-nav a:not(.cpd-btn):focus-visible{border-radius:6px}

/* v3.20 (22 Nov 2026, GitLab #22): mailing system on the customer side: email opt-in on Register and Edit
   profile, the one-time "specials by email?" bar after login, and the Unsubscribe / Email preferences page. */
body.cpd-refresh-page .cpd-consent-opt{display:flex;gap:10px;align-items:flex-start;margin:12px 0;font-size:14px;font-weight:400;line-height:1.45;color:var(--cpd-ink);cursor:pointer}
body.cpd-refresh-page .cpd-consent-opt input{margin:3px 0 0;width:18px;height:18px;flex:0 0 auto;accent-color:var(--cpd-green-dark)}
body.cpd-refresh-page .cpd-consent-prefs{border:1px solid var(--cpd-border);border-radius:10px;padding:8px 14px 4px;margin:14px 0}
body.cpd-refresh-page .cpd-consent-prefs legend{font-size:14px;font-weight:700;border:0;width:auto;padding:0 6px;margin:0;color:var(--cpd-ink)}
body.cpd-refresh-page .cpd-consent-bar{position:fixed;left:16px;right:16px;bottom:16px;z-index:1040;max-width:760px;margin:0 auto;background:#FFFCF5;border:1.5px solid var(--cpd-green);border-radius:14px;box-shadow:0 10px 30px rgba(38,51,48,.18);padding:14px 18px;display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;justify-content:space-between;font-size:15px;color:var(--cpd-ink)}
body.cpd-refresh-page .cpd-consent-bar-actions{display:flex;gap:8px}
body.cpd-refresh-page .cpd-unsub-msg{background:var(--cpd-green-soft);border:1px solid var(--cpd-green);border-radius:10px;padding:12px 16px;margin-bottom:16px;font-weight:600}
body.cpd-refresh-page .cpd-unsub-card{background:#FFFCF5;border:1px solid var(--cpd-border);border-radius:var(--cpd-radius);padding:20px 22px;box-shadow:var(--cpd-shadow-sm)}
body.cpd-refresh-page .cpd-unsub-for{margin:0 0 6px;color:var(--cpd-muted)}
body.cpd-refresh-page .cpd-unsub-opt{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--cpd-border);font-weight:400;cursor:pointer}
body.cpd-refresh-page .cpd-unsub-opt input{margin:4px 0 0;width:18px;height:18px;flex:0 0 auto;accent-color:var(--cpd-green-dark)}
body.cpd-refresh-page .cpd-unsub-opt small{color:var(--cpd-muted);font-size:13px}
body.cpd-refresh-page .cpd-unsub-card .cpd-btn{margin-top:16px}
body.cpd-refresh-page .cpd-unsub-note{font-size:13px;color:var(--cpd-muted);margin:12px 0 0}
body.cpd-refresh-page .cpd-ref-tile{margin-top:22px}
@media (max-width:640px){
  body.cpd-refresh-page .cpd-consent-bar{left:10px;right:10px;bottom:76px}
  body.cpd-refresh-page .cpd-consent-bar-actions{width:100%}
  body.cpd-refresh-page .cpd-consent-bar-actions .cpd-btn{flex:1}
}

/* ============================================================
   v3.20 (26 Nov 2026) - package specials (Package.SalePercent, PackageSpecial.cs)
   "30% OFF" tag on the card, was/now price with "You save", sale rail, slim site banner.
   Generic wording only; shown only while a package has a special.
   ============================================================ */
body.cpd-refresh-page .cpd-pkg-sale{position:absolute;top:-13px;right:16px;z-index:2;background:var(--cpd-orange);color:#fff;font-size:12.5px;font-weight:800;letter-spacing:.05em;padding:5px 12px;border-radius:999px;box-shadow:0 6px 14px rgba(196,99,27,.32);white-space:nowrap}
body.cpd-refresh-page .cpd-pkg-sale.is-inline{position:static;display:inline-block;vertical-align:middle;margin-left:8px;font-size:11px;padding:3px 9px;box-shadow:none}
body.cpd-refresh-page .cpd-pkg.is-sale{border-color:var(--cpd-orange)}
body.cpd-refresh-page .cpd-pkg.is-sale.is-best{border-color:var(--cpd-green)}
body.cpd-refresh-page .cpd-pkg-price.is-sale{color:var(--cpd-orange-dark);line-height:1.15}
body.cpd-refresh-page .cpd-pkg-was{font-size:.55em;font-weight:600;color:var(--cpd-muted);text-decoration:line-through;text-decoration-thickness:2px;margin-right:4px;vertical-align:middle}
body.cpd-refresh-page .cpd-pkg-save{display:block;margin-top:4px;font-size:13px;font-weight:700;color:var(--cpd-green-dark);letter-spacing:.01em}
body.cpd-refresh-page .cpd-pkg-rail.is-sale{border-color:var(--cpd-orange);background:#FBF1E6}
body.cpd-refresh-page .cpd-pkg-rail.is-sale s{color:var(--cpd-muted)}
body.cpd-refresh-page .cpd-pkg-rail.is-sale p b{color:var(--cpd-orange-dark)}
body.cpd-refresh-page .cpd-sale-bar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 14px;background:var(--cpd-green-dark);color:#FFFCF5;font-family:var(--cpd-font);font-size:14.5px;line-height:1.4;padding:9px 16px;text-align:center}
body.cpd-refresh-page .cpd-sale-bar b{color:#fff;font-weight:800}
body.cpd-refresh-page .cpd-sale-bar-tag{background:var(--cpd-orange);color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:3px 10px;border-radius:999px}
body.cpd-refresh-page .cpd-sale-bar-link{color:#FFFCF5;font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
body.cpd-refresh-page .cpd-sale-bar-link:hover,body.cpd-refresh-page .cpd-sale-bar-link:focus{color:#fff;text-decoration-thickness:2px}
@media (max-width:640px){
  body.cpd-refresh-page .cpd-sale-bar{font-size:13px;padding:8px 12px;gap:4px 10px}
  body.cpd-refresh-page .cpd-packages-top .cpd-pkg-sale{right:14px;top:-11px;font-size:11px;padding:3px 10px}
  body.cpd-refresh-page .cpd-packages-top .cpd-pkg-save{font-size:12px;margin-top:2px}
}
/* both tags on one card: BEST VALUE moves to the left so it never touches the sale tag */
body.cpd-refresh-page .cpd-pkg.is-best.is-sale .cpd-pkg-badge{left:16px;transform:none}
body.cpd-refresh-page .cpd-cart-sale{display:table;margin-top:5px;background:#FBF1E6;color:var(--cpd-orange-dark);border:1px solid var(--cpd-orange);border-radius:999px;font-size:12px;font-weight:700;padding:1px 9px}
/* phones: the special banner stays one or two short lines (no pill, no extra sentence, link inline) */
@media (max-width:640px){
  body.cpd-refresh-page .cpd-sale-bar{display:block;padding:8px 14px;font-size:13px;line-height:1.45}
  body.cpd-refresh-page .cpd-sale-bar-tag,body.cpd-refresh-page .cpd-sale-bar-extra{display:none}
  body.cpd-refresh-page .cpd-sale-bar-link{margin-left:6px}
}
/* cart polish (26 Nov 2026): on phones the cart grid could be 3px wider than the screen (1fr grows to its widest
   child, the coupon box + Apply); minmax(0,1fr) keeps it inside. Sale note on one line. */
@media (max-width:960px){
  body.cpd-refresh-page .cpd-cart-wrap{grid-template-columns:minmax(0,1fr)}
  body.cpd-refresh-page .cpd-cart-wrap > *{min-width:0}
}
body.cpd-refresh-page .cpd-cart-sale{white-space:nowrap}
@media (max-width:640px){body.cpd-refresh-page .cpd-cart-sale{font-size:11.5px;padding:1px 8px}}

/* v3.21 (27 Nov 2026, GitLab #56): the home headline is now two sentences; on desktop the coloured
   sentence starts on its own line instead of leaving "Quick," at the end of line 1. */
@media (min-width:768px){body.cpd-refresh-page .cpd-hero h1 .accent{display:block}}

/* v3.22 (27 Nov 2026, GitLab #77): cart line note when a coupon and a package special meet (cart page and mini-cart). */
body.cpd-refresh-page .cpd-cart-coupon-note{display:block;clear:both;margin-top:5px;font-size:12px;line-height:1.4;font-weight:600;color:var(--cpd-text);white-space:normal}
/* v3.23 (#77 design review): the sale pill next to it is 12px on phones too, so both notes match */
@media (max-width:640px){body.cpd-refresh-page .cpd-cart-sale{font-size:12px}}
/* mini-cart: secondary to the package name, like the cart page's .meta line */
body.cpd-refresh-page #cartModal .cpd-cart-coupon-note{font-size:12px;font-weight:400;color:var(--cpd-muted)}
/* cart page, phones: the line becomes a grid (the name block's children join it through display:contents)
   so the coupon note can run the full width of the card under the icon / name / price row. Desktop unchanged. */
@media (max-width:640px){
  body.cpd-refresh-page .cpd-cart-item{display:grid;grid-template-columns:54px minmax(0,1fr) auto auto;column-gap:14px;row-gap:0;align-items:center}
  body.cpd-refresh-page .cpd-cart-item > .cpd-cart-thumb{grid-column:1;grid-row:1 / span 3;align-self:center}
  body.cpd-refresh-page .cpd-cart-item > div:not(.cpd-cart-thumb){display:contents}
  body.cpd-refresh-page .cpd-cart-item > div:not(.cpd-cart-thumb) > *{grid-column:2;min-width:0}
  body.cpd-refresh-page .cpd-cart-item > div:not(.cpd-cart-thumb) > h4{grid-row:1;align-self:end}
  body.cpd-refresh-page .cpd-cart-item > div:not(.cpd-cart-thumb) > .meta{grid-row:2}
  body.cpd-refresh-page .cpd-cart-item > div:not(.cpd-cart-thumb) > .cpd-cart-sale{grid-row:3;justify-self:start;align-self:start}
  body.cpd-refresh-page .cpd-cart-item > .amt{grid-column:3;grid-row:1 / span 3;margin-left:0}
  body.cpd-refresh-page .cpd-cart-item > .rm{grid-column:4;grid-row:1 / span 3}
  body.cpd-refresh-page .cpd-cart-item > div:not(.cpd-cart-thumb) > .cpd-cart-coupon-note{grid-column:1 / -1;grid-row:4;margin-top:8px}
}
