:root {
    --bg: #070a0c;
    --bg2: #0a0f11;
    --panel: rgba(8, 14, 16, .82);
    --line: rgba(125, 169, 168, .18);
    --line2: rgba(125, 169, 168, .30);
    --text: #f0f6f4;
    --muted: #8d9a9a;
    --soft: #aab7b5;
    --teal: #4de0c0;
    --teal2: rgba(77,224,192,.12);
    --blue: #89a7ff;
    --mono: "JetBrains Mono", monospace;
    --sans: "Inter", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    color: var(--text);
    font-family: var(--sans);
    background:
        linear-gradient(rgba(76,224,192,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76,224,192,.018) 1px, transparent 1px),
        radial-gradient(circle at 50% -20%, rgba(77,224,192,.045), transparent 38%),
        var(--bg);
    background-size: 48px 48px, 48px 48px, auto, auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site {
    width: 100%;
    height: 100%;
}

.header {
    height: 72px;
    padding: 0 4.2vw;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(4, 7, 8, .76);
    backdrop-filter: blur(10px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.brand img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 1px solid var(--line2);
}

.brand-dot {
    color: var(--teal);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 7px;
}

.console-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .12em;
}

.console-state i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 12px rgba(77,224,192,.65);
}

.lang {
    min-width: 34px;
    height: 30px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .08em;
}

.lang.active,
.lang:hover {
    color: var(--text);
    border-color: var(--line2);
}

.top-cta {
    margin-left: 9px;
    padding: 10px 14px;
    border: 1px solid var(--teal);
    background: var(--teal);
    color: #06100f;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
}

.screen {
    height: calc(100vh - 72px);
    padding: 28px 4.2vw 22px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 18px;
}

.title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.eyebrow {
    color: var(--teal);
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.title-row h1 {
    margin: 8px 0 9px;
    font-size: clamp(34px, 4.3vw, 61px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 800;
}

.subtitle {
    max-width: 790px;
    color: var(--soft);
    font-size: 13px;
    line-height: 1.55;
}

.title-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(76px, 1fr));
    min-width: 305px;
    border: 1px solid var(--line);
}

.title-metrics div {
    padding: 13px 15px;
    border-left: 1px solid var(--line);
}

.title-metrics div:first-child {
    border-left: 0;
}

.title-metrics strong {
    display: block;
    font-family: var(--mono);
    font-size: 17px;
    letter-spacing: -.04em;
    color: var(--text);
}

.title-metrics span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .10em;
}

.console-grid {
    min-height: 0;
    display: grid;
    grid-template-columns: 22% 44% 34%;
    gap: 10px;
}

.panel {
    min-height: 0;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.008));
}

.panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 15px;
    border-bottom: 1px solid var(--line);
}

.panel-head.compact {
    padding-bottom: 13px;
}

.panel-head h2 {
    margin: 6px 0 0;
    font-size: 15px;
    letter-spacing: -.02em;
}

.step-count {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 8px;
}

.scenario-panel {
    display: flex;
    flex-direction: column;
}

.scenario-list {
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-rows: repeat(6, 1fr);
}

.scenario {
    position: relative;
    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-content: center;
    text-align: left;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.scenario:last-child {
    border-bottom: 0;
}

.scenario:hover {
    background: rgba(77,224,192,.035);
}

.scenario.active {
    background: linear-gradient(90deg, var(--teal2), transparent);
}

.scenario.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--teal);
}

.scenario > span {
    grid-row: 1 / span 2;
    color: var(--teal);
    font-family: var(--mono);
    font-size: 8px;
}

.scenario b {
    font-size: 11px;
    font-weight: 700;
}

.scenario small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.35;
}

.core {
    display: flex;
    flex-direction: column;
}

.run-btn {
    padding: 9px 13px;
    border: 1px solid var(--teal);
    background: transparent;
    color: var(--teal);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.run-btn:hover {
    background: var(--teal2);
}



.regime-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.regime-line span {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .11em;
}

.regime-line strong {
    color: var(--teal);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .09em;
}



.decision-box::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 260px;
    height: 260px;
    margin: -130px;
    border-radius: 50%;
    border: 1px solid rgba(77,224,192,.08);
    animation: pulse 3.8s ease-in-out infinite;
}

.decision-label {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .13em;
}

.decision {
    position: relative;
    z-index: 1;
    margin: 9px 0 9px;
    font-size: clamp(31px, 4vw, 54px);
    line-height: .95;
    font-weight: 800;
    letter-spacing: -.045em;
}

.decision-copy {
    position: relative;
    z-index: 1;
    align-self: center;
    max-width: 560px;
    color: var(--soft);
    font-size: 11px;
    line-height: 1.55;
}

.path {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
    gap: 7px;
}

.path-node {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
}

.path-node span {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line2);
}

.path-node.current {
    color: var(--teal);
}

.path-node.current span,
.path-node.done span {
    border-color: rgba(77,224,192,.4);
}

.path-line {
    height: 1px;
    background: var(--line);
}

.run-state {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .10em;
}

.run-state-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--teal);
}

.data-column {
    min-height: 0;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.data-panel,
.result-panel {
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.rows {
    padding: 2px 18px 12px;
    min-height: 0;
    flex: 1;
}

.rows > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 31px;
    border-bottom: 1px solid var(--line);
}

.rows > div:last-child {
    border-bottom: 0;
}

.rows span {
    color: var(--muted);
    font-size: 10px;
}

.rows strong {
    color: var(--text);
    font-family: var(--mono);
    font-size: 8px;
}

.safe-badge {
    padding: 6px 7px;
    border: 1px solid rgba(77,224,192,.35);
    color: var(--teal);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .06em;
}

.result-panel .panel-head {
    align-items: center;
}

.result-grid {
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    padding: 14px 14px 8px;
}

.result-card {
    min-height: 0;
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.012);
}

.result-card span,
.reason span {
    display: block;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .10em;
}

.result-card strong {
    display: block;
    margin-top: 10px;
    color: var(--text);
    font-family: var(--mono);
    font-size: 10px;
}

.result-card:nth-child(2) strong {
    color: var(--blue);
}

.reason {
    margin: 0 14px 14px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.reason strong {
    color: var(--teal);
    font-family: var(--mono);
    font-size: 8px;
}

.footer {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .05em;
}

.footer > div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-key,
.footer a {
    color: var(--teal);
}

.footer-sep {
    opacity: .4;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(.9);
        opacity: .35;
    }
    50% {
        transform: scale(1.08);
        opacity: .9;
    }
}

.flash {
    animation: flash .38s ease;
}

@keyframes flash {
    0% {
        opacity: .55;
        transform: translateY(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .title-row {
        align-items: start;
    }

    .title-metrics {
        display: none;
    }

    .console-grid {
        grid-template-columns: 28% 44% 28%;
    }

    .scenario b {
        font-size: 10px;
    }
}

@media (max-width: 820px) {
    html,
    body {
        overflow: auto;
    }

    .header {
        padding: 0 18px;
    }

    .screen {
        height: auto;
        min-height: calc(100vh - 72px);
        padding: 22px 18px;
    }

    .title-row {
        flex-direction: column;
    }

    .console-grid {
        grid-template-columns: 1fr;
    }

    .scenario-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .scenario {
        border-right: 1px solid var(--line);
    }

    .data-column {
        grid-template-rows: auto auto;
    }

    .footer {
        height: auto;
        min-height: 30px;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 5px;
    }
}

@media (max-width: 560px) {
    .brand span {
        display: none;
    }

    .console-state {
        display: none;
    }

    .top-cta {
        display: none;
    }

    .scenario-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   CONSCIOUS PULSE - HEADER RESTORED FROM KNOWN-GOOD STATE
   ========================================================== */

/* ==========================================================
   CONSCIOUS PULSE DEMO — ORIGINAL HEADER VISUAL
   Scoped copy of the desktop header proportions.
   ========================================================== */

.cp-demo-header {
    height: 76px;
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: rgba(5, 7, 8, .667);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid transparent;
    transition: .2s;
}

.cp-demo-header.cp-on {
    border-color: var(--line2);
    background: rgba(5, 7, 8, .933);
}

.cp-demo-wrap {
    width: min(1160px, calc(100% - 48px));
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cp-demo-brand img {
    display: block;
    width: 31px;
    height: 31px;
    object-fit: contain;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    mix-blend-mode: screen;
}

.cp-demo-brand b {
    color: var(--teal);
}

.cp-demo-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-demo-language option {
    background: #071011;
    color: #f0f6f4;
}

.cp-demo-back {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid var(--teal);
    background: var(--teal);
    color: #06100f;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.cp-demo-back:hover {
    filter: brightness(1.03);
}

/* ==========================================================
   LANGUAGE CONTROL — SAME STRUCTURE AS MAIN SITE
   ========================================================== */







.cp-demo-language option {
    background: #071011;
    color: #f0f6f4;
}

/* ==========================================================
   CONSCIOUS PULSE — LANGUAGE CONTROL FINAL
   Values measured from the main-site header.
   ========================================================== */

.cp-demo-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-family: "Inter", sans-serif !important;
    font-size: .92rem !important;
    font-weight: 800 !important;
    line-height: normal !important;
    letter-spacing: .12em !important;
}

.cp-demo-language {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

    width: 80px !important;
    height: 40px !important;
    min-width: 80px !important;
    min-height: 40px !important;

    box-sizing: border-box !important;

    padding: 7px 9px !important;
    margin: 0 !important;

    border: 1px solid #273332 !important;
    background: transparent !important;
}

.cp-demo-language svg {
    display: block !important;

    width: 15px !important;
    height: 24px !important;

    flex: 0 0 15px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}

.cp-demo-language select {
    display: block !important;

    width: 35px !important;
    min-width: 35px !important;

    height: 18px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;
    color: #eff8f6 !important;

    outline: 0 !important;

    font: 600 11.68px "JetBrains Mono", monospace !important;
    line-height: normal !important;
    letter-spacing: normal !important;

    appearance: auto !important;
}

html {
    scrollbar-gutter: stable;
}

/* ==========================================================
   CP BODY FINAL GEOMETRY START
   ========================================================== */

/*
   The header is fixed at 76px.
   The evaluation console therefore starts below it and uses
   the remaining viewport height.
*/
body {
    overflow: hidden;
}

.screen {
    box-sizing: border-box !important;

    margin-top: 76px !important;

    width: 100% !important;
    height: calc(100vh - 76px) !important;
    min-height: 0 !important;

    padding:
        16px
        4.1vw
        8px !important;

    gap: 8px !important;

    grid-template-rows:
        190px
        minmax(0, 1fr)
        20px !important;
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.hero {
    min-height: 0 !important;
    height: 100% !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;

    gap: 18px !important;
}

.title-row {
    min-width: 0 !important;
    width: 100% !important;
    gap: 16px !important;
}

.title-row h1 {
    margin:
        4px 0 8px !important;

    font-size:
        clamp(62px, 5.8vw, 76px) !important;

    line-height:
        .90 !important;

    letter-spacing:
        -.055em !important;
}

.subtitle {
    max-width: 900px !important;

    margin:
        8px 0 !important;

    font-size:
        16px !important;

    line-height:
        1.35 !important;
}

/* ----------------------------------------------------------
   STATS
   ---------------------------------------------------------- */

.stats {
    min-width: 300px !important;
    min-height: 64px !important;
    align-self: flex-end !important;
}

/* ----------------------------------------------------------
   MAIN CONSOLE
   ---------------------------------------------------------- */

.console-grid {
    min-height: 0 !important;
    height: 100% !important;

    grid-template-columns:
        22%
        44%
        34% !important;

    gap: 10px !important;

    align-items: stretch !important;
}

/* ----------------------------------------------------------
   LEFT COLUMN
   ---------------------------------------------------------- */

.scenario-panel {
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
}

.scenario-panel .panel-head {
    padding:
        13px 16px 10px !important;
}

.scenario-panel .panel-head h2 {
    font-size: 16px !important;
    line-height: 1.05 !important;
}

.scenarios {
    height: auto !important;
    min-height: 0 !important;

    grid-template-rows:
        repeat(6, minmax(0, 1fr)) !important;
}

.scenario {
    min-height: 0 !important;

    display: flex !important;
    align-items: center !important;

    padding:
        7px 13px !important;
}

.scenario b {
    font-size: 13px !important;
    line-height: 1.15 !important;
}

.scenario small {
    font-size: 9px !important;
    line-height: 1.25 !important;
}

/* ----------------------------------------------------------
   CENTER COLUMN
   ---------------------------------------------------------- */

.core {
    min-height: 0 !important;
    height: 100% !important;

    overflow: hidden !important;
}

.core .panel-head {
    padding:
        13px 17px 10px !important;
}

.core .panel-head h2 {
    font-size: 16px !important;
    line-height: 1.05 !important;
}



.decision {
    max-width: 100% !important;

    font-size:
        clamp(49px, 4.6vw, 66px) !important;

    line-height:
        .86 !important;

    letter-spacing:
        -.045em !important;

    overflow-wrap: normal !important;
    word-break: normal !important;
}

.decision-copy {
    max-width: 100% !important;

    margin-top: 7px !important;

    font-size: 12px !important;
    line-height: 1.30 !important;
}

/* ----------------------------------------------------------
   RIGHT COLUMN
   ---------------------------------------------------------- */

.data-column {
    min-height: 0 !important;
    height: 100% !important;

    display: grid !important;

    grid-template-rows:
        minmax(0, 1fr)
        minmax(0, 1fr) !important;

    gap: 8px !important;

    align-content: stretch !important;
}

.data-column > .panel {
    min-height: 0 !important;
    height: 100% !important;

    overflow: hidden !important;
}

/* Inputs */
.data-panel .panel-head {
    padding:
        11px 15px 8px !important;
}

.data-panel .panel-head h2 {
    font-size: 16px !important;
    line-height: 1.05 !important;
}

.data-panel .rows {
    padding:
        0 15px 3px !important;
}

.data-panel .rows > div {
    height: 22px !important;
    min-height: 22px !important;
    gap: 10px !important;
}

.data-panel .rows span {
    font-size: 10px !important;
}

.data-panel .rows strong {
    font-size: 9px !important;
}

/* Output */
.result-panel .panel-head {
    padding:
        10px 15px 7px !important;
}

.result-panel .panel-head h2 {
    font-size: 16px !important;
    line-height: 1.05 !important;
}

.result-grid {
    padding:
        6px 8px 3px !important;

    gap: 5px !important;
}

.result-card {
    height: 30px !important;
    min-height: 30px !important;

    padding:
        7px 9px !important;

    overflow: hidden !important;
}

.result-card span {
    font-size: 7px !important;
    line-height: 1 !important;
}

.result-card strong {
    font-size: 9px !important;
    line-height: 1 !important;
}

.reason {
    height: 24px !important;
    min-height: 24px !important;

    margin:
        0 8px 7px !important;

    padding:
        6px 8px !important;

    overflow: hidden !important;
}

.reason span {
    font-size: 7px !important;
}

.reason strong {
    font-size: 8px !important;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */

.console-footer {
    height: 20px !important;
    min-height: 20px !important;

    font-size: 7px !important;
}

/* ========================================================== */
 /* CP BODY FINAL GEOMETRY END */

/* ==========================================================
   CP FINAL BODY LAYOUT START
   ========================================================== */

/*
   Fixed header = 76px.
   The body layout begins below it and uses the remaining
   viewport without clipping the hero.
*/
body {
    overflow: hidden;
}

.screen {
    margin-top: 76px !important;

    width: 100% !important;
    height: calc(100vh - 76px) !important;

    min-height: 0 !important;
    box-sizing: border-box !important;

    padding:
        12px
        4.1vw
        8px !important;

    gap: 8px !important;

    grid-template-rows:
        212px
        minmax(0, 1fr)
        20px !important;
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.hero {
    height: 100% !important;
    min-height: 0 !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;

    gap: 18px !important;
}

.title-row {
    min-width: 0 !important;
    width: 100% !important;

    gap: 14px !important;
}

.title-row h1 {
    margin:
        2px 0 8px !important;

    font-size:
        clamp(66px, 6vw, 82px) !important;

    line-height:
        .88 !important;

    letter-spacing:
        -.058em !important;
}

.subtitle {
    max-width:
        920px !important;

    margin:
        7px 0 !important;

    font-size:
        16px !important;

    line-height:
        1.32 !important;
}

/* ----------------------------------------------------------
   STATS
   ---------------------------------------------------------- */

.stats {
    min-width:
        305px !important;

    min-height:
        64px !important;

    align-self:
        flex-end !important;
}

/* ----------------------------------------------------------
   CONSOLE
   ---------------------------------------------------------- */

.console-grid {
    width: 100% !important;
    height: 100% !important;

    min-height: 0 !important;

    grid-template-columns:
        22%
        44%
        34% !important;

    gap:
        10px !important;

    align-items:
        stretch !important;
}

/* ----------------------------------------------------------
   LEFT
   ---------------------------------------------------------- */

.scenario-panel {
    height: 100% !important;
    min-height: 0 !important;

    overflow: hidden !important;
}

.scenario-panel .panel-head {
    padding:
        13px 16px 10px !important;
}

.scenario-panel .panel-head h2 {
    font-size:
        17px !important;

    line-height:
        1.05 !important;
}

.scenarios {
    height:
        calc(100% - 55px) !important;

    min-height:
        0 !important;

    grid-template-rows:
        repeat(6, minmax(0, 1fr)) !important;
}

.scenario {
    min-height: 0 !important;

    display: flex !important;
    align-items: center !important;

    padding:
        8px 13px !important;
}

.scenario b {
    font-size:
        13px !important;

    line-height:
        1.12 !important;
}

.scenario small {
    font-size:
        9.5px !important;

    line-height:
        1.25 !important;
}

/* ----------------------------------------------------------
   CENTER
   ---------------------------------------------------------- */

.core {
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;

    overflow: hidden !important;
}

.core .panel-head {
    padding:
        13px 17px 10px !important;
}

.core .panel-head h2 {
    font-size:
        17px !important;

    line-height:
        1.05 !important;
}



.decision {
    width:
        100% !important;

    max-width:
        100% !important;

    font-size:
        clamp(52px, 4.7vw, 70px) !important;

    line-height:
        .84 !important;

    letter-spacing:
        -.047em !important;

    overflow-wrap:
        break-word !important;
}

.decision-copy {
    max-width:
        94% !important;

    margin-top:
        8px !important;

    font-size:
        12.5px !important;

    line-height:
        1.28 !important;
}

/* ----------------------------------------------------------
   RIGHT
   ---------------------------------------------------------- */

.data-column {
    height: 100% !important;
    min-height: 0 !important;

    display: grid !important;

    /*
       Inputs contains six operational rows, so it receives
       slightly more vertical room.
    */
    grid-template-rows:
        minmax(0, 1.16fr)
        minmax(0, .84fr) !important;

    gap:
        8px !important;

    align-content:
        stretch !important;
}

.data-column > .panel {
    height: 100% !important;
    min-height: 0 !important;

    overflow: hidden !important;
}

/* Inputs */
.data-panel .panel-head {
    padding:
        11px 15px 8px !important;
}

.data-panel .panel-head h2 {
    font-size:
        17px !important;

    line-height:
        1.05 !important;
}

.data-panel .rows {
    padding:
        0 15px 3px !important;
}

.data-panel .rows > div {
    height:
        23px !important;

    min-height:
        23px !important;

    gap:
        10px !important;
}

.data-panel .rows span {
    font-size:
        10.5px !important;
}

.data-panel .rows strong {
    font-size:
        9.5px !important;
}

/* Output */
.result-panel .panel-head {
    padding:
        10px 15px 7px !important;
}

.result-panel .panel-head h2 {
    font-size:
        17px !important;

    line-height:
        1.05 !important;
}

.result-grid {
    padding:
        7px 8px 3px !important;

    gap:
        5px !important;
}

.result-card {
    height:
        32px !important;

    min-height:
        32px !important;

    padding:
        7px 9px !important;

    overflow:
        hidden !important;
}

.result-card span {
    font-size:
        7.5px !important;

    line-height:
        1 !important;
}

.result-card strong {
    font-size:
        9.5px !important;

    line-height:
        1 !important;
}

.reason {
    height:
        25px !important;

    min-height:
        25px !important;

    margin:
        0 8px 7px !important;

    padding:
        6px 8px !important;

    overflow:
        hidden !important;
}

.reason span {
    font-size:
        7.5px !important;
}

.reason strong {
    font-size:
        8.5px !important;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */

.console-footer {
    height:
        20px !important;

    min-height:
        20px !important;

    font-size:
        7px !important;
}

/* CP FINAL BODY LAYOUT END */

/* ==========================================================
   CP BODY FIT V5 START
   ========================================================== */

/*
   The header is already correct.
   The body now sizes itself from the real console content
   instead of forcing the console into an undersized 1fr row.
*/

body {
    overflow: hidden;
}

/* ----------------------------------------------------------
   SCREEN
   ---------------------------------------------------------- */

.screen {
    margin-top: 76px !important;

    width: 100% !important;
    height: calc(100vh - 76px) !important;

    min-height: 0 !important;
    box-sizing: border-box !important;

    padding:
        10px
        4.1vw
        8px !important;

    gap: 8px !important;

    /*
       Hero gets enough room for the large two-line title.
       Console is content-driven.
    */
    grid-template-rows:
        176px
        auto
        20px !important;

    align-content: start !important;
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.hero {
    height: 176px !important;
    min-height: 0 !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;

    gap: 18px !important;
}

.title-row {
    width: 100% !important;
    min-width: 0 !important;
}

.title-row h1 {
    margin:
        2px 0 8px !important;

    font-size:
        clamp(66px, 6vw, 82px) !important;

    line-height:
        .88 !important;

    letter-spacing:
        -.058em !important;
}

.subtitle {
    max-width:
        920px !important;

    margin:
        7px 0 !important;

    font-size:
        16px !important;

    line-height:
        1.30 !important;
}

/* ----------------------------------------------------------
   STATS
   ---------------------------------------------------------- */

.stats {
    min-width:
        305px !important;

    min-height:
        64px !important;

    align-self:
        flex-end !important;
}

/* ----------------------------------------------------------
   CONSOLE GRID
   ---------------------------------------------------------- */

.console-grid {
    width: 100% !important;

    /*
       IMPORTANT:
       no fixed height here.
       The grid takes the actual height required by its
       content, which prevents INPUTS from overflowing into
       OUTPUT.
    */
    height: auto !important;
    min-height: 0 !important;

    grid-template-columns:
        22%
        44%
        34% !important;

    gap:
        10px !important;

    align-items:
        stretch !important;
}

/* ----------------------------------------------------------
   LEFT
   ---------------------------------------------------------- */

.scenario-panel {
    min-height: 0 !important;
    height: 100% !important;

    overflow: hidden !important;
}

.scenario-panel .panel-head {
    padding:
        13px 16px 10px !important;
}

.scenario-panel .panel-head h2 {
    font-size:
        17px !important;

    line-height:
        1.05 !important;
}

.scenarios {
    height:
        auto !important;

    min-height:
        0 !important;

    grid-template-rows:
        repeat(6, minmax(0, 1fr)) !important;
}

.scenario {
    min-height: 0 !important;

    display: flex !important;
    align-items: center !important;

    padding:
        9px 13px !important;
}

.scenario b {
    font-size:
        13px !important;

    line-height:
        1.12 !important;
}

.scenario small {
    font-size:
        9.5px !important;

    line-height:
        1.25 !important;
}

/* ----------------------------------------------------------
   CENTER
   ---------------------------------------------------------- */

.core {
    min-width: 0 !important;
    min-height: 0 !important;

    height:
        100% !important;

    overflow:
        hidden !important;
}

.core .panel-head {
    padding:
        13px 17px 10px !important;
}

.core .panel-head h2 {
    font-size:
        17px !important;
}



.decision {
    width:
        100% !important;

    max-width:
        100% !important;

    font-size:
        clamp(54px, 4.8vw, 72px) !important;

    line-height:
        .86 !important;

    letter-spacing:
        -.047em !important;

    overflow-wrap:
        anywhere !important;
}

.decision-copy {
    max-width:
        94% !important;

    margin-top:
        8px !important;

    font-size:
        12.5px !important;

    line-height:
        1.30 !important;
}

/* ----------------------------------------------------------
   RIGHT
   ---------------------------------------------------------- */

.data-column {
    min-height:
        0 !important;

    height:
        auto !important;

    display:
        grid !important;

    /*
       CONTENT-DRIVEN.
       INPUTS gets exactly the height its six rows require.
       OUTPUT follows immediately after it.
    */
    grid-template-rows:
        max-content
        max-content !important;

    gap:
        8px !important;

    align-content:
        start !important;
}

.data-column > .panel {
    height:
        auto !important;

    min-height:
        0 !important;

    overflow:
        hidden !important;
}

/* ----------------------------------------------------------
   INPUTS
   ---------------------------------------------------------- */

.data-panel .panel-head {
    padding:
        12px 15px 8px !important;
}

.data-panel .panel-head h2 {
    font-size:
        17px !important;

    line-height:
        1.05 !important;
}

.data-panel .rows {
    padding:
        0 15px 5px !important;
}

.data-panel .rows > div {
    height:
        26px !important;

    min-height:
        26px !important;

    gap:
        10px !important;
}

.data-panel .rows span {
    font-size:
        10.5px !important;
}

.data-panel .rows strong {
    font-size:
        9.5px !important;
}

/* ----------------------------------------------------------
   OUTPUT
   ---------------------------------------------------------- */

.result-panel .panel-head {
    padding:
        11px 15px 8px !important;
}

.result-panel .panel-head h2 {
    font-size:
        17px !important;

    line-height:
        1.05 !important;
}

.result-grid {
    padding:
        7px 8px 4px !important;

    gap:
        5px !important;
}

.result-card {
    height:
        34px !important;

    min-height:
        34px !important;

    padding:
        8px 9px !important;

    overflow:
        hidden !important;
}

.result-card span {
    font-size:
        7.5px !important;

    line-height:
        1 !important;
}

.result-card strong {
    font-size:
        9.5px !important;

    line-height:
        1 !important;
}

.reason {
    height:
        26px !important;

    min-height:
        26px !important;

    margin:
        0 8px 8px !important;

    padding:
        6px 8px !important;

    overflow:
        hidden !important;
}

.reason span {
    font-size:
        7.5px !important;
}

.reason strong {
    font-size:
        8.5px !important;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */

.console-footer {
    height:
        20px !important;

    min-height:
        20px !important;

    font-size:
        7px !important;
}

/* ========================================================== */
 /* CP BODY FIT V5 END */

/* ==========================================================
   CP FINAL SCALE OUTPUT START
   ========================================================== */

/*
   Final visual tuning.
   Structure remains unchanged.
   Header remains untouched.
*/

/* ----------------------------------------------------------
   GLOBAL BODY SCALE — MODERATE
   ---------------------------------------------------------- */

.title-row h1 {
    font-size:
        clamp(68px, 6.15vw, 84px) !important;

    line-height:
        .88 !important;
}

.subtitle {
    font-size:
        16.5px !important;

    line-height:
        1.30 !important;
}

/* ----------------------------------------------------------
   LEFT PANEL
   ---------------------------------------------------------- */

.scenario-panel .panel-head h2 {
    font-size:
        17.5px !important;
}

.scenario b {
    font-size:
        13.5px !important;
}

.scenario small {
    font-size:
        10px !important;
}

/* ----------------------------------------------------------
   CENTER PANEL
   ---------------------------------------------------------- */

.core .panel-head h2 {
    font-size:
        17.5px !important;
}

.decision {
    font-size:
        clamp(56px, 4.9vw, 74px) !important;

    line-height:
        .84 !important;
}

.decision-copy {
    font-size:
        13px !important;

    line-height:
        1.30 !important;
}

/* ----------------------------------------------------------
   RIGHT COLUMN — FIX REAL OUTPUT HEIGHT
   ---------------------------------------------------------- */

.data-column {
    grid-template-rows:
        minmax(0, 55%)
        minmax(0, 45%) !important;

    gap:
        8px !important;

    align-content:
        stretch !important;
}

/* ----------------------------------------------------------
   INPUTS
   ---------------------------------------------------------- */

.data-panel .panel-head h2 {
    font-size:
        17.5px !important;
}

.data-panel .rows > div {
    height:
        23px !important;

    min-height:
        23px !important;
}

.data-panel .rows span {
    font-size:
        10.5px !important;
}

.data-panel .rows strong {
    font-size:
        9.5px !important;
}

/* ----------------------------------------------------------
   OUTPUT
   ---------------------------------------------------------- */

.result-panel .panel-head {
    padding:
        11px 15px 7px !important;
}

.result-panel .panel-head h2 {
    font-size:
        17.5px !important;
}

/*
   IMPORTANT:
   Cards are content-driven rather than clipped to 30-34px.
*/
.result-grid {
    min-height:
        0 !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    grid-auto-rows:
        minmax(40px, auto) !important;

    gap:
        6px !important;

    padding:
        7px 9px 5px !important;
}

.result-card {
    width:
        100% !important;

    height:
        auto !important;

    min-height:
        40px !important;

    box-sizing:
        border-box !important;

    padding:
        8px 10px !important;

    display:
        flex !important;

    flex-direction:
        column !important;

    justify-content:
        center !important;

    overflow:
        visible !important;
}

.result-card span {
    font-size:
        7.5px !important;

    line-height:
        1.15 !important;
}

.result-card strong {
    font-size:
        10px !important;

    line-height:
        1.15 !important;

    white-space:
        normal !important;

    overflow-wrap:
        anywhere !important;
}

/* ----------------------------------------------------------
   REASON CODE
   ---------------------------------------------------------- */

.reason {
    width:
        auto !important;

    height:
        auto !important;

    min-height:
        30px !important;

    box-sizing:
        border-box !important;

    margin:
        0 9px 8px !important;

    padding:
        7px 9px !important;

    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        space-between !important;

    gap:
        8px !important;

    overflow:
        visible !important;
}

.reason span {
    font-size:
        7.5px !important;

    line-height:
        1.15 !important;
}

.reason strong {
    font-size:
        9px !important;

    line-height:
        1.15 !important;

    white-space:
        normal !important;

    overflow-wrap:
        anywhere !important;

    text-align:
        right !important;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */

.console-footer {
    font-size:
        7.5px !important;
}

/* ========================================================== */
 /* CP FINAL SCALE OUTPUT END */

/* ==========================================================
   CP FIXED DECISION VIEWPORT START
   ========================================================== */

/*
   Every scenario uses the same decision-stage footprint.
   The stage is sized for the longest decision text so changing
   scenarios does not move surrounding UI elements.
*/
.cp-fixed-decision-stage {
    min-height:
        clamp(285px, 42vh, 320px) !important;

    box-sizing:
        border-box !important;

    display:
        flex !important;

    flex-direction:
        column !important;

    align-items:
        center !important;

    justify-content:
        center !important;
}

/*
   Keep the decision itself centered inside the fixed stage.
*/
.cp-fixed-decision-stage .decision {
    flex: 0 0 auto !important;
    max-width: 100% !important;
}

/*
   Long localized descriptions may wrap, but never change the
   stage footprint.
*/
.cp-fixed-decision-stage .decision-copy {
    max-width:
        92% !important;
}

/* CP FIXED DECISION VIEWPORT END */

/* ==========================================================
   CP FIXED DECISION BOX V2 START
   ========================================================== */

/*
   The decision viewport is deliberately fixed to the size
   required by the longest public scenario decision.
   Scenario text changes inside this fixed viewport.
*/
.cp-fixed-decision-stage {

    width:
        100% !important;

    height:
        320px !important;

    min-height:
        320px !important;

    max-height:
        320px !important;

    flex:
        0 0 320px !important;

    box-sizing:
        border-box !important;

    display:
        flex !important;

    flex-direction:
        column !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    overflow:
        hidden !important;
}

/*
   Decision content stays centered and never determines the
   stage size.
*/
.cp-fixed-decision-stage .decision {

    flex:
        0 0 auto !important;

    width:
        100% !important;

    max-width:
        100% !important;

    margin:
        0 !important;

    text-align:
        center !important;
}

.cp-fixed-decision-stage .decision-copy {

    width:
        92% !important;

    max-width:
        92% !important;

    margin-left:
        auto !important;

    margin-right:
        auto !important;

    overflow-wrap:
        normal !important;
}

/* CP FIXED DECISION BOX V2 END */

/* ==========================================================
   CP DECISION FRAME LOCK START
   ========================================================== */

/*
   The bordered decision viewport has one invariant footprint.
   Scenario text changes inside it; the frame does not.
*/
.cp-decision-frame-locked {

    width:
        100% !important;

    height:
        320px !important;

    min-height:
        320px !important;

    max-height:
        320px !important;

    flex:
        0 0 320px !important;

    box-sizing:
        border-box !important;

    display:
        flex !important;

    flex-direction:
        column !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    overflow:
        hidden !important;
}

/*
   Keep the decision centered independently of its text length.
*/
.cp-decision-frame-locked .decision {

    width:
        100% !important;

    max-width:
        100% !important;

    flex:
        0 0 auto !important;

    margin:
        0 !important;

    text-align:
        center !important;
}

.cp-decision-frame-locked .decision-copy {

    width:
        92% !important;

    max-width:
        92% !important;

    margin-left:
        auto !important;

    margin-right:
        auto !important;

    overflow-wrap:
        normal !important;
}

/* CP DECISION FRAME LOCK END */

/* ==========================================================
   CP DECISION SQUARE LOCK START
   ========================================================== */

/*
   One invariant square decision viewport for every scenario.
   The largest public decision is the sizing reference.
*/
.cp-decision-square {

    width:
        320px !important;

    min-width:
        320px !important;

    max-width:
        320px !important;

    height:
        320px !important;

    min-height:
        320px !important;

    max-height:
        320px !important;

    aspect-ratio:
        1 / 1 !important;

    flex:
        0 0 320px !important;

    box-sizing:
        border-box !important;

    margin-left:
        auto !important;

    margin-right:
        auto !important;

    display:
        flex !important;

    flex-direction:
        column !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    overflow:
        hidden !important;
}

/*
   Decision text occupies the square without determining its size.
*/
.cp-decision-square .decision {

    width:
        100% !important;

    max-width:
        100% !important;

    flex:
        0 0 auto !important;

    margin:
        0 !important;

    text-align:
        center !important;

    box-sizing:
        border-box !important;
}

.cp-decision-square .decision-copy {

    width:
        88% !important;

    max-width:
        88% !important;

    margin-left:
        auto !important;

    margin-right:
        auto !important;

    box-sizing:
        border-box !important;

    overflow-wrap:
        normal !important;
}

/* CP DECISION SQUARE LOCK END */

/* ==========================================================
   CP FIXED DECISION SQUARE FINAL START
   ========================================================== */

/*
   The decision viewport is an invariant square.
   Scenario content is rendered inside this footprint.
*/
.cp-decision-square-final {

    width:
        320px !important;

    min-width:
        320px !important;

    max-width:
        320px !important;

    height:
        320px !important;

    min-height:
        320px !important;

    max-height:
        320px !important;

    aspect-ratio:
        1 / 1 !important;

    flex:
        0 0 320px !important;

    box-sizing:
        border-box !important;

    align-self:
        center !important;

    margin-left:
        auto !important;

    margin-right:
        auto !important;

    overflow:
        hidden !important;

    display:
        flex !important;

    flex-direction:
        column !important;

    align-items:
        center !important;

    justify-content:
        center !important;
}

.cp-decision-square-final .decision {

    width:
        100% !important;

    max-width:
        100% !important;

    flex:
        0 0 auto !important;

    margin:
        0 !important;

    text-align:
        center !important;
}

.cp-decision-square-final .decision-copy {

    width:
        88% !important;

    max-width:
        88% !important;

    margin-left:
        auto !important;

    margin-right:
        auto !important;

    box-sizing:
        border-box !important;

    overflow-wrap:
        normal !important;
}

/* ========================================================== */
 /* CP FIXED DECISION SQUARE FINAL END */

/* ==========================================================
   CP REAL DECISION BOX FIX START
   ========================================================== */

/*
   REAL ELEMENT:
   #decisionBox

   This is the bordered decision viewport identified by the
   geometry forensic.

   It is intentionally invariant across all scenarios.
*/

/* The actual bordered box is a square. */
#decisionBox,
.decision-box {

    width:
        320px !important;

    min-width:
        320px !important;

    max-width:
        320px !important;

    height:
        320px !important;

    min-height:
        320px !important;

    max-height:
        320px !important;

    aspect-ratio:
        1 / 1 !important;

    flex:
        0 0 320px !important;

    flex-shrink:
        0 !important;

    box-sizing:
        border-box !important;

    align-self:
        center !important;

    justify-self:
        center !important;

    display:
        flex !important;

    flex-direction:
        column !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    overflow:
        hidden !important;

    margin-left:
        auto !important;

    margin-right:
        auto !important;
}

/*
   The parent grid must reserve exactly the same 320px row.
   Otherwise the parent can still compress the box.
*/
.core-main {

    grid-template-rows:
        12px
        320px
        20px
        9px !important;
}

/*
   The decision text itself does NOT determine the frame.
*/
#decisionBox .decision {

    width:
        100% !important;

    max-width:
        100% !important;

    flex:
        0 0 auto !important;

    margin:
        0 !important;

    text-align:
        center !important;

    box-sizing:
        border-box !important;
}

/*
   Descriptions stay inside the same fixed square.
*/
#decisionBox .decision-copy {

    width:
        88% !important;

    max-width:
        88% !important;

    margin-left:
        auto !important;

    margin-right:
        auto !important;

    box-sizing:
        border-box !important;

    text-align:
        center !important;

    overflow-wrap:
        anywhere !important;
}

/* CP REAL DECISION BOX FIX END */

/* ============================================================
   CP FINAL GEOMETRY REPAIR
   Fixed decision square + restored console proportions
   ============================================================ */

/* 1. RESTORE THE THREE-COLUMN PROPORTION */
.console-grid {
    grid-template-columns: 22fr 44fr 34fr !important;
}

/* 2. FIX THE CENTER INTERNAL GEOMETRY */
.core-main {
    gap: 8px !important;
    grid-template-rows: 12px 288px 20px 9px !important;
}

/* 3. REAL FIXED SQUARE — DOES NOT CHANGE WITH SCENARIO */
#decisionBox,
.decision-box#decisionBox {
    width: 288px !important;
    min-width: 288px !important;
    max-width: 288px !important;

    height: 288px !important;
    min-height: 288px !important;
    max-height: 288px !important;

    flex: 0 0 288px !important;
    flex-shrink: 0 !important;

    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;

    overflow: hidden !important;
}

/* 4. KEEP LONG DECISIONS AS WORDS */
#decision {
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
    hyphens: none !important;
}

/* 5. DON'T LET THE BIG DECISION TEXT EXPLODE THE BOX */
#decision {
    font-size: clamp(42px, 4.6vw, 56px) !important;
    line-height: 0.9 !important;
}

/* 6. RESTORE THE MAIN TITLE SO BOTH LINES ARE FULLY VISIBLE */
.screen h1 {
    font-size: clamp(52px, 5.2vw, 64px) !important;
    line-height: 0.92 !important;
    max-width: 900px !important;
    overflow: visible !important;
}

/* ============================================================ */

/* ============================================================
   DECISION CONTENT — FIT INSIDE FIXED 288px SQUARE
   ============================================================ */

#decisionBox {
    padding: 16px 18px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Decision headline */
#decision {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;

    font-size: 40px !important;
    line-height: 0.92 !important;
    letter-spacing: -0.035em !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;

    text-align: center !important;
    overflow: visible !important;
}

/* Supporting explanation */
#decisionCopy {
    width: 100% !important;
    max-width: 220px !important;
    box-sizing: border-box !important;

    font-size: 13px !important;
    line-height: 1.25 !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;

    text-align: center !important;
    overflow: visible !important;
}

/* Label */
#decisionBox .decision-label {
    font-size: 9px !important;
    line-height: 1.1 !important;
    margin-bottom: 8px !important;
}

/* Prevent flashes/transforms from pushing glyphs outside bounds */
#decision.flash,
#decisionCopy.flash {
    transform: none !important;
}

/* ============================================================ */

/* ============================================================
   CP TYPOGRAPHY SCALE
   Larger UI text without changing layout geometry
   ============================================================ */

/* HERO / MAIN TITLE */
.screen h1 {
    font-size: clamp(58px, 5.8vw, 72px) !important;
    line-height: 0.92 !important;
    text-align: center !important;
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.screen > .hero-copy,
.screen .hero-copy {
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    max-width: 920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* PANEL HEADINGS */
.panel-head h2,
.panel-head h3,
.core-head h2,
.core-head h3 {
    font-size: 17px !important;
    line-height: 1.1 !important;
}

/* PANEL SECTION LABELS */
.panel-kicker,
.panel-label,
.core-kicker,
.decision-label {
    font-size: 10px !important;
}

/* SCENARIO LIST */
.scenario-name,
.scenario-title {
    font-size: 15px !important;
    line-height: 1.05 !important;
}

.scenario-copy,
.scenario-description {
    font-size: 11px !important;
    line-height: 1.2 !important;
}

/* SCENARIO NUMBERS / SMALL META */
.scenario-index,
.scenario-count,
.meta,
.panel-meta {
    font-size: 10px !important;
}

/* CENTER DECISION */
#decision {
    font-size: 44px !important;
    line-height: 0.92 !important;
    letter-spacing: -0.035em !important;
}

#decisionCopy {
    font-size: 14px !important;
    line-height: 1.28 !important;
    max-width: 225px !important;
}

/* INPUTS */
.input-row,
.input-label,
.metric-label {
    font-size: 11px !important;
}

.input-value,
.metric-value {
    font-size: 12px !important;
}

/* OUTPUT CARDS */
.output-card,
.result-card {
    font-size: 12px !important;
}

.output-card .value,
.result-card .value,
.output-value,
.result-value {
    font-size: 13px !important;
}

.output-card .label,
.result-card .label {
    font-size: 9px !important;
}

/* STEPS / BOTTOM ROUTE */
.step,
.step-label,
.route-step {
    font-size: 9px !important;
}

/* FOOTER */
.screen footer,
.screen .footnote,
.screen .console-foot {
    font-size: 10px !important;
}

/* KEEP THE FIXED DECISION SQUARE EXACTLY AS IT IS */
#decisionBox {
    width: 288px !important;
    min-width: 288px !important;
    max-width: 288px !important;
    height: 288px !important;
    min-height: 288px !important;
    max-height: 288px !important;
    flex: 0 0 288px !important;
    aspect-ratio: 1 / 1 !important;
}

/* ============================================================ */

/* ============================================================
   HERO TITLE — TRUE VIEWPORT CENTER
   Only the H1 becomes viewport-centered.
   Description and metrics remain untouched.
   ============================================================ */

.screen h1 {
    width: 100vw !important;
    max-width: none !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;

    text-align: center !important;
}

/* ============================================================ */

/* ============================================================
   HERO — TRUE SCREEN-CENTERED TITLE
   The H1 is centered across the full content area.
   Subtitle stays left-aligned and constrained.
   Metrics keep their visual position.
   ============================================================ */

.title-row {
    position: relative !important;
}

/* The text block owns the full hero width */
.title-row > div:first-child {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

/* Keep benchmark metrics visually anchored on the right */
.title-row > .title-metrics {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 305px !important;
    min-width: 305px !important;
    flex: none !important;
}

/* ONLY the main title is centered across the whole hero */
.title-row h1 {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    text-align: center !important;
}

/* Description remains constrained and left-aligned */
.title-row .subtitle {
    max-width: 790px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

/* ============================================================ */

/* ============================================================
   H1 — CENTER ITSELF, DO NOT TOUCH DESCRIPTION
   ============================================================ */

.title-row {
    position: relative !important;
}

/* H1 becomes independently centered across the whole title row */
.title-row h1 {
    position: absolute !important;

    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    max-width: none !important;

    text-align: center !important;

    /*
      Preserve its original vertical position.
      The surrounding text block remains untouched.
    */
    top: 34px !important;

    margin: 0 !important;
    z-index: 2 !important;
}

/* RESTORE THE ORIGINAL TEXT BLOCK GEOMETRY */
.title-row > div:first-child {
    width: auto !important;
    max-width: none !important;
    flex: 0 1 auto !important;
}

/* Description remains EXACTLY constrained */
.title-row .subtitle {
    max-width: 790px !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

/* Metrics remain in normal position */
.title-row > .title-metrics {
    position: static !important;
    width: auto !important;
    min-width: 305px !important;
    flex: 0 0 305px !important;
}

/* ============================================================ */

/* ============================================================
   HERO FINAL COMPOSITION
   Eyebrow + H1 independently centered.
   Subtitle keeps its own original layout.
   ============================================================ */

.title-row {
    position: relative !important;
}

/* ------------------------------------------------------------
   PUBLIC EVALUATION CONSOLE
   ------------------------------------------------------------ */

.title-row .eyebrow {
    position: absolute !important;

    top: 0 !important;
    left: 50% !important;

    transform: translateX(-50%) !important;

    display: inline-block !important;
    width: max-content !important;

    box-sizing: border-box !important;

    padding: 5px 9px !important;

    color: var(--teal) !important;
    border: 1px solid var(--teal) !important;

    font-family: var(--mono) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;

    z-index: 5 !important;
}

/* ------------------------------------------------------------
   MAIN TITLE
   ------------------------------------------------------------ */

.title-row h1 {
    position: absolute !important;

    top: 29px !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    text-align: center !important;

    z-index: 4 !important;
}

/* ------------------------------------------------------------
   ORIGINAL TEXT BLOCK / DESCRIPTION
   Do not let the centered visual elements alter its width.
   ------------------------------------------------------------ */

.title-row > div:first-child {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

/* Description stays constrained */
.title-row .subtitle {
    width: auto !important;
    max-width: 790px !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    text-align: left !important;
}

/* Metrics keep their normal geometry */
.title-row > .title-metrics {
    position: static !important;
    min-width: 305px !important;
    flex: 0 0 305px !important;
}

/* ============================================================ */

/* ============================================================
   HERO SUBTITLE — SAME MUTED TONE AS MAIN WEBSITE
   ============================================================ */

.title-row .subtitle {
    color: var(--m) !important;
}

/* ============================================================ */

/* ============================================================
   HERO SUBTITLE — EXACT MAIN WEBSITE COLOR
   Main website --m = #a6b5b4
   ============================================================ */

.title-row .subtitle {
    color: #a6b5b4 !important;
}

/* ============================================================ */

/* ============================================================
   REAL HERO SUBTITLE — EXACT MAIN WEBSITE COLOR
   Actual DOM: <p data-i="subtitle">
   Main website color: #a6b5b4
   ============================================================ */

.title-row [data-i="subtitle"] {
    color: #a6b5b4 !important;
}

/* ============================================================ */

/* ============================================================
   DECISION PULSE CIRCLE — TRUE CENTER
   Only the breathing circle is corrected.
   ============================================================ */

#decisionBox::after {
    left: 50% !important;
    top: 50% !important;

    width: 260px !important;
    height: 260px !important;

    margin-left: -130px !important;
    margin-top: -130px !important;

    transform-origin: center center !important;
}

/* ============================================================ */

/* ============================================================
   DECISION PULSE — ISOLATED DECORATIVE LAYER
   It must NEVER move when the decision text changes.
   ============================================================ */

#decisionBox {
    transform: none !important;
}

#decisionBox::after {
    content: "" !important;

    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 260px !important;
    height: 260px !important;

    margin: 0 !important;

    border-radius: 50% !important;

    transform: translate(-50%, -50%) scale(.9) !important;
    transform-origin: 50% 50% !important;

    border: 1px solid rgba(77,224,192,.08) !important;

    pointer-events: none !important;

    animation: cpDecisionPulse 3.8s ease-in-out infinite !important;
}

@keyframes cpDecisionPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(.90);
        opacity: .35;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: .90;
    }
}

/* Flash ONLY affects actual decision content, never the decorative circle */
#decision,
#decisionCopy,
#decisionBox .decision-label {
    position: relative !important;
    z-index: 1 !important;
}

/* ============================================================ */

/* ============================================================
   DECISION PULSE — REAL DOM ELEMENT
   Independent from decision text and flash animations.
   ============================================================ */

#decisionBox::after {
    display: none !important;
    animation: none !important;
    content: none !important;
}

#decisionBox {
    position: relative !important;
    transform: none !important;
    overflow: hidden !important;
}

#decisionBox .decision-pulse {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 260px !important;
    height: 260px !important;

    margin: 0 !important;

    transform: translate(-50%, -50%) scale(.90) !important;
    transform-origin: center center !important;

    border: 1px solid rgba(77,224,192,.08) !important;
    border-radius: 50% !important;

    pointer-events: none !important;

    z-index: 0 !important;

    animation: cpRealDecisionPulse 3.8s ease-in-out infinite !important;
}

#decisionBox > .decision-label,
#decisionBox > .decision,
#decisionBox > .decision-copy {
    position: relative !important;
    z-index: 1 !important;
}

@keyframes cpRealDecisionPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(.90);
        opacity: .35;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: .90;
    }
}

/* ============================================================ */

/* ============================================================
   DECISION PULSE — RESTORE VISIBILITY + BREATHING
   Geometry remains untouched.
   ============================================================ */

#decisionBox .decision-pulse {
    width: 260px !important;
    height: 260px !important;

    left: 50% !important;
    top: 50% !important;

    margin: 0 !important;

    transform: translate(-50%, -50%) scale(.90) !important;
    transform-origin: center center !important;

    border: 1px solid rgba(77,224,192,.18) !important;

    opacity: .55 !important;

    animation: cpRealDecisionPulse 3.2s ease-in-out infinite !important;

    box-shadow:
        0 0 28px rgba(77,224,192,.08),
        inset 0 0 24px rgba(77,224,192,.035) !important;
}

@keyframes cpRealDecisionPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(.88);
        opacity: .40;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: .95;
    }
}

/* ============================================================ */

/* ============================================================
   DECISION PULSE — IDLE + EVALUATION ACTIVATION
   ============================================================ */

/* Idle: visible but still */
#decisionBox .decision-pulse {
    opacity: .42 !important;

    animation: none !important;

    transform: translate(-50%, -50%) scale(.90) !important;

    border-color: rgba(77,224,192,.16) !important;

    box-shadow:
        0 0 24px rgba(77,224,192,.06),
        inset 0 0 20px rgba(77,224,192,.025) !important;
}

/* Activation only when evaluation starts */
#decisionBox.evaluation-pulse .decision-pulse {
    animation: cpDecisionActivation 1.35s cubic-bezier(.22,.7,.28,1) 1 !important;
}

@keyframes cpDecisionActivation {
    0% {
        transform: translate(-50%, -50%) scale(.90);
        opacity: .40;
        border-color: rgba(77,224,192,.14);
        box-shadow:
            0 0 24px rgba(77,224,192,.05),
            inset 0 0 20px rgba(77,224,192,.02);
    }

    42% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: .95;
        border-color: rgba(77,224,192,.34);
        box-shadow:
            0 0 42px rgba(77,224,192,.13),
            inset 0 0 28px rgba(77,224,192,.045);
    }

    72% {
        transform: translate(-50%, -50%) scale(1.02);
        opacity: .72;
    }

    100% {
        transform: translate(-50%, -50%) scale(.90);
        opacity: .42;
        border-color: rgba(77,224,192,.16);
        box-shadow:
            0 0 24px rgba(77,224,192,.06),
            inset 0 0 20px rgba(77,224,192,.025);
    }
}

/* ============================================================ */

/* ============================================================
   FINAL DECISION ACTIVATION PULSE
   The circle is static at rest and visibly breathes on Evaluate.
   ============================================================ */

#decisionBox .decision-pulse {
    animation: none !important;

    left: 50% !important;
    top: 50% !important;

    width: 260px !important;
    height: 260px !important;

    margin: 0 !important;

    transform: translate(-50%, -50%) scale(.90) !important;
    transform-origin: 50% 50% !important;

    border: 1px solid rgba(77,224,192,.20) !important;

    opacity: .48 !important;

    box-shadow:
        0 0 26px rgba(77,224,192,.07),
        inset 0 0 22px rgba(77,224,192,.025) !important;
}

#decisionBox.evaluation-pulse .decision-pulse {
    animation: cpFinalDecisionActivation 1.8s ease-in-out 1 both !important;
}

@keyframes cpFinalDecisionActivation {
    0% {
        transform: translate(-50%, -50%) scale(.90);
        opacity: .45;
        border-color: rgba(77,224,192,.18);
        box-shadow:
            0 0 26px rgba(77,224,192,.06),
            inset 0 0 22px rgba(77,224,192,.02);
    }

    25% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: 1;
        border-color: rgba(77,224,192,.55);
        box-shadow:
            0 0 52px rgba(77,224,192,.18),
            inset 0 0 34px rgba(77,224,192,.06);
    }

    50% {
        transform: translate(-50%, -50%) scale(.94);
        opacity: .58;
        border-color: rgba(77,224,192,.24);
    }

    75% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: .88;
        border-color: rgba(77,224,192,.40);
        box-shadow:
            0 0 44px rgba(77,224,192,.13),
            inset 0 0 28px rgba(77,224,192,.04);
    }

    100% {
        transform: translate(-50%, -50%) scale(.90);
        opacity: .48;
        border-color: rgba(77,224,192,.20);
        box-shadow:
            0 0 26px rgba(77,224,192,.07),
            inset 0 0 22px rgba(77,224,192,.025);
    }
}

/* ============================================================ */

/* ============================================================
   FINAL PULSE FIX
   Center without transform.
   Transform is reserved for the pulse animation.
   ============================================================ */

#decisionBox .decision-pulse {
    left: calc(50% - 130px) !important;
    top: calc(50% - 130px) !important;

    width: 260px !important;
    height: 260px !important;

    margin: 0 !important;

    transform-origin: 50% 50% !important;

    animation: none !important;
}

/* Active evaluation pulse */
#decisionBox.evaluation-pulse .decision-pulse {
    animation: cpFinalDecisionActivation 1.8s ease-in-out 1 both !important;
}

@keyframes cpFinalDecisionActivation {
    0% {
        transform: scale(.90);
        opacity: .45;
        border-color: rgba(77,224,192,.18);
        box-shadow:
            0 0 26px rgba(77,224,192,.06),
            inset 0 0 22px rgba(77,224,192,.02);
    }

    25% {
        transform: scale(1.12);
        opacity: 1;
        border-color: rgba(77,224,192,.55);
        box-shadow:
            0 0 52px rgba(77,224,192,.18),
            inset 0 0 34px rgba(77,224,192,.06);
    }

    50% {
        transform: scale(.94);
        opacity: .58;
        border-color: rgba(77,224,192,.24);
    }

    75% {
        transform: scale(1.08);
        opacity: .88;
        border-color: rgba(77,224,192,.40);
        box-shadow:
            0 0 44px rgba(77,224,192,.13),
            inset 0 0 28px rgba(77,224,192,.04);
    }

    100% {
        transform: scale(.90);
        opacity: .48;
        border-color: rgba(77,224,192,.20);
        box-shadow:
            0 0 26px rgba(77,224,192,.07),
            inset 0 0 22px rgba(77,224,192,.025);
    }
}

/* ============================================================ */

/* ============================================================
   FINAL PULSE GEOMETRY
   Fixed center + independent scale animation.
   ============================================================ */

#decisionBox .decision-pulse {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 260px !important;
    height: 260px !important;

    margin: 0 !important;

    /*
     * Position is handled ONLY by translate.
     * Animation is handled ONLY by scale.
     */
    transform: none !important;

    translate: -50% -50% !important;
    scale: .90 !important;

    transform-origin: center center !important;

    border: 1px solid rgba(77,224,192,.20) !important;
    border-radius: 50% !important;

    opacity: .48 !important;

    pointer-events: none !important;
    z-index: 0 !important;

    animation: none !important;
}

/* Activate ONLY the scale/opacity of the circle. */
#decisionBox.evaluation-pulse .decision-pulse {
    animation: cpPureDecisionPulse 1.8s ease-in-out 1 both !important;
}

@keyframes cpPureDecisionPulse {
    0% {
        scale: .90;
        opacity: .48;
    }

    25% {
        scale: 1.12;
        opacity: 1;
    }

    50% {
        scale: .94;
        opacity: .58;
    }

    75% {
        scale: 1.08;
        opacity: .88;
    }

    100% {
        scale: .90;
        opacity: .48;
    }
}

/* ============================================================ */

/* ============================================================
   DECISION VISUAL STABILITY
   Text animation must NEVER translate the content vertically.
   ============================================================ */

/* Disable the old translateY flash specifically inside decisionBox */
#decisionBox .flash {
    animation: cpDecisionAppear .38s ease !important;
}

@keyframes cpDecisionAppear {
    0% {
        opacity: .45;
    }

    100% {
        opacity: 1;
    }
}

/* Keep the entire decision content group visually centered */
#decisionBox {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Keep the decorative pulse absolutely independent */
#decisionBox .decision-pulse {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 260px !important;
    height: 260px !important;

    margin: 0 !important;

    translate: -50% -50% !important;
    transform-origin: center center !important;

    pointer-events: none !important;
    z-index: 0 !important;
}

#decisionBox > .decision-label,
#decisionBox > #decision,
#decisionBox > #decisionCopy {
    position: relative !important;
    z-index: 1 !important;
}

/* ============================================================ */

/* ============================================================
   REAL BREATHING PULSE
   Expand / contract by geometry.
   NO transform. NO translate.
   Center remains fixed at all times.
   ============================================================ */

#decisionBox .decision-pulse {
    position: absolute !important;

    /* REST CENTER */
    width: 260px !important;
    height: 260px !important;

    left: calc(50% - 130px) !important;
    top: calc(50% - 130px) !important;

    margin: 0 !important;

    /* Kill all previous transform-based attempts */
    transform: none !important;
    translate: none !important;

    transform-origin: center center !important;

    border: 1px solid rgba(77,224,192,.20) !important;
    border-radius: 50% !important;

    opacity: .45 !important;

    pointer-events: none !important;
    z-index: 0 !important;

    animation: none !important;
}

/* ============================================================
   ACTIVATED ONLY BY EVALUATION
   ============================================================ */

#decisionBox.evaluation-pulse .decision-pulse {
    animation: cpBreathingPulse 1.8s ease-in-out 1 both !important;
}

@keyframes cpBreathingPulse {

    /* REST */
    0% {
        width: 260px;
        height: 260px;
        left: calc(50% - 130px);
        top: calc(50% - 130px);

        opacity: .45;

        border-color: rgba(77,224,192,.18);
        box-shadow: 0 0 24px rgba(77,224,192,.06);
    }

    /* EXPAND */
    38% {
        width: 282px;
        height: 282px;
        left: calc(50% - 141px);
        top: calc(50% - 141px);

        opacity: .95;

        border-color: rgba(77,224,192,.42);
        box-shadow: 0 0 42px rgba(77,224,192,.13);
    }

    /* CONTRACT */
    72% {
        width: 266px;
        height: 266px;
        left: calc(50% - 133px);
        top: calc(50% - 133px);

        opacity: .62;

        border-color: rgba(77,224,192,.25);
        box-shadow: 0 0 30px rgba(77,224,192,.08);
    }

    /* RETURN TO REST */
    100% {
        width: 260px;
        height: 260px;
        left: calc(50% - 130px);
        top: calc(50% - 130px);

        opacity: .45;

        border-color: rgba(77,224,192,.18);
        box-shadow: 0 0 24px rgba(77,224,192,.06);
    }
}

/* ============================================================ */

/* ============================================================
   DECISION PULSE — JS CONTROLLED
   Static CSS base. Animation handled by Web Animations API.
   ============================================================ */

#decisionBox .decision-pulse {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 260px !important;
    height: 260px !important;

    margin: 0 !important;

    transform: translate(-50%, -50%) scale(.90) !important;
    transform-origin: center center !important;

    border: 1px solid rgba(77,224,192,.22) !important;
    border-radius: 50% !important;

    opacity: .46 !important;

    box-shadow:
        0 0 26px rgba(77,224,192,.07),
        inset 0 0 22px rgba(77,224,192,.025) !important;

    pointer-events: none !important;
    z-index: 0 !important;

    animation: none !important;
}

/* Disable every CSS animation attempt on this element. */
#decisionBox .decision-pulse {
    animation-name: none !important;
}

/* ============================================================ */

/* ============================================================
   DECISION PULSE — CLEAN IMPLEMENTATION
   OUTER = FIXED CENTER
   INNER = ANIMATED
   ============================================================ */

/* Never animate the outer positioning element */
#decisionBox .decision-pulse {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 260px !important;
    height: 260px !important;

    margin-left: -130px !important;
    margin-top: -130px !important;

    padding: 0 !important;

    transform: none !important;
    translate: none !important;
    scale: none !important;

    pointer-events: none !important;

    z-index: 0 !important;
}

/* This is the ONLY thing that animates */
#decisionBox .decision-pulse-ring {
    position: absolute !important;

    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;

    display: block !important;

    border: 1px solid rgba(77,224,192,.20) !important;
    border-radius: 50% !important;

    opacity: .45 !important;

    transform: scale(.90) !important;
    transform-origin: 50% 50% !important;

    box-shadow:
        0 0 24px rgba(77,224,192,.06),
        inset 0 0 20px rgba(77,224,192,.02) !important;
}

/* Activated ONLY while EVALUAR is running */
#decisionBox.evaluation-pulse .decision-pulse-ring {
    animation: cpCleanDecisionPulse 1.6s ease-in-out 1 both !important;
}

@keyframes cpCleanDecisionPulse {
    0% {
        transform: scale(.90);
        opacity: .45;
        border-color: rgba(77,224,192,.18);
        box-shadow:
            0 0 24px rgba(77,224,192,.06),
            inset 0 0 20px rgba(77,224,192,.02);
    }

    35% {
        transform: scale(1.14);
        opacity: .98;
        border-color: rgba(77,224,192,.48);
        box-shadow:
            0 0 48px rgba(77,224,192,.16),
            inset 0 0 30px rgba(77,224,192,.055);
    }

    65% {
        transform: scale(.95);
        opacity: .60;
        border-color: rgba(77,224,192,.25);
        box-shadow:
            0 0 30px rgba(77,224,192,.08),
            inset 0 0 22px rgba(77,224,192,.025);
    }

    100% {
        transform: scale(.90);
        opacity: .45;
        border-color: rgba(77,224,192,.18);
        box-shadow:
            0 0 24px rgba(77,224,192,.06),
            inset 0 0 20px rgba(77,224,192,.02);
    }
}

/* ============================================================ */

/* ============================================================
   REAL JS PULSE — STATIC CSS BASE
   ============================================================ */

#decisionBox .decision-pulse {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;

    width: 260px !important;
    height: 260px !important;

    margin-left: -130px !important;
    margin-top: -130px !important;

    pointer-events: none !important;
    z-index: 0 !important;

    transform: none !important;
    translate: none !important;
}

/* Inner circle: static base, JS controls transform */
#decisionBox .decision-pulse-ring {
    position: absolute !important;

    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;

    display: block !important;

    border: 1px solid rgba(77,224,192,.20) !important;
    border-radius: 50% !important;

    opacity: .46 !important;

    transform: scale(.92) !important;
    transform-origin: 50% 50% !important;

    animation: none !important;

    pointer-events: none !important;
    z-index: 0 !important;

    box-shadow:
        0 0 24px rgba(77,224,192,.06),
        inset 0 0 20px rgba(77,224,192,.02) !important;
}

/* ============================================================ */

/* ============================================================
   CONSCIOUS PULSE — FINAL DECISION PULSE
   Outer circle = fixed
   Inner circle = JS animated
   ============================================================ */

#decisionBox .decision-pulse {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 260px !important;
    height: 260px !important;

    margin-left: -130px !important;
    margin-top: -130px !important;

    padding: 0 !important;

    transform: none !important;
    translate: none !important;
    scale: none !important;

    pointer-events: none !important;
    z-index: 0 !important;
}

/* Segundo circulo: este es el que respira */
#decisionBox .decision-pulse-ring {
    position: absolute !important;

    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    border: 1px solid rgba(77,224,192,.22) !important;
    border-radius: 50% !important;

    opacity: .46 !important;

    transform: scale(.90) !important;
    transform-origin: 50% 50% !important;

    animation: none !important;

    pointer-events: none !important;

    box-shadow:
        0 0 24px rgba(77,224,192,.06),
        inset 0 0 20px rgba(77,224,192,.02) !important;
}

/* ============================================================
   CP — PULSE MUST ESCAPE DECISION BOX CLIPPING
   The decision box remains 288x288.
   Only overflow is released.
   ============================================================ */

#decisionBox {
    overflow: visible !important;
}

#decisionBox .decision-pulse {
    overflow: visible !important;
}

#decisionBox .decision-pulse-ring {
    overflow: visible !important;
}

/* ============================================================
   CP — CLEAN PULSE
   No glow. No box-shadow. No clipping-dependent luminance.
   ============================================================ */

/* Outer positioning circle */
#decisionBox .decision-pulse {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 260px !important;
    height: 260px !important;

    margin-left: -130px !important;
    margin-top: -130px !important;

    padding: 0 !important;

    transform: none !important;
    translate: none !important;
    scale: none !important;

    pointer-events: none !important;
    z-index: 0 !important;

    overflow: visible !important;

    box-shadow: none !important;
    filter: none !important;
}

/* Inner breathing circle */
#decisionBox .decision-pulse-ring {
    position: absolute !important;

    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    box-sizing: border-box !important;

    border: 1px solid rgba(77,224,192,.22) !important;
    border-radius: 50% !important;

    opacity: .48 !important;

    transform: scale(.90) !important;
    transform-origin: 50% 50% !important;

    animation: none !important;

    box-shadow: none !important;
    filter: none !important;

    overflow: visible !important;
    pointer-events: none !important;
}

/*
   Important:
   Remove all old pulse glow from the decision pseudo-element.
*/
#decisionBox::after,
.decision-box::after {
    content: none !important;
    display: none !important;
    animation: none !important;
    box-shadow: none !important;
    filter: none !important;
}

/* ============================================================
   CP — DECISION PATH TYPOGRAPHY SLIGHTLY LARGER
   Typography only. Geometry/layout unchanged.
   ============================================================ */

.path-node b {
    font-size: 10px !important;
}

.path-node span {
    font-size: 9px !important;
}

.run-state {
    font-size: 10px !important;
}

/* ============================================================
   CP — EVALUATE BUTTON SLIGHTLY LARGER
   Size only. Position and layout unchanged.
   ============================================================ */

.run-btn {
    padding: 11px 17px !important;
    font-size: 9px !important;
}

/* ============================================================
   CP — EVALUATE BUTTON MATCHES "BACK TO SITE"
   Same visual treatment.
   ============================================================ */

.run-btn {
    background: var(--teal) !important;
    color: #06100f !important;
    border-color: var(--teal) !important;
}

.run-btn:hover {
    background: var(--teal) !important;
    color: #06100f !important;
    filter: brightness(1.03);
}

/* ============================================================
   CP — BUTTONS HOVER WHITE
   EVALUATE + BACK TO SITE
   ============================================================ */

.run-btn:hover,
.cp-demo-back:hover {
    background: #ffffff !important;
    color: #06100f !important;
    border-color: #ffffff !important;
    filter: none !important;
}

/* ============================================================
   CP — BUTTON HOVER TRANSITION
   Match main-site interaction timing.
   ============================================================ */

.run-btn,
.cp-demo-back {
    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.run-btn:hover,
.cp-demo-back:hover {
    background-color: #ffffff !important;
    color: #06100f !important;
    border-color: #ffffff !important;
    filter: none !important;
}

/* ============================================================
   CP — BUTTON HOVER LIFT
   Very subtle upward movement, matching the soft transition.
   ============================================================ */

.run-btn,
.cp-demo-back {
    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.run-btn:hover,
.cp-demo-back:hover {
    background-color: #ffffff !important;
    color: #06100f !important;
    border-color: #ffffff !important;
    transform: translateY(-1px);
    filter: none !important;
}

/* ============================================================
   CP — DEMO ENTRY SEQUENCE
   Same visual rhythm as main site:
   opacity 0 -> 1
   translateY(25px) -> 0
   0.8s / 0.12s stagger
   ============================================================ */

.cp-entry {
    opacity: 0 !important;
    transform: translateY(25px) !important;
    will-change: opacity, transform;
}

.cp-entry.cp-entry-show {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition:
        opacity .8s cubic-bezier(.22, 1, .36, 1),
        transform .8s cubic-bezier(.22, 1, .36, 1);
}

/* ============================================================
   CP — GLOBAL SCREEN ZOOM
   Visual scale only.
   Internal typography and component dimensions unchanged.
   ============================================================ */

.screen {
    margin-left: auto !important;
    margin-right: auto !important;
    transform-origin: center top !important;
    transform: scale(var(--cp-screen-zoom, 1)) !important;
    will-change: transform;
}

/* ============================================================
   CP — CENTER PUBLIC EVALUATION EYEBROW
   Centered against the full title row, not its text column.
   ============================================================ */

.title-row {
    position: relative !important;
}

.title-row .eyebrow {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;

    transform: translateX(-50%) !important;

    width: max-content !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

/* CP FINAL VISUAL CENTER OFFSET */
.screen {
    position: relative !important;
    left: 0.25vw !important;
}

/* CP SCENARIO ACTIVE TEAL FINAL */

/*
 * Selected scenario:
 * visually echoes the Public Demo secondary button,
 * using the demo's actual teal variable.
 */
.scenario.active {
    background: #0b1112bb !important;
    box-shadow: inset 0 0 0 1px var(--teal) !important;
}

/* Remove the old active gradient / left marker. */
.scenario.active::before {
    display: none !important;
}

/* Selected scenario title adopts the active teal. */
.scenario.active b {
    color: var(--teal) !important;
}

/* Selected scenario keeps the normal muted description. */
.scenario.active small {
    color: var(--muted) !important;
}

/*
 * Hover uses the same visual family.
 * Active remains framed after mouse leaves.
 */
.scenario:hover {
    background: #0b1112bb !important;
    box-shadow: inset 0 0 0 1px var(--teal) !important;
}

.scenario:hover b {
    color: var(--teal) !important;
}
/* CP DEMO GITHUB REFERENCE */
.cp-demo-github-reference {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.cp-demo-github-reference a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--muted);
    text-decoration: none;
    transition:
        color .2s ease,
        transform .2s ease;
}

.cp-demo-github-reference a span {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .04em;
    color: var(--muted);
}

.cp-demo-github-reference a small {
    font-size: 8px;
    color: var(--muted);
    opacity: .72;
}

.cp-demo-github-reference a:hover {
    color: var(--teal);
    transform: translateY(-1px);
}

.cp-demo-github-reference a:hover span,
.cp-demo-github-reference a:hover small {
    color: var(--teal);
}
/* CP GITHUB FOOTER COLOR FIX */
.cp-demo-github-reference a,
.cp-demo-github-reference a span,
.cp-demo-github-reference a small {
    color: var(--muted);
}

.cp-demo-github-reference a:hover,
.cp-demo-github-reference a:hover span,
.cp-demo-github-reference a:hover small {
    color: var(--teal);
}

.footer-key {
    color: var(--muted);
}
/* CP FOOTER VISUAL FINAL */

/*
   Footer hierarchy:
   benchmark = neutral
   protocol  = right side action
   github    = centered technical reference
*/

.footer-key {
    color: var(--muted) !important;
}


/* Protocol remains the footer action on the right. */
.footer > div:nth-child(2) {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


/* GitHub reference centered below. */
.cp-demo-github-reference {
    margin-top: 18px !important;

    display: flex !important;
    justify-content: center !important;

    text-align: center;
}


.cp-demo-github-reference a,
.cp-demo-github-reference a span,
.cp-demo-github-reference a small {

    color: var(--muted) !important;

    text-decoration: none;

}


.cp-demo-github-reference a {

    transition:
        color .2s ease,
        transform .2s ease;

}


.cp-demo-github-reference a:hover {

    color: var(--teal) !important;

    transform: translateY(-1px);

}


.cp-demo-github-reference a:hover span,
.cp-demo-github-reference a:hover small {

    color: var(--teal) !important;

}


/* Protocol hover only. */
.footer a[data-i="protocol"] {

    color: var(--muted);

    transition:
        color .2s ease;

}


.footer a[data-i="protocol"]:hover {

    color: var(--teal);

}

/* CP Operational Impact inline label */
#impactLabel {
    margin-left: 8px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .04em;
    color: var(--muted);
    vertical-align: middle;
}
/* CP inline operational impact */
#impactLabel {
    display: inline;
    margin-left: 8px;
    font-family: var(--mono);
    font-size: 9px;
    color: var(--muted);
}
/* ==========================================================
   CP RUN STATE FINAL POSITION
   Center + slight vertical offset
   ========================================================== */

.run-state {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 8px !important;
}

.run-state span:last-child {
    text-align: center !important;
}


/* ==========================================================
   CP STAGE NAV INNER SPACING
   Keep endpoints away from frame edges
   ========================================================== */

.stage-line,
.steps,
.pipeline {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box;
}


/* ==========================================================
   CP PATH INNER SPACING
   Keep first and last nodes away from frame edges
   ========================================================== */

.path {
    width: calc(100% - 16px) !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
}



/* ============================================================
   CONSCIOUS PULSE — PUBLIC DEMO ENTRY ANIMATION
   Does NOT affect the decision pulse.
   ============================================================ */

.cp-entry,
.cp-entry-grid,
.cp-entry-footer{
  opacity:0;
}

.cp-entry-grid{
  transform:translateY(28px);
}

.cp-entry-footer{
  transform:translateY(16px);
}

