/* Page 28 — premium certification & certificates, layered after legacy module CSS. */
body.certification-routing-page-v23,body.certification-tracker-v47,body.certificates-page-v43,body.certificate-verification-page-v19{background:#f4f7fb;color:#12263f}
.cert23-page,.cert47-wrap,.cert43-shell{max-width:1460px}
.cert23-hero,.cert43-hero,.cert47-hero{position:relative;overflow:hidden;border:0;box-shadow:0 18px 52px rgba(7,52,94,.16);isolation:isolate}
.cert23-hero:before,.cert43-hero:before,.cert47-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,36,65,.96) 0%,rgba(4,45,79,.82) 45%,rgba(4,45,79,.22) 76%,rgba(4,45,79,.08) 100%),url('/assets/ui/page28-certification-staff.webp') center 44%/cover no-repeat;z-index:-2}
.cert47-hero:before{background:linear-gradient(90deg,rgba(4,36,65,.95),rgba(4,45,79,.65) 58%,rgba(4,45,79,.18)),url('/assets/ui/page28-certification.webp') center 46%/cover no-repeat}
.cert23-hero:after,.cert43-hero:after,.cert47-hero:after{content:"";position:absolute;inset:auto -80px -120px auto;width:310px;height:310px;border-radius:50%;border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 44px rgba(255,255,255,.04),0 0 0 88px rgba(255,255,255,.025);z-index:-1}
.cert23-hero,.cert47-hero{color:#fff;padding:30px;border-radius:26px;background:#07345e}.cert23-hero h1,.cert23-hero p,.cert47-hero h1,.cert47-hero p{color:#fff}.cert23-kicker,.cert47-kicker{color:#f6c759}.cert23-hero .btn,.cert47-hero .btn{background:#fff;color:#0b4f86;border-color:#fff}.cert23-hero .btn.primary{background:#f3b83f;color:#12263f;border-color:#f3b83f}
.cert23-kpis article,.cert43-kpis article,.cert43-detail-kpis article,.cert47-programme{border-color:#dfe7ef;box-shadow:0 8px 24px rgba(7,52,94,.055)}
.cert28-queue-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:7px}.cert28-meta-chip{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border-radius:999px;background:#edf5fb;color:#45677f;font-size:.72rem;font-weight:800}.cert28-meta-chip.is-alert{background:#fff1ee;color:#a33a31}.cert28-meta-chip.is-age{background:#f7f5ff;color:#654cb8}
.cert28-gate-overview{display:grid;gap:12px}.cert28-gate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cert28-gate{display:grid;grid-template-columns:32px 1fr auto;gap:11px;align-items:start;padding:13px;border:1px solid #e0e8ef;border-radius:14px;background:#fff}.cert28-gate-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff4e6;color:#b06b00;font-weight:900}.cert28-gate.is-pass .cert28-gate-icon{background:#eaf7ef;color:#18764d}.cert28-gate.is-unknown .cert28-gate-icon{background:#eef2f6;color:#63788b}.cert28-gate strong{display:block}.cert28-gate small{display:block;margin-top:4px;color:#6f8094;line-height:1.4}.cert28-gate-owner{font-size:.72rem;font-weight:850;color:#49677e;white-space:nowrap}
.cert28-tracker-status{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.cert28-tracker-status>div{padding:13px;border:1px solid #e0e8ef;border-radius:13px;background:#f8fbff}.cert28-tracker-status small{display:block;color:#718394;margin-bottom:5px}.cert28-tracker-status strong{display:block;color:#123c5d}.cert28-action-no{color:#18764d!important}.cert28-action-yes{color:#b06b00!important}
.cert43-hero{background:#07345e!important}.cert43-hero:before{z-index:0}.cert43-hero>div,.cert43-hero-actions{position:relative;z-index:2}.cert43-hero:after{z-index:1}.cert43-back{color:#dcecff}.cert43-eyebrow{color:#f4cd70}.cert43-subtitle{color:#f4f8fb}
.cert28-trust-note{margin-top:12px;padding:12px 14px;border:1px solid #d9e7f1;border-radius:12px;background:#f8fbff;color:#536d82;font-size:.82rem;line-height:1.5}.cert28-trust-note strong{color:#173f60}
.cert43-table td,.cert23-table td{vertical-align:middle}.cert43-btn:focus-visible,.cert23-page .btn:focus-visible,.cert47-wrap .btn:focus-visible,.verification-form-v19 button:focus-visible,.verification-form-v19 input:focus-visible{outline:3px solid #f3b83f!important;outline-offset:3px}
.cert28-filter-trigger{display:none}.cert28-sheet-backdrop{display:none}
@media(max-width:820px){
  .cert23-page,.cert43-shell,.cert47-wrap{padding:14px 12px 48px}
  .cert23-hero,.cert43-hero,.cert47-hero{padding:22px 18px;border-radius:20px;min-height:180px;align-items:flex-start}
  .cert23-hero-actions,.cert43-hero-actions{width:100%;justify-content:flex-start}.cert23-hero-actions .btn,.cert43-hero-actions .cert43-btn{width:auto;min-width:0}
  .cert23-kpis,.cert43-kpis,.cert43-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cert28-gate-grid{grid-template-columns:1fr}.cert28-tracker-status{grid-template-columns:1fr 1fr}
  .cert47-stagebar{display:flex;overflow-x:auto;gap:18px;padding:3px 2px 10px;scroll-snap-type:x proximity}.cert47-stagebar div{min-width:112px;scroll-snap-align:start}.cert47-stagebar div:before{display:none}
  .cert47-gates article{grid-template-columns:auto 1fr}.cert47-gates article .btn{grid-column:2;width:100%}
  .cert43-tablewrap{overflow:visible;border:0}.cert43-table{min-width:0;display:block}.cert43-table thead{display:none}.cert43-table tbody{display:grid;gap:12px}.cert43-table tr{display:block;border:1px solid #dfe7ef;border-radius:14px;padding:14px;background:#fff;box-shadow:0 6px 18px rgba(7,52,94,.045)}.cert43-table td{display:grid;grid-template-columns:118px 1fr;gap:10px;border:0!important;padding:7px 0!important;text-align:left!important}.cert43-table td:before{content:attr(data-label);color:#74879a;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.045em}.cert43-table td.cert43-actions{display:block;padding-top:12px!important}.cert43-table td.cert43-actions:before{content:none}.cert43-table .cert43-btn{width:100%}
  .cert28-filter-trigger{display:inline-flex;width:100%;justify-content:center;margin:0 0 10px}.cert43-toolbar.cert28-mobile-sheet{position:fixed;left:12px;right:12px;bottom:12px;z-index:1002;background:#fff;border:1px solid #dfe7ef;border-radius:20px;padding:18px;box-shadow:0 24px 70px rgba(8,42,75,.28);display:none;max-height:72vh;overflow:auto}.cert43-toolbar.cert28-mobile-sheet.is-open{display:flex}.cert28-sheet-backdrop.is-open{display:block;position:fixed;inset:0;background:rgba(5,29,50,.52);z-index:1001}.cert28-sheet-actions{display:flex;gap:8px;width:100%}.cert28-sheet-actions button{flex:1}
}
@media(max-width:520px){.cert23-kpis,.cert43-kpis,.cert43-detail-kpis,.cert47-summary,.cert28-tracker-status{grid-template-columns:1fr}.cert23-hero h1,.cert43-hero h1,.cert47-hero h1{font-size:1.85rem}.cert28-gate{grid-template-columns:30px 1fr}.cert28-gate-owner{grid-column:2}.cert43-tabs{position:sticky;top:8px;z-index:10}.cert43-panel{padding:16px}.cert43-card{padding:16px}}
@media print{.cert23-hero:before,.cert43-hero:before,.cert47-hero:before{display:none!important}.cert28-filter-trigger,.cert28-sheet-backdrop{display:none!important}}
