/* LandDU business directory: /businesses/, a single business, My businesses. Round 6 look, loaded only on those pages (includes/pages/business.php).
   Adrian's idu-listings markup and CSS stay underneath; this file overrides them from landdu.css tokens and the approved .ld-card / .ld-pill look. */

/* ---- Page ground ---- */
body.ld-biz .site-content { background: var(--ld-surface); }
body.ld-biz .idu-wrap { color: var(--ld-ink); font-family: var(--ld-text); overflow-wrap: break-word; }
body.ld-biz .idu-wrap h1, body.ld-biz .idu-wrap h2, body.ld-biz .idu-wrap h3, body.ld-biz .idu-wrap h4 { font-family: var(--ld-heading); }
body.ld-biz--archive .idu-archive { padding: 40px 0 72px; }
body.ld-biz--single .idu-biz-single { padding: 8px 0 72px; }

/* ---- Shared buttons: the approved pill buttons ---- */
body.ld-biz .idu-btn--primary {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border: 0; border-radius: var(--ld-r-pill);
	background: var(--ld-electric); color: var(--ld-on-primary); font: 600 14px/1 var(--ld-text); text-decoration: none; box-shadow: var(--ld-glow-primary); transition: background 200ms, transform 160ms;
}
body.ld-biz .idu-btn--primary:hover { background: var(--ld-deep); color: var(--ld-on-primary); }
body.ld-biz .idu-btn--primary:active { transform: scale(.97); }
body.ld-biz .idu-btn--outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: var(--ld-r-pill);
	background: var(--ld-white); color: var(--ld-midnight); font: 600 14px/1 var(--ld-text); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--ld-line); transition: box-shadow 200ms, transform 160ms;
}
body.ld-biz .idu-btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--ld-electric); color: var(--ld-midnight); }
body.ld-biz .idu-btn--outline:active { transform: scale(.97); }
body.ld-biz .idu-btn:focus-visible, body.ld-biz .idu-biz-link:focus-visible { outline: 2px solid var(--ld-electric); outline-offset: 2px; }

/* ---- Directory: header ---- */
body.ld-biz--archive .idu-results { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
body.ld-biz--archive .idu-archive-head { align-items: flex-end; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 28px; padding: 0; border: 0; }
body.ld-biz--archive .idu-archive-head-title { align-items: center; flex-wrap: wrap; gap: 8px 14px; min-width: 0; }
body.ld-biz--archive .idu-archive-title { margin: 0; font: var(--ld-weight-display) var(--ld-fs-h2)/1.02 var(--ld-heading); font-stretch: var(--ld-stretch-h2); letter-spacing: -.01em; color: var(--ld-midnight); overflow-wrap: anywhere; }
body.ld-biz--archive .idu-archive-count { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: var(--ld-r-pill); background: var(--ld-info-bg); color: var(--ld-deep); font: 600 var(--ld-fs-pill)/1 var(--ld-text); }
body.ld-biz--archive .idu-archive-head-title .idu-archive-count::before { display: none; }
body.ld-biz--archive .idu-archive-head-tools { flex-wrap: wrap; gap: 10px 12px; }
body.ld-biz--archive .idu-sort-label { font: 500 13px/1 var(--ld-text); color: var(--ld-text-muted); }
body.ld-biz--archive .idu-sort select, body.ld-biz--archive .idu-sort .facetwp-sort-select {
	height: 44px; padding: 0 38px 0 16px; border: 0; border-radius: var(--ld-r-pill); background-color: var(--ld-white); color: var(--ld-midnight);
	font: 600 14px/1 var(--ld-text); box-shadow: inset 0 0 0 1px var(--ld-line); cursor: pointer; max-width: 100%;
}
body.ld-biz--archive .idu-sort select, body.ld-biz--archive .idu-sort .facetwp-sort-select { height: auto !important; min-height: 44px; max-width: 160px; }
body.ld-biz--archive select:focus-visible { outline: 2px solid var(--ld-electric); outline-offset: 2px; }
body.ld-biz--archive .idu-view-switch { border: 0; background: var(--ld-white); border-radius: var(--ld-r-pill); box-shadow: inset 0 0 0 1px var(--ld-line); padding: 3px; gap: 2px; }
body.ld-biz--archive .idu-view-btn { border-radius: var(--ld-r-pill); border: 0; background: none; color: var(--ld-midnight); }
body.ld-biz--archive .idu-view-btn.is-active { background: var(--ld-info-bg); color: var(--ld-deep); }
body.ld-biz--archive .idu-view-btn svg path { fill: currentColor; }

/* ---- Directory: the filter panel, search box and phone Filter sheet are in filters.css ---- */

/* ---- Directory: the cards. Adrian's business card in the approved listing card family:
   white card, card radius and shadow, category as the pill, name in the heading font, meta in faint text, lift on hover. ---- */
body.ld-biz--archive .idu-biz-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { body.ld-biz--archive .idu-biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { body.ld-biz--archive .idu-biz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.ld-biz--archive .idu-biz-card {
	min-width: 0; padding: 20px 20px 22px; background: var(--ld-white); border: 0; border-radius: var(--ld-r-card); box-shadow: var(--ld-shadow-card);
	transition: transform 220ms var(--ld-ease), box-shadow 220ms;
}
@media (hover: hover) { body.ld-biz--archive .idu-biz-card:hover { transform: translateY(-6px); box-shadow: var(--ld-shadow-card); } }
body.ld-biz--archive .idu-biz-card-main { gap: 16px; margin-bottom: 16px; }
body.ld-biz--archive .idu-biz-card-main:focus-visible { outline: 2px solid var(--ld-electric); outline-offset: 4px; border-radius: var(--ld-r-chip); }
body.ld-biz--archive .idu-biz-card-logo { width: 64px; height: 64px; border: 0; border-radius: var(--ld-r-chip); background: var(--ld-pearl); box-shadow: none; }
body.ld-biz--archive .idu-biz-card-initials { font: var(--ld-weight-display) 22px/1 var(--ld-heading); color: var(--ld-electric); letter-spacing: 0; }
body.ld-biz--archive .idu-biz-card-name { margin: 0 0 8px; gap: 8px; font: var(--ld-weight-display) 20px/1.15 var(--ld-heading); letter-spacing: -.01em; color: var(--ld-midnight); overflow-wrap: anywhere; }
body.ld-biz--archive .idu-biz-card-name span { overflow: visible; text-overflow: clip; }
body.ld-biz--archive .idu-biz-card-meta { gap: 8px 12px; margin-bottom: 12px; font: 400 var(--ld-fs-meta)/1.3 var(--ld-text); color: var(--ld-text-faint); }
body.ld-biz--archive .idu-biz-card-cat { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: var(--ld-r-pill); background: var(--ld-info-bg); color: var(--ld-deep); font: 600 var(--ld-fs-pill)/1 var(--ld-text); letter-spacing: 0; }
body.ld-biz--archive .idu-biz-card-loc { gap: 5px; font: 400 var(--ld-fs-meta)/1.3 var(--ld-text); color: var(--ld-text-faint); }
body.ld-biz--archive .idu-biz-card-loc svg { width: 15px; height: 15px; color: var(--ld-electric); }
body.ld-biz--archive .idu-biz-card-desc { font: 400 15px/1.55 var(--ld-text); color: var(--ld-text-muted); overflow-wrap: anywhere; }
body.ld-biz--archive .idu-biz-card-actions { gap: 8px; padding-top: 16px; border-top: 1px solid var(--ld-hairline); }
body.ld-biz--archive .idu-biz-link {
	height: 40px; padding: 0 14px; gap: 6px; border: 0; border-radius: var(--ld-r-pill); background: var(--ld-pearl); box-shadow: none;
	font: 600 13.5px/1 var(--ld-text); letter-spacing: 0; color: var(--ld-midnight); transition: background 200ms, transform 160ms;
}
body.ld-biz--archive .idu-biz-link:hover { background: var(--ld-info-bg); color: var(--ld-deep); }
body.ld-biz--archive .idu-biz-link:active { transform: scale(.97); }
body.ld-biz--archive .idu-biz-link .idu-ico, body.ld-biz--archive .idu-biz-link .idu-icon { width: 17px; height: 17px; color: var(--ld-electric); }
body.ld-biz--archive .idu-biz-link--icon { width: 40px; padding: 0; }
body.ld-biz--archive .idu-biz-link--icon:hover, body.ld-biz--archive .idu-biz-link--icon:focus { border: 0; color: var(--ld-deep); }
body.ld-biz--archive .idu-biz-act-primary { margin: 0 0 0 auto; height: 40px; padding: 0 18px; }
body.ld-biz--archive .idu-biz-empty { padding: 28px; border-radius: var(--ld-r-card); background: var(--ld-white); box-shadow: var(--ld-shadow-card); color: var(--ld-text-muted); font: 400 var(--ld-fs-support)/1.5 var(--ld-text); }
/* list view: the same card, full width, actions in a row */
body.ld-biz--archive .idu-results.idu-view-list .idu-biz-grid { grid-template-columns: 1fr; }

/* ---- Directory: pager ---- */
body.ld-biz--archive .idu-pagination { margin-top: 32px; }
body.ld-biz--archive .facetwp-pager { display: flex; flex-wrap: wrap; gap: 8px; }
body.ld-biz--archive .facetwp-pager .facetwp-page { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; margin: 0; border-radius: var(--ld-r-pill); background: var(--ld-white); color: var(--ld-midnight); font: 600 14px/1 var(--ld-text); box-shadow: inset 0 0 0 1px var(--ld-line); }
body.ld-biz--archive .facetwp-pager .facetwp-page.active { background: var(--ld-midnight); color: var(--ld-white); box-shadow: none; }

/* ---- A single business ---- */
body.ld-biz--single .idu-biz-crumbs { margin: 0 0 20px; font: 500 13px/1.4 var(--ld-text); color: var(--ld-text-faint); overflow-wrap: anywhere; }
body.ld-biz--single .idu-biz-crumbs a { color: var(--ld-electric); text-decoration: none; }
body.ld-biz--single .idu-biz-crumbs a:hover { color: var(--ld-deep); }
body.ld-biz--single .idu-biz-profile-widget { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
body.ld-biz--single .idu-biz-profile { background: var(--ld-white); border: 0; border-radius: var(--ld-r-card); box-shadow: var(--ld-shadow-card); padding: 28px; }
body.ld-biz--single .idu-biz-profile-head { align-items: center; gap: 18px; }
body.ld-biz--single .idu-biz-profile-logo { width: 88px; height: 88px; flex: 0 0 auto; border: 0; border-radius: var(--ld-r-chip); background: var(--ld-pearl); box-shadow: none; overflow: hidden; display: flex; align-items: center; justify-content: center; }
body.ld-biz--single .idu-biz-profile-logo img { width: 100%; height: 100%; object-fit: cover; }
body.ld-biz--single .idu-biz-profile-logo span { font: var(--ld-weight-display) 28px/1 var(--ld-heading); color: var(--ld-electric); }
body.ld-biz--single .idu-biz-profile-title { min-width: 0; }
body.ld-biz--single .idu-biz-profile-name { margin: 0; font: var(--ld-weight-display) clamp(26px, 5vw, 36px)/1.08 var(--ld-heading); font-stretch: var(--ld-stretch-h2); letter-spacing: -.01em; color: var(--ld-midnight); overflow-wrap: anywhere; }
body.ld-biz--single .idu-biz-profile-name a { color: inherit; }
body.ld-biz--single .idu-biz-profile-sub { margin-top: 10px; display: inline-flex; padding: 5px 10px; border-radius: var(--ld-r-pill); background: var(--ld-info-bg); color: var(--ld-deep); font: 600 var(--ld-fs-pill)/1.2 var(--ld-text); }
body.ld-biz--single .idu-biz-profile-edit { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border: 0; border-radius: var(--ld-r-pill); background: var(--ld-white); color: var(--ld-midnight); font: 600 14px/1 var(--ld-text); box-shadow: inset 0 0 0 1.5px var(--ld-line); text-decoration: none; }
body.ld-biz--single .idu-biz-profile-edit:hover { box-shadow: inset 0 0 0 1.5px var(--ld-electric); color: var(--ld-midnight); background: var(--ld-white); }
body.ld-biz--single .idu-biz-profile-desc { margin: 22px 0 0; font: 400 16px/1.6 var(--ld-text); color: var(--ld-ink); overflow-wrap: anywhere; }
body.ld-biz--single .idu-biz-profile-cols { gap: 16px 28px; margin-top: 24px; }
body.ld-biz--single .idu-biz-profile-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
body.ld-biz--single .idu-biz-profile-contact li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--ld-r-chip); background: var(--ld-pearl); font: 500 15px/1.35 var(--ld-text); color: var(--ld-ink); overflow-wrap: anywhere; }
body.ld-biz--single .idu-biz-profile-contact li svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--ld-electric); }
body.ld-biz--single .idu-biz-profile-contact a { color: var(--ld-midnight); text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
body.ld-biz--single .idu-biz-profile-contact a:hover { color: var(--ld-electric); }
body.ld-biz--single .idu-biz-profile-hours { padding: 16px 18px; border-radius: var(--ld-r-chip); background: var(--ld-pearl); }
body.ld-biz--single .idu-biz-profile-hours h4 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font: 600 15px/1.2 var(--ld-text); color: var(--ld-midnight); }
body.ld-biz--single .idu-biz-profile-hours svg { width: 18px; height: 18px; color: var(--ld-electric); }
/* My Work gallery and the extras Adrian adds under the card */
body.ld-biz--single .idu-biz-profile h3, body.ld-biz--single .idu-biz-profile h4.idu-biz-work-title { font: var(--ld-weight-display) 22px/1.15 var(--ld-heading); color: var(--ld-midnight); }
body.ld-biz--single .idu-biz-work-grid img { border-radius: var(--ld-r-chip); }
body.ld-biz--single .idu-biz-profile-share { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ld-hairline); }
/* run by */
body.ld-biz--single .idu-biz-owner { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 16px; margin-top: 20px; padding: 18px 22px; background: var(--ld-white); border: 0; border-radius: var(--ld-r-card); box-shadow: var(--ld-shadow-card); }
body.ld-biz--single .idu-biz-owner img { border-radius: 50%; }
body.ld-biz--single .idu-biz-owner-meta { flex: 1 1 160px; min-width: 0; }
body.ld-biz--single .idu-biz-owner-label { display: block; margin-bottom: 4px; font: 600 var(--ld-fs-eyebrow)/1 var(--ld-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ld-electric); }
body.ld-biz--single .idu-biz-owner-name { font: var(--ld-weight-display) 18px/1.2 var(--ld-heading); color: var(--ld-midnight); text-decoration: none; overflow-wrap: anywhere; }
body.ld-biz--single .idu-biz-unlisted-note { padding: 12px 16px; border-radius: var(--ld-r-chip); background: var(--ld-info-bg); color: var(--ld-deep); font: 500 14px/1.4 var(--ld-text); }
body.ld-biz--single .idu-biz-empty { padding: 28px; border-radius: var(--ld-r-card); background: var(--ld-white); box-shadow: var(--ld-shadow-card); color: var(--ld-text-muted); font: 400 var(--ld-fs-support)/1.5 var(--ld-text); }

/* ---- My businesses, design v3 (extra pages, 15 Oct): the list, the Add / Edit form, its notices and the signed-out panel.
   Same field, chip and notice language as the v3 listing forms (forms-listing.css) and the composer: small muted labels, filled 46px fields
   with 12px corners, one flat white surface (never a card inside a card), the v3 pill buttons. The page sits in the account shell (members.css). ---- */
body.ld-biz--manage { --lbm-navy: #0a0e24; --lbm-ink: #0d1224; --lbm-mut: #667089; --lbm-hair: #e4e7ef; --lbm-page: #f5f6f9; --lbm-acc: #cfdcff; --lbm-acc-ink: #0a1130; --lbm-tint: #eef1f7;
	--lbm-electric: var(--ld-electric, #3D6BFF); --lbm-err: #a3172a; --lbm-err-bg: #fdecee; --lbm-ok: #1f7d57; --lbm-ok-bg: #e6f3ed;
	--lbm-text: var(--ld-text, "Inter", -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif); --lbm-head: var(--ld-heading, "Inter Tight", "SF Pro Display", -apple-system, sans-serif);
	--lbm-cover: radial-gradient(120% 140% at 85% -20%, rgba(61,99,255,.55) 0%, rgba(61,99,255,0) 55%), linear-gradient(135deg, #0a0e24 0%, #141a66 70%, #1e2fa8 100%); }
body.ld-biz--manage .idu-biz-manage { color: var(--lbm-ink); font-family: var(--lbm-text); }
body.ld-biz--manage .idu-biz-manage *, body.ld-biz--manage .idu-biz-manage *::before, body.ld-biz--manage .idu-biz-manage *::after { box-sizing: border-box; }

/* the v3 pill buttons */
body.ld-biz--manage .idu-biz-manage .idu-btn--primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; height: 44px; margin: 0; padding: 0 22px; border: 0; border-radius: 999px; background: var(--lbm-electric); color: #fff; font: 600 15px/1 var(--lbm-text); letter-spacing: 0; text-transform: none; box-shadow: var(--ld-glow-primary, 0 10px 24px -12px rgba(61,107,255,.7)); text-decoration: none; transition: background .16s ease-out, transform .16s ease-out; }
body.ld-biz--manage .idu-biz-manage .idu-btn--primary:hover { background: var(--lbm-navy); color: #fff; }
body.ld-biz--manage .idu-biz-manage .idu-btn--primary:active { transform: scale(.97); }
body.ld-biz--manage .idu-biz-manage .idu-btn--primary::after { filter: none; }
body.ld-biz--manage .idu-biz-manage .idu-btn--outline { display: inline-flex; align-items: center; justify-content: center; height: 34px; margin: 0; padding: 0 14px; border: 0; border-radius: 999px; background: var(--lbm-tint); color: var(--lbm-ink); font: 700 13.5px/1 var(--lbm-text); box-shadow: none; text-decoration: none; transition: background .16s ease-out, transform .16s ease-out; }
body.ld-biz--manage .idu-biz-manage .idu-btn--outline:hover { background: var(--lbm-acc); color: var(--lbm-acc-ink); }
body.ld-biz--manage .idu-biz-manage :is(.idu-btn, .idu-dash-btn):active { transform: scale(.97); }
body.ld-biz--manage .idu-biz-manage :is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--lbm-electric); outline-offset: 2px; }

/* the list: flat rows split by hairlines, logo, name, category and suburb, the directory badge, then Edit, View, Delete */
body.ld-biz--manage .idu-biz-manage-intro { display: flex; justify-content: flex-end; margin: 0 0 12px; }
body.ld-biz--manage .idu-biz-list { display: grid; gap: 0; margin: 0; padding: 0; background: #fff; border-top: 1px solid var(--lbm-hair); border-bottom: 1px solid var(--lbm-hair); }
body.ld-biz--manage .idu-biz-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "logo body actions"; align-items: center; gap: 4px 14px; margin: 0; padding: 14px 16px; background: none; border: 0; border-top: 1px solid var(--lbm-hair); border-radius: 0; box-shadow: none; }
body.ld-biz--manage .idu-biz-row:first-child { border-top: 0; }
body.ld-biz--manage .idu-biz-row-logo { grid-area: logo; width: 56px; height: 56px; display: grid; place-items: center; overflow: hidden; border: 0; border-radius: 14px; background: var(--lbm-cover); color: #fff; font: 800 18px/1 var(--lbm-head); letter-spacing: -.01em; }
body.ld-biz--manage .idu-biz-row-logo.has-logo { background: #fff; box-shadow: inset 0 0 0 1px var(--lbm-hair); }
body.ld-biz--manage .idu-biz-row-logo img { width: 100%; height: 100%; object-fit: cover; }
body.ld-biz--manage .idu-biz-manage .idu-biz-row-logo span { color: #fff !important; font: 800 18px/1 var(--lbm-head); letter-spacing: -.01em; }
body.ld-biz--manage .idu-biz-row-body { grid-area: body; min-width: 0; display: grid; justify-items: start; gap: 3px; }
body.ld-biz--manage .idu-biz-row-name { display: block; font: 700 16px/1.3 var(--lbm-text); letter-spacing: -.01em; color: var(--lbm-ink); text-decoration: none; overflow-wrap: anywhere; }
body.ld-biz--manage .idu-biz-row-name:hover { color: var(--lbm-electric); }
body.ld-biz--manage .idu-biz-row-meta { margin: 0; font: 500 13.5px/1.35 var(--lbm-text); color: var(--lbm-mut); overflow-wrap: anywhere; }
body.ld-biz--manage .idu-biz-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; margin: 3px 0 0; padding: 0 10px; border-radius: 999px; background: var(--lbm-tint); color: #3a4260; font: 700 12px/1 var(--lbm-text); }
body.ld-biz--manage .idu-biz-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #9aa1b2; }
body.ld-biz--manage .idu-biz-badge.is-on { background: var(--lbm-ok-bg); color: var(--lbm-ok); }
body.ld-biz--manage .idu-biz-badge.is-on::before { background: #1f9d63; }
body.ld-biz--manage .idu-biz-row-actions { grid-area: actions; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
body.ld-biz--manage .idu-biz-manage .idu-dash-btn--link { display: inline-flex; align-items: center; height: 34px; margin: 0; padding: 0 12px; border: 0; border-radius: 999px; background: none; box-shadow: none; font: 700 13.5px/1 var(--lbm-text); color: var(--lbm-ink); text-decoration: none; transition: background .16s ease-out; }
body.ld-biz--manage .idu-biz-manage .idu-dash-btn--link:hover { background: var(--lbm-tint); color: var(--lbm-ink); }
body.ld-biz--manage .idu-biz-row-actions .idu-my-del { color: var(--lbm-err); }
body.ld-biz--manage .idu-biz-row-actions .idu-my-del:hover { background: var(--lbm-err-bg); color: var(--lbm-err); }
/* none yet: a named empty state, the Add button above it stays the one action */
body.ld-biz--manage .idu-dash-empty { margin: 0; padding: 28px 20px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--lbm-hair); font: 500 15px/1.5 var(--lbm-text); color: var(--lbm-mut); text-align: center; }
body.ld-biz--manage .idu-dash-empty::before { content: ""; display: block; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 14px; background: var(--lbm-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b3a73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 4.5 4h15L21 9.5M3 9.5h18M3 9.5c0 1.4 1.1 2.5 2.5 2.5S8 10.9 8 9.5c0 1.4 1.1 2.5 2.5 2.5h3c1.4 0 2.5-1.1 2.5-2.5 0 1.4 1.1 2.5 2.5 2.5S21 10.9 21 9.5M5 12v8h14v-8M10 20v-5h4v5'/%3E%3C/svg%3E") center / 26px no-repeat; }

/* notices from a save or delete, and the form's error */
body.ld-biz--manage :is(.idu-sub-error, .idu-sub-success) { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 13px 16px; border: 0; border-radius: 12px; font: 600 14px/1.45 var(--lbm-text); box-shadow: none; }
body.ld-biz--manage .idu-sub-error { background: var(--lbm-err-bg); color: var(--lbm-err); --lbm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E"); }
body.ld-biz--manage .idu-sub-success { background: var(--lbm-ok-bg); color: var(--lbm-ok); --lbm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 2.7 2.7L16 9.5'/%3E%3C/svg%3E"); }
body.ld-biz--manage :is(.idu-sub-error, .idu-sub-success)::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; background: currentColor; -webkit-mask: var(--lbm-ico) center / contain no-repeat; mask: var(--lbm-ico) center / contain no-repeat; }
/* signed out: the theme's page title in the v3 heading (not the old green), then one calm panel, the "log in" link as the button it is */
body.ld-biz--manage:not(.ld-acct-shell) .entry-header .entry-title, body.ld-biz--manage:not(.ld-acct-shell) h1.entry-title { margin: 0 0 16px; font: 800 28px/1.12 var(--lbm-head); letter-spacing: -.015em; color: var(--lbm-navy); text-shadow: none; text-transform: none; }
body.ld-biz--manage .idu-sub.idu-sub-notice { display: block; line-height: 2.2 !important; max-width: 560px; margin: 0; padding: 24px 24px 22px; border: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--lbm-hair); font: 500 16px/1.5 var(--lbm-text); color: var(--lbm-ink); }
body.ld-biz--manage .idu-sub.idu-sub-notice a { display: inline-flex; align-items: center; height: 40px; margin: 0 2px; padding: 0 18px; border-radius: 999px; background: var(--lbm-electric); color: #fff; font: 600 14.5px/1 var(--lbm-text); text-decoration: none; vertical-align: middle; }
body.ld-biz--manage .idu-sub.idu-sub-notice a:hover { background: var(--lbm-navy); color: #fff; }

/* the add / edit form: one flat surface */
body.ld-biz--manage .idu-biz-form { margin: 0; padding: 24px 28px 28px; background: #fff; border: 1px solid var(--lbm-hair); border-radius: 16px; box-shadow: none; }
body.ld-biz--manage .idu-biz-form .idu-sub-heading { margin: 0 0 18px; padding: 0; font: 800 26px/1.12 var(--lbm-head); letter-spacing: -.015em; color: var(--lbm-navy); text-shadow: none; text-transform: none; }
body.ld-biz--manage .idu-biz-form .idu-sub-heading--sub { margin: 26px 0 12px; padding: 22px 0 0; border-top: 1px solid var(--lbm-hair); font-size: 19px; letter-spacing: -.01em; }
body.ld-biz--manage .idu-biz-form .idu-sub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 14px; }
body.ld-biz--manage .idu-biz-form .idu-sub-grid .idu-sub-row { margin: 0; }
body.ld-biz--manage .idu-biz-form .idu-sub-row { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0 0 16px; }
body.ld-biz--manage .idu-biz-form .idu-sub-label { margin: 0; padding: 0; font: 600 12.5px/1.25 var(--lbm-text); color: var(--lbm-mut); letter-spacing: 0; text-transform: none; }
body.ld-biz--manage .idu-biz-form .idu-req { color: var(--lbm-mut); font-weight: 600; }
body.ld-biz--manage .idu-biz-form .idu-sub-hint { margin: 2px 0 0; font: 400 13px/1.45 var(--lbm-text); color: var(--lbm-mut); }
body.ld-biz--manage .idu-biz-form :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="time"], select, textarea) {
	width: 100%; min-width: 0; height: 46px; min-height: 0; margin: 0; padding: 0 14px; border: 0; border-radius: 12px; background-color: var(--lbm-page); box-shadow: inset 0 0 0 1px var(--lbm-hair);
	font: 500 16px/46px var(--lbm-text); color: var(--lbm-ink); -webkit-appearance: none; appearance: none; transition: box-shadow .15s ease-out, background-color .15s ease-out; }
body.ld-biz--manage .idu-biz-form textarea { height: auto; min-height: 112px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
body.ld-biz--manage .idu-biz-form select { padding-right: 36px; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1224' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
body.ld-biz--manage .idu-biz-form :is(input, select, textarea):hover { box-shadow: inset 0 0 0 1px #cdd2df; }
body.ld-biz--manage .idu-biz-form :is(input, select, textarea):focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--lbm-electric); }
body.ld-biz--manage .idu-biz-form :is(input, textarea)::placeholder { color: #9aa1b2; }
body.ld-biz--manage .idu-biz-form :is(input, select, textarea):user-invalid { background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--lbm-err); }
/* the suburb picker (selectWoo) dressed as a field */
body.ld-biz--manage .idu-biz-form .select2-container { width: 100% !important; }
body.ld-biz--manage .idu-biz-form .select2-container--default .select2-selection--single { display: flex; align-items: center; height: 46px; min-height: 46px; padding: 0 36px 0 14px; border: 0; border-radius: 12px; background: var(--lbm-page); box-shadow: inset 0 0 0 1px var(--lbm-hair); }
body.ld-biz--manage .idu-biz-form .select2-container--default.select2-container--open .select2-selection--single, body.ld-biz--manage .idu-biz-form .select2-container--default.select2-container--focus .select2-selection--single { background: #fff; box-shadow: inset 0 0 0 1.5px var(--lbm-electric); }
body.ld-biz--manage .idu-biz-form .select2-selection__rendered { padding: 0 !important; font: 500 16px/46px var(--lbm-text); color: var(--lbm-ink) !important; }
body.ld-biz--manage .idu-biz-form .select2-selection__placeholder { color: #9aa1b2 !important; }
body.ld-biz--manage .idu-biz-form .select2-selection__arrow { top: 0 !important; right: 10px !important; height: 46px !important; }
body.ld-biz--manage .select2-container--open .select2-dropdown { border: 0; border-radius: 12px; box-shadow: 0 0 0 1px var(--lbm-hair), 0 18px 40px -18px rgba(10,14,36,.35); overflow: hidden; font-family: var(--lbm-text); }
body.ld-biz--manage .select2-container--default .select2-search--dropdown .select2-search__field { height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--lbm-page); box-shadow: inset 0 0 0 1px var(--lbm-hair); font: 500 16px var(--lbm-text); }
body.ld-biz--manage .select2-results__option { padding: 9px 14px; font: 500 15px/1.3 var(--lbm-text); color: var(--lbm-ink); }
body.ld-biz--manage .select2-container--default .select2-results__option--highlighted[aria-selected], body.ld-biz--manage .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: #eef3ff; color: var(--lbm-ink); }
/* logo and work photos: Adrian's plain file inputs, the picker button as a tinted pill, the logo preview a rounded tile */
body.ld-biz--manage .idu-biz-logo { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
body.ld-biz--manage .idu-biz-logo-preview { flex: none; width: 72px; height: 72px; display: grid; place-items: center; overflow: hidden; border: 0; border-radius: 16px; background: var(--lbm-page) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1b2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='3'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='m20.5 16-5-5-8.5 8.5'/%3E%3C/svg%3E") center / 28px no-repeat; box-shadow: inset 0 0 0 1.5px #d7dbe6; }
body.ld-biz--manage .idu-biz-logo-preview.has-logo { background: #fff; box-shadow: inset 0 0 0 1px var(--lbm-hair); }
body.ld-biz--manage .idu-biz-logo-preview img { width: 100%; height: 100%; object-fit: cover; }
body.ld-biz--manage .idu-biz-logo-pick { min-width: 0; flex: 1 1 180px; display: grid; gap: 6px; }
body.ld-biz--manage .idu-biz-form input[type="file"] { width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; font: 500 13.5px/1.4 var(--lbm-text); color: var(--lbm-mut); }
body.ld-biz--manage .idu-biz-form input[type="file"]::file-selector-button { height: 38px; margin: 0 10px 0 0; padding: 0 16px; border: 0; border-radius: 999px; background: var(--lbm-tint); color: var(--lbm-ink); font: 700 14px/1 var(--lbm-text); cursor: pointer; transition: background .16s ease-out; }
body.ld-biz--manage .idu-biz-form input[type="file"]::file-selector-button:hover { background: var(--lbm-acc); }
body.ld-biz--manage .idu-biz-form input[type="file"]:hover { box-shadow: none; }
body.ld-biz--manage .idu-biz-work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin: 4px 0 6px; }
body.ld-biz--manage .idu-biz-work-item { position: relative; display: grid; gap: 6px; margin: 0; }
body.ld-biz--manage .idu-biz-work-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
body.ld-biz--manage .idu-biz-work-remove-label, body.ld-biz--manage .idu-biz-work-item label { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px/1.2 var(--lbm-text); color: var(--lbm-err); }
/* opening hours: one compact row a day (day and Closed on top, the two times under it on a phone), hairlines between days */
body.ld-biz--manage .idu-biz-hours { display: grid; gap: 0; margin: 0; border: 0; }
body.ld-biz--manage .idu-biz-hours-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; grid-template-areas: "day times closed"; align-items: center; gap: 8px 12px; margin: 0; padding: 10px 0; border: 0; border-top: 1px solid var(--lbm-hair); }
body.ld-biz--manage .idu-biz-hours-row:first-child { border-top: 0; padding-top: 0; }
body.ld-biz--manage .idu-biz-hours-day { grid-area: day; font: 700 14.5px/1.3 var(--lbm-text); color: var(--lbm-ink); }
body.ld-biz--manage .idu-biz-hours-times { grid-area: times; display: flex; align-items: center; gap: 8px; min-width: 0; }
body.ld-biz--manage .idu-biz-hours-times input[type="time"] { flex: 1 1 0; width: auto; height: 42px; padding: 0 10px; font-size: 15px; line-height: 42px; }
body.ld-biz--manage .idu-biz-hours-sep { flex: none; font: 600 13px/1 var(--lbm-text); color: var(--lbm-mut); }
body.ld-biz--manage .idu-biz-hours-closed { grid-area: closed; display: inline-flex; align-items: center; gap: 7px; margin: 0; font: 600 13.5px/1 var(--lbm-text); color: #3a4260; cursor: pointer; }
body.ld-biz--manage .idu-biz-form :is(.idu-biz-hours-closed, .idu-sub-check) input[type="checkbox"] { flex: none; width: 19px; height: 19px; margin: 0; accent-color: var(--lbm-navy); box-shadow: none; -webkit-appearance: auto; appearance: auto; }
body.ld-biz--manage .idu-biz-hours-row.is-closed .idu-biz-hours-times { opacity: .4; }
body.ld-biz--manage .idu-biz-hours-row.is-closed { opacity: 1; }
/* show in the directory: a switch-like row */
body.ld-biz--manage .idu-biz-listed-field { margin-top: 8px; padding: 14px 16px; border-radius: 12px; background: var(--lbm-page); }
body.ld-biz--manage .idu-biz-form .idu-sub-check.idu-biz-listed { display: flex; align-items: center; gap: 10px; height: auto; margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; font: 700 15px/1.35 var(--lbm-text); color: var(--lbm-ink); cursor: pointer; }
body.ld-biz--manage .idu-biz-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 0; }
body.ld-biz--manage .idu-biz-form-actions .idu-sub-submit { height: 48px; padding: 0 26px; }
/* inside the account shell the white panel is already the surface on desktop: the form drops its own border (no card inside a card) */
@media (min-width: 641px) { body.ld-biz--manage.ld-acct-shell .idu-biz-form { padding: 4px 0 0; border: 0; border-radius: 0; } }
@media (max-width: 640px) {
	body.ld-biz--manage .idu-biz-form { padding: 18px 16px 20px; border-radius: 16px; }
	body.ld-biz--manage .idu-biz-form .idu-sub-heading { font-size: 23px; }
	body.ld-biz--manage .idu-biz-form .idu-sub-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; }
	body.ld-biz--manage .idu-biz-form .idu-sub-grid .idu-sub-row { margin: 0 0 16px; }
	body.ld-biz--manage .idu-biz-hours-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "day closed" "times times"; }
	body.ld-biz--manage .idu-biz-form-actions .idu-sub-submit { flex: 1 1 100%; }
	body.ld-biz--manage .idu-biz-form-actions .idu-dash-btn--link { flex: 1 1 100%; justify-content: center; height: 44px; }
	body.ld-biz--manage .idu-biz-row { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "logo body" "logo actions"; padding: 12px 14px; }
	body.ld-biz--manage .idu-biz-row-actions { margin: 4px 0 0 -12px; }
}

/* ---- Phone: nothing runs sideways ---- */
body.ld-biz .idu-wrap img, body.ld-biz .idu-biz-manage img { max-width: 100%; }
@media (max-width: 599px) {
	body.ld-biz--archive .idu-archive-head-tools { width: 100%; }
	body.ld-biz--archive .idu-biz-act-primary { margin: 0; flex: 1 1 100%; }
	body.ld-biz--archive .idu-biz-card { padding: 18px; }
	body.ld-biz--single .idu-biz-profile { padding: 20px; }
	body.ld-biz--single .idu-biz-profile-head { flex-wrap: wrap; }
	body.ld-biz--single .idu-biz-profile-logo { width: 72px; height: 72px; }
	body.ld-biz--single .idu-biz-profile-edit { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { body.ld-biz .idu-biz-card, body.ld-biz .idu-btn, body.ld-biz .idu-biz-link { transition: none; } body.ld-biz--archive .idu-biz-card:hover { transform: none; } }

/* My businesses opens like My jobs (members.css .jm-dashboard::before, round two 16 Oct): the navy title band instead of the member's profile cover */
body.ld-acct-shell:has(.idu-biz-manage) #buddypress.idu-account-bp-header { display: none !important; }
body.ld-acct-shell .idu-biz-manage::before { content: "My businesses"; display: flex; align-items: flex-end; min-height: 84px; margin: 0 0 18px; padding: 16px; border-radius: 12px; background: radial-gradient(120% 140% at 85% -20%, rgba(61,99,255,.55) 0%, rgba(61,99,255,0) 55%), linear-gradient(135deg, #0a0e24 0%, #141a66 70%, #1e2fa8 100%); color: #fff; font: 800 26px/1.1 var(--ld-heading, "Inter Tight", -apple-system, sans-serif); letter-spacing: -.025em; box-sizing: border-box; }
@media (max-width: 800px) { body.ld-acct-shell .idu-biz-manage::before { width: 100vw; margin-left: calc(50% - 50vw); margin-top: -27px; border-radius: 0; min-height: 96px; } }

/* Founding business star after the name on a directory card (founding.php, ldbz_dir_card) */
.idu-biz-card-name .ldbz-card__fb{display:inline-block;flex:none;width:18px;height:18px;margin-left:6px;vertical-align:-3px;border-radius:50%}
