body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: white;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.navbar {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #1e293b;
    background: #0f172a;
    position: sticky;
    top: 0;
}

.navbar a,
.navbar a:visited {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

.navbar a:hover {
    color: #38bdf8;
}

.hero {
    text-align: center;
    padding: 60px 20px;
}

.logo {
    width: 220px;
    display: block;
    margin: 0 auto 20px auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.5rem;
    color: #38bdf8;
}

.description {
    max-width: 700px;
    margin: 20px auto;
}

.beta {
    color: #38bdf8;
    font-weight: bold;
}

section {
    padding: 40px 0;
}

h2 {
    margin-bottom: 20px;
}

ul,
ol {
    padding-left: 25px;
}

a,
a:visited {
    color: #38bdf8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #1e293b;
    margin-top: 40px;
}

.card {
    background: #1e293b;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #334155;
}

.card h2 {
    margin-top: 0;
    color: #38bdf8;
}

.card p {
    font-size: 2rem;
    font-weight: bold;
}

.status-connected {
    color: #22c55e;
}

.status-disconnected {
    color: #ef4444;
}

.cta-button {
    display: inline-block;
    background: #38bdf8;
    color: #0f172a;
    padding: 16px 36px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

.cta-button:hover {
    background: #0ea5e9;
    text-decoration: none;
}

.subtitle {
    color: #38bdf8;
    margin-bottom: 40px;
}

.status-card {
    background: #1e293b;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #334155;
}

.connection-status {
    font-size: 2rem;
    font-weight: bold;
    margin: 25px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.stat-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid #334155;
}

.stat-card h3 {
    color: #38bdf8;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

button {
    margin-top: 25px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #38bdf8;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

button:disabled {
    background: #475569;
    cursor: not-allowed;
}

.cta-button {
    display: inline-block;
    background: #38bdf8;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.2s;
}

.cta-button:hover {
    background: #0ea5e9;
}

.dashboard-page {
    padding: 40px 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.dashboard-header h1 {
    margin-bottom: 0;
}

.dashboard-sign-out,
.dashboard-sign-out:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.dashboard-sign-out:hover {
    border-color: #475569;
    background: #1e293b;
    color: #ffffff;
    text-decoration: none;
}

.dashboard-section {
    margin-top: 30px;
}

.sync-status-grid {
    margin-top: 25px;
}

.stat-detail {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
}

.table-list {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    overflow: hidden;
}

.table-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-bottom: 1px solid #334155;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.table-row span {
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .dashboard-header,
    .table-row {
        flex-direction: column;
    }
}

.landing-page {
    background: #ffffff;
    color: #0f172a;
    font-family: Inter, Arial, sans-serif;
    line-height: 1.5;
}

.landing-container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.landing-nav {
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.nav-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand,
.brand:visited {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-link,
.nav-link:visited {
    color: #334155;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.nav-link:hover,
.brand:hover {
    color: #0f172a;
    text-decoration: none;
}

.landing-hero {
    padding: 112px 0 78px 0;
    border-bottom: 1px solid #e5e7eb;
}

.hero-inner {
    max-width: 700px;
}

.badge {
    width: fit-content;
    margin: 0 0 24px 0;
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 700;
}

.landing-page h1 {
    max-width: 680px;
    margin: 0;
    color: #0f172a;
    font-size: 5rem;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 600px;
    margin: 30px 0 0 0;
    color: #475569;
    font-size: 1.12rem;
}

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

.primary-action,
.primary-action:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    box-sizing: border-box;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.hero-actions .primary-action {
    margin-top: 0;
}

.primary-action,
.primary-action:visited {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
}

.primary-action:hover {
    text-decoration: none;
}

.hero-trust-line {
    max-width: 620px;
    margin: 16px 0 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

.brand-line {
    margin: 58px 0 0 0;
    color: #64748b;
    font-size: 0.98rem;
}

.trust-section,
.how-section,
.preview-section,
.faq-section {
    padding: 72px 0;
    border-bottom: 1px solid #e5e7eb;
}

.landing-page h2 {
    margin: 0 0 28px 0;
    color: #0f172a;
    font-size: 1.75rem;
    line-height: 1.15;
    letter-spacing: 0;
}

.trust-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-list li {
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #334155;
    font-weight: 600;
}

.trust-list li::before {
    content: "✓";
    margin-right: 10px;
    color: #0f172a;
}

.steps {
    max-width: 760px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li:not(.step-arrow) {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
}

.steps span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 700;
}

.steps strong {
    color: #0f172a;
    font-size: 1.08rem;
}

.step-arrow {
    padding-left: 13px;
    color: #94a3b8;
    font-size: 1.2rem;
}

.dashboard-preview {
    margin: 0;
    display: grid;
    justify-items: center;
}

.dashboard-preview-frame {
    width: min(100%, 1080px);
    max-width: 100%;
}

.dashboard-preview img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.dashboard-preview figcaption {
    width: min(100%, 720px);
    margin-top: 18px;
    color: #64748b;
    font-size: 0.98rem;
    justify-self: start;
}

.faq-section {
    border-bottom: none;
}

.faq-item {
    max-width: 760px;
    padding: 26px 0;
    border-top: 1px solid #e5e7eb;
}

.faq-item h3 {
    margin: 0 0 10px 0;
    color: #0f172a;
    font-size: 1.05rem;
}

.faq-item p {
    margin: 8px 0 0 0;
    color: #475569;
}

.landing-footer {
    padding: 28px 0;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

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

.footer-inner p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a,
.footer-links a:visited {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-links a:hover {
    color: #0f172a;
    text-decoration: none;
}

.legal-page {
    margin: 0;
    background: #ffffff;
    color: #0f172a;
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6;
}

.legal-container {
    width: min(720px, calc(100% - 40px));
    margin: 0 auto;
    padding: 56px 0;
}

.legal-container .brand {
    display: inline-flex;
}

.legal-container h1 {
    margin: 56px 0 24px 0;
    font-size: clamp(2.25rem, 8vw, 4rem);
    line-height: 1;
    letter-spacing: 0;
}

.legal-container h2 {
    margin: 42px 0 12px 0;
    color: #0f172a;
    font-size: 1.25rem;
    line-height: 1.25;
}

.legal-container p {
    margin: 18px 0 0 0;
    color: #475569;
    font-size: 1rem;
}

.legal-container ul {
    margin: 16px 0 0 0;
    padding-left: 20px;
    color: #475569;
}

.legal-container li {
    margin-top: 10px;
}

.legal-updated {
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 600;
}

.legal-footer {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.legal-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
}

.auth-form {
    display: grid;
    gap: 12px;
    margin: 32px 0 18px 0;
}

.auth-form label {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
}

.auth-form input {
    min-height: 46px;
    box-sizing: border-box;
    width: 100%;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #0f172a;
    font: inherit;
}

.auth-form input:focus {
    border-color: #0f172a;
    outline: none;
}

.auth-form button {
    justify-self: start;
    min-height: 46px;
    margin-top: 4px;
    padding: 0 18px;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
}

.auth-form button:disabled {
    background: #64748b;
}

.auth-message {
    min-height: 24px;
}

.sign-in-page {
    min-height: 100vh;
    margin: 0;
    background: #f8fafc;
    color: #0f172a;
    font-family: Inter, Arial, sans-serif;
    line-height: 1.5;
}

.sign-in-shell {
    min-height: 100vh;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    padding: 48px 20px;
}

.sign-in-card {
    width: min(100%, 440px);
    box-sizing: border-box;
    padding: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.sign-in-brand {
    display: inline-flex;
    margin-bottom: 42px;
}

.sign-in-card h1 {
    margin: 0;
    color: #0f172a;
    font-size: 2.25rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.sign-in-subtitle {
    margin: 12px 0 0 0;
    color: #475569;
    font-size: 1rem;
}

.sign-in-card .auth-form {
    margin: 30px 0 14px 0;
}

.sign-in-card .auth-form input {
    min-height: 48px;
    background: #ffffff;
}

.sign-in-card .auth-form button {
    width: 100%;
    justify-self: stretch;
    min-height: 48px;
    margin-top: 8px;
    cursor: pointer;
}

.sign-in-card .auth-form button:disabled {
    cursor: not-allowed;
}

.sign-in-card .auth-message {
    margin: 12px 0 0 0;
    color: #475569;
    font-size: 0.92rem;
}

.sign-in-footer-note {
    margin: 20px 0 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

.sign-in-new-account {
    margin: 28px 0 0 0;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 0.95rem;
}

.sign-in-new-account a,
.sign-in-new-account a:visited {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}

.sign-in-new-account a:hover {
    text-decoration: none;
}

.welcome-success {
    color: #16a34a;
    font-weight: 700;
}

.welcome-action {
    margin-top: 32px;
}

.welcome-action .primary-action {
    cursor: pointer;
}

.legal-container a:not(.brand),
.legal-container a:not(.brand):visited {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}

.legal-container .primary-action,
.legal-container .primary-action:visited {
    color: #ffffff;
}

@media (max-width: 720px) {
    .landing-container {
        width: min(1120px, calc(100% - 32px));
    }

    .nav-inner {
        min-height: 60px;
    }

    .landing-hero {
        padding: 58px 0 52px 0;
    }

    .badge {
        margin-bottom: 20px;
    }

    .landing-page h1 {
        max-width: 420px;
        font-size: 3rem;
        line-height: 1.06;
    }

    .hero-copy {
        max-width: 460px;
        margin-top: 22px;
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        margin-top: 30px;
    }

    .primary-action {
        width: 100%;
        min-height: 48px;
        padding: 0 16px;
    }

    .hero-trust-line {
        max-width: 420px;
        font-size: 0.88rem;
    }

    .brand-line {
        margin-top: 42px;
    }

    .trust-section,
    .how-section,
    .preview-section,
    .faq-section {
        padding: 52px 0;
    }

    .landing-page h2 {
        margin-bottom: 22px;
        font-size: 1.45rem;
    }

    .trust-list {
        grid-template-columns: 1fr;
    }

    .steps li:not(.step-arrow) {
        grid-template-columns: 34px 1fr;
        gap: 14px;
        padding: 16px 0;
    }

    .steps span {
        width: 32px;
        height: 32px;
    }

    .steps strong {
        font-size: 1rem;
    }

    .dashboard-preview-frame {
        aspect-ratio: 4 / 3;
        overflow: hidden;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
    }

    .dashboard-preview img {
        width: 180%;
        max-width: none;
        border: 0;
        transform: translateX(-4%);
    }

    .dashboard-preview figcaption {
        margin-top: 14px;
        font-size: 0.92rem;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .footer-links {
        gap: 12px 16px;
    }
}

@media (max-width: 520px) {
    .sign-in-shell {
        align-items: start;
        padding: 28px 16px;
    }

    .sign-in-card {
        padding: 28px 22px;
        box-shadow: none;
    }

    .sign-in-brand {
        margin-bottom: 34px;
    }

    .sign-in-card h1 {
        font-size: 2rem;
    }
}

@media (min-width: 721px) and (max-width: 1024px) {
    .landing-container {
        width: min(1120px, calc(100% - 56px));
    }

    .landing-hero {
        padding: 88px 0 68px 0;
    }

    .landing-page h1 {
        max-width: 620px;
        font-size: 4.25rem;
    }

    .hero-copy {
        max-width: 560px;
    }

    .trust-section,
    .how-section,
    .preview-section,
    .faq-section {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .landing-page h1 {
        max-width: 340px;
        font-size: 2.45rem;
    }

    .landing-hero {
        padding: 48px 0 44px 0;
    }

    .hero-copy,
    .hero-trust-line,
    .brand-line {
        font-size: 0.95rem;
    }

    .trust-section,
    .how-section,
    .preview-section,
    .faq-section {
        padding: 44px 0;
    }

    .landing-footer {
        padding: 24px 0;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
}

/* Dashboard V2 */
.dashboard-v2-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 18% -10%, rgba(56, 189, 248, 0.1), transparent 30rem),
        #08111f;
    color: #f8fafc;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

.dashboard-v2-page *,
.dashboard-v2-page *::before,
.dashboard-v2-page *::after {
    box-sizing: border-box;
}

.dashboard-v2-page [hidden] {
    display: none !important;
}

.dashboard-v2-skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 16px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border: 2px solid #7dd3fc;
    border-radius: 9px;
    background: #f8fafc;
    color: #0f172a !important;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 120ms ease;
}

.dashboard-v2-skip-link:focus {
    outline: none;
    transform: translateY(0);
}

.dashboard-v2-container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.dashboard-v2-topbar {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(8, 17, 31, 0.88);
    backdrop-filter: blur(18px);
}

.dashboard-v2-topbar-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.dashboard-v2-brand,
.dashboard-v2-brand:visited {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 760;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.dashboard-v2-brand small {
    padding-left: 11px;
    border-left: 1px solid #334155;
    color: #8292a8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.dashboard-v2-account {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dashboard-v2-feedback-button {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #0ea5e9;
    border-radius: 9px;
    background: rgba(14, 165, 233, 0.1);
    color: #bae6fd;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 750;
    cursor: pointer;
}

.feedback-dialog {
    width: min(92vw, 540px);
    padding: 0;
    border: 1px solid #334155;
    border-radius: 14px;
    background: #111c2e;
    color: #e2e8f0;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.feedback-dialog::backdrop { background: rgba(2, 6, 23, 0.78); }
.feedback-form { display: grid; gap: 13px; padding: 28px; }
.feedback-heading { display: flex; justify-content: space-between; gap: 20px; }
.feedback-heading h2 { margin: 3px 0 0; color: #fff; }
.feedback-form > p { margin: 0 0 5px; color: #a7b4c6; line-height: 1.55; }
.feedback-form label { color: #dbeafe; font-size: 0.84rem; font-weight: 700; }
.feedback-form select,
.feedback-form textarea {
    width: 100%;
    border: 1px solid #3b4a60;
    border-radius: 9px;
    background: #0b1423;
    color: #f8fafc;
    font: inherit;
}
.feedback-form select { min-height: 46px; padding: 0 12px; }
.feedback-form textarea { min-height: 140px; padding: 12px; resize: vertical; }
.feedback-close { border: 0; background: transparent; color: #94a3b8; font-size: 1.8rem; cursor: pointer; }
.feedback-result { min-height: 24px; color: #7dd3fc !important; }

.dashboard-v2-account-name {
    max-width: 280px;
    overflow: hidden;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-v2-sign-out,
.dashboard-v2-sign-out:visited {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #334155;
    border-radius: 9px;
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.dashboard-v2-sign-out:hover {
    border-color: #64748b;
    background: rgba(30, 41, 59, 0.72);
    color: #ffffff;
    text-decoration: none;
}

.dashboard-v2-main {
    min-height: calc(100vh - 146px);
    padding: 48px 0 64px;
    scroll-margin-top: 88px;
}

.dashboard-v2-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 24px;
}

.dashboard-v2-welcome h1 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.75rem, 3.2vw, 2.55rem);
    line-height: 1.14;
    letter-spacing: -0.04em;
}

.dashboard-v2-welcome > p {
    max-width: 350px;
    margin: 0 0 4px;
    color: #91a1b7;
    font-size: 0.92rem;
    text-align: right;
}

.dashboard-v2-page section {
    padding: 0;
}

.dashboard-v2-hero {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border: 1px solid rgba(71, 85, 105, 0.75);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(25, 42, 65, 0.97), rgba(12, 27, 47, 0.97));
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.27);
}

.dashboard-v2-hero::after {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.06);
    content: "";
    filter: blur(1px);
    pointer-events: none;
    right: -110px;
    top: -130px;
}

.dashboard-v2-hero-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.dashboard-v2-status-mark {
    position: relative;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 15px;
    background: rgba(15, 23, 42, 0.72);
}

.dashboard-v2-status-mark span {
    width: 12px;
    height: 12px;
    border: 3px solid currentColor;
    border-radius: 50%;
}

.dashboard-v2-status-mark.is-running span {
    width: 18px;
    height: 10px;
    border: 0;
    border-bottom: 3px solid currentColor;
    border-left: 3px solid currentColor;
    border-radius: 1px;
    transform: translateY(-2px) rotate(-45deg);
}

.dashboard-v2-status-mark.is-running {
    border-color: rgba(52, 211, 153, 0.34);
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.dashboard-v2-status-mark.is-starting {
    border-color: rgba(56, 189, 248, 0.34);
    background: rgba(14, 165, 233, 0.1);
    color: #38bdf8;
}

.dashboard-v2-status-mark.is-delayed,
.dashboard-v2-status-mark.is-paused {
    border-color: rgba(251, 191, 36, 0.32);
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.dashboard-v2-status-mark.is-action-required {
    border-color: rgba(248, 113, 113, 0.34);
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

.dashboard-v2-status-mark.is-loading {
    color: #475569;
}

.dashboard-v2-eyebrow {
    margin: 0 0 8px;
    color: #7dd3fc;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-v2-status-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.dashboard-v2-status-line .dashboard-v2-eyebrow {
    margin-bottom: 0;
}

.dashboard-v2-status-badge,
.dashboard-v2-review-status {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.08);
}

.dashboard-v2-status-badge {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 2px 8px;
    color: #cbd5e1;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.dashboard-v2-status-badge.is-running {
    border-color: rgba(52, 211, 153, 0.32);
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
}

.dashboard-v2-status-badge.is-starting {
    border-color: rgba(56, 189, 248, 0.32);
    background: rgba(14, 165, 233, 0.1);
    color: #7dd3fc;
}

.dashboard-v2-status-badge.is-delayed,
.dashboard-v2-status-badge.is-paused {
    border-color: rgba(251, 191, 36, 0.34);
    background: rgba(245, 158, 11, 0.1);
    color: #fde68a;
}

.dashboard-v2-status-badge.is-action-required {
    border-color: rgba(248, 113, 113, 0.34);
    background: rgba(239, 68, 68, 0.1);
    color: #fecaca;
}

.dashboard-v2-hero h2,
.dashboard-v2-error-card h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.dashboard-v2-hero-description {
    max-width: 680px;
    margin: 12px 0 0;
    color: #b8c5d6;
    font-size: 1rem;
    line-height: 1.65;
}

.dashboard-v2-status-reassurance {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 16px 0 0;
    color: #d8e3ef;
    font-size: 0.9rem;
    font-weight: 650;
}

.dashboard-v2-status-reassurance::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #38bdf8;
    content: "";
}

.dashboard-v2-current-activity {
    position: relative;
    z-index: 1;
    margin: 24px 0 0 74px;
    padding: 15px 18px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.07);
}

.dashboard-v2-current-activity strong {
    color: #dbeafe;
    font-size: 0.82rem;
}

.dashboard-v2-current-activity p {
    margin: 5px 0 0;
    color: #b8c5d6;
    font-size: 0.86rem;
    line-height: 1.5;
}

#current-activity-next-check {
    color: #9cacc0;
    font-size: 0.8rem;
}

.dashboard-v2-trust-metadata {
    max-width: 720px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.42);
}

.dashboard-v2-trust-metadata strong {
    display: block;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.dashboard-v2-trust-metadata > p {
    margin: 4px 0 0;
    color: #b8c5d6;
    font-size: 0.84rem;
}

.dashboard-v2-trust-metadata.is-current {
    border-color: rgba(52, 211, 153, 0.3);
    background: rgba(16, 185, 129, 0.07);
}

.dashboard-v2-trust-metadata.is-current strong {
    color: #a7f3d0;
}

.dashboard-v2-trust-metadata.is-stale {
    border-color: rgba(251, 191, 36, 0.34);
    background: rgba(245, 158, 11, 0.08);
}

.dashboard-v2-trust-metadata.is-stale strong {
    color: #fde68a;
}

.dashboard-v2-trust-metadata.is-unavailable,
.dashboard-v2-trust-metadata.is-loading {
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(71, 85, 105, 0.1);
}

.dashboard-v2-trust-evaluated {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: #8fa0b6 !important;
    font-size: 0.78rem !important;
}

.dashboard-v2-trust-evaluated time {
    color: #cbd5e1;
}

.dashboard-v2-action-banner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding: 20px 22px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.08);
}

.dashboard-v2-action-banner strong {
    color: #ffffff;
    font-size: 0.98rem;
}

.dashboard-v2-action-banner p {
    margin: 4px 0 0;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.dashboard-v2-primary-button,
.dashboard-v2-primary-button:visited {
    min-height: 42px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 18px;
    border: 1px solid #38bdf8;
    border-radius: 9px;
    background: #38bdf8;
    color: #07111f;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.dashboard-v2-primary-button:hover {
    border-color: #7dd3fc;
    background: #7dd3fc;
    text-decoration: none;
}

.dashboard-v2-primary-button:active {
    transform: translateY(1px);
}

.dashboard-v2-checks {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 34px 0 0;
    padding-top: 26px;
    border-top: 1px solid rgba(100, 116, 139, 0.35);
}

.dashboard-v2-checks div {
    padding-right: 28px;
}

.dashboard-v2-checks div + div {
    padding-left: 28px;
    border-left: 1px solid rgba(100, 116, 139, 0.35);
}

.dashboard-v2-checks dt {
    color: #9cacc0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dashboard-v2-checks dd {
    min-height: 24px;
    margin: 6px 0 0;
    color: #f8fafc;
    font-size: 0.98rem;
    font-weight: 700;
}

.dashboard-v2-checks time {
    color: inherit;
    font: inherit;
}

.dashboard-v2-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.dashboard-v2-kpi-card {
    min-height: 184px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    border: 1px solid rgba(71, 85, 105, 0.68);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(22, 37, 59, 0.94), rgba(17, 30, 49, 0.94));
    box-shadow: 0 14px 38px rgba(2, 6, 23, 0.12);
}

.dashboard-v2-kpi-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 11px;
    background: rgba(56, 189, 248, 0.08);
    color: #38bdf8;
}

.dashboard-v2-kpi-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.dashboard-v2-kpi-card p {
    margin: 0;
}

.dashboard-v2-kpi-label {
    color: #d8e1ec;
    font-size: 0.9rem;
    font-weight: 700;
}

.dashboard-v2-kpi-value {
    min-height: 55px;
    margin-top: 6px !important;
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 780;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.dashboard-v2-kpi-note {
    min-height: 22px;
    margin-top: 7px !important;
    color: #9cacc0;
    font-size: 0.83rem;
}

.dashboard-v2-sections {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 20px;
    margin-top: 20px;
}

.dashboard-v2-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(71, 85, 105, 0.68);
    border-radius: 16px;
    background: rgba(21, 34, 54, 0.88);
}

.dashboard-v2-panel-heading {
    min-height: 92px;
    display: flex;
    align-items: center;
    padding: 23px 26px 20px;
    border-bottom: 1px solid rgba(71, 85, 105, 0.5);
}

.dashboard-v2-panel-description {
    margin: 6px 0 0;
    color: #8999af;
    font-size: 0.8rem;
}

.dashboard-v2-panel-heading h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.15rem;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.dashboard-v2-table-header,
.dashboard-v2-review-row {
    display: grid;
    grid-template-columns: minmax(100px, 0.8fr) minmax(180px, 1.4fr) minmax(150px, 1fr);
    gap: 18px;
    align-items: center;
}

.dashboard-v2-table,
.dashboard-v2-table thead,
.dashboard-v2-table tbody {
    width: 100%;
    display: block;
}

.dashboard-v2-table {
    border-collapse: collapse;
}

.dashboard-v2-table th,
.dashboard-v2-table td {
    padding: 0;
    text-align: left;
}

.dashboard-v2-table-header {
    min-height: 43px;
    padding: 0 26px;
    border-bottom: 1px solid rgba(71, 85, 105, 0.38);
    color: #718198;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-v2-review-rows,
.dashboard-v2-list-loading {
    min-height: 235px;
}

.dashboard-v2-review-row {
    min-height: 70px;
    padding: 14px 26px;
    border-bottom: 1px solid rgba(71, 85, 105, 0.32);
}

.dashboard-v2-review-row:last-child {
    border-bottom: 0;
}

.dashboard-v2-order-reference {
    overflow: hidden;
    color: #f1f5f9;
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-v2-review-status {
    position: relative;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    padding: 5px 9px;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 700;
}

.dashboard-v2-review-status::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #94a3b8;
    content: "";
}

.dashboard-v2-review-status.is-sent::before,
.dashboard-v2-review-status.is-confirmed::before {
    background: #34d399;
}

.dashboard-v2-review-status.is-sent,
.dashboard-v2-review-status.is-confirmed {
    border-color: rgba(52, 211, 153, 0.25);
    background: rgba(16, 185, 129, 0.08);
    color: #a7f3d0;
}

.dashboard-v2-review-status.is-confirming::before {
    background: #38bdf8;
}

.dashboard-v2-review-status.is-confirming {
    border-color: rgba(56, 189, 248, 0.25);
    background: rgba(14, 165, 233, 0.08);
    color: #bae6fd;
}

.dashboard-v2-review-status.is-not_completed::before {
    background: #fbbf24;
}

.dashboard-v2-review-status.is-not_completed {
    border-color: rgba(251, 191, 36, 0.25);
    background: rgba(245, 158, 11, 0.08);
    color: #fde68a;
}

.dashboard-v2-review-explanation {
    max-width: 440px;
    margin: 7px 0 0;
    color: #9cacc0;
    font-size: 0.82rem;
    line-height: 1.45;
}

.dashboard-v2-review-progress {
    max-width: 440px;
    margin: 5px 0 0;
    color: #bae6fd;
    font-size: 0.8rem;
    line-height: 1.45;
}

.dashboard-v2-review-row time,
.dashboard-v2-timeline time {
    color: #9cacc0;
    font-size: 0.8rem;
}

.dashboard-v2-timeline {
    min-height: 278px;
    margin: 0;
    padding: 10px 26px 16px;
    list-style: none;
}

.dashboard-v2-timeline-item {
    position: relative;
    min-height: 67px;
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    padding: 15px 0;
}

.dashboard-v2-timeline-item:not(:last-child)::after {
    position: absolute;
    width: 1px;
    left: 5px;
    top: 31px;
    bottom: -4px;
    background: #334155;
    content: "";
}

.dashboard-v2-timeline-marker {
    position: relative;
    z-index: 1;
    width: 11px;
    height: 11px;
    margin-top: 5px;
    border: 2px solid #182a44;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.22);
}

.dashboard-v2-timeline-item.is-order_check_failed .dashboard-v2-timeline-marker {
    background: #fbbf24;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}

.dashboard-v2-timeline-item strong {
    display: block;
    margin-bottom: 3px;
    color: #edf2f7;
    font-size: 0.88rem;
}

.dashboard-v2-empty-state {
    min-height: 235px;
    display: grid;
    place-items: center;
    padding: 32px;
    color: #a7b4c6;
    font-size: 0.9rem;
    text-align: center;
}

.dashboard-v2-timeline .dashboard-v2-empty-state {
    min-height: 252px;
}

.dashboard-v2-empty-state strong {
    display: block;
    margin-bottom: 7px;
    color: #dce5ef;
    font-size: 0.94rem;
}

.dashboard-v2-empty-state p {
    max-width: 420px;
    margin: 0;
    color: #8292a8;
    font-size: 0.85rem;
    line-height: 1.6;
}

.dashboard-v2-mobile-account {
    display: none;
}

.dashboard-v2-error-card {
    min-height: 380px;
    align-items: flex-start;
    gap: 22px;
    padding: 40px;
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.88);
}

.dashboard-v2-error-card:not([hidden]) {
    display: flex;
}

.dashboard-v2-error-card p:not(.dashboard-v2-eyebrow) {
    max-width: 520px;
    margin: 12px 0 24px;
    color: #bdc8d6;
}

.dashboard-v2-error-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 13px;
    background: rgba(239, 68, 68, 0.08);
    color: #fca5a5;
    font-size: 1.25rem;
    font-weight: 800;
}

.dashboard-v2-footer {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(71, 85, 105, 0.42);
    color: #64748b;
}

.dashboard-v2-footer .dashboard-v2-container {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.78rem;
}

.dashboard-v2-page a:focus-visible,
.dashboard-v2-page button:focus-visible {
    outline: 3px solid rgba(125, 211, 252, 0.75);
    outline-offset: 3px;
}

.skeleton-heading,
.skeleton-copy,
.skeleton-text,
.skeleton-number,
.dashboard-v2-skeleton-row,
.dashboard-v2-skeleton-activity {
    position: relative;
    overflow: hidden;
    color: transparent !important;
}

.skeleton-heading::after,
.skeleton-copy::after,
.skeleton-text::after,
.skeleton-number::after,
.dashboard-v2-skeleton-row::after,
.dashboard-v2-skeleton-activity::after {
    position: absolute;
    border-radius: 7px;
    background: #26364d;
    content: "";
    inset: 0;
}

.skeleton-heading::before,
.skeleton-copy::before,
.skeleton-text::before,
.skeleton-number::before,
.dashboard-v2-skeleton-row::before,
.dashboard-v2-skeleton-activity::before {
    position: absolute;
    z-index: 1;
    width: 45%;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.12), transparent);
    content: "";
    inset: 0 auto 0 -55%;
    animation: dashboard-v2-shimmer 1.5s ease-in-out infinite;
}

.skeleton-heading {
    width: min(520px, 80%);
}

.skeleton-copy {
    width: min(580px, 88%);
}

.skeleton-text {
    display: inline-block;
    width: 150px;
}

.skeleton-number {
    width: 90px;
}

.dashboard-v2-skeleton-row {
    display: block;
    height: 70px;
    margin: 0 26px;
    border-bottom: 1px solid rgba(71, 85, 105, 0.32);
}

.dashboard-v2-skeleton-row td {
    display: block;
}

.dashboard-v2-skeleton-row::after {
    inset: 20px 0;
}

.dashboard-v2-skeleton-activity {
    height: 67px;
}

.dashboard-v2-skeleton-activity::after {
    inset: 18px 0;
}

@keyframes dashboard-v2-shimmer {
    to {
        transform: translateX(345%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-v2-page *,
    .dashboard-v2-page *::before,
    .dashboard-v2-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 920px) {
    .dashboard-v2-container {
        width: min(100% - 40px, 760px);
    }

    .dashboard-v2-main {
        padding-top: 34px;
    }

    .dashboard-v2-sections {
        grid-template-columns: 1fr;
    }

    .dashboard-v2-requests {
        order: 1;
    }

    .dashboard-v2-activity {
        order: 2;
    }
}

@media (max-width: 680px) {
    .dashboard-v2-container {
        width: min(100% - 32px, 560px);
    }

    .dashboard-v2-topbar-inner {
        min-height: 62px;
    }

    .dashboard-v2-account-desktop {
        display: none;
    }

    .dashboard-v2-brand small {
        display: none;
    }

    .dashboard-v2-main {
        min-height: calc(100vh - 126px);
        padding: 24px 0 44px;
    }

    .dashboard-v2-welcome {
        display: block;
        margin-bottom: 20px;
    }

    .dashboard-v2-welcome h1 {
        font-size: 1.7rem;
    }

    .dashboard-v2-welcome > p {
        margin-top: 9px;
        text-align: left;
    }

    .dashboard-v2-hero {
        padding: 26px 22px;
        border-radius: 15px;
    }

    .dashboard-v2-hero-main {
        display: block;
    }

    .dashboard-v2-status-mark {
        width: 46px;
        height: 46px;
        margin-bottom: 18px;
    }

    .dashboard-v2-hero h2,
    .dashboard-v2-error-card h1 {
        font-size: 1.7rem;
    }

    .dashboard-v2-status-reassurance {
        align-items: flex-start;
    }

    .dashboard-v2-trust-metadata {
        padding: 13px 14px;
    }

    .dashboard-v2-action-banner {
        align-items: stretch;
        flex-direction: column;
        margin-top: 24px;
        padding: 18px;
    }

    .dashboard-v2-current-activity {
        margin: 20px 0 0;
    }

    .dashboard-v2-primary-button {
        width: 100%;
        min-height: 46px;
    }

    .dashboard-v2-checks {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 26px;
        padding-top: 22px;
    }

    .dashboard-v2-checks div,
    .dashboard-v2-checks div + div {
        padding: 0;
        border: 0;
    }

    .dashboard-v2-kpis {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 14px;
    }

    .dashboard-v2-kpi-card {
        min-height: 166px;
        padding: 24px 22px;
    }

    .dashboard-v2-sections {
        gap: 14px;
        margin-top: 14px;
    }

    .dashboard-v2-panel {
        border-radius: 15px;
    }

    .dashboard-v2-panel-heading {
        min-height: 84px;
        padding: 20px 20px 18px;
    }

    .dashboard-v2-table-header {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        padding: 0;
        border: 0;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .dashboard-v2-review-row {
        min-height: 94px;
        grid-template-columns: 1fr auto;
        gap: 7px 16px;
        padding: 17px 20px;
    }

    .dashboard-v2-review-row td:nth-child(2) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .dashboard-v2-review-row td:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }

    .dashboard-v2-review-rows,
    .dashboard-v2-list-loading {
        min-height: 282px;
    }

    .dashboard-v2-skeleton-row {
        height: 94px;
        margin: 0 20px;
    }

    .dashboard-v2-timeline {
        min-height: 274px;
        padding-right: 20px;
        padding-left: 20px;
    }

.dashboard-v2-empty-state,
.dashboard-v2-timeline .dashboard-v2-empty-state {
        min-height: 250px;
        padding: 26px 20px;
    }

    .dashboard-v2-mobile-account {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-top: 14px;
        padding: 22px;
        border: 1px solid rgba(71, 85, 105, 0.68);
        border-radius: 15px;
        background: rgba(21, 34, 54, 0.88);
    }

    .dashboard-v2-mobile-account div {
        min-width: 0;
        display: grid;
    }

    .dashboard-v2-mobile-account strong {
        overflow: hidden;
        color: #e2e8f0;
        font-size: 0.88rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dashboard-v2-account-label {
        margin-bottom: 3px;
        color: #718198;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .dashboard-v2-error-card {
        min-height: 360px;
        display: block;
        padding: 28px 22px;
    }

    .dashboard-v2-error-icon {
        margin-bottom: 20px;
    }

    .dashboard-v2-footer .dashboard-v2-container {
        min-height: 64px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
    }
}

@media (max-width: 420px) {
    .dashboard-v2-kpi-card {
        gap: 15px;
    }

    .dashboard-v2-kpi-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .dashboard-v2-kpi-value {
        font-size: 2.4rem;
    }

    .dashboard-v2-mobile-account {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-v2-mobile-account .dashboard-v2-sign-out {
        width: 100%;
        min-height: 46px;
    }
}

/* Founder operations dashboard */
.founder-ops-page {
    min-height: 100vh;
    margin: 0;
    background: #08111f;
    color: #f8fafc;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

.founder-ops-page *,
.founder-ops-page *::before,
.founder-ops-page *::after {
    box-sizing: border-box;
}

.founder-ops-page [hidden] {
    display: none !important;
}

.founder-access-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.founder-access-card {
    width: min(100%, 440px);
    display: grid;
    gap: 12px;
    padding: 36px;
    border: 1px solid #334155;
    border-radius: 16px;
    background: #111e31;
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.35);
}

.founder-access-card h1 {
    margin: 14px 0 0;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
}

.founder-access-card > p:not(.founder-access-error) {
    margin: 0 0 12px;
    color: #a9b7ca;
}

.founder-access-card label {
    color: #d9e2ed;
    font-size: 0.84rem;
    font-weight: 750;
}

.founder-access-card input {
    min-height: 48px;
    width: 100%;
    padding: 0 14px;
    border: 1px solid #475569;
    border-radius: 9px;
    background: #08111f;
    color: #ffffff;
    font: inherit;
}

.founder-access-card button {
    min-height: 48px;
    margin: 8px 0 0;
    border-radius: 9px;
    background: #38bdf8;
    color: #07111f;
    font-weight: 800;
}

.founder-access-error {
    min-height: 22px;
    margin: 4px 0 0;
    color: #fca5a5;
    font-size: 0.85rem;
}

.founder-internal-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.08);
    color: #7dd3fc;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.founder-ops-shell {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto;
    padding: 38px 0 72px;
}

.founder-ops-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 28px;
}

.founder-title-line {
    display: flex;
    align-items: center;
    gap: 12px;
}

.founder-ops-header h1 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.founder-ops-header p {
    margin: 7px 0 0;
    color: #94a3b8;
    font-size: 0.86rem;
}

.founder-header-actions {
    display: flex;
    gap: 10px;
}

.founder-secondary-button {
    min-height: 42px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid #3b4b61;
    border-radius: 9px;
    background: #111e31;
    color: #dbe5f0;
    font-size: 0.83rem;
    font-weight: 750;
}

.founder-secondary-button:hover {
    border-color: #64748b;
    background: #18283e;
}

.founder-secondary-button:disabled {
    opacity: 0.55;
}

.founder-overall,
.founder-load-error {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid #334155;
    border-radius: 13px;
    background: #111e31;
}

.founder-overall > span {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 50%;
    background: #64748b;
}

.founder-overall.is-healthy {
    border-color: rgba(52, 211, 153, 0.28);
}

.founder-overall.is-healthy > span {
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.11);
}

.founder-overall.is-warning {
    border-color: rgba(251, 191, 36, 0.3);
}

.founder-overall.is-warning > span {
    background: #fbbf24;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
}

.founder-overall.is-critical {
    border-color: rgba(248, 113, 113, 0.35);
}

.founder-overall.is-critical > span {
    background: #f87171;
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.1);
}

.founder-overall strong,
.founder-load-error strong {
    display: block;
    color: #ffffff;
    font-size: 0.94rem;
}

.founder-overall p,
.founder-load-error span {
    margin: 2px 0 0;
    color: #a9b7ca;
    font-size: 0.82rem;
}

.founder-load-error {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    border-color: rgba(248, 113, 113, 0.35);
}

.founder-section {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #2e3d52;
    border-radius: 14px;
    background: #101c2e;
}

.founder-section-heading {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid #2e3d52;
}

.founder-section-heading p {
    margin: 0 0 4px;
    color: #7dd3fc;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.founder-section-heading h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.08rem;
    letter-spacing: -0.015em;
}

.founder-count-label {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
}

.founder-metric-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.founder-metric-card {
    min-height: 126px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 20px 22px;
    border-right: 1px solid #2e3d52;
}

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

.founder-metric-card > span {
    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 700;
}

.founder-metric-card strong {
    margin-top: 6px;
    color: #f8fafc;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.founder-metric-card small {
    margin-top: 6px;
    color: #718198;
    font-size: 0.68rem;
}

.founder-metric-card.is-healthy strong {
    color: #6ee7b7;
}

.founder-metric-card.is-warning strong {
    color: #fde68a;
}

.founder-metric-card.is-critical strong,
.founder-critical-text {
    color: #fca5a5 !important;
}

.founder-table-scroll {
    overflow-x: auto;
}

.founder-seller-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
}

.founder-seller-table th,
.founder-seller-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #27364a;
    color: #cbd5e1;
    font-size: 0.78rem;
    text-align: left;
    white-space: nowrap;
}

.founder-seller-table th {
    background: #0d1828;
    color: #7f90a6;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.founder-seller-table td:first-child strong {
    color: #f1f5f9;
}

.founder-seller-table tbody tr:last-child td {
    border-bottom: 0;
}

.founder-seller-table tbody tr:hover {
    background: rgba(56, 189, 248, 0.025);
}

.founder-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid #475569;
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 0.68rem;
    font-weight: 800;
}

.founder-status-badge.is-running {
    border-color: rgba(52, 211, 153, 0.28);
    background: rgba(16, 185, 129, 0.08);
    color: #6ee7b7;
}

.founder-status-badge.is-starting {
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(14, 165, 233, 0.08);
    color: #7dd3fc;
}

.founder-status-badge.is-delayed,
.founder-status-badge.is-paused {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(245, 158, 11, 0.08);
    color: #fde68a;
}

.founder-status-badge.is-action_required {
    border-color: rgba(248, 113, 113, 0.3);
    background: rgba(239, 68, 68, 0.08);
    color: #fca5a5;
}

.founder-muted {
    color: #718198 !important;
}

.founder-table-empty,
.founder-incidents-empty {
    padding: 32px !important;
    color: #8494a9 !important;
    text-align: center !important;
}

.founder-incident-list {
    display: grid;
}

.founder-alert-list {
    display: grid;
}

.founder-alert {
    min-height: 82px;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid #27364a;
}

.founder-alert:last-child {
    border-bottom: 0;
}

.founder-alert-severity {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.founder-alert.is-critical .founder-alert-severity {
    border-color: rgba(248, 113, 113, 0.32);
    background: rgba(239, 68, 68, 0.08);
    color: #fca5a5;
}

.founder-alert.is-warning .founder-alert-severity {
    border-color: rgba(251, 191, 36, 0.32);
    background: rgba(245, 158, 11, 0.08);
    color: #fde68a;
}

.founder-alert.is-info .founder-alert-severity {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(14, 165, 233, 0.08);
    color: #7dd3fc;
}

.founder-alert strong,
.founder-alert div > span {
    display: block;
}

.founder-alert strong {
    color: #f1f5f9;
    font-size: 0.86rem;
}

.founder-alert p {
    margin: 3px 0 0;
    color: #a7b4c6;
    font-size: 0.76rem;
}

.founder-alert div > span,
.founder-alert time {
    margin-top: 4px;
    color: #8494a9;
    font-size: 0.7rem;
}

.founder-alerts-empty {
    padding: 30px 22px;
    color: #6ee7b7;
    font-size: 0.82rem;
    text-align: center;
}

.founder-alert-details { margin-top: 10px; color: #b7c4d5; font-size: 0.74rem; }
.founder-alert-details summary { color: #7dd3fc; font-weight: 750; cursor: pointer; }
.founder-alert-details p { margin: 7px 0 0; line-height: 1.45; }
.founder-alert-details p strong { display: inline; color: #e2e8f0; font-size: inherit; }
.founder-feedback-filters { display: flex; flex-wrap: wrap; gap: 14px; padding: 16px 22px; border-bottom: 1px solid #27364a; }
.founder-feedback-filters label { display: grid; gap: 6px; color: #94a3b8; font-size: 0.7rem; font-weight: 700; }
.founder-feedback-filters select,
.founder-feedback-card select { min-height: 38px; padding: 0 10px; border: 1px solid #3b4a60; border-radius: 8px; background: #0b1423; color: #e2e8f0; }
.founder-feedback-list { display: grid; }
.founder-feedback-card { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 10px 20px; padding: 18px 22px; border-bottom: 1px solid #27364a; }
.founder-feedback-card:last-child { border-bottom: 0; }
.founder-feedback-meta { display: flex; justify-content: space-between; gap: 12px; color: #e2e8f0; }
.founder-feedback-meta time { color: #8494a9; font-size: 0.72rem; }
.founder-feedback-card p { grid-column: 1; margin: 0; color: #a7b4c6; line-height: 1.55; white-space: pre-wrap; }
.founder-feedback-card > select { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

.founder-incident {
    min-height: 66px;
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 13px 22px;
    border-bottom: 1px solid #27364a;
}

.founder-incident:last-child {
    border-bottom: 0;
}

.founder-incident-marker {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
}

.founder-incident.is-critical .founder-incident-marker {
    background: #f87171;
}

.founder-incident strong,
.founder-incident div > span {
    display: block;
}

.founder-incident strong {
    color: #e8eef6;
    font-size: 0.82rem;
}

.founder-incident div > span,
.founder-incident time {
    margin-top: 2px;
    color: #8494a9;
    font-size: 0.72rem;
}

.founder-ops-page button,
.founder-ops-page input {
    transition: border-color 140ms ease, background 140ms ease;
}

.founder-ops-page button:focus-visible,
.founder-ops-page input:focus-visible {
    border-color: #7dd3fc;
    outline: 3px solid rgba(125, 211, 252, 0.25);
    outline-offset: 2px;
}

@media (max-width: 1120px) {
    .founder-metric-grid,
    .founder-amazon-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .founder-metric-card:nth-child(3n) {
        border-right: 0;
    }

    .founder-metric-card:nth-child(n + 4) {
        border-top: 1px solid #2e3d52;
    }
}

@media (max-width: 720px) {
    .founder-ops-shell {
        width: min(100% - 32px, 640px);
        padding: 24px 0 48px;
    }

    .founder-ops-header {
        align-items: stretch;
        flex-direction: column;
        padding-bottom: 20px;
    }

    .founder-header-actions button {
        min-height: 46px;
        flex: 1;
    }

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

    .founder-metric-card,
    .founder-metric-card:nth-child(3n) {
        min-height: 116px;
        border-right: 1px solid #2e3d52;
    }

    .founder-metric-card:nth-child(even) {
        border-right: 0;
    }

    .founder-metric-card:nth-child(n + 3) {
        border-top: 1px solid #2e3d52;
    }

    .founder-incident {
        grid-template-columns: 10px 1fr;
        padding: 15px 18px;
    }

    .founder-alert {
        grid-template-columns: 74px 1fr;
        padding: 16px 18px;
    }

    .founder-alert time {
        grid-column: 2;
        margin-top: -8px;
    }

    .founder-incident time {
        grid-column: 2;
        margin-top: -6px;
    }
}

@media (max-width: 460px) {
    .founder-access-shell {
        align-items: start;
        padding: 16px;
    }

    .founder-access-card {
        padding: 26px 22px;
    }

    .founder-title-line {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .founder-section-heading {
        padding: 16px 18px;
    }

    .founder-metric-card {
        padding: 17px 16px;
    }

    .founder-metric-card > span {
        min-height: 34px;
    }
}
