:root {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --ink: #111827;
    --muted: #5f6b7a;
    --line: #dfe5ec;
    --line-strong: rgba(16, 163, 127, 0.18);
    --accent: #10a37f;
    --accent-strong: #0f8b6d;
    --accent-soft: rgba(16, 163, 127, 0.08);
    --success: #0f8b6d;
    --warning: #b7791f;
    --danger: #cf4a3f;
    --dark: #111827;
    --radius-lg: 8px;
    --radius-md: 8px;
    --shadow-lg: 0 8px 22px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 6px 14px rgba(15, 23, 42, 0.04);
    --max-width: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

code {
    font-family: "SFMono-Regular", Consolas, monospace;
}

[hidden] {
    display: none !important;
}

.container {
    width: min(calc(100% - 1.4rem), var(--max-width));
    margin: 0 auto;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #151b26;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.82rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(16, 163, 127, 0.22);
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
}

.brand-copy small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.73rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.header-link,
.header-button,
.button,
.mini-link,
.session-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.68rem 0.95rem;
    border-radius: 8px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.header-link {
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
}

.header-button,
.button-primary {
    border: none;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 8px 18px rgba(16, 163, 127, 0.16);
}

.button-dark {
    border: none;
    color: #fff;
    background: #253044;
}

.button-secondary {
    border: 1px solid var(--line);
    color: var(--ink);
    background: #fff;
}

.button:hover,
.header-link:hover,
.header-button:hover,
.mini-link:hover,
.session-chip:hover {
    transform: translateY(-1px);
}

.button:disabled {
    opacity: 0.72;
    cursor: wait;
    transform: none;
}

.dashboard-shell {
    flex: 1;
    padding: 0.9rem 0;
}

.dashboard-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    align-items: start;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
}

.intro-card {
    display: grid;
    gap: 0.9rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    margin-bottom: 0.9rem;
}

.intro-head {
    display: grid;
    align-content: center;
    gap: 0.55rem;
    min-width: 0;
}

.eyebrow,
.panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin: 0;
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow::before,
.panel-kicker::before {
    content: "";
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background: var(--accent);
}

.intro-head h1 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: 0;
    font-weight: 850;
}

.intro-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

.product-switch {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    width: min(100%, 23rem);
    margin-top: 0.8rem;
    padding: 0.28rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f7faf9;
}

.product-option {
    min-height: 2.45rem;
    border: 0;
    border-radius: 999px;
    color: var(--muted);
    background: transparent;
    font-weight: 800;
}

.product-option.is-active {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 8px 18px rgba(16, 163, 127, 0.16);
}

.verify-spotlight {
    align-self: center;
    padding: 0.95rem;
    border: 1px solid #cfe5de;
    border-radius: 8px;
    background: #f7fffb;
    box-shadow: none;
}

.verify-spotlight-head {
    display: grid;
    gap: 0.3rem;
    margin-bottom: 0.78rem;
}

.verify-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.24rem 0.55rem;
    border-radius: 6px;
    background: rgba(16, 163, 127, 0.12);
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
}

.verify-spotlight-head h3 {
    margin: 0;
    font-size: 1.18rem;
    letter-spacing: 0;
    font-weight: 850;
}

.verify-spotlight-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.verify-form {
    display: grid;
    gap: 0.72rem;
}

.verify-field {
    margin: 0;
}

.verify-button {
    width: 100%;
    min-height: 2.9rem;
    font-size: 0.98rem;
}

.intro-toolbar {
    display: grid;
    gap: 0.62rem;
    margin-top: 0;
    padding-top: 0.82rem;
    border-top: 1px solid var(--line);
    grid-column: 1 / -1;
}

.link-row,
.trust-row,
.session-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.mini-link,
.session-chip {
    border: 1px solid rgba(16, 163, 127, 0.16);
    background: #f7fffc;
    color: var(--accent-strong);
}

.trust-row span {
    padding: 0.42rem 0.68rem;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.84rem;
}

.panel-head {
    margin-bottom: 0.75rem;
}

.panel-head h2,
.step-head h3,
.status-box h3,
.query-box h3,
.status-headline {
    margin: 0;
}

.panel-head h2,
.status-headline {
    font-size: 1.45rem;
    letter-spacing: 0;
    font-weight: 850;
}

.step-card {
    scroll-margin-top: 0.75rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
}

.step-card + .step-card {
    margin-top: 0.7rem;
}

.step-card.is-current {
    border-color: var(--line-strong);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.step-card.is-locked {
    opacity: 0.64;
}

.step-card:not(.is-current) .simple-form,
.step-card:not(.is-current) .inline-result,
.step-card:not(.is-current) .summary-box,
.step-card:not(.is-current) .session-shortcuts {
    display: none;
}

.step-card:not(.is-current) .step-head {
    margin-bottom: 0;
}

.step-card:not(.is-current) .step-head p {
    display: none;
}

.step-head {
    display: flex;
    align-items: flex-start;
    gap: 0.72rem;
    margin-bottom: 0.76rem;
}

.step-index {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 7px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 900;
    flex: 0 0 auto;
}

.step-head p {
    margin: 0.18rem 0 0;
    color: var(--muted);
    line-height: 1.58;
}

.step-static-note {
    display: grid;
    gap: 0.24rem;
    padding: 0.85rem 0.9rem;
    border: 1px dashed rgba(16, 163, 127, 0.24);
    border-radius: 8px;
    background: var(--surface-soft);
}

.step-static-note strong {
    font-size: 0.92rem;
}

.step-static-note span {
    color: var(--muted);
    line-height: 1.55;
}

.simple-form {
    display: grid;
    gap: 0.76rem;
}

.field {
    display: grid;
    gap: 0.38rem;
}

.field span {
    font-size: 0.9rem;
    font-weight: 800;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.78rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(16, 163, 127, 0.42);
    box-shadow: 0 0 0 4px rgba(16, 163, 127, 0.1);
}

.field textarea {
    resize: vertical;
    min-height: 8rem;
}

.inline-result {
    margin-top: 0.72rem;
    padding: 0.76rem 0.82rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-size: 0.9rem;
    line-height: 1.62;
}

.inline-result a {
    color: var(--accent-strong);
    font-weight: 700;
}

.inline-result-muted {
    background: #f8fafc;
    color: var(--muted);
}

.inline-result-success {
    background: rgba(15, 139, 109, 0.08);
    border-color: rgba(15, 139, 109, 0.16);
    color: var(--success);
}

.inline-result-error {
    background: rgba(207, 74, 63, 0.08);
    border-color: rgba(207, 74, 63, 0.16);
    color: var(--danger);
}

.inline-result-loading {
    display: flex;
    align-items: center;
    gap: 0.68rem;
    background: rgba(16, 163, 127, 0.08);
    border-color: rgba(16, 163, 127, 0.18);
    color: var(--accent-strong);
}

.inline-result-loading strong,
.inline-result-loading span {
    display: block;
}

.inline-result-loading small {
    display: block;
    margin-top: 0.16rem;
    color: var(--muted);
}

.inline-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(16, 163, 127, 0.18);
    border-top-color: var(--accent);
    border-radius: 999px;
    animation: spin 0.75s linear infinite;
    flex: 0 0 auto;
}

.summary-box {
    display: grid;
    gap: 0.62rem;
    margin-bottom: 0.78rem;
}

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

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

.summary-item {
    padding: 0.72rem 0.78rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
}

.summary-item span {
    display: block;
    margin-bottom: 0.22rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.summary-item strong {
    font-size: 0.92rem;
    word-break: break-word;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
}

.check-row input {
    width: 1rem;
    height: 1rem;
}

.check-row-warning {
    align-items: flex-start;
    padding: 0.72rem 0.78rem;
    border: 1px solid rgba(183, 121, 31, 0.22);
    border-radius: 8px;
    background: rgba(183, 121, 31, 0.08);
    color: #8a5a16;
}

.check-row-warning[hidden] {
    display: none;
}

.plus-warning {
    display: grid;
    gap: 0.24rem;
    margin: 0 0 0.78rem;
    padding: 0.78rem 0.84rem;
    border: 1px solid rgba(183, 121, 31, 0.22);
    border-radius: 8px;
    background: rgba(183, 121, 31, 0.08);
    color: #8a5a16;
}

.plus-warning[hidden] {
    display: none;
}

.plus-warning strong {
    color: #7c4a0b;
}

.plus-warning span {
    line-height: 1.55;
}

#confirm-step.is-current {
    display: grid;
}

#confirm-step.is-current .step-head {
    order: 1;
}

#confirm-step.is-current #confirmSummary {
    order: 2;
}

#confirm-step.is-current #rechargeForm {
    order: 3;
}

#confirm-step.is-current #plusWarning {
    order: 4;
}

#confirm-step.is-current #submitResult {
    order: 5;
}

.status-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.8rem;
    padding: 0.46rem 0.76rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
}

.status-idle {
    background: #eef2f7;
    color: var(--muted);
}

.status-busy {
    background: rgba(183, 121, 31, 0.12);
    color: var(--warning);
}

.status-done,
.status-success {
    background: rgba(15, 139, 109, 0.12);
    color: var(--success);
}

.status-error {
    background: rgba(207, 74, 63, 0.12);
    color: var(--danger);
}

.status-box {
    margin-top: 0.75rem;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #f8fafc;
}

.status-box p,
.query-box p,
.progress-item span {
    margin: 0.3rem 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.progress-grid {
    display: grid;
    gap: 0.62rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0.78rem 0;
    padding: 0;
    list-style: none;
}

.progress-item {
    position: relative;
    padding: 0.72rem 0.78rem 0.72rem 2.25rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.progress-item::before {
    content: "";
    position: absolute;
    left: 0.86rem;
    top: 0.95rem;
    width: 0.78rem;
    height: 0.78rem;
    border-radius: 999px;
    background: #cbd5e1;
}

.progress-item strong {
    display: block;
    font-size: 0.9rem;
}

.progress-item.is-current::before {
    background: var(--accent);
}

.progress-item.is-done::before {
    background: var(--success);
}

.progress-item.is-failed::before {
    background: var(--danger);
}

.result-card {
    padding: 0.85rem;
    border-radius: 8px;
    background: #111827;
    color: #eef4ff;
    min-height: 8.5rem;
    max-height: 18rem;
    overflow: auto;
}

.result-stage {
    display: flex;
    align-items: center;
    gap: 0.82rem;
    margin-bottom: 0.9rem;
}

.result-stage strong {
    display: block;
    font-size: 0.98rem;
}

.result-stage small {
    display: block;
    margin-top: 0.2rem;
    color: rgba(238, 244, 255, 0.74);
    line-height: 1.55;
}

.loading-ring {
    width: 1.08rem;
    height: 1.08rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 999px;
    animation: spin 0.75s linear infinite;
    flex: 0 0 auto;
}

.button.is-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.52rem;
    cursor: not-allowed;
}

.button-spinner {
    width: 1.05rem;
    height: 1.05rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 999px;
    animation: spin 0.75s linear infinite;
    flex: 0 0 auto;
}

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

.detail-item {
    padding: 0.7rem 0.74rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.detail-item.span-full {
    grid-column: 1 / -1;
}

.detail-item span {
    display: block;
    margin-bottom: 0.22rem;
    color: rgba(238, 244, 255, 0.68);
    font-size: 0.78rem;
}

.detail-item strong {
    display: block;
    word-break: break-word;
    font-size: 0.9rem;
    color: #ffffff;
}

.query-box {
    margin-top: 0.75rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.query-box h3 {
    font-size: 0.98rem;
}

.compact-form {
    margin-top: 0.72rem;
}

.complete-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.58);
}

.complete-modal[hidden] {
    display: none;
}

.complete-dialog {
    width: min(100%, 23rem);
    padding: 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(16, 163, 127, 0.18);
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
    text-align: center;
}

.complete-mark {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    margin: 0 auto 0.7rem;
    border-radius: 999px;
    background: rgba(16, 163, 127, 0.12);
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 900;
}

.complete-dialog h2 {
    margin: 0;
    font-size: 1.45rem;
}

.complete-dialog p {
    margin: 0.5rem 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.complete-order {
    display: grid;
    gap: 0.22rem;
    margin: 0.9rem 0;
    padding: 0.72rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
}

.complete-order span {
    color: var(--muted);
    font-size: 0.8rem;
}

.complete-order strong {
    word-break: break-word;
}

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

@media (min-width: 981px) {
    body {
        overflow: hidden;
    }

    .intro-card {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
        align-items: start;
    }

    .dashboard-shell {
        height: calc(100vh - 4rem);
        overflow: hidden;
    }

    .dashboard-grid,
    .flow-panel,
    .status-panel {
        height: 100%;
    }

    .flow-panel,
    .status-panel {
        overflow: auto;
    }

    #confirm-step.is-current .summary-box {
        gap: 0.5rem;
        margin-bottom: 0.58rem;
    }

    #confirm-step.is-current .summary-item {
        padding: 0.58rem 0.66rem;
    }

    #confirm-step.is-current #rechargeForm {
        position: sticky;
        bottom: 0;
        z-index: 5;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 0.58rem;
        margin: 0.1rem 0 0.62rem;
        padding: 0.66rem;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(10px);
    }

    #confirm-step.is-current #rechargeForm .check-row {
        grid-column: 1 / -1;
        font-size: 0.9rem;
    }

    #confirm-step.is-current #rechargeForm .button {
        width: 100%;
    }

    #confirm-step.is-current #plusWarning {
        margin-bottom: 0.62rem;
        padding: 0.62rem 0.68rem;
        font-size: 0.86rem;
    }
}

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

    .intro-head h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 720px) {
    .summary-grid,
    .summary-compact,
    .progress-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 1rem), var(--max-width));
    }

    .site-header {
        position: sticky;
    }

    .header-row {
        min-height: 3.45rem;
        padding: 0.45rem 0;
    }

    .brand {
        gap: 0.65rem;
    }

    .brand-mark {
        width: 2.2rem;
        height: 2.2rem;
    }

    .brand-copy strong {
        font-size: 0.9rem;
    }

    .brand-copy small {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .dashboard-shell {
        padding: 0.55rem 0;
    }

    .dashboard-grid {
        gap: 0.65rem;
    }

    .panel {
        padding: 0.75rem;
    }

    .intro-card {
        gap: 0.72rem;
    }

    .intro-head {
        gap: 0.42rem;
    }

    .eyebrow,
    .panel-kicker {
        font-size: 0.7rem;
    }

    .intro-head h1 {
        font-size: 1.42rem;
        line-height: 1.28;
    }

    .intro-text {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .verify-spotlight {
        padding: 0.78rem;
    }

    .verify-spotlight-head h3 {
        font-size: 1.08rem;
    }

    .field input,
    .field textarea {
        padding: 0.72rem 0.78rem;
    }

    .button,
    .mini-link,
    .session-chip {
        min-height: 2.55rem;
        padding: 0.62rem 0.78rem;
    }

    .link-row,
    .session-shortcuts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .trust-row {
        display: none;
    }

    .panel-head {
        margin-bottom: 0.55rem;
    }

    .panel-head h2,
    .status-headline {
        font-size: 1.18rem;
    }

    .step-card {
        padding: 0.72rem;
    }

    .step-head {
        gap: 0.62rem;
        margin-bottom: 0.65rem;
    }

    .step-head h3 {
        font-size: 1rem;
    }

    .step-head p,
    .status-box p,
    .query-box p,
    .progress-item span {
        font-size: 0.88rem;
    }

    .summary-item,
    .progress-item {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .result-card {
        min-height: 7rem;
        max-height: none;
    }
}

/* Fresh green theme. Functional markup stays unchanged; desktop and mobile get separate layouts. */
:root {
    --bg: #effaf4;
    --surface: #ffffff;
    --surface-soft: #f6fcf8;
    --ink: #09211a;
    --muted: #60756d;
    --line: #d4eadf;
    --line-strong: rgba(16, 185, 129, 0.32);
    --accent: #10b981;
    --accent-strong: #059669;
    --accent-soft: rgba(16, 185, 129, 0.11);
    --success: #059669;
    --warning: #a16207;
    --danger: #dc4c3f;
    --dark: #10251f;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow-lg: 0 24px 54px rgba(13, 94, 66, 0.11);
    --shadow-md: 0 14px 30px rgba(13, 94, 66, 0.08);
    --max-width: 1380px;
}

body {
    background:
        radial-gradient(circle at 8% 86%, rgba(187, 247, 208, 0.55), transparent 28rem),
        radial-gradient(circle at 92% 10%, rgba(167, 243, 208, 0.5), transparent 24rem),
        linear-gradient(135deg, #f6fcf8 0%, #effaf4 46%, #e7f6ee 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(16, 185, 129, 0.16) 1px, transparent 1px);
    background-size: 24px 24px;
}

.site-header {
    background: rgba(15, 37, 31, 0.94);
    border-bottom: 1px solid rgba(187, 247, 208, 0.16);
    box-shadow: 0 16px 34px rgba(15, 37, 31, 0.12);
}

.brand-mark {
    border-radius: 16px;
    background: linear-gradient(135deg, #16c784, #059669);
    box-shadow: 0 12px 26px rgba(16, 185, 129, 0.28);
}

.header-link,
.header-button,
.button,
.mini-link,
.session-chip {
    border-radius: 999px;
}

.header-button,
.button-primary {
    background: linear-gradient(135deg, #12c48b, #059669);
    box-shadow: 0 14px 28px rgba(16, 185, 129, 0.22);
}

.button-dark {
    background: #203629;
}

.button-secondary {
    border-color: #cfe7dc;
    color: #0f3d31;
    background: #fbfffd;
}

.panel {
    border-color: rgba(174, 222, 198, 0.8);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-lg);
}

.intro-card,
.step-card,
.status-box,
.query-box,
.summary-item,
.progress-item,
.verify-spotlight {
    border-color: #cfeadf;
}

.verify-spotlight,
.status-box,
.summary-item,
.progress-item,
.query-box,
.complete-order {
    background: rgba(248, 254, 250, 0.92);
}

.intro-head h1,
.panel-head h2,
.status-headline {
    letter-spacing: -0.04em;
}

.intro-head h1 {
    font-size: clamp(2rem, 4.1vw, 4.15rem);
    line-height: 1.03;
}

.intro-text {
    max-width: 34rem;
}

.product-switch {
    width: min(100%, 19.5rem);
    border-color: #c9eadc;
    background: rgba(242, 253, 247, 0.86);
}

.product-option.is-active {
    background: linear-gradient(135deg, #12c48b, #059669);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.22);
}

.verify-spotlight {
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(240, 253, 244, 0.98), rgba(255, 255, 255, 0.95)),
        #ffffff;
    box-shadow: 0 20px 44px rgba(16, 185, 129, 0.12);
}

.verify-tag,
.step-index {
    border-radius: 14px;
    background: #def7ea;
}

.field input,
.field textarea {
    border-color: #c9ddd5;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(16, 185, 129, 0.64);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.11);
}

.inline-result,
.summary-item,
.progress-item,
.status-box,
.query-box,
.result-card,
.complete-dialog {
    border-radius: 18px;
}

.inline-result-success {
    background: #e9fbf2;
    border-color: #bfead6;
}

.inline-result-error {
    background: #fff3f1;
    border-color: #f5c7c1;
}

.inline-result-loading {
    background: #e9fbf2;
    border-color: #bcead5;
}

.status-pill {
    border-radius: 999px;
}

.status-idle {
    background: #eef8f3;
}

.status-busy {
    background: #fdf6df;
}

.status-done,
.status-success {
    background: #def7ea;
}

.result-card {
    background:
        radial-gradient(circle at 95% 15%, rgba(45, 212, 139, 0.18), transparent 8rem),
        linear-gradient(145deg, #10251f, #173a2f);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.loading-ring {
    border-color: rgba(45, 212, 139, 0.22);
    border-top-color: #34d399;
}

.complete-modal {
    background: rgba(9, 33, 26, 0.58);
    backdrop-filter: blur(8px);
}

.complete-dialog {
    border-color: #bdebd4;
    box-shadow: 0 26px 70px rgba(9, 33, 26, 0.24);
}

.complete-mark {
    background: #dff9ec;
    color: #059669;
}

@media (min-width: 981px) {
    .dashboard-shell {
        padding: 1.1rem 0;
    }

    .dashboard-grid {
        grid-template-columns: minmax(660px, 1.08fr) minmax(380px, 0.78fr);
        gap: 1.1rem;
    }

    .flow-panel,
    .status-panel {
        border-radius: 28px;
        padding: 1.55rem;
    }

    .intro-card {
        grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.72fr);
        gap: 1.15rem;
        margin-bottom: 1.35rem;
    }

    .intro-head {
        min-height: 23rem;
        padding: 1.3rem 0.2rem 1rem 0;
    }

    .verify-spotlight {
        align-self: stretch;
        display: grid;
        align-content: center;
        padding: 1.35rem;
    }

    .verify-button {
        min-height: 3.35rem;
        font-size: 1.05rem;
    }

    .step-card {
        padding: 1rem;
        border-radius: 22px;
    }

    .step-card + .step-card {
        margin-top: 0.85rem;
    }

    .status-panel {
        position: sticky;
        top: 5.1rem;
    }

    .status-headline {
        font-size: 2.2rem;
    }

    .status-box {
        padding: 1.05rem;
    }

    .progress-grid {
        gap: 0.75rem;
    }

    .result-card {
        min-height: 10rem;
        max-height: 18.5rem;
        padding: 1rem;
    }

    #confirm-step.is-current #rechargeForm {
        border-color: #c9eadc;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -18px 34px rgba(13, 94, 66, 0.1);
    }
}

@media (max-width: 980px) {
    body {
        background:
            radial-gradient(circle at 100% 0%, rgba(187, 247, 208, 0.7), transparent 17rem),
            linear-gradient(180deg, #f7fef9 0%, #eef9f3 100%);
    }

    .site-header {
        background: rgba(255, 255, 255, 0.93);
        border-bottom: 1px solid #d4eadf;
        box-shadow: 0 10px 28px rgba(13, 94, 66, 0.08);
    }

    .brand-copy strong {
        color: #09211a;
    }

    .brand-copy small {
        color: #60756d;
    }

    .flow-panel,
    .status-panel {
        border-radius: 24px;
        padding: 1rem;
    }

    .intro-card {
        gap: 1rem;
    }

    .intro-head {
        padding: 0.25rem 0.1rem;
    }

    .intro-head h1 {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.06;
    }

    .intro-text {
        font-size: 1rem;
    }

    .verify-spotlight {
        padding: 1rem;
        border-radius: 22px;
    }

    .verify-form {
        gap: 0.8rem;
    }

    .verify-button,
    .simple-form .button {
        min-height: 3.2rem;
        width: 100%;
    }

    .product-switch {
        width: 100%;
    }

    .step-card {
        border-radius: 22px;
        padding: 0.95rem;
    }

    .session-shortcuts {
        grid-template-columns: 1fr;
    }

    .status-panel {
        order: 2;
    }

    .status-headline {
        font-size: 1.7rem;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 0.9rem), var(--max-width));
    }

    .dashboard-shell {
        padding: 0.5rem 0 0.9rem;
    }

    .dashboard-grid {
        gap: 0.7rem;
    }

    .panel {
        box-shadow: 0 16px 34px rgba(13, 94, 66, 0.09);
    }

    .intro-head h1 {
        font-size: 2.05rem;
    }

    .intro-text {
        font-size: 0.94rem;
    }

    .eyebrow,
    .panel-kicker {
        letter-spacing: 0.02em;
    }

    .verify-spotlight-head h3 {
        font-size: 1.2rem;
    }

    .field textarea {
        min-height: 7rem;
    }

    .summary-grid,
    .summary-compact,
    .progress-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .status-top {
        display: grid;
        gap: 0.55rem;
        align-items: start;
        justify-content: stretch;
    }

    .status-pill {
        justify-self: start;
        min-width: auto;
    }

    .result-card {
        border-radius: 22px;
    }

    .complete-dialog {
        border-radius: 24px;
    }
}

/* Desktop scroll fix: allow lower content on both columns to remain reachable. */
@media (min-width: 981px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .dashboard-shell {
        height: auto;
        min-height: calc(100vh - 4.35rem);
        overflow: visible;
    }

    .dashboard-grid {
        height: auto;
        align-items: start;
    }

    .flow-panel,
    .status-panel {
        height: auto;
    }

    .flow-panel {
        overflow: visible;
        min-height: calc(100vh - 6.8rem);
    }

    .status-panel {
        max-height: calc(100vh - 6.4rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: rgba(16, 185, 129, 0.42) rgba(209, 250, 229, 0.45);
    }

    .status-panel::-webkit-scrollbar {
        width: 0.55rem;
    }

    .status-panel::-webkit-scrollbar-track {
        background: rgba(209, 250, 229, 0.45);
        border-radius: 999px;
    }

    .status-panel::-webkit-scrollbar-thumb {
        background: rgba(16, 185, 129, 0.42);
        border-radius: 999px;
    }
}

/* Premium mint polish layer. Flow, forms and API logic are unchanged. */
:root {
    --bg: #edf7f1;
    --surface: #ffffff;
    --surface-soft: #f4fbf7;
    --ink: #071f19;
    --muted: #62776e;
    --line: rgba(151, 207, 181, 0.58);
    --line-strong: rgba(13, 148, 101, 0.34);
    --accent: #10b981;
    --accent-strong: #047857;
    --accent-soft: rgba(16, 185, 129, 0.12);
    --success: #059669;
    --warning: #9a6700;
    --danger: #d6453d;
    --dark: #0d211b;
    --radius-lg: 30px;
    --radius-md: 22px;
    --shadow-lg: 0 28px 70px rgba(7, 45, 33, 0.12);
    --shadow-md: 0 18px 40px rgba(7, 45, 33, 0.09);
    --max-width: 1420px;
}

body {
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 18%, rgba(187, 247, 208, 0.68), transparent 22rem),
        radial-gradient(circle at 88% 10%, rgba(153, 246, 228, 0.5), transparent 24rem),
        radial-gradient(circle at 50% 100%, rgba(209, 250, 229, 0.68), transparent 30rem),
        linear-gradient(135deg, #f8fffb 0%, #eef9f2 47%, #e5f4ec 100%);
}

body::before {
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(8, 92, 66, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 92, 66, 0.055) 1px, transparent 1px);
    background-size: 28px 28px;
}

body::after {
    content: "";
    position: fixed;
    right: -10rem;
    bottom: -12rem;
    z-index: -1;
    width: 36rem;
    height: 36rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 62%);
    filter: blur(8px);
    pointer-events: none;
}

.site-header {
    background: rgba(9, 28, 23, 0.9);
    border-bottom: 1px solid rgba(209, 250, 229, 0.14);
    box-shadow: 0 18px 42px rgba(7, 45, 33, 0.16);
}

.header-row {
    min-height: 4.35rem;
}

.brand-mark {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
        linear-gradient(135deg, #34d399, #059669);
    box-shadow: 0 18px 36px rgba(16, 185, 129, 0.34);
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: -0.42rem;
    z-index: -1;
    border-radius: 22px;
    background: rgba(52, 211, 153, 0.14);
}

.brand-copy strong {
    letter-spacing: -0.02em;
}

.header-link,
.header-button {
    min-height: 2.8rem;
    padding-inline: 1.25rem;
}

.header-link {
    border-color: rgba(209, 250, 229, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.header-button,
.button-primary {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 38%),
        linear-gradient(135deg, #22c98d, #059669);
    box-shadow: 0 16px 32px rgba(16, 185, 129, 0.24);
}

.button-dark {
    background: linear-gradient(135deg, #163129, #0b1f19);
    box-shadow: 0 14px 28px rgba(7, 31, 25, 0.15);
}

.button-secondary {
    border-color: rgba(151, 207, 181, 0.6);
    background: rgba(255, 255, 255, 0.84);
    color: #0b3d31;
}

.button,
.header-link,
.header-button,
.session-chip {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.header-link:hover,
.header-button:hover,
.session-chip:hover {
    transform: translateY(-2px);
}

.button:disabled {
    box-shadow: none;
}

.dashboard-shell {
    position: relative;
}

.panel {
    position: relative;
    border: 1px solid rgba(151, 207, 181, 0.62);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
        rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.flow-panel::before,
.status-panel::before {
    content: "";
    position: absolute;
    inset: 0.8rem 0.8rem auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.35), transparent);
    pointer-events: none;
}

.intro-card {
    position: relative;
}

.intro-head {
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(190, 232, 211, 0.72);
    border-radius: 28px;
    background:
        radial-gradient(circle at 85% 12%, rgba(167, 243, 208, 0.56), transparent 12rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(241, 252, 247, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.intro-head::after {
    content: "";
    position: absolute;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: -1;
    width: 8.5rem;
    height: 8.5rem;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(20, 184, 166, 0.05));
    transform: rotate(8deg);
}

.eyebrow,
.panel-kicker {
    color: #047857;
    letter-spacing: 0.08em;
}

.eyebrow::before,
.panel-kicker::before {
    width: 0.48rem;
    height: 0.48rem;
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}

.intro-head h1 {
    max-width: 12ch;
    font-weight: 900;
    letter-spacing: -0.065em;
}

.intro-text {
    color: #557067;
    font-weight: 500;
}

.product-switch {
    padding: 0.34rem;
    border-color: rgba(151, 207, 181, 0.7);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.product-option {
    min-height: 2.72rem;
}

.product-option.is-active {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 40%),
        linear-gradient(135deg, #19c98f, #059669);
    box-shadow: 0 13px 26px rgba(16, 185, 129, 0.24);
}

.verify-spotlight {
    position: relative;
    border-color: rgba(120, 205, 165, 0.66);
    background:
        radial-gradient(circle at 90% 0%, rgba(187, 247, 208, 0.52), transparent 10rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 254, 249, 0.96));
    box-shadow: 0 24px 58px rgba(7, 86, 58, 0.14);
}

.verify-spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.verify-tag,
.step-index {
    background: linear-gradient(135deg, #dff8ec, #eefdf5);
    color: #047857;
}

.verify-spotlight-head h3,
.step-head h3 {
    letter-spacing: -0.035em;
}

.verify-field span,
.field span {
    color: #15352b;
}

.field input,
.field textarea {
    border-color: rgba(151, 207, 181, 0.74);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.field input:hover,
.field textarea:hover {
    border-color: rgba(16, 185, 129, 0.48);
}

.field input:focus,
.field textarea:focus {
    background: #ffffff;
}

.panel-head {
    padding: 0 0.2rem;
}

.panel-head h2,
.status-headline {
    font-weight: 900;
    letter-spacing: -0.055em;
}

.step-card {
    border-color: rgba(190, 232, 211, 0.85);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.step-card.is-current {
    border-color: rgba(16, 185, 129, 0.36);
    background:
        radial-gradient(circle at 100% 0%, rgba(209, 250, 229, 0.36), transparent 11rem),
        rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 38px rgba(7, 86, 58, 0.1);
}

.step-card.is-locked {
    opacity: 0.72;
}

.step-head p,
.status-box p,
.query-box p,
.progress-item span {
    color: #64796f;
}

.session-chip {
    min-height: 2.76rem;
    border-color: rgba(16, 185, 129, 0.22);
    background: rgba(240, 253, 244, 0.84);
    color: #047857;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.inline-result {
    border-color: rgba(151, 207, 181, 0.68);
    background: rgba(247, 253, 250, 0.82);
}

.inline-result-success {
    background: linear-gradient(180deg, #e8fbf2, #f4fdf8);
}

.inline-result-error {
    background: linear-gradient(180deg, #fff1ef, #fff8f7);
}

.inline-result-loading {
    background: linear-gradient(180deg, #e8fbf2, #f4fdf8);
}

.inline-spinner {
    width: 1.15rem;
    height: 1.15rem;
    border-width: 2.5px;
}

.summary-item,
.progress-item,
.status-box,
.query-box {
    border-color: rgba(190, 232, 211, 0.78);
    background: rgba(249, 254, 251, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.summary-item span,
.detail-item span {
    font-weight: 700;
}

.status-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 253, 249, 0.9)),
        rgba(255, 255, 255, 0.92);
}

.status-top {
    align-items: center;
}

.status-pill {
    min-width: 6.2rem;
    min-height: 2.42rem;
    letter-spacing: -0.01em;
}

.status-box {
    background:
        radial-gradient(circle at 95% 10%, rgba(16, 185, 129, 0.16), transparent 7rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 252, 248, 0.95));
}

.progress-item {
    overflow: hidden;
    padding-left: 2.55rem;
}

.progress-item::before {
    left: 0.92rem;
    top: 0.9rem;
    width: 0.92rem;
    height: 0.92rem;
    box-shadow: 0 0 0 5px rgba(148, 163, 184, 0.13);
}

.progress-item.is-current {
    border-color: rgba(16, 185, 129, 0.34);
    background: #ffffff;
}

.progress-item.is-current::before {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.13);
}

.progress-item.is-done::before {
    box-shadow: 0 0 0 6px rgba(5, 150, 105, 0.13);
}

.result-card {
    border: 1px solid rgba(209, 250, 229, 0.12);
    background:
        radial-gradient(circle at 88% 12%, rgba(52, 211, 153, 0.2), transparent 9rem),
        radial-gradient(circle at 0% 100%, rgba(45, 212, 191, 0.1), transparent 10rem),
        linear-gradient(145deg, #071f19, #133629 54%, #0b241c);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 42px rgba(7, 31, 25, 0.16);
}

.detail-item {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
}

.query-box {
    background: rgba(255, 255, 255, 0.86);
}

.plus-warning,
.check-row-warning {
    border-color: rgba(217, 119, 6, 0.22);
    background: linear-gradient(180deg, #fffbeb, #fff7ed);
}

.complete-dialog {
    background:
        radial-gradient(circle at 100% 0%, rgba(187, 247, 208, 0.58), transparent 10rem),
        #ffffff;
}

@media (min-width: 981px) {
    .dashboard-shell {
        padding: 1.25rem 0;
    }

    .dashboard-grid {
        grid-template-columns: minmax(720px, 1.1fr) minmax(410px, 0.72fr);
        gap: 1.25rem;
    }

    .flow-panel,
    .status-panel {
        padding: 1.35rem;
        border-radius: 32px;
    }

    .intro-card {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
        gap: 1.05rem;
        margin-bottom: 1.15rem;
    }

    .intro-head {
        min-height: 21rem;
        padding: 1.55rem;
    }

    .verify-spotlight {
        padding: 1.45rem;
    }

    .verify-spotlight-head h3 {
        font-size: 1.42rem;
    }

    .verify-button {
        min-height: 3.45rem;
    }

    .step-card {
        padding: 1.05rem;
    }

    .status-panel {
        top: 5.35rem;
    }

    .status-headline {
        font-size: 2.35rem;
    }

    .result-card {
        max-height: 19rem;
    }

    #confirm-step.is-current #rechargeForm {
        border-color: rgba(151, 207, 181, 0.68);
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 -18px 42px rgba(7, 86, 58, 0.11);
    }
}

@media (max-width: 980px) {
    body {
        background:
            radial-gradient(circle at 100% 0%, rgba(187, 247, 208, 0.78), transparent 18rem),
            radial-gradient(circle at 0% 40%, rgba(204, 251, 241, 0.48), transparent 16rem),
            linear-gradient(180deg, #f8fffb 0%, #edf8f1 100%);
    }

    .site-header {
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid rgba(151, 207, 181, 0.5);
    }

    .brand-mark {
        width: 2.55rem;
        height: 2.55rem;
    }

    .brand-copy strong {
        color: #071f19;
    }

    .brand-copy small {
        color: #60756d;
    }

    .dashboard-grid {
        gap: 0.85rem;
    }

    .flow-panel,
    .status-panel {
        border-radius: 28px;
        padding: 0.95rem;
    }

    .intro-head {
        padding: 1.05rem;
        border-radius: 24px;
    }

    .intro-head h1 {
        max-width: none;
        font-size: clamp(2rem, 8.5vw, 3.25rem);
        line-height: 1.05;
    }

    .product-switch {
        width: 100%;
        max-width: 24rem;
    }

    .verify-spotlight {
        border-radius: 24px;
    }

    .status-panel {
        order: 2;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 0.85rem), var(--max-width));
    }

    .header-row {
        min-height: 3.6rem;
    }

    .brand-mark {
        width: 2.35rem;
        height: 2.35rem;
        border-radius: 15px;
    }

    .dashboard-shell {
        padding: 0.48rem 0 0.85rem;
    }

    .flow-panel,
    .status-panel {
        padding: 0.72rem;
        border-radius: 24px;
    }

    .intro-card {
        gap: 0.72rem;
        margin-bottom: 0.84rem;
    }

    .intro-head {
        padding: 0.92rem;
        border-radius: 22px;
    }

    .intro-head::after {
        width: 5.5rem;
        height: 5.5rem;
        right: 0.65rem;
        bottom: 0.65rem;
    }

    .intro-head h1 {
        font-size: 2rem;
        letter-spacing: -0.055em;
    }

    .intro-text {
        font-size: 0.94rem;
    }

    .verify-spotlight,
    .step-card,
    .status-box,
    .query-box,
    .result-card {
        border-radius: 20px;
    }

    .verify-spotlight {
        padding: 0.92rem;
    }

    .verify-button,
    .simple-form .button {
        min-height: 3.18rem;
    }

    .product-option {
        min-height: 2.58rem;
        font-size: 0.92rem;
    }

    .step-card {
        padding: 0.82rem;
    }

    .step-head {
        gap: 0.62rem;
    }

    .step-index {
        width: 2rem;
        height: 2rem;
        border-radius: 12px;
    }

    .summary-item,
    .progress-item {
        border-radius: 16px;
    }

    .result-card {
        min-height: 7.5rem;
    }

    .complete-dialog {
        border-radius: 24px;
    }
}

/* Final desktop scroll guard: keep lower cards reachable after CDN/cache merges. */
@media (min-width: 981px) {
    html,
    body {
        min-height: 100%;
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .dashboard-shell,
    .dashboard-grid,
    .flow-panel {
        height: auto;
        overflow: visible;
    }

    .dashboard-shell {
        min-height: calc(100vh - 4.35rem);
        padding-bottom: 2rem;
    }

    .dashboard-grid {
        align-items: start;
    }

    .status-panel {
        height: auto;
        max-height: calc(100vh - 6.4rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }
}

/* Mobile paste guard: make the whole Session/Grok box easy to focus and paste into. */
.target-field {
    cursor: text;
}

.target-field textarea {
    cursor: text;
    caret-color: var(--accent);
    -webkit-user-select: text;
    user-select: text;
    touch-action: auto;
}

@media (max-width: 980px) {
    .target-field textarea {
        min-height: 11rem;
        font-size: 16px;
        line-height: 1.58;
    }
}
