@charset "utf-8";

:root {
    --bg: #EBEBEE;
    --surface: #FFFFFF;
    --ink: #0A0A0A;
    --ink-2: #6E6E73;
    --ink-3: #A1A1A6;
    --border: #EDEDED;
    --border-2: #DCDCDC;
    --section-bg: #FAFAFA;
    --muted-tint: #F2F2F4;
    --moss: #1A6B3F;
    --moss-tint: #E8F0EA;
    --amber: #B5862B;
    --amber-tint: #FAF1E1;
    --danger: #C5221F;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

::selection {
    background: var(--ink);
    color: var(--bg);
}

html {
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    min-height: 100vh;
    font-feature-settings: "ss01", "cv11";
}

main[role="main"] {
    display: block;
    width: 100%;
}

/* Global Nav is handled by index.css */

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
    transition: opacity 0.2s;
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.brand-link:hover {
    opacity: 0.7;
}

.brand-mark {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    flex-shrink: 0;
}

.brand-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.portfolio-main-page {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vh, 3rem) clamp(0.75rem, 3vw, 1.5rem);
}

@keyframes cardFadeUp {
    0% {
        opacity: 0.001;
        transform: translateY(0.5rem);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-flip {
    width: 100%;
    max-width: 34.8rem;
    margin: 0 auto;
    perspective: 112.5rem;
    position: relative;
    animation: cardFadeUp 500ms var(--ease) both;
}

.card-flip-inner {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-areas: "card";
    /* preserve-3d only when flipping — in default state use flat so content isn't clipped */
    transform-style: flat;
    transform: none;
    transition: transform 0.7s cubic-bezier(0.5, 0, 0.2, 1);
}

/* Activate 3D context only during flip animations */
.card-flip.is-flipped .card-flip-inner,
.card-flip.is-flipping-back .card-flip-inner {
    transform-style: preserve-3d;
}

.card-flip.is-flipped .card-flip-inner {
    animation: 0.85s cubic-bezier(0.45, 0, 0.15, 1) 0s 1 normal forwards running cardFlipForward;
}

.card-flip.is-flipping-back .card-flip-inner {
    animation: 0.85s cubic-bezier(0.45, 0, 0.15, 1) 0s 1 normal forwards running cardFlipBackward;
}

@keyframes cardFlipForward {
    0% {
        transform: translateY(0) scale(1) rotateY(0deg);
    }

    50% {
        transform: translateY(-1.125rem) scale(1.04) rotateY(90deg);
    }

    100% {
        transform: translateY(0) scale(1) rotateY(180deg);
    }
}

@keyframes cardFlipBackward {
    0% {
        transform: translateY(0) scale(1) rotateY(180deg);
    }

    50% {
        transform: translateY(-1.125rem) scale(1.04) rotateY(90deg);
    }

    100% {
        transform: translateY(0) scale(1) rotateY(0deg);
    }
}

.card-flip-inner>.card {
    grid-area: card;
    /* No backface-visibility or translateZ in default state — prevents 3D clip */
    transition: box-shadow 0.85s cubic-bezier(0.45, 0, 0.15, 1);
    height: auto;
    min-height: min-content;
}

/* Only apply 3D properties when flip is active */
.card-flip.is-flipped .card-flip-inner>.card:not(.card-back),
.card-flip.is-flipping-back .card-flip-inner>.card:not(.card-back) {
    backface-visibility: hidden;
    transform: translateZ(0);
}

.card-flip-inner>.card.card-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: rotateY(180deg) translateZ(0);
    backface-visibility: hidden;
}

.card-flip.is-flipped .card-flip-inner>.card:not(.card-back),
.card-flip.is-flipping-back .card-flip-inner>.card:not(.card-back) {
    animation: 0.7s cubic-bezier(0.5, 0, 0.2, 1) 0s 1 normal forwards running cardShadowLift;
}

@keyframes cardShadowLift {
    0% {
        box-shadow: rgba(20, 25, 40, 0.05) 0 1px 2px, rgba(20, 25, 40, 0.08) 0 1rem 2.5rem;
    }

    50% {
        box-shadow: rgba(20, 25, 40, 0.08) 0 2px 0.25rem, rgba(20, 25, 40, 0.16) 0 2rem 4rem;
    }

    100% {
        box-shadow: rgba(20, 25, 40, 0.05) 0 1px 2px, rgba(20, 25, 40, 0.08) 0 1rem 2.5rem;
    }
}

@media (hover: hover) and (pointer: fine) {
    .card-flip:not(.is-flipped):not(.is-flipping-back) .card-flip-inner {
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .card-flip:not(.is-flipped):not(.is-flipping-back):hover .card-flip-inner {
        transform: translateY(-2px) scale(1.003) rotateY(0deg);
    }
}

.card {
    width: 100%;
    max-width: 34.8rem;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: rgba(20, 25, 40, 0.05) 0 1px 2px, rgba(20, 25, 40, 0.08) 0 1rem 2.5rem;
    transition: box-shadow 0.4s var(--ease);
}

.card:hover {
    box-shadow: rgba(20, 25, 40, 0.06) 0 1px 2px, rgba(20, 25, 40, 0.11) 0 1.5rem 3.5rem;
}

.card-back {
    background: var(--ink);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem 1.5rem;
    overflow: hidden;
    position: relative;
}

.card-back::before {
    content: "";
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 27rem;
    height: 27rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.card-back>* {
    position: relative;
    z-index: 1;
}

.card-back-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(1.25rem, 3.5vh, 1.75rem);
}

.card-back-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.card-back-brand-mark {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

.card-back-brand-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.card-back-brand-word {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: -0.008em;
}

.card-back-brand-r {
    font-size: 0.4375rem;
    color: rgba(255, 255, 255, 0.35);
    margin-left: 1px;
    vertical-align: super;
    top: -2px;
    position: relative;
    font-weight: 400;
}

.card-back-identity {
    text-align: center;
    margin-bottom: clamp(1.25rem, 3.5vh, 1.75rem);
}

.card-back-name {
    font-size: clamp(1.375rem, 3.4vw, 1.625rem);
    font-weight: 500;
    letter-spacing: -0.028em;
    line-height: 1.1;
    color: white;
    margin: 0 0 0.375rem;
}

.card-back-claim {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: -0.005em;
    line-height: 1.45;
    font-weight: 400;
    max-width: 19.5rem;
    margin: 0 auto;
}

.card-back-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: clamp(1.25rem, 3.5vh, 1.75rem);
}

.card-back-qr {
    width: 10.5rem;
    height: 10.5rem;
    background: white;
    border-radius: 1rem;
    padding: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px, rgba(0, 0, 0, 0.3) 0 0.5rem 1.5rem, rgba(0, 0, 0, 0.2) 0 1rem 3rem;
}

.card-back-qr svg {
    width: 100%;
    height: 100%;
    display: block;
}

.card-back-url {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: -0.005em;
    font-feature-settings: "tnum";
    user-select: all;
    text-align: center;
}

.card-back-url strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

.card-back-trust {
    text-align: center;
    font-size: 0.71875rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: -0.003em;
    line-height: 1.5;
    margin-bottom: clamp(1rem, 3vh, 1.375rem);
    font-variant-numeric: tabular-nums;
}

.card-back-trust strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.card-back-trust-sep {
    color: rgba(255, 255, 255, 0.22);
    margin: 0 0.375rem;
}

.card-back-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-back-btn {
    width: 100%;
    padding: 0.8125rem 1rem;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4375rem;
    border: none;
}

.card-back-btn:active {
    transform: scale(0.98);
}

.card-back-btn-primary {
    background: white;
    color: var(--ink);
}

.card-back-btn-primary:hover {
    background: rgba(255, 255, 255, 0.92);
}

.card-back-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.card-back-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
}

.card-back-btn-secondary.is-copied {
    border-color: rgba(255, 255, 255, 0.32);
    color: rgba(255, 255, 255, 0.85);
}

.card-back-btn svg {
    width: 0.8125rem;
    height: 0.8125rem;
}

.card-back-link {
    margin-top: clamp(0.875rem, 2.5vh, 1.25rem);
    padding: 0.375rem 0 0;
    border: none;
    background: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3125rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: inherit;
    font-size: 0.71875rem;
    font-weight: 400;
    letter-spacing: -0.003em;
    cursor: pointer;
    width: 100%;
    transition: color 0.2s var(--ease);
}

.card-back-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.card-back-link svg {
    width: 0.75rem;
    height: 0.75rem;
    transition: transform 0.3s var(--ease);
}

.card-back-link:hover svg {
    transform: translateX(-2px);
}

@media (prefers-reduced-motion: reduce) {

    .card-flip-inner,
    .card-flip.is-flipped .card-flip-inner,
    .card-flip.is-flipping-back .card-flip-inner {
        transition: none !important;
        animation: none !important;
    }

    .card-flip.is-flipped .card-flip-inner {
        transform: rotateY(180deg) !important;
    }

    .card-flip:not(.is-flipped) .card-flip-inner {
        transform: rotateY(0deg) !important;
    }

    .card-flip-inner>.card {
        animation: none !important;
    }

    .card-back {
        animation: none !important;
    }
}

.head {
    padding: 2rem 1.5rem 1.375rem;
    text-align: center;
}

.photo-wrap {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.125rem;
    position: relative;
}

.photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: rgb(245, 245, 247);
    position: relative;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.photo:hover img {
    transform: scale(1.02);
}

.play-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--ink);
    color: white;
    border: 0.1875rem solid white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease);
    z-index: 2;
    padding: 0;
}

.play-badge:hover {
    transform: scale(1.08);
}

.play-badge svg {
    width: 0.625rem;
    height: 0.625rem;
    margin-left: 1px;
}

.play-badge::after {
    content: "Watch intro =C2=B7 0:45";
    position: absolute;
    bottom: -1.875rem;
    left: 50%;
    transform: translateX(-50%) translateY(-0.25rem);
    background: var(--ink);
    color: white;
    padding: 0.3125rem 0.625rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease);
}

.play-badge:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.name-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5625rem;
    margin-bottom: 0.375rem;
}

.name {
    font-size: 1.625rem;
    font-weight: 500;
    letter-spacing: -0.028em;
    line-height: 1.05;
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    flex-wrap: wrap;
    justify-content: center;
}

.id-tick {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.0625rem;
    height: 1.0625rem;
    color: var(--ink-3);
    cursor: help;
    outline: none;
    flex-shrink: 0;
    align-self: center;
    transition: color 0.2s var(--ease);
}

.id-tick:hover,
.id-tick:focus-visible {
    color: var(--ink);
}

.id-tick svg {
    width: 1.0625rem;
    height: 1.0625rem;
    display: block;
}

.id-tick-tip {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(0.25rem);
    background: var(--ink);
    color: white;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: -0.003em;
    padding: 0.3125rem 0.5625rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s var(--ease), transform 0.22s var(--ease);
    box-shadow: rgba(0, 0, 0, 0.18) 0 0.25rem 0.75rem;
    z-index: 5;
}

.id-tick-tip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0.25rem 0.25rem 0;
    border-style: solid;
    border-color: var(--ink) transparent transparent transparent;
}

.id-tick:hover .id-tick-tip,
.id-tick:focus-visible .id-tick-tip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.claim {
    font-size: 0.875rem;
    color: var(--ink-2);
    letter-spacing: -0.01em;
    line-height: 1.4;
    margin-bottom: 0.875rem;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
}

.caption {
    font-size: 0.75rem;
    color: var(--ink-3);
    letter-spacing: -0.005em;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
}

.caption svg {
    width: 0.6875rem;
    height: 0.6875rem;
    opacity: 0.7;
}

.caption-sep {
    display: inline-block;
    width: 0.1875rem;
    height: 0.1875rem;
    border-radius: 50%;
    background: var(--ink-3);
}

.lang-list {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.lang {
    position: relative;
    cursor: help;
    outline: none;
    transition: color 0.18s var(--ease);
}

.lang:hover,
.lang:focus-visible {
    color: var(--ink);
}

.lang-sep {
    color: var(--ink-3);
    user-select: none;
}

.lang-tip {
    position: absolute;
    bottom: calc(100% + 0.4375rem);
    left: 50%;
    transform: translateX(-50%) translateY(0.1875rem);
    background: var(--ink);
    color: white;
    font-size: 0.65625rem;
    font-weight: 500;
    letter-spacing: -0.003em;
    padding: 0.25rem 0.5rem;
    border-radius: 0.3125rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.16s var(--ease), transform 0.2s var(--ease);
    box-shadow: rgba(0, 0, 0, 0.16) 0 0.25rem 0.625rem;
    z-index: 5;
}

.lang-tip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0.25rem 0.25rem 0;
    border-style: solid;
    border-color: var(--ink) transparent transparent transparent;
}

.lang:hover .lang-tip,
.lang:focus-visible .lang-tip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.work-section {
    margin: 0 1rem 1rem;
    background: rgb(250, 250, 250);
    border: 1px solid var(--border-2);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.2s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
    box-shadow: rgba(20, 25, 40, 0.024) 0 1px 2px, rgba(20, 25, 40, 0.04) 0 0.25rem 0.875rem;
}

.work-section:hover {
    border-color: rgba(0, 0, 0, 0.18);
    box-shadow: rgba(20, 25, 40, 0.03) 0 1px 2px, rgba(20, 25, 40, 0.06) 0 0.5rem 1.375rem;
}

.work-header {
    margin: 0;
    padding: 1.125rem 1.125rem 0.875rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3125rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: var(--ink);
    width: 100%;
    transition: background 0.2s var(--ease);
}

.work-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.work-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;
}

.work-header-title {
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: -0.018em;
    color: var(--ink);
    line-height: 1.2;
}

.work-header-arrow {
    width: 0.8125rem;
    height: 0.8125rem;
    color: var(--ink-3);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
}

.work-header:hover .work-header-arrow {
    color: var(--ink);
    transform: translateX(2px);
}

.work-header-meta {
    font-size: 0.78125rem;
    color: rgb(58, 58, 61);
    letter-spacing: -0.005em;
    line-height: 1.55;
    font-weight: 400;
}

.work-header-meta strong {
    color: var(--ink);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.work-header-sep {
    color: var(--ink-3);
    margin: 0 2px;
}

.thumbs {
    padding: 0 0.75rem 0.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.375rem;
}

.thumb {
    aspect-ratio: 1 / 1;
    border-radius: 0.625rem;
    overflow: hidden;
    background: white;
    cursor: pointer;
    border: none;
    padding: 0;
    position: relative;
    transition: transform 0.4s var(--ease);
}

.thumb:hover {
    transform: translateY(-1px);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.thumb:hover img {
    transform: scale(1.04);
}

.thumb-badge {
    position: absolute;
    top: 0.375rem;
    right: 0.375rem;
    padding: 0.25rem 0.5625rem;
    border-radius: 62.4375rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(0.625rem);
    font-size: 0.59375rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.002em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: rgba(0, 0, 0, 0.05) 0 1px 2px;
}

.thumb-badge.is-plus {
    background: var(--ink);
    color: white;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: rgba(0, 0, 0, 0.18) 0 1px 2px, rgba(255, 255, 255, 0.06) 0 0 0 0.5px inset;
}

.rows {
    padding: 0.25rem 0.875rem;
    border-top: 1px solid var(--border);
}

.row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6875rem 0.625rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    width: 100%;
    color: var(--ink);
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.row:hover {
    background: rgb(250, 250, 250);
}

.row-label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: -0.005em;
}

.row-val {
    font-size: 0.75rem;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
}

.row-val-check {
    width: 0.75rem;
    height: 0.75rem;
    color: var(--moss);
    flex-shrink: 0;
}

.row-arrow {
    color: var(--ink-3);
}

.row-arrow svg {
    width: 0.6875rem;
    height: 0.6875rem;
}

.actions {
    padding: 0.875rem 1.5rem 0.75rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
}

.availability-wrap {
    text-align: center;
    margin-top: 0.875rem;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    padding: 0.375rem 0.75rem 0.375rem 0.6875rem;
    background: rgba(26, 107, 63, 0.06);
    border: 1px solid rgba(26, 107, 63, 0.14);
    border-radius: 62.4375rem;
    font-size: 0.71875rem;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    font-weight: 400;
}

.availability strong {
    color: var(--ink);
    font-weight: 500;
}

.availability-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--moss);
    flex-shrink: 0;
    box-shadow: rgba(26, 107, 63, 0.14) 0 0 0 0.1875rem;
}

.btn-primary {
    flex: 1 1 0%;
    padding: 0.8125rem;
    background: var(--ink);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
    letter-spacing: -0.005em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: scale(1.01);
    background: rgb(26, 26, 26);
}

.btn-primary svg {
    width: 0.8125rem;
    height: 0.8125rem;
}

.btn-secondary {
    width: 2.75rem;
    height: 2.75rem;
    background: white;
    color: var(--ink);
    border: 1px solid var(--border-2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
    flex-shrink: 0;
}

.btn-secondary:hover {
    background: rgb(245, 245, 247);
    border-color: var(--border-2);
}

.btn-secondary svg {
    width: 0.875rem;
    height: 0.875rem;
}

.ss-eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-2);
    font-weight: 500;
    margin-bottom: 0.875rem;
}

.ss-sub {
    font-size: 0.875rem;
    color: var(--ink-2);
    margin-bottom: 1.375rem;
    letter-spacing: -0.005em;
}

.rate-cells {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.375rem;
    margin-bottom: 0.5rem;
}

.rate-cell {
    background: rgb(250, 250, 250);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
    padding: 1.125rem 0.75rem 1rem;
    text-align: center;
}

.rate-cell-label {
    font-size: 0.625rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.rate-cell-val {
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--ink);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.rate-cell-val .unit {
    font-size: 0.5em;
    color: var(--ink-3);
    margin-left: 2px;
    font-weight: 400;
    letter-spacing: -0.005em;
}

.pkg {
    background: rgb(250, 250, 250);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
    padding: 1.125rem 1.125rem 1rem;
    position: relative;
    margin-bottom: 0.375rem;
}

.pkg.is-popular {
    border-color: var(--ink);
    border-width: 1.5px;
    background: white;
}

.pkg-tag {
    position: absolute;
    top: -0.5rem;
    left: 0.875rem;
    background: var(--ink);
    color: white;
    padding: 0.1875rem 0.5rem;
    border-radius: 62.4375rem;
    font-size: 0.5625rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
}

.pkg-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.375rem;
}

.pkg-name {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.012em;
    color: var(--ink);
}

.pkg-price {
    font-size: 1.1875rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.pkg-price .unit {
    font-size: 0.55em;
    color: var(--ink-3);
    margin-left: 0.1875rem;
    font-weight: 400;
    letter-spacing: -0.005em;
}

.pkg-desc {
    font-size: 0.78125rem;
    color: var(--ink-2);
    line-height: 1.5;
    letter-spacing: -0.005em;
}

.clients-aggregate {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgb(250, 250, 250);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.375rem;
}

.clients-cell+.clients-cell {
    border-left: 1px solid var(--border);
    padding-left: 1rem;
}

.clients-num-big {
    font-size: 1.625rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.375rem;
}

.clients-num-big .check {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--moss);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.clients-num-big .check svg {
    width: 0.5625rem;
    height: 0.5625rem;
    stroke-width: 4;
}

.clients-num-label {
    font-size: 0.625rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
}

.project-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(0.625rem);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    overflow-y: auto;
}

.project-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.pm-modal {
    position: relative;
    width: 100%;
    max-width: 27.5rem;
    max-height: calc(-3.75rem + 100vh);
    background: white;
    border-radius: 1.125rem;
    overflow: hidden;
    transform: translateY(1rem) scale(0.98);
    transition: transform 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.3) 0 1.875rem 5rem;
    margin: auto;
}

.project-modal.is-open .pm-modal {
    transform: translateY(0) scale(1);
}

.pm-close {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(0.625rem);
    border: none;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s var(--ease);
    z-index: 5;
}

.pm-close:hover {
    background: rgba(0, 0, 0, 0.65);
}

.pm-close svg {
    width: 0.8125rem;
    height: 0.8125rem;
}

.pm-cover {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #000;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.pm-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pm-body {
    padding: 1.75rem 1.625rem 2rem;
    overflow-y: auto;
    flex: 1 1 0%;
}

.pm-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6875rem;
    border-radius: 62.4375rem;
    font-size: 0.65625rem;
    font-weight: 500;
    letter-spacing: -0.002em;
    line-height: 1.2;
    margin-bottom: 1.125rem;
}

.pm-status.is-verified-plus {
    background: var(--ink);
    border: 1px solid var(--ink);
    color: white;
}

.pm-status.is-verified {
    background: white;
    border: 1px solid var(--border-2);
    color: var(--ink);
}

.pm-status.is-self {
    background: rgb(242, 242, 244);
    border: 1px solid var(--border);
    color: var(--ink-2);
}

.pm-title {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.032em;
    line-height: 1.2;
    margin: 0 0 0.375rem;
    color: var(--ink);
}

.pm-meta {
    font-size: 0.8125rem;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    line-height: 1.4;
    margin: 0 0 1.5rem;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

.pm-description {
    margin: 0 0 2rem;
    padding: 0;
    font-size: 0.90625rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.012em;
    line-height: 1.55;
}

.pm-section {
    margin-bottom: 1.625rem;
}

.pm-section:last-of-type {
    margin-bottom: 0;
}

.pm-section-eyebrow {
    font-size: 0.59375rem;
    font-weight: 500;
    color: var(--ink-3);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.6875rem;
}

.pm-proofs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: 0;
}

.pm-proof {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.75rem 0.4375rem 0.6875rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--ink);
    line-height: 1.3;
    text-decoration: none;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
    white-space: nowrap;
}

.pm-proof:hover {
    border-color: var(--ink);
    background: rgb(250, 250, 250);
}

.pm-proof:active {
    transform: scale(0.98);
}

.pm-proof-icon {
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
    color: var(--ink-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pm-proof-icon svg {
    width: 100%;
    height: 100%;
}

.pm-proof-ext {
    width: 0.5625rem;
    height: 0.5625rem;
    color: var(--ink-3);
    flex-shrink: 0;
    margin-left: 2px;
    transition: transform 0.25s var(--ease), color 0.2s var(--ease);
}

.pm-proof.is-external:hover .pm-proof-ext {
    color: var(--ink);
    transform: translate(1px, -1px);
}

.pm-tags {
    margin: 0;
    font-size: 0.78125rem;
    color: var(--ink-2);
    letter-spacing: -0.003em;
    line-height: 1.55;
    font-weight: 400;
}

.pm-confirmation {
    margin-top: 1.75rem;
    padding: 1.125rem 1.125rem 1rem;
    background: rgb(250, 250, 250);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
}

.pm-confirmation-eyebrow {
    font-size: 0.59375rem;
    color: var(--ink-3);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.pm-confirmation-name {
    font-size: 0.90625rem;
    font-weight: 500;
    letter-spacing: -0.016em;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.pm-confirmation-role {
    font-size: 0.78125rem;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    line-height: 1.5;
    font-weight: 400;
}

.pm-confirmation-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.75rem;
}

.pm-confirmation-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    padding: 0.3125rem 0.6875rem 0.3125rem 0.5625rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    font-size: 0.71875rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--ink);
    line-height: 1.3;
    text-decoration: none;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.pm-confirmation-chip:hover {
    border-color: var(--ink);
}

.pm-confirmation-chip svg {
    width: 0.6875rem;
    height: 0.6875rem;
    color: var(--ink-2);
    flex-shrink: 0;
}

.pm-confirmation-quote {
    margin: 0.875rem 0 0;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border);
    font-size: 0.78125rem;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    line-height: 1.55;
    font-style: italic;
}

.pm-confirmation-private {
    display: flex;
    flex-direction: column;
    gap: 0.1875rem;
}

.pm-confirmation-private-name {
    font-size: 0.90625rem;
    font-weight: 500;
    letter-spacing: -0.016em;
    color: var(--ink);
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.pm-confirmation-private-name svg {
    width: 0.75rem;
    height: 0.75rem;
    color: var(--ink-3);
}

.pm-confirmation-private-note {
    font-size: 0.75rem;
    color: var(--ink-3);
    letter-spacing: -0.005em;
    line-height: 1.45;
}

.vidbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(0.75rem);
    z-index: 110;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.vidbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.vidbox-frame {
    position: relative;
    width: 100%;
    max-width: 27.5rem;
    aspect-ratio: 9 / 16;
    background: rgb(0, 0, 0);
    border-radius: 1.125rem;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.5) 0 1.875rem 5rem;
    transform: translateY(0.75rem) scale(0.98);
    transition: transform 0.4s var(--ease);
}

.vidbox.is-open .vidbox-frame {
    transform: translateY(0) scale(1);
}

.vidbox-frame video,
.vidbox-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.vidbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 120;
}

.vidbox-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.vidbox-close svg {
    width: 0.8125rem;
    height: 0.8125rem;
}

.vidbox-demo {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgb(26, 26, 26) 0%, rgb(10, 10, 10) 100%);
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    gap: 0.875rem;
}

.vidbox-demo-play {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.vidbox-demo-play svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.1875rem;
}

.vidbox-demo-text {
    font-size: 0.75rem;
    letter-spacing: -0.005em;
    padding: 0 1.5rem;
    line-height: 1.5;
}

.sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(0.75rem);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.sheet-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.sheet {
    background: white;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 30rem;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(1.5rem);
    transition: transform 0.5s var(--ease);
    box-shadow: rgba(0, 0, 0, 0.2) 0 1.875rem 5rem;
}

.sheet-overlay.is-open .sheet {
    transform: translateY(0);
}

.sheet-header {
    display: flex;
    align-items: center;
    padding: 1.125rem 1.375rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    gap: 0.75rem;
}

.sheet-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    flex: 1 1 0%;
}

.sheet-close-btn {
    background: none;
    border: none;
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    cursor: pointer;
    color: var(--ink-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sheet-close-btn:hover {
    background: rgb(245, 245, 247);
    color: var(--ink);
}

.sheet-close-btn svg {
    width: 0.875rem;
    height: 0.875rem;
}

.sheet-body {
    overflow-y: auto;
    padding: 1.375rem;
    flex: 1 1 0%;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.sheet-body::-webkit-scrollbar {
    width: 0.375rem;
}

.sheet-body::-webkit-scrollbar-track {
    background: transparent;
}

.sheet-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0.625rem;
}

.sheet-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

.toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(6.25rem);
    background: var(--ink);
    color: white;
    padding: 0.6875rem 1.125rem;
    border-radius: 62.4375rem;
    font-size: 0.8125rem;
    z-index: 200;
    transition: transform 0.5s var(--ease);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.005em;
}

.toast svg {
    width: 0.8125rem;
    height: 0.8125rem;
    color: rgb(111, 203, 148);
}

.toast.is-visible {
    transform: translateX(-50%) translateY(0);
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(1.25rem);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.75rem 1.5rem 5rem;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lb-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1010;
}

.lb-close svg {
    width: 0.875rem;
    height: 0.875rem;
}

.lb-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: rgba(0, 0, 0, 0.4) 0 1.25rem 3.75rem;
}

@media (max-width: 32.5rem) {
    .nav {
        padding: 0 !important;
    }

    .portfolio-main-page {
        padding: 0.75rem 0.625rem;
        min-height: 100dvh;
        justify-content: flex-start;
    }

    .page {
        align-items: flex-start;
        padding: 0 0 0.75rem;
        max-width: 100%;
    }

    .mc-top {
        margin-bottom: 0.5rem;
    }

    .mc-title {
        font-size: 1.25rem;
        margin-bottom: 2px;
    }

    .mc-url-row {
        font-size: 0.8125rem;
    }

    .mc-url {
        font-size: 0.8125rem;
    }

    .oc-premium-wrapper {
        padding-top: 0.625rem;
        gap: 0.625rem;
        border-radius: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .oc-premium-header {
        padding: 0 1rem;
        gap: 0.625rem;
    }

    .oc-premium-text {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .oc-premium-btn {
        height: 1.5rem;
        font-size: 0.6875rem;
        padding: 2px 0.5rem;
        border-radius: 0.5rem;
    }

    .oc-card {
        padding: 0.625rem;
        gap: 0.5rem;
        border-radius: 1.5rem;
    }

    .oc-profile {
        padding: 0.625rem 0.75rem;
        gap: 0.625rem;
        border-radius: 1rem;
    }

    .oc-avatar {
        width: 3.25rem;
        height: 3.25rem;
        font-size: 1.125rem;
    }

    .oc-profile-name {
        font-size: 0.9375rem;
    }

    .oc-profile-claim {
        font-size: 0.75rem;
    }

    .oc-profile-meta {
        font-size: 0.6875rem;
    }

    .kyc-badge {
        font-size: 0.6875rem;
        padding: 0.3125rem 0.625rem;
        margin-top: 0.375rem;
    }

    .kyc-chevron {
        width: 0.5rem;
        height: 0.5rem;
    }

    .oc-work {
        padding: 0.625rem 0.75rem;
        gap: 0.5rem;
        border-radius: 1rem;
    }

    .oc-work-empty {
        padding: 0.75rem 0.5rem;
        gap: 0.25rem;
    }

    .oc-work-empty-icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    .oc-work-empty-title {
        font-size: 0.75rem;
    }

    .oc-work-empty-sub {
        font-size: 0.6875rem;
    }

    .oc-thumbs {
        gap: 0.375rem;
    }

    .oc-thumb {
        width: calc((100% - 0.75rem) / 3);
        border-radius: 0.625rem;
    }

    .oc-rows {
        gap: 0.375rem;
    }

    .oc-row {
        padding: 0.625rem 0.75rem;
        height: 2.625rem;
        border-radius: 1rem;
        gap: 0.5rem;
    }

    .oc-row-label {
        font-size: 0.71875rem;
    }

    .oc-row-val {
        font-size: 0.6875rem;
        gap: 0.25rem;
    }

    .oc-section-action {
        font-size: 0.6875rem;
        gap: 2px;
    }

    .oc-footer {
        padding: 0 0.25rem;
        margin-top: 0.5rem;
    }

    .oc-btn-preview,
    .oc-btn-publish {
        padding: 0.5rem;
        font-size: 0.8125rem;
        border-radius: 0.625rem;
    }

    .card {
        max-width: 100%;
        border-radius: 1.25rem;
    }

    .card-back {
        padding: 1rem 0.875rem 0.875rem;
    }

    .card-back-top {
        margin-bottom: 0.75rem;
    }

    .card-back-identity {
        margin-bottom: 0.75rem;
    }

    .card-back-name {
        font-size: 1.125rem;
    }

    .card-back-claim {
        font-size: 0.75rem;
    }

    .card-back-qr-wrap {
        margin-bottom: 0.75rem;
        gap: 0.5rem;
    }

    .card-back-qr {
        width: 7.5rem;
        height: 7.5rem;
        padding: 0.625rem;
    }

    .card-back-trust {
        margin-bottom: 0.75rem;
        font-size: 0.6875rem;
    }

    .card-back-actions {
        gap: 0.375rem;
    }

    .card-back-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .card-back-link {
        margin-top: 0.625rem;
    }

    .name {
        font-size: 1.125rem;
    }

    .head {
        padding: 1rem 1rem 0.75rem;
    }

    .photo-wrap {
        width: 3.5rem;
        height: 3.5rem;
        margin: 0 auto 0.625rem;
    }

    .claim {
        font-size: 0.78125rem;
        margin-bottom: 0.5rem;
    }

    .caption {
        font-size: 0.6875rem;
        gap: 0.25rem;
    }

    .availability-wrap {
        margin-top: 0.5rem;
    }

    .availability {
        padding: 0.25rem 0.625rem;
        font-size: 0.65625rem;
    }

    .work-section {
        margin: 0 0.625rem 0.625rem;
        border-radius: 0.75rem;
    }

    .work-header {
        padding: 0.625rem 0.75rem 0.5rem;
    }

    .work-header-title {
        font-size: 0.8125rem;
    }

    .work-header-meta {
        font-size: 0.6875rem;
    }

    .thumbs {
        padding: 0 0.5rem 0.5rem;
        gap: 0.25rem;
    }

    .thumb {
        border-radius: 0.5rem;
    }

    .rows {
        padding: 2px 0.625rem;
    }

    .row {
        padding: 0.5rem 0.625rem;
        gap: 0.5rem;
    }

    .row-label {
        font-size: 0.75rem;
    }

    .row-val {
        font-size: 0.6875rem;
        gap: 0.25rem;
    }

    .actions {
        padding: 0.625rem 1rem 0.625rem;
        gap: 0.375rem;
    }

    .btn-primary {
        padding: 0.5rem;
        font-size: 0.75rem;
        height: 2.25rem;
        border-radius: 1.125rem;
    }

    .btn-secondary {
        width: 2.25rem;
        height: 2.25rem;
    }

    .sheet-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .sheet {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 1.5rem 1.5rem 0 0;
        transform: translateY(100%);
    }

    .sheet-overlay.is-open .sheet {
        transform: translateY(0);
    }
}

/* Footer styles handled by index.css */

/* WORK & PROOF (WP) STYLES — exact match to card_detail.mhtml */
.wp-subtext {
    font-size: 0.875rem;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    line-height: 1.5;
    margin-bottom: 1.125rem;
}

.wp-levels {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 1rem 1.125rem;
    background: rgb(250, 250, 250);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
    margin: 0.25rem 0 1.625rem;
}

.wp-level {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.wp-level .wp-trust-tag {
    flex-shrink: 0;
}

.wp-level-text {
    font-size: 0.78125rem;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    line-height: 1.5;
}

.wp-trust-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.65625rem;
    font-weight: 500;
    letter-spacing: -0.002em;
    padding: 2px 0.5rem;
    border-radius: 62.4375rem;
    background: rgb(242, 242, 244);
    color: var(--ink-2);
    border: 1px solid var(--border);
    line-height: 1.3;
}

.wp-trust-tag.is-verified {
    background: white;
    border-color: var(--border-2);
    color: var(--ink);
}

.wp-trust-tag.is-verified-plus {
    background: var(--ink);
    border-color: var(--ink);
    color: white;
}

.wp-eyebrow {
    font-size: 0.6875rem;
    color: var(--ink-3);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.wp-featured {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 0.25rem;
}

.wp-featured-card {
    display: grid;
    grid-template-columns: 3.5rem 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
    width: 100%;
    font-family: inherit;
    text-align: left;
    color: var(--ink);
}

.wp-featured-card:hover {
    border-color: var(--border-2);
    background: rgb(250, 250, 250);
}

.wp-featured-cover {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: rgb(245, 245, 247);
    flex-shrink: 0;
}

.wp-featured-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-featured-body {
    min-width: 0;
}

.wp-featured-title {
    font-size: 0.84375rem;
    font-weight: 500;
    letter-spacing: -0.012em;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 0.1875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wp-featured-meta {
    font-size: 0.71875rem;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.wp-featured-value {
    color: var(--ink);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.wp-featured-arrow {
    width: 0.75rem;
    height: 0.75rem;
    color: var(--ink-3);
    flex-shrink: 0;
    margin-right: 0.25rem;
    transition: transform 0.3s var(--ease);
}

.wp-featured-card:hover .wp-featured-arrow {
    color: var(--ink);
    transform: translateX(2px);
}

.wp-filters {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.625rem;
    padding: 0.25rem;
    background: rgb(245, 245, 247);
    border-radius: 0.75rem;
    width: fit-content;
}

.wp-filter {
    padding: 0.375rem 0.75rem;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--ink-2);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
    white-space: nowrap;
}

.wp-filter:hover {
    color: var(--ink);
}

.wp-filter.is-active {
    background: white;
    color: var(--ink);
    box-shadow: rgba(0, 0, 0, 0.04) 0 1px 2px, rgba(0, 0, 0, 0.04) 0 0 0 1px;
}

.wp-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wp-list-item {
    display: grid;
    grid-template-columns: 2.75rem 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.625rem 0.5rem;
    border-radius: 0.625rem;
    cursor: pointer;
    transition: background 0.15s var(--ease);
    background: transparent;
    border: none;
    text-align: left;
    width: 100%;
    color: var(--ink);
    font-family: inherit;
}

.wp-list-item:hover {
    background: rgb(250, 250, 250);
}

.wp-list-item.is-hidden {
    display: none;
}

.wp-list-cover {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: rgb(245, 245, 247);
    flex-shrink: 0;
}

.wp-list-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-list-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1875rem;
}

.wp-list-title {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: -0.012em;
    color: var(--ink);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wp-list-meta {
    font-size: 0.71875rem;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}

.wp-list-tag-col {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.wp-list-empty {
    padding: 1.75rem 1rem;
    text-align: center;
    font-size: 0.78125rem;
    color: var(--ink-3);
    letter-spacing: -0.005em;
    line-height: 1.5;
}

.wp-list-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.wp-list-count {
    font-size: 0.71875rem;
    color: var(--ink-3);
    letter-spacing: -0.005em;
    font-variant-numeric: tabular-nums;
}

.wp-list-count strong {
    color: var(--ink-2);
    font-weight: 500;
}

.wp-show-more {
    background: white;
    border: 1px solid var(--border-2);
    padding: 0.4375rem 0.8125rem;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.005em;
    cursor: pointer;
    line-height: 1;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.wp-show-more:hover {
    border-color: var(--ink);
    background: rgb(250, 250, 250);
}

.wp-show-more:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.wp-explainer {
    margin-top: 1.375rem;
    padding: 1rem;
    background: rgb(250, 250, 250);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
}

.wp-explainer-line {
    font-size: 0.75rem;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    line-height: 1.55;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
}

.wp-explainer-line+.wp-explainer-line {
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border);
}

.wp-explainer-line strong {
    color: var(--ink);
    font-weight: 500;
}

.wp-explainer-line .wp-trust-tag {
    align-self: flex-start;
}

/* PAYMENT METHODS */
.pay-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.25rem;
    margin-bottom: 1.375rem;
}

.pay-row {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    gap: 0.875rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.75rem;
}

.pay-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: rgb(245, 245, 247);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.71875rem;
    font-weight: 500;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    flex-shrink: 0;
}

.pay-name {
    font-size: 0.84375rem;
    font-weight: 500;
    letter-spacing: -0.012em;
    color: var(--ink);
    line-height: 1.3;
}

.pay-disclaimer {
    margin: 0;
    padding: 0.75rem 0.875rem;
    background: rgb(250, 250, 250);
    border: 1px solid var(--border);
    border-radius: 0.625rem;
    font-size: 0.71875rem;
    color: var(--ink-3);
    letter-spacing: -0.005em;
    line-height: 1.5;
    text-align: center;
}

/* EXTERNAL PROFILES */
.ext-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.ext-row {
    display: grid;
    grid-template-columns: 2.25rem 1fr auto;
    gap: 0.875rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--ink);
    transition: background 0.15s var(--ease);
}

.ext-row:hover {
    background: rgb(250, 250, 250);
}

.ext-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: rgb(245, 245, 247);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.71875rem;
    font-weight: 500;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    text-transform: lowercase;
    flex-shrink: 0;
}

.ext-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ext-name {
    font-size: 0.84375rem;
    font-weight: 500;
    letter-spacing: -0.012em;
    color: var(--ink);
    line-height: 1.3;
}

.ext-url {
    font-size: 0.71875rem;
    color: var(--ink-3);
    letter-spacing: -0.005em;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ext-arrow {
    width: 0.8125rem;
    height: 0.8125rem;
    color: var(--ink-3);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease), color 0.2s var(--ease);
}

.ext-row:hover .ext-arrow {
    color: var(--ink);
    transform: translate(2px, -2px);
}

/* SKILLS & TOOLS */
.skill-tag {
    font-size: 0.75rem;
    font-weight: 400;
    padding: 0.3125rem 0.6875rem;
    border-radius: 62.4375rem;
    background: rgb(250, 250, 250);
    border: 1px solid var(--border);
    letter-spacing: -0.008em;
    color: var(--ink);
    display: inline-block;
    margin-right: 0.3125rem;
    margin-bottom: 0.3125rem;
    transition: border-color 0.2s var(--ease);
}

.skill-tag:hover {
    border-color: var(--border-2);
}

/* AVAILABILITY */
.availability-wrap {
    text-align: center;
    margin-top: 0.875rem;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    padding: 0.375rem 0.75rem 0.375rem 0.6875rem;
    background: rgba(26, 107, 63, 0.06);
    border: 1px solid rgba(26, 107, 63, 0.14);
    border-radius: 62.4375rem;
    font-size: 0.71875rem;
    color: var(--ink-2);
    letter-spacing: -0.005em;
    font-weight: 400;
}

.availability strong {
    color: var(--ink);
    font-weight: 500;
}

.availability-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--moss);
    flex-shrink: 0;
    box-shadow: rgba(26, 107, 63, 0.14) 0 0 0 0.1875rem;
}

.availability.is-available {
    background: rgba(26, 107, 63, 0.06);
    border-color: rgba(26, 107, 63, 0.14);
}

.availability.is-available .availability-dot {
    background: rgb(26, 107, 63);
    box-shadow: rgba(26, 107, 63, 0.14) 0 0 0 0.1875rem;
}

/* ════════════════════════════════════════════════════════════════════════
   OWNER / EDIT MODE COMPONENTS (From Mockup)
   ════════════════════════════════════════════════════════════════════════ */

.page {
    width: 100%;
    max-width: 39.8rem;
    margin: 0 auto;
    padding: 0 0 1.5rem;
}

.mc-top {
    margin-bottom: 1.5rem;
}

.mc-title {
    font-size: 2.125rem;
    font-weight: 500;
    letter-spacing: -0.032em;
    color: var(--ink);
    line-height: 1.05;
    margin-bottom: 0.375rem;
}

.mc-url-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.mc-url {
    font-size: 0.8125rem;
    color: var(--ink-3);
    letter-spacing: -0.003em;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-url strong {
    color: var(--ink-2);
    font-weight: 500;
}

.mc-url-actions {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    margin-right: -0.375rem;
}

.mc-icon-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--ink-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.mc-icon-btn:hover {
    background: var(--muted-tint);
    color: var(--ink);
}

.mc-icon-btn svg {
    width: 0.8125rem;
    height: 0.8125rem;
    flex-shrink: 0;
}

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

.mc-status {
    margin-bottom: 1.5rem;
}

.mc-pills {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.mc-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.8125rem 0.4375rem 0.6875rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    font-size: 0.71875rem;
    color: var(--ink-2);
    letter-spacing: -0.003em;
    line-height: 1;
    font-weight: 500;
    font-family: inherit;
    transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
    cursor: pointer;
}

.mc-pill:hover {
    border-color: var(--ink-3);
    color: var(--ink);
}

.mc-pill.is-attention {
    color: var(--amber);
    background: var(--amber-tint);
    border-color: rgba(181, 134, 43, 0.18);
}

.mc-pill.is-attention:hover {
    border-color: rgba(181, 134, 43, 0.4);
    color: var(--amber);
}

.mc-pill-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--ink-3);
    flex-shrink: 0;
}

.mc-pill.is-attention .mc-pill-dot {
    background: var(--amber);
}

.mc-pill.is-neutral .mc-pill-dot {
    background: var(--ink-3);
    opacity: 0.55;
}

.mc-pill-arrow {
    width: 0.5625rem;
    height: 0.5625rem;
    color: currentcolor;
    opacity: 0.7;
    margin-left: 2px;
    margin-right: -2px;
    flex-shrink: 0;
}

.mc-preview-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.59375rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 0.875rem;
    line-height: 1;
}

.mc-preview-label svg {
    width: 0.6875rem;
    height: 0.6875rem;
}

/* Zones */
.zone {
    position: relative;
    cursor: pointer;
    transition: background 0.18s var(--ease);
}

.zone:hover {
    background: rgba(0, 0, 0, 0.02);
}

.zone-edit {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-2);
    color: var(--ink-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: opacity 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
    pointer-events: none;
    box-shadow: rgba(20, 25, 40, 0.04) 0 1px 2px;
    z-index: 3;
}

.zone:hover .zone-edit {
    opacity: 1;
    color: var(--ink);
    border-color: var(--ink-3);
}

.zone-edit svg {
    width: 0.6875rem;
    height: 0.6875rem;
}

/* Modals */
.m-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(1rem) saturate(140%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), visibility 0.28s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    overflow-y: auto;
}

.m-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.m-card {
    background: white;
    border-radius: 1.5rem;
    padding: 0;
    max-width: 28.75rem;
    width: 100%;
    box-shadow: 0 1px 2px rgba(24, 24, 24, 0.06), 0 1px 0.1875rem rgba(24, 24, 24, 0.10);
    outline: 1px #F5F5F5 solid;
    outline-offset: -1px;
    transform: translateY(0.5rem) scale(0.98);
    transition: transform 0.4s var(--ease);
    position: relative;
    margin: auto;
    overflow: hidden;
}

.m-card-wide {
    max-width: 30rem;
}

.m-backdrop.is-open .m-card {
    transform: translateY(0) scale(1);
}

.m-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.25rem;
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #A3A3A3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.m-close:hover {
    background: #F5F5F5;
    color: #333333;
}

.m-close svg {
    width: 1rem;
    height: 1rem;
}

/* ── Figma dialog structure ── */
.m-dialog-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px #EBEBEB solid;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.m-dialog-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1C1C1C;
    line-height: 1.25rem;
    padding-right: 2rem;
}

.m-dialog-sub {
    font-size: 0.75rem;
    color: #5C5C5C;
    line-height: 1rem;
    padding-right: 2rem;
}

.m-dialog-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.25rem;
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #A3A3A3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.m-dialog-close:hover {
    background: #F5F5F5;
    color: #333333;
}

.m-dialog-close svg {
    width: 1rem;
    height: 1rem;
}

.m-dialog-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
}

.m-dialog-footer {
    border-top: 1px #EBEBEB solid;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.m-eyebrow {
    font-size: 0.59375rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 0.625rem;
}

.m-title {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.022em;
    line-height: 1.2;
    margin: 0;
}

.m-text {
    margin: 0.625rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--ink-2);
    letter-spacing: -0.005em;
}

.m-form {
    margin-top: 1.75rem;
}

.m-field {
    margin-bottom: 1.5rem;
}

.m-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1C1C1C;
    margin-bottom: 0.375rem;
    line-height: 1.25rem;
}

.m-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    gap: 0.75rem;
}

.m-label-row .m-label {
    margin-bottom: 0;
}

.m-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-family: inherit;
    font-size: 0.875rem;
    color: #1C1C1C;
    background: white;
    border: none;
    outline: 1px #D1D1D1 solid;
    outline-offset: -1px;
    border-radius: 0.875rem;
    box-shadow: 0 1px 0.5px rgba(24, 24, 24, 0.05);
    transition: outline-color 0.2s var(--ease);
}

.m-input:focus {
    outline-color: #A3A3A3;
}

.m-input::placeholder {
    color: #A3A3A3;
}

.m-input.link-file {
    padding: 4px 6px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.m-input.link-file::file-selector-button {
    background: #F7F7F7;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    color: #5C5C5C;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    font-family: inherit;
    font-size: 0.75rem;
    cursor: pointer;
    margin-right: 0.5rem;
    transition: background 0.15s ease;
}

.m-input.link-file::file-selector-button:hover {
    background: #EBEBEB;
}

.m-input.link-file::-webkit-file-upload-button {
    background: #F7F7F7;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    color: #5C5C5C;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    font-family: inherit;
    font-size: 0.75rem;
    cursor: pointer;
    margin-right: 0.5rem;
    transition: background 0.15s ease;
}

.m-input.link-file::-webkit-file-upload-button:hover {
    background: #EBEBEB;
}

.m-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.m-helper {
    margin-top: 0.625rem;
    font-size: 0.75rem;
    color: var(--ink-3);
    letter-spacing: -0.003em;
    line-height: 1.5;
}

.m-char-count {
    font-size: 0.6875rem;
    color: var(--ink-3);
    letter-spacing: -0.003em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.m-photo-upload {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.25rem 0;
}

.m-photo-preview {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: var(--ink);
    color: white;
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.m-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-photo-edit-actions {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}

.m-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.25rem;
    border: none;
    transition: all 0.2s var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 3.75rem;
}

.m-btn-primary {
    background: #262626;
    color: white;
}

.m-btn-primary:hover {
    background: #1a1a1a;
}

.m-btn-primary:disabled {
    background: #F5F5F5;
    color: #A3A3A3;
    cursor: not-allowed;
}

.m-btn-secondary {
    background: white;
    color: #5C5C5C;
    outline: 1px #D1D1D1 solid;
    outline-offset: -1px;
    box-shadow: 0 1px 0.5px rgba(24, 24, 24, 0.05);
}

.m-btn-secondary:hover {
    outline-color: #A3A3A3;
    color: #333333;
}

.m-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Rate Grid & Clean Modal */
.m-card-clean {
    padding: 0;
}

.m-clean-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.375rem 1.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.m-clean-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.m-clean-close {
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    background: transparent;
    color: var(--ink-3);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.15s;
}

.m-clean-close:hover {
    background: var(--muted-tint);
    color: var(--ink);
}

.m-clean-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.m-clean-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-top: 1px #EBEBEB solid;
    background: white;
    border-radius: 0 0 1.5rem 1.5rem;
}

.m-section+.m-section {
    margin-top: 1.75rem;
}

.m-rate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.625rem;
}

.m-rate-card {
    background: var(--section-bg);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
    padding: 0.875rem 0.875rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    transition: all 0.15s;
}

.m-rate-card:focus-within {
    border-color: var(--ink-3);
    background: white;
}

.m-rate-card-label {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    line-height: 1;
}

.m-rate-input-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.1875rem;
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.1;
}

.m-rate-sym {
    color: var(--ink-3);
}

.m-rate-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font: inherit;
    color: inherit;
}

.m-rate-suffix {
    font-size: 0.71875rem;
    color: var(--ink-3);
}

/* Availability */
.m-avail-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.m-avail-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: white;
    border: none;
    outline: 1px #EBEBEB solid;
    outline-offset: -1px;
    border-radius: 1.25rem;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: outline-color 0.15s, background 0.15s;
}

.m-avail-option[aria-pressed="true"] {
    outline: 1px #262626 solid;
}

.m-avail-option:hover {
    background: #FAFAFA;
}

.m-avail-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
    margin: 2px;
}

.m-avail-option[data-value="Available"] .m-avail-dot {
    background: #17B26A;
    box-shadow: 0 0 0 1.5px #D3F8E0;
}

.m-avail-option[data-value="Limited"] .m-avail-dot {
    background: #EF6820;
    box-shadow: 0 0 0 1.5px #FEF6EE;
}

.m-avail-option[data-value="BookedOut"] .m-avail-dot {
    background: #FB3748;
    box-shadow: 0 0 0 1.5px #FFF1F2;
}

.m-avail-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.m-avail-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333333;
    line-height: 1.25rem;
}

.m-avail-sub {
    font-size: 0.75rem;
    color: #5C5C5C;
    line-height: 1rem;
}

.m-avail-check {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    outline: 1px #D1D1D1 solid;
    outline-offset: -1px;
    background: white;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, outline-color 0.15s;
}

.m-avail-option[aria-pressed="true"] .m-avail-check {
    background: #262626;
    outline-color: #262626;
}

.m-avail-check::after {
    content: "";
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: opacity 0.15s;
}

.m-avail-option[aria-pressed="true"] .m-avail-check::after {
    opacity: 1;
}

/* Experience options */
.m-exp-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: white;
    border: none;
    outline: 1px #EBEBEB solid;
    outline-offset: -1px;
    border-radius: 1.25rem;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: outline-color 0.15s, background 0.15s;
}

.m-exp-option[aria-pressed="true"] {
    outline: 1px #262626 solid;
}

.m-exp-option:hover {
    background: #FAFAFA;
}

.m-exp-option-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.m-exp-option-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333333;
    line-height: 1.25rem;
}

.m-exp-option-sub {
    font-size: 0.75rem;
    color: #5C5C5C;
    line-height: 1rem;
}

.m-exp-radio {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    outline: 1px #D1D1D1 solid;
    outline-offset: -1px;
    background: white;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, outline-color 0.15s;
}

.m-exp-option[aria-pressed="true"] .m-exp-radio {
    background: #262626;
    outline-color: #262626;
}

.m-exp-radio::after {
    content: "";
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: opacity 0.15s;
}

.m-exp-option[aria-pressed="true"] .m-exp-radio::after {
    opacity: 1;
}

/* Rate cards (pricing modal) */
.m-rate-cards {
    display: flex;
    gap: 0.75rem;
}

.m-figma-rate-card {
    flex: 1;
    padding: 0.75rem;
    background: white;
    outline: 1px #EBEBEB solid;
    outline-offset: -1px;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: outline-color 0.15s;
}

.m-figma-rate-card.is-active {
    outline: 1px #262626 solid;
}

.m-figma-rate-label {
    font-size: 0.875rem;
    color: #7B7B7B;
    line-height: 1.25rem;
}

.m-figma-rate-amount-row {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.m-figma-rate-sym {
    font-size: 1.25rem;
    color: #1C1C1C;
    line-height: 1.875rem;
}

.m-figma-rate-input {
    font-size: 1.25rem;
    color: #1C1C1C;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    width: 100%;
    line-height: 1.875rem;
}

.m-figma-rate-input::placeholder {
    color: #A3A3A3;
}

.m-figma-rate-period {
    font-size: 0.75rem;
    color: #A3A3A3;
    line-height: 1rem;
}

/* Payment modal */
.m-payment-section-label {
    font-size: 0.75rem;
    color: #A3A3A3;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.m-payment-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.m-payment-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 1rem;
}

.m-payment-row--selected {
    background: #F7F7F7;
}

.m-payment-row--selected .m-payment-name {
    color: #1C1C1C;
}

.m-payment-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.m-payment-drag {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A3A3A3;
    cursor: grab;
    transition: color 0.15s;
    padding: 0.25rem;
}

.m-payment-drag:hover {
    color: #1C1C1C;
}

.m-payment-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.75rem;
    outline: 1px #EBEBEB solid;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: white;
    box-shadow: 0 1px 0.5px rgba(24, 24, 24, 0.05);
}

.m-payment-name {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    color: #7B7B7B;
}

.m-payment-action {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A3A3A3;
    flex-shrink: 0;
    transition: color 0.15s;
    padding: 0.25rem;
}

.m-payment-action:hover {
    color: #1C1C1C;
}

.m-payment-remove {
    background: #F7F7F7;
}

.m-payment-add {
    background: transparent;
}

.m-payment-info {
    background: #F5F5F5;
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: #333333;
    line-height: 1.25rem;
}

/* External profiles modal */
.m-profiles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.m-profiles-header-label {
    font-size: 0.75rem;
    color: #A3A3A3;
}

.m-profiles-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.m-profile-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #F7F7F7;
    border-radius: 1rem;
    padding: 0.75rem;
}

.m-profile-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.m-profile-card-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1C1C1C;
}

.m-profile-card-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.m-profile-card-drag,
.m-profile-card-remove {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.375rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #A3A3A3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    transition: color 0.15s, background-color 0.15s;
}

.m-profile-card-drag {
    cursor: grab;
}

.m-profile-card-remove:hover {
    color: #1C1C1C;
    background-color: #EBEBEB;
}

.m-profile-card-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-family: inherit;
    font-size: 0.875rem;
    color: #1C1C1C;
    background: white;
    border: none;
    outline: 1px #D1D1D1 solid;
    outline-offset: -1px;
    border-radius: 0.875rem;
    box-shadow: 0 1px 0.5px rgba(24, 24, 24, 0.05);
    transition: outline-color 0.2s var(--ease);
}

.m-profile-card-input:focus {
    outline-color: #A3A3A3;
}

.m-profile-card-input::placeholder {
    color: #A3A3A3;
}

.m-platform-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.m-platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.5rem 0.375rem 0.375rem;
    border-radius: 0.75rem;
    outline: 1px #D1D1D1 solid;
    outline-offset: -1px;
    background: white;
    box-shadow: 0 1px 0.5px rgba(24, 24, 24, 0.05);
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #A3A3A3;
    font-family: inherit;
    transition: outline-color 0.15s, color 0.15s;
}

.m-platform-chip:hover {
    outline-color: #262626;
    color: #262626;
}

.m-platform-chip svg {
    color: #A3A3A3;
    transition: color 0.15s;
}

.m-platform-chip:hover svg {
    color: #262626;
}

/* Collaboration modal */
.m-collab-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.m-collab-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    background: transparent;
}

.m-collab-email {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1C1C1C;
}

.m-collab-status {
    font-size: 0.875rem;
    font-weight: 500;
}

.m-collab-revoke {
    background: none;
    border: none;
    cursor: pointer;
    color: #A3A3A3;
    padding: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.m-collab-revoke:hover {
    color: #FB3748;
}

.m-request-collab-btn {
    width: 100%;
    padding: 0.625rem;
    border-radius: 1rem;
    outline: 1px #D1D1D1 solid;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333333;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: outline-color 0.15s;
}

.m-request-collab-btn:hover {
    outline-color: #262626;
}

/* Mobile Adaptations */
@media (max-width: 37.5rem) {
    .portfolio-main-page {
        padding: 0;
        display: block;
    }

    .page {
        padding: 2.5rem 1rem 4rem;
    }

    .m-backdrop {
        padding: 0;
        align-items: flex-end;
    }

    .m-card {
        border-radius: 1.5rem 1.5rem 0 0;
        padding: 0;
        max-width: 100%;
    }

    .m-card::before {
        content: "";
        position: absolute;
        top: 0.625rem;
        left: 50%;
        transform: translateX(-50%);
        width: 2rem;
        height: 0.25rem;
        background: #D1D1D1;
        border-radius: 2px;
        z-index: 1;
    }

    .m-dialog-header {
        padding-top: 1.625rem;
    }
}

.m-add-btn {
    width: 100%;
    background: white;
    border: none;
    outline: 1px #D1D1D1 solid;
    outline-offset: -1px;
    border-radius: 1rem;
    padding: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #333333;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.m-add-btn:hover {
    outline-color: #262626;
    background: #FAFAFA;
}

.m-add-btn svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* ════════════════════════════════════════════════════════════════════════
   EXTENDED MOBILE RESPONSIVENESS
   ════════════════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 48rem) ── */
@media (max-width: 48rem) {


    .mc-title {
        font-size: 1.75rem;
    }

    .m-rate-grid {
        gap: 0.5rem;
    }

    .m-rate-card {
        padding: 0.75rem 0.75rem 0.625rem;
    }

    .m-rate-input-wrap {
        font-size: 1.125rem;
    }

    /* Project modal — take more width */
    .pm-modal {
        max-width: 94vw;
    }

    /* Rate cells — already 3-col, reduce padding */
    .rate-cells {
        gap: 0.25rem;
    }

    .rate-cell {
        padding: 0.875rem 0.5rem 0.75rem;
    }

    .rate-cell-val {
        font-size: 1.125rem;
    }
}

/* ── Small phones (≤ 30rem) ── */
@media (max-width: 30rem) {


    .mc-title {
        font-size: 1.5rem;
    }

    .mc-url-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
    }

    .mc-pills {
        gap: 0.3125rem;
    }

    .mc-pill {
        font-size: 0.65625rem;
        padding: 0.375rem 0.625rem 0.375rem 0.5625rem;
    }

    /* Rate grid → 2 columns on very small screens */
    .m-rate-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rate-cells {
        grid-template-columns: 1fr;
        gap: 0.375rem;
    }

    .rate-cell {
        padding: 0.875rem 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .rate-cell-label {
        margin-bottom: 0;
    }

    .rate-cell-val {
        font-size: 1.25rem;
    }

    /* Input groups stack */
    .m-input-group {
        grid-template-columns: 1fr;
    }

    /* Modal form fields smaller padding */
    .m-field {
        margin-bottom: 1.125rem;
    }

    .m-input {
        padding: 0.6875rem 0.875rem;
        font-size: 0.84375rem;
    }

    .m-title {
        font-size: 1.25rem;
    }

    .m-text {
        font-size: 0.78125rem;
    }

    /* Photo upload — stack on mobile */
    .m-photo-upload {
        flex-direction: column;
        align-items: center;
        gap: 0.875rem;
        text-align: center;
    }

    .m-photo-edit-actions {
        align-items: center;
    }

    /* Actions — stack buttons */
    .m-actions {
        flex-direction: column-reverse;
        gap: 0.375rem;
    }

    .m-actions .m-btn {
        width: 100%;
        justify-content: center;
    }

    /* Work proof featured cards — simplify */
    .wp-featured-card {
        grid-template-columns: 3rem 1fr auto;
        gap: 0.625rem;
        padding: 0.375rem;
    }

    .wp-featured-cover {
        width: 3rem;
        height: 3rem;
    }

    .wp-featured-title {
        font-size: 0.78125rem;
    }

    /* Work proof list items */
    .wp-list-item {
        grid-template-columns: 2.375rem 1fr auto;
        gap: 0.625rem;
        padding: 0.5rem 0.375rem;
    }

    .wp-list-cover {
        width: 2.375rem;
        height: 2.375rem;
    }

    .wp-list-title {
        font-size: 0.75rem;
    }

    /* Packages stack */
    .pkg {
        padding: 0.875rem 0.875rem 0.75rem;
    }

    .pkg-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .pkg-price {
        font-size: 1.0625rem;
    }

    /* Payment rows */
    .pay-row {
        grid-template-columns: 2rem 1fr;
        gap: 0.625rem;
        padding: 0.625rem;
    }

    .pay-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.65625rem;
    }

    /* External profile rows */
    .ext-row {
        grid-template-columns: 2rem 1fr auto;
        gap: 0.625rem;
        padding: 0.625rem;
    }

    .ext-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.65625rem;
    }

    /* Project modal — full screen on phones */
    .project-modal {
        padding: 0;
    }

    .pm-modal {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .pm-body {
        padding: 1.375rem 1.125rem 1.75rem;
    }

    .pm-title {
        font-size: 1.25rem;
    }

    /* Video box — full width */
    .vidbox-frame {
        max-width: 100%;
        border-radius: 0;
    }

    /* Sheet overlay — already bottom sheet at 32.5rem, refine further */
    .sheet-body {
        padding: 1.125rem;
    }

    /* Lightbox */
    .lightbox {
        padding: 1.25rem 0.75rem 2.5rem;
    }

    /* Clean modal variant */
    .m-clean-header {
        padding: 1.125rem 1.25rem 1rem;
    }

    .m-clean-body {
        padding: 1.25rem;
    }

    .m-clean-actions {
        padding: 0.875rem 1.25rem 1rem;
        flex-direction: column-reverse;
        gap: 0.375rem;
    }

    .m-clean-actions .m-btn {
        width: 100%;
        justify-content: center;
    }

    /* Zone edit badges — slightly larger for touch */
    .zone-edit {
        width: 1.875rem;
        height: 1.875rem;
    }

    .zone-edit svg {
        width: 0.8125rem;
        height: 0.8125rem;
    }

    /* Card back adjustments */
    .card-back {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .card-back-name {
        font-size: 1.375rem;
    }

    .card-back-qr {
        width: 8.75rem;
        height: 8.75rem;
        padding: 0.75rem;
    }

    .card-back-btn {
        padding: 0.75rem 0.875rem;
        font-size: 0.78125rem;
    }

    /* Skill tags wrap better */
    .skill-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.3125rem;
    }

    .skill-tag {
        margin-right: 0;
        margin-bottom: 0;
    }

    /* Clients aggregate */
    .clients-aggregate {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .clients-cell+.clients-cell {
        border-left: none;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 0.875rem;
        margin-top: 0.875rem;
    }

    /* Toast — full width on mobile */
    .toast {
        left: 1rem;
        right: 1rem;
        transform: translateY(6.25rem);
        border-radius: 0.875rem;
    }

    .toast.is-visible {
        transform: translateY(0);
    }
}

/* ── Tiny phones (≤ 22.5rem) ── */
@media (max-width: 22.5rem) {
    .page {
        padding: 1.75rem 0.75rem 3rem;
    }

    .head {
        padding: 1.5rem 1rem 1.125rem;
    }

    .name {
        font-size: 1.375rem;
    }

    .claim {
        font-size: 0.8125rem;
    }

    .work-header {
        padding: 0.875rem 0.875rem 0.75rem;
    }

    .thumbs {
        padding: 0 0.5rem 0.5rem;
        gap: 0.25rem;
    }

    .rows {
        padding: 2px 0.625rem;
    }

    .row {
        padding: 0.5625rem 0.5rem;
        gap: 0.5rem;
    }

    .actions {
        padding: 0.75rem 1rem 0.625rem;
    }

    .m-card {
        padding: 0;
    }

    .m-rate-grid {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════════════════════════════════════
   OWNER CARD — matches Figma "Create Card" design
   ════════════════════════════════════════════════════════════════════════ */

/* Success bar (published successfully) */
.oc-success-bar {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0.625rem;
    margin-bottom: 0.875rem;
    font-size: 0.84375rem;
    font-weight: 500;
    color: #15803d;
    letter-spacing: -0.005em;
}

.oc-success-bar svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #16a34a;
}

.oc-success-bar-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #16a34a;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    opacity: 0.65;
    transition: opacity 0.15s;
}

.oc-success-bar-close:hover {
    opacity: 1;
}

.oc-success-bar-close svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Card container */
.oc-card {
    width: 100%;
    background: white;
    border-radius: 2rem;
    outline: 1px #EBEBEB solid;
    outline-offset: -1px;
    box-shadow: 0 1px 0.5px rgba(24, 24, 24, 0.05);
    margin-bottom: 0.625rem;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
}

/* ── Profile header ── */
.oc-profile {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem;
    width: 100%;
    background: white;
    border: none;
    outline: 1px #EBEBEB solid;
    outline-offset: -1px;
    border-radius: 1.5rem;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s var(--ease);
    position: relative;
}

.oc-profile:hover {
    background: #FAFAFA;
}

.oc-profile--empty {
    background: #F7F7F7;
    outline: 1px #D1D1D1 solid;
    border-radius: 1.25rem;
}

.oc-avatar {
    width: 5.25rem;
    height: 5.25rem;
    border-radius: 50%;
    background: #000000;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.96875rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.oc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oc-profile-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oc-profile-name {
    font-size: 1.125rem;
    font-weight: 500;
    color: #262626;
    line-height: 1.25;
}

.oc-profile-claim {
    font-size: 0.875rem;
    color: #7B7B7B;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oc-profile-claim--empty {
    color: #A3A3A3;
}

.oc-profile-meta {
    font-size: 0.75rem;
    color: #A3A3A3;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* KYC badge and warning pills */
.kyc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    border-radius: 624.9375rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    width: fit-content;
    margin-top: 0.5rem;
    text-align: left;
    background: transparent;
    font-family: inherit;
    text-decoration: none;
    outline: none;
}

.kyc-badge--yellow {
    background-color: #FFFBEB;
    border-color: #FDE68A;
    color: #B45309;
}

.kyc-badge--yellow:hover {
    background-color: #FEF3C7;
    border-color: #FCD34D;
}

.kyc-badge--red {
    background-color: #FEF2F2;
    border-color: #FECACA;
    color: #B91C1C;
}

.kyc-badge--red:hover {
    background-color: #FEE2E2;
    border-color: #FCA5A5;
}

.kyc-badge--disabled {
    cursor: default;
    pointer-events: none;
}

.kyc-chevron {
    width: 0.625rem;
    height: 0.625rem;
    flex-shrink: 0;
    stroke-width: 2.5;
}

/* Shared "Edit >" / "Add +" action button inside rows */
.oc-section-action {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #7B7B7B;
    flex-shrink: 0;
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s var(--ease);
}

.oc-section-action:hover {
    color: #262626;
}

.oc-section-action svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* ── Work section ── */
.oc-work {
    background: white;
    border-radius: 1.25rem;
    outline: 1px #EBEBEB solid;
    outline-offset: -1px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.oc-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.oc-section-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #262626;
}

.oc-thumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.oc-thumb {
    width: calc((100% - 1rem) / 3);
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    overflow: hidden;
    background: #EBEBEB;
    outline: 2px white solid;
    box-shadow: 0 1px 2px rgba(51, 51, 51, 0.04);
}

.oc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oc-thumb-placeholder {
    background: #1C1C1C;
    color: #F5F5F5;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 0.875rem;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-align: left;
}

.oc-work-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3125rem;
    padding: 1.5rem 1rem;
}

.oc-work-empty-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: #A3A3A3;
    margin-bottom: 2px;
}

.oc-work-empty-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333333;
}

.oc-work-empty-sub {
    font-size: 0.75rem;
    color: #5C5C5C;
}

/* ── Row sections ── */
.oc-rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.oc-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    height: 3.5rem;
    background: white;
    border: none;
    outline: 1px #EBEBEB solid;
    outline-offset: -1px;
    border-radius: 1.25rem;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    width: 100%;
    transition: background 0.15s var(--ease);
}

.oc-row:hover {
    background: #FAFAFA;
}

.oc-row-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #333333;
    flex: 1;
}

.oc-row-val {
    font-size: 0.75rem;
    font-weight: 500;
    color: #7B7B7B;
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    flex-shrink: 0;
}

.oc-row-val--set {
    color: #1C1C1C;
}

.oc-error-text {
    color: #E9192B !important;
}

.oc-error-icon {
    color: #E9192B !important;
    stroke: #E9192B !important;
}

.oc-avail-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #17B26A;
    flex-shrink: 0;
}

.oc-avail-dot--limited {
    background: #EF6820;
}

.oc-avail-dot--booked {
    background: #FB3748;
}

.oc-row-icon {
    width: 1rem;
    height: 1rem;
    color: #A3A3A3;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.oc-row-icon svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* ── Footer action buttons ── */
.oc-footer {
    display: flex;
    gap: 0.625rem;
    width: 100%;
    max-width: 34.8rem;
    margin: 0 auto;
}

.oc-btn-preview {
    flex: 1;
    padding: 0.5rem;
    background: white;
    color: #5C5C5C;
    outline: 1px #D1D1D1 solid;
    outline-offset: -1px;
    border: none;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: outline-color 0.2s var(--ease), background 0.2s var(--ease);
}

.oc-btn-preview:hover {
    outline-color: #A3A3A3;
    background: #FAFAFA;
}

.oc-btn-publish {
    flex: 1;
    padding: 0.5rem;
    background: #262626;
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s var(--ease);
}

.oc-btn-publish:hover {
    background: #1a1a1a;
}

.oc-btn-publish:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Username / New Card modal ── */
.nc-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(1rem) saturate(140%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.nc-card {
    background: white;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 27.5rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(24, 24, 24, 0.06), 0 1px 0.1875rem rgba(24, 24, 24, 0.10);
    outline: 1px #F5F5F5 solid;
    outline-offset: -1px;
}

.nc-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px #EBEBEB solid;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1C1C1C;
}

.nc-body {
    padding: 1.25rem;
}

.nc-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1C1C1C;
    line-height: 1.25;
    margin-bottom: 0.375rem;
}

.nc-sub {
    font-size: 0.8125rem;
    color: #5C5C5C;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.nc-input-wrap {
    position: relative;
    margin-bottom: 0.5rem;
}

.nc-input {
    width: 100%;
    padding: 0.5rem 2.75rem 0.5rem 0.75rem;
    font-family: inherit;
    font-size: 0.875rem;
    color: #1C1C1C;
    background: white;
    border: none;
    outline: 1px #D1D1D1 solid;
    outline-offset: -1px;
    border-radius: 0.875rem;
    box-shadow: 0 1px 0.5px rgba(24, 24, 24, 0.05);
    transition: outline-color 0.2s var(--ease);
}

.nc-input:focus {
    outline-color: #A3A3A3;
}

.nc-input--error {
    outline-color: #E91A2B !important;
}

.nc-input--success {
    outline-color: #17B26A !important;
}

.nc-input-icon {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.125rem;
    height: 1.125rem;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.nc-input-icon--check {
    color: #22c55e;
}

.nc-input-icon--check.is-visible {
    display: flex;
}

.nc-helper {
    font-size: 0.75rem;
    color: var(--ink-3);
    letter-spacing: -0.003em;
    line-height: 1.5;
    margin-bottom: 0.625rem;
}

.nc-feedback {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    margin-bottom: 0.75rem;
}

.nc-feedback.is-visible {
    display: flex;
}

.nc-feedback--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.nc-feedback--success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.nc-feedback svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.nc-submit {
    width: 100%;
    padding: 0.625rem;
    background: #262626;
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s var(--ease), opacity 0.2s;
    margin-top: 0.25rem;
}

.nc-submit:hover:not(:disabled) {
    background: #1a1a1a;
}

.nc-submit:disabled {
    background: #F5F5F5;
    color: #A3A3A3;
    cursor: not-allowed;
}

/* ── Mobile adjustments ── */
@media (max-width: 37.5rem) {
    .oc-footer {
        gap: 0.5rem;
    }

    .oc-btn-preview,
    .oc-btn-publish {
        font-size: 0.84375rem;
        padding: 0.8125rem 0.75rem;
        border-radius: 0.625rem;
    }

    .oc-card {
        border-radius: 1.5rem;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .oc-profile {
        padding: 0.75rem;
        gap: 0.75rem;
        border-radius: 1.25rem;
    }

    .oc-profile--empty {
        border-radius: 1rem;
    }

    .oc-avatar {
        width: 4rem;
        height: 4rem;
        font-size: 1.5rem;
    }

    .oc-profile-name {
        font-size: 1rem;
    }

    .oc-work {
        padding: 0.75rem;
    }

    .oc-thumbs {
        gap: 0.375rem;
    }

    .oc-thumb {
        width: calc((100% - 0.75rem) / 3);
    }

    .oc-row {
        padding: 0.75rem;
        height: auto;
        min-height: 3rem;
    }

    .oc-work-empty {
        padding: 1.25rem 0.75rem;
    }

    .nc-card {
        border-radius: 1rem;
    }
}

/* TomSelect overrides for .m-input to match standard input design */
.ts-wrapper.m-input,
#projectSkillsSelect+.ts-wrapper,
#skillsSelect+.ts-wrapper {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.ts-wrapper.m-input .ts-control,
#projectSkillsSelect+.ts-wrapper .ts-control,
#skillsSelect+.ts-wrapper .ts-control {
    width: 100% !important;
    padding: 0.5rem 0.75rem !important;
    font-family: inherit !important;
    font-size: 0.875rem !important;
    color: #1C1C1C !important;
    background: white !important;
    border: none !important;
    outline: 1px #D1D1D1 solid !important;
    outline-offset: -1px !important;
    border-radius: 1rem !important;
    box-shadow: 0 1px 0.5px rgba(24, 24, 24, 0.05) !important;
    transition: outline-color 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
    min-height: 2.375rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.25rem !important;
    cursor: text !important;
}

.ts-wrapper.m-input.focus .ts-control,
#projectSkillsSelect+.ts-wrapper.focus .ts-control,
#skillsSelect+.ts-wrapper.focus .ts-control {
    outline-color: #A3A3A3 !important;
}

.ts-wrapper.m-input.disabled .ts-control {
    background: #F5F5F5 !important;
    color: #A3A3A3 !important;
    cursor: not-allowed !important;
}

.ts-wrapper.m-input .ts-control>input,
#projectSkillsSelect+.ts-wrapper .ts-control>input,
#skillsSelect+.ts-wrapper .ts-control>input {
    font-family: inherit !important;
    font-size: 0.875rem !important;
    color: #1C1C1C !important;
    min-width: 8rem !important;
    height: 1.5rem !important;
    flex: 1 !important;
}

.ts-wrapper.m-input .ts-dropdown,
#projectSkillsSelect+.ts-wrapper .ts-dropdown,
#skillsSelect+.ts-wrapper .ts-dropdown {
    border-radius: 0.875rem !important;
    box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #EBEBEB !important;
    margin-top: 0.25rem !important;
    z-index: 2000 !important;
    background: white !important;
}

.ts-wrapper.m-input .ts-dropdown .option,
#projectSkillsSelect+.ts-wrapper .ts-dropdown .option,
#skillsSelect+.ts-wrapper .ts-dropdown .option {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8125rem !important;
    cursor: pointer !important;
}

.ts-wrapper.m-input .ts-dropdown .active,
#projectSkillsSelect+.ts-wrapper .ts-dropdown .active,
#skillsSelect+.ts-wrapper .ts-dropdown .active {
    background-color: #F5F5F5 !important;
    color: #1C1C1C !important;
}

/* Multi-select pills styling matching Figma Tag */
.ts-wrapper.m-input .ts-control .item,
#projectSkillsSelect+.ts-wrapper .ts-control .item,
#skillsSelect+.ts-wrapper .ts-control .item {
    background: white !important;
    box-shadow: 0 1px 0.5px rgba(24, 24, 24, 0.05) !important;
    border-radius: 0.5rem !important;
    border: none !important;
    outline: 1px #D1D1D1 solid !important;
    outline-offset: -1px !important;
    padding: 2px 0.375rem !important;
    margin: 2px 0.25rem 2px 0 !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #1C1C1C !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}

.ts-wrapper.m-input .ts-control .item .remove,
#projectSkillsSelect+.ts-wrapper .ts-control .item .remove,
#skillsSelect+.ts-wrapper .ts-control .item .remove {
    border: none !important;
    border-left: none !important;
    margin-left: 0.125rem !important;
    padding: 0 !important;
    font-size: 0.75rem !important;
    color: #A3A3A3 !important;
    line-height: 1 !important;
}

.ts-wrapper.m-input .ts-control .item .remove:hover,
#projectSkillsSelect+.ts-wrapper .ts-control .item .remove:hover,
#skillsSelect+.ts-wrapper .ts-control .item .remove:hover {
    color: #1C1C1C !important;
    background: transparent !important;
}

/* ── Skills Dropdown (appended to <body> via dropdownParent) ─────────────── */
.bl-skills-dropdown {
    background: white !important;
    border: 1px solid #E8E8E8 !important;
    border-radius: 1rem !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10) !important;
    padding: 0.375rem 0 !important;
    z-index: 9999 !important;
    overflow: hidden !important;
    font-family: inherit !important;
}

.bl-skills-dropdown .ts-dropdown-content {
    padding: 0 !important;
    max-height: 16rem !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
}

/* Regular option row */
.bl-skills-dropdown .option {
    padding: 0.625rem 0.875rem !important;
    font-size: 0.875rem !important;
    font-family: inherit !important;
    font-weight: 400 !important;
    color: #1C1C1C !important;
    border-radius: 0.5rem !important;
    margin: 0 0.375rem !important;
    cursor: pointer !important;
    transition: background 0.12s ease !important;
}

/* Hover / keyboard-active state */
.bl-skills-dropdown .option.active,
.bl-skills-dropdown .option:hover {
    background: #F2F2F2 !important;
    color: #1C1C1C !important;
}

/* Already-selected options – subtly dimmed */
.bl-skills-dropdown .option.selected {
    color: #A3A3A3 !important;
    background: transparent !important;
}

/* "Add custom skill" create row ─ sits below a thin divider */
.bl-skills-dropdown .create.bl-create-option {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.625rem 0.875rem !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-top: 1px solid #EBEBEB !important;
    font-size: 0.875rem !important;
    font-family: inherit !important;
    color: #5C5C5C !important;
    cursor: pointer !important;
    transition: background 0.12s ease !important;
}

.bl-skills-dropdown .create.bl-create-option svg {
    flex-shrink: 0 !important;
    color: #A3A3A3 !important;
}

.bl-skills-dropdown .create.bl-create-option strong {
    font-weight: 600 !important;
    color: #1C1C1C !important;
}

.bl-skills-dropdown .create.bl-create-option.active,
.bl-skills-dropdown .create.bl-create-option:hover {
    background: #F2F2F2 !important;
    color: #3C3C3C !important;
}

/* Floating Error Toast Panel */
.error-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(1.25rem);
    background: #1C1C1C;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 62.4375rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2), 0 2px 0.375rem rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.error-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.error-toast:hover {
    background: #262626;
}

.error-toast-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #E9192B;
    box-shadow: 0 0 0 2px rgba(233, 25, 43, 0.2);
}

/* Premium Card Wrapper and Banner */
.oc-premium-wrapper {
    align-self: stretch;
    width: 100%;
    padding-top: 1rem;
    background: #E0E0E0;
    /* Darker background */
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.625rem;
}

.oc-premium-header {
    align-self: stretch;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.oc-premium-text {
    color: #5C5C5C;
    font-size: 0.875rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    line-height: 1.225rem;
}

.oc-premium-btn {
    height: 1.75rem;
    padding: 0.25rem 0.75rem;
    background: #000000;
    box-shadow: none;
    border-radius: 0.75rem;
    border: 1px solid #000000;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s;
}

.oc-premium-btn:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

/* ═══ ULTIMATE MOBILE SPACING REDUCTION OVERRIDES (width <= 37.5rem) ═══ */
@media (max-width: 37.5rem) {

    /* Editor Page Container */
    .portfolio-main-page {
        padding: 0.25rem 0.375rem !important;
    }

    .page {
        padding: 0.25rem 0.25rem 0.5rem !important;
    }

    .mc-top {
        margin-bottom: 0.25rem !important;
    }

    /* Premium Upgrade Banner */
    .oc-premium-wrapper {
        padding-top: 0.5rem !important;
        gap: 0.5rem !important;
        margin-bottom: 0.375rem !important;
        border-radius: 1rem !important;
    }

    .oc-premium-header {
        padding: 0 0.75rem !important;
        gap: 0.5rem !important;
    }

    .oc-premium-text {
        font-size: 0.6875rem !important;
        line-height: 1.3 !important;
    }

    .oc-premium-btn {
        height: 1.375rem !important;
        font-size: 0.625rem !important;
        padding: 2px 0.5rem !important;
        border-radius: 0.375rem !important;
    }

    /* Editor Card Structure */
    .oc-card {
        padding: 0.5rem !important;
        gap: 0.375rem !important;
        border-radius: 1rem !important;
    }

    .oc-profile {
        padding: 0.5rem 0.625rem !important;
        gap: 0.5rem !important;
        border-radius: 0.75rem !important;
    }

    .oc-avatar {
        width: 2.75rem !important;
        height: 2.75rem !important;
        font-size: 1rem !important;
    }

    .oc-profile-name {
        font-size: 0.875rem !important;
    }

    .oc-profile-claim {
        font-size: 0.71875rem !important;
    }

    .oc-profile-meta {
        font-size: 0.65625rem !important;
    }

    .kyc-badge {
        font-size: 0.625rem !important;
        padding: 0.25rem 0.5rem !important;
        margin-top: 0.25rem !important;
    }

    .kyc-chevron {
        width: 0.4375rem !important;
        height: 0.4375rem !important;
    }

    /* Work Section & Empty States in Editor */
    .oc-work {
        padding: 0.5rem 0.625rem !important;
        gap: 0.375rem !important;
        border-radius: 0.75rem !important;
    }

    .oc-work-empty {
        padding: 0.625rem 0.375rem !important;
        gap: 0.25rem !important;
    }

    .oc-work-empty-icon {
        width: 1.125rem !important;
        height: 1.125rem !important;
    }

    .oc-work-empty-title {
        font-size: 0.6875rem !important;
    }

    .oc-work-empty-sub {
        font-size: 0.625rem !important;
    }

    .oc-thumbs {
        gap: 0.25rem !important;
    }

    .oc-thumb {
        width: calc((100% - 0.5rem) / 3) !important;
    }

    .oc-rows {
        gap: 0.25rem !important;
    }

    /* Editor Row Lists */
    .oc-row {
        padding: 0.375rem 0.625rem !important;
        height: 2rem !important;
        min-height: 2rem !important;
        border-radius: 0.625rem !important;
        gap: 0.375rem !important;
    }

    .oc-row-label {
        font-size: 0.6875rem !important;
    }

    .oc-row-val {
        font-size: 0.65625rem !important;
        gap: 2px !important;
    }

    .oc-section-action {
        font-size: 0.65625rem !important;
        gap: 2px !important;
    }

    /* Editor Card Actions & Footer */
    .oc-footer {
        margin-top: 0.375rem !important;
        gap: 0.375rem !important;
    }

    .oc-btn-preview,
    .oc-btn-publish {
        padding: 0.5rem !important;
        font-size: 0.75rem !important;
        border-radius: 0.5rem !important;
    }

    /* Public View Card Front */
    .card {
        border-radius: 1rem !important;
    }

    .head {
        padding: 0.75rem 0.75rem 0.5rem !important;
    }

    .photo-wrap {
        width: 2.75rem !important;
        height: 2.75rem !important;
        margin: 0 auto 0.25rem !important;
    }

    .name {
        font-size: 1rem !important;
    }

    .claim {
        font-size: 0.71875rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.3 !important;
    }

    .caption {
        font-size: 0.625rem !important;
        gap: 2px !important;
    }

    .availability-wrap {
        margin-top: 0.25rem !important;
    }

    .availability {
        padding: 2px 0.375rem !important;
        font-size: 0.59375rem !important;
    }

    /* Public View Card Work Section */
    .work-section {
        margin: 0 0.375rem 0.375rem !important;
        border-radius: 0.5rem !important;
    }

    .work-header {
        padding: 0.375rem 0.5rem 0.25rem !important;
    }

    .work-header-title {
        font-size: 0.71875rem !important;
    }

    .work-header-meta {
        font-size: 0.625rem !important;
    }

    .thumbs {
        padding: 0 0.375rem 0.375rem !important;
        gap: 0.25rem !important;
    }

    .thumb {
        border-radius: 0.375rem !important;
    }

    .rows {
        padding: 0 0.375rem !important;
    }

    .row {
        padding: 0.375rem 0.5rem !important;
        gap: 0.375rem !important;
    }

    .row-label {
        font-size: 0.6875rem !important;
    }

    .row-val {
        font-size: 0.65625rem !important;
        gap: 2px !important;
    }

    /* Public View Card Actions */
    .actions {
        padding: 0.5rem 0.75rem 0.5rem !important;
        gap: 0.25rem !important;
    }

    .btn-primary {
        padding: 0.375rem !important;
        font-size: 0.6875rem !important;
        height: 1.75rem !important;
        border-radius: 0.875rem !important;
    }

    .btn-secondary {
        width: 1.75rem !important;
        height: 1.75rem !important;
    }

    /* Public View Card Back */
    .card-back {
        padding: 0.75rem 0.625rem 0.625rem !important;
        border-radius: 1rem !important;
    }

    .card-back-top {
        margin-bottom: 0.375rem !important;
    }

    .card-back-identity {
        margin-bottom: 0.375rem !important;
    }

    .card-back-name {
        font-size: 0.9375rem !important;
    }

    .card-back-claim {
        font-size: 0.6875rem !important;
    }

    .card-back-qr-wrap {
        margin-bottom: 0.375rem !important;
        gap: 0.25rem !important;
    }

    .card-back-qr {
        width: 6.25rem !important;
        height: 6.25rem !important;
        padding: 0.375rem !important;
    }

    .card-back-trust {
        margin-bottom: 0.375rem !important;
        font-size: 0.625rem !important;
    }

    .card-back-actions {
        gap: 0.25rem !important;
    }

    .card-back-btn {
        padding: 0.375rem 0.625rem !important;
        font-size: 0.6875rem !important;
    }

    .card-back-link {
        margin-top: 0.375rem !important;
    }

    /* Modal Spacing & Form Fields */
    .m-dialog-header {
        padding: 0.75rem 1rem !important;
        padding-top: 1.375rem !important;
    }

    .m-dialog-title {
        font-size: 0.8125rem !important;
        line-height: 1.125rem !important;
    }

    .m-dialog-sub {
        font-size: 0.6875rem !important;
        line-height: 0.875rem !important;
    }

    .m-dialog-content {
        padding: 0.75rem 1rem !important;
        gap: 0.75rem !important;
    }

    .m-dialog-footer {
        padding: 0.625rem 1rem !important;
        gap: 0.5rem !important;
    }

    .m-form {
        margin-top: 0.75rem !important;
    }

    .m-field {
        margin-bottom: 0.75rem !important;
    }

    .m-label {
        font-size: 0.71875rem !important;
        margin-bottom: 0.25rem !important;
    }

    .m-input {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8125rem !important;
        border-radius: 0.625rem !important;
    }

    .ts-wrapper.m-input .ts-control,
    #projectSkillsSelect+.ts-wrapper .ts-control,
    #skillsSelect+.ts-wrapper .ts-control {
        padding: 0.375rem 0.625rem !important;
        min-height: 2rem !important;
        border-radius: 0.625rem !important;
    }

    .ts-wrapper.m-input .ts-control>input {
        font-size: 0.8125rem !important;
    }

    .ts-wrapper.m-input .ts-control .item {
        font-size: 0.6875rem !important;
        padding: 1px 0.25rem !important;
        margin: 1px 2px 1px 0 !important;
    }

    .m-eyebrow {
        margin-bottom: 0.375rem !important;
    }

    .m-title {
        font-size: 1.125rem !important;
    }

    .m-text {
        margin-top: 0.375rem !important;
        font-size: 0.75rem !important;
    }

    .m-actions {
        margin-top: 0.75rem !important;
    }

    .m-clean-header {
        padding: 0.75rem 1rem !important;
    }

    .m-clean-body {
        padding: 0.75rem 1rem !important;
    }

    .m-clean-actions {
        padding: 0.625rem 1rem !important;
        gap: 0.375rem !important;
    }
}

/* Drag state feedback for external profiles */
.m-profile-card.dragging {
    opacity: 0.4;
    outline: 2px dashed #A3A3A3 !important;
    outline-offset: -2px;
    background: #EBEBEB !important;
}

/* Preview Mode Banner */
.preview-mode-banner {
    position: sticky;
    top: 3rem;
    z-index: 38;
    width: 100%;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(0.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
    animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    margin-bottom: 1.5rem;
}

.preview-mode-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 75rem;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.preview-mode-dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0.1875rem rgba(16, 185, 129, 0.25);
    display: inline-block;
}

.preview-mode-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
}

.preview-mode-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.71875rem;
    font-weight: 600;
    color: #1C1C1C;
    background-color: white;
    border: 1px solid white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.preview-mode-btn:hover {
    background-color: #F5F5F5;
    border-color: #F5F5F5;
}

@media (max-width: 37.5rem) {
    .preview-mode-banner {
        top: 2rem;
        padding: 0.375rem 0.75rem;
    }

    .preview-mode-text {
        font-size: 0.75rem;
    }

    .preview-mode-btn {
        font-size: 0.6875rem;
        padding: 0.1875rem 0.625rem;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Invite Friends Panel */
.oc-invite-panel {
    align-self: stretch;
    width: 100%;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 1.5rem;
    outline: 1px solid var(--border);
    outline-offset: -1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    border: none;
    margin-bottom: 0.9rem;
    transition: outline-color 0.2s var(--ease), background-color 0.2s;
}

.oc-invite-panel:hover {
    outline-color: #262626;
    background-color: #FAFAFA;
}

.oc-invite-panel-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.oc-invite-panel-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.oc-invite-panel-title {
    font-size: 1rem;
    font-weight: 500;
    color: #1C1C1C;
    font-family: 'Inter', sans-serif;
}

.oc-invite-panel-progress {
    font-size: 0.875rem;
    font-weight: 500;
    color: #5C5C5C;
    font-family: 'Inter', sans-serif;
    background: #F5F5F5;
    padding: 2px 0.5rem;
    border-radius: 62.4375rem;
    line-height: 1;
}

.oc-invite-panel-sub {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #7B7B7B;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.oc-invite-panel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    color: #A3A3A3;
    flex-shrink: 0;
}

.oc-invite-panel-arrow svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

@media (max-width: 37.5rem) {
    .oc-invite-panel {
        padding: 0.5rem 0.625rem !important;
        margin-bottom: 0.375rem !important;
        border-radius: 0.75rem !important;
        gap: 0.625rem !important;
    }

    .oc-invite-panel-title {
        font-size: 0.875rem !important;
    }

    .oc-invite-panel-sub {
        font-size: 0.71875rem !important;
    }

    .oc-invite-panel-progress {
        font-size: 0.6875rem !important;
        padding: 1px 0.375rem !important;
    }
}

/* Card Flip Fonts & Verified Tooltip Styles */
#cardFlip,
#cardFlip * {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

.IdVerifiedByBrainlancer {
    cursor: pointer;
}

.IdVerifiedByBrainlancer:hover .Tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, -0.5rem) !important;
}

/* Card Container Overrides */
.oc-card--no-margin {
    margin-bottom: 0 !important;
}

/* Profile Name Placeholder Override */
.oc-profile-name--placeholder {
    color: var(--ink-3) !important;
}

/* KYC Badges & Alert Prompts */
.oc-profile-kyc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    z-index: 10;
    white-space: nowrap;
}

.oc-profile-kyc-badge--pending {
    background: var(--amber-tint);
    border: 1px solid var(--amber);
    color: var(--amber);
}

.oc-profile-kyc-badge--declined {
    background: rgba(197, 34, 31, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.oc-kyc-alert-box {
    margin: 1rem 1.25rem;
    padding: 1rem;
    background: linear-gradient(to right, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.oc-kyc-alert-title {
    display: block;
    font-size: 0.9375rem;
    color: #1e3a8a;
}

.oc-kyc-alert-desc {
    color: #3b82f6;
    font-size: 0.8125rem;
}

.oc-kyc-alert-btn {
    color: white;
    border: none;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.8125rem;
    white-space: nowrap;
}

.oc-kyc-alert-btn--pending {
    background: #94a3b8;
}

.oc-kyc-alert-btn--action {
    background: #2563eb;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

/* Front Card Layout & Children */
.card-front {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
}

.Frame1410091532 {
    align-self: stretch;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    display: flex;
}

.AvatarImage {
    width: 5.5rem;
    height: 5.5rem;
    position: relative;
    flex-shrink: 0;
}

.User03-wrapper {
    width: 5.5rem;
    height: 5.5rem;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
}

.AvatarInitials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #475569;
}

.User03 {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    object-fit: cover;
}

.Frame1410091551 {
    flex: 1 1 0%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.375rem;
    display: flex;
    min-width: 0;
}

.Frame1410091553 {
    align-self: stretch;
    justify-content: flex-start;
    align-items: center;
    gap: 0.375rem;
    display: flex;
}

.Frame1410091545 {
    justify-content: flex-start;
    align-items: center;
    gap: 0.375rem;
    display: flex;
    min-width: 0;
}

.SonerC {
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #262626;
    font-size: 1.125rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.IdVerifiedByBrainlancer {
    width: 1rem;
    height: 1rem;
    position: relative;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-shrink: 0;
}

.PersonaIndicator {
    width: 1.125rem;
    height: 1.125rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.IdVerifiedByBrainlancer .Tooltip {
    width: 4.09rem;
    padding: 0.294rem 0.529rem;
    left: 50%;
    top: -1.484rem;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: #0A0A0A;
    box-shadow: 0px 3.76px 11.29px rgba(0, 0, 0, 0.18);
    border-radius: 0.353rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    transform: translate(-50%, 0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.IdVerified {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 0.647rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 500;
    line-height: 1.05;
    word-wrap: break-word;
}

.Tooltip .Border {
    width: 0.47rem;
    height: 0.235rem;
    left: 1.809rem;
    top: 1.268rem;
    position: absolute;
    border-left: 0.235rem #0A0A0A solid;
    border-top: 0.235rem #0A0A0A solid;
    border-right: 0.235rem #0A0A0A solid;
}

.oc-front-avail-wrapper {
    flex: 1 1 0%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 0.625rem;
    display: flex;
}

.Tag {
    padding: 0.25rem 0.5rem 0.25rem 0.375rem;
    background: #F7F7F7;
    box-shadow: 0px 1px 0.5px 0.05px rgba(24, 24, 24, 0.05);
    border-radius: 0.625rem;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    white-space: nowrap;
}

.Tag .Content {
    justify-content: flex-start;
    align-items: center;
    gap: 0.25rem;
    display: flex;
}

.Tag .Text {
    text-align: center;
    color: #5C5C5C;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1rem;
    word-wrap: break-word;
}

.DotIndicator {
    width: 0.5rem;
    height: 0.5rem;
    position: relative;
}

.DotIndicator .Dot {
    width: 0.375rem;
    height: 0.375rem;
    left: 0.0625rem;
    top: 0.0625rem;
    position: absolute;
    background: #17B26A;
    border-radius: 50%;
}

.DotIndicator .Dot.oc-avail-dot--limited {
    background: #F79009;
}

.DotIndicator .Dot.oc-avail-dot--booked {
    background: #F04438;
}

.Frame1410091550 {
    justify-content: flex-start;
    align-items: center;
    gap: 0.375rem;
    display: flex;
    width: 100%;
}

.Briefcase09 {
    width: 1rem;
    height: 1rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.BrandDesignForD2c {
    color: #7B7B7B;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.225rem;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.Frame1410091552 {
    justify-content: flex-start;
    align-items: center;
    gap: 0.375rem;
    display: flex;
    width: 100%;
}

.Location10 {
    width: 1rem;
    height: 1rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.NyNewYork {
    color: #7B7B7B;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.225rem;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oc-front-lang-wrapper {
    justify-content: flex-start;
    align-items: center;
    gap: 0.375rem;
    display: flex;
    width: 100%;
}

.LanguageSquare {
    width: 1rem;
    height: 1rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.EnglishGerman {
    color: #7B7B7B;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.225rem;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ContentDivider {
    align-self: stretch;
    height: 0.25rem;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    display: flex;
}

.ContentDivider .Divider {
    flex: 1 1 0%;
    height: 1px;
    background: #EBEBEB;
}

.Frame1410091523 {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    display: flex;
}

.WorksampleAttachmentFiles {
    align-self: stretch;
    padding: 1rem;
    background: #F7F7F7;
    overflow: hidden;
    border-radius: 1.25rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    display: flex;
}

.Frame1410091646 {
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    display: flex;
    flex-wrap: wrap;
}

.Tag--outline {
    background: white !important;
    border: 1px solid #D1D1D1 !important;
    box-shadow: 0px 1px 0.5px 0.05px rgba(24, 24, 24, 0.05);
}

.Tag--outline .Text {
    font-size: 0.6875rem !important;
}

.Tag .Svg svg {
    width: 0.5625rem;
    height: 0.5625rem;
}

.Image48 {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1rem;
    border: 2px solid white;
    box-shadow: 0px 1px 2px rgba(51, 51, 51, 0.04),
        0px 2px 4px rgba(51, 51, 51, 0.04),
        0px 4px 8px -2px rgba(51, 51, 51, 0.06),
        0px 0px 0px 1px rgba(51, 51, 51, 0.04),
        0px -1px 1px -0.5px rgba(51, 51, 51, 0.06) inset;
}

img.Image48 {
    object-fit: cover;
}

div.Image48 {
    background: #1C1C1C;
    color: #F5F5F5;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 0.875rem;
    box-sizing: border-box;
    overflow: hidden;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-align: left;
}

.oc-project-btn {
    width: calc((100% - 1rem) / 3);
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

button.oc-worked-with-row {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    outline: none;
}

.oc-view-all-row {
    align-self: stretch;
    justify-content: flex-end;
    display: flex;
    margin-top: -0.5rem;
}

.oc-view-all-btn {
    border: none;
    background: transparent;
    color: #5C5C5C;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.oc-worked-with-row {
    align-self: stretch;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    display: inline-flex;
    width: 100%;
}

.oc-worked-with-label {
    color: #7B7B7B;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1rem;
    word-wrap: break-word;
}

.oc-worked-with-spacer {
    flex: 1 1 0%;
    height: 1.1875rem;
}

.Zom {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.125rem;
    background: white;
    box-shadow: 0px 0.5px 0.25px 0.025px rgba(24, 24, 24, 0.05);
    border-radius: 0.375rem;
    border: 0.5px solid #D1D1D1;
    justify-content: center;
    align-items: center;
    display: flex;
}

.Zom img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
    border-radius: 0.25rem;
}

.Zom-fallback {
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    border-radius: 0.25rem;
    font-size: 0.5625rem;
    font-weight: bold;
    color: #4B5563;
    text-transform: uppercase;
}

.Zom--plus {
    background: #F9FAFB !important;
    border: 0.5px dashed #D1D1D1 !important;
    color: #4B5563;
    font-size: 0.625rem;
    font-weight: 600;
}

.collab-link {
    transition: color 0.15s ease;
}

.collab-link:hover {
    text-decoration: underline !important;
    color: #2563EB !important;
}

.Frame1410091578 {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    display: flex;
}

.oc-detail-row-btn {
    align-self: stretch;
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1.5px solid #F5F5F5;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    display: flex;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    overflow: hidden;
}

.oc-detail-row-label {
    flex-shrink: 0;
    color: #7B7B7B;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1rem;
    word-wrap: break-word;
}

.Frame1410091576 {
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    gap: 0.375rem;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    min-width: 0;
}

.Tag--pill {
    padding: 0.25rem 0.5rem;
    background: white;
    border-radius: 624.9375rem;
    border: 1px solid #EBEBEB;
    justify-content: center;
    align-items: center;
    display: flex;
    white-space: nowrap;
    min-width: 0;
    flex-shrink: 1;
}

.Tag--pill .Content {
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
}

.Tag--pill .Text {
    text-align: center;
    color: #5C5C5C;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oc-detail-row-plus {
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #A3A3A3;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.225rem;
    word-wrap: break-word;
    flex-shrink: 0;
}

.Frame1410091571 {
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.oc-rate-text {
    color: #1C1C1C;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.21875rem;
    word-wrap: break-word;
}

.oc-detail-row-sep {
    text-align: right;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #D1D1D1;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.25rem;
    word-wrap: break-word;
    margin: 0 0.25rem;
}

.StripePaypal {
    color: #A3A3A3;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.21875rem;
    word-wrap: break-word;
}

.LinkButtons {
    overflow: hidden;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    display: inline-flex;
    color: #1C1C1C;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: underline;
    line-height: 1rem;
    transition: color 0.15s ease;
}

a.LinkButtons:hover {
    color: #2563EB !important;
}

.oc-action-buttons-row {
    align-self: stretch;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.75rem;
    display: inline-flex;
    margin-top: 0.5rem;
}

#msgCardBtn {
    flex: 1 1 0%;
    padding: 0.75rem 1rem;
    background: #262626;
    border: none;
    overflow: hidden;
    border-radius: 0.75rem;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    display: flex;
    cursor: pointer;
}

#msgCardBtn span {
    color: white;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.25rem;
}

#flipToBack {
    padding: 0.75rem;
    background: white;
    border: 1px solid #D1D1D1;
    box-shadow: 0px 8px 16px rgba(255, 255, 255, 0.04) inset,
        0px -2px 8px rgba(24, 24, 24, 0.04) inset,
        0px 1px 0.5px rgba(24, 24, 24, 0.05),
        0px 2px 0px rgba(255, 255, 255, 0.04) inset;
    overflow: hidden;
    border-radius: 0.75rem;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    display: flex;
    cursor: pointer;
    flex-shrink: 0;
}

.oc-back-edit-btn-wrap {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.oc-back-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0f172a;
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 3.125rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: background 0.2s;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
}

/* Premium Dialog Layout */
.oc-upgrade-modal-card {
    max-width: 30rem !important;
    padding: 0 !important;
    border-radius: 1rem !important;
    overflow: hidden !important;
}

.oc-upgrade-modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem !important;
}

.oc-upgrade-modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #94a3b8;
    cursor: pointer;
}

.oc-upgrade-modal-title {
    margin: 0 !important;
    font-size: 1.125rem !important;
    color: #0f172a !important;
}

.oc-upgrade-modal-subtitle {
    margin: 0.25rem 0 0 0 !important;
    color: #64748b !important;
    font-size: 0.8125rem !important;
}

.oc-upgrade-modal-body {
    padding: 0 1.5rem 1.5rem 1.5rem !important;
}

.oc-upgrade-grid {
    display: grid !important;
    grid-template-columns: 2fr 1.2fr 1.2fr !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.75rem !important;
    overflow: hidden !important;
}

.oc-upgrade-grid-free-header {
    grid-column: 2 / 3 !important;
    padding: 1.25rem 1rem !important;
    background: white !important;
    text-align: center !important;
    color: #64748b !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
}

.oc-upgrade-grid-premium-header {
    background: #0a0a0a !important;
    padding: 1rem !important;
    color: white !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.oc-upgrade-premium-label {
    color: #6b7280 !important;
    font-size: 0.8125rem !important;
}

.oc-upgrade-premium-price {
    font-size: 1.125rem !important;
    font-weight: bold !important;
    margin-top: 0.125rem !important;
}

.oc-upgrade-premium-period {
    font-size: 0.75rem !important;
    font-weight: normal !important;
    color: #6b7280 !important;
}

.oc-upgrade-grid-cell {
    padding: 0.75rem 1rem !important;
    font-size: 0.75rem !important;
}

.oc-upgrade-grid-cell--label {
    background: white !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #5C5C5C !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
}

.oc-upgrade-grid-cell--label-muted {
    background: white !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #5C5C5C !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
}

.oc-upgrade-grid-cell--free {
    background: white !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #5C5C5C !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
}

.oc-upgrade-grid-cell--premium {
    background: #0a0a0a !important;
    border-bottom: 1px solid #262626 !important;
    color: white !important;
    font-weight: 500 !important;
}

.oc-upgrade-grid-cell--no-border {
    border-bottom: none !important;
}

.oc-upgrade-modal-footer {
    padding: 1rem 1.5rem !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    justify-content: flex-end !important;
}

#checkoutPremiumBtn {
    background: #000000 !important;
    color: white !important;
    padding: 0.625rem 1.25rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}

#checkoutPremiumBtn:hover {
    background-color: #1a1a1a !important;
}

/* Nav Upgrade Button */
.nav-upgrade-btn {
    height: 1.75rem;
    padding: 0rem 0.50rem;
    background: #000000;
    border-radius: 0.75rem;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    cursor: pointer;
    border: 1px solid #000000;
    transition: background-color 0.2s;
}

.nav-upgrade-btn:hover {
    background-color: #1a1a1a;
}

.oc-profile-kyc-badge svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Project thumbnail grid */
.Frame1410089258 {
    align-self: stretch;
    justify-content: center;
    align-items: stretch;
    gap: 0.5rem;
    display: flex;
}

/* Collaborators avatar container */
.oc-worked-with-avatars {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.375rem;
}

/* Share card button icon wrapper */
.oc-share-icon-wrap {
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card divider — dark grey dotted line */
.Line2 {
    width: 100%;
    border: none;
    border-top: 2px dashed #EBEBEB;
}

/* Portfolio Dashed */
.oc-is-empty-dashed {
    border-radius: var(--radius-3xl, 20px);
    border: 1px dashed var(--border-pastel-200, #EBEBEB);
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.2s ease;
}

.oc-is-empty-dashed:hover {
    background-color: #FAFAFA !important;
    outline: none !important;
}

.oc-avatar-empty-dashed {
    border-radius: var(--radius-3xl, 20px);
    border: 1px var(--border-pastel-200, #EBEBEB);
    background-color: #000000 !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 50%;
}