/* PomeroyX Software © 2026. All rights reserved. e-Bike Rider Safety Certificate platform. Unauthorized copying, redistribution or removal of this notice is prohibited. */
:root{--navy:#064f45;--blue:#007b69;--teal:#009a83;--ink:#19302c;--muted:#526961;--bg:#f4f9f7;--line:#d5e5df;--white:#fff;--danger:#b42318;--ok:#067647}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55}a{color:var(--blue);text-decoration:none}img{max-width:100%}.wrap{width:min(1160px,calc(100% - 32px));margin:0 auto;padding:36px 0 60px}.wrap.narrow,.narrow{max-width:720px;margin-left:auto;margin-right:auto}.top{background:#fff;border-bottom:1px solid var(--line);min-height:82px;padding:12px max(24px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;position:sticky;top:0;z-index:30}.brand{display:flex;align-items:center;gap:12px;color:var(--navy)}.brand img{width:56px;height:56px;object-fit:contain}.brand span{display:flex;flex-direction:column}.brand b{font-size:18px}.brand small{color:var(--muted)}nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}nav a{color:var(--ink);font-weight:650;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:var(--blue);color:white!important;padding:12px 18px;font-weight:750;cursor:pointer;box-shadow:0 5px 15px rgba(0,123,105,.14)}.btn.secondary{background:white;color:var(--navy)!important;border:1px solid var(--line);box-shadow:none}.btn.small{padding:7px 11px;font-size:13px}.btn.wide{width:100%;font-size:17px;padding:16px}.hero{min-height:390px;display:grid;grid-template-columns:1.15fr .85fr;align-items:start;gap:54px;padding:8px 0 20px}.hero.compact{min-height:auto;grid-template-columns:1fr;padding:35px 0 25px}.hero h1{font-size:clamp(42px,6vw,72px);line-height:.98;color:var(--navy);margin:12px 0 24px;letter-spacing:-.045em}.hero.compact h1{font-size:clamp(36px,5vw,56px)}.hero p{font-size:19px;max-width:680px;color:#456b65}.eyebrow{font-size:13px;font-weight:900;letter-spacing:.14em;color:var(--teal)}.hero-badge{text-align:center}.hero-badge img{max-width:440px;filter:drop-shadow(0 24px 42px rgba(6,79,69,.14))}.actions{display:flex;gap:12px;margin-top:28px}.hero-note,.muted{color:var(--muted)!important;font-size:13px!important}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:24px 0 50px}.steps>div,.card,.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;box-shadow:0 6px 22px rgba(6,79,69,.04)}.steps b{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e7f7f3;color:var(--blue)}.trust{background:var(--navy);color:white;padding:40px;border-radius:18px}.trust h2{margin-top:0}.trust p{color:#c7e8e3}.module-list{display:grid;gap:12px}.module-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:14px;color:var(--ink)}.module-card:hover{border-color:#9df1e4;transform:translateY(-1px)}.module-no{width:42px;height:42px;border-radius:50%;background:#e7f7f3;display:grid;place-items:center;color:var(--blue);font-weight:800}.module-card small{display:block;color:var(--muted);margin-top:3px}.status{font-size:12px;font-weight:800;text-transform:uppercase;color:var(--muted)}.status.done{color:var(--ok)}.center{text-align:center}.pad{padding:28px}.lesson{max-width:860px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:clamp(24px,5vw,58px);box-shadow:0 10px 30px rgba(6,79,69,.05)}.lesson h1{font-size:42px;line-height:1.08;color:var(--navy)}.lesson h2{margin-top:36px;color:var(--navy)}.lesson h3{margin-top:26px}.lesson-meta{color:var(--teal);font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.callout,.sourcebox,.legalbox{border-left:4px solid var(--blue);background:#eefefc;padding:16px 18px;margin:22px 0;border-radius:0 9px 9px 0}.callout.warning{border-color:#f59e0b;background:#fff7e7}.sourcebox{font-size:13px;color:#527b75}.complete-form{margin-top:38px}.auth{max-width:560px;margin:40px auto}.stack{display:grid;gap:15px}label{font-weight:700;font-size:14px}input,textarea,select{width:100%;padding:11px 12px;border:1px solid #cbe2df;border-radius:8px;background:white;color:var(--ink);font:inherit;margin-top:6px}textarea{min-height:110px}.editor{min-height:520px;font-family:ui-monospace,monospace;font-size:13px}.twocol,.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat b{display:block;font-size:28px;color:var(--navy)}.stat span{color:var(--muted)}.progress{height:12px;background:#dff1ee;border-radius:99px;margin:18px 0 28px;overflow:hidden}.progress span{height:100%;display:block;background:linear-gradient(90deg,var(--teal),var(--blue))}.successcard{border-color:#97d7bf}.certificate-no{font-size:24px;font-weight:900;color:var(--navy);letter-spacing:.04em}.tablewrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:12px;margin:18px 0}table{width:100%;border-collapse:collapse}th,td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:#f9fdfc}.flash{padding:14px 16px;border-radius:9px;margin:0 0 18px}.flash.success{background:#ecfdf3;color:var(--ok);border:1px solid #abefc6}.flash.error{background:#fef3f2;color:var(--danger);border:1px solid #fecdca}.exam-head{text-align:center;max-width:760px;margin:10px auto 30px}.exam-head h1{font-size:42px;color:var(--navy)}.exam{max-width:850px;margin:auto}.question{border:1px solid var(--line);background:white;border-radius:14px;padding:22px;margin:0 0 18px}.question legend{font-size:17px;font-weight:800;padding:0 8px}.question legend span{display:inline-grid;place-items:center;width:28px;height:28px;background:#e7f7f3;color:var(--blue);border-radius:50%;margin-right:8px}.option{display:flex;gap:10px;align-items:flex-start;padding:11px;border-radius:8px;font-weight:500}.option:hover{background:#f4fcfb}.option input{width:auto;margin:3px 0 0}.certificate{max-width:980px;min-height:650px;margin:auto;background:white;border:10px double var(--navy);padding:52px;text-align:center;position:relative}.certificate .seal{width:76px;height:76px;border-radius:50%;background:var(--teal);color:white;font-size:46px;display:grid;place-items:center;margin:0 auto 18px}.certificate h1{font-size:48px;color:var(--navy);margin:10px}.certificate h2{font-size:36px;color:var(--blue);border-bottom:1px solid var(--line);display:inline-block;padding:0 40px 8px}.certgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:36px 0}.certgrid small{display:block;color:var(--muted)}.certgrid b{display:block;margin-top:5px}.disclaimer{font-size:12px;color:var(--muted);max-width:650px;margin:20px auto}.sig{margin-top:38px;font-weight:800;color:var(--navy)}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product-icon{width:58px;height:58px;border-radius:14px;background:#e7f7f3;color:var(--blue);display:grid;place-items:center;font-weight:900;font-size:22px}.price{font-size:26px;font-weight:900;color:var(--navy);margin:16px 0}.badge{display:inline-block;background:#eef6f5;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;color:#476964}.checkout{display:grid;grid-template-columns:1.2fr .8fr;gap:22px}.verify{margin-top:20px;padding:18px;border-radius:10px}.verify.good{background:#ecfdf3;color:var(--ok)}.verify.bad{background:#fef3f2;color:var(--danger)}details summary{cursor:pointer;font-weight:800;margin:12px 0}.adminbar{position:static}.adminbar nav{gap:12px}.adminbar nav a{font-size:12px}footer{background:#07362f;color:white;padding:30px max(24px,calc((100vw - 1160px)/2));display:flex;justify-content:space-between;align-items:center;gap:24px}footer span,footer .legal{color:#a9cfc9;font-size:12px}.legal{text-align:right;max-width:none}.footer-brand{flex:0 0 auto}.footer-legal{flex:1;min-width:0}.footer-legal-line{display:block;white-space:nowrap;line-height:1.6}.footer-disclaimer{font-size:11.5px}.footer-meta{margin-top:3px}@media(max-width:900px){.top{position:static;align-items:flex-start;flex-direction:column}.hero{grid-template-columns:1fr}.hero-badge{order:-1}.hero-badge img{max-width:260px}.steps,.grid4,.products{grid-template-columns:1fr 1fr}.grid3,.checkout{grid-template-columns:1fr}.adminbar nav{overflow:auto;max-width:100%}}@media(max-width:620px){.steps,.grid4,.products,.grid2,.twocol,.certgrid{grid-template-columns:1fr}.module-card{grid-template-columns:40px 1fr}.module-card .status{grid-column:2}.lesson h1,.exam-head h1{font-size:32px}.certificate{padding:24px;border-width:6px}.certificate h1{font-size:34px}.certificate h2{font-size:28px}footer{flex-direction:column;align-items:flex-start}.legal{text-align:left}.footer-legal-line{white-space:normal}}@media print{.top,footer,.noprint{display:none!important}.wrap{width:100%;padding:0}.certificate{border:8px double #000;min-height:auto;box-shadow:none}}

/* Canada provincial-course interface. */
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:20px;flex:1;flex-wrap:wrap}.province-mini{display:flex;align-items:flex-end;gap:8px}.province-mini label{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.province-mini select{min-width:190px;padding:7px 28px 7px 9px;margin-top:3px;font-size:13px}.province-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.province-card{display:block;text-align:left}.province-card h2{color:var(--navy);margin:7px 0}.province-card p{min-height:72px;color:#537b75}.province-code{display:inline-block;background:#e7f7f3;color:var(--blue);font-weight:900;border-radius:7px;padding:4px 8px;font-size:12px}.province-strip{margin:10px 0 42px}.province-pills{display:flex;flex-wrap:wrap;gap:9px}.province-pills form{margin:0}.province-pills button{border:1px solid var(--line);background:white;color:var(--navy);border-radius:999px;padding:9px 13px;font-weight:750;cursor:pointer}.province-pills button:hover{border-color:#9df1e4;background:#f6fffd}.course-switch{margin-top:18px}.account-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.filterbar{display:flex;align-items:flex-end;gap:10px;max-width:520px;margin:0 0 20px}.filterbar label{flex:1}.certificate-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 24px}
@media(max-width:1050px){.header-actions{width:100%;justify-content:flex-start}.province-mini{width:100%}.province-mini label{flex:1}.province-mini select{width:100%}}
@media(max-width:700px){.province-grid{grid-template-columns:1fr}.province-card p{min-height:auto}.account-heading,.filterbar{flex-direction:column}.filterbar{align-items:stretch}}


/* Certificate-focused front page and paid credential delivery. */
.certificate-hero{grid-template-columns:.9fr 1.1fr;gap:42px;min-height:390px;align-items:start;margin-top:0}.hero-certificate{position:relative}.hero-certificate img{width:100%;border-radius:16px;box-shadow:0 26px 65px rgba(6,79,69,.16);border:1px solid #dcf1ee}.credential-showcase,.wallet-preview-section{display:grid;grid-template-columns:.78fr 1.22fr;gap:36px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px;margin:22px 0 36px;box-shadow:0 12px 36px rgba(6,79,69,.06)}.credential-showcase h2,.wallet-preview-section h2{font-size:clamp(30px,4vw,48px);line-height:1.05;color:var(--navy);margin:8px 0 16px}.certificate-preview img,.wallet-preview-section img{width:100%;border-radius:12px;box-shadow:0 15px 38px rgba(6,79,69,.12)}.wallet-preview-section{grid-template-columns:1.18fr .82fr}.checklist{padding:0;list-style:none;margin:20px 0}.checklist li{position:relative;padding:8px 0 8px 30px}.checklist li:before{content:'✓';position:absolute;left:0;top:7px;width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#e8f7f1;color:var(--teal);font-weight:900}.paymentcard{border-color:#b8f3ea;background:linear-gradient(135deg,#fff,#f2fffd)}

.official-certificate{max-width:1050px;min-height:780px;margin:0 auto;background:#fff;position:relative;text-align:center;padding:72px 72px 46px;border:4px solid #086b5c;outline:10px double #26a996;box-shadow:0 16px 50px rgba(6,79,69,.12);overflow:hidden;background-image:radial-gradient(circle at 10% 10%,rgba(0,123,105,.045),transparent 24%),radial-gradient(circle at 90% 90%,rgba(0,154,131,.05),transparent 25%),repeating-radial-gradient(ellipse at center,rgba(0,123,105,.025) 0 1px,transparent 1px 8px)}.official-certificate:before,.official-certificate:after{content:'';position:absolute;inset:18px;border:2px solid #009a83;pointer-events:none}.official-certificate:after{inset:25px;border:1px solid #8ee4d7}.certificate-logo img{width:310px;max-height:145px;object-fit:contain}.official-certificate h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(42px,5vw,64px);line-height:1;color:#064f45;margin:16px 0}.official-certificate h3{font-family:Georgia,'Times New Roman',serif;font-size:31px;color:#139b87;margin:12px 0 18px}.official-certificate .certifies{font-family:Georgia,'Times New Roman',serif;font-size:20px;margin:8px 0}.official-certificate h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(46px,6vw,72px);font-style:italic;font-weight:500;color:#074a40;display:inline-block;border-bottom:2px solid #009a83;padding:0 28px 8px;margin:4px 0 16px}.cert-divider{display:flex;align-items:center;justify-content:center;gap:14px;color:#009a83}.cert-divider span{height:2px;background:#009a83;width:170px}.cert-body{font-family:Georgia,'Times New Roman',serif;font-size:20px;max-width:850px;margin:10px auto}.cert-body.small{font-size:16px}.official-certificate .certgrid{max-width:860px;margin:28px auto;position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;text-align:center}.official-certificate .certgrid>div{border-right:1px solid #c5e9e4;padding:8px 16px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:74px}.official-certificate .certgrid>div:last-child{border-right:0}.official-certificate .certgrid small{font-family:Georgia,'Times New Roman',serif;font-size:14px;display:block;text-align:center;width:100%}.official-certificate .certgrid b{font-family:Georgia,'Times New Roman',serif;color:#074a40;font-size:17px;display:block;text-align:center;width:100%;line-height:1.25;margin-top:6px}.cert-signatures{display:grid;grid-template-columns:1fr 120px 1fr;gap:28px;align-items:end;max-width:830px;margin:22px auto}.cert-signatures>div:not(.cert-medallion){display:flex;flex-direction:column;gap:8px;font-family:Georgia,'Times New Roman',serif}.signature-line{display:block;height:36px;border-bottom:1px solid #116054}.cert-medallion{width:105px;height:105px;border-radius:50%;display:grid;place-items:center;margin:auto;background:radial-gradient(circle,#f8fcfb 0 35%,#c8d6d4 36% 45%,#8b9b99 46% 52%,#d6dddc 53% 64%,#697d7a 65%);border:6px double #6c7e7b;color:#0c725b;font-size:46px;font-weight:900;box-shadow:inset 0 0 0 4px #fff}.cert-tagline{font-family:Georgia,'Times New Roman',serif;font-style:italic;color:#13554c;margin:18px 0 4px}.official-certificate .disclaimer{max-width:820px;font-size:11px;margin:8px auto 0}.cert-watermark{position:absolute;top:270px;width:250px;opacity:.055}.cert-watermark img{width:100%}.wm-left{left:-40px}.wm-right{right:-40px;transform:scaleX(-1)}.cert-corner{position:absolute;color:#009a83;font-size:16px;z-index:3}.c1{left:31px;top:28px}.c2{right:31px;top:28px}.c3{left:31px;bottom:28px}.c4{right:31px;bottom:28px}

.wallet-card-sheet{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}.wallet-card{aspect-ratio:1.586/1;border:3px solid #086b5c;outline:5px double #26a996;border-radius:14px;background:#fff;padding:28px;text-align:center;position:relative;overflow:hidden;box-shadow:0 14px 35px rgba(6,79,69,.13);background-image:repeating-radial-gradient(ellipse at center,rgba(0,123,105,.03) 0 1px,transparent 1px 7px),linear-gradient(145deg,#fff,#f7fffe)}.wallet-card:before{content:'';position:absolute;inset:10px;border:1px solid #009a83;border-radius:8px;pointer-events:none}.wc-logo{height:90px;display:flex;align-items:center;justify-content:center}.wc-logo img{max-height:90px;max-width:270px}.wc-logo.small{height:74px}.wc-logo.small img{max-height:74px}.wallet-card h2{font-family:Georgia,'Times New Roman',serif;color:#064f45;margin:4px 0 8px;font-size:24px}.wallet-card h1{font-family:Georgia,'Times New Roman',serif;font-style:italic;color:#074a40;font-size:36px;margin:8px 0 15px;border-bottom:1px solid #009a83;padding-bottom:7px}.wc-grid{display:grid;grid-template-columns:1.35fr .8fr 1fr;gap:8px;margin-top:12px}.wc-grid small{display:block;color:#526961;font-size:10px}.wc-grid b{font-family:Georgia,'Times New Roman',serif;color:#074a40;font-size:12px;word-break:break-word}.wallet-back>p{font-family:Georgia,'Times New Roman',serif;font-size:18px;color:#10554b;max-width:430px;margin:10px auto}.verify-panel{margin:18px auto 12px;background:#eefefc;border:1px solid #b9efe7;border-radius:9px;padding:12px;max-width:440px}.verify-panel small{display:block;color:#526961}.verify-panel b{font-size:13px;color:#076b5c;word-break:break-all}.wc-authority{display:block;font-family:Georgia,'Times New Roman',serif;margin-top:6px}.wc-legal{font-size:10px!important;color:#526961!important;margin-top:12px!important}

@media(max-width:900px){.certificate-hero,.credential-showcase,.wallet-preview-section{grid-template-columns:1fr}.hero-certificate{order:-1}.wallet-card-sheet{grid-template-columns:1fr}.official-certificate{padding:50px 38px}.cert-signatures{grid-template-columns:1fr}.cert-medallion{order:-1}.cert-watermark{display:none}}
@media(max-width:620px){.credential-showcase,.wallet-preview-section{padding:20px}.official-certificate{padding:42px 20px;outline-width:5px}.official-certificate h1{font-size:36px}.official-certificate h2{font-size:40px}.official-certificate h3{font-size:24px}.cert-body{font-size:16px}.cert-signatures{gap:12px}.wallet-card{padding:20px}.wallet-card h1{font-size:28px}.wallet-card h2{font-size:19px}.wc-grid{grid-template-columns:1fr}}
@media print{body{background:#fff}.official-certificate{max-width:none;width:10.3in;min-height:7.6in;margin:0 auto;box-shadow:none;outline:6px double #26a996;-webkit-print-color-adjust:exact;print-color-adjust:exact}.wallet-card-sheet{display:flex;gap:.25in;justify-content:center;align-items:flex-start;padding-top:.25in}.wallet-card{width:3.375in;height:2.125in;flex:0 0 3.375in;padding:.13in;border-width:1.5px;outline-width:2px;box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}.wallet-card .wc-logo{height:.62in}.wallet-card .wc-logo img{max-height:.62in}.wallet-card h2{font-size:11pt;margin:2px 0}.wallet-card h1{font-size:16pt;margin:3px 0 5px}.wallet-card .wc-grid b{font-size:6.8pt}.wallet-card .wc-grid small{font-size:5.5pt}.wallet-back>p{font-size:9pt;margin:5px auto}.verify-panel{margin:6px auto;padding:5px}.verify-panel b{font-size:6.5pt}.wallet-card .signature-line{height:13px}.wc-authority{font-size:7pt}.wc-legal{font-size:5.3pt!important}}


/* Learner management and activity reporting. */
.widecard{max-width:850px}.admin-filters{display:grid;grid-template-columns:2fr 1.2fr 1fr 1fr auto;gap:12px;align-items:end;margin-bottom:18px}.admin-filters label{margin:0}.learner-table small{color:#526961}.status-pill{display:inline-block;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.status-pill.active{background:#e8f7f1;color:#08785b}.status-pill.suspended{background:#fff0f0;color:#b42318}.pass-text{color:#08785b}.fail-text{color:#b42318}.learner-summary{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;margin-bottom:18px}.learner-summary .card{margin:0}.learner-summary select{margin-bottom:8px}.account-heading .actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:950px){.admin-filters{grid-template-columns:1fr 1fr}.learner-summary{grid-template-columns:1fr}}
@media(max-width:620px){.admin-filters{grid-template-columns:1fr}.account-heading .actions{justify-content:flex-start}}

/* E-commerce administration sidebar, customers and orders. */
.admin-body{background:#f4fbfa}.admin-topbar{min-height:76px;background:#073f37;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px;box-shadow:0 2px 14px rgba(5,58,50,.18);position:sticky;top:0;z-index:30}.admin-brand{display:flex;flex-direction:column;color:#fff;text-decoration:none;line-height:1.1}.admin-brand b{font-size:20px}.admin-brand small{margin-top:6px;color:#9fe4da;font-weight:700}.admin-top-actions{display:flex;align-items:center;gap:10px}.admin-top-actions a{color:#e9fefb;text-decoration:none;border:1px solid rgba(255,255,255,.18);border-radius:8px;padding:8px 11px;font-weight:700}.admin-top-actions a:hover{background:rgba(255,255,255,.08)}
.admin-shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 76px)}.admin-sidebar{background:#0b5247;padding:20px 14px 28px;position:sticky;top:76px;height:calc(100vh - 76px);overflow:auto}.admin-sidebar-label{font-size:10px;font-weight:900;letter-spacing:.13em;color:#7fd4c7;padding:8px 10px 9px}.admin-sidebar-label.second{margin-top:14px}.admin-nav-link{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#ddfef9;text-decoration:none;padding:11px 12px;border-radius:9px;margin:2px 0;font-weight:750}.admin-nav-link:hover{background:#0f5b50;color:#fff}.admin-nav-link.active{background:#fff;color:#094d43;box-shadow:0 6px 18px rgba(0,0,0,.14)}.admin-nav-count{min-width:25px;height:22px;border-radius:999px;padding:0 7px;display:inline-grid;place-items:center;background:#188474;color:#fff;font-size:11px}.admin-nav-link.active .admin-nav-count{background:#09ac93}.admin-content{padding:28px 30px 50px;min-width:0;max-width:1600px;width:100%;margin:0 auto}.admin-page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.admin-page-heading h1{margin:0}.admin-footer{margin:0;background:#073f37;color:#ddfef9;padding:18px 28px;display:flex;justify-content:space-between;gap:18px}.admin-footer .legal{color:#a8dcd4}.admin-actions{display:flex;gap:9px;flex-wrap:wrap;margin:-5px 0 18px}.order-filters{display:grid;grid-template-columns:minmax(260px,2fr) minmax(170px,.7fr) auto;gap:12px;align-items:end;margin-bottom:18px}.order-filters label{margin:0}.order-detail-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;margin:0 0 18px}.order-detail-grid .card{margin:0}.status-pill.pending{background:#fff5d9;color:#8a5d00}.status-pill.paid{background:#e8fefb;color:#067464}.status-pill.processing{background:#e9fefb;color:#228778}.status-pill.shipped{background:#e8f7f1;color:#08785b}.status-pill.cancelled,.status-pill.refunded{background:#f3f6f6;color:#597974}.customer-note{white-space:pre-wrap;background:#fff9e8;border:1px solid #f1dda7;border-radius:10px;padding:12px;color:#5f4b17}
@media(max-width:980px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:static;height:auto;display:flex;gap:6px;overflow-x:auto;padding:10px;background:#0b5247}.admin-sidebar-label{display:none}.admin-nav-link{white-space:nowrap;flex:0 0 auto}.admin-content{padding:22px 18px 40px}.order-detail-grid{grid-template-columns:1fr}.admin-topbar{position:static}.admin-footer{flex-direction:column}.order-filters{grid-template-columns:1fr 1fr auto}}
@media(max-width:620px){.admin-topbar{align-items:flex-start;gap:14px;flex-direction:column;padding:15px 16px}.admin-top-actions{width:100%}.admin-top-actions a{flex:1;text-align:center}.order-filters{grid-template-columns:1fr}.admin-content{padding:18px 12px 35px}}


/* Secure cart + e-Transfer checkout. */
.cart-nav{display:inline-flex!important;align-items:center;gap:6px}.cart-nav span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#0cac94;color:#fff;font-size:12px;font-weight:800}
.checkout-steps{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.checkout-steps span{padding:9px 14px;border-radius:999px;background:#eef8f6;color:#61847f;font-weight:700;font-size:13px}.checkout-steps .active{background:#0a6e5f;color:#fff}
.cart-shell{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}.cart-main h1{margin-bottom:0}.cart-lines{border:1px solid #dcefec;border-radius:14px;overflow:hidden;background:#fff}.cart-line{display:flex;justify-content:space-between;gap:20px;padding:20px;border-bottom:1px solid #e6f3f1}.cart-line:last-child{border-bottom:0}.cart-line-info{display:flex;gap:15px;align-items:flex-start}.cart-line-info h3{margin:0 0 6px}.cart-line-info p{margin:0 0 6px;color:#5d7571}.product-icon.small{width:46px;height:46px;min-width:46px;display:grid;place-items:center;border-radius:10px;background:#effefc;color:#0a6e5f;font-weight:900}.cart-line-actions{display:grid;grid-template-columns:auto auto;gap:8px 18px;align-items:center;text-align:right;min-width:170px}.cart-line-actions label{display:flex;align-items:center;gap:8px}.cart-line-actions select{width:65px;padding:7px}.link-danger,.text-button{border:0;background:none;color:#b42318;text-decoration:underline;cursor:pointer;padding:0;font:inherit}.text-button{color:#60807b}.cart-actions{padding-top:14px}.cart-summary{position:sticky;top:20px}.cart-summary>div,.summary-line{display:flex;justify-content:space-between;gap:18px;padding:8px 0}.cart-total{display:flex!important;justify-content:space-between;font-size:20px;padding:12px 0!important}.btn.full{display:block;width:100%;text-align:center;box-sizing:border-box}.secure-note{font-size:12px;color:#658681;line-height:1.5}.hidden-form{display:none}.empty-cart{text-align:center;padding:42px}
.secure-checkout{grid-template-columns:minmax(0,1fr) 380px}.checkout-summary{align-self:start}.payment-choice{border:1px solid #b9ece4;border-radius:12px;padding:15px;background:#f6fffd;display:flex;flex-direction:column;gap:4px}.payment-choice b{color:#0a6e5f}.payment-choice span{font-size:13px;color:#658681}
.order-confirm-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}.etransfer-box{border-top:4px solid #0b8b67}.etransfer-recipient,.etransfer-ref{display:flex;flex-direction:column;padding:15px 18px;border-radius:10px;background:#f1fbfa;margin:12px 0}.etransfer-recipient span,.etransfer-ref span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#668883}.etransfer-recipient b{font-size:22px;word-break:break-all;color:#0a6e5f}.etransfer-recipient small{font-size:14px}.etransfer-ref strong{font-size:24px;color:#0a6e5f;letter-spacing:.03em}.etransfer-admin-box{background:#f7fffe;border:1px solid #d7f1ed}
@media(max-width:900px){.cart-shell,.order-confirm-grid,.secure-checkout{grid-template-columns:1fr}.cart-summary{position:static}.cart-line{flex-direction:column}.cart-line-actions{display:flex;justify-content:space-between;flex-wrap:wrap;min-width:0;text-align:left}}

/* Mobile exam result. */
.exam-result{max-width:820px;margin:28px auto;text-align:center;padding:clamp(24px,5vw,48px)}
.exam-result h1{margin:.35rem 0 1rem}.result-score{display:flex;flex-direction:column;align-items:center;gap:4px;margin:18px auto 24px}.result-score b{font-size:clamp(2.6rem,10vw,5rem);line-height:1;color:#10554b}.result-score span{font-weight:700;color:#507670}.exam-result .actions{justify-content:center;flex-wrap:wrap;margin-top:22px}
@media(max-width:640px){.exam-result .actions .btn{width:100%;text-align:center}.exam-result{margin:12px auto}.result-score b{font-size:3.25rem}}

/* V3.4 advanced course/exam + administrator-controlled front-end header menu. */
.menu-manager-table input{margin-top:0}.menu-order-input{max-width:95px}.menu-toggle{display:inline-flex;align-items:center;gap:7px;font-weight:700;white-space:nowrap}.menu-toggle input{width:auto;margin:0}.menu-manager-table td:nth-child(3){min-width:220px}.menu-manager-table td:nth-child(5){white-space:nowrap}
/* PomeroyX Software © 2026. All rights reserved. V4.0 municipal course engine UI. */
.municipality-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:22px 0}.municipality-card h3{margin:0 0 8px}.municipal-status{display:inline-block;margin-bottom:8px}.municipal-status.verified{background:#e8f7ee;color:#08783f}.municipal-status.needs_review{background:#fff4d8;color:#8a5a00}.municipal-status.provincial_only{background:#eef8f6;color:#446a64}.municipality-mini select{max-width:240px}.municipality-mini{margin-left:8px}@media(max-width:820px){.municipality-mini{margin-left:0}.municipality-mini select{max-width:100%}.header-actions{gap:8px}.province-mini{width:100%}.province-mini label{flex:1}.province-mini select{width:100%}}

/* PomeroyX Software © 2026. All rights reserved. V5.9 rebrand and SEO update. */
.header-actions{align-items:flex-end;column-gap:14px;row-gap:10px}
.province-mini,.municipality-mini{display:grid;grid-template-columns:minmax(300px,440px) auto;align-items:end;gap:10px;margin:0}
.province-mini label,.municipality-mini label{display:flex;flex-direction:column;justify-content:flex-end;min-width:0;line-height:1.15}
.province-mini select,.municipality-mini select{width:100%;min-width:0;max-width:none;height:42px;margin-top:6px;padding:8px 34px 8px 12px;font-size:14px}
.province-mini .btn,.municipality-mini .btn{height:42px;min-width:76px;padding:7px 14px}
.top nav{flex-basis:100%;justify-content:flex-end}
@media(max-width:1450px){
  .province-mini,.municipality-mini{grid-template-columns:minmax(230px,330px) auto}
}
@media(max-width:1050px){
  .header-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;align-items:end}
  .province-mini,.municipality-mini{width:100%;grid-template-columns:minmax(0,1fr) auto}
  .top nav{grid-column:1 / -1;justify-content:flex-start}
}
@media(max-width:720px){
  .header-actions{grid-template-columns:1fr}
  .top nav{grid-column:1}
}

/* V5.9: bring homepage certificate hero closer to header */
.wrap:has(> .certificate-hero){padding-top:24px;}
.certificate-hero{transform:none;margin-bottom:0;}
@media(max-width:900px){.wrap:has(> .certificate-hero){padding-top:18px}.certificate-hero{transform:none;margin-bottom:0}}
/* PomeroyX Software © 2026. Affiliate Program UI additions. */
.affiliate-rate-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0 34px}.affiliate-rate-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;text-align:center;box-shadow:0 6px 22px rgba(6,79,69,.04)}.affiliate-rate-card.featured{border-color:#97d7bf;background:linear-gradient(135deg,#fff,#effcf6)}.affiliate-rate-card span{display:block;font-weight:800;color:var(--navy)}.affiliate-rate-card b{display:block;font-size:38px;color:var(--ok);margin:6px 0}.affiliate-rate-card small{display:block;color:var(--muted)}.affiliate-public-hero{grid-template-columns:1.05fr .95fr}.affiliate-program-summary{max-width:520px}.affiliate-dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:18px 0 28px}.affiliate-dashboard-head h1{font-size:42px;color:var(--navy);margin:6px 0}.affiliate-link-box input,.affiliate-link-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.affiliate-banner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.affiliate-banner-card .banner-preview{display:flex;align-items:center;justify-content:center;min-height:180px;padding:14px;background:#f3fbfa;border:1px solid var(--line);border-radius:10px;overflow:auto}.affiliate-banner-card .banner-preview img{max-width:100%;height:auto}.affiliate-banner-card textarea{min-height:118px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.pending-affiliate{max-width:850px;margin:32px auto}.affiliate-settings-box{border-color:#bde6d5;background:linear-gradient(135deg,#fff,#f4fcf8)}.affiliate-link-code{word-break:break-all}.status-pill.approved{background:#ecfdf3;color:#067647}.status-pill.pending{background:#fff7e7;color:#9a6700}.status-pill.suspended,.status-pill.rejected,.status-pill.cancelled{background:#fef3f2;color:#b42318}.status-pill.paid{background:#effefc;color:#13af98}
@media(max-width:900px){.affiliate-rate-grid{grid-template-columns:1fr 1fr}.affiliate-banner-grid{grid-template-columns:1fr}.affiliate-dashboard-head{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.affiliate-rate-grid{grid-template-columns:1fr}.affiliate-top nav{gap:10px}.affiliate-dashboard-head h1{font-size:32px}}

/* V5.9: guaranteed visible spacing below header on homepage hero */
.certificate-hero{margin-top:36px !important;}
@media(max-width:900px){.certificate-hero{margin-top:24px !important;}}
/* PomeroyX V5.9 security, analytics and content-copy deterrence */
.px-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
body.anti-copy main,body.anti-copy .top,body.anti-copy footer{-webkit-user-select:none;user-select:none}
body.anti-copy input,body.anti-copy textarea,body.anti-copy select{user-select:text;-webkit-user-select:text}
body.anti-copy img{-webkit-user-drag:none;user-drag:none}
.copy-watermark{position:fixed;inset:0;z-index:9990;pointer-events:none;display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;align-items:center;justify-items:center;overflow:hidden;opacity:.065;transform:rotate(-18deg);transform-origin:center}
.copy-watermark span{font-size:14px;font-weight:800;white-space:nowrap;color:#064f45;padding:20px}
.analytics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 24px}.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0 30px}.analytics-chart h3{margin-top:0;color:var(--navy)}.pie-wrap{display:grid;grid-template-columns:190px 1fr;gap:22px;align-items:center}.pie-shell{position:relative;width:178px;height:178px;display:grid;place-items:center}.pie{width:178px;height:178px;border-radius:50%;box-shadow:inset 0 0 0 2px rgba(6,79,69,.08),0 10px 26px rgba(6,79,69,.08)}.pie-shell:after{content:'';position:absolute;width:96px;height:96px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgba(6,79,69,.06),0 4px 14px rgba(6,79,69,.06)}.pie-center{position:absolute;z-index:2;text-align:center;display:grid;line-height:1.05;color:var(--navy)}.pie-center b{font-size:24px}.pie-center span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-top:4px}.chart-legend{list-style:none;margin:0;padding:0;display:grid;gap:8px}.chart-legend li{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:8px;align-items:center;font-size:13px}.chart-legend li span{width:12px;height:12px;border-radius:50%}.chart-legend li b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chart-legend li em{font-style:normal;color:var(--muted);white-space:nowrap}.illustrated-pie-card{overflow:hidden}.bar-chart{display:grid;gap:9px}.bar-row{display:grid;grid-template-columns:minmax(120px,1fr) 2fr 48px;gap:10px;align-items:center;font-size:12px}.bar-row>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar-row i{display:block;height:10px;border-radius:999px;background:#e8f5f3;overflow:hidden}.bar-row i b{display:block;height:100%;background:linear-gradient(90deg,var(--blue),var(--teal));border-radius:inherit}.bar-row em{font-style:normal;text-align:right;font-weight:700}.inline-form{display:inline-flex;gap:6px;align-items:center}
@media(max-width:1000px){.analytics-kpis{grid-template-columns:repeat(2,1fr)}.analytics-grid{grid-template-columns:1fr}}
@media(max-width:620px){.analytics-kpis{grid-template-columns:1fr}.pie-wrap{grid-template-columns:1fr}.pie{margin:auto}.copy-watermark{grid-template-columns:repeat(2,1fr)}.copy-watermark span{font-size:10px}}
@media print{.copy-watermark{display:none!important}}

.btn.danger{background:var(--danger);color:#fff!important;border-color:var(--danger)}.btn.danger:hover{filter:brightness(.92)}.blocked-badge{background:#fef3f2;color:var(--danger);border:1px solid #fecdca}

/* V6.3 analytics drill-down navigation */
.analytics-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.analytics-tabs a{display:inline-flex;align-items:center;padding:9px 13px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--navy);font-weight:800;font-size:13px}.analytics-tabs a.active{background:var(--navy);color:#fff;border-color:var(--navy)}.analytics-chart-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.analytics-chart-head h3{margin:0}.analytics-chart-head h3 a{color:var(--navy)}.analytics-detail-link{font-size:12px;font-weight:800;white-space:nowrap}.analytics-ranking-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0 28px}.analytics-ranking-cta h2{margin:0 0 6px}.analytics-ranking-cta p{margin:0}.tablewrap code{white-space:normal;word-break:break-word}@media(max-width:700px){.analytics-ranking-cta{align-items:flex-start;flex-direction:column}.analytics-tabs{gap:6px}.analytics-tabs a{font-size:12px;padding:8px 10px}}

.single-chart-row{grid-template-columns:minmax(0,720px);justify-content:start}.single-chart-row .analytics-chart{min-height:260px}

/* V6.5 checkout payment methods */
.payment-methods{border:0;padding:0;margin:8px 0 4px;display:grid;gap:10px}.payment-methods legend{font-weight:850;color:var(--navy);margin-bottom:8px}.payment-option{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:12px;padding:15px;background:#fff;cursor:pointer}.payment-option:hover{border-color:#8fe8db;background:#f8fffe}.payment-option input{width:auto;margin:4px 0 0}.payment-option span{display:flex;flex-direction:column;gap:3px}.payment-option b{color:var(--navy);font-size:16px}.payment-option small{color:var(--muted);font-weight:500}.payment-admin-card{border-left:4px solid var(--blue)}.payment-admin-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.payment-admin-head h2{margin-top:0}.toggle-row{display:flex;align-items:center;gap:8px;white-space:nowrap}.toggle-row input{width:auto;margin:0}@media(max-width:620px){.payment-admin-head{flex-direction:column}}
/* V7.2 certificate signers and downloadable credential presentation */
.certificate-signer{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px!important}.certificate-signer .signature-image{display:block;width:min(230px,100%);height:58px;object-fit:contain;object-position:center center;margin:0 auto 0}.certificate-signer small{font-family:Georgia,'Times New Roman',serif;color:#13554c;font-size:14px}.wc-signatures{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:end;margin-top:10px}.wc-signatures>div{text-align:center}.wc-signatures img{display:block;width:120px;height:34px;object-fit:contain;object-position:center center;margin:0 auto 0}.wc-signatures b,.wc-signatures small{display:block;line-height:1.15}.wc-signatures b{font-size:11px;color:#074a40}.wc-signatures small{font-size:9px;color:#13554c}@media(max-width:620px){.wc-signatures{grid-template-columns:1fr 1fr;gap:8px}.wc-signatures img{width:95px}.certificate-signer .signature-image{height:46px}}

/* V8.0 maintenance / under-maintenance page */
.maintenance-body{margin:0;min-height:100vh;min-height:100dvh;background:radial-gradient(circle at 50% 18%,#ffffff 0,#f4fcfb 50%,#e9f7f5 100%);color:#105b50;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;overflow-x:hidden}.maintenance-page{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:14px}.maintenance-card{position:relative;width:min(680px,100%);text-align:center;background:#fff;border:1px solid #d7efeb;border-radius:22px;padding:28px 34px 24px;box-shadow:0 18px 55px rgba(6,79,69,.12);overflow:hidden}.maintenance-card:before{content:'';position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,#007b69,#009a83)}.maintenance-logo{width:76px;height:76px;object-fit:contain;margin:0 auto 10px;display:block}.maintenance-kicker{display:block;margin:0 auto 8px;padding:0;background:transparent;color:#009a83;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;text-align:center}.maintenance-card h1{font-size:clamp(30px,5vw,44px);line-height:1.04;margin:4px auto 12px;color:#105b50;letter-spacing:-.025em;max-width:620px;text-align:center}.maintenance-message{font-size:17px;line-height:1.45;color:#406f68;margin:0 auto 8px;max-width:590px;text-align:center}.maintenance-note{font-size:13px;line-height:1.4;color:#68918b;max-width:560px;margin:0 auto 10px;text-align:center}.maintenance-divider{width:90px;height:2px;background:#009a83;margin:14px auto 10px}.maintenance-card small{display:block;color:#82a39e;text-align:center;font-size:11px}.maintenance-preview-badge{position:absolute;right:12px;top:12px;border-radius:999px;background:#fff3cd;color:#7a5700;padding:5px 8px;font-size:10px;font-weight:900;letter-spacing:.05em}.site-status-admin{display:flex;justify-content:space-between;align-items:center;gap:24px;border-radius:16px;padding:24px 28px;margin-bottom:20px;border:1px solid #cbe2df;background:#fff}.site-status-admin h2{font-size:32px;margin:3px 0}.site-status-admin p{margin:0;color:#526961}.site-status-light{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#eef6f5}.site-status-light span{display:block;width:34px;height:34px;border-radius:50%}.site-status-admin.online .site-status-light span{background:#12a36f;box-shadow:0 0 0 10px rgba(18,163,111,.12)}.site-status-admin.offline .site-status-light span{background:#e59a16;box-shadow:0 0 0 10px rgba(229,154,22,.14)}
@media(max-width:620px){.maintenance-page{padding:8px}.maintenance-card{width:100%;border-radius:16px;padding:18px 14px 14px}.maintenance-logo{width:58px;height:58px;margin-bottom:7px}.maintenance-kicker{font-size:9.5px;letter-spacing:.09em;margin-bottom:5px}.maintenance-card h1{font-size:26px;line-height:1.02;margin:2px auto 8px}.maintenance-message{font-size:14px;line-height:1.32;margin-bottom:6px}.maintenance-note{font-size:11.5px;line-height:1.3;margin-bottom:6px}.maintenance-divider{width:70px;margin:9px auto 7px}.maintenance-card small{font-size:9.5px}.maintenance-preview-badge{right:8px;top:8px;font-size:8.5px;padding:4px 6px}.site-status-admin{align-items:flex-start;padding:20px}.site-status-light{width:52px;height:52px;flex:0 0 52px}.site-status-light span{width:24px;height:24px}}

.maintenance-tester-access{max-width:400px;margin:12px auto 0;text-align:center}.maintenance-tester-access details{border:1px solid #d7ebe8;border-radius:10px;background:#f8fffe;padding:7px 10px}.maintenance-tester-access summary{cursor:pointer;font-weight:800;color:#13554c;font-size:12px}.maintenance-access-form{margin-top:8px;text-align:left}.maintenance-access-form label{display:block;font-size:11px;color:#5d8781;margin-bottom:3px}.maintenance-access-row{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:end}.maintenance-access-row input{margin:0;padding:8px 9px}.maintenance-access-row .btn{padding:8px 11px}.maintenance-access-error{margin-top:7px;padding:7px 8px;border-radius:8px;background:#fef3f2;color:#b42318;font-size:11px}.maintenance-admin-access{border-top:1px solid #e2f0ee;margin-top:6px;padding-top:10px}@media(max-width:620px){.maintenance-tester-access{margin-top:7px;max-width:100%}.maintenance-tester-access details{padding:5px 8px}.maintenance-tester-access summary{font-size:10.5px}.maintenance-access-form{margin-top:5px}.maintenance-access-form label{font-size:9.5px}.maintenance-access-row{grid-template-columns:1fr auto;gap:5px}.maintenance-access-row input{padding:6px 7px;font-size:12px}.maintenance-access-row .btn{width:auto;padding:6px 8px;font-size:10px}}@media(max-width:420px) and (max-height:760px){.maintenance-page{align-items:flex-start;padding-top:6px}.maintenance-card{padding:14px 11px 10px}.maintenance-logo{width:50px;height:50px;margin-bottom:4px}.maintenance-kicker{font-size:8.5px;margin-bottom:3px}.maintenance-card h1{font-size:22px;margin-bottom:6px}.maintenance-message{font-size:12.5px;line-height:1.24}.maintenance-note{font-size:10.5px;line-height:1.22}.maintenance-divider{margin:6px auto 5px}.maintenance-tester-access{margin-top:5px}}
/* V9.0 Safety resource hub */
.safety-hero{display:grid;grid-template-columns:1.65fr 1fr;gap:36px;align-items:center;background:#edf7f5;border:1px solid #cce3df;border-radius:24px;padding:clamp(24px,5vw,64px);margin:22px 0 16px}.safety-hero h1{font-size:clamp(34px,5vw,60px);line-height:1.06;letter-spacing:-.045em;margin:12px 0;color:#0b5449}.safety-hero h1 em{font-style:normal;color:#078b73}.safety-hero p{font-size:18px;line-height:1.6;max-width:650px;color:#224b45}.safety-hero-mark{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#0b5449;border-radius:18px;color:#fff;padding:24px;text-align:center}.safety-hero-mark img{width:120px;height:120px;object-fit:contain}.safety-hero-mark b{font-size:28px}.safety-hero-mark span{font-size:12px;letter-spacing:.12em;color:#d0f3ea}.safety-alert{padding:16px 20px;background:#fff;border:1px solid #d80621;border-radius:12px;color:#d80621;line-height:1.55}.safety-alert a,.safety-alert a:visited,.safety-alert a:hover,.safety-alert a:focus{color:#d80621;text-decoration:underline}.safety-section{margin:36px 0}.safety-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.safety-tile{display:flex;flex-direction:column;border:1px solid #d7e6e4;background:#fff;border-radius:14px;padding:22px;color:#125047;text-decoration:none;box-shadow:0 3px 10px #0b544908}.safety-tile:hover,.safety-tile:focus-visible{border-color:#078b73;box-shadow:0 4px 15px #078b7320}.safety-tile-icon{display:grid;place-items:center;width:40px;height:40px;background:#e8f5f0;border-radius:10px;font-size:18px;font-weight:800;color:#087b64}.safety-tile h3{margin:13px 0 6px}.safety-tile p{line-height:1.5;color:#49756e;margin:0 0 12px}.safety-link{margin-top:auto;font-size:14px;font-weight:700;color:#087b64}.safety-training{margin:26px 0}.safety-guide{max-width:820px;margin:24px auto}.safety-guide>.eyebrow{display:block;margin:25px 0 8px}.safety-guide h2{margin-top:26px}.safety-guide .lead{font-size:20px;color:#2d5952}.safety-answer{border:1px solid #d7e6e4;border-radius:9px;padding:10px;margin:8px 0}.safety-answer summary{cursor:pointer;font-weight:600}.safety-answer p{margin:8px 0 0}.brand img[src*="ebike-safety-brand"]{width:58px;height:58px;object-fit:contain}.safety-hero .actions{flex-wrap:wrap}@media(max-width:900px){.safety-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.safety-hero{grid-template-columns:1fr}.safety-hero-mark{display:none}}@media(max-width:530px){.safety-grid{grid-template-columns:1fr}.safety-hero{padding:22px}.safety-tile{padding:18px}.safety-hero p{font-size:16px}}

/* V9.1 membership and registry */
.registry-promo{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0;flex-wrap:wrap}.registry-promo h2{margin:.35em 0}.px-consent label,.legalbox label{display:flex;align-items:flex-start;gap:10px;line-height:1.5}.px-consent input[type=checkbox],.legalbox input[type=checkbox],.stack input[type=checkbox]{width:auto!important;min-width:16px;flex:none;display:inline-block;vertical-align:middle;margin:3px 5px 0 0}.legal-document{max-width:900px;margin:20px auto;line-height:1.7}.legal-document h2{margin-top:1.5em}.registry-promo .actions{flex-wrap:wrap}@media(max-width:600px){.registry-promo{display:block}.registry-promo .actions{display:flex;gap:8px}}

/* PomeroyX V9.3 — independent vertical admin navigation and retail catalogue. */
.admin-body{--px-admin-header:76px;overflow-x:hidden}.admin-body .admin-topbar{position:sticky;top:0;z-index:60;min-height:76px;gap:14px;flex-direction:row;align-items:center;flex-wrap:wrap}.admin-body .admin-shell{grid-template-columns:minmax(220px,260px) minmax(0,1fr);align-items:start;min-height:calc(100vh - var(--px-admin-header))}.admin-body .admin-sidebar{display:block;position:sticky;top:var(--px-admin-header);height:calc(100vh - var(--px-admin-header));height:calc(100dvh - var(--px-admin-header));min-height:0;max-height:none;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:auto;padding:14px 12px 26px}.admin-body .admin-sidebar::-webkit-scrollbar{width:10px}.admin-body .admin-sidebar::-webkit-scrollbar-thumb{background:#52ac9e;border-radius:8px}.admin-body .admin-sidebar [hidden]{display:none!important}.admin-menu-toggle{border:1px solid #52a699;color:white;background:#0f5b50;padding:9px 12px;border-radius:7px;cursor:pointer;font-weight:700}.admin-search-label{display:block;color:#ddfef9;font-size:12px;margin-bottom:6px}.admin-sidebar #admin-nav-search{width:100%;box-sizing:border-box;background:#fff;color:#144d44;margin:0 0 12px;padding:9px;border-radius:7px}.admin-nav-group{margin:0 0 8px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#ddfef9}.admin-nav-group summary{cursor:pointer;color:#a9e7de;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding:10px 6px}.admin-body .admin-nav-link{white-space:normal;line-height:1.25;padding:10px 9px;overflow-wrap:anywhere}.admin-nav-bottom{color:#a9e7de;font-size:12px;padding:16px 8px}.admin-body.px-nav-collapsed .admin-shell{grid-template-columns:minmax(0,1fr)}.admin-body.px-nav-collapsed .admin-sidebar{display:none}.admin-content{box-sizing:border-box}.catalogue-photo{width:100%;height:190px;object-fit:contain;background:#fff;border-radius:10px}.catalogue-spec{font-size:.9em;overflow-wrap:anywhere}.catalogue-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.catalogue-filter label{flex:1 1 180px}.catalogue-provinces{display:flex;flex-wrap:wrap;gap:8px 18px}.catalogue-provinces label{display:inline-flex;align-items:center;gap:5px}.catalogue-provinces input{width:auto}.px-edit-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:9px 14px;background:#eefefc;border:1px solid #a7e7dd;border-radius:8px;margin-bottom:16px}.px-edit-toolbar a{font-weight:700}
@media(max-width:760px){.admin-body .admin-shell{grid-template-columns:minmax(0,1fr)}.admin-body .admin-sidebar{position:relative;top:0;height:auto;max-height:55vh;max-height:55dvh;width:100%}.admin-body .admin-topbar{padding:10px 12px}.admin-body .admin-top-actions{width:auto;flex-wrap:wrap}.admin-body .admin-brand b{font-size:16px}}

/* V9.4 persistent website availability control */
.px-site-switch{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0}.px-site-state{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;white-space:nowrap;border-radius:20px;padding:7px 10px}.px-site-state>span{width:9px;height:9px;border-radius:50%;background:currentColor;flex:none}.px-site-state.is-online{background:#dcfce7;color:#166534}.px-site-state.is-offline{background:#fef3c7;color:#92400e}.px-site-switch-button{font:inherit;font-size:13px;font-weight:800;cursor:pointer;padding:8px 12px;border-radius:7px;border:1px solid transparent;white-space:nowrap}.px-site-switch-button.go-online{background:#166534;color:#fff}.px-site-switch-button.go-offline{background:#fff4e5;color:#8b310e;border-color:#e7b77c}.px-site-switch-button:focus-visible{outline:3px solid #4df9df;outline-offset:3px}.px-site-status-panel{margin-bottom:16px}.px-site-status-panel .px-site-switch{margin:12px 0}.admin-top-actions .px-site-switch{flex:0 0 auto}@media(max-width:760px){.admin-top-actions .px-site-switch{flex-basis:100%}.admin-body .admin-top-actions{justify-content:flex-start}}

/* V9.5 Visual website editor */
.px-editor{position:relative;background:#f4fffd;border-bottom:3px solid #11907d;padding:16px clamp(12px,3vw,36px);color:#14463f;z-index:10}.px-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.px-editor-head strong{font-size:19px;display:block}.px-editor-head small{display:block;margin-top:3px}.px-editor-actions{display:flex;gap:8px;flex-wrap:wrap}.px-editor #px-editor-status{font-size:13px;margin:8px 0;font-weight:600}.px-editor-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px;align-items:start}.px-editor details{border:1px solid #cbeae5;background:#fff;padding:10px;border-radius:8px;min-width:0}.px-editor summary{cursor:pointer;font-weight:750}.px-editor details p{font-size:13px;margin:8px 0}.px-sort-list{padding:0;list-style:none;margin:8px 0;max-height:300px;overflow:auto}.px-sort-list li{display:flex;align-items:center;gap:7px;border:1px solid #dcf1ee;background:#fff;border-radius:6px;padding:6px;margin:5px 0;cursor:grab}.px-sort-list li.px-dragging{opacity:.5}.px-sort-list .px-drag{color:#609b92;font-size:22px}.px-sort-list .px-sort-name,.px-menu-edit{flex:1;min-width:0}.px-sort-list button{padding:5px 9px;background:#e8fbf8;color:#12564c;border:1px solid #b6e5de;border-radius:5px;cursor:pointer}.px-menu-edit label{font-size:11px}.px-menu-edit input[type=text]{width:100%;padding:5px 8px;margin:2px 0;font-size:14px}.px-menu-edit .px-show{display:flex;align-items:center;gap:5px}.px-menu-edit input[type=checkbox]{width:auto}.px-edit-text{outline:1px dashed #1ba591;outline-offset:3px;cursor:text;white-space:pre-line}.px-edit-text:hover,.px-edit-text:focus{outline:2px solid #1ba591;background:#defef9;color:#0f584d}.px-empty-edit{color:#219584;font-size:14px}.px-editor button:disabled{opacity:.5;cursor:not-allowed}.px-admin-edit-link{font-weight:800!important;background:#dafef8!important;color:#11564c!important;padding:6px 10px;border-radius:6px}.top nav a[hidden]{display:none!important}.cart-nav .px-menu-label{display:inline;min-width:0;height:auto;padding:0;background:none;color:inherit;font:inherit}.px-edit-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#f1fefc;border:1px solid #b9efe7;padding:12px;border-radius:8px;margin:10px 0}#px-text-dialog{border:1px solid #a8e1d8;border-radius:12px;padding:24px;width:min(90vw,550px);color:#14463f}#px-text-dialog::backdrop{background:rgba(15,50,45,.55)}#px-text-dialog textarea{display:block;width:100%;margin:8px 0 16px}#px-text-dialog .actions{display:flex;gap:10px}

/* V9.6: separate shopping links above the province selector. */
.top .commerce-nav{flex-basis:100%;width:100%;grid-column:1/-1;justify-content:flex-end;align-items:center;gap:18px;min-height:0;line-height:1.3}
.top .commerce-nav:not(:has(a:not([hidden]))){display:none}
.top .commerce-nav a{white-space:nowrap;color:var(--navy)}
.top .main-nav{flex-basis:100%}
@media(max-width:900px){.top .commerce-nav{justify-content:flex-end}.top .main-nav{justify-content:flex-start}}

/* V9.7 approved full-width e-Bike Safety logo. */
.top .brand-area{flex:0 1 350px;min-width:0;max-width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.top .brand.brand-full{display:block;max-width:100%;width:100%;line-height:0}
.top .brand.brand-full img{display:block;width:100%;height:auto;max-width:350px;max-height:none;object-fit:contain}
.brand-region,.brand-editor-name{font-size:12px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.brand-editor-name{max-width:100%}
.top .header-actions{min-width:0}
@media(max-width:1050px){.top{flex-direction:column;align-items:flex-start;position:static;gap:12px}.top .brand-area{flex:0 0 auto;width:min(350px,100%)}.top .header-actions{flex:0 0 auto;width:100%}.top .brand.brand-full img{max-width:350px}}
@media(max-width:480px){.top{padding:12px 16px}.top .brand-area{width:min(310px,100%)}}

/* V9.8: native form controls and keyboard focus match the approved teal-green theme. */
input[type=checkbox],input[type=radio],input[type=range],progress{accent-color:#007b69} :focus-visible{outline:2px solid #007b69;outline-offset:3px} .admin-sidebar :focus-visible,footer :focus-visible{outline-color:#7ee0c9} ::selection{background:#c5efe5;color:#064f45}

/* V10.0: explicitly white emergency alert, independent of site palette. */
section.safety-alert{background:#ffffff!important;border:1px solid #d80621!important;color:#d80621!important;color-scheme:light;}
section.safety-alert b,section.safety-alert a,section.safety-alert a:visited,section.safety-alert a:hover,section.safety-alert a:focus{color:#d80621!important;}

/* V10.2: local white surface, including text wrappers and all link states. */
#px-emergency-alert,#px-emergency-alert *,#px-emergency-alert a:any-link,#px-emergency-alert a:hover,#px-emergency-alert a:focus,#px-emergency-alert a:active{background:#fff!important;background-image:none!important;color:#d80621!important;opacity:1!important;filter:none!important;mix-blend-mode:normal!important;box-shadow:none!important;text-shadow:none!important;text-decoration-color:#d80621!important}
#px-emergency-alert{border:1px solid #d80621!important;isolation:isolate;color-scheme:light}
#px-emergency-alert::before,#px-emergency-alert::after,#px-emergency-alert *::before,#px-emergency-alert *::after{content:none!important;display:none!important}

/* V10.3: accessible mobile hamburger, shared public and affiliate headers. */
.top .px-mobile-menu{display:none}
@media(max-width:1050px){
  .top.px-mobile-ready{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:12px;row-gap:12px;position:static}
  .top.px-mobile-ready .brand-area{grid-column:1;grid-row:1;width:min(350px,100%);min-width:0;align-self:center}
  .top.px-mobile-ready .px-mobile-menu{display:inline-flex;grid-column:2;grid-row:1;justify-self:end;align-self:start;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--blue);cursor:pointer;flex:none}
  .top.px-mobile-ready .px-mobile-menu[aria-expanded=true]{background:#e7f7f3;border-color:var(--blue)}
  .top.px-mobile-ready .header-actions{grid-column:1/-1;width:100%;min-width:0}
  .top.px-mobile-ready .main-nav{display:none;grid-column:1/-1;width:100%;min-width:0}
  .top.px-mobile-ready.px-mobile-open .main-nav{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:4px 12px;max-height:55vh;max-height:55dvh;overflow-y:auto;overscroll-behavior:contain}
  .top.px-mobile-ready .main-nav a{display:flex;align-items:center;min-height:46px;padding:10px 4px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
  .top.px-mobile-ready .main-nav a:last-child{border-bottom:0}
  .top.px-mobile-ready .main-nav a.btn{margin:6px 0;padding:10px;justify-content:center}
  .top.px-mobile-ready .commerce-nav{justify-content:flex-end;min-width:0}
  .top.px-mobile-ready .province-mini,.top.px-mobile-ready .municipality-mini{min-width:0}
}

/* PomeroyX V10.6 order management */
.px-order-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.px-sales-row{display:grid;grid-template-columns:90px minmax(40px,1fr) 110px;gap:12px;align-items:center;margin:12px 0}.px-sales-row b{text-align:right;white-space:nowrap}.px-sales-track{height:20px;border-radius:5px;background:#e5f2ee;overflow:hidden}.px-sales-track>div{height:100%;background:#007b69;border-radius:5px}.px-order-note{border-top:1px solid #d9e9e5;padding:12px 0;overflow-wrap:anywhere}.px-order-note small{color:#526961}.px-order-note p{margin:6px 0}.admin-body .px-order-tabs .btn{white-space:normal}.admin-body .stack input[type=checkbox]{width:auto;display:inline-block;margin-right:6px}@media(max-width:600px){.px-sales-row{grid-template-columns:65px minmax(30px,1fr) 84px;gap:5px;font-size:12px}}

/* V10.7 staff permission editor */
.px-staff-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px 18px;margin:16px 0}.px-staff-checks label,#px-staff-super label{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-weight:500;padding:10px;border:1px solid #d6e8e2;border-radius:8px;background:#fff}.px-staff-checks input[type=checkbox],#px-staff-super input[type=checkbox]{width:18px;height:18px;min-width:18px;flex:none;margin:2px 0;accent-color:#007b69}#px-staff-super[hidden],#px-staff-permissions[hidden]{display:none!important}
