﻿:root {
        color-scheme: dark;
        --bg: #020812;
        --panel: rgba(9, 24, 38, 0.88);
        --panel-soft: rgba(12, 34, 50, 0.68);
        --line: rgba(108, 194, 255, 0.22);
        --line-strong: rgba(8, 205, 253, 0.72);
        --text: #f5f8fb;
        --muted: #9aabba;
        --cyan: #08cdfd;
        --blue: #168cff;
        --green: #65f074;
        --amber: #ffb428;
        --red: #ff5c65;
        --radius: 8px;
        --shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
        --font: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
      }

      * {
        box-sizing: border-box;
      }

      html {
        overflow-x: hidden;
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        min-width: 320px;
        min-height: 100vh;
        overflow-x: hidden;
        color: var(--text);
        font-family: var(--font);
        background:
          radial-gradient(circle at 50% 0%, rgba(14, 188, 255, 0.14), transparent 42%),
          linear-gradient(180deg, #020913, #03101c 47%, #020912);
      }

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

      button,
      input,
      select {
        font: inherit;
      }

      button {
        color: inherit;
        cursor: pointer;
      }

      .grid-bg {
        position: fixed;
        inset: 0;
        z-index: -1;
        background:
          linear-gradient(90deg, rgba(7, 166, 255, 0.04) 1px, transparent 1px) 50% 0 / 72px 72px,
          linear-gradient(180deg, rgba(7, 166, 255, 0.035) 1px, transparent 1px) 50% 0 / 72px 72px;
        pointer-events: none;
      }

      .topbar {
        position: sticky;
        top: 0;
        z-index: 20;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        min-height: 58px;
        padding: 0 22px;
        border-bottom: 1px solid rgba(128, 193, 255, 0.16);
        background: rgba(1, 8, 16, 0.86);
        backdrop-filter: blur(18px);
      }

      .brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 19px;
        font-weight: 850;
      }

      .brand img {
        width: 32px;
        height: 32px;
        border-radius: 7px;
      }

      .topbar nav {
        display: flex;
        justify-content: center;
        gap: clamp(16px, 3vw, 42px);
        color: #dfeaf3;
        font-size: 15px;
      }

      .topbar nav a:hover {
        color: #fff;
        text-shadow: 0 0 18px rgba(8, 205, 253, 0.45);
      }

      .diagnosis-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 0 14px;
        border: 1px solid rgba(40, 170, 255, 0.72);
        border-radius: var(--radius);
        background: linear-gradient(180deg, rgba(16, 50, 78, 0.76), rgba(4, 18, 33, 0.76));
        font-weight: 800;
      }

      .page {
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 24px 48px;
      }

      .hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 390px;
        gap: 28px;
        align-items: stretch;
        padding: 44px 0 18px;
      }

      .eyebrow,
      .section-kicker {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        min-height: 30px;
        padding: 0 11px;
        border: 1px solid rgba(8, 205, 253, 0.44);
        border-radius: 6px;
        background: rgba(8, 205, 253, 0.08);
        color: var(--cyan);
        font-size: 13px;
        font-weight: 850;
      }

      h1 {
        max-width: 940px;
        margin: 14px 0 12px;
        font-size: clamp(42px, 5.2vw, 76px);
        line-height: 1.04;
        letter-spacing: 0;
      }

      .hero p,
      .section-head p {
        max-width: 780px;
        margin: 0;
        color: #d9e7f2;
        font-size: clamp(17px, 1.6vw, 21px);
        line-height: 1.58;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 24px;
      }

      .primary,
      .secondary,
      .action-btn,
      .service-card {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        border-radius: var(--radius);
        font-weight: 850;
      }

      .primary {
        min-width: 230px;
        padding: 0 20px;
        border: 1px solid rgba(79, 203, 255, 0.78);
        background: linear-gradient(90deg, #11c3ff, #0b6eff);
        color: #fff;
        box-shadow: 0 13px 34px rgba(0, 112, 255, 0.32), inset 0 1px rgba(255, 255, 255, 0.28);
      }

      .secondary,
      .action-btn {
        padding: 0 18px;
        border: 1px solid rgba(130, 193, 255, 0.26);
        background: rgba(8, 19, 31, 0.82);
        color: #edf6ff;
      }

      .trust-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 18px;
      }

      .trust-row span {
        min-height: 34px;
        padding: 8px 10px;
        border: 1px solid rgba(140, 199, 255, 0.13);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.035);
        color: #c8d8e4;
        font-size: 13px;
      }

      .hero-panel,
      .method-strip,
      .workbench,
      .card,
      .report,
      .section {
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: linear-gradient(180deg, rgba(16, 37, 52, 0.84), rgba(4, 15, 25, 0.88));
        box-shadow: inset 0 0 36px rgba(23, 166, 255, 0.05), var(--shadow);
      }

      .hero-panel {
        display: grid;
        align-content: start;
        gap: 16px;
        padding: 18px;
      }

      .mini-label {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        color: var(--muted);
        font-size: 13px;
      }

      .mini-score {
        display: flex;
        align-items: flex-end;
        gap: 8px;
      }

      .mini-score strong {
        font-size: 74px;
        line-height: 0.9;
      }

      .mini-score small {
        color: var(--muted);
        font-size: 20px;
      }

      .mini-list {
        display: grid;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
      }

      .mini-list li {
        padding: 10px;
        border: 1px solid rgba(140, 199, 255, 0.12);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.035);
        color: #d9e7f2;
      }

      .method-strip {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        margin: 0 0 16px;
        overflow: hidden;
      }

      .method-strip div {
        min-height: 86px;
        padding: 15px;
        border-right: 1px solid rgba(140, 199, 255, 0.12);
      }

      .method-strip div:last-child {
        border-right: 0;
      }

      .method-strip strong {
        display: block;
        margin-bottom: 6px;
        color: #fff;
      }

      .method-strip small {
        color: var(--muted);
        line-height: 1.4;
      }

      .workbench {
        display: grid;
        grid-template-columns: 280px minmax(0, 1fr) 400px;
        gap: 16px;
        align-items: start;
        padding: 16px;
      }

      .rail,
      .form-card,
      .report {
        min-width: 0;
      }

      .rail,
      .report {
        position: sticky;
        top: 76px;
      }

      .rail-block {
        padding: 14px;
        border-bottom: 1px solid rgba(140, 199, 255, 0.12);
      }

      .rail-block:last-child {
        border-bottom: 0;
      }

      .rail h3,
      .report h3 {
        margin: 0 0 10px;
        font-size: 15px;
      }

      .step-list {
        display: grid;
        gap: 8px;
      }

      .step-btn {
        display: grid;
        grid-template-columns: 30px 1fr;
        gap: 4px 10px;
        align-items: center;
        width: 100%;
        min-height: 62px;
        padding: 10px;
        border: 1px solid rgba(140, 199, 255, 0.13);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.03);
        color: #dce8f2;
        text-align: left;
      }

      .step-btn.is-active {
        border-color: var(--line-strong);
        background: rgba(8, 205, 253, 0.08);
      }

      .step-btn span {
        display: grid;
        grid-row: span 2;
        place-items: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(151, 195, 229, 0.14);
        color: var(--cyan);
        font-weight: 900;
      }

      .step-btn small {
        color: var(--muted);
        font-size: 12px;
      }

      .rule-list {
        display: grid;
        gap: 8px;
        margin: 0;
        padding-left: 18px;
        color: #dce8f2;
        font-size: 13px;
        line-height: 1.45;
      }

      .event-list {
        display: grid;
        gap: 8px;
      }

      .event-list div {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(140, 199, 255, 0.1);
        color: #dce8f2;
        font-size: 13px;
      }

      .event-list small {
        color: var(--muted);
      }

      .form-card {
        padding: 20px;
      }

      .form-head {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 18px;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(140, 199, 255, 0.12);
      }

      .form-head small {
        color: var(--green);
        font-weight: 850;
      }

      .form-head h2 {
        margin: 6px 0 7px;
        font-size: clamp(24px, 2.2vw, 34px);
        line-height: 1.12;
      }

      .form-head p {
        max-width: 680px;
        margin: 0;
        color: var(--muted);
        line-height: 1.55;
      }

      .result-pill {
        align-self: flex-start;
        min-height: 34px;
        padding: 8px 11px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 900;
        white-space: nowrap;
      }

      .tone-green {
        color: #8dff99;
        background: rgba(24, 112, 56, 0.58);
      }

      .tone-amber {
        color: #ffd05d;
        background: rgba(114, 78, 15, 0.62);
      }

      .tone-red {
        color: #ff8e96;
        background: rgba(122, 28, 37, 0.62);
      }

      .fields {
        display: grid;
        gap: 16px;
      }

      .field {
        display: grid;
        gap: 9px;
      }

      .field > span {
        color: #e7f1f8;
        font-size: 14px;
        font-weight: 850;
      }

      .field input {
        width: 100%;
        min-height: 44px;
        padding: 0 12px;
        border: 1px solid rgba(140, 199, 255, 0.18);
        border-radius: 6px;
        outline: none;
        background: rgba(0, 0, 0, 0.18);
        color: #f5f8fb;
      }

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

      .option {
        min-height: 42px;
        padding: 8px 10px;
        border: 1px solid rgba(140, 199, 255, 0.16);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.035);
        color: #d9e7f2;
        font-weight: 750;
      }

      .option.is-selected {
        border-color: var(--line-strong);
        background: rgba(8, 205, 253, 0.1);
        color: #fff;
      }

      .toggle-grid {
        display: grid;
        gap: 12px;
      }

      .toggle {
        display: grid;
        grid-template-columns: 46px 1fr;
        gap: 12px;
        align-items: center;
        min-height: 76px;
        padding: 14px;
        border: 1px solid rgba(140, 199, 255, 0.14);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.03);
        text-align: left;
      }

      .switch {
        position: relative;
        width: 42px;
        height: 24px;
        border-radius: 999px;
        background: rgba(151, 195, 229, 0.18);
      }

      .switch::after {
        content: "";
        position: absolute;
        left: 3px;
        top: 3px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #c9d8e3;
      }

      .toggle.is-on {
        border-color: rgba(255, 180, 40, 0.38);
        background: rgba(255, 180, 40, 0.055);
      }

      .toggle.is-on .switch {
        background: rgba(255, 180, 40, 0.35);
      }

      .toggle.is-on .switch::after {
        transform: translateX(18px);
        background: var(--amber);
      }

      .toggle strong {
        display: block;
        margin-bottom: 4px;
      }

      .toggle small {
        color: var(--muted);
        line-height: 1.4;
      }

      .note-box,
      .plan-list div {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 10px;
        align-items: start;
        padding: 12px;
        border: 1px solid rgba(101, 240, 116, 0.22);
        border-radius: 6px;
        background: rgba(101, 240, 116, 0.055);
        color: #dce8f2;
        line-height: 1.45;
      }

      .plan-list {
        display: grid;
        gap: 10px;
      }

      .form-actions {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid rgba(140, 199, 255, 0.12);
      }

      .form-actions button {
        min-width: 128px;
        padding: 0 18px;
      }

      .report {
        padding: 16px;
      }

      .report-top {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 16px;
      }

      .report-top small {
        color: var(--green);
        font-weight: 850;
      }

      .report-top h2 {
        margin: 6px 0 0;
        font-size: 22px;
        line-height: 1.18;
      }

      .score-ring {
        --score: 72%;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        width: 104px;
        height: 104px;
        border-radius: 50%;
        background:
          radial-gradient(circle at center, rgba(5, 18, 30, 1) 0 58%, transparent 59%),
          conic-gradient(var(--cyan) 0 var(--score), rgba(92, 116, 132, 0.25) var(--score) 100%);
        box-shadow: 0 0 24px rgba(8, 205, 253, 0.18);
      }

      .score-ring strong {
        margin-top: 8px;
        font-size: 38px;
        line-height: 1;
      }

      .score-ring span {
        margin-top: -24px;
        color: var(--muted);
        font-size: 13px;
      }

      .report-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 0 0 16px;
        border: 1px solid rgba(140, 199, 255, 0.12);
        border-radius: 6px;
        overflow: hidden;
      }

      .report-stats div {
        padding: 10px;
        border-right: 1px solid rgba(140, 199, 255, 0.12);
      }

      .report-stats div:last-child {
        border-right: 0;
      }

      .report-stats dt {
        color: var(--muted);
        font-size: 12px;
      }

      .report-stats dd {
        margin: 5px 0 0;
        color: #f8fbff;
        font-size: 13px;
        font-weight: 850;
      }

      .report-section {
        padding: 13px 0;
        border-top: 1px solid rgba(140, 199, 255, 0.12);
      }

      .report-section p,
      .report-section li {
        color: #d9e7f2;
        font-size: 14px;
        line-height: 1.5;
      }

      .report-section p {
        margin: 8px 0;
      }

      .report-section .warn {
        color: #ffd98b;
      }

      .report-buttons {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding-top: 14px;
        border-top: 1px solid rgba(140, 199, 255, 0.12);
      }

      .next-action-panel {
        margin-top: 16px;
        padding: 14px;
        border: 1px solid rgba(8, 205, 253, 0.22);
        border-radius: 8px;
        background: rgba(5, 18, 31, 0.68);
      }

      .next-action-panel h3 {
        margin: 0 0 10px;
        color: #f4fbff;
        font-size: 15px;
      }

      .next-action-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }

      .next-action-card {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        align-items: center;
        min-height: 64px;
        padding: 12px;
        border: 1px solid rgba(122, 196, 255, 0.18);
        border-radius: 7px;
        background: rgba(255, 255, 255, 0.04);
        color: inherit;
        text-decoration: none;
      }

      .next-action-card strong,
      .next-action-card small {
        display: block;
      }

      .next-action-card strong {
        color: var(--cyan);
        font-size: 14px;
      }

      .next-action-card small {
        margin-top: 4px;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.45;
      }

      .next-action-card b {
        color: var(--cyan);
        font-size: 18px;
      }

      .section {
        margin-top: 16px;
        padding: 26px;
      }

      .section h2 {
        margin: 8px 0 10px;
        font-size: clamp(26px, 3vw, 38px);
        line-height: 1.16;
      }

      .case-grid,
      .service-grid,
      .faq-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 20px;
      }

      .case-card,
      .service-card,
      .faq-card {
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 156px;
        padding: 18px;
        border: 1px solid rgba(140, 199, 255, 0.15);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.03);
      }

      .case-card h3,
      .service-card h3 {
        margin: 0 0 10px;
      }

      .case-card p,
      .service-card p,
      .faq-card p {
        margin: 0;
        color: var(--muted);
        line-height: 1.55;
      }

      .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .faq-card {
        min-height: auto;
      }

      .faq-card h3 {
        margin: 0 0 8px;
        font-size: 17px;
      }

      /* Product Design direction: decision cockpit first viewport. */
      .topbar {
        min-height: 70px;
        padding: 0 28px;
      }

      .brand {
        font-size: 24px;
      }

      .brand img {
        width: 42px;
        height: 42px;
      }

      .topbar nav a {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 70px;
        font-size: 17px;
        font-weight: 850;
      }

      .topbar nav a.is-active {
        color: var(--cyan);
      }

      .topbar nav a.is-active::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 58px;
        height: 2px;
        transform: translateX(-50%);
        background: linear-gradient(90deg, transparent, var(--blue), transparent);
      }

      .diagnosis-link {
        min-height: 44px;
        padding: 0 18px;
        background: linear-gradient(180deg, #147bff, #075bea);
        box-shadow: 0 12px 26px rgba(0, 100, 255, 0.28);
      }

      .page {
        max-width: 1488px;
        padding: 0 18px 34px;
      }

      .hero {
        position: relative;
        display: block;
        min-height: 234px;
        padding: 32px 20px 14px;
        text-align: center;
      }

      .hero::before,
      .hero::after {
        content: attr(data-label);
        position: absolute;
        top: 58px;
        width: 230px;
        min-height: 110px;
        border-top: 1px solid rgba(8, 205, 253, 0.26);
        color: rgba(8, 205, 253, 0.42);
        font-size: 11px;
        letter-spacing: 0;
        text-align: left;
        pointer-events: none;
      }

      .hero::before {
        content: "DECISION COCKPIT";
        left: 12px;
      }

      .hero::after {
        content: "DATA DRIVEN";
        right: 12px;
        text-align: right;
      }

      .eyebrow {
        display: none;
      }

      h1 {
        max-width: 980px;
        margin: 0 auto 14px;
        font-size: clamp(38px, 4.2vw, 58px);
        line-height: 1.1;
        text-wrap: balance;
      }

      h1 .accent {
        color: var(--cyan);
        text-shadow: 0 0 28px rgba(8, 205, 253, 0.32);
      }

      .title-line {
        display: inline;
      }

      .title-line + .title-line::before {
        content: " ";
      }

      .hero p {
        max-width: 680px;
        margin: 0 auto;
        color: #dce8f2;
        font-size: clamp(19px, 1.7vw, 24px);
      }

      .hero-actions {
        justify-content: center;
        margin-top: 20px;
      }

      .hero-actions .secondary,
      .trust-row {
        display: none;
      }

      .hero .primary {
        min-width: 360px;
        min-height: 64px;
        font-size: 24px;
        box-shadow: 0 18px 44px rgba(0, 100, 255, 0.38), inset 0 1px rgba(255, 255, 255, 0.34);
      }

      .workbench {
        grid-template-columns: 298px minmax(0, 1fr) 535px;
        gap: 12px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
      }

      .rail,
      .form-card,
      .report {
        border: 1px solid rgba(108, 194, 255, 0.26);
        border-radius: 8px;
        background: linear-gradient(180deg, rgba(13, 31, 48, 0.92), rgba(4, 16, 27, 0.94));
        box-shadow: inset 0 0 38px rgba(23, 166, 255, 0.06);
      }

      .rail,
      .report {
        position: static;
      }

      .rail {
        min-height: 590px;
        padding: 18px 16px;
      }

      .rail-block {
        padding: 0;
        border: 0;
      }

      .rail-block + .rail-block {
        margin-top: 18px;
        padding-top: 16px;
        border-top: 1px solid rgba(140, 199, 255, 0.12);
      }

      .rail h3 {
        display: none;
      }

      .step-list {
        position: relative;
        gap: 18px;
      }

      .step-list::before {
        content: "";
        position: absolute;
        left: 29px;
        top: 32px;
        bottom: 32px;
        width: 2px;
        background: linear-gradient(180deg, rgba(26, 122, 255, 0.9), rgba(151, 195, 229, 0.28));
      }

      .step-btn {
        position: relative;
        grid-template-columns: 58px 1fr;
        min-height: 82px;
        padding: 10px 10px 10px 0;
        border-color: transparent;
        background: transparent;
      }

      .step-btn.is-active {
        border-color: rgba(26, 122, 255, 0.72);
        background: linear-gradient(90deg, rgba(12, 98, 225, 0.28), rgba(4, 22, 37, 0.12));
        box-shadow: inset 4px 0 0 var(--blue);
      }

      .step-btn span {
        z-index: 1;
        width: 44px;
        height: 44px;
        margin-left: 8px;
        background: #56606b;
        color: #fff;
        font-size: 20px;
        box-shadow: 0 0 0 5px rgba(4, 16, 27, 0.96);
      }

      .step-btn.is-active span {
        background: linear-gradient(180deg, #158cff, #075bea);
        box-shadow: 0 0 0 5px rgba(4, 16, 27, 0.96), 0 0 24px rgba(22, 140, 255, 0.6);
      }

      .step-btn strong {
        color: #f5f8fb;
        font-size: 20px;
      }

      .step-btn small {
        margin-top: 4px;
        font-size: 13px;
      }

      .form-card {
        min-height: 590px;
        padding: 24px 24px 20px;
      }

      .form-head {
        align-items: start;
        margin-bottom: 18px;
        padding-bottom: 14px;
      }

      .form-head small {
        color: #dfeaf3;
        font-size: 23px;
      }

      .form-head h2 {
        display: block;
        margin: 6px 0 0;
        color: #eef6ff;
        font-size: 20px;
      }

      .form-head p {
        margin-top: 8px;
        font-size: 14px;
      }

      .result-pill {
        border: 1px solid rgba(101, 240, 116, 0.32);
        border-radius: 6px;
      }

      .field > span {
        font-size: 16px;
      }

      .options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
      }

      .option {
        position: relative;
        justify-content: flex-start;
        min-height: 46px;
        padding-left: 38px;
        text-align: left;
      }

      .option::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 50%;
        width: 15px;
        height: 15px;
        transform: translateY(-50%);
        border: 1px solid rgba(140, 199, 255, 0.38);
        border-radius: 3px;
        background: rgba(5, 18, 30, 0.9);
      }

      .option.is-selected {
        border-color: rgba(22, 140, 255, 0.86);
        background: linear-gradient(180deg, rgba(22, 140, 255, 0.38), rgba(8, 64, 145, 0.54));
      }

      .option.is-selected::before {
        border-color: rgba(79, 203, 255, 0.95);
        background: var(--blue);
        box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.14);
      }

      .risk-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
      }

      .toggle {
        grid-template-columns: 1fr 42px;
        min-height: 74px;
        padding: 13px;
      }

      .toggle .switch {
        grid-column: 2;
        grid-row: 1;
      }

      .toggle span:last-child {
        grid-column: 1;
        grid-row: 1;
      }

      .risk-level {
        display: inline-flex;
        width: fit-content;
        margin-top: 8px;
        padding: 3px 8px;
        border: 1px solid rgba(255, 92, 101, 0.58);
        border-radius: 5px;
        color: #ff777f;
        font-size: 12px;
        font-weight: 900;
      }

      .form-actions {
        margin-top: 18px;
      }

      .form-actions .primary {
        min-width: 180px;
      }

      .report {
        min-height: 590px;
        padding: 24px;
      }

      .report-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(140, 199, 255, 0.12);
      }

      .report-title h2 {
        margin: 0;
        font-size: 24px;
      }

      .live-dot {
        color: var(--muted);
        font-size: 13px;
      }

      .live-dot::before {
        content: "";
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-right: 8px;
        border-radius: 50%;
        background: var(--green);
        box-shadow: 0 0 12px rgba(101, 240, 116, 0.54);
      }

      .report-top {
        align-items: center;
        justify-content: flex-start;
        gap: 28px;
        margin: 16px 0 14px;
      }

      .score-ring {
        width: 152px;
        height: 152px;
        background:
          radial-gradient(circle at center, rgba(6, 21, 33, 1) 0 56%, transparent 57%),
          conic-gradient(var(--green) 0 var(--score), rgba(92, 116, 132, 0.25) var(--score) 100%);
      }

      .score-ring strong {
        color: #8dff99;
        font-size: 54px;
      }

      .score-ring span {
        margin-top: -38px;
        font-size: 18px;
      }

      .decision-copy small {
        color: var(--muted);
        font-size: 14px;
      }

      .decision-copy h3 {
        margin: 10px 0 8px;
        color: #78ff86;
        font-size: 28px;
        line-height: 1.15;
      }

      .decision-copy p {
        margin: 0;
        color: #d9e7f2;
        line-height: 1.55;
      }

      .report-stats {
        display: none;
      }

      .report-section h3 {
        color: #f5f8fb;
        font-size: 17px;
      }

      .rule-chip-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      .risk-chip {
        display: inline-flex;
        min-height: 32px;
        align-items: center;
        padding: 0 12px;
        border: 1px solid rgba(255, 92, 101, 0.78);
        border-radius: 6px;
        color: #ff777f;
        font-weight: 900;
        background: rgba(255, 92, 101, 0.06);
      }

      .risk-chip:nth-child(2n) {
        border-color: rgba(255, 180, 40, 0.72);
        color: #ffc24c;
        background: rgba(255, 180, 40, 0.06);
      }

      .reason-list p {
        position: relative;
        padding-left: 24px;
      }

      .reason-list p::before {
        content: "";
        position: absolute;
        left: 0;
        top: 7px;
        width: 14px;
        height: 14px;
        border: 1px solid var(--green);
        border-radius: 50%;
      }

      .report-buttons {
        gap: 14px;
      }

      .method-strip {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0;
        margin: 16px 0 0;
        padding: 0;
        overflow: hidden;
      }

      .metric {
        min-height: 120px;
        padding: 22px 28px;
        border-right: 1px dashed rgba(140, 199, 255, 0.22);
      }

      .metric:last-child {
        border-right: 0;
      }

      .metric-label {
        display: block;
        color: #b9c8d3;
        font-size: 15px;
      }

      .metric-score {
        display: flex;
        align-items: baseline;
        gap: 3px;
        margin: 10px 0 12px;
        color: #f8fbff;
        font-size: 30px;
        font-weight: 900;
      }

      .metric-score small {
        color: var(--muted);
        font-size: 18px;
      }

      .meter {
        display: block;
        height: 8px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(151, 195, 229, 0.28);
      }

      .meter span {
        display: block;
        width: var(--value, 50%);
        height: 100%;
        border-radius: inherit;
        background: var(--meter, var(--blue));
      }

      .metric-blue {
        --meter: #168cff;
      }

      .metric-cyan {
        --meter: #08cdfd;
      }

      .metric-green {
        --meter: #65f074;
      }

      .metric-purple {
        --meter: #a666ff;
      }

      .metric-amber {
        --meter: #ff9f1f;
      }

      .decision-router {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 14px;
        margin-top: 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: linear-gradient(180deg, rgba(14, 32, 50, 0.9), rgba(4, 16, 27, 0.94));
        box-shadow: inset 0 0 38px rgba(23, 166, 255, 0.06);
        overflow: hidden;
      }

      .router-primary,
      .router-checklist {
        position: relative;
        min-width: 0;
        padding: 24px;
      }

      .router-primary::after {
        content: "";
        position: absolute;
        left: 24px;
        right: 24px;
        bottom: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(8, 205, 253, 0.82), transparent);
        animation: scanline 2.8s ease-in-out infinite;
      }

      @keyframes scanline {
        0% {
          transform: translateX(-18%);
          opacity: 0.2;
        }
        50% {
          opacity: 1;
        }
        100% {
          transform: translateX(18%);
          opacity: 0.2;
        }
      }

      .router-kicker {
        display: inline-flex;
        width: fit-content;
        min-height: 28px;
        align-items: center;
        padding: 0 10px;
        border: 1px solid rgba(8, 205, 253, 0.36);
        border-radius: 6px;
        color: var(--cyan);
        font-size: 12px;
        font-weight: 900;
      }

      .router-primary h2,
      .router-checklist h3 {
        margin: 12px 0 10px;
      }

      .router-primary p,
      .router-checklist p {
        margin: 0;
        color: #cbd8e2;
        line-height: 1.6;
      }

      .route-steps {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        margin-top: 20px;
      }

      .route-step {
        min-height: 92px;
        padding: 14px;
        border: 1px solid rgba(140, 199, 255, 0.16);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.03);
      }

      .route-step.is-active {
        border-color: rgba(101, 240, 116, 0.54);
        background: rgba(101, 240, 116, 0.06);
        box-shadow: inset 0 0 24px rgba(101, 240, 116, 0.08);
      }

      .route-step span {
        display: block;
        color: var(--muted);
        font-size: 12px;
        font-weight: 850;
      }

      .route-step strong {
        display: block;
        margin-top: 8px;
        color: #fff;
      }

      .checklist-grid {
        display: grid;
        gap: 10px;
        margin-top: 14px;
      }

      .check-row {
        display: grid;
        grid-template-columns: 96px 1fr;
        gap: 12px;
        align-items: center;
        min-height: 48px;
        padding: 10px 12px;
        border: 1px solid rgba(140, 199, 255, 0.14);
        border-radius: 7px;
        background: rgba(255, 255, 255, 0.025);
      }

      .check-row strong {
        color: #f5f8fb;
        font-size: 14px;
      }

      .check-row span {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.45;
      }

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

        .rail,
        .report {
          position: static;
        }

        .method-strip {
          grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .decision-router {
          grid-template-columns: 1fr;
        }

        .hero::before,
        .hero::after {
          display: none;
        }

        .rail,
        .form-card,
        .report {
          min-height: auto;
        }
      }

      @media (max-width: 760px) {
        html,
        body,
        .page,
        .hero,
        .workbench,
        .rail,
        .form-card,
        .report,
        .method-strip {
          max-width: 100%;
          overflow-x: hidden;
        }

        .topbar {
          grid-template-columns: 1fr;
          gap: 10px;
          padding: 14px;
          overflow: hidden;
        }

        .topbar > *,
        .page > *,
        .hero > *,
        .workbench > *,
        .rail,
        .form-card,
        .report {
          min-width: 0;
        }

        .topbar nav {
          justify-content: flex-start;
          gap: 18px;
          width: 100%;
          max-width: 100%;
          overflow-x: auto;
          padding-bottom: 4px;
        }

        .topbar nav a {
          min-height: 32px;
          white-space: nowrap;
        }

        .topbar nav a.is-active::after {
          bottom: -4px;
        }

        .diagnosis-link {
          justify-self: stretch;
        }

        .page {
          padding: 0 12px 30px;
        }

        .hero {
          min-height: auto;
          padding: 26px 4px 18px;
        }

        h1 {
          width: 100%;
          max-width: 100%;
          font-size: clamp(28px, 7.2vw, 32px);
          overflow-wrap: anywhere;
        }

        .title-line {
          display: block;
        }

        .title-line + .title-line::before {
          content: "";
        }

        .hero-actions,
        .primary,
        .secondary {
          width: 100%;
        }

        .hero .primary {
          min-width: 0;
          min-height: 58px;
          font-size: 22px;
        }

        .method-strip,
        .decision-router,
        .options,
        .report-stats,
        .report-buttons,
        .next-action-grid,
        .case-grid,
        .service-grid,
        .faq-grid {
          grid-template-columns: 1fr;
        }

        .workbench {
          padding: 0;
        }

        .rail,
        .form-card,
        .report {
          padding: 14px;
        }

        .rail {
          padding-bottom: 8px;
        }

        .rail-block:not(:first-child) {
          display: none;
        }

        .form-head,
        .report-top {
          display: grid;
        }

        .form-head p {
          max-width: calc(100vw - 56px);
          overflow-wrap: anywhere;
        }

        .form-actions {
          display: grid;
          grid-template-columns: 1fr;
        }

        .step-list {
          display: flex;
          gap: 8px;
          overflow-x: auto;
          padding-bottom: 4px;
        }

        .step-list::before {
          display: none;
        }

        .step-btn {
          flex: 0 0 60px;
          grid-template-columns: 1fr;
          justify-items: center;
          min-width: 54px;
          text-align: center;
        }

        .step-btn span {
          width: 40px;
          height: 40px;
          margin-left: 0;
        }

        .step-btn span {
          grid-row: auto;
        }

        .step-btn small {
          display: none;
        }

        .score-ring {
          width: 132px;
          height: 132px;
        }

        .decision-copy h3 {
          font-size: 24px;
        }

        .risk-row {
          grid-template-columns: 1fr;
        }

        .metric {
          min-height: 92px;
          padding: 16px;
          border-right: 0;
          border-bottom: 1px dashed rgba(140, 199, 255, 0.2);
        }

        .router-primary,
        .router-checklist {
          padding: 18px 14px;
        }

        .route-steps {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .check-row {
          grid-template-columns: 1fr;
          gap: 4px;
        }
      }

      @media print {
        .topbar,
        .hero,
        .method-strip,
        .decision-router,
        .rail,
        .form-card,
        .section,
        .grid-bg {
          display: none !important;
        }

        body {
          background: #fff;
          color: #111;
        }

        .page,
        .workbench {
          display: block;
          max-width: none;
          margin: 0;
          padding: 0;
        }

        .report {
          border: 0;
          background: #fff;
          box-shadow: none;
          color: #111;
        }
      }
