.profile-center-page-v2 {
    min-height: calc(100vh - 72px);
    padding: 34px 24px 48px;
    color: #172033;
    background: #eef2f6;
}

.profile-center-shell-v2 {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.profile-center-heading-v2 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.profile-center-kicker-v2 {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.profile-center-heading-v2 h1 {
    margin: 0;
    color: #111827;
    font-family: "Songti SC", "STSong", serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
}

.profile-center-actions-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-button-v2,
.profile-pagination-v2 button,
.profile-detail-button-v2 {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #334155;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    cursor: pointer;
    transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}

.profile-button-v2:hover,
.profile-pagination-v2 button:hover,
.profile-detail-button-v2:hover {
    border-color: #64748b;
    color: #0f172a;
    background: #f8fafc;
}

.profile-button-v2.primary {
    border-color: #1d4ed8;
    color: #ffffff;
    background: #1d4ed8;
}

.profile-button-v2.primary:hover {
    border-color: #1e40af;
    color: #ffffff;
    background: #1e40af;
}

.profile-button-v2:disabled,
.profile-pagination-v2 button:disabled,
.profile-detail-button-v2:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.profile-alert-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #991b1b;
    background: #fff7f7;
    font-size: 13px;
}

.profile-alert-v2 button {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    color: #991b1b;
    background: transparent;
    font-weight: 800;
    cursor: pointer;
}

.profile-account-section-v2,
.profile-task-section-v2 {
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(30, 41, 59, 0.06);
}

.profile-task-section-v2 {
    margin-top: 18px;
}

.profile-section-title-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 16px;
    padding: 0 20px;
    border-bottom: 1px solid #e2e8f0;
}

.profile-section-title-v2 > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.profile-section-title-v2 > div > span {
    color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 800;
}

.profile-section-title-v2 h2 {
    margin: 0;
    color: #1e293b;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0;
}

.profile-section-title-v2 > strong {
    flex: 0 0 auto;
    color: #047857;
    font-size: 12px;
}

.profile-account-layout-v2 {
    display: grid;
    grid-template-columns: minmax(210px, 0.8fr) minmax(390px, 1.7fr) minmax(190px, 0.7fr);
    gap: 0;
    padding: 24px 20px;
}

.profile-identity-v2 {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding-right: 22px;
    border-right: 1px solid #e2e8f0;
}

.profile-avatar-v2 {
    display: grid;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid #1e3a8a;
    border-radius: 8px;
    color: #ffffff;
    background: #1e3a8a;
    font-family: "Songti SC", "STSong", serif;
    font-size: 26px;
    font-weight: 800;
}

.profile-identity-v2 > div:last-child {
    min-width: 0;
}

.profile-identity-v2 h3 {
    overflow: hidden;
    margin: 0 0 5px;
    color: #0f172a;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-identity-v2 p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

.profile-facts-v2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    margin: 0;
    padding: 0 24px;
}

.profile-facts-v2 > div {
    min-width: 0;
}

.profile-facts-v2 dt,
.profile-detail-summary-v2 dt {
    margin-bottom: 5px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.profile-facts-v2 dd,
.profile-detail-summary-v2 dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.profile-code-v2 {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.profile-quota-grid-v2 {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-left: 22px;
    border-left: 1px solid #e2e8f0;
}

.profile-quota-grid-v2 article {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    align-items: end;
    gap: 2px 6px;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    background: #f8fbff;
}

.profile-quota-grid-v2 article:last-child {
    border-color: #d1fae5;
    background: #f5fcf8;
}

.profile-quota-grid-v2 span {
    grid-column: 1 / -1;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.profile-quota-grid-v2 strong {
    color: #1d4ed8;
    font-family: "Songti SC", "STSong", serif;
    font-size: 28px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.profile-quota-grid-v2 article:last-child strong {
    color: #047857;
}

.profile-quota-grid-v2 small {
    color: #64748b;
    font-size: 11px;
}

.profile-task-table-v2 {
    min-width: 0;
}

.profile-task-table-head-v2,
.profile-task-row-v2 {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 110px 96px;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 13px 20px;
}

.profile-task-table-head-v2 {
    color: #64748b;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 800;
}

.profile-task-row-v2 {
    border-top: 1px solid #edf2f7;
    color: #334155;
    font-size: 13px;
}

.profile-task-table-head-v2 + .profile-task-row-v2 {
    border-top: 0;
}

.profile-task-row-v2 > strong {
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-task-row-v2 time {
    color: #64748b;
    font-variant-numeric: tabular-nums;
}

.profile-status-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    min-height: 26px;
    padding: 0 8px;
    border: 1px solid #cbd5e1;
    border-radius: 13px;
    color: #475569;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.profile-status-v2.success {
    border-color: #a7f3d0;
    color: #047857;
    background: #ecfdf5;
}

.profile-status-v2.running {
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
}

.profile-status-v2.danger {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.profile-detail-button-v2 {
    min-height: 32px;
    padding: 0 10px;
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.profile-empty-state-v2 {
    padding: 42px 20px;
    border-top: 1px solid #edf2f7;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.profile-pagination-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
}

.profile-pagination-v2 > div {
    display: flex;
    gap: 8px;
}

.profile-pagination-v2 button {
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
}

.profile-account-footer-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 14px 4px 0;
    border-top: 1px solid #cbd5e1;
    color: #64748b;
    font-size: 12px;
}

.profile-account-footer-v2 button {
    padding: 0;
    border: 0;
    color: #b91c1c;
    background: transparent;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.profile-modal-backdrop-v2 {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.52);
}

.profile-task-modal-v2 {
    width: min(760px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    overflow: auto;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #1e293b;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.profile-task-modal-v2 > header {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.profile-task-modal-v2 > header span {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.profile-task-modal-v2 > header h2 {
    margin: 4px 0 0;
    overflow-wrap: anywhere;
    color: #0f172a;
    font-size: 19px;
    letter-spacing: 0;
    line-height: 1.35;
}

.profile-modal-close-v2 {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    color: #475569;
    background: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.profile-task-detail-body-v2 {
    padding: 20px;
}

.profile-detail-summary-v2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.profile-detail-summary-v2 > div {
    min-width: 0;
}

.profile-detail-group-v2 + .profile-detail-group-v2 {
    margin-top: 20px;
}

.profile-detail-group-v2 h3 {
    margin: 0 0 9px;
    color: #334155;
    font-size: 13px;
    letter-spacing: 0;
}

.profile-tag-list-v2,
.profile-level-list-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.profile-tag-list-v2 span,
.profile-level-list-v2 span,
.profile-method-list-v2 li {
    padding: 6px 9px;
    border: 1px solid #dbeafe;
    border-radius: 5px;
    color: #1e40af;
    background: #eff6ff;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.profile-tag-list-v2.categorical span {
    border-color: #fed7aa;
    color: #9a3412;
    background: #fff7ed;
}

.profile-level-list-v2 span {
    border-color: #d1fae5;
    color: #047857;
    background: #ecfdf5;
}

.profile-method-list-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-method-list-v2 li {
    border-color: #e2e8f0;
    color: #334155;
    background: #f8fafc;
}

.profile-optimal-table-v2 {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.profile-optimal-head-v2,
.profile-optimal-row-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 90px;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
}

.profile-optimal-head-v2 {
    color: #64748b;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 800;
}

.profile-optimal-row-v2 {
    border-top: 1px solid #edf2f7;
    color: #475569;
    font-size: 12px;
}

.profile-optimal-row-v2 strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #0f172a;
}

.profile-detail-empty-v2 {
    margin: 0;
    padding: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    color: #64748b;
    background: #f8fafc;
    font-size: 12px;
}

@media (max-width: 980px) {
    .profile-account-layout-v2 {
        grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
    }

    .profile-quota-grid-v2 {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        margin-top: 22px;
        padding: 20px 0 0;
        border-top: 1px solid #e2e8f0;
        border-left: 0;
    }

    .profile-task-table-head-v2,
    .profile-task-row-v2 {
        grid-template-columns: minmax(180px, 1fr) 170px 100px 92px;
        gap: 10px;
    }
}

@media (max-width: 720px) {
    .profile-center-page-v2 {
        padding: 24px 14px 36px;
    }

    .profile-center-heading-v2 {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-center-heading-v2 h1 {
        font-size: 27px;
    }

    .profile-center-actions-v2 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-account-layout-v2 {
        grid-template-columns: 1fr;
        padding: 18px 16px;
    }

    .profile-identity-v2 {
        padding: 0 0 18px;
        border-right: 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .profile-facts-v2 {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px 0 0;
    }

    .profile-quota-grid-v2 {
        grid-template-columns: 1fr;
    }

    .profile-section-title-v2 {
        min-height: 58px;
        padding: 0 16px;
    }

    .profile-task-table-head-v2 {
        display: none;
    }

    .profile-task-row-v2 {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 9px 12px;
        padding: 15px 16px;
    }

    .profile-task-row-v2 > strong {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .profile-task-row-v2 time {
        grid-column: 1 / -1;
        grid-row: 2;
        font-size: 12px;
    }

    .profile-task-row-v2 .profile-status-v2 {
        grid-column: 2;
        grid-row: 1;
    }

    .profile-task-row-v2 .profile-detail-button-v2 {
        grid-column: 2;
        grid-row: 2;
    }

    .profile-pagination-v2 {
        padding: 13px 16px;
    }

    .profile-modal-backdrop-v2 {
        align-items: end;
        padding: 0;
    }

    .profile-task-modal-v2 {
        width: 100%;
        max-height: 88vh;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 8px 8px 0 0;
    }

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

    .profile-optimal-head-v2,
    .profile-optimal-row-v2 {
        grid-template-columns: minmax(0, 1fr) 110px 66px;
        gap: 8px;
        padding: 9px;
    }
}

/* Profile light workspace theme v4 */
.app-topbar-profile-v4 {
    border-bottom: 1px solid rgba(148, 163, 184, 0.20);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 26px rgba(30, 64, 175, 0.08);
    backdrop-filter: blur(22px) saturate(1.16);
}

.app-topbar-profile-v4 .brand-mark {
    border: 1px solid #3b82f6;
    color: #ffffff;
    background: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.20);
}

.app-topbar-profile-v4 .brand strong {
    color: #0f172a;
}

.app-topbar-profile-v4 .brand small {
    color: #64748b;
}

.app-topbar-profile-v4 .app-topbar-center {
    border-color: #dbe4f0;
    background: #f5f8fc;
}

.app-topbar-profile-v4 .app-view-pill {
    color: #64748b;
}

.app-topbar-profile-v4 .app-view-pill:hover {
    color: #1e3a8a;
    background: #eaf2ff;
}

.app-topbar-profile-v4 .user-pill {
    border-color: #dbe4f0;
    color: #334155;
    background: #ffffff;
}

.app-topbar-profile-v4 .btn.ghost {
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
}

.app-topbar-profile-v4 .btn.ghost:hover,
.app-topbar-profile-v4 .btn.ghost.active {
    border-color: #60a5fa;
    color: #1e40af;
    background: #dbeafe;
    box-shadow: inset 0 -2px 0 #2563eb;
}

.profile-center-page-v2 {
    --profile-surface: #ffffff;
    --profile-surface-strong: #f8fbff;
    --profile-line: #dce5f0;
    --profile-line-soft: #eaf0f6;
    --profile-text: #1e293b;
    --profile-muted: #64748b;
    --profile-blue: #2563eb;
    --profile-cyan: #0891b2;
    --profile-green: #059669;
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 72px);
    color: var(--profile-text);
    background-color: #f3f7fc;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.055) 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed;
}

.profile-center-page-v2::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 18px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    pointer-events: none;
}

.profile-center-page-v2::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 18px;
    right: 18px;
    width: 88px;
    height: 88px;
    border-top: 2px solid rgba(37, 99, 235, 0.52);
    border-right: 2px solid rgba(5, 150, 105, 0.42);
    pointer-events: none;
}

.profile-center-shell-v2 {
    position: relative;
    z-index: 1;
    width: min(1220px, 100%);
}

.profile-center-heading-v2 {
    position: relative;
    margin-bottom: 24px;
    padding: 10px 0 2px 18px;
}

.profile-center-heading-v2::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 2px;
    left: 0;
    width: 3px;
    background: #2563eb;
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.22);
}

.profile-center-kicker-v2 {
    color: #2563eb;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
}

.profile-center-heading-v2 h1 {
    color: #0f172a;
    font-size: 34px;
    text-shadow: none;
}

.profile-button-v2,
.profile-pagination-v2 button,
.profile-detail-button-v2 {
    border-color: #cbd8e7;
    color: #475569;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.profile-button-v2:hover,
.profile-pagination-v2 button:hover,
.profile-detail-button-v2:hover {
    border-color: #60a5fa;
    color: #1d4ed8;
    background: #eff6ff;
}

.profile-button-v2.primary {
    border-color: #2563eb;
    color: #ffffff;
    background: #2563eb;
    box-shadow: 0 9px 22px rgba(37, 99, 235, 0.22);
}

.profile-button-v2.primary:hover {
    border-color: #1d4ed8;
    color: #ffffff;
    background: #1d4ed8;
    box-shadow: 0 11px 26px rgba(37, 99, 235, 0.26);
}

.profile-alert-v2 {
    border-color: #fecaca;
    color: #991b1b;
    background: #fff7f7;
}

.profile-alert-v2 button {
    color: #991b1b;
}

.profile-account-section-v2,
.profile-task-section-v2 {
    position: relative;
    overflow: hidden;
    border-color: #d8e2ee;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 18px 48px rgba(30, 64, 175, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
}

.profile-account-section-v2::before,
.profile-task-section-v2::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -1px;
    left: 20px;
    width: 78px;
    height: 3px;
    background: #2563eb;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.22);
}

.profile-task-section-v2::before {
    width: 118px;
    background: #10b981;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.20);
}

.profile-section-title-v2 {
    border-bottom-color: #dfe7f1;
    background: #f9fbfe;
}

.profile-section-title-v2 > div > span {
    color: #94a3b8;
}

.profile-section-title-v2 h2 {
    color: #1e293b;
}

.profile-section-title-v2 > strong {
    color: #059669;
}

.profile-account-layout-v2 {
    padding-top: 28px;
    padding-bottom: 28px;
}

.profile-identity-v2 {
    border-right-color: #dfe7f1;
}

.profile-avatar-v2 {
    border-color: #3b82f6;
    color: #ffffff;
    background: #1d4ed8;
    box-shadow:
        0 0 0 5px rgba(59, 130, 246, 0.10),
        0 10px 24px rgba(37, 99, 235, 0.20);
}

.profile-identity-v2 h3 {
    color: #0f172a;
}

.profile-identity-v2 p {
    color: #0891b2;
}

.profile-facts-v2 dt,
.profile-detail-summary-v2 dt {
    color: #64748b;
}

.profile-facts-v2 dd,
.profile-detail-summary-v2 dd {
    color: #1e293b;
}

.profile-code-v2 {
    color: #1d4ed8 !important;
}

.profile-quota-grid-v2 {
    border-left-color: #dfe7f1;
}

.profile-quota-grid-v2 article,
.profile-quota-grid-v2 article:last-child {
    position: relative;
    padding: 11px 12px 11px 16px;
    border: 1px solid #dbeafe;
    border-left: 3px solid #2563eb;
    border-radius: 6px;
    background: #f5f9ff;
}

.profile-quota-grid-v2 article:last-child {
    border-color: #ccefe1;
    border-left-color: #10b981;
    background: #f3fbf7;
}

.profile-quota-grid-v2 span,
.profile-quota-grid-v2 small {
    color: #64748b;
}

.profile-quota-grid-v2 strong {
    color: #2563eb;
    font-size: 30px;
    text-shadow: none;
}

.profile-quota-grid-v2 article:last-child strong {
    color: #059669;
    text-shadow: none;
}

.profile-task-table-head-v2 {
    color: #64748b;
    background: #f6f9fd;
}

.profile-task-row-v2 {
    position: relative;
    border-top-color: #e7edf5;
    color: #475569;
    background: rgba(255, 255, 255, 0.90);
    transition: background 140ms ease, box-shadow 140ms ease;
}

.profile-task-row-v2:hover {
    background: #f5f9ff;
    box-shadow: inset 3px 0 0 #3b82f6;
}

.profile-task-row-v2 > strong {
    color: #0f172a;
}

.profile-task-row-v2 time {
    color: #64748b;
}

.profile-status-v2 {
    border-color: #cbd5e1;
    color: #475569;
    background: #f8fafc;
}

.profile-status-v2.success {
    border-color: #a7f3d0;
    color: #047857;
    background: #ecfdf5;
}

.profile-status-v2.running {
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
}

.profile-status-v2.danger {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.profile-detail-button-v2 {
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
}

.profile-empty-state-v2 {
    border-top-color: #e7edf5;
    color: #64748b;
}

.profile-pagination-v2 {
    border-top-color: #dfe7f1;
    color: #64748b;
    background: #f9fbfe;
}

.profile-account-footer-v2 {
    border-top-color: #d5dfeb;
    color: #64748b;
}

.profile-account-footer-v2 button {
    color: #be123c;
}

.profile-account-footer-v2 button:hover {
    color: #9f1239;
}

.profile-modal-backdrop-v2 {
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(9px);
}

.profile-task-modal-v2 {
    border-color: #cbd8e7;
    color: #1e293b;
    background: #ffffff;
    box-shadow:
        0 30px 90px rgba(15, 23, 42, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.90);
}

.profile-task-modal-v2 > header {
    border-bottom-color: #dfe7f1;
    background: rgba(255, 255, 255, 0.97);
}

.profile-task-modal-v2 > header span {
    color: #2563eb;
}

.profile-task-modal-v2 > header h2 {
    color: #0f172a;
}

.profile-modal-close-v2 {
    border-color: #cbd5e1;
    color: #475569;
    background: #ffffff;
}

.profile-modal-close-v2:hover {
    border-color: #60a5fa;
    color: #1d4ed8;
    background: #eff6ff;
}

.profile-detail-summary-v2 {
    border-bottom-color: #dfe7f1;
}

.profile-detail-group-v2 h3 {
    color: #334155;
}

.profile-tag-list-v2 span,
.profile-level-list-v2 span,
.profile-method-list-v2 li {
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
}

.profile-tag-list-v2.categorical span {
    border-color: #fed7aa;
    color: #9a3412;
    background: #fff7ed;
}

.profile-level-list-v2 span {
    border-color: #a7f3d0;
    color: #047857;
    background: #ecfdf5;
}

.profile-method-list-v2 li {
    border-color: #d8e2ee;
    color: #334155;
    background: #f8fafc;
}

.profile-optimal-table-v2 {
    border-color: #d8e2ee;
}

.profile-optimal-head-v2 {
    color: #64748b;
    background: #f6f9fd;
}

.profile-optimal-row-v2 {
    border-top-color: #e7edf5;
    color: #475569;
}

.profile-optimal-row-v2 strong {
    color: #0f172a;
}

.profile-detail-empty-v2 {
    border-color: #cbd5e1;
    color: #64748b;
    background: #f8fafc;
}

.profile-task-modal-v2,
.profile-center-page-v2 {
    scrollbar-color: #93c5fd #eaf1f8;
    scrollbar-width: thin;
}

@media (max-width: 980px) {
    .app-topbar-profile-v4 .app-topbar-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .app-topbar-profile-v4 .app-topbar-center {
        grid-row: 2;
        width: 100%;
        max-width: none;
    }

    .app-topbar-profile-v4 .header-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        width: 100%;
    }

    .app-topbar-profile-v4 .user-pill {
        justify-content: flex-start;
        min-width: 0;
    }

    .profile-quota-grid-v2 {
        border-top-color: #dfe7f1;
    }
}

@media (max-width: 720px) {
    .app-topbar-profile-v4 {
        padding: 10px 14px;
        overflow: hidden;
    }

    .app-topbar-profile-v4 .app-topbar-row,
    .app-topbar-profile-v4 .brand,
    .app-topbar-profile-v4 .app-topbar-center,
    .app-topbar-profile-v4 .header-actions {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .app-topbar-profile-v4 .app-topbar-center {
        display: flex;
        padding: 3px;
        overflow: hidden;
    }

    .app-topbar-profile-v4 .app-view-pill {
        flex: 1 1 0;
        width: 0;
        min-width: 0;
        padding: 8px 2px;
        overflow: hidden;
        font-size: 12px;
        text-align: center;
        text-overflow: ellipsis;
    }

    .app-topbar-profile-v4 .header-actions {
        grid-template-columns: minmax(0, 1fr) 96px;
    }

    .app-topbar-profile-v4 .user-pill {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-topbar-profile-v4 .header-actions .btn.ghost {
        width: 96px;
        min-width: 0;
        padding-right: 8px;
        padding-left: 8px;
    }

    .profile-center-page-v2 {
        padding: 26px 14px 38px;
        background-size: 28px 28px;
    }

    .profile-center-page-v2::before {
        inset: 8px;
    }

    .profile-center-page-v2::after {
        top: 8px;
        right: 8px;
        width: 48px;
        height: 48px;
    }

    .profile-center-heading-v2 {
        padding-left: 14px;
    }

    .profile-center-heading-v2 h1 {
        font-size: 29px;
    }

    .profile-identity-v2 {
        border-bottom-color: #dfe7f1;
    }

    .profile-quota-grid-v2 {
        border-top-color: #dfe7f1;
    }

    .profile-task-row-v2 {
        border-top-color: #e7edf5;
    }
}
