.diagnostic-page,
.dx-widget {
    --tn-primary: #24b8ee;
    --tn-primary-dark: #0097d7;
    --tn-text: #061a2d;
    --tn-muted: #53657c;
    --tn-line: #cbe3f5;
}

body.diagnostic-page {
    background:
        radial-gradient(circle at 18% 16%, rgba(56, 189, 248, 0.18), transparent 28%),
        radial-gradient(circle at 84% 18%, rgba(14, 165, 233, 0.16), transparent 30%),
        linear-gradient(180deg, #eef8fd 0%, #f8fcff 42%, #ffffff 100%);
    color: var(--tn-text);
}

.diagnostic-page .tn-header {
    background: rgba(248, 252, 255, 0.72);
    backdrop-filter: blur(18px);
}

.diagnostic-page .tn-nav {
    min-height: 70px;
}

.diagnostic-page .tn-nav__menu {
    gap: 14px;
}

.dx-start {
    position: relative;
    min-height: 100vh;
    padding: 118px 0 54px;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.dx-start::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.11) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(circle at 64% 48%, #000 0 42%, transparent 72%);
    opacity: 0.7;
}

.dx-start__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.dx-pulse {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #67e8f9;
    box-shadow: 0 0 0 12px rgba(103, 232, 249, 0.13), 0 0 34px rgba(14, 165, 233, 0.55);
    animation: dxFloatPulse 7s ease-in-out infinite;
}

.dx-pulse--one {
    top: 24%;
    left: 8%;
}

.dx-pulse--two {
    top: 18%;
    right: 18%;
    animation-delay: -2.1s;
}

.dx-pulse--three {
    bottom: 18%;
    left: 48%;
    animation-delay: -4s;
}

.dx-start__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: clamp(34px, 6vw, 84px);
    align-items: center;
}

.dx-start__copy {
    max-width: 760px;
}

.dx-start__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(14, 165, 233, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #0369a1;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dx-start__eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
}

.dx-start h1 {
    margin: 0;
    color: #06111c;
    font-size: clamp(2.45rem, 4.35vw, 4.85rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.dx-start p {
    max-width: 680px;
    margin: 24px 0 0;
    color: #3a4c65;
    font-size: clamp(1.04rem, 1.5vw, 1.22rem);
    line-height: 1.72;
}

.dx-start__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.dx-start__meta span {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 9px 13px;
    border: 1px solid rgba(180, 215, 238, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #263449;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.dx-start__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.dx-intelligence {
    position: relative;
    min-height: 520px;
    border: 1px solid rgba(178, 222, 245, 0.78);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(226, 246, 255, 0.72)),
        radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.26), transparent 38%);
    box-shadow: 0 32px 90px rgba(12, 74, 110, 0.18);
    overflow: hidden;
    transform: perspective(900px) rotateX(2deg) rotateY(-2deg);
}

.dx-intelligence::before,
.dx-intelligence::after {
    content: "";
    position: absolute;
    inset: 48px;
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 28px;
}

.dx-intelligence::after {
    inset: 94px;
    border-style: dashed;
    animation: dxCircuitGlow 5.8s ease-in-out infinite;
}

.dx-intelligence__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.11) 1px, transparent 1px);
    background-size: 42px 42px;
}

.dx-intelligence__core {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 176px;
    height: 176px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 1px solid rgba(56, 189, 248, 0.54);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 24px 70px rgba(14, 116, 144, 0.2);
    z-index: 3;
}

.dx-intelligence__core::before {
    content: "";
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    border: 1px solid rgba(14, 165, 233, 0.22);
    animation: dxBreath 3.4s ease-in-out infinite;
}

.dx-intelligence__core img {
    width: 112px;
    height: auto;
}

.dx-intelligence__core span {
    color: #0369a1;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dx-signal {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(178, 222, 245, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #132238;
    font-weight: 900;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.11);
    animation: dxNodeFloat 5.5s ease-in-out infinite;
}

.dx-signal span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tn-primary);
    box-shadow: 0 0 0 7px rgba(56, 189, 248, 0.16);
}

.dx-signal--one { top: 84px; left: 48px; }
.dx-signal--two { top: 128px; right: 52px; animation-delay: -1.4s; }
.dx-signal--three { left: 54px; bottom: 112px; animation-delay: -2.5s; }
.dx-signal--four { top: 48px; left: 46%; animation-delay: -3.2s; }
.dx-signal--five { right: 62px; bottom: 96px; animation-delay: -4.2s; }

.dx-scan-card {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 4;
    width: min(78%, 420px);
    transform: translateX(-50%);
    padding: 18px 20px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 18px;
    background: rgba(6, 17, 28, 0.86);
    color: #ffffff;
    box-shadow: 0 20px 60px rgba(6, 17, 28, 0.22);
}

.dx-scan-card span {
    color: #67e8f9;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dx-scan-card strong {
    display: block;
    margin-top: 6px;
    line-height: 1.35;
}

.dx-benefits {
    padding: 16px 0 68px;
}

.dx-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dx-benefits article {
    position: relative;
    min-height: 220px;
    padding: 26px;
    border: 1px solid rgba(190, 221, 244, 0.86);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.dx-benefits article::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -38px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 68%);
}

.dx-benefits span {
    color: var(--tn-primary-dark);
    font-size: 0.82rem;
    font-weight: 900;
}

.dx-benefits h2 {
    margin: 32px 0 12px;
    font-size: 1.35rem;
    line-height: 1.12;
}

.dx-benefits p {
    margin: 0;
    color: var(--tn-muted);
    line-height: 1.62;
}

.dx-panel-section {
    display: none;
}

.diagnostic-page.dx-active .dx-panel-section {
    display: block;
}

.dx-console {
    max-width: 980px;
    min-height: 680px;
    margin: 0 auto;
    border: 1px solid rgba(178, 222, 245, 0.95);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 255, 0.98)),
        radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.16), transparent 34%);
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

.dx-console__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    min-height: 76px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(190, 221, 244, 0.82);
    background: rgba(255, 255, 255, 0.7);
}

.dx-console__top span {
    display: block;
    color: var(--tn-primary-dark);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dx-console__top strong {
    color: #06111c;
    font-size: 1.02rem;
}

.dx-console__status {
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

.dx-console__status i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
    animation: dxStatus 1.4s ease-in-out infinite;
}

.dx-console__status i:nth-child(2) {
    animation-delay: 0.18s;
}

.dx-console__status i:nth-child(3) {
    animation-delay: 0.36s;
}

.dx-hero {
    padding: 132px 0 46px;
    overflow: hidden;
}

.dx-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    gap: 44px;
    align-items: center;
}

.dx-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--tn-text);
    font-size: clamp(2.35rem, 5vw, 5.4rem);
    line-height: 0.94;
    letter-spacing: 0;
}

.dx-hero p {
    max-width: 690px;
    margin: 22px 0 0;
    color: var(--tn-muted);
    font-size: clamp(1.02rem, 1.55vw, 1.22rem);
    line-height: 1.7;
}

.dx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.dx-hero__visual {
    position: relative;
    min-height: 430px;
    border: 1px solid rgba(190, 221, 244, 0.88);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(223, 244, 255, 0.82)),
        radial-gradient(circle at 72% 18%, rgba(14, 165, 233, 0.22), transparent 34%);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.13);
    overflow: hidden;
}

.dx-orbit {
    position: absolute;
    inset: 28px;
    border: 1px dashed rgba(14, 165, 233, 0.35);
    border-radius: 28px;
}

.dx-orbit::before,
.dx-orbit::after {
    content: "";
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.7), transparent);
}

.dx-orbit::before {
    top: 50%;
    left: 7%;
    width: 86%;
    height: 1px;
}

.dx-orbit::after {
    left: 50%;
    top: 8%;
    width: 1px;
    height: 84%;
}

.dx-core {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 152px;
    min-height: 152px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border: 1px solid rgba(56, 189, 248, 0.48);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.dx-core img {
    width: 112px;
    height: auto;
}

.dx-node {
    position: absolute;
    display: grid;
    gap: 6px;
    width: 158px;
    padding: 16px;
    border: 1px solid rgba(190, 221, 244, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.11);
}

.dx-node span {
    color: var(--tn-primary-dark);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dx-node strong {
    color: var(--tn-text);
    line-height: 1.22;
}

.dx-node--tn { top: 42px; left: 38px; }
.dx-node--ml { top: 76px; right: 34px; }
.dx-node--mk { bottom: 42px; left: 56px; }
.dx-node--ops { right: 52px; bottom: 54px; }

.dx-panel-section {
    padding: 34px 0 74px;
}

.dx-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
    gap: 28px;
    align-items: start;
}

.dx-aside {
    position: sticky;
    top: 96px;
    border: 1px solid var(--tn-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 54px rgba(15, 23, 42, 0.08);
    padding: 28px;
}

.dx-aside h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.04;
}

.dx-aside p {
    color: var(--tn-muted);
    line-height: 1.7;
}

.dx-aside__list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.dx-aside__list span {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #31425c;
    font-weight: 700;
}

.dx-aside__list span::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--tn-primary);
}

.dx-app {
    min-height: 560px;
    border: 1px solid rgba(190, 221, 244, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
    padding: clamp(18px, 3vw, 32px);
}

.dx-progress {
    height: 8px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: #eaf4fb;
    overflow: hidden;
}

.dx-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--tn-primary), var(--tn-primary-dark));
    transition: width 0.28s ease;
}

.dx-message {
    max-width: 760px;
}

.dx-message h2 {
    margin: 0;
    color: var(--tn-text);
    font-size: clamp(1.8rem, 3.4vw, 3.05rem);
    line-height: 1.02;
}

.dx-message p {
    margin: 14px 0 0;
    color: var(--tn-muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.dx-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--tn-primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dx-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.dx-option {
    min-height: 76px;
    padding: 16px 18px;
    border: 1px solid var(--tn-line);
    border-radius: 16px;
    background: #ffffff;
    color: #263449;
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.dx-option:hover,
.dx-option.is-selected {
    transform: translateY(-2px);
    border-color: rgba(14, 165, 233, 0.75);
    background: #f2fbff;
    box-shadow: 0 14px 36px rgba(14, 165, 233, 0.13);
}

.dx-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 26px;
}

.dx-app.has-selection .dx-actions {
    position: sticky;
    bottom: 12px;
    z-index: 12;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(190, 221, 244, 0.92);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(14px);
}

.dx-app.has-selection .dx-actions .tn-button {
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.2);
}

.dx-actions--single,
.dx-actions--result {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.diagnostic-page .dx-actions--result .tn-button,
.diagnostic-page .dx-actions--result .tn-button--secondary {
    min-width: 214px;
    background: #ffffff;
    color: #061a2d;
    border: 1px solid rgba(190, 221, 244, 0.95);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.diagnostic-page .dx-actions--result .tn-button:hover,
.diagnostic-page .dx-actions--result .tn-button--secondary:hover {
    border-color: rgba(36, 184, 238, 0.7);
    box-shadow: 0 18px 38px rgba(36, 184, 238, 0.16);
}

.dx-back,
.dx-skip,
.dx-reset {
    border: 0;
    background: transparent;
    color: var(--tn-muted);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.dx-reset {
    min-height: 52px;
    padding: 0 20px;
    border: 1px solid rgba(125, 211, 252, 0.56);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: #17304d;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dx-reset:hover {
    transform: translateY(-1px);
    border-color: var(--tn-primary);
    box-shadow: 0 16px 34px rgba(36, 184, 238, 0.14);
}

.dx-next[disabled] {
    pointer-events: none;
    opacity: 0.5;
}

.dx-contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.dx-contact-form label {
    display: grid;
    gap: 7px;
    color: #263449;
    font-weight: 900;
}

.dx-contact-form label span {
    color: var(--tn-muted);
    font-weight: 600;
}

.dx-contact-form input,
.dx-contact-form textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--tn-line);
    border-radius: 12px;
    padding: 13px 14px;
    font: inherit;
    background: #ffffff;
}

.dx-contact-form textarea,
.dx-contact-form label:nth-of-type(5),
.dx-status,
.dx-contact-form .dx-actions,
.dx-contact-form .tn-hp {
    grid-column: 1 / -1;
}

.dx-status {
    display: none;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 800;
}

.dx-status.is-visible {
    display: block;
}

.dx-status.is-success {
    background: #e7f9ef;
    color: #166534;
}

.dx-status.is-error {
    background: #fff1f2;
    color: #be123c;
}

.dx-result-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.dx-result-summary div,
.dx-result-card,
.dx-next-step {
    border: 1px solid var(--tn-line);
    border-radius: 18px;
    background: #f8fbfe;
    padding: 18px;
}

.dx-result-summary span,
.dx-result-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--tn-primary-dark);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dx-result-summary strong {
    font-size: 1.3rem;
}

.dx-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.dx-result-card h3 {
    margin: 0 0 10px;
    color: var(--tn-text);
}

.dx-result-card strong {
    display: inline-block;
    margin-bottom: 10px;
    color: #0f7fb4;
}

.dx-result-card p,
.dx-next-step p {
    margin: 0;
    color: var(--tn-muted);
    line-height: 1.55;
}

.dx-next-step {
    margin-top: 14px;
}

.dx-next-step strong {
    display: block;
    margin-bottom: 8px;
}

.dx-processing {
    display: grid;
    justify-items: center;
    gap: 16px;
    max-width: 880px;
    margin: 0 auto;
    min-height: min(640px, calc(100svh - 170px));
    padding: clamp(34px, 7vw, 82px) clamp(18px, 5vw, 52px);
    text-align: center;
    border: 1px solid rgba(125, 211, 252, 0.34);
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% 20%, rgba(36, 184, 238, 0.24), transparent 30%),
        radial-gradient(circle at 18% 86%, rgba(34, 197, 94, 0.14), transparent 28%),
        linear-gradient(155deg, #06233d, #08385c 54%, #041829);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 34px 90px rgba(2, 18, 31, 0.22);
    overflow: hidden;
    position: relative;
}

.dx-processing::before {
    content: "";
    position: absolute;
    inset: -36%;
    background:
        conic-gradient(from 110deg, transparent 0 20%, rgba(142, 231, 255, 0.24) 28%, transparent 38% 56%, rgba(34, 197, 94, 0.16) 64%, transparent 76% 100%);
    animation: dxAuroraSpin 18s linear infinite;
}

.dx-processing > * {
    position: relative;
    z-index: 1;
}

.dx-processing__orb {
    position: relative;
    width: 156px;
    height: 156px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92) 0 25%, rgba(58, 205, 255, 0.22) 26% 44%, rgba(6, 35, 61, 0.95) 45%),
        conic-gradient(from 90deg, #24b8ee, #65e4ff, #34d399, #facc15, #24b8ee);
    box-shadow: 0 0 0 12px rgba(142, 231, 255, 0.06), 0 30px 86px rgba(36, 184, 238, 0.34);
    animation: dxProcessingSpin 7s linear infinite;
}

.dx-processing__orb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
    z-index: 1;
    animation: dxAssistantPulse 2.8s ease-in-out infinite;
}

.dx-processing__orb::before {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: inherit;
    border: 1px dashed rgba(6, 26, 45, 0.28);
}

.dx-processing__orb i {
    position: absolute;
    z-index: 2;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.9);
}

.dx-processing__orb i:nth-child(1) { top: 16px; left: 50%; }
.dx-processing__orb i:nth-child(2) { right: 18px; bottom: 42px; }
.dx-processing__orb i:nth-child(3) { left: 20px; bottom: 48px; }

.dx-processing h2 {
    max-width: 560px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.9rem, 5vw, 3rem);
    line-height: 1.02;
}

.dx-processing p {
    max-width: 610px;
    margin: 0;
    color: rgba(238, 248, 255, 0.82);
    font-size: 1.02rem;
    line-height: 1.65;
}

.dx-processing__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: min(100%, 620px);
    margin-top: 10px;
}

.dx-processing__steps span {
    position: relative;
    min-height: 78px;
    display: grid;
    place-items: center;
    padding: 14px;
    border: 1px solid rgba(142, 231, 255, 0.24);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(238, 248, 255, 0.92);
    font-size: 0.86rem;
    font-weight: 900;
    overflow: hidden;
}

.dx-processing__steps span::after {
    content: "";
    position: absolute;
    inset: auto 12px 10px 12px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #24b8ee, #34d399, #facc15);
    animation: dxProcessingBar 2.2s ease-in-out infinite;
}

.dx-processing__steps span:nth-child(2)::after { animation-delay: 0.25s; }
.dx-processing__steps span:nth-child(3)::after { animation-delay: 0.5s; }

.dx-result-report {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
    animation: dxResultIn 0.48s cubic-bezier(0.21, 0.9, 0.3, 1) both;
}

.dx-result-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 20px;
    align-items: center;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(99, 197, 235, 0.42);
    border-radius: 28px;
    background:
        radial-gradient(circle at 86% 18%, rgba(52, 211, 153, 0.22), transparent 24%),
        radial-gradient(circle at 10% 0%, rgba(36, 184, 238, 0.22), transparent 32%),
        linear-gradient(135deg, #062943 0%, #064d78 54%, #07314f 100%);
    box-shadow: 0 26px 70px rgba(2, 18, 31, 0.22);
    overflow: hidden;
}

.dx-result-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 10px);
    transform: translateX(-100%);
    animation: dxResultSweep 5.5s ease-in-out infinite;
}

.dx-result-hero__copy {
    position: relative;
    z-index: 1;
}

.dx-result-hero .dx-kicker {
    color: #8ee7ff;
}

.dx-result-hero h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.85rem, 4vw, 3.2rem);
    line-height: 1.02;
}

.dx-result-hero p {
    max-width: 620px;
    margin: 16px 0 0;
    color: rgba(238, 248, 255, 0.86);
    line-height: 1.65;
}

.dx-result-hero p strong {
    color: #ffffff;
}

.dx-score-orb {
    position: relative;
    z-index: 1;
    width: 148px;
    height: 148px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #ffffff 0 46%, transparent 47%),
        conic-gradient(#34d399 0 34%, #24b8ee 34% 76%, #8ee7ff 76% 100%);
    box-shadow: 0 24px 60px rgba(36, 184, 238, 0.22);
}

.dx-score-orb::before {
    content: "";
    position: absolute;
    inset: 11px;
    border-radius: inherit;
    border: 1px dashed rgba(6, 77, 120, 0.2);
}

.dx-score-orb span {
    color: #061a2d;
    font-size: 2.7rem;
    font-weight: 950;
    line-height: 0.9;
}

.dx-score-orb small {
    color: #55708b;
    font-weight: 900;
}

.dx-result-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.dx-result-metrics div {
    min-height: 108px;
    padding: 18px;
    border: 1px solid rgba(190, 221, 244, 0.95);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #f0f9ff);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.dx-result-metrics span,
.dx-result-card span {
    display: block;
    margin-bottom: 8px;
    color: #0284c7;
    font-size: 0.75rem;
    font-weight: 950;
    text-transform: uppercase;
}

.dx-result-metrics strong {
    color: #061a2d;
    font-size: 1.22rem;
    line-height: 1.25;
}

.diagnostic-page .dx-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
}

.diagnostic-page .dx-result-card {
    min-height: 100%;
    padding: 22px;
    border-color: rgba(125, 211, 252, 0.52);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 255, 0.94));
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.diagnostic-page .dx-result-card h3 {
    font-size: 1.32rem;
}

.diagnostic-page .dx-result-card strong {
    color: #0088c7;
}

.diagnostic-page .dx-next-step {
    max-width: 920px;
    padding: 22px;
    border: 1px solid rgba(125, 211, 252, 0.46);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(250, 204, 21, 0.14), transparent 28%),
        linear-gradient(135deg, #ffffff, #effaff);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.diagnostic-page .dx-actions--result {
    max-width: 920px;
    justify-content: flex-start;
}

.diagnostic-page .dx-actions--result .tn-button,
.diagnostic-page .dx-actions--result .tn-button--secondary {
    width: min(100%, 220px);
    background: #ffffff;
    color: #061a2d;
    border: 1px solid rgba(125, 211, 252, 0.7);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.diagnostic-page .dx-actions--result .tn-button:hover,
.diagnostic-page .dx-actions--result .tn-button--secondary:hover {
    border-color: var(--tn-primary);
    transform: translateY(-1px);
}

.dx-widget {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 10050;
}

.dx-widget__button {
    position: relative;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 6px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--tn-primary), var(--tn-primary-dark));
    color: #06111c;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(14, 165, 233, 0.28);
    cursor: pointer;
    isolation: isolate;
    overflow: visible;
}

.dx-widget__button::after {
    content: "";
    position: absolute;
    inset: -4px;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(circle at 28% 50%, rgba(103, 232, 249, 0.34), transparent 52%);
    opacity: 0.7;
    filter: blur(10px);
    animation: dxWidgetAura 3.8s ease-in-out infinite;
}

.dx-widget__button img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    background: #061a2d;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.58), 0 0 18px rgba(36, 184, 238, 0.36);
    animation: dxAssistantGlow 3.2s ease-in-out infinite;
}

.dx-widget.is-open .dx-widget__button {
    display: none;
}

.dx-widget__panel {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: min(460px, calc(100vw - 28px));
    max-height: min(680px, calc(100vh - 112px));
    border: 1px solid var(--tn-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.dx-widget__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--tn-line);
}

.dx-widget__close {
    width: 34px;
    height: 34px;
    border: 1px solid var(--tn-line);
    border-radius: 50%;
    background: #ffffff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.dx-widget__body {
    max-height: calc(min(680px, 100vh - 112px) - 64px);
    overflow: auto;
}

.dx-widget .dx-app {
    min-height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 18px;
}

.dx-widget .dx-options,
.dx-widget .dx-contact-form,
.dx-widget .dx-result-grid,
.dx-widget .dx-result-summary {
    grid-template-columns: 1fr;
}

.dx-widget .dx-message h2 {
    font-size: 1.45rem;
}

.dx-widget .dx-option {
    min-height: 58px;
}

.dx-widget .dx-message h2,
.dx-widget .dx-result-hero h2,
.dx-widget .dx-processing h2 {
    font-size: 1.42rem;
    line-height: 1.08;
}

.dx-widget .dx-message p,
.dx-widget .dx-result-hero p,
.dx-widget .dx-result-card p,
.dx-widget .dx-next-step p,
.dx-widget .dx-processing p {
    font-size: 0.92rem;
    line-height: 1.5;
}

.dx-widget .dx-result-report {
    gap: 12px;
    max-width: none;
}

.dx-widget .dx-result-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
}

.dx-widget .dx-score-orb {
    width: 104px;
    height: 104px;
    justify-self: start;
}

.dx-widget .dx-score-orb span {
    font-size: 2rem;
}

.dx-widget .dx-result-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 0;
}

.dx-widget .dx-result-metrics div,
.dx-widget .dx-result-card,
.dx-widget .dx-next-step {
    min-height: auto;
    padding: 14px;
    border-radius: 16px;
}

.dx-widget .dx-result-metrics span,
.dx-widget .dx-result-card span {
    font-size: 0.68rem;
}

.dx-widget .dx-result-metrics strong,
.dx-widget .dx-result-card h3 {
    font-size: 1rem;
}

.dx-widget .dx-result-card strong {
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.dx-widget .dx-actions--result {
    display: grid;
    grid-template-columns: 1fr;
}

.dx-widget .dx-actions--result .tn-button,
.dx-widget .dx-actions--result .tn-button--secondary,
.dx-widget .dx-actions--result .dx-reset {
    width: 100%;
    min-height: 48px;
}

.dx-widget-intro {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.dx-widget-intro__avatar {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    overflow: hidden;
    background: #061a2d;
    box-shadow: 0 0 0 3px rgba(142, 231, 255, 0.22), 0 20px 42px rgba(36, 184, 238, 0.22);
}

.dx-widget-intro__avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dx-widget-intro h2 {
    margin: 0;
    color: var(--tn-text);
    font-size: clamp(1.65rem, 5vw, 2.15rem);
    line-height: 1.05;
}

.dx-widget-intro p {
    margin: 0;
    color: var(--tn-muted);
    line-height: 1.58;
}

.dx-widget-intro__meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.dx-widget-intro__meta span {
    padding: 10px 12px;
    border: 1px solid rgba(190, 221, 244, 0.9);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f0f9ff);
    color: #17304d;
    font-weight: 850;
    font-size: 0.86rem;
}

.dx-widget .dx-widget-intro {
    gap: 12px;
    padding: 0;
}

.dx-widget .dx-widget-intro__avatar {
    width: 78px;
    height: 78px;
}

.dx-widget .dx-widget-intro h2 {
    font-size: 1.65rem;
}

.dx-widget .dx-widget-intro__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.dx-widget .dx-widget-intro__meta span {
    padding: 8px 6px;
    text-align: center;
    font-size: 0.72rem;
}

@media (max-width: 980px) {
    .dx-hero {
        padding-top: 108px;
    }

    .dx-hero__grid,
    .dx-shell {
        grid-template-columns: 1fr;
    }

    .dx-aside {
        position: relative;
        top: auto;
    }

    .dx-hero__visual {
        min-height: 360px;
    }
}

@media (max-width: 720px) {
    .diagnostic-page .footer__grid {
        grid-template-columns: 1fr;
    }

    .diagnostic-page .footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .dx-hero {
        padding: 100px 0 28px;
    }

    .dx-hero__actions,
    .dx-actions,
    .dx-actions--result {
        flex-direction: column;
    }

    .dx-hero__actions .tn-button,
    .dx-actions .tn-button,
    .dx-actions .tn-button--secondary,
    .dx-next,
    .dx-back,
    .dx-skip,
    .dx-reset {
        width: 100%;
    }

    .dx-options,
    .dx-contact-form,
    .dx-result-summary,
    .dx-result-grid {
        grid-template-columns: 1fr;
    }

    .diagnostic-page .dx-app.has-selection {
        padding-bottom: 108px;
    }

    .diagnostic-page .dx-app.has-selection .dx-actions {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        max-width: none;
        margin: 0;
        z-index: 10040;
    }

    .dx-hero__visual {
        min-height: 330px;
        border-radius: 22px;
    }

    .dx-node {
        width: 132px;
        padding: 12px;
        font-size: 0.88rem;
    }

    .dx-node--tn { top: 24px; left: 18px; }
    .dx-node--ml { top: 52px; right: 14px; }
    .dx-node--mk { bottom: 28px; left: 16px; }
    .dx-node--ops { bottom: 36px; right: 16px; }

    .dx-core {
        width: 126px;
        min-height: 126px;
    }

    .dx-core img {
        width: 90px;
    }

    .dx-widget {
        right: 12px;
        bottom: 18px;
        left: auto;
    }

    .dx-widget__button {
        width: 58px;
        min-height: 58px;
        padding: 5px;
        justify-content: center;
    }

    .dx-widget__button span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .dx-widget__button img {
        width: 48px;
        height: 48px;
    }

    .dx-widget__panel {
        position: fixed;
        inset: auto 10px 76px 10px;
        width: auto;
        max-height: calc(100vh - 98px);
    }

    .dx-widget.is-open .dx-widget__panel {
        inset: auto 10px 12px 10px;
        max-height: calc(100vh - 24px);
    }

    .dx-widget .dx-app {
        padding: 14px;
    }

    .dx-widget__body {
        max-height: calc(100vh - 86px);
    }

    .dx-widget .dx-result-hero h2 {
        font-size: 1.34rem;
    }
}

@media (max-width: 380px) {
    .dx-app,
    .dx-aside {
        padding: 18px;
    }

    .dx-node {
        width: 118px;
        font-size: 0.78rem;
    }

    .dx-core {
        width: 112px;
        min-height: 112px;
    }
}

/* Interactive diagnostic experience overrides */
.diagnostic-page .dx-panel-section {
    display: none;
    padding: 24px 0 84px;
    scroll-margin-top: 88px;
}

.diagnostic-page.dx-active .dx-panel-section {
    display: block;
}

.diagnostic-page .dx-app {
    min-height: 600px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: clamp(18px, 4vw, 44px);
}

.diagnostic-page .dx-progress {
    height: 6px;
    margin-bottom: 28px;
    background: rgba(190, 221, 244, 0.72);
}

.diagnostic-page .dx-message {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(22px, 3.6vw, 36px);
    border: 1px solid rgba(125, 211, 252, 0.46);
    border-radius: 28px;
    background:
        radial-gradient(circle at 96% 0%, rgba(34, 197, 94, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 249, 255, 0.92));
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

.diagnostic-page .dx-message::before {
    content: "";
    position: absolute;
    top: 28px;
    left: -10px;
    width: 18px;
    height: 18px;
    border-left: 1px solid rgba(125, 211, 252, 0.46);
    border-bottom: 1px solid rgba(125, 211, 252, 0.46);
    background: rgba(255, 255, 255, 0.95);
    transform: rotate(45deg);
}

.diagnostic-page .dx-message h2 {
    font-size: clamp(1.75rem, 3.2vw, 3rem);
}

.diagnostic-page .dx-options {
    max-width: 920px;
    margin: 22px auto 0;
}

.diagnostic-page .dx-option {
    position: relative;
    min-height: 88px;
    padding: 20px 20px 20px 58px;
    border-color: rgba(190, 221, 244, 0.92);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 255, 0.88));
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.diagnostic-page .dx-option::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(14, 165, 233, 0.55);
    border-radius: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.08);
}

.diagnostic-page .dx-option.is-selected::before {
    background: var(--tn-primary);
    border-color: var(--tn-primary-dark);
}

.diagnostic-page .dx-actions,
.diagnostic-page .dx-contact-form,
.diagnostic-page .dx-result-summary,
.diagnostic-page .dx-result-grid,
.diagnostic-page .dx-next-step {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.diagnostic-page .dx-result-summary {
    margin-top: 22px;
}

.diagnostic-page .dx-widget {
    display: none;
}

@keyframes dxFloatPulse {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.76;
    }
    50% {
        transform: translate3d(16px, -18px, 0) scale(1.18);
        opacity: 1;
    }
}

@keyframes dxCircuitGlow {
    0%, 100% {
        opacity: 0.42;
        box-shadow: inset 0 0 0 rgba(56, 189, 248, 0);
    }
    50% {
        opacity: 1;
        box-shadow: inset 0 0 34px rgba(56, 189, 248, 0.22);
    }
}

@keyframes dxBreath {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.36;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.92;
    }
}

@keyframes dxNodeFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -10px, 0);
    }
}

@keyframes dxStatus {
    0%, 100% {
        transform: scale(0.82);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

@media (max-width: 980px) {
    .dx-start {
        min-height: auto;
        padding-top: 104px;
    }

    .dx-start__grid {
        grid-template-columns: 1fr;
    }

    .dx-intelligence {
        min-height: 480px;
        transform: none;
    }

    .dx-benefits__grid {
        grid-template-columns: 1fr;
    }

    .dx-benefits article {
        min-height: 0;
    }
}

@media (max-width: 720px) {
    .diagnostic-page .tn-nav__menu {
        display: flex;
        position: static;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        flex-direction: row;
        align-items: center;
    }

    .diagnostic-page .tn-nav__link {
        display: none;
    }

    .dx-start {
        padding: 96px 0 34px;
    }

    .dx-start h1 {
        font-size: clamp(2rem, 10.5vw, 3.35rem);
    }

    .dx-start__meta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dx-intelligence {
        min-height: 390px;
        border-radius: 24px;
    }

    .dx-intelligence::before {
        inset: 26px;
    }

    .dx-intelligence::after {
        inset: 62px;
    }

    .dx-intelligence__core {
        width: 132px;
        height: 132px;
        border-radius: 26px;
    }

    .dx-intelligence__core img {
        width: 86px;
    }

    .dx-intelligence__core span {
        font-size: 0.58rem;
    }

    .dx-signal {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 0.82rem;
    }

    .dx-signal--one { top: 54px; left: 22px; }
    .dx-signal--two { top: 88px; right: 18px; }
    .dx-signal--three { bottom: 112px; left: 20px; }
    .dx-signal--four { top: 24px; left: 42%; }
    .dx-signal--five { right: 22px; bottom: 98px; }

    .dx-scan-card {
        bottom: 18px;
        width: calc(100% - 34px);
        padding: 14px;
    }

    .dx-console {
        min-height: 620px;
        border-radius: 22px;
    }

    .dx-console__top {
        min-height: 66px;
        padding: 14px 16px;
    }

    .diagnostic-page .dx-app {
        padding: 16px;
    }

    .diagnostic-page .dx-message {
        padding: 18px;
    }

    .diagnostic-page .dx-message::before {
        display: none;
    }

    .diagnostic-page .dx-option {
        min-height: 66px;
        padding: 14px 14px 14px 46px;
    }
}

@media (max-width: 380px) {
    .dx-signal {
        font-size: 0.72rem;
    }

    .dx-signal--four {
        left: 37%;
    }

    .dx-scan-card strong {
        font-size: 0.9rem;
    }
}

/* App-style redesign for diagnostic preview */
body.diagnostic-page {
    --dx-bg: #061a2d;
    --dx-panel: rgba(255, 255, 255, 0.92);
    --dx-panel-dark: rgba(6, 35, 62, 0.92);
    --dx-line: rgba(125, 211, 252, 0.24);
    --dx-cyan: #24b8ee;
    --dx-cyan-soft: #8ee7ff;
    --dx-blue: #0b4770;
    --dx-navy: #061a2d;
    background:
        radial-gradient(circle at 18% 8%, rgba(36, 184, 238, 0.26), transparent 25%),
        radial-gradient(circle at 78% 18%, rgba(43, 139, 191, 0.24), transparent 24%),
        linear-gradient(180deg, #061a2d 0%, #07365a 52%, #061a2d 100%);
}

.diagnostic-page .tn-header {
    position: absolute;
    background: transparent;
    border: 0;
    backdrop-filter: none;
}

.diagnostic-page .tn-nav {
    width: min(100% - 28px, 980px);
    min-height: 76px;
}

.diagnostic-page .tn-nav__brand img {
    width: 58px;
    border-radius: 12px;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.22));
}

.diagnostic-page .tn-nav__link {
    color: rgba(238, 248, 255, 0.78);
}

.diagnostic-page .tn-nav__link:hover {
    color: #ffffff;
}

.diagnostic-page .tn-button {
    border-radius: 16px;
    background: linear-gradient(135deg, #49d2ff, #16a8df);
}

.diagnostic-page .tn-button--small {
    min-height: 40px;
    padding: 9px 14px;
}

.diagnostic-page .dx-start {
    min-height: 100svh;
    padding: 92px 14px 26px;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.diagnostic-page .dx-start::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(125, 211, 252, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 86%);
}

.diagnostic-page .dx-start::after {
    content: "";
    position: absolute;
    inset: -18%;
    pointer-events: none;
    background:
        conic-gradient(from 180deg at 50% 50%, transparent 0 12%, rgba(36, 184, 238, 0.18) 18%, transparent 26% 58%, rgba(142, 231, 255, 0.12) 66%, transparent 74%),
        radial-gradient(circle at center, transparent 0 48%, rgba(36, 184, 238, 0.08) 49%, transparent 54%);
    filter: blur(18px);
    animation: dxAuroraSpin 20s linear infinite;
    opacity: 0.72;
}

.dx-app-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.dx-app-bg span {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #67e8f9;
    box-shadow: 0 0 0 8px rgba(103, 232, 249, 0.1), 0 0 28px rgba(103, 232, 249, 0.66);
    animation: dxAppParticle 8s ease-in-out infinite;
}

.dx-app-bg span:nth-child(1) { top: 18%; left: 10%; }
.dx-app-bg span:nth-child(2) { top: 30%; right: 12%; animation-delay: -2s; }
.dx-app-bg span:nth-child(3) { bottom: 18%; left: 28%; animation-delay: -4.2s; }
.dx-app-bg span:nth-child(4) { bottom: 28%; right: 24%; animation-delay: -6s; }

.dx-intro-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 14px;
    border: 1px solid rgba(142, 231, 255, 0.26);
    border-radius: 30px;
    background:
        linear-gradient(160deg, rgba(36, 184, 238, 0.17), rgba(43, 139, 191, 0.1)),
        linear-gradient(180deg, #082a46 0%, #06456d 58%, #06243d 100%);
    box-shadow: 0 30px 90px rgba(2, 18, 31, 0.42);
    backdrop-filter: blur(22px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dx-intro-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(142, 231, 255, 0.17), transparent),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 9px);
    transform: translateY(-100%);
    animation: dxScanner 5.8s ease-in-out infinite;
    mix-blend-mode: screen;
}

.dx-intro-shell::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 29px;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(142, 231, 255, 0.34), transparent 28%, transparent 72%, rgba(36, 184, 238, 0.24));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    padding: 1px;
}

.dx-orbital-map {
    position: absolute;
    right: -52px;
    top: -48px;
    width: 176px;
    height: 176px;
    border: 1px solid rgba(142, 231, 255, 0.18);
    border-radius: 50%;
    opacity: 0.8;
    animation: dxOrbitRotate 18s linear infinite;
}

.dx-orbital-map::before,
.dx-orbital-map::after,
.dx-orbital-map i {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.dx-orbital-map::before {
    inset: 34px;
    border: 1px dashed rgba(142, 231, 255, 0.22);
}

.dx-orbital-map::after {
    width: 11px;
    height: 11px;
    top: 28px;
    left: 50%;
    background: var(--dx-cyan-soft);
    box-shadow: 0 0 24px rgba(142, 231, 255, 0.7);
}

.dx-orbital-map i:nth-child(1) {
    width: 7px;
    height: 7px;
    left: 26px;
    bottom: 42px;
    background: var(--dx-cyan);
}

.dx-orbital-map i:nth-child(2) {
    width: 5px;
    height: 5px;
    right: 28px;
    bottom: 58px;
    background: #ffffff;
}

.dx-orbital-map i:nth-child(3) {
    width: 8px;
    height: 8px;
    left: 70px;
    top: 68px;
    background: rgba(142, 231, 255, 0.8);
}

.dx-intro-top {
    order: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 9px;
    align-items: center;
    min-height: 42px;
    padding: 0 4px 12px;
    color: #ffffff;
}

.dx-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.13), 0 0 22px rgba(34, 197, 94, 0.52);
}

.dx-intro-top strong {
    font-size: 0.95rem;
}

.dx-intro-top em {
    padding: 7px 10px;
    border: 1px solid rgba(125, 211, 252, 0.38);
    border-radius: 999px;
    color: #bdefff;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 900;
}

.dx-chat-intro {
    order: 2;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(142, 231, 255, 0.2);
    border-radius: 24px;
    background:
        radial-gradient(circle at 10% 10%, rgba(103, 232, 249, 0.18), transparent 30%),
        radial-gradient(circle at 90% 0%, rgba(43, 139, 191, 0.2), transparent 34%),
        linear-gradient(180deg, rgba(236, 249, 255, 0.98), rgba(215, 240, 253, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 18px 44px rgba(2, 18, 31, 0.14);
    overflow: hidden;
}

.dx-ai-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #061a2d;
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.28), 0 0 0 2px rgba(142, 231, 255, 0.28);
    overflow: hidden;
}

.dx-ai-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dx-ai-avatar::after {
    content: "";
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(36, 184, 238, 0.24), transparent 66%);
    z-index: -1;
    animation: dxBreath 2.8s ease-in-out infinite;
}

.dx-chat-intro span {
    display: block;
    margin-bottom: 8px;
    color: #0284c7;
    font-size: 0.74rem;
    font-weight: 950;
    text-transform: uppercase;
}

.dx-chat-intro h1 {
    margin: 0;
    color: #06111c;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.38rem, 7vw, 2.08rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.dx-chat-intro p {
    margin: 14px 0 0;
    color: #42546c;
    font-size: 0.98rem;
    line-height: 1.6;
}

.dx-scan-preview {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(14, 116, 144, 0.14);
}

.dx-scan-preview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 38%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dx-cyan-soft), transparent);
    animation: dxScanLineX 2.8s ease-in-out infinite;
}

.dx-scan-preview i {
    display: block;
    height: 7px;
    border-radius: 999px;
    background: rgba(14, 116, 144, 0.15);
    overflow: hidden;
}

.dx-scan-preview i::before {
    content: "";
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dx-cyan), var(--dx-cyan-soft));
    animation: dxMeterPulse 2.6s ease-in-out infinite;
}

.dx-scan-preview i:nth-child(2)::before {
    width: 70%;
    animation-delay: -0.4s;
}

.dx-scan-preview i:nth-child(3)::before {
    width: 58%;
    animation-delay: -0.8s;
}

.dx-scan-preview i:nth-child(4)::before {
    width: 84%;
    animation-delay: -1.2s;
}

.dx-intro-stats {
    order: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.dx-intro-stats div {
    position: relative;
    min-height: 92px;
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: 1fr auto;
    column-gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 16% 18%, rgba(142, 231, 255, 0.22), transparent 34%),
        linear-gradient(180deg, rgba(12, 77, 121, 0.38), rgba(7, 54, 90, 0.22));
    color: #ffffff;
    overflow: hidden;
}

.dx-intro-stats div::before {
    content: "";
    position: absolute;
    inset: auto 12px 12px 12px;
    height: 3px;
    border-radius: 999px;
    background: rgba(142, 231, 255, 0.18);
}

.dx-stat-icon {
    grid-row: 1 / -1;
    position: relative;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(36, 184, 238, 0.24), rgba(142, 231, 255, 0.08));
    box-shadow: inset 0 0 0 1px rgba(142, 231, 255, 0.2), 0 16px 30px rgba(2, 18, 31, 0.16);
}

.dx-stat-icon::before {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 950;
    line-height: 1;
    text-shadow: 0 0 18px rgba(142, 231, 255, 0.65);
}

.dx-intro-stat--questions .dx-stat-icon::before {
    content: "?";
    animation: dxQuestionPop 2.4s ease-in-out infinite;
}

.dx-intro-stat--time .dx-stat-icon::before {
    content: "";
    width: 24px;
    height: 24px;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.dx-intro-stat--result .dx-stat-icon::before {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: linear-gradient(135deg, #67e8f9, #34d399);
    clip-path: polygon(14% 52%, 38% 76%, 86% 22%, 100% 36%, 39% 94%, 0 62%);
}

.dx-intro-stats div i {
    position: absolute;
    display: block;
    background: rgba(142, 231, 255, 0.8);
}

.dx-intro-stat--questions .dx-stat-icon i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: dxTinyOrbit 3.2s ease-in-out infinite;
}

.dx-intro-stat--questions .dx-stat-icon i:nth-child(1) { top: 9px; left: 10px; }
.dx-intro-stat--questions .dx-stat-icon i:nth-child(2) { right: 8px; top: 18px; animation-delay: -0.8s; }
.dx-intro-stat--questions .dx-stat-icon i:nth-child(3) { left: 19px; bottom: 8px; animation-delay: -1.6s; }

.dx-intro-stat--time .dx-stat-icon i {
    left: 50%;
    top: 50%;
    width: 2px;
    height: 12px;
    border-radius: 999px;
    transform-origin: 50% 100%;
    animation: dxClockHand 2.6s linear infinite;
}

.dx-intro-stat--time .dx-stat-icon i:nth-child(2) {
    height: 9px;
    background: #34d399;
    animation-duration: 15.6s;
}

.dx-intro-stat--result .dx-stat-icon i {
    bottom: 10px;
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #67e8f9, #34d399);
    animation: dxResultBars 2.3s ease-in-out infinite;
}

.dx-intro-stat--result .dx-stat-icon i:nth-child(1) { left: 12px; height: 12px; }
.dx-intro-stat--result .dx-stat-icon i:nth-child(2) { left: 21px; height: 20px; animation-delay: -0.35s; }
.dx-intro-stat--result .dx-stat-icon i:nth-child(3) { left: 30px; height: 28px; animation-delay: -0.7s; }

.dx-intro-stats div > i::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    background: rgba(142, 231, 255, 0.55);
    animation: dxStatus 2s ease-in-out infinite;
}

.dx-intro-stats strong {
    display: block;
    color: #67e8f9;
    font-size: 1.28rem;
    line-height: 1;
}

.dx-intro-stats div > span:not(.dx-stat-icon) {
    display: block;
    margin-top: 6px;
    color: rgba(238, 248, 255, 0.76);
    font-size: 0.76rem;
    font-weight: 800;
}

.dx-intro-benefits {
    order: 4;
    display: grid;
    gap: 8px;
    margin-top: 10px;
    position: relative;
}

.dx-intro-benefits::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 22px;
    bottom: 22px;
    width: 1px;
    background: linear-gradient(180deg, rgba(142, 231, 255, 0.1), rgba(142, 231, 255, 0.48), rgba(142, 231, 255, 0.1));
}

.dx-intro-benefits article {
    position: relative;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(9, 68, 111, 0.38), rgba(6, 49, 82, 0.2));
}

.dx-intro-benefits span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 11px;
    background: rgba(103, 232, 249, 0.16);
    color: #67e8f9;
    font-size: 0.72rem;
    font-weight: 950;
}

.dx-intro-benefits p {
    margin: 0;
    color: rgba(238, 248, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.45;
}

.dx-intro-actions {
    order: 5;
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.dx-intro-actions .tn-button {
    width: 100%;
}

.dx-intro-actions .tn-button--secondary {
    background: rgba(7, 48, 82, 0.68);
    color: #ffffff;
    border-color: rgba(125, 211, 252, 0.32);
}

.diagnostic-page .dx-benefits,
.diagnostic-page .dx-start__grid,
.diagnostic-page .dx-intelligence,
.diagnostic-page .dx-start__copy {
    display: none;
}

.diagnostic-page.dx-active .dx-start {
    display: none;
}

.diagnostic-page.dx-active .tn-header,
.diagnostic-page.dx-active .footer {
    display: none;
}

.diagnostic-page.dx-active .dx-panel-section {
    min-height: 100svh;
}

.diagnostic-page .dx-panel-section {
    background: var(--dx-bg);
}

.diagnostic-page .dx-console {
    max-width: 980px;
    min-height: 0;
    border-color: rgba(125, 211, 252, 0.24);
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 0%, rgba(36, 184, 238, 0.11), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(239, 249, 255, 0.99));
    box-shadow: 0 30px 90px rgba(2, 18, 31, 0.34);
}

.diagnostic-page .dx-console[data-step="processing"],
.diagnostic-page .dx-console[data-step="result"] {
    background:
        radial-gradient(circle at 14% 0%, rgba(36, 184, 238, 0.16), transparent 34%),
        radial-gradient(circle at 92% 16%, rgba(34, 197, 94, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(244, 251, 255, 0.99), rgba(229, 246, 255, 0.99));
}

.diagnostic-page .dx-console__top {
    min-height: 66px;
    padding: 14px 18px;
}

.diagnostic-page .dx-console[data-step="result"] .dx-console__status i {
    background: var(--dx-cyan);
    box-shadow: 0 0 0 7px rgba(36, 184, 238, 0.13), 0 0 24px rgba(36, 184, 238, 0.55);
}

.diagnostic-page .dx-message {
    border-radius: 22px;
}

@keyframes dxAppParticle {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.52;
    }
    50% {
        transform: translate3d(18px, -22px, 0) scale(1.28);
        opacity: 1;
    }
}

@keyframes dxScanner {
    0%, 18% {
        transform: translateY(-120%);
        opacity: 0;
    }
    35%, 58% {
        opacity: 0.9;
    }
    82%, 100% {
        transform: translateY(120%);
        opacity: 0;
    }
}

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

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

@keyframes dxScanLineX {
    0%, 100% {
        transform: translateX(-20%);
        opacity: 0.3;
    }
    50% {
        transform: translateX(170%);
        opacity: 1;
    }
}

@keyframes dxMeterPulse {
    0%, 100% {
        transform: translateX(-8%);
        opacity: 0.68;
    }
    50% {
        transform: translateX(8%);
        opacity: 1;
    }
}

@keyframes dxQuestionPop {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    45% {
        transform: translateY(-4px) scale(1.08);
    }
}

@keyframes dxTinyOrbit {
    0%, 100% {
        opacity: 0.35;
        transform: translate3d(0, 0, 0) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translate3d(3px, -4px, 0) scale(1.15);
    }
}

@keyframes dxClockHand {
    from {
        transform: translate(-50%, -100%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -100%) rotate(360deg);
    }
}

@keyframes dxResultBars {
    0%, 100% {
        transform: scaleY(0.72);
        opacity: 0.72;
    }
    50% {
        transform: scaleY(1.12);
        opacity: 1;
    }
}

@keyframes dxAssistantPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(103, 232, 249, 0));
    }
    50% {
        transform: scale(1.035);
        filter: drop-shadow(0 0 16px rgba(103, 232, 249, 0.45));
    }
}

@keyframes dxAssistantGlow {
    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(103, 232, 249, 0));
    }
    50% {
        filter: drop-shadow(0 0 14px rgba(103, 232, 249, 0.45));
    }
}

@keyframes dxWidgetAura {
    0%, 100% {
        opacity: 0.42;
        transform: scale(0.98);
    }
    50% {
        opacity: 0.82;
        transform: scale(1.04);
    }
}

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

@keyframes dxProcessingBar {
    0%, 100% {
        transform: translateX(-48%) scaleX(0.42);
        opacity: 0.56;
    }
    50% {
        transform: translateX(48%) scaleX(1);
        opacity: 1;
    }
}

@keyframes dxResultSweep {
    0%, 16% {
        transform: translateX(-120%);
        opacity: 0;
    }
    34%, 56% {
        opacity: 0.8;
    }
    86%, 100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes dxResultIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (min-width: 860px) {
    .diagnostic-page .dx-start {
        padding-top: 104px;
    }

    .dx-intro-shell {
        width: min(100%, 680px);
        padding: 18px;
    }

    .dx-chat-intro {
        grid-template-columns: 52px 1fr;
        padding: 28px;
    }

    .dx-ai-avatar {
        width: 52px;
        height: 52px;
        border-radius: 50%;
    }

    .dx-chat-intro h1 {
        font-size: 2.4rem;
    }

    .dx-intro-actions {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .diagnostic-page .tn-nav {
        width: min(100% - 24px, 980px);
    }

    .diagnostic-page .tn-nav__brand img {
        width: 54px;
    }

    .diagnostic-page .tn-nav__menu {
        display: flex;
        position: static;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .diagnostic-page .tn-button--small {
        width: auto;
        min-height: 38px;
        padding: 8px 12px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .diagnostic-page .dx-start {
        padding: 78px 10px 18px;
        align-items: start;
    }

    .dx-intro-shell {
        border-radius: 24px;
    }

    .dx-chat-intro {
        padding: 16px;
        border-radius: 20px;
    }

    .dx-chat-intro h1 {
        font-size: clamp(1.28rem, 7.8vw, 1.82rem);
        line-height: 1.05;
    }

    .dx-chat-intro p {
        font-size: 0.92rem;
        line-height: 1.52;
    }

    .dx-intro-stats {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .dx-intro-stats div {
        min-height: 104px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        justify-items: center;
        gap: 5px;
        padding: 10px 8px;
        text-align: center;
    }

    .dx-stat-icon {
        width: 38px;
        height: 38px;
        border-radius: 14px;
    }

    .dx-intro-stats strong {
        font-size: 1.08rem;
    }

    .dx-intro-actions {
        order: 4;
    }

    .dx-intro-benefits {
        order: 5;
    }

    .dx-intro-actions .tn-button--secondary {
        display: none;
    }

    .dx-intro-benefits article {
        grid-template-columns: 30px 1fr;
        padding: 10px;
    }

    .dx-intro-benefits p {
        font-size: 0.84rem;
    }

    .diagnostic-page .dx-panel-section {
        padding: 10px 0 42px;
        scroll-margin-top: 78px;
    }
}

@media (max-width: 360px) {
    .dx-chat-intro {
        grid-template-columns: 1fr;
    }

    .dx-intro-stats div > span:not(.dx-stat-icon) {
        font-size: 0.68rem;
    }
}

/* Final diagnostic result polish */
.diagnostic-page .dx-console[data-step="processing"] .dx-app,
.diagnostic-page .dx-console[data-step="result"] .dx-app {
    padding: clamp(14px, 3vw, 28px);
}

.diagnostic-page .dx-result-report,
.diagnostic-page .dx-result-grid,
.diagnostic-page .dx-next-step,
.diagnostic-page .dx-actions--result {
    max-width: 920px;
}

@media (max-width: 720px) {
    .diagnostic-page .dx-console[data-step="processing"],
    .diagnostic-page .dx-console[data-step="result"] {
        max-width: calc(100vw - 20px);
        border-radius: 24px;
    }

    .diagnostic-page .dx-result-hero {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .diagnostic-page .dx-score-orb {
        width: 122px;
        height: 122px;
        justify-self: start;
    }

    .diagnostic-page .dx-score-orb span {
        font-size: 2.2rem;
    }

    .diagnostic-page .dx-result-metrics,
    .diagnostic-page .dx-result-grid,
    .diagnostic-page .dx-processing__steps {
        grid-template-columns: 1fr;
    }

    .diagnostic-page .dx-processing {
        min-height: calc(100svh - 130px);
        border-radius: 22px;
    }

    .diagnostic-page .dx-actions--result .tn-button,
    .diagnostic-page .dx-actions--result .tn-button--secondary {
        width: 100%;
    }
}
