:root {
    --bg: #d5efe8;
    --text: #1a2730;
    --muted: #7a8a92;
    --accent: #ff7a60;
    --card: rgba(255, 255, 255, 0.78);
    --stroke: rgba(150, 200, 190, 0.48);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.4), transparent 34%),
        var(--bg);
    color: var(--text);
}

body.modal-open { overflow: hidden; }

.page-edit { min-height: 100dvh; overflow-x: hidden; }

.edit-screen {
    min-height: 100dvh;
    width: min(100%, 620px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* ── Header ── */
.edit-head {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(213, 239, 232, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--stroke);
}

.edit-head-title {
    flex: 1;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
}

.edit-back {
    width: 36px; height: 36px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.7);
    color: var(--accent);
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}

.edit-head-actions { display: flex; gap: 0.4rem; align-items: center; }

.edit-reset {
    height: 34px;
    padding: 0 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.6);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.edit-save {
    height: 34px;
    padding: 0 1rem;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 6px 14px rgba(255, 122, 96, 0.26);
}

.edit-save:disabled, .edit-reset:disabled { opacity: 0.5; cursor: default; }

/* ── Scrollable body ── */
.edit-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.9rem 0.9rem 2.5rem;
}

.page-edit.is-profile-loading .edit-body { pointer-events: none; }

/* ── Cards ── */
.ep-card {
    background: var(--card);
    border-radius: 20px;
    border: 1px solid var(--stroke);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(24, 39, 48, 0.05);
}

.ep-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem 0;
}

.ep-card-title {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
}

.ep-photo-count {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--muted);
}

.ep-photo-hint {
    font-size: 0.72rem;
    color: rgba(191, 88, 72, 0.75);
    padding: 0.3rem 1rem 0;
    line-height: 1.35;
}

/* ── Form rows ── */
.ep-row {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.8rem 1rem;
    border-top: 1px solid rgba(150, 200, 190, 0.2);
}

.ep-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.ep-label {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.ep-lock {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.48rem;
    border-radius: 999px;
    background: rgba(26, 39, 48, 0.07);
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 800;
}

.ep-select {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    padding: 0;
    padding-right: 1.4rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    width: 100%;
    outline: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8a92' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 12px;
}

.ep-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-image: none;
}

.ep-select option:disabled { color: var(--muted); }

.ep-input {
    appearance: none;
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid var(--stroke);
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text);
    width: 100%;
    outline: none;
}

.ep-input:focus { border-color: rgba(45, 189, 126, 0.55); background: #fff; }

.ep-textarea {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    width: 100%;
    outline: none;
    resize: none;
    min-height: 72px;
    line-height: 1.55;
}

.ep-bio-meta {
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 0.15rem;
}

.ep-dob-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.ep-dob-hint {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 0.1rem;
    line-height: 1.3;
}

/* ── School section ── */
.ep-school-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: none;
    border: none;
    border-top: 1px solid rgba(150, 200, 190, 0.2);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.ep-school-row:active { background: rgba(45, 189, 126, 0.05); }

.ep-school-icon { font-size: 1.05rem; flex-shrink: 0; }

.ep-school-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.ep-school-chevron {
    font-size: 1.25rem;
    color: var(--muted);
    line-height: 1;
    font-weight: 300;
}

.ep-school-picker-body {
    border-top: 1px solid rgba(150, 200, 190, 0.2);
    padding: 0.75rem 1rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ep-school-search {
    width: 100%;
    padding: 0.68rem 0.9rem;
    border-radius: 12px;
    border: 1.5px solid var(--stroke);
    background: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    color: var(--text);
}

.ep-school-search:focus { border-color: rgba(45, 189, 126, 0.5); }

.ep-school-list-wrap {
    max-height: 210px;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: #fff;
}

.edit-school-list {
    list-style: none;
    padding: 0.3rem 0;
    margin: 0;
}

.edit-school-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.62rem 0.9rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text);
}

.edit-school-item:hover { background: rgba(45, 189, 126, 0.07); }

.edit-school-item.is-selected {
    background: rgba(45, 189, 126, 0.1);
    font-weight: 600;
    color: #1a6b48;
}

.edit-school-item-name { flex: 1; }
.edit-school-item-short { font-size: 0.73rem; color: var(--muted); }
.edit-school-item-check { color: #2dbd7e; font-weight: 700; margin-left: auto; flex-shrink: 0; }

.ep-school-hint {
    padding: 0.85rem 1rem;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
    margin: 0;
}

.ep-school-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.ep-btn-ghost {
    height: 40px;
    padding: 0 1rem;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.6);
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.ep-school-save {
    flex: 1;
    height: 40px;
    padding: 0 1rem;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.ep-school-save:disabled { opacity: 0.45; cursor: default; }

/* ── Interests card ── */
.ep-edit-btn {
    height: 26px;
    padding: 0 0.65rem;
    border-radius: 999px;
    border: none;
    background: rgba(255, 122, 96, 0.13);
    color: #9d4535;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
}

.edit-interests { padding-bottom: 0.85rem; }

.edit-interests .edit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.55rem 1rem 0;
    min-height: 2rem;
}

.edit-interests .edit-tags span {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--stroke);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.8rem;
}

/* ── Interests panel ── */
.edit-interests-panel {
    position: fixed;
    inset: 0;
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
    background: rgba(24, 39, 48, 0.26);
    display: none;
    pointer-events: auto;
    z-index: 20;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.edit-interests-panel.is-open {
    display: grid;
    align-items: end;
    animation: ep-fade 0.3s ease;
}

.edit-interests-sheet {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 1rem 1rem 1.1rem;
    border-radius: 24px 24px 18px 18px;
    background: linear-gradient(180deg, rgba(252, 254, 253, 0.98), rgba(244, 250, 247, 0.98));
    border: 1px solid rgba(150, 200, 190, 0.34);
    box-shadow: 0 24px 52px rgba(24, 39, 48, 0.2);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.9rem;
    height: min(84dvh, 680px);
    max-height: min(84dvh, 680px);
    overflow: hidden;
}

.edit-interests-sheet-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.1rem 0 0.2rem;
}

.edit-interests-title { font-size: 1.05rem; font-weight: 800; color: var(--text); }

.edit-interests-limit {
    font-weight: 700;
    color: var(--muted);
    margin-top: 0.22rem;
    font-size: 0.88rem;
}

.edit-interests-close {
    border: none;
    background: rgba(26, 39, 48, 0.06);
    color: var(--text);
    font-weight: 800;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(150, 200, 190, 0.28);
    font-family: inherit;
}

.edit-interest-groups {
    display: grid;
    gap: 0.85rem;
    overflow-y: auto;
    min-height: 0;
    padding-right: 0.2rem;
    -webkit-overflow-scrolling: touch;
}

.edit-interest-section {
    display: grid;
    gap: 0.68rem;
    padding: 0.85rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(150, 200, 190, 0.26);
}

.edit-interest-section-title {
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(26, 39, 48, 0.65);
}

.edit-interests-grid { display: flex; flex-wrap: wrap; gap: 0.48rem; }

.edit-interests-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.6rem;
}

.edit-interests-done {
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 22px rgba(255, 122, 96, 0.22);
}

.edit-interests-grid .interest-chip {
    border: 1px solid rgba(150, 200, 190, 0.32);
    background: rgba(255, 255, 255, 0.88);
    color: #27353d;
    border-radius: 999px;
    padding: 0.36rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.edit-interests-grid .interest-chip.is-selected {
    background: rgba(255, 122, 96, 0.17);
    border-color: rgba(255, 122, 96, 0.42);
    color: #8e382c;
}

.edit-interests .edit-tags.is-updated { animation: ep-fade 0.35s ease; }

/* ── Photo grid ── */
.edit-photo-input { display: none; }

.edit-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    padding: 0.7rem 1rem 1rem;
}

.edit-photo-slot {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
    border: 1.5px dashed rgba(150, 200, 190, 0.75);
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 0.3rem;
    color: #6d7a82;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(24, 39, 48, 0.06);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0.9rem;
    text-align: center;
}

.edit-photo-slot.is-primary {
    border-style: solid;
    border-color: rgba(255, 122, 96, 0.34);
}

.edit-photo-slot.has-image {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.72);
}

.edit-photo-slot.has-image .edit-photo-slot-icon,
.edit-photo-slot.has-image .edit-photo-slot-text { display: none; }

.edit-photo-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #4f555f;
    font-size: 0.68rem;
    font-weight: 800;
}

.edit-photo-slot-icon { font-size: 1.6rem; }

.edit-photo-slot-text { font-size: 0.78rem; }

.edit-photo-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: rgba(26, 39, 48, 0.75);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.edit-photo-slot.has-image .edit-photo-remove { display: inline-flex; }
.edit-photo-remove:hover { background: rgba(255, 122, 96, 0.9); }

.edit-photo-slot.is-loading,
.page-edit.is-profile-loading .edit-photo-slot {
    border-style: solid;
    border-color: rgba(255, 122, 96, 0.28);
    cursor: progress;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.76) 44%, rgba(255, 255, 255, 0.24) 88%),
        rgba(238, 248, 244, 0.82) !important;
    background-size: 220% 100% !important;
    animation: ep-skeleton 1.1s ease-in-out infinite;
}

.edit-photo-slot.is-loading::after {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    border: 3px solid rgba(26, 39, 48, 0.13);
    border-top-color: var(--accent);
    position: absolute;
    top: calc(50% - 0.9rem);
    left: calc(50% - 0.9rem);
    animation: ep-spin 0.85s linear infinite;
}

.edit-photo-slot.is-loading .edit-photo-slot-icon,
.page-edit.is-profile-loading .edit-photo-slot .edit-photo-slot-icon,
.page-edit.is-profile-loading .edit-photo-slot .edit-photo-slot-text,
.page-edit.is-profile-loading .edit-photo-slot .edit-photo-badge,
.page-edit.is-profile-loading .edit-photo-slot .edit-photo-remove { opacity: 0; }

/* ── Photo editor modal ── */
.photo-editor-modal {
    position: fixed;
    inset: 0;
    padding: 1rem;
    background: rgba(24, 39, 48, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
}

.photo-editor-modal.is-open { display: flex; }

.photo-editor-card {
    width: min(100%, 400px);
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    padding: 1.1rem;
    box-shadow: 0 24px 48px rgba(24, 39, 48, 0.18);
    display: grid;
    gap: 0.78rem;
}

.photo-editor-kicker {
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 39, 48, 0.5);
}

.photo-editor-title { font-size: 1.2rem; font-weight: 800; line-height: 1.15; }

.photo-editor-copy, .photo-editor-status { font-size: 0.84rem; color: var(--muted); }

.photo-editor-stage { display: grid; place-items: center; }

.photo-editor-canvas {
    width: min(100%, 260px);
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background:
        linear-gradient(45deg, rgba(26, 39, 48, 0.04) 25%, transparent 25%, transparent 75%, rgba(26, 39, 48, 0.04) 75%),
        linear-gradient(45deg, rgba(26, 39, 48, 0.04) 25%, transparent 25%, transparent 75%, rgba(26, 39, 48, 0.04) 75%),
        #eef3f1;
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
    box-shadow: inset 0 0 0 1px rgba(26, 39, 48, 0.08);
}

.photo-editor-controls { display: grid; gap: 0.65rem; }

.photo-editor-control {
    display: grid;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
}

.photo-editor-control input[type="range"] { width: 100%; }

.photo-editor-actions { display: flex; justify-content: flex-end; gap: 0.5rem; }

.photo-editor-btn {
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
}

.photo-editor-btn-secondary { background: rgba(26, 39, 48, 0.07); color: var(--text); }
.photo-editor-btn-primary { background: var(--accent); color: #fff; }

/* ── Toast ── */
.edit-toast {
    position: fixed;
    left: 50%;
    bottom: 1.1rem;
    transform: translate(-50%, 12px);
    min-width: min(86vw, 260px);
    max-width: 300px;
    padding: 0.72rem 0.95rem;
    border-radius: 12px;
    background: rgba(26, 39, 48, 0.82);
    color: #f5f7f8;
    box-shadow: 0 14px 28px rgba(24, 39, 48, 0.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    text-align: center;
    font-size: 0.88rem;
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
}

.edit-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ── Credit ── */
.edit-credit {
    text-align: center;
    color: rgba(255, 113, 94, 0.7);
    font-size: 0.7rem;
    padding-bottom: 0.5rem;
}

/* ── Animations ── */
@keyframes ep-spin { to { transform: rotate(360deg); } }
@keyframes ep-skeleton {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}
@keyframes ep-fade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Touch targets ── */
.edit-back, .edit-save, .edit-reset, .ep-btn-ghost, .ep-school-save,
.ep-school-row, .edit-photo-slot, .edit-photo-remove,
.edit-interests-close, .edit-interests-done,
.edit-interests-grid .interest-chip,
.photo-editor-btn, .ep-edit-btn { touch-action: manipulation; }

/* ── Small screen tweaks ── */
@media (max-width: 420px) {
    .edit-interests-panel {
        padding: max(0.7rem, env(safe-area-inset-top)) 0.7rem max(0.7rem, env(safe-area-inset-bottom));
    }
    .edit-interests-sheet {
        width: 100%;
        padding: 0.9rem 0.85rem 1rem;
        border-radius: 20px;
        height: min(88dvh, 680px);
        max-height: min(88dvh, 680px);
    }
    .edit-interests-actions { justify-content: stretch; }
    .edit-interests-done { width: 100%; min-height: 44px; }
    .photo-editor-card { padding: 1rem; border-radius: 20px; }
    .photo-editor-actions { flex-direction: column-reverse; }
}

/* ── Dark theme ── */
body.theme-super-admin {
    background: linear-gradient(160deg, #0c1219, #121a22) !important;
    color: #dfedf2;
}

body.theme-super-admin .ep-card,
body.theme-super-admin .ep-school-list-wrap,
body.theme-super-admin .edit-interests-sheet,
body.theme-super-admin .edit-interest-section,
body.theme-super-admin .photo-editor-card {
    background: rgba(18, 26, 34, 0.96) !important;
    border-color: rgba(160, 200, 190, 0.14) !important;
}

body.theme-super-admin .ep-card-title,
body.theme-super-admin .ep-label,
body.theme-super-admin .ep-lock,
body.theme-super-admin .ep-muted,
body.theme-super-admin .ep-photo-hint,
body.theme-super-admin .ep-bio-meta,
body.theme-super-admin .ep-dob-hint,
body.theme-super-admin .ep-photo-count { color: rgba(223, 236, 242, 0.6) !important; }

body.theme-super-admin .ep-select,
body.theme-super-admin .ep-textarea { color: #dfedf2 !important; }

body.theme-super-admin .ep-select:disabled { color: rgba(223, 236, 242, 0.4) !important; }

body.theme-super-admin .ep-row { border-color: rgba(160, 200, 190, 0.12) !important; }

body.theme-super-admin .ep-card-head { border-color: rgba(160, 200, 190, 0.12) !important; }

body.theme-super-admin .ep-school-row { border-color: rgba(160, 200, 190, 0.12) !important; }
body.theme-super-admin .ep-school-row:active { background: rgba(45, 189, 126, 0.08) !important; }
body.theme-super-admin .ep-school-name { color: #dfedf2 !important; }
body.theme-super-admin .ep-school-chevron { color: rgba(223, 236, 242, 0.5) !important; }
body.theme-super-admin .ep-school-picker-body { border-color: rgba(160, 200, 190, 0.12) !important; }
body.theme-super-admin .ep-school-search {
    background: rgba(18, 26, 34, 0.96) !important;
    border-color: rgba(160, 200, 190, 0.2) !important;
    color: #dfedf2 !important;
}
body.theme-super-admin .edit-school-item { color: #dfedf2 !important; }
body.theme-super-admin .edit-school-item:hover { background: rgba(45, 189, 126, 0.1) !important; }
body.theme-super-admin .edit-school-item.is-selected { background: rgba(45, 189, 126, 0.15) !important; color: #7ee8b8 !important; }
body.theme-super-admin .edit-school-item-short { color: rgba(223, 236, 242, 0.55) !important; }

body.theme-super-admin .edit-head {
    background: rgba(12, 18, 25, 0.92) !important;
    border-color: rgba(160, 200, 190, 0.14) !important;
}

body.theme-super-admin .edit-back,
body.theme-super-admin .edit-reset,
body.theme-super-admin .ep-btn-ghost {
    background: rgba(18, 26, 34, 0.96) !important;
    border-color: rgba(160, 200, 190, 0.16) !important;
    color: #dfedf2 !important;
}

body.theme-super-admin .edit-interests-close {
    background: rgba(18, 26, 34, 0.96) !important;
    color: #dfedf2 !important;
    box-shadow: inset 0 0 0 1px rgba(160, 200, 190, 0.16) !important;
}

body.theme-super-admin .edit-interests-done { background: var(--accent) !important; }

body.theme-super-admin .edit-interests-grid .interest-chip {
    background: rgba(18, 26, 34, 0.96) !important;
    border-color: rgba(160, 200, 190, 0.16) !important;
    color: #dfedf2 !important;
}

body.theme-super-admin .edit-interests-grid .interest-chip.is-selected {
    background: rgba(255, 122, 96, 0.2) !important;
    border-color: rgba(255, 122, 96, 0.36) !important;
    color: #ffd1c7 !important;
}

body.theme-super-admin .edit-interests .edit-tags span {
    background: rgba(18, 26, 34, 0.96) !important;
    border-color: rgba(160, 200, 190, 0.16) !important;
    color: #dfedf2 !important;
}

body.theme-super-admin .edit-interest-section-title { color: rgba(223, 236, 242, 0.62) !important; }

body.theme-super-admin .edit-photo-slot {
    background: rgba(18, 26, 34, 0.9) !important;
    border-color: rgba(160, 200, 190, 0.2) !important;
    color: rgba(223, 236, 242, 0.8) !important;
}

body.theme-super-admin .edit-photo-slot.is-primary { border-color: rgba(255, 122, 96, 0.3) !important; }
body.theme-super-admin .edit-photo-badge {
    background: rgba(18, 26, 34, 0.96) !important;
    color: #ffd1c7 !important;
}

body.theme-super-admin .edit-photo-slot.is-loading,
body.theme-super-admin.page-edit.is-profile-loading .edit-photo-slot {
    background:
        linear-gradient(105deg, rgba(223, 236, 242, 0.04) 0%, rgba(223, 236, 242, 0.14) 44%, rgba(223, 236, 242, 0.04) 88%),
        rgba(18, 26, 34, 0.96) !important;
    border-color: rgba(255, 122, 96, 0.2) !important;
}

body.theme-super-admin .photo-editor-title,
body.theme-super-admin .photo-editor-control { color: #dfedf2 !important; }

body.theme-super-admin .photo-editor-copy,
body.theme-super-admin .photo-editor-status { color: rgba(223, 236, 242, 0.6) !important; }

body.theme-super-admin .photo-editor-btn-secondary {
    background: rgba(26, 39, 48, 0.8) !important;
    color: #dfedf2 !important;
}
