/* Cream surfaces, navy navigation and orange primary actions. This layer
   loads last so its selectors can override older component rules. */

:root {
	--lt-action: #FF7A1A;
	--lt-action-hover: #FF903D;
	--lt-ink: #1E2A5A;
	--lt-ink-2: #2A365F;
	--lt-muted: #565C70;
	--lt-bone: #F7F3EA;
	--lt-bone-soft: #F2ECE0;
	--lt-line: #E3DACB;
	--lt-line-strong: #CFC4B5;
	--lt-haze: rgba(30, 42, 90, .32);
	/* Panels and dialog heads are white now; the names stay so nothing moves. */
	--lt-sand: #FFFFFF;
	--lt-sand-hover: #F2ECE0;
	--lt-sand-line: #E3DACB;
	/* Light links and labels on the navy sidebar. */
	--lt-side: #1E2A5A;
	--lt-side-hi: #354270;
	--lt-side-line: #475680;
	--lt-side-text: #F7F3EA;
	--lt-side-faint: #CBD1E7;
	--lt-radius: 10px;
	--lt-shadow: 0 1px 2px rgba(30, 42, 90, .04);
	--lt-shadow-overlay: 0 12px 32px rgba(30, 42, 90, .14);
}

/* ── 1. Backdrops: a soft navy dim behind dialogs and drawers ─────────── */
html:not(#icms-l1):not(#icms-l2) body .modal-overlay:not(.is-page),
html:not(#icms-l1):not(#icms-l2) body .icms-auth-overlay,
html:not(#icms-l1):not(#icms-l2) body .icms-supm,
html:not(#icms-l1):not(#icms-l2) body .icms-pay,
html:not(#icms-l1):not(#icms-l2) body .icms-prices-overlay,
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__scrim,
html:not(#icms-l1):not(#icms-l2) body .icms-mnav-scrim,
html:not(#icms-l1):not(#icms-l2) body .adm-scrim,
html:not(#icms-l1):not(#icms-l2) body .adm-usheet-scrim,
html:not(#icms-l1):not(#icms-l2) body .adm-pay-modal,
html:not(#icms-l1):not(#icms-l2) body .report-preview-backdrop,
html:not(#icms-l1):not(#icms-l2) body .notes-modal:not(.is-page) {
	background-color: var(--lt-haze) !important;
}
html:not(#icms-l1):not(#icms-l2) body .pfm-avatar-hover { background-color: rgba(30, 42, 90, .55) !important; }

/* ── 2. Primary actions: orange with navy labels ─────────────────────────────────── */
html:not(#icms-l1):not(#icms-l2) body .btn-primary,
html:not(#icms-l1):not(#icms-l2) body .mbtn:not(.secondary):not(.mbtn--ghost):not(.mbtn-secondary),
html:not(#icms-l1):not(#icms-l2) body .icms-auth-submit,
html:not(#icms-l1):not(#icms-l2) body .icms-fp-submit,
html:not(#icms-l1):not(#icms-l2) body .pfm-mini--go,
html:not(#icms-l1):not(#icms-l2) body .icc-accept,
html:not(#icms-l1):not(#icms-l2) body .iui-btn--primary,
html:not(#icms-l1):not(#icms-l2) body .icms-btn--primary,
html:not(#icms-l1):not(#icms-l2) body .adm-btn--primary,
html:not(#icms-l1):not(#icms-l2) body .adm-acct-btn,
html:not(#icms-l1):not(#icms-l2) body .adm-pay-btn.is-primary,
html:not(#icms-l1):not(#icms-l2) body .rp-btn-primary,
html:not(#icms-l1):not(#icms-l2) body .icms-price-pick,
html:not(#icms-l1):not(#icms-l2) body .wm-skip,
html:not(#icms-l1):not(#icms-l2) body .dlzip,
html:not(#icms-l1):not(#icms-l2) body .dl-inline,
html:not(#icms-l1):not(#icms-l2) body .icms-pay__go,
html:not(#icms-l1):not(#icms-l2) body #bundleModal #bundleProceedBtn,
html:not(#icms-l1):not(#icms-l2) body #planModal .icms-plan-pay-btn,
html:not(#icms-l1):not(#icms-l2) body #generateBtn,
html:not(#icms-l1):not(#icms-l2) body .btn.btn-gold.icms-btn-pill,
html:not(#icms-l1):not(#icms-l2) body .notes-btn--gold,
html:not(#icms-l1):not(#icms-l2) body .icms-hero-primary,
html:not(#icms-l1):not(#icms-l2) body .icms-mnav-cta,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-sticky__b,
html:not(#icms-l1):not(#icms-l2) body .dnav-cta,
html:not(#icms-l1):not(#icms-l2) body .ref-btn-primary,
html:not(#icms-l1):not(#icms-l2) body .md-btn--primary,
html:not(#icms-l1):not(#icms-l2) body .exam-zip-btn[onclick*="'docx'"],
html:not(#icms-l1):not(#icms-l2) body .icms-app-cta-card--generate .icms-app-cta-card-btn {
	background-color: var(--lt-action) !important;
	border-color: var(--lt-action) !important;
	color: var(--lt-ink) !important;
	box-shadow: none !important;
}
html:not(#icms-l1):not(#icms-l2) body .btn-primary:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body .mbtn:not(.secondary):not(.mbtn--ghost):not(.mbtn-secondary):hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body .icms-auth-submit:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body .icms-fp-submit:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body .pfm-mini--go:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body .icc-accept:hover,
html:not(#icms-l1):not(#icms-l2) body .iui-btn--primary:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-btn--primary:hover,
html:not(#icms-l1):not(#icms-l2) body .adm-btn--primary:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body .adm-acct-btn:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body .adm-pay-btn.is-primary:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body .rp-btn-primary:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-price-pick:hover,
html:not(#icms-l1):not(#icms-l2) body .dlzip:hover,
html:not(#icms-l1):not(#icms-l2) body .dl-inline:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-pay__go:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body #bundleModal #bundleProceedBtn:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body #planModal .icms-plan-pay-btn:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body #generateBtn:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body .btn.btn-gold.icms-btn-pill:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body .notes-btn--gold:hover:not(:disabled),
html:not(#icms-l1):not(#icms-l2) body .icms-hero-primary:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-mnav-cta:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-sticky__b:hover,
html:not(#icms-l1):not(#icms-l2) body .dnav-cta:hover,
html:not(#icms-l1):not(#icms-l2) body .ref-btn-primary:hover,
html:not(#icms-l1):not(#icms-l2) body .md-btn--primary:hover,
html:not(#icms-l1):not(#icms-l2) body .exam-zip-btn[onclick*="'docx'"]:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-app-cta-card--generate .icms-app-cta-card-btn:hover {
	background-color: var(--lt-action-hover) !important;
	border-color: var(--lt-action-hover) !important;
	color: var(--lt-ink) !important;
}
html:not(#icms-l1):not(#icms-l2) body .btn-primary *,
html:not(#icms-l1):not(#icms-l2) body .icms-auth-submit *,
html:not(#icms-l1):not(#icms-l2) body .icms-fp-submit *,
html:not(#icms-l1):not(#icms-l2) body .adm-acct-btn *,
html:not(#icms-l1):not(#icms-l2) body .adm-btn--primary *,
html:not(#icms-l1):not(#icms-l2) body .icms-pay__go * { color: inherit !important; }

/* Secondary actions: white, 1px stone border, navy text, stone hover. */
html:not(#icms-l1):not(#icms-l2) body .icms-hero-signin,
html:not(#icms-l1):not(#icms-l2) body .icms-hero-secondary,
html:not(#icms-l1):not(#icms-l2) body .iui-btn--secondary,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-cat__cta,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-offer__cta,
html:not(#icms-l1):not(#icms-l2) body .icms-guide-btn--ghost,
html:not(#icms-l1):not(#icms-l2) body .icms-mnav-signin,
html:not(#icms-l1):not(#icms-l2) body .btn-ghost,
html:not(#icms-l1):not(#icms-l2) body .mbtn.secondary,
html:not(#icms-l1):not(#icms-l2) body .mbtn--ghost,
html:not(#icms-l1):not(#icms-l2) body .mbtn-secondary,
html:not(#icms-l1):not(#icms-l2) body .icms-hero-action--demo,
html:not(#icms-l1):not(#icms-l2) body .exam-paper-btn,
html:not(#icms-l1):not(#icms-l2) body .exam-zip-btn[onclick*="'pdf'"],
html:not(#icms-l1):not(#icms-l2) body .icms-lib-btn {
	background-color: #fff !important;
	color: var(--lt-ink) !important;
	border: 1px solid var(--lt-line) !important;
	box-shadow: none !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-hero-signin:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-hero-secondary:hover,
html:not(#icms-l1):not(#icms-l2) body .iui-btn--secondary:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-cat__cta:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-cat--lead .icms-lp-cat__cta:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-offer__cta:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-guide-btn--ghost:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-mnav-signin:hover,
html:not(#icms-l1):not(#icms-l2) body .btn-ghost:hover,
html:not(#icms-l1):not(#icms-l2) body .mbtn.secondary:hover,
html:not(#icms-l1):not(#icms-l2) body .mbtn--ghost:hover,
html:not(#icms-l1):not(#icms-l2) body .mbtn-secondary:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-hero-action--demo:hover,
html:not(#icms-l1):not(#icms-l2) body .exam-paper-btn:hover,
html:not(#icms-l1):not(#icms-l2) body .exam-zip-btn[onclick*="'pdf'"]:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-lib-btn:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-form .icms-course-change:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-lib-overlay.is-page .icms-lib-x:hover,
html:not(#icms-l1):not(#icms-l2) body #icmsBillingPanel.is-page .icms-lib-x--page:hover {
	background-color: var(--lt-bone-soft) !important;
	border-color: var(--lt-line-strong) !important;
	color: var(--lt-ink) !important;
}
/* Assessment result cards (live 2026-11-24): "Download all as Word" is the one
   primary; the PDF ZIP and the per-file Word / PDF buttons are secondary. */
html:not(#icms-l1):not(#icms-l2) body :is(.exam-paper-btn, .exam-zip-btn[onclick*="'pdf'"], .icms-lib-btn) * { color: inherit !important; }
html:not(#icms-l1):not(#icms-l2) body .exam-paper-card-icon {
	background-color: var(--lt-bone-soft) !important;
	border: 1px solid var(--lt-line) !important;
	color: var(--lt-ink) !important;
	box-shadow: none !important;
}
html:not(#icms-l1):not(#icms-l2) body .exam-paper-card-icon * { color: var(--lt-ink) !important; }

/* Menu toggles: white with navy bars drawn by the shared icon. */
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__burger,
html:not(#icms-l1):not(#icms-l2) body .icms-mnav-mobile-toggle,
html:not(#icms-l1):not(#icms-l2) body .adm-burger {
	background-color: #fff !important;
	color: var(--lt-ink) !important;
	border: 1px solid var(--lt-line) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__burger:hover,
html:not(#icms-l1):not(#icms-l2) body .icms-mnav-mobile-toggle:hover,
html:not(#icms-l1):not(#icms-l2) body .adm-burger:hover { background-color: var(--lt-bone-soft) !important; }

/* ── 3. Selected states: active step, segments, tabs ──────────────────────── */
html:not(#icms-l1):not(#icms-l2) body .icms-step.active,
html:not(#icms-l1):not(#icms-l2) body .icms-step.is-active,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-price__m.is-on,
html:not(#icms-l1):not(#icms-l2) body .ov-chip.is-active,
html:not(#icms-l1):not(#icms-l2) body .pay-subtab.is-active,
html:not(#icms-l1):not(#icms-l2) body .adm-genseg__b.is-on,
html:not(#icms-l1):not(#icms-l2) body .v2-trend-btn.active,
html:not(#icms-l1):not(#icms-l2) body .tab.on,
html:not(#icms-l1):not(#icms-l2) body .tab.active,
html:not(#icms-l1):not(#icms-l2) body .pb-btn.on,
html:not(#icms-l1):not(#icms-l2) body .docbtn.on {
	background-color: var(--lt-ink) !important;
	border-color: var(--lt-ink) !important;
	color: #fff !important;
	box-shadow: none !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-step.active *,
html:not(#icms-l1):not(#icms-l2) body .icms-step.is-active *,
html:not(#icms-l1):not(#icms-l2) body .tab.active * { color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .tab.tab-assess:not(.active) { color: var(--lt-ink) !important; }

/* Completion indicators. */
html:not(#icms-l1):not(#icms-l2) body .step.done {
	background-color: var(--lt-bone-soft) !important;
	border-color: var(--lt-line) !important;
	color: var(--lt-ink) !important;
}
html:not(#icms-l1):not(#icms-l2) body .step.done .step-number,
html:not(#icms-l1):not(#icms-l2) body .pay-step.done .pnum,
html:not(#icms-l1):not(#icms-l2) body .icms-pay__tick,
html:not(#icms-l1):not(#icms-l2) body #adminPanel .adm-pr-steps button.is-done b {
	background-color: var(--lt-ink) !important;
	border-color: var(--lt-ink) !important;
	color: #fff !important;
}

/* ── 4a. Icons normally inherit nearby text. Standalone checkmarks are green. ─────────────────────── */
html:not(#icms-l1):not(#icms-l2) body :is(i.fas, i.far, i.fa-solid, i.fa-regular):not(.fa-spinner):not(.fa-circle-notch) { color: inherit !important; }
html:not(#icms-l1):not(#icms-l2) body :is(i.fa-check, i.fa-check-circle, i.fa-circle-check, i.fa-check-double):not(button *):not(a *):not(.icms-sidebar *):not(.adm-rail *):not(.icms-pay__tick *):not(.step *):not(.pay-step *):not(.adm-pr-steps *):not(.adm-pill *) { color: #166534 !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-pay__tick i { color: #fff !important; }
/* Icon wrappers named *-ic / *__ic across the modules carried the rust ramp
   as their text colour; their glyphs are navy now. */
html:not(#icms-l1):not(#icms-l2) body :is([class$="-ic"], [class*="-ic "], [class*="__ic"]):not(.icms-sidebar *):not(.adm-rail *):not(button.btn-primary *):not(.icms-step.active *) {
	color: var(--lt-ink) !important;
}

/* ── 4. Icon tiles: monochrome, stone tile with an navy glyph ─────────── */
html:not(#icms-l1):not(#icms-l2) body .modal-logo .icon,
html:not(#icms-l1):not(#icms-l2) body .icms-supm-icon,
html:not(#icms-l1):not(#icms-l2) body .icms-pay__badge,
html:not(#icms-l1):not(#icms-l2) body .icms-pay__num,
html:not(#icms-l1):not(#icms-l2) body .icms-home-card__ic,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-wf__n,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-cat__ico,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-offer__ico--ink,
html:not(#icms-l1):not(#icms-l2) body .icms-app-counter-icon,
html:not(#icms-l1):not(#icms-l2) body .exam-cta-card-icon,
html:not(#icms-l1):not(#icms-l2) body .adm-user-avatar,
html:not(#icms-l1):not(#icms-l2) body .icms-app-cta-card-icon,
html:not(#icms-l1):not(#icms-l2) body .icms-app-output-header-icon,
html:not(#icms-l1):not(#icms-l2) body .icms-app-support-icon,
html:not(#icms-l1):not(#icms-l2) body .icms-hero-emailbar-icon,
html:not(#icms-l1):not(#icms-l2) body .icms-detect__ic,
html:not(#icms-l1):not(#icms-l2) body .icms-lib-row__ic,
html:not(#icms-l1):not(#icms-l2) body .icms-app-counter--purple .icms-app-counter-num,
html:not(#icms-l1):not(#icms-l2) body .icms-fp-mark {
	background-color: var(--lt-bone-soft) !important;
	color: var(--lt-ink) !important;
	border: 1px solid var(--lt-line) !important;
	box-shadow: none !important;
}
html:not(#icms-l1):not(#icms-l2) body :is(.modal-logo .icon, .icms-supm-icon, .icms-home-card__ic, .icms-lp-cat__ico, .icms-app-counter-icon, .exam-cta-card-icon, .icms-app-cta-card-icon, .icms-app-output-header-icon, .icms-app-support-icon, .icms-hero-emailbar-icon, .icms-detect__ic, .icms-lib-row__ic) :is(i, svg, span) {
	color: var(--lt-ink) !important;
}
/* The landing preview's window bar: stone, one hairline, navy text. */
html:not(#icms-l1):not(#icms-l2) body .icms-lp-slide__bar {
	background-color: var(--lt-bone-soft) !important;
	color: var(--lt-ink) !important;
	border-bottom: 1px solid var(--lt-line) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-lp-slide__bar * { color: var(--lt-ink) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-lp-slide__chip {
	background-color: #fff !important;
	border: 1px solid var(--lt-line) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-lp-slide__dots i { background-color: var(--lt-line-strong) !important; }
html:not(#icms-l1):not(#icms-l2) body .v2-kpi-card.is-slate::before,
html:not(#icms-l1):not(#icms-l2) body .v2-kpi-card::before { background-color: transparent !important; }

/* ── 5. Panels and dialog heads: white, one hairline under the head ───────── */
html:not(#icms-l1):not(#icms-l2) body .icms-auth-rail,
html:not(#icms-l1):not(#icms-l2) body .modal-logo,
html:not(#icms-l1):not(#icms-l2) body .icms-fp-head,
html:not(#icms-l1):not(#icms-l2) body .icms-adm-head,
html:not(#icms-l1):not(#icms-l2) body .icms-plan-modal-header,
html:not(#icms-l1):not(#icms-l2) body .icms-lib-overlay:not(.is-page) .icms-lib-head,
html:not(#icms-l1):not(#icms-l2) body .erin-header,
html:not(#icms-l1):not(#icms-l2) body .report-preview-header,
html:not(#icms-l1):not(#icms-l2) body .stage-head,
html:not(#icms-l1):not(#icms-l2) body .bottom-cta,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-sticky {
	background-color: #fff !important;
	color: var(--lt-ink) !important;
	border-color: var(--lt-line) !important;
}
html:not(#icms-l1):not(#icms-l2) body :is(.icms-fp-head, .icms-adm-head, .icms-plan-modal-header, .erin-header, .report-preview-header, .stage-head) {
	border-bottom: 1px solid var(--lt-line) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-auth-rail { border-right: 1px solid var(--lt-line) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-pay__result,
html:not(#icms-l1):not(#icms-l2) body .icms-pay-summary,
html:not(#icms-l1):not(#icms-l2) body .outcomes-preview.icms-app-outcomes,
html:not(#icms-l1):not(#icms-l2) body .icms-app-counter-num,
html:not(#icms-l1):not(#icms-l2) body .icms-app-counter-label,
html:not(#icms-l1):not(#icms-l2) body #toast.toast,
html:not(#icms-l1):not(#icms-l2) body .toast,
html:not(#icms-l1):not(#icms-l2) body .toast.success,
html:not(#icms-l1):not(#icms-l2) body .toast.info,
html:not(#icms-l1):not(#icms-l2) body #toast.toast.success {
	background-color: #fff !important;
	color: var(--lt-ink) !important;
	border: 1px solid var(--lt-line) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-auth-rail :is(h1, h2, h3, p, li, span, small, strong),
html:not(#icms-l1):not(#icms-l2) body .modal-logo :is(h1, h2, h3, p, span, small, strong),
html:not(#icms-l1):not(#icms-l2) body .icms-fp-head :is(h1, h2, h3, h4, p, span, small, strong, i),
html:not(#icms-l1):not(#icms-l2) body .icms-adm-head :is(h1, h2, h3, h4, p, span, small, strong, i),
html:not(#icms-l1):not(#icms-l2) body .icms-plan-modal-header :is(h1, h2, h3, h4, p, span, small, strong, div),
html:not(#icms-l1):not(#icms-l2) body .icms-lib-overlay:not(.is-page) .icms-lib-head :is(h1, h2, h3, h4, p, span, small, strong),
html:not(#icms-l1):not(#icms-l2) body .erin-header :is(h1, h2, h3, h4, p, span, small, strong, div),
html:not(#icms-l1):not(#icms-l2) body .report-preview-header :is(h1, h2, h3, h4, p, span, small, strong),
html:not(#icms-l1):not(#icms-l2) body .stage-head :is(h1, h2, h3, h4, p, span, small, strong),
html:not(#icms-l1):not(#icms-l2) body .bottom-cta :is(h1, h2, h3, h4, p, span, small, strong),
html:not(#icms-l1):not(#icms-l2) body .icms-lp-sticky :is(p, span, small, strong),
html:not(#icms-l1):not(#icms-l2) body .icms-pay__result :is(h1, h2, h3, h4, p, span, small, strong),
html:not(#icms-l1):not(#icms-l2) body .icms-pay-summary :is(h1, h2, h3, h4, p, span, small, strong, dt, dd, li) {
	color: var(--lt-ink) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-auth-rail :is(em, .icms-auth-title span) { color: var(--lt-ink) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-auth-rail li i { color: var(--lt-ink) !important; }
html:not(#icms-l1):not(#icms-l2) body .erin-header button,
html:not(#icms-l1):not(#icms-l2) body .erin-header .erin-close,
html:not(#icms-l1):not(#icms-l2) body .icms-fp-head button,
html:not(#icms-l1):not(#icms-l2) body .icms-adm-head button,
html:not(#icms-l1):not(#icms-l2) body .icms-plan-modal-header button,
html:not(#icms-l1):not(#icms-l2) body .report-preview-header button:not(.rp-btn-primary) { color: var(--lt-ink) !important; }

/* Cards and dialogs: white, 1px stone border, 10px radius, no heavy shadow,
   no coloured bar across the top. */
html:not(#icms-l1):not(#icms-l2) body .modal-box,
html:not(#icms-l1):not(#icms-l2) body .icms-pay__box,
html:not(#icms-l1):not(#icms-l2) body .icms-pay__card,
html:not(#icms-l1):not(#icms-l2) body .iui-card,
html:not(#icms-l1):not(#icms-l2) body .icms-card,
html:not(#icms-l1):not(#icms-l2) body .icms-home-card,
html:not(#icms-l1):not(#icms-l2) body .icms-app-cta-card,
html:not(#icms-l1):not(#icms-l2) body .exam-cta-card,
html:not(#icms-l1):not(#icms-l2) body .adm-card,
html:not(#icms-l1):not(#icms-l2) body .v2-kpi-card,
html:not(#icms-l1):not(#icms-l2) body .adm-pay-tile,
html:not(#icms-l1):not(#icms-l2) body .icms-lib-row {
	background-color: #fff !important;
	border: 1px solid var(--lt-line) !important;
	box-shadow: var(--lt-shadow) !important;
}
html:not(#icms-l1):not(#icms-l2) body .modal-box,
html:not(#icms-l1):not(#icms-l2) body .icms-pay__box,
html:not(#icms-l1):not(#icms-l2) body #bundleModal .modal-box,
html:not(#icms-l1):not(#icms-l2) body #stkModal .modal-box {
	border-radius: 12px !important;
	box-shadow: var(--lt-shadow-overlay) !important;
}
html:not(#icms-l1):not(#icms-l2) body #bundleModal .modal-box::before,
html:not(#icms-l1):not(#icms-l2) body #stkModal .modal-box::before,
html:not(#icms-l1):not(#icms-l2) body .modal-box::before { display: none !important; }

/* Admin KPI cards: white, 1px stone all round — no coloured top bar. */
html:not(#icms-l1):not(#icms-l2) body #adminPanel .ov-kpi {
	background-color: #fff !important;
	border: 1px solid var(--lt-line) !important;
	box-shadow: var(--lt-shadow) !important;
}
html:not(#icms-l1):not(#icms-l2) body #adminPanel .ov-kpi-value { color: var(--lt-ink) !important; font-weight: 800; }
html:not(#icms-l1):not(#icms-l2) body #adminPanel .ov-kpi.is-unavailable .ov-kpi-value { color: var(--lt-muted) !important; }

/* KPI figures: bold navy. */
html:not(#icms-l1):not(#icms-l2) body :is(.v2-kpi-value, .v2-kpi-card strong, .adm-pay-tile-value, .icms-app-counter-num) {
	color: var(--lt-ink) !important;
	font-weight: 800;
}
html:not(#icms-l1):not(#icms-l2) body :is(.v2-kpi-label, .adm-pay-tile-label) { color: var(--lt-muted) !important; }

/* Status badges and pills: stone, navy text. */
html:not(#icms-l1):not(#icms-l2) body :is(.adm-pill, .iui-badge, .icms-badge, .adm-tab-badge, .pay-subtab-count, .adm-status, .icms-status, .status-badge, .badge) {
	background-color: var(--lt-bone-soft) !important;
	color: var(--lt-ink) !important;
	border-color: var(--lt-line) !important;
}
html:not(#icms-l1):not(#icms-l2) body .pay-subtab.is-active .pay-subtab-count {
	background-color: rgba(255, 255, 255, .24) !important;
	color: #fff !important;
}

html:not(#icms-l1):not(#icms-l2) body .adm-pill.is-ok { background-color: var(--adm-ok-bg) !important; color: var(--adm-ok) !important; }
html:not(#icms-l1):not(#icms-l2) body .adm-pill.is-warn { background-color: var(--adm-warn-bg) !important; color: var(--adm-warn) !important; }
html:not(#icms-l1):not(#icms-l2) body .adm-pill.is-bad { background-color: var(--adm-bad-bg) !important; color: var(--adm-bad) !important; }

/* Progress bars: navy fill on a stone track. */
html:not(#icms-l1):not(#icms-l2) body :is(.iui-progress, .icms-gen-bar, .icms-gen-progress__track, .icms-gen__track, #profileModal .pfm-progress-track, .v2-bar-track) {
	background-color: var(--lt-bone-soft) !important;
}
html:not(#icms-l1):not(#icms-l2) body :is(.iui-progress__bar, .icms-gen-bar__fill, .icms-gen-progress__fill, .icms-gen__fill, .v2-bar-fill) {
	background-color: var(--lt-ink) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-gen-meta.is-failed .icms-gen-bar__fill { background-color: var(--lt-line-strong) !important; }

html:not(#icms-l1):not(#icms-l2) body :is(.icms-sidebar__burger, .icms-mnav-mobile-toggle, .adm-burger, .adm-genseg__b):focus-visible { outline: 2px solid var(--lt-ink); outline-offset: 2px; }
html:not(#icms-l1):not(#icms-l2) body :is(.icms-sidebar, .adm-rail) :is(a, button):focus-visible { outline: 2px solid var(--lt-action); outline-offset: -3px; }

/* Inputs: navy border and ring on focus. */
html:not(#icms-l1):not(#icms-l2) body :is(input, select, textarea):focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(53, 66, 112, .14) !important;
	border-color: var(--lt-ink) !important;
}

/* Upload drop zones: 1px dashed stone, monochrome icon. */
html:not(#icms-l1):not(#icms-l2) body :is(.icms-drop, .icms-dropzone, .icms-app-dropzone, .upload-area, .dropzone, .upload-zone, .icms-upload, .icms-file-drop, .file-drop) {
	border: 1px dashed var(--lt-line-strong) !important;
	background-color: #fff !important;
	border-radius: var(--lt-radius) !important;
}
html:not(#icms-l1):not(#icms-l2) body :is(.icms-drop, .icms-dropzone, .icms-app-dropzone, .upload-area, .dropzone, .upload-zone, .icms-upload, .icms-file-drop, .file-drop) :is(i, svg) {
	color: var(--lt-muted) !important;
}
html:not(#icms-l1):not(#icms-l2) body :is(.icms-drop, .icms-dropzone, .icms-app-dropzone, .upload-area, .dropzone, .upload-zone, .icms-upload, .icms-file-drop, .file-drop):is(:hover, .is-over, .dragover, .drag-over) {
	border-color: var(--lt-ink) !important;
	background-color: var(--lt-bone) !important;
}

/* Document previews: an alabaster canvas around the white sheet. */
html:not(#icms-l1):not(#icms-l2) body :is(.report-preview-body, .doc-preview, .icms-doc-frame) { background-color: var(--lt-bone) !important; }

/* ── 6. Left sidebar: navy with an orange edge on the active item ── */
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar {
	background: var(--lt-side) !important;
	color: var(--lt-side-text) !important;
	border-right: 1px solid var(--lt-side-line);
}
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__name { color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__name b { color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__grouplabel { color: var(--lt-side-faint) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__link { color: var(--lt-side-text) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__link i { color: var(--lt-side-text) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__link:hover { background: var(--lt-side-hi) !important; color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__link:hover i { color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__link.is-active {
	background: var(--lt-side-hi) !important;
	color: #fff !important;
	box-shadow: inset 3px 0 0 var(--lt-action) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__link.is-active i { color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__tag,
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__pill {
	color: #fff !important;
	background: var(--lt-side-hi) !important;
	border-color: var(--lt-side-faint) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__foot { border-top-color: var(--lt-side-line) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__balance { background: var(--lt-side-hi) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__balancelabel { color: var(--lt-side-text) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__balanceval { color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__brand { border-bottom-color: var(--lt-side-line) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__lib { background: var(--lt-side-hi) !important; color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__lib:hover { background: #78716C !important; color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__close { background: var(--lt-side-hi) !important; color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__close:hover { background: #78716C !important; }
/* The book mark uses cream strokes on navy and keeps its orange page. */
html:not(#icms-l1):not(#icms-l2) body :is(.icms-sidebar__mark, .adm-rail-mark) svg [fill="#1E2A5A"] { fill: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body :is(.icms-sidebar__mark, .adm-rail-mark) svg [stroke="#1E2A5A"] { stroke: #fff !important; }
@media (max-width: 1023px) {
	html:not(#icms-l1):not(#icms-l2) body .icms-sidebar { box-shadow: 18px 0 40px rgba(30, 42, 90, .18) !important; }
	html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__link { color: #fff !important; }
	html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__link i { background: var(--lt-side-hi) !important; color: #fff !important; }
	html:not(#icms-l1):not(#icms-l2) body .icms-sidebar__link.is-active i { background: var(--lt-action) !important; color: var(--lt-ink) !important; }
}

/* Admin rail: the same navy sidebar. */
html:not(#icms-l1):not(#icms-l2) body .adm-rail {
	background: var(--lt-side) !important;
	border-right-color: var(--lt-side-line) !important;
}
html:not(#icms-l1):not(#icms-l2) body .adm-rail-head { border-bottom-color: var(--lt-side-line) !important; }
html:not(#icms-l1):not(#icms-l2) body .adm-rail-name,
html:not(#icms-l1):not(#icms-l2) body .adm-rail-name b { color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body :is(.adm-rail-role, .adm-rail-group-title) { color: var(--lt-side-faint) !important; }
html:not(#icms-l1):not(#icms-l2) body .adm-rail :is(.adm-tab, .adm-rail-link) { color: var(--lt-side-text) !important; background: transparent !important; }
html:not(#icms-l1):not(#icms-l2) body .adm-rail :is(.adm-tab, .adm-rail-link) > i { color: var(--lt-side-text) !important; }
html:not(#icms-l1):not(#icms-l2) body .adm-rail :is(.adm-tab, .adm-rail-link):hover { background: var(--lt-side-hi) !important; color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .adm-rail :is(.adm-tab, .adm-rail-link):hover > i { color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .adm-rail .adm-tab.active {
	background: var(--lt-side-hi) !important;
	border-color: transparent !important;
	color: #fff !important;
	box-shadow: inset 3px 0 0 var(--lt-action) !important;
}
html:not(#icms-l1):not(#icms-l2) body .adm-rail .adm-tab.active > i { color: #fff !important; }
html:not(#icms-l1):not(#icms-l2) body .adm-rail .adm-tab-badge {
	background: var(--lt-action) !important;
	color: var(--lt-ink) !important;
	border-color: var(--lt-action) !important;
}
html:not(#icms-l1):not(#icms-l2) body .adm-rail-nav { scrollbar-color: #78716C transparent; }
html:not(#icms-l1):not(#icms-l2) body .adm-rail-nav::-webkit-scrollbar-thumb { background: #78716C !important; }

/* ── 7. Landing / public phone menu: a white sheet ─────────────────────────── */
html:not(#icms-l1):not(#icms-l2) body .icms-mnav-links {
	background: #fff !important;
	color: var(--lt-ink) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-mnav-links :is(a, button, span, i, small, strong):not(.icms-mnav-cta):not(.btn-primary):not([class*="--primary"]) { color: var(--lt-ink) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-mnav-links a:not(.icms-mnav-cta):hover { background: var(--lt-bone-soft) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-mnav-links .icms-mnav-link.is-here .icms-mnav-ico { background: var(--lt-action) !important; color: var(--lt-ink) !important; }

/* ── 8. Tags and "best value" badges: stone, navy; featured card: navy edge ─ */
html:not(#icms-l1):not(#icms-l2) body .icms-price-best,
html:not(#icms-l1):not(#icms-l2) body .icms-hero-pricecard-badge,
html:not(#icms-l1):not(#icms-l2) body .icms-bundle-card__badge,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-price__t.is-best em,
html:not(#icms-l1):not(#icms-l2) body .iui-badge--gold,
html:not(#icms-l1):not(#icms-l2) body .icms-lp-badge {
	background-color: var(--lt-bone-soft) !important;
	color: var(--lt-ink) !important;
	border: 1px solid var(--lt-line) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-lp-badge__dot { background-color: var(--lt-action) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-lp-cat--lead {
	background-color: #fff !important;
	border: 1.5px solid var(--lt-ink) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-lp-price__t.is-best { border-color: var(--lt-ink) !important; }

/* ── 9. M-Pesa / pay dialogs: the selected plan carries a 1.5px navy border ── */
html:not(#icms-l1):not(#icms-l2) body .icms-pay__chip,
html:not(#icms-l1):not(#icms-l2) body #bundleModal .bundle-option,
html:not(#icms-l1):not(#icms-l2) body .exam-pkg-card {
	background-color: #fff !important;
	border: 1.5px solid var(--lt-line) !important;
	border-radius: var(--lt-radius) !important;
	color: var(--lt-ink) !important;
	box-shadow: none !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-pay__chip:hover,
html:not(#icms-l1):not(#icms-l2) body #bundleModal .bundle-option:hover { background-color: var(--lt-bone) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-pay__chip.is-on,
html:not(#icms-l1):not(#icms-l2) body #bundleModal .bundle-option:is(.selected, .is-selected, .active, .is-on, :has(input:checked)) {
	background-color: #fff !important;
	border-color: var(--lt-ink) !important;
	color: var(--lt-ink) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-pay__chip.is-on :is(small, span, strong, b) { color: var(--lt-ink) !important; opacity: 1 !important; }
/* No coloured bar across the top of the pay card. */
html:not(#icms-l1):not(#icms-l2) body .icms-pay__card::before { display: none !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-pay__card {
	border: 1px solid var(--lt-line) !important;
	border-radius: 12px !important;
	box-shadow: var(--lt-shadow-overlay) !important;
}
/* Which tool the credits are for: the chosen one is white with the navy edge,
   its icon tile stays monochrome. */
html:not(#icms-l1):not(#icms-l2) body .icms-pay__mod {
	background-color: #fff !important;
	border: 1.5px solid var(--lt-line) !important;
	box-shadow: none !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-pay__mod[aria-checked="true"] {
	background-color: #fff !important;
	border-color: var(--lt-ink) !important;
	box-shadow: none !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-pay__mod > i,
html:not(#icms-l1):not(#icms-l2) body .icms-pay__mod[aria-checked="true"] > i {
	background-color: var(--lt-bone-soft) !important;
	color: var(--lt-ink) !important;
}
html:not(#icms-l1):not(#icms-l2) body .icms-pay__getval em { color: var(--lt-ink) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-pay__getlbl { color: var(--lt-muted) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-pay__link { color: var(--lt-ink) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-pay__link:hover { color: var(--lt-ink) !important; }
html:not(#icms-l1):not(#icms-l2) body #stkModal .modal-box > div[style*="F5F5F4"] {
	background-color: var(--lt-bone-soft) !important;
	border: 1px solid var(--lt-line) !important;
}

/* ── 10. Small labels on white (contrast) ─────────────────────────────────── */
html:not(#icms-l1):not(#icms-l2) body .icms-lp-price__t.is-on i,
html:not(#icms-l1):not(#icms-l2) body .icms-footer-doc-ext,
html:not(#icms-l1):not(#icms-l2) body .icms-footer-doc-badge,
html:not(#icms-l1):not(#icms-l2) body .erin-chips-label { color: var(--lt-muted) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-lib-head__s { color: var(--lt-muted) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-lib-x,
html:not(#icms-l1):not(#icms-l2) body .icms-lib-x--page {
	background-color: #fff !important;
	color: var(--lt-ink) !important;
	border: 1px solid var(--lt-line) !important;
}
html:not(#icms-l1):not(#icms-l2) body .report-preview-sub { color: var(--lt-muted) !important; }
html:not(#icms-l1):not(#icms-l2) body .icms-lp-sticky__p b { color: var(--lt-ink) !important; }

/* ── 11. Links nothing else styles ────────────────────────────────────────────
   Zero specificity (:where), so every link a component styles keeps its
   colour; only bare links take navy, underlined, rust on hover. */
:where(a:not([class])),
:where(a:not([class])):visited { color: #1E2A5A; text-decoration: underline; text-underline-offset: 2px; }
:where(a:not([class])):hover { color: #354270; }
/* Classed links that set no colour of their own fell back to browser blue
   (the "Need a hand?" arrow, live 2026-11-24): they take the text around them. */
:where(a[class]) { color: inherit; }
