.koopo-resume-profile {
    position: relative;
    display: grid;
    gap: 28px;
    margin: clamp(18px, 3vw, 34px) auto;
    color: #11203c;
}

.koopo-resume-profile__hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 34px;
    background: linear-gradient(140deg, #fff2c1 0%, #ffd869 24%, #79d8c8 62%, #3d86f2 100%);
    box-shadow: 0 28px 52px rgba(15, 32, 54, 0.16);
}

.koopo-resume-profile__banner {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 208, 106, 0.3), transparent 26%),
        radial-gradient(circle at top right, rgba(255, 129, 94, 0.22), transparent 24%),
        radial-gradient(circle at bottom right, rgba(88, 220, 255, 0.22), transparent 32%),
        linear-gradient(118deg, rgba(255, 255, 255, 0.1) 0%, transparent 46%);
    background-size: cover;
    background-position: center;
    filter: saturate(1.08) brightness(0.95);
    pointer-events: none;
}

.koopo-resume-profile__hero::after {
    content: "";
    position: absolute;
    inset: auto -90px -90px auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 68%);
}

.koopo-resume-visual-loader {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.koopo-resume-visual-loader__orb {
    position: absolute;
    width: clamp(132px, 14vw, 210px);
    height: clamp(132px, 14vw, 210px);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.12) 34%, rgba(255, 255, 255, 0.04) 58%, transparent 76%);
    filter: blur(2px);
    animation: koopoResumeLoaderFloat 4s ease-in-out infinite;
}

.koopo-resume-visual-loader__ring {
    position: absolute;
    width: clamp(82px, 8vw, 126px);
    height: clamp(82px, 8vw, 126px);
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-top-color: rgba(255, 243, 207, 0.98);
    border-right-color: rgba(121, 216, 200, 0.96);
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.05);
    animation: koopoResumeLoaderSpin 1.8s linear infinite;
}

.koopo-resume-visual-loader__ring--alt {
    width: clamp(114px, 11vw, 154px);
    height: clamp(114px, 11vw, 154px);
    border-width: 1.5px;
    border-top-color: transparent;
    border-right-color: rgba(61, 134, 242, 0.62);
    border-bottom-color: rgba(255, 186, 18, 0.72);
    border-left-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    animation-duration: 2.6s;
    animation-direction: reverse;
}

[data-koopo-resume-profile][data-koopo-resume-visuals-status="queued"] .koopo-resume-visual-loader,
[data-koopo-resume-profile][data-koopo-resume-visuals-status="processing"] .koopo-resume-visual-loader {
    opacity: 1;
    visibility: visible;
}

@keyframes koopoResumeLoaderSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes koopoResumeLoaderFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.9;
    }

    50% {
        transform: translate3d(0, -10px, 0) scale(1.04);
        opacity: 1;
    }
}

.koopo-resume-profile__hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 360px);
    gap: 28px;
    align-items: end;
    padding: clamp(28px, 4vw, 48px);
    min-height: 440px;
}

.koopo-resume-profile__intro {
    color: #f3f7ff;
    align-self: center;
}

.koopo-resume-profile__intro h1 {
    margin: 10px 0 12px;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-shadow: 0 10px 24px rgba(8, 17, 31, 0.2);
    color:#fff;
}

.koopo-resume-profile__target {
    display: inline-flex;
    align-items: center;
    margin: 8px 0 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(7, 15, 29, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff8df;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.koopo-resume-profile__headline {
    max-width: 52ch;
    margin: 0;
    color: rgba(245, 249, 255, 0.92);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.7;
    text-shadow: 0 8px 18px rgba(8, 17, 31, 0.18);
}

.koopo-resume-profile__meta,
.koopo-resume-profile__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.koopo-resume-profile__meta {
    margin-top: 20px;
}

.koopo-resume-profile__meta span,
.koopo-resume-profile__skills span {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgb(4 4 4 / 35%);
    color: #fff;
    padding: 8px 14px;
    font-size: 0.86rem;
    font-weight: 600;
}

.koopo-resume-profile__skills {
    margin-top: 16px;
}

.koopo-resume-profile__identity-card {
    justify-self: end;
    width: min(100%, 340px);
    border-radius: 28px;
    background: rgb(255 255 255 / 80%);
    padding: 22px;
    box-shadow: 0 18px 44px rgba(8, 19, 40, 0.24);
    display: grid;
    gap: 18px;
}

.koopo-resume-profile__avatar {
    display: flex;
    justify-content: center;
}

.koopo-resume-profile__avatar-image {
    width: 100%;
    height: auto;
    border-radius: 26px !important; 
    object-fit: cover;
    box-shadow: 0px 3px 10px rgb(17 32 60 / 49%) !important;
}

.koopo-resume-profile__bio strong {
    display: block;
    margin-bottom: 8px;
    color: #213256;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.koopo-resume-profile__bio p {
    margin: 0;
    color: #41506e;
    line-height: 1.75;
}

.koopo-resume-profile__goal-card {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 186, 18, 0.14), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(17, 32, 60, 0.08);
}

.koopo-resume-profile__goal-card strong {
    color: #213256;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.koopo-resume-profile__goal-card p {
    margin: 0;
    color: #33415e;
    line-height: 1.6;
}

.koopo-resume-profile__quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.koopo-resume-upload-panel {
    position: relative;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8faff 0%, #eef2ff 100%);
    border: 1px solid #dbe3fb;
    padding: 16px;
    display: grid;
    gap: 12px;
}

.koopo-resume-upload-panel h3 {
    margin: 0;
    font-size: 1.1rem;
}

.koopo-resume-upload-panel form {
    display: grid;
    gap: 10px;
}

.koopo-resume-upload-panel input[type="text"],
.koopo-resume-upload-panel textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #fff;
    padding: 12px 14px;
}

.koopo-resume-upload-panel textarea {
    min-height: 110px;
    resize: vertical;
}

.koopo-resume-upload-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.koopo-resume-upload-panel input[type="file"] {
    width: 100%;
}

.koopo-resume-upload-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    background: rgba(248, 250, 255, 0.92);
    backdrop-filter: blur(4px);
    display: grid;
    place-content: center;
    gap: 10px;
    text-align: center;
    padding: 22px;
}

.koopo-resume-upload-overlay[hidden] {
    display: none;
}

.koopo-resume-upload-overlay strong,
.koopo-resume-upload-overlay p {
    margin: 0;
}

.koopo-resume-upload-overlay strong {
    color: #10203f;
    font-size: 1rem;
}

.koopo-resume-upload-overlay p {
    color: #566784;
    max-width: 30ch;
    line-height: 1.55;
}

.koopo-resume-upload-overlay__spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    border-radius: 999px;
    border: 3px solid rgba(47, 97, 255, 0.18);
    border-top-color: #2f61ff;
    animation: koopo-resume-upload-spin 0.8s linear infinite;
}

@keyframes koopo-resume-upload-spin {
    to {
        transform: rotate(360deg);
    }
}

.koopo-resume-profile__story {
    display: grid;
    gap: 26px;
}

.koopo-resume-story-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.15fr);
    gap: 26px;
    align-items: stretch;
}

.koopo-resume-story-section.is-reversed {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.95fr);
}

.koopo-resume-story-section.is-reversed .koopo-resume-story-section__media {
    order: 2;
}

.koopo-resume-story-section.is-reversed .koopo-resume-story-section__content {
    order: 1;
}

.koopo-resume-story-section__media,
.koopo-resume-story-section__content {
    border-radius: 28px;
    min-height: 320px;
}

.koopo-resume-story-section__media {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at top left, rgba(255, 224, 127, 0.4), transparent 30%),
        radial-gradient(circle at bottom right, rgba(81, 209, 190, 0.28), transparent 34%),
        linear-gradient(145deg, #163154 0%, #295f8f 36%, #ffba12 100%);
    color: #f4f7ff;
    box-shadow: 0 16px 36px rgba(17, 32, 60, 0.12);
}

.koopo-resume-story-section__content {
    background: #fff;
    border: 1px solid #e7ebf4;
    box-shadow: 0 16px 36px rgba(17, 32, 60, 0.07);
    padding: clamp(22px, 3vw, 32px);
}

.koopo-resume-story-section__visual-slot {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.koopo-resume-story-section__visual-slot > * {
    height: 100%;
}

.koopo-resume-story-visual {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding: clamp(22px, 3vw, 30px);
}

.koopo-resume-story-visual__panel {
    max-width: min(100%, 430px);
    border-radius: 24px;
    padding: 18px 20px;
    background: linear-gradient(130deg, #0077a4, #00ae77);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 42px rgba(8, 18, 38, 0.24);
    backdrop-filter: blur(16px);
}

.koopo-resume-story-visual__eyebrow,
.koopo-resume-story-section__eyebrow {
    display: inline-block;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.koopo-resume-story-visual__eyebrow {
    color: rgba(244, 247, 255, 0.7);
    margin-bottom: 10px;
}

.koopo-resume-story-visual strong {
    display: block;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.koopo-resume-story-visual p {
    margin: 10px 0 0;
    color: rgba(244, 247, 255, 0.78);
    line-height: 1.65;
}

.koopo-resume-story-visual__media {
    position: absolute;
    inset: 0;
}

.koopo-resume-story-visual__media--image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.koopo-resume-story-visual__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 16, 34, 0.16) 0%, rgba(5, 16, 34, 0.24) 34%, rgba(5, 16, 34, 0.54) 100%),
        linear-gradient(140deg, rgba(255, 186, 18, 0.16) 0%, rgba(19, 56, 95, 0.2) 48%, rgba(9, 25, 46, 0.34) 100%);
}

.koopo-resume-story-visual__media--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.koopo-resume-story-visual__art-wrap {
    width: min(100%, 340px);
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 34px rgba(8, 18, 38, 0.18);
    backdrop-filter: blur(10px);
}

.koopo-resume-story-visual__art {
    width: 100%;
    max-width: 220px;
    height: auto;
    stroke: rgba(255, 255, 255, 0.94);
    fill: rgba(255, 255, 255, 0.14);
}

.koopo-resume-story-section__eyebrow {
    color: #5e6e93;
    margin-bottom: 12px;
}

.koopo-resume-story-section__content h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.4vw, 2.55rem);
    line-height: 1.05;
    color: #10203f;
}
.koopo-resume-profile__avatar img {
    border-radius: 25px;
    box-shadow: 1px 1px 10px 0px #1e1d1d;
}
.koopo-resume-story-section__lead {
    margin: 14px 0 0;
    color: #586883;
    line-height: 1.75;
    max-width: 60ch;
}

.koopo-resume-story-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.koopo-resume-story-list li {
    position: relative;
    border-radius: 18px;
    background: #fcfaf5;
    padding: 14px 16px 14px 20px;
    color: #213256;
    line-height: 1.65;
}

.koopo-resume-story-list li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 18px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #2aa380;
}

.koopo-resume-story-list a {
    color: #2aa380;
    word-break: break-word;
}

.koopo-resume-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.koopo-resume-chip-grid span {
    border-radius: 999px;
    background: linear-gradient(135deg, #eff4ff 0%, #e4f1ff 100%);
    border: 1px solid #dbe7ff;
    color: #133371;
    padding: 11px 16px;
    font-weight: 700;
}

.koopo-resume-network-group {
    margin-top: 22px;
}

.koopo-resume-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.koopo-resume-people-grid--network {
    grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
}

.koopo-resume-person {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    border: 1px solid #e5ebf7;
    background: #f8fbff;
    padding: 14px;
    text-decoration: none;
    color: inherit;
}

.koopo-resume-person__avatar {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: cover;
    flex: 0 0 56px;
}

.koopo-resume-person strong {
    display: block;
    color: #0f2141;
}

.koopo-resume-person span {
    display: block;
    margin-top: 3px;
    color: #63728f;
    font-size: 0.88rem;
    line-height: 1.45;
}

.koopo-resume-network-actions {
    margin-top: 16px;
}

.koopo-resume-story-empty {
    margin-top: 22px;
    border-radius: 18px;
    border: 1px dashed #c8d3ea;
    background: #f8fbff;
    padding: 18px;
}

.koopo-resume-story-empty p {
    margin: 0;
    color: #5f6f8d;
}

.koopo-seekers-directory__header h2 {
    margin-bottom: 6px;
}

.koopo-seekers-search {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.koopo-seekers-search input {
    min-width: min(420px, 100%);
    flex: 1 1 300px;
}

.koopo-seekers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.koopo-seeker-card {
    border: 1px solid #d8dfec;
    border-radius: 22px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 8px 18px rgba(12, 18, 32, 0.08);
    display: grid;
    gap: 12px;
}

.koopo-seeker-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.koopo-seeker-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    object-fit: cover;
    flex: 0 0 72px;
}

.koopo-seeker-card h3,
.koopo-seeker-card p {
    margin: 0;
}

.koopo-seeker-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.koopo-seeker-skills span {
    border-radius: 999px;
    background: #edf2ff;
    color: #1f347f;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 600;
}

@media (max-width: 1040px) {
    .koopo-resume-profile__hero-inner,
    .koopo-resume-story-section,
    .koopo-resume-story-section.is-reversed {
        grid-template-columns: 1fr;
    }

    .koopo-resume-story-section.is-reversed .koopo-resume-story-section__media,
    .koopo-resume-story-section.is-reversed .koopo-resume-story-section__content {
        order: initial;
    }

    .koopo-resume-profile__identity-card {
        justify-self: stretch;
    }

    .koopo-resume-profile__avatar {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .koopo-resume-profile__hero-inner {
        min-height: auto;
        padding: 22px;
    }

    .koopo-resume-profile__intro h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .koopo-resume-profile__avatar-image {
        width: 120px;
        height: 120px;
        border-radius: 22px;
    }

    .koopo-resume-story-visual {
        min-height: 280px;
        padding: 20px;
    }

    .koopo-resume-story-visual__panel {
        padding: 16px 17px;
    }

    .koopo-seekers-search .koopo-btn,
    .koopo-resume-profile__quick-actions .koopo-btn {
        width: 100%;
        justify-content: center;
    }
}

.koopo-resume-inline-editor {
    margin-top: 24px;
    border: 1px solid #d8dfec;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(12, 18, 32, 0.08);
    padding: 24px;
    display: grid;
    gap: 18px;
}

.koopo-resume-inline-editor__header h3,
.koopo-resume-inline-editor__header p,
.koopo-resume-inline-editor__field,
.koopo-resume-inline-editor__field span {
    margin: 0;
}

.koopo-resume-inline-editor__grid,
.koopo-resume-inline-editor__columns {
    display: grid;
    gap: 14px;
}

.koopo-resume-inline-editor__avatar-row {
    display: grid;
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.koopo-resume-inline-editor__avatar-preview {
    display: flex;
    justify-content: flex-start;
}

.koopo-resume-inline-editor__avatar-controls {
    display: grid;
    gap: 10px;
}

.koopo-resume-inline-editor__avatar-controls strong,
.koopo-resume-inline-editor__avatar-controls p {
    margin: 0;
}

.koopo-resume-inline-editor__avatar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.koopo-resume-inline-editor__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.koopo-resume-inline-editor__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.koopo-resume-inline-editor__grid label,
.koopo-resume-inline-editor__field {
    display: grid;
    gap: 8px;
}

.koopo-resume-inline-editor input,
.koopo-resume-inline-editor textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #fff;
    padding: 12px 14px;
}

.koopo-resume-inline-editor textarea {
    min-height: 130px;
    resize: vertical;
}

.koopo-resume-inline-editor__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.koopo-resume-inline-editor [data-koopo-resume-editor-status] {
    border-radius: 14px;
    padding: 12px 14px;
}

.koopo-resume-inline-editor [data-koopo-resume-avatar-status] {
    border-radius: 14px;
    padding: 12px 14px;
}

.koopo-resume-inline-editor [data-koopo-resume-editor-status].is-loading {
    background: rgba(15, 118, 110, 0.11);
    color: #0f766e;
}

.koopo-resume-inline-editor [data-koopo-resume-avatar-status].is-loading {
    background: rgba(15, 118, 110, 0.11);
    color: #0f766e;
}

.koopo-resume-inline-editor [data-koopo-resume-editor-status].is-success {
    background: rgba(22, 163, 74, 0.11);
    color: #166534;
}

.koopo-resume-inline-editor [data-koopo-resume-avatar-status].is-success {
    background: rgba(22, 163, 74, 0.11);
    color: #166534;
}

.koopo-resume-inline-editor [data-koopo-resume-editor-status].is-error {
    background: rgba(190, 24, 93, 0.12);
    color: #9f1239;
}

.koopo-resume-inline-editor [data-koopo-resume-avatar-status].is-error {
    background: rgba(190, 24, 93, 0.12);
    color: #9f1239;
}

body.koopo-modal-open {
    overflow: hidden;
}

.koopo-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.koopo-modal[hidden] {
    display: none;
}

.koopo-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 25, 0.58);
    backdrop-filter: blur(4px);
}

.koopo-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    border-radius: 24px;
    border: 1px solid #dce4f5;
    background: #fff;
    box-shadow: 0 28px 52px rgba(10, 20, 40, 0.22);
    padding: 20px;
}

.koopo-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.koopo-modal__header h3 {
    margin: 0;
    font-size: 1.35rem;
    color: #11203c;
}

.koopo-modal__close {
    border: 1px solid #d6deef;
    background: #fff;
    color: #213256;
    border-radius: 12px;
    padding: 6px 10px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.koopo-modal__close:hover,
.koopo-modal__close:focus {
    border-color: #b9c7e9;
    color: #10203f;
}

.koopo-resume-contact-modal__dialog {
    width: min(520px, 100%);
}

.koopo-resume-contact-modal__grid {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.koopo-resume-contact-modal__item {
    display: grid;
    gap: 6px;
    border-radius: 18px;
    border: 1px solid #dbe4f7;
    background: linear-gradient(180deg, #fafcff 0%, #f2f6ff 100%);
    padding: 16px;
    text-decoration: none;
    color: #11203c;
}

.koopo-resume-contact-modal__item span {
    color: #5d6d8a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.koopo-resume-contact-modal__item strong {
    color: #18315d;
    font-size: 1.02rem;
    line-height: 1.45;
    word-break: break-word;
}

.koopo-resume-avatar-crop-modal__dialog {
    width: min(760px, 100%);
}

.koopo-resume-avatar-crop-modal__body {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(220px, 1fr);
    gap: 20px;
    align-items: start;
}

.koopo-resume-avatar-crop-modal__stage {
    border-radius: 26px;
    background: linear-gradient(180deg, #09111f 0%, #111c31 100%);
    padding: 16px;
    display: grid;
    place-items: center;
}

.koopo-resume-avatar-crop-modal__canvas {
    width: min(100%, 420px);
    max-width: 420px;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    border-radius: 20px;
    background: #0f172a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    cursor: grab;
    touch-action: none;
}

.koopo-resume-avatar-crop-modal__canvas.is-dragging {
    cursor: grabbing;
}

.koopo-resume-avatar-crop-modal__controls {
    display: grid;
    gap: 14px;
    align-content: start;
}

.koopo-resume-avatar-crop-modal__zoom {
    display: grid;
    gap: 10px;
    color: #213256;
    font-weight: 700;
}

.koopo-resume-avatar-crop-modal__zoom input[type="range"] {
    width: 100%;
}

.koopo-resume-avatar-crop-modal__status {
    border-radius: 14px;
    padding: 12px 14px;
}

.koopo-resume-avatar-crop-modal__status.is-loading {
    background: rgba(15, 118, 110, 0.11);
    color: #0f766e;
}

.koopo-resume-avatar-crop-modal__status.is-success {
    background: rgba(22, 163, 74, 0.11);
    color: #166534;
}

.koopo-resume-avatar-crop-modal__status.is-error {
    background: rgba(190, 24, 93, 0.12);
    color: #9f1239;
}

.koopo-resume-avatar-crop-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

@media (max-width: 860px) {
    .koopo-resume-inline-editor__avatar-row,
    .koopo-resume-inline-editor__grid,
    .koopo-resume-inline-editor__columns {
        grid-template-columns: 1fr;
    }

    .koopo-resume-avatar-crop-modal__body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .koopo-modal {
        padding: 14px;
    }

    .koopo-modal__dialog {
        padding: 16px;
    }

    .koopo-resume-avatar-crop-modal__actions,
    .koopo-resume-contact-modal__grid {
        grid-template-columns: 1fr;
    }

    .koopo-resume-avatar-crop-modal__actions .koopo-btn {
        width: 100%;
        justify-content: center;
    }
}
