body.d4c-preview-page{background:#030c12;color:#eefaff}.d4c-preview-page .entry-header,.d4c-preview-page .page-header,.d4c-preview-page .page-title{display:none!important}.d4c-pv-shell{min-height:calc(100vh - 120px);padding:clamp(24px,5vw,72px);display:grid;place-items:center;background:radial-gradient(circle at 50% 15%,rgba(0,160,220,.22),transparent 38%),linear-gradient(135deg,#03111a,#071d2a 50%,#02080d);font-family:Arial,sans-serif}.d4c-pv-card{width:min(1120px,100%);padding:clamp(24px,4vw,54px);border:1px solid #45c9ff;border-radius:26px;background:rgba(2,20,30,.94);box-shadow:0 28px 80px #000,0 0 45px rgba(69,201,255,.12);position:relative;overflow:hidden}.d4c-pv-card:before{content:"";position:absolute;inset:8px;border:1px solid rgba(69,201,255,.18);border-radius:20px;pointer-events:none}.d4c-pv-orb{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;font-size:25px;font-weight:800;background:radial-gradient(circle at 35% 30%,#4fe1ff,#0578a8 45%,#02111c 75%);border:1px solid #8be9ff;box-shadow:0 0 34px rgba(41,202,255,.42);position:relative}.d4c-pv-orb i{position:absolute;width:12px;height:12px;border-radius:50%;background:#54ffab;right:-2px;bottom:10px;box-shadow:0 0 12px #54ffab}.d4c-pv-kicker{color:#66d9ff;letter-spacing:.22em;font-weight:800;font-size:12px;margin-top:24px}.d4c-pv-card h1{font-size:clamp(34px,5vw,68px);line-height:1;margin:.25em 0 .45em;color:white}.d4c-pv-card h2{color:white}.d4c-pv-lead{font-size:18px;color:#cfe8f2}.d4c-pv-routes{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}.d4c-pv-routes article{padding:24px;border:1px solid #267fa3;border-radius:18px;background:linear-gradient(160deg,#092b3d,#03131d);min-height:245px;display:flex;flex-direction:column}.d4c-pv-routes article>b{font-size:32px;color:#44d4ff}.d4c-pv-routes article h2{font-size:18px}.d4c-pv-routes article p{color:#bad2dc;line-height:1.5}.d4c-pv-routes article span,.d4c-pv-routes article a{margin-top:auto;color:#63dcff;font-size:11px;letter-spacing:.12em;font-weight:800}.d4c-pv-form{display:grid;gap:18px;max-width:760px}.d4c-pv-form label{display:grid;gap:7px;font-weight:700}.d4c-pv-form input:not([type=checkbox]),.d4c-pv-form select{padding:14px;border-radius:8px;border:1px solid #55cfff;background:#f5fbff;color:#071018}.d4c-pv-form .check{display:block;font-weight:400}.d4c-pv-primary,.d4c-pv-actions a,.d4c-pv-destinations a{display:inline-block;padding:13px 18px;border:1px solid #56d8ff;background:#075b7e;color:#fff!important;text-decoration:none;font-weight:800;letter-spacing:.05em}.d4c-pv-form button{cursor:pointer;width:max-content}.d4c-pv-count{display:flex;gap:18px;align-items:center;padding:18px 22px;border:1px solid #54d8ff;border-radius:14px;background:#061b28}.d4c-pv-count span{font-size:12px;letter-spacing:.15em;color:#7ee5ff}.d4c-pv-count strong{font-size:32px}.d4c-pv-destinations{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:25px 0}.d4c-pv-alert{padding:14px;background:#5a1a1a;border:1px solid #ff6969;margin-bottom:18px}.d4c-pv-gate{text-align:center;padding:56px 20px;border:2px solid #7c8286;background:linear-gradient(#171b1e,#050607);position:relative}.d4c-pv-bars{height:180px;margin:auto auto 25px;max-width:600px;background:repeating-linear-gradient(90deg,#15191b 0 16px,#879096 17px 21px,#111 22px 64px);border:12px solid #262b2e;box-shadow:inset 0 0 50px #000}.d4c-pv-gate strong{color:#cf3030;letter-spacing:.2em}.d4c-pv-legal{max-width:850px}.d4c-pv-legal h2{margin-bottom:5px;font-size:19px}.d4c-pv-legal p{color:#cbdde4;line-height:1.55}.d4c-pv-actions{display:flex;gap:12px;flex-wrap:wrap}@media(max-width:760px){.d4c-pv-shell{padding:14px;place-items:start center}.d4c-pv-card{padding:24px 18px;border-radius:18px}.d4c-pv-routes,.d4c-pv-destinations{grid-template-columns:1fr}.d4c-pv-routes article{min-height:0}.d4c-pv-card h1{font-size:38px}.d4c-pv-count{align-items:flex-start;flex-direction:column;gap:6px}.d4c-pv-count strong{font-size:28px}.d4c-pv-primary,.d4c-pv-actions a,.d4c-pv-destinations a{display:block;width:100%;box-sizing:border-box;text-align:center}.d4c-pv-bars{height:150px}}
/* v0.1.4 — approved HMP D4C rainy exterior presentation, Preview-only ID check. */
.d4c-pv-gate-page .d4c-pv-card{width:min(1280px,100%);padding:18px;background:#090806;border-color:#5b4a37}.d4c-pv-gate-page .d4c-pv-orb,.d4c-pv-gate-page .d4c-pv-kicker,.d4c-pv-gate-page .d4c-pv-card>h1{display:none}.d4c-pv-hmp{position:relative;min-height:760px;overflow:hidden;border:8px ridge #5a4934;background:#090806;box-shadow:0 30px 80px #000}.d4c-pv-hmp-scene{position:absolute;inset:0;background:#171714 var(--gate-base) center/100% 100% no-repeat;overflow:hidden}.d4c-pv-gate-leaf{position:absolute;top:0;bottom:0;width:51%;background-position:center;background-repeat:no-repeat;background-size:100% 100%;z-index:5}.d4c-pv-gate-leaf.left{left:0;background-image:var(--gate-left)}.d4c-pv-gate-leaf.right{right:0;background-image:var(--gate-right)}.d4c-pv-rain{position:absolute;inset:-8% -4% 0;z-index:8;pointer-events:none;overflow:hidden}.d4c-pv-rain i{position:absolute;left:var(--x);top:-50px;width:1.5px;height:var(--len);opacity:var(--alpha);background:linear-gradient(to bottom,transparent,rgba(230,240,240,.82));filter:blur(.25px);transform:rotate(7deg);animation:d4cPvRain var(--dur) linear var(--delay) infinite}@keyframes d4cPvRain{to{transform:translate3d(-7vw,115vh,0) rotate(7deg)}}.d4c-pv-hmp-control{position:absolute;z-index:20;right:clamp(18px,4vw,54px);top:50%;transform:translateY(-50%);width:min(420px,42%);box-sizing:border-box;padding:22px;border:6px ridge #5b4a35;background:linear-gradient(rgba(12,10,8,.92),rgba(4,4,3,.96));color:#eee4d5;box-shadow:0 16px 45px #000}.d4c-pv-hmp-control>img{display:block;max-width:250px;width:78%;margin:0 auto 15px}.d4c-pv-hmp-status,.d4c-pv-id-result>strong{display:block;text-align:center;color:#d9b46f;letter-spacing:.12em;font-weight:900}.d4c-pv-hmp-note,.d4c-pv-id-result p{line-height:1.5;color:#e1d8c8}.d4c-pv-request-entry,.d4c-pv-replay-voice{width:100%;padding:14px;border:1px solid #c4a56c;background:#4a160f;color:#fff;font-weight:900;letter-spacing:.08em;cursor:pointer}.d4c-pv-request-entry:disabled{opacity:.55;cursor:wait}.d4c-pv-id-progress{margin:14px 0;padding:10px;text-align:center;border:1px solid #6d5b42;background:#17130e;color:#e6c98d;font-weight:800}.d4c-pv-id-result{margin:14px 0;padding:14px;border:2px solid #8f7b55;background:rgba(10,9,7,.94)}.d4c-pv-id-name{display:block;text-align:center;margin:8px 0 12px;font-size:20px;font-weight:800;color:#fff}.d4c-pv-return{display:block!important;margin-top:14px;text-align:center;background:#25211a;border-color:#7d6b4d}.d4c-pv-gate-page .d4c-pv-global{z-index:1000}@media(max-width:760px){.d4c-pv-hmp{min-height:820px}.d4c-pv-hmp-scene{background-size:auto 100%;background-position:center}.d4c-pv-hmp-control{left:12px;right:12px;top:auto;bottom:18px;transform:none;width:auto;padding:16px}.d4c-pv-hmp-note{font-size:14px}.d4c-pv-id-result p{font-size:13px}}

/* v0.1.5 — clear exit placement: approval return sits directly beneath Governor replay; unobtrusive pre-check exit remains available. */
.d4c-pv-return-approved{margin-top:12px!important}.d4c-pv-return-before{display:block;margin-top:12px;text-align:center;color:#cdbb99!important;text-decoration:underline;font-size:13px}.d4c-pv-id-result:not([hidden])~.d4c-pv-return-before{display:none}

/* v0.1.6 — desktop Preview Centre fit and Gate approval clearance. Presentation only. */
@media(min-width:761px){
  .d4c-pv-status-page.d4c-pv-shell{min-height:auto;padding:18px 32px 108px;place-items:start center}
  .d4c-pv-status-page .d4c-pv-card{padding:24px 38px 28px;border-radius:20px}
  .d4c-pv-status-page .d4c-pv-orb{width:64px;height:64px;font-size:20px}
  .d4c-pv-status-page .d4c-pv-kicker{margin-top:14px}
  .d4c-pv-status-page .d4c-pv-card h1{font-size:clamp(40px,4vw,58px);margin:.18em 0 .35em}
  .d4c-pv-status-page .d4c-pv-count{padding:12px 18px}
  .d4c-pv-status-page .d4c-pv-count strong{font-size:28px}
  .d4c-pv-status-page .d4c-pv-destinations{gap:10px;margin:14px 0}
  .d4c-pv-status-page .d4c-pv-destinations a{padding:11px 15px}
  .d4c-pv-status-page hr{margin:14px 0}
  .d4c-pv-status-page h2{margin:8px 0}
  .d4c-pv-status-page p{margin:7px 0 10px;line-height:1.35}
  .d4c-pv-status-page .d4c-pv-primary{padding:11px 16px}
  .d4c-pv-hmp.d4c-pv-approved{min-height:860px}
  .d4c-pv-hmp.d4c-pv-approved .d4c-pv-hmp-control{top:48%;padding:18px}
  .d4c-pv-hmp.d4c-pv-approved .d4c-pv-id-result p{font-size:15px;line-height:1.42}
}

/* v0.1.7 — Preview Centre responsive composition. Presentation only. */
body.d4c-preview-status-route footer,
body.d4c-preview-status-route #colophon,
body.d4c-preview-status-route .site-footer,
body.d4c-preview-status-route .footer-wrapper{display:none!important}

@media(min-width:761px){
  .d4c-pv-status-page.d4c-pv-shell{min-height:0;padding:8px 24px 104px;place-items:start center}
  .d4c-pv-status-page .d4c-pv-card{width:min(1000px,100%);padding:16px 32px 20px;border-radius:18px}
  .d4c-pv-status-page .d4c-pv-card:before{inset:6px;border-radius:14px}
  .d4c-pv-status-page .d4c-pv-orb{width:48px;height:48px;font-size:17px}
  .d4c-pv-status-page .d4c-pv-orb i{width:9px;height:9px;bottom:5px}
  .d4c-pv-status-page .d4c-pv-kicker{margin:7px 0 0;font-size:10px}
  .d4c-pv-status-page .d4c-pv-card h1{font-size:clamp(34px,3.2vw,46px);line-height:1.02;margin:6px 0 14px}
  .d4c-pv-status-page .d4c-pv-count{padding:9px 16px;border-radius:10px;gap:14px}
  .d4c-pv-status-page .d4c-pv-count strong{font-size:25px}
  .d4c-pv-status-page .d4c-pv-count+ p{margin:5px 0 9px!important;line-height:1.28}
  .d4c-pv-status-page .d4c-pv-destinations{gap:8px;margin:9px 0}
  .d4c-pv-status-page .d4c-pv-destinations a{padding:9px 14px}
  .d4c-pv-status-page hr{margin:9px 0}
  .d4c-pv-status-page h2{font-size:21px;margin:5px 0}
  .d4c-pv-status-page h2+ p{margin:4px 0 8px!important;line-height:1.28}
  .d4c-pv-status-page .d4c-pv-primary{padding:9px 15px}
}

@media(max-width:760px){
  .d4c-pv-status-page.d4c-pv-shell{min-height:0;padding:8px 10px 138px;place-items:start center}
  .d4c-pv-status-page .d4c-pv-card{width:100%;box-sizing:border-box;padding:16px 14px 20px;border-radius:16px}
  .d4c-pv-status-page .d4c-pv-card:before{inset:5px;border-radius:12px}
  .d4c-pv-status-page .d4c-pv-orb{width:50px;height:50px;font-size:17px}
  .d4c-pv-status-page .d4c-pv-kicker{margin:8px 0 0;font-size:9px;letter-spacing:.16em}
  .d4c-pv-status-page .d4c-pv-card h1{font-size:30px;line-height:1.05;margin:7px 0 12px}
  .d4c-pv-status-page .d4c-pv-count{padding:10px 12px;gap:3px;border-radius:10px}
  .d4c-pv-status-page .d4c-pv-count strong{font-size:25px}
  .d4c-pv-status-page .d4c-pv-count+ p{font-size:14px;line-height:1.35;margin:7px 0 10px}
  .d4c-pv-status-page .d4c-pv-destinations{grid-template-columns:1fr;gap:8px;margin:10px 0}
  .d4c-pv-status-page .d4c-pv-destinations a{padding:11px 12px;font-size:14px}
  .d4c-pv-status-page hr{margin:11px 0}
  .d4c-pv-status-page h2{font-size:20px;margin:6px 0}
  .d4c-pv-status-page h2+ p{font-size:14px;line-height:1.35;margin:5px 0 10px}
  .d4c-pv-status-page .d4c-pv-primary{padding:11px 12px;font-size:14px}
}

@media(max-width:390px){
  .d4c-pv-status-page .d4c-pv-card h1{font-size:27px}
  .d4c-pv-status-page .d4c-pv-count strong{font-size:23px}
}

/* v0.1.8 — Preview route presentation repairs only. */
/* Gate: make the pre-check exit a full D4C action rather than a small text link. */
.d4c-pv-return-before{
  display:block!important;
  width:100%;
  box-sizing:border-box;
  margin-top:12px!important;
  padding:12px 14px;
  border:1px solid #7d6b4d;
  background:#25211a;
  color:#fff!important;
  text-align:center;
  text-decoration:none!important;
  font-weight:900;
  letter-spacing:.05em;
}
.d4c-pv-id-result:not([hidden])~.d4c-pv-return-before{display:none!important}

/* Learning Centre: Preview owns its exit control, not induction completion. */
.d4c-pv-learning-return{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 12px;
  box-sizing:border-box;
  border:1px solid #79d9ff;
  background:#0b5278;
  color:#fff!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em;
  white-space:nowrap;
}
@media(max-width:900px){
  .d4c-pv-learning-return{min-height:44px;white-space:normal;text-align:center}
}

/* Route-docked Preview bar: stays visible without covering application controls. */
body.d4c-preview-learning-route .d4c-pv-global.d4c-pv-global--docked,
body.d4c-preview-membership-route .d4c-pv-global.d4c-pv-global--docked{
  position:sticky!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  top:0!important;
  transform:none!important;
  width:min(1180px,calc(100% - 24px))!important;
  margin:8px auto 10px!important;
  z-index:99999!important;
}
body.d4c-preview-learning-route,
body.d4c-preview-membership-route{padding-bottom:24px!important}
@media(max-width:700px){
  body.d4c-preview-learning-route .d4c-pv-global.d4c-pv-global--docked,
  body.d4c-preview-membership-route .d4c-pv-global.d4c-pv-global--docked{
    width:calc(100% - 16px)!important;
    margin:6px auto 8px!important;
  }
  body.d4c-preview-learning-route,
  body.d4c-preview-membership-route{padding-bottom:16px!important}
}


/* v0.1.9 — Membership Levels one-screen Preview composition.
   Presentation only: PMPro remains authoritative for levels, prices, expiry and checkout. */
body.d4c-preview-membership-route .entry-header,
body.d4c-preview-membership-route .page-header{margin-bottom:0!important;padding-top:8px!important;padding-bottom:8px!important}
body.d4c-preview-membership-route .entry-title,
body.d4c-preview-membership-route .page-title{margin-top:0!important;margin-bottom:0!important;font-size:28px!important;line-height:1.15!important}
body.d4c-preview-membership-route .site-content,
body.d4c-preview-membership-route #content{padding-top:0!important;padding-bottom:8px!important}
body.d4c-preview-membership-route #primary,
body.d4c-preview-membership-route .content-area{margin-top:0!important;margin-bottom:0!important}
body.d4c-preview-membership-route .d4c-pv-global.d4c-pv-global--docked{margin-top:6px!important;margin-bottom:6px!important;min-height:46px!important;padding-top:7px!important;padding-bottom:7px!important}
body.d4c-preview-membership-route .d4c-pv-membership-return-wrap{width:min(1180px,calc(100% - 24px));margin:0 auto 6px;display:flex;justify-content:flex-end}
body.d4c-preview-membership-route .d4c-pv-membership-return{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 18px;border:2px solid #79d9ff;border-radius:3px;background:#0b5278;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:900;letter-spacing:.07em;line-height:1.1;box-shadow:0 0 0 1px rgba(0,0,0,.35),0 5px 14px rgba(0,0,0,.28)}
body.d4c-preview-membership-route .d4c-pv-membership-return:hover,body.d4c-preview-membership-route .d4c-pv-membership-return:focus{background:#0f6b98;color:#fff!important;border-color:#a7edff;outline:2px solid rgba(121,217,255,.25);outline-offset:2px}

/* PMPro levels list/table — reduce vertical waste only. */
body.d4c-preview-membership-route #pmpro_levels,
body.d4c-preview-membership-route .pmpro,
body.d4c-preview-membership-route .pmpro_section,
body.d4c-preview-membership-route .pmpro_card{margin-top:0!important;margin-bottom:6px!important}
body.d4c-preview-membership-route .pmpro_card_content,
body.d4c-preview-membership-route .pmpro_section_content{padding-top:10px!important;padding-bottom:10px!important}
body.d4c-preview-membership-route .pmpro_card_title,
body.d4c-preview-membership-route .pmpro_section_title,
body.d4c-preview-membership-route #pmpro_levels h2,
body.d4c-preview-membership-route #pmpro_levels h3{margin-top:0!important;margin-bottom:8px!important;line-height:1.15!important}
body.d4c-preview-membership-route #pmpro_levels p,
body.d4c-preview-membership-route .pmpro p{margin-top:3px!important;margin-bottom:6px!important;line-height:1.25!important}
body.d4c-preview-membership-route #pmpro_levels table{margin-top:4px!important;margin-bottom:4px!important}
body.d4c-preview-membership-route #pmpro_levels th,
body.d4c-preview-membership-route #pmpro_levels td,
body.d4c-preview-membership-route .pmpro_table th,
body.d4c-preview-membership-route .pmpro_table td{padding-top:7px!important;padding-bottom:7px!important;line-height:1.2!important;vertical-align:middle!important}
body.d4c-preview-membership-route #pmpro_levels .pmpro_btn,
body.d4c-preview-membership-route #pmpro_levels a.pmpro_btn,
body.d4c-preview-membership-route #pmpro_levels .pmpro_level-select,
body.d4c-preview-membership-route .pmpro_btn{min-height:38px!important;padding-top:8px!important;padding-bottom:8px!important;margin-top:0!important;margin-bottom:0!important}
@media(min-width:901px) and (max-height:950px){
 body.d4c-preview-membership-route .entry-header,body.d4c-preview-membership-route .page-header{padding-top:4px!important;padding-bottom:4px!important}
 body.d4c-preview-membership-route .entry-title,body.d4c-preview-membership-route .page-title{font-size:25px!important}
 body.d4c-preview-membership-route #pmpro_levels th,body.d4c-preview-membership-route #pmpro_levels td,body.d4c-preview-membership-route .pmpro_table th,body.d4c-preview-membership-route .pmpro_table td{padding-top:5px!important;padding-bottom:5px!important}
 body.d4c-preview-membership-route .d4c-pv-global.d4c-pv-global--docked{min-height:42px!important;margin-top:4px!important;margin-bottom:4px!important}
 body.d4c-preview-membership-route .d4c-pv-membership-return-wrap{margin-bottom:4px!important}
}
@media(max-width:700px){
 body.d4c-preview-membership-route .d4c-pv-membership-return-wrap{width:calc(100% - 16px);justify-content:stretch}
 body.d4c-preview-membership-route .d4c-pv-membership-return{width:100%;min-height:42px}
 /* Mobile stays a deliberate readable flow; do not force desktop one-screen compression. */
 body.d4c-preview-membership-route #pmpro_levels th,body.d4c-preview-membership-route #pmpro_levels td,body.d4c-preview-membership-route .pmpro_table th,body.d4c-preview-membership-route .pmpro_table td{padding-top:9px!important;padding-bottom:9px!important}
}
