/* Asraa Realty — Post Property form redesign (visual layer only) */

.property-submission-form-wrapper {
	/* Brand pass (2026-09-12): brought in line with the site design system
	   (theme.css :root — --coral/--coral-dark/--ink/--muted/--line/--radius)
	   so this page reads as the same product as the rest of asraarealty.com
	   instead of a stock plugin form. Variable names kept as-is to avoid
	   touching every rule below — only the values changed. */
	--asraa-primary: #ff5a5f;
	--asraa-primary-dark: #d6353a;
	--asraa-navy: #1d2327;
	--asraa-text: #1d2327;
	--asraa-muted: #6e6a64;
	--asraa-green: #78ae00;
	--asraa-border: #e7e3dc;
	--asraa-border-strong: #d7d1c6;
	--radius-lg: 14px;
	--radius-base: 8px;
	--font-family: "Hanken Grotesk", -apple-system, system-ui, "Segoe UI", sans-serif;
	--font-serif: "Newsreader", Georgia, "Times New Roman", serif;

	font-family: var(--font-family);
	max-width: 960px;
	margin: 0 auto;
	/* Bottom padding reserves space for the sticky Save & Preview bar
	   (.submit-button-wrapper, position: sticky, bottom: 18px, ~97px tall)
	   so it doesn't overlap the last field row while scrolling. Needed at
	   every width, not just the sub-768px breakpoint below - the sticky
	   bar is exactly as tall (and exactly as overlap-prone) on desktop. */
	padding: 8px 0 140px;
}

.property-submission-form-wrapper .title-profile {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 32px;
	color: var(--asraa-navy);
	margin-bottom: 28px;
	padding-bottom: 16px;
	border-bottom: 3px solid var(--asraa-primary);
	display: inline-block;
}

/* ---------- section-jump nav (added by script.js) ---------- */
/* Not sticky: the theme already runs its own sticky header (.main-sticky-header,
   see homeo/js/functions.js), and stacking two sticky bars caused overlap/z-index
   glitches in testing. Keeping this as a plain in-flow nav avoids that conflict. */

.asraa-form-nav {
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid var(--asraa-border);
	border-radius: var(--radius-lg);
	padding: 10px 12px;
	margin-bottom: 24px;
}

.asraa-form-nav a {
	font-family: var(--font-family);
	font-size: 13px;
	font-weight: 600;
	color: var(--asraa-muted);
	background: #f6f7f9;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 6px 14px;
	text-decoration: none;
	transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
}

.asraa-form-nav a:hover {
	color: var(--asraa-navy);
	background: #eef0f4;
}

.asraa-form-nav a.is-active {
	color: #fff;
	background: var(--asraa-primary);
	border-color: var(--asraa-primary);
}

/* ---------- section "cards" ---------- */
/* .before-group-row wraps each section (Basic Info, Additional, Price, ...) */

.property-submission-form-wrapper .before-group-row {
	background: #ffffff;
	border: 1px solid var(--asraa-border);
	border-radius: var(--radius-lg);
	padding: 28px 32px;
	margin-bottom: 22px;
	box-shadow: 0 2px 10px rgba(24, 24, 24, 0.04);
}

.property-submission-form-wrapper .cmb2-metabox-title {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 600;
	color: var(--asraa-navy);
	margin: 0 0 20px;
	padding-bottom: 14px !important;
	border-bottom: 1px solid var(--asraa-border);
	position: relative;
	scroll-margin-top: 88px;
}

/* ---------- fields ---------- */

.property-submission-form-wrapper .cmb-row {
	margin-bottom: 18px;
}

.property-submission-form-wrapper .cmb-th label {
	font-family: var(--font-family);
	font-weight: 600;
	/* This rule was never actually winning font-size/weight/color (CMB2's
	   own front-end CSS does, at 16px/700/#484848, and matches that
	   elsewhere on the form) - EXCEPT inside repeatable groups
	   (Facilities/Valuation/Floors), where CMB2 uses a smaller 14px for
	   the same label markup. Force 16px everywhere so group field labels
	   ("Key", "Value", ...) read the same size as every other field label
	   on the page instead of visibly smaller. */
	font-size: 16px !important;
	color: var(--asraa-navy);
	margin-bottom: 6px;
	display: inline-block;
	/* A min-height was tried here to fix 3-column row misalignment when a
	   long label ("Carpet Area (sq. ft.)") wrapped to 2 lines next to a
	   short 1-line one ("Floor Number") - but it only ever matched fields
	   with a real <label> tag: CMB2 renders REQUIRED fields (Property
	   Title, Property Description) as plain text + a .required span with
	   NO <label> at all, so those two were the only ones the min-height
	   never touched - meanwhile it silently added ~20px of dead space
	   below every OTHER (non-required) field's label on the entire form,
	   which is most of them. Removed - no longer needed anyway, since the
	   actual row-height mismatch was separately fixed by clearing those
	   new fields' descriptions and the labels now fit on one line at this
	   column width in the new brand-pass font. */
}

.property-submission-form-wrapper .cmb-td input[type="text"],
.property-submission-form-wrapper .cmb-td input[type="number"],
.property-submission-form-wrapper .cmb-td input[type="email"],
.property-submission-form-wrapper .cmb-td input[type="url"],
.property-submission-form-wrapper .cmb-td textarea,
.property-submission-form-wrapper .cmb-td select {
	width: 100%;
	font-family: var(--font-family);
	font-size: 14px;
	color: var(--asraa-text);
	background: #fbfbfc;
	border: 1.5px solid var(--asraa-border-strong);
	border-radius: var(--radius-base);
	padding: 11px 14px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	box-sizing: border-box;
}

.property-submission-form-wrapper .cmb-td input[type="text"]:focus,
.property-submission-form-wrapper .cmb-td input[type="number"]:focus,
.property-submission-form-wrapper .cmb-td textarea:focus,
.property-submission-form-wrapper .cmb-td select:focus {
	outline: none;
	border-color: var(--asraa-primary);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.12);
}

.property-submission-form-wrapper .cmb2-metabox-description {
	font-size: 12px;
	color: var(--asraa-muted);
	margin-top: 4px;
}

/* select2 boxes (Type, Label, Region, Status, Energy Class, Parent property) */
/* select2 sets its own inline width (based on a JS measurement of the original
   select at init time), which can be wrong or collapse to a few px on narrow
   viewports. Force full width so it always matches the other form fields. */
.property-submission-form-wrapper .select2-container {
	width: 100% !important;
}

.property-submission-form-wrapper .select2-container .select2-selection--multiple,
.property-submission-form-wrapper .select2-container .select2-selection--single {
	border: 1.5px solid var(--asraa-border-strong) !important;
	border-radius: var(--radius-base) !important;
	min-height: 44px !important;
}

/* select2's default theme only ever renders a dropdown arrow
   (.select2-selection__arrow, a <b> styled as a CSS triangle) for
   single-selects, never for multi-selects (Type, Label here) - so next to
   Status/Parent property/Regions those two looked like a different,
   unclickable kind of control instead of just another dropdown. Replicate
   the exact same triangle as a ::after on the multi-select container so
   both read as the same affordance. */
.property-submission-form-wrapper .select2-container .select2-selection--multiple {
	position: relative;
	padding-right: 24px !important;
}

.property-submission-form-wrapper .select2-container .select2-selection--multiple::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 10px;
	width: 0;
	height: 0;
	margin-top: -2px;
	border-style: solid;
	border-width: 5px 4px 0;
	border-color: #888 transparent transparent;
	pointer-events: none;
}

.property-submission-form-wrapper .select2-container--default.select2-container--focus .select2-selection--multiple,
.property-submission-form-wrapper .select2-container--focus .select2-selection--single {
	border-color: var(--asraa-primary) !important;
	box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.12);
}

.property-submission-form-wrapper .select2-selection__choice {
	background: #fdeceb !important;
	border-color: #f7c9c9 !important;
	color: var(--asraa-navy) !important;
	border-radius: 999px !important;
	padding: 2px 10px !important;
}

/* Placeholder text for select2 fields that don't set their own (added by
   restoreSelectPlaceholders() in script.js). Single-selects reuse select2's
   own .select2-selection__placeholder styling automatically - this just
   covers the multi-select search input, which is a plain native <input>.
   It picks up this stylesheet's own generic border/border-radius rule for
   text inputs (nothing to do with select2), which - combined with select2's
   own inline `style="width: 0.75em"` (its live auto-resize measurement) -
   made it render as a small separate bordered box floating inside the
   already-bordered outer select2 container, with dead empty space before
   the arrow. When the field is empty, drop the input's own border/background
   so it visually merges into the one outer box, and stretch it to fill the
   full remaining width (overriding select2's inline width, hence
   !important) so the placeholder reads the same as every other dropdown
   here instead of looking like a second, disconnected input. */
.property-submission-form-wrapper .select2--empty-multi .select2-search--inline {
	display: block;
	width: 100%;
}

.property-submission-form-wrapper .select2--empty-multi .select2-search__field {
	width: 100% !important;
	min-width: 0 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.property-submission-form-wrapper .select2-search__field::placeholder {
	color: #999;
}

/* select2 renders its OPEN dropdown panel appended to <body>, not inside the form
   wrapper, so it can't be reached by ".property-submission-form-wrapper ..." rules.
   This stylesheet is only enqueued on this one page (see the mu-plugin loader), so
   styling the plain global classes below can't leak onto select2 used elsewhere. */

body > .select2-container .select2-dropdown {
	font-family: "Hanken Grotesk", -apple-system, system-ui, "Segoe UI", sans-serif;
	border: 1.5px solid #d7d1c6;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(24, 24, 24, 0.12);
}

body > .select2-container .select2-search--dropdown {
	padding: 8px;
	border-bottom: 1px solid #e7e3dc;
}

body > .select2-container .select2-search--dropdown .select2-search__field {
	font-family: "Hanken Grotesk", -apple-system, system-ui, "Segoe UI", sans-serif;
	border: 1.5px solid #d7d1c6;
	border-radius: 6px;
	padding: 8px 10px;
	outline: none;
}

body > .select2-container .select2-search--dropdown .select2-search__field:focus {
	border-color: #ff5a5f;
}

body > .select2-container .select2-results__option {
	font-family: "Hanken Grotesk", -apple-system, system-ui, "Segoe UI", sans-serif;
	font-size: 14px;
	padding: 10px 14px;
}

body > .select2-container .select2-results__option--highlighted[aria-selected] {
	background: #ff5a5f !important;
	color: #fff !important;
}

body > .select2-container .select2-results__option[aria-selected="true"] {
	background: #fdeceb;
	color: #1d2327;
}

/* ---------- amenities: checkbox grid → chip toggles ---------- */

.property-submission-form-wrapper .cmb2-checkbox-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.property-submission-form-wrapper .cmb2-checkbox-list li {
	margin: 0;
	float: none !important;
	width: auto !important;
}

.property-submission-form-wrapper .cmb2-checkbox-list label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--asraa-text);
	background: #f6f7f9;
	border: 1.5px solid transparent;
	border-radius: var(--radius-base);
	padding: 10px 12px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.property-submission-form-wrapper .cmb2-checkbox-list label:hover {
	background: #eef0f4;
}

.property-submission-form-wrapper .cmb2-checkbox-list label.is-checked {
	background: #fdeceb;
	border-color: var(--asraa-primary);
	color: var(--asraa-primary-dark);
}

.property-submission-form-wrapper .cmb2-checkbox-list input[type="checkbox"] {
	accent-color: var(--asraa-primary);
	width: 16px;
	height: 16px;
	flex: none;
}

/* BUG FIX: the real <input type="checkbox"> is hidden by the parent Homeo
   theme's own template.css (display:none) — what's actually visible is a
   fake checkbox drawn on label:before via a Font Awesome 5 glyph
   (content: "\f0c8" unchecked / "\f14a" checked, homeo/css/template.css
   ~line 22910). This site never loads the Font Awesome 5 webfont (same
   root cause as the earlier "find-me-location" icon bug), so both states
   render as a tofu/missing-glyph box instead of an actual checkbox — and
   since checked vs unchecked used the SAME broken glyph, there was no
   visual way to tell an amenity was selected except the chip's background
   tint. Replace with a plain CSS box (no external font dependency): an
   empty rounded square, filled coral with a plain "✓" (a real Unicode
   character every system font renders) when checked. Selector matches the
   sibling structure exactly and !important is required — this stylesheet
   loads before the parent theme's template.css. */
.property-submission-form-wrapper .cmb2-checkbox-list [type="checkbox"] + label:before {
	content: "" !important;
	font-family: inherit !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin: 0 !important;
	flex: none;
	box-sizing: border-box;
	border: 1.5px solid var(--asraa-border-strong);
	border-radius: 4px;
	background: #fff;
}

.property-submission-form-wrapper .cmb2-checkbox-list [type="checkbox"]:checked + label:before {
	content: "\2713" !important;
	font-family: inherit !important;
	color: #fff !important;
	background: var(--asraa-primary);
	border-color: var(--asraa-primary);
	font-size: 11px;
	line-height: 1;
}

.property-submission-form-wrapper a[data-selectall],
.property-submission-form-wrapper .cmb2-select-all-button {
	display: inline-block;
	font-weight: 600;
	color: var(--asraa-primary);
	margin-bottom: 14px;
}

/* ---------- file uploads (Featured Image / Gallery / Attachments) ---------- */

.property-submission-form-wrapper .label-can-drag .upload-file-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 13px;
	color: var(--asraa-navy);
	background: #fbfbfc;
	border: 2px dashed var(--asraa-border-strong);
	border-radius: var(--radius-base);
	padding: 18px 20px;
	min-width: 160px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.property-submission-form-wrapper .label-can-drag .upload-file-btn:hover {
	border-color: var(--asraa-primary);
	background: #fff7f7;
}

.property-submission-form-wrapper .wp-realestate-uploaded-files {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 12px;
}

.property-submission-form-wrapper .wp-realestate-uploaded-file {
	position: relative;
}

.property-submission-form-wrapper .wp-realestate-uploaded-files img {
	display: block;
	width: 92px;
	height: 92px;
	object-fit: cover;
	border-radius: var(--radius-base);
	border: 1px solid var(--asraa-border);
	box-shadow: 0 2px 6px rgba(24, 24, 24, 0.08);
}

/* Remove button as a proper touch target (min ~30px) instead of a tiny corner mark. */
.property-submission-form-wrapper .wp-realestate-remove-uploaded-file {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--asraa-primary);
	color: #fff;
	border: 2px solid #fff;
	box-shadow: 0 2px 6px rgba(24, 24, 24, 0.18);
	cursor: pointer;
	font-size: 12px;
	line-height: 1;
}

.property-submission-form-wrapper .wp-realestate-remove-uploaded-file:hover {
	background: var(--asraa-primary-dark);
}

@media (max-width: 576px) {
	.property-submission-form-wrapper .wp-realestate-uploaded-files img {
		width: 78px;
		height: 78px;
	}

	.property-submission-form-wrapper .wp-realestate-remove-uploaded-file {
		width: 30px;
		height: 30px;
		top: -10px;
		right: -10px;
	}
}

/* ---------- repeatable groups (Facilities / Valuation / Floors) ---------- */

/* BUG FIX: "Nearby Landmarks" / "Valuation Factors" / (Floors' unlabeled
   group) is an <h2 class="cmb-group-name"> sitting alone in its own
   .cmb-row - a generic CMB2 rule gives every .cmb-row an 18-20px
   margin-bottom (spacing meant for "label above input" field rows), which
   here just pushed the first "Group 1" card away from its own section
   name for no reason. Tighten it to a small intentional gap instead. */
.property-submission-form-wrapper .cmb-nested .cmb-row:has(h2.cmb-group-name) {
	margin-bottom: 6px;
}

.property-submission-form-wrapper .cmb-repeatable-group .cmb-row.cmb-repeatable-grouping,
.property-submission-form-wrapper .cmb-repeat-group-wrap .postbox {
	/* cmb2-front.min.css loads after this stylesheet and sets its own
	   .postbox border with equal specificity, so it wins on the border
	   (though not background/border-radius/margin, which apparently
	   aren't set there) unless forced with !important. */
	background: #f9fafb !important;
	border: 1px solid var(--asraa-border) !important;
	border-radius: var(--radius-base) !important;
	margin-bottom: 14px !important;
	/* BUG FIX: cmb2-front.min.css gives the "Group 1"/"Floor Group 1" header
	   bar (.cmb-group-title.cmbhandle-title) a negative left/right margin +
	   matching width so it bleeds edge-to-edge across the postbox's OWN
	   padding — but the margin/width it uses assumes more padding than this
	   postbox actually has, so it overshoots and the tinted header rectangle
	   pokes out ~13px past this box's own border on both sides (confirmed:
	   header rendered 618px wide vs a 592px box). Clipping here is simpler
	   and more robust than matching CMB2's exact margin math (which could
	   change on a plugin update) — nothing inside these groups needs to
	   overflow visibly. */
	overflow: hidden;
}

/* BUG FIX: cmb2-front.min.css's own .cmb-group-title / .inside rules set
   width:100% but leave box-sizing at the browser's content-box default
   (this stylesheet never touches box-sizing, and cmb2-front.min.css loads
   AFTER it, so it wins without needing !important) — 100% width PLUS the
   element's own padding then renders 16-28px wider than the group card, a
   real horizontal overflow (confirmed via scrollWidth > clientWidth on the
   Floors/Facilities repeatable groups). Force border-box back on, scoped to
   just these repeatable-group elements so nothing else on the page changes. */
.property-submission-form-wrapper .cmb-repeatable-grouping,
.property-submission-form-wrapper .cmb-repeatable-grouping * {
	box-sizing: border-box !important;
}

.property-submission-form-wrapper .cmbhandle-title {
	font-family: var(--font-family);
	font-weight: 600;
	color: var(--asraa-navy);
}

/* BUG FIX: this rule used to also match .cmb-add-row — but on this page
   .cmb-add-row is the <p> WRAPPER around the real .cmb-add-group-row
   <button> (CMB2 markup: <p class="cmb-add-row"><button class="cmb-add-
   group-row">Add Group</button></p>), not a button itself. Styling both
   with the same pill (the <p> is a block element, full card width) painted
   one giant stretched bar with the correctly-sized real button invisible
   inside it. Style only the real button; leave the wrapper plain below.
   Brand pass: recolored from the plugin's stock WordPress green to a
   coral outline pill — an inviting secondary action, visually distinct
   from both the solid-coral "Save & Preview" primary button and the
   neutral-grey "Remove Group" button below. */
.property-submission-form-wrapper .cmb-add-group-row {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 13px;
	color: var(--asraa-primary-dark) !important;
	background: #fff !important;
	border: 1.5px solid var(--asraa-primary) !important;
	border-radius: 999px !important;
	padding: 8px 20px !important;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background 0.15s ease, color 0.15s ease;
}

.property-submission-form-wrapper .cmb-add-group-row:hover {
	background: var(--asraa-primary) !important;
	color: #fff !important;
}

.property-submission-form-wrapper p.cmb-add-row {
	background: none;
	border: none;
	padding: 0;
	margin: 4px 0 0;
}

.property-submission-form-wrapper .cmb-remove-group-row {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 13px;
	color: var(--asraa-primary-dark) !important;
	background: #fff !important;
	border: 1.5px solid #f3b9ba !important;
	border-radius: 999px !important;
	padding: 8px 18px !important;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background 0.15s ease;
}

.property-submission-form-wrapper .cmb-remove-group-row:hover {
	background: #fdeceb !important;
}

/* .cmb-remove-row is NOT a button - it's the <div> that wraps the up/down
   move arrows AND the "Remove Group/Floor" button together as one row.
   Styling it with the same pill border/background/padding as the actual
   button (an earlier mistake, since it shares no tag with .cmb-remove-group-
   row and this was easy to miss) stretched that pill into a long, empty
   capsule spanning the full width of the row, wrapping around the move
   arrows as an odd bracket instead of just framing the button. Reset it to
   a plain layout container. */
.property-submission-form-wrapper .cmb-remove-row {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
}

/* BUG FIX: the move-up/move-down icons on repeatable group rows (Facilities
   "Nearby Landmarks", Floors) render as broken tofu boxes for the same
   reason as the amenity checkboxes above — a WordPress "dashicons" icon
   glyph with no font backing it, but a different mechanism. This markup is
   <span class="dashicons dashicons-arrow-up-alt2"> with NO "dashicons-
   before" class; WP core's dashicons.min.css only puts font-family:dashicons
   on ".dashicons-before:before" (the icon-specific rule, e.g.
   ".dashicons-arrow-up-alt2:before", only sets the character content, not
   the font) — normally covered by extra rules in wp-admin's own CSS, which
   isn't loaded on this front-end page. Content ends up rendered in the
   page's own font as a missing-glyph box. Fix: force real plain-text arrow
   characters (no icon font needed) instead of chasing the missing class. */
.property-submission-form-wrapper .cmb-remove-row .dashicons {
	font-family: inherit !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	font-size: 13px;
	line-height: 1;
	color: #fff;
}

.property-submission-form-wrapper .cmb-remove-row .dashicons-arrow-up-alt2:before {
	font-family: inherit !important;
	content: "\2191" !important;
}

.property-submission-form-wrapper .cmb-remove-row .dashicons-arrow-down-alt2:before {
	font-family: inherit !important;
	content: "\2193" !important;
}

/* IMPORTANT: CMB2 gives TWO different buttons the same .cmb-remove-group-row
   class - the small "x" on the collapsed group header AND a separate full
   "Remove Group" text button that belongs in normal flow at the bottom of
   the expanded group's fields. A rule keyed on .cmb-remove-group-row alone
   (as this used to be) hits both, which yanked the second one out of flow
   and stacked it top-right over the Key/Value fields instead of leaving it
   at the bottom where it belongs. Scope position:absolute to the exact
   dashicon "x" element (.dashicons-before.dashicons-no-alt) only. */
.property-submission-form-wrapper .cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row {
	/* CMB2 core has a more specific rule for this exact element
	   (.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row,
	   4 classes) that otherwise keeps winning on top/left - and, it turns
	   out, also resets background/border to none with its own !important,
	   leaving what should be a pill-shaped button looking like a bare "x"
	   character. Matching (and exceeding by one class) CMB2's own selector
	   is the only reliable way to win both battles. */
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	left: auto !important;
	background-color: #fff !important;
	border-color: #f3b9ba !important;
	border-style: solid !important;
	border-width: 1.5px !important;
	z-index: 2;
}

.property-submission-form-wrapper .cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:hover {
	background-color: #fdeceb !important;
}

/* BUG FIX: this "x" icon is also a dashicons glyph (content:"\f335" from
   dashicons.min.css) and, unlike the move-up/move-down arrows above, it DOES
   carry the "dashicons-before" class dashicons.min.css needs for the
   font-family — but the codepoint still renders as an empty/missing glyph
   here rather than an X (verified via getComputedStyle: content resolves to
   an empty string on this page, though the same class combination works
   fine in wp-admin). Rather than keep chasing which front-end stylesheet
   is zeroing it out, force a plain "×" character the same guaranteed way
   as the move arrows above. */
.property-submission-form-wrapper .cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:before {
	font-family: inherit !important;
	content: "\00d7" !important;
	font-size: 14px !important;
	line-height: 1 !important;
}

/* The collapsed group header ("Group 1", "Floor Group 1", ...) is CMB2's
   own title bar - style it to match the rest of the redesign instead of
   the plain default.

   .cmb-group-title.cmbhandle-title (an <h3>) is the actual full-width
   header bar - that's what gets the tinted background. .cmbhandle is NOT
   the header bar despite the similar name; it's a small ~27x30px
   absolutely-positioned hotspot in the corner holding just the toggle
   arrow icon. An earlier version of this file put the background on
   .cmbhandle by mistake, which painted a small grey square around only
   the arrow instead of tinting the header - fixed here. */
.property-submission-form-wrapper .cmb-group-title.cmbhandle-title {
	font-family: var(--font-family);
	background: #f1f2f4 !important;
	border-radius: var(--radius-base) var(--radius-base) 0 0;
	/* BUG FIX (root cause of the "×"/chevron icons appearing invisible even
	   after their content/font were fixed above): CMB2's own DOM order is
	   remove-button, then .cmbhandle, then THIS header <h3> — and this H3
	   is `position: relative` (set elsewhere, not by us). Among sibling
	   positioned elements with no explicit z-index, later DOM order wins
	   the paint order, so this opaque, wider header bar was rendering ON
	   TOP of the two icon buttons that come before it in the markup,
	   completely hiding them despite their own CSS being correct. Pin it
	   behind them explicitly instead of relying on DOM order. */
	position: relative;
	z-index: 1;
}

.property-submission-form-wrapper .postbox.cmb-repeatable-grouping.closed .cmb-group-title.cmbhandle-title {
	border-radius: var(--radius-base);
}

/* BUG FIX: the plugin positions this chevron with float:right + a relative
   right:-1em offset (cmb2-front.css) - that aligns it to the CONTAINING
   BLOCK's own edge (the postbox's padding box), which is a different
   reference point than the "x" remove button above (position:absolute,
   right:10px, measured from the postbox's border box). The two edges don't
   coincide here, so the chevron drifted 17px into the "x" button's own
   58px-wide pill and poked 10px out its far side instead of sitting
   cleanly beside it. Pin both icons to the exact same coordinate system
   (position:absolute on the postbox) so they can't drift apart again. */
.property-submission-form-wrapper .cmbhandle {
	background: transparent !important;
	position: absolute !important;
	top: 10px !important;
	right: 78px !important;
	left: auto !important;
	float: none !important;
	margin: 0 !important;
	width: 24px !important;
	height: 38px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

/* BUG FIX: the expand/collapse chevron on each group header ("Group 1",
   "Floor Group 1", ...) is a THIRD dashicons glyph broken the same way as
   the checkbox/move-arrow/remove-x icons above — cmb2-front.css's own
   `.cmbhandle:before{content:"\f142"; font:normal 20px/1 "dashicons"}` /
   `.postbox.closed .cmbhandle:before{content:"\f140"}` rules set a correct
   codepoint and font, but it still computes to an empty string on this
   page (same unresolved cascade interaction, not worth chasing further -
   clicking the header still expands/collapses correctly, only the visual
   arrow was missing). Force plain characters the same guaranteed way. */
.property-submission-form-wrapper .cmbhandle:before {
	font-family: inherit !important;
	content: "\25be" !important;
	font-size: 14px !important;
	line-height: 1 !important;
}

.property-submission-form-wrapper .postbox.closed .cmbhandle:before {
	content: "\25b8" !important;
}

/* ---------- code editor (Virtual Tour embed code) ---------- */
/* CMB2's "textarea_code" field type (CodeMirror) is the right tool here -
   Virtual Tour expects a pasted Matterport/embed <iframe> snippet, so a
   plain textarea would be worse for that, not better. Just give it the
   same rounded-corner, soft-border treatment as every other field instead
   of CodeMirror's stock square-cornered black-ruled default. */
.property-submission-form-wrapper .cmb-type-textarea-code .CodeMirror {
	border: 1.5px solid var(--asraa-border-strong);
	border-radius: var(--radius-base);
	font-size: 13px;
}

.property-submission-form-wrapper .cmb-type-textarea-code .CodeMirror-focused {
	border-color: var(--asraa-primary);
	box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.12);
}

/* ---------- map ---------- */

.property-submission-form-wrapper .cmb-type-pw-map .leaflet-container,
.property-submission-form-wrapper .cmb-type-pw-map > div > div {
	border-radius: var(--radius-base);
	overflow: hidden;
	border: 1px solid var(--asraa-border);
}

.property-submission-form-wrapper .pw-map-search-wrapper {
	margin-bottom: 10px;
}

.property-submission-form-wrapper .pw-map-search {
	padding-right: 14px !important;
}

/* The plugin's own "find me" icon uses a Font Awesome glyph (content: "\f110")
   that this site never loads, so it was rendering invisible. script.js turns this
   into a proper labelled button (with a real emoji, not an icon-font codepoint) —
   this just supplies its look. Selector kept unscoped-by-!important since the
   element's inline styles from the plugin's own JS animation also need overriding. */

.property-submission-form-wrapper .find-me-location {
	position: static !important;
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	width: auto !important;
	height: auto !important;
	font-family: var(--font-family);
	font-size: 13px;
	font-weight: 600;
	color: var(--asraa-primary-dark) !important;
	background: #fdeceb;
	border: 1.5px solid #f7c9c9;
	border-radius: 999px;
	padding: 8px 16px;
	line-height: 1.2;
	cursor: pointer;
}

.property-submission-form-wrapper .find-me-location::before {
	content: none !important;
}

.property-submission-form-wrapper .find-me-location:hover {
	background: #fbdbda;
}

.property-submission-form-wrapper .find-me-location.loading {
	opacity: 0.7;
	cursor: wait;
}

/* ---------- map ---------- */

.property-submission-form-wrapper .pw-map-latitude,
.property-submission-form-wrapper .pw-map-longitude {
	/* CMB2 core also applies .cmb2-wrap input + input { margin-left: 20px }
	   (its generic spacing for adjacent inline controls), which shifts
	   longitude out of alignment now that both are stacked full-width. */
	margin-left: 0 !important;
	float: none !important;
	display: block;
	margin-bottom: 12px;
}

/* ---------- submit ---------- */

.property-submission-form-wrapper .submit-button-wrapper {
	/* Not sticky by default — see .is-armed below. This element is the very
	   last child of the form, so making it sticky unconditionally pinned it
	   to the viewport for almost the entire scroll (sticky only releases
	   once its true flow position is reached), floating over whatever field
	   happened to sit in that bottom-right corner on every tab (Carpet Area,
	   Label, etc.). script.js arms sticky only once the user has scrolled
	   into the final section, where there's nothing left below to cover. */
	position: static;
	display: flex;
	justify-content: flex-end;
	width: fit-content;
	margin-left: auto;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(6px);
	border: 1px solid var(--asraa-border);
	border-radius: var(--radius-lg);
	padding: 14px 18px;
	margin-top: 8px;
	box-shadow: 0 6px 24px rgba(24, 24, 24, 0.1);
}

.property-submission-form-wrapper .submit-button-wrapper .btn.btn-theme {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 15px;
	background: var(--asraa-primary) !important;
	border-color: var(--asraa-primary) !important;
	border-radius: 999px !important;
	padding: 13px 34px !important;
	box-shadow: 0 4px 14px rgba(255, 90, 95, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.property-submission-form-wrapper .submit-button-wrapper .btn.btn-theme:hover {
	transform: translateY(-1px);
	filter: brightness(0.96);
	box-shadow: 0 6px 18px rgba(255, 90, 95, 0.4);
}

.property-submission-form-wrapper .submit-button-wrapper.is-armed {
	position: sticky;
	bottom: 18px;
	z-index: 20;
}

/* ---------- tablet (portrait tablets + large phones) ---------- */

@media (max-width: 768px) {
	.property-submission-form-wrapper {
		/* Same bottom clearance as the base rule above, just with mobile-scale
		   side padding instead of the desktop 0. */
		padding: 8px 16px 140px;
	}

	.property-submission-form-wrapper .title-profile {
		font-size: 24px;
		margin-bottom: 18px;
	}

	.property-submission-form-wrapper .before-group-row {
		padding: 20px;
	}

	.property-submission-form-wrapper .cmb2-metabox-title {
		font-size: 17px;
	}

	.asraa-form-nav {
		overflow-x: auto;
		flex-wrap: nowrap;
		/* Centering a horizontally-scrolling row pushes its start off to the
		   left of the visible area - keep this one left-aligned so the
		   first tab is reachable without scrolling. */
		justify-content: flex-start;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	.property-submission-form-wrapper .submit-button-wrapper {
		justify-content: stretch;
		/* Full-width sticky CTA is the expected mobile pattern (unlike
		   desktop, see the base rule above) — undo the desktop shrink-wrap. */
		width: 100%;
		margin-left: 0;
	}

	.property-submission-form-wrapper .submit-button-wrapper .btn.btn-theme {
		width: 100%;
		text-align: center;
	}
}

/* ---------- phones (covers essentially all phone widths, incl. large ones) ---------- */
/* Below tablet width, amenity names ("Wheelchair Ramps & Grab-Rails" etc.) are too
   long for 2+ cramped columns, so always drop to a single column here. */

@media (max-width: 576px) {
	/* Was a flat 1fr (always 1 column). Lowering the auto-fill minimum
	   instead lets 2 columns appear on phones with enough width (roughly
	   >=320px content width) - cuts this ~49-item list's height by
	   almost half on most phones instead of every device paying the full
	   single-column length. Long labels wrap within their own cell
	   rather than being cramped, so this doesn't reintroduce the
	   original truncation concern. */
	.property-submission-form-wrapper .cmb2-checkbox-list {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	}

	/* Amenities has ~49 options - on a single narrow column that's a long list
	   of touch targets, so give each row a bit more height/spacing than the
	   desktop multi-column grid needs (10px 12px was sized for a mouse
	   cursor, not a thumb; ~44px is the usual minimum touch-target size). */
	.property-submission-form-wrapper .cmb2-checkbox-list label {
		padding: 13px 14px;
	}

	.property-submission-form-wrapper .cmb2-checkbox-list {
		gap: 8px;
	}
}

/* ---------- small phones ---------- */

@media (max-width: 420px) {
	.property-submission-form-wrapper .before-group-row {
		padding: 16px;
	}

	.property-submission-form-wrapper .cmb-td input[type="text"],
	.property-submission-form-wrapper .cmb-td input[type="number"],
	.property-submission-form-wrapper .cmb-td textarea,
	.property-submission-form-wrapper .cmb-td select {
		padding: 10px 12px;
	}
}

/* ---------- short viewports (e.g. landscape phones) ---------- */
/* Two sticky bars (top nav + bottom submit) can otherwise eat most of a short screen. */

@media (max-height: 480px) {
	.asraa-form-nav {
		position: static;
		backdrop-filter: none;
	}

	.property-submission-form-wrapper .submit-button-wrapper {
		position: static;
		backdrop-filter: none;
	}
}

/* ---------- Quick mode: 3 short steps for a NEW listing (2026-10-14) ----------
   Show/hide only - every field stays in the native form and is submitted.
   v2: listing-strength meter, "Make your listing stand out" checklist,
   one-section-at-a-time extras with Done, and a way back from "every field". */
.asraa-quick .asraa-form-nav { display: none !important; }
.asraa-quick .before-group-row:not(.qs-show) { display: none !important; }
/* only top-level fields: rows INSIDE repeatable groups (floor plans, landmarks) must stay visible */
.asraa-quick .before-group-row .before-group-row-inner > .cmb-row:not(.cmb-type-title):not(.qs-show) { display: none !important; }
.asraa-quick:not(.qs-last) .submit-button-wrapper { display: none !important; }
.asraa-quick .submit-button-wrapper { position: static !important; }
.asraa-qs-head { margin: 4px 0 18px; }
.asraa-qs-lead { margin: 0 0 12px; color: #667085; font-size: 14px; }
.asraa-qs-bar { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.asraa-qs-bar li { flex: 1; text-align: center; font-size: 13px; font-weight: 600; color: #98a2b3; padding: 8px 4px; border-bottom: 3px solid #eaecf0; }
.asraa-qs-bar li.is-on { color: #101828; border-color: #d6353a; }
.asraa-qs-bar li.is-done { color: #067647; border-color: #12b76a; }
.asraa-qs-meter { margin-top: 14px; padding: 12px 14px; border: 1px solid #eaecf0; border-radius: 12px; background: #fff; }
.asraa-qs-meter-top { font-size: 14px; color: #475467; }
.asraa-qs-pct { font-size: 20px; color: #101828; margin-right: 4px; }
.asraa-qs-track { height: 8px; border-radius: 99px; background: #f2f4f7; overflow: hidden; margin: 8px 0 6px; }
.asraa-qs-track i { display: block; height: 100%; width: 0; border-radius: 99px; background: #f79009; transition: width .4s ease; }
.asraa-qs-meter.is-low .asraa-qs-track i { background: #d6353a; }
.asraa-qs-meter.is-good .asraa-qs-track i { background: #12b76a; }
.asraa-qs-nudge { margin: 0; font-size: 13px; color: #667085; }
.asraa-qs-full-bar { display: none; }
.qs-full .asraa-qs-full-bar { display: flex; position: sticky; top: 70px; z-index: 20; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; margin-bottom: 12px; background: #101828; color: #fff; border-radius: 12px; font-size: 14px; }
.qs-full .asraa-qs-full-bar button { background: #fff; color: #101828; border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px; cursor: pointer; min-height: 36px; }
.qs-full .asraa-qs-lead, .qs-full .asraa-qs-bar, .qs-full .asraa-qs-ctrl, .qs-full .asraa-qs-card { display: none !important; }
.asraa-qs-card { margin: 4px 0 16px; padding: 16px; border: 1px solid #eaecf0; border-radius: 14px; background: #fff; }
.asraa-qs-card[hidden], .asraa-qs-ctrl[hidden] { display: none !important; }
.asraa-qs-card h3 { margin: 0 0 4px; font-size: 18px; }
.asraa-qs-card-sub { margin: 0 0 12px; color: #667085; font-size: 13px; }
.asraa-qs-list { list-style: none; margin: 0; padding: 0; }
.asraa-qs-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #f2f4f7; }
.asraa-qs-ico { flex: 0 0 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #f2f4f7; color: #475467; font-weight: 700; }
.asraa-qs-list li.is-done .asraa-qs-ico { background: #ecfdf3; color: #067647; }
.asraa-qs-txt { flex: 1; min-width: 0; }
.asraa-qs-txt b { display: block; font-size: 14px; color: #101828; }
.asraa-qs-txt small { display: block; font-size: 12px; color: #667085; line-height: 1.35; }
.asraa-qs-add { flex: none; min-height: 38px; min-width: 64px; padding: 0 14px; border-radius: 999px; border: 1px solid #d6353a; background: #fff; color: #d6353a; font-weight: 700; font-size: 13px; cursor: pointer; }
.asraa-qs-list li.is-done .asraa-qs-add { border-color: #d0d5dd; color: #344054; }
.asraa-qs-done { display: block; width: 100%; min-height: 48px; margin: 12px 0 4px; border: 0; border-radius: 12px; background: #12b76a; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.asraa-qs-ctrl { margin: 6px 0 12px; }
.asraa-qs-msg:not(:empty) { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; font-size: 14px; }
.asraa-qs-btns { display: flex; gap: 10px; }
.asraa-qs-btns button { min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid #d0d5dd; background: #fff; color: #101828; }
.asraa-qs-btns .asraa-qs-next { flex: 1; background: #d6353a; border-color: #d6353a; color: #fff; }
.asraa-qs-btns button[hidden] { display: none; }
.asraa-qs-all { display: block; width: 100%; margin-top: 12px; background: none; border: 0; color: #175cd3; font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px; }

/* ---------- field polish (2026-10-14) ---------- */
.asraa-field-note { margin: 6px 0 0; font-size: 12.5px; color: #667085; line-height: 1.4; }
.asraa-price-words { font-weight: 700; color: #067647; font-size: 13.5px; }
.asraa-price-words:empty { display: none; }
/* multi-selects (Type, Label): keep the "Select …" hint visible when empty */
.property-submission-form-wrapper .select2--empty-multi .select2-search--inline,
.property-submission-form-wrapper .select2--empty-multi .select2-search__field { width: 100% !important; min-width: 160px; }
.property-submission-form-wrapper .select2-search__field::placeholder,
.property-submission-form-wrapper .select2-selection__placeholder { color: #98a2b3 !important; opacity: 1; }
/* quick mode: hide the developer formatting buttons above the description */
.asraa-quick #qt__property_description_toolbar,
.asraa-quick #wp-_property_description-editor-tools { display: none !important; }
.asraa-qs-bar li { cursor: pointer; user-select: none; }
.asraa-qs-bar li:hover { color: #344054; }
.asraa-qs-bar li:focus-visible { outline: 2px solid #d6353a; outline-offset: 2px; }

/* ---------- full form as tabs (2026-10-14) ---------- */
.asraa-tabs .before-group-row:not(.tab-on) { display: none !important; }
.asraa-tabs .asraa-form-nav { display: flex !important; flex-wrap: nowrap; overflow-x: auto; gap: 8px; position: sticky; top: 64px; z-index: 15; background: #f7f6f3; padding: 8px 2px; margin: 0 0 12px; scrollbar-width: none; }
.asraa-tabs .asraa-form-nav::-webkit-scrollbar { display: none; }
.asraa-tabs .asraa-form-nav a { flex: 0 0 auto; white-space: nowrap; background: #fff; color: #344054; border: 1px solid #d0d5dd; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; text-decoration: none; }
.asraa-tabs .asraa-form-nav a.is-active:not(.is-tab) { background: #fff; color: #344054; border-color: #d0d5dd; }
.asraa-tabs .asraa-form-nav a.is-tab { background: #101828; border-color: #101828; color: #fff; }
.asraa-tabs .asraa-form-nav a.is-filled::after { content: " ✓"; color: #12b76a; }
.asraa-tabs .asraa-form-nav a.is-tab.is-filled::after { color: #6ce9a6; }
.asraa-tab-foot { display: none; }
.asraa-tabs .asraa-tab-foot { display: block; margin: 8px 0 12px; }
.asraa-tab-btns { display: flex; gap: 10px; }
.asraa-tab-btns button { flex: 1; min-height: 48px; border-radius: 12px; border: 1px solid #d0d5dd; background: #fff; color: #101828; font-weight: 700; font-size: 14px; cursor: pointer; padding: 0 12px; }
.asraa-tab-btns .asraa-tab-next { background: #101828; border-color: #101828; color: #fff; }
.asraa-tab-btns button[hidden] { display: none; }
.asraa-tab-onepage { display: block; width: 100%; margin-top: 10px; background: none; border: 0; color: #175cd3; font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px; }
.qs-full .asraa-tab-onepage { display: none; }
.asraa-tabs .submit-button-wrapper { display: block !important; position: static !important; }
.asraa-tab-meter { display: none; }
.asraa-tabs .asraa-tab-meter { display: block; margin: 4px 0 10px; padding: 12px 14px; border: 1px solid #eaecf0; border-radius: 12px; background: #fff; font-size: 13.5px; color: #475467; }
.asraa-tab-meter-top b { color: #101828; }
.asraa-tab-track { height: 8px; border-radius: 99px; background: #f2f4f7; overflow: hidden; margin-top: 8px; }
.asraa-tab-track i { display: block; height: 100%; border-radius: 99px; background: #f79009; transition: width .4s ease; }
.asraa-tab-meter.is-low .asraa-tab-track i { background: #d6353a; }
.asraa-tab-meter.is-good .asraa-tab-track i { background: #12b76a; }
/* tab mode replaces the quick mode: the description formatting buttons stay hidden for agents */
.asraa-tabs #qt__property_description_toolbar { display: none !important; }
.property-submission-form-wrapper .select2-selection--multiple .select2-search__field { border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0; }

/* ---------- sections as a list (2026-10-14, owner: "like list") ---------- */
.asraa-tabs .asraa-form-nav { display: none !important; }
.asraa-sec-list, .asraa-sec-bar { display: none; }
.asraa-tabs.sec-list .asraa-sec-list { display: block; list-style: none; margin: 0 0 14px; padding: 0; background: #fff; border: 1px solid #eaecf0; border-radius: 14px; overflow: hidden; }
.asraa-sec-list li + li { border-top: 1px solid #f2f4f7; }
.asraa-sec-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; background: #fff; border: 0; text-align: left; cursor: pointer; min-height: 60px; }
.asraa-sec-list button:active { background: #f9fafb; }
.asraa-sec-num { flex: 0 0 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #f2f4f7; color: #344054; font-weight: 700; font-size: 13px; }
.asraa-sec-list li.is-done .asraa-sec-num { background: #ecfdf3; color: #067647; }
.asraa-sec-txt { flex: 1; min-width: 0; }
.asraa-sec-txt b { display: block; font-size: 15px; color: #101828; }
.asraa-sec-txt small { display: block; font-size: 12.5px; color: #667085; line-height: 1.35; margin-top: 2px; }
.asraa-sec-state { flex: none; font-size: 20px; color: #98a2b3; font-weight: 700; }
.asraa-sec-list li.is-done .asraa-sec-state { color: #12b76a; font-size: 18px; }
/* list screen: no section open, no prev/next */
.asraa-tabs.sec-list .before-group-row { display: none !important; }
.asraa-tabs.sec-list .asraa-tab-btns, .asraa-tabs.sec-list .asraa-tab-onepage { display: none; }
/* section screen: back bar */
.asraa-tabs:not(.sec-list) .asraa-sec-bar { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; position: sticky; top: 64px; z-index: 15; background: #f7f6f3; padding: 8px 0; }
.asraa-sec-back { border: 1px solid #d0d5dd; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px; color: #101828; cursor: pointer; min-height: 40px; white-space: nowrap; }
.asraa-sec-title { font-size: 15px; color: #101828; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- list items show ONLY their own fields (2026-10-14) ---------- */
.asraa-tabs:not(.sec-list) .before-group-row-inner > .cmb-row:not(.tab-row-on) { display: none !important; }
.asraa-tabs .before-group-row.tab-on { margin-bottom: 12px; }
/* quick form -> "Show every field": one progress card only (the list's) */
.qs-full .asraa-qs-meter { display: none !important; }

/* ---------- checklist from the start (2026-10-14, owner) ---------- */
.asraa-cl-card { display: none; }
.asraa-tabs.sec-list .asraa-cl-card { display: block; margin: 0 0 14px; padding: 16px; border: 1px solid #eaecf0; border-radius: 14px; background: #fff; }
.asraa-cl-card h3 { margin: 0 0 4px; font-size: 18px; }
.asraa-tabs.sec-list .asraa-sec-list.asraa-cl { border: 0; border-radius: 0; margin: 0; }
.asraa-sec-list.asraa-cl li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #f2f4f7; cursor: pointer; }
.asraa-sec-list.asraa-cl li + li { border-top: 1px solid #f2f4f7; }
.asraa-sec-list.asraa-cl li.is-done .asraa-qs-ico { background: #ecfdf3; color: #067647; }
.asraa-sec-list.asraa-cl li.is-done .asraa-qs-add { border-color: #d0d5dd; color: #344054; }
.asraa-cl-done { display: none; }
.asraa-tabs:not(.sec-list) .asraa-cl-done { display: block; }
.asraa-tabs .asraa-tab-btns .asraa-tab-next { flex: 1; background: none; border: 0; color: #175cd3; min-height: 40px; font-weight: 600; }
.asraa-tabs .asraa-tab-btns .asraa-tab-prev { display: none; }
.asraa-sec-list.asraa-cl .asraa-qs-add { display: inline-flex; align-items: center; justify-content: center; width: auto; flex: none; min-height: 38px; min-width: 64px; padding: 0 14px; border-radius: 999px; border: 1px solid #d6353a; background: #fff; color: #d6353a; font-weight: 700; font-size: 13px; text-align: center; }
