:root {
    color-scheme: light;
    --bg: #f7f8fc;
    --panel: #ffffff;
    --text: #111827;
    --muted: #64748b;
    --line: #e2e8f0;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #059669;
    --danger: #dc2626;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(129, 140, 248, 0.32), transparent 24%),
        radial-gradient(circle at 82% 8%, rgba(236, 72, 153, 0.20), transparent 18%),
        radial-gradient(circle at 50% 20%, rgba(125, 211, 252, 0.20), transparent 24%),
        linear-gradient(180deg, #f8faff 0%, #eef2ff 18%, #dbeafe 30%, #141b2d 58%, #0f172a 100%);
    color: #f8fafc;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[v-cloak] {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 5vw;
    background: rgba(9, 9, 11, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(1.4);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.brand small {
    display: block;
    color: #71717a;
    font-size: 11px;
}

.brand strong {
    color: #f8fafc;
}

.nav {
    display: flex;
    gap: 14px;
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
}

.nav button,
.link-btn {
    border: none;
    background: transparent;
    color: #a1a1aa;
    cursor: pointer;
}

.nav button:hover,
.link-btn:hover {
    color: #ffffff;
}

.header-actions,
.row-actions,
.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.user-pill {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    font-weight: 500;
}

.btn {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.btn.primary {
    color: #fff;
    background: var(--primary);
}

.btn.primary:hover {
    background: var(--primary-dark);
}

.btn.ghost {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.site-header .btn.ghost {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    padding: 7px 14px;
    border-radius: 8px;
}

.site-header .btn.primary {
    font-size: 12px;
    padding: 7px 14px;
    border-radius: 8px;
}

.btn.large {
    padding: 14px 20px;
    font-size: 16px;
}

.btn.full {
    width: 100%;
}

.landing,
.reports-page {
    padding: 54px 5vw;
}

.landing-v3 {
    position: relative;
}

.landing-v3::before,
.landing-v3::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(90px);
    opacity: 0.22;
}

.landing-v3::before {
    top: 100px;
    right: 4vw;
    width: 320px;
    height: 320px;
    background: rgba(99, 102, 241, 0.35);
}

.landing-v3::after {
    top: 420px;
    left: 2vw;
    width: 260px;
    height: 260px;
    background: rgba(236, 72, 153, 0.18);
}

.landing-v4 {
    padding-top: 0;
}

.landing-v4 .section-v4 {
    position: relative;
}

.landing-v4 .section-v4::before {
    content: "";
    position: absolute;
    left: 0;
    top: -10px;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, rgba(129, 140, 248, 0.65), transparent);
}

.landing-v4 .section-v4-last::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -18px;
    width: 160px;
    height: 1px;
    background: linear-gradient(270deg, rgba(244, 114, 182, 0.42), transparent);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
    gap: 42px;
    align-items: center;
    min-height: 620px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: #818cf8;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 860px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.06;
    letter-spacing: -0.06em;
}

h2 {
    font-size: clamp(28px, 3vw, 44px);
    letter-spacing: -0.04em;
}

p {
    color: #94a3b8;
    line-height: 1.75;
}

.hero-copy p {
    max-width: 720px;
    font-size: 18px;
}

.hero-v3 {
    align-items: center;
    min-height: 720px;
    padding-top: 34px;
}

.hero-v4 {
    gap: 68px;
    min-height: 760px;
    padding-top: 52px;
    padding-bottom: 56px;
}

.hero-copy-v3 {
    max-width: 680px;
}

.hero-copy-v4 {
    padding-top: 20px;
}

.hero-v5 {
    align-items: start;
}

.hero-copy-v5 {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding-top: 42px;
}

.hero-copy-v5 h1 {
    max-width: 820px;
}

.hero-copy-v5 p {
    margin-top: 18px;
    max-width: 650px;
    color: rgba(226, 232, 240, 0.9);
}

.text-gradient-v5 {
    background: linear-gradient(135deg, #c4b5fd 0%, #7dd3fc 48%, #f9a8d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.hero-intro-card {
    padding: 18px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(16px);
}

.hero-intro-card span,
.example-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #c7d2fe;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-intro-card strong {
    display: block;
    margin-top: 14px;
    color: #f8fafc;
    font-size: 18px;
}

.hero-intro-card p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.68;
}

.landing-badge-v3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(129, 140, 248, 0.28);
    border-radius: 999px;
    color: #c7d2fe;
    background: rgba(79, 70, 229, 0.12);
    font-size: 13px;
    font-weight: 700;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
}

.hero-v3 h1 {
    max-width: 760px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.02;
    color: #f8fafc;
}

.hero-v3 .hero-copy p {
    max-width: 640px;
    margin-top: 18px;
    color: #cbd5e1;
}

.hero-copy-v4 h1 {
    max-width: 780px;
    margin-bottom: 0;
}

.hero-copy-v4 .hero-actions {
    margin-top: 30px;
}

.trust-row-v3 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.hero-copy-v4 .trust-row-v3 {
    margin-top: 44px;
    gap: 16px;
}

.trust-pill-v3 {
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.trust-pill-v3 strong,
.trust-pill-v3 span {
    display: block;
}

.trust-pill-v3 strong {
    font-size: 24px;
    color: #f8fafc;
}

.trust-pill-v3 span {
    margin-top: 6px;
    color: #94a3b8;
    font-size: 13px;
}

.hero-preview-v3 {
    position: relative;
    min-height: 520px;
}

.hero-preview-v4 {
    padding: 22px 0 22px 8px;
}

.hero-preview-v5 {
    min-height: 610px;
    padding-top: 34px;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    pointer-events: none;
    opacity: 0.8;
}

.hero-glow-a {
    top: 0;
    right: 20px;
    width: 180px;
    height: 180px;
    background: rgba(129, 140, 248, 0.34);
}

.hero-glow-b {
    left: 20px;
    bottom: 44px;
    width: 160px;
    height: 160px;
    background: rgba(244, 114, 182, 0.22);
}

.preview-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(17,24,39,0.92), rgba(15,23,42,0.92));
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.45);
}

.landing-v5 .preview-card {
    border: 1px solid rgba(165, 180, 252, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(241, 245, 249, 0.72));
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(18px);
}

.preview-main {
    padding: 28px;
    transform: rotate(-2deg);
}

.preview-main-v4 {
    transform: rotate(-3deg) translateY(18px);
}

.preview-main-v5 {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.preview-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
    color: #cbd5e1;
    font-size: 13px;
}

.landing-v5 .preview-topline,
.landing-v5 .value-bar-row span,
.landing-v5 .value-bar-row strong {
    color: #1e293b;
}

.preview-float {
    position: absolute;
    width: 230px;
    padding: 18px;
}

.preview-left {
    left: -18px;
    bottom: 18px;
}

.preview-right {
    right: -12px;
    top: 58px;
}

.preview-left-v4 {
    left: -8px;
    bottom: -26px;
    transform: rotate(4deg);
}

.preview-right-v4 {
    right: 10px;
    top: 8px;
    transform: rotate(-5deg);
}

.preview-left-v5 {
    width: 250px;
    --float-rotate: 4deg;
    animation: floatCard 7.4s ease-in-out infinite;
    animation-delay: 0.6s;
}

.preview-right-v5 {
    width: 240px;
    --float-rotate: -5deg;
    animation: floatCard 6.8s ease-in-out infinite;
    animation-delay: 1.1s;
}

.preview-bottom-v5 {
    right: 26px;
    bottom: -16px;
    width: 270px;
    --float-rotate: 2deg;
    animation: floatCard 7.6s ease-in-out infinite;
    animation-delay: 1.7s;
}

.small-label {
    display: block;
    margin-bottom: 8px;
    color: #818cf8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.landing-v5 .small-label {
    color: #6366f1;
}

.value-bars {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.value-bar-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 60px;
    gap: 12px;
    align-items: center;
}

.value-bar-row span,
.value-bar-row strong {
    font-weight: 800;
    color: #e2e8f0;
}

.value-bar-track {
    overflow: hidden;
    height: 14px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
}

.value-bar-track i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
}

.preview-footnote {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.preview-footnote span,
.example-outputs span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.10);
    color: #4338ca;
    font-size: 13px;
    font-weight: 700;
}

.compact-section {
    padding-top: 42px;
    padding-bottom: 42px;
}

.section-v4-spacious {
    padding-top: 86px;
}

.landing-v5 .section-v4 {
    margin-top: 18px;
}

.section-light,
.section-light-alt {
    padding: 42px 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 34px;
    backdrop-filter: blur(10px);
}

.section-light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0.72));
}

.section-light-alt {
    background: linear-gradient(180deg, rgba(232, 240, 255, 0.28), rgba(255, 255, 255, 0.08));
}

.section-light h2,
.section-light p,
.section-light strong,
.section-light-alt h2,
.section-light-alt p,
.section-light-alt strong {
    color: #0f172a;
}

.section-light .eyebrow,
.section-light-alt .eyebrow {
    color: #4f46e5;
}

.section-title-v4 {
    margin-bottom: 34px;
}

.section-title h2,
.section-title p,
.split-title .title-side-text {
    max-width: 880px;
}

.section-title p,
.split-title .title-side-text {
    color: #94a3b8;
}

.feature-strip,
.scenario-grid-v3 {
    display: grid;
    gap: 18px;
}

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

.feature-strip-v4 {
    gap: 22px;
    margin-top: 8px;
}

.feature-strip-card,
.scenario-card-v3,
.workflow-panel-v3,
.value-point-v3 {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
}

.feature-strip-card {
    padding: 22px;
}

.feature-strip-card-v4 {
    min-height: 200px;
    padding: 26px 24px 24px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.landing-v5 .feature-strip-card,
.landing-v5 .scenario-card-v3,
.landing-v5 .workflow-panel-v3,
.landing-v5 .value-point-v3,
.landing-v5 .example-card,
.landing-v5 .faq-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 250, 252, 0.76));
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.10);
}

.feature-strip-card-v4:nth-child(2n) {
    transform: translateY(26px);
}

.feature-strip-card-v4:nth-child(3) {
    transform: translateY(-12px);
}

.feature-strip-card-v4:hover {
    transform: translateY(-8px);
    border-color: rgba(129, 140, 248, 0.28);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24);
}

.feature-strip-card strong,
.scenario-card-v3 strong,
.value-point-v3 strong {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 18px;
}

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

.workflow-panel-v3 {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
    gap: 22px;
    padding: 24px;
}

.workflow-panel-v4 {
    gap: 28px;
    padding: 30px;
    border-radius: 30px;
}

.workflow-highlights {
    display: grid;
    gap: 14px;
}

.workflow-highlight-card {
    padding: 18px 18px 16px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.66);
}

.workflow-highlight-card strong {
    display: block;
    color: #0f172a;
    margin-bottom: 6px;
}

.workflow-highlight-card p {
    margin: 0;
    color: #475569;
}

.steps-v3 {
    width: 100%;
}

.steps-v3 li {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #e2e8f0;
}

.steps-v4 li {
    margin-bottom: 16px;
    padding: 20px 22px;
}

.workflow-side-v3 {
    padding: 8px 0 8px 8px;
}

.workflow-side-v4 {
    padding-left: 10px;
}

.workflow-side-v3 > strong {
    display: block;
    margin-bottom: 14px;
    color: #f8fafc;
    font-size: 20px;
}

.value-points-v3 {
    display: grid;
    gap: 12px;
}

.value-points-v4 {
    gap: 16px;
    margin-top: 8px;
}

.value-points-v5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-point-v3 {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
}

.value-point-v4 {
    padding: 20px 20px 18px;
    background: rgba(255, 255, 255, 0.03);
}

.value-point-v5 {
    min-height: 200px;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.value-point-v5:nth-child(2) {
    transform: translateY(20px);
}

.value-point-v5:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.24);
    box-shadow: 0 26px 68px rgba(79, 70, 229, 0.16);
}

.value-point-v3 span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #4f46e5, #a855f7);
}

.value-point-v3 p {
    margin-bottom: 0;
}

.scenario-grid-v3 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scenario-grid-v4 {
    gap: 22px;
    margin-top: 6px;
}

.scenario-card-v3 {
    padding: 24px;
}

.scenario-card-v4 {
    min-height: 220px;
    padding: 28px 24px 24px;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.scenario-card-v4:nth-child(2n) {
    transform: translateY(18px);
}

.scenario-card-v4:hover {
    transform: translateY(-10px);
    border-color: rgba(244, 114, 182, 0.22);
}

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

.example-card {
    min-height: 280px;
    padding: 28px 24px 24px;
    border-radius: 28px;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.example-card:nth-child(2) {
    transform: translateY(22px);
}

.example-card:hover {
    transform: translateY(-10px);
    border-color: rgba(129, 140, 248, 0.24);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.example-card strong {
    display: block;
    margin: 16px 0 10px;
    color: #0f172a;
    font-size: 20px;
}

.example-card p {
    color: #475569;
}

.example-outputs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-card {
    padding: 0 22px;
    border-radius: 24px;
}

.faq-card summary {
    padding: 20px 0;
    color: #f8fafc;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

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

.faq-card p {
    margin: 0;
    padding: 0 0 20px;
    color: #cbd5e1;
}

.landing-v5 .faq-card summary {
    color: #0f172a;
}

.landing-v5 .faq-card p {
    color: #475569;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(var(--float-rotate, 0deg));
    }
    50% {
        transform: translateY(-10px) rotate(var(--float-rotate, 0deg));
    }
}

.hero-card,
.panel,
.feature-card,
.chart-card,
.report-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 28px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.metric-grid div {
    padding: 16px;
    border-radius: 18px;
    background: #f1f5f9;
}

.metric-grid strong,
.metric-grid span {
    display: block;
}

.metric-grid span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.mock-chart {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 260px;
    margin-top: 26px;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, #eff6ff, #fff);
}

.mock-chart span {
    flex: 1;
    min-height: 24px;
    border-radius: 999px 999px 4px 4px;
    background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.section {
    padding: 72px 0;
}

.section-title.inline,
.split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

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

.feature-card {
    padding: 24px;
}

.feature-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
}

.steps {
    width: min(520px, 100%);
    counter-reset: step;
    list-style: none;
    margin: 0;
    padding: 0;
}

.steps li {
    counter-increment: step;
    margin-bottom: 12px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.steps li::before {
    content: counter(step);
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    margin-right: 12px;
    border-radius: 50%;
    color: #fff;
    background: var(--primary);
    font-weight: 800;
}

.scenario-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.scenario-list span {
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
}

.app-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    padding: 32px 5vw;
}

.app-shell-v2,
.reports-page-v2 {
    position: relative;
    min-height: calc(100vh - 84px);
    background:
        radial-gradient(circle at 16% 12%, rgba(99, 102, 241, 0.18), transparent 30%),
        radial-gradient(circle at 88% 20%, rgba(168, 85, 247, 0.14), transparent 22%),
        linear-gradient(180deg, #09090b 0%, #111827 55%, #0f172a 100%);
}

.app-shell-v3 {
    display: block;
}

.app-shell-v2::before,
.reports-page-v2::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 12%, rgba(99, 102, 241, 0.14), transparent 26%),
        radial-gradient(circle at 86% 18%, rgba(168, 85, 247, 0.12), transparent 22%),
        radial-gradient(circle at 72% 78%, rgba(236, 72, 153, 0.10), transparent 24%);
    opacity: 0.9;
}

.app-shell-v2::after,
.reports-page-v2::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    opacity: 0.55;
}

.app-topbar {
    z-index: 30;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
}

.app-topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.app-topbar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 4px;
    max-width: 380px;
}

.app-topbar-stage-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.app-view-label {
    color: #f8fafc;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.app-view-pill {
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    color: #94a3b8;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.app-view-pill:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
}

.app-view-pill.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.7), rgba(139, 92, 246, 0.6));
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

.app-stage-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    width: min(900px, 100%);
    padding-bottom: 2px;
}

.app-stage-nav::-webkit-scrollbar {
    display: none;
}

.app-stage-pill {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.2s ease;
}

.app-stage-pill:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.app-stage-pill.active {
    color: #f8fafc;
    border-color: rgba(129, 140, 248, 0.3);
    background: rgba(99, 102, 241, 0.12);
}

.app-stage-pill.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.app-stage-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 20px;
    padding: 0 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.app-stage-name {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    white-space: nowrap;
}

.side-panel {
    position: sticky;
    top: 96px;
    height: fit-content;
    padding: 24px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(160deg, #0f172a, #1d4ed8);
}

.side-panel-v2 {
    top: 102px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(17, 24, 39, 0.84), rgba(15, 23, 42, 0.76)),
        rgba(24, 24, 27, 0.56);
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(16px);
}

.side-panel p {
    color: #dbeafe;
}

.side-panel-v2 h2 {
    margin-bottom: 12px;
    color: #f8fafc;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.side-panel-v2 p,
.side-panel-v2 .side-tips p {
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.8;
}

.side-tips {
    margin-top: 26px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.side-panel-v2 .side-tips,
.side-panel-v2 .stage-list span {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.side-tips strong {
    display: block;
    margin-bottom: 8px;
}

.side-tips p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.65;
}

.stage-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.stage-list span {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
}

.stage-list span.active {
    color: #0f172a;
    background: #fff;
    font-weight: 800;
}

.side-panel-v2 .stage-list span {
    color: #cbd5e1;
}

.side-panel-v2 .stage-list span.active {
    color: #f8fafc;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(168, 85, 247, 0.82));
    box-shadow: 0 16px 34px rgba(79, 70, 229, 0.22);
}

.workspace {
    min-width: 0;
}

.workspace-v3 {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.panel {
    padding: 28px;
}

.panel-v2,
.panel-v2.chart-card,
.panel-v2.report-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(24, 24, 27, 0.74), rgba(15, 23, 42, 0.68)),
        rgba(24, 24, 27, 0.52);
    color: #f8fafc;
    box-shadow: 0 22px 64px rgba(2, 6, 23, 0.26);
    backdrop-filter: blur(16px);
}

.panel-v2 h2,
.panel-v2 h3,
.reports-page-v2 h2,
.reports-page-v2 h3,
.reports-page-v2 strong,
.admin-section strong {
    color: #f8fafc;
}

.panel-v2 p,
.reports-page-v2 p,
.reports-page-v2 span,
.admin-summary span,
.admin-toolbar p {
    color: #a1a1aa;
    line-height: 1.9;
}

.panel-intro {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.95;
}

input,
select {
    width: 100%;
    margin: 8px 0 18px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    background: #fff;
}

.app-shell-v2 input,
.app-shell-v2 select,
.reports-page-v2 input,
.reports-page-v2 select {
    border-color: rgba(255, 255, 255, 0.10);
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.05);
}

.app-shell-v2 input::placeholder,
.reports-page-v2 input::placeholder {
    color: #64748b;
}

input:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

label {
    display: block;
    color: #334155;
    font-weight: 700;
}

.app-shell-v2 label,
.reports-page-v2 label {
    color: #e2e8f0;
}

.file-input {
    padding: 22px;
    border-style: dashed;
    background: #f8fafc;
}

.app-shell-v2 .file-input {
    background: rgba(255, 255, 255, 0.03);
}

.hidden-file-input {
    display: none;
}

.success-box {
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 14px;
    color: #065f46;
    background: #d1fae5;
}

.app-shell-v2 .success-box {
    color: #a7f3d0;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.table-wrap {
    overflow: auto;
    max-width: 100%;
    margin: 18px 0;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.app-shell-v2 .table-wrap,
.reports-page-v2 .table-wrap {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(2, 6, 23, 0.18);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

th {
    color: #334155;
    background: #f8fafc;
}

.app-shell-v2 th,
.reports-page-v2 th {
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.82);
}

.app-shell-v2 td,
.reports-page-v2 td {
    color: #cbd5e1;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin: 10px 0 22px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.app-shell-v2 .checkbox-grid label {
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
}

.checkbox-grid input {
    width: auto;
    margin: 0;
}

.workbench-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 22px;
}

.workbench-guide-card {
    padding: 18px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.workbench-guide-card strong {
    display: block;
    margin-bottom: 8px;
    color: #f8fafc;
    font-size: 15px;
    line-height: 1.5;
}

.workbench-guide-card p {
    margin: 0;
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.9;
}

.method-guide-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 6px 0 24px;
}

.method-option-list {
    display: grid;
    gap: 14px;
    margin: 6px 0 24px;
}

.method-option-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.method-option-item input {
    width: 16px;
    height: 16px;
    margin: 4px 0 0;
}

.method-option-content {
    display: grid;
    gap: 6px;
}

.method-option-title {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}

.method-option-content p {
    margin: 0;
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.9;
}

.method-guide-section {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.method-guide-section > strong {
    display: block;
    margin-bottom: 14px;
    color: #f8fafc;
    font-size: 15px;
    line-height: 1.5;
}

.method-guide-list {
    display: grid;
    gap: 14px;
}

.method-guide-item {
    display: grid;
    gap: 6px;
}

.method-guide-item span {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.method-guide-item p {
    margin: 0;
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.9;
}

.two-cols,
.chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.center-panel {
    display: grid;
    min-height: 420px;
    place-items: center;
    text-align: center;
}

.workbench-session-banner {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(129, 140, 248, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.68)),
        rgba(15, 23, 42, 0.58);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.workbench-session-banner strong {
    display: block;
    color: #f8fafc;
    font-size: 16px;
    line-height: 1.5;
}

.workbench-session-banner p {
    margin: 6px 0 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.8;
}

.workbench-session-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.workbench-session-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: #c7d2fe;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.14);
    font-size: 12px;
    font-weight: 700;
}

.running-panel-copy {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-top: 18px;
}

.running-panel-copy h2 {
    margin: 0;
}

.running-panel-copy p {
    margin: 0;
    max-width: 560px;
    color: #94a3b8;
    line-height: 1.85;
}

.running-panel-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.running-panel-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.16);
    font-size: 12px;
    font-weight: 700;
}

.loader {
    width: 66px;
    height: 66px;
    border: 6px solid #dbeafe;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.report-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.chart-card {
    padding: 20px;
}

.reports-page-v2 .report-card,
.reports-page-v2 .chart-card {
    border-color: rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(24, 24, 27, 0.7), rgba(15, 23, 42, 0.66)),
        rgba(24, 24, 27, 0.5);
}

.chart {
    width: 100%;
    height: 360px;
}

.result-section {
    margin-top: 28px;
}

.report-view-v2,
.report-view-v3 {
    display: grid;
    gap: 28px;
}

.report-module {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(24, 24, 27, 0.74), rgba(15, 23, 42, 0.68)),
        rgba(24, 24, 27, 0.52);
    box-shadow: 0 22px 64px rgba(2, 6, 23, 0.24);
    overflow: hidden;
}

.report-module-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
}

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

.report-module-summary strong {
    display: block;
    color: #f8fafc;
    font-size: 18px;
    line-height: 1.45;
}

.report-module-summary p {
    margin: 4px 0 0;
    color: #71717a;
    font-size: 13px;
    line-height: 1.7;
}

.report-module-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.report-module-body {
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    box-shadow: none;
}

.report-hero-card,
.report-section-card,
.risk-report-card,
.optimal-summary-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(24, 24, 27, 0.74), rgba(15, 23, 42, 0.68)),
        rgba(24, 24, 27, 0.52);
    box-shadow: 0 22px 64px rgba(2, 6, 23, 0.24);
}

.report-hero-card,
.report-section-card {
    padding: 24px;
}

.report-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.report-meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, 0.18);
    background: rgba(99, 102, 241, 0.10);
    color: #c7d2fe;
    font-size: 13px;
    font-weight: 700;
}

.report-insight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.report-insight-card,
.result-subpanel {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.report-insight-card {
    padding: 16px 18px;
}

.report-insight-card span {
    display: block;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.7;
}

.report-insight-card strong {
    display: block;
    margin-top: 4px;
    color: #f8fafc;
    font-size: 26px;
    line-height: 1.2;
}

.report-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.report-toolbar strong,
.chart-card-head strong,
.result-subpanel-head strong {
    color: #f8fafc;
    font-size: 15px;
    line-height: 1.5;
}

.report-toolbar p,
.chart-card-head p,
.result-subpanel-head p,
.risk-report-subtitle {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
}

.report-toggle-group,
.risk-report-tags,
.table-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.report-toggle-btn {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    padding: 9px 16px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
    font-weight: 700;
    transition: 0.2s ease;
}

.report-toggle-btn.active,
.report-toggle-btn:hover {
    border-color: rgba(129, 140, 248, 0.28);
    color: #eef2ff;
    background: rgba(99, 102, 241, 0.16);
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.16);
}

.report-callout {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(129, 140, 248, 0.16);
    border-radius: 16px;
    color: #c7d2fe;
    background: rgba(99, 102, 241, 0.10);
    line-height: 1.85;
}

.report-callout.compact {
    margin: 0 0 16px;
}

.report-section-head {
    margin-bottom: 18px;
}

.report-section-head h3 {
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.report-section-head p {
    margin: 0;
    color: #a1a1aa;
    line-height: 1.85;
}

.report-chart-card {
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(241, 245, 249, 0.9);
}

.chart-card-head,
.result-subpanel-head,
.result-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.chart-card-head,
.result-subpanel-head {
    margin-bottom: 14px;
}

.report-chart {
    height: 420px;
}

.report-chart-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.report-chart-image {
    display: block;
    width: 100%;
    height: auto;
}

.report-chart-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    width: 100%;
    padding: 20px;
    color: #64748b;
    font-size: 14px;
    text-align: center;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.96));
}

.report-chart-placeholder-error {
    color: #b91c1c;
}

.report-chart-compact {
    height: 300px;
}

.report-table-wrap {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(2, 6, 23, 0.18);
}

.report-table-wrap th {
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.82);
}

.report-table-wrap td {
    color: #cbd5e1;
}

.risk-report-list {
    display: grid;
    gap: 20px;
}

.risk-report-card {
    padding: 20px;
}

.risk-report-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.risk-report-head strong {
    color: #f8fafc;
    font-size: 18px;
}

.risk-report-head p {
    margin: 6px 0 0;
}

.risk-report-head span {
    color: #a1a1aa;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.risk-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.result-subpanel {
    padding: 18px;
}

.report-note-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, 0.22);
    background: rgba(99, 102, 241, 0.12);
    color: #c7d2fe;
    font-size: 12px;
    font-weight: 700;
}

.report-action-btn {
    white-space: nowrap;
}

.result-table-footer {
    margin-top: 14px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.7;
}

.optimal-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.optimal-summary-card {
    padding: 18px 18px 16px;
}

.optimal-summary-card span {
    display: inline-block;
    margin-bottom: 10px;
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 800;
}

.optimal-summary-card strong {
    display: block;
    color: #f8fafc;
    font-size: 18px;
    line-height: 1.45;
}

.optimal-summary-card p {
    margin: 8px 0 0;
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.8;
}

.report-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.report-card {
    padding: 20px;
    cursor: pointer;
}

.report-card:hover {
    border-color: var(--primary);
}

.reports-page-v2 .report-card:hover {
    border-color: rgba(129, 140, 248, 0.24);
    box-shadow: 0 24px 60px rgba(79, 70, 229, 0.16);
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.admin-tabs button {
    padding: 11px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    font-weight: 800;
}

.reports-page-v2 .admin-tabs button {
    border-color: rgba(255, 255, 255, 0.08);
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.04);
}

.admin-tabs button.active {
    border-color: var(--primary);
    color: #fff;
    background: var(--primary);
}

.reports-page-v2 .admin-tabs button.active {
    border-color: rgba(129, 140, 248, 0.2);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.admin-section {
    margin-top: 12px;
}

.admin-summary,
.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fafc;
}

.reports-page-v2 .admin-summary,
.reports-page-v2 .admin-toolbar {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.admin-feedback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 20px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fafc;
}

.reports-page-v2 .admin-feedback {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.admin-feedback strong {
    font-size: 14px;
}

.admin-feedback span {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.admin-feedback.success strong {
    color: #047857;
}

.admin-feedback.error strong {
    color: #dc2626;
}

.admin-feedback.info strong {
    color: #1d4ed8;
}

.admin-summary span,
.admin-toolbar p {
    margin: 0;
    color: var(--muted);
}

.admin-toolbar-split {
    align-items: flex-start;
}

.admin-toolbar-copy {
    flex: 1 1 320px;
    min-width: 0;
}

.admin-toolbar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    flex: 1 1 620px;
    min-width: min(100%, 620px);
}

.admin-toolbar-actions-logs {
    width: min(100%, 620px);
}

.admin-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 10px 12px;
    min-width: 0;
}

.admin-filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    font-size: 12px;
    color: var(--muted);
}

.reports-page-v2 .admin-filter-item {
    color: #a1a1aa;
}

.admin-filter-item span {
    line-height: 1.2;
}

.admin-filter-item input,
.admin-filter-item select {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.admin-toolbar-submit {
    align-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 112px;
    white-space: nowrap;
}

.inline-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inline-form input {
    width: 120px;
    margin: 0;
}

.admin-date-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
}

.admin-date-field input {
    width: 150px;
}

.admin-traffic-summary-grid,
.admin-traffic-chart-grid,
.admin-traffic-table-grid {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.admin-traffic-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-traffic-chart-grid,
.admin-traffic-table-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.admin-traffic-summary-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fafc;
}

.reports-page-v2 .admin-traffic-summary-card {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.admin-traffic-summary-card span,
.admin-traffic-summary-card p {
    color: var(--muted);
}

.admin-traffic-summary-card strong {
    display: block;
    margin: 8px 0 4px;
    font-size: 28px;
    line-height: 1.1;
}

.status-pill {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.status-pill.ok {
    color: #065f46;
    background: #d1fae5;
}

.status-pill.bad {
    color: #991b1b;
    background: #fee2e2;
}

.status-pill.info {
    color: #1d4ed8;
    background: #dbeafe;
}

.status-pill.warn {
    color: #92400e;
    background: #fef3c7;
}

.mini-btn {
    margin: 2px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    color: var(--text);
}

.mini-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.mini-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mini-btn.danger:hover {
    border-color: var(--danger);
    color: var(--danger);
}

.modal-mask {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 20px;
    background:
        radial-gradient(circle at top, rgba(99, 102, 241, 0.16), transparent 30%),
        rgba(2, 6, 23, 0.62);
    backdrop-filter: blur(18px);
}

.modal {
    width: min(420px, calc(100vw - 32px));
    padding: 28px 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    color: #f8fafc;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(17, 24, 39, 0.72)),
        rgba(15, 23, 42, 0.68);
    box-shadow: 0 28px 80px rgba(2, 6, 23, 0.42);
    backdrop-filter: blur(22px);
}

.modal-head {
    margin-bottom: 18px;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(129, 140, 248, 0.22);
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.10);
    color: #c7d2fe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.modal h2 {
    margin: 14px 0 0;
    color: #f8fafc;
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.modal-subtitle {
    margin: 10px 0 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.75;
}

.modal-subhint {
    margin: -4px 0 14px;
    color: #a5b4fc;
    font-size: 13px;
    line-height: 1.75;
}

.modal-input {
    margin: 0 0 14px;
    padding: 14px 15px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 14px;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.06);
}

.modal-input::placeholder {
    color: #64748b;
}

.modal-input:focus {
    border-color: rgba(129, 140, 248, 0.5);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.modal-submit {
    margin-top: 4px;
    padding-top: 13px;
    padding-bottom: 13px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 16px 36px rgba(99, 102, 241, 0.32);
}

.modal-submit:hover {
    background: linear-gradient(135deg, #5b5ff5 0%, #7c3aed 100%);
}

.modal-switch {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.modal-switch:hover {
    color: #ffffff;
}

.error-text {
    margin: 4px 0 10px;
    padding: 10px 12px;
    border: 1px solid rgba(239, 68, 68, 0.24);
    border-radius: 12px;
    color: #fca5a5;
    background: rgba(127, 29, 29, 0.26);
}

.toast-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    display: grid;
    gap: 10px;
}

.toast {
    padding: 13px 16px;
    border-radius: 14px;
    color: #fff;
    background: #334155;
    box-shadow: var(--shadow);
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

.detail-modal {
    width: min(1080px, calc(100vw - 32px));
    max-height: 90vh;
    overflow-y: auto;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.detail-card,
.detail-timeline-item {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.detail-card strong,
.detail-timeline-head strong {
    display: block;
    color: #f8fafc;
    font-size: 14px;
    line-height: 1.5;
}

.detail-card p,
.detail-timeline-head span {
    margin: 6px 0 0;
    color: #94a3b8;
    line-height: 1.8;
}

.detail-timeline {
    display: grid;
    gap: 12px;
}

.detail-timeline-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.detail-pre {
    margin: 10px 0 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    color: #cbd5e1;
    background: rgba(2, 6, 23, 0.28);
    font-size: 12px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
}


.app-topbar-workbench-light {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(24px) saturate(1.2);
}

.app-topbar-workbench-light .brand strong {
    color: #0f172a;
}

.app-topbar-workbench-light .brand small,
.app-topbar-workbench-light .app-view-label {
    color: #64748b;
}

.app-topbar-workbench-light .user-pill {
    color: #334155;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(148, 163, 184, 0.24);
}

.app-topbar-workbench-light .btn.ghost {
    color: #334155;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(148, 163, 184, 0.2);
}

.app-topbar-workbench-light .btn.ghost:hover {
    color: #0f172a;
    border-color: rgba(37, 99, 235, 0.22);
    background: rgba(239, 246, 255, 0.9);
}

.app-topbar-workbench-light .app-topbar-stage-row {
    border-top-color: rgba(148, 163, 184, 0.16);
}

.app-topbar-workbench-light .app-stage-pill {
    border-color: rgba(148, 163, 184, 0.16);
    color: #475569;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.app-topbar-workbench-light .app-stage-pill:hover,
.app-topbar-workbench-light .app-stage-pill.active {
    color: #0f172a;
    border-color: rgba(59, 130, 246, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    box-shadow: 0 18px 42px rgba(59, 130, 246, 0.12);
}

.app-topbar-workbench-light .app-stage-pill.disabled {
    background: rgba(255, 255, 255, 0.45);
}

.app-topbar-workbench-light .app-stage-index {
    background: rgba(59, 130, 246, 0.10);
    color: #2563eb;
}

.app-topbar-workbench-light .app-stage-name {
    color: #0f172a;
}

.app-topbar-workbench-light .app-topbar-center {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(148, 163, 184, 0.16);
}

.app-topbar-workbench-light .app-view-pill {
    color: #64748b;
}

.app-topbar-workbench-light .app-view-pill:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.05);
}

.app-topbar-workbench-light .app-view-pill.active {
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.22);
}

.app-topbar-workbench-light .btn.primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
}

.app-shell-workbench-light {
    min-height: calc(100vh - 84px);
    background:
        radial-gradient(circle at top left, rgba(191, 219, 254, 0.9), transparent 24%),
        radial-gradient(circle at 88% 10%, rgba(196, 181, 253, 0.7), transparent 18%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 48%, #f8fafc 100%);
}

.app-shell-workbench-light::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 18%, rgba(59, 130, 246, 0.10), transparent 22%),
        radial-gradient(circle at 82% 16%, rgba(168, 85, 247, 0.10), transparent 18%),
        radial-gradient(circle at 50% 100%, rgba(14, 165, 233, 0.08), transparent 28%);
}

.app-shell-workbench-light::after {
    content: none;
}

.workbench-c-shell {
    width: min(1220px, 100%);
    margin: 0 auto;
    padding-top: 8px;
    padding-bottom: 36px;
}

.app-shell-workbench-light .panel-v2,
.app-shell-workbench-light .panel-v2.chart-card,
.app-shell-workbench-light .panel-v2.report-card {
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: #0f172a;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.9));
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}

.app-shell-workbench-light .panel-v2 h2,
.app-shell-workbench-light .panel-v2 h3,
.app-shell-workbench-light .panel-v2 strong,
.app-shell-workbench-light label {
    color: #0f172a;
}

.app-shell-workbench-light .panel-v2 p,
.app-shell-workbench-light .panel-v2 span,
.app-shell-workbench-light .panel-intro {
    color: #64748b;
}

.app-shell-workbench-light input,
.app-shell-workbench-light select {
    border-color: #dbe4f0;
    color: #0f172a;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.app-shell-workbench-light input::placeholder {
    color: #94a3b8;
}

.app-shell-workbench-light .checkbox-grid label,
.app-shell-workbench-light .workbench-mini-card-v2,
.app-shell-workbench-light .workbench-summary-card-v2,
.app-shell-workbench-light .config-section-v2,
.app-shell-workbench-light .workbench-hero-actions-v2 {
    border-color: #e2e8f0;
    color: #334155;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
}

.app-shell-workbench-light .workbench-mini-card-v2 p,
.app-shell-workbench-light .workbench-summary-card-v2 p,
.app-shell-workbench-light .config-section-head-v2 p,
.app-shell-workbench-light .workbench-hero-note-v2,
.app-shell-workbench-light .workbench-inline-tip-v2 {
    color: #64748b;
}

.app-shell-workbench-light .workbench-summary-card-v2.success-state {
    border-color: rgba(59, 130, 246, 0.14);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.92));
}

.app-shell-workbench-light .workbench-tag-row-v2 span,
.app-shell-workbench-light .workbench-pager-meta-v2 span,
.app-shell-workbench-light .workbench-summary-badge-v2,
.app-shell-workbench-light .workbench-session-meta span {
    border-color: rgba(59, 130, 246, 0.14);
    color: #2563eb;
    background: rgba(239, 246, 255, 0.92);
}

.app-shell-workbench-light .config-section-head-v2 span {
    background: rgba(239, 246, 255, 1);
    color: #2563eb;
}

.app-shell-workbench-light .workbench-inline-tip-v2 {
    border-color: #dbe4f0;
    background: #f8fbff;
}

.app-shell-workbench-light .workbench-session-banner {
    border-color: rgba(59, 130, 246, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06);
}

.app-shell-workbench-light .workbench-session-banner p {
    color: #64748b;
}

.app-shell-workbench-light .btn.primary {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.20);
}

.app-shell-workbench-light .btn.primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
}

.app-shell-workbench-light .btn.ghost {
    color: #334155;
    background: #ffffff;
    border-color: #dbe4f0;
}

.app-shell-workbench-light .btn.ghost:hover {
    color: #0f172a;
    border-color: rgba(59, 130, 246, 0.18);
    background: #f8fbff;
}

.app-shell-workbench-light .table-wrap {
    border-color: #e2e8f0;
    background: rgba(255, 255, 255, 0.94);
}

.app-shell-workbench-light th {
    color: #334155;
    background: #f8fbff;
}

.app-shell-workbench-light td {
    color: #475569;
    border-bottom-color: #edf2f7;
}

.workbench-hero-banner-v3 {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.88fr);
    gap: 24px;
    padding: 28px;
    border: 1px solid rgba(219, 234, 254, 0.9);
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 28%),
        radial-gradient(circle at 88% 10%, rgba(167, 139, 250, 0.14), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
}

.workbench-hero-copy-v3 h2 {
    margin: 14px 0 0;
    max-width: 640px;
    font-size: clamp(34px, 4.8vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.05em;
    color: #0f172a;
}

.workbench-hero-copy-v3 .panel-intro {
    max-width: 620px;
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.95;
    color: #64748b;
}

.workbench-hero-stats-v3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.workbench-hero-stats-v3 article {
    padding: 18px 18px 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.workbench-hero-stats-v3 strong {
    display: block;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.2;
}

.workbench-hero-stats-v3 span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.workbench-upload-card-v3 {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.workbench-upload-card-head-v3 strong {
    display: block;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.35;
}

.workbench-upload-card-head-v3 p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.85;
}

.workbench-upload-btn-v3 {
    width: 100%;
    min-height: 56px;
    justify-content: center;
    border-radius: 18px;
    font-size: 16px;
}

.workbench-upload-checklist-v3 {
    display: grid;
    gap: 10px;
}

.workbench-upload-checklist-v3 span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid rgba(59, 130, 246, 0.12);
    font-size: 13px;
    font-weight: 700;
}

.workbench-upload-grid-v3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workbench-upload-grid-v3 .workbench-mini-card-v2 {
    min-height: 144px;
}

.workbench-form-hero-v3 {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 22px;
    align-items: start;
}

.workbench-form-hero-v3 h2 {
    margin: 14px 0 0;
    max-width: 680px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.workbench-side-summary-v3 {
    padding: 22px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.workbench-side-summary-v3 strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.4;
}

.workbench-side-summary-v3 > p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}

.workbench-summary-list-v3 {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.workbench-summary-list-v3 div {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
}

.workbench-summary-list-v3 span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.workbench-summary-list-v3 strong {
    color: #0f172a;
    font-size: 16px;
    line-height: 1.45;
}

.config-section-v3 {
    padding: 24px;
    border-radius: 26px;
}

.choice-card-grid-v3 {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.app-shell-workbench-light .choice-card-grid-v3 label {
    min-height: 54px;
    padding: 14px 16px;
    border-color: #dbe4f0;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    transition: 0.18s ease;
}

.app-shell-workbench-light .choice-card-grid-v3 label:hover {
    border-color: rgba(59, 130, 246, 0.22);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
}

.method-option-list-v3 {
    gap: 16px;
}

.app-shell-workbench-light .method-option-list-v3 .method-option-item {
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 18px 20px;
    border-color: #dbe4f0;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.app-shell-workbench-light .method-option-list-v3 .method-option-item:hover {
    border-color: rgba(59, 130, 246, 0.22);
    box-shadow: 0 14px 32px rgba(59, 130, 246, 0.08);
}

.app-shell-workbench-light .method-option-list-v3 .method-option-title {
    color: #0f172a;
}

.app-shell-workbench-light .method-option-list-v3 .method-option-content p {
    color: #64748b;
}

.workbench-page-v2 {
    display: grid;
    gap: 22px;
}

.workbench-page-hero-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 20px;
    align-items: end;
}

.workbench-page-hero-v2.compact {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.workbench-page-step-v2 {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, 0.22);
    background: rgba(99, 102, 241, 0.10);
    color: #c7d2fe;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.workbench-tag-row-v2,
.workbench-pager-meta-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.workbench-tag-row-v2 span,
.workbench-pager-meta-v2 span,
.workbench-summary-badge-v2 {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, 0.16);
    background: rgba(99, 102, 241, 0.10);
    color: #dbe4ff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.workbench-summary-badge-v2.subtle {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.workbench-hero-actions-v2 {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
}

.workbench-hero-note-v2 {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
}

.workbench-upload-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.workbench-mini-card-v2,
.workbench-summary-card-v2,
.config-section-v2 {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
}

.workbench-mini-card-v2 strong,
.workbench-summary-card-v2 strong,
.config-section-head-v2 strong {
    display: block;
    color: #f8fafc;
    font-size: 16px;
    line-height: 1.5;
}

.workbench-mini-card-v2 p,
.workbench-summary-card-v2 p,
.config-section-head-v2 p {
    margin: 8px 0 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.8;
}

.workbench-summary-card-v2.success-state {
    border-color: rgba(16, 185, 129, 0.20);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.10), rgba(15, 23, 42, 0.36));
}

.workbench-summary-head-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.config-scroll-stack-v2 {
    display: grid;
    gap: 16px;
}

.config-section-head-v2 {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.config-section-head-v2 > div {
    display: grid;
    gap: 8px;
}

.config-section-head-v2 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.checkbox-grid.compact {
    margin-bottom: 0;
}

.workbench-inline-tip-v2 {
    padding: 14px 16px;
    border: 1px dashed rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
    font-size: 14px;
    line-height: 1.8;
}

.workbench-pager-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 4px;
}

.method-option-list-v2 {
    margin-bottom: 0;
}

.workbench-range-grid-v2 {
    align-items: start;
}

/* === Dropzone === */
.dropzone {
    border: 2px dashed rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.2s ease;
    background: rgba(99, 102, 241, 0.02);
    cursor: pointer;
}
.dropzone:hover, .dropzone-active {
    border-color: rgba(99, 102, 241, 0.6);
    background: rgba(99, 102, 241, 0.06);
}
.dropzone-icon {
    color: #6366f1;
    margin-bottom: 12px;
    opacity: 0.7;
}
.dropzone-icon svg { margin: 0 auto; }
.dropzone-text {
    font-size: 14px;
    color: #475569;
    margin: 0;
}
.dropzone-link {
    background: none;
    border: none;
    color: #4f46e5;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    padding: 0;
}
.dropzone-link:hover { color: #3730a3; }
.dropzone-hint {
    font-size: 12px;
    color: #94a3b8;
    margin: 8px 0 0;
}

/* === Checkbox Grid Actions === */
.checkbox-grid-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}
.btn-inline {
    background: none;
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #4f46e5;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.15s;
}
.btn-inline:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: #4f46e5;
}

/* === Running Progress Ring === */
.running-progress-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.running-progress-ring {
    width: 80px;
    height: 80px;
}
.running-ring-anim {
    animation: ringRotate 1.8s linear infinite;
    transform-origin: center;
}
@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.running-steps-hint {
    font-size: 13px;
    color: #64748b;
    margin: 8px 0 4px;
    letter-spacing: 0.02em;
}
.running-sub-hint {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

/* === Button spinner === */
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-top-color: #4f46e5;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.report-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 132px;
    min-height: 42px;
}

.report-download-btn .btn-spinner {
    margin-right: 0;
    border-color: rgba(255, 255, 255, 0.42);
    border-top-color: #ffffff;
}

.report-download-check {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-shell-workbench-light .report-download-btn.is-download-success,
.app-shell-workbench-light .report-download-btn.is-download-success:hover {
    color: #ffffff;
    background: #059669;
    box-shadow: 0 12px 28px rgba(5, 150, 105, 0.22);
}

.report-download-btn:disabled {
    opacity: 0.78;
}

.report-download-btn.is-download-success:disabled {
    opacity: 1;
}

.download-progress-mask {
    z-index: 80;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
}

.download-progress-modal {
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(380px, calc(100vw - 32px));
    min-height: 144px;
    padding: 24px;
    border: 1px solid #dbe4f0;
    border-radius: 8px;
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24);
    animation: downloadModalIn 0.2s ease-out;
}

.download-progress-icon {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    color: #2563eb;
    background: #eff6ff;
}

.download-progress-modal.is-success .download-progress-icon {
    color: #059669;
    background: #ecfdf5;
}

.download-progress-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.download-progress-spinner {
    width: 25px;
    height: 25px;
    border: 3px solid #bfdbfe;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.download-progress-copy {
    min-width: 0;
}

.download-progress-copy h2 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: 0;
}

.download-progress-copy p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

@keyframes downloadModalIn {
    from { opacity: 0; transform: translateY(6px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* === Mobile Nav Panel === */
.mobile-nav-panel {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.96);
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav-item {
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}
.mobile-nav-item:hover { background: rgba(255, 255, 255, 0.06); }
.mobile-nav-item.primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    text-align: center;
    font-weight: 600;
    margin-top: 8px;
}
.mobile-menu-btn {
    background: none;
    border: none;
    color: #a1a1aa;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}
.mobile-menu-btn:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* === View Transition === */
.app-shell, main[class*="landing"] {
    animation: viewFadeIn 0.3s ease;
}
@keyframes viewFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Report Success Banner === */
.report-success-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(52, 211, 153, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    margin-bottom: 20px;
    animation: bannerSlideIn 0.4s ease;
}
.report-success-banner span {
    font-size: 14px;
    color: #334155;
}
.report-success-banner strong {
    color: #059669;
}
@keyframes bannerSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
    .workbench-hero-banner-v3,
    .workbench-form-hero-v3,
    .workbench-page-hero-v2,
    .workbench-page-hero-v2.compact,
    .workbench-upload-grid-v2,
    .workbench-hero-stats-v3 {
        grid-template-columns: 1fr;
    }

    .workbench-summary-head-v2,
    .config-section-head-v2,
    .workbench-pager-v2 {
        align-items: stretch;
        flex-direction: column;
    }

    .site-header,
    .nav,
    .header-actions,
    .split,
    .report-header {
        align-items: stretch;
        flex-direction: column;
    }

    .hero,
    .app-shell,
    .card-grid,
    .two-cols,
    .chart-grid,
    .workflow-panel-v3,
    .feature-strip,
    .scenario-grid-v3,
    .trust-row-v3,
    .hero-intro-grid,
    .value-points-v5,
    .example-grid,
    .workbench-guide-grid,
    .method-guide-block,
    .risk-detail-grid,
    .optimal-summary-grid,
    .report-insight-grid {
        grid-template-columns: 1fr;
    }

    .side-panel {
        position: static;
    }

    .hero-visual-top,
    .admin-summary,
    .admin-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-toolbar-actions {
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 0;
    }

    .admin-filter-grid {
        grid-template-columns: 1fr;
    }

    .admin-toolbar-submit {
        width: 100%;
        min-width: 0;
    }

    .hero-preview-v3 {
        min-height: auto;
    }

    .hero-v4 {
        gap: 34px;
        min-height: auto;
    }

    .hero-copy-v5 {
        padding-top: 18px;
    }

    .hero-copy-v4 .trust-row-v3 {
        margin-top: 26px;
    }

    .preview-float {
        position: static;
        width: auto;
        margin-top: 14px;
        transform: none;
        animation: none;
    }

    .hero-preview-v5 {
        min-height: auto;
    }

    .preview-main-v4,
    .preview-main-v5 {
        transform: none;
        animation: none;
    }

    .section-light,
    .section-light-alt {
        padding: 30px 22px;
    }

    .feature-strip-card-v4:nth-child(2n),
    .feature-strip-card-v4:nth-child(3),
    .scenario-card-v4:nth-child(2n),
    .value-point-v5:nth-child(2),
    .example-card:nth-child(2) {
        transform: none;
    }

    .split-title {
        flex-direction: column;
        align-items: stretch;
    }

    .report-chart {
        height: 320px;
    }

    .app-topbar-center {
        justify-content: flex-start;
    }

    .report-toolbar,
    .chart-card-head,
    .result-subpanel-head,
    .result-table-footer {
        align-items: stretch;
        flex-direction: column;
    }

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

    .detail-timeline-head {
        align-items: stretch;
        flex-direction: column;
    }

    .app-stage-nav {
        grid-template-columns: 1fr;
    }

    .app-topbar-row {
        flex-direction: column;
        align-items: stretch;
    }

    .app-topbar-stage-row {
        justify-content: flex-start;
    }

    .modal {
        padding: 24px 20px 20px;
        border-radius: 24px;
    }

    .modal h2 {
        font-size: 24px;
    }
}


.free-trial-guide-card {
    margin-bottom: 16px;
}

.field-helper {
    margin: -4px 0 10px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.7;
}

.sample-data-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.free-trial-decision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0 18px;
}

.free-trial-decision-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.free-trial-decision-card.primary {
    border-color: rgba(99, 102, 241, 0.26);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.13), rgba(168, 85, 247, 0.07));
}

.free-trial-decision-card span {
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.free-trial-decision-card strong {
    color: #f8fafc;
    font-size: 18px;
    line-height: 1.4;
}

.free-trial-decision-card p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
}

.free-trial-chart-grid {
    align-items: stretch;
}

.free-trial-summary-card {
    display: grid;
    gap: 16px;
    align-content: start;
}

.free-trial-summary-list {
    display: grid;
    gap: 12px;
}

.free-trial-summary-list div {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.free-trial-summary-list strong {
    color: #f8fafc;
    font-size: 13px;
}

.free-trial-summary-list span {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.75;
}

.trial-mask-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.trial-mask-card {
    position: relative;
    min-height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(24, 24, 27, 0.74), rgba(15, 23, 42, 0.68)),
        rgba(24, 24, 27, 0.52);
}

.trial-mask-ghost {
    display: grid;
    gap: 18px;
    padding: 24px;
    filter: blur(7px);
    opacity: 0.55;
}

.trial-mask-line {
    display: block;
    width: 100%;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.28), rgba(236, 72, 153, 0.24));
}

.trial-mask-line.short {
    width: 68%;
}

.trial-mask-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 10px;
    padding: 22px;
    text-align: center;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(12px);
}

.trial-mask-overlay strong {
    color: #f8fafc;
    font-size: 18px;
    line-height: 1.5;
}

.trial-mask-overlay p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.8;
}


.app-shell-workbench-light .report-module,
.app-shell-workbench-light .report-hero-card,
.app-shell-workbench-light .report-section-card,
.app-shell-workbench-light .risk-report-card,
.app-shell-workbench-light .optimal-summary-card {
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.app-shell-workbench-light .report-module-summary {
    background: rgba(255, 255, 255, 0.72);
}

.app-shell-workbench-light .report-module-body {
    border-top-color: #e2e8f0;
}

.app-shell-workbench-light .report-module-summary strong,
.app-shell-workbench-light .risk-report-head strong,
.app-shell-workbench-light .report-toolbar strong,
.app-shell-workbench-light .chart-card-head strong,
.app-shell-workbench-light .result-subpanel-head strong,
.app-shell-workbench-light .optimal-summary-card strong,
.app-shell-workbench-light .free-trial-summary-list strong {
    color: #0f172a;
}

.app-shell-workbench-light .report-module-summary p,
.app-shell-workbench-light .risk-report-head span,
.app-shell-workbench-light .risk-report-subtitle,
.app-shell-workbench-light .report-toolbar p,
.app-shell-workbench-light .chart-card-head p,
.app-shell-workbench-light .result-subpanel-head p,
.app-shell-workbench-light .result-table-footer,
.app-shell-workbench-light .free-trial-summary-list span,
.app-shell-workbench-light .trial-mask-overlay p {
    color: #64748b;
}

.app-shell-workbench-light .report-module-index,
.app-shell-workbench-light .report-meta-pill,
.app-shell-workbench-light .report-note-chip,
.app-shell-workbench-light .report-callout {
    border-color: rgba(59, 130, 246, 0.14);
    color: #2563eb;
    background: #eff6ff;
}

.app-shell-workbench-light .report-insight-card,
.app-shell-workbench-light .result-subpanel,
.app-shell-workbench-light .report-toolbar {
    border-color: #e2e8f0;
    background: rgba(255, 255, 255, 0.82);
}

.app-shell-workbench-light .report-insight-card span {
    color: #64748b;
}

.app-shell-workbench-light .report-insight-card strong {
    color: #0f172a;
}

.app-shell-workbench-light .report-toggle-btn {
    border-color: #dbe4f0;
    color: #475569;
    background: #ffffff;
}

.app-shell-workbench-light .report-toggle-btn.active,
.app-shell-workbench-light .report-toggle-btn:hover {
    border-color: rgba(59, 130, 246, 0.18);
    color: #1d4ed8;
    background: #eff6ff;
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.10);
}

.app-shell-workbench-light .report-table-wrap {
    border-color: #e2e8f0;
    background: rgba(255, 255, 255, 0.96);
}

.app-shell-workbench-light .free-trial-summary-list div {
    border-color: #e2e8f0;
    background: #ffffff;
}

.app-shell-workbench-light .trial-mask-card {
    border-color: #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.05);
}

.app-shell-workbench-light .trial-mask-ghost {
    opacity: 0.75;
}

.app-shell-workbench-light .trial-mask-overlay {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
}

.app-shell-workbench-light .trial-mask-overlay strong {
    color: #0f172a;
}



.app-shell-workbench-light .free-trial-report-hero-v2 {
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.05);
}

.app-shell-workbench-light .free-trial-report-hero-v2 .eyebrow {
    color: #2563eb;
}

.app-shell-workbench-light .free-trial-report-hero-v2 h2,
.app-shell-workbench-light .free-trial-report-hero-v2 .report-header p {
    color: #0f172a;
}

.app-shell-workbench-light .free-trial-report-hero-v2 .report-header p {
    color: #64748b;
}

/* =============================================
   Result Glance Card (正式版工作台结果速览)
   ============================================= */
.workbench-result-glance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 28px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.22);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08));
    backdrop-filter: blur(12px);
    animation: glance-in 0.4s ease;
}

@keyframes glance-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.result-glance-highlight {
    display: flex;
    align-items: center;
    gap: 32px;
}

.result-glance-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-glance-label {
    font-size: 12px;
    font-weight: 600;
    color: #c7d2fe;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.result-glance-value {
    font-size: 28px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.2;
}

.result-glance-value.small {
    font-size: 20px;
}

.result-glance-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Compact session banner */
.workbench-session-banner.compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.workbench-session-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #059669;
    flex-shrink: 0;
}

.status-dot.loading {
    background: #f59e0b;
    animation: pulse-dot 1.2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.session-status-tag {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.22);
    color: #c7d2fe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.btn.sm {
    padding: 7px 14px;
    font-size: 12px;
}

/* =============================================
   Report Hero V3 (正式版结果页改版)
   ============================================= */
.report-hero-v3 {
    display: grid;
    gap: 20px;
}

.report-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.report-hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.24);
    background: rgba(99, 102, 241, 0.12);
    color: #c7d2fe;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.report-hero-title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.3;
}

.report-hero-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.report-kpi-card {
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.report-kpi-card span {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.03em;
}

.report-kpi-card strong {
    font-size: 22px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.2;
}

.report-kpi-card.main {
    border-color: rgba(99, 102, 241, 0.20);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.10), rgba(168, 85, 247, 0.06));
}

.report-kpi-card.main strong {
    font-size: 32px;
    background: linear-gradient(135deg, #a5b4fc, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.report-conclusion-panel {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(129, 140, 248, 0.18);
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.16), transparent 34%),
        rgba(255, 255, 255, 0.04);
}

.report-conclusion-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.report-conclusion-head span {
    display: block;
    margin-bottom: 6px;
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.report-conclusion-head strong {
    color: #f8fafc;
    font-size: 20px;
    line-height: 1.35;
}

.report-conclusion-head p {
    max-width: 360px;
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
}

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

.report-conclusion-card {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.36);
}

.report-conclusion-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #c7d2fe;
    font-size: 12px;
    font-weight: 800;
}

.report-conclusion-card strong {
    display: block;
    color: #f8fafc;
    font-size: 18px;
    line-height: 1.35;
}

.report-conclusion-card p,
.report-next-actions li {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.8;
}

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

.report-next-actions {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.report-next-actions strong {
    display: block;
    margin-bottom: 8px;
    color: #f8fafc;
    font-size: 14px;
}

.report-next-actions ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 18px;
}

/* =============================================
   Free Trial Result V2 (免费版结果页改版)
   ============================================= */
.free-trial-result-v2 {
    display: grid;
    gap: 28px;
}

.free-trial-result-hero {
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid rgba(99, 102, 241, 0.20);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.10), rgba(168, 85, 247, 0.06));
    text-align: center;
}

.free-trial-hero-badge {
    display: inline-flex;
    justify-self: center;
    align-items: center;
    min-height: 28px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.24);
    background: rgba(99, 102, 241, 0.12);
    color: #c7d2fe;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.free-trial-hero-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.3;
}

.free-trial-hero-insight {
    max-width: 720px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.9;
}

.free-trial-hero-metrics {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 8px;
}

.free-trial-metric-main,
.free-trial-metric-sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.free-trial-metric-main span,
.free-trial-metric-sub span {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.free-trial-metric-main strong {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #a5b4fc, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.free-trial-metric-sub strong {
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0;
}

.free-trial-hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.free-trial-chart-section {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    padding: 24px;
}

.free-trial-chart-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
}

.free-trial-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.free-trial-section-head h3 {
    margin-bottom: 4px;
}

.free-trial-section-head p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.7;
}

.free-trial-section-head span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.22);
    background: rgba(99, 102, 241, 0.12);
    color: #c7d2fe;
    font-size: 12px;
    font-weight: 800;
}

.free-trial-chart-large {
    height: 400px;
}

.free-trial-next-step-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.free-trial-next-step-grid article {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.free-trial-next-step-grid strong {
    display: block;
    margin-bottom: 8px;
    color: #f8fafc;
    font-size: 15px;
}

.free-trial-next-step-grid p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
}

.free-trial-masked-section {
    margin-top: 8px;
}

.free-trial-config-details {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0;
}

.free-trial-config-details summary {
    padding: 14px 20px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.free-trial-config-details summary::marker,
.free-trial-config-details summary::-webkit-details-marker {
    display: none;
}

.free-trial-config-details summary::after {
    content: '▾';
    margin-left: 8px;
    transition: transform 0.2s;
}

.free-trial-config-details[open] summary::after {
    transform: rotate(180deg);
}

.free-trial-config-content {
    padding: 0 20px 16px;
}

.free-trial-config-content p {
    margin: 6px 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
}

/* =============================================
   Responsive adjustments
   ============================================= */
@media (max-width: 768px) {
    .workbench-result-glance {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .result-glance-highlight {
        flex-wrap: wrap;
        gap: 16px;
    }
    .result-glance-value {
        font-size: 22px;
    }
    .report-hero-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .report-conclusion-head,
    .free-trial-section-head {
        flex-direction: column;
    }
    .report-conclusion-grid,
    .free-trial-decision-grid,
    .free-trial-next-step-grid {
        grid-template-columns: 1fr;
    }
    .report-kpi-card.main strong {
        font-size: 24px;
    }
    .free-trial-hero-metrics {
        flex-direction: column;
        gap: 16px;
    }
    .free-trial-metric-main strong {
        font-size: 28px;
    }
}

/* =============================================
   Admin Lite Mode
   ============================================= */
.app-topbar-admin-lite {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    backdrop-filter: none;
}

.app-topbar-admin-lite .brand strong {
    color: #0f172a;
}

.app-topbar-admin-lite .brand small,
.app-topbar-admin-lite .app-view-label {
    color: #64748b;
}

.app-topbar-admin-lite .user-pill {
    color: #334155;
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.18);
}

.app-topbar-admin-lite .btn.ghost {
    color: #334155;
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.18);
}

.app-topbar-admin-lite .btn.ghost:hover {
    color: #0f172a;
    background: #f8fafc;
    border-color: rgba(37, 99, 235, 0.16);
}

.app-topbar-admin-lite .btn.primary {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    box-shadow: none;
}

.app-topbar-admin-lite .app-topbar-center {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(148, 163, 184, 0.16);
}

.app-topbar-admin-lite .app-view-pill {
    color: #64748b;
}

.app-topbar-admin-lite .app-view-pill:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.05);
}

.app-topbar-admin-lite .app-view-pill.active {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    box-shadow: none;
}

.reports-page-admin-lite {
    min-height: calc(100vh - 84px);
    background: linear-gradient(180deg, #f6f8fb 0%, #eef3f8 52%, #f8fafc 100%);
}

.reports-page-admin-lite::before,
.reports-page-admin-lite::after {
    content: none;
    display: none;
}

.reports-page-admin-lite .panel-v2,
.reports-page-admin-lite .panel-v2.chart-card,
.reports-page-admin-lite .panel-v2.report-card {
    border-color: #e2e8f0;
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    backdrop-filter: none;
}

.reports-page-admin-lite h2,
.reports-page-admin-lite h3,
.reports-page-admin-lite strong,
.reports-page-admin-lite label {
    color: #0f172a;
}

.reports-page-admin-lite p,
.reports-page-admin-lite span,
.reports-page-admin-lite .admin-summary span,
.reports-page-admin-lite .admin-toolbar p,
.reports-page-admin-lite .admin-filter-item {
    color: #64748b;
}

.reports-page-admin-lite input,
.reports-page-admin-lite select {
    border-color: #dbe4f0;
    color: #0f172a;
    background: #ffffff;
    box-shadow: none;
}

.reports-page-admin-lite input::placeholder {
    color: #94a3b8;
}

.reports-page-admin-lite .admin-summary,
.reports-page-admin-lite .admin-toolbar,
.reports-page-admin-lite .admin-feedback,
.reports-page-admin-lite .admin-traffic-summary-card {
    border-color: #e2e8f0;
    background: #f8fafc;
    box-shadow: none;
}

.reports-page-admin-lite .admin-tabs button {
    border-color: #dbe4f0;
    color: #64748b;
    background: #ffffff;
    box-shadow: none;
}

.reports-page-admin-lite .admin-tabs button.active {
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
    box-shadow: none;
}

.reports-page-admin-lite .table-wrap {
    margin: 14px 0;
    border-color: #e2e8f0;
    background: #ffffff;
}

.reports-page-admin-lite th {
    color: #334155;
    background: #f8fafc;
}

.reports-page-admin-lite td {
    color: #475569;
    border-bottom-color: #e5e7eb;
}

.reports-page-admin-lite .mini-btn {
    border-color: #dbe4f0;
    color: #334155;
    background: #ffffff;
    box-shadow: none;
}

.reports-page-admin-lite .mini-btn:hover {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.admin-lite-modal-mask {
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: none;
}

.detail-modal-lite {
    border-color: #e2e8f0;
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
    backdrop-filter: none;
}

.detail-modal-lite .modal-badge {
    border-color: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    background: #eff6ff;
}

.detail-modal-lite h2,
.detail-modal-lite strong {
    color: #0f172a;
}

.detail-modal-lite .modal-subtitle,
.detail-modal-lite p,
.detail-modal-lite span {
    color: #64748b;
}

.detail-modal-lite .detail-card,
.detail-modal-lite .detail-timeline-item,
.detail-modal-lite .workbench-guide-card {
    border-color: #e2e8f0;
    background: #f8fafc;
    box-shadow: none;
}

.detail-modal-lite .detail-card p,
.detail-modal-lite .detail-timeline-head span {
    color: #475569;
}

.detail-modal-lite .detail-pre {
    border-color: #e2e8f0;
    color: #334155;
    background: #ffffff;
}

.detail-modal-lite .table-wrap {
    border-color: #e2e8f0;
    background: #ffffff;
}

.detail-modal-lite th {
    color: #334155;
    background: #f8fafc;
}

.detail-modal-lite td {
    color: #475569;
    border-bottom-color: #e5e7eb;
}

.detail-modal-lite .detail-timeline-item,
.detail-modal-lite .detail-pre,
.detail-modal-lite .table-wrap {
    content-visibility: auto;
    contain-intrinsic-size: 1px 220px;
}

.detail-collapse-card {
    margin-top: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.detail-collapse-card summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    user-select: none;
}

.detail-collapse-card summary::-webkit-details-marker {
    display: none;
}

.detail-collapse-card summary::after {
    content: "展开";
    float: right;
    color: #64748b;
    font-weight: 600;
}

.detail-collapse-card[open] summary::after {
    content: "收起";
}

.detail-collapse-body {
    padding: 0 14px 14px;
}

.detail-collapse-body .detail-pre:first-child,
.detail-collapse-body .table-wrap:first-child {
    margin-top: 0;
}
