.dashboard-page {
    background:
        radial-gradient(circle at top, rgba(34, 197, 94, 0.07), transparent 28%),
        radial-gradient(circle at 20% 14%, rgba(56, 189, 248, 0.08), transparent 24%),
        linear-gradient(180deg, #040814 0%, #07111f 48%, #08101c 100%);
    overflow-x: hidden;
}

:root[data-theme="light"] body.dashboard-page,
body.dashboard-page.theme-light {
    background:
        radial-gradient(circle at top, rgba(34, 197, 94, 0.08), transparent 30%),
        radial-gradient(circle at 18% 10%, rgba(56, 189, 248, 0.1), transparent 24%),
        linear-gradient(180deg, #f7fbff 0%, #edf4fb 52%, #f9fbff 100%) !important;
}

.dashboard-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1.6px),
        radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1.6px);
    background-size: 96px 96px, 132px 132px;
    opacity: 0.24;
}

:root[data-theme="light"] body.dashboard-page::before,
body.dashboard-page.theme-light::before {
    opacity: 0.42;
    background:
        radial-gradient(circle at 20% 18%, rgba(124, 58, 237, 0.12) 0 1px, transparent 1.7px),
        radial-gradient(circle at 78% 12%, rgba(56, 189, 248, 0.1) 0 1px, transparent 1.7px);
    background-size: 104px 104px, 136px 136px;
}

.dashboard-page #navbar,
.dashboard {
    position: relative;
    z-index: 1;
}

.dashboard-aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    filter: saturate(1.08);
}

:root[data-theme="light"] body.dashboard-page .dashboard-aurora,
body.dashboard-page.theme-light .dashboard-aurora {
    filter: saturate(1.02);
}

.dashboard-aurora-band,
.dashboard-aurora-glow {
    position: absolute;
    display: block;
    pointer-events: none;
    mix-blend-mode: screen;
}

.dashboard-aurora-band {
    width: 78vw;
    height: 34vh;
    border-radius: 50%;
    filter: blur(46px);
    opacity: 0.28;
}

:root[data-theme="light"] body.dashboard-page .dashboard-aurora-band,
body.dashboard-page.theme-light .dashboard-aurora-band {
    opacity: 0.2;
}

.aurora-band-1 {
    top: -8vh;
    left: -10vw;
    background:
        radial-gradient(ellipse at 30% 45%, rgba(34, 197, 94, 0.36), transparent 58%),
        radial-gradient(ellipse at 72% 50%, rgba(56, 189, 248, 0.22), transparent 60%);
    transform: rotate(-10deg);
    animation: dashboardAuroraDriftOne 34s ease-in-out infinite alternate;
}

.aurora-band-2 {
    top: 6vh;
    right: -14vw;
    background:
        radial-gradient(ellipse at 34% 45%, rgba(45, 212, 191, 0.26), transparent 56%),
        radial-gradient(ellipse at 70% 46%, rgba(59, 130, 246, 0.18), transparent 62%);
    transform: rotate(10deg);
    animation: dashboardAuroraDriftTwo 42s ease-in-out infinite alternate;
}

.aurora-band-3 {
    top: 20vh;
    left: 20vw;
    width: 52vw;
    height: 22vh;
    background:
        radial-gradient(ellipse at 28% 50%, rgba(16, 185, 129, 0.22), transparent 54%),
        radial-gradient(ellipse at 74% 54%, rgba(96, 165, 250, 0.16), transparent 60%);
    transform: rotate(-4deg);
    animation: dashboardAuroraDriftThree 48s ease-in-out infinite alternate;
}

.dashboard-aurora-glow {
    border-radius: 50%;
    filter: blur(82px);
    opacity: 0.12;
}

:root[data-theme="light"] body.dashboard-page .dashboard-aurora-glow,
body.dashboard-page.theme-light .dashboard-aurora-glow {
    opacity: 0.08;
}

.aurora-glow-1 {
    width: 30vw;
    height: 30vw;
    top: 14vh;
    left: -8vw;
    background: rgba(34, 197, 94, 0.32);
    animation: dashboardAuroraPulseOne 22s ease-in-out infinite alternate;
}

.aurora-glow-2 {
    width: 24vw;
    height: 24vw;
    top: 10vh;
    right: -4vw;
    background: rgba(56, 189, 248, 0.26);
    animation: dashboardAuroraPulseTwo 26s ease-in-out infinite alternate;
}

.dashboard {
    padding-top: 46px;
    padding-bottom: 84px;
}

.header { margin-bottom: 34px; }
.header h1 { margin: 0; font-size: clamp(38px, 6vw, 64px); letter-spacing: -0.055em; }
.subtitle { margin-top: 10px; }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.card { padding: 24px; transition: transform .22s ease, border-color .22s ease; }
.card h2 { margin: 0 0 12px; font-size: 22px; }
.card p { color: var(--ud-text-soft); margin-bottom: 18px; line-height: 1.65; }
.btn.primary { font-weight: 900; }

.dashboard-password-card {
    border-color: rgba(56, 189, 248, 0.22);
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 30%),
        linear-gradient(145deg, var(--ud-surface-2), var(--ud-surface));
}

.dashboard-password-copy {
    max-width: 620px;
}

.dashboard-password-form {
    display: grid;
    gap: 16px;
}

.dashboard-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.dashboard-password-field {
    display: grid;
    gap: 8px;
}

.dashboard-password-field span {
    color: var(--ud-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dashboard-password-feedback {
    min-height: 22px;
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ud-text-muted);
}

.dashboard-password-feedback.is-success {
    color: #86efac;
}

.dashboard-password-feedback.is-error {
    color: #fda4af;
}

.dashboard-password-actions {
    display: flex;
    justify-content: flex-start;
}

.dashboard-password-submit[disabled] {
    opacity: 0.7;
    cursor: wait;
}


.card-artbridge {
    border-color: rgba(255, 122, 34, 0.32);
    background: radial-gradient(circle at top right, rgba(255, 122, 34, 0.14), transparent 34%), linear-gradient(145deg, var(--ud-surface-2), var(--ud-surface));
}

.help-center {
    margin-top: 34px;
    display: grid;
    gap: 22px;
}

.help-intro-card {
    overflow: hidden;
    border-color: rgba(56, 189, 248, 0.26);
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 30%),
        radial-gradient(circle at left bottom, rgba(255, 122, 34, 0.12), transparent 26%),
        linear-gradient(145deg, var(--ud-surface-2), var(--ud-surface));
}

.help-intro-card h2 {
    margin-bottom: 14px;
    font-size: clamp(28px, 4vw, 42px);
}

.help-lead {
    max-width: 850px;
    margin-bottom: 0;
}

.help-chip-row {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.help-chip {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--ud-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--ud-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.help-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.32);
    background: rgba(56, 189, 248, 0.12);
}

.help-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.help-overview-card {
    height: 100%;
    border-color: rgba(255, 255, 255, 0.1);
}

.help-overview-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.2;
}

.help-overview-card p:last-child {
    margin-bottom: 0;
}

.help-group {
    display: grid;
    gap: 14px;
}

.help-group-header {
    padding: 8px 2px;
}

.help-group-header h3 {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.04em;
}

.help-group-header p:last-child {
    margin: 0;
    max-width: 760px;
    color: var(--ud-text-soft);
    line-height: 1.7;
}

.help-item {
    border: 1px solid var(--ud-border);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: var(--ud-shadow-soft);
    overflow: hidden;
}

.help-item summary {
    list-style: none;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    cursor: pointer;
}

.help-item summary::-webkit-details-marker {
    display: none;
}

.help-item summary span:first-child {
    font-size: 18px;
    font-weight: 900;
    color: var(--ud-text);
}

.help-item summary span:last-child {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--ud-text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.help-item[open] summary {
    border-bottom: 1px solid var(--ud-border);
    background: rgba(255, 255, 255, 0.03);
}

.help-item-body {
    padding: 22px 24px 24px;
}

.help-item-body p {
    margin-top: 0;
    margin-bottom: 14px;
}

.help-item-body p:last-of-type {
    margin-bottom: 18px;
}

.help-item-body strong {
    color: var(--ud-text);
}

.help-item-body a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 122, 34, 0.28);
    background: rgba(255, 122, 34, 0.10);
    color: var(--ud-text);
    text-decoration: none;
    font-weight: 800;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.help-item-body a:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 122, 34, 0.42);
    background: rgba(255, 122, 34, 0.16);
}

@keyframes dashboardAuroraDriftOne {
    0% {
        transform: translate3d(-2vw, 0, 0) rotate(-10deg) scale(1);
        opacity: 0.2;
    }

    50% {
        transform: translate3d(4vw, 2vh, 0) rotate(-7deg) scale(1.04);
        opacity: 0.3;
    }

    100% {
        transform: translate3d(8vw, 5vh, 0) rotate(-4deg) scale(1.08);
        opacity: 0.24;
    }
}

@keyframes dashboardAuroraDriftTwo {
    0% {
        transform: translate3d(2vw, -2vh, 0) rotate(10deg) scale(1);
        opacity: 0.18;
    }

    50% {
        transform: translate3d(-4vw, 1vh, 0) rotate(7deg) scale(1.06);
        opacity: 0.28;
    }

    100% {
        transform: translate3d(-8vw, 4vh, 0) rotate(4deg) scale(1.1);
        opacity: 0.22;
    }
}

@keyframes dashboardAuroraDriftThree {
    0% {
        transform: translate3d(-2vw, 0, 0) rotate(-4deg) scale(1);
    }

    50% {
        transform: translate3d(2vw, -2vh, 0) rotate(-2deg) scale(1.04);
    }

    100% {
        transform: translate3d(6vw, 2vh, 0) rotate(1deg) scale(1.08);
    }
}

@keyframes dashboardAuroraPulseOne {
    0% {
        transform: scale(1);
        opacity: 0.08;
    }

    100% {
        transform: scale(1.16);
        opacity: 0.16;
    }
}

@keyframes dashboardAuroraPulseTwo {
    0% {
        transform: scale(1);
        opacity: 0.08;
    }

    100% {
        transform: scale(1.12);
        opacity: 0.14;
    }
}

@media (max-width: 720px) {
    .dashboard-aurora-band {
        width: 110vw;
        height: 28vh;
        filter: blur(38px);
    }

    .dashboard-aurora-glow {
        width: 52vw;
        height: 52vw;
    }

    .help-item summary {
        padding: 18px 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .help-item summary span:first-child {
        font-size: 17px;
    }

    .help-item-body {
        padding: 18px 18px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-aurora-band,
    .dashboard-aurora-glow {
        animation: none;
    }
}
