:root {
    --auth-bg: #f4f7fb;
    --auth-bg-soft: #edf2f8;
    --auth-surface: rgba(255, 255, 255, 0.88);
    --auth-surface-strong: #ffffff;
    --auth-line: rgba(16, 24, 40, 0.08);
    --auth-line-strong: rgba(16, 24, 40, 0.14);
    --auth-text: #162033;
    --auth-text-soft: #5a6578;
    --auth-title: #0f1728;
    --auth-primary: #234ea5;
    --auth-primary-soft: #eff4ff;
    --auth-accent: #0d7c86;
    --auth-success-bg: #ecfdf3;
    --auth-success-text: #027a48;
    --auth-success-line: rgba(2, 122, 72, 0.16);
    --auth-error-bg: #fff1f2;
    --auth-error-text: #b42318;
    --auth-error-line: rgba(180, 35, 24, 0.16);
    --auth-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
    --auth-radius-xl: 28px;
    --auth-radius-lg: 20px;
    --auth-radius-md: 14px;
    --auth-radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--auth-text);
    background:
        radial-gradient(circle at top left, rgba(35, 78, 165, 0.12), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(13, 124, 134, 0.10), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%);
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(35, 78, 165, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 78, 165, 0.035) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 82%);
}

a {
    color: inherit;
}

.auth-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.auth-topbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 32px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    max-width: min(100%, 720px);
    text-decoration: none;
}

.auth-brand-mark {
    width: clamp(48px, 4vw, 68px);
    height: clamp(48px, 4vw, 68px);
    display: block;
    flex: 0 0 auto;
    background: url('/static/images/scholar-hero-mark.svg') center/contain no-repeat;
    color: transparent;
    font-size: 0;
    filter: drop-shadow(0 4px 10px rgba(77, 144, 254, 0.18));
}

.auth-brand-text {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.auth-brand-title {
    margin: 0;
    color: #757575;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.auth-brand-subtitle {
    display: none;
}

.auth-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.auth-nav-link,
.auth-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 2px;
    border: 1px solid #dadce0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    color: #202124;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.auth-nav-link:hover {
    color: #202124;
    background: #f8f9fa;
    border-color: #d2d5d9;
}

.auth-nav-button {
    color: #fff;
    background: #4d90fe;
    border-color: #4d90fe;
}

.auth-nav-button:hover {
    background: #357ae8;
    border-color: #357ae8;
}

.auth-main {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    flex: 1 0 auto;
    padding: 28px 32px 26px;
}

.auth-main-single {
    max-width: 560px;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(340px, 0.88fr) minmax(420px, 0.92fr);
    gap: 20px;
    align-items: stretch;
}

.auth-hero,
.auth-card,
.auth-dashboard-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--auth-radius-xl);
    background: var(--auth-surface);
    border: 1px solid var(--auth-line);
    box-shadow: var(--auth-shadow);
    backdrop-filter: blur(16px);
}

.auth-hero {
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 30px 30px 28px;
    background:
        radial-gradient(circle at top right, rgba(35, 78, 165, 0.12), transparent 34%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.97) 0%, rgba(246, 249, 255, 0.92) 100%);
}

.auth-hero::after {
    content: "";
    position: absolute;
    inset: auto -48px -78px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 124, 134, 0.12), transparent 68%);
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    width: fit-content;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(35, 78, 165, 0.12);
    background: rgba(255, 255, 255, 0.8);
    color: var(--auth-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.auth-hero-title {
    margin: 0;
    font-size: clamp(30px, 3.7vw, 40px);
    line-height: 1.16;
    font-weight: 700;
    color: var(--auth-title);
}

.auth-hero-title em {
    font-style: normal;
    color: var(--auth-primary);
}

.auth-hero-desc {
    max-width: 560px;
    margin: 0;
    font-size: 15px;
    line-height: 1.72;
    color: var(--auth-text-soft);
}

.auth-hero-list {
    display: grid;
    gap: 10px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.auth-hero-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.72;
    color: var(--auth-text-soft);
}

.auth-hero-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1a73e8;
}

.auth-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 2px;
}

.auth-hero-meta span {
    position: relative;
    padding-right: 14px;
    color: var(--auth-text-soft);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-hero-meta span:last-child {
    padding-right: 0;
}

.auth-hero-meta span:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(90, 101, 120, 0.5);
    transform: translateY(-50%);
}

.auth-hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 30px 0;
}

.auth-point {
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(35, 78, 165, 0.08);
}

.auth-point-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--auth-title);
}

.auth-point-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--auth-text-soft);
}

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

.auth-micro-card {
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.035);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.auth-micro-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--auth-text-soft);
}

.auth-micro-value {
    margin-top: 10px;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    color: var(--auth-title);
}

.auth-card {
    padding: 30px 30px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.auth-card-header {
    margin-bottom: 20px;
}

.auth-card-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--auth-accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-card-title {
    margin: 12px 0 8px;
    font-size: 28px;
    line-height: 1.2;
    color: var(--auth-title);
}

.auth-card-subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--auth-text-soft);
}

.alert {
    display: none;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid transparent;
}

.alert.success {
    display: block;
    background: var(--auth-success-bg);
    color: var(--auth-success-text);
    border-color: var(--auth-success-line);
}

.alert.error {
    display: block;
    background: var(--auth-error-bg);
    color: var(--auth-error-text);
    border-color: var(--auth-error-line);
}

.auth-form,
.field-grid {
    display: grid;
    gap: 16px;
}

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

.form-group {
    display: grid;
    gap: 10px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--auth-title);
}

.form-input,
.verify-inline .form-input {
    width: 100%;
    min-height: 38px;
    padding: 3px 8px 1px;
    border-radius: 2px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: var(--auth-title);
    font-size: 15px;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-input::placeholder {
    color: #9aa0a6;
}

.form-input:focus {
    border-color: #4d90fe;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.form-input.error {
    border-color: #d93025;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
}

.error-text {
    display: none;
    margin: -2px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--auth-error-text);
}

.verify-inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.password-strength {
    height: 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.password-strength-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    transition: width 0.25s ease, background 0.25s ease;
}

.password-strength-bar.weak {
    width: 38%;
    background: #ef4444;
}

.password-strength-bar.medium {
    width: 68%;
    background: #f59e0b;
}

.password-strength-bar.strong {
    width: 100%;
    background: #0f9d77;
}

.helper-row,
.auth-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--auth-text-soft);
}

.auth-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--auth-primary);
}

.text-link {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 600;
}

.text-link:hover {
    text-decoration: underline;
}

.btn-primary,
.btn-secondary,
.verify-btn,
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
    color: #fff;
    background: #4d90fe;
    border-color: #4d90fe;
}

.btn-primary:hover {
    background: #357ae8;
    border-color: #357ae8;
}

.btn-secondary,
.verify-btn {
    color: #202124;
    background: #fff;
    border-color: #dadce0;
}

.btn-secondary:hover,
.verify-btn:hover {
    background: #f8f9fa;
    border-color: #d2d5d9;
}

.verify-btn:disabled,
.btn-primary:disabled {
    opacity: 0.66;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-danger {
    color: #b42318;
    background: #fff;
    border-color: #e2b3af;
}

.btn-danger:hover {
    background: #fff6f6;
    border-color: #d48a84;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 14px;
    color: var(--auth-text-soft);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: rgba(15, 23, 42, 0.08);
}

.auth-divider:empty::before,
.auth-divider:empty::after {
    display: block;
}

.auth-footer-note {
    margin-top: 10px;
    color: var(--auth-text-soft);
    font-size: 13px;
    line-height: 1.7;
}

.auth-footer {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    padding: 0 32px 20px;
    color: var(--auth-text-soft);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.auth-page-dashboard .auth-main {
    padding-top: 20px;
    padding-bottom: 14px;
}

.auth-page-dashboard .auth-footer {
    padding-bottom: 14px;
}

.dashboard-shell {
    display: grid;
    gap: 28px;
}

.dashboard-shell-compact {
    gap: 14px;
}

.dashboard-shell-simple {
    gap: 16px;
}

.auth-dashboard-card {
    padding: 30px 30px 28px;
}

.dashboard-summary-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(35, 78, 165, 0.08), transparent 34%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 255, 0.94) 100%);
}

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

.dashboard-summary-copy {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.dashboard-summary-note {
    margin: -4px 0 0;
    max-width: 760px;
    color: var(--auth-text-soft);
    font-size: 14px;
    line-height: 1.8;
}

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

.dashboard-info-card {
    display: grid;
    gap: 8px;
    padding: 16px 16px 14px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.78);
}

.dashboard-info-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--auth-text-soft);
}

.dashboard-info-value {
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    color: var(--auth-title);
}

.dashboard-info-value-break {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.dashboard-hero-card {
    background:
        radial-gradient(circle at top right, rgba(35, 78, 165, 0.12), transparent 32%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 253, 0.94) 100%);
}

.dashboard-hero-card-compact {
    padding: 20px 20px 18px;
}

.dashboard-hero-card-compact .dashboard-hero {
    gap: 16px;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
}

.dashboard-hero-card-compact .dashboard-hero-main {
    gap: 14px;
}

.dashboard-hero-card-compact .profile-avatar {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 22px;
}

.dashboard-hero-card-compact .profile-name {
    font-size: 28px;
}

.dashboard-hero-card-compact .profile-email {
    margin-top: 6px;
}

.dashboard-hero-card-compact .profile-tags {
    margin-top: 10px;
}

.dashboard-hero-card-compact .dashboard-hero-desc {
    max-width: 560px;
    font-size: 13px;
    line-height: 1.7;
}

.dashboard-hero-card-compact .dashboard-actions {
    gap: 10px;
}

.dashboard-hero-card-compact .membership-panel {
    padding: 18px;
    gap: 12px;
}

.dashboard-hero-card-compact .membership-grid {
    gap: 8px;
}

.dashboard-hero-card-compact .membership-metric {
    padding: 10px 12px;
}

.content-block-compact {
    padding: 16px 18px 18px;
}

.content-block-compact .content-block-title {
    margin-bottom: 8px;
    font-size: 16px;
}

.content-block-compact .content-block-desc {
    font-size: 13px;
    line-height: 1.6;
}

.content-block-compact .quick-grid {
    margin-top: 12px;
    gap: 10px;
}

.content-block-compact .quick-card {
    gap: 6px;
    padding: 14px 14px 12px;
    border-radius: 16px;
}

.content-block-compact .quick-card strong {
    font-size: 14px;
}

.content-block-compact .quick-card span {
    font-size: 12px;
    line-height: 1.55;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 24px;
    align-items: stretch;
}

.dashboard-hero-main {
    display: grid;
    gap: 20px;
    align-content: start;
}

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

.profile-summary {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(77, 144, 254, 0.14);
    background: linear-gradient(180deg, #f7faff 0%, #e9f1ff 100%);
    color: #4477d8;
    font-size: 28px;
    font-weight: 700;
    box-shadow:
        inset 0 0 0 1px rgba(77, 144, 254, 0.08),
        0 10px 22px rgba(77, 144, 254, 0.1);
}

.profile-name {
    margin: 0;
    font-size: 34px;
    line-height: 1.12;
    color: var(--auth-title);
}

.profile-email {
    margin: 10px 0 0;
    font-size: 15px;
    color: var(--auth-text-soft);
}

.profile-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.dashboard-hero-desc {
    margin: 0;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.95;
    color: var(--auth-text-soft);
}

.profile-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(35, 78, 165, 0.08);
    color: var(--auth-primary);
    font-size: 13px;
    font-weight: 600;
}

.profile-tag.vip {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(245, 158, 11, 0.18));
    color: #8b5cf6;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-actions > * {
    min-height: 36px;
}

.membership-panel {
    position: relative;
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(35, 78, 165, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 249, 255, 0.92) 100%);
    overflow: hidden;
}

.membership-panel::after {
    content: "";
    position: absolute;
    inset: auto -48px -80px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 78, 165, 0.16), transparent 70%);
}

.membership-panel.vip {
    background:
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 246, 255, 0.94) 100%);
}

.membership-panel.standard {
    background:
        radial-gradient(circle at top right, rgba(13, 124, 134, 0.14), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 250, 0.94) 100%);
}

.membership-eyebrow {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--auth-text-soft);
}

.membership-level {
    position: relative;
    z-index: 1;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--auth-title);
}

.membership-desc {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--auth-text-soft);
}

.membership-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.membership-metric {
    padding: 14px 14px 13px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 8px;
}

.membership-metric span {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--auth-text-soft);
}

.membership-metric strong {
    font-size: 16px;
    line-height: 1.35;
    color: var(--auth-title);
}

.membership-note {
    position: relative;
    z-index: 1;
    padding-top: 2px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--auth-text-soft);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.metric-card {
    padding: 20px 18px;
    border-radius: 18px;
    background: rgba(250, 251, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.metric-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--auth-text-soft);
}

.metric-value {
    margin-top: 12px;
    font-size: 26px;
    font-weight: 700;
    color: var(--auth-title);
}

.metric-value.accent {
    color: var(--auth-primary);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
}

.content-block {
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.content-block-title {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--auth-title);
}

.content-block-desc,
.content-list {
    margin: 0;
    color: var(--auth-text-soft);
    font-size: 14px;
    line-height: 1.85;
}

.content-list {
    padding-left: 18px;
}

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

.quick-card {
    display: grid;
    gap: 8px;
    padding: 18px 18px 16px;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 250, 255, 0.88) 100%);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-card strong {
    font-size: 16px;
    color: var(--auth-title);
}

.quick-card span {
    font-size: 13px;
    line-height: 1.8;
    color: var(--auth-text-soft);
}

.quick-card:hover {
    transform: translateY(-2px);
    border-color: rgba(35, 78, 165, 0.12);
    box-shadow: 0 16px 28px rgba(35, 78, 165, 0.08);
}

.status-panel {
    display: grid;
    gap: 16px;
}

.status-card {
    padding: 20px 18px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 252, 0.92));
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.status-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--auth-title);
}

.status-card-text {
    margin-top: 8px;
    color: var(--auth-text-soft);
    font-size: 14px;
    line-height: 1.75;
}

.status-card-accent {
    background:
        radial-gradient(circle at top right, rgba(35, 78, 165, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94));
}

.loading-state {
    display: grid;
    gap: 18px;
    justify-items: center;
    text-align: center;
    padding: 56px 20px;
    color: var(--auth-text-soft);
}

.loading-orbit {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid rgba(35, 78, 165, 0.12);
    border-top-color: var(--auth-primary);
    animation: auth-spin 0.9s linear infinite;
}

.empty-state {
    text-align: center;
    padding: 54px 28px;
}

.empty-state h2 {
    margin: 0 0 12px;
    font-size: 28px;
    color: var(--auth-title);
}

.empty-state p {
    margin: 0 0 22px;
    color: var(--auth-text-soft);
    line-height: 1.8;
}

.empty-state-actions {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.auth-page-not-found .auth-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 72px;
    padding-bottom: 64px;
}

.auth-404-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(77, 144, 254, 0.08);
    color: #4d90fe;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.auth-404-path {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 2px;
    background: #f8f9fa;
    color: #5f6368;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #eceff1;
}

.auth-404-path code {
    max-width: min(100%, 360px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: inherit;
}

.auth-card-not-found {
    width: min(520px, 100%);
    margin: 0 auto;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 14px;
    padding: 44px 36px 40px;
}

.auth-card-not-found .auth-card-header {
    margin-bottom: 0;
}

.auth-card-not-found .auth-card-title {
    margin-top: 8px;
}

.auth-card-not-found .auth-card-subtitle {
    max-width: 380px;
}

.auth-page-login .auth-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
}

.auth-card-login {
    width: min(560px, 100%);
}

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

@media (max-width: 1120px) {
    .dashboard-hero,
    .auth-layout,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 860px) {
    .auth-topbar-inner,
    .auth-main,
    .auth-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .auth-hero,
    .auth-card,
    .auth-dashboard-card {
        border-radius: 22px;
    }

    .auth-hero,
    .auth-card,
    .auth-dashboard-card,
    .content-block {
        padding: 24px;
    }

    .auth-hero-meta span {
        padding-right: 0;
    }

    .auth-hero-meta span::after {
        display: none;
    }

    .auth-hero-points,
    .auth-micro-grid,
    .metric-grid,
    .membership-grid,
    .dashboard-info-grid,
    .quick-grid,
    .field-grid.two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .auth-topbar-inner {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .auth-brand {
        gap: 12px;
    }

    .auth-brand-mark {
        width: 46px;
        height: 46px;
    }

    .auth-brand-title {
        font-size: 26px;
    }

    .auth-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: flex-start;
    }

    .auth-nav > * {
        width: 100%;
    }

    .auth-nav-link,
    .auth-nav-button {
        min-width: 0;
    }

    .verify-inline {
        grid-template-columns: 1fr;
    }

    .profile-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-header {
        flex-direction: column;
    }

    .dashboard-actions {
        width: 100%;
    }

    .dashboard-actions > * {
        width: 100%;
    }

    .dashboard-summary-card {
        padding: 20px;
        gap: 16px;
    }

    .dashboard-summary-head,
    .dashboard-summary-copy {
        gap: 14px;
    }

    .auth-page-not-found .auth-main {
        padding-top: 34px;
        padding-bottom: 32px;
    }

    .auth-card-not-found {
        padding: 32px 20px 28px;
    }

    .auth-page-login .auth-main {
        padding-top: 30px;
    }

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

    .profile-name {
        font-size: 28px;
    }

    .dashboard-summary-note,
    .dashboard-info-value,
    .content-block-desc,
    .quick-card span {
        font-size: 13px;
    }
}
