/* Post a listing and manage it (flow 3, 28 Oct redesign): templates/listing-submit.php and the My listings dashboard from includes/pages/forms-listing.php.
   All our own markup (.ldlf-*), so nothing here fights Adrian's CSS. Loaded only on /submit-a-listing/ and the profile Listings tab. */

.ldlf { --lf-r: 16px; --lf-r-sm: 12px; --lf-shadow: 0 1px 2px rgba(11,13,26,.06), 0 8px 24px -16px rgba(20,26,102,.28); --lf-ring: inset 0 0 0 1px var(--ld-line, #E3E7F1);
	max-width: 1080px; margin: 0 auto; padding: 20px 16px 140px; color: var(--ld-ink, #0B0D1A); font-family: var(--ld-text, Inter, -apple-system, sans-serif); }
.ldlf *, .ldlf-mine * { box-sizing: border-box; }
body.ld-lf--submit { background: var(--ld-pearl, #F3F5FA); }
body.ld-lf--submit #content, body.ld-lf--submit .site-content { background: transparent; }
/* the form is the only thing on screen: the Post bar replaces the site's bottom bar, and the cookie strip waits for the next page */
body.ld-lf--form nav.idu-bottom-toolbar, body.ld-lf--edit nav.idu-bottom-toolbar, body.ld-lf--form #wpconsent-root, body.ld-lf--edit #wpconsent-root { display: none !important; }

.ldlf-h1 { margin: 0; font: 800 28px/1.1 var(--ld-heading, "Inter Tight", sans-serif); letter-spacing: -.02em; color: var(--ld-ink, #0B0D1A); }
.ldlf-lede { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--ld-text-muted, rgba(11,13,26,.66)); }
.ldlf-eyebrow { margin: 0 0 10px; font: 700 12px/1 var(--ld-text, Inter, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: var(--ld-electric, #3D6BFF); }

/* buttons */
.ldlf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font: 700 15px/1 var(--ld-text, Inter, sans-serif); text-decoration: none !important; cursor: pointer; transition: transform 140ms cubic-bezier(.2,0,0,1), background-color 140ms, box-shadow 140ms; -webkit-tap-highlight-color: transparent; }
.ldlf-btn:active { transform: scale(.97); }
.ldlf-btn--primary { background: var(--ld-electric, #3D6BFF); color: var(--ld-on-primary, #fff) !important; box-shadow: var(--ld-glow-primary, 0 8px 20px -8px rgba(61,107,255,.7)); }
.ldlf-btn--primary:hover { background: var(--ld-deep, #1E2FA8); }
.ldlf-btn--ghost { background: var(--ld-white, #fff); color: var(--ld-ink, #0B0D1A) !important; box-shadow: var(--lf-ring, inset 0 0 0 1px #E3E7F1); }
.ldlf-btn--ghost:hover { background: var(--ld-info-bg, #EAF0FF); }
.ldlf-btn--quiet { background: transparent; color: var(--ld-text-muted, rgba(11,13,26,.66)) !important; padding: 0 12px; }
.ldlf-btn--quiet:hover { color: #B4232C !important; }
.ldlf-btn--danger { background: #C62F3A; color: #fff !important; }
.ldlf-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.ldlf-btn:focus-visible, .ldlf-tile:focus-visible, .ldlf-chip input:focus-visible + span, .ldlf-opt:focus-within { outline: 3px solid rgba(61,107,255,.45); outline-offset: 2px; }

/* ---------------------------------------------------------------- chooser */
.ldlf-choose { max-width: 560px; margin: 8px auto 0; }
.ldlf-choose .ldlf-h1 { margin-bottom: 18px; }
.ldlf-tiles { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ldlf-tile { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border: 0; border-radius: var(--lf-r, 16px); background: var(--ld-white, #fff); box-shadow: var(--lf-shadow); color: var(--ld-ink, #0B0D1A); text-align: left; text-decoration: none !important; cursor: pointer; font: inherit; transition: transform 140ms cubic-bezier(.2,0,0,1), box-shadow 160ms; -webkit-tap-highlight-color: transparent; }
.ldlf-tile:hover { box-shadow: 0 0 0 2px var(--ld-electric, #3D6BFF), var(--lf-shadow); }
.ldlf-tile:active { transform: scale(.98); }
.ldlf-tile--big { padding: 20px 18px; }
.ldlf-tile__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ld-midnight, #141A66); color: #fff; }
.ldlf-tile--big .ldlf-tile__icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, #141A66 0%, #1E2FA8 55%, #3D6BFF 100%); }
.ldlf-tile__icon svg { width: 26px; height: 26px; }
.ldlf-tile__text { display: grid; gap: 3px; flex: 1; min-width: 0; }
.ldlf-tile__label { font: 700 18px/1.2 var(--ld-heading, "Inter Tight", sans-serif); letter-spacing: -.01em; }
.ldlf-tile__desc { font-size: 14px; line-height: 1.35; color: var(--ld-text-muted, rgba(11,13,26,.66)); }
.ldlf-tile__go { color: var(--ld-text-faint, rgba(11,13,26,.55)); }
.ldlf-else__h { margin: 26px 0 10px; font: 600 14px/1 var(--ld-text, Inter, sans-serif); color: var(--ld-text-muted, rgba(11,13,26,.66)); }
.ldlf-else { display: flex; flex-wrap: wrap; gap: 8px; }
.ldlf-else__b { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px; border: 0; border-radius: 999px; background: var(--ld-white, #fff); box-shadow: var(--lf-ring); color: var(--ld-ink, #0B0D1A); font: 600 14px/1 var(--ld-text, Inter, sans-serif); cursor: pointer; }
.ldlf-else__b:hover { background: var(--ld-info-bg, #EAF0FF); }
.ldlf-else__i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--ld-pearl, #F3F5FA); }
.ldlf-else__i svg { width: 16px; height: 16px; }
.ldlf-who { margin: 0 0 18px; padding: 14px; border-radius: var(--lf-r, 16px); background: var(--ld-white, #fff); box-shadow: var(--lf-shadow); }

/* ---------------------------------------------------------------- alerts */
.ldlf-alert { margin: 0 0 16px; padding: 14px 16px; border-radius: var(--lf-r-sm, 12px); background: #FFF1F1; box-shadow: inset 0 0 0 1px #F6C9CC; color: #7A1820; font-size: 14.5px; line-height: 1.45; }
.ldlf-alert strong { display: block; margin-bottom: 2px; }
.ldlf-kept { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--lf-r-sm, 12px); background: var(--ld-info-bg, #EAF0FF); color: var(--ld-midnight, #141A66); font-size: 14px; }
.ldlf-kept[hidden] { display: none; }
.ldlf-kept__clear { padding: 0; border: 0; background: none; color: var(--ld-electric, #3D6BFF); font: 700 14px/1.4 var(--ld-text, Inter, sans-serif); text-decoration: underline; cursor: pointer; }

/* ---------------------------------------------------------------- form */
.ldlf-head { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; }
.ldlf-back { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -2px; border-radius: 999px; background: var(--ld-white, #fff); box-shadow: var(--lf-ring); color: var(--ld-ink, #0B0D1A) !important; }
.ldlf-head__sub { margin: 6px 0 0; font-size: 14.5px; color: var(--ld-text-muted, rgba(11,13,26,.66)); overflow-wrap: anywhere; }
.ldlf-grid { display: grid; gap: 20px; }
.ldlf-main { display: grid; gap: 14px; min-width: 0; }
.ldlf-aside { display: none; }
.ldlf-sec { padding: 20px 16px; border-radius: var(--lf-r, 16px); background: var(--ld-white, #fff); box-shadow: var(--lf-shadow); scroll-margin-top: 90px; }
.ldlf-sec__h { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font: 750 19px/1.2 var(--ld-heading, "Inter Tight", sans-serif); letter-spacing: -.01em; color: var(--ld-ink, #0B0D1A); }
.ldlf-sec__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--ld-pearl, #F3F5FA); color: var(--ld-midnight, #141A66); font: 700 13px/1 var(--ld-text, Inter, sans-serif); transition: background-color 200ms, color 200ms; }
.ldlf-sec.is-done .ldlf-sec__n { background: var(--ld-success, #1F7D57); color: #fff; font-size: 0; }
.ldlf-sec.is-done .ldlf-sec__n::after { content: ""; width: 11px; height: 6px; margin-top: -3px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.ldlf-sec__hint { margin: 0 0 4px 36px; font-size: 14px; line-height: 1.45; color: var(--ld-text-muted, rgba(11,13,26,.66)); }
.ldlf-sec__h--plain { margin-bottom: 12px; }
.ldlf-sec > .ldlf-f:first-of-type, .ldlf-sec > .ldlf-pair:first-of-type, .ldlf-sec > .ldlf-photos { margin-top: 14px; }

.ldlf-f { min-width: 0; margin: 18px 0 0; padding: 0; border: 0; }
.ldlf-f__l { display: block; float: none; width: 100%; margin: 0 0 8px; padding: 0; font: 650 14.5px/1.3 var(--ld-text, Inter, sans-serif); color: var(--ld-ink, #0B0D1A); }
.ldlf-f--nolabel > .ldlf-f__l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ldlf-f__hint { margin: -4px 0 8px; font-size: 13px; line-height: 1.4; color: var(--ld-text-faint, rgba(11,13,26,.55)); }
.ldlf-f__err { margin: 6px 0 0; font: 600 13px/1.35 var(--ld-text, Inter, sans-serif); color: #B4232C; }
.ldlf-f__err:empty { display: none; }
.ldlf-pair { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.ldlf-pair > .ldlf-f { margin-top: 18px; }

.ldlf .ldlf-in, .ldlf select.idu-suburb-select { display: block; width: 100%; height: 50px; margin: 0; padding: 0 14px; border: 0; border-radius: var(--lf-r-sm, 12px); background: var(--ld-pearl, #F3F5FA); box-shadow: inset 0 0 0 1px transparent; color: var(--ld-ink, #0B0D1A); font: 500 16px/1.2 var(--ld-text, Inter, sans-serif); transition: box-shadow 140ms, background-color 140ms; -webkit-appearance: none; appearance: none; }
.ldlf select.idu-suburb-select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%230B0D1A' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.ldlf .ldlf-in::placeholder { color: rgba(11,13,26,.38); }
.ldlf .ldlf-in:focus, .ldlf select.idu-suburb-select:focus { outline: 0; background-color: var(--ld-white, #fff); box-shadow: inset 0 0 0 2px var(--ld-electric, #3D6BFF); }
.ldlf .ldlf-area { height: auto; min-height: 132px; padding: 13px 14px; line-height: 1.5; resize: vertical; }
.ldlf .is-bad .ldlf-in, .ldlf .is-bad select.idu-suburb-select { box-shadow: inset 0 0 0 2px #E0565F; background-color: #FFF7F7; }
.ldlf-money { position: relative; display: flex; align-items: center; }
.ldlf-money__s { position: absolute; left: 14px; font: 600 16px/1 var(--ld-text, Inter, sans-serif); color: var(--ld-text-muted, rgba(11,13,26,.66)); pointer-events: none; }
.ldlf .ldlf-money .ldlf-in { padding-left: 28px; }
.ldlf-money__u { position: absolute; right: 14px; font-size: 14px; color: var(--ld-text-faint, rgba(11,13,26,.55)); pointer-events: none; }
.ldlf .ldlf-money .ldlf-in:has(+ .ldlf-money__u) { padding-right: 68px; }
.ldlf input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }

.ldlf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ldlf-chip { position: relative; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ldlf-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ldlf-chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border-radius: 999px; background: var(--ld-white, #fff); box-shadow: inset 0 0 0 1.5px var(--ld-line, #E3E7F1); color: var(--ld-ink, #0B0D1A); font: 600 14.5px/1.15 var(--ld-text, Inter, sans-serif); transition: background-color 140ms, box-shadow 140ms, color 140ms, transform 140ms cubic-bezier(.2,0,0,1); }
.ldlf-chip:hover span { box-shadow: inset 0 0 0 1.5px rgba(61,107,255,.5); }
.ldlf-chip:active span { transform: scale(.96); }
.ldlf-chip input:checked + span { background: var(--ld-midnight, #141A66); box-shadow: none; color: #fff; }
.ldlf-f--many .ldlf-chip input:checked + span::before { content: ""; width: 9px; height: 5px; margin: -3px 8px 0 0; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.ldlf .is-bad .ldlf-chip span { box-shadow: inset 0 0 0 1.5px #E0A3A8; }

.ldlf-opts { display: grid; gap: 8px; }
.ldlf-opt { position: relative; display: grid; gap: 2px; margin: 0; padding: 13px 14px 13px 46px; border-radius: var(--lf-r-sm, 12px); background: var(--ld-white, #fff); box-shadow: inset 0 0 0 1.5px var(--ld-line, #E3E7F1); cursor: pointer; transition: box-shadow 140ms, background-color 140ms; }
.ldlf-opt input { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin: -10px 0 0; accent-color: var(--ld-electric, #3D6BFF); }
.ldlf-opt:has(input:checked) { background: var(--ld-info-bg, #EAF0FF); box-shadow: inset 0 0 0 2px var(--ld-electric, #3D6BFF); }
.ldlf-opt__n { font: 650 15px/1.25 var(--ld-text, Inter, sans-serif); color: var(--ld-ink, #0B0D1A); }
.ldlf-opt__note { font-size: 13.5px; line-height: 1.35; color: var(--ld-text-muted, rgba(11,13,26,.66)); }

.ldlf-switch { position: relative; display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 12px 14px; border-radius: var(--lf-r-sm, 12px); background: var(--ld-pearl, #F3F5FA); cursor: pointer; }
.ldlf-switch input { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 999px; background: #C9CFDD; cursor: pointer; transition: background-color 180ms; }
.ldlf-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform 200ms cubic-bezier(.2,0,0,1); }
.ldlf-switch input:checked { background: var(--ld-electric, #3D6BFF); }
.ldlf-switch input:checked::after { transform: translateX(18px); }
.ldlf-switch__t { font: 600 14.5px/1.3 var(--ld-text, Inter, sans-serif); }

.ldlf-step { display: inline-flex; align-items: center; gap: 6px; padding: 4px; border-radius: 999px; background: var(--ld-pearl, #F3F5FA); }
.ldlf .ldlf-step .ldlf-in { width: 64px; height: 42px; padding: 0; background: transparent; text-align: center; font-weight: 700; }
.ldlf-step__b { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 999px; background: var(--ld-white, #fff); box-shadow: 0 1px 2px rgba(11,13,26,.12); color: var(--ld-ink, #0B0D1A); font: 600 20px/1 var(--ld-text, Inter, sans-serif); cursor: pointer; }
.ldlf-step__b:active { transform: scale(.94); }

.ldlf-suggest { display: inline-flex; margin: 8px 0 0; padding: 7px 12px; border: 0; border-radius: 999px; background: var(--ld-info-bg, #EAF0FF); color: var(--ld-midnight, #141A66); font: 600 13.5px/1.2 var(--ld-text, Inter, sans-serif); cursor: pointer; text-align: left; }
.ldlf-suggest[hidden] { display: none; }
.ldlf .idu-postas { margin-top: 18px; }

/* photos */
.ldlf-photos { display: grid; gap: 10px; }
.ldlf-photos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ldlf-photos__grid:empty { display: none; }
.ldlf-ph { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--lf-r-sm, 12px); background: var(--ld-pearl, #F3F5FA); animation: ldlf-pop 220ms cubic-bezier(.2,0,0,1); }
.ldlf-ph--cover { grid-column: span 3; aspect-ratio: 4 / 3; }
.ldlf-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ldlf-photos__cover { position: absolute; left: 8px; top: 8px; padding: 5px 9px; border-radius: 999px; background: var(--ld-scrim, rgba(11,13,26,.72)); color: #fff; font: 700 12px/1 var(--ld-text, Inter, sans-serif); }
.ldlf-ph__x { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: var(--ld-scrim, rgba(11,13,26,.72)); color: #fff; font: 400 20px/1 var(--ld-text, Inter, sans-serif); cursor: pointer; }
.ldlf-ph__cover { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 6px 4px; border: 0; border-radius: 999px; background: var(--ld-glass, rgba(255,255,255,.88)); color: var(--ld-ink, #0B0D1A); font: 700 11.5px/1 var(--ld-text, Inter, sans-serif); cursor: pointer; }
.ldlf-photos__add { position: relative; display: grid; justify-items: center; gap: 6px; padding: 34px 16px; border-radius: var(--lf-r, 16px); background: linear-gradient(180deg, #F5F8FF, #EAF0FF); box-shadow: inset 0 0 0 1.5px rgba(61,107,255,.35); text-align: center; cursor: pointer; transition: box-shadow 140ms, transform 140ms cubic-bezier(.2,0,0,1); }
.ldlf-photos__add:hover { box-shadow: inset 0 0 0 2px var(--ld-electric, #3D6BFF); }
.ldlf-photos__add:active { transform: scale(.99); }
.ldlf-photos__add[hidden] { display: none; }
.ldlf-photos__add input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ldlf-photos__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 999px; background: var(--ld-electric, #3D6BFF); color: #fff; box-shadow: var(--ld-glow-primary, 0 8px 20px -8px rgba(61,107,255,.7)); }
.ldlf-photos__t { font: 700 16px/1.2 var(--ld-text, Inter, sans-serif); color: var(--ld-midnight, #141A66); }
.ldlf-photos__s { font-size: 13.5px; color: var(--ld-text-muted, rgba(11,13,26,.66)); }
.ldlf-photos__add--small { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 2px 12px; padding: 12px 14px; text-align: left; }
.ldlf-photos__add--small .ldlf-photos__ico { grid-row: span 2; width: 40px; height: 40px; }
.ldlf-photos__add--small .ldlf-photos__ico svg { width: 20px; height: 20px; }
.ldlf-photos.is-busy .ldlf-photos__add { opacity: .6; pointer-events: none; }
.ldlf-photos__now { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.ldlf-photos__now li { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.ldlf-photos__now img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ldlf-photos__now .ldlf-photos__cover { left: 4px; top: 4px; padding: 3px 6px; font-size: 10px; }
.ldlf-photos__again { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FFF1F1; color: #7A1820; font: 600 13.5px/1.4 var(--ld-text, Inter, sans-serif); }
.ldlf-photos.is-bad .ldlf-photos__add { box-shadow: inset 0 0 0 2px #E0565F; }
@keyframes ldlf-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* preview card (also the success card) */
.ldlf-card { overflow: hidden; border-radius: var(--lf-r, 16px); background: var(--ld-white, #fff); box-shadow: var(--lf-shadow); }
.ldlf-sec--preview .ldlf-card { box-shadow: var(--lf-ring); }
.ldlf-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--ld-pearl, #F3F5FA); }
.ldlf-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ldlf-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(20,26,102,.35); background: linear-gradient(135deg, #EEF2FB, #E2E8F7); }
.ldlf-noimg svg { width: 44px; height: 44px; }
.ldlf-card__body { padding: 14px 16px 16px; }
.ldlf-card__price { margin: 0; font: 800 20px/1.15 var(--ld-heading, "Inter Tight", sans-serif); letter-spacing: -.01em; color: var(--ld-ink, #0B0D1A); }
.ldlf-card__title { margin: 4px 0 0; font: 650 16px/1.3 var(--ld-text, Inter, sans-serif); color: var(--ld-ink, #0B0D1A); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ldlf-card__place { margin: 4px 0 0; font-size: 14px; color: var(--ld-text-muted, rgba(11,13,26,.66)); }
.ldlf-card .is-empty { color: rgba(11,13,26,.28); }
.ldlf-card__facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.ldlf-card__facts:empty { display: none; }
.ldlf-card__facts span { padding: 5px 9px; border-radius: 999px; background: var(--ld-pearl, #F3F5FA); font: 600 12.5px/1 var(--ld-text, Inter, sans-serif); color: var(--ld-midnight, #141A66); }

.ldlf-danger { margin: 4px 0 0; text-align: center; }

/* the Post bar: progress and the one action, pinned to the bottom */
.ldlf-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 -1px 0 var(--ld-line, #E3E7F1), 0 -12px 30px -18px rgba(20,26,102,.3); }
.ldlf-bar__in { display: flex; align-items: center; gap: 14px; max-width: 1080px; margin: 0 auto; }
.ldlf-bar__prog { display: grid; gap: 7px; flex: 1; min-width: 0; }
.ldlf-bar__txt { font: 650 13.5px/1.2 var(--ld-text, Inter, sans-serif); color: var(--ld-ink, #0B0D1A); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ldlf-bar__track { display: block; height: 5px; overflow: hidden; border-radius: 999px; background: var(--ld-line, #E3E7F1); }
.ldlf-bar__fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--ld-electric, #3D6BFF); transition: width 320ms cubic-bezier(.2,0,0,1), background-color 200ms; }
.ldlf-form.is-ready .ldlf-bar__fill { background: var(--ld-success, #1F7D57); }
.ldlf-post { flex: none; min-width: 148px; }
.ldlf-form:not(.is-ready) .ldlf-post { background: var(--ld-midnight, #141A66); box-shadow: none; }
.ldlf-form.is-posting .ldlf-post { opacity: .75; }

/* iPad portrait (600 to 899, 31 Oct, audit item 5): every create form (room, car, buy and sell, event, business, job) is the phone layout as one
   centred 640 column, not stretched to 800; the preview is the last step, Check it over (ld-steps.js). Beside the form from 900. */
@media (min-width: 600px) and (max-width: 899px) {
	.ldlf { max-width: 640px; }
	.ldlf-bar__in { max-width: 608px; }
}
/* desktop: form left, sticky preview and steps right */
@media (min-width: 900px) {
	.ldlf { padding: 36px 24px 140px; }
	.ldlf-h1 { font-size: 34px; }
	.ldlf-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
	.ldlf-sec { padding: 26px 28px; }
	.ldlf-sec--preview { display: none; }
	.ldlf-aside { display: grid; gap: 16px; position: sticky; top: 96px; }
	.ldlf-aside__h { margin: 0; font: 700 12px/1 var(--ld-text, Inter, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: var(--ld-text-faint, rgba(11,13,26,.55)); }
	.ldlf-steps { display: grid; gap: 2px; margin: 0; padding: 8px; border-radius: var(--lf-r, 16px); background: var(--ld-white, #fff); box-shadow: var(--lf-shadow); list-style: none; }
	.ldlf-steps a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; color: var(--ld-ink, #0B0D1A) !important; font: 600 14.5px/1.2 var(--ld-text, Inter, sans-serif); text-decoration: none !important; }
	.ldlf-steps a:hover { background: var(--ld-pearl, #F3F5FA); }
	.ldlf-steps__dot { width: 18px; height: 18px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--ld-line, #E3E7F1); transition: background-color 200ms, box-shadow 200ms; }
	.ldlf-steps a.is-done .ldlf-steps__dot { background: var(--ld-success, #1F7D57); box-shadow: none; }
	.ldlf-tiles--row { grid-template-columns: repeat(3, 1fr); }
	.ldlf-tiles--row .ldlf-tile { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) { .ldlf-pair { grid-template-columns: 1fr; } .ldlf-post { min-width: 0; } }

/* ---------------------------------------------------------------- success and signed out */
.ldlf-done, .ldlf-out { max-width: 520px; margin: 12px auto 0; text-align: center; }
.ldlf-done__tick { display: inline-grid; place-items: center; width: 64px; height: 64px; margin: 0 0 16px; border-radius: 999px; background: var(--ld-success, #1F7D57); color: #fff; box-shadow: 0 12px 28px -12px rgba(31,125,87,.7); animation: ldlf-pop 320ms cubic-bezier(.2,0,0,1); }
.ldlf-done .ldlf-card { margin: 22px 0 0; text-align: left; }
.ldlf-done .ldlf-card[hidden], .ldlf-done__acts[hidden] { display: none; }
.ldlf-done__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 0; }
.ldlf-done__acts .ldlf-btn:only-child { grid-column: span 2; }
.ldlf-done__more { display: flex; justify-content: center; gap: 22px; margin: 22px 0 0; }
.ldlf-done__more a { color: var(--ld-electric, #3D6BFF) !important; font: 650 15px/1.3 var(--ld-text, Inter, sans-serif); }
.ldlf-out { text-align: left; padding-top: 12px; }
.ldlf-out__acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.ldlf-out__acts .ldlf-btn { flex: 1 1 160px; }
.ldlf-tile--static { cursor: default; box-shadow: var(--lf-ring); background: transparent; }
.ldlf-tile--static:hover { box-shadow: var(--lf-ring); }
.ldlf-tile--static .ldlf-tile__icon { width: 44px; height: 44px; background: var(--ld-white, #fff); color: var(--ld-midnight, #141A66); box-shadow: var(--lf-ring); }

/* ---------------------------------------------------------------- My listings (inside the profile account panel) */
body.ld-lf--mine .wc-MyAccount-sub-heading { display: none; }
.ldlf-mine { --lf-shadow: 0 1px 2px rgba(11,13,26,.06), 0 8px 24px -16px rgba(20,26,102,.28); --lf-ring: inset 0 0 0 1px var(--ld-line, #E3E7F1); font-family: var(--ld-text, Inter, sans-serif); color: var(--ld-ink, #0B0D1A); }
.ldlf-mine__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.ldlf-mine__title { margin: 0; font: 800 24px/1.15 var(--ld-heading, "Inter Tight", sans-serif); letter-spacing: -.02em; color: var(--ld-ink, #0B0D1A); }
.ldlf-mine .ldlf-btn--sm span { font-size: 18px; line-height: 0; }
.ldlf-tabs { display: flex; gap: 6px; margin: 0 0 14px; padding: 4px; overflow-x: auto; border-radius: 999px; background: var(--ld-pearl, #F3F5FA); scrollbar-width: none; }
.ldlf-tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ld-text-muted, rgba(11,13,26,.66)); font: 650 14px/1 var(--ld-text, Inter, sans-serif); cursor: pointer; transition: background-color 160ms, color 160ms, box-shadow 160ms; }
.ldlf-tab[aria-selected="true"] { background: var(--ld-white, #fff); color: var(--ld-ink, #0B0D1A); box-shadow: 0 1px 3px rgba(11,13,26,.12); }
.ldlf-tab__n { min-width: 20px; padding: 3px 6px; border-radius: 999px; background: rgba(11,13,26,.06); font-size: 12px; }
.ldlf-rows { display: grid; gap: 10px; }
.ldlf-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; border-radius: 16px; background: var(--ld-white, #fff); box-shadow: var(--lf-ring), var(--lf-shadow); }
.ldlf-row[hidden] { display: none; }
.ldlf-row__media { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--ld-pearl, #F3F5FA); }
.ldlf-row__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ldlf-row__media .ldlf-noimg svg { width: 30px; height: 30px; }
.ldlf-row[data-st="ended"] .ldlf-row__media { filter: grayscale(1); opacity: .6; }
.ldlf-row__body { display: grid; align-content: start; gap: 4px; min-width: 0; }
.ldlf-row__top { display: flex; align-items: center; gap: 8px; margin: 0; }
.ldlf-row__type { font-size: 12.5px; color: var(--ld-text-faint, rgba(11,13,26,.55)); }
.ldlf-pill { padding: 4px 8px; border-radius: 999px; font: 700 11.5px/1 var(--ld-text, Inter, sans-serif); }
.ldlf-pill--live { background: #E3F4EC; color: var(--ld-success, #1F7D57); }
.ldlf-pill--waiting { background: #FFF4D6; color: #7A5400; }
.ldlf-pill--ended { background: var(--ld-pearl, #F3F5FA); color: var(--ld-text-muted, rgba(11,13,26,.66)); }
.ldlf-row__title { margin: 0; font: 700 16px/1.3 var(--ld-text, Inter, sans-serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ldlf-row__title a { color: var(--ld-ink, #0B0D1A) !important; text-decoration: none !important; }
.ldlf-row__meta { margin: 0; font-size: 14px; font-weight: 600; color: var(--ld-ink, #0B0D1A); }
.ldlf-row__stats { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: 13px; }
.ldlf-row__stats:empty { display: none; }
.ldlf-stat { color: var(--ld-text-muted, rgba(11,13,26,.66)); }
.ldlf-stat--soon { color: #9A5B00; font-weight: 650; }
.ldlf-stat--asked { color: var(--ld-electric, #3D6BFF) !important; font-weight: 700; text-decoration: none !important; }
.ldlf-stat--quiet { color: var(--ld-text-faint, rgba(11,13,26,.55)); }
.ldlf-row__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ldlf-rows__none { margin: 18px 0; text-align: center; color: var(--ld-text-muted, rgba(11,13,26,.66)); }
.ldlf-toast { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #E3F4EC; color: var(--ld-success, #1F7D57); font-weight: 650; }
.ldlf-empty { padding: 8px 0 4px; }
.ldlf-empty__title { margin: 0; font: 750 19px/1.25 var(--ld-heading, "Inter Tight", sans-serif); }
.ldlf-empty__lede { margin: 6px 0 16px; font-size: 15px; line-height: 1.5; color: var(--ld-text-muted, rgba(11,13,26,.66)); }
.ldlf-mine .ldlf-tile { box-shadow: var(--lf-ring), var(--lf-shadow); }
@media (min-width: 700px) {
	.ldlf-row { grid-template-columns: 132px minmax(0, 1fr) auto; align-items: center; }
	.ldlf-row__body { grid-column: 2; }
	.ldlf-row__acts { grid-column: 3; grid-row: 1; flex-direction: column; margin: 0; }
}

/* delete sheet */
.ldlf-sheet { width: min(440px, calc(100% - 24px)); margin: auto auto 12px; padding: 0; border: 0; border-radius: 22px; background: var(--ld-white, #fff); box-shadow: 0 30px 60px -20px rgba(11,13,26,.5); color: var(--ld-ink, #0B0D1A); }
.ldlf-sheet::backdrop { background: rgba(11,13,26,.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ldlf-sheet[open] { animation: ldlf-up 240ms cubic-bezier(.2,0,0,1); }
@media (min-width: 700px) { .ldlf-sheet { margin: auto; } }
.ldlf-sheet__in { padding: 22px; font-family: var(--ld-text, Inter, sans-serif); }
.ldlf-sheet__title { margin: 0; font: 750 19px/1.25 var(--ld-heading, "Inter Tight", sans-serif); }
.ldlf-sheet__text { margin: 8px 0 18px; font-size: 15px; line-height: 1.45; color: var(--ld-text-muted, rgba(11,13,26,.66)); overflow-wrap: anywhere; }
.ldlf-sheet__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@keyframes ldlf-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ldlf *, .ldlf-mine *, .ldlf-sheet { animation: none !important; transition: none !important; } }
/* Adrian's icon set paints its own colours; inside our tiles and placeholders they take the tile's colour */
.ldlf-tile__icon svg [fill]:not([fill="none"]), .ldlf-else__i svg [fill]:not([fill="none"]), .ldlf-noimg svg [fill]:not([fill="none"]) { fill: currentColor; }
.ldlf-tile__icon svg [stroke]:not([stroke="none"]), .ldlf-else__i svg [stroke]:not([stroke="none"]), .ldlf-noimg svg [stroke]:not([stroke="none"]) { stroke: currentColor; }
.ldlf-else__i { color: var(--ld-midnight, #141A66); }
.ldlf-mine .ldlf-tile { background: var(--ld-white, #fff); padding: 16px; }
/* the theme paints every <button> blue and centres headings inside the account panel; ours keep their own look */
.ldlf-mine button.ldlf-tab, .ldlf-mine button.ldlf-tab:hover, .ldlf-mine button.ldlf-tab:focus { background: transparent !important; color: var(--ld-text-muted, rgba(11,13,26,.66)) !important; border: 0 !important; box-shadow: none !important; }
.ldlf-mine button.ldlf-tab[aria-selected="true"] { background: var(--ld-white, #fff) !important; color: var(--ld-ink, #0B0D1A) !important; box-shadow: 0 1px 3px rgba(11,13,26,.12) !important; }
.ldlf-mine button.ldlf-btn--quiet, .ldlf button.ldlf-btn--quiet, .ldlf-mine button.ldlf-btn--quiet:hover, .ldlf button.ldlf-btn--quiet:hover { background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--ld-text-muted, rgba(11,13,26,.66)) !important; }
.ldlf-mine button.ldlf-btn--quiet:hover, .ldlf button.ldlf-btn--quiet:hover { color: #B4232C !important; }
.ldlf-sheet button.ldlf-btn--ghost { background: var(--ld-white, #fff) !important; color: var(--ld-ink, #0B0D1A) !important; border: 0 !important; box-shadow: inset 0 0 0 1px var(--ld-line, #E3E7F1) !important; }
.ldlf-mine, .ldlf-mine .ldlf-row, .ldlf-mine .ldlf-row__title, .ldlf-mine .ldlf-mine__title, .ldlf-mine .ldlf-empty { text-align: left; }
.ldlf-mine .ldlf-row__title { font-size: 16px !important; line-height: 1.3 !important; }
.ldlf button.ldlf-chip, .ldlf button.ldlf-tile, .ldlf button.ldlf-else__b, .ldlf button.ldlf-suggest, .ldlf button.ldlf-kept__clear { text-transform: none; letter-spacing: normal; }
.ldlf-mine .ldlf-row h3.ldlf-row__title, .ldlf-mine h2.ldlf-mine__title { text-align: left !important; margin: 0 !important; }

/* ---------------------------------------------------------------- forms lane (28 Oct): Post inside a group, compact dropdowns */
.ldlf-ingroup { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--ld-white, #fff); box-shadow: var(--lf-ring); color: var(--ld-ink, #0B0D1A) !important; text-decoration: none !important; }
.ldlf-ingroup img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.ldlf-ingroup span { display: grid; gap: 2px; }
.ldlf-ingroup small { font: 600 11.5px/1 var(--ld-text, Inter, sans-serif); letter-spacing: .06em; text-transform: uppercase; color: var(--ld-text-faint, rgba(11,13,26,.55)); }
.ldlf-ingroup b { font: 700 15px/1.2 var(--ld-text, Inter, sans-serif); }
.ldlf-choose--group .ldlf-else__h a { color: var(--ld-electric, #3D6BFF); font-weight: 650; }
.ldlf select.ldlf-sel { padding-right: 38px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%230B0D1A' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; text-overflow: ellipsis; }
.ldlf select.ldlf-sel:invalid, .ldlf select.ldlf-sel option[value=""] { color: rgba(11,13,26,.45); }
.ldlf select.ldlf-sel option { color: var(--ld-ink, #0B0D1A); }
.ldlf .is-bad select.ldlf-sel { box-shadow: inset 0 0 0 2px #E0565F; background-color: #FFF7F7; }

/* leftovers2 (28 Oct), blind test 13: an optional field says so after its label */
.ldlf-optional { margin-left: 4px; font-weight: 500; color: var(--ld-text-muted, rgba(11,13,26,.66)); }
/* share-restore (28 Oct): drag and drop photos on a computer. The hint shows only with a mouse; the whole photo box lights up while photos are dragged over it */
.ldlf-photos__drag { display: none; }
@media (hover: hover) and (pointer: fine) {
	.ldlf-photos__drag { display: block; font-size: 13.5px; color: var(--ld-text-muted, rgba(11,13,26,.66)); }
	.ldlf-photos__add--small .ldlf-photos__drag { grid-column: 2; }
}
.ldlf-photos { position: relative; border-radius: var(--lf-r, 16px); transition: box-shadow 160ms cubic-bezier(.2,0,0,1), background-color 160ms; }
.ldlf-photos.is-drop .ldlf-photos__add { background: linear-gradient(180deg, #EAF0FF, #DCE6FF); box-shadow: inset 0 0 0 2px var(--ld-electric, #3D6BFF), 0 0 0 6px rgba(61,107,255,.14); transform: scale(1.01); }
.ldlf-photos.is-drop * { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .ldlf-photos, .ldlf-photos.is-drop .ldlf-photos__add { transition: none; transform: none; } }
/* quick fixes (28 Oct): the box under Other */
.ldlf .ldlf-other { margin-top: 12px; }
.ldlf .ldlf-other__l { display: block; margin: 0 0 6px; font: 600 14px/1.3 var(--ld-text, Inter, sans-serif); color: var(--ld-ink, #0B0D1A); }

/* finish (31 Oct, audit): the preview is the grid card members will see: 12px corners, hairline, the same blue no-photo art with the kind's
   icon in the middle, bold price first */
.ldlf-card.ldlf-card--prev { border-radius: 12px; box-shadow: 0 0 0 1px rgba(13,18,36,.08); }
.ldlf-card--prev .ldlf-noimg { color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(61,107,255,.55) 0%, rgba(61,107,255,0) 60%), linear-gradient(160deg, #141A66 0%, #1E2FA8 100%); }
.ldlf-card--prev .ldlf-noimg svg { width: 26px; height: 26px; padding: 12px; box-sizing: content-box; border-radius: 999px; background: rgba(255,255,255,.14); }
@media (max-width: 420px) { .ldlf-pair:has(#ldlf-suburb) { grid-template-columns: minmax(0, 1fr); } } /* "Select a suburb" was cut at 390 */
