/* Siebert Brand - one form system for every form on the site:
   IDX hero quick search, IDX results filter bar, IDX sidebar widget,
   Contact Form 7, Divi contact + newsletter modules, dsIDX contact form. */

:root {
	--sb-field-h: 48px;
	--sb-field-border: #cfd9e2;
	--sb-field-radius: 10px;
	--sb-focus: 0 0 0 3px rgba(92, 135, 163, .28);
	--sb-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235c87a3' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

/* ---------- Fields ---------- */
body.sb-brand :is(.et_pb_blurb_0, #dsidx, #sidebar, .wpcf7, .et_pb_contact_form, .dsidx-resp-search-box)
	:is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select, textarea):not(.select2-search__field):not(.dsidx-autocomplete-box input) {
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: var(--sb-field-h) !important;
	height: auto !important;
	margin: 0 !important;
	padding: 11px 14px !important;
	font: 400 16px/1.3 var(--sb-body) !important;
	color: var(--sb-ink) !important;
	background-color: #fff !important;
	border: 1px solid var(--sb-field-border) !important;
	border-radius: var(--sb-field-radius) !important;
	box-shadow: none !important;
	transition: border-color .15s, box-shadow .15s;
}
body.sb-brand :is(.et_pb_blurb_0, #dsidx, #sidebar, .wpcf7, .et_pb_contact_form, .dsidx-resp-search-box) select:not([multiple]) {
	-webkit-appearance: none; appearance: none;
	padding-right: 38px !important;
	background: #fff var(--sb-chevron) no-repeat right 14px center !important;
}
body.sb-brand :is(.et_pb_blurb_0, #dsidx, #sidebar, .wpcf7, .et_pb_contact_form, .dsidx-resp-search-box) textarea { min-height: 140px !important; resize: vertical; }
body.sb-brand :is(.et_pb_blurb_0, #dsidx, #sidebar, .wpcf7, .et_pb_contact_form, .et_pb_newsletter_form, .dsidx-resp-search-box) :is(input, select, textarea)::placeholder { color: #8796a3 !important; opacity: 1; }
body.sb-brand :is(.et_pb_blurb_0, #dsidx, #sidebar, .wpcf7, .et_pb_contact_form, .et_pb_newsletter_form, .dsidx-resp-search-box) :is(input, select, textarea):focus,
body.sb-brand .dsidx-autocomplete-box:focus-within,
body.sb-brand .select2-container--focus .select2-selection {
	outline: none !important; border-color: var(--sb-steel) !important; box-shadow: var(--sb-focus) !important;
}

/* IDX autocomplete: the bordered box is the field, the inner input is bare */
body.sb-brand .dsidx-autocomplete-box {
	box-sizing: border-box; display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
	min-height: var(--sb-field-h); width: 100% !important; padding: 0 12px !important; margin: 0 !important;
	background: #fff !important; border: 1px solid var(--sb-field-border) !important; border-radius: var(--sb-field-radius) !important; box-shadow: none !important;
}
body.sb-brand .dsidx-autocomplete-box input {
	flex: 1; min-width: 120px; width: auto !important; height: 46px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
	border: 0 !important; background: transparent !important; box-shadow: none !important; font: 400 16px var(--sb-body) !important; color: var(--sb-ink) !important; outline: none !important;
}

/* select2 (Property Type / Tract) -> same as native fields */
body.sb-brand .select2-container { width: 100% !important; }
body.sb-brand .select2-container--default .select2-selection--multiple,
body.sb-brand .select2-container--default .select2-selection--single {
	box-sizing: border-box; min-height: var(--sb-field-h) !important; height: auto !important; display: flex; align-items: center;
	padding: 4px 38px 4px 12px !important; background: #fff var(--sb-chevron) no-repeat right 14px center !important;
	border: 1px solid var(--sb-field-border) !important; border-radius: var(--sb-field-radius) !important;
}
body.sb-brand .select2-selection__arrow { display: none !important; }
body.sb-brand .select2-selection__rendered { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px; padding: 0 !important; margin: 0 !important; line-height: 1.3 !important; width: 100%; }
body.sb-brand .select2-search--inline { flex: 1; }
body.sb-brand .select2-search--inline, body.sb-brand .select2-search__field { margin: 0 !important; font: 400 16px var(--sb-body) !important; color: var(--sb-ink) !important; }
body.sb-brand .select2-search__field { width: 100% !important; height: 36px !important; border: 0 !important; }
body.sb-brand .select2-search__field::placeholder { color: #8796a3 !important; }
body.sb-brand .select2-selection__choice { background: var(--sb-tint) !important; border: 1px solid var(--sb-line) !important; border-radius: 999px !important; padding: 2px 10px !important; font-size: 13px !important; color: var(--sb-navy) !important; margin: 0 !important; }
body.sb-brand .select2-dropdown { border-color: var(--sb-field-border) !important; border-radius: var(--sb-field-radius) !important; overflow: hidden; box-shadow: 0 12px 28px rgba(30, 50, 70, .14); }
body.sb-brand .select2-results__option--highlighted { background: var(--sb-steel) !important; }

/* ---------- Labels ---------- */
body.sb-brand :is(.et_pb_blurb_0, #dsidx, #sidebar, .wpcf7, .et_pb_contact_form, .dsidx-resp-search-box) label {
	display: block !important; margin: 0 0 6px !important; padding: 0 !important; width: auto !important; max-width: none !important; flex: none !important;
	font: 600 12px var(--sb-head) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--sb-muted) !important; text-align: left !important;
}
body.sb-brand .wpcf7 label br { display: none; }
body.sb-brand .wpcf7 form > p { margin: 0 0 16px !important; }
body.sb-brand .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }

/* ---------- Primary buttons in forms ---------- */
body.sb-brand :is(.et_pb_blurb_0, #sidebar, .dsidx-resp-search-box) :is(input[type="submit"], button[type="submit"], .dsidx-resp-search-submit, .submit),
body.sb-brand #page-container #et-main-area .et_pb_section .wpcf7-submit.et_pb_button,
body.sb-brand .wpcf7 input[type="submit"] {
	box-sizing: border-box; min-height: var(--sb-field-h) !important; height: var(--sb-field-h) !important;
	padding: 0 26px !important; margin: 0 !important; border-radius: var(--sb-field-radius) !important;
	background: var(--sb-navy) !important; border: 1px solid var(--sb-navy) !important; color: #fff !important;
	font: 700 15px var(--sb-head) !important; letter-spacing: .02em !important; text-transform: none !important; cursor: pointer; box-shadow: none !important;
}
body.sb-brand :is(.et_pb_blurb_0, #sidebar, .dsidx-resp-search-box) :is(input[type="submit"], button[type="submit"], .dsidx-resp-search-submit, .submit):hover,
body.sb-brand #page-container #et-main-area .et_pb_section .wpcf7-submit.et_pb_button:hover { background: var(--sb-steel) !important; border-color: var(--sb-steel) !important; }

/* ---------- Hero quick search ---------- */
body.sb-brand.home .et_pb_blurb_0 { background: rgba(255, 255, 255, .9) !important; border-radius: 16px !important; padding: 22px 22px 24px !important; }
body.sb-brand.home .et_pb_blurb_0 h4 { font-size: clamp(19px, 2vw, 24px) !important; margin-bottom: 16px !important; padding: 0 !important; }
body.sb-brand.home .et_pb_blurb_0 .dsidx-resp-search-box { width: 100% !important; padding: 0 !important; background: none !important; border: 0 !important; }
body.sb-brand.home .et_pb_blurb_0 fieldset { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px 12px; align-items: end; border: 0 !important; padding: 0 !important; margin: 0 !important; }
body.sb-brand.home .et_pb_blurb_0 .dsidx-resp-area { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; grid-column: 1 / -1; }
body.sb-brand.home .et_pb_blurb_0 .dsidx-resp-area.dsidx-resp-area-half { grid-column: auto; }
body.sb-brand.home .et_pb_blurb_0 .dsidx-resp-area-submit :is(input, button) { width: 100% !important; }
@media (min-width: 981px) {
	body.sb-brand.home .et_pb_blurb_0 fieldset { display: flex !important; flex-wrap: nowrap; }
	body.sb-brand.home .et_pb_blurb_0 .dsidx-resp-area { flex: 1 1 0; min-width: 0; }
	body.sb-brand.home .et_pb_blurb_0 .dsidx-resp-location-area { flex: 2 1 0; }
	body.sb-brand.home .et_pb_blurb_0 .dsidx-resp-type-area { flex: 1.4 1 0; }
	body.sb-brand.home .et_pb_blurb_0 .dsidx-resp-area-submit { flex: 0 0 auto; }
	body.sb-brand.home .et_pb_blurb_0 .dsidx-resp-area-submit :is(input, button) { width: auto !important; }
}

/* ---------- Results filter bar ---------- */
body.sb-brand #dsidx-top-search { background: var(--sb-tint) !important; border-radius: 16px !important; padding: 14px !important; }
body.sb-brand #dsidx-top-search :is(#dsidx-search-bar, #dsidx-search-form-wrap, #dsidx-search-form-main, #defaultSearchFilters, .dsidx-search-quick-form) { background: none !important; border: 0 !important; box-shadow: none !important; }
body.sb-brand #dsidx-top-search .dsidx-search-quick-form { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0 !important; color: transparent; padding: 0 !important; }
body.sb-brand #dsidx-top-search .dsidx-search-quick-form > input { flex: 1 1 100%; width: auto !important; }
body.sb-brand #dsidx-top-search .dsidx-search-bar-openclose {
	flex: 1 1 100%; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; width: auto !important; height: 44px !important;
	border: 1px solid var(--sb-steel); border-radius: var(--sb-field-radius); background: #fff none !important; cursor: pointer; position: static !important; margin: 0 !important;
}
body.sb-brand #dsidx-top-search .dsidx-search-bar-openclose::before { content: "Filters"; font: 700 14px var(--sb-head); color: var(--sb-steel); }
body.sb-brand #dsidx-top-search .dsidx-search-bar-openclose::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--sb-steel); border-bottom: 2px solid var(--sb-steel); transform: rotate(45deg) translateY(-2px); }
body.sb-brand #dsidx-top-search .dsidx-search-bar-pull-up::after { transform: rotate(-135deg) translateY(-2px); }
body.sb-brand #dsidx-top-search #dsidx-search-form-main .row { margin-left: 0 !important; margin-right: 0 !important; }
body.sb-brand #dsidx-top-search #dsidx-search-form-main .row.m-1 { display: block !important; margin: 0 0 12px !important; }
body.sb-brand #dsidx-top-search #dsidx-search-form-main .row.m-1 > [class*="col-"] { flex: none !important; width: 100% !important; max-width: 100% !important; padding: 0 !important; }
@media (min-width: 768px) {
	body.sb-brand #dsidx-top-search .dsidx-search-quick-form { flex-wrap: nowrap; }
	body.sb-brand #dsidx-top-search .dsidx-search-quick-form > input { flex: 1 1 0; }
	body.sb-brand #dsidx-top-search .dsidx-search-quick-form > input:first-child { flex: 2.2 1 0; }
	body.sb-brand #dsidx-top-search .dsidx-search-bar-openclose { flex: 0 0 auto; padding: 0 18px; height: var(--sb-field-h) !important; }
}
/* Toolbar: sort / count / map toggle */
body.sb-brand .dsidx-results :is(.dsidx-sorting-control, .dsidx-paging-control) { display: inline-flex !important; align-items: center; gap: 8px; float: none !important; margin: 0 0 10px !important; color: var(--sb-muted); font-size: 14px !important; }
body.sb-brand .dsidx-results .dsidx-sorting-control select { width: auto !important; min-height: 40px !important; padding: 6px 36px 6px 12px !important; font-size: 15px !important; }

/* ---------- Sidebar "Search Our Listings" widget ---------- */
body.sb-brand #sidebar .dsidx-widget-guided-search { background: var(--sb-tint); border-radius: 16px; padding: 20px !important; margin-bottom: 26px; }
body.sb-brand #sidebar :is(.widgettitle, h4.widgettitle) { font: 700 18px var(--sb-head) !important; color: var(--sb-navy) !important; margin: 0 0 14px !important; padding: 0 !important; }
body.sb-brand #sidebar .dsidx-resp-search-box { width: 100% !important; padding: 0 !important; background: none !important; border: 0 !important; }
body.sb-brand #sidebar .dsidx-resp-search-box form { display: block !important; }
body.sb-brand #sidebar .dsidx-resp-search-box fieldset { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px 10px; border: 0 !important; padding: 0 !important; margin: 0 !important; }
body.sb-brand #sidebar .dsidx-resp-area { grid-column: 1 / -1; width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
body.sb-brand #sidebar .dsidx-resp-area.dsidx-resp-area-half { grid-column: auto; }
body.sb-brand #sidebar .dsidx-resp-area-submit :is(input, button) { width: 100% !important; }
body.sb-brand #sidebar .widget_nav_menu a { color: var(--sb-steel) !important; font-size: 15px; }

/* ---------- Home "Get More Information" section ---------- */
body.sb-brand.home .et_pb_section_11 { background-color: var(--sb-tint) !important; }
body.sb-brand .wpcf7 { max-width: 640px; }

/* ---------- Footer newsletter (on the steel card) ---------- */
body.sb-brand .et_pb_newsletter_form input#et_pb_signup_email, body.sb-brand .et_pb_newsletter_form input.input {
	box-sizing: border-box; width: 100% !important; min-height: var(--sb-field-h) !important; padding: 11px 16px !important;
	background: #fff !important; border: 1px solid #fff !important; border-radius: var(--sb-field-radius) !important; color: var(--sb-ink) !important; font: 16px var(--sb-body) !important; text-align: left !important;
}
body.sb-brand .et_pb_newsletter_form input::placeholder { color: #8796a3 !important; }
body.sb-brand #page-container #et-main-area .et_pb_section .et_pb_newsletter_button.et_pb_button {
	background: var(--sb-navy) !important; border: 1px solid var(--sb-navy) !important; color: #fff !important; border-radius: var(--sb-field-radius) !important;
	min-height: var(--sb-field-h); display: flex !important; align-items: center; justify-content: center; font: 700 15px var(--sb-head) !important; text-transform: none !important; letter-spacing: .02em !important;
}
body.sb-brand #page-container .et_pb_newsletter_button .et_pb_newsletter_button_text { color: #fff !important; }
body.sb-brand #page-container #et-main-area .et_pb_section .et_pb_newsletter_button.et_pb_button:hover { background: #fff !important; border-color: #fff !important; }
body.sb-brand #page-container #et-main-area .et_pb_section .et_pb_newsletter_button.et_pb_button:hover .et_pb_newsletter_button_text { color: var(--sb-navy) !important; }

/* ---------- Page frame fixes from the critique ---------- */
body.sb-brand .et-l--header .et_pb_section { background-color: var(--sb-tint) !important; }
body.sb-brand #dsidx.dsidx-results { max-width: 1180px; margin: 0 auto !important; padding: 0 4% 30px !important; box-sizing: border-box; }
@media (min-width: 1300px) { body.sb-brand #dsidx.dsidx-results { padding: 0 0 40px !important; } }
body.sb-brand .dsidx-navbar-item { background: none !important; border: 0 !important; padding: 0 !important; }


/* Listing title: no dotted IDX underline; Share sits on the MLS badge line */
body.sb-brand:not(.home) h1.entry-title, body.sb-brand:not(.home) h1.entry-title * { text-decoration: none !important; border-bottom: 0 !important; }
body.sb-brand .dsidx-details .dsidx-navbar { margin: 0 0 12px !important; }

/* Hero: bare inner location input, single chevron on select2 */
body.sb-brand.home .et_pb_blurb_0 .dsidx-autocomplete-box input,
body.sb-brand #sidebar .dsidx-autocomplete-box input { border: 0 !important; box-shadow: none !important; background: transparent !important; min-height: 0 !important; height: 46px !important; padding: 0 !important; }
body.sb-brand .select2-container .select2-selection::after, body.sb-brand .select2-container b[role="presentation"] { display: none !important; content: none !important; }
body.sb-brand .select2-search--inline .select2-search__field { padding: 0 !important; margin: 0 !important; }
body.sb-brand .select2-container .select2-selection--multiple .select2-selection__rendered { padding-left: 0 !important; }

/* Results quick form: only fields + Filters button */
body.sb-brand #dsidx-top-search .dsidx-search-quick-form > :not(input):not(.dsidx-search-bar-openclose) { display: none !important; }

/* Page background: no warm off-white showing between sections */
body.sb-brand, body.sb-brand #page-container, body.sb-brand #et-main-area, body.sb-brand #main-content { background-color: #fff !important; }

/* ---------- Critique round 4 ---------- */
/* Footer: Divi's warm-to-transparent gradient band -> white; consistent navy */
body.sb-brand .et_pb_section_1_tb_footer { background-color: var(--sb-navy) !important; background-image: linear-gradient(#fff 30%, rgba(255, 255, 255, 0) 30%) !important; }
/* IDX title band (light blue) -> brand tint */
body.sb-brand:not(.home) .et_pb_section:has(h1.entry-title) { background-color: var(--sb-tint) !important; background-image: none !important; }
/* Hero location field: same 48px as its neighbours */
body.sb-brand.home .et_pb_blurb_0 .dsidx-autocomplete-box { height: var(--sb-field-h) !important; min-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; flex-wrap: nowrap !important; overflow: hidden; }
@media (min-width: 981px) { body.sb-brand.home .et_pb_blurb_0 fieldset { align-items: flex-end !important; } }
/* Results filter: no inset on the left */
body.sb-brand #dsidx-top-search :is(#dsidx-search-bar, #dsidx-search-form) { padding: 0 !important; margin: 0 !important; width: 100% !important; }
/* Less dead space between the address and the listing on phones */
body.sb-brand.sb-idx-detail .et_pb_section:has(h1.entry-title) { padding-bottom: 8px !important; }
body.sb-brand.sb-idx-detail #main-content .container { padding-top: 24px !important; }

body.sb-brand .dsidx-details .dsidx-navbar { margin: -12px 0 6px !important; min-height: 0 !important; }
body.sb-brand .dsidx-details .dsidx-navbar :is(.dsidx-navbar-center, .dsidx-navbar-left) { display: none !important; }
body.sb-brand .dsidx-details .dsidx-navbar-right { margin: 0 !important; }

/* No sideways wobble on phones (team carousel overhang). clip, not hidden, so sticky still works. */
body.sb-brand #page-container { overflow-x: clip; }

/* ---------- Inner content pages (About, Sellers, Buyers, FAQ, Property Mgmt, Login, 404) ---------- */
/* Page titles: navy, sized for phones */
body.sb-brand:not(.home) #et-main-area :is(h1, h1.et_pb_module_heading, h1.dsm-text-divider-header, h1.entry-title) {
	color: var(--sb-navy) !important; font-size: clamp(30px, 7vw, 50px) !important; line-height: 1.15 !important;
	font-weight: 700 !important; letter-spacing: -.01em !important; overflow-wrap: break-word;
}
body.sb-brand:not(.home) #et-main-area h1.dsm-text-divider-header span { font-size: inherit !important; color: inherit !important; }
/* Section headings inside text blocks */
body.sb-brand:not(.home) #et-main-area .et_pb_text h2, body.sb-brand:not(.home) #et-main-area .sb-fake-heading {
	font-family: var(--sb-head) !important; font-size: clamp(24px, 5vw, 36px) !important; line-height: 1.2 !important;
	font-weight: 700 !important; color: var(--sb-steel) !important; margin-bottom: 14px !important;
}
body.sb-brand:not(.home) #et-main-area .et_pb_text h3 { font-size: clamp(19px, 4vw, 24px) !important; line-height: 1.3 !important; color: var(--sb-navy) !important; }
body.sb-brand:not(.home) #et-main-area .et_pb_text :is(p, li) { font-size: 16.5px !important; line-height: 1.7 !important; color: var(--sb-ink) !important; }
/* In-page jump menus (Buyer/Seller guides) and back-to-top links */
body.sb-brand:not(.home) #et-main-area a[href="#page_top"], body.sb-brand:not(.home) #et-main-area a[href="#top"] { font: 600 13px var(--sb-head) !important; text-decoration: none !important; letter-spacing: .04em; text-transform: uppercase; }

/* Footer: the warm strip above the newsletter card (Divi gradient) -> white; one navy everywhere */
body.sb-brand #page-container .et_pb_section.et_pb_section_1_tb_footer {
	background-color: var(--sb-navy) !important;
	background-image: linear-gradient(#fff 30%, rgba(255, 255, 255, 0) 30%) !important;
}

/* Sidebar search: even spacing, half-width pairs side by side */
body.sb-brand #sidebar .dsidx-resp-search-box form { display: flex !important; flex-wrap: wrap; gap: 14px 10px; }
body.sb-brand #sidebar .dsidx-resp-search-box fieldset { display: contents !important; }
body.sb-brand #sidebar .dsidx-resp-search-box :is(.dsidx-resp-area, .dsidx-resp-area-submit) { flex: 1 1 100%; margin: 0 !important; }
body.sb-brand #sidebar .dsidx-resp-search-box .dsidx-resp-area.dsidx-resp-area-half { flex: 1 1 calc(50% - 5px); min-width: 0; }
body.sb-brand #sidebar .dsidx-resp-search-box :is(input[type="hidden"], .dsidx-search-type-hidden-inputs, .dsidx-search-tract-hidden-inputs) { display: none !important; }

/* Login (Theme My Login) */
body.sb-brand .tml { max-width: 420px; }
body.sb-brand .tml .tml-field-wrap { margin: 0 0 16px !important; }
body.sb-brand .tml label:not(.tml-label-rememberme) { display: block; margin: 0 0 6px; font: 600 12px var(--sb-head); letter-spacing: .06em; text-transform: uppercase; color: var(--sb-muted); }
body.sb-brand .tml input.tml-field {
	box-sizing: border-box; width: 100% !important; min-height: var(--sb-field-h); padding: 11px 14px !important; font: 16px var(--sb-body) !important;
	border: 1px solid var(--sb-field-border) !important; border-radius: var(--sb-field-radius) !important; background: #fff !important; box-shadow: none !important;
}
body.sb-brand .tml input.tml-field:focus { outline: none; border-color: var(--sb-steel) !important; box-shadow: var(--sb-focus) !important; }
body.sb-brand #page-container .tml :is(input[type="submit"], button[type="submit"], .tml-button) {
	width: 100%; min-height: var(--sb-field-h); border-radius: var(--sb-field-radius) !important; background: var(--sb-navy) !important; border: 1px solid var(--sb-navy) !important;
	color: #fff !important; font: 700 15px var(--sb-head) !important; padding: 0 24px !important; cursor: pointer;
}
body.sb-brand .tml .tml-links { list-style: none !important; padding: 0 !important; margin: 14px 0 0 !important; }
body.sb-brand .tml .tml-links a { font-size: 14px; }

/* 404 / no results */
body.sb-brand .not-found-title, body.sb-brand #left-area .entry h1 { font: 700 clamp(28px, 6vw, 40px) var(--sb-head) !important; color: var(--sb-navy) !important; }
body.sb-brand #left-area .entry p { font-size: 16.5px; color: var(--sb-muted); }

/* Sidebar search: the plugin's markup nests areas inside each other, so space by label */
body.sb-brand #sidebar .dsidx-resp-search-box label { margin-top: 14px !important; }
body.sb-brand #sidebar .dsidx-resp-search-box .dsidx-resp-area:first-child > label:first-child { margin-top: 0 !important; }
body.sb-brand #sidebar .dsidx-resp-search-box :is(.dsidx-resp-area-submit, input[type="submit"], button[type="submit"]) { margin-top: 18px !important; }
/* Login: "Remember me" next to its checkbox, normal case */
body.sb-brand .tml .tml-rememberme-wrap { display: flex !important; align-items: center; gap: 8px; }
body.sb-brand .tml .tml-rememberme-wrap label { display: inline !important; margin: 0 !important; font: 400 15px var(--sb-body) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--sb-ink) !important; }
body.sb-brand .tml .tml-rememberme-wrap input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--sb-navy); margin: 0; }
