.listing-shell {
    background:
        radial-gradient(circle at 76% 5%, rgba(14, 165, 233, .12), transparent 28rem),
        radial-gradient(circle at 28% 18%, rgba(249, 115, 22, .09), transparent 24rem),
        #f7f9fc;
}

.listing-shell .sidebar {
    width: 318px;
    top: 72px;
    height: calc(100vh - 72px);
    min-height: calc(100vh - 72px);
    padding: 30px 22px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 5%, rgba(14, 165, 233, .22), transparent 18rem),
        linear-gradient(165deg, #071a33 0%, #0b2748 55%, #07182d 100%);
    border-right: 0;
    box-shadow: 18px 0 45px rgba(15, 23, 42, .08);
}

.listing-shell .sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #7dd3fc;
}

.listing-shell .sidebar-title::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #f97316;
    box-shadow: 0 0 0 6px rgba(249, 115, 22, .14);
}

.listing-shell .step-list { gap: 4px; }

.listing-shell .step-item {
    position: relative;
    padding: 13px 14px;
    border: 1px solid transparent;
    border-radius: 16px;
}

.listing-shell .step-item:hover:not(.active) {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .1);
}

.listing-shell .step-item.active {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-color: rgba(255, 255, 255, .16);
    box-shadow: 0 14px 34px rgba(234, 88, 12, .28);
}

.listing-shell .step-item.done {
    background: rgba(34, 197, 94, .1);
    border-color: rgba(74, 222, 128, .2);
}

.listing-shell .step-num {
    width: 36px;
    height: 36px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .1);
}

.listing-shell .step-name { color: #f8fafc; font-weight: 700; }
.listing-shell .step-sub { color: #94a3b8; }
.listing-shell .step-item.done .step-name { color: #86efac; }
.listing-shell .step-connector { background: rgba(148, 163, 184, .24); }
.listing-shell .progress-ring { border-top-color: rgba(255, 255, 255, .12); }
.listing-shell .ring-label { color: #cbd5e1; }
.listing-shell .ring-bar { background: rgba(255, 255, 255, .1); }
.listing-shell .ring-fill { background: linear-gradient(90deg, #fb923c, #f97316, #38bdf8); }

.listing-shell .help-box {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .1);
}

.listing-shell .help-title { color: #fb923c; }
.listing-shell .help-text { color: #cbd5e1; }

.listing-shell .main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 44px 48px;
    overflow: visible;
}

.listing-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 26px;
    padding: 32px;
    color: #fff;
    border-radius: 28px;
    background: linear-gradient(135deg, #020617, #172554 55%, #0c4a6e);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .18);
}

.listing-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.listing-hero-copy { max-width: 650px; }

.listing-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 330px;
}

.listing-hero-stat {
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
}

.listing-hero::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    right: -65px;
    bottom: -135px;
    border-radius: 999px;
    background: rgba(56, 189, 248, .2);
    filter: blur(2px);
    z-index: -1;
}

.listing-hero .welcome-line {
    margin: 0 0 8px;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.listing-hero .welcome-line em { color: #fdba74; }
.listing-hero .welcome-line span { color: #fff !important; }
.listing-hero .step-desc { margin: 0; color: #cbd5e1; line-height: 1.6; }
.listing-mobile-progress { display: none; }

.listing-shell .card {
    position: relative;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, .95);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .055);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.listing-shell .card:hover {
    border-color: rgba(14, 165, 233, .22);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.listing-shell .card-title {
    color: #0f172a;
    font-size: .78rem;
    letter-spacing: .09em;
}

.listing-shell .card-title::before {
    width: 5px;
    height: 20px;
    border-radius: 8px;
    background: linear-gradient(180deg, #f97316, #fb923c);
    box-shadow: 0 4px 12px rgba(249, 115, 22, .25);
}

.listing-shell .form-label { color: #334155; font-weight: 700; }

.listing-shell .form-input,
.listing-shell .form-select,
.listing-shell .form-textarea,
.listing-shell .input-prefix {
    min-height: 48px;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    background: #f8fafc;
}

.listing-shell .form-input:hover,
.listing-shell .form-select:hover,
.listing-shell .form-textarea:hover { border-color: #94a3b8; }

.listing-shell .form-input:focus,
.listing-shell .form-select:focus,
.listing-shell .form-textarea:focus,
.listing-shell .input-prefix:focus-within {
    border-color: #0ea5e9;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .11);
}

.listing-shell .prop-card,
.listing-shell .s1-pill,
.listing-shell .toggle-btn,
.listing-shell .intent-pill-btn,
.listing-shell .btype-btn,
.listing-shell .radio-option,
.listing-shell .chip {
    border-color: #dbe3ee;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .025);
}

.listing-shell .prop-card:hover,
.listing-shell .prop-card.selected,
.listing-shell .s1-pill.active,
.listing-shell .toggle-btn.selected,
.listing-shell .intent-pill-btn.active,
.listing-shell .btype-btn.active {
    border-color: #f97316;
    background: #fff7ed;
    color: #ea580c;
    box-shadow: 0 8px 20px rgba(249, 115, 22, .12);
}

.listing-shell .chip.selected,
.listing-shell .yn-btn.active {
    color: #fff;
    border-color: #0284c7;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    box-shadow: 0 8px 20px rgba(2, 132, 199, .18);
}

.listing-shell + .action-bar {
    width: 100%;
    margin: 0;
    padding: 14px 48px;
    border: 1px solid rgba(203, 213, 225, .8);
    border-radius: 0;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .14);
    backdrop-filter: blur(16px);
}

.listing-shell + .action-bar .step-badge { background: #e0f2fe; color: #0369a1; }
.listing-shell + .action-bar [hidden] { display: none !important; }

.listing-shell + .action-bar .btn-next {
    min-width: 150px;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 10px 24px rgba(234, 88, 12, .24);
}

.listing-shell + .action-bar .btn-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(234, 88, 12, .3);
}

.listing-shell .bhk-card {
    border-color: #dbe3ee;
    background: linear-gradient(145deg, #fff, #f8fafc);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.listing-shell .bhk-card-actions { gap: 7px; }

.listing-shell .bhk-act-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 3px 8px rgba(2, 132, 199, .08);
}

.listing-shell .bhk-act-btn svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

.listing-shell .bhk-act-btn:hover {
    color: #0369a1;
    border-color: #38bdf8;
    background: #e0f2fe;
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(2, 132, 199, .15);
}

.listing-shell .bhk-collapse-btn.is-collapsed svg { transform: rotate(180deg); }

.listing-shell .bhk-act-btn.bhk-duplicate {
    color: #7c3aed;
    border-color: #ddd6fe;
    background: #f5f3ff;
}

.listing-shell .bhk-act-btn.bhk-duplicate:hover {
    color: #6d28d9;
    border-color: #a78bfa;
    background: #ede9fe;
    box-shadow: 0 7px 16px rgba(124, 58, 237, .14);
}

.listing-shell .bhk-act-btn.bhk-del {
    color: #dc2626;
    border-color: #fecaca;
    background: #fef2f2;
}

.listing-shell .bhk-act-btn.bhk-del:hover {
    color: #b91c1c;
    border-color: #f87171;
    background: #fee2e2;
    box-shadow: 0 7px 16px rgba(220, 38, 38, .14);
}

.listing-limit-action {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 14px;
}

.listing-limit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
}

.listing-limit-icon svg { width: 20px; height: 20px; }

.listing-limit-copy {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.listing-limit-copy strong { color: #991b1b; font-size: .88rem; }
.listing-limit-copy span { color: #7f1d1d; font-size: .78rem; line-height: 1.4; }

.listing-limit-upgrade {
    padding: 11px 18px;
    flex: 0 0 auto;
    color: #fff;
    border-radius: 11px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 8px 20px rgba(220, 38, 38, .2);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.listing-limit-upgrade:hover { color: #fff; transform: translateY(-1px); }

@media (max-width: 1100px) {
    .listing-shell .sidebar { width: 285px; }
    .listing-shell .main { padding: 28px 28px 44px; }
    .listing-shell + .action-bar { width: 100%; padding-inline: 28px; }
}

@media (max-width: 900px) {
    .listing-shell .main {
        width: 100%;
        max-width: 760px;
        padding: 18px 16px 32px;
    }

    .listing-mobile-progress {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-top: 18px;
    }

    .listing-mobile-progress span {
        height: 5px;
        flex: 1;
        border-radius: 99px;
        background: rgba(255, 255, 255, .18);
    }

    .listing-mobile-progress span.is-active {
        background: linear-gradient(90deg, #fb923c, #fdba74);
        box-shadow: 0 0 12px rgba(251, 146, 60, .3);
    }

    .listing-hero-inner { align-items: stretch; flex-direction: column; }
    .listing-hero-stats { width: 100%; }

    .listing-shell + .action-bar {
        width: calc(100% - 24px);
        margin: 0 12px 12px;
    }
}

@media (max-width: 600px) {
    .listing-hero { margin-bottom: 18px; padding: 24px 20px; border-radius: 20px; }
    .listing-shell .card { padding: 18px 15px; border-radius: 18px; margin-bottom: 14px; }
    .listing-shell .prop-grid { gap: 9px; }
    .listing-shell .prop-card { min-height: 54px; padding: 13px 9px; font-size: .8rem; }
    .listing-shell .form-row { gap: 14px; margin-bottom: 14px; }
    .listing-shell .s1-intent-row { gap: 8px; }
    .listing-shell .s1-pill { flex: 1 1 calc(50% - 8px); padding: 10px 9px; }

    .listing-shell + .action-bar {
        gap: 10px;
        padding: 10px;
        border-radius: 16px;
    }

    .listing-shell + .action-bar .action-bar-left { display: none; }
    .listing-shell + .action-bar .btn-group { width: 100%; }
    .listing-shell + .action-bar .btn-back,
    .listing-shell + .action-bar .btn-next { flex: 1; justify-content: center; min-width: 0; }

    .listing-limit-action { align-items: flex-start; gap: 10px; flex-wrap: wrap; }
    .listing-limit-icon { width: 38px; height: 38px; flex-basis: 38px; }
    .listing-limit-copy { min-width: calc(100% - 48px); }
    .listing-limit-upgrade { width: 100%; text-align: center; }
}
