[x-cloak] { display: none !important; }

body.account-page {
    background: var(--color-surface, #f0f3f7);
    color: var(--color-foreground);
}

body.account-page main.account-main {
    width: min(var(--page), 100%);
    max-width: var(--page);
    margin: 0 auto;
    padding: 0 0 96px;
    box-sizing: border-box;
}

.pf-mobile-hub { display: none; }

.pf-workspace {
    display: block;
}

.pf-sidebar { display: none; }

.pf-panel {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px 16px 24px;
    box-sizing: border-box;
}

.pf-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    margin-bottom: 12px;
    padding: 8px 16px 0;
}

.pf-topbar__back .icon { transform: scaleX(-1); }

.pf-topbar__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: var(--color-muted-foreground);
    text-decoration: none;
}

.pf-topbar__title {
    margin: 0;
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 28px;
}

.pf-section {
    margin: 20px 0 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
}

.saved-rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.saved-rows li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    border-bottom: 1px solid var(--color-border);
}

.saved-rows a {
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    text-decoration: none;
}

.saved-rows .status-chip {
    flex: 0 0 auto;
}

.saved-rows form {
    margin-inline-start: auto;
}

.saved-rows button {
    min-height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-muted-foreground);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.pf-bookmark {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 12px 16px;
    background: var(--color-card);
}

.pf-bookmark a {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.pf-bookmark h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
}

.pf-bookmark p {
    margin: 2px 0 0;
    color: var(--color-muted-foreground);
    font-size: 12px;
    line-height: 18px;
}

.pf-bookmark form {
    margin: 0;
}

.pf-bookmark button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: var(--color-card);
    color: var(--color-foreground);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.opp-table-wrap {
    margin-top: 12px;
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-card);
}

.opp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.opp-table th,
.opp-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--color-border);
    font-size: 13px;
    line-height: 20px;
    vertical-align: middle;
}

.opp-table th {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-muted-foreground);
}

.opp-table tr:last-child td {
    border-bottom: 0;
}

.opp-table .field {
    min-height: 40px;
}

.check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.check-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
}

.age-slider--form {
    margin-top: 8px;
}

.age-slider__hint {
    margin: 8px 0 0;
    color: var(--color-muted-foreground);
    font-size: 12px;
    line-height: 18px;
}

.opp-terms {
    margin: 4px 0 0;
    color: var(--color-muted-foreground);
    font-size: 12px;
    line-height: 20px;
}

.opp-actions {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

.opp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--color-foreground);
    cursor: pointer;
}

.opp-icon--delete {
    color: #ef3b2e;
}

.opp-delete {
    min-height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: #ef3b2e;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.opp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.opp-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
}

.opp-invite {
    border: 0;
    padding: 0;
    background: transparent;
    color: #c13281;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    cursor: pointer;
}

.invite-rows {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.invite-rows li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
    line-height: 22px;
}

.invite-empty {
    margin: 16px 0 0;
    color: var(--color-muted-foreground);
    font-size: 14px;
    line-height: 22px;
}

.invite-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.report-modal__panel--tall {
    max-height: min(85dvh, 760px);
}

.profile-tabs__tab:disabled {
    opacity: 0.4;
    cursor: default;
}

.pf-request {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 12px;
    background: var(--color-card);
    color: inherit;
    text-align: right;
    text-decoration: none;
}

.pf-request__copy { min-width: 0; flex: 1; }

.pf-request h2,
.pf-request h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
}

.pf-request p {
    margin: 4px 0 0;
    color: var(--color-muted-foreground);
    font-size: 12px;
    line-height: 22px;
}

.pf-request--submitted { background: #fff8e6; }
.pf-request--shortlisted,
.pf-request--conversation,
.pf-request--sent { background: #eef6fb; }
.pf-request--matched,
.pf-request--accepted,
.pf-request--active { background: #eef8f2; }
.pf-request--rejected,
.pf-request--declined,
.pf-request--closed { background: #f4f6f8; }

.pf-mobile-hub {
    flex-direction: column;
    width: 100%;
    min-height: calc(100dvh - 64px - 72px);
    background: var(--color-background);
    color: var(--color-foreground);
}

.pf-mobile-hub__user {
    display: flex;
    justify-content: center;
    padding: 24px 16px 20px;
}

.pf-mobile-hub__userLink {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.pf-mobile-hub__userLink .pf-avatar { width: 96px; height: 96px; }

.pf-mobile-hub__userText {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    text-align: center;
}

.pf-mobile-hub__userName {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 28px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pf-mobile-hub__userPhone {
    margin: 0;
    font-size: 12px;
    line-height: 24px;
    color: #778aa2;
    direction: ltr;
    text-align: center;
}

.pf-avatar {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--color-border);
    color: #778aa2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.pf-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.pf-avatar.is-loading img { opacity: 0; }

.pf-avatar:not(.is-loading) .icon { display: none; }

.pf-avatar--lg { width: 64px; height: 64px; }

.pf-mobile-hub__card {
    flex: 1;
    background: var(--color-card);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 2px 8px rgba(37, 43, 50, 0.12);
    padding: 24px 16px 32px;
}

.pf-mobile-menu,
.pf-sidebar__section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pf-mobile-menu { gap: 6px; }

.pf-mobile-menu__row,
.pf-sidebar__row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    direction: rtl;
    width: 100%;
    min-height: 48px;
    padding: 8px 44px 8px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--color-muted-foreground);
    font: inherit;
    text-decoration: none;
    text-align: right;
    box-sizing: border-box;
    cursor: pointer;
}

.pf-mobile-menu__row > svg,
.pf-sidebar__row > svg {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.pf-mobile-menu__row--active,
.pf-sidebar__row--active,
.pf-sidebar__userLink--active {
    background: var(--color-surface);
}

.pf-mobile-menu__label,
.pf-sidebar__label {
    flex: 1;
    font-size: 12px;
    line-height: 28px;
    color: var(--color-muted-foreground);
    text-align: right;
}

.pf-sidebar__label { font-size: 14px; line-height: 24px; }

.pf-mobile-menu__row--sub .pf-mobile-menu__label,
.pf-sidebar__subrow .pf-sidebar__label {
    font-size: 12px;
}

.pf-mobile-menu__row--sub {
    min-height: 40px;
    padding: 6px 12px 6px 12px;
}

.pf-label--danger { color: #ef3b2e; }

.pf-mobile-menu__main,
.pf-sidebar__row {
    direction: rtl;
}

.pf-chev {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-inline-start: auto;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%239CADC1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M12 5l-5 5 5 5'/%3E%3C/svg%3E");
}

.pf-sidebar__chev {
    transition: transform 0.2s ease;
}

.pf-group.is-open .pf-sidebar__chev,
.pf-group.is-open .pf-chev {
    transform: rotate(-90deg);
}

.pf-menu-badge {
    margin-inline-start: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #c13281;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

.pf-push-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
}

.pf-push-card__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pf-push-card__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-foreground);
}

.pf-push-card__status {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--color-muted-foreground);
}

.pf-notif-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pf-notif {
    margin: 0;
}

.pf-notif__btn {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-card);
    text-align: right;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.pf-notif--unread .pf-notif__btn {
    border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border));
    background: var(--color-art-theatre-bg);
}

.pf-notif__copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pf-notif__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: var(--color-foreground);
}

.pf-notif__body {
    font-size: 13px;
    line-height: 20px;
    color: var(--color-muted-foreground);
}

.pf-notif__time {
    font-size: 11px;
    line-height: 18px;
    color: var(--color-muted-foreground);
    opacity: 0.85;
}

.pf-notif-count {
    color: var(--color-primary);
    font-size: 0.85em;
}

.pf-rule {
    border: 0;
    border-top: 1px solid var(--color-line);
    margin: 8px 0;
}

.pf-sidebar__submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 4px;
    padding: 0 0 4px 0;
}

.pf-group > .pf-mobile-menu__main {
    width: 100%;
}

.pf-profile-board {
    direction: rtl;
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: right;
}

.pf-board-user { display: none; }

.pf-board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pf-board__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.pf-board h2 {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 28px;
    color: var(--color-foreground);
}

.pf-board__add,
.pf-board__quiet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    text-decoration: none;
    cursor: pointer;
}

.pf-board__add {
    border: 0;
    background: #c13281;
    color: #fff;
    font-family: inherit;
}

.ticket-table {
    width: 100%;
    min-width: 36rem;
    border-collapse: collapse;
}

.ticket-table th,
.ticket-table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--color-border);
    text-align: right;
    vertical-align: top;
    font-size: 14px;
    line-height: 22px;
}

.ticket-table th {
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-muted-foreground);
}

.ticket-table__row {
    cursor: pointer;
}

.ticket-table__row:hover td {
    background: var(--color-surface);
}

.ticket-table a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.ticket-table__body {
    white-space: pre-wrap;
}

.ticket-detail__meta {
    margin: 16px 0;
}

.ticket-detail__note {
    margin: 16px 0 0;
    color: var(--color-muted-foreground);
    font-size: 14px;
}

.ticket-reply {
    margin-top: 20px;
}

.ticket-reply__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

.pf-board__quiet {
    border: 1px solid var(--color-border);
    background: var(--color-card);
    color: var(--color-foreground);
}

.pf-board__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.pf-board__empty {
    margin: 12px 0 0;
    color: var(--color-muted-foreground);
    font-size: 12px;
    line-height: 22px;
}

.pf-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 32px 16px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-surface);
    text-align: center;
}

.pf-empty__art {
    width: 72px;
    height: 72px;
    color: #c13281;
}

.pf-empty__art svg {
    display: block;
    width: 72px;
    height: 72px;
}

.pf-plp {
    direction: rtl;
    text-align: right;
}

.pf-plp h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 32px;
    color: var(--color-foreground);
}

.pf-record {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}

.pf-record > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.pf-record dt {
    color: var(--color-muted-foreground);
    font-size: 12px;
    line-height: 22px;
}

.pf-record dd {
    margin: 0;
    font-size: 12px;
    line-height: 22px;
    text-align: left;
}

.pf-record__face,
.pf-record__banner {
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.pf-record__face {
    width: 72px;
    height: 72px;
}

.pf-record__banner {
    width: 220px;
    height: 88px;
}

.pf-record__lead,
.pf-record__note p {
    margin: 8px 0 0;
    color: var(--color-muted-foreground);
    font-size: 12px;
    line-height: 22px;
}

.pf-record__note {
    margin-top: 20px;
}

.pf-record__note h2 {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 26px;
}

.pf-record__link {
    margin-top: 20px;
}

.pf-empty p {
    margin: 0;
    color: var(--color-muted-foreground);
    font-size: 12px;
    line-height: 22px;
}

.pf-board__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.pf-logout-row {
    align-self: stretch;
    min-height: 48px;
    border: 0;
    border-top: 1px solid var(--color-border);
    background: transparent;
    color: #ef3b2e;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 28px;
    text-align: right;
    cursor: pointer;
}

.pf-board-user {
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.pf-board-user__name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 30px;
    color: var(--color-foreground);
}

.pf-board-user__phone {
    margin: 4px 0 0;
    color: var(--color-muted-foreground);
    font-size: 12px;
    line-height: 22px;
    text-align: right;
}

@media (max-width: 1024px) {
    .pf-mobile-hub { display: flex; }
    body.account-page:has(.pf-mobile-hub):not(:has(.me-profile)) .pf-workspace { display: none; }
}

@media (min-width: 1025px) {
    body.account-page main.account-main { padding: 24px var(--page-gutter) 48px; }
    .pf-topbar { display: none; }
    .pf-workspace {
        display: flex;
        align-items: flex-start;
        gap: 24px;
    }
    .pf-sidebar {
        display: block;
        width: 248px;
        flex-shrink: 0;
        position: sticky;
        top: 88px;
    }
    .pf-sidebar__panel {
        background: var(--color-card);
        border: 1px solid var(--color-border);
        border-radius: 8px;
        padding: 16px;
    }
    .pf-sidebar__userLink {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
        padding: 16px 12px;
        border-radius: 8px;
        background: var(--color-surface);
        text-decoration: none;
        color: inherit;
        text-align: center;
    }
    .pf-sidebar__userLink .pf-avatar { width: 96px; height: 96px; }
    .pf-sidebar__userText {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 0;
        max-width: 100%;
        text-align: center;
    }
    .pf-sidebar__name {
        margin: 0;
        max-width: 100%;
        font-size: 14px;
        font-weight: 600;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .pf-sidebar__phone {
        margin: 2px 0 0;
        font-size: 12px;
        line-height: 20px;
        color: var(--color-muted-foreground);
        direction: ltr;
        text-align: center;
    }
    .pf-main { flex: 1; min-width: 0; }
    .pf-panel { padding: 24px; }
}

.pf-panel fieldset {
    min-inline-size: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.pf-panel fieldset > p {
    max-width: 100%;
    margin-inline: 0;
}

.skill-dots {
    display: inline-flex;
    gap: 3px;
}

.skill-dots i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #f0d4e2;
}

.skill-dots i.is-on {
    background: #c13281;
}

body.pf-logout-open { overflow: hidden; }

.pf-logoutDialog {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pf-logoutDialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(37, 43, 50, 0.4);
}

.pf-logoutDialog__sheet {
    position: relative;
    z-index: 1;
    width: 100%;
    background: var(--color-card);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(37, 43, 50, 0.1);
    outline: none;
}

.pf-logoutDialog__handle {
    width: 43px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: var(--color-line);
}

.pf-logoutDialog__body {
    padding: 12px 24px 24px;
    text-align: center;
}

.pf-logoutDialog__title {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 32px;
    color: var(--color-foreground);
}

.pf-logoutDialog__text {
    margin: 8px auto 0;
    max-width: 327px;
    font-size: 12px;
    line-height: 24px;
    color: var(--color-muted-foreground);
}

.pf-logoutDialog__actions {
    display: flex;
    gap: 16px;
    padding: 16px 24px max(16px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-line);
}

.pf-logoutDialog__btn {
    flex: 1;
    min-height: 44px;
    border-radius: 8px;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 28px;
    cursor: pointer;
}

.pf-logoutDialog__btn--danger {
    border: 1.5px solid #ef3b2e;
    background: transparent;
    color: #ef3b2e;
}

.pf-logoutDialog__btn--ghost {
    border: 0;
    background: transparent;
    color: var(--color-muted-foreground);
}

@media (min-width: 1025px) {
    .pf-logoutDialog {
        align-items: center;
        padding: 24px;
    }
    .pf-logoutDialog__sheet {
        max-width: 400px;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(37, 43, 50, 0.12);
    }
    .pf-logoutDialog__handle { display: none; }
    .pf-logoutDialog__body {
        padding: 24px 24px 0;
        text-align: right;
    }
    .pf-logoutDialog__title { font-weight: 600; color: var(--color-foreground); }
    .pf-logoutDialog__text { margin-right: 0; margin-left: 0; }
    .pf-logoutDialog__actions {
        justify-content: flex-start;
        border-top: 0;
        padding: 24px;
    }
    .pf-logoutDialog__btn { flex: 0 0 auto; padding: 8px 24px; }
    .pf-logoutDialog__btn--ghost { padding-inline: 16px; }
}

.repeat-wrap {
    max-width: 100%;
    overflow-x: auto;
}

.repeat-table {
    width: 100%;
    min-width: 32rem;
    border-collapse: collapse;
}

.repeat-table th,
.repeat-table td {
    padding: 8px;
    border-bottom: 1px solid var(--color-line);
    text-align: right;
    vertical-align: middle;
}

.repeat-table th {
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    color: #778aa2;
}

.repeat-table td:last-child,
.repeat-table th:last-child {
    width: 4.5rem;
    text-align: center;
}

.repeat-add,
.repeat-remove {
    border: 0;
    background: transparent;
    color: var(--color-foreground);
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 20px;
    cursor: pointer;
}

.repeat-add {
    margin-top: 8px;
    color: #c13281;
}

.repeat-remove {
    color: #ef3b2e;
}

.profile-tabs {
    display: flex;
    gap: 4px;
    margin-top: 20px;
    overflow-x: auto;
    border-bottom: 1px solid var(--color-line);
}

.profile-tabs__tab {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--color-muted-foreground);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.profile-tabs__tab.is-on {
    color: #c13281;
    border-bottom-color: #c13281;
}

.profile-pane {
    display: none;
    margin-top: 20px;
}

.profile-pane.is-on {
    display: block;
}

.profile-edit__save {
    margin-top: 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.me-profile {
    direction: rtl;
    text-align: right;
}

.me-hero,
.me-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-card);
}

.me-hero { overflow: clip; }

.me-card { padding: 16px; }

.me-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.me-card__head h2,
.me-hero h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--color-foreground);
}

.me-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: var(--color-muted-foreground);
    text-decoration: none;
}

.me-edit:hover { background: var(--color-surface); color: #c13281; }

.me-hero__cover {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.me-hero__cover form { margin: 0; }

.me-hero__banner {
    display: block;
    width: 100%;
    height: 168px;
    object-fit: cover;
    background: #d9e2ec;
}

.me-hero__banner--empty {
    background:
        linear-gradient(120deg, #ead7e4 0%, #d9e2ec 55%, #f6f4ef 100%);
}

.me-hero__person {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 16px 16px;
}

.me-hero__photo-slot {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 96px;
    height: 96px;
    margin-top: -48px;
}

.me-hero__photo-slot form {
    position: absolute;
    inset: 0;
    margin: 0;
}

.me-hero__photo {
    width: 96px;
    height: 96px;
    border: 4px solid var(--color-background);
    border-radius: 999px;
    object-fit: cover;
    background: var(--color-surface);
    box-shadow: 0 0 0 1px rgba(23, 19, 26, 0.08);
}

.me-hero__photo--empty {
    display: grid;
    place-items: center;
    color: var(--color-foreground);
    font-size: 32px;
    font-weight: 700;
}

.me-hero__text { flex: 1; min-width: 0; padding-top: 12px; }

.me-hero__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.me-hero__text > .pdp-actions {
    margin-top: 10px;
    width: 100%;
}

.me-hero__text > .pdp-actions .share-slot {
    display: inline-flex;
}

.me-hero__identity {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.me-hero h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 32px;
    color: var(--color-foreground);
}

.me-hero h1.is-empty { color: #8a8490; font-weight: 600; }

.me-hero__art-name {
    margin: 2px 0 0;
    color: #5c6570;
    font-size: 14px;
    line-height: 22px;
}

.me-hero__public {
    flex: 0 0 auto;
    color: #c13281;
    font-size: 12px;
    font-weight: 700;
    line-height: 32px;
    text-decoration: none;
}

.me-arts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.me-arts li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--art-bg, #f8eef3);
    color: var(--art, #c13281);
    font-size: 12px;
    font-weight: 700;
}

.me-arts .icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--art, #c13281);
}

.report-modal__panel--sheet { width: min(40rem, 100%); }

.me-sheet {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.me-sheet th,
.me-sheet td {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-line);
    text-align: right;
    font-size: 13px;
    line-height: 20px;
    vertical-align: middle;
}

.me-sheet th {
    color: var(--color-muted-foreground);
    font-size: 12px;
    font-weight: 700;
}

.me-sheet__thumb img,
.me-sheet__thumb video,
.me-sheet__thumb span {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--color-surface);
}

.me-sheet__thumb span {
    display: grid;
    place-items: center;
    color: var(--color-muted-foreground);
    font-size: 11px;
    font-weight: 700;
}

.me-sheet__actions {
    width: 1%;
    white-space: nowrap;
    text-align: left;
}

.me-sheet__actions form {
    display: inline-flex;
}

.me-sheet__primary {
    width: 1%;
    text-align: center;
}

.me-radio {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #c13281;
    cursor: pointer;
}

.me-switch {
    display: inline-flex;
    align-items: center;
    width: 36px;
    height: 22px;
    padding: 2px;
    border: 0;
    border-radius: 999px;
    background: #d7d3cf;
    cursor: pointer;
}

.me-switch span {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--color-card);
    box-shadow: 0 1px 2px rgba(23, 19, 26, 0.2);
}

.me-switch.is-on {
    background: #c13281;
}

.me-switch.is-on span {
    margin-inline-start: 14px;
}

.credit-editor {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
}

.credit-editor[hidden] { display: none; }

.credit-editor__field { display: block; }

.credit-editor__year { width: 50%; }

.credit-editor__role {
    cursor: pointer;
    background-color: var(--color-card);
    color: var(--color-foreground);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2317131A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 16px 16px;
}

.me-sheet tr:not(.is-editing) [data-row-fields] { display: none; }

.me-sheet tr.is-editing [data-row-summary] { display: none; }

.me-sheet tr.is-editing [data-row-fields] {
    display: grid;
    gap: 6px;
}

.me-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: var(--color-surface);
    color: var(--color-muted-foreground);
    cursor: pointer;
}

.me-icon-btn:hover,
.me-icon-btn.is-on { color: #c13281; }

.me-icon-btn.is-danger:hover { color: #ef3b2e; }

.me-sheet .media-upload--inline .media-upload__preview,
.me-sheet .media-upload--inline .media-upload__bar,
.me-sheet .media-upload--inline .media-upload__error { display: none; }

.me-sheet td .media-upload.media-upload--inline .media-upload__preview:has(img, video, audio) + .media-upload__actions,
.me-sheet th .media-upload.media-upload--inline .media-upload__preview:has(img, video, audio) + .media-upload__actions {
    position: static;
    top: auto;
    inset-inline-end: auto;
}

.me-sheet .skill-picker { max-width: none; }

.me-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-top: 16px;
}

.me-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

@media (min-width: 801px) {
    .me-grid > .me-stack:last-child {
        position: sticky;
        top: 80px;
        z-index: 2;
        max-height: calc(100dvh - 96px);
        overflow: auto;
    }
}

.me-invite p {
    margin: 0 0 14px;
    color: var(--color-muted-foreground);
    font-size: 13px;
    line-height: 22px;
}

.me-invite__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    background: #c13281;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.me-about {
    margin: 0;
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 24px;
}

.me-note {
    margin: 0;
    color: var(--color-muted-foreground);
    font-size: 13px;
    line-height: 22px;
}

.me-facts {
    display: flex;
    flex-direction: column;
    margin: 12px 0 0;
}

.me-facts > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--color-line);
}

.me-facts dt {
    color: var(--color-muted-foreground);
    font-size: 12px;
    line-height: 20px;
}

.me-facts dd {
    margin: 0;
    font-size: 13px;
    line-height: 20px;
}

.me-list,
.me-skills {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.me-list li,
.me-skills li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--color-line);
}

.me-list li:first-child,
.me-skills li:first-child { border-top: 0; padding-top: 0; }

.me-list strong,
.me-skills span:first-child {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
}

.me-skills a {
    color: var(--color-muted-foreground);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    text-decoration: none;
}

.me-role {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
}

.me-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 24px;
    margin-inline-start: 8px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fbeaf2;
    color: #c13281;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
}

.me-list span,
.me-list em {
    color: var(--color-muted-foreground);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
}

.me-error {
    margin: 8px 0 0;
    color: #b42318;
    font-size: 12px;
    line-height: 18px;
}

.me-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.me-form__actions .icon { margin-inline-end: 6px; }

.me-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--color-foreground);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.me-slides__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.me-slides__nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-card);
    color: var(--color-foreground);
    cursor: pointer;
}

.me-slides__nav .is-next .icon { transform: scaleX(-1); }

.me-slides__nav span {
    color: var(--color-muted-foreground);
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 800px) {
    .me-grid { grid-template-columns: 1fr; }
    .me-hero__person { flex-direction: column; }
    .me-hero__title-row { flex-direction: column; gap: 8px; }
    .me-hero__photo-slot { width: 84px; height: 84px; margin-top: -42px; }
    .me-hero__photo { width: 84px; height: 84px; }
    .me-hero__text { padding-top: 8px; }
}

html[data-theme="dark"] body.account-page {
    background: var(--color-background);
    color: var(--color-foreground);
}

html[data-theme="dark"] .me-hero__banner,
html[data-theme="dark"] .me-hero__banner--empty,
html[data-theme="dark"] .media-upload--cover .media-upload__preview {
    background: linear-gradient(120deg, #3a2030 0%, #241820 55%, #17131a 100%);
}

html[data-theme="dark"] .me-badge {
    background: var(--color-art-theatre-bg);
    color: #f3b6d4;
}

html[data-theme="dark"] .pf-request--submitted { background: #33280f; color: #f3d7a1; }
html[data-theme="dark"] .pf-request--shortlisted,
html[data-theme="dark"] .pf-request--conversation,
html[data-theme="dark"] .pf-request--sent { background: #1d2836; color: #b7d4f0; }
html[data-theme="dark"] .pf-request--matched,
html[data-theme="dark"] .pf-request--accepted,
html[data-theme="dark"] .pf-request--active { background: #1a2e24; color: #b7e4cc; }
html[data-theme="dark"] .pf-request--rejected,
html[data-theme="dark"] .pf-request--declined,
html[data-theme="dark"] .pf-request--closed { background: var(--color-muted); color: var(--color-muted-foreground); }

html[data-theme="dark"] .pf-panel,
html[data-theme="dark"] .pf-sidebar__panel,
html[data-theme="dark"] .pf-mobile-hub__card {
    background: var(--color-card);
    border-color: var(--color-border);
    color: var(--color-foreground);
}

html[data-theme="dark"] .pf-sidebar__userLink,
html[data-theme="dark"] .pf-mobile-menu__row--active,
html[data-theme="dark"] .pf-sidebar__row--active,
html[data-theme="dark"] .pf-sidebar__userLink--active {
    background: var(--color-surface);
}

html[data-theme="dark"] .pf-push-card,
html[data-theme="dark"] .pf-empty,
html[data-theme="dark"] .credit-editor,
html[data-theme="dark"] .ticket-table__row:hover td {
    background: var(--color-surface);
    border-color: var(--color-border);
}

html[data-theme="dark"] .pf-notif__btn {
    background: var(--color-card);
    border-color: var(--color-border);
    color: var(--color-foreground);
}

html[data-theme="dark"] .pf-notif--unread .pf-notif__btn {
    background: var(--color-art-theatre-bg);
    border-color: color-mix(in srgb, var(--color-primary) 40%, var(--color-border));
}

html[data-theme="dark"] .pf-notif__title,
html[data-theme="dark"] .pf-push-card__title,
html[data-theme="dark"] .pf-board-user__name,
html[data-theme="dark"] .pf-topbar__title,
html[data-theme="dark"] .pf-board__head h1,
html[data-theme="dark"] .me-hero h1 {
    color: var(--color-foreground);
}

html[data-theme="dark"] .pf-notif__body,
html[data-theme="dark"] .pf-notif__time,
html[data-theme="dark"] .pf-push-card__status,
html[data-theme="dark"] .pf-empty p,
html[data-theme="dark"] .ticket-table th,
html[data-theme="dark"] .me-hero h1.is-empty,
html[data-theme="dark"] .me-hero__meta {
    color: var(--color-muted-foreground);
}

html[data-theme="dark"] .pf-menu-badge {
    background: var(--color-primary);
    color: #fff;
}

html[data-theme="dark"] .saved-rows li,
html[data-theme="dark"] .pf-record > div,
html[data-theme="dark"] .pf-rule,
html[data-theme="dark"] .ticket-table th,
html[data-theme="dark"] .ticket-table td,
html[data-theme="dark"] .me-sheet th,
html[data-theme="dark"] .me-sheet td {
    border-color: var(--color-border);
}

html[data-theme="dark"] .profile-tabs {
    border-color: var(--color-border);
}

html[data-theme="dark"] .profile-tabs__tab {
    color: var(--color-muted-foreground);
}

html[data-theme="dark"] .profile-tabs__tab.is-on {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

html[data-theme="dark"] .skill-dots i {
    background: color-mix(in srgb, var(--color-primary) 28%, var(--color-surface));
}

html[data-theme="dark"] .skill-dots i.is-on {
    background: var(--color-primary);
}

html[data-theme="dark"] .me-switch {
    background: #5a4654;
}

html[data-theme="dark"] .me-switch.is-on {
    background: var(--color-primary);
}

html[data-theme="dark"] .me-switch span {
    background: var(--color-card);
}

html[data-theme="dark"] .me-icon-btn {
    background: var(--color-surface);
    color: var(--color-muted-foreground);
}

html[data-theme="dark"] .me-icon-btn:hover,
html[data-theme="dark"] .me-icon-btn.is-on,
html[data-theme="dark"] .me-edit:hover {
    color: #f0a0c8;
}

html[data-theme="dark"] .credit-editor__role {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23f7eef3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .me-slides__card,
html[data-theme="dark"] .me-grid > section,
html[data-theme="dark"] .me-card {
    background: var(--color-card);
    border-color: var(--color-border);
    color: var(--color-foreground);
}

html[data-theme="dark"] .pf-logoutDialog__backdrop {
    background: rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .pf-logoutDialog__sheet {
    background: var(--color-card);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .pf-chev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23cbb8c4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M12 5l-5 5 5 5'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .pf-empty__art .icon,
html[data-theme="dark"] .pf-mobile-menu__row > svg,
html[data-theme="dark"] .pf-sidebar__row > svg {
    color: var(--color-muted-foreground);
}

html[data-theme="dark"] .me-pill,
html[data-theme="dark"] .me-chip {
    background: var(--color-art-theatre-bg);
    color: #f3b6d4;
}
