/*
 * Workflow surface coherence
 *
 * These rules load after the legacy theme layers. They keep the customer
 * workflow pages on the same restrained 8px geometry contract as the public
 * site, compact entry compositions so the actual task appears sooner, and
 * leave the full-screen Print Studio workspace intentionally edge-to-edge.
 */

body.pa-family-workflow:not(.pa-protected-workspace) :is(
    .card,
    .pa-dashboard-kpi,
    .pa-dashboard-panel,
    .pa-dashboard-support,
    .pa-bridge-panel,
    .pa-source-packet-hero,
    .pa-score-result-header,
    .pa-score-section,
    .pa-project-card,
    .pa-projects-create,
    .pa-projects-list,
    .pa-upload-card,
    .pa-status-card,
    .pa-upload-preview-panel,
    .pa-source-workspace,
    .pa-source-input,
    .pa-source-result-board,
    .pa-source-support-card,
    .pa-shared-report-page,
    .pa-shared-report-hero,
    .pa-report-card-page,
    .pa-report-card,
    .pa-report-detail-shell,
    .pa-locked-feature,
    .pa-empty-state,
    .pa-list-toolbar
) {
    border-radius: 8px !important;
}

body.pa-family-workflow:not(.pa-protected-workspace) :is(
    .btn,
    .form-control,
    .form-select,
    textarea,
    .input-group,
    .pa-upload-dropzone
) {
    border-radius: 8px !important;
}

/* Print Score entry: keep the decision and primary action in one viewport. */
.pa-score-entry-page > .pa-theme-hero {
    min-height: 44rem !important;
    padding-block: clamp(2.5rem, 4vw, 4rem) !important;
}

.pa-score-entry-page .pa-theme-hero-copy {
    max-width: 50rem;
}

.pa-score-entry-page .pa-theme-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(3.4rem, 5vw, 4.85rem) !important;
    line-height: 0.96;
}

.pa-score-entry-page .pa-theme-hero-copy > p {
    max-width: 61ch;
    line-height: 1.6;
}

.pa-score-entry-page .pa-theme-hero-copy > .pa-action-row {
    gap: 0.65rem;
}

.pa-score-entry-page .pa-theme-hero-copy > .pa-action-row .btn {
    min-height: 3rem;
    padding: 0.72rem 1rem;
    font-size: 0.95rem;
}

.pa-score-entry-page .pa-theme-hero-points {
    margin-top: 1.25rem;
}

/* Source Check: the privacy boundary is a distinct note, not an overlay
   colliding with the three-item evidence register. */
body:not(.pa-protected-workspace) .pa-source-tool > .pa-source-briefing {
    min-height: 40rem !important;
}

body:not(.pa-protected-workspace) .pa-source-briefing > .pa-source-briefing__visual,
body:not(.pa-protected-workspace) .pa-source-briefing > .pa-source-briefing__visual > figure {
    max-width: none !important;
}

body:not(.pa-protected-workspace) .pa-main > .pa-source-tool.pa-menu-page >
    .pa-source-briefing > .pa-source-briefing__copy {
    box-sizing: border-box;
    width: min(58rem, 68%) !important;
    padding:
        clamp(2.5rem, 4vw, 4rem)
        2rem
        clamp(2.5rem, 4vw, 4rem)
        clamp(3rem, 8vw, 9rem) !important;
}

.pa-source-briefing h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 4.6vw, 4.6rem) !important;
    line-height: 0.97;
}

.pa-source-briefing__copy > p {
    max-width: 58ch;
    line-height: 1.62;
}

.pa-source-briefing__boundary {
    max-width: 46rem;
}

body:not(.pa-protected-workspace) .pa-source-briefing__visual .pa-source-privacy-card {
    position: absolute !important;
    z-index: 4;
    right: max(1.5rem, calc((100vw - 80rem) / 2)) !important;
    bottom: 2rem !important;
    left: auto !important;
    width: min(23rem, 32vw) !important;
    max-width: 23rem !important;
    padding: 1.1rem 1.2rem !important;
    border: 1px solid rgba(159, 232, 226, 0.35) !important;
    border-radius: 8px !important;
    background: rgba(5, 31, 38, 0.9) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2) !important;
    text-align: left !important;
}

.pa-source-privacy-card strong {
    display: block;
    margin-top: 0.35rem;
}

.pa-source-privacy-card p {
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Print Analysis: show the route choices sooner while retaining the evidence
   and privacy explanation that makes the product trustworthy. */
.pa-doctor-page .pa-doctor-decision-desk,
.pa-doctor-page .pa-doctor-decision-story,
.pa-doctor-page .pa-doctor-decision-menu,
.pa-doctor-page .pa-doctor-decision-card,
.pa-doctor-page .pa-doctor-guidance-rail,
.pa-doctor-page .pa-doctor-guide-panel,
.pa-doctor-page .pa-doctor-plan-strip,
.pa-doctor-page .pa-doctor-workflow-desk,
.pa-doctor-page .pa-doctor-dialog-shell {
    border-radius: 8px !important;
}

.pa-doctor-page .pa-doctor-decision-desk,
.pa-doctor-page .pa-doctor-guidance-rail,
.pa-doctor-page .pa-doctor-decision-options {
    overflow: hidden;
}

.pa-doctor-page .pa-doctor-decision-story {
    padding: clamp(1.4rem, 2.3vw, 2.25rem) !important;
}

.pa-doctor-page .pa-doctor-intro h1 {
    max-width: 12ch;
    margin-block: 0.65rem 0.9rem;
    font-size: clamp(2.7rem, 3.6vw, 3.65rem) !important;
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.pa-doctor-page .pa-doctor-intro > p {
    font-size: 0.95rem;
    line-height: 1.56;
}

.pa-doctor-page .pa-doctor-hero-promises {
    margin-top: 1rem;
}

.pa-doctor-page .pa-doctor-hero-promises > span {
    padding-block: 0.5rem;
    /* Keep emphasis and the rest of each sentence in one wrapping text flow. */
    display: block !important;
    line-height: 1.6;
}

.pa-doctor-page .pa-doctor-hero-promises > span > i {
    margin-inline-end: 0.55rem;
}

.pa-doctor-page .pa-doctor-decision-card {
    height: auto !important;
    margin-top: 1rem;
}

.pa-doctor-page .pa-doctor-decision-card > img {
    height: 9.5rem !important;
    object-fit: cover;
}

.pa-doctor-page .pa-doctor-decision-card figcaption {
    position: static;
}

.pa-doctor-page .pa-doctor-decision-menu {
    padding: clamp(1.25rem, 2vw, 1.75rem) !important;
}

.pa-doctor-page .pa-doctor-tool-picker-head {
    display: block !important;
    margin-top: 0 !important;
    text-align: left !important;
}

.pa-doctor-page .pa-doctor-tool-picker-head > strong {
    max-width: 16ch;
    font-size: clamp(1.55rem, 2vw, 1.95rem);
}

.pa-doctor-page .pa-doctor-tool-picker-head > p {
    max-width: 34ch;
    margin-bottom: 0;
}

.pa-doctor-page .pa-doctor-decision-options {
    margin-top: 1rem;
    gap: 1px !important;
    border-radius: 8px;
}

.pa-doctor-page .pa-doctor-decision-options .pa-doctor-quick-card {
    min-height: 7rem;
    padding: 0.8rem 0.85rem;
}

.pa-doctor-page .pa-doctor-decision-boundary {
    margin-top: 0.8rem;
}

.pa-doctor-page .pa-doctor-plan-strip {
    margin-top: 0.9rem;
}

@media (max-width: 767.98px) {
    .pa-score-entry-page > .pa-theme-hero {
        min-height: 0 !important;
        padding: 1.9rem 1rem 1.35rem !important;
    }

    .pa-score-entry-page .pa-theme-hero-copy {
        width: 100% !important;
        margin: 0 !important;
    }

    .pa-score-entry-page .pa-theme-hero-copy h1 {
        max-width: 11ch;
        margin-block: 0.75rem 0.8rem;
        font-size: clamp(2.55rem, 11.5vw, 3.15rem) !important;
    }

    .pa-score-entry-page .pa-theme-hero-copy > p {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .pa-score-entry-page .pa-theme-hero-copy > .pa-action-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.55rem;
        width: 100% !important;
        max-width: none !important;
    }

    .pa-score-entry-page .pa-theme-hero-copy > .pa-action-row .btn {
        width: 100%;
        min-height: 3.35rem;
        margin: 0;
        padding: 0.65rem 0.55rem;
        font-size: 0.78rem;
        line-height: 1.25;
        white-space: normal;
    }

    .pa-score-entry-page .pa-theme-hero-points {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        margin-top: 1rem;
    }

    .pa-score-entry-page .pa-theme-hero-points article {
        min-width: 0;
        padding: 0.8rem 0.35rem;
        text-align: center;
    }

    .pa-score-entry-page .pa-theme-hero-points article i {
        margin-inline: auto;
    }

    .pa-score-entry-page .pa-theme-hero-points article span {
        display: none;
    }

    body:not(.pa-protected-workspace) .pa-source-tool > .pa-source-briefing {
        min-height: 0 !important;
    }

    body:not(.pa-protected-workspace) .pa-main > .pa-source-tool.pa-menu-page >
        .pa-source-briefing > .pa-source-briefing__copy {
        width: 100% !important;
        padding: 2rem 1rem 13rem !important;
    }

    .pa-source-briefing h1 {
        max-width: 12ch;
        font-size: clamp(2.5rem, 11.5vw, 3.2rem) !important;
    }

    .pa-source-briefing__copy > p {
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .pa-source-briefing__boundary > span {
        padding-block: 0.65rem !important;
        font-size: 0.76rem;
    }

    body:not(.pa-protected-workspace) .pa-source-briefing__visual .pa-source-privacy-card {
        display: block !important;
        right: 1rem !important;
        bottom: 1rem !important;
        left: 1rem !important;
        width: auto !important;
        max-width: none !important;
        padding: 0.9rem 1rem !important;
    }

    .pa-source-privacy-card p {
        font-size: 0.76rem;
    }

    .pa-doctor-page .pa-doctor-start {
        padding: 1rem !important;
    }

    .pa-doctor-page .pa-doctor-entry-layout {
        width: 100%;
    }

    .pa-doctor-page .pa-doctor-decision-story {
        padding: 1.25rem !important;
    }

    .pa-doctor-page .pa-doctor-intro h1 {
        font-size: clamp(2.45rem, 12vw, 3rem) !important;
    }

    .pa-doctor-page .pa-doctor-intro > p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .pa-doctor-page .pa-doctor-decision-card {
        display: none;
    }

    .pa-doctor-page .pa-doctor-decision-menu {
        padding: 1.1rem !important;
    }

    .pa-doctor-page .pa-doctor-tool-picker-head > strong {
        font-size: 1.55rem;
    }

    .pa-doctor-page .pa-doctor-tool-picker-head > p {
        font-size: 0.82rem;
    }

    .pa-doctor-page .pa-doctor-decision-options .pa-doctor-quick-card {
        min-height: 6rem;
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        padding: 0.7rem;
    }

    .pa-doctor-page .pa-doctor-decision-options .pa-doctor-quick-card small {
        display: none;
    }

    .pa-doctor-page .pa-doctor-plan-strip > span {
        padding: 0.7rem 0.8rem;
    }
}

@media (max-width: 420px) {
    .pa-score-entry-page .pa-theme-hero-points article strong {
        font-size: 0.72rem;
    }

    .pa-source-briefing .pa-action-row .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pa-score-entry-page *,
    .pa-source-tool *,
    .pa-doctor-page * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Print Score keeps its paper/ice document and a continuous photographic hero.
 * Protect copy with the full-field scrim, not a rectangular opaque copy plate.
 * Automated contrast ambiguity over an image is a review requirement, not a
 * reason to replace the authored composition with solid text boxes. */
html[data-pa-theme="light"] body.pa-body.pa-family-marketing:not(.pa-protected-workspace)
    #main-content#main-content .pa-score-entry-page {
    background-color: #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::before {
    content: "" !important;
    display: block !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-color: 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-copy :is(h1, h1 > span, 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 .pa-theme-hero-copy :is(p, article > span) {
    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 .pa-theme-hero :is(.pa-theme-pill, .btn-outline-primary) {
    border-color: #087f8c !important;
    background-color: #fbfdfe !important;
    background-image: none !important;
    color: #087f8c !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-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-color: #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) :is(p, span) {
    color: #c7d4d9 !important;
}

/* Print Analysis Light closure: preserve the decision-desk geometry while
 * replacing ambiguous composite paint with the existing paper/ice palette. */
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-color: #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-color: #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;
}

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

html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-tool-picker-head > strong {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    padding-block: 0.14em !important;
    background-color: #fbfdfe !important;
    background-image: none !important;
    color: #122233 !important;
    line-height: 1.15 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-card figcaption,
html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-card figcaption > span {
    background-color: #102a30 !important;
    background-image: none !important;
    color: #ffffff !important;
    text-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-card figcaption > span {
    color: #64dcd4 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-card figcaption::before,
html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-card figcaption::after {
    content: none !important;
    display: none !important;
}

html[data-pa-theme="dark"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-card > img[data-pa-theme-media="content"] {
    height: 9.5rem !important;
    max-height: 18rem !important;
    object-fit: cover !important;
}

@media (max-width: 900px) {
    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-doctor-page
        .pa-doctor-decision-card {
        display: none !important;
    }
}

/* Seller Workshop: keep the numbered sequence over the continuous hero image;
 * the hero scrim supplies contrast, not individual opaque label boxes. */
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-color: transparent !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-color: 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;
}

html[data-pa-theme="light"] body.pa-body:not(.pa-protected-workspace)
    #main-content#main-content .pa-maker-tools .pa-maker-tools-hero .btn-outline-primary {
    border-color: #066f7a !important;
    background-color: #fbfdfe !important;
    background-image: none !important;
    color: #066f7a !important;
}

/* Source Check closure.
 * The source illustration is supporting evidence, not a full-page paint layer.
 * Keep it in a bounded panel beside an opaque briefing so both the visual
 * hierarchy and every text contrast surface remain deterministic. */
body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-tool > .pa-source-briefing {
    box-sizing: border-box;
    min-height: 0 !important;
    padding: clamp(2.5rem, 5vw, 5rem)
        max(1.25rem, calc((100vw - 80rem) / 2)) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.94fr) minmax(26rem, 1.06fr) !important;
    align-items: center !important;
    gap: clamp(1.75rem, 4vw, 4rem) !important;
    overflow: hidden !important;
    background-color: #edf8fb !important;
    background-image: none !important;
}

body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-briefing > .pa-source-briefing__copy {
    position: relative !important;
    z-index: 2 !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(2rem, 4vw, 3.5rem) !important;
    border: 1px solid #29434c !important;
    border-left: 4px solid #28b8c4 !important;
    border-radius: 8px !important;
    background-color: #102a30 !important;
    background-image: none !important;
    box-shadow: none !important;
    isolation: isolate !important;
}

body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-briefing__copy::before,
body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-briefing__copy::after,
body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-briefing__visual::after {
    content: none !important;
    display: none !important;
}

body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-briefing > .pa-source-briefing__visual {
    position: relative !important;
    z-index: 1 !important;
    inset: auto !important;
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-rows: auto auto !important;
    gap: 1rem !important;
    transform: none !important;
}

body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-briefing__visual > .pa-menu-hero__media {
    position: relative !important;
    inset: auto !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: clamp(20rem, 32vw, 30rem) !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #29434c !important;
    border-radius: 8px !important;
    background-color: #0f1e27 !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content
    .pa-source-briefing__visual > .pa-menu-hero__media > img[data-pa-theme-media="content"] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
}

body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-briefing__visual .pa-source-privacy-card {
    position: relative !important;
    z-index: 2 !important;
    inset: auto !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 1rem 1.15rem !important;
    border: 1px solid #29434c !important;
    border-radius: 8px !important;
    background-color: #102a30 !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.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-briefing .btn-dark-outline {
    border-color: #087f8c !important;
    background-color: #fbfdfe !important;
    background-image: none !important;
    color: #066f7a !important;
    box-shadow: none !important;
    isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-result-state {
    position: relative !important;
    z-index: 1 !important;
    box-sizing: border-box;
    width: 100% !important;
    background-color: #0b2a31 !important;
    background-image: none !important;
    box-shadow: none !important;
    isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-columns > article {
    background-color: #0d2932 !important;
    background-image: none !important;
    box-shadow: none !important;
    isolation: isolate !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-result-state > .pa-blue-label,
html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-columns > article > span {
    color: #70e1dc !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-result-state > p,
html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-source-columns > article > p {
    color: #c7d4d9 !important;
}

html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content :is(
        .pa-source-privacy-card,
        .pa-source-result-state,
        .pa-source-columns > article
    )::before,
html[data-pa-theme="light"] body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content :is(
        .pa-source-privacy-card,
        .pa-source-result-state,
        .pa-source-columns > article
    )::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 900px) {
    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-source-tool > .pa-source-briefing {
        padding: 2rem max(1rem, calc((100vw - 44rem) / 2)) !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1rem !important;
    }

    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-source-briefing > .pa-source-briefing__copy {
        order: 1 !important;
        padding: clamp(1.5rem, 5vw, 2.25rem) !important;
    }

    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-source-briefing > .pa-source-briefing__visual {
        order: 2 !important;
    }

    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-source-briefing__visual > .pa-menu-hero__media {
        width: min(100%, 40rem) !important;
        height: clamp(15rem, 36vw, 17rem) !important;
        margin-inline: auto !important;
    }

    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-source-briefing__visual .pa-source-privacy-card {
        width: min(100%, 40rem) !important;
        margin-inline: auto !important;
    }
}

@media (max-width: 480px) {
    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-source-tool > .pa-source-briefing {
        padding: 1rem !important;
    }

    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-source-briefing > .pa-source-briefing__copy {
        padding: 1.25rem !important;
    }
}

/* Print Analysis workflow choices are links, but they must read as the page's
   required next action before the visitor discovers hover. */
body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page .pa-doctor-decision-options {
    gap: 0.75rem !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
}

body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options > a.pa-doctor-quick-card {
    position: relative;
    border-width: 1px 1px 1px 4px !important;
    border-radius: 8px !important;
    cursor: pointer;
    text-decoration: none !important;
    transform: translateY(0);
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options > a.pa-doctor-quick-card:focus-visible {
    outline: 3px solid #28b8c4 !important;
    outline-offset: 3px;
}

/* The chooser is a narrow column even on a wide monitor. Reserve the next
   row for its action instead of taking that width away from the explanation. */
.pa-doctor-page .pa-doctor-entry:not(.has-active-tool)
    .pa-doctor-decision-options > a.pa-doctor-quick-card {
    grid-template-columns: auto auto minmax(0, 1fr) !important;
    align-items: start;
}

.pa-doctor-page .pa-doctor-entry:not(.has-active-tool)
    .pa-doctor-quick-card > span:not(.pa-doctor-decision-number):not(.pa-doctor-card-action) {
    min-width: 0;
    max-width: none;
}

.pa-doctor-page .pa-doctor-entry:not(.has-active-tool)
    .pa-doctor-quick-card > .pa-doctor-card-action {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
}

body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options .pa-doctor-card-action {
    min-width: 7rem;
    min-height: 44px;
    margin: 0;
    padding: 0.55rem 0.7rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid currentColor !important;
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1;
    white-space: nowrap;
}

body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options .pa-doctor-card-action > i {
    width: 1.6rem !important;
    height: 1.6rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 0.9rem !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options > a.pa-doctor-quick-card {
    border-color: #b8d5db !important;
    border-left-color: #087f8c !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #122233 !important;
    box-shadow: 0 0.6rem 1.35rem rgba(8, 62, 72, 0.13) !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options > a.pa-doctor-quick-card:is(:hover, :focus-visible, .active) {
    border-color: #087f8c !important;
    background: #edf8fb !important;
    box-shadow: 0 0.9rem 1.8rem rgba(8, 62, 72, 0.2) !important;
    transform: translateY(-2px);
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options .pa-doctor-card-action {
    border-color: #087f8c !important;
    background: #087f8c !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: 0 0.45rem 0.9rem rgba(8, 62, 72, 0.2) !important;
}

html[data-pa-theme="light"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options .pa-doctor-card-action > i {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

html[data-pa-theme="dark"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options > a.pa-doctor-quick-card {
    border-color: #29434c !important;
    border-left-color: #28b8c4 !important;
    background: #183240 !important;
    background-image: none !important;
    color: #f1f8f9 !important;
    box-shadow: 0 0.65rem 1.4rem rgba(8, 22, 32, 0.46) !important;
}

html[data-pa-theme="dark"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options > a.pa-doctor-quick-card:is(:hover, :focus-visible, .active) {
    border-color: #3fd0d5 !important;
    background: #203e4d !important;
    box-shadow: 0 0.9rem 1.8rem rgba(8, 22, 32, 0.58) !important;
    transform: translateY(-2px);
}

html[data-pa-theme="dark"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options .pa-doctor-card-action {
    border-color: #29434c !important;
    background: #203e4d !important;
    background-image: none !important;
    color: #f1f8f9 !important;
    box-shadow: 0 0.45rem 0.9rem rgba(8, 22, 32, 0.42) !important;
}

html[data-pa-theme="dark"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options .pa-doctor-card-action > i {
    background: #152935 !important;
    color: #f1f8f9 !important;
}

html[data-pa-theme="dark"] body.pa-body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
    #main-content#main-content#main-content .pa-doctor-page
    .pa-doctor-decision-options > a.pa-doctor-quick-card small {
    color: #c7d4d9 !important;
}

@media (max-width: 480px) {
    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-doctor-page
        .pa-doctor-decision-options > a.pa-doctor-quick-card {
        grid-template-columns: auto auto minmax(0, 1fr) !important;
    }

    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-doctor-page
        .pa-doctor-decision-options .pa-doctor-card-action {
        grid-column: 2 / -1;
        width: 100%;
        margin-top: 0.25rem;
    }

    .pa-doctor-page .pa-doctor-entry:not(.has-active-tool)
        .pa-doctor-quick-card > span:not(.pa-doctor-decision-number):not(.pa-doctor-card-action) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-doctor-page .pa-doctor-entry:not(.has-active-tool)
        .pa-doctor-quick-card > .pa-doctor-card-action {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-doctor-page
        .pa-doctor-decision-options > a.pa-doctor-quick-card {
        transition: none;
    }

    body.pa-body.pa-family-workflow:not(.pa-protected-workspace)
        #main-content#main-content#main-content .pa-doctor-page
        .pa-doctor-decision-options > a.pa-doctor-quick-card:is(:hover, :focus-visible, .active) {
        transform: none;
    }
}
