﻿.profile-page {
    width: min(1280px, 100%);
    margin: 0 auto 48px;
    padding: 0 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.profile-hero-password-form > .profile-hero-password-actions {
    width: 100% !important;
    margin-top: 12px !important;
    padding-top: 0 !important;
    justify-content: flex-start;
}

.profile-hero-password-form > .profile-hero-password-actions > #profileSelfPasswordSaveBtn {
    margin-top: 0 !important;
}

@media screen and (max-width: 980px) {
    .profile-hero-password-form > .profile-hero-password-actions {
        margin-top: 10px !important;
    }
}

.profile-shell {
    width: 100%;
    display: grid;
    grid-template-columns: clamp(240px, 22vw, 300px) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    padding: 14px;
    border: 1px solid #b8d6bf;
    border-radius: 30px;
    background: linear-gradient(180deg, #ddebe0 0%, #d5e5d9 100%);
    box-shadow: 0 18px 44px rgba(37, 73, 45, 0.12);
}

.profile-sections {
    position: sticky;
    top: 112px;
    align-self: start;
    padding: 14px;
    border: 1px solid #bcd2c0;
    border-radius: 20px;
    background: #edf7ef;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.profile-sections__title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 900;
    color: #234f37;
}

.profile-sections__mobile-head {
    display: none;
}

.profile-sections__close {
    appearance: none;
    width: 40px;
    height: 40px;
    border: 1px solid #2f8a4e;
    border-radius: 12px;
    background: #f0faf3;
    color: #2a7143;
    font-size: 24px;
    line-height: 1;
}

.profile-sections__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-mobile-sections-bar {
    display: none;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 10px;
    border-bottom: 1px solid #c2d9c7;
    background: transparent;
}

.profile-mobile-sections-bar__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-mobile-sections-bar__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6f9f76;
}

.profile-mobile-sections-bar__current {
    min-width: 0;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    color: #1f5f39;
    word-break: break-word;
}

.profile-sections-toggle {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    border: 1px solid #2f8a4e;
    border-radius: 12px;
    background: #e9f6ec;
    color: #2a7143;
    box-shadow: 0 8px 18px rgba(17, 43, 29, 0.14);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.profile-sections-toggle[aria-expanded="true"] {
    background: #2f8a4e;
    color: #fff;
    box-shadow: 0 10px 22px rgba(47, 138, 78, 0.18);
}

.profile-sections-toggle__icon {
    position: relative;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: background .2s ease, transform .2s ease;
}

.profile-sections-toggle__icon::before,
.profile-sections-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease;
}

.profile-sections-toggle__icon::before {
    transform: translateY(-6px);
}

.profile-sections-toggle__icon::after {
    transform: translateY(6px);
}

.profile-sections-toggle.is-open .profile-sections-toggle__icon {
    background: transparent;
}

.profile-sections-toggle.is-open .profile-sections-toggle__icon::before {
    transform: translateY(0) rotate(45deg);
}

.profile-sections-toggle.is-open .profile-sections-toggle__icon::after {
    transform: translateY(0) rotate(-45deg);
}

.profile-sections__link[data-profile-section-nav="overview"] {
    --profile-section-icon-bg: linear-gradient(180deg, #e9f8ef 0%, #dcf1e4 100%);
    --profile-section-icon-shadow: rgba(47, 138, 78, 0.14);
    --profile-section-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F8A4E' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M6 19c1-3.2 3.2-4.8 6-4.8s5 1.6 6 4.8'/%3E%3C/svg%3E");
}

.profile-sections__link[data-profile-section-nav="settings"] {
    --profile-section-icon-bg: linear-gradient(180deg, #fff3dd 0%, #ffe8bf 100%);
    --profile-section-icon-shadow: rgba(209, 136, 18, 0.18);
    --profile-section-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C27A0A' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M19.4 15a1 1 0 0 0 .2 1.1l.1.1a2 2 0 0 1 0 2.8 2 2 0 0 1-2.8 0l-.1-.1a1 1 0 0 0-1.1-.2 1 1 0 0 0-.6.9V20a2 2 0 0 1-4 0v-.2a1 1 0 0 0-.6-.9 1 1 0 0 0-1.1.2l-.1.1a2 2 0 0 1-2.8 0 2 2 0 0 1 0-2.8l.1-.1a1 1 0 0 0 .2-1.1 1 1 0 0 0-.9-.6H4a2 2 0 0 1 0-4h.2a1 1 0 0 0 .9-.6 1 1 0 0 0-.2-1.1l-.1-.1a2 2 0 0 1 0-2.8 2 2 0 0 1 2.8 0l.1.1a1 1 0 0 0 1.1.2 1 1 0 0 0 .6-.9V4a2 2 0 0 1 4 0v.2a1 1 0 0 0 .6.9 1 1 0 0 0 1.1-.2l.1-.1a2 2 0 0 1 2.8 0 2 2 0 0 1 0 2.8l-.1.1a1 1 0 0 0-.2 1.1 1 1 0 0 0 .9.6H20a2 2 0 0 1 0 4h-.2a1 1 0 0 0-.9.6Z'/%3E%3C/svg%3E");
}

.profile-sections__link[data-profile-section-nav="admin"] {
    --profile-section-icon-bg: linear-gradient(180deg, #e8f2ff 0%, #dbe9ff 100%);
    --profile-section-icon-shadow: rgba(56, 110, 214, 0.16);
    --profile-section-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23386ED6' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 18.5h15M7.5 18.5v-7M12 18.5V9.5M16.5 18.5V5.5'/%3E%3Ccircle cx='7.5' cy='9' r='1.2' fill='%23386ED6' stroke='none'/%3E%3Ccircle cx='12' cy='7.5' r='1.2' fill='%23386ED6' stroke='none'/%3E%3Ccircle cx='16.5' cy='4' r='1.2' fill='%23386ED6' stroke='none'/%3E%3C/svg%3E");
}

.profile-sections__link[data-profile-section-nav="messages"] {
    --profile-section-icon-bg: linear-gradient(180deg, #ecfccb 0%, #d9f99d 100%);
    --profile-section-icon-shadow: rgba(101, 163, 13, 0.18);
    --profile-section-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23659F0D' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6.5A2.5 2.5 0 0 1 7.5 4h9A2.5 2.5 0 0 1 19 6.5v6A2.5 2.5 0 0 1 16.5 15H11l-4 4v-4H7.5A2.5 2.5 0 0 1 5 12.5v-6Z'/%3E%3C/svg%3E");
}

.profile-sections__link {
    appearance: none;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    border: 1px solid #bed6c3;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 18px;
    font-weight: 700;
    color: #234f37;
    background: #fff;
    text-align: left;
    white-space: nowrap;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.profile-sections__link::before {
    content: '';
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 10px;
    background-image: var(--profile-section-icon-svg), var(--profile-section-icon-bg, linear-gradient(180deg, #eef8f1 0%, #e3f0e6 100%));
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: 18px 18px, 100% 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 5px 12px var(--profile-section-icon-shadow, rgba(47, 138, 78, 0.12));
    transition: transform .16s ease, box-shadow .16s ease;
}

.profile-sections__link:hover {
    background: #f3faf4;
    color: #1f4f39;
    box-shadow: 0 6px 16px rgba(31, 79, 57, 0.08);
}

.profile-sections__link:hover::before {
    transform: translateY(-1px);
}

.profile-sections__link.is-active {
    background: #2f8a4e;
    border-color: #2f8a4e;
    color: #fff;
    box-shadow: 0 10px 22px rgba(47, 138, 78, 0.18);
}

.profile-main {
    min-width: 0;
    border: 1px solid #bcd2c0;
    border-radius: 20px;
    background: #edf7ef;
    display: flex;
    flex-direction: column;
    min-height: 640px;
}

.profile-main__content {
    min-width: 0;
    flex: 1 1 auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.profile-section-pane {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.profile-shell.is-sections-ready .profile-section-pane {
    display: none;
}

.profile-shell.is-sections-ready .profile-section-pane.is-active {
    display: flex;
}

.profile-sections-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1245;
    background: rgba(10, 28, 18, 0.34);
    backdrop-filter: blur(1.5px);
}

.profile-hero-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 24px;
    padding: 28px;
    border: 1px solid rgba(111, 172, 116, 0.35);
    border-radius: 32px;
    background: rgba(247, 252, 247, 0.98);
    box-shadow: 0 18px 42px rgba(48, 84, 49, 0.09);
}

.profile-hero-card__avatar-stack {
    width: 132px;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-hero-card__avatar {
    width: 132px;
    height: 132px;
    grid-row: 1 / span 2;
    border-radius: 28px;
    overflow: hidden;
    background: #eef8f0;
    box-shadow: inset 0 0 0 1px rgba(112, 179, 120, 0.28), 0 18px 40px rgba(78, 129, 83, 0.18);
}

.profile-hero-card__avatar.is-crop-active {
    cursor: grab;
    touch-action: none;
}

.profile-hero-card__avatar.is-crop-dragging,
.profile-hero-card__avatar.is-crop-active.is-dragging {
    cursor: grabbing;
}

.profile-hero-card__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.profile-avatar-cropper {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: 18px 22px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid rgba(110, 174, 118, 0.24);
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(219, 245, 224, 0.6), transparent 38%),
        linear-gradient(180deg, rgba(248, 253, 249, 0.98) 0%, rgba(239, 248, 241, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 16px 32px rgba(63, 103, 67, 0.08);
}

.profile-avatar-cropper[hidden] {
    display: none !important;
}

.profile-avatar-cropper__head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.profile-avatar-cropper__title {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.08;
    color: #1c5d34;
}

.profile-avatar-cropper__hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #5b8362;
}

.profile-avatar-cropper__body {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    min-width: 0;
}

.profile-avatar-cropper__viewport {
    width: clamp(196px, 24vw, 250px);
    aspect-ratio: 1;
    padding: 8px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow:
        inset 0 0 0 1px rgba(103, 168, 112, 0.18),
        0 12px 26px rgba(80, 128, 84, 0.1);
}

.profile-avatar-cropper__canvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 28px;
    background: #f6fbf7;
    touch-action: none;
    cursor: grab;
}

.profile-avatar-cropper__canvas.is-dragging {
    cursor: grabbing;
}

.profile-avatar-cropper__preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 104px;
}

.profile-avatar-cropper__preview-label,
.profile-avatar-cropper__zoom span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6aa06f;
}

.profile-avatar-cropper__preview-canvas {
    width: 96px;
    height: 96px;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        inset 0 0 0 1px rgba(107, 171, 116, 0.26),
        0 12px 24px rgba(79, 128, 84, 0.12);
}

.profile-avatar-cropper__zoom {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.profile-avatar-cropper__zoom input[type="range"] {
    width: 100%;
    accent-color: #39a455;
    cursor: pointer;
}

.profile-hero-card__summary,
.profile-hero-card__details {
    min-width: 0;
}

.profile-hero-card__summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-right: 14px;
}

.profile-hero-card__details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-admin-list-card__eyebrow {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #58a36a;
}

.profile-hero-card__title,
.profile-admin-panel__title,
.profile-admin-list-card__title {
    margin: 0;
    color: #1d5f34;
    font-weight: 900;
    line-height: 1.08;
}

.profile-hero-card__title-row {
    display: inline-grid;
    grid-template-columns: minmax(0, auto) auto;
    align-items: center;
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    gap: 14px;
}

.profile-hero-card__title-shell {
    --profile-title-shell-side-padding: 16px;
    display: block;
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    border-radius: 18px;
    background: rgba(232, 245, 235, 0.92);
    box-shadow: inset 0 0 0 1px rgba(93, 162, 106, 0.16);
    transition: box-shadow 0.18s ease, background-color 0.18s ease;
}

.profile-hero-card__title-shell.is-editing {
    background: rgba(236, 249, 239, 0.96);
    box-shadow:
        inset 0 0 0 1px rgba(95, 176, 108, 0.3),
        0 12px 28px rgba(62, 123, 70, 0.1);
}

.profile-hero-card__title-input {
    width: auto;
    min-width: 0;
    max-width: 100%;
    padding: 5px var(--profile-title-shell-side-padding) 9px var(--profile-title-shell-side-padding);
    border: 0;
    border-radius: 18px;
    background: transparent;
    font-size: clamp(35px, 4.6vw, 54px);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.08;
    color: #124928;
    outline: none;
    box-shadow: none;
}

.profile-hero-card__title-input[readonly] {
    cursor: default;
}

.profile-hero-card__title-input::placeholder {
    color: #6a9a74;
}

.profile-hero-card__title-input:focus {
    border: 0;
    box-shadow: none;
}

.profile-hero-card__edit-actions--title {
    display: flex;
    flex-direction: row;
    gap: 6px;
    flex: 0 0 auto;
    align-self: center;
}

.profile-hero-card__edit-actions--title .profile-hero-card__edit-toggle,
.profile-hero-card__edit-actions--title .profile-hero-card__edit-confirm {
    border-color: rgba(86, 154, 96, 0.45);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 18px rgba(79, 126, 83, 0.12);
}

.profile-hero-card__chips,
.profile-hero-card__groups,
.profile-admin-panel__summary,
.profile-admin-editor__chips,
.profile-admin-preview-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-admin-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(100, 170, 109, 0.28);
    background: rgba(255, 255, 255, 0.92);
    color: #245b35;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(84, 128, 86, 0.12);
}

.profile-admin-chip--status {
    background: #edf8ee;
}

.profile-admin-chip--group {
    background: linear-gradient(135deg, #e9f2ff 0%, #fcfeff 100%);
}

.profile-admin-chip--preview {
    background: linear-gradient(135deg, #fff0d6 0%, #fffaf0 100%);
}

.profile-admin-chip--soft {
    background: rgba(243, 255, 244, 0.92);
}

.profile-admin-chip--muted {
    background: rgba(248, 250, 248, 0.94);
    color: #6f8073;
}

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

.profile-hero-card__meta-item,
.profile-admin-summary-card,
.profile-admin-list-card,
.profile-admin-editor-card,
.profile-admin-preview-card,
.profile-admin-preview-group,
.profile-admin-user-card,
.profile-admin-group-card {
    border: 1px solid rgba(123, 183, 129, 0.28);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 36px rgba(62, 103, 66, 0.1);
    min-width: 0;
}

.profile-hero-card__meta-item {
    position: relative;
    padding: 16px 18px;
    border-radius: 22px;
}

.profile-hero-card__meta-item--full {
    grid-column: 1 / -1;
}

.profile-hero-card__meta-item--editable {
    padding-right: 68px;
}

.profile-hero-card__meta-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6f9f76;
}

.profile-hero-card__meta-value {
    font-size: 18px;
    font-weight: 800;
    color: #235939;
    word-break: break-word;
}

.profile-hero-card__meta-item .profile-hero-card__field-input {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #235939;
    font-size: 18px;
    font-weight: 800;
    outline: none;
    box-shadow: none;
}

.profile-hero-card__meta-item .profile-hero-card__field-input[readonly] {
    cursor: default;
}

.profile-hero-card__meta-item .profile-hero-card__field-input::placeholder {
    color: #89a892;
}

.profile-hero-card__meta-item .profile-hero-card__field-input:focus {
    border: 0;
    box-shadow: none;
}

.profile-hero-card__meta-item .profile-hero-card__field-input--compact {
    font-size: 16px;
    font-weight: 700;
}

.profile-hero-card__meta-item .profile-admin-field__help {
    margin-top: 2px;
}

.profile-hero-card__password-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid rgba(110, 174, 118, 0.3);
    border-radius: 14px;
    background: rgba(247, 255, 248, 0.98);
    color: #326c43;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.profile-hero-card__password-trigger:hover,
.profile-hero-card__password-trigger:focus-visible {
    border-color: rgba(83, 164, 98, 0.46);
    background: #edf8ef;
    box-shadow: 0 10px 24px rgba(83, 133, 88, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.profile-hero-card__password-trigger[aria-expanded="true"] {
    background: #edf8ef;
    border-color: rgba(83, 164, 98, 0.42);
}

.profile-hero-card__password-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 12px;
}

.profile-hero-card__password-row .profile-hero-card__password-trigger {
    margin-top: 0;
    width: min(100%, 340px);
}

.profile-hero-card__meta-item.is-editing {
    border-color: rgba(95, 176, 108, 0.45);
    box-shadow: 0 16px 34px rgba(62, 123, 70, 0.16);
}

.profile-hero-card__edit-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-hero-card__edit-toggle,
.profile-hero-card__edit-confirm {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(110, 174, 118, 0.32);
    border-radius: 12px;
    background: rgba(247, 255, 248, 0.98);
    color: #3d7f4c;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.profile-hero-card__edit-toggle:hover,
.profile-hero-card__edit-toggle:focus-visible,
.profile-hero-card__edit-confirm:hover,
.profile-hero-card__edit-confirm:focus-visible {
    border-color: rgba(79, 165, 95, 0.5);
    background: #edf8ef;
    box-shadow: 0 10px 24px rgba(83, 133, 88, 0.14);
    transform: translateY(-1px);
    outline: none;
}

.profile-hero-card__edit-toggle[aria-pressed="true"] {
    border-color: rgba(198, 112, 112, 0.38);
    background: #fff1f1;
    color: #a65555;
    box-shadow: 0 10px 24px rgba(150, 90, 90, 0.14);
}

.profile-hero-card__edit-confirm {
    background: #edf8ef;
    color: #2f8c47;
}

.profile-hero-card__edit-confirm[hidden] {
    display: none;
}

.profile-hero-card__edit-toggle-icon {
    font-size: 16px;
    line-height: 1;
}

.profile-hero-card__edit-confirm-icon {
    font-size: 17px;
    line-height: 1;
}

.profile-hero-card__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.profile-hero-card__actions .profile-self-status {
    flex: 1 1 240px;
    min-width: 0;
    text-align: left;
}

.profile-hero-card__actions .profile-admin-actions {
    margin-left: auto;
}

.profile-hero-password-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    padding: 0 20px;
    margin-top: -4px;
    border-radius: 24px;
    border: 0 solid transparent;
    background: rgba(248, 253, 248, 0.98);
    box-shadow: none;
    pointer-events: none;
    transition:
        max-height 0.28s ease,
        opacity 0.22s ease,
        transform 0.22s ease,
        padding 0.22s ease,
        margin-top 0.22s ease,
        border-width 0.22s ease,
        box-shadow 0.22s ease;
}

.profile-hero-password-panel.is-open {
    max-height: 960px;
    opacity: 1;
    transform: translateY(0);
    padding: 18px 20px 20px;
    margin-top: 2px;
    border: 1px solid rgba(117, 181, 123, 0.26);
    box-shadow: 0 16px 34px rgba(62, 103, 66, 0.08);
    pointer-events: auto;
}

.profile-hero-password-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.profile-hero-password-form {
    gap: 16px;
}

.profile-hero-password-form .profile-admin-form-grid + .profile-admin-actions {
    margin-top: 28px;
    padding-top: 2px;
}

.profile-hero-password-form #profileSelfPasswordSaveBtn {
    margin-top: 18px;
}

.profile-hero-password-help {
    margin-top: 4px;
}

.profile-hero-password-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(110, 174, 118, 0.28);
    border-radius: 999px;
    background: rgba(245, 252, 246, 0.98);
    color: #4f7a59;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    cursor: pointer;
    transition:
        color 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.profile-hero-password-link:hover,
.profile-hero-password-link:focus-visible {
    color: #2f6c41;
    border-color: rgba(85, 160, 96, 0.44);
    background: #edf8ef;
    box-shadow: 0 10px 22px rgba(83, 133, 88, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.profile-admin-panel {
    padding: 26px;
    border: 1px solid rgba(110, 172, 116, 0.3);
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(202, 246, 218, 0.45), transparent 32%),
        linear-gradient(180deg, rgba(245, 255, 246, 0.96) 0%, rgba(235, 248, 239, 0.98) 100%);
    box-shadow: 0 26px 56px rgba(51, 88, 54, 0.14);
}

.profile-self-panel {
    padding: 26px;
    border: 1px solid rgba(110, 172, 116, 0.3);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(214, 245, 220, 0.5), transparent 28%),
        radial-gradient(circle at bottom left, rgba(232, 248, 255, 0.32), transparent 30%),
        linear-gradient(180deg, rgba(246, 255, 247, 0.97) 0%, rgba(236, 249, 240, 0.98) 100%);
    box-shadow: 0 24px 56px rgba(53, 90, 56, 0.13);
}

.profile-self-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 22px;
}

.profile-self-status {
    min-height: 24px;
    font-size: 15px;
    font-weight: 700;
    color: #4e7d57;
    text-align: right;
}

.profile-self-status.is-success {
    color: #2f8c47;
}

.profile-self-status.is-warning {
    color: #9a6c1e;
}

.profile-self-status.is-error {
    color: #b34848;
}

.profile-self-file {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.profile-self-file-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-self-file__title {
    font-size: 13px;
    font-weight: 800;
    color: #5e8a65;
}

.profile-self-file--hero {
    margin-top: 0;
    align-items: stretch;
    flex: 0 1 auto;
}

.profile-self-file--hero .profile-self-file__title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px dashed rgba(113, 176, 120, 0.45);
    border-radius: 16px;
    background: rgba(252, 255, 252, 0.96);
    color: #295a3a;
    text-align: center;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.profile-self-file--hero:hover .profile-self-file__title {
    border-color: rgba(84, 173, 102, 0.55);
    box-shadow: 0 10px 24px rgba(84, 128, 86, 0.12);
    transform: translateY(-1px);
}

.profile-self-file.profile-self-file--hero input[type="file"] {
    display: none;
}

.profile-self-file-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.profile-self-file-action {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(110, 174, 118, 0.32);
    background: rgba(247, 255, 248, 0.98);
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.profile-self-file-action:hover,
.profile-self-file-action:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(83, 133, 88, 0.14);
    outline: none;
}

.profile-self-file-action--confirm {
    border-color: rgba(95, 168, 103, 0.34);
    background: #edf8ef;
    color: #2f8c47;
}

.profile-self-file-action--cancel {
    border-color: rgba(198, 112, 112, 0.28);
    background: #fff1f1;
    color: #a65555;
}

.profile-self-file input[type="file"] {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px dashed rgba(113, 176, 120, 0.45);
    border-radius: 18px;
    background: rgba(252, 255, 252, 0.96);
    color: #295a3a;
    font-size: 14px;
    font-weight: 700;
}

.profile-self-email-note {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px dashed rgba(128, 173, 95, 0.35);
    background: linear-gradient(135deg, rgba(255, 251, 233, 0.98) 0%, rgba(255, 255, 248, 0.98) 100%);
    color: #6d6a2e;
    font-size: 14px;
    line-height: 1.5;
}

.profile-self-email-note.is-pending {
    display: block;
}

.profile-self-email-note__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(121, 174, 95, 0.28);
    background: rgba(255, 255, 255, 0.86);
    color: #5f7b1f;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(133, 128, 66, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.profile-self-email-note__action:hover,
.profile-self-email-note__action:focus-visible {
    border-color: rgba(124, 170, 80, 0.42);
    color: #516d18;
    box-shadow: 0 12px 28px rgba(133, 128, 66, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.profile-self-reset-note {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px dashed rgba(111, 173, 117, 0.34);
    background: rgba(250, 255, 250, 0.92);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    color: #557d5e;
}

.profile-self-reset-note.is-visible {
    display: block;
}

.profile-self-reset-note__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(112, 172, 92, 0.32);
    background: rgba(255, 255, 255, 0.98);
    color: #4d6d1a;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.profile-self-reset-note__action:hover,
.profile-self-reset-note__action:focus-visible {
    border-color: rgba(124, 170, 80, 0.42);
    color: #516d18;
    box-shadow: 0 12px 28px rgba(133, 128, 66, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.profile-confirm-page {
    min-height: 100vh;
    padding: 24px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-confirm-card {
    width: min(680px, 100%);
    padding: 28px;
    border-radius: 30px;
    border: 1px solid rgba(117, 177, 123, 0.3);
    background:
        radial-gradient(circle at top right, rgba(214, 245, 220, 0.54), transparent 34%),
        linear-gradient(180deg, rgba(248, 255, 249, 0.98) 0%, rgba(237, 249, 240, 0.98) 100%);
    box-shadow: 0 24px 54px rgba(53, 93, 57, 0.14);
}

.profile-confirm-card.is-error {
    border-color: rgba(186, 96, 96, 0.28);
    background:
        radial-gradient(circle at top right, rgba(255, 227, 227, 0.55), transparent 34%),
        linear-gradient(180deg, rgba(255, 249, 249, 0.98) 0%, rgba(252, 240, 240, 0.98) 100%);
}

.profile-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.profile-confirm-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.profile-auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}

.profile-auth-status {
    min-height: 24px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: #4e7d57;
}

.profile-auth-status.is-success {
    color: #2f8c47;
}

.profile-auth-status.is-warning {
    color: #9a6c1e;
}

.profile-auth-status.is-error {
    color: #b34848;
}

.profile-admin-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-admin-panel__head-copy {
    max-width: 780px;
}

.profile-admin-panel__subtitle {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.55;
    color: #4a7450;
}

.profile-admin-panel__summary {
    justify-content: flex-end;
    min-width: 280px;
}

.profile-admin-summary-card {
    min-width: 150px;
    padding: 14px 16px;
    border-radius: 22px;
}

.profile-admin-summary-card__label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6ca36f;
}

.profile-admin-summary-card__value {
    font-size: 28px;
    font-weight: 900;
    color: #205837;
}

.profile-admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.profile-admin-tab,
.profile-admin-action-btn,
.profile-admin-toolbar__refresh,
.profile-admin-btn,
.profile-admin-preview-btn {
    appearance: none;
    border: 1px solid rgba(93, 156, 101, 0.26);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: #255936;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.profile-admin-tab,
.profile-admin-toolbar__refresh,
.profile-admin-preview-btn {
    min-height: 46px;
    padding: 10px 18px;
}

.profile-admin-action-btn,
.profile-admin-btn {
    min-height: 48px;
    padding: 12px 18px;
}

.profile-admin-tab:hover,
.profile-admin-action-btn:hover,
.profile-admin-toolbar__refresh:hover,
.profile-admin-btn:hover,
.profile-admin-preview-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(73, 121, 76, 0.16);
}

.profile-admin-tab.is-active {
    background: linear-gradient(135deg, #2d9548 0%, #57b86b 100%);
    color: #fff;
}

.profile-admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.profile-admin-toolbar__status {
    min-height: 24px;
    font-size: 15px;
    font-weight: 700;
    color: #4e7d57;
}

.profile-admin-toolbar__status.is-error {
    color: #b34848;
}

.profile-admin-grid {
    display: grid;
    grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
    gap: 22px;
}

.profile-admin-list-card,
.profile-admin-editor-card,
.profile-admin-preview-card,
.profile-admin-preview-group {
    border-radius: 28px;
    padding: 22px;
}

.profile-admin-list-card__head,
.profile-admin-editor-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.profile-admin-list-card__count {
    min-width: 46px;
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ddf6e1 0%, #f7fff8 100%);
    border: 1px solid rgba(92, 160, 102, 0.22);
    color: #245b35;
    font-size: 20px;
    font-weight: 900;
    flex: 0 0 auto;
}

.profile-admin-search {
    position: relative;
    display: block;
    margin-bottom: 16px;
}

.profile-admin-search__icon {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #59a767;
}

.profile-admin-search__icon::after {
    content: '';
    position: absolute;
    right: -4px;
    bottom: -5px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: #59a767;
    transform: rotate(45deg);
}

.profile-admin-search input,
.profile-admin-field input,
.profile-admin-field textarea,
.profile-admin-field select {
    width: 100%;
    border: 1px solid rgba(113, 176, 120, 0.35);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    color: #225538;
    font-size: 16px;
    font-weight: 700;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.profile-admin-search input {
    min-height: 52px;
    padding: 12px 16px 12px 46px;
}

.profile-admin-field input,
.profile-admin-field select {
    min-height: 52px;
    padding: 12px 16px;
}

.profile-admin-field textarea {
    min-height: 112px;
    padding: 14px 16px;
    resize: vertical;
}

.profile-admin-search input:focus,
.profile-admin-field input:focus,
.profile-admin-field textarea:focus,
.profile-admin-field select:focus {
    border-color: #5aad66;
    box-shadow: 0 0 0 4px rgba(123, 205, 130, 0.18);
}

.profile-admin-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 720px;
    overflow: auto;
    padding-right: 4px;
}

.profile-admin-user-card,
.profile-admin-group-card {
    width: 100%;
    padding: 16px 18px;
    border-radius: 24px;
    cursor: pointer;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.profile-admin-user-card:hover,
.profile-admin-group-card:hover,
.profile-admin-user-card.is-active,
.profile-admin-group-card.is-active {
    transform: translateY(-1px);
    border-color: rgba(78, 155, 86, 0.42);
    box-shadow: 0 16px 36px rgba(66, 112, 71, 0.15);
}

.profile-admin-user-card__head,
.profile-admin-group-card__head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.profile-admin-user-card__person {
    display: flex;
    gap: 14px;
    min-width: 0;
}

.profile-admin-user-card__person-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-admin-user-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    overflow: hidden;
    flex: 0 0 auto;
    background: linear-gradient(145deg, #dff8e5 0%, #f7fff8 100%);
    box-shadow: inset 0 0 0 1px rgba(98, 158, 107, 0.2);
}

.profile-admin-user-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-admin-user-card__title,
.profile-admin-group-card__title {
    margin: 0;
    font-size: 19px;
    font-weight: 900;
    color: #225738;
    line-height: 1.2;
    word-break: break-word;
}

.profile-admin-user-card__meta,
.profile-admin-group-card__meta,
.profile-admin-group-card__caps,
.profile-admin-empty,
.profile-admin-field__help {
    font-size: 14px;
    color: #67866c;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.profile-admin-user-card__meta strong,
.profile-admin-group-card__meta strong {
    color: #285d37;
}

.profile-admin-user-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.profile-admin-editor {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile-admin-editor__section {
    gap: 14px;
}

.profile-admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.profile-admin-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-admin-field--full {
    grid-column: 1 / -1;
}

.profile-admin-field label,
.profile-admin-legend {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6aa06f;
}

.profile-admin-selector-grid,
.profile-admin-caps-grid,
.profile-admin-preview-groups {
    display: grid;
    gap: 12px;
}

.profile-admin-selector-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.profile-admin-selector-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(118, 179, 124, 0.3);
    background: rgba(245, 255, 246, 0.92);
    color: #255738;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.profile-admin-selector-chip:hover,
.profile-admin-selector-chip.is-active {
    background: linear-gradient(135deg, #ebffef 0%, #dff6e4 100%);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(67, 110, 70, 0.12);
}

.profile-admin-selector-chip__dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(91, 158, 99, 0.4);
    background: rgba(255, 255, 255, 0.9);
}

.profile-admin-selector-chip.is-active .profile-admin-selector-chip__dot {
    background: #54b666;
    border-color: #54b666;
    box-shadow: 0 0 0 4px rgba(84, 182, 102, 0.18);
}

.profile-admin-caps-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.profile-admin-cap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(118, 179, 124, 0.28);
    border-radius: 18px;
    background: rgba(251, 255, 251, 0.94);
}

.profile-admin-cap input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.profile-admin-cap__copy strong {
    display: block;
    font-size: 15px;
    color: #245a34;
}

.profile-admin-cap__copy span {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: #6c8a70;
}

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

.profile-admin-btn--primary,
.profile-admin-preview-btn--primary {
    background: linear-gradient(135deg, #2a9a49 0%, #57ba6c 100%);
    color: #fff;
}

.profile-admin-btn--danger,
.profile-admin-preview-btn--danger {
    background: linear-gradient(135deg, #f8e4e4 0%, #fff6f6 100%);
    color: #aa4d4d;
}

.profile-admin-btn--ghost,
.profile-admin-preview-btn--ghost {
    background: rgba(248, 253, 248, 0.98);
    color: #2f6b41;
    border-color: rgba(95, 162, 104, 0.34);
}

.profile-admin-empty {
    padding: 22px;
    border-radius: 22px;
    border: 1px dashed rgba(115, 175, 121, 0.35);
    background: rgba(253, 255, 253, 0.86);
}

.profile-admin-preview-layout {
    display: grid;
    gap: 18px;
}

.profile-admin-preview-card {
    background: linear-gradient(135deg, rgba(233, 248, 236, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.profile-admin-preview-groups {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.profile-admin-preview-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-admin-preview-group__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.profile-admin-preview-group__caps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-admin-preview-group__cap,
.profile-admin-group-card__cap {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(238, 250, 240, 0.92);
    color: #3e7248;
    font-size: 12px;
    font-weight: 800;
}

.profile-admin-pane {
    display: none;
}

.profile-admin-pane.is-active {
    display: block;
}

.profile-admin-loader {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(121, 179, 126, 0.25);
    color: #4d7b54;
    font-size: 16px;
    font-weight: 700;
}

.profile-admin-note {
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f2fff4 0%, #ffffff 100%);
    border: 1px dashed rgba(116, 181, 122, 0.35);
    color: #47724d;
    font-size: 14px;
    line-height: 1.5;
}

.profile-admin-avatar-field {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.profile-admin-avatar-preview {
    width: 112px;
    height: 112px;
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(198, 245, 208, 0.8), transparent 42%),
        linear-gradient(145deg, #dff7e6 0%, #fbfffc 100%);
    box-shadow:
        inset 0 0 0 1px rgba(102, 165, 110, 0.22),
        0 18px 32px rgba(82, 126, 87, 0.16);
}

.profile-admin-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-admin-avatar-field__control {
    min-width: 0;
}

.profile-admin-panel__head-copy,
.profile-admin-list-card__head > div,
.profile-admin-editor-card__head > div,
.profile-admin-preview-group__head > div,
.profile-messages-panel__copy,
.profile-messages-thread-card__copy {
    min-width: 0;
}

.profile-admin-cap-sections {
    display: grid;
    gap: 16px;
}

.profile-admin-cap-section {
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(118, 179, 124, 0.24);
    box-shadow: 0 16px 34px rgba(71, 113, 74, 0.12);
}

.profile-admin-cap-section--notes {
    background: linear-gradient(135deg, rgba(220, 255, 227, 0.96) 0%, rgba(249, 255, 250, 0.96) 100%);
}

.profile-admin-cap-section--projects {
    background: linear-gradient(135deg, rgba(230, 244, 255, 0.96) 0%, rgba(251, 254, 255, 0.96) 100%);
}

.profile-admin-cap-section--expenses {
    background: linear-gradient(135deg, rgba(255, 245, 221, 0.96) 0%, rgba(255, 252, 245, 0.96) 100%);
}

.profile-admin-cap-section--weblearn {
    background: linear-gradient(135deg, rgba(243, 234, 255, 0.96) 0%, rgba(255, 251, 255, 0.96) 100%);
}

.profile-admin-cap-section--manage {
    background: linear-gradient(135deg, rgba(255, 232, 237, 0.96) 0%, rgba(255, 250, 251, 0.96) 100%);
}

.profile-admin-cap-section--communication {
    background: linear-gradient(135deg, rgba(224, 244, 255, 0.96) 0%, rgba(251, 254, 255, 0.96) 100%);
}

.profile-admin-cap-section__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.profile-admin-cap-section__icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px rgba(108, 169, 115, 0.22);
}

.profile-admin-cap-section__copy {
    min-width: 0;
}

.profile-admin-cap-section__copy h4 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 900;
    color: #1e5d34;
}

.profile-admin-cap-section__copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #5c8264;
}

.profile-admin-cap {
    position: relative;
    min-height: 100%;
    align-items: flex-start;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.profile-admin-cap:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(67, 109, 71, 0.12);
}

.profile-admin-cap--notes {
    background: linear-gradient(135deg, rgba(245, 255, 246, 0.96) 0%, rgba(232, 251, 236, 0.96) 100%);
}

.profile-admin-cap--projects {
    background: linear-gradient(135deg, rgba(245, 251, 255, 0.96) 0%, rgba(232, 244, 255, 0.96) 100%);
}

.profile-admin-cap--expenses {
    background: linear-gradient(135deg, rgba(255, 250, 239, 0.96) 0%, rgba(255, 244, 217, 0.96) 100%);
}

.profile-admin-cap--weblearn {
    background: linear-gradient(135deg, rgba(250, 244, 255, 0.96) 0%, rgba(242, 234, 255, 0.96) 100%);
}

.profile-admin-cap--manage {
    background: linear-gradient(135deg, rgba(255, 244, 246, 0.96) 0%, rgba(255, 233, 238, 0.96) 100%);
}

.profile-admin-cap--communication {
    background: linear-gradient(135deg, rgba(244, 251, 255, 0.96) 0%, rgba(231, 245, 255, 0.96) 100%);
}

.profile-admin-cap__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 0 0 1px rgba(118, 179, 124, 0.2);
}

.profile-admin-cap input {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 22px;
    height: 22px;
    margin: 0;
}

.profile-messages-panel {
    padding: 26px;
    border: 1px solid rgba(110, 172, 116, 0.3);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(223, 248, 255, 0.55), transparent 28%),
        radial-gradient(circle at bottom left, rgba(218, 255, 228, 0.45), transparent 30%),
        linear-gradient(180deg, rgba(245, 255, 247, 0.97) 0%, rgba(233, 247, 238, 0.98) 100%);
    box-shadow: 0 24px 54px rgba(58, 97, 62, 0.13);
}

.profile-messages-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.profile-messages-panel__copy {
    max-width: 780px;
}

.profile-messages-panel__status {
    min-height: 24px;
    font-size: 15px;
    font-weight: 700;
    color: #4e7d57;
}

.profile-messages-panel__status.is-error {
    color: #b34848;
}

.profile-messages-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 22px;
}

.profile-messages-sidebar,
.profile-messages-thread-card {
    border: 1px solid rgba(123, 183, 129, 0.28);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 36px rgba(62, 103, 66, 0.1);
}

.profile-messages-sidebar {
    padding: 18px;
}

.profile-messages-search {
    margin-bottom: 14px;
}

.profile-messages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 720px;
    overflow: auto;
    padding-right: 4px;
}

.profile-messages-contact {
    width: 100%;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(113, 176, 120, 0.22);
    background: linear-gradient(135deg, rgba(245, 255, 246, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.profile-messages-contact:hover,
.profile-messages-contact.is-active {
    transform: translateY(-1px);
    border-color: rgba(73, 151, 82, 0.42);
    box-shadow: 0 16px 30px rgba(69, 110, 73, 0.12);
}

.profile-messages-contact__avatar,
.profile-messages-thread-card__avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #dff8e5 0%, #f7fff8 100%);
    box-shadow: inset 0 0 0 1px rgba(98, 158, 107, 0.2);
}

.profile-messages-contact__avatar img,
.profile-messages-thread-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-messages-contact__copy,
.profile-messages-thread-card__copy {
    min-width: 0;
}

.profile-messages-contact__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.profile-messages-contact__title,
.profile-messages-thread-card__copy strong {
    display: block;
    min-width: 0;
    font-size: 18px;
    font-weight: 900;
    color: #215836;
    line-height: 1.25;
    word-break: break-word;
}

.profile-messages-contact__meta,
.profile-messages-contact__preview,
.profile-messages-thread-card__copy span,
.profile-messages-thread-card__status {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    color: #648269;
    word-break: break-word;
}

.profile-messages-contact__badge {
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c9949 0%, #5bc06e 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(47, 143, 70, 0.2);
}

.profile-messages-thread-card {
    display: grid;
    grid-template-rows: auto minmax(300px, 1fr) auto;
    min-height: 680px;
}

.profile-messages-thread-card__head {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(123, 183, 129, 0.22);
}

.profile-messages-thread-card__person {
    display: flex;
    align-items: center;
    gap: 14px;
}

.profile-messages-thread-card__status {
    margin-top: 2px;
}

.profile-messages-thread-card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    overflow: auto;
    background:
        radial-gradient(circle at top right, rgba(221, 248, 231, 0.28), transparent 28%),
        linear-gradient(180deg, rgba(252, 255, 252, 0.88) 0%, rgba(243, 251, 244, 0.94) 100%);
}

.profile-messages-bubble {
    max-width: min(540px, 100%);
    padding: 14px 16px;
    border-radius: 22px;
    border: 1px solid rgba(113, 176, 120, 0.18);
    box-shadow: 0 12px 22px rgba(74, 115, 77, 0.08);
}

.profile-messages-bubble--peer {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.96);
}

.profile-messages-bubble--own {
    align-self: flex-end;
    background: linear-gradient(135deg, #dff7e4 0%, #f7fff8 100%);
}

.profile-messages-bubble__body {
    font-size: 16px;
    line-height: 1.55;
    color: #245738;
    white-space: pre-wrap;
    word-break: break-word;
}

.profile-messages-bubble__meta {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #6a876f;
}

.profile-messages-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 18px 22px 22px;
    border-top: 1px solid rgba(123, 183, 129, 0.22);
    background: rgba(250, 255, 250, 0.92);
}

.profile-messages-composer textarea {
    width: 100%;
    min-height: 110px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(113, 176, 120, 0.35);
    background: rgba(255, 255, 255, 0.98);
    color: #225538;
    font-size: 16px;
    font-weight: 700;
    outline: none;
    resize: vertical;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.profile-messages-composer textarea:focus {
    border-color: #5aad66;
    box-shadow: 0 0 0 4px rgba(123, 205, 130, 0.18);
}

@media screen and (max-width: 1120px) {
    .profile-shell {
        grid-template-columns: 1fr;
        border-radius: 26px;
    }

    .profile-sections {
        position: static;
    }

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

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

    .profile-admin-panel__head {
        flex-direction: column;
    }

    .profile-admin-panel__summary {
        justify-content: flex-start;
        min-width: 0;
    }

    .profile-messages-layout {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 980px) {
    .profile-shell.is-sections-ready .profile-mobile-sections-bar {
        display: flex;
    }

    .profile-shell.is-sections-ready .profile-sections {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1250;
        width: min(88vw, 360px);
        max-width: calc(100vw - 12px);
        height: 100dvh;
        padding: 12px;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform .24s ease;
        box-shadow: 10px 0 26px rgba(6, 20, 34, 0.25);
        overflow: auto;
    }

    .profile-shell.is-sections-ready .profile-sections.is-open {
        transform: translateX(0);
    }

    .profile-shell.is-sections-ready .profile-sections__mobile-head {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 6px;
    }

    .profile-shell.is-sections-ready .profile-sections__title {
        display: block;
    }

    .profile-shell.is-sections-ready .profile-sections__list {
        flex-direction: column;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .profile-shell.is-sections-ready .profile-sections__link {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .profile-main {
        min-height: 0;
    }

    .profile-main__content {
        padding: 12px;
    }
}

@media screen and (max-width: 760px) {
    .profile-page {
        padding: 0 10px 20px;
        gap: 18px;
    }

    .profile-shell {
        padding: 10px;
        border-radius: 22px;
    }

    .profile-sections {
        padding: 10px;
        border-radius: 22px;
    }

    .profile-sections__title {
        display: none;
    }

    .profile-sections__list {
        flex-direction: row;
        gap: 8px;
        overflow: auto;
        padding-bottom: 2px;
    }

    .profile-sections__link {
        flex: 0 0 auto;
        min-width: max-content;
        font-size: 16px;
        padding: 10px 13px;
    }

    .profile-shell.is-sections-ready .profile-sections {
        padding: 12px;
        border-radius: 0;
    }

    .profile-shell.is-sections-ready .profile-sections__title {
        display: block;
    }

    .profile-shell.is-sections-ready .profile-sections__list {
        flex-direction: column;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .profile-shell.is-sections-ready .profile-sections__link {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 16px;
        padding: 10px 14px;
    }

    .profile-shell.is-sections-ready .profile-mobile-sections-bar {
        gap: 10px;
        padding: 8px 10px;
    }

    .profile-main {
        border-radius: 18px;
    }

    .profile-main__content {
        padding: 10px;
        gap: 18px;
    }

    .profile-hero-card,
    .profile-self-panel,
    .profile-admin-panel,
    .profile-messages-panel {
        padding: 18px;
        border-radius: 24px;
    }

    .profile-hero-card {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 14px;
    }

    .profile-hero-card__avatar-stack {
        width: 84px;
        gap: 10px;
    }

    .profile-hero-card__avatar {
        width: 84px;
        height: 84px;
        border-radius: 22px;
    }

    .profile-avatar-cropper {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
        border-radius: 24px;
    }

    .profile-avatar-cropper__body {
        gap: 14px;
    }

    .profile-avatar-cropper__viewport {
        width: min(100%, 220px);
        border-radius: 30px;
    }

    .profile-avatar-cropper__preview {
        align-items: flex-start;
    }

    .profile-hero-card__summary {
        align-self: center;
        padding-right: 10px;
    }

    .profile-hero-card__details {
        grid-column: 1 / -1;
    }

    .profile-hero-card__title {
        font-size: 30px;
    }

    .profile-hero-card__title-row {
        width: fit-content;
        max-width: 100%;
        gap: 10px;
    }

    .profile-hero-card__title-shell {
        --profile-title-shell-side-padding: 12px;
    }

    .profile-hero-card__title-input {
        width: auto;
        max-width: 100%;
        padding: 4px var(--profile-title-shell-side-padding) 7px var(--profile-title-shell-side-padding);
        font-size: 30px;
    }

    .profile-hero-card__meta-item--editable {
        padding-right: 60px;
    }

    .profile-hero-card__password-trigger {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .profile-hero-card__edit-actions {
        top: 10px;
        right: 10px;
        gap: 6px;
    }

    .profile-hero-card__edit-toggle,
    .profile-hero-card__edit-confirm {
        width: 32px;
        height: 32px;
        border-radius: 11px;
    }

    .profile-hero-card__edit-actions--title {
        gap: 4px;
    }

    .profile-hero-card__actions {
        align-items: stretch;
    }

    .profile-hero-password-panel.is-open {
        max-height: 1120px;
        padding: 12px 14px 16px;
    }

    .profile-hero-password-panel__head {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 10px;
    }

    .profile-hero-password-form {
        gap: 14px;
    }

    .profile-hero-password-form .profile-admin-form-grid {
        gap: 12px;
    }

    .profile-hero-password-form .profile-admin-field {
        gap: 6px;
    }

    .profile-hero-password-help {
        margin-top: 2px;
    }

    .profile-hero-password-link {
        font-size: 13px;
    }

    .profile-hero-password-form .profile-admin-note {
        padding: 12px 14px;
    }

    .profile-hero-password-form .profile-admin-form-grid + .profile-admin-actions {
        margin-top: 24px;
        padding-top: 2px;
        gap: 10px;
    }

    .profile-hero-password-form #profileSelfPasswordSaveBtn {
        margin-top: 16px;
    }

    .profile-self-file-row {
        gap: 8px;
    }

    .profile-admin-tabs {
        gap: 8px;
    }

    .profile-admin-tab,
    .profile-admin-toolbar__refresh,
    .profile-admin-preview-btn,
    .profile-admin-action-btn,
    .profile-admin-btn {
        border-radius: 16px;
    }

    .profile-admin-form-grid {
        grid-template-columns: 1fr;
    }

    .profile-admin-list-card,
    .profile-admin-editor-card,
    .profile-admin-preview-card,
    .profile-admin-preview-group {
        padding: 18px;
        border-radius: 24px;
    }

    .profile-admin-list,
    .profile-admin-preview-groups {
        max-height: none;
        grid-template-columns: 1fr;
    }

    .profile-admin-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-admin-panel__head,
    .profile-admin-list-card__head,
    .profile-admin-editor-card__head,
    .profile-admin-preview-group__head,
    .profile-messages-contact__title-row {
        flex-wrap: wrap;
    }

    .profile-self-status {
        width: 100%;
        text-align: left;
    }

    .profile-admin-panel__summary {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
    }

    .profile-admin-summary-card {
        flex: 1 1 140px;
        min-width: min(140px, 100%);
    }

    .profile-admin-list-card__count {
        min-width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 18px;
    }

    .profile-admin-search input,
    .profile-admin-field input,
    .profile-admin-field textarea,
    .profile-admin-field select,
    .profile-messages-composer textarea {
        font-size: 15px;
    }

    .profile-admin-search input {
        min-height: 48px;
        padding: 12px 14px 12px 42px;
    }

    .profile-admin-search__icon {
        left: 13px;
        width: 17px;
        height: 17px;
    }

    .profile-admin-user-card,
    .profile-admin-group-card {
        padding: 14px;
        border-radius: 22px;
    }

    .profile-admin-user-card__head,
    .profile-admin-group-card__head {
        gap: 12px;
    }

    .profile-admin-user-card__person {
        gap: 12px;
    }

    .profile-admin-user-card__avatar {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .profile-admin-user-card__title,
    .profile-admin-group-card__title {
        font-size: 18px;
    }

    .profile-admin-selector-grid,
    .profile-admin-caps-grid {
        grid-template-columns: 1fr;
    }

    .profile-admin-cap {
        padding-right: 50px;
    }

    .profile-admin-avatar-field {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .profile-admin-avatar-preview {
        width: 96px;
        height: 96px;
        border-radius: 24px;
    }

    .profile-admin-actions > .profile-admin-btn,
    .profile-admin-actions > .profile-admin-preview-btn {
        width: 100%;
        justify-content: center;
    }

    .profile-self-file--hero .profile-self-file__title {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .profile-self-file-action {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 16px;
    }

    .profile-admin-cap-section {
        padding: 16px;
        border-radius: 22px;
    }

    .profile-admin-cap-section__icon {
        width: 44px;
        height: 44px;
        border-radius: 16px;
        font-size: 21px;
    }

    .profile-admin-cap-section__copy h4 {
        font-size: 19px;
    }

    .profile-messages-panel__head {
        flex-direction: column;
    }

    .profile-messages-list {
        max-height: none;
    }

    .profile-messages-contact {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .profile-messages-contact__avatar,
    .profile-messages-thread-card__avatar {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .profile-messages-thread-card {
        min-height: 0;
    }

    .profile-messages-thread-card__body {
        min-height: 320px;
        padding: 18px;
    }

    .profile-messages-composer {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 18px 18px;
    }

    .profile-messages-composer textarea {
        min-height: 96px;
    }
}

@media screen and (max-width: 560px) {
    .profile-page {
        padding: 0 8px 18px;
        gap: 16px;
    }

    .profile-shell {
        padding: 8px;
        border-radius: 20px;
    }

    .profile-sections {
        padding: 8px;
        border-radius: 20px;
    }

    .profile-sections__link {
        min-height: 42px;
        padding: 9px 12px;
        font-size: 15px;
    }

    .profile-shell.is-sections-ready .profile-mobile-sections-bar {
        gap: 10px;
        padding: 10px 12px;
    }

    .profile-shell.is-sections-ready .profile-mobile-sections-bar__current {
        font-size: 18px;
    }

    .profile-shell.is-sections-ready .profile-sections {
        width: min(92vw, 340px);
        max-width: calc(100vw - 8px);
        padding: 10px;
    }

    .profile-shell.is-sections-ready .profile-sections__link {
        min-height: 42px;
        padding: 9px 12px;
        font-size: 15px;
    }

    .profile-sections__link::before {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        border-radius: 9px;
        background-size: 16px 16px, 100% 100%;
    }

    .profile-shell.is-sections-ready .profile-sections__link::before {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        border-radius: 9px;
        background-size: 16px 16px, 100% 100%;
    }

    .profile-main {
        border-radius: 16px;
    }

    .profile-main__content {
        padding: 8px;
        gap: 16px;
    }

    .profile-hero-card,
    .profile-self-panel,
    .profile-admin-panel,
    .profile-messages-panel {
        padding: 16px;
        border-radius: 22px;
    }

    .profile-hero-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
    }

    .profile-hero-card__avatar {
        width: 72px;
        height: 72px;
        border-radius: 20px;
    }

    .profile-hero-card__title-input {
        padding: 4px var(--profile-title-shell-side-padding) 7px var(--profile-title-shell-side-padding);
        font-size: 28px;
    }

    .profile-avatar-cropper {
        padding: 14px;
        border-radius: 22px;
    }

    .profile-avatar-cropper__title {
        font-size: 18px;
    }

    .profile-avatar-cropper__hint {
        font-size: 12px;
        line-height: 1.4;
    }

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

    .profile-avatar-cropper__viewport {
        width: min(100%, 196px);
        border-radius: 28px;
    }

    .profile-avatar-cropper__preview {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
    }

    .profile-avatar-cropper__preview-canvas {
        width: 84px;
        height: 84px;
    }

    .profile-hero-password-panel.is-open {
        padding: 10px 12px 14px;
    }

    .profile-hero-password-panel__head {
        margin-bottom: 8px;
    }

    .profile-hero-password-form {
        gap: 12px;
    }

    .profile-hero-password-form .profile-admin-form-grid {
        gap: 10px;
    }

    .profile-hero-password-link {
        font-size: 13px;
        line-height: 1.25;
        min-height: 32px;
        padding: 6px 10px;
    }

    .profile-hero-password-form .profile-admin-form-grid + .profile-admin-actions {
        margin-top: 24px;
        padding-top: 2px;
    }

    .profile-hero-password-form #profileSelfPasswordSaveBtn {
        margin-top: 16px;
    }

    .profile-hero-password-form .profile-admin-note {
        padding: 11px 12px;
        font-size: 13px;
        line-height: 1.45;
    }

    .profile-hero-card__meta {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .profile-hero-card__meta-item {
        padding: 14px 16px;
        border-radius: 20px;
    }

    .profile-admin-list-card,
    .profile-admin-editor-card,
    .profile-admin-preview-card,
    .profile-admin-preview-group,
    .profile-messages-sidebar {
        padding: 16px;
        border-radius: 22px;
    }

    .profile-self-file input[type="file"] {
        min-height: 44px;
        font-size: 13px;
    }

    .profile-admin-tabs {
        gap: 6px;
    }

    .profile-admin-tab,
    .profile-admin-toolbar__refresh,
    .profile-admin-preview-btn,
    .profile-admin-action-btn,
    .profile-admin-btn {
        width: 100%;
        justify-content: center;
    }

    .profile-admin-list-card__title,
    .profile-admin-panel__title {
        font-size: 18px;
        line-height: 1.16;
    }

    .profile-admin-list-card__count {
        min-width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 17px;
    }

    .profile-admin-search input {
        padding-right: 12px;
    }

    .profile-admin-user-card__title,
    .profile-admin-group-card__title {
        font-size: 17px;
    }

    .profile-admin-user-card__meta,
    .profile-admin-group-card__meta,
    .profile-admin-group-card__caps,
    .profile-admin-empty,
    .profile-admin-field__help,
    .profile-messages-contact__meta,
    .profile-messages-contact__preview,
    .profile-messages-thread-card__copy span,
    .profile-messages-thread-card__status {
        font-size: 13px;
    }

    .profile-admin-avatar-preview {
        width: 88px;
        height: 88px;
        border-radius: 22px;
    }

    .profile-admin-cap-section {
        padding: 14px;
        border-radius: 20px;
    }

    .profile-admin-cap-section__head {
        align-items: flex-start;
        gap: 12px;
    }

    .profile-admin-cap-section__copy h4 {
        font-size: 18px;
    }

    .profile-messages-thread-card__head,
    .profile-messages-thread-card__body,
    .profile-messages-composer {
        padding: 14px;
    }

    .profile-messages-bubble {
        border-radius: 18px;
    }

    .profile-confirm-card {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .profile-confirm-actions > .profile-confirm-link {
        width: 100%;
    }
}
