.seller-paid-service{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;padding:18px;border:1px solid var(--ui-border,#dce1e7);border-radius:14px;background:#f8fafc}.seller-paid-service p{margin:5px 0}.seller-paid-service>small{grid-column:1/-1}.seller-paid-service>a{align-self:center;display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--ui-border,#dce1e7);border-radius:10px;background:#fff}.seller-photo-options{display:block!important}.seller-photo-methods{display:grid;grid-template-columns:1fr 1fr;gap:12px}.seller-photo-methods>label{display:flex!important;align-items:center;gap:10px;padding:16px;border:1px solid var(--ui-border,#dce1e7);border-radius:12px;cursor:pointer}.seller-photo-methods>label:has(input:checked){border-color:var(--ui-accent);background:var(--ui-accent-soft)}.seller-photo-methods input,.seller-photo-consent input{width:auto!important;flex:none}.seller-photo-methods span{display:grid;gap:5px}#seller-photography-details{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}#seller-photography-details>p,.seller-photo-consent{grid-column:1/-1}.seller-photo-consent{display:flex!important;align-items:flex-start;gap:10px}#seller-photography-details[hidden],.seller-photos[hidden],.seller-image-preview[hidden]{display:none!important}@media(max-width:700px){.seller-paid-service,.seller-photo-methods,#seller-photography-details{grid-template-columns:minmax(0,1fr)}}

.seller-sale-method{display:block!important}.seller-sale-choices{width:100%;max-width:none;margin-inline:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.seller-sale-choices>label{justify-content:center;text-align:center;min-height:56px}.seller-sale-method .seller-sale-choices{grid-template-columns:repeat(2,minmax(0,1fr))}

#sell-form [hidden]{display:none!important}#sell-form label:has(>input[type=checkbox]),#sell-form label:has(>input[type=radio]){display:flex!important;align-items:center;gap:10px;text-align:start}#sell-form input[type=checkbox],#sell-form input[type=radio]{width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;flex:0 0 18px;accent-color:var(--ui-accent)}#sell-auction-terms{display:grid;gap:16px}#sell-auction-terms>div{display:grid;gap:12px}.seller-sale-choices{justify-content:center}#sell-exchange-options .seller-photo-methods{grid-template-columns:repeat(3,minmax(0,1fr))}#sell-form input[type=file]{font-size:14px;max-width:100%}@media(max-width:600px){#sell-exchange-options .seller-photo-methods{grid-template-columns:1fr}}

#sell-exchange-options,#sell-form .auction-video-fields,#sell-form .auction-inspection-fields{display:block}#sell-exchange-options .seller-photo-methods{margin-bottom:14px}#sell-form #auction-video-fields{display:grid;gap:10px;margin-top:12px}.seller-sale-choices>label{justify-content:center}#sell-form .auction-inspection-fields>[data-inspection-upload]{margin-top:12px}

/* Shared listing sections retain the same order for both selling methods. */
#sell-form .seller-media-section{display:block}#sell-form .seller-media-section>fieldset,#sell-form .seller-media-section>.seller-photos{margin-top:20px}#sell-form #sell-reel-section{display:block}#sell-form #seller-reel-fields{display:grid;gap:10px;margin-top:12px}#sell-inspection-section{grid-column:1/-1}
@layer motors-identity{
 #sell-form>fieldset>legend,#sell-form>.inventory-registration>fieldset>legend,#sell-form .auction-inspection-fields>legend,#sell-form .feature-picker>b{font-size:21px!important;font-weight:700!important;line-height:1.5!important}
 #sell-form fieldset fieldset>legend,#sell-form .seller-photos>b{font-size:18px!important;font-weight:700!important;line-height:1.5!important}
 #sell-form legend>small{font-size:13px!important;font-weight:400!important}
}

#sell-form .auction-reserve-choice{display:block;min-width:0;width:100%;margin:0;padding:0;border:0}
#sell-form .auction-reserve-choice>.seller-photo-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:none;margin:12px auto 0}
#sell-form .auction-reserve-choice>.seller-photo-methods>label{justify-content:center;text-align:center;min-height:56px;margin:0;padding:12px;line-height:1.5}
#sell-form .auction-reserve-choice label:focus-within{outline:2px solid var(--ui-accent);outline-offset:3px}
@media(max-width:420px){#sell-form .auction-reserve-choice>.seller-photo-methods{gap:8px}#sell-form .auction-reserve-choice>.seller-photo-methods>label{padding:10px 6px;gap:6px}}
#sell-form #sell-auction-terms{grid-template-columns:minmax(0,1fr)}#sell-form #sell-auction-terms>*{min-width:0;grid-column:1/-1}#sell-form #sell-auction-terms>p{margin:0}#sell-form #auction-reserve-fields{grid-template-columns:minmax(0,1fr)}

#sell-form .seller-video-upload{display:grid;gap:10px}#sell-form .seller-add-video{justify-self:start;width:fit-content}#sell-form .seller-video-status{overflow-wrap:anywhere;min-width:0;font-size:14px}

/* Match the sell form to the inner edges of the page hero at every breakpoint. */
html[data-page="sell"] #sell-dialog[open]{box-sizing:border-box;width:min(calc(100% - var(--site-gutter) - var(--site-gutter)),calc(var(--site-content-width) - var(--site-gutter) - var(--site-gutter)))}

/* Registration sections use the same heading and spacing as the sell form. */
#sell-form>.inventory-registration{margin:0 0 20px;gap:20px}
#sell-form>.inventory-registration>fieldset{padding:0;border:0;border-radius:0}
#sell-form>.inventory-registration>fieldset>legend{width:100%;max-width:100%;margin:0 0 12px;padding:0 2px 10px;border:0;border-bottom:1px solid var(--line);color:var(--ui-text,#172234)}
#sell-form>.inventory-registration .inventory-fields{margin-top:0}
#sell-form>.inventory-registration .insurance-company{margin-top:16px}
#sell-form>.inventory-registration .seller-sale-choices{margin-top:0}
