/* ceASAP design tokens — mirrors src/License/Account_Tab.php::css(), which is the source of truth.
   ceVault was retoned onto this system on 2026-08-28; it predates the language the licence wizard,
   the account tab and the NV calendar established. Values are duplicated rather than imported
   because this stylesheet loads standalone; if they ever diverge, Account_Tab wins. */
:root{
--l-blue:#046bd2;--l-blue-d:#0357a8;--l-blue-lt:#d6e6f9;
--l-green:#16a34a;--l-green-lt:#e7f6ec;
--l-red:#c81e10;--l-red-lt:#ffe1de;
--l-amber:#b45309;--l-amber-lt:#fef3c7;
--l-slate:#334155;--l-slate-lt:#e2e8f0;
--l-muted:#6b7280;--l-border:#e5e7eb;--l-ink:#000;
--l-ground:#e7f6ff;
--l-hero:linear-gradient(135deg,#046bd2 0%,#02356f 100%);
--l-font:"Satoshi Font","Satoshi",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
--card-r:14px;--btn-r:12px;--btn-h:45px;
/* NO category palette here on purpose. Category colour is admin-editable term meta on the
   ldle_event_category taxonomy and is resolved at render time by ce_vault_category_color(); a copy
   in this file would be a second source of truth that drifts the first time one is recoloured. */
}
.v18-wrapper{font-family:var(--l-font);background:#e7f6ff;padding:25px;border-radius:14px;max-width:1100px;margin:20px auto;border:1px solid #e5e7eb;color:#334155;overflow-anchor:none;}
.v18-hud{background:var(--l-hero);color:#fff;padding:25px;border-radius:14px;margin-bottom:25px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 24px;align-items:center}
.v18-dashboard{display:grid;grid-template-columns:1fr 1.4fr;gap:30px;margin-top:20px;margin-bottom:25px}
.v18-post-dashboard{grid-template-columns:300px 1fr}
.v18-post-gauge{display:flex;flex-direction:column;align-items:center;justify-content:center}
.v18-post-checklist{display:flex;flex-direction:column;padding:22px!important}
.v18-card{background:#fff;padding:30px;border-radius:14px;box-shadow:0 6px 15px rgba(0,0,0,.08);text-align:center}
.slide-container{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease-out;overflow:hidden}
.slide-container.is-open{grid-template-rows:1fr;margin-bottom:25px}
.slide-content{min-height:0}
.form-panel-v3{background:#fff;padding:30px;border-radius:14px;border:2px solid #046bd2}
#ext-provider-select,#ext-provider-other{background-color:#fff!important;color:#334155!important;-webkit-appearance:auto;appearance:auto;opacity:1!important}
.v18-input{width:100%!important;margin-bottom:15px!important;padding:10px 15px!important;border:1px solid #e5e7eb!important;border-radius:8px!important;font-size:16px!important;height:50px!important;line-height:30px!important;box-sizing:border-box!important}
.v18-permit-label{font-size:16px;font-weight:600;color:#334155;display:inline-flex;align-items:center;gap:10px;cursor:pointer}
.v18-permit-label input[type=checkbox]{width:22px;height:22px;cursor:pointer;accent-color:#046bd2;flex-shrink:0}
.gauge-container{position:relative;width:240px;height:240px;margin:0 auto}
.gauge-svg{width:100%;height:100%;transform:rotate(-90deg)}
.gauge-bg{fill:none;stroke:rgba(255,255,255,.18);stroke-width:10}
.gauge-fill{fill:none;stroke:currentColor;stroke-width:10;stroke-dasharray:251.32;transition:all 1.5s ease-out;stroke-linecap:round}
.gauge-percentage{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:clamp(32px,10vw,52px);font-weight:900;color:#fff}
.total-hours-text{margin:25px 0 10px;color:#fff;font-size:26px;font-weight:700}
.gauge-countdown{color:#fff;font-weight:700;font-size:18px;background:rgba(255,255,255,.15);padding:10px 25px;border-radius:20px;display:inline-block;margin-top:15px}
.tracker-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left}
.tracker-box{padding:14px 18px;border-radius:14px;border:1px solid #e5e7eb;display:flex;align-items:center;gap:18px;background:#fafafa;min-height:64px}
.tracker-box-exempt{background:#f8f9fa;border-color:#dee2e6;opacity:.75}
.tracker-info{display:flex;flex-direction:column}
.tracker-box strong{font-size:17px;color:#334155;font-weight:900;line-height:1.1}
.tracker-box small{font-size:14px;font-weight:700;color:#6b7280;margin-top:3px}
.tracker-dot{width:18px;height:18px;flex-shrink:0;border-radius:50%;box-shadow:inset 0 0 4px rgba(0,0,0,.1)}
.cv-post-scroll::-webkit-scrollbar{width:0;display:none}
.cv-post-scroll{scrollbar-width:none;-ms-overflow-style:none}
.cv-scroll-track{position:absolute;right:0;top:0;width:8px;height:100%;background:#e5e7eb;border-radius:4px;overflow:hidden}
.cv-scroll-thumb{position:absolute;top:0;left:0;width:100%;background:#046bd2;border-radius:4px;transition:top .05s linear;min-height:30px;cursor:pointer}
.action-summary-bar{background:#fff;border-left:5px solid #046bd2;padding:25px;border-radius:8px;margin:10px 0 25px;box-shadow:0 2px 8px rgba(0,0,0,.05);display:flex;align-items:center;gap:20px}
.bulb-emoji{font-size:32px;line-height:1;flex-shrink:0}
.bulb-text{font-size:16px;line-height:1.6;color:#334155}
.blue-instruction{color:#046bd2!important;font-weight:800!important}
.portfolio-callout-bar{background:#fff;border-radius:14px;padding:20px 25px;margin:10px 0 20px;display:flex;justify-content:space-between;align-items:center;border:1px solid #e5e7eb;box-shadow:0 4px 12px rgba(0,0,0,.06)}
.btn-green-style{color:#fff!important;border:none;border-radius:14px;cursor:pointer;font-weight:700;padding:14px 24px;background:#16a34a;text-decoration:none;display:inline-block;text-align:center;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.btn-cancel-style{color:#fff!important;border:none;border-radius:14px;cursor:pointer;font-weight:700;padding:14px 24px;background:#c81e10;text-decoration:none;display:inline-block;margin-left:10px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.ce-accordion{border:1px solid var(--l-border);border-radius:14px;margin-bottom:15px;overflow:hidden;background:#fff}
.ce-header{padding:20px 25px;background:#fff;color:#046bd2;font-weight:700;cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;border:none;text-align:left;font-size:19px}
.ce-content{display:none;background:#fff;border-top:1px solid #e5e7eb}
.ce-active .ce-content{display:block}
/* The bulk-download link sits directly above the certificate rows, so it takes THEIR left inset
   (25px) rather than the accordion's edge — flush against the margin it read as a stray link. */
.cv-bulk-dl{display:inline-block;padding:14px 25px;font-size:13px;font-weight:700;color:#075E91;text-decoration:none}
.cv-bulk-dl:hover{text-decoration:underline}
.ce-row{padding:15px 25px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}
.course-title-blue{color:#046bd2!important;font-weight:800!important;font-size:17px;display:block;margin-bottom:2px!important}
.cert-info-line{font-size:13px;color:#334155;line-height:1.1;display:block}
.view-link{color:#046bd2;font-weight:700;text-decoration:none}
.delete-link{color:#c81e10;font-weight:700;text-decoration:none;font-size:13px;margin-left:15px}
.ce-modal-overlay{display:none!important;position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important;background:rgba(0,0,0,.6)!important;z-index:10001!important;align-items:center;justify-content:center}
.ce-modal-overlay.is-visible{display:flex!important}
.ce-modal-box{background:#fff;border-radius:14px;max-width:550px;padding:40px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.2)}
@keyframes cv-slide{0%,8%{transform:translateX(0)}58%,100%{transform:translateX(390px)}}
@keyframes cv-shackle{0%,58%{transform:translateY(0)}65%{transform:translateY(-12px)}72%{transform:translateY(-12px)}78%,100%{transform:translateY(0)}}
@keyframes cv-wiggle{0%,58%{transform:rotate(0)}65%{transform:rotate(-6deg)}72%{transform:rotate(4deg)}78%{transform:rotate(-3deg)}84%,100%{transform:rotate(0)}}
@keyframes cv-trail-right{0%,6%{opacity:0}22%{opacity:1}58%{opacity:1}68%{opacity:0}100%{opacity:0}}
@keyframes cv-trail-left{0%,100%{opacity:0}}
@media(max-width:768px){.v18-wrapper{padding:15px;margin:10px auto}.v18-hud{flex-direction:column;gap:15px;text-align:center;padding:20px}.v18-hud strong{font-size:18px!important}.v18-dashboard{grid-template-columns:1fr;gap:20px}.v18-post-dashboard{grid-template-columns:1fr}.v18-post-gauge{padding:25px 20px!important}.v18-post-checklist{padding:20px!important}.tracker-grid{grid-template-columns:1fr 1fr;gap:10px}.gauge-container{width:200px;height:200px}.gauge-percentage{font-size:42px}.total-hours-text{font-size:20px}.portfolio-callout-bar{flex-direction:column;gap:15px;text-align:center}.ce-modal-box{padding:25px;margin:15px;max-width:calc(100% - 30px)}.ce-row{flex-wrap:wrap;gap:8px}.ce-row>span{min-width:0;flex:1}.ce-content{padding:16px 18px!important}}
@media(max-width:480px){.v18-wrapper{padding:12px;border-radius:14px;margin:8px}.v18-hud{padding:15px;border-radius:14px}.v18-hud small{font-size:12px}.v18-hud strong{font-size:16px!important}.btn-green-style{padding:12px 18px;font-size:14px;width:100%;box-sizing:border-box}.btn-cancel-style{padding:12px 18px;font-size:14px;margin-left:0;margin-top:10px;width:100%;box-sizing:border-box}.v18-dashboard{grid-template-columns:1fr}.v18-post-dashboard{grid-template-columns:1fr}.v18-post-gauge{padding:20px 15px!important}.v18-post-checklist{padding:15px!important}.v18-card{padding:20px 15px}.tracker-grid{grid-template-columns:1fr;gap:10px}.tracker-box{min-height:54px}.gauge-container{width:180px;height:180px}.gauge-percentage{font-size:36px}.total-hours-text{font-size:18px;margin:15px 0 8px}.gauge-countdown{font-size:14px;padding:8px 16px}.ce-row{flex-direction:column;align-items:flex-start;gap:10px;padding:12px 15px}.cv-bulk-dl{padding:12px 15px}.ce-row>div{width:100%;display:flex;gap:15px}.ce-header{font-size:16px;padding:15px 18px}.course-title-blue{font-size:15px!important}.cert-info-line{font-size:12px}.action-summary-bar{padding:15px;gap:12px}.bulb-emoji{font-size:24px}.bulb-text{font-size:14px}.form-panel-v3{padding:20px 15px}.v18-input{font-size:15px!important;height:46px!important}.portfolio-callout-bar{padding:15px;border-radius:14px}.ce-modal-box{padding:20px 15px;border-radius:14px}.ce-modal-box h2{font-size:20px}.ce-modal-box p{font-size:14px}.view-link{font-size:12px}.delete-link{font-size:12px;margin-left:8px}.ce-header{font-size:15px}#cvdl-cycle{font-size:12px!important}.cvdl-lbl-report,.cvdl-lbl-certs,.cvdl-lbl-full,[id^='cvdl-lbl-']{padding:10px 12px!important;gap:8px!important}}
@keyframes cvSlideUp{from{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes cvPop{0%{transform:scale(0)}60%{transform:scale(1.15)}100%{transform:scale(1)}}
.cv-confetti-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin:0 3px;}
.cvo-hero{background:var(--l-hero);padding:48px 40px 56px;text-align:center;position:relative;overflow:hidden}
.cvo-inner{max-width:900px;margin:0 auto;padding:0 40px}
.cvo-tagline{font-size:19px;color:rgba(255,255,255,0.92);margin:0 auto 30px;line-height:1.65;max-width:780px;position:relative}
.cvo-login-btn{display:inline-block;background:#fff;color:#046bd2;font-size:18px;font-weight:700;padding:15px 42px;border-radius:14px;text-decoration:none;position:relative;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.cvo-register{font-size:14px;color:rgba(255,255,255,0.75);margin-top:12px;position:relative}
.cvo-stats{display:flex;justify-content:center;gap:40px;margin-top:36px;flex-wrap:wrap;position:relative}
.cvo-stat-num{font-size:31px;font-weight:700;color:#fff}
.cvo-stat-lbl{font-size:13px;color:rgba(255,255,255,0.7);text-transform:uppercase;letter-spacing:0.5px;margin-top:3px}
.cvo-section-title{font-size:22px;font-weight:700;color:#1e2a38;margin:36px 0 24px;text-align:center}
.cvo-feat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.cvo-feat{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:22px 20px}
.cvo-feat-icon{width:44px;height:44px;border-radius:14px;background:#E6F1FB;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.cvo-feat-title{font-size:15px;font-weight:700;color:#075E91;margin-bottom:7px;text-transform:uppercase;letter-spacing:0.4px}
.cvo-feat-desc{font-size:14px;color:#334155;line-height:1.7}
.cvo-req-title{font-size:18px;font-weight:700;color:#1e2a38;margin:28px 0 16px;text-align:center}
.cvo-pill-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:10px}
.cvo-pill{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:13px 15px;display:flex;align-items:center;gap:10px}
.cvo-pill-dot{width:10px;height:10px;border-radius:50%;background:var(--l-blue);flex-shrink:0}
.cvo-pill-name{font-size:14px;color:#1e2a38;font-weight:600;flex:1}
.cvo-pill-hrs{font-size:13px;color:#6b7280}
.cvo-step-grid{background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}
.cvo-step{display:flex;gap:16px;align-items:flex-start;padding:20px 24px;border-bottom:1px solid #f0f0f0}
.cvo-step:last-child{border-bottom:none}
.cvo-step-num{width:34px;height:34px;border-radius:50%;background:#046bd2;color:#fff;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px;min-width:34px}
.cvo-step-title{font-size:15px;font-weight:700;color:#1e2a38;margin-bottom:5px;text-transform:uppercase;letter-spacing:0.4px}
.cvo-step-desc{font-size:14px;color:#334155;line-height:1.7}
.cvo-cta{background:#046bd2;border-radius:14px;padding:36px 32px;text-align:center;margin-top:28px}
.cvo-cta-title{font-size:21px;font-weight:700;color:#fff;margin-bottom:8px}
.cvo-cta-body{font-size:16px;color:rgba(255,255,255,0.92);margin-bottom:24px;line-height:1.65}
.cvo-cta-btn{display:inline-block;background:#fff;color:#046bd2;font-size:17px;font-weight:700;padding:14px 40px;border-radius:14px;text-decoration:none;touch-action:manipulation}
.cvo-cta-reg{font-size:14px;color:rgba(255,255,255,0.8);margin-top:16px}
.cvo-powered{text-align:center;font-size:13px;color:#6b7280;margin-top:32px}
@media(max-width:768px){.cvo-hero{padding:32px 20px 40px}.cvo-inner{padding:0 20px}.cvo-tagline{font-size:16px;max-width:100%}.cvo-login-btn{font-size:16px;padding:14px 28px}.cvo-stats{gap:20px}.cvo-stat-num{font-size:26px}.cvo-feat-grid{grid-template-columns:1fr}.cvo-pill-grid{grid-template-columns:1fr 1fr}.cvo-section-title{font-size:19px;margin:24px 0 18px}.cvo-req-title{font-size:16px}.cvo-step{padding:16px 18px;gap:12px}.cvo-step-title{font-size:14px}.cvo-step-desc{font-size:13px}.cvo-cta{padding:24px 20px}.cvo-cta-title{font-size:18px}.cvo-cta-body{font-size:14px}.cvo-cta-btn{font-size:15px;padding:12px 28px;width:100%;box-sizing:border-box}}
@media(max-width:480px){.cvo-hero{padding:24px 16px 32px}.cvo-inner{padding:0 16px}.cvo-tagline{font-size:15px}.cvo-login-btn{width:100%;box-sizing:border-box;font-size:15px;padding:14px 20px}.cvo-stats{gap:16px}.cvo-stat-num{font-size:22px}.cvo-stat-lbl{font-size:11px}.cvo-pill-grid{grid-template-columns:1fr}.cvo-feat{padding:16px 14px}.cvo-feat-title{font-size:13px}.cvo-feat-desc{font-size:13px}.cvo-step{padding:14px 14px;gap:10px}.cvo-step-num{width:28px;height:28px;min-width:28px;font-size:13px}.cvo-cta-btn{font-size:14px}.cvo-powered{font-size:12px;padding:0 16px}}
.cv-label{font-size:12px;color:#6b7280;display:block;margin-bottom:4px;}
.cv-label-sm{font-size:12px;color:#6b7280;display:block;margin-bottom:3px;}
.cv-flex-1{flex:1;}
.cv-hidden{display:none;}
.cv-danger{color:#c81e10;}
.cv-blue{color:#046bd2;}
.cv-text-center{text-align:center;}
.cv-mb-0{margin-bottom:0;}
.cv-mb-12{margin-bottom:12px;}
.cv-mb-16{margin-bottom:16px;}
.cv-mb-20{margin-bottom:20px;}
.cv-mt-20{margin-top:20px;}
.cv-mt-28{margin-top:28px;}
.cv-mr-20{margin-right:20px;}
.cv-wsnowrap{white-space:nowrap;}
.cv-f12{font-size:12px;}
.cv-f13{font-size:13px;}
.cv-f14{font-size:14px;}
.cv-f16-blue{font-size:16px;color:#075E91;display:block;margin-bottom:4px;}
.cv-f20-blue{font-size:20px;font-weight:700;color:#046bd2;}
.cv-heading-dark{font-size:15px;font-weight:700;color:#1e2a38;margin-bottom:5px;text-transform:uppercase;letter-spacing:0.4px;}
.cv-desc{font-size:14px;color:#334155;line-height:1.7;}
.cv-meta{font-size:13px;color:#6b7280;line-height:1.5;}
.cv-sub{font-size:11px;color:#6b7280;margin-top:3px;}
.cv-text-999{color:#6b7280;}
.cv-text-666{color:#6b7280;}
.cv-block{display:block;}
.cv-block-mb2{display:block;margin-bottom:2px;color:#1e2a38;}
.cv-col-gap10{display:flex;flex-direction:column;gap:10px;}
.cv-empty-state{padding:40px;text-align:center;color:#6b7280;}
.cv-stat-box{background:#e7f6ff;border-radius:14px;padding:12px 8px;text-align:center;}
.cv-input-base{width:100%;padding:9px 12px;border:1px solid #e5e7eb;border-radius:8px;font-size:13px;box-sizing:border-box;}
.cv-input-sm{width:100%;padding:8px 10px;border:1px solid #e5e7eb;border-radius:6px;font-size:13px;}
.cv-radio-base{accent-color:#046bd2;width:16px;height:16px;}
.cv-radio-shrink{accent-color:#046bd2;width:16px;height:16px;flex-shrink:0;}
.cv-radio-sm{width:17px;height:17px;accent-color:#046bd2;}
.cv-gauge-inner{position:relative;width:clamp(70px,20vw,110px);height:clamp(70px,20vw,110px);margin:0 auto;}
.cv-gauge-label{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:clamp(13px,4vw,20px);font-weight:900;color:#fff;}
.cv-feat-icon{width:44px;height:44px;border-radius:14px;background:#E6F1FB;display:flex;align-items:center;justify-content:center;margin-bottom:12px;}
.cv-badge-done{display:inline-block;padding:4px 10px;background:#16a34a;color:#fff;font-size:12px;font-weight:700;border-radius:20px;}
.cv-slide-anim{animation:cv-slide 5s 0.2s cubic-bezier(0.45,0,0.2,1) forwards;}
.cv-btn-navy{background:#075E91;white-space:nowrap;}
.cv-card-white{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:22px 20px;}
.cv-heading-h1{margin:0;font-size:20px;font-weight:800;color:#1e2a38;}
.cv-svg-rotate{width:100%;height:100%;transform:rotate(-90deg);}

/* ── redesign additions, 2026-08-28 ───────────────────────────────────────────────────────────
   Appended rather than woven in: everything above is the original sheet with tokens substituted,
   so the retone stays reviewable as a diff. */

/* Figures stop jittering as the gauge animates — the digits no longer change width per frame. */
.gauge-container,.tracker-value,.v18-hud{font-variant-numeric:tabular-nums}

/* INPUT FOCUS RING. ceVault had none: an accessibility gap as much as a visual one. Same treatment
   the licence wizard already uses, so a keyboard user gets one behaviour across the platform. */
.v18-input:focus,.ce-modal-box input:focus,.ce-modal-box select:focus,.ce-modal-box textarea:focus,
.cv-input:focus,input[type=date]:focus,input[type=text]:focus,select:focus,textarea:focus{
outline:2px solid var(--l-blue);outline-offset:1px;border-color:var(--l-blue)}

/* CATEGORY COLOURS — the same hues the NV calendar assigns, so a category reads identically
   whether a student is choosing a course or reviewing a completed one. */

/* Buttons onto the system's geometry. */
.btn-green-style,.btn-cancel-style{border-radius:var(--btn-r);min-height:var(--btn-h);font-weight:700}

/* Category dot on certificate rows. Colour is set inline from term meta — see
   ce_vault_category_color(). This rule only gives it shape. */
.cv-cat-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin:0 5px 1px 1px;vertical-align:middle}

/* Accordion header: a TINT, not a solid blue block. Every group used to shout equally, which put
   the emphasis on the group heading rather than on the course names inside it. */
.ce-accordion>.ce-accordion-head,.ce-accordion .accordion-header,.ce-accordion-toggle{
background:var(--l-blue-lt)!important;color:var(--l-blue-d)!important;border-bottom:1px solid var(--l-border)}

/* Date inputs rendered on a pale blue fill while text inputs were white — one form, two field
   colours. Normalised to the text-input surface. */
.v18-input[type=date],input[type=date]{background:#fff!important}

/* Licence cards sit between the hero and the CE dashboard. They bring their own styling from
   Account_Tab::css(); this only positions the group inside the vault's layout. */
.cv-lic-cards{margin:0 0 25px}
.cv-lic-cards .lsum-card{margin-bottom:10px}
.cv-lic-cards .lsum-card:last-child{margin-bottom:0}

/* Hero action column — the update button with the renewal countdown centred beneath it.
   align-items:center rather than flex-end: the button is the widest item in the column, so
   centring the column centres the countdown ON the button rather than hanging it off one edge.
   Size raised from 12.5px — the countdown is the fact a student opens the vault to check, and at
   footnote size it read as a caption on the button instead of a headline of its own. 16px sits
   above the button's 14px and below the date's 24px, so the hero reads date, action, deadline. */
.cv-hud-action{display:flex;flex-direction:column;align-items:center;gap:9px}
.cv-hud-days{font-size:16px;font-weight:800;color:#fff;white-space:nowrap;text-align:center;
letter-spacing:.01em}
@media (max-width:600px){
.cv-hud-action{align-items:stretch;width:100%}
.cv-hud-days{text-align:center}
}

/* ── header, restructured 2026-08-28 ──────────────────────────────────────────────────────────
   .v18-hud moves flex -> grid so the cycle bar can span the full width beneath both columns.
   The two existing children fall into columns 1 and 2 unchanged, so the post-licensing header
   (which has no bar) is unaffected by the change. */

/* The wordmark now leads its own header. It was 20px — smaller than the date beside it, so the
   page's name was not the most prominent thing in it. Stays WHITE: #ff1200 measures 1.32:1
   against the light end of the hero gradient, where the wordmark sits, versus white's 5.20:1.
   The red is right for text on white and is used that way everywhere else. */
.cv-wm{font-size:27px;font-weight:800;letter-spacing:-.01em;color:#fff;margin-bottom:3px;line-height:1.2}
.cv-wm-bang{font-size:30px}

/* Outline, not solid green: the least-used action was the loudest element on a compliance page.
   Scoped to the hero — .btn-green-style stays solid everywhere else it is used (Add Certificate,
   Submit Certificate, Save Designation). */
.v18-hud .btn-green-style{background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.55);color:#fff}
.v18-hud .btn-green-style:hover{background:rgba(255,255,255,.2)}

.cv-cycle{grid-column:1/-1;padding-top:16px;border-top:1px solid rgba(255,255,255,.22)}
.cv-cycle-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;
font-size:12.5px;font-weight:700;opacity:.95;margin-bottom:7px}
.cv-cycle-top .n{font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.cv-cycle-bar{height:9px;border-radius:99px;background:rgba(255,255,255,.22);overflow:hidden}
.cv-cycle-fill{height:100%;border-radius:99px;background:#fff;transition:width .6s ease-out}
@media (max-width:600px){
.v18-hud{grid-template-columns:minmax(0,1fr)}
}

/* Cycle-scoped "add a certificate" bar — sits at the top of each renewal-cycle accordion.
   Replaces the single page-level upload card: a record is filed into a cycle by its COMPLETION DATE,
   so the box now appears inside the cycle it will file into and constrains the date to that window. */
.cv-cycle-add{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(180deg,#f5faff,#e9f3fd);border:1px solid #cfe3f7;border-left:4px solid #046bd2;border-radius:12px;padding:15px 18px;margin:20px 25px 22px}
.cv-cycle-add__t{font-weight:800;color:#075E91;font-size:15px;margin:0 0 3px;line-height:1.3}
.cv-cycle-add__d{font-size:13px;color:#51687c;line-height:1.5;margin:0}
.cv-cycle-add__d b{color:#075E91;font-weight:700}
.cv-cycle-add button{flex:0 0 auto;background:#046bd2;color:#fff;border:none;border-radius:10px;padding:11px 20px;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.cv-cycle-add button:hover{background:#075E91}
.cv-scope-note{display:flex;align-items:flex-start;gap:9px;background:#eef6ff;border:1px solid #cfe3f7;border-radius:10px;padding:11px 14px;margin:0 0 18px;font-size:13px;color:#075E91;line-height:1.5}
.cv-scope-note svg{flex:0 0 auto;margin-top:1px}
/* The upload panel is MOVED into an accordion by cvAddToCycle(), where it becomes a direct child
   of .ce-content — which has no padding at desktop. Without this it slides in flush while the bar
   that opened it sits 25px in, and the two read as unrelated. Left/right only: .slide-container
   and .slide-container.is-open own the vertical margin, and a shorthand here would fight them. */
.ce-content > #external-slide-v3{margin-left:25px;margin-right:25px}
@media(max-width:768px){.ce-content > #external-slide-v3{margin-left:0;margin-right:0}}
@media(max-width:768px){.cv-cycle-add{margin:16px 0 18px}}
@media(max-width:640px){.cv-cycle-add{flex-direction:column;align-items:stretch}.cv-cycle-add button{width:100%}}

/* ── Visitor (logged-out) page, redesigned 2026-09-01 ────────────────────────────────────────────
   Replaces the older cvo-* marketing layout. The outside-provider upload card and the CE Portfolio
   PDF card were removed at Scott's direction, so the grid is 6 features / 3 steps.
   The animated ceVault mark from the previous hero is retained verbatim. */
.cv2-page{font-family:var(--l-font);margin:0 -20px;padding:0 0 40px}
.cv2-hero{position:relative;overflow:hidden;background:linear-gradient(155deg,#075E91 0%,#046bd2 55%,#0a7fd4 100%);border-radius:0 0 28px 28px;padding:40px 32px 38px;text-align:center;color:#fff;margin:0 0 26px}
/* The light-blue area is a rounded panel now, not a full-bleed background: it sits BELOW the hero
   with a gap, and the 1px top padding stops the first heading margin escaping through it. */
.cv2-body{background:#e7f6ff;border-radius:28px;margin:0 20px;padding:1px 0 8px}
.cv2-ring{position:absolute;border-radius:50%;pointer-events:none}
.cv2-ring-a{top:-90px;right:-70px;width:320px;height:320px;border:50px solid rgba(255,255,255,.06)}
.cv2-ring-b{bottom:-110px;left:-90px;width:280px;height:280px;border:40px solid rgba(255,255,255,.045)}
.cv2-hero .cv2-h1,.cv2-h1{color:#fff !important;position:relative;margin:0 0 12px;font-size:31px;line-height:1.22;font-weight:800;letter-spacing:-.02em}
.cv2-tag{position:relative;margin:0 auto;max-width:660px;font-size:16px;line-height:1.6;opacity:.94}
.cv2-actions{position:relative;margin-top:24px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.cv2-btn{display:inline-block;border-radius:12px;padding:14px 26px;font-size:15px;font-weight:800;text-decoration:none;border:1px solid transparent}
.cv2-btn-solid{background:#fff;color:#075E91}
.cv2-btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.cv2-stats{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:28px auto 0;max-width:720px}
.cv2-stat{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:14px;padding:16px 12px}
.cv2-stat b{display:block;font-size:26px;font-weight:800;letter-spacing:-.02em}
.cv2-stat span{display:block;font-size:12px;opacity:.9;margin-top:3px;line-height:1.35}
.cv2-sec{font-size:22px;font-weight:800;color:#075E91;margin:38px 0 18px;letter-spacing:-.01em}
.cv2-sec small{display:block;font-size:14px;font-weight:500;color:#51687c;margin-top:5px;letter-spacing:0}
.cv2-feats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cv2-feat{background:#fff;border:1px solid #e2ecf6;border-radius:16px;padding:22px;box-shadow:0 2px 10px rgba(9,50,90,.05)}
.cv2-ic{width:40px;height:40px;border-radius:11px;background:#eaf3fd;display:grid;place-items:center;margin-bottom:13px}
.cv2-feat h3{margin:0 0 7px;font-size:16px;font-weight:800;color:#0f2740}
.cv2-feat p{margin:0;font-size:14px;line-height:1.6;color:#51687c}
.cv2-reqs{background:#fff;border:1px solid #e2ecf6;border-radius:18px;padding:26px;margin-top:16px}
.cv2-pills{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}
.cv2-pill{border:1px solid #cfe3f7;background:linear-gradient(180deg,#f7fbff,#eef6fd);border-radius:12px;padding:13px 14px}
.cv2-pill b{display:block;font-size:14px;font-weight:800;color:#075E91}
.cv2-pill span{display:block;font-size:12px;color:#51687c;margin-top:2px}
.cv2-note{margin-top:16px;display:flex;gap:9px;align-items:flex-start;background:#eef6ff;border:1px solid #cfe3f7;border-radius:10px;padding:12px 14px;font-size:13px;color:#075E91;line-height:1.55}
.cv2-note svg{flex:0 0 auto;margin-top:1px}
.cv2-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.cv2-step{background:#fff;border:1px solid #e2ecf6;border-left:4px solid #046bd2;border-radius:14px;padding:20px}
.cv2-step-n{width:29px;height:29px;border-radius:9px;background:#046bd2;color:#fff;font-weight:800;font-size:14px;display:grid;place-items:center;margin-bottom:11px}
.cv2-step h3{margin:0 0 6px;font-size:15px;font-weight:800;color:#0f2740}
.cv2-step p{margin:0;font-size:13.5px;line-height:1.6;color:#51687c}
.cv2-cta{margin-top:38px;background:linear-gradient(150deg,#075E91,#046bd2);border-radius:20px;padding:38px 32px;text-align:center;color:#fff}
.cv2-cta h2{margin:0 0 10px;font-size:25px;font-weight:800;letter-spacing:-.02em}
.cv2-cta p{margin:0 auto 22px;max-width:600px;font-size:15px;line-height:1.6;opacity:.94}
.cv2-cta-reg{margin-top:16px;font-size:13.5px;opacity:.92}
.cv2-cta-reg a{color:#fff;font-weight:700;text-decoration:underline}
.cv2-foot{text-align:center;color:#51687c;font-size:12.5px;margin-top:26px}
.cv2-wrap{max-width:1080px;margin:0 auto;padding:0 20px 46px}
/* ⚠ EVERYTHING ON THE BLUE HAS TO FORCE ITS OWN COLOUR. The hero and the CTA set color:#fff on
   themselves, but the theme styles h1, h2, p and a DIRECTLY, and a bare element selector beats
   inheritance every time — so the heading rendered in the theme colour on a blue ground. Fixing
   them one at a time just moves the problem to the next element, so every text node on a blue
   panel is declared here, including the anchors, which themes style more aggressively than
   anything else. The solid button is the one exception: it is dark text on white. */
.cv2-hero,.cv2-hero h1,.cv2-hero h2,.cv2-hero p,.cv2-hero span,.cv2-hero b,
.cv2-cta,.cv2-cta h2,.cv2-cta p,.cv2-cta span,.cv2-cta a{color:#fff !important}
.cv2-btn-ghost,.cv2-btn-ghost:hover,.cv2-btn-ghost:focus{color:#fff !important}
/* ⚠ THE BUTTON HAS TO OUTRANK MY OWN white-on-blue RULE. `.cv2-cta a{color:#fff !important}`
   is specificity 0,1,1; a bare `.cv2-btn-solid` is 0,1,0 — so the white button inside the CTA was
   given white text on a white ground and disappeared. Both are !important, so !important does not
   settle it; only specificity does. The descendant forms below are 0,2,0 and win in both panels,
   and they pin the BACKGROUND too so a themed a:hover cannot repaint it either.
   Hover is a real state, not an absence: the face tints and the text stays dark. */
.cv2-hero .cv2-btn-solid,.cv2-hero .cv2-btn-solid:visited,
.cv2-cta .cv2-btn-solid,.cv2-cta .cv2-btn-solid:visited{background:#fff !important;color:#075E91 !important}
.cv2-hero .cv2-btn-solid:hover,.cv2-hero .cv2-btn-solid:focus,.cv2-hero .cv2-btn-solid:active,
.cv2-cta .cv2-btn-solid:hover,.cv2-cta .cv2-btn-solid:focus,.cv2-cta .cv2-btn-solid:active{background:#eaf3fd !important;color:#04416b !important}
.cv2-hero .cv2-btn-ghost,.cv2-hero .cv2-btn-ghost:visited,
.cv2-cta .cv2-btn-ghost,.cv2-cta .cv2-btn-ghost:visited{color:#fff !important;background:transparent !important}
.cv2-hero .cv2-btn-ghost:hover,.cv2-hero .cv2-btn-ghost:focus,.cv2-hero .cv2-btn-ghost:active,
.cv2-cta .cv2-btn-ghost:hover,.cv2-cta .cv2-btn-ghost:focus,.cv2-cta .cv2-btn-ghost:active{color:#fff !important;background:rgba(255,255,255,.16) !important;border-color:#fff !important}
.cv2-cta-reg a{text-decoration:underline}
@media(max-width:900px){.cv2-feats,.cv2-steps,.cv2-pills{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.cv2-feats,.cv2-steps,.cv2-pills,.cv2-stats{grid-template-columns:1fr}.cv2-hero{padding:32px 18px}.cv2-h1{font-size:25px}}
