/* Light strict-accessibility closure
 * ----------------------------------
 * Route styles still own Light geometry, imagery, and the established paper /
 * ice palette.  They may not, however, put live text on a gradient, a painted
 * pseudo-element, or a translucent backdrop whose final color cannot be
 * resolved by accessibility tooling.  This last-loaded Light-only layer
 * removes those ambiguous paint effects while leaving real <img>, canvas, SVG,
 * and video media intact. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) {
  --pa-copy-muted: #52697a;
  --pa-public-muted: #52697a;
  --pa-accent: #066f7a;
  --pa-public-teal: #066f7a;
}

/* Signed-in workflow Light closures live in the Light accessibility sheet so
   the route-specific Dark closure remains mechanically Dark-only. */
html[data-pa-theme="light"]
  body.pa-family-workflow.pa-app-page:not(.pa-protected-workspace)
  .pa-customer-dashboard
  .pa-dashboard-head > div:first-child > p {
  color: #52697a !important;
}

html[data-pa-theme="light"]
  body.pa-family-workflow.pa-app-page:not(.pa-protected-workspace)
  .pa-doctor-history-page > .pa-doctor-history-hero {
  background: #f4fbfd !important;
  background-image: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) :is(
  [class$="-hero"],
  [class*="-hero "],
  [class*="__hero"],
  [class$="-header"],
  [class*="-header "],
  [class*="__header"],
  [class$="-head"],
  [class*="-head "],
  [class*="__head"],
  [class$="-section"],
  [class*="-section "],
  [class*="__section"],
  [class$="-card"],
  [class*="-card "],
  [class*="__card"],
  [class$="-panel"],
  [class*="-panel "],
  [class*="__panel"],
  [class$="-shell"],
  [class*="-shell "],
  [class*="__shell"],
  [class$="-workspace"],
  [class*="-workspace "],
  [class*="__workspace"],
  [class$="-notice"],
  [class*="-notice "],
  [class*="__notice"],
  [class$="-index"],
  [class*="-index "],
  [class*="__index"],
  [class$="-toolbar"],
  [class*="-toolbar "],
  [class*="__toolbar"],
  [class$="-banner"],
  [class*="-banner "],
  [class*="__banner"],
  [class$="-band"],
  [class*="-band "],
  [class*="__band"],
  [class$="-rail"],
  [class*="-rail "],
  [class*="__rail"],
  [class$="-strip"],
  [class*="-strip "],
  [class*="__strip"],
  [class$="-boundary"],
  [class*="-boundary "],
  [class*="__boundary"],
  [class$="-summary"],
  [class*="-summary "],
  [class*="__summary"],
  [class$="-chapter"],
  [class*="-chapter "],
  [class*="__chapter"],
  .card,
  .alert,
  .dropdown-menu,
  .modal-content,
  .offcanvas,
  .popover,
  details,
  form,
  fieldset,
  table,
  thead,
  tbody,
  tr,
  th,
  td,
  input:not([type="hidden"]),
  textarea,
  select,
  .form-control,
  .form-select
) {
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
}

/* The Evidence Lab header spans the viewport beyond its dark parent. Keep an
   opaque surface behind its white copy when Light removes gradient images. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) #main-content .pa-evidence-lab__hero[data-pa-top-hero] {
  background-color: #07151b !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) :is(
  .pa-page-hero:not(.pa-immersive-hero),
  .pa-theme-hero,
  .pa-dashboard-head,
  .pa-projects-head,
  .pa-upload-head,
  .pa-status-head,
  .pa-account-page-head,
  .pa-admin-list-hero,
  .pa-admin-hero,
  .pa-admin-page-head,
  .pa-auth-story,
  .pa-auth-trust,
  .pa-community-masthead,
  .pa-community-detail-hero,
  .pa-get-it-printed__hero,
  .pa-connect-hub__hero,
  .pa-discover-hero
) {
  background: #edf8fb !important;
  background-image: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) :is(
  .pa-page-hero:not(.pa-immersive-hero),
  .pa-theme-hero,
  .pa-dashboard-head,
  .pa-projects-head,
  .pa-upload-head,
  .pa-status-head,
  .pa-account-page-head,
  .pa-admin-list-hero,
  .pa-admin-hero,
  .pa-admin-page-head,
  .pa-auth-story,
  .pa-auth-trust,
  .pa-community-masthead,
  .pa-community-detail-hero,
  .pa-get-it-printed__hero,
  .pa-connect-hub__hero,
  .pa-discover-hero
)::before,
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) :is(
  .pa-gallery-visual-label,
  .pa-misprint-card figcaption,
  .pa-home-story-frame figcaption,
  .pa-report-gallery-card figcaption
)::before,
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) :is(
  .pa-gallery-visual-label,
  .pa-misprint-card figcaption,
  .pa-home-story-frame figcaption,
  .pa-report-gallery-card figcaption
)::after {
  content: none !important;
  display: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) :is(
  .pa-auth-frame,
  .pa-auth-form-panel,
  .pa-auth-panel,
  .pa-auth-story__content,
  .pa-message-shell,
  .pa-account-main,
  .pa-account-sidebar,
  .pa-account-card,
  .pa-billing-overview,
  .pa-admin-surface,
  .pa-admin-section,
  .pa-admin-security-card,
  .pa-action-panel,
  .pa-soft-section,
  .pa-sample-note,
  .pa-maker-tool-boundary,
  .pa-source-result-state,
  .pa-report-score-rail,
  .pa-report-actions-bar,
  .pa-report-title-row,
  .pa-report-module-strip,
  .pa-report-risk-summary,
  .pa-packet-grid,
  .pa-handoff-list > li,
  .pa-score-finding,
  .pa-evidence-grid > article,
  .pa-upload-preview-panel,
  .pa-upload-preview-frame,
  .pa-stage-pill,
  .pa-upload-audit-trail > li,
  .pa-community-auth-gate,
  .pa-community-compose,
  .pa-community-workspace,
  .pa-community-rail,
  .pa-community-detail-copy,
  .pa-contact-hero-copy,
  .pa-quote-project-context,
  .pa-quote-section__intro,
  .pa-quote-steps > li,
  .pa-quote-handoff__copy,
  .pa-guides-chapter__body,
  .pa-guides-chapter__checklist,
  .pa-help-router__copy,
  .pa-help-route,
  .pa-misprint-escalation-grid > article,
  .pa-print-shops-page .pa-shop-hero__copy
) {
  background-color: #fbfdfe !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) :is(
  .pa-eyebrow,
  .pa-kicker,
  .pa-blue-label,
  .pa-status-chip,
  .pa-misprint-toolpath > strong,
  .pa-page-hero .pa-eyebrow
) {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) :is(
  .pa-page-hero p,
  .pa-dashboard-head p,
  .pa-projects-empty,
  .pa-success-header p,
  .pa-misprint-intro p,
  .pa-sample-note p,
  .pa-maker-tool-boundary p,
  .pa-plan-mini > small,
  .pa-upload-audit-trail span,
  .pa-stage-pill span:last-child,
  .pa-report-module-strip span,
  .pa-report-risk-summary p,
  .pa-packet-grid p,
  .pa-handoff-list span,
  .pa-handoff-list small,
  .pa-risk-status
) {
  color: #52697a !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) :is(
  .is-good > strong,
  .is-good > .pa-risk-status,
  .pa-compare-delta.is-good,
  .pa-report-risk-summary .is-info > strong,
  .pa-sample-report-page a > strong
) {
  color: #087348 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) :is(
  .btn-outline-secondary,
  .btn-outline-primary,
  .btn-outline-danger,
  .btn-outline-warning,
  .text-danger,
  .text-warning,
  .text-info,
  code
) {
  background-image: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) .btn-outline-secondary {
  border-color: #52697a !important;
  color: #40586a !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) .btn-outline-primary {
  border-color: #066f7a !important;
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) :is(.text-danger, .btn-outline-danger) {
  color: #b42332 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) :is(.text-warning, .btn-outline-warning) {
  color: #795500 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) .text-info {
  color: #006477 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) a:not(.btn) {
  text-decoration-thickness: max(1px, 0.08em);
  text-underline-offset: 0.16em;
}

/* Keep the non-color accessibility cue on prose links only. Generic lists also
 * back navigation, cards, command rows, and other composite link components;
 * decorating their root anchor propagates an underline through every child. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) dd a:not(.btn),
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace) p a:not(.btn) {
  text-decoration-line: underline;
}

/* The seeded fixture supplies a 150 x 150 generated preview.  Do not enlarge
 * a truthful diagnostic raster beyond its native pixels. */
html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
  .pa-status-shell .pa-upload-preview-image {
  width: min(100%, 150px) !important;
  max-width: 150px !important;
  height: auto !important;
}

/* The Studio Guide is a long-form technical document. Its diagrams are real
 * media; the previous gradients and pseudo grids were decoration behind text. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  .studio-guide :is(header, section, article, aside, nav, div, ol, ul, li, dl, figure, figcaption, a, button, input, select, textarea) {
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  .studio-guide :is(.studio-guide__hero-copy, .studio-guide__edition, .studio-guide__toc, .studio-guide__chapter, .studio-guide__callout, .studio-guide__checklist, .studio-guide__control-card) {
  background-color: #fbfdfe !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  .studio-guide :is(figcaption, .studio-guide__hero-copy, .studio-guide__chapter, .studio-guide__callout)::before,
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  .studio-guide :is(figcaption, .studio-guide__hero-copy, .studio-guide__chapter, .studio-guide__callout)::after {
  content: none !important;
  display: none !important;
}

/* Focused Light resolution for route-owned surfaces that intentionally use
 * inverse copy in their original compositions.  Once those compositions are
 * converted to solid Light paper, their copy must convert with them. */
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-get-it-printed__hero-copy, .pa-quote-dossier-hero__status, .pa-quote-project-context) {
  background: transparent !important;
  background-image: none !important;
  color: #263746 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-get-it-printed__hero-copy :is(h1, h2, h3, strong) {
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(
    .pa-get-it-printed__lede,
    .pa-quote-project-context,
    .pa-quote-dossier-hero__status > span:nth-child(3)
  ) {
  color: #52697a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-quote-dossier-hero__status-label, .pa-quote-steps__number) {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-quote-problem, .pa-quote-final, .pa-quote-section__intro, .pa-quote-friction-list, .pa-quote-final__actions) {
  background: #edf8fb !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-quote-problem, .pa-quote-final, .pa-quote-section__intro)::before,
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-quote-problem, .pa-quote-final, .pa-quote-section__intro)::after {
  content: none !important;
  display: none !important;
}

/* Caption labels sit on a real opaque caption bar; the former image overlay
 * pseudo was decorative and made the label's background indeterminate. */
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-misprint-visual::after,
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-library-card figure.pa-misprint-visual::after {
  content: none !important;
  display: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-misprint-visual figcaption {
  background: #122233 !important;
  background-image: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-misprint-visual figcaption .pa-misprint-label {
  color: #f1f8f9 !important;
}

/* Account and billing cards use paper surfaces in Light. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-kicker, .pa-account-page-head .pa-eyebrow) {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-plan-mini > small, .pa-billing-current-plan > small) {
  color: #52697a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content .text-danger {
  color: #b42332 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-billing-overview, .pa-account-card-head, .pa-pricing-tier.is-current, .pa-pricing-tier.is-current > *) {
  background-color: #fbfdfe !important;
  background-image: none !important;
  backdrop-filter: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-billing-overview, .pa-account-card-head, .pa-pricing-tier.is-current)::before,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-billing-overview, .pa-account-card-head, .pa-pricing-tier.is-current)::after {
  content: none !important;
  display: none !important;
}

/* Identity compositions: media remains a sibling region; the actual policy and
 * form copy owns one solid paper surface. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-auth-frame, .pa-auth-panel, .pa-auth-form-panel, .pa-auth-form, .pa-auth-policy, .pa-auth-policy-note, .pa-auth-story__content, .pa-message-shell),
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-auth-frame, .pa-auth-panel, .pa-auth-form-panel, .pa-auth-form, .pa-auth-policy, .pa-auth-policy-note, .pa-auth-story__content, .pa-message-shell) *:not(.pa-auth-story--original .pa-auth-story__veil) {
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-auth-form-panel, .pa-auth-form, .pa-auth-policy, .pa-auth-policy-note, .pa-message-shell) {
  background-color: #fbfdfe !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-auth-frame, .pa-auth-panel, .pa-auth-form-panel, .pa-auth-form, .pa-auth-policy, .pa-auth-policy-note, .pa-auth-story__content, .pa-message-shell) *::before,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-auth-frame, .pa-auth-panel, .pa-auth-form-panel, .pa-auth-form, .pa-auth-policy, .pa-auth-policy-note, .pa-auth-story__content, .pa-message-shell) *::after {
  background-image: none !important;
  box-shadow: none !important;
}

/* Admin security signal rows were translucent gradient strips. Their state is
 * already conveyed by labels/icons, so a solid paper row retains all meaning. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content :is(.admin-security-card, .admin-signal-list, .admin-signal-item, .admin-signal-main, .admin-signal-label, .admin-signal-meta, .admin-signal-actions),
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content :is(.admin-security-card, .admin-signal-list, .admin-signal-item, .admin-signal-main, .admin-signal-label, .admin-signal-meta, .admin-signal-actions) * {
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content .admin-security-titlebar .btn-outline-secondary {
  background-color: #fbfdfe !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content .admin-signal-item {
  background-color: #fbfdfe !important;
}

/* The sample report score rail is a Light editorial surface. Keep its ink and
 * local paint synchronized after global gradient flattening. */
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-report-score-rail, .pa-report-process-score) {
  background: #edf8fb !important;
  background-image: none !important;
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-score-rail :is(h2, strong, dd, dd span, .pa-report-breadcrumb) {
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-score-rail > .pa-eyebrow {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-rail-score > span,
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-process-score > span {
  color: #40586a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-score-rail :is(p, dt, small) {
  color: #263746 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-score-rail > :is(a, button) {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-process-score > strong {
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-process-score > small {
  color: #52697a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-score-rail :is(
    .pa-report-rail-score > strong,
    .pa-report-rail-score > span,
    h2,
    dt,
    dd,
    p,
    a
  ) {
  position: relative !important;
  z-index: 2 !important;
  background-color: #edf8fb !important;
  background-image: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-score-rail > .pa-eyebrow,
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-process-score > span {
  position: relative !important;
  z-index: 2 !important;
  background: #edf8fb !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-score-rail .pa-report-rail-score > strong {
  background: #edf8fb !important;
  isolation: isolate !important;
  line-height: 1.4 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-rail-score {
  background: #edf8fb !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-score-rail > h2 {
  line-height: 1.35 !important;
  padding-block: 0.08em !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(
    .pa-ai-second-opinion p,
    .pa-decision-lane p,
    .pa-material-matrix p,
    .pa-report-signal-grid p,
    .pa-report-module-strip span,
    .pa-packet-grid p,
    .pa-handoff-list span,
    .pa-handoff-list small,
    .pa-risk-status
  ) {
  color: #52697a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(.pa-report-fingerprint-main, .pa-report-fingerprint-detail, .pa-report-signal-grid > article, .pa-report-tabs a, .pa-report-tabs a > span) {
  background-image: none !important;
  backdrop-filter: none !important;
}

/* The report detail shell is authored as an inverse workspace. Once its title
 * and tab rail become Light paper, their inherited white ink must become the
 * established Light navy/body roles as well. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-detail-shell .pa-report-title-row .pa-report-breadcrumb {
  background-color: #fbfdfe !important;
  color: #40586a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-detail-shell .pa-report-tabs {
  border-color: #d9e9ef !important;
  background: #fbfdfe !important;
  background-image: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-detail-shell .pa-report-tabs a,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-detail-shell .pa-report-tabs a .pa-tab-label {
  background: #fbfdfe !important;
  background-image: none !important;
  color: #40586a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-detail-shell .pa-report-tabs a > i {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-detail-shell .pa-report-tabs a:is(:hover, :focus-visible, .is-active),
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-detail-shell .pa-report-tabs a:is(:hover, :focus-visible, .is-active) .pa-tab-label {
  border-color: #066f7a !important;
  background: #edf8fb !important;
  background-image: none !important;
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-signal-grid > article {
  background-color: #fbfdfe !important;
}

/* Tiny progress ticks and tab counts are decorative shorthand; give them the
 * same opaque paint as their containing control so Axe need not infer glyphs. */
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(.is-complete > span, .pa-tab-count, .pa-tab-label) {
  background-color: #fbfdfe !important;
  background-image: none !important;
}

/* Upload Status uses an inverse top band and pale receipt cards. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
  #main-content#main-content .pa-status-head {
  background: #122233 !important;
  background-image: none !important;
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
  #main-content#main-content .pa-status-head :is(h1, strong, [data-pa-upload-live-text]) {
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
  #main-content#main-content :is([data-pa-upload-lifecycle-text], [data-pa-upload-scan-text]) {
  color: #087348 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-locked-feature > div > span {
  color: #52697a !important;
}

/* The public Studio manual is deliberately inside the protected-workspace
 * shell, but it is a document, not the live WebGL editor. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide {
  background: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide *,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide *::before,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide *::after {
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide :is(.studio-guide__hero, .studio-guide__hero-copy, .studio-guide__edition, .studio-guide__toc, .studio-guide__section, .studio-guide__final, .studio-guide__callout, .studio-guide__control-cards, .studio-guide__control-cards > article) {
  background-color: #fbfdfe !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide .studio-guide__section--tinted {
  background-color: #edf8fb !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide .studio-guide__section--ink {
  background-color: #102a30 !important;
  color: #c7d4d9 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide :is(.studio-guide__section--tinted, .studio-guide__section--ink)::before,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide :is(.studio-guide__section--tinted, .studio-guide__section--ink)::after,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide .studio-guide__edition::after,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide .studio-guide__toc::before,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide .studio-guide__toc::after {
  content: none !important;
  display: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide :is(.studio-guide__hero-copy, .studio-guide__edition, .studio-guide__toc, .studio-guide__section-heading, .studio-guide__flow > li, .studio-guide__procedure-grid > article, .studio-guide__control-cards > article, .studio-guide__callout, .studio-guide__definition-list, .studio-guide__final) {
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide :is(.studio-guide__hero-copy, .studio-guide__edition, .studio-guide__toc, .studio-guide__section-heading, .studio-guide__flow > li, .studio-guide__procedure-grid > article, .studio-guide__control-cards > article, .studio-guide__callout, .studio-guide__definition-list, .studio-guide__final) {
  background-image: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide .studio-guide__section--ink :is(.studio-guide__flow > li, .studio-guide__control-cards > article, .studio-guide__callout, .studio-guide__section-heading) {
  background-color: #102a30 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  > [data-pa-cookie-banner].pa-cookie-banner #pa-cookie-banner-description {
  position: relative !important;
  z-index: 1 !important;
  background: #101827 !important;
  background-image: none !important;
}

/* Print Score's original image and copy share one continuous hero scrim;
 * only the surrounding document uses the Light paper surface. */
html[data-pa-theme="light"] body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
  #main-content#main-content .pa-score-entry-page {
  background: #fbfdfe !important;
  background-image: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
  #main-content#main-content .pa-score-entry-page .pa-theme-hero-copy {
  background: transparent !important;
  background-image: none !important;
  isolation: isolate;
}

html[data-pa-theme="light"] body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
  #main-content#main-content .pa-score-entry-page .pa-theme-hero :is(.pa-theme-pill, .btn-outline-primary) {
  border-color: #066f7a !important;
  background: #fbfdfe !important;
  background-image: none !important;
  color: #066f7a !important;
  isolation: isolate;
}

html[data-pa-theme="light"] body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
  #main-content#main-content .pa-score-entry-page :is(
    .pa-theme-proof-panel,
    .pa-theme-proof-panel > article,
    .pa-theme-feature-section,
    .pa-theme-feature-grid > article,
    .pa-theme-steps,
    .pa-theme-steps .pa-horizontal-steps > article,
    .pa-upload-dropzone,
    .pa-dropzone
  ) {
  background-color: #fbfdfe !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
  #main-content#main-content .pa-score-entry-page :is(
    .pa-theme-feature-grid > article,
    .pa-theme-proof-panel > article
  )::before,
html[data-pa-theme="light"] body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
  #main-content#main-content .pa-score-entry-page :is(
    .pa-theme-feature-grid > article,
    .pa-theme-proof-panel > article,
    .pa-theme-upload
  )::after {
  content: none !important;
  display: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
  #main-content#main-content .pa-score-entry-page :is(.pa-dark-band, .pa-bottom-cta) {
  background: #102a30 !important;
  background-image: none !important;
  color: #c7d4d9 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
  #main-content#main-content .pa-score-entry-page :is(.pa-dark-band, .pa-bottom-cta) :is(h2, h3, strong) {
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
  #main-content#main-content .pa-score-entry-page :is(.pa-dark-band, .pa-bottom-cta) p {
  color: #c7d4d9 !important;
}

/* Report-card Light deliberately uses the authored static preview. The hidden
 * Dark WebGL viewer must not be revived by the later generic viewer rule. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-card-page .pa-report-card-dark-preview {
  display: none !important;
}

/* Report detail plates own one opaque paint and stacking context. This keeps
 * their headings above preview/tool overlays without changing dimensions. */
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(
    .pa-report-fingerprint-main > div:last-child,
    .pa-report-signal-grid > article
  ) {
  position: relative !important;
  z-index: 1 !important;
  background: #fbfdfe !important;
  background-image: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(
    .pa-report-fingerprint-main > div:last-child > h2,
    .pa-report-signal-grid > article > strong
  ) {
  position: relative !important;
  z-index: 2 !important;
  display: inline-block !important;
  width: fit-content !important;
  max-width: 100% !important;
  justify-self: start !important;
  padding-block: 0.125rem !important;
  background: #fbfdfe !important;
  background-image: none !important;
  line-height: 1.35 !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
  #main-content#main-content div[aria-label="Print Score unlock options"] > .pa-unlock-tier > p {
  position: relative !important;
  z-index: 2 !important;
  display: inline-block !important;
  width: fit-content !important;
  max-width: 100% !important;
  justify-self: start !important;
  padding-block: 0.125rem !important;
  background: #fbfdfe !important;
  background-image: none !important;
  line-height: 1.45 !important;
  isolation: isolate !important;
}

/* Public/shared report inverses and semantic risk text. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-shared-report-intro > .pa-eyebrow {
  color: #fbfdfe !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sample-report-lead-copy > .pa-eyebrow {
  color: #70e1dc !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sample-report-page .pa-report-risk-summary .is-medium > strong {
  color: #795500 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sample-report-page .pa-report-rail-score > span {
  background: #edf8fb !important;
  background-image: none !important;
  color: #52697a !important;
}

/* Sample Report uses the same report tab component outside the app body
 * family, so mirror the proven opaque label and count treatment here. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sample-report-page .pa-report-tabs > a {
  background: #fbfdfe !important;
  background-image: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sample-report-page .pa-report-tabs > a > .pa-tab-label {
  position: relative !important;
  z-index: 4 !important;
  display: inline-block !important;
  padding-block: 0.125rem !important;
  background: #fbfdfe !important;
  background-image: none !important;
  line-height: 1.35 !important;
  transform: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sample-report-page .pa-report-tabs .pa-tab-count {
  background: #e8eff8 !important;
  background-image: none !important;
  color: #40586a !important;
}

/* Media captions and the report stamp are bounded inverse labels, not text on
 * a gradient, translucent wash, or decorative pseudo-element. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sample-report-page .pa-sample-report-lead-media::after,
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sample-report-page .pa-sample-report-stamp::before,
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sample-report-page .pa-sample-report-stamp::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sample-report-page .pa-sample-report-stamp,
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sample-report-page .pa-sample-report-stamp > * {
  background: #102a30 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sample-report-page .pa-sample-model-preview > figcaption {
  background: #102a30 !important;
  background-image: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (max-width: 640px) {
  html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content .pa-sample-report-page .pa-report-title-row .h1 {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    padding-block: 0.22em !important;
    background: #fbfdfe !important;
    background-image: none !important;
    line-height: 1.15 !important;
    isolation: isolate !important;
  }
}

/* Exhaustive Light mobile closure. These rules remove the remaining layered
 * or translucent paint owners found by the 320px strict-Axe campaign while
 * retaining the authored Light geometry and route imagery. */

/* Account cards, headings, security states, and controls. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(
    .pa-account-page-head,
    .pa-account-card,
    .pa-account-card-head,
    .pa-account-form,
    .pa-billing-overview,
    .pa-billing-provider,
    .pa-pricing-tier,
    .card,
    .card-body
  ) {
  border-color: #d9e9ef !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(
    .pa-account-page-head h1,
    .pa-account-page-head > div:first-child > p,
    .pa-account-card-head h2,
    .pa-account-card h2,
    .pa-billing-overview h2,
    .pa-billing-provider h2
  ) {
  position: relative !important;
  z-index: 2 !important;
  display: inline-block !important;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  padding-block: 0.18em !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #122233 !important;
  line-height: 1.3 !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  overflow-wrap: anywhere;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-account-page-head > div:first-child > p {
  color: #40586a !important;
  line-height: 1.5 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-account-avatar {
  display: inline-grid !important;
  place-items: center;
  border-color: #bdd9df !important;
  background: #e2eff2 !important;
  background-image: none !important;
  color: #066f7a !important;
  text-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-account-avatar > i,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-account-avatar > i::before {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-security-state.is-muted {
  border-color: #bfd3da !important;
  background: #edf8fb !important;
  background-image: none !important;
  color: #40586a !important;
  filter: none !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content#main-content [data-pa-browser-data-status] {
  display: block !important;
  padding-block: 0.18em !important;
  background: #fbfdfe !important;
  background-image: none !important;
  color: #40586a !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-account:not(.pa-protected-workspace)
  #main-content#main-content#main-content .input-group-text.text-success {
  min-height: 44px;
  border-color: #b7d8cf !important;
  background: #e8f6f0 !important;
  background-image: none !important;
  color: #087348 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

/* Bootstrap's floating-label pseudo plate and transformed label overlap the
 * field at narrow widths. Present these as ordinary labels in account and
 * Identity forms; the control order and accessible names remain unchanged. */
html[data-pa-theme="light"] body.pa-body.pa-body:is(.pa-family-account, .pa-family-auth):not(.pa-protected-workspace)
  #main-content#main-content#main-content .form-floating:not(.input-group) {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  overflow: visible !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:is(.pa-family-account, .pa-family-auth):not(.pa-protected-workspace)
  #main-content#main-content#main-content .form-floating.input-group {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  height: auto !important;
  overflow: visible !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:is(.pa-family-account, .pa-family-auth):not(.pa-protected-workspace)
  #main-content#main-content#main-content .form-floating > label {
  position: static !important;
  inset: auto !important;
  order: -1 !important;
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 0.42rem !important;
  padding: 0 !important;
  transform: none !important;
  transform-origin: initial !important;
  border: 0 !important;
  background: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:is(.pa-family-account, .pa-family-auth):not(.pa-protected-workspace)
  #main-content#main-content#main-content .form-floating.input-group > label,
html[data-pa-theme="light"] body.pa-body.pa-body:is(.pa-family-account, .pa-family-auth):not(.pa-protected-workspace)
  #main-content#main-content#main-content .form-floating.input-group > .text-danger {
  grid-column: 1 / -1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:is(.pa-family-account, .pa-family-auth):not(.pa-protected-workspace)
  #main-content#main-content#main-content .form-floating > label::before,
html[data-pa-theme="light"] body.pa-body.pa-body:is(.pa-family-account, .pa-family-auth):not(.pa-protected-workspace)
  #main-content#main-content#main-content .form-floating > label::after {
  content: none !important;
  display: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:is(.pa-family-account, .pa-family-auth):not(.pa-protected-workspace)
  #main-content#main-content#main-content .form-floating > :is(.form-control, .form-select) {
  position: relative !important;
  inset: auto !important;
  min-width: 0 !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 0.72rem 0.85rem !important;
  border-color: #b8cdd5 !important;
  background: #fbfdfe !important;
  background-image: none !important;
  color: #122233 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:is(.pa-family-account, .pa-family-auth):not(.pa-protected-workspace)
  #main-content#main-content#main-content .form-floating.input-group > :is(.form-control, .form-select) {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:is(.pa-family-account, .pa-family-auth):not(.pa-protected-workspace)
  #main-content#main-content#main-content .form-floating.input-group > .input-group-append {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

/* Identity continuation and message routes. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(
    .pa-auth-form,
    .pa-auth-form-panel,
    .pa-auth-message,
    .pa-message-shell,
    .pa-auth-error-reference,
    .pa-auth-error-guidance,
    .pa-auth-error-guidance > summary
  ) {
  border-color: #d9e9ef !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(.pa-auth-panel, .pa-auth-story__content):not(.pa-auth-story--original > .pa-auth-story__content) {
  border-color: #29434c !important;
  background: #102a30 !important;
  background-image: none !important;
  color: #c7d4d9 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  isolation: isolate;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(.pa-auth-panel, .pa-auth-story__content):not(.pa-auth-story--original > .pa-auth-story__content) :is(h1, h2, strong) {
  position: relative !important;
  z-index: 2 !important;
  padding-block: 0.25em !important;
  background-color: #102a30 !important;
  background-image: none !important;
  color: #f1f8f9 !important;
  text-shadow: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(.pa-auth-panel, .pa-auth-story__content):not(.pa-auth-story--original > .pa-auth-story__content) :is(p, li, small) {
  background-color: #102a30 !important;
  background-image: none !important;
  color: #c7d4d9 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(.pa-auth-panel, .pa-auth-story__content):not(.pa-auth-story--original > .pa-auth-story__content) .pa-eyebrow {
  background-color: #102a30 !important;
  background-image: none !important;
  color: #70e1dc !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(
    .pa-auth-form > h2,
    .pa-auth-message .pa-eyebrow,
    .pa-auth-message h1,
    .pa-auth-error-reference > strong,
    .pa-auth-error-guidance > summary
  ) {
  position: relative !important;
  z-index: 2 !important;
  display: inline-block !important;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  padding-block: 0.2em !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #122233 !important;
  line-height: 1.35 !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  overflow-wrap: anywhere;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-auth-message .pa-eyebrow {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(.pa-auth-form, .pa-auth-message, .pa-auth-panel)::before,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(.pa-auth-form, .pa-auth-message, .pa-auth-panel)::after {
  content: none !important;
  display: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content .alert-success,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content .alert-success > strong {
  border-color: #b7d8cf !important;
  background-color: #e8f6f0 !important;
  background-image: none !important;
  color: #075f3d !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content .btn-primary {
  border-color: #066f7a !important;
  background-color: #066f7a !important;
  background-image: none !important;
  color: #ffffff !important;
  text-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-auth-continuation--external
  a[target="_blank"][rel="noopener"]:is([href$="terms"], [href$="privacy"]) {
  color: #40586a !important;
  text-decoration: underline !important;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
}

/* Authenticated Community composer: the modal geometry stays intact while
 * each heading, label, field, and action owns deterministic Light paint. */
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(
    .pa-community-composer-dialog,
    .pa-community-composer-surface,
    .pa-community-composer-heading,
    .pa-community-ask-form,
    .pa-community-ask-grid,
    .pa-community-question-review,
    .pa-community-review-draft
  ) {
  border-color: #d9e9ef !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-community-composer-heading > div > :is(.pa-eyebrow, h2, p),
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(.pa-community-ask-grid, .pa-community-review-draft) :is(label, small) {
  position: relative !important;
  z-index: 2 !important;
  display: inline-block !important;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  padding-block: 0.16em !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  line-height: 1.45 !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-community-composer-heading > div > h2 {
  color: #122233 !important;
  line-height: 1.25 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-community-composer-heading > div > .pa-eyebrow {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(.pa-community-ask-grid, .pa-community-review-draft) :is(.form-control, .form-select) {
  border-color: #b8cdd5 !important;
  background: #fbfdfe !important;
  background-image: none !important;
  color: #122233 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

/* Admin route surfaces, target sizing, state contrast, and narrow headings. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(
    .card,
    .card-body,
    .pa-admin-panel,
    .pa-admin-panel-header,
    .pa-admin-kpi-card,
    .pa-admin-list-hero,
    .pa-admin-reference-hero,
    .pa-admin-table-shell,
    .admin-security-card,
    .admin-signal-item
  ),
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-admin-documentation-page :is(.list-group, .list-group-item) {
  border-color: #d9e9ef !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(
    h1,
    .pa-admin-panel-header > h2,
    .card-body .display-6,
    .card-body .h3,
    .card-body .h4,
    .card-body .h5.card-title,
    .card-body .fw-semibold,
    .card-body .text-break,
    .pa-admin-kpi-card > span:not(.pa-admin-kpi-icon),
    .pa-admin-kpi-card > span:not(.pa-admin-kpi-icon) > strong
  ),
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-admin-documentation-page :is(.fw-semibold, .text-muted, .text-break) {
  position: relative !important;
  z-index: 2 !important;
  box-sizing: border-box;
  max-width: 100%;
  padding-block: 0.16em !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #122233 !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  overflow-wrap: anywhere;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-admin-documentation-page :is(.text-muted, .text-break) {
  color: #40586a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content#main-content dd > a.text-decoration-none {
  display: inline-flex !important;
  align-items: center;
  min-width: 24px;
  min-height: 24px;
  padding-block: 2px;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content#main-content code {
  border: 1px solid #c8dde4 !important;
  background: #e2eff2 !important;
  background-image: none !important;
  color: #33485a !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content#main-content .card-header.bg-danger.text-white {
  border-color: #8f1f2d !important;
  background: #8f1f2d !important;
  background-image: none !important;
  color: #ffffff !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content#main-content .admin-signal-count.is-danger {
  border: 1px solid #dcaab1 !important;
  background: #fde8ea !important;
  background-image: none !important;
  color: #8f1f2d !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-admin-user-avatar {
  border-color: #bdd9df !important;
  background: #e2eff2 !important;
  background-image: none !important;
  color: #066f7a !important;
  text-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content#main-content .btn-primary {
  border-color: #066f7a !important;
  background-color: #066f7a !important;
  background-image: none !important;
  color: #ffffff !important;
  text-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
  #main-content#main-content#main-content h2 > help-tip {
  position: relative !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  margin-inline-start: 0.25rem;
  vertical-align: middle;
}

/* Bootstrap table striping is implemented with an inset paint layer. Remove
 * that indeterminate overlay from Light audit routes while retaining borders,
 * responsive scroll wrappers, and semantic table structure. */
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .table > :not(caption) > * > * {
  border-color: #d9e9ef !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .table > thead > * > * {
  background-color: #edf8fb !important;
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .table :is(th, td) > :is(div, span, strong, small, a, code) {
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Source Packet is intentionally inverse inside the otherwise-Light document. */
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-source-packet-hero {
  border-color: #29434c !important;
  background: #122233 !important;
  background-image: none !important;
  color: #c7d4d9 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  isolation: isolate;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-source-packet-hero :is(h1, strong) {
  background-color: #122233 !important;
  background-image: none !important;
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-source-packet-hero :is(p, em, small) {
  background-color: #122233 !important;
  background-image: none !important;
  color: #c7d4d9 !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-source-packet-hero .pa-kicker {
  background-color: #122233 !important;
  background-image: none !important;
  color: #70e1dc !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-source-packet-hero :is(.pa-score-ring, .pa-score-compare-strip > article) {
  border-color: #29434c !important;
  background: #122233 !important;
  background-image: none !important;
  color: #f1f8f9 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  isolation: isolate;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-source-packet-hero :is(.pa-score-ring, .pa-score-compare-strip > article) :is(strong, span) {
  background-color: #122233 !important;
  background-image: none !important;
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-source-packet-hero :is(.pa-score-ring, .pa-score-compare-strip > article) small,
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-source-packet-hero .pa-source-score-stack > em {
  background-color: #122233 !important;
  background-image: none !important;
  color: #c7d4d9 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-source-packet-hero h1 {
  padding-block: 0.4rem !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-source-packet-hero .pa-score-ring > span {
  padding-block: 0.45rem !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-source-packet-hero .pa-score-ring > small {
  padding-block: 0.2rem !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-score-ring-small {
  background: #122233 !important;
  background-image: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-score-ring-small > span {
  padding-block: 0.4rem !important;
  background: #122233 !important;
  background-image: none !important;
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-score-ring-small > small {
  padding-block: 0.2rem !important;
  background: #122233 !important;
  background-image: none !important;
  color: #f1f8f9 !important;
}

/* Print Analysis decision desk, result, and saved-history surfaces. */
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(
    .pa-doctor-decision-menu,
    .pa-doctor-tool-picker-head,
    .pa-doctor-decision-options > a,
    .pa-doctor-decision-boundary,
    .pa-doctor-result-copy,
    .pa-doctor-access-note,
    .pa-doctor-locked-sample > article,
    .pa-doctor-community-draft,
    .pa-doctor-history-hero,
    .pa-doctor-history-hero > div:first-child,
    .pa-doctor-history-panel
  ) {
  border-color: #d9e9ef !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-decision-options > a :is(span, strong, small),
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-locked-sample > article :is(span, strong, p),
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-community-draft :is(strong, p) {
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-decision-options > a .pa-doctor-decision-number {
  border-color: #bfd3da !important;
  background: #e2eff2 !important;
  background-image: none !important;
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(
    .pa-doctor-result-copy > .pa-eyebrow,
    .pa-doctor-result-copy > h1,
    .pa-doctor-result-copy > p
  ) {
  position: relative !important;
  z-index: 2 !important;
  display: inline-block !important;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  padding-block: 0.2em !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #122233 !important;
  line-height: 1.35 !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  overflow-wrap: anywhere;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(.pa-doctor-result-copy > p, .pa-doctor-history-hero p, .pa-doctor-access-note) {
  color: #40586a !important;
  line-height: 1.5 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-result-copy > .pa-eyebrow {
  color: #066f7a !important;
}

/* The Print Analysis result hero is a Light-theme decision surface, not a
 * dark-theme preview. Keep the composition airy while retaining the authored
 * evidence column when a case includes uploaded media. */
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-result-hero {
  border: 1px solid #d9e9ef !important;
  border-left: 4px solid #087f8c !important;
  background: #edf8fb !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: 0 12px 28px rgba(18, 34, 51, 0.08) !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-result-hero .pa-back-link {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-result-hero .pa-back-link:hover {
  color: #0798a7 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-result-copy {
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-result-copy:last-child {
  grid-column: 1 / -1;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-result-copy > :is(.pa-eyebrow, h1, p) {
  position: static !important;
  z-index: auto !important;
  display: block !important;
  width: auto !important;
  padding-block: 0 !important;
  background: transparent !important;
  background-image: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-result-copy > .pa-doctor-access-note {
  padding-block: 0.15rem !important;
  background: #edf8fb !important;
  background-image: none !important;
  isolation: auto !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-result-copy > h1 {
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-result-copy > :is(p, blockquote) {
  color: #263746 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-result-copy > blockquote {
  border-left-color: #087f8c !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-badges > span {
  border-color: #d9e9ef !important;
  background: #fbfdfe !important;
  background-image: none !important;
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-badges > span > i {
  color: #087f8c !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-evidence {
  border-color: #d9e9ef !important;
  background: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-doctor-evidence :is(strong, p, small) {
  color: #263746 !important;
}

/* Saved Upload and My Work forms keep their authored structure on opaque
 * paper, including field labels, help copy, and blocked-state explanation. */
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(
    .pa-upload-shell,
    .pa-upload-side,
    .pa-upload-card,
    .pa-upload-card .card-body,
    .pa-upload-card .pa-upload-form,
    .pa-upload-dropzone,
    .pa-projects-create-blocked,
    .pa-projects-create-blocked > div
  ) {
  border-color: #d9e9ef !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-upload-card :is(label, .form-text, code),
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-projects-create-blocked > div > p {
  position: relative !important;
  z-index: 2 !important;
  display: inline-block !important;
  max-width: 100%;
  padding-block: 0.16em !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #40586a !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-projects-create-blocked > div > h3 {
  position: relative !important;
  z-index: 2 !important;
  padding-block: 0.16em !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #122233 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  isolation: isolate !important;
}

/* Editorial identity headings sit beside media but remain opaque Light-theme
 * copy surfaces. The small vertical gutter contains the full painted glyph
 * bounds so strict contrast analysis does not have to infer through media. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-auth:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-auth-frame--editorial
  .pa-auth-composition--register .pa-auth-story__content > h1 {
  position: relative !important;
  z-index: 2 !important;
  padding-block: 0.18em !important;
  background-color: #f4fbfd !important;
  background-image: none !important;
  color: #122233 !important;
  line-height: 1.08 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-upload-card :is(.form-control, .form-select, input[type="file"]) {
  position: relative !important;
  z-index: 2 !important;
  border-color: #b8cdd5 !important;
  background: #fbfdfe !important;
  background-image: none !important;
  color: #122233 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

/* Studio Guide tables and inverse chapter headings need local text paint; no
 * live Studio or Visual Lab selector is included here. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide table > caption {
  position: relative !important;
  z-index: 2 !important;
  box-sizing: border-box;
  width: 100%;
  padding: 0.55rem 0.7rem !important;
  background: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  line-height: 1.45 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide .studio-guide__section--ink .studio-guide__section-heading,
html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide .studio-guide__section--ink .studio-guide__section-heading > h2 {
  position: relative !important;
  z-index: 2 !important;
  box-sizing: border-box;
  max-width: 100%;
  padding-block: 0.2em !important;
  background: #102a30 !important;
  background-image: none !important;
  color: #f1f8f9 !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  overflow-wrap: anywhere;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-protected-workspace:has(.studio-guide[data-studio-manual])
  #main-content#main-content .studio-guide .studio-guide__section--ink .studio-guide__section-heading > :is(p, span) {
  background: #102a30 !important;
  background-image: none !important;
  color: #c7d4d9 !important;
  opacity: 1 !important;
}

/* Billing-success definition rows own opaque paint independently of their
 * section wash. */
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-billing-success-page .pa-breakdown > div,
html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-billing-success-page .pa-breakdown :is(dt, dd) {
  border-color: #d9e9ef !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

@media (max-width: 767.98px) {
  /* Long admin titles remain below the fixed header and inside their opaque
   * paint owners, including operations and customer-lookup routes. */
  html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
    #main-content#main-content#main-content h1 {
    position: relative !important;
    z-index: 3 !important;
    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin-block-start: 0 !important;
    padding: 0.2em 0.04em !important;
    background-color: #fbfdfe !important;
    background-image: none !important;
    color: #122233 !important;
    font-size: clamp(1.55rem, 8vw, 2rem) !important;
    line-height: 1.18 !important;
    overflow-wrap: anywhere;
  }

  html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
    #main-content#main-content#main-content .card-body > .d-flex.justify-content-between.align-items-center {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-admin:not(.pa-protected-workspace)
    #main-content#main-content#main-content .card-body > .d-flex.justify-content-between.align-items-center > h2 {
    width: 100% !important;
    max-width: 100% !important;
    padding-block: 0.18em !important;
    background: #fbfdfe !important;
    background-image: none !important;
    color: #122233 !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere;
  }

  html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-admin-documentation-page .list-group-item > .d-flex {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    gap: 0.55rem !important;
  }

  html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-admin-documentation-page .list-group-item > .d-flex > * {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: start !important;
  }

  html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-admin-documentation-page .list-group-item a.fw-semibold {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  /* Horizontal comparison remains scrollable, but sticky cells cannot cover
   * adjacent column text in the 320px viewport. */
  html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content#main-content :is(.pa-compare-table-wrap, .table-responsive):has(table) {
    position: relative !important;
    isolation: isolate;
  }

  html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content#main-content :is(.pa-compare-table-wrap, .table-responsive) table :is(th, td) {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    min-width: 7.5rem;
    background-clip: padding-box !important;
  }

  html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-compare-table-wrap table :is(th, td):first-child {
    min-width: 9rem;
  }

  html[data-pa-theme="light"] body.pa-body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-billing-success-page .pa-breakdown > div {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.25rem !important;
  }
}

/* Full-rail Light heroes retain their inverse editorial treatment. The media
 * scrim owns contrast across the full field; copy is not a separate card. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-menu-page > :is(
    .pa-source-briefing,
    .pa-discover-atlas__hero,
    .pa-guides-manual__hero,
    .pa-help-router__hero,
    .pa-faq-manual__hero,
    .pa-security-brief,
    .pa-connect-decision-hero
  ) > :is(.pa-menu-hero__copy, .pa-connect-hub__hero-copy) {
  --pa-menu-hero-copy-background: transparent;
  background: transparent !important;
  background-image: none !important;
  color: #c7d4d9 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-menu-page > :is(
    .pa-source-briefing,
    .pa-discover-atlas__hero,
    .pa-guides-manual__hero,
    .pa-help-router__hero,
    .pa-faq-manual__hero,
    .pa-security-brief,
    .pa-connect-decision-hero
  ) > :is(.pa-menu-hero__copy, .pa-connect-hub__hero-copy)
  :is(h1, h2, h3, strong) {
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-menu-page > :is(
    .pa-source-briefing,
    .pa-discover-atlas__hero,
    .pa-guides-manual__hero,
    .pa-help-router__hero,
    .pa-faq-manual__hero,
    .pa-security-brief,
    .pa-connect-decision-hero
  ) > :is(.pa-menu-hero__copy, .pa-connect-hub__hero-copy)
  :is(p, li, dt, dd, small, .pa-legal-operator) {
  color: #c7d4d9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-menu-page > :is(
    .pa-source-briefing,
    .pa-discover-atlas__hero,
    .pa-guides-manual__hero,
    .pa-help-router__hero,
    .pa-faq-manual__hero,
    .pa-security-brief,
    .pa-connect-decision-hero
  ) > :is(.pa-menu-hero__copy, .pa-connect-hub__hero-copy)
  :is(.pa-eyebrow, .pa-kicker, .pa-blue-label) {
  color: #70e1dc !important;
}

/* Outline and ghost actions must not borrow paint from imagery, gradients, or
 * translucent rails behind them. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(.btn-outline-primary, .btn-dark-outline, .pa-btn--ghost) {
  border-color: #066f7a !important;
  background: #fbfdfe !important;
  background-image: none !important;
  color: #066f7a !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
}

/* Editorial story media remains visible.  Its caption is a sibling plate, not
 * text inferred through the photograph or the old decorative overlay. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-public-page .pa-theme-story-band::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-public-page .pa-theme-story-band::before,
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-public-page .pa-theme-story-band > figcaption::before,
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-public-page .pa-theme-story-band > figcaption::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-public-page .pa-theme-story-band > figcaption {
  background: #102a30 !important;
  background-image: none !important;
  color: #c7d4d9 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-public-page .pa-theme-story-band > figcaption > span {
  color: #70e1dc !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-public-page .pa-theme-story-band > figcaption > strong {
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-public-page .pa-theme-story-band > figcaption > p {
  color: #c7d4d9 !important;
}

/* Community keeps one inverse masthead in Light mode. Its copy and counters
 * use the same readable ink as the route stylesheet. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-community-page:not(.pa-community-detail-page) #communityPageTitle {
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-community-page:not(.pa-community-detail-page)
  :is(.pa-community-masthead__copy > p, .pa-community-masthead__actions > p, .pa-community-masthead__actions dt) {
  color: #c7d4d9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-community-page:not(.pa-community-detail-page)
  .pa-community-masthead__actions dl {
  border-color: #29434c !important;
  background: #29434c !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-community-page:not(.pa-community-detail-page)
  .pa-community-masthead__actions dl > div {
  background: #183240 !important;
  background-image: none !important;
  color: #f1f8f9 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-community-page:not(.pa-community-detail-page)
  .pa-community-masthead__actions dd {
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-community-page:not(.pa-community-detail-page)
  .pa-community-tabs a::after {
  content: none !important;
  display: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-community-page:not(.pa-community-detail-page)
  .pa-community-tabs a.is-active {
  box-shadow: inset 0 -3px #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-community-page:not(.pa-community-detail-page)
  .pa-community-tabs a > span {
  position: relative !important;
  z-index: 1 !important;
  background: #e2eff2 !important;
  background-image: none !important;
  color: #33485a !important;
  isolation: isolate !important;
}

/* Large decorative route numbers are still text paint to automated contrast
 * evaluation.  Use the established Light muted role rather than pale ornament. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content :is(
    .pa-connect-route-card__number,
    .pa-discover-route__number,
    .pa-help-route__index,
    .pa-guides-chapter__number
  ),
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-intake-route ol > li > span {
  color: #52697a !important;
}

/* Print Shops keeps inverse copy on its full-field image scrim. The fact rail
 * and story caption remain separate information surfaces. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-hero-copy {
  background: transparent !important;
  background-image: none !important;
  color: #c7d4d9 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-hero-copy :is(h1, h2, h3, strong) {
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-hero-copy > p {
  color: #c7d4d9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-hero-copy .pa-eyebrow,
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-workflow > aside > .pa-kicker {
  color: #70e1dc !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-hero-facts,
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-hero-facts > div {
  border-color: #29434c !important;
  background: #102a30 !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-hero-facts dt {
  color: #70e1dc !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-hero-facts dd {
  color: #c7d4d9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-production-world::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-production-world figcaption {
  border: 1px solid #29434c !important;
  background: #102a30 !important;
  background-image: none !important;
  color: #c7d4d9 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-production-world figcaption > span {
  color: #076a73 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-print-shops-page .pa-shop-production-world figcaption > strong {
  color: #f1f8f9 !important;
}

/* The Sellers hero retains its immersive image and full-field Light scrim;
 * keep its bounded copy transparent without changing the responsive grid. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sellers-page > .pa-page-hero > div:first-child {
  background: transparent !important;
  background-image: none !important;
  color: #263746 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sellers-page > .pa-page-hero > div:first-child :is(h1, h2, h3, strong) {
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sellers-page > .pa-page-hero > div:first-child p {
  color: #263746 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sellers-page > .pa-page-hero > div:first-child .pa-eyebrow {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sellers-page .pa-bottom-cta {
  background: #102a30 !important;
  background-image: none !important;
  color: #c7d4d9 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sellers-page .pa-bottom-cta :is(h2, h3, strong) {
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-sellers-page .pa-bottom-cta p {
  color: #c7d4d9 !important;
}

/* Print Analysis aliases share the same decision menu.  Removing a gradient
 * without assigning an opaque color leaves transparent paint, so close both. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-doctor-page :is(
    .pa-doctor-decision-menu,
    .pa-doctor-tool-picker-head,
    .pa-doctor-quick-card
  ) {
  background: #fbfdfe !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-doctor-page .pa-doctor-decision-boundary {
  background: #edf8fb !important;
  background-image: none !important;
  color: #40586a !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

/* Seller Workshop uses a continuous image scrim for contrast rather than
 * disconnected opaque boxes behind the numbered sequence. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-maker-tools .pa-maker-tools-hero__map {
  background: #08181f !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-maker-tools .pa-maker-tools-hero__map::before {
  content: none !important;
  display: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-maker-tools .pa-maker-tools-hero__map :is(
    .pa-maker-tools-hero__file,
    .pa-maker-tools-hero__order,
    li
  ) {
  background: transparent !important;
  background-image: none !important;
  color: #f1f8f9 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-maker-tools .pa-maker-tools-hero :is(
    .pa-eyebrow,
    .pa-maker-tools-hero__file i,
    .pa-maker-tools-hero__order i,
    .pa-maker-tools-hero__map li > span
  ) {
  color: #70e1dc !important;
}

/* Source Check result and privacy cards. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-source-tool .pa-source-result-state > h2 {
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-source-tool .pa-source-packet-preview > article {
  background: #132b33 !important;
  background-image: none !important;
  color: #c7d4d9 !important;
  box-shadow: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-source-tool .pa-source-packet-preview > article > span {
  color: #70e1dc !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-source-tool .pa-source-packet-preview > article :is(h3, strong) {
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-source-tool .pa-source-packet-preview > article > p {
  color: #c7d4d9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-source-tool .pa-source-privacy-card {
  border-color: #29434c !important;
  background: #102a30 !important;
  background-image: none !important;
  color: #f1f8f9 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-source-tool .pa-source-privacy-card > strong {
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-source-tool .pa-source-privacy-card > p {
  color: #c7d4d9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-source-tool .pa-source-privacy-card::before,
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-source-tool .pa-source-privacy-card::after {
  content: none !important;
  display: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-maker-tool-page .pa-maker-tool-explainer .pa-blue-label {
  color: #70e1dc !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-maker-tool-page .pa-maker-tool-explainer li p {
  color: #c7d4d9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-maker-tool-page .pa-maker-tool-boundary > strong {
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-maker-tool-page .pa-maker-tool-boundary > p {
  color: #52697a !important;
}

/* Guides and Help Center route-owned surfaces. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-guides-manual .pa-guides-manual__plate figcaption {
  background: #102a30 !important;
  background-image: none !important;
  color: #c7d4d9 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-guides-manual .pa-guides-manual__plate figcaption :is(.pa-eyebrow, span) {
  color: #70e1dc !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-guides-manual .pa-guides-manual__plate figcaption :is(h2, h3, strong) {
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-help-router .pa-help-router__human {
  background: #edf8fb !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-help-router .pa-help-router__studio .pa-eyebrow {
  color: #70e1dc !important;
}

/* Report Gallery: remove the visual's parent overlay, make every comparison
 * card opaque, and strengthen the two near-threshold semantic ink roles. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-samples .pa-gallery-visual::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-samples .pa-gallery-visual-label {
  border-color: #29434c !important;
  background: #102a30 !important;
  background-image: none !important;
  color: #f1f8f9 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-samples :is(.pa-quote-contrast, .pa-contrast-image-card) {
  background: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-samples .pa-contrast-outcome > span {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-report-samples .pa-contrast-outcome > p {
  color: #52697a !important;
}

/* Contact's copy panel is Light paper; retained inverse ink must follow it. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-contact-page .pa-contact-hero-copy {
  background: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-contact-page .pa-contact-hero-copy :is(h1, h1 > span) {
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-contact-page .pa-contact-hero-copy > .pa-eyebrow {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-contact-page .pa-contact-hero-copy :is(p, .pa-contact-operator) {
  color: #52697a !important;
}

/* Legal Scope was flattened to Light ice earlier; convert its white hero and
 * proof-strip ink.  Privacy and Terms retain one solid inverse story caption. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-legal-scope-page > .pa-legal-hero {
  background: #edf8fb !important;
  background-image: none !important;
  color: #263746 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-legal-scope-page > .pa-legal-hero :is(h1, h2, h3, strong) {
  color: #122233 !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-legal-scope-page > .pa-legal-hero :is(p, .pa-legal-operator) {
  color: #52697a !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-legal-scope-page .pa-legal-proof-strip > span {
  background: #fbfdfe !important;
  background-image: none !important;
  color: #40586a !important;
  isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-legal-scope-page .pa-legal-proof-strip > span > i {
  color: #066f7a !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-legal-document-page > .pa-legal-story-band > figcaption {
  background: #08242d !important;
  background-image: none !important;
  color: #d8e8e8 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

/* Material cards use the authored Light paper color without a composite wash. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-material-guide .pa-material-copy,
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-material-risk-page .pa-material-copy {
  background: #fbfdfe !important;
  background-image: none !important;
  color: #263746 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

/* Phones cannot expose contrast for chapter labels that begin outside the
 * horizontal scrollport.  A compact two-column index preserves the same links
 * while keeping every label in the rendered viewport. */
@media (max-width: 640px) {
  html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content .pa-guides-manual .pa-guides-manual__chapter-strip {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    overflow: visible !important;
  }

  html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content .pa-guides-manual .pa-guides-manual__chapter-strip > span {
    grid-column: 1 / -1 !important;
    padding: 0.75rem !important;
    border-bottom: 1px solid #d9e9ef !important;
  }

  html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content .pa-guides-manual .pa-guides-manual__chapter-strip > a {
    min-width: 0 !important;
    width: auto !important;
    padding: 0.75rem !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 0.45rem !important;
    overflow-wrap: anywhere !important;
  }
}

/* Audit Event: keep compact metadata links comfortably tappable on phones. */
html[data-pa-theme="light"] body.pa-family-admin
  #main-content .card-header.bg-danger.text-white {
  background-color: #B42318 !important;
  color: #FFFFFF !important;
}

@media (max-width: 575.98px) {
  html[data-pa-theme="light"] body.pa-family-admin
    #main-content dl dd > a.text-decoration-none {
    display: inline-flex !important;
    min-height: 28px !important;
    align-items: center !important;
    padding-block: 4px !important;
  }
}


/* Admin AI Maintenance: convert dense diagnostic tables to readable mobile records. */
@media (max-width: 575.98px) {
  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4
    > :is(.col-xl-7, .col-lg-8)
    .table-responsive {
    overflow: visible;
  }

  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4
    > :is(.col-xl-7, .col-lg-8)
    table {
    display: block;
    width: 100%;
  }

  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4
    > :is(.col-xl-7, .col-lg-8)
    thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4
    > :is(.col-xl-7, .col-lg-8)
    tbody {
    display: grid;
    gap: 0.75rem;
  }

  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4
    > :is(.col-xl-7, .col-lg-8)
    tbody tr {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem;
    border: 1px solid #D9E9EF;
    border-radius: 0.65rem;
    background: #FFFFFF;
  }

  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4
    > :is(.col-xl-7, .col-lg-8)
    tbody td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    color: #122233;
    text-align: left !important;
  }

  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4
    > :is(.col-xl-7, .col-lg-8)
    tbody td::before {
    display: block;
    margin-bottom: 0.15rem;
    color: #617486;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4 > .col-xl-7
    tbody td:nth-child(1)::before { content: "Check"; }
  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4 > .col-xl-7
    tbody td:nth-child(2)::before { content: "Status"; }
  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4 > .col-xl-7
    tbody td:nth-child(3)::before { content: "Detail"; }

  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4 > .col-lg-8
    tbody td:nth-child(1)::before { content: "Feature"; }
  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4 > .col-lg-8
    tbody td:nth-child(2)::before { content: "AI use"; }
  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4 > .col-lg-8
    tbody td:nth-child(3)::before { content: "Code-owned coverage"; }
  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4 > .col-lg-8
    tbody td:nth-child(4)::before { content: "Maintenance signal"; }
  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4 > .col-lg-8
    tbody td:nth-child(5)::before { content: "Action"; }

  html[data-pa-theme="light"] body.pa-family-admin:has(#main-content h1 .bi-cpu)
    #main-content > .row.g-4.mb-4 > .col-lg-8
    tbody td:last-child .btn {
    width: 100%;
  }
}

/* Product feedback is a Light paper form, not inverse copy. */
html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-product-feedback .pa-product-feedback__eyebrow {
  color: #066f7a !important;
  background: #fbfdfe !important;
  background-image: none !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-product-feedback .btn-outline-success {
  color: #146c43 !important;
  border-color: #146c43 !important;
  background: #fbfdfe !important;
  background-image: none !important;
}

/* Keep Community copy integrated with the inverse masthead at every width.
 * Only its search control is a paper surface, not the whole copy column. */
html[data-pa-theme="light"] body.pa-body.pa-family-community:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-community-page:not(.pa-community-detail-page)
  .pa-community-masthead__copy {
  background: #102a30 !important;
  box-shadow: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-community:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-community-page:not(.pa-community-detail-page)
  .pa-community-masthead__copy > .pa-eyebrow {
  color: #70e1dc !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-community:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-community-page:not(.pa-community-detail-page)
  .pa-community-masthead__copy > #communityPageTitle {
  color: #f1f8f9 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-community:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-community-page:not(.pa-community-detail-page)
  .pa-community-masthead__copy > p {
  color: #c7d4d9 !important;
}

/* Give compact modal copy an opaque painted gutter around every glyph so
 * strict contrast analysis is deterministic while the native dialog is open. */
html[data-pa-theme="light"] body.pa-body.pa-family-community:not(.pa-protected-workspace)
  #main-content#main-content#main-content .pa-community-composer-heading > div > :is(.pa-eyebrow, h2, p),
html[data-pa-theme="light"] body.pa-body.pa-family-community:not(.pa-protected-workspace)
  #main-content#main-content#main-content :is(.pa-community-ask-grid, .pa-community-review-draft) :is(label, small) {
  padding: 0.2em 0.24em !important;
  background-color: #fbfdfe !important;
  background-image: none !important;
}

/* Compact layouts can place nearby decorative layers across otherwise valid
 * text. Give the affected live copy its exact local Light paint. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
  #main-content#main-content .pa-home .pa-home-troubleshoot-callout__copy > strong {
  position: relative !important;
  z-index: 2 !important;
  display: inline-block !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding-block: 0.125rem !important;
  background: #102a30 !important;
  background-image: none !important;
  color: #fbfdfe !important;
  isolation: isolate !important;
}

/* Balance the two live-status lines over one stable hero paint stack. */
html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
  #main-content#main-content .pa-home .pa-home-model-toast > [data-pa-model-status] {
  text-wrap: balance !important;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
  #main-content#main-content .pa-doctor-page
  a[data-doctor-tool] > span:not(.pa-doctor-card-action) > strong {
  position: relative !important;
  z-index: 2 !important;
  display: inline-block !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding-block: 0.125rem !important;
  background: #fbfdfe !important;
  background-image: none !important;
  color: #122233 !important;
  isolation: isolate !important;
}

@media (max-width: 640px) {
  html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content .pa-sample-report-page .pa-report-title-row > :first-child,
  html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content .pa-sample-report-page .pa-report-title-row :is(.pa-report-breadcrumb, p) {
    position: relative !important;
    z-index: 2 !important;
    background: #fbfdfe !important;
    background-image: none !important;
    isolation: isolate !important;
  }

  html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content .pa-sample-report-page .pa-report-title-row :is(.pa-report-breadcrumb, p) {
    padding-block: 0.125rem !important;
    color: #52697a !important;
  }

  html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content .pa-sample-report-page .pa-panel-title-row {
    position: relative !important;
    z-index: 2 !important;
    background: #ffffff !important;
    background-image: none !important;
    isolation: isolate !important;
  }

  html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content .pa-sample-report-page .pa-panel-title-row > h2 {
    position: relative !important;
    z-index: 2 !important;
    padding-block: 0.125rem !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #122233 !important;
    isolation: isolate !important;
  }

  html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content .pa-sample-report-page .pa-panel-title-row > span {
    position: relative !important;
    z-index: 2 !important;
    background: #edf8fb !important;
    background-image: none !important;
    color: #066f7a !important;
    isolation: isolate !important;
  }
}

@media (max-width: 360px) {
  html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
    #main-content#main-content .pa-home .pa-home-troubleshoot-callout {
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden !important;
    isolation: isolate !important;
  }

  html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
    #main-content#main-content .pa-home .pa-home-troubleshoot-callout__icon {
    display: none !important;
  }

  html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
    #main-content#main-content .pa-home .pa-home-troubleshoot-callout__copy {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    overflow: hidden !important;
    isolation: isolate !important;
  }
}

html[data-pa-theme="light"] body:not(.pa-protected-workspace)
  #main-content .pa-curated-gallery .pa-risk-chip {
  color: #066b77 !important;
}

html[data-pa-theme="light"] body.pa-family-community:not(.pa-protected-workspace)
  #main-content#main-content .pa-community-page .small {
  color: #4e6575 !important;
}

@media (max-width: 760px) {
  html[data-pa-theme="light"] body.pa-family-community:not(.pa-protected-workspace)
    #main-content#main-content .pa-community-masthead
    :is(.pa-community-conversation-drawing, .pa-community-masthead__image) {
    display: none !important;
  }
}
