/* =====================================================================
   THEME — single source of truth for the site palette (2026-07-21).
   Change the theme by editing this block (keep the -rgb triplets in sync;
   they feed rgba() tints). JS reads these at startup via THEME_COLORS
   resolvers in results/profile/reports/viz scripts, so charts, SVG share
   images and JS-built markup follow automatically.
   NOTE dual roles today (split freely when retheming):
     --trait-e is also the gold button family (btn-gold pairs with
     --trait-e-dark hover); --trait-a is also the green CTA (btn-go);
     --bright-o is also the purple button (btn-purple, --bright-o-dark
     hover); --bright-c is also the landing-page CTA blue.
   NOT covered (retheme checklist): results-email colors in
   functions/index.js (~8 hex), pale tint backgrounds (#fdf6ec, #f8f7ff,
   #f0fdf4, #fef2f2), blog hero PNGs, language-site repos, aureum.css
   black/white base.
   ===================================================================== */
:root {
    /* ==== PASTEL THEME (2026-07-21) — derived from video-opt-subfacets-A3L
       scene palette: warm cream canvas, milky pastel fills, warm umber line
       work. Each trait has a pastel FILL (-soft) and a deep text-safe tone
       (-deep) at the same hue. The --trait- and --bright- families are
       aliases kept for JS resolvers and color: usages — they resolve to
       the DEEP tones. ==== */
    --o-soft: #c9bfe6;  --o-deep: #71619f;   /* Openness — lilac */
    --c-soft: #b7d3e3;  --c-deep: #567e9b;   /* Conscientiousness — powder blue */
    --e-soft: #f5d488;  --e-deep: #a9832f;   /* Extraversion — butter yellow */
    --a-soft: #b9cfae;  --a-deep: #67885c;   /* Agreeableness — sage */
    --n-soft: #eba99b;  --n-deep: #b95f52;   /* Neuroticism — soft coral red */
    --money: #b05a36;   --money-hover: #9d4e2d;  /* orange — default action buttons */
    --btn-gold: var(--a-deep); --btn-gold-hover: #56724c;   /* unlock/pay = A green (owner 2026-07-21) */
    --btn-purple: var(--o-deep); --btn-purple-hover: #60518c; /* = O purple */
    --danger: #c43a2e;  --danger-hover: #a93225;  /* true red, distinct from terracotta */
    /* aliases (JS resolvers + color: usages) */
    --trait-o: var(--o-deep); --trait-c: var(--c-deep); --trait-e: var(--e-deep);
    --trait-a: var(--a-deep); --trait-n: var(--n-deep);
    --bright-o: var(--o-deep); --bright-c: var(--c-deep); --bright-e: var(--e-deep);
    --bright-a: var(--a-deep); --bright-n: var(--n-deep);
    --trait-e-dark: var(--money-hover);
    --bright-o-dark: #9d4e2d;   /* purple button hover (pastel, deeper) */
    --bright-c-dark: #9d4e2d;   /* landing CTA hover (pastel, deeper) */
    --trait-a-rgb: 103,136,92;
    --trait-n-rgb: 185,95,82;
    --bright-o-rgb: 113,97,159;
    --bright-c-rgb: 86,126,155;
    --bright-e-rgb: 169,131,47;
    --bright-a-rgb: 103,136,92;
    --bright-n-rgb: 185,95,82;
    --accent-pink: var(--n-deep);        /* recovery/delete family = N */
    --accent-pink-dark: #a54f43;
    --gold-text: var(--e-deep);
    /* neutral scale — warm cream/umber (softened blacks) */
    --paper: #faf6ee;
    --ink: #4f4237;
    --ink-navy: #4f4237;
    --text-inverse: #faf6ee;
    --bg-ink: #4f4237;
    --charcoal: #303136;   /* cool charcoal — hero tabs (owner 2026-07-21) */
    --btn-ink: #362d24;        /* filled charcoal buttons — deeper than --bg-ink so disabled (0.55) reads clearly different */
    --btn-ink-hover: #4f4237;
    --border-ink: #4f4237;
    --text-strong: #4f4237;
    --text-soft: #5d4f41;
    --text-mid: #6d5d4d;
    --text-dim: #7d6c5a;
    --text-muted: #8a7866;
    --text-faint: #99897a;
    --text-ghost: #a8998b;
    --text-wisp: #b7a99b;
    --surface-1: #f3ecdc;
    --surface-2: #f0e8d5;
    --surface-3: #ebe2cc;
    --surface-4: #e5dbc2;
    --border-1: #e7ddc9;
    --border-2: #e4dac7;
    --border-3: #eae0cd;
    --border-4: #d6c9b2;
    --border-5: #c5b7a0;
    --scrim: rgba(0,0,0,0.5);   /* neutral black — matches the preview-confirm overlay */
    --veil: rgba(250,246,238,0.97);
    --veil-2: rgba(250,246,238,0.95);
}

/* Layout utilities — structural only, no color embellishment */

/* ===== Body padding override ===== */
/* No top padding: the sticky nav owns the top edge (it used to cancel a
   2.618rem top padding with an equal negative margin — both removed). */
body {
    padding: 0 11.09vw 2.618rem;
}

/* ===== Navigation ===== */
/* aureum's body{overflow-x:hidden} silently turns body into a scroll
   container, which disables every position:sticky against the viewport
   (this nav, the results tab rail). html{overflow-x:hidden} still guards
   against horizontal scroll, so releasing body is safe — and the nav
   below sticks as its own rules have always declared. */
body { overflow-x: visible; }

nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.5rem;
    padding: 1rem 11.09vw;
    border-bottom: 1px solid var(--border-1);
    position: sticky;
    top: 0;
    background: var(--paper);
    z-index: 100;
    margin: 0 -11.09vw 0;
}

nav a {
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > span {
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--paper);
    border: 1px solid var(--border-1);
    padding: 0.5rem 0;
    min-width: 10rem;
    z-index: 101;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.35rem 1rem;
    font-size: 0.9rem;
}

.nav-dropdown-menu a:hover {
    background: #f5f5f5;
}

/* Push Sign In to the right */
nav .nav-signin {
    margin-left: auto;
}

/* ===== Header / Hero ===== */
header {
    text-align: left;
    padding: 6.854rem 11.09vw 4.236rem;
    margin: 0 -11.09vw 2.618rem;
    border-bottom: 1px solid var(--border-1);
}

header h1 {
    max-width: none;
}

header p {
    max-width: 42rem;
}

/* ===== Inline text links ===== */
p a, li a, td a, .email-notice a {
    text-decoration: none;
    border-bottom: 1px dashed var(--border-ink);
}

p a:hover, p a:focus,
li a:hover, li a:focus,
td a:hover, td a:focus {
    border-bottom-style: solid;
}

/* ===== Hero Slideshow ===== */
.hero-slides {
    display: flex;
    flex-direction: row-reverse;   /* nav rail on the right (owner 2026-07-21) */
    align-items: stretch;
}

.hero-tabs {
    flex: 0 0 23.6%;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--border-1);
}

.hero-content {
    flex: 1 1 61.8%;
    display: grid;
    padding-right: 2.618rem;
}

.hero-slide {
    grid-area: 1 / 1;
    visibility: hidden;
}

.hero-slide.active {
    visibility: visible;
}

.hero-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1rem 1.618rem;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border-1);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s;
    width: 100%;
    margin-bottom: 0;
}

.hero-tab + .hero-tab {
    margin-left: 0;
}

.hero-tab:last-child {
    border-bottom: none;
}

.hero-tab:hover {
    background: var(--surface-1);
}

.hero-tab.active {
    background: var(--surface-1);
    color: var(--ink);
}
.hero-tab.active strong {
    color: var(--money);
}

.hero-tab strong {
    font-size: 1.236rem;
    display: block;
    margin: 0;
    padding: 0;
}

.hero-tab small {
    font-size: 0.854rem;
    color: var(--text-faint);
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.hero-tab.active small {
    color: var(--text-muted);
}

@media (max-width: 1000px) {
    .hero-slides {
        flex-direction: column;
    }

    .hero-tabs {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid var(--border-1);
    }

    .hero-tab {
        border-bottom: none;
        border-right: 1px solid var(--border-1);
        padding: 0.382rem 0.5rem;
        flex: 1 1 0;
        min-width: 0;
        text-align: left;
    }

    .hero-tab strong {
        font-size: 0.75rem;
    }

    .hero-tab small {
        font-size: 0.6rem;
    }

    .hero-tab:last-child {
        border-right: none;
    }

    .hero-tabs {
        margin-bottom: 4.236rem;
    }

    .hero-content {
        padding-left: 0;
    }
}


/* ===== Buttons / CTAs ===== */
button, .cta {
    display: inline-block;
    width: auto;
}



/* ===== Cards Grid ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.618rem;
    margin-bottom: 2.618rem;
}

.card {
    border: 1px solid var(--border-1);
    padding: 1.618rem;
}

@media (max-width: 1000px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

/* Trait rows — periodic table element style */
.trait-row {
    display: flex;
    gap: 0;
    border: 1px solid var(--border-1);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.trait-element {
    flex: 0 0 38.2%;
    border-right: 1px solid var(--border-1);
    padding: 1.618rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.trait-element small {
    font-size: 0.75rem;
    color: var(--text-faint);
    line-height: 1.2;
}

.trait-symbol {
    font-size: 4.236rem;
    font-weight: 700;
    line-height: 1.1;
}

.trait-name {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* OCEAN trait colors (matching /results theme) */
.trait-o .trait-symbol, .trait-o .trait-name { color: var(--trait-o); }
.trait-c .trait-symbol, .trait-c .trait-name { color: var(--trait-c); }
.trait-e .trait-symbol, .trait-e .trait-name { color: var(--trait-e); }
.trait-a .trait-symbol, .trait-a .trait-name { color: var(--trait-a); }
.trait-n .trait-symbol, .trait-n .trait-name { color: var(--trait-n); }

/* full-color domain panels (owner 2026-07-21): the letter block carries the
   deep trait color with inverse text; the old border-left accent is gone */
.trait-o .trait-element { background: var(--o-deep); }
.trait-c .trait-element { background: var(--c-deep); }
.trait-e .trait-element { background: var(--e-deep); }
.trait-a .trait-element { background: var(--a-deep); }
.trait-n .trait-element { background: var(--n-deep); }
.trait-row .trait-symbol, .trait-row .trait-name { color: var(--text-inverse); }
.trait-row .trait-element small { color: rgba(250,246,238,0.75); }

.trait-body {
    flex: 1;
    padding: 1.618rem;
}

.trait-body h3 {
    margin-bottom: 0.618rem;
}

.trait-body p {
    font-size: 1.236rem;
    line-height: 1.618;
}

.trait-body small {
    font-size: 0.854rem;
    color: var(--text-dim);
}

@media (max-width: 1000px) {
    .trait-row {
        flex-direction: column;
    }

    .trait-element {
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--border-1);
        padding: 1rem 1.618rem;
        flex-direction: row;
        gap: 0.75rem;
        text-align: left;
        align-items: center;
        justify-content: flex-start;
    }

    .trait-symbol {
        font-size: 2.618rem;
    }

    .trait-body {
        text-align: left;
    }
}

.card p, .card li {
    font-size: 1.236rem;
    line-height: 1.618;
}

.card small {
    font-size: 0.854rem;
}

/* ===== Two-column variant ===== */
.cards-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr));
    gap: 1.618rem;
    margin-bottom: 2.618rem;
}

/* ===== Section spacing ===== */
main > section {
    margin-bottom: 4.236rem;
}

/* ===== Main padding for non-hero pages ===== */
main > h1:first-child {
    margin-top: 6.854rem;
}

/* ===== Footer ===== */
footer {
    border-top: 1px solid var(--border-1);
    padding-top: 2.618rem;
    margin-top: 4.236rem;
}

/* ===== Blockquote ===== */
blockquote {
    border-left: 3px solid var(--border-1);
    padding-left: 1.618rem;
    margin-bottom: 1.618rem;
}

blockquote p {
    font-size: 1rem;
    color: var(--text-mid);
    font-style: italic;
    line-height: 1.618;
}


.hero-slide blockquote {
    border-left: none;
    border: 1px solid var(--border-1);
    border-radius: 14px;
    padding: 1rem 1.618rem;
    background: var(--surface-1);
    margin: 1.618rem 0;
}

.hero-slide blockquote p {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
}

/* ===== Table improvements ===== */
table {
    width: 100%;
    margin-bottom: 2.618rem;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--paper);
    border: 1px solid var(--border-1);
    border-radius: 24px;
    overflow: hidden;
}

th, td {
    text-align: left;
    padding: 0.618rem 1rem;
    border-bottom: 1px solid var(--border-1);
    font-size: 1.618rem;
    line-height: 1.618;
}

thead th {
    background: var(--surface-1);
}

tbody tr:last-child td {
    border-bottom: none;
}

th {
    font-weight: 700;
}

/* ===== Steps / Flow ===== */
.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2.618rem;
}

.step {
    display: flex;
    gap: 1.618rem;
    align-items: flex-start;
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 3rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    border: 2px solid var(--border-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.236rem;
    font-weight: 700;
}

.step-line {
    width: 2px;
    flex: 1;
    background: var(--border-1);
    min-height: 1.618rem;
}

.step:last-child .step-line {
    display: none;
}

.step-content {
    flex: 1;
    padding-bottom: 1.618rem;
}

.step-content h3 {
    margin-bottom: 0.382rem;
}

.step-content p {
    font-size: 1.236rem;
    line-height: 1.618;
    color: var(--text-soft);
}

@media (max-width: 618px) {
    .step-content p {
        font-size: 1rem;
    }
}

/* ===== FAQ Accordion ===== */
.faq {
    background: var(--surface-1);
    border: 1px solid var(--border-3);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2.618rem;
}

.faq details {
    border-bottom: 1px solid var(--border-1);
}

.faq details:last-child {
    border-bottom: none;
}

.faq summary {
    padding: 1rem 1.618rem;
    cursor: pointer;
    font-size: 1.236rem;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    font-size: 1.236rem;
    font-weight: 400;
    color: var(--money);
}

.faq details[open] summary::after {
    content: "\2212";
}

.faq summary:hover {
    background: var(--surface-1);
}

.faq details[open] summary {
    border-bottom: 1px solid var(--border-1);
}

.faq p {
    padding: 1rem 1.618rem;
    font-size: 1rem;
    line-height: 1.618;
    color: var(--text-soft);
    margin: 0;
}

/* ===== Facet Explorer ===== */
.facet-explorer {
    background: var(--surface-1);
    border: 1px solid var(--border-3);
    border-radius: 24px;
    overflow: hidden;
    margin: 1.618rem 0 2.618rem;
}

.facet-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-1);
}

.facet-tab {
    flex: 1;
    padding: 0.75rem 0.5rem;
    background: none;
    border: none;
    border-right: 1px solid var(--border-1);
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    font-size: 1.618rem;
    font-weight: 700;
    transition: background 0.15s;
    width: auto;
    margin: 0;
}

.facet-tab:last-child {
    border-right: none;
}

.facet-tab small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-faint);
    margin: 0;
}

.facet-tab:hover {
    background: var(--surface-1);
}

.facet-tab.active {
    color: var(--text-inverse);
}

.facet-tab.active small {
    color: rgba(255,255,255,0.7);
}

/* OCEAN-colored active tabs */
.facet-tab[data-domain="openness"] { color: var(--trait-o); border-bottom: 3px solid transparent; }
.facet-tab[data-domain="conscientiousness"] { color: var(--trait-c); border-bottom: 3px solid transparent; }
.facet-tab[data-domain="extraversion"] { color: var(--trait-e); border-bottom: 3px solid transparent; }
.facet-tab[data-domain="agreeableness"] { color: var(--trait-a); border-bottom: 3px solid transparent; }
.facet-tab[data-domain="neuroticism"] { color: var(--trait-n); border-bottom: 3px solid transparent; }

.facet-tab[data-domain="openness"].active { background: var(--o-deep); color: var(--text-inverse); }
.facet-tab[data-domain="conscientiousness"].active { background: var(--c-deep); color: var(--text-inverse); }
.facet-tab[data-domain="extraversion"].active { background: var(--e-deep); color: var(--text-inverse); }
.facet-tab[data-domain="agreeableness"].active { background: var(--a-deep); color: var(--text-inverse); }
.facet-tab[data-domain="neuroticism"].active { background: var(--n-deep); color: var(--text-inverse); }

.facet-tab + .facet-tab {
    margin-left: 0;
}

.facet-panel {
    display: none;
    padding: 0;
}

.facet-panel.active {
    display: block;
}

.facet-panel details {
    border-bottom: 1px solid var(--border-1);
}

.facet-panel details:last-child {
    border-bottom: none;
}

.facet-panel summary {
    padding: 0.75rem 1.618rem;
    cursor: pointer;
    font-size: 1.236rem;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.facet-panel summary::-webkit-details-marker {
    display: none;
}

.facet-panel summary small {
    font-weight: 400;
    color: var(--text-faint);
    font-size: 0.75rem;
    margin: 0;
}

.facet-panel summary::after {
    content: "+";
    font-size: 1.236rem;
    font-weight: 400;
    color: var(--money);
}

.facet-panel details[open] summary::after {
    content: "\2212";
}

.facet-panel summary:hover {
    background: var(--surface-1);
}

.facet-panel details[open] summary {
    border-bottom: 1px solid var(--border-1);
}

.facet-panel p {
    padding: 1rem 1.618rem;
    font-size: 1rem;
    line-height: 1.618;
    color: var(--text-soft);
    margin: 0;
}

/* ===== Blog hero image (first figure only) ===== */
main > h1 + figure {
    width: calc(100% + 2 * 11.09vw);
    margin-left: -11.09vw;
    margin-right: -11.09vw;
    margin-bottom: 2.618rem;
    padding: 0;
    aspect-ratio: 1 / 0.382;
    overflow: hidden;
}

main > h1 + figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

@media (max-width: 618px) {
    main > h1 + figure {
        width: calc(100% + 2 * 5vw);
        margin-left: -5vw;
        margin-right: -5vw;
        margin-bottom: 1.618rem;
    }
}

/* ===== Inline article figures ===== */
main > figure {
    margin: 1.618rem 0;
}

main > figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

main > figure:has(.article-float) {
    float: right;
    max-width: 50%;
    margin: 0 0 1rem 1.618rem;
}

main > figure:has(.article-float) img {
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

@media (max-width: 618px) {
    main > figure:has(.article-float) {
        float: none;
        max-width: 100%;
        margin: 0 0 1rem 0;
    }
}

/* ===== YouTube Shorts cards (subfacet posts) =====
   Two portrait link cards (high/low pole) per subfacet post, thumbnails
   at /assets/images-posts/shorts/{code}{h|l}.jpg (357x480 crops of
   scene 01 stills). Plain links to YouTube, no embeds. */
.shorts-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.618rem;
    margin-bottom: 2.618rem;
}

a.shorts-card, a.shorts-card:link, a.shorts-card:visited {
    border: 1px solid var(--border-1);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: #fff;
}

a.shorts-card:hover {
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.shorts-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 357 / 480;
    object-fit: cover;
    display: block;
}

.shorts-pole {
    padding: 0.8rem 1rem 0;
    font-weight: 700;
    font-size: 1rem;
}

.shorts-title {
    padding: 0.2rem 1rem 1rem;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--text-dim);
}

@media (max-width: 618px) {
    .shorts-cards {
        gap: 0.8rem;
    }

    .shorts-pole {
        padding: 0.6rem 0.7rem 0;
        font-size: 0.9rem;
    }

    .shorts-title {
        padding: 0.15rem 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* ===== Blog / Article lists ===== */
main > ul,
main > ol {
    margin-bottom: 1.618rem;
    padding-left: 1.618rem;
}

main > ul {
    list-style: disc;
}

main > ol {
    list-style: decimal;
}

main > ul li,
main > ol li {
    font-size: 1.618rem;
    line-height: 1.618;
    margin-bottom: 0.618rem;
    color: var(--ink);
    font-weight: 300;
}

main > ul li b,
main > ol li b {
    font-weight: 700;
}

/* ===== Table of Contents ===== */
.toc {
    border: 1px solid var(--border-1);
    border-radius: 14px;
    padding: 1.618rem;
    margin: 1.618rem 0 2.618rem;
    position: static;
    background: var(--surface-1);
}

.toc p {
    margin-bottom: 0.618rem;
}

.toc ol {
    list-style: decimal;
    padding-left: 1.618rem;
}

.toc li {
    font-size: 1rem;
    line-height: 2;
}

/* ===== Comparison table ===== */
main table th,
main table td {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
}

/* ===== Citations ===== */
.citations p {
    font-size: 1rem;
    color: var(--text-dim);
}

.citations p i {
    font-size: inherit;
}

/* ===== Dashboard ===== */
.dash-first-section blockquote,
.dash-first-section + section blockquote {
    max-width: 61.8%;
}

@media (max-width: 1000px) {
    .dash-first-section blockquote,
    .dash-first-section + section blockquote {
        max-width: 100%;
    }
}

.dash-first-section {
    margin-top: 6.854rem;
}

.dash-action-grid {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.dash-action-card {
    flex: 1 1 22%;
    min-width: 12rem;
    border: 1px solid var(--border-1);
    padding: 0.618rem 1rem;
}

@media (max-width: 1200px) {
    .dash-action-card {
        flex: 1 1 45%;
    }
}

@media (max-width: 618px) {
    .dash-action-card {
        flex: 1 1 100%;
    }
}

.dash-action-card.disabled {
    opacity: 0.5;
}

.dash-action-card p {
    font-size: 0.854rem;
    margin: 0;
}



.dash-action-btn.coming-soon {
    border-color: var(--text-faint);
    color: var(--text-faint);
    cursor: default;
}

.dash-action-btn.coming-soon:hover,
.dash-action-btn.coming-soon:focus {
    background: transparent;
    color: var(--text-faint);
}

.dash-subtitle {
    font-size: 0.854rem;
    color: var(--text-muted);
}

.dash-account {
    border-top: 1px solid var(--border-1);
    padding-top: 1.618rem;
    margin-top: 4.236rem;
    text-align: center;
}

.dash-account p {
    font-size: 0.854rem;
    color: var(--text-faint);
}

/* ===== Dashboard table to cards on mobile/tablet ===== */
@media (max-width: 1000px) {
    #results-table thead,
    #reports-table thead {
        display: none;
    }

    #results-table,
    #results-table tbody,
    #results-table tr,
    #results-table td,
    #reports-table,
    #reports-table tbody,
    #reports-table tr,
    #reports-table td {
        display: block;
        width: 100%;
    }

    #results-table tr,
    #reports-table tr {
        border: 1px solid var(--border-1);
        padding: 0.618rem 1rem;
        margin-bottom: 0.618rem;
    }

    #results-table td,
    #reports-table td {
        border: none;
        padding: 0.15rem 0;
        font-size: 0.9rem;
        display: flex;
        align-items: baseline;
    }

    #results-table tr,
    #reports-table tr {
        display: flex;
        flex-wrap: wrap;
    }

    #results-table td[data-label],
    #reports-table td[data-label] {
        width: 100%;
    }

    #results-table td:not([data-label]),
    #reports-table td:not([data-label]) {
        display: inline-block;
        width: auto;
        padding: 0;
        margin-top: 0.382rem;
        margin-right: 0.382rem;
        border: 1px solid var(--border-1);
        font-size: 0.75rem;
    }

    #results-table td:not([data-label]) a,
    #reports-table td:not([data-label]) a {
        display: block;
        padding: 0.25rem 0.618rem;
        margin: 0;
        border: 0;
        line-height: 1.4;
    }

    #results-table td:not([data-label]):empty,
    #reports-table td:not([data-label]):empty {
        display: none;
    }

    #results-table td:not([data-label])::before,
    #reports-table td:not([data-label])::before {
        display: none;
    }

    #results-table td::before,
    #reports-table td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 0.75rem;
        color: var(--text-faint);
        flex-shrink: 0;
        min-width: 5rem;
        margin-right: 1rem;
    }
}

/* ===== Auth Modal ===== */
/* Modal overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.4);
}

#auth-modal { display: none; }

/* Modal box */
.modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--paper);
    border: 1px solid var(--border-1);
    padding: 2.618rem;
    max-width: 26rem;
    width: 90%;
    box-sizing: border-box;
}

.modal-box h2 {
    margin: 0 0 1rem;
}

.modal-close {
    position: absolute;
    top: 1.618rem;
    right: 1.618rem;
    font-size: 1.618rem;
    color: var(--text-faint);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: auto;
    margin: 0;
    font-family: inherit;
    line-height: 1;
}

.modal-close:hover {
    color: var(--ink);
}

.modal-box label {
    font-size: 0.854rem;
    color: var(--text-dim);
    margin-bottom: 0.382rem;
    padding: 0;
    display: block;
    width: 100%;
}

.modal-box input {
    margin-bottom: 0.618rem;
    font-size: 1rem;
    padding: 0.618rem;
    width: 100%;
    box-sizing: border-box;
}

.modal-box button[type="submit"] {
    margin: 0;
    margin-left: 0;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.618rem;
}

.modal-box .auth-hint {
    font-size: 0.854rem;
    color: var(--text-dim);
    margin-top: 0.618rem;
}


/* Alert boxes */
.modal-box .alert,
.alert {
    display: block;
    padding: 0.618rem 1rem;
    margin: 0 0 0.618rem 0;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

.alert-error {
    background: #fdd;
    color: #c44;
    border: 1px solid #c44;
}

.alert-success {
    background: #dfd;
    color: #2a7;
    border: 1px solid #2a7;
}

.alert-warning {
    background: #fef3cd;
    color: var(--ink);
    border: 1px solid var(--trait-e);
}

.alert a {
    color: inherit;
}

#auth-msg {
    display: none;
}

/* CTA button */
a.btn-cta, a.btn-cta:link, a.btn-cta:visited, a.btn-cta:active,
button.btn-cta, .btn-cta {
    display: inline-block;
    padding: 0.618rem 1.618rem;
    background: var(--money);
    color: var(--text-inverse);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--border-ink);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

a.btn-cta:hover, a.btn-cta:focus,
button.btn-cta:hover, button.btn-cta:focus {
    background: var(--paper);
    color: var(--ink);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Responsive ===== */
@media (max-width: 618px) {
    body {
        padding: 1rem 5vw;
    }

    nav {
        padding: 0.75rem 5vw;
        gap: 0.25rem 1rem;
        margin: -1rem -5vw 0;
    }

    nav a {
        font-size: 0.85rem;
    }

    header {
        padding: 4.236rem 5vw 2.618rem;
        margin: 0 -5vw 1.618rem;
    }

    .cards-2 {
        grid-template-columns: 1fr;
    }

    th, td {
        padding: 0.5rem 0.5rem;
        font-size: 1.2rem;
    }
}

/* ===== Framework diagrams ===== */
.framework-diagram {
    float: right;
    width: 50%;
    margin: 0 0 1rem 1.5rem;
    border: 1px solid var(--border-1);
    border-radius: 16px;
}

@media (max-width: 618px) {
    .framework-diagram {
        float: none;
        width: 100%;
        margin: 0 0 1.5rem 0;
    }
}/* =====================================================================
   Page <style> blocks migrated into layout.css (2026-07-21)
   Rules are scoped by a pg-* class on each page's <body> so per-page
   styles cannot leak across pages (several pages define the same class
   names with different declarations).
   ===================================================================== */

body.pg-landing .cta-btn-lg, body.pg-hiring .cta-btn-lg { padding: 14px 32px; font-size: 1.1em; border-radius: 16px; }
body.pg-landing .cta-btn-sm, body.pg-hiring .cta-btn-sm { padding: 10px 28px; font-size: 0.95em; }
body.pg-landing #sticky-cta, body.pg-hiring #sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--veil); border-top: 1px solid var(--border-2); padding: 0.6rem 1rem; text-align: center; z-index: 1000; box-shadow: 0 -2px 8px rgba(0,0,0,0.08); }
body.pg-dashboard-add-perception .domain-block { border: 1px solid var(--border-1); margin-bottom: 1.618rem; }
body.pg-dashboard-add-perception .domain-header { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.618rem; border-bottom: 1px solid var(--border-1); background: var(--surface-1); }
body.pg-dashboard-add-perception .domain-header .letter { font-size: 2rem; font-weight: 700; line-height: 1; }
body.pg-dashboard-add-perception .domain-header .name { flex: 1; font-size: 1rem; font-weight: 600; }
body.pg-dashboard-add-perception .domain-header .domain-score { font-size: 1.236rem; font-weight: 700; min-width: 2.5rem; text-align: right; }
body.pg-dashboard-add-perception .facet-row { display: flex; align-items: center; padding: 0.618rem 1.618rem; border-bottom: 1px solid var(--surface-3); gap: 0.618rem; }
body.pg-dashboard-add-perception .facet-row:last-child { border-bottom: none; }
body.pg-dashboard-add-perception .facet-name { flex: 1; font-size: 0.854rem; min-width: 0; }
body.pg-dashboard-add-perception .facet-original { font-size: 0.75rem; color: var(--text-faint); width: 2rem; text-align: right; }
body.pg-dashboard-add-perception .adj-btns { display: flex; gap: 2px; }
body.pg-dashboard-add-perception .adj-btns button { width: 2.2rem; height: 2.2rem; padding: 0; margin: 0; border: 1px solid var(--border-5); background: var(--paper); cursor: pointer; font-size: 0.75rem; font-weight: 700; line-height: 1; transition: background 0.1s, border-color 0.1s; }
body.pg-dashboard-add-perception .adj-btns button:hover { border-color: var(--border-ink); }
body.pg-dashboard-add-perception .adj-btns button.active { background: var(--bg-ink); color: var(--text-inverse); border-color: var(--border-ink); }
body.pg-dashboard-add-perception .facet-adjusted { font-size: 0.9rem; font-weight: 700; width: 2rem; text-align: right; }
@media (max-width: 618px) {
    body.pg-dashboard-add-perception .facet-row { padding: 0.618rem 1rem; }
    body.pg-dashboard-add-perception .domain-header { padding: 1rem; }
    body.pg-dashboard-add-perception .adj-btns button { width: 1.8rem; height: 1.8rem; font-size: 0.65rem; }
}
body.pg-dashboard-add-result .domain-entry { border: 1px solid var(--border-1); margin-bottom: 1.618rem; display: flex; }
body.pg-dashboard-add-result .domain-entry-header { flex: 0 0 23.6%; border-right: 1px solid var(--border-1); padding: 1.618rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
body.pg-dashboard-add-result .domain-entry-header .letter { font-size: 2.618rem; font-weight: 700; line-height: 1.1; }
body.pg-dashboard-add-result .domain-entry-header .name { font-size: 0.854rem; margin-bottom: 0.618rem; }
body.pg-dashboard-add-result .domain-entry-header input { width: 4.5rem; text-align: center; font-size: 1rem; font-weight: 700; padding: 0.5rem 0.25rem; margin: 0; }
body.pg-dashboard-add-result .domain-entry-header label { font-size: 0.75rem; color: var(--text-faint); margin: 0; }
body.pg-dashboard-add-result .facet-entries { flex: 1; display: grid; grid-template-columns: 1fr 1fr; }
body.pg-dashboard-add-result .facet-entry { padding: 0.618rem 1rem; border-bottom: 1px solid var(--surface-3); display: flex; align-items: center; gap: 0.618rem; }
body.pg-dashboard-add-result .facet-entry:nth-last-child(-n+2) { border-bottom: none; }
body.pg-dashboard-add-result .facet-entry label { flex: 1; font-size: 0.854rem; margin: 0; }
body.pg-dashboard-add-result .facet-entry input { width: 4.5rem; text-align: center; font-size: 1rem; padding: 0.5rem 0.25rem; margin: 0; }
body.pg-dashboard-add-result .section-divider { text-align: center; margin: 2.618rem 0; opacity: 0.5; font-size: 0.9rem; }
@media (max-width: 618px) {
    body.pg-dashboard-add-result .domain-entry { flex-direction: column; }
    body.pg-dashboard-add-result .domain-entry-header { flex: none; border-right: none; border-bottom: 1px solid var(--border-1); padding: 1rem; flex-direction: row; gap: 0.618rem; }
    body.pg-dashboard-add-result .facet-entries { grid-template-columns: 1fr; }
}
body.pg-dashboard .share-modal-btn { display: inline-block !important; width: auto !important; padding: 0.5rem 1.25rem !important; margin: 0 !important; border: none !important; border-radius: 16px !important; font-size: 0.85rem !important; font-weight: 600 !important; font-family: inherit !important; line-height: 1 !important; color: var(--text-inverse) !important; text-decoration: none !important; cursor: pointer !important; box-sizing: border-box !important; -webkit-appearance: none !important; appearance: none !important; }
body.pg-dashboard .share-modal-btn:hover { opacity: 0.85; }
body.pg-dashboard-new-compatibility-report .result-select, body.pg-dashboard-new-hiring-report .result-select, body.pg-dashboard-new-mentoring-report .result-select, body.pg-dashboard-new-recovery-report .result-select, body.pg-dashboard-new-team-report .result-select { border: 1px solid var(--border-1); margin-bottom: 0.618rem; padding: 0.618rem 1rem; display: flex; align-items: center; gap: 1rem; cursor: pointer; }
body.pg-dashboard-new-compatibility-report .result-select:hover, body.pg-dashboard-new-hiring-report .result-select:hover, body.pg-dashboard-new-mentoring-report .result-select:hover, body.pg-dashboard-new-recovery-report .result-select:hover, body.pg-dashboard-new-team-report .result-select:hover { border-color: var(--border-ink); }
body.pg-dashboard-new-compatibility-report .result-select.selected, body.pg-dashboard-new-hiring-report .result-select.selected, body.pg-dashboard-new-mentoring-report .result-select.selected, body.pg-dashboard-new-recovery-report .result-select.selected, body.pg-dashboard-new-team-report .result-select.selected { border-color: var(--border-ink); background: var(--surface-1); }
body.pg-dashboard-new-compatibility-report .result-select input[type="checkbox"], body.pg-dashboard-new-mentoring-report .result-select input[type="checkbox"], body.pg-dashboard-new-team-report .result-select input[type="checkbox"] { width: auto; margin: 0; appearance: auto; -webkit-appearance: auto; }
body.pg-dashboard-new-compatibility-report .result-select .info, body.pg-dashboard-new-hiring-report .result-select .info, body.pg-dashboard-new-mentoring-report .result-select .info, body.pg-dashboard-new-recovery-report .result-select .info, body.pg-dashboard-new-team-report .result-select .info { flex: 1; }
body.pg-dashboard-new-compatibility-report .result-select .info strong, body.pg-dashboard-new-hiring-report .result-select .info strong, body.pg-dashboard-new-mentoring-report .result-select .info strong, body.pg-dashboard-new-recovery-report .result-select .info strong, body.pg-dashboard-new-team-report .result-select .info strong { font-size: 1rem; }
body.pg-dashboard-new-compatibility-report .result-select .info small, body.pg-dashboard-new-hiring-report .result-select .info small, body.pg-dashboard-new-mentoring-report .result-select .info small, body.pg-dashboard-new-recovery-report .result-select .info small, body.pg-dashboard-new-team-report .result-select .info small { color: var(--text-dim); font-size: 0.854rem; display: block; }
body.pg-dashboard-new-hiring-report .role-label, body.pg-dashboard-new-mentoring-report .role-label, body.pg-dashboard-new-recovery-report .role-label { display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 0.1rem 0.382rem; margin-left: 0.382rem; vertical-align: middle; }
body.pg-dashboard-new-hiring-report .role-candidate { background: var(--e-soft); color: var(--ink); }
/* TEAM badge: neutral outline, matching .badge-est (owner 2026-07-22) */
body.pg-dashboard-new-hiring-report .role-team { background: transparent; color: var(--text-dim); border: 1px solid var(--border-4); border-radius: 2px; }
/* Second-step headings ("Select team members" / "Select mentees|mentors")
   sit flush against the list above them — give them breathing room */
body.pg-dashboard-new-hiring-report #step2 h2, body.pg-dashboard-new-mentoring-report #step3 h2 { margin-top: 4.236rem; }
body.pg-dashboard-new-hiring-report .result-select.disabled, body.pg-dashboard-new-mentoring-report .result-select.disabled, body.pg-dashboard-new-recovery-report .result-select.disabled, body.pg-dashboard-new-team-report .result-select.disabled { opacity: 0.5; cursor: not-allowed; }
body.pg-dashboard-new-hiring-report .result-select input[type="checkbox"], body.pg-dashboard-new-hiring-report .result-select input[type="radio"] { width: auto; margin: 0; appearance: auto; -webkit-appearance: auto; }
body.pg-dashboard-new-hiring-report .step-number, body.pg-dashboard-new-mentoring-report .step-number, body.pg-dashboard-new-recovery-report .step-number { display: inline-block; width: 1.618rem; height: 1.618rem; line-height: 1.618rem; text-align: center; background: var(--bg-ink); color: var(--text-inverse); font-size: 0.75rem; font-weight: 700; margin-right: 0.382rem; }
body.pg-dashboard-new-mentoring-report .mode-toggle, body.pg-dashboard-new-recovery-report .mode-toggle { display: flex; gap: 0; margin-bottom: 1.618rem; }
body.pg-dashboard-new-mentoring-report .mode-toggle button, body.pg-dashboard-new-recovery-report .mode-toggle button { flex: 1; padding: 0.618rem 1rem; font-size: 0.854rem; font-weight: 600; border: 1px solid var(--border-1); background: var(--paper); cursor: pointer; transition: background 0.15s; }
body.pg-dashboard-new-mentoring-report .mode-toggle button:first-child, body.pg-dashboard-new-recovery-report .mode-toggle button:first-child { border-right: none; }
body.pg-dashboard-new-mentoring-report .mode-toggle button.active, body.pg-dashboard-new-recovery-report .mode-toggle button.active { background: var(--bg-ink); color: var(--text-inverse); border-color: var(--border-ink); }
/* MENTOR/MENTEE badges: neutral outline, matching .badge-est (owner 2026-07-22) */
body.pg-dashboard-new-mentoring-report .role-mentor { background: transparent; color: var(--text-dim); border: 1px solid var(--border-4); border-radius: 2px; }
body.pg-dashboard-new-mentoring-report .role-mentee { background: transparent; color: var(--text-dim); border: 1px solid var(--border-4); border-radius: 2px; }
body.pg-dashboard-new-recovery-report .result-select input[type="radio"] { width: auto; margin: 0; appearance: auto; -webkit-appearance: auto; }
body.pg-dashboard-new-recovery-report .mode-description { font-size: 0.854rem; color: var(--text-dim); margin-bottom: 1.618rem; padding: 0.618rem; background: var(--surface-1); border-left: 3px solid var(--border-1); }
body.pg-dashboard-update-estimate .wizard-tabs { display: flex; gap: 0; margin-bottom: 1.618rem; }
body.pg-dashboard-update-estimate .wizard-tabs button { flex: 1; padding: 0.75rem 0.5rem; font-size: 0.85rem; font-weight: 600; border: 1px solid var(--border-1); background: var(--paper); cursor: pointer; transition: background 0.15s; }
body.pg-dashboard-update-estimate .wizard-tabs button:not(:last-child) { border-right: none; }
body.pg-dashboard-update-estimate .wizard-tabs button.active { background: var(--bg-ink); color: var(--text-inverse); border-color: var(--border-ink); }
body.pg-dashboard-update-estimate .wizard-panel { display: none; }
body.pg-dashboard-update-estimate .wizard-panel.active { display: block; }
body.pg-dashboard-update-estimate .q-item { margin-bottom: 1rem; padding: 0.75rem; border: 1px solid var(--surface-4); }
body.pg-dashboard-update-estimate .q-item p { margin: 0 0 0.5rem; font-size: 0.9rem; font-weight: 600; }
body.pg-dashboard-update-estimate .q-options { display: flex; gap: 0.25rem; }
body.pg-dashboard-update-estimate .q-options label { flex: 1; text-align: center; padding: 0.4rem 0.25rem; font-size: 0.7rem; border: 1px solid var(--border-4); cursor: pointer; transition: background 0.15s; }
body.pg-dashboard-update-estimate .q-options input { display: none; }
body.pg-dashboard-update-estimate .q-options input:checked + span { background: var(--bg-ink); color: var(--text-inverse); display: block; padding: 0.4rem 0.25rem; margin: -0.4rem -0.25rem; }
body.pg-dashboard-update-estimate .error-msg, body.pg-ocean-estimate .error-msg { color: var(--accent-pink); font-size: 0.85rem; margin-top: 0.5rem; display: none; }
body.pg-dashboard-update-estimate .char-count { font-size: 0.75rem; color: var(--text-faint); text-align: right; }
body.pg-dashboard-update-estimate textarea, body.pg-ocean-estimate textarea { width: 100%; min-height: 8rem; padding: 0.75rem; font-family: inherit; font-size: 0.9rem; border: 1px solid var(--border-4); box-sizing: border-box; }
body.pg-dashboard-update-estimate #loading-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--veil-2); z-index: 9999; justify-content: center; align-items: center; text-align: center; }
body.pg-dashboard-update-estimate #loading-overlay.active { display: flex; }
body.pg-dashboard-update-estimate .evidence-item { border: 1px solid var(--border-1); padding: 0.618rem 1rem; margin-bottom: 0.5rem; }
body.pg-dashboard-update-estimate .evidence-item-row { display: flex; align-items: center; gap: 0.75rem; }
body.pg-dashboard-update-estimate .evidence-item-row p { flex: 1; margin: 0; font-size: 0.85rem; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pg-dashboard-update-estimate .evidence-item-row a { font-size: 0.75rem; white-space: nowrap; }
body.pg-dashboard-update-estimate .evidence-expanded { display: none; margin-top: 0.5rem; }
body.pg-dashboard-update-estimate .upload-zone { border: 2px dashed var(--border-5); padding: 1.5rem; text-align: center; cursor: pointer; margin-bottom: 1rem; transition: border-color 0.2s; }
body.pg-dashboard-update-estimate .upload-zone:hover { border-color: var(--bright-o); }
body.pg-dashboard-update-estimate .upload-zone input { display: none; }
body.pg-dashboard-update-estimate .thumb-grid { margin-bottom: 0.5rem; }
body.pg-dashboard-update-estimate .thumb-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0; border-bottom: 1px solid var(--surface-3); font-size: 0.8rem; }
body.pg-dashboard-update-estimate .thumb-row img { width: 32px; height: 32px; object-fit: cover; border: 1px solid var(--border-4); flex-shrink: 0; }
body.pg-dashboard-update-estimate .thumb-row .thumb-name { flex: 1; color: var(--text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.pg-dashboard-update-estimate .thumb-row .thumb-status { flex-shrink: 0; font-weight: 700; font-size: 0.75rem; }
body.pg-dashboard-update-estimate .thumb-row.processing .thumb-name { color: var(--text-faint); }
body.pg-dashboard-update-estimate .thumb-row.done .thumb-status { color: #27ae60; }
body.pg-dashboard-update-estimate .thumb-row.failed .thumb-status { color: var(--accent-pink); }
body.pg-dashboard-update-estimate .platform-tip { font-size: 0.8rem; color: var(--text-dim); margin: 0.5rem 0; padding: 0.5rem 0.75rem; background: var(--surface-1); border-left: 3px solid var(--border-1); }
body.pg-dashboard-update-estimate .platform-tip strong { color: var(--text-strong); }
body.pg-dashboard-update-estimate .add-evidence-tabs { display: flex; gap: 0; margin-bottom: 1rem; }
body.pg-dashboard-update-estimate .add-evidence-tabs button { flex: 1; padding: 0.5rem; font-size: 0.75rem; font-weight: 600; border: 1px solid var(--border-1); background: var(--paper); cursor: pointer; }
body.pg-dashboard-update-estimate .add-evidence-tabs button:not(:last-child) { border-right: none; }
body.pg-dashboard-update-estimate .add-evidence-tabs button.active { background: var(--o-soft); color: var(--ink); border-color: var(--bright-o); }
body.pg-dashboard-update-estimate .add-tab { display: none; }
body.pg-dashboard-update-estimate .add-tab.active { display: block; }
@keyframes _uespin { to{transform:rotate(360deg)} }
body.pg-ocean-estimate .progress-bar-container, body.pg-ocean .progress-bar-container { width: 100%; height: 4px; background: var(--border-1); position: fixed; top: 0; left: 0; z-index: 200; }
body.pg-ocean-estimate .progress-bar-fill, body.pg-ocean .progress-bar-fill { height: 100%; background: var(--money); width: 0%; transition: width 0.3s; }
body.pg-ocean-estimate .slide, body.pg-ocean .slide { display: flex; flex-direction: column; justify-content: center; max-width: 32rem; padding: 0 0 1rem; }
body.pg-ocean-estimate #game-area { padding-top: 4.236rem; }
body.pg-ocean-estimate .slide-num, body.pg-ocean .slide-num { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 0.15rem; }
body.pg-ocean-estimate .slide-text, body.pg-ocean .slide-text { font-size: 1.618rem; line-height: 1.4; margin-bottom: 0.618rem; font-weight: 400; }
body.pg-ocean-estimate .slide-options, body.pg-ocean .slide-options { display: flex; flex-direction: column; gap: 0.5rem; }
body.pg-ocean-estimate .slide-options label, body.pg-ocean .slide-options label { display: block; padding: 0.75rem 1.1rem; border: 1px solid var(--border-4); border-radius: 14px; background: var(--paper); cursor: pointer; font-size: 1rem; line-height: 1.4; transition: background 0.15s, border-color 0.15s; margin: 0; }
body.pg-ocean-estimate .slide-options label:hover, body.pg-ocean .slide-options label:hover { border-color: var(--money); background: var(--surface-1); }
body.pg-ocean-estimate .slide-options input, body.pg-ocean .slide-options input { display: none; }
body.pg-ocean-estimate .slide-options label:has(input:checked), body.pg-ocean .slide-options label:has(input:checked) { background: var(--surface-1); border-color: var(--money); font-weight: 600; }
/* unified quiz form controls (ocean + estimate identical by construction) */
body.pg-ocean .slide select, body.pg-ocean-estimate .slide select {
    font-family: inherit; font-size: 1rem; color: var(--ink);
    width: auto; min-width: 9.5rem; margin: 0;
    padding: 0.55rem 2.6rem 0.55rem 1rem;
    border: 1px solid var(--border-4); border-radius: 12px;
    background: var(--paper) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%234f4237' stroke-width='2' stroke-linecap='round'/></svg>") no-repeat right 0.9rem center;
    cursor: pointer;
}
body.pg-ocean .slide input#age, body.pg-ocean .slide input[type="number"], body.pg-ocean-estimate .slide input#person-age {
    font-family: inherit; font-size: 1rem; color: var(--ink); margin: 0;
    width: 6rem; text-align: center; padding: 0.55rem 0.8rem;
    border: 1px solid var(--border-4); border-radius: 12px; background: var(--paper);
}
body.pg-ocean .slide select:focus, body.pg-ocean-estimate .slide select:focus,
body.pg-ocean .slide input:focus, body.pg-ocean-estimate .slide input:focus,
body.pg-ocean .slide textarea:focus, body.pg-ocean-estimate textarea:focus {
    border-color: var(--money); outline: none; box-shadow: 0 0 0 3px rgba(176,90,54,0.15);
}
/* hint lines ("An approximate age is fine.") sit tight under their row */
body.pg-ocean .demo-row + p, body.pg-ocean-estimate .demo-row + p { margin-top: -0.3rem; }
body.pg-ocean-estimate .demo-row, body.pg-ocean .demo-row { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 0.75rem; }
body.pg-ocean-estimate .demo-row label, body.pg-ocean .demo-row label { font-size: 1rem; white-space: nowrap; margin-bottom: 0; }
body.pg-ocean-estimate .slide input[type="email"], body.pg-ocean .slide input[type="email"] { font-size: 1rem; padding: 0.6rem 1rem; font-family: inherit; width: 100%; max-width: 22rem; box-sizing: border-box; border: 1px solid var(--border-4); border-radius: 12px; background: var(--paper); }
body.pg-ocean-estimate .slide-nav, body.pg-ocean .slide-nav { display: flex; gap: 0.75rem; margin-top: 0.618rem; align-items: center; }
body.pg-ocean-estimate .slide-nav button, body.pg-ocean .slide-nav button { padding: 0.6rem 1.5rem; font-size: 1rem; font-family: inherit; cursor: pointer; width: auto; }
body.pg-ocean-estimate .char-count { font-size: 0.75rem; color: var(--text-faint); text-align: right; max-width: 32rem; }
@media (max-width: 600px) {
    body.pg-ocean-estimate .slide, body.pg-ocean .slide { padding: 1.5rem 0 0.5rem; }
    /* phones: aureum's vw-based rem SHRINKS text on small screens — quiz
       needs absolute, thumb-sized targets instead (44px+ tap height;
       16px+ text also prevents iOS zoom-on-focus) */
    body.pg-ocean-estimate .slide-text, body.pg-ocean .slide-text { font-size: 21px; line-height: 1.35; }
    body.pg-ocean-estimate .slide-num, body.pg-ocean .slide-num { font-size: 13px; }
    body.pg-ocean-estimate .slide-options, body.pg-ocean .slide-options { gap: 10px; }
    body.pg-ocean-estimate .slide-options label, body.pg-ocean .slide-options label { font-size: 16px; padding: 13px 16px; min-height: 48px; display: flex; align-items: center; border-radius: 14px; }
    body.pg-ocean-estimate .slide-nav button, body.pg-ocean .slide-nav button { font-size: 16px; padding: 12px 24px; min-height: 48px; }
    body.pg-ocean-estimate .slide select, body.pg-ocean .slide select,
    body.pg-ocean-estimate .slide input, body.pg-ocean .slide input,
    body.pg-ocean-estimate textarea, body.pg-ocean .slide textarea { font-size: 16px; }
}
body.pg-ocean #game-section { padding-top: 4.236rem; }

body.pg-ocean .email-hint { font-size: 0.85rem; color: var(--text-dim); margin-top: 0.35rem; }
body.pg-ocean .submit-warning { color: #c44; font-size: 0.9rem; margin-top: 0.5rem; display: none; }
body.pg-ocean .email-notice { padding: 0.75rem 1rem; margin-bottom: 1rem; font-size: 0.9rem; border: 1px solid var(--border-4); background: var(--surface-1); }
body.pg-ocean .email-notice a { text-decoration: underline; }
body.pg-ocean .email-notice.failed { border-color: #c44; color: #c44; background: #fdd; }
body.pg-ocean .result-block { margin-bottom: 2rem; }
body.pg-ocean .result-subtitle { color: var(--text-dim); font-size: 0.95rem; }
body.pg-ocean .overview-grid { display: flex; flex-direction: column; gap: 0.75rem; margin: 1rem 0; }
body.pg-ocean .overview-row, body.pg-profile .overview-row, body.pg-results .overview-row { display: flex; align-items: center; gap: 0.5rem; }
body.pg-ocean .overview-label, body.pg-profile .overview-label, body.pg-results .overview-label { font-weight: 700; min-width: 1.5rem; }
body.pg-ocean .overview-name, body.pg-profile .overview-name, body.pg-results .overview-name { min-width: 12rem; font-size: 0.85rem; color: var(--text-dim); }
body.pg-ocean .overview-bar-wrap, body.pg-profile .overview-bar-wrap, body.pg-results .overview-bar-wrap { flex: 1; height: 16px; background: var(--surface-4); }
body.pg-ocean .overview-bar, body.pg-profile .overview-bar, body.pg-results .overview-bar { height: 100%; }
body.pg-ocean .overview-pct, body.pg-profile .overview-pct, body.pg-results .overview-pct { min-width: 3rem; text-align: right; font-weight: 700; }
body.pg-ocean .bar-o, body.pg-profile .bar-o, body.pg-reports .bar-o, body.pg-results .bar-o { background: var(--o-soft); }
body.pg-ocean .bar-c, body.pg-profile .bar-c, body.pg-reports .bar-c, body.pg-results .bar-c { background: var(--c-soft); }
body.pg-ocean .bar-e, body.pg-profile .bar-e, body.pg-reports .bar-e, body.pg-results .bar-e { background: var(--e-soft); }
body.pg-ocean .bar-a, body.pg-profile .bar-a, body.pg-reports .bar-a, body.pg-results .bar-a { background: var(--a-soft); }
body.pg-ocean .bar-n, body.pg-profile .bar-n, body.pg-reports .bar-n, body.pg-results .bar-n { background: var(--n-soft); }
/* Domain/pattern sections are note-cards (owner 2026-07-21) */
body.pg-ocean .domain-section, body.pg-profile .domain-section, body.pg-results .domain-section { margin: 1.618rem 0; background: var(--surface-1); border: 1px solid var(--border-1); border-radius: 24px; padding: 1.25rem 1.5rem; }
body.pg-ocean .domain-header, body.pg-profile .domain-header, body.pg-results .domain-header { display: flex; align-items: baseline; gap: 1rem; }
body.pg-ocean .domain-header h3, body.pg-profile .domain-header h3, body.pg-results .domain-header h3 { margin: 0; }
body.pg-ocean .domain-pct, body.pg-profile .domain-pct, body.pg-results .domain-pct { font-size: 1.25rem; font-weight: 700; }
body.pg-ocean .pct-o, body.pg-profile .pct-o, body.pg-results .pct-o { color: var(--trait-o); }
body.pg-ocean .pct-c, body.pg-profile .pct-c, body.pg-results .pct-c { color: var(--trait-c); }
body.pg-ocean .pct-e, body.pg-profile .pct-e, body.pg-results .pct-e { color: var(--gold-text); }
body.pg-ocean .pct-a, body.pg-profile .pct-a, body.pg-results .pct-a { color: var(--trait-a); }
body.pg-ocean .pct-n, body.pg-profile .pct-n, body.pg-results .pct-n { color: var(--trait-n); }
body.pg-ocean .bar-wrap, body.pg-profile .bar-wrap, body.pg-results .bar-wrap { height: 12px; background: var(--surface-4); margin: 0.5rem 0 1rem; }
body.pg-ocean .bar, body.pg-profile .bar, body.pg-results .bar { height: 100%; }
body.pg-ocean .domain-desc, body.pg-profile .domain-desc, body.pg-results .domain-desc { font-size: 0.9rem; color: var(--text-soft); line-height: 1.6; }
body.pg-ocean .facet, body.pg-profile .facet, body.pg-results .facet { margin: 1rem 0; }
body.pg-ocean .facet-row, body.pg-profile .facet-row, body.pg-results .facet-row { display: flex; align-items: center; gap: 0.5rem; }
body.pg-ocean .facet-name, body.pg-profile .facet-name, body.pg-results .facet-name { min-width: 16rem; font-size: 0.85rem; }
body.pg-ocean .facet-bar-wrap, body.pg-profile .facet-bar-wrap, body.pg-results .facet-bar-wrap { flex: 1; height: 10px; background: var(--surface-4); }
body.pg-ocean .facet-bar, body.pg-profile .facet-bar, body.pg-results .facet-bar { height: 100%; }
body.pg-ocean .facet-pct, body.pg-profile .facet-pct, body.pg-results .facet-pct { min-width: 3rem; text-align: right; font-weight: 600; font-size: 0.85rem; }
body.pg-ocean .facet-toggle { font-size: 0.8rem; color: var(--text-dim); cursor: pointer; text-decoration: underline; display: inline-block; margin-top: 0.25rem; }
body.pg-ocean .facet-detail { display: none; }
body.pg-ocean .facet-detail.open { display: block; }
body.pg-ocean .facet-desc { font-size: 0.85rem; color: var(--text-mid); line-height: 1.5; margin-top: 0.5rem; }
body.pg-ocean .domain-brief, body.pg-profile .domain-brief, body.pg-results .domain-brief { margin: 2rem 0; }
body.pg-ocean .paywall { border: 1px solid var(--border-1); padding: 2rem; margin: 3rem 0; text-align: center; background: var(--surface-1); }
body.pg-ocean .paywall h2 { margin-bottom: 0.618rem; }
body.pg-ocean .paywall p { max-width: 36rem; margin: 0 auto 1rem; }
body.pg-ocean .results-actions { text-align: center; margin: 2rem 0; }
@media (max-width: 600px) {
    body.pg-ocean .overview-name, body.pg-profile .overview-name, body.pg-results .overview-name { display: none; }
    body.pg-ocean .facet-name, body.pg-profile .facet-name, body.pg-results .facet-name { min-width: 8rem; font-size: 0.8rem; }
}
body.pg-profile .overview-grid, body.pg-results .overview-grid { display: flex; flex-direction: column; gap: 0.75rem; margin: 1rem 0 2rem; }
body.pg-profile .domain-row, body.pg-results .domain-row { display: flex; align-items: center; gap: 1.25rem; }
body.pg-profile .domain-main, body.pg-results .domain-main { flex: 1; min-width: 0; }
body.pg-profile .domain-main h3, body.pg-results .domain-main h3 { margin: 0; }
body.pg-profile .domain-main .bar-wrap, body.pg-results .domain-main .bar-wrap { margin: 0.6rem 0 0.8rem; }
body.pg-profile .domain-pct-big, body.pg-results .domain-pct-big { font-size: 3rem; line-height: 1; font-weight: 800; white-space: nowrap; }
body.pg-profile .pattern-pct, body.pg-results .pattern-pct { white-space: nowrap; text-align: right; }
@media (max-width: 600px) {
    body.pg-profile .domain-pct-big, body.pg-results .domain-pct-big { font-size: 2.4rem; }
}
body.pg-profile .overview-name a, body.pg-profile .facet-name a, body.pg-results .overview-name a, body.pg-results .facet-name a { text-decoration: none; border-bottom: 1px dashed currentColor; color: inherit; }
body.pg-profile .overview-name a:hover, body.pg-profile .overview-name a:focus, body.pg-profile .facet-name a:hover, body.pg-profile .facet-name a:focus, body.pg-results .overview-name a:hover, body.pg-results .overview-name a:focus, body.pg-results .facet-name a:hover, body.pg-results .facet-name a:focus { border-bottom-style: solid; }
/* "Your five domains" landing overview (tapToStep): whole row opens the domain
   tab; names read as links (dashed underline, brand color) and STAY visible on
   mobile — they're the tappable payoff labels, and bare O/C/E/A/N letters mean
   nothing to a first-time reader. */
body.pg-results .overview-nav .overview-row { cursor: pointer; }
body.pg-results .overview-nav .ov-navname { color: var(--bright-o); border-bottom: 1px dashed currentColor; }
body.pg-results .overview-nav .overview-row:hover .ov-navname { border-bottom-style: solid; }
/* Inline jump-links inside the "How to read" tab body (pattern/domain names +
   "Continue to..." links) — same nav affordance as the overview rows above. */
body.pg-results .jump-link { color: var(--bright-o); border-bottom: 1px dashed currentColor; cursor: pointer; white-space: nowrap; }
body.pg-results .jump-link:hover { border-bottom-style: solid; }
@media (max-width: 600px) {
    body.pg-results .overview-nav .overview-name { display: inline-block; min-width: 0; font-size: 0.8rem; }
}
body.pg-profile .share-image-section, body.pg-results .share-image-section { margin: 2rem 0; }
body.pg-profile .share-image-section svg, body.pg-results .share-image-section svg { max-width: 100%; height: auto; border-radius: 24px; }   /* matches the card drawn inside the SVG */
body.pg-profile .btn-download, body.pg-results .btn-download { display: inline-block; margin-top: 1rem; padding: 0.6rem 1.25rem; background: var(--btn-ink); color: var(--text-inverse); border: none; font-size: 0.85rem; font-weight: 600; font-family: inherit; cursor: pointer; border-radius: 16px; line-height: 1; -webkit-appearance: none; appearance: none; }   /* btn-dark colors at share-btn scale */
body.pg-profile .btn-download:hover, body.pg-results .btn-download:hover { background: var(--btn-ink-hover); }
body.pg-profile .share-buttons, body.pg-results .share-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
body.pg-profile .share-btn, body.pg-results .share-btn { display: inline-block; padding: 0.6rem 1.25rem; border: none; border-radius: 16px; font-size: 0.85rem; font-weight: 600; font-family: inherit; cursor: pointer; color: var(--text-inverse); text-decoration: none; text-align: center; box-sizing: border-box; line-height: 1; margin: 0; -webkit-appearance: none; appearance: none; }
body.pg-profile .share-btn-copy, body.pg-results .share-btn-copy { background: var(--btn-ink); }
body.pg-profile .share-btn-copy:hover, body.pg-results .share-btn-copy:hover { background: var(--btn-ink-hover); }
body.pg-profile .share-btn-wa, body.pg-results .share-btn-wa { background: #25D366; }
body.pg-profile .share-btn-wa:hover, body.pg-results .share-btn-wa:hover { background: #1da851; }
body.pg-profile .share-btn-x, body.pg-results .share-btn-x { background: #1d9bf0; }
body.pg-profile .share-btn-x:hover, body.pg-results .share-btn-x:hover { background: #1a8cd8; }
body.pg-profile .share-btn-native, body.pg-results .share-btn-native { background: var(--btn-ink); }
body.pg-profile .share-btn-native:hover, body.pg-results .share-btn-native:hover { background: var(--btn-ink-hover); }
body.pg-profile .share-btn-copied, body.pg-results .share-btn-copied { background: var(--a-soft) !important; }
body.pg-profile .locked-facets, body.pg-results .locked-facets { margin: 1rem 0; }   /* same margin as .facet, so domain-desc's p margin sets the gap — identical to the extended view */
body.pg-profile .locked-facet, body.pg-results .locked-facet { margin: 1rem 0; opacity: 0.7; }
body.pg-profile .locked-facet-row, body.pg-results .locked-facet-row { display: flex; align-items: center; gap: 0.5rem; }
body.pg-profile .locked-facet-name, body.pg-results .locked-facet-name { min-width: 16rem; font-size: 0.85rem; }
body.pg-profile .locked-facet-bar-wrap { flex: 1; height: 10px; background: rgba(128,128,128,0.2); }
body.pg-profile .locked-facet-bar, body.pg-results .locked-facet-bar { height: 100%; background: rgba(128,128,128,0.3); width: 50%; }
body.pg-profile .locked-facet-pct, body.pg-results .locked-facet-pct { min-width: 3rem; text-align: right; font-weight: 600; font-size: 0.85rem; opacity: 0.4; }
body.pg-profile .locked-facet-teaser, body.pg-profile .facet-teaser { font-size: 0.8rem; opacity: 0.6; line-height: 1.5; margin: 0.25rem 0 0 0; }
body.pg-profile .unlock-cta, body.pg-results .unlock-cta { text-align: center; margin: 2rem 0; padding: 1.5rem; background: var(--surface-1); border: 1px solid var(--border-1); border-radius: 24px; }
/* CTA box typography: clear hierarchy — title / body / muted footnote.
   NO opacity on p: the primary button lives inside a p and must stay solid. */
body.pg-profile .unlock-cta h3, body.pg-results .unlock-cta h3 { margin: 0 0 0.5rem; font-weight: 700; font-size: 1.382rem; }
body.pg-profile .unlock-cta p, body.pg-results .unlock-cta p { margin: 0 0 0.75rem; font-size: 0.95rem; color: var(--text-mid); line-height: 1.6; }
body.pg-profile .unlock-cta p.fs9, body.pg-results .unlock-cta p.fs9, body.pg-profile .unlock-cta p.fs85, body.pg-results .unlock-cta p.fs85 { font-size: 0.82rem; color: var(--text-muted); }
/* domain-unlock-link is a system .btn-gold now — only spacing lives here */
body.pg-profile .domain-unlock-link, body.pg-profile a.domain-unlock-link:link, body.pg-profile a.domain-unlock-link:visited, body.pg-profile a.domain-unlock-link:hover, body.pg-profile a.domain-unlock-link:active { margin-top: 1rem; }
@media (max-width: 600px) {
    body.pg-profile .locked-facet-name, body.pg-results .locked-facet-name { min-width: 8rem; font-size: 0.8rem; }
}
body.pg-reports .compare-grid { margin: 2.618rem 0; }
body.pg-reports .compare-legend { display: flex; justify-content: space-between; font-size: 0.854rem; font-weight: 700; margin-bottom: 1rem; padding: 0 0.5rem; }
body.pg-reports .compare-domain { margin-bottom: 1.618rem; border: 1px solid var(--border-1); }
body.pg-reports .compare-domain-header { text-align: center; padding: 0.618rem; border-bottom: 1px solid var(--border-1); }
body.pg-reports .compare-domain-header h3 { margin: 0; font-size: 1rem; }
body.pg-reports .compare-domain-header .letter { font-size: 1.618rem; font-weight: 700; }
body.pg-reports .mirror-row { display: flex; align-items: center; padding: 0.25rem 0.5rem; border-bottom: 1px solid #f5f5f5; }
body.pg-reports .mirror-row:last-child { border-bottom: none; }
body.pg-reports .mirror-row.domain-row { background: var(--surface-1); padding: 0.382rem 0.5rem; }
body.pg-reports .mirror-pct { min-width: 2rem; font-size: 0.75rem; font-weight: 600; }
body.pg-reports .mirror-pct-left { text-align: right; padding-right: 0.5rem; }
body.pg-reports .mirror-pct-right { text-align: left; padding-left: 0.5rem; }
body.pg-reports .mirror-bar-left { flex: 1; height: 10px; background: var(--surface-4); display: flex; justify-content: flex-end; }
body.pg-reports .mirror-bar-right { flex: 1; height: 10px; background: var(--surface-4); display: block; }
body.pg-reports .mirror-bar-fill { height: 100%; display: block; }
body.pg-reports .mirror-label { min-width: 8rem; text-align: center; font-size: 0.75rem; padding: 0 0.382rem; }
body.pg-reports .mirror-label-domain { font-weight: 700; font-size: 0.854rem; }
body.pg-reports .domain-row .mirror-bar-left, body.pg-reports .domain-row .mirror-bar-right { height: 14px; }
body.pg-reports .mirror-link { text-decoration: none; border-bottom: 1px dashed currentColor; color: inherit; }
body.pg-reports .mirror-link:hover, body.pg-reports .mirror-link:focus { border-bottom-style: solid; }
body.pg-reports .gap-indicator { font-size: 0.65rem; color: var(--text-faint); }
body.pg-reports .gap-high { color: var(--trait-n); font-weight: 700; }
body.pg-reports .gap-low { color: var(--trait-a); }
@media (max-width: 618px) {
    body.pg-reports .mirror-label { min-width: 5rem; font-size: 0.65rem; }
}
body.pg-reports .report-body { margin-top: 2.618rem; }
body.pg-reports .report-body h2 { margin-top: 2.618rem; padding-bottom: 0.382rem; border-bottom: 1px solid var(--border-1); }
body.pg-reports .report-body p { font-size: 1.236rem; line-height: 1.618; color: var(--text-strong); }
body.pg-reports .report-body ul { margin: 1rem 0; padding: 1rem 1.618rem; background: var(--surface-1); border-left: 3px solid var(--border-1); list-style: disc; }
body.pg-reports .report-body li { font-size: 1.236rem; line-height: 1.618; color: var(--text-strong); margin-bottom: 0.618rem; }
body.pg-reports .report-body li:last-child { margin-bottom: 0; }
body.pg-reports .report-body strong { color: var(--ink); }
/* Same box language as .toc: surface-1, border-1, 14px radius, phi padding */
body.pg-reports .confidence-section { background: var(--surface-1); border: 1px solid var(--border-1); border-radius: 14px; padding: 1.618rem; margin: 1.618rem 0; font-size: 1rem; }
body.pg-reports .confidence-section h2 { font-size: 1.236rem; border-bottom: none; margin-top: 0; }
body.pg-reports .confidence-section p, body.pg-reports .confidence-section li { font-size: 1rem; color: var(--text-mid); }
body.pg-reports .perception-section { border-left: 3px solid var(--trait-e); padding-left: 1.618rem; margin: 1.618rem 0; }
body.pg-reports .perception-section h2 { color: var(--gold-text); border-bottom: none; }
body.pg-reports .report-meta { font-size: 0.854rem; color: var(--text-faint); margin-bottom: 2.618rem; padding-bottom: 0.618rem; border-bottom: 1px solid var(--border-1); }
body.pg-reports .report-callout { border: 2px solid var(--border-ink); padding: 1.618rem; margin: 1.618rem 0 2.618rem; }
body.pg-reports .headline-callout p { font-size: 1.618rem; font-weight: 700; line-height: 1.4; margin: 0; color: var(--ink); }
body.pg-reports .report-names { font-size: 1rem; color: var(--text-muted); margin-bottom: 1.618rem; }
body.pg-reports .ranking-table { width: 100%; border-collapse: collapse; font-size: 0.854rem; margin: 0 0 0.618rem; }
body.pg-reports .ranking-table th { background: var(--surface-1); font-weight: 700; text-align: left; padding: 0.5rem 0.618rem; border-bottom: 2px solid var(--border-1); }
body.pg-reports .ranking-table td { padding: 0.5rem 0.618rem; border-bottom: 1px solid var(--surface-3); }
body.pg-reports .ranking-table tr:last-child td { border-bottom: none; }
@media (max-width: 618px) {
    body.pg-reports .compare-bar-name, body.pg-reports .compare-facet-name { min-width: 5rem; }
}
/* share-btn family shared with pg-profile above (2026-07-21) */
body.pg-results .pattern-scroll { display:grid; grid-template-columns:1fr; gap:0.75rem; padding:0.5rem 0 1rem; }
@media (min-width:600px) {
    body.pg-results .pattern-scroll { grid-template-columns:repeat(2,1fr); }
}
@media (min-width:1000px) {
    body.pg-results .pattern-scroll { grid-template-columns:repeat(3,1fr); }
}
body.pg-results .pattern-scroll-card { background:var(--surface-1); border:1px solid var(--border-1); border-radius:24px; padding:0.9rem 1.1rem; }
body.pg-results .locked-facet:has(.clickable) { opacity: 1; }
body.pg-results .locked-facet-bar-wrap { flex: 1; height: 10px; background: rgba(128,128,128,0.2); filter: blur(3px); }
body.pg-results .locked-facet-pct.clickable { min-width: auto; user-select: none; -webkit-user-select: none; opacity: 1; }
body.pg-results .locked-facet-teaser, body.pg-results .facet-teaser { font-size: 0.8rem; opacity: 0.6; line-height: 1.5; margin: 0.25rem 0 0 0; }
body.pg-results .locked-facet-teaser { filter: blur(4px); user-select: none; -webkit-user-select: none; pointer-events: none; }
body.pg-results .preview-confirm-overlay { display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.5); z-index:2000; align-items:center; justify-content:center; }
body.pg-results .preview-confirm-overlay.active { display:flex; }
body.pg-results .preview-confirm-box { background:var(--paper); border-radius:16px; padding:1.5rem; max-width:360px; width:90%; text-align:center; box-shadow:0 4px 24px rgba(0,0,0,0.2); }
body.pg-results .preview-confirm-box h3 { margin:0 0 0.75rem; font-size:1.05rem; }
body.pg-results .preview-confirm-box p { font-size:0.9rem; color:var(--text-mid); margin:0 0 1rem; line-height:1.5; }
body.pg-results .preview-confirm-box .preview-confirm-btns { display:flex; gap:0.5rem; justify-content:center; }
body.pg-results .preview-confirm-box hr { height: 1px; margin: 1rem 0; }
body.pg-results .preview-confirm-box p.pcm-or { margin: 0 0 0.25rem; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); }
body.pg-results .preview-confirm-box p.pcm-desc { margin: 0 0 0.75rem; font-size: 0.85rem; }
/* buttons inside use the system classes (btn-primary/btn-cancel + btn-sm) */
body.pg-results .preview-confirm-box .btn-cancel:hover { background:#d1d5db; }
body.pg-results .preview-confirm-box .preview-confirm-btns button:disabled { opacity:0.4; cursor:default; pointer-events:none; }
/* domain-unlock-link is a system .btn-gold now — only spacing lives here */
body.pg-results .domain-unlock-link, body.pg-results a.domain-unlock-link:link, body.pg-results a.domain-unlock-link:visited, body.pg-results a.domain-unlock-link:hover, body.pg-results a.domain-unlock-link:active { margin-top: 1rem; }
body.pg-results .testimonials { margin: 2.5rem 0; }
body.pg-results .testimonials h3 { margin-bottom: 1rem; }
body.pg-results .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
body.pg-results .testimonial { background: var(--surface-1); border: 1px solid var(--border-1); border-radius: 24px; padding: 1.25rem; display: flex; flex-direction: column; }
body.pg-results .testimonial-text { font-size: 0.85rem; line-height: 1.6; font-style: italic; opacity: 0.85; flex: 1; }
body.pg-results .testimonial-attr { font-size: 0.8rem; opacity: 0.5; margin-top: 0.75rem; }
@media (max-width: 900px) {
    body.pg-results .testimonial-grid { grid-template-columns: 1fr; }
}
body.pg-results .step-nav { display: flex; justify-content: space-between; align-items: center; margin: 1rem 0; gap: 0.5rem; }
/* step-nav buttons use the system .btn-neutral class (2026-07-21) */
body.pg-results .step-page { display: none; }
body.pg-results .step-page.active { display: block; }
body.pg-results .step-dots { display: flex; justify-content: center; gap: 0.4rem; margin: 0.5rem 0; flex-wrap: wrap; }
body.pg-results .step-dot { font-size: 0.78rem; font-weight: 700; cursor: pointer; padding: 0.2rem 0.5rem; border-radius: 4px; border: 1px solid rgba(0,0,0,0.1); background: rgba(0,0,0,0.04); }
body.pg-results .step-dot.active { color: var(--text-inverse) !important; }
body.pg-results .pre-results { padding: 1rem 0; }
body.pg-results .pre-results h2 { font-size: 1.3rem; margin: 0 0 1rem; }
body.pg-results .pre-results h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
body.pg-results .pre-results p { font-size: 0.9rem; line-height: 1.6; margin: 0.5rem 0; opacity: 0.85; }
body.pg-results .pre-results .highlight { background: rgba(var(--bright-o-rgb),0.08); border-left: 3px solid var(--bright-o); padding: 0.75rem 1rem; margin: 1rem 0; border-radius: 0 6px 6px 0; }
body.pg-results .pre-results .highlight p { opacity: 1; }
body.pg-results .interest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin: 1rem 0; }
body.pg-results .interest-card { padding: 0.6rem 0.75rem; border: 1px solid rgba(128,128,128,0.25); border-radius: 16px; font-size: 0.82rem; cursor: pointer; transition: all 0.15s; line-height: 1.4; user-select: none; }
body.pg-results .interest-card:hover { border-color: var(--money); background: var(--surface-1); }
body.pg-results .interest-card.selected { border-color: var(--money); background: var(--surface-1); font-weight: 600; }
body.pg-results .pre-results-cta { text-align: center; margin: 1.5rem 0; }
body.pg-results .pre-results-cta button { font-size: 1.1rem !important; padding: 0.9rem 2.5rem !important; }
@media (max-width: 480px) {
    body.pg-results .interest-grid { grid-template-columns: 1fr; }
}


/* =====================================================================
   Migrated inline styles (2026-07-21)
   Classes extracted from per-page style="" attributes. Selectors are
   tag-qualified (a.x:link etc.) where aureum.css element/pseudo rules
   would otherwise out-rank a bare class.
   ===================================================================== */

/* -- Score-bar component (blog facet bars; Tailwind trait palette, distinct from .trait-*) -- */
.sc-code { display:inline-flex;align-items:center;gap:0.2rem;padding:0.15rem 0.4rem;border-radius:4px;font-size:0.75rem; }
.sc-code-a { background:rgba(var(--bright-a-rgb),0.12);border:1px solid rgba(var(--bright-a-rgb),0.35); }
.sc-code-c { background:rgba(var(--bright-c-rgb),0.12);border:1px solid rgba(var(--bright-c-rgb),0.35); }
.sc-code-c-soft { background:rgba(var(--bright-c-rgb),0.06);border:1px solid rgba(var(--bright-c-rgb),0.2); }
.sc-code-e { background:rgba(var(--bright-e-rgb),0.12);border:1px solid rgba(var(--bright-e-rgb),0.35); }
.sc-code-n { background:rgba(var(--bright-n-rgb),0.12);border:1px solid rgba(var(--bright-n-rgb),0.35); }
.sc-code-o { background:rgba(var(--bright-o-rgb),0.12);border:1px solid rgba(var(--bright-o-rgb),0.35); }
.sc-fill { height:100%;border-radius:4px; }
.sc-head { display:flex;align-items:center;gap:0.4rem;margin-bottom:0.25rem;flex-wrap:wrap; }
.sc-item { margin-bottom:0.6rem; }
.sc-name { font-size:0.85rem;color:var(--text-strong);font-weight:600; }
.sc-note { font-size:0.72rem;color:var(--text-faint);margin-left:auto; }
.sc-pct { font-size:0.8rem;font-weight:700;min-width:2rem;text-align:right; }
.sc-row { display:flex;align-items:center;gap:0.5rem; }
.sc-track { flex:1;background:var(--border-1);border-radius:4px;height:8px;overflow:hidden; }

/* -- Buttons & links -- */
.btn-dark-sm, a.btn-dark-sm:link, a.btn-dark-sm:visited, a.btn-dark-sm:hover, a.btn-dark-sm:active { display:inline-block;padding:0.4rem 1rem;background:var(--btn-ink);color:var(--text-inverse);border-radius: 16px;font-size:0.85rem;font-weight:600;text-decoration:none; }
.btn-disabled, button.btn-disabled { opacity:0.4;cursor:not-allowed; }
.btn-row { display:flex;gap:0.5rem; }
/* (cta-green-box / cta-green-box-lg removed 2026-07-22 — their only user,
   the compatibility-science post, now uses the standard .callout + button
   system classes) */
.link-card, a.link-card:link, a.link-card:visited, a.link-card:hover, a.link-card:active { display:block;padding:1rem;border:1px solid var(--border-2);border-radius:24px;text-decoration:none;color:inherit; }
/* (.link-go removed 2026-07-22 — green text-links posing as CTAs; use the
   button system (btn-go / cta-md bg-*) instead) */
.link-gold, a.link-gold:link, a.link-gold:visited, a.link-gold:hover, a.link-gold:active { color:var(--gold-text); }

.title-link, a.title-link:link, a.title-link:visited, a.title-link:hover, a.title-link:active { font-size:0.25em;font-weight:400;color:var(--bright-o);text-decoration:none; }

/* -- Boxes, callouts & cards -- */
.box-lead { margin:0 0 0.75rem;font-weight:700; }
.box-note { margin:0 0 0.75rem;font-size:0.9rem;color:var(--text-strong); }
.box-note-tight { margin:0 0 0.5rem;font-size:0.9rem;color:var(--text-strong); }
.box-sub { margin:0 0 0.75rem;font-size:0.9rem;color:var(--text-mid); }
.box-title { margin:0 0 0.5rem;font-weight:700;font-size:0.95rem; }
.box-title-lg { margin:0 0 0.6rem;font-weight:700;font-size:1.618rem;line-height:1.3; }
.callout { margin:0 0 1.618rem;padding:1rem 1.25rem;border:1px solid var(--border-2);background:var(--surface-1);border-radius:24px; }
.callout-e { margin:1.618rem 0;padding:1rem 1.25rem;border:1px solid var(--trait-e);background:#fdf6ec;border-radius:24px;text-align:center; }
.callout-o { margin:0 0 1.618rem;padding:1rem 1.25rem;border:1px solid var(--bright-o);background:#f8f7ff;border-radius:24px; }
/* Use-case pages' estimate callout sits BETWEEN sections: pull it up against
   the preceding section's large bottom margin, and give the next section's
   heading room to breathe (balanced ~50px above and below). */
body.pg-landing main > .callout-o, body.pg-hiring main > .callout-o { margin: -2.618rem 0 4.236rem; }
.caption-note { font-size:0.8rem;color:var(--text-faint);text-align:center;margin-top:0.75rem; }
.coupon-toast { position:fixed;bottom:1.5rem;right:1.5rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:24px;padding:0.75rem 1rem;font-size:0.85rem;color:#166534;max-width:280px;box-shadow:0 2px 8px rgba(0,0,0,0.1);z-index:1000; }
.empty-note { font-size:0.85rem;color:var(--text-faint);margin-bottom:1rem; }
.empty-state { text-align:center;padding:3rem 0; }
.eyebrow { display:block;font-size:0.35em;font-weight:400;text-transform:uppercase;letter-spacing:0.1em;color:var(--text-faint);margin-bottom:0.25rem; }
.fineprint { margin:0.75rem 0 0;font-size:0.85rem;opacity:0.7; }
.hl-mark { background:#fff176;padding:0.1em 0.3em;border-radius:3px; }
.item-sub { margin:0.25rem 0 0;font-size:0.75rem;color:var(--text-faint); }
.item-title { margin:0;font-weight:600;font-size:0.9rem; }
.note-card { background:var(--surface-1);border-radius:24px;padding:1.25rem;margin:1.5rem 0;border:1px solid var(--border-1);display:flow-root; }   /* flow-root: beside a floated framework-diagram the card narrows to the text column instead of sliding under the float, and picks up the float's margin as its gap */
.note-title { font-weight:700;font-size:0.95rem;margin-bottom:0.75rem;color:var(--ink-navy); }
.outro-box { margin:2.5em 0 0;padding:1.25rem 1.5rem;border:1px solid var(--border-1);background:var(--surface-1);border-radius:24px; }
.paywall-box { text-align:center;padding:2rem 1.5rem;border:1px solid var(--border-1);border-radius:24px;background:var(--surface-1);margin-bottom:1.618rem; }
.paywall-title { font-size:1.1rem;font-weight:700;margin-bottom:0.5rem; }
.sub-05 { font-size:0.9rem;color:var(--text-mid);margin-bottom:0.5rem; }
.sub-1 { font-size:0.9rem;color:var(--text-mid);margin-bottom:1rem; }
.warn-note { padding:0.6rem 0.9rem;background:rgba(var(--bright-e-rgb),0.12);border:1px solid rgba(var(--bright-e-rgb),0.4);border-radius:14px;font-size:0.85rem;margin-bottom:1rem; }

/* -- Forms & app widgets -- */
.center-abs { position:absolute;top:50%;left:50%;transform:translate(-50%,-50%); }
.field-email, input.field-email { width:100%;max-width:20rem;padding:0.618rem;font-family:inherit;font-size:1rem;border:1px solid var(--border-4);box-sizing:border-box; }
.field-ghost, input.field-ghost { width:100%;font-size:0.75rem;padding:0.4rem;margin-top:0.5rem;background:rgba(128,128,128,0.1);border:1px solid rgba(128,128,128,0.2);border-radius:4px;color:inherit; }
.field-num, input.field-num { width:4.5rem;text-align:center;font-size:1rem;padding:0.5rem 0.25rem;margin:0; }
.field-num-w6, select.field-num-w6 { width:6rem;text-align:center;font-size:1rem;padding:0.5rem 0.25rem;margin:0; }
.h-sub { margin-top:1.618rem;font-size:1rem; }
.inline-form-btn, button.inline-form-btn { white-space:nowrap;padding:0.5rem 1rem;font-size:0.854rem; }
.inline-form-input, input.inline-form-input { flex:1;font-size:0.854rem;padding:0.5rem; }
.inline-form-row { display:flex;gap:0.5rem;margin:1.618rem 0; }
.lead-bold { font-size:1.2rem;font-weight:700; }
.page-loader { position:fixed;top:0;left:0;right:0;bottom:0;background:var(--paper);z-index:2000;text-align:center; }
.spinner { width:2.618rem;height:2.618rem;border:3px solid var(--border-1);border-top-color:var(--border-ink);border-radius:50%;animation:spin 0.8s linear infinite;margin:0 auto 1.618rem; }
.summary-bold { cursor:pointer;font-weight:700;font-size:1.236rem;margin:1.618rem 0 0.618rem; }
.summary-lg { cursor:pointer;font-weight:600;font-size:1.236rem; }
.table-full { width:100%;margin-bottom:1rem; }
.th-left { text-align:left;font-size:0.85rem; }

/* -- Layout helpers -- */
.fig-400 { max-width:400px;margin:1.5rem 0; }
.grid-2col { grid-template-columns:1fr 1fr; }
.grid-cards { display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin:1.5rem 0; }
.img-round { width:100%;border-radius:24px; }
.media-col { flex:1;min-width:200px;margin:0; }
.media-col-sm { flex:1;min-width:180px;margin:0; }
.media-row { display:flex;gap:1rem;margin:1.5rem 0;flex-wrap:wrap; }
.wrap-800 { max-width:800px;margin:2rem 0; }

/* -- Spacing & text utilities -- */
.dim { opacity:0.6; }
.fs-124 { font-size:1.236rem; }
.fs-phi { font-size:1.618rem; }
.fs75 { font-size:0.75rem; }
.fs8 { font-size:0.8rem; }
.fs85 { font-size:0.85rem; }
.fw7 { font-weight:700; }
.hidden, button.hidden { display:none; }
.m0-fs85 { margin:0;font-size:0.85rem; }
.mb-1-only { margin:0 0 1rem; }
.mb-phi { margin-bottom:1.618rem; }
.mt-025 { margin-top:0.25rem; }
.mt-05 { margin-top:0.5rem; }
.mt-075 { margin-top:0.75rem; }
.mt-1 { margin-top:1rem; }
.mt-15 { margin-top:1.5rem; }
.mt-26 { margin-top:2.618rem; }
.mt-2em { margin-top:2em; }
.mt-phi, form.mt-phi { margin-top:1.618rem; }
.mt-sect { margin-top:6.854rem; }
.mx-05, a.mx-05:link, a.mx-05:visited, a.mx-05:hover, a.mx-05:active { margin:0 0.5rem; }
.my-1 { margin:1rem 0; }
.my-15 { margin:1.5rem 0; }
.rad-6, button.rad-6 { border-radius: 16px; }
.tac-15 { text-align:center;margin:1.5rem 0; }
.tac-2 { text-align:center;margin:2rem 0; }
.tx-333 { color:var(--text-strong); }
.tx-666 { color:var(--text-dim); }
.tx-999 { color:var(--text-faint); }
.tx-a, a.tx-a:link, a.tx-a:visited, a.tx-a:hover, a.tx-a:active { color:var(--bright-a); }
.tx-c, a.tx-c:link, a.tx-c:visited, a.tx-c:hover, a.tx-c:active { color:var(--bright-c); }
.tx-e { color:var(--bright-e); }
.tx-n { color:var(--bright-n); }
.tx-o, a.tx-o:link, a.tx-o:visited, a.tx-o:hover, a.tx-o:active { color:var(--bright-o); }

/* -- Bar-fill colors & widths -- */
.bg-a, a.bg-a:link, a.bg-a:visited, a.bg-a:hover, a.bg-a:active { background:var(--a-soft); }
.bg-blk, a.bg-blk:link, a.bg-blk:visited, a.bg-blk:hover, a.bg-blk:active { background:var(--bg-ink); }
.bg-c, a.bg-c:link, a.bg-c:visited, a.bg-c:hover, a.bg-c:active { background:var(--c-soft); }
.bg-e, a.bg-e:link, a.bg-e:visited, a.bg-e:hover, a.bg-e:active { background:var(--e-soft); }
.bg-n, a.bg-n:link, a.bg-n:visited, a.bg-n:hover, a.bg-n:active { background:var(--n-soft); }
.bg-o, a.bg-o:link, a.bg-o:visited, a.bg-o:hover, a.bg-o:active { background:var(--o-soft); }
.w-4rem { width:4rem; }
.w10 { width:10%; }
.w12 { width:12%; }
.w13 { width:13%; }
.w14 { width:14%; }
.w15 { width:15%; }
.w16 { width:16%; }
.w18 { width:18%; }
.w20 { width:20%; }
.w22 { width:22%; }
.w5 { width:5%; }
.w6 { width:6%; }
.w75 { width:75%; }
.w78 { width:78%; }
.w8 { width:8%; }
.w80 { width:80%; }
.w82 { width:82%; }
.w83 { width:83%; }
.w84 { width:84%; }
.w85 { width:85%; }
.w86 { width:86%; }
.w87 { width:87%; }
.w88 { width:88%; }
.w9 { width:9%; }
.w90 { width:90%; }
.w91 { width:91%; }
.w92 { width:92%; }
.w94 { width:94%; }

/* JS shows these tables via inline style.display; the responsive
   #results-table/#reports-table { display:block } rules must not
   out-rank .hidden. */
#results-table.hidden, #reports-table.hidden { display: none; }


/* -- Post-migration parity fixes (from computed-style diff, 2026-07-21) --
   pg-* scoping gives migrated block rules higher specificity than the
   migrated attribute classes; these restore the original inline-attribute
   precedence where the two collide. */

/* .hidden must beat scoped block display rules (e.g. update-estimate's
   .btn-dark). JS shows elements via inline style.display, which still
   out-ranks these. */
body[class*="pg-"] .hidden { display: none; }

/* dashboard action cards: .dash-action-card p out-ranked fs8/mt-025 */
.dash-action-card p.fs8 { font-size: 0.8rem; }
.dash-action-card p.mt-025 { margin-top: 0.25rem; }

/* add-result: scoped block rules out-ranked the migrated attr classes */
body.pg-dashboard-add-result .domain-entry-header .letter.fs-phi { font-size: 1.618rem; }
body.pg-dashboard-add-result .facet-entries.grid-2col { grid-template-columns: 1fr 1fr; }

/* Anchor font-size: aureum's a:link/:visited/... { font-size:inherit }
   (0,1,1) used to beat the in-page .btn-* rules (0,1,0); pg-scoping flipped
   that. Restore inherit for anchors on pages using the non-!important btn
   variant (covers the JS-injected payment-modal buttons too). The
   pg-dashboard variant already used !important and is unchanged. */
body.pg-dashboard-update-estimate a.btn-dark, body.pg-dashboard-update-estimate a.btn-gold, body.pg-dashboard-update-estimate a.btn-red, body.pg-dashboard-update-estimate a.btn-purple, body.pg-dashboard-update-estimate a.btn-lg, body.pg-dashboard-update-estimate a.btn-sm, body.pg-dashboard-new-compatibility-report a.btn-dark, body.pg-dashboard-new-compatibility-report a.btn-gold, body.pg-dashboard-new-compatibility-report a.btn-red, body.pg-dashboard-new-compatibility-report a.btn-purple, body.pg-dashboard-new-compatibility-report a.btn-lg, body.pg-dashboard-new-compatibility-report a.btn-sm, body.pg-dashboard-new-hiring-report a.btn-dark, body.pg-dashboard-new-hiring-report a.btn-gold, body.pg-dashboard-new-hiring-report a.btn-red, body.pg-dashboard-new-hiring-report a.btn-purple, body.pg-dashboard-new-hiring-report a.btn-lg, body.pg-dashboard-new-hiring-report a.btn-sm, body.pg-dashboard-new-mentoring-report a.btn-dark, body.pg-dashboard-new-mentoring-report a.btn-gold, body.pg-dashboard-new-mentoring-report a.btn-red, body.pg-dashboard-new-mentoring-report a.btn-purple, body.pg-dashboard-new-mentoring-report a.btn-lg, body.pg-dashboard-new-mentoring-report a.btn-sm, body.pg-dashboard-new-recovery-report a.btn-dark, body.pg-dashboard-new-recovery-report a.btn-gold, body.pg-dashboard-new-recovery-report a.btn-red, body.pg-dashboard-new-recovery-report a.btn-purple, body.pg-dashboard-new-recovery-report a.btn-lg, body.pg-dashboard-new-recovery-report a.btn-sm, body.pg-dashboard-new-team-report a.btn-dark, body.pg-dashboard-new-team-report a.btn-gold, body.pg-dashboard-new-team-report a.btn-red, body.pg-dashboard-new-team-report a.btn-purple, body.pg-dashboard-new-team-report a.btn-lg, body.pg-dashboard-new-team-report a.btn-sm { font-size: inherit; }

/* update-estimate unlock button: rad-6 (ex-inline border-radius:6px) must
   beat the scoped .btn-gold { border-radius: 16px }


/* =====================================================================
   Migrated JS-string inline styles — tier 1 (2026-07-21)
   Classes for markup built in page scripts (results/profile/dashboard/
   report pages, ocean quiz, viz helpers). Payment JS is tier 2, still
   inline by design.
   ===================================================================== */
.badge-o { display:inline-block; font-size:0.6rem; font-weight:700; background:var(--o-soft); color: var(--ink); padding:1px 4px; border-radius:2px; margin-right:4px; vertical-align:middle; }
/* EST badge: neutral outline (btn-neutral tokens) — purple read as "free" */
.badge-est { display:inline-block; font-size:0.6rem; font-weight:700; background:transparent; color:var(--text-dim); border:1px solid var(--border-4); padding:0 3px; border-radius:2px; margin-right:4px; vertical-align:middle; }
.bg-555, button.bg-555 { background:var(--text-mid); }
.bg-wa, a.bg-wa:link, a.bg-wa:visited, a.bg-wa:hover, a.bg-wa:active { background:#25D366; }
.bg-x, a.bg-x:link, a.bg-x:visited, a.bg-x:hover, a.bg-x:active { background:#1d9bf0; }
.blk { display:block; }
.card-title { margin:0 0 0.5rem; font-weight:700; font-size:1.1rem; }
.chip-muted { background:var(--surface-4); border-color:var(--surface-4); color:var(--text-strong); cursor:default; }
.code-chip { font-size:0.8rem; background:var(--surface-4); padding:1px 4px; }
.coupon-chip { background:#f0fdf4; border:1px solid #86efac; border-radius: 24px; padding:3px 8px; margin-top:1px; font-size:0.72rem; color:#166534; line-height:1.3; }
.cur-default { cursor:default; }
.cur-help { cursor:help; }
.dim-07 { opacity:0.7; }
.empty-pad { text-align:center; padding:2.618rem 0; }
.field-code, input.field-code { width:100%; padding:0.5rem; margin:0.5rem 0; font-size:1rem; border:1px solid var(--border-5); border-radius:4px; text-transform:uppercase; }
.field-ghost-md, input.field-ghost-md { width:100%; font-size:0.75rem; padding:0.5rem; margin:0.5rem 0; background:rgba(128,128,128,0.1); border:1px solid rgba(128,128,128,0.2); border-radius:4px; color:inherit; }
.field-modal, input.field-modal { width:100%; padding:0.6rem; border:1px solid var(--border-5); border-radius:16px; font-size:1rem; box-sizing:border-box; margin:0 0 0.75rem; }
.flex-1 { flex:1; }
.footnote-rule { font-size:0.8rem; color:var(--text-faint); margin-top:2.618rem; border-top:1px solid var(--border-1); padding-top:1rem; }
.fs-lg { font-size:1.5rem; }
.fs1 { font-size:1rem; }
.fs13 { font-size:1.3rem; }
.fs65 { font-size:0.65rem; }
.fs7 { font-size:0.7rem; }
.fs72 { font-size:0.72rem; }
.fs78 { font-size:0.78rem; }
.fs82 { font-size:0.82rem; }
.fs854, a.fs854:link, a.fs854:visited, a.fs854:hover, a.fs854:active { font-size:0.854rem; }
.fs9 { font-size:0.9rem; }
.fs95 { font-size:0.95rem; }
.fw4 { font-weight:400; }
.fw6 { font-weight:600; }
.grid-fill-280 { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:0.5rem; margin-top:0.75rem; }
.icon-lg { font-size:1.5rem; line-height:1; }
.item-card { display:flex; gap:0.75rem; align-items:flex-start; margin:0.75rem 0; padding:0.75rem; background:var(--paper); border:1px solid var(--surface-4); border-radius:24px; }
.lh-13 { line-height:1.3; }
.lh-14 { line-height:1.4; }
.lh-15 { line-height:1.5; }
.link-plain, a.link-plain:link, a.link-plain:visited, a.link-plain:hover, a.link-plain:active { display:inline-block; background:none; border:none; font-size:0.82rem; color:var(--bright-o); text-decoration:underline; cursor:pointer; }
.m-0 { margin:0; }
.m-025-top { margin:0.25rem 0 0; }
.m-03-0-05 { margin:0.3rem 0 0.5rem; }
.m-03-top { margin:0.3rem 0 0; }
.m-035-top { margin:0.35rem 0 0; }
.m-04-top { margin:0.4rem 0 0; }
.m-05-top { margin:0.5rem 0 0; }
.m-075-top { margin:0.75rem 0 0; }
.m-1-0-05 { margin:1rem 0 0.5rem; }
.m-1-0-2 { margin:1rem 0 2rem; }
.m-125-top { margin:1.25rem 0 0; }
.m-15-0-05 { margin:1.5rem 0 0.5rem; }
.m-15-0-1 { margin:1.5rem 0 1rem; }
.m-4px-top { margin:4px 0 0; }
.maxw-360 { max-width:360px; }
.maxw-700 { max-width:700px; }
.mb-02 { margin-bottom:0.2rem; }
.mb-025-only { margin:0 0 0.25rem; }
.mb-03 { margin-bottom:0.3rem; }
.mb-04-only { margin:0 0 0.4rem 0; }
.mb-05 { margin-bottom:0.5rem; }
.mb-05-only { margin:0 0 0.5rem; }
.mb-075, input.mb-075 { margin-bottom:0.75rem; }
.mb-075-only { margin:0 0 0.75rem; }
.mb-1, button.mb-1 { margin-bottom:1rem; }
.mb-125-only { margin:0 0 1.25rem; }
.mb-12px { margin-bottom:12px; }
.mb-26 { margin-bottom:2.618rem; }
.meter-label { min-width:5rem; text-align:right; font-size:0.8rem; }
.meter-track { flex:1; background:var(--border-1); border-radius:4px; height:6px; }
.meter-track-solo { background:var(--border-1); border-radius:4px; height:6px; margin-top:3px; }
.minw-0 { min-width:0; }
.modal-card { background:var(--paper); border-radius:16px; padding:2rem; max-width:420px; width:90%; box-shadow:0 8px 32px rgba(0,0,0,0.2); }
.modal-card-center { background:var(--paper); border-radius:16px; padding:2rem; max-width:420px; width:90%; text-align:center; }
.mr-03 { margin-right:0.3rem; }
.mt-025-inline, a.mt-025-inline:link, a.mt-025-inline:visited, a.mt-025-inline:hover, a.mt-025-inline:active { display:inline-block; margin-top:0.25rem; }
.mt-075-inline { margin-top:0.75rem; display:inline-block; }
.mt-12px { margin-top:12px; }
.my-03 { margin:0.3rem 0; }
.my-075 { margin:0.75rem 0; }
.narrow-center { max-width:480px; text-align:center; padding:1rem; }
.narrow-center-page { max-width:480px; margin:3rem auto; text-align:center; padding:1rem; }
.note-plain { margin:0.75rem 0 0; padding:0.75rem 1rem; background:var(--surface-1); border:1px solid var(--border-1); border-radius:14px; font-size:0.85rem; color:var(--text-mid); }
.note-tint-o { margin-top:0.75rem; padding:0.6rem; background:rgba(var(--bright-o-rgb),0.08); border-radius:24px; font-size:0.85rem; }
.nowrap, a.nowrap:link, a.nowrap:visited, a.nowrap:hover, a.nowrap:active { white-space:nowrap; }
.panel-lg { margin:2.5rem 0; padding:1.5rem; background:var(--surface-1); border:1px solid var(--border-2); border-radius:24px; }
.panel-soft { margin:1.618rem 0; padding:1.25rem 1.5rem; border:1px solid var(--border-1); background:var(--surface-1); border-radius:24px; }
.pos-rel { position:relative; }
.price-struck { color:var(--text-faint) !important; text-decoration:line-through; }
.quote-card { background:var(--surface-1); border:1px solid var(--border-1); border-radius:24px; padding:1rem 1.25rem; width:fit-content; max-width:100%; }
.quote-note { font-size:0.85rem; color:var(--text-strong); margin-bottom:0.5rem; padding:0.5rem; background:var(--surface-1); border-left:3px solid var(--border-1); }
.row-045 { margin:0.45rem 0; display:flex; gap:0.35rem; }
.row-05 { display:flex; gap:0.5rem; }
.row-05-mt { display:flex; gap:0.5rem; margin-top:0.5rem; }
.row-baseline { display:flex; align-items:baseline; gap:0.75rem; }
.row-between { display:flex; justify-content:space-between; align-items:center; }
.row-tight { margin:0.3rem 0; display:flex; align-items:center; gap:0.5rem; }
.row-total { background:#f0f8f0; font-weight:700; }
.self-center, a.self-center:link, a.self-center:visited, a.self-center:hover, a.self-center:active { align-self:center; }
.shrink-0, a.shrink-0:link, a.shrink-0:visited, a.shrink-0:hover, a.shrink-0:active { flex-shrink:0; }
.spinner-sm { width:2rem; height:2rem; border:3px solid var(--border-1); border-top-color:var(--border-ink); border-radius:50%; animation:spin 0.8s linear infinite; margin:1rem auto; }
.spinner-sm-ue { width:2rem; height:2rem; border:3px solid var(--border-1); border-top-color:var(--border-ink); border-radius:50%; animation:_uespin 0.8s linear infinite; margin:0 auto 0.75rem; }
.stack-1 { display:flex; flex-direction:column; gap:1rem; margin:1.5rem 0; }
.sticky-bar { position:fixed; bottom:0; left:0; right:0; background:var(--veil); border-top:1px solid var(--border-2); padding:0.6rem 1rem; text-align:center; z-index:1000; box-shadow:0 -2px 8px rgba(0,0,0,0.08); }
.ta-c { text-align:center; }
.ta-r { text-align:right; }
.ta-tall, textarea.ta-tall { min-height:8rem; width:100%; }
.tint-lose { border-color:rgba(var(--trait-n-rgb),0.45); background:rgba(var(--trait-n-rgb),0.06); }
.tint-o { border-color:rgba(var(--bright-o-rgb),0.5); background:rgba(var(--bright-o-rgb),0.07); }
.tx-555 { color:var(--text-mid); }
.tx-888 { color:var(--text-muted); }
.tx-aaa { color:var(--text-ghost); }
.tx-err { color:#c00; }
.tx-green { color:var(--trait-a); }
.tx-lose { color:var(--trait-n); }
.tx-pink, a.tx-pink:link, a.tx-pink:visited, a.tx-pink:hover, a.tx-pink:active { color:var(--accent-pink); }
.tx-red { color:red; }
.tx-vio { color:var(--o-deep); }
.tx-warnred { color:#c44; }
.vis-hidden, button.vis-hidden { visibility:hidden; }
.viz-slot { margin:1rem 0; min-height:78px; }
.w-full-mt, button.w-full-mt { width:100%; margin-top:0.5rem; }
.w0 { width:0%; }
.wrap-035 { display:flex; flex-wrap:wrap; gap:0.35rem; }
.wrap-05 { display:flex; flex-wrap:wrap; gap:0.5rem; }
.zcard { background:var(--surface-2); border-radius:24px; padding:0.6rem 0.8rem; cursor:pointer; }
.zcard-detail { display:none; margin-top:0.5rem; font-size:0.78rem; color:var(--text-dim); }

/* -- Tier-1 defensive overrides (2026-07-21) ---------------------------
   JS-built elements that carry migrated utility classes AND can sit
   inside pg-scoped block containers: replicate the scoped selector
   with the class appended so the class (= old inline value) wins,
   exactly as the inline attribute used to. Dead rules where the
   containment never occurs. */
body.pg-dashboard-update-estimate .evidence-item-row a.fs75 { font-size:0.75rem; }
body.pg-dashboard-update-estimate .evidence-item-row p.fs1 { font-size:1rem; }
body.pg-dashboard-update-estimate .evidence-item-row p.fs85 { font-size:0.85rem; }
body.pg-dashboard-update-estimate .evidence-item-row p.m-0 { margin:0; }
body.pg-dashboard-update-estimate .evidence-item-row p.quote-note { font-size:0.85rem; color:var(--text-strong); margin-bottom:0.5rem; padding:0.5rem; background:var(--surface-1); border-left:3px solid var(--border-1); }
body.pg-dashboard-update-estimate .evidence-item-row p.tx-333 { color:var(--text-strong); }
body.pg-dashboard-update-estimate .evidence-item-row p.tx-999 { color:var(--text-faint); }
body.pg-dashboard-update-estimate .evidence-item-row p.tx-pink { color:var(--accent-pink); }
body.pg-dashboard-update-estimate .q-item p.fs1 { font-size:1rem; }
body.pg-dashboard-update-estimate .q-item p.fs85 { font-size:0.85rem; }
body.pg-dashboard-update-estimate .q-item p.fw6 { font-weight:600; }
body.pg-dashboard-update-estimate .q-item p.m-0 { margin:0; }
body.pg-dashboard-update-estimate .q-item p.quote-note { font-size:0.85rem; color:var(--text-strong); margin-bottom:0.5rem; padding:0.5rem; background:var(--surface-1); border-left:3px solid var(--border-1); }
body.pg-dashboard-update-estimate textarea.ta-tall { min-height:8rem; width:100%; }
body.pg-ocean .paywall p.m-05-top { margin:0.5rem 0 0; }
body.pg-profile .unlock-cta p.dim { opacity:0.6; }
body.pg-reports .confidence-section p.footnote-rule { font-size:0.8rem; color:var(--text-faint); margin-top:2.618rem; border-top:1px solid var(--border-1); padding-top:1rem; }
body.pg-reports .confidence-section p.fs75 { font-size:0.75rem; }
body.pg-reports .confidence-section p.tx-999 { color:var(--text-faint); }
body.pg-reports .headline-callout p.footnote-rule { font-size:0.8rem; color:var(--text-faint); margin-top:2.618rem; border-top:1px solid var(--border-1); padding-top:1rem; }
body.pg-reports .headline-callout p.fs75 { font-size:0.75rem; }
body.pg-reports .headline-callout p.tx-999 { color:var(--text-faint); }
body.pg-reports .report-body p.footnote-rule { font-size:0.8rem; color:var(--text-faint); margin-top:2.618rem; border-top:1px solid var(--border-1); padding-top:1rem; }
body.pg-reports .report-body p.fs75 { font-size:0.75rem; }
body.pg-reports .report-body p.tx-999 { color:var(--text-faint); }
body.pg-results .domain-header h3.mb-025-only { margin:0 0 0.25rem; }
body.pg-results .domain-header h3.mb-05-only { margin:0 0 0.5rem; }
body.pg-results .domain-main h3.mb-025-only { margin:0 0 0.25rem; }
body.pg-results .domain-main h3.mb-05-only { margin:0 0 0.5rem; }
body.pg-results .facet-name a.link-gold { color:var(--gold-text); }
body.pg-results .facet-name a.link-plain { display:inline-block; background:none; border:none; font-size:0.82rem; color:var(--bright-o); text-decoration:underline; cursor:pointer; }
body.pg-results .facet-name a.tx-o { color:var(--bright-o); }
body.pg-results .overview-name a.link-gold { color:var(--gold-text); }
body.pg-results .overview-name a.link-plain { display:inline-block; background:none; border:none; font-size:0.82rem; color:var(--bright-o); text-decoration:underline; cursor:pointer; }
body.pg-results .overview-name a.tx-o { color:var(--bright-o); }
body.pg-results .pre-results .highlight p.dim { opacity:0.6; }
body.pg-results .pre-results .highlight p.dim-07 { opacity:0.7; }
body.pg-results .pre-results h3.fs1 { font-size:1rem; }
body.pg-results .pre-results h3.mb-025-only { margin:0 0 0.25rem; }
body.pg-results .pre-results h3.mb-05-only { margin:0 0 0.5rem; }
body.pg-results .pre-results p.box-sub { margin:0 0 0.75rem;font-size:0.9rem;color:var(--text-mid); }
body.pg-results .pre-results p.card-title { margin:0 0 0.5rem; font-weight:700; font-size:1.1rem; }
body.pg-results .pre-results p.dim { opacity:0.6; }
body.pg-results .pre-results p.dim-07 { opacity:0.7; }
body.pg-results .pre-results p.fs65 { font-size:0.65rem; }
body.pg-results .pre-results p.fs7 { font-size:0.7rem; }
body.pg-results .pre-results p.fs72 { font-size:0.72rem; }
body.pg-results .pre-results p.fs75 { font-size:0.75rem; }
body.pg-results .pre-results p.fs78 { font-size:0.78rem; }
body.pg-results .pre-results p.fs82 { font-size:0.82rem; }
body.pg-results .pre-results p.fs85 { font-size:0.85rem; }
body.pg-results .pre-results p.fs9 { font-size:0.9rem; }
body.pg-results .pre-results p.fs95 { font-size:0.95rem; }
body.pg-results .pre-results p.lh-13 { line-height:1.3; }
body.pg-results .pre-results p.lh-14 { line-height:1.4; }
body.pg-results .pre-results p.lh-15 { line-height:1.5; }
body.pg-results .pre-results p.m-0 { margin:0; }
body.pg-results .pre-results p.m-025-top { margin:0.25rem 0 0; }
body.pg-results .pre-results p.m-03-0-05 { margin:0.3rem 0 0.5rem; }
body.pg-results .pre-results p.m-03-top { margin:0.3rem 0 0; }
body.pg-results .pre-results p.m-04-top { margin:0.4rem 0 0; }
body.pg-results .pre-results p.m-075-top { margin:0.75rem 0 0; }
body.pg-results .pre-results p.m-125-top { margin:1.25rem 0 0; }
body.pg-results .pre-results p.m-4px-top { margin:4px 0 0; }
body.pg-results .pre-results p.mb-04-only { margin:0 0 0.4rem 0; }
body.pg-results .pre-results p.mb-1-only { margin:0 0 1rem; }
body.pg-results .pre-results p.mb-125-only { margin:0 0 1.25rem; }
body.pg-results .pre-results p.warn-note { padding:0.6rem 0.9rem;background:rgba(var(--bright-e-rgb),0.12);border:1px solid rgba(var(--bright-e-rgb),0.4);border-radius:14px;font-size:0.85rem;margin-bottom:1rem; }
body.pg-results .pre-results-cta button.chip-btn-blk { margin-top:0.45rem; display:inline-block; font-size:0.7rem; padding:0.25rem 0.6rem; }
body.pg-results .preview-confirm-box .preview-confirm-btns button.chip-btn-blk { margin-top:0.45rem; display:inline-block; font-size:0.7rem; padding:0.25rem 0.6rem; }
body.pg-results .preview-confirm-box h3.fs1 { font-size:1rem; }
body.pg-results .preview-confirm-box h3.mb-025-only { margin:0 0 0.25rem; }
body.pg-results .preview-confirm-box h3.mb-05-only { margin:0 0 0.5rem; }
body.pg-results .preview-confirm-box p.box-sub { margin:0 0 0.75rem;font-size:0.9rem;color:var(--text-mid); }
body.pg-results .preview-confirm-box p.card-title { margin:0 0 0.5rem; font-weight:700; font-size:1.1rem; }
body.pg-results .preview-confirm-box p.fs65 { font-size:0.65rem; }
body.pg-results .preview-confirm-box p.fs7 { font-size:0.7rem; }
body.pg-results .preview-confirm-box p.fs72 { font-size:0.72rem; }
body.pg-results .preview-confirm-box p.fs75 { font-size:0.75rem; }
body.pg-results .preview-confirm-box p.fs78 { font-size:0.78rem; }
body.pg-results .preview-confirm-box p.fs82 { font-size:0.82rem; }
body.pg-results .preview-confirm-box p.fs85 { font-size:0.85rem; }
body.pg-results .preview-confirm-box p.fs9 { font-size:0.9rem; }
body.pg-results .preview-confirm-box p.fs95 { font-size:0.95rem; }
body.pg-results .preview-confirm-box p.lh-13 { line-height:1.3; }
body.pg-results .preview-confirm-box p.lh-14 { line-height:1.4; }
body.pg-results .preview-confirm-box p.lh-15 { line-height:1.5; }
body.pg-results .preview-confirm-box p.m-0 { margin:0; }
body.pg-results .preview-confirm-box p.m-025-top { margin:0.25rem 0 0; }
body.pg-results .preview-confirm-box p.m-03-0-05 { margin:0.3rem 0 0.5rem; }
body.pg-results .preview-confirm-box p.m-03-top { margin:0.3rem 0 0; }
body.pg-results .preview-confirm-box p.m-04-top { margin:0.4rem 0 0; }
body.pg-results .preview-confirm-box p.m-075-top { margin:0.75rem 0 0; }
body.pg-results .preview-confirm-box p.m-125-top { margin:1.25rem 0 0; }
body.pg-results .preview-confirm-box p.m-4px-top { margin:4px 0 0; }
body.pg-results .preview-confirm-box p.mb-04-only { margin:0 0 0.4rem 0; }
body.pg-results .preview-confirm-box p.mb-1-only { margin:0 0 1rem; }
body.pg-results .preview-confirm-box p.mb-125-only { margin:0 0 1.25rem; }
body.pg-results .preview-confirm-box p.tx-333 { color:var(--text-strong); }
body.pg-results .preview-confirm-box p.tx-555 { color:var(--text-mid); }
body.pg-results .preview-confirm-box p.tx-666 { color:var(--text-dim); }
body.pg-results .preview-confirm-box p.tx-888 { color:var(--text-muted); }
body.pg-results .preview-confirm-box p.tx-aaa { color:var(--text-ghost); }
body.pg-results .preview-confirm-box p.tx-o { color:var(--bright-o); }
body.pg-results .preview-confirm-box p.warn-note { padding:0.6rem 0.9rem;background:rgba(var(--bright-e-rgb),0.12);border:1px solid rgba(var(--bright-e-rgb),0.4);border-radius:14px;font-size:0.85rem;margin-bottom:1rem; }
body.pg-results .unlock-cta h3.mb-025-only { margin:0 0 0.25rem; }
body.pg-results .unlock-cta h3.mb-05-only { margin:0 0 0.5rem; }
body.pg-results .unlock-cta p.dim { opacity:0.6; }
body.pg-results .unlock-cta p.dim-07 { opacity:0.7; }/* -- Tier-1 defensive overrides, round 2: elements whose PRE-EXISTING
   class matches a scoped block selector while also carrying a migrated
   utility class. */

body.pg-ocean .progress-bar-fill.w0 { width:0%; }
body.pg-ocean .slide.hidden { display:none; }
body.pg-ocean-estimate .slide-text.fs-124 { font-size:1.236rem; }
body.pg-ocean-estimate .slide.hidden { display:none; }
body.pg-profile .facet-pct.meter-label { min-width:5rem; text-align:right; font-size:0.8rem; }
body.pg-results .facet-pct.meter-label { min-width:5rem; text-align:right; font-size:0.8rem; }
body.pg-results .pattern-scroll-card.tint-lose { border-color:rgba(var(--trait-n-rgb),0.45); background:rgba(var(--trait-n-rgb),0.06); }
body.pg-results .pattern-scroll-card.tint-o { border-color:rgba(var(--bright-o-rgb),0.5); background:rgba(var(--bright-o-rgb),0.07); }


/* =====================================================================
   Migrated payment-modal inline styles — tier 2 (2026-07-21)
   Classes for markup built by payment.js / report-payment.js /
   estimate-payment.js. !important preserved where the original inline
   attrs used it to out-rank the pg-scoped .btn-* rules. Modal shells
   (overlay/box) remain style.cssText by design.
   ===================================================================== */
.pay-aside { margin:0.5rem 0 0;font-size:0.8rem;color:var(--text-ghost); }
.pay-btn-gap, a.pay-btn-gap:link, a.pay-btn-gap:visited, a.pay-btn-gap:hover, a.pay-btn-gap:active, button.pay-btn-gap { margin:0 0 0.5rem !important;border-radius: 16px; }
.pay-callout-e { background:#fdf6ec;border:1px solid var(--trait-e);border-radius: 24px;padding:12px 14px;margin:0 0 0.75rem; }
.pay-callout-n { background:#fef2f2;border:1px solid #fca5a5;border-radius: 24px;padding:12px 14px;margin:0 0 0.75rem; }
.pay-close, button.pay-close { position:absolute;top:0.75rem;right:1rem;background:none;border:none;font-size:1.5rem;color:var(--text-faint);cursor:pointer;width:auto;margin:0;padding:0; }
.pay-desc { margin:0 0 0.75rem;font-size:0.9rem;color:var(--text-mid);line-height:1.6; }
.pay-details { margin:0 0 0.75rem;color:var(--text-dim); }
.pay-divide { border-top:1px solid var(--border-2);margin:0.75rem 0 0;padding:0.75rem 0 0; }
.pay-divide-left { border-top:1px solid var(--border-2);margin:0.75rem 0 0;padding:0.75rem 0 0;text-align:left; }
.pay-error { margin:0 0 0.5rem;font-size:0.85rem;color:#c0392b; }
.pay-field, input.pay-field { flex:1;padding:0.5rem;font-size:0.8rem;border:1px solid var(--border-4);border-radius: 16px;color:var(--text-strong);margin-bottom:0 !important; }
.pay-field-btn, button.pay-field-btn { white-space:nowrap;margin-bottom:0 !important; }
.pay-fineprint { margin:0.75rem 0 0;font-size:0.7rem;color:var(--text-ghost);text-align:center;line-height:1.4; }
.pay-hint { margin:4px 0 0;font-size:0.75rem;color:var(--text-muted);text-align:center; }
.pay-lead { margin:0 0 0.5rem;font-size:0.95rem; }
.pay-lead-lg { margin:0 0 0.75rem;font-size:0.95rem; }
.pay-left { text-align:left;margin:0; }
.pay-legal { font-size:11px !important;color:var(--text-dim);line-height:1.4;display:block; }
.pay-line { display:block;margin-top:8px; }
.pay-link-btn, button.pay-link-btn { display:block;width:100%;padding:0.5rem !important;background:none;border:none;color:var(--bright-o);font-size:0.85rem;cursor:pointer;text-align:center;margin:0.25rem 0 0; }
.pay-microprint { margin:0.5rem 0 0;font-size:0.65rem;color:var(--text-wisp);text-align:center; }
.pay-note { margin:0 0 0.75rem;font-size:0.85rem;color:var(--text-mid); }
.pay-note-04 { margin:0 0 0.4rem;font-size:0.8rem;color:var(--text-muted); }
.pay-note-dim { margin:0 0 0.5rem;font-size:0.85rem;color:var(--text-muted); }
.pay-note-sm { margin:0 0 0.75rem;font-size:0.8rem;color:var(--text-mid); }
.pay-note-xs { margin:0 0 0.5rem;font-size:0.8rem;color:var(--text-mid); }
.pay-option, a.pay-option:link, a.pay-option:visited, a.pay-option:hover, a.pay-option:active { display:flex;align-items:center;gap:0.5rem;padding:0.5rem 0.6rem;margin:0 0 0.4rem;border:1px solid var(--surface-4);border-radius: 16px;text-decoration:none;color:var(--text-strong);background:var(--surface-1);transition:background 0.15s; }
.pay-option-icon { font-size:1.2rem;flex-shrink:0; }
.pay-option-text { flex:1;font-size:0.8rem;line-height:1.3; }
.pay-row { display:flex;gap:0.5rem;margin:0 0 0.75rem !important; }
.pay-row-tight { display:flex;gap:0.5rem;margin:0 0 0.5rem !important; }
.pay-social-proof { margin:0 0 0.6rem;font-size:0.72rem;color:var(--bright-o);text-align:center;line-height:1.4; }
/* Gray international-payments note: sits between the card and PayPal buttons */
.pay-intl-note { margin:0.35rem 0 0.5rem;font-size:0.75rem;color:var(--text-muted);text-align:center;line-height:1.4; }
.pay-hr { border:0;border-top:1px solid var(--border-1);margin:0.75rem 0; }
.pay-spinner { width:2rem;height:2rem;border:3px solid var(--border-1);border-top-color:var(--border-ink);border-radius:50%;animation:spin 0.8s linear infinite;margin:0 auto 0.75rem; }
.pay-spinner-wrap { text-align:center;padding:1.25rem 0 0.75rem; }
.pay-strong-note { margin:0;font-size:0.9rem;color:var(--text-mid);font-weight:600; }
.pay-summary { cursor:pointer;font-weight:600;color:var(--text-mid);font-size:0.8rem; }
.pay-title { margin:0 0 0.5rem;font-size:1.25rem; }
.pay-title-ink { margin:0 0 0.75rem;font-size:1.2rem;color:var(--ink-navy); }
.pay-title-lg { margin:0 0 0.75rem;font-size:1.25rem; }
.pay-urgency { margin:0 0 0.75rem;font-size:0.8rem;color:#e67e22;font-weight:600; }

/* -- Tier-2 defensive overrides: payment-modal elements that combine
   btn-* (pg-scoped, some !important) with migrated pay-*/utility
   classes — replicate scope + class so the class (= old inline value,
   incl. its !important) wins as the inline attribute used to. */
body.pg-dashboard .btn-gold.pay-btn-gap { margin:0 0 0.5rem !important;border-radius: 16px; }

/* -- Tier-2 patches: mt-04 was referenced but never emitted in tier 1;
   tx-aaa needs the anchor chain now that payment JS uses it on links. */
.mt-04 { margin-top: 0.4rem; }
a.tx-aaa:link, a.tx-aaa:visited, a.tx-aaa:hover, a.tx-aaa:active { color: var(--text-ghost); }


/* -- Modal & page-cover shells (2026-07-21) — formerly style.cssText in
   payment/report/estimate JS, ocean loader, results auth overlay,
   update-estimate unlock spinner, dashboard unsub modal. Themed via the
   neutral vars. */
.modal-scrim { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--scrim); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; overflow-y: auto; }
.modal-scrim-bare { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--scrim); z-index: 3000; display: flex; align-items: center; justify-content: center; }
.modal-shell { background: var(--paper); border-radius: 24px; max-width: 400px; width: 100%; padding: 1.5rem; position: relative; box-shadow: 0 4px 24px rgba(0,0,0,0.15); max-height: 90vh; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.modal-shell-center { padding: 2rem 1.5rem; text-align: center; }
.page-cover { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--paper); z-index: 2000; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-cover-top { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--paper); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.page-cover-veil { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--veil-2); z-index: 2000; display: flex; align-items: center; justify-content: center; text-align: center; }/* wallet fallback buttons now carry rad-6 via className (was cssText);
   the scoped .btn-* border-radius must not out-rank it */



/* -- Pastel theme shape pass (2026-07-21): uniform soft rounding.
   Buttons 12px, fields 10px (aureum resets radius to 0; layout loads later
   so these ties win). -- */
button { border-radius: 16px; }
input[type=text], input[type=number], input[type=password], input[type=date],
input[type=file], input[type=email], input[type=search], textarea, select {
    border-radius: 10px;
    border-color: var(--border-4);
}


/* -- Function-look typography (2026-07-21): serif display headings on the
   bone canvas; em inside headings = italic terracotta accent. -- */
h1, h2, h3 {
    font-family: 'Avenir Next', 'Avenir', 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
}
h1 { font-weight: 700; letter-spacing: -0.015em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--money); }

/* black/graphite CTA variant keeps inverse text (cta-lg/md default to ink for pastel fills) */
.cta-lg.bg-blk, a.cta-lg.bg-blk:link, a.cta-lg.bg-blk:visited, a.cta-lg.bg-blk:hover, a.cta-lg.bg-blk:active,
.cta-md.bg-blk, a.cta-md.bg-blk:link, a.cta-md.bg-blk:visited, a.cta-md.bg-blk:hover, a.cta-md.bg-blk:active { color: var(--text-inverse); }

/* no dashed text-underline (aureum a>u) inside button-shaped links */
.cta-lg u, .cta-md u, .btn-go u, a.btn-cta u, .cta-btn u,
a[href]:where(header a, .card a, section > p > a) u { border-bottom: 0; }


/* -- ONE action color: every CTA is terracotta regardless of its legacy
   bg-* trait/black class (owner decision 2026-07-21: "the orange really
   catches your attention"). The [class*="bg-"] guard out-specifies the
   bg-* utility ties. Destructive buttons (btn-red/btn-danger) stay
   n-deep. -- */
p a.cta-lg, p a.cta-md, p a.btn-go, p a.cta-btn, p a.link-card, p a.btn-cta { border-bottom: 0; }

/* blog header images HIDDEN for now (owner 2026-07-21 — the dark dramatic
   heroes clash with the new look; revisit when illustration-style heroes
   exist). Selector = exactly the 75 blog heroes; in-article figures keep
   showing. Restore by swapping display:none back to border-radius: 0. */
figure.hero { display: none; }


/* =====================================================================
   Editorial type rhythm (2026-07-21, per skills/frontend-design):
   body at text size/weight (not h3-size light), tight heading leading,
   PROXIMITY — headings attach to the content below them (big space
   above, small below) instead of aureum's uniform 1.618rem gaps.
   Element-level, so page-scoped and class rules still override.
   ===================================================================== */
body { font-weight: 400; color: var(--ink); }
p { font-size: 1.382rem; line-height: 1.65; margin-bottom: 1.15rem; }
li { font-size: 1.382rem; line-height: 1.6; margin-bottom: 0.5rem; }
p > small { font-size: 1.236rem; line-height: 1.6; }
small { line-height: 1.55; }
h1 { font-size: 3.618rem; line-height: 1.15; margin-bottom: 2.2rem; }
h2 { font-size: 2.1rem; line-height: 1.22; margin: 2.8rem 0 0.9rem; }
h3 { font-size: 1.55rem; line-height: 1.3; margin: 2.2rem 0 0.7rem; }
h1:first-child, h2:first-child, h3:first-child { margin-top: 0; }

/* pages with a fixed bottom sticky CTA need its height reserved below the
   footer content so the last lines are never covered */
body.pg-landing, body.pg-hiring, body.pg-results { padding-bottom: 9rem; }


/* hr: hairline divider in the warm border tone (aureum default is a thick
   ink bar — off-aesthetic) */
hr { height: 1px; background: var(--border-1); }


/* =====================================================================
   BUTTON SYSTEM (2026-07-21) — single source of truth.
   Legacy class names are PRESERVED AS ALIASES: JS interactivity and
   analytics reference them (owner constraint — never remove/rename in
   markup or JS). Scoped per-page button rules were deleted in favor of
   this block. Variants: primary terracotta / secondary outline / danger.
   Sizes: btn-sm|chip / default / btn-lg|cta-lg. btn-block = full width.
   ===================================================================== */
.dash-action-btn,
a.dash-action-btn:link,
a.dash-action-btn:visited,
a.dash-action-btn:hover,
a.dash-action-btn:active,
.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active,
.btn-unlock,
a.btn-unlock:link,
a.btn-unlock:visited,
a.btn-unlock:hover,
a.btn-unlock:active,
.btn-cta,
a.btn-cta:link,
a.btn-cta:visited,
a.btn-cta:hover,
a.btn-cta:active,
.cta-btn,
a.cta-btn:link,
a.cta-btn:visited,
a.cta-btn:hover,
a.cta-btn:active,
.btn-go,
a.btn-go:link,
a.btn-go:visited,
a.btn-go:hover,
a.btn-go:active,
.submit-cta,
a.submit-cta:link,
a.submit-cta:visited,
a.submit-cta:hover,
a.submit-cta:active,
.btn-ink,
a.btn-ink:link,
a.btn-ink:visited,
a.btn-ink:hover,
a.btn-ink:active,
.btn-dark-md,
a.btn-dark-md:link,
a.btn-dark-md:visited,
a.btn-dark-md:hover,
a.btn-dark-md:active,
.cta-lg,
a.cta-lg:link,
a.cta-lg:visited,
a.cta-lg:hover,
a.cta-lg:active,
.cta-md,
a.cta-md:link,
a.cta-md:visited,
a.cta-md:hover,
a.cta-md:active {
    display: inline-block;
    background: var(--money);
    color: var(--text-inverse);
    border: none;
    border-radius: 16px;
    padding: 0.75rem 1.6rem;
    font-family: inherit;
    font-size: 1.236rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    width: auto;
    box-sizing: border-box;
    margin-bottom: 0;
    transition: background 0.15s;
    -webkit-appearance: none;
    appearance: none;
}
a[href]:where(header a, .card a, section > p > a),
.link-strong, a.link-strong:link, a.link-strong:visited,
.btn-neutral,
a.btn-neutral:link,
a.btn-neutral:visited,
a.btn-neutral:hover,
a.btn-neutral:active,
.btn-cancel,
a.btn-cancel:link,
a.btn-cancel:visited,
a.btn-cancel:hover,
a.btn-cancel:active {
    display: inline-block;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border-4);
    border-radius: 16px;
    padding: calc(0.75rem - 1px) calc(1.6rem - 1px);
    font-family: inherit;
    font-size: 1.236rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    width: auto;
    box-sizing: border-box;
    margin-bottom: 0;
    transition: border-color 0.15s, color 0.15s;
    -webkit-appearance: none;
    appearance: none;
}
.btn-red,
a.btn-red:link,
a.btn-red:visited,
a.btn-red:hover,
a.btn-red:active,
.btn-danger,
a.btn-danger:link,
a.btn-danger:visited,
a.btn-danger:hover,
a.btn-danger:active {
    display: inline-block;
    background: var(--danger);
    color: var(--text-inverse);
    border: none;
    border-radius: 16px;
    padding: 0.75rem 1.6rem;
    font-family: inherit;
    font-size: 1.236rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    width: auto;
    box-sizing: border-box;
    margin-bottom: 0;
    transition: background 0.15s;
    -webkit-appearance: none;
    appearance: none;
}
a[href]:where(header a, .card a, section > p > a):hover, a[href]:where(header a, .card a, section > p > a):focus, .btn-neutral:hover, .btn-neutral:focus, a.btn-neutral:hover, a.btn-neutral:focus, .btn-cancel:hover, .btn-cancel:focus, a.btn-cancel:hover, a.btn-cancel:focus { border-color: var(--border-ink); color: var(--ink); background: transparent; outline: none; }
/* primary hover AFTER the contextual quiet hover: a card/section link carrying a btn-* class must keep its fill on hover */
.dash-action-btn:hover, .dash-action-btn:focus, a.dash-action-btn:hover, a.dash-action-btn:focus, .btn-primary:hover, .btn-primary:focus, a.btn-primary:hover, a.btn-primary:focus, .btn-unlock:hover, .btn-unlock:focus, a.btn-unlock:hover, a.btn-unlock:focus, .btn-cta:hover, .btn-cta:focus, a.btn-cta:hover, a.btn-cta:focus, .cta-btn:hover, .cta-btn:focus, a.cta-btn:hover, a.cta-btn:focus, .btn-go:hover, .btn-go:focus, a.btn-go:hover, a.btn-go:focus, .submit-cta:hover, .submit-cta:focus, a.submit-cta:hover, a.submit-cta:focus, .btn-ink:hover, .btn-ink:focus, a.btn-ink:hover, a.btn-ink:focus, .btn-dark-md:hover, .btn-dark-md:focus, a.btn-dark-md:hover, a.btn-dark-md:focus, .cta-lg:hover, .cta-lg:focus, a.cta-lg:hover, a.cta-lg:focus, .cta-md:hover, .cta-md:focus, a.cta-md:hover, a.cta-md:focus { background: var(--money-hover); color: var(--text-inverse); outline: none; }
.btn-red:hover, .btn-red:focus, a.btn-red:hover, a.btn-red:focus, .btn-danger:hover, .btn-danger:focus, a.btn-danger:hover, a.btn-danger:focus { background: var(--danger-hover); color: var(--text-inverse); outline: none; }
.btn-gold:disabled, .btn-purple:disabled, .btn-primary:disabled, .btn-unlock:disabled, .btn-cta:disabled, .cta-btn:disabled, .btn-go:disabled, .submit-cta:disabled, .btn-ink:disabled, .btn-dark-md:disabled, .cta-lg:disabled, .cta-md:disabled, .btn-dark:disabled, .btn-back:disabled, .btn-neutral:disabled, .btn-cancel:disabled, .btn-red:disabled, .btn-danger:disabled { opacity: 0.55; cursor: not-allowed; }
/* Looks disabled but stays clickable: the click explains what's missing (email/reCAPTCHA) */
.btn-faux-disabled, .btn-faux-disabled:hover, .btn-faux-disabled:focus { opacity: 0.55; cursor: not-allowed; }
/* tighter gap between the email input and the reCAPTCHA below it */
body.pg-ocean #email, body.pg-ocean-estimate #user-email { margin-bottom: 0.382rem; }
/* colored primary variants: gold=A-green (unlock/pay), purple=O */
.btn-gold, a.btn-gold:link, a.btn-gold:visited, a.btn-gold:hover, a.btn-gold:active {
    display: inline-block; background: var(--btn-gold); color: var(--text-inverse);
    border: none; border-radius: 16px; padding: 0.75rem 1.6rem; font-family: inherit;
    font-size: 1.236rem; font-weight: 600; line-height: 1.3; text-align: center;
    text-decoration: none; cursor: pointer; width: auto; box-sizing: border-box;
    margin-bottom: 0; transition: background 0.15s; -webkit-appearance: none; appearance: none;
}
.btn-purple, a.btn-purple:link, a.btn-purple:visited, a.btn-purple:hover, a.btn-purple:active {
    display: inline-block; background: var(--btn-purple); color: var(--text-inverse);
    border: none; border-radius: 16px; padding: 0.75rem 1.6rem; font-family: inherit;
    font-size: 1.236rem; font-weight: 600; line-height: 1.3; text-align: center;
    text-decoration: none; cursor: pointer; width: auto; box-sizing: border-box;
    margin-bottom: 0; transition: background 0.15s; -webkit-appearance: none; appearance: none;
}
.btn-gold:hover, .btn-gold:focus, a.btn-gold:hover, a.btn-gold:focus { background: var(--btn-gold-hover); color: var(--text-inverse); outline: none; }
.btn-purple:hover, .btn-purple:focus, a.btn-purple:hover, a.btn-purple:focus { background: var(--btn-purple-hover); color: var(--text-inverse); outline: none; }
.btn-gold:disabled, .btn-purple:disabled { opacity: 0.55; cursor: not-allowed; }
/* charcoal filled variant: primary shape, ink fill */
.btn-dark, a.btn-dark:link, a.btn-dark:visited, a.btn-dark:hover, a.btn-dark:active {
    display: inline-block; background: var(--btn-ink); color: var(--text-inverse);
    border: none; border-radius: 16px; padding: 0.75rem 1.6rem; font-family: inherit;
    font-size: 1.236rem; font-weight: 600; line-height: 1.3; text-align: center;
    text-decoration: none; cursor: pointer; width: auto; box-sizing: border-box;
    margin-bottom: 0; transition: background 0.15s; -webkit-appearance: none; appearance: none;
}
.btn-dark:hover, .btn-dark:focus, a.btn-dark:hover, a.btn-dark:focus { background: var(--btn-ink-hover); color: var(--text-inverse); outline: none; }
.btn-dark:disabled { opacity: 0.55; cursor: not-allowed; }

/* quiet secondary: quiz Back — subordinate to the answer options */
.btn-back {
    display: inline-block; background: transparent; color: var(--text-dim);
    border: 1px solid var(--border-4); border-radius: 16px;
    padding: calc(0.75rem - 1px) calc(1.6rem - 1px);
    font-family: inherit; font-size: 1.236rem; font-weight: 500; line-height: 1.3;
    text-align: center; text-decoration: none; cursor: pointer; width: auto;
    box-sizing: border-box; margin-bottom: 0; transition: border-color 0.15s, color 0.15s;
    -webkit-appearance: none; appearance: none;
}
.btn-back:hover, .btn-back:focus { border-color: var(--border-ink); color: var(--ink); background: transparent; outline: none; }
.btn-sm, a.btn-sm:link, a.btn-sm:visited, a.btn-sm:hover, a.btn-sm:active, .chip-btn, a.chip-btn:link, a.chip-btn:visited, a.chip-btn:hover, a.chip-btn:active, .chip-btn-blk, a.chip-btn-blk:link, a.chip-btn-blk:visited, a.chip-btn-blk:hover, a.chip-btn-blk:active { padding: 0.35rem 0.9rem; font-size: 0.95rem; }
.btn-lg, a.btn-lg:link, a.btn-lg:visited, a.btn-lg:hover, a.btn-lg:active, .cta-lg, a.cta-lg:link, a.cta-lg:visited, a.cta-lg:hover, a.cta-lg:active { padding: 0.9rem 1.9rem; font-size: 1.382rem; }
/* dashboard card actions: primary alias at small scale, floated */
.dash-action-btn, a.dash-action-btn:link, a.dash-action-btn:visited, a.dash-action-btn:hover, a.dash-action-btn:active {
    float: right;
    padding: 0.35rem 0.9rem;
    font-size: 0.95rem;
    white-space: nowrap;
    margin: 0 0 0.25rem 0.75rem;
}
.btn-block, a.btn-block:link, a.btn-block:visited, a.btn-block:hover, a.btn-block:active { display: block; width: 100%; }
.submit-cta { display: block; width: 100%; max-width: 20rem; margin: 2.618rem auto 0; font-weight: 700; }
.rad-6 { border-radius: 16px; }
p a[class*="btn-"], p a[class*="cta-"] { border-bottom: 0; }

a[href]:where(.card a, section > p > a) { margin-top: 0.618rem; }

/* In-sentence links inside section paragraphs: opt OUT of the contextual
   quiet-button treatment above — render as a normal text link. (Same
   specificity as the :where() contextual rules, so this must stay after
   them: later-in-sheet wins the tie.) */
a.link-inline, a.link-inline:link, a.link-inline:visited, a.link-inline:hover, a.link-inline:active { display: inline; background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; text-align: inherit; color: var(--gold-text); text-decoration: underline; }

/* tabs are flush segments inside containers — the global button radius made
   them scalloped; square them (containers provide the outer rounding) */
.hero-tab, .facet-tab { border-radius: 0; }

/* hero slider: non-first slides use h2 semantically but must present like
   the slide-0 h1 (scoped here only — site-wide h2 unchanged) */
.hero-slide h2 {
    font-size: 3.618rem;
    line-height: 1.15;
    margin: 0 0 2.2rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--ink);
}


/* home slider CTAs: terracotta primaries (owner 2026-07-21) — card links
   elsewhere stay quiet outline secondaries */
/* slider CTAs: quiet outline by default; ONLY slide 0's "Take the test"
   is the terracotta primary (owner 2026-07-22) */
.hero-slide p a[href], a.hero-slide-cta {
    display: inline-block;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border-4);
    border-radius: 16px;
    padding: calc(0.75rem - 1px) calc(1.6rem - 1px);
    font-size: 1.236rem;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.hero-slide p a[href]:hover, .hero-slide p a[href]:focus {
    border-color: var(--border-ink);
    color: var(--ink);
    background: transparent;
    outline: none;
}
.hero-slide[data-slide="0"] p a[href] {
    background: var(--money);
    color: var(--text-inverse);
    border: none;
    padding: 0.75rem 1.6rem;
    font-weight: 600;
    transition: background 0.15s;
}
.hero-slide[data-slide="0"] p a[href]:hover, .hero-slide[data-slide="0"] p a[href]:focus {
    background: var(--money-hover);
    color: var(--text-inverse);
}

/* adjacent slider CTAs breathe without text separators */
.hero-slide p a[href] + a[href] { margin-left: 0.6rem; }


/* accordion trays + unselected tabs: lighter (paper) against the surface-1
   container — same header/body contrast as the comparison tables */
.faq details[open], .facet-panel details[open] { background: var(--paper); }
.faq details[open] summary, .facet-panel details[open] summary { background: var(--surface-1); }
.faq summary:hover, .facet-panel summary:hover { background: var(--surface-2); }
.facet-tab { background: var(--paper); }




/* trait-colored variants of the standard buttons: same classes/shape,
   custom colors only (owner rule 2026-07-21) */
.link-strong, a.link-strong:link, a.link-strong:visited, a.link-strong:hover, a.link-strong:active { border-color: currentColor; transition: background 0.15s, border-color 0.15s, color 0.15s; }
a.link-strong:hover, a.link-strong:focus { border-color: currentColor; background: var(--surface-1); }
.link-strong.tx-o, a.link-strong.tx-o:link, a.link-strong.tx-o:visited, a.link-strong.tx-o:hover { color: var(--o-deep); }
.link-strong.tx-c, a.link-strong.tx-c:link, a.link-strong.tx-c:visited, a.link-strong.tx-c:hover { color: var(--c-deep); }
.link-strong.tx-e, a.link-strong.tx-e:link, a.link-strong.tx-e:visited, a.link-strong.tx-e:hover { color: var(--e-deep); }
.link-strong.tx-a, a.link-strong.tx-a:link, a.link-strong.tx-a:visited, a.link-strong.tx-a:hover { color: var(--a-deep); }
.link-strong.tx-n, a.link-strong.tx-n:link, a.link-strong.tx-n:visited, a.link-strong.tx-n:hover { color: var(--n-deep); }

/* chart-cta carries its trait fill inline (dynamic), which shadows the
   primary hover background — darken via filter instead */
.chart-cta, a.chart-cta:link, a.chart-cta:visited, a.chart-cta:hover, a.chart-cta:active { transition: background 0.15s, filter 0.15s; }
a.chart-cta:hover, a.chart-cta:focus { filter: brightness(0.88); }

/* promo/outro boxes: body copy a step below article text, title clearly above it */
.outro-box p:not(.box-title-lg) { font-size: 1.236rem; line-height: 1.55; }


/* dashboard tables: cap at ~8 rows, scroll vertically, header stays pinned */
.table-scroll {
    max-height: 24rem;
    overflow-y: auto;
    border-radius: 24px;
    margin-bottom: 0;   /* empty until JS reveals the table */
}
.table-scroll:has(table[style*="display: table"]) {
    margin-bottom: 2.618rem;
    border: 1px solid var(--border-1);   /* the frame lives on the wrapper so the corner curve and border are one element */
}
.table-scroll table {
    margin-bottom: 0;
    overflow: visible;   /* sticky thead dies inside overflow:hidden — the wrapper clips instead */
    border-radius: 0;
    border: none;
}
.table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

/* ===== Results tab shell (2026-07-21) — reuses the home hero slider system
   (hero-tabs / hero-tab classes) so the two stay visually in sync. No timer;
   goStep() drives it and keeps the results_step_view analytics intact. ===== */
.mt-0 { margin-top: 0; }
body.pg-results .results-shell { margin: 0.75rem 0 2rem; align-items: flex-start; }
body.pg-results .results-shell .hero-tabs { position: sticky; top: 4rem; flex: 0 0 23.6%; }   /* clears the pinned site nav */
body.pg-results .results-shell .hero-content { padding-right: 1.618rem; min-width: 0; }
body.pg-results .results-shell .hero-tab { flex: 0 0 auto; padding: 0.7rem 1rem; }
body.pg-results .results-shell .hero-tab strong { font-size: 0.95rem; }
body.pg-results .results-shell .hero-tab small { font-size: 0.7rem; }
body.pg-results .step-nav-one { justify-content: flex-end; }
/* Reveal/Upgrade pills must not inflate locked-row height — their padding
   (0.35rem top+bottom) is absorbed by negative margins so locked rows keep
   the exact same text pitch as unlocked rows. */
body.pg-results .locked-facet-pct.clickable, body.pg-profile .locked-facet-pct.clickable { margin-top: -0.35rem; margin-bottom: -0.35rem; }
body.pg-results .meter-locked { filter: blur(3px); }
body.pg-results .meter-locked .locked-facet-bar { border-radius: 4px; }
body.pg-results .zpct-locked { min-width: 2.5rem; text-align: right; }
body.pg-results .pre-results h3.mt-0 { margin-top: 0; }
/* survey heading row: aureum's h3{width:100%} starves the flex sibling */
body.pg-results .pre-results .row-between h3 { width: auto; }
body.pg-results #howto-saved-note { white-space: nowrap; flex-shrink: 0; margin-left: 1rem; }

/* Upgrade tab — card-scale rhythm (matches the note-card / unlock-cta system) */
body.pg-results .upgrade-list-title { margin: 1.25rem 0 0.6rem; }
body.pg-results .upgrade-list { margin: 0 0 0.9rem; }
body.pg-results .upgrade-list li { font-size: 0.9rem; line-height: 1.6; margin: 0 0 0.4rem; color: var(--text-mid); }
body.pg-results .upgrade-list li strong { color: var(--text-strong); }
body.pg-results .upgrade-list .ub { font-size: 0.65rem; margin-right: 0.5rem; vertical-align: 0.1rem; }
body.pg-results .upgrade-plus { font-size: 0.85rem; line-height: 1.6; color: var(--text-muted); margin: 0 0 1.25rem; padding-top: 0.75rem; border-top: 1px solid var(--border-1); }
@media (max-width: 1000px) {
    body.pg-results .results-shell .hero-tabs {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 1.25rem;
        border-left: none;
        border-bottom: 1px solid var(--border-1);
    }
    body.pg-results .results-shell .hero-tab {
        flex: 1 1 30%;
        min-width: 0;
        border-bottom: 1px solid var(--border-1);
        border-right: 1px solid var(--border-1);
        padding: 0.45rem 0.6rem;
    }
    body.pg-results .results-shell .hero-tab strong { font-size: 0.78rem; }
    body.pg-results .results-shell .hero-tab small { font-size: 0.6rem; }
    body.pg-results .results-shell .hero-content { padding-right: 0; }
}

/* Use-case report CTAs (a[data-report-cta]) are hidden for anonymous
   visitors; site.js unhides them for signed-in users. Must out-rank the
   button-system display rules (a.btn-neutral:link etc.), so: attribute +
   class + pseudo, last in sheet. */
a[data-report-cta].hidden, a[data-report-cta].hidden:link, a[data-report-cta].hidden:visited, a[data-report-cta].hidden:hover, a[data-report-cta].hidden:active { display: none; }

/* Payment-method buttons (PayPal/card/Google/Apple across all 3 payment
   modals): btn-lg padding at body font-size — the size the report/estimate
   modals render on dashboard pages, now identical everywhere. MUST stay at
   the END of the sheet: the button-system chains (a.btn-gold:link etc.) set
   padding/font-size at equal specificity, and later-in-sheet wins the tie. */
.pay-method-btn, a.pay-method-btn:link, a.pay-method-btn:visited, a.pay-method-btn:hover, a.pay-method-btn:active { padding: 0.9rem 1.9rem; font-size: 1rem; }
