.my-listings-page {
    --ml-ink: #26183c;
    --ml-muted: #746d80;
    --ml-line: #e8e1ef;
    --ml-paper: #fffefa;
    --ml-wash: #f6f2fa;
    --ml-purple: #6d28d9;
    --ml-gold: #f0b323;
    min-height: calc(100vh - 4.25rem);
    padding: 1.45rem max(1rem, calc((100% - 1120px) / 2)) 3.5rem;
    color: var(--ml-ink);
    background:
        radial-gradient(ellipse at 92% 0%, rgba(234, 220, 255, .56), transparent 27rem),
        #f7f5f8;
}

.ml-shell {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.ml-breadcrumbs {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1.1rem;
    color: var(--ml-muted);
    font-size: .76rem;
    font-weight: 600;
}

.ml-breadcrumbs a {
    color: var(--ml-purple);
    text-decoration: none;
}

.ml-breadcrumbs a:hover { text-decoration: underline; }

.ml-breadcrumbs .ml-crumb-current { color: var(--ml-ink); }

.ml-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 1.9rem);
    border: 1px solid rgba(109, 40, 217, .12);
    border-radius: 1.15rem;
    background:
        linear-gradient(110deg, rgba(255, 254, 250, .98) 0%, rgba(255, 254, 250, .94) 72%, rgba(246, 238, 255, .96) 100%);
    box-shadow: 0 9px 28px rgba(45, 25, 68, .055);
}

.ml-hero::after {
    position: absolute;
    top: -3.3rem;
    right: 17%;
    width: 9rem;
    height: 9rem;
    border: 1px solid rgba(109, 40, 217, .09);
    border-radius: 50%;
    box-shadow: 0 0 0 1.15rem rgba(109, 40, 217, .025), 0 0 0 2.3rem rgba(109, 40, 217, .02);
    content: "";
    pointer-events: none;
}

.ml-hero-copy { position: relative; z-index: 1; min-width: 0; }

.ml-eyebrow {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 .45rem;
    color: var(--ml-purple);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .115em;
    text-transform: uppercase;
}

.ml-eyebrow i { color: #c58e0d; font-size: .72rem; }

.ml-hero h1 {
    margin: 0;
    color: var(--ml-ink);
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.12;
}

.ml-hero-copy > p:last-child {
    max-width: 39rem;
    margin: .45rem 0 0;
    color: var(--ml-muted);
    font-size: .85rem;
    line-height: 1.55;
}

.ml-hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .55rem;
}

.ml-button {
    display: inline-flex;
    min-height: 2.55rem;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    padding: .58rem .88rem;
    border: 1px solid transparent;
    border-radius: .68rem;
    font: inherit;
    font-size: .76rem;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

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

.ml-button:focus-visible,
.ml-filter:focus-visible,
.ml-search:focus-visible,
.ml-breadcrumbs a:focus-visible {
    outline: 3px solid rgba(240, 179, 35, .8);
    outline-offset: 3px;
}

.ml-button-primary {
    color: #fff;
    background: var(--ml-purple);
    box-shadow: 0 4px 11px rgba(109, 40, 217, .17);
}
.ml-button-primary:hover { background: #5720b3; }

.ml-button-quiet {
    color: #4f4164;
    border-color: #ded4e9;
    background: rgba(255, 255, 255, .76);
}
.ml-button-quiet:hover { border-color: #b8a4d1; background: #fff; }

.ml-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
    margin: .8rem 0;
}

.ml-overview-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    padding: .72rem .85rem;
    border: 1px solid var(--ml-line);
    border-radius: .78rem;
    background: rgba(255, 254, 250, .82);
}

.ml-overview-mark {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .63rem;
    color: #5e2daf;
    background: #f0e8fc;
    font-size: .77rem;
}

.ml-overview-item:nth-child(2) .ml-overview-mark {
    color: #087a53;
    background: #e0f3e8;
}
.ml-overview-item:nth-child(3) .ml-overview-mark {
    color: #946400;
    background: #fff0c9;
}

.ml-overview-copy { min-width: 0; }
.ml-overview-copy strong {
    display: block;
    color: var(--ml-ink);
    font-size: .97rem;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}
.ml-overview-copy span {
    display: block;
    margin-top: .16rem;
    color: var(--ml-muted);
    font-size: .68rem;
    line-height: 1.2;
}

.ml-workspace {
    overflow: hidden;
    border: 1px solid var(--ml-line);
    border-radius: .95rem;
    background: var(--ml-paper);
    box-shadow: 0 8px 24px rgba(45, 25, 68, .045);
}

.ml-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem .78rem;
    border-bottom: 1px solid #eee8f1;
}

.ml-toolbar-heading h2 {
    margin: 0;
    color: var(--ml-ink);
    font-family: var(--font-display);
    font-size: .96rem;
    letter-spacing: -.02em;
}
.ml-toolbar-heading p {
    margin: .16rem 0 0;
    color: var(--ml-muted);
    font-size: .69rem;
}

.ml-search-wrap {
    display: flex;
    width: min(18rem, 44%);
    min-height: 2.45rem;
    align-items: center;
    gap: .5rem;
    padding: 0 .68rem;
    border: 1px solid #ded7e5;
    border-radius: .63rem;
    color: #80768c;
    background: #fff;
}
.ml-search-wrap:focus-within {
    border-color: #9672c5;
    box-shadow: 0 0 0 3px rgba(109, 40, 217, .09);
}
.ml-search-wrap > i { font-size: .76rem; }
.ml-search {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--ml-ink);
    background: transparent;
    font: inherit;
    font-size: .75rem;
}
.ml-search::placeholder { color: #9a92a4; }

.ml-filters {
    display: flex;
    align-items: center;
    gap: .38rem;
    overflow-x: auto;
    padding: .68rem 1rem;
    border-bottom: 1px solid #f1edf3;
    scrollbar-width: thin;
}

.ml-filter {
    display: inline-flex;
    min-height: 1.95rem;
    flex: 0 0 auto;
    align-items: center;
    gap: .38rem;
    padding: .34rem .65rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #655c71;
    background: #f7f4f8;
    font: inherit;
    font-size: .68rem;
    font-weight: 700;
    cursor: pointer;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.ml-filter:hover { border-color: #e1d5ef; color: var(--ml-purple); }
.ml-filter[aria-pressed="true"] {
    border-color: #e0d2f2;
    color: #5522a3;
    background: #f1eafd;
}
.ml-filter-count {
    display: inline-grid;
    min-width: 1.05rem;
    height: 1.05rem;
    place-items: center;
    border-radius: 999px;
    color: inherit;
    background: rgba(255,255,255,.76);
    font-size: .59rem;
    font-variant-numeric: tabular-nums;
}

.ml-result-summary {
    padding: .62rem 1rem .4rem;
    color: #82798c;
    font-size: .67rem;
}

.ml-list {
    display: grid;
    padding: 0 .8rem .55rem;
}

.ml-card {
    display: grid;
    grid-template-columns: 4.2rem minmax(0, 1fr) minmax(8rem, .42fr) auto;
    align-items: center;
    gap: .85rem;
    min-width: 0;
    padding: .76rem .2rem;
    border-bottom: 1px solid #f0ebf3;
    animation: ml-arrive .25s ease both;
}
.ml-card:last-child { border-bottom: 0; }

.ml-thumb {
    position: relative;
    display: grid;
    width: 4.2rem;
    height: 4.2rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid #ece5f1;
    border-radius: .7rem;
    color: #8558be;
    background:
        linear-gradient(145deg, #f4ebff, #fff5dc);
    font-size: 1rem;
}
.ml-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f5eff8;
}

.ml-card-main { min-width: 0; }
.ml-card-title-row {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-width: 0;
}
.ml-card-title {
    display: block;
    overflow: hidden;
    color: var(--ml-ink);
    font-size: .83rem;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
}
.ml-kind {
    flex: 0 0 auto;
    padding: .17rem .36rem;
    border-radius: .35rem;
    color: #655173;
    background: #f0ebf5;
    font-size: .57rem;
    font-weight: 750;
    line-height: 1.15;
}
.ml-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem .55rem;
    margin-top: .25rem;
    color: #7c7387;
    font-size: .66rem;
    line-height: 1.4;
}
.ml-card-meta span { display: inline-flex; align-items: center; gap: .27rem; }
.ml-card-meta i { color: #a097ad; font-size: .62rem; }
.ml-card-meta .ml-price {
    color: #392652;
    font-size: .77rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.ml-card-date {
    display: block;
    margin-top: .24rem;
    color: #9a92a2;
    font-size: .62rem;
}

.ml-status-column { min-width: 0; }
.ml-status {
    display: inline-flex;
    align-items: center;
    gap: .34rem;
    max-width: 100%;
    padding: .26rem .48rem;
    border-radius: 999px;
    color: #645b70;
    background: #f0edf2;
    font-size: .64rem;
    font-weight: 750;
    white-space: nowrap;
}
.ml-status::before {
    width: .38rem;
    height: .38rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: currentColor;
    content: "";
}
.ml-status-active { color: #087a53; background: #e1f4e8; }
.ml-status-draft { color: #866000; background: #fff3d2; }
.ml-status-inactive { color: #6b6177; background: #efecf2; }
.ml-status-out_of_stock { color: #a35123; background: #fff0e6; }
.ml-status-note {
    margin: .3rem 0 0;
    color: #8c8396;
    font-size: .61rem;
    line-height: 1.3;
}

.ml-moderation {
    display: grid;
    gap: .2rem;
    margin-top: .55rem;
    padding: .48rem .58rem;
    border-left: 3px solid #c7b1e8;
    border-radius: 0 7px 7px 0;
    background: #f8f4ff;
    color: #4b405b;
    font-size: .72rem;
    line-height: 1.45;
}

.ml-moderation strong { color: #55349a; }
.ml-moderation p { margin: 0; overflow-wrap: anywhere; }
.ml-moderation-rejected {
    border-left-color: #cf4a58;
    background: #fff3f4;
    color: #5c3035;
}
.ml-moderation-rejected strong { color: #a52534; }
.ml-moderation-approved {
    border-left-color: #248157;
    background: #eef8f1;
}
.ml-moderation-approved strong { color: #18633e; }

.ml-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .35rem;
}
.ml-action-link,
.ml-action-button {
    display: inline-flex;
    min-height: 2.12rem;
    align-items: center;
    justify-content: center;
    gap: .36rem;
    padding: .4rem .57rem;
    border: 1px solid #e3dce9;
    border-radius: .55rem;
    color: #5a426f;
    background: #fff;
    font: inherit;
    font-size: .65rem;
    font-weight: 750;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ml-action-link:hover,
.ml-action-button:hover { border-color: #bca6d3; color: #512394; background: #faf7fd; }
.ml-action-button--pause:hover { border-color: #eac8bb; color: #9e492c; background: #fff8f4; }
.ml-action-button--resume {
    border-color: #d1e8d8;
    color: #087a53;
}
.ml-action-button--resume:hover { border-color: #8bc7a0; color: #06613f; background: #f3fbf5; }
.ml-action-link:focus-visible,
.ml-action-button:focus-visible {
    outline: 3px solid rgba(240, 179, 35, .8);
    outline-offset: 2px;
}
.ml-action-button:disabled {
    opacity: .55;
    cursor: wait;
}

.ml-state-panel {
    padding: 2rem 1.2rem;
    color: var(--ml-ink);
    text-align: center;
}
.ml-state-icon {
    display: grid;
    width: 2.85rem;
    height: 2.85rem;
    place-items: center;
    margin: 0 auto .7rem;
    border-radius: .9rem;
    color: #682bb0;
    background: #f0e8fb;
    font-size: 1.05rem;
}
.ml-state-panel h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: .95rem;
    letter-spacing: -.02em;
}
.ml-state-panel p {
    max-width: 27rem;
    margin: .36rem auto .9rem;
    color: var(--ml-muted);
    font-size: .74rem;
    line-height: 1.5;
}
.ml-state-panel .ml-button { margin: .12rem; }
.ml-error .ml-state-icon { color: #a84334; background: #fff0ec; }
.ml-signin { padding-block: 2.35rem; }

.ml-skeleton {
    display: grid;
    grid-template-columns: 4.2rem minmax(0, 1fr) 8rem 10rem;
    align-items: center;
    gap: .85rem;
    padding: .76rem .2rem;
    border-bottom: 1px solid #f0ebf3;
}
.ml-skeleton-line {
    height: .68rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #f0ebf3, #faf8fb, #f0ebf3);
    animation: ml-shimmer 1.5s ease-in-out infinite;
}
.ml-skeleton-thumb { width: 4.2rem; height: 4.2rem; border-radius: .7rem; }
.ml-skeleton-copy { display: grid; gap: .48rem; }
.ml-skeleton-copy .ml-skeleton-line:first-child { width: 64%; }
.ml-skeleton-copy .ml-skeleton-line:last-child { width: 43%; }
.ml-skeleton-status { width: 5.5rem; }
.ml-skeleton-actions { width: 8rem; justify-self: end; }

.ml-feedback {
    position: fixed;
    right: max(1rem, calc((100% - 1120px) / 2));
    bottom: 1rem;
    z-index: 1500;
    max-width: min(28rem, calc(100vw - 2rem));
    padding: .75rem .9rem;
    border: 1px solid #d8cde4;
    border-radius: .7rem;
    color: #332143;
    background: #fffefa;
    box-shadow: 0 12px 30px rgba(35, 18, 55, .16);
    font-size: .76rem;
    font-weight: 650;
}
.ml-feedback[data-kind="error"] {
    border-color: #f0c4b7;
    color: #8d3827;
    background: #fff9f6;
}
.ml-feedback[data-kind="success"] {
    border-color: #b9dfc5;
    color: #086c49;
    background: #f5fff7;
}

.ml-page [hidden] { display: none !important; }

@keyframes ml-shimmer { 50% { opacity: .48; } }
@keyframes ml-arrive {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
    .ml-card {
        grid-template-columns: 3.7rem minmax(0, 1fr) auto;
        gap: .68rem;
    }
    .ml-thumb { width: 3.7rem; height: 3.7rem; }
    .ml-status-column { grid-column: 2; grid-row: 2; }
    .ml-actions { grid-column: 3; grid-row: 1 / span 2; flex-direction: column; }
    .ml-skeleton {
        grid-template-columns: 3.7rem minmax(0, 1fr) 6rem;
    }
    .ml-skeleton-thumb { width: 3.7rem; height: 3.7rem; }
    .ml-skeleton-actions { display: none; }
}

@media (max-width: 620px) {
    .my-listings-page {
        min-height: calc(100vh - 3.6rem);
        padding: .85rem .75rem 2.2rem;
    }
    .ml-breadcrumbs { margin-bottom: .7rem; }
    .ml-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: .85rem;
        padding: 1.1rem;
        border-radius: .9rem;
    }
    .ml-hero::after { right: -2.2rem; top: -4.3rem; }
    .ml-hero-copy > p:last-child { max-width: 30rem; font-size: .78rem; }
    .ml-hero-actions { width: 100%; justify-content: flex-start; }
    .ml-hero-actions .ml-button { flex: 1 1 auto; }
    .ml-overview { gap: .45rem; margin: .6rem 0; }
    .ml-overview-item {
        align-items: flex-start;
        flex-direction: column;
        gap: .36rem;
        min-height: 4.55rem;
        padding: .58rem;
    }
    .ml-overview-mark { width: 1.65rem; height: 1.65rem; border-radius: .48rem; font-size: .68rem; }
    .ml-overview-copy strong { font-size: .85rem; }
    .ml-overview-copy span { font-size: .61rem; }
    .ml-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: .55rem;
        padding: .8rem .75rem .7rem;
    }
    .ml-toolbar-heading p { font-size: .66rem; }
    .ml-search-wrap { width: 100%; min-height: 2.35rem; }
    .ml-filters { padding: .62rem .75rem; gap: .28rem; }
    .ml-filter { min-height: 1.85rem; padding-inline: .55rem; font-size: .64rem; }
    .ml-result-summary { padding: .56rem .75rem .36rem; }
    .ml-list { padding: 0 .65rem .35rem; }
    .ml-card {
        grid-template-columns: 3.45rem minmax(0, 1fr) auto;
        align-items: start;
        gap: .55rem;
        padding: .72rem .05rem;
    }
    .ml-thumb { width: 3.45rem; height: 3.45rem; border-radius: .58rem; font-size: .9rem; }
    .ml-card-title-row { align-items: flex-start; flex-direction: column; gap: .23rem; }
    .ml-card-title { max-width: 100%; font-size: .77rem; }
    .ml-kind { padding: .14rem .32rem; font-size: .54rem; }
    .ml-card-meta { gap: .16rem .42rem; margin-top: .27rem; font-size: .62rem; }
    .ml-card-meta .ml-price { font-size: .73rem; }
    .ml-card-date { font-size: .58rem; }
    .ml-status-column { grid-column: 2; grid-row: 2; margin-top: -.24rem; }
    .ml-status { font-size: .6rem; }
    .ml-status-note { font-size: .58rem; }
    .ml-actions {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-items: flex-end;
        padding-top: .04rem;
    }
    .ml-action-link,
    .ml-action-button {
        min-height: 1.95rem;
        gap: .28rem;
        padding: .36rem .48rem;
        font-size: .61rem;
    }
    .ml-skeleton {
        grid-template-columns: 3.45rem minmax(0, 1fr) 4.7rem;
        gap: .55rem;
        padding: .72rem .05rem;
    }
    .ml-skeleton-thumb { width: 3.45rem; height: 3.45rem; }
    .ml-state-panel { padding: 1.65rem .9rem; }
}

@media (prefers-reduced-motion: reduce) {
    .ml-page *,
    .ml-page *::before,
    .ml-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
