/*
 * 708C Platform Plugin CSS
 * Minimal — bulk of styling is in the child theme.
 * This file only carries plugin-specific frontend overrides
 * that must load even without the child theme.
 */

/* Ensure form steps hidden by default */

/* Intake page layout */
.c708-page-start .c708-cert-preview { display: block; }

/* Plugin toast container if child theme not loaded */
.c708-toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 12px;
}

/* Inline ABN result fallback */
.c708-abn-result {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
}

/* Suggestion dropdown */
.c708-suggestions {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border: 1px solid #dce4ed;
  border-top: none; border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 16px rgba(26,35,50,0.12);
  max-height: 200px; overflow-y: auto; z-index: 100;
}
.c708-suggestions__item {
  padding: 10px 16px; cursor: pointer; font-size: 14px;
  border-bottom: 1px solid #f0f4f8;
}
.c708-suggestions__item:hover { background: #f0f4f8; }


.c708-card--sandbox-toggle{border:1px solid #d4a017;background:#fff8e1;padding:16px;border-radius:12px}.c708-sandbox-message{border-color:#d4a017;background:#fff8e1;color:#6b4f00}.c708-validation-result--sandbox{border-color:#d4a017}.c708-vault-item--sandbox{border-left:4px solid #d4a017}.c708-admin-pill{display:inline-block;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.c708-admin-pill--sandbox{background:#f3f0ff;color:#5b3fd6}.c708-badge--warning{background:#fff8e1;color:#7c5c00}
/* Entity extra fields — hidden by default, shown by JS on company/trust selection */
.c708-entity-extra {
  display: none;
  margin-top: var(--c708-space-6, 20px);
}

/* ── VALIDATION RESULT — field colour fix ───────────────────────────────────
   .c708-cert-field__value is styled white (for the dark cert preview).
   Within the validation result (white background) those values are invisible.
   These scoped rules force readable colours without touching the cert preview.
   ────────────────────────────────────────────────────────────────────────── */
.c708-validation-result .c708-cert-field__label {
  color: #6b7280;        /* visible steel-grey on white */
  opacity: 1;
}
.c708-validation-result .c708-cert-field__value {
  color: #0E1C4F;        /* navy — matches platform brand, legible on white */
  font-weight: 600;
}
.c708-validation-result .c708-cert-field__value--placeholder {
  color: #9ca3af;
  font-style: italic;
  font-weight: 400;
}
/* Badge colours inside the validation result */
.c708-validation-result .c708-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.c708-validation-result .c708-badge--active      { background: #dcfce7; color: #15803d; }
.c708-validation-result .c708-badge--expiring_soon{ background: #fef9c3; color: #854d0e; }
.c708-validation-result .c708-badge--no_longer_current,
.c708-validation-result .c708-badge--expired      { background: #fee2e2; color: #b91c1c; }
.c708-validation-result .c708-badge--revoked      { background: #fce7f3; color: #9d174d; }
.c708-validation-result .c708-badge--superseded   { background: #e0e7ff; color: #3730a3; }
.c708-validation-result .c708-badge--not_found    { background: #f3f4f6; color: #374151; }


/* Submission success modal */
.c708-submit-success-modal{position:fixed;inset:0;background:rgba(14,28,49,.58);display:none;align-items:center;justify-content:center;padding:24px;z-index:10000;backdrop-filter:blur(4px)}
.c708-submit-success-modal.is-open{display:flex}
.c708-submit-success-modal__dialog{width:min(560px,100%);background:linear-gradient(180deg,#fffdfa 0%,#f7f1e8 100%);border:1px solid rgba(183,154,114,.35);border-radius:24px;box-shadow:0 24px 64px rgba(17,24,39,.24);padding:32px 30px 28px;text-align:center}
.c708-submit-success-modal__icon{width:72px;height:72px;border-radius:999px;margin:0 auto 18px;background:linear-gradient(180deg,#1f7a45 0%,#14532d 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:700;box-shadow:0 12px 28px rgba(20,83,45,.24)}
.c708-submit-success-modal__title{margin:0 0 12px;color:#0E1C4F;font-size:28px;line-height:1.2;font-weight:700}
.c708-submit-success-modal__body{margin:0 0 10px;color:#243449;font-size:16px;line-height:1.75}
.c708-submit-success-modal__meta{margin:0;color:#5a6875;font-size:14px;line-height:1.7}
.c708-submit-success-modal__actions{margin-top:24px;display:flex;justify-content:center}
@media (max-width:640px){.c708-submit-success-modal{padding:16px}.c708-submit-success-modal__dialog{padding:26px 20px 22px;border-radius:20px}.c708-submit-success-modal__title{font-size:24px}.c708-submit-success-modal__body{font-size:15px}}

/* ============================================================
   708C v4.2.31 — NEW IMAGE + OLD-MONEY PALETTE REBUILD
   Scope: visual/presentation only. Workflow, REST, certificate,
   payment, review and validation logic remain plugin-owned.
   ============================================================ */
:root{
  --c708-heritage-navy:#182B49;
  --c708-heritage-navy-2:#102238;
  --c708-heritage-ink:#14243A;
  --c708-heritage-steel:#445875;
  --c708-heritage-muted:#6B7890;
  --c708-heritage-gold:#A78654;
  --c708-heritage-gold-2:#C4A77A;
  --c708-heritage-champagne:#D8C7A4;
  --c708-heritage-cream:#F6F1E8;
  --c708-heritage-ivory:#FFFCF6;
  --c708-heritage-linen:#E9E1D3;
  --c708-heritage-white:#FFFFFF;
  --c708-heritage-green:#4D6B4F;
  --c708-heritage-red:#8A3340;
  --c708-display:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --c708-ui:'Lato', Arial, sans-serif;
}

body[class*="page-template-template-708c"],
body.c708-divi-authority-page{
  background:linear-gradient(180deg,var(--c708-heritage-ivory) 0%,var(--c708-heritage-cream) 46%,#F4EEE3 100%)!important;
  color:var(--c708-heritage-ink)!important;
}
body[class*="page-template-template-708c"] #main-content,
body.c708-divi-authority-page #main-content{
  background:transparent!important;
}

/* Core palette variables inherited by existing templates. */
.c708h,.c708s,.c708-pricing,.c708c-contact,.acct,.iss,.faq,
.c708-prof-section,.c708-divi-editable-page,.c708-app-scope,.c708-shell{
  --navy:var(--c708-heritage-navy)!important;
  --navy-deep:var(--c708-heritage-navy-2)!important;
  --navy-mid:#233D63!important;
  --navy-2:#233D63!important;
  --navy-3:var(--c708-heritage-navy-2)!important;
  --gold:var(--c708-heritage-gold)!important;
  --gold-lt:var(--c708-heritage-champagne)!important;
  --gold-2:var(--c708-heritage-gold-2)!important;
  --cream:var(--c708-heritage-cream)!important;
  --ivory:var(--c708-heritage-ivory)!important;
  --linen:var(--c708-heritage-linen)!important;
  --white:var(--c708-heritage-white)!important;
  --ink:var(--c708-heritage-ink)!important;
  --ink-soft:#253650!important;
  --ink-dim:var(--c708-heritage-steel)!important;
  --steel:var(--c708-heritage-steel)!important;
  --c708-navy:var(--c708-heritage-navy)!important;
  --c708-gold:var(--c708-heritage-gold)!important;
  --c708-cream:var(--c708-heritage-cream)!important;
  --c708-ivory:var(--c708-heritage-ivory)!important;
  --c708-text-primary:var(--c708-heritage-ink)!important;
  --c708-text-muted:var(--c708-heritage-steel)!important;
  --font-display:var(--c708-display)!important;
  --font-ui:var(--c708-ui)!important;
  font-family:var(--c708-ui)!important;
  color:var(--c708-heritage-ink)!important;
}

/* Editorial display language to match the approved image system. */
body[class*="page-template-template-708c"] :is(.c708-title,.c708h-h1,.c708s-h1,.acct-h1,.iss-h1,.faq-h1,.c708-hero h1,.c708c-hero h1),
body.c708-divi-authority-page :is(h1,.c708-edit-panel h1){
  font-family:var(--c708-display)!important;
  color:var(--c708-heritage-navy)!important;
  font-weight:700!important;
  letter-spacing:.075em!important;
  line-height:.96!important;
  text-transform:uppercase!important;
  text-wrap:balance;
}
body[class*="page-template-template-708c"] :is(.c708h-h2,.c708s-h2,.acct-h2,.iss-h2,.faq-section-h,.c708-prof-title,.c708-section-header__title,.c708-card h2,.c708-card h3,.c708c-card h3,.c708-pricing h2),
body.c708-divi-authority-page :is(h2,h3,.c708-edit-card h3){
  font-family:var(--c708-display)!important;
  color:var(--c708-heritage-navy)!important;
  font-weight:700!important;
  letter-spacing:.035em!important;
  line-height:1.04!important;
  text-wrap:balance;
}
body[class*="page-template-template-708c"] :is(.c708h-h1 em,.c708s-h1 em){
  font-family:var(--c708-display)!important;
  letter-spacing:.04em!important;
  color:var(--c708-heritage-gold)!important;
}
body[class*="page-template-template-708c"] :is(.c708h-lbl,.c708h-eyebrow,.c708s-lbl,.c708s-eyebrow,.acct-label,.acct-pill,.iss-label,.iss-pill,.faq-label,.faq-section-label,.c708-label,.c708c-label,.c708-prof-eyebrow,.c708-role-showcase__header span),
body.c708-divi-authority-page .c708-edit-kicker{
  color:var(--c708-heritage-gold)!important;
  font-family:var(--c708-ui)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.24em!important;
  text-transform:uppercase!important;
}
body[class*="page-template-template-708c"] :is(p,li,td,th,small,label,.c708h-sub,.c708h-hero-sub,.c708s-sub,.c708s-hero-sub,.acct-sub,.acct-hero-sub,.iss-sub,.iss-hero-sub,.faq-hero-sub,.faq-section-sub,.c708-prof-sub,.c708-desc,.c708c-note,.c708-empty__sub),
body.c708-divi-authority-page :is(p,li,small,label){
  font-family:var(--c708-ui)!important;
  color:var(--c708-heritage-steel)!important;
  line-height:1.78!important;
  letter-spacing:.01em!important;
}

/* Light editorial surfaces. */
.c708h-hero,.c708s-hero,.acct-hero,.iss-hero,.faq-hero,.c708-hero,.c708c-hero,
.c708h-badge-sec,.c708h-pillars,.c708h-how,.c708h-paths,.c708h-acct,
.c708s-how,.c708s-form-area,.acct-section,.iss-section,.faq-section,.c708-prof-section,
.c708-pricing,.c708c-contact,.c708-divi-editable-page .c708-edit-section{
  background:linear-gradient(180deg,rgba(255,252,246,.98) 0%,rgba(246,241,232,.96) 100%)!important;
  color:var(--c708-heritage-ink)!important;
}
.c708h-hero::before,.c708s-hero::before,.acct-hero::before,.iss-hero::before,.faq-hero::before,.c708-hero::before,.c708c-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:
    radial-gradient(circle at 8% 8%,rgba(216,199,164,.24),transparent 34%),
    radial-gradient(circle at 88% 12%,rgba(24,43,73,.055),transparent 38%)!important;
  opacity:1!important;
}
.c708h-hero::after,.c708s-hero::after,.acct-hero::after,.iss-hero::after,.faq-hero::after,.c708-hero::after,.c708c-hero::after{
  background:linear-gradient(90deg,transparent,rgba(167,134,84,.62),rgba(216,199,164,.72),rgba(167,134,84,.62),transparent)!important;
}

/* Intentional navy sections only — high contrast, no dark-on-dark. */
.c708h-cta-band,.c708s-support,.acct-section-navy,.iss-navy,.c708-divi-editable-page .c708-edit-section--navy{
  background:
    radial-gradient(circle at 16% 0%,rgba(216,199,164,.14),transparent 34%),
    linear-gradient(135deg,var(--c708-heritage-navy-2),var(--c708-heritage-navy))!important;
  color:var(--c708-heritage-ivory)!important;
  border-top:1px solid rgba(216,199,164,.28)!important;
  border-bottom:1px solid rgba(216,199,164,.22)!important;
}
.c708h-cta-band :is(h2,h3,p,li,span,a),
.c708s-support :is(h2,h3,p,li,span,a),
.acct-section-navy :is(h2,h3,p,li,span,a,.acct-label,.acct-sub-light,.acct-h2-light),
.iss-navy :is(h2,h3,p,li,span,a,.iss-label,.iss-sub-w,.iss-h2-w),
.c708-divi-editable-page .c708-edit-section--navy :is(h1,h2,h3,p,li,span,a){
  color:var(--c708-heritage-ivory)!important;
  -webkit-text-fill-color:var(--c708-heritage-ivory)!important;
}
.c708h-cta-band :is(.c708h-disclaimer,.c708h-cta-sub),
.c708s-support :is(.c708s-disclaimer,.c708s-support-sub),
.acct-section-navy :is(p,li,.acct-sub-light),
.iss-navy :is(p,li,.iss-sub-w),
.c708-divi-editable-page .c708-edit-section--navy :is(p,li){
  color:rgba(255,252,246,.82)!important;
  -webkit-text-fill-color:rgba(255,252,246,.82)!important;
}

/* Cards, panels, tables and proof boxes. */
body[class*="page-template-template-708c"] :is(.c708h-hook,.c708h-pillar,.c708h-step,.c708h-path,.c708h-tier,.c708h-dbox,.c708h-badge-mock,.c708s-card,.c708s-box,.c708s-step,.c708s-form-shell,.acct-step,.acct-feat,.acct-rem,.acct-trust-card,.iss-tier,.iss-comp-card,.iss-pack-card,.faq-item,.c708-card,.c708-prof-panel,.c708-prof-card,.c708c-card,.c708-empty,.c708-shell,.c708-app-scope .c708-card,.c708-app-scope .c708-panel),
body.c708-divi-authority-page :is(.c708-edit-panel,.c708-edit-card){
  background:linear-gradient(180deg,rgba(255,252,246,.96),rgba(248,244,236,.98))!important;
  border:1px solid rgba(167,134,84,.34)!important;
  color:var(--c708-heritage-ink)!important;
  box-shadow:0 18px 48px rgba(24,43,73,.10)!important;
}
body[class*="page-template-template-708c"] :is(.acct-feat,.iss-pack-card,.iss-comp-card){
  background:rgba(255,252,246,.08)!important;
  border-color:rgba(216,199,164,.32)!important;
}
body[class*="page-template-template-708c"] :is(.c708h-hook h4,.c708h-pillar h3,.c708h-step h3,.c708h-path h3,.c708h-tier h4,.c708h-dbox h4,.c708s-card h3,.c708s-box h3,.c708s-step h3,.acct-step h3,.acct-feat h3,.acct-trust-card h3,.iss-tier h3,.iss-comp-card h3,.faq-q-text,.c708-prof-card h3,.c708c-card h3,.c708-card h3),
body.c708-divi-authority-page .c708-edit-card h3{
  color:var(--c708-heritage-navy)!important;
  -webkit-text-fill-color:var(--c708-heritage-navy)!important;
}
body[class*="page-template-template-708c"] :is(.c708h-hook p,.c708h-pillar p,.c708h-step p,.c708h-path p,.c708h-tier p,.c708h-dbox p,.c708s-card p,.c708s-box p,.c708s-step p,.acct-step p,.acct-trust-card p,.iss-tier p,.iss-comp-card p,.faq-a,.c708-prof-card p,.c708c-card p,.c708-card p),
body.c708-divi-authority-page .c708-edit-card p{
  color:var(--c708-heritage-steel)!important;
  -webkit-text-fill-color:var(--c708-heritage-steel)!important;
}

/* Full-width approved imagery — show the supplied images accurately, not cropped or re-coloured. */
.c708-media-bleed,.c708-divi-editable-page .c708-edit-image-bleed{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  background:linear-gradient(180deg,#F8F4EC,#EEE4D4)!important;
  border-top:1px solid rgba(167,134,84,.22)!important;
  border-bottom:1px solid rgba(167,134,84,.22)!important;
  box-shadow:none!important;
}
.c708-media-bleed__stage,.c708-divi-editable-page .c708-edit-image-stage{
  width:100vw!important;
  max-width:100vw!important;
  min-height:0!important;
  display:block!important;
  background:transparent!important;
}
.c708-media-bleed__stage::before,.c708-media-bleed__stage::after,
.c708-divi-editable-page .c708-edit-image-stage::before,.c708-divi-editable-page .c708-edit-image-stage::after{
  content:none!important;
  display:none!important;
}
.c708-media-bleed__img,.c708-divi-editable-page .c708-edit-image-stage img{
  display:block!important;
  width:min(100vw,2048px)!important;
  max-width:100vw!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
}

/* Role cards sit underneath the collective image like editorial pathways. */
.c708-role-showcase{
  background:linear-gradient(180deg,var(--c708-heritage-ivory),var(--c708-heritage-cream))!important;
  border-top:1px solid rgba(167,134,84,.16)!important;
  border-bottom:1px solid rgba(167,134,84,.22)!important;
}
.c708-role-showcase__card{
  background:linear-gradient(180deg,#FFFCF6,#F4EEE3)!important;
  border:1px solid rgba(167,134,84,.38)!important;
  color:var(--c708-heritage-ink)!important;
  border-radius:14px!important;
  box-shadow:0 18px 48px rgba(24,43,73,.11)!important;
}
.c708-role-showcase__image{background:#F4EEE3!important;aspect-ratio:16/9!important;}
.c708-role-showcase__image::before{content:none!important;display:none!important;}
.c708-role-showcase__image img{object-fit:cover!important;object-position:center!important;filter:none!important;}
.c708-role-showcase__body{background:transparent!important;border-top:1px solid rgba(167,134,84,.18)!important;}
.c708-role-showcase__body strong{color:var(--c708-heritage-navy)!important;letter-spacing:.08em!important;text-transform:uppercase!important;}
.c708-role-showcase__body small{color:var(--c708-heritage-steel)!important;}

/* Buttons — calm banker palette, accessible contrast. */
body[class*="page-template-template-708c"] :is(.c708-btn,.c708h-btn,.c708s-btn,.acct-btn,.iss-btn,.faq-btn,.c708c-btn,.c708-edit-btn),
body.c708-divi-authority-page :is(.c708-edit-btn){
  border-radius:8px!important;
  min-height:46px!important;
  font-family:var(--c708-ui)!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
}
body[class*="page-template-template-708c"] :is(.c708-btn--primary,.c708-btn-primary,.c708-btn-navy,.c708h-btn-primary,.c708s-btn-primary,.acct-btn-p,.iss-btn-p,.c708c-btn,.c708-app-scope .c708-btn-primary,.c708-shell .c708-btn-primary),
body.c708-divi-authority-page .c708-edit-btn:not(.c708-edit-btn--outline){
  background:linear-gradient(135deg,var(--c708-heritage-navy-2),var(--c708-heritage-navy))!important;
  color:var(--c708-heritage-ivory)!important;
  -webkit-text-fill-color:var(--c708-heritage-ivory)!important;
  border:1px solid rgba(216,199,164,.48)!important;
  box-shadow:0 10px 26px rgba(24,43,73,.18)!important;
}
body[class*="page-template-template-708c"] :is(.c708-btn--secondary,.c708-btn-secondary,.c708-btn-outline,.c708h-btn-outline,.c708s-btn-outline,.acct-btn-o,.iss-btn-o,.faq-btn,.c708-app-scope .c708-btn-secondary,.c708-shell .c708-btn-secondary),
body.c708-divi-authority-page .c708-edit-btn--outline{
  background:rgba(255,252,246,.72)!important;
  color:var(--c708-heritage-navy)!important;
  -webkit-text-fill-color:var(--c708-heritage-navy)!important;
  border:1px solid rgba(167,134,84,.46)!important;
}
body[class*="page-template-template-708c"] :is(.c708-btn-gold,.c708h-btn-white,.c708s-btn-white,.faq-btn-w){
  background:linear-gradient(180deg,#FFFCF6,#EADCC5)!important;
  color:var(--c708-heritage-navy)!important;
  -webkit-text-fill-color:var(--c708-heritage-navy)!important;
  border:1px solid rgba(216,199,164,.72)!important;
}
body[class*="page-template-template-708c"] :is(.c708h-btn-outline-white,.c708s-btn-outline-white){
  color:var(--c708-heritage-ivory)!important;
  -webkit-text-fill-color:var(--c708-heritage-ivory)!important;
  border-color:rgba(216,199,164,.58)!important;
}

/* Forms and workflow fields — never light text on light cards. */
body[class*="page-template-template-708c"] :is(input,select,textarea,.c708-app-scope input,.c708-app-scope select,.c708-app-scope textarea,.c708-shell input,.c708-shell select,.c708-shell textarea){
  background:#FFFFFF!important;
  color:var(--c708-heritage-ink)!important;
  -webkit-text-fill-color:var(--c708-heritage-ink)!important;
  border:1px solid rgba(167,134,84,.42)!important;
  border-radius:10px!important;
  box-shadow:0 2px 0 rgba(255,255,255,.75) inset!important;
}
body[class*="page-template-template-708c"] :is(input::placeholder,textarea::placeholder){
  color:#8290A3!important;
  -webkit-text-fill-color:#8290A3!important;
  opacity:1!important;
}
body[class*="page-template-template-708c"] :is(label,.c708-label,.c708-note,.c708-required,.c708-cert-field__label){
  color:var(--c708-heritage-steel)!important;
  -webkit-text-fill-color:var(--c708-heritage-steel)!important;
}
.c708-app-scope .c708-step.active b,.c708-shell .c708-step.active b{
  background:var(--c708-heritage-navy)!important;
  color:var(--c708-heritage-champagne)!important;
}
.c708-app-scope .c708-choice.selected,.c708-shell .c708-choice.selected{
  background:#FFF8EA!important;
  border-color:var(--c708-heritage-gold)!important;
}

/* Tables: readable on mobile and desk. */
body[class*="page-template-template-708c"] table{border-color:rgba(167,134,84,.28)!important;}
body[class*="page-template-template-708c"] th{
  background:#EFE5D4!important;
  color:var(--c708-heritage-navy)!important;
  -webkit-text-fill-color:var(--c708-heritage-navy)!important;
}
body[class*="page-template-template-708c"] td{
  background:#FFFCF6!important;
  color:var(--c708-heritage-steel)!important;
  -webkit-text-fill-color:var(--c708-heritage-steel)!important;
}

/* Validation and certificate cards: preserve the mobile spacing refinements. */
.c708-validation-result,.c708-cert-preview,.c708-cert-artifact,.c708-cert{
  background:linear-gradient(180deg,#FFFCF6,#F5EEE2)!important;
  border-color:rgba(167,134,84,.42)!important;
  color:var(--c708-heritage-ink)!important;
}
.c708-validation-result :is(.c708-cert-field__value,.c708-cert-artifact__val-value,.c708-cert-preview__value){
  color:var(--c708-heritage-navy)!important;
  -webkit-text-fill-color:var(--c708-heritage-navy)!important;
}
.c708-badge--active,.c708-validation-result .c708-badge--active{
  background:#EAF3EA!important;
  color:#2F6848!important;
}

/* Header/footer old-money lock. */
.r708-gh,.r708-header-wrap .r708-gh,#main-header,#top-header{
  background:linear-gradient(135deg,#102238 0%,#182B49 68%,#203C62 100%)!important;
  background-color:#182B49!important;
  border-bottom:1px solid rgba(216,199,164,.28)!important;
  box-shadow:0 10px 30px rgba(16,34,56,.16)!important;
}
.r708-gh :is(a,button,.r708-gh-nav-label,.r708-gh-pill-text),#main-header :is(a),#top-header :is(a){
  color:rgba(255,252,246,.94)!important;
  -webkit-text-fill-color:rgba(255,252,246,.94)!important;
  letter-spacing:.08em!important;
}
.r708-gh :is(a:hover,button:hover,.r708-gh-nav-label:hover),#main-header a:hover,#top-header a:hover{
  color:var(--c708-heritage-champagne)!important;
  -webkit-text-fill-color:var(--c708-heritage-champagne)!important;
}
.r708-gh a.r708-gh-btn--primary,.r708-gh .r708-gh-btn--primary{
  background:linear-gradient(180deg,#F8F1E4,#D8C7A4)!important;
  color:#102238!important;
  -webkit-text-fill-color:#102238!important;
  border-color:rgba(216,199,164,.92)!important;
}
.r708-gh a.r708-gh-btn--ghost,.r708-gh .r708-gh-btn--ghost,.r708-gh .r708-gh-pill{
  background:rgba(255,252,246,.08)!important;
  color:rgba(255,252,246,.95)!important;
  -webkit-text-fill-color:rgba(255,252,246,.95)!important;
  border-color:rgba(216,199,164,.42)!important;
}
.f708{
  background:linear-gradient(135deg,#102238 0%,#182B49 70%,#233D63 100%)!important;
  color:rgba(255,252,246,.88)!important;
  border-top:1px solid rgba(216,199,164,.28)!important;
}
.f708 :is(a,p,span,div,li){color:rgba(255,252,246,.84)!important;-webkit-text-fill-color:rgba(255,252,246,.84)!important;}
.f708 :is(a:hover,.f708-wordmark em,.f708-col-label,.f708-cta-label){color:var(--c708-heritage-champagne)!important;-webkit-text-fill-color:var(--c708-heritage-champagne)!important;}
.f708 .f708-btn{background:linear-gradient(180deg,#F8F1E4,#D8C7A4)!important;color:#102238!important;-webkit-text-fill-color:#102238!important;}

/* Final contrast guardrails for light and dark contexts. */
body[class*="page-template-template-708c"] :is(.c708-section,.c708-wrap,.c708-prof-panel,.c708-prof-card,.c708-card,.c708-shell,.c708-app-scope,.c708-validation-result) :is(h1,h2,h3,h4,strong){
  color:var(--c708-heritage-navy)!important;
  -webkit-text-fill-color:var(--c708-heritage-navy)!important;
}
body[class*="page-template-template-708c"] :is(.acct-section-navy,.iss-navy,.c708h-cta-band,.c708s-support) :is(h1,h2,h3,h4,strong){
  color:var(--c708-heritage-ivory)!important;
  -webkit-text-fill-color:var(--c708-heritage-ivory)!important;
}
body[class*="page-template-template-708c"] :is(.acct-section-navy,.iss-navy,.c708h-cta-band,.c708s-support) :is(.acct-feat h3,.iss-comp-card h3,.iss-pack-card h3){
  color:var(--c708-heritage-ivory)!important;
  -webkit-text-fill-color:var(--c708-heritage-ivory)!important;
}
body[class*="page-template-template-708c"] :is(.acct-section-navy,.iss-navy) :is(.acct-feat p,.iss-comp-card p,.iss-pack-item){
  color:rgba(255,252,246,.82)!important;
  -webkit-text-fill-color:rgba(255,252,246,.82)!important;
}

@media(max-width:980px){
  .c708-media-bleed__img,.c708-divi-editable-page .c708-edit-image-stage img{width:100vw!important;max-width:100vw!important;}
  .c708-role-showcase__grid{grid-template-columns:1fr!important;}
  body[class*="page-template-template-708c"] :is(.c708h-h1,.c708s-h1,.acct-h1,.iss-h1,.faq-h1,.c708-hero h1,.c708c-hero h1){
    font-size:clamp(36px,9vw,58px)!important;
    letter-spacing:.055em!important;
    line-height:.98!important;
  }
}
@media(max-width:640px){
  body[class*="page-template-template-708c"] :is(.c708h-hero,.c708s-hero,.acct-hero,.iss-hero,.faq-hero,.c708-hero,.c708c-hero){
    padding-top:52px!important;
    padding-bottom:46px!important;
  }
  body[class*="page-template-template-708c"] :is(.c708h-hooks,.c708h-pillar-grid,.c708h-steps,.c708h-path-grid,.c708s-grid3,.c708s-steps,.acct-steps,.acct-features,.iss-tiers,.iss-pack-grid,.faq-tabs,.c708-grid,.c708-prof-grid,.c708c-grid){
    grid-template-columns:1fr!important;
  }
  body[class*="page-template-template-708c"] :is(.c708h-hook,.c708h-pillar,.c708h-step,.c708h-path,.c708s-box,.c708s-step,.acct-step,.iss-tier,.faq-item,.c708-card,.c708-prof-card,.c708c-card){
    border-radius:14px!important;
    padding:20px!important;
  }
  .c708-app-scope .c708-steps,.c708-shell .c708-steps{grid-template-columns:repeat(2,1fr)!important;}
  .r708-gh-btn,.f708-btn{width:100%!important;justify-content:center!important;}
}


/* ============================================================
   708C v4.2.33 / Platform v2.3.28 — FINAL CONTRAST REPAIR
   Purpose: preserve the working engine while permanently removing
   white-on-light / dark-on-dark failures across Divi, theme templates,
   plugin-rendered workflow cards, header navigation and footer chrome.
   ============================================================ */
:root{
  --c708-final-navy:#182B49;
  --c708-final-navy-2:#102238;
  --c708-final-ink:#14243A;
  --c708-final-copy:#344457;
  --c708-final-muted:#5F6D82;
  --c708-final-gold:#A78654;
  --c708-final-gold-2:#C4A77A;
  --c708-final-champagne:#D8C7A4;
  --c708-final-ivory:#FFFCF6;
  --c708-final-cream:#F6F1E8;
  --c708-final-linen:#EFE7D8;
  --c708-final-line:rgba(167,134,84,.36);
}

html body[class*="page-template-template-708c"],
html body.c708-divi-authority-page{
  background:linear-gradient(180deg,var(--c708-final-ivory) 0%,var(--c708-final-cream) 54%,#F3ECE0 100%)!important;
  color:var(--c708-final-ink)!important;
  -webkit-text-fill-color:initial!important;
}
html body[class*="page-template-template-708c"] #main-content,
html body.c708-divi-authority-page #main-content{background:transparent!important;}

/* Header / menu chrome — old-money navy with readable ivory links. */
html body #main-header,
html body #top-header,
html body .et-l--header,
html body .r708-gh,
html body .r708-header-wrap .r708-gh{
  background:linear-gradient(135deg,#102238 0%,#182B49 68%,#233D63 100%)!important;
  background-color:#182B49!important;
  border-bottom:1px solid rgba(216,199,164,.34)!important;
  box-shadow:0 10px 30px rgba(16,34,56,.18)!important;
}
html body #main-header a,
html body #top-header a,
html body #top-menu>li>a,
html body #et-top-navigation nav>ul>li>a,
html body .r708-gh a,
html body .r708-gh button,
html body .r708-gh .r708-gh-nav-label,
html body .r708-gh .r708-gh-pill-text{
  color:rgba(255,252,246,.96)!important;
  -webkit-text-fill-color:rgba(255,252,246,.96)!important;
  opacity:1!important;
  text-shadow:none!important;
}
html body #main-header a:hover,
html body #top-header a:hover,
html body #top-menu>li.current-menu-item>a,
html body #top-menu>li.current_page_item>a,
html body #top-menu>li>a:hover,
html body .r708-gh a:hover,
html body .r708-gh button:hover,
html body .r708-gh .r708-gh-nav-label:hover{
  color:var(--c708-final-champagne)!important;
  -webkit-text-fill-color:var(--c708-final-champagne)!important;
}
html body #main-header .nav li ul,
html body #main-header .et_mobile_menu,
html body .et_mobile_menu,
html body .nav li ul{
  background:var(--c708-final-ivory)!important;
  border-top:3px solid var(--c708-final-gold)!important;
  box-shadow:0 18px 48px rgba(16,34,56,.18)!important;
}
html body #main-header .nav li ul a,
html body #top-menu li li a,
html body .et_mobile_menu li a,
html body .nav li ul a{
  color:var(--c708-final-navy)!important;
  -webkit-text-fill-color:var(--c708-final-navy)!important;
  opacity:1!important;
}
html body #main-header .nav li ul a:hover,
html body #top-menu li li a:hover,
html body .et_mobile_menu li a:hover{
  color:var(--c708-final-gold)!important;
  -webkit-text-fill-color:var(--c708-final-gold)!important;
  background:rgba(167,134,84,.10)!important;
}
html body .mobile_menu_bar:before{color:var(--c708-final-champagne)!important;-webkit-text-fill-color:var(--c708-final-champagne)!important;}
html body .r708-gh a.r708-gh-btn--primary,
html body .r708-gh .r708-gh-btn--primary{
  background:linear-gradient(180deg,#FFFCF6,#D8C7A4)!important;
  color:#102238!important;
  -webkit-text-fill-color:#102238!important;
  border-color:rgba(216,199,164,.92)!important;
}
html body .r708-gh a.r708-gh-btn--ghost,
html body .r708-gh .r708-gh-btn--ghost,
html body .r708-gh .r708-gh-pill{
  background:rgba(255,252,246,.10)!important;
  color:rgba(255,252,246,.96)!important;
  -webkit-text-fill-color:rgba(255,252,246,.96)!important;
  border-color:rgba(216,199,164,.48)!important;
}

/* Footer chrome — same palette as header, never light-on-light. */
html body #main-footer,
html body #footer-bottom,
html body .et-l--footer,
html body .f708{
  background:linear-gradient(135deg,#102238 0%,#182B49 70%,#233D63 100%)!important;
  background-color:#182B49!important;
  color:rgba(255,252,246,.90)!important;
  border-top:1px solid rgba(216,199,164,.32)!important;
}
html body #main-footer a,
html body #footer-bottom a,
html body #footer-info,
html body .et-l--footer :is(a,p,span,div,li,strong),
html body .f708 :is(a,p,span,div,li,strong){
  color:rgba(255,252,246,.88)!important;
  -webkit-text-fill-color:rgba(255,252,246,.88)!important;
  opacity:1!important;
}
html body .f708 :is(a:hover,.f708-wordmark em,.f708-col-label,.f708-cta-label),
html body #main-footer a:hover,
html body #footer-bottom a:hover{
  color:var(--c708-final-champagne)!important;
  -webkit-text-fill-color:var(--c708-final-champagne)!important;
}
html body .f708 .f708-btn{
  background:linear-gradient(180deg,#FFFCF6,#D8C7A4)!important;
  color:#102238!important;
  -webkit-text-fill-color:#102238!important;
}

/* Base readable typography for every 708C page surface. */
html body[class*="page-template-template-708c"] :is(.acct,.iss,.c708h,.c708s,.faq,.c708-pricing,.c708c-contact,.c708-prof-section,.c708-divi-editable-page,.c708-app-scope,.c708-shell),
html body.c708-divi-authority-page :is(.c708-divi-editable-page,.c708-edit-section){
  color:var(--c708-final-ink)!important;
  -webkit-text-fill-color:initial!important;
}
html body[class*="page-template-template-708c"] :is(.acct,.iss,.c708h,.c708s,.faq,.c708-pricing,.c708c-contact,.c708-prof-section,.c708-divi-editable-page,.c708-app-scope,.c708-shell) :is(h1,h2,h3,h4,h5,h6,strong,b),
html body.c708-divi-authority-page :is(h1,h2,h3,h4,h5,h6,strong,b){
  color:var(--c708-final-navy)!important;
  -webkit-text-fill-color:var(--c708-final-navy)!important;
  opacity:1!important;
  text-shadow:none!important;
}
html body[class*="page-template-template-708c"] :is(.acct,.iss,.c708h,.c708s,.faq,.c708-pricing,.c708c-contact,.c708-prof-section,.c708-divi-editable-page,.c708-app-scope,.c708-shell) :is(p,li,td,th,small,label,span),
html body.c708-divi-authority-page :is(p,li,small,label,span){
  color:var(--c708-final-copy)!important;
  -webkit-text-fill-color:var(--c708-final-copy)!important;
  opacity:1!important;
  text-shadow:none!important;
}
html body[class*="page-template-template-708c"] :is(.acct-label,.iss-label,.c708h-eyebrow,.c708s-eyebrow,.faq-label,.faq-section-label,.c708-label,.c708c-label,.c708-prof-eyebrow,.c708-edit-kicker){
  color:var(--c708-final-gold)!important;
  -webkit-text-fill-color:var(--c708-final-gold)!important;
}

/* Light cards: solid ivory cards with dark readable text. */
html body[class*="page-template-template-708c"] :is(.acct-step,.acct-feat,.acct-rem,.acct-trust-card,.iss-tier,.iss-comp-card,.iss-pack-card,.c708h-hook,.c708h-pillar,.c708h-step,.c708h-path,.c708h-tier,.c708h-dbox,.c708s-card,.c708s-box,.c708s-step,.c708s-form-shell,.faq-item,.c708-card,.c708-prof-panel,.c708-prof-card,.c708c-card,.c708-empty,.c708-shell,.c708-app-scope .c708-card,.c708-app-scope .c708-panel,.c708-divi-editable-page .c708-edit-panel,.c708-divi-editable-page .c708-edit-card){
  background:linear-gradient(180deg,#FFFCF6,#F6F1E8)!important;
  border:1px solid var(--c708-final-line)!important;
  color:var(--c708-final-ink)!important;
  -webkit-text-fill-color:initial!important;
  box-shadow:0 16px 42px rgba(24,43,73,.09)!important;
}
html body[class*="page-template-template-708c"] :is(.acct-step,.acct-feat,.acct-rem,.acct-trust-card,.iss-tier,.iss-comp-card,.iss-pack-card,.c708h-hook,.c708h-pillar,.c708h-step,.c708h-path,.c708h-tier,.c708h-dbox,.c708s-card,.c708s-box,.c708s-step,.faq-item,.c708-card,.c708-prof-card,.c708c-card,.c708-divi-editable-page .c708-edit-card) :is(h1,h2,h3,h4,h5,h6,strong,b),
html body.c708-divi-authority-page :is(.c708-edit-card,.c708-edit-panel) :is(h1,h2,h3,h4,strong,b){
  color:var(--c708-final-navy)!important;
  -webkit-text-fill-color:var(--c708-final-navy)!important;
  opacity:1!important;
}
html body[class*="page-template-template-708c"] :is(.acct-step,.acct-feat,.acct-rem,.acct-trust-card,.iss-tier,.iss-comp-card,.iss-pack-card,.c708h-hook,.c708h-pillar,.c708h-step,.c708h-path,.c708h-tier,.c708h-dbox,.c708s-card,.c708s-box,.c708s-step,.faq-item,.c708-card,.c708-prof-card,.c708c-card,.c708-divi-editable-page .c708-edit-card) :is(p,li,small,span,label,td,th),
html body.c708-divi-authority-page :is(.c708-edit-card,.c708-edit-panel) :is(p,li,small,span,label){
  color:var(--c708-final-copy)!important;
  -webkit-text-fill-color:var(--c708-final-copy)!important;
  opacity:1!important;
}

/* Dark bands are permitted only when their immediate copy is light. Cards inside them remain light/readable. */
html body[class*="page-template-template-708c"] .acct .acct-section-navy,
html body[class*="page-template-template-708c"] .iss .iss-navy,
html body[class*="page-template-template-708c"] .c708h .c708h-cta-band{
  background:radial-gradient(circle at 16% 0%,rgba(216,199,164,.14),transparent 34%),linear-gradient(135deg,var(--c708-final-navy-2),var(--c708-final-navy))!important;
  color:var(--c708-final-ivory)!important;
  border-top:1px solid rgba(216,199,164,.34)!important;
  border-bottom:1px solid rgba(216,199,164,.26)!important;
}
html body[class*="page-template-template-708c"] .acct .acct-section-navy>.acct-inner>:is(.acct-h2,.acct-h2-light,h2),
html body[class*="page-template-template-708c"] .iss .iss-navy>.iss-inner>:is(.iss-h2,.iss-h2-w,h2),
html body[class*="page-template-template-708c"] .c708h .c708h-cta-band :is(h2,h3,strong){
  color:var(--c708-final-ivory)!important;
  -webkit-text-fill-color:var(--c708-final-ivory)!important;
}
html body[class*="page-template-template-708c"] .acct .acct-section-navy>.acct-inner>:is(.acct-sub,.acct-sub-light,p),
html body[class*="page-template-template-708c"] .iss .iss-navy>.iss-inner>:is(.iss-sub,.iss-sub-w,p),
html body[class*="page-template-template-708c"] .c708h .c708h-cta-band :is(p,li,span){
  color:rgba(255,252,246,.84)!important;
  -webkit-text-fill-color:rgba(255,252,246,.84)!important;
}
html body[class*="page-template-template-708c"] .acct .acct-section-navy>.acct-inner>.acct-label,
html body[class*="page-template-template-708c"] .iss .iss-navy>.iss-inner>.iss-label{
  color:var(--c708-final-champagne)!important;
  -webkit-text-fill-color:var(--c708-final-champagne)!important;
}
html body[class*="page-template-template-708c"] .acct .acct-section-navy :is(.acct-feat,.acct-trust-card),
html body[class*="page-template-template-708c"] .iss .iss-navy :is(.iss-pack-card,.iss-comp-card){
  background:linear-gradient(180deg,#FFFCF6,#F6F1E8)!important;
  border:1px solid rgba(216,199,164,.46)!important;
  color:var(--c708-final-ink)!important;
  -webkit-text-fill-color:initial!important;
}
html body[class*="page-template-template-708c"] .acct .acct-section-navy :is(.acct-feat,.acct-trust-card) :is(h3,h4,strong,b),
html body[class*="page-template-template-708c"] .iss .iss-navy :is(.iss-pack-card,.iss-comp-card) :is(h3,h4,strong,b){
  color:var(--c708-final-navy)!important;
  -webkit-text-fill-color:var(--c708-final-navy)!important;
}
html body[class*="page-template-template-708c"] .acct .acct-section-navy :is(.acct-feat,.acct-trust-card) :is(p,li,span,small),
html body[class*="page-template-template-708c"] .iss .iss-navy :is(.iss-pack-card,.iss-comp-card) :is(p,li,span,small,.iss-pack-item){
  color:var(--c708-final-copy)!important;
  -webkit-text-fill-color:var(--c708-final-copy)!important;
}

/* Start page return/validate CTA: light section with readable buttons. */
html body[class*="page-template-template-708c"] .c708s .c708s-support{
  background:linear-gradient(180deg,#FFFCF6,#F2EADD)!important;
  color:var(--c708-final-ink)!important;
  border-top:1px solid rgba(167,134,84,.24)!important;
  border-bottom:1px solid rgba(167,134,84,.24)!important;
}
html body[class*="page-template-template-708c"] .c708s .c708s-support :is(h2,h3,strong){
  color:var(--c708-final-navy)!important;
  -webkit-text-fill-color:var(--c708-final-navy)!important;
}
html body[class*="page-template-template-708c"] .c708s .c708s-support :is(p,span,.c708s-support-sub,.c708s-disclaimer){
  color:var(--c708-final-copy)!important;
  -webkit-text-fill-color:var(--c708-final-copy)!important;
  opacity:1!important;
}
html body[class*="page-template-template-708c"] .c708s .c708s-support .c708s-btn-white,
html body[class*="page-template-template-708c"] .c708s .c708s-support .c708s-btn-outline-white{
  background:#FFFCF6!important;
  color:var(--c708-final-navy)!important;
  -webkit-text-fill-color:var(--c708-final-navy)!important;
  border:1px solid rgba(167,134,84,.48)!important;
  box-shadow:0 8px 22px rgba(24,43,73,.08)!important;
}
html body[class*="page-template-template-708c"] .c708s .c708s-support .c708s-btn-white:first-child{
  background:linear-gradient(135deg,var(--c708-final-navy-2),var(--c708-final-navy))!important;
  color:var(--c708-final-ivory)!important;
  -webkit-text-fill-color:var(--c708-final-ivory)!important;
}

/* Workflow/plugin fields, validation results and evidence boxes. */
html body[class*="page-template-template-708c"] :is(.c708-app-scope,.c708-shell,.c708s-form-body) :is(.c708-card,.c708-panel,.c708-choice,.c708-summary-card,.c708-review-summary,.c708-final-review,.c708-validation-result,.c708-cert-preview,.c708-cert-artifact,.c708-empty,.c708-table-wrap){
  background:linear-gradient(180deg,#FFFCF6,#F6F1E8)!important;
  color:var(--c708-final-ink)!important;
  -webkit-text-fill-color:initial!important;
  border-color:var(--c708-final-line)!important;
}
html body[class*="page-template-template-708c"] :is(.c708-app-scope,.c708-shell,.c708s-form-body) :is(.c708-card,.c708-panel,.c708-choice,.c708-summary-card,.c708-review-summary,.c708-final-review,.c708-validation-result,.c708-cert-preview,.c708-cert-artifact,.c708-empty,.c708-table-wrap) :is(h1,h2,h3,h4,strong,b,.c708-cert-field__value,.c708-cert-artifact__val-value){
  color:var(--c708-final-navy)!important;
  -webkit-text-fill-color:var(--c708-final-navy)!important;
}
html body[class*="page-template-template-708c"] :is(.c708-app-scope,.c708-shell,.c708s-form-body) :is(.c708-card,.c708-panel,.c708-choice,.c708-summary-card,.c708-review-summary,.c708-final-review,.c708-validation-result,.c708-cert-preview,.c708-cert-artifact,.c708-empty,.c708-table-wrap) :is(p,li,small,span,label,td,th,.c708-cert-field__label,.c708-cert-preview__sub,.c708-cert-preview__live-note){
  color:var(--c708-final-copy)!important;
  -webkit-text-fill-color:var(--c708-final-copy)!important;
  opacity:1!important;
}
html body[class*="page-template-template-708c"] :is(input,select,textarea){
  background:#FFFFFF!important;
  color:var(--c708-final-ink)!important;
  -webkit-text-fill-color:var(--c708-final-ink)!important;
  border-color:rgba(167,134,84,.42)!important;
}
html body[class*="page-template-template-708c"] :is(input::placeholder,textarea::placeholder){
  color:#7C8798!important;
  -webkit-text-fill-color:#7C8798!important;
  opacity:1!important;
}

/* Buttons remain readable in every context. */
html body[class*="page-template-template-708c"] :is(.c708-btn--primary,.c708-btn-primary,.c708-btn-navy,.c708h-btn-primary,.c708s-btn-primary,.acct-btn-p,.iss-btn-p,.c708c-btn,.c708-edit-btn:not(.c708-edit-btn--outline)){
  background:linear-gradient(135deg,var(--c708-final-navy-2),var(--c708-final-navy))!important;
  color:var(--c708-final-ivory)!important;
  -webkit-text-fill-color:var(--c708-final-ivory)!important;
  border:1px solid rgba(216,199,164,.52)!important;
}
html body[class*="page-template-template-708c"] :is(.c708-btn--secondary,.c708-btn-secondary,.c708-btn-outline,.c708h-btn-outline,.c708s-btn-outline,.acct-btn-o,.iss-btn-o,.faq-btn,.c708-edit-btn--outline){
  background:#FFFCF6!important;
  color:var(--c708-final-navy)!important;
  -webkit-text-fill-color:var(--c708-final-navy)!important;
  border:1px solid rgba(167,134,84,.48)!important;
}

/* Last-mile repair for any text-fill inherited from old CSS caches. */
html body[class*="page-template-template-708c"] :is(.acct-feat,.acct-trust-card,.iss-pack-card,.iss-comp-card,.iss-tier,.c708-card,.c708-prof-card,.c708c-card,.c708s-box,.c708s-step,.c708s-card) *{
  opacity:1!important;
  text-shadow:none!important;
}

@media(max-width:640px){
  html body[class*="page-template-template-708c"] :is(.acct-section,.iss-section,.c708s-support){padding-top:48px!important;padding-bottom:48px!important;}
  html body[class*="page-template-template-708c"] :is(.acct-feat,.acct-trust-card,.iss-pack-card,.iss-comp-card,.iss-tier,.c708-card,.c708-prof-card,.c708c-card,.c708s-box,.c708s-step){padding:20px!important;border-radius:14px!important;}
}
