.listing-inline-media{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.listing-inline-media-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:12px}
.listing-inline-media-head .eyebrow{margin-bottom:2px}
.listing-inline-media-head h3{font-size:16px;margin:0}
.listing-inline-media-head>small{color:var(--muted);font-size:10px}
.inline-image-upload{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:12px;background:var(--wash);border:1px dashed #a6b9a6;border-radius:9px}
.inline-image-upload label{margin:0}
.inline-image-upload input[type=file]{height:auto;min-height:44px;padding:8px;background:#fff;font-size:11px}
.inline-image-upload .button{min-height:44px}
.inline-image-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.inline-image-item{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}
.inline-image-item>img{height:105px;object-fit:cover}
.inline-image-item>div{padding:9px}
.inline-image-item strong{display:block;font-size:10px;color:var(--deep);margin-bottom:4px}
.inline-image-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.inline-image-actions form{margin:0}
.inline-image-actions .text-button{min-height:30px;padding:3px 5px;font-size:9px}
.inline-image-empty{margin-top:10px;padding:10px 12px;background:var(--wash);border-radius:7px;font-size:11px}
.listing-wizard .wizard-steps{scrollbar-width:none}
.listing-wizard .wizard-steps::-webkit-scrollbar{display:none}
.combined-step-grid{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:12px;align-items:start}
.combined-step-block{border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff;min-width:0}
.combined-step-head{display:flex;justify-content:space-between;align-items:end;gap:10px;margin-bottom:8px}
.combined-step-head .eyebrow{margin:0;font-size:11px;font-weight:700}
.combined-step-head p{font-size:10px;line-height:1.6}
.description-compact{margin-top:10px}
.description-compact textarea{min-height:80px}
@media(min-width:1050px){.listing-wizard .wizard-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}.listing-wizard .wizard-steps>a,.listing-wizard .wizard-steps>span{justify-content:center;white-space:normal;text-align:center}}
@media(max-width:900px){.combined-step-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){.inline-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.inline-image-upload{grid-template-columns:minmax(0,1fr)}.inline-image-upload .button{width:100%}.inline-image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.inline-image-item>img{height:88px}.listing-inline-media-head{align-items:start}.listing-inline-media-head>small{white-space:nowrap}.combined-step-block{padding:10px}.combined-step-head{align-items:start;flex-direction:column;gap:2px}}

/* Dense desktop registration: keep most entry controls inside one viewport. */
@media(min-width:901px){
  .listing-wizard{padding-top:10px;padding-bottom:14px}
  .listing-wizard .wizard-heading h1{font-size:21px;line-height:1.45}
  .listing-wizard .wizard-heading p{font-size:10px;line-height:1.6;margin-top:2px}
  .listing-wizard .step-count{padding:4px 8px;font-size:10px}
  .listing-wizard .wizard-progress{margin:7px 0 6px;height:3px}
  .listing-wizard .wizard-steps{margin-bottom:8px;gap:5px}
  .listing-wizard .wizard-steps>a,.listing-wizard .wizard-steps>span{min-height:30px;padding:2px 6px;font-size:9px}
  .listing-wizard .wizard-steps span>b,.listing-wizard .wizard-steps a>span{width:20px;height:20px;font-size:9px}
  .listing-wizard .wizard-surface{padding:13px 17px}
  .listing-wizard .wizard-surface>h2{font-size:17px;margin-bottom:1px}
  .listing-wizard .field-help{margin:1px 0 7px;font-size:9px;line-height:1.55}
  .listing-wizard label{gap:3px;font-size:10px}
  .listing-wizard input,.listing-wizard select{height:38px;font-size:12px;padding-top:0;padding-bottom:0}
  .listing-wizard textarea{min-height:70px;font-size:12px;line-height:1.65;padding:8px 10px}
  .listing-wizard .attribute-control>label{font-size:10px;margin-bottom:3px}
  .listing-wizard .attribute-control small,.listing-wizard .wizard-surface label>small{font-size:8px;margin-top:1px;line-height:1.45}
  .listing-wizard .required-hint{font-size:8px}

  /* Merged entry forms: use two columns where it saves vertical space. */
  #listing-step-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;align-items:start}
  #listing-step-form>.field-help{grid-column:1/-1}
  #listing-step-form>label:first-of-type{grid-column:1}
  #listing-step-form>.title-suggestion{grid-column:2;margin:0;padding:7px 10px;min-height:61px;display:grid;grid-template-columns:1fr auto;grid-template-areas:"caption action" "title action";align-items:center;column-gap:8px}
  #listing-step-form>.title-suggestion>span{grid-area:caption;font-size:8px}
  #listing-step-form>.title-suggestion>p{grid-area:title;margin:0;font-size:10px;line-height:1.5}
  #listing-step-form>.title-suggestion>button{grid-area:action;min-height:30px;padding:3px 7px;font-size:9px}
  #listing-step-form>.field-group{margin:0;padding:8px 10px 10px;min-width:0}
  #listing-step-form>.field-group legend{font-size:11px;padding:0 5px}
  #listing-step-form>.field-group .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}
  #listing-step-form>label:has(textarea),#listing-step-form>.wizard-actions,#listing-step-form>.combined-step-grid{grid-column:1/-1}
  #listing-step-form>label:has(textarea) textarea{min-height:64px}

  /* Combined price + details step stays compact in one row. */
  .combined-step-grid{gap:9px}
  .combined-step-block{padding:8px 10px}
  .combined-step-head{margin-bottom:5px}
  .combined-step-head .eyebrow{font-size:9px}
  .combined-step-head p{font-size:8px}
  .combined-step-block .price-inputs{margin-top:5px;gap:6px 8px}
  .combined-step-block .field-group{margin:5px 0;padding:7px 8px}
  .combined-step-block .field-group .form-grid{gap:5px 7px}
  .description-compact{grid-column:1/-1;margin-top:0}
  .description-compact textarea{min-height:60px}

  /* Location choices fit in one row on desktop. */
  .listing-wizard .location-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .listing-wizard .privacy-note{margin-top:7px;padding:7px 10px;font-size:9px}
  .listing-wizard .price-inputs{margin-top:7px;gap:8px}

  /* Merged image area becomes one compact horizontal strip. */
  .listing-inline-media{margin-top:8px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--wash);display:grid;grid-template-columns:minmax(170px,.65fr) minmax(0,1.35fr);gap:8px 12px;align-items:end}
  .listing-inline-media-head{margin:0;align-items:center}
  .listing-inline-media-head .eyebrow{margin-bottom:0;font-size:8px}
  .listing-inline-media-head h3{font-size:12px;line-height:1.45}
  .listing-inline-media-head>small{font-size:8px}
  .inline-image-upload{padding:7px;gap:7px;background:#fff;grid-template-columns:minmax(0,1fr) auto}
  .inline-image-upload input[type=file]{height:36px;min-height:36px;padding:4px 6px;font-size:9px}
  .inline-image-upload .button{height:36px;min-height:36px;padding:4px 10px;font-size:9px}
  .inline-image-grid,.inline-image-empty{grid-column:1/-1}
  .inline-image-grid{display:flex;gap:7px;overflow-x:auto;margin-top:0;padding-bottom:1px}
  .inline-image-item{flex:0 0 170px}
  .inline-image-item>img{height:76px}
  .inline-image-item>div{padding:6px}
  .inline-image-empty{margin:0;padding:4px 0 0;background:transparent;font-size:8px}

  .listing-wizard .wizard-actions{margin-top:8px;padding:6px 8px}
  .listing-wizard .wizard-actions .button{min-height:38px;padding:5px 12px;font-size:10px}
}

@media(min-width:901px) and (max-height:820px){
  .listing-wizard .wizard-heading p{display:none}
  .listing-wizard .wizard-heading h1{font-size:19px}
  .listing-wizard .wizard-surface{padding-top:11px;padding-bottom:11px}
}
