/* Unit resale / ownership transfer */
.rs-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; margin: 0; }
.rs-figs > div { background: var(--surface-2, #f8fafc); border: 1px solid var(--border, rgba(15,23,42,.08)); border-radius: 10px; padding: .6rem .75rem; }
.rs-figs dt { font-size: .78rem; color: var(--muted, #64748b); margin: 0 0 .2rem; }
.rs-figs dd { margin: 0; font-weight: 600; }
.rs-figs dd small { display: block; font-weight: 400; color: var(--muted, #64748b); font-size: .78rem; }
.rs-figs .rs-strong { border-color: var(--primary, #14b8a6); }
.rs-figs .rs-danger dd { color: #dc2626; }
.rs-dual { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; margin-top: .75rem; }
.rs-dual > div { border: 1px dashed var(--border, rgba(15,23,42,.15)); border-radius: 10px; padding: .75rem; }
.rs-dual strong { display: block; font-size: 1.15rem; margin-top: .25rem; }
.rs-eligible { border-radius: 10px; padding: .75rem 1rem; margin: .75rem 0; }
.rs-eligible.ok { background: rgba(16,185,129,.12); border: 1px solid #10b981; }
.rs-eligible.no { background: rgba(239,68,68,.1); border: 1px solid #ef4444; }
.rs-eligible ul { margin: .35rem 0 0; padding-inline-start: 1.2rem; }
.rs-steps { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.rs-steps li { font-size: .78rem; padding: .3rem .65rem; border-radius: 999px; background: var(--surface-2, #f1f5f9); color: var(--muted, #64748b); }
.rs-steps li.done { background: rgba(16,185,129,.18); color: #059669; }
.rs-steps li.current { background: var(--primary, #14b8a6); color: #fff; }
.rs-steps li.bad { background: rgba(239,68,68,.15); color: #dc2626; }
.rs-photos { display: flex; gap: .5rem; flex-wrap: wrap; }
.rs-photos figure { margin: 0; position: relative; }
.rs-photos img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border, rgba(15,23,42,.1)); }
.rs-photos label { display: block; font-size: .75rem; }
.rs-timeline { list-style: none; margin: 0; padding: 0; }
.rs-timeline li { padding: .45rem 0; border-bottom: 1px solid var(--border, rgba(15,23,42,.08)); font-size: .88rem; }
.rs-timeline small { color: var(--muted, #64748b); }
.rs-inline-form { display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; margin: .25rem 0; }
.rs-inline-form input[type=number], .rs-inline-form input[type=text] { max-width: 160px; padding: .35rem .5rem; }
.rs-mode { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.rs-mode label { display: inline-flex; gap: .35rem; align-items: center; }
.rs-preview { background: var(--surface-2, #f8fafc); border-radius: 10px; padding: .75rem 1rem; margin-top: .5rem; font-size: .9rem; }
.rs-preview b { font-size: 1rem; }

/* public marketplace */
.resale-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; }
.resale-card { background: #fff; color: #0f172a; border: 1px solid rgba(15,23,42,.08); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(15,23,42,.05); display: flex; flex-direction: column; }
.resale-card .rc-img { height: 170px; background: linear-gradient(135deg, #0f766e, #1e3a8a); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.5rem; }
.resale-card .rc-img img { width: 100%; height: 100%; object-fit: cover; }
.resale-card .rc-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.resale-card h3 { margin: 0; font-size: 1.05rem; }
.resale-card h3 a { color: inherit; text-decoration: none; }
.resale-card .rc-meta { color: #64748b; font-size: .85rem; margin: 0; }
.resale-card .rc-now { background: #ecfdf5; color: #065f46; border-radius: 10px; padding: .5rem .75rem; }
.resale-card .rc-now strong { font-size: 1.15rem; display: block; }
.resale-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .75rem; margin: 0; font-size: .85rem; }
.resale-card dt { color: #64748b; }
.resale-card dd { margin: 0; font-weight: 600; }
.resale-card .rc-tags { display: flex; gap: .35rem; flex-wrap: wrap; }
.resale-card .rc-tag { font-size: .72rem; background: #eef2ff; color: #3730a3; border-radius: 999px; padding: .15rem .55rem; }
.resale-card .rc-tag.paid { background: #dcfce7; color: #166534; }
.resale-filters { background: #fff; color: #0f172a; border: 1px solid rgba(15,23,42,.08); border-radius: 14px; padding: 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; margin-bottom: 1.5rem; align-items: end; }
.resale-filters label { display: block; font-size: .78rem; color: #64748b; margin-bottom: .25rem; }
.resale-filters input, .resale-filters select { width: 100%; padding: .5rem .6rem; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit; background: #fff; color: #0f172a; }
.resale-panel { background: #fff; color: #0f172a; border: 1px solid rgba(15,23,42,.08); border-radius: 14px; padding: 1.25rem; margin-bottom: 1.25rem; }
.resale-panel h3 { margin-top: 0; }
.resale-panel table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.resale-panel th, .resale-panel td { padding: .45rem .5rem; border-bottom: 1px solid #e2e8f0; text-align: start; }
.resale-panel .rs-figs > div { background: #f8fafc; border-color: #e2e8f0; }
.resale-panel .rs-figs dt { color: #64748b; }
.rs-compare-good { color: #059669; }
.rs-compare-bad { color: #dc2626; }
.resale-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .5rem; margin-bottom: 1rem; }
.resale-gallery img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; }

/* individual sellers ("Sell your property") */
.resale-card .rc-tag.rc-src-verified { background: #dcfce7; color: #166534; font-weight: 600; }
.resale-card .rc-tag.rc-src-individual { background: #fef3c7; color: #92400e; font-weight: 600; }
.rc-progress { height: 6px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.rc-progress span { display: block; height: 100%; background: linear-gradient(90deg, #14b8a6, #2563eb); }
.sell-wrap { max-width: 1100px; margin: 0 auto; }
.sell-form { display: grid; gap: 1.25rem; }
.sell-form fieldset { background: #fff; color: #0f172a; border: 1px solid rgba(15,23,42,.08); border-radius: 14px; padding: 1.1rem 1.25rem; margin: 0; }
.sell-form legend { font-weight: 700; padding: 0 .4rem; font-size: 1rem; }
.sell-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .85rem; }
.sell-grid .span-2 { grid-column: span 2; }
.sell-grid .span-all { grid-column: 1 / -1; }
.sell-form label, .sell-auth label { display: block; font-size: .8rem; color: #475569; margin-bottom: .25rem; font-weight: 600; }
.sell-form input, .sell-form select, .sell-form textarea, .sell-auth input, .sell-auth select { width: 100%; padding: .55rem .65rem; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit; background: #fff; color: #0f172a; box-sizing: border-box; }
.sell-form textarea { min-height: 110px; }
.sell-form .hint, .sell-auth .hint { font-size: .75rem; color: #64748b; margin-top: .2rem; }
.sell-form .chk { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; }
.sell-form .chk input { width: auto; }
.sell-phone { display: grid; grid-template-columns: 110px 1fr; gap: .4rem; }
.sell-live { position: sticky; bottom: .75rem; background: #0f172a; color: #e2e8f0; border-radius: 14px; padding: .85rem 1.1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .5rem; box-shadow: 0 10px 30px rgba(15,23,42,.25); z-index: 5; }
.sell-live div small { display: block; color: #94a3b8; font-size: .72rem; }
.sell-live div b { font-size: 1rem; }
.sell-actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }
.sell-auth { max-width: 560px; margin: 0 auto; background: #fff; color: #0f172a; border-radius: 16px; padding: 1.5rem; border: 1px solid rgba(15,23,42,.08); box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.sell-auth .row { margin-bottom: .85rem; }
.sell-steps-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.sell-steps-intro > div { background: #fff; color: #0f172a; border-radius: 14px; padding: 1.1rem; border: 1px solid rgba(15,23,42,.08); }
.sell-steps-intro b { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: #14b8a6; color: #fff; align-items: center; justify-content: center; margin-bottom: .4rem; }
.sell-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.sell-table th, .sell-table td { padding: .55rem .5rem; border-bottom: 1px solid #e2e8f0; text-align: start; vertical-align: top; }
.sell-table th { color: #64748b; font-weight: 600; font-size: .78rem; }
.sell-chips { display: flex; gap: .35rem; flex-wrap: wrap; margin: .35rem 0; }
.sell-chips span { font-size: .75rem; background: #f1f5f9; color: #334155; border-radius: 999px; padding: .2rem .6rem; }
.sell-chips span.ok { background: #dcfce7; color: #166534; }
.sell-chips span.warn { background: #fef3c7; color: #92400e; }
.sell-note { background: #fffbeb; border: 1px solid #fcd34d; color: #78350f; border-radius: 10px; padding: .7rem .9rem; font-size: .88rem; }
.sell-dup { background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: .7rem .9rem; }
@media (max-width: 640px) { .sell-grid .span-2 { grid-column: auto; } .sell-live { position: static; } }
.resale-panel .btn-outline, .sell-form .btn-outline, .sell-auth .btn-outline { color: #0f172a; border-color: #cbd5e1; background: #fff; }
.resale-panel .btn-outline:hover, .sell-form .btn-outline:hover, .sell-auth .btn-outline:hover { border-color: #14b8a6; color: #0f766e; }
.resale-panel .btn-ghost, .sell-form .btn-ghost { color: #334155; }
.resale-panel a:not(.btn), .sell-auth a:not(.btn), .sell-form a:not(.btn) { color: #0f766e; }
.resale-filters .btn-ghost { color: #334155; border: 1px solid #cbd5e1; background: #fff; }
.sell-form legend { float: left; width: 100%; padding: 0; margin: 0 0 .85rem; color: #0f172a; }
.sell-form legend + * { clear: both; }
.sell-live { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.sell-form .rs-mode label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; margin: 0; }
.sell-form input[type=radio], .sell-form input[type=checkbox] { width: auto; }
