/*
 * Puts the site's existing buttons, chips, tabs, pagination, slider arrows, FAQ rows and form fields onto the
 * shared UI set (ui.css, shown on /ui-style-guide in local) without touching their markup or the scripts that
 * use their classes. Loaded on every frontend page, after every other stylesheet.
 *
 * Built from the 20 Nov 2026 audit of 29 pages: each block names the old look it replaces. Only appearance is
 * changed here (colour, border, corner, height, weight); position, display and widths stay with the page's own
 * CSS, so layouts and the scripts that show or hide things are untouched.
 *
 * Why so many !important: style.css, the page stylesheets and inline <style> blocks already use it on these same
 * properties (and select2's CSS loads after the page), so a plain rule here would lose.
 */

/* ---------------------------------------------------------------- colours
   --primary-color comes from Admin settings (#696969, the grey of every old button). Pointing it at the ink makes
   every button, underline and border painted with it follow, on every page and in Arabic, in one place. */
:root {
    --primary-color: #171617;
}

/* style.css paints every link with --primary-color on hover (!important). On dark backgrounds that would now be
   ink on ink, so links there keep a light colour. */
footer#footer a:hover,
.home-hero a:hover,
.hero-card a:hover,
.topbar a:hover,
.top-bar a:hover,
.anchor-white:hover {
    color: #ffffff !important;
}

/* The search card sits on the hero but is white: its links keep their ink on hover (the rule above is for links on the
   picture). "Show map" turned white on its own light-grey hover. */
html body .home-hero .searchCenter a:hover {
    color: var(--ui-ink) !important;
}
/* Ink buttons that are links: style.css paints every link's hover with --primary-color (now ink), which put ink text on
   an ink button ("Find projects with this plan" on the home calculator, "Open tour" in Multimedia). */
html body a.home-calc__find:hover,
html body a.mm-btn:hover,
html body .servicesNameContainer a:hover {
    color: #ffffff !important;
}
/* Whatever sits inside an ink button follows the button on hover and focus; sale/rent's "Find (63)" count went black. */
html body .btn-primary:hover *,
html body .btn-primary:focus *,
html body .btn-find:hover *,
html body a.home-calc__find:hover *,
html body a.mm-btn:hover * {
    color: inherit !important;
}

/* Bootstrap's focus ring was a 4px block of the primary colour; a soft ring now. */
html body .btn:focus,
html body .btn:focus-visible,
html body .btn-check:focus + .btn,
html body .btn-primary:focus {
    box-shadow: var(--ui-focus) !important;
}

/* ---------------------------------------------------------------- primary buttons (ink)
   Was: grey #696969 at corner 4 (Submit, Send, Next, Show More), corner 8 (Submit Request, Calculate, Apply Now,
   Download Brochure with black text on grey), and a gradient Submit Request on the project page. */
html body .btn-primary,
html body .btn-find,
html body button.Calculate,
html body .makeInquiry,
html body .downloaddboucher {
    background: var(--ui-ink) !important;
    background-image: none !important;
    border: 1px solid var(--ui-ink) !important;
    color: #ffffff !important;
    border-radius: var(--ui-r) !important;
    font-family: var(--ui-font) !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none;
    transition: background-color .15s, border-color .15s;
}
html body .btn-primary:hover,
html body .btn-find:hover,
html body button.Calculate:hover,
html body .makeInquiry:hover,
html body .downloaddboucher:hover {
    background: var(--ui-ink-hover) !important;
    border-color: var(--ui-ink-hover) !important;
    color: #ffffff !important;
}
html body .btn-primary *,
html body .btn-find *,
html body .makeInquiry *,
html body .downloaddboucher * {
    color: inherit;
}
html body .btn-primary:disabled,
html body .btn-primary.disabled {
    opacity: .45 !important;
}
/* The big form buttons: one height (48) and one size of text instead of 52-68px and 15-20px. */
html body .btn-find,
html body button.Calculate,
html body .downloaddboucher {
    min-height: var(--ui-h-lg);
    height: auto !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
}
html body .makeInquiry {
    font-size: 15px !important;
}
/* On a dark band the main button is white with ink text (an ink button there would disappear). The project page's
   enquiry section turns dark on phones (mobile.css). */
@media (max-width: 767.98px) {
    html body .overLayAndSubmit .btn-find {
        background: #ffffff !important;
        border-color: #ffffff !important;
        color: var(--ui-ink) !important;
    }
    html body .overLayAndSubmit .btn-find:hover {
        background: #eceef1 !important;
        border-color: #eceef1 !important;
        color: var(--ui-ink) !important;
    }
}

/* The community page's search: the black "Find" box joined to the field had square corners. Outer corners only, so
   the two still read as one control. */
html body .input-group > .search-input {
    border-start-end-radius: var(--ui-r) !important;
    border-end-end-radius: var(--ui-r) !important;
}
html body .input-group:has(> .search-input) > .form-control {
    border-start-start-radius: var(--ui-r) !important;
    border-end-start-radius: var(--ui-r) !important;
}

/* ---------------------------------------------------------------- secondary buttons (outline)
   Was: four outline looks (thin grey corner 4, dark corner 4, corner 8, Bootstrap's green on the thank-you page)
   and the grey filled Download Master Plan / Download All Floor Plan. */
html body .btn-outline-secondary,
html body .btn-outline-dark,
html body .btn-outline-primary,
html body .btn-outline-success,
html body .masterbtn,
html body .masterbtn.downloadbtn {
    background: var(--ui-surface) !important;
    background-image: none !important;
    border: 1px solid var(--ui-field) !important;
    color: var(--ui-ink) !important;
    border-radius: var(--ui-r) !important;
    font-family: var(--ui-font) !important;
    font-weight: 600 !important;
    text-transform: none !important;
}
html body .btn-outline-secondary:hover,
html body .btn-outline-dark:hover,
html body .btn-outline-primary:hover,
html body .btn-outline-success:hover,
html body .masterbtn:hover {
    background: var(--ui-subtle) !important;
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}
html body .btn-outline-secondary *,
html body .btn-outline-dark *,
html body .btn-outline-primary *,
html body .masterbtn * {
    color: inherit !important;
}
html body .masterbtn {
    min-height: var(--ui-h-lg);
    height: auto !important;
    font-size: 15px !important;
}
/* The download icons in those buttons were white PNG/SVG on grey; on white they are drawn dark. */
html body .masterbtn img {
    filter: brightness(0);
}

/* ---------------------------------------------------------------- WhatsApp, call, email
   Was: light green #3ebd4e with dark text at 56-70px, a grey "Contact Us" box, grey agent buttons. */
html body .WhatsappAndmail > a:first-child,
html body .watsappBtn {
    background: var(--ui-whatsapp) !important;
    border: 1px solid var(--ui-whatsapp) !important;
    color: #ffffff !important;
    border-radius: var(--ui-r) !important;
    font-family: var(--ui-font);
    font-weight: 600 !important;
}
html body .WhatsappAndmail > a:first-child:hover,
html body .watsappBtn:hover {
    background: var(--ui-whatsapp-hover) !important;
    color: #ffffff !important;
}
html body .WhatsappAndmail > a:first-child *,
html body .watsappBtn * {
    color: #ffffff !important;
}
html body .WhatsappAndmail > a + a,
html body .buttonContainer .contactus,
html body .agentbtn > button {
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-field) !important;
    color: var(--ui-ink) !important;
    border-radius: var(--ui-r) !important;
    font-family: var(--ui-font);
    font-weight: 600 !important;
}
html body .WhatsappAndmail > a + a:hover,
html body .buttonContainer .contactus:hover,
html body .agentbtn > button:hover {
    background: var(--ui-subtle) !important;
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}
html body .WhatsappAndmail > a + a *,
html body .buttonContainer .contactus *,
html body .agentbtn > button * {
    color: inherit !important;
}

/* ---------------------------------------------------------------- text buttons
   "Show More" in the footer lists was grey #696969; "Read more" on a project sat in a grey box. */
html body .pre-footer-link.load-more-btn,
html body .pre-footer-link.show-less-btn {
    color: var(--ui-ink) !important;
}
html body button.moreless-button,
html body button.readmore {
    background: transparent !important;
    color: var(--ui-ink) !important;
    font-weight: 600 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding-inline: 0 !important;
}

/* ---------------------------------------------------------------- page headings
   Most pages' H1 is 30px / 800. The odd ones out follow: a community (36/700), the developers list and a developer
   (24/700), the blog index and its categories (52/500) and the agent profile (49/800). The home hero and the map's
   toolbar title keep their own sizes on purpose. */
html body h1.community-listing-title,
html body.route-frontend-developers h1.is-h2,
html body.route-frontend-developer h1.is-h2,
html body h1.h1font70,
html body.route-frontend-agent h1 {
    font-family: var(--ui-font) !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -.01em;
}
@media (max-width: 767.98px) {
    html body h1.community-listing-title,
    html body.route-frontend-developers h1.is-h2,
    html body.route-frontend-developer h1.is-h2,
    html body h1.h1font70,
    html body.route-frontend-agent h1 {
        font-size: 24px !important;
    }
}

/* ---------------------------------------------------------------- breadcrumbs
   The earlier steps ("Home", "Abu Dhabi") were #c0bfbf, 1.8:1; the page itself stays the darkest. */
html body .breadcrumb-item:not(:last-child),
html body .breadcrumb-item:not(:last-child) a {
    color: var(--ui-muted) !important;
}
html body .breadcrumb-item:not(:last-child) a:hover {
    color: var(--ui-ink) !important;
}
html body .breadcrumb-item:last-child,
html body .breadcrumb-item:last-child a {
    color: var(--ui-text) !important;
}

/* ---------------------------------------------------------------- tabs (underline)
   Was: inactive tabs in #c0bfbf, readable at 1.8:1 (home, emirate, community, project, sale, rent). */
html body .nav-tabs .nav-link:not(.active) {
    color: var(--ui-muted);
}
html body .nav-tabs .nav-link.active {
    border-bottom-color: var(--ui-ink) !important;
    font-weight: 600;
}

/* ---------------------------------------------------------------- chips and pill tabs
   Tabs drawn as pills keep their shape; the chosen one is ink with WHITE text (on sale/rent it was ink on ink:
   style.css forces the active tab's text to near-black with !important). */
html body.route-frontend-salecategory .nav-tabs .nav-link,
html body.route-frontend-rentcategory .nav-tabs .nav-link,
html body.route-frontend-rentandsalecategory .nav-tabs .nav-link {
    min-height: var(--ui-h-chip);
    border: 1px solid var(--ui-field) !important;
    border-radius: 999px !important;
    background: var(--ui-surface);
    color: var(--ui-text) !important;
    font-family: var(--ui-font);
    font-size: 14px;
    font-weight: 500;
}
html body.route-frontend-salecategory .nav-tabs .nav-link.active,
html body.route-frontend-rentcategory .nav-tabs .nav-link.active,
html body.route-frontend-rentandsalecategory .nav-tabs .nav-link.active,
html body.route-frontend-salecategory .nav-tabs .nav-item.show .nav-link,
html body.route-frontend-rentcategory .nav-tabs .nav-item.show .nav-link {
    background: var(--ui-ink) !important;
    border-color: var(--ui-ink) !important;
    color: #ffffff !important;
}
html body.route-frontend-salecategory .nav-tabs .nav-link.active *,
html body.route-frontend-rentcategory .nav-tabs .nav-link.active *,
html body.route-frontend-rentandsalecategory .nav-tabs .nav-link.active * {
    color: #ffffff !important;
}

/* Unit type pills (Studio, 1 Bed, 2 Beds... and "All Units"): were outline corner 8 at 38px and 17px text, ink corner
   7 on the project page. */
html body .right-side .nav-tabs .nav-link,
html body button.nav-link.anchor,
html body button.unittType.nav-link {
    min-height: var(--ui-h-chip);
    border: 1px solid var(--ui-field) !important;
    border-radius: 999px !important;
    background: var(--ui-surface) !important;
    color: var(--ui-text) !important;
    font-family: var(--ui-font) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 0 16px !important;
    line-height: 34px !important;
}
html body .right-side .nav-tabs .nav-link.active,
html body button.nav-link.anchor.active,
html body button.unittType.nav-link.active {
    background: var(--ui-ink) !important;
    border-color: var(--ui-ink) !important;
    color: #ffffff !important;
}
html body .right-side .nav-tabs .nav-link:not(.active):hover,
html body button.nav-link.anchor:not(.active):hover,
html body button.unittType.nav-link:not(.active):hover {
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}

/* Home: the Browse chips were grey filled at corner 20; white pills like every other chip now (gold stays gold).
   The search card keeps its pill-shaped bar and button; the alerts button takes the button corner. */
html body .home-chip:not(.home-chip--gold) {
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-field) !important;
    color: var(--ui-text) !important;
}
html body .home-chip:not(.home-chip--gold):hover {
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}
html body .home-chip {
    border-radius: 999px !important;
    font-weight: 500 !important;
}
html body .ais-try a {
    background: var(--ui-surface) !important;
    border-color: var(--ui-field) !important;
}
html body .ais-try a:hover {
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}
html body .home-alerts__go,
html body .home-lead__send {
    border-radius: var(--ui-r) !important;
    font-weight: 700 !important;
}

/* Quick filter chips on the listings, the community strip and the multimedia filter: one border, one height. */
html body .lp-chip,
html body .communityStrip__pill,
html body .mm-pill {
    min-height: var(--ui-h-chip);
    border-color: var(--ui-field) !important;
    border-radius: 999px !important;
    font-family: var(--ui-font);
    font-size: 14px !important;
    font-weight: 500 !important;
}
html body .lp-chip:hover,
html body .communityStrip__pill:hover,
html body .mm-pill:hover {
    border-color: var(--ui-ink) !important;
}
html body .lp-chip.is-active,
html body .lp-chip.active,
html body .lp-chip[aria-current],
html body .mm-pill.is-active {
    background: var(--ui-ink) !important;
    border-color: var(--ui-ink) !important;
    color: #ffffff !important;
}
html body .mm-pill { display: inline-flex; align-items: center; }

/* Blog categories (blog index and a category page): were corner-6 boxes with a #c0bfbf border. */
html body .blogCategoriesContainer,
html body .swiper-slide.selected {
    border: 1px solid var(--ui-field) !important;
    border-radius: 999px !important;
    padding: 7px 16px !important;
}
html body .blogCategoriesContainer a {
    color: var(--ui-text) !important;
    font-size: 14px;
    font-weight: 500;
}
html body .blogCategoriesContainer:hover {
    border-color: var(--ui-ink) !important;
}
html body .swiper-slide.selected {
    border-color: var(--ui-ink) !important;
}
html body .swiper-slide.selected a {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
}
html body .lp-chips__label {
    color: var(--ui-muted) !important;
}

/* Multimedia Grid | Table switch: a segmented control like the guide's. */
html body .mm-toggle {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    background: var(--ui-subtle) !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: var(--ui-r) !important;
    overflow: visible !important;
}
html body .mm-toggle > button {
    background: transparent !important;
    color: var(--ui-muted) !important;
    border: 0 !important;
    border-radius: calc(var(--ui-r) - 3px) !important;
    font-weight: 600 !important;
    min-height: 30px;
}
html body .mm-toggle > button.is-active {
    background: var(--ui-surface) !important;
    color: var(--ui-ink) !important;
    box-shadow: var(--ui-shadow-sm);
}

/* ---------------------------------------------------------------- pagination
   Was: page numbers in #c0bfbf on nothing (1.8:1), the current one an ink block of another size. */
html body .pagination {
    gap: 6px;
    flex-wrap: wrap;
}
html body .pagination > .page-item .page-link,
html body .pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px !important;
    margin: 0 !important;
    color: var(--ui-text) !important;
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: var(--ui-r) !important;
    font-family: var(--ui-font);
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
html body .pagination .page-link:hover {
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}
html body .pagination > .page-item.active .page-link,
html body .pagination .page-item.active .page-link {
    background: var(--ui-ink) !important;
    border-color: var(--ui-ink) !important;
    color: #ffffff !important;
}
html body .pagination .page-item.disabled .page-link {
    opacity: .45;
}

/* ---------------------------------------------------------------- slider arrows
   Was: four looks (grey circles with an ink ring, a small grey circle, a bare 30px circle, Swiper's blue default on
   sale/rent). One white circle with a soft shadow now; the page keeps placing them. */
html body .similarswiper-button-prev,
html body .similarswiper-button-next,
html body .communities-swiper-button-prev,
html body .communities-swiper-button-next,
html body .developerswiper-button-prev,
html body .developerswiper-button-next,
html body .Benefitsswiper-button-prev,
html body .Benefitsswiper-button-next,
html body .swp-prev,
html body .swp-next {
    width: 44px !important;
    height: 44px !important;
    /* display stays the page's: some arrows are hidden on purpose (phones, single slides). The icon is centred by
       line height instead of flex for that reason. */
    text-align: center !important;
    line-height: 42px !important;
    padding: 0 !important;
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 50% !important;
    box-shadow: var(--ui-shadow-sm) !important;
    color: var(--ui-ink) !important;
    cursor: pointer;
    transition: box-shadow .15s, border-color .15s, opacity .15s;
}
html body .similarswiper-button-prev:hover,
html body .similarswiper-button-next:hover,
html body .communities-swiper-button-prev:hover,
html body .communities-swiper-button-next:hover,
html body .developerswiper-button-prev:hover,
html body .developerswiper-button-next:hover,
html body .Benefitsswiper-button-prev:hover,
html body .Benefitsswiper-button-next:hover,
html body .swp-prev:hover,
html body .swp-next:hover {
    border-color: var(--ui-ink) !important;
    box-shadow: var(--ui-shadow-md) !important;
}
html body .similarswiper-button-prev i,
html body .similarswiper-button-next i,
html body .communities-swiper-button-prev i,
html body .communities-swiper-button-next i,
html body .developerswiper-button-prev i,
html body .developerswiper-button-next i,
html body .Benefitsswiper-button-prev i,
html body .Benefitsswiper-button-next i,
html body .swp-prev i,
html body .swp-next i,
html body .similarswiper-button-prev svg,
html body .similarswiper-button-next svg,
html body .communities-swiper-button-prev svg,
html body .communities-swiper-button-next svg,
html body .developerswiper-button-prev svg,
html body .developerswiper-button-next svg,
html body .Benefitsswiper-button-prev svg,
html body .Benefitsswiper-button-next svg,
html body .swp-prev svg,
html body .swp-next svg {
    color: var(--ui-ink) !important;
    font-size: 15px !important;
    position: static !important;
    margin: 0 !important;
    transform: none !important;
    line-height: inherit !important;
    vertical-align: top;
}
/* The arrows' own icon, now the set's chevron (an SVG) instead of Font Awesome's. */
html body [class*="swiper-button-"] > svg.ui-icon,
html body .swp-prev > svg.ui-icon,
html body .swp-next > svg.ui-icon {
    width: 16px !important;
    height: 16px !important;
    vertical-align: middle !important;
    position: relative;
    top: -1px;
}
/* The booking calendar's small arrows on sale/rent were Swiper's blue: ink now, same size and place. */
html body .swiper-button-prev.prevSide,
html body .swiper-button-next.nextSide {
    --swiper-navigation-color: var(--ui-ink);
    color: var(--ui-ink) !important;
}
html body .swiper-button-disabled.similarswiper-button-prev,
html body .swiper-button-disabled.similarswiper-button-next,
html body .swiper-button-disabled.communities-swiper-button-prev,
html body .swiper-button-disabled.communities-swiper-button-next,
html body .swiper-button-disabled.developerswiper-button-prev,
html body .swiper-button-disabled.developerswiper-button-next,
html body .swiper-button-disabled.Benefitsswiper-button-prev,
html body .swiper-button-disabled.Benefitsswiper-button-next,
html body .swiper-button-disabled.swp-prev,
html body .swiper-button-disabled.swp-next {
    opacity: .35 !important;
}
@media (max-width: 767.98px) {
    html body .similarswiper-button-prev,
    html body .similarswiper-button-next,
    html body .communities-swiper-button-prev,
    html body .communities-swiper-button-next,
    html body .developerswiper-button-prev,
    html body .developerswiper-button-next,
    html body .Benefitsswiper-button-prev,
    html body .Benefitsswiper-button-next,
    html body .swp-prev,
    html body .swp-next {
        width: 36px !important;
        height: 36px !important;
        line-height: 34px !important;
    }
}

/* ---------------------------------------------------------------- FAQ
   Was: the open question an ink bar with grey text, the closed ones solid grey #969597 bars at 21px. White rows now,
   the open one with a soft shadow; the same on the project page and on sale/rent. */
html body .accordion-item {
    border: 1px solid var(--ui-line) !important;
    border-radius: var(--ui-r) !important;
    overflow: hidden;
    margin-bottom: 10px;
    background: var(--ui-surface) !important;
    box-shadow: none !important;
}
html body .accordion-header {
    background: transparent !important;
    border-radius: 0 !important;
}
html body .accordion-button,
html body button.accordion-button.collapsed,
html body .accordion-button:not(.collapsed) {
    background: var(--ui-surface) !important;
    color: var(--ui-ink) !important;
    font-family: var(--ui-font) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    border-radius: 0 !important;
    padding: 16px 18px !important;
    box-shadow: none !important;
}
html body .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: #cfd5dd !important;
    box-shadow: var(--ui-shadow-sm) !important;
}
/* One chevron for open and closed, dark, turning over when open. */
html body .accordion-button::after,
html body .accordion-button:not(.collapsed)::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23171617' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 20px 20px no-repeat !important;
    width: 20px !important;
    height: 20px !important;
    filter: none !important;
    flex-shrink: 0;
    margin-inline-start: 16px;
    transition: transform .2s;
}
html body .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg) !important;
}
html body .accordion-body {
    background: var(--ui-surface) !important;
    color: var(--ui-text) !important;
    font-family: var(--ui-font);
    font-size: 15px !important;
    line-height: 1.65 !important;
    padding: 0 18px 18px !important;
    border-radius: 0 !important;
    text-align: start;
}

/* ---------------------------------------------------------------- form fields
   Was: the same 54px fields with corners 0, 4 and 8 on one page, grey #ced4da borders, a black block focus. One
   corner, one border colour and a soft focus ring now. Padding is left alone on purpose: the phone field's country
   picker (flags, select2) sits beside it and is lined up by mobile.css. */
html body form .form-control,
html body form .form-select {
    border-color: var(--ui-field) !important;
    border-radius: var(--ui-r) !important;
    font-family: var(--ui-font);
    color: var(--ui-text);
}
html body form .form-control:focus,
html body form .form-select:focus {
    border-color: var(--ui-ink) !important;
    box-shadow: var(--ui-focus) !important;
}
html body form .form-control::placeholder {
    color: #7a8494;
    opacity: 1;
}
html body .form-check-input:checked {
    background-color: var(--ui-ink) !important;
    border-color: var(--ui-ink) !important;
}
html body .form-check-input:focus {
    box-shadow: var(--ui-focus) !important;
    border-color: var(--ui-ink) !important;
}

/* The phone field: country picker (flag + code) and the number stay joined as one field, same corner and border. */
html body .country-select-wrapper .country-dropdown-container .select2-container--default .select2-selection--single,
[dir="ltr"] .country-select-wrapper .select2-container .select2-selection--single,
.country-select-wrapper .select2-container .select2-selection--single {
    border-color: var(--ui-field) !important;
    border-radius: var(--ui-r) 0 0 var(--ui-r) !important;
}
[dir="ltr"] .country-select-wrapper > input[name="number"],
html body .country-select-wrapper > input[name="number"] {
    border-color: var(--ui-field) !important;
    border-radius: 0 var(--ui-r) var(--ui-r) 0 !important;
}
[dir="rtl"] .country-select-wrapper .select2-container .select2-selection--single,
html body[dir="rtl"] .country-select-wrapper .country-dropdown-container .select2-container--default .select2-selection--single {
    border-color: var(--ui-field) !important;
    border-radius: 0 var(--ui-r) var(--ui-r) 0 !important;
}
[dir="rtl"] .country-select-wrapper > input[name="number"],
html body[dir="rtl"] .country-select-wrapper > input[name="number"] {
    border-radius: var(--ui-r) 0 0 var(--ui-r) !important;
}
html body .country-select-wrapper > input[name="number"]:focus {
    border-color: var(--ui-ink) !important;
    box-shadow: var(--ui-focus) !important;
}

/* Bootstrap-select boxes (sale/rent "Select Property Type"): the placeholder was #999 (2.8:1). */
html body .bootstrap-select > .dropdown-toggle.bs-placeholder,
html body .bootstrap-select > .dropdown-toggle.bs-placeholder:hover {
    color: #5b6677 !important;
}

/* ---------------------------------------------------------------- map toolbar
   The map keeps its compact 32px toolbar; only the odd ones out follow the set. */
html body .mx-chip {
    border-radius: 999px !important;
}
html body .mx-load-more {
    min-height: var(--ui-h-md);
    padding: 0 18px !important;
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-field) !important;
    border-radius: var(--ui-r) !important;
    color: var(--ui-ink) !important;
    font-family: var(--ui-font);
    font-size: 14px !important;
    font-weight: 600 !important;
}
html body .mx-load-more:hover {
    border-color: var(--ui-ink) !important;
    background: var(--ui-subtle) !important;
}

/* ---------------------------------------------------------------- icons beside text
   The old picture icons got their gap from rules aimed at <img>; the set's SVG icons get the same gap here: the
   project and property pages' section bar (Overview, Gallery, ...). */
html body .nav-link > .ui-icon:first-child {
    margin-inline-end: 6px;
}

/* The property page draws its WhatsApp / Email as a <button> inside each link: same colours as the listing's. */
html body .WhatsappAndmail > a:first-child > button {
    background: var(--ui-whatsapp) !important;
    border: 1px solid var(--ui-whatsapp) !important;
    color: #ffffff !important;
    border-radius: var(--ui-r) !important;
    font-weight: 600 !important;
}
html body .WhatsappAndmail > a:first-child > button:hover {
    background: var(--ui-whatsapp-hover) !important;
}
html body .WhatsappAndmail > a + a > button {
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-field) !important;
    color: var(--ui-ink) !important;
    border-radius: var(--ui-r) !important;
    font-weight: 600 !important;
}
html body .WhatsappAndmail > a > button * {
    color: inherit !important;
}

/* ---------------------------------------------------------------- project page (22 Nov 2026 audit)
   Measured on a live project at 1366 and 390px against /ui-style-guide. Each block names what it replaces. */

/* Text runs ragged-right. style.css and project.css justified it, which opened gaps between words on wide lines
   ("two-bedroom    plus    apartments") in the hero, Overview, amenities, Description and Master Plan. */
html body.page-project .pageinfo,
html body.page-project #overview p,
html body.page-project .view-all-text,
html body.page-project .amenitiescontainer p,
html body.page-project .subline,
html body.page-project .project-copy,
html body.page-project .project-copy p,
html body.page-project .project-copy div,
html body.page-project .project-copy span,
html body.page-project .project-copy li,
html body.page-project .article.description p,
html body.page-project .article.description li,
html body.page-project .richtexteditor p,
html body.page-project .explanation-inner,
html body.page-project .explanation-inner p,
html body.page-project .recaptcha-terms {
    text-align: start !important;
}

/* Headings: the set's H1 (32/700) and H2 (24/700) instead of 30/800 for both. The copy's own sub-headings stay H3,
   but in the copy's own colour and not bold (23 Nov 2026, as the administrator asked: the editor saves a plain H3
   and the page drew it black at 700), so only their size sets them apart. */
html body.page-project h1.paraTitle {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}
html body.page-project h2.is-h1 {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}
html body.page-project .project-copy h3 {
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    margin: 1.25rem 0 .5rem !important;
    color: inherit !important;
}
html body.page-project .project-copy h3 :is(strong, b) { font-weight: inherit !important; color: inherit !important; }
@media (max-width: 767.98px) {
    html body.page-project h1.paraTitle { font-size: 26px !important; }
    html body.page-project h2.is-h1 { font-size: 21px !important; }
    html body.page-project .project-copy h3 { font-size: 18px !important; }
}

/* Description: the clamped copy fades out instead of stopping halfway through a heading. */
html body.page-project #limitedpara { position: relative; }
html body.page-project #limitedpara.is-clamped::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 72px;
    background: linear-gradient(rgba(255, 255, 255, 0), #ffffff);
    pointer-events: none;
}

/* Section bar (desktop): one size of text (the active one was 20.6px, the rest 16px), one line per item (Payment
   Plan, Floor Plans and Master plan broke onto two, so the items were 40, 41 and 53px tall), corner 10, 20px icons.
   Phones keep their own pill row (mobile.css). */
@media (min-width: 992px) {
    html body.page-project .project-nav .nav {
        flex-wrap: nowrap;
        gap: 2px;
        overflow-x: auto;
        scrollbar-width: none;
        width: 100%;
        justify-content: space-between;
    }
    html body.page-project .project-nav .nav::-webkit-scrollbar { display: none; }
    html body.page-project .project-nav .nav-item { margin: 0 !important; flex: none; }
    html body.page-project .project-nav .nav-link {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        min-height: 40px;
        padding: 0 14px !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        white-space: nowrap;
        border-radius: var(--ui-r) !important;
    }
    html body.page-project .project-nav .nav-link.active { font-weight: 600 !important; }
    html body.page-project .project-nav .nav-link .ui-icon { width: 20px !important; height: 20px !important; }
}
/* Up to 1399px the bar is 1118px wide; eight sections (with Payment Plan) needed 1135. */
@media (min-width: 992px) and (max-width: 1399.98px) {
    html body.page-project .project-nav .nav-link { padding: 0 10px !important; font-size: 14px !important; gap: 6px; }
}
/* 992-1199px the bar is 939px: the words alone fit, the icons do not. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    html body.page-project .project-nav .nav-link .ui-icon { display: none; }
}

/* Underline tabs (Exterior / Interior, School / Airport..., the payment plan's name): no corner, one height (the
   active one was 3px taller), the set's tab text. */
html body.page-project #gallery .nav-tabs .nav-link,
html body.page-project #neighborhood .nav-tabs .nav-link,
html body.page-project #payment_plan .nav-tabs .nav-link {
    border-radius: 0 !important;
    border-width: 0 0 2px !important;
    border-style: solid !important;
    border-color: transparent !important;
    padding: 10px 14px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    background: transparent !important;
}
html body.page-project #gallery .nav-tabs .nav-link.active,
html body.page-project #neighborhood .nav-tabs .nav-link.active,
html body.page-project #payment_plan .nav-tabs .nav-link.active {
    border-bottom-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
    font-weight: 600 !important;
}

/* Buttons. Submit Request stays the one ink button; the hero's Download Brochure and the payment plan's Make An
   Inquiry are outline buttons. All 48px (they were 70, 45, 50 and 60). */
html body.page-project .downloadContainer .downloaddboucher,
html body.page-project .imageOnImage--pre-launch .downloadContainer .downloaddboucher,
html body.page-project .inquirybtn .makeInquiry {
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-ink) !important;
    color: var(--ui-ink) !important;
    min-height: var(--ui-h-lg) !important;
    height: auto !important;
    padding: 0 22px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: var(--ui-r) !important;
}
html body.page-project .downloadContainer .downloaddboucher:hover,
html body.page-project .inquirybtn .makeInquiry:hover {
    background: var(--ui-subtle) !important;
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}
html body.page-project .downloadContainer .downloaddboucher .nameAndIcon > p {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: inherit !important;
    margin: 0 !important;
}
html body.page-project .downloadContainer .downloaddboucher .nameAndIcon { gap: 8px; }
html body.page-project .downloadContainer .downloaddboucher .iconImage {
    width: 20px !important;
    height: 20px !important;
    filter: none !important;
    color: inherit;
}
/* The brochure picture hangs off the button's right edge; on a 48px button it sits lower and smaller. */
html body.page-project .downloadContainer .downloaddboucher .btnMock {
    width: 84px !important;
    height: auto !important;
    right: -28px !important;
}
html body.page-project .btn-find {
    min-height: var(--ui-h-lg) !important;
    height: var(--ui-h-lg) !important;
    padding-block: 0 !important;
}
html body.page-project .masterbtn,
html body.page-project .masterbtn.downloadbtn {
    min-height: var(--ui-h-lg) !important;
    height: auto !important;
    padding: 0 22px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}
html body.page-project .masterbtn .nameAndIcon > p { margin: 0 !important; font-size: 15px !important; }
html body.page-project .masterbtn .iconImage { width: 20px !important; height: 20px !important; }

/* The payment plan's card / table switch: picture icons before, the set's icon button now. */
html body.page-project .pp-view-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--ui-field);
    border-radius: var(--ui-r);
    background: var(--ui-surface);
    color: var(--ui-ink);
    place-items: center;
    cursor: pointer;
}
html body.page-project .pp-view-toggle:hover { border-color: var(--ui-ink); background: var(--ui-subtle); }
html body.page-project .pp-view-toggle .ui-icon { display: block; margin: auto; }

/* Form fields: 48px (Name and Email were 64, the phone 55). The country picker stretches to the number's height
   (mobile.css), so the two stay level. */
html body.page-project form input.form-control:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html body.page-project form select.form-control {
    height: var(--ui-h-lg) !important;
    min-height: var(--ui-h-lg) !important;
    padding-block: 0 !important;
}

/* Grey text: "Diverse payment options..." and the form's User Agreement / Privacy Policy links were #c0bfbf (1.7:1). */
html body.page-project .subline {
    color: var(--ui-muted) !important;
    font-size: 16px !important;
}
html body.page-project form:not(.query-input-dark) a.inquiry-text:not(.anchor-white) {
    color: var(--ui-ink) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Cards: corner 10 (amenities were 4). Payment methods have their own card (components/frontend/paymentmethod). */
html body.page-project .amenitiescontainer { border-radius: var(--ui-r) !important; border-color: var(--ui-line) !important; }

/* The floating "PDF Brochure" button was Google blue, a colour the site uses nowhere else; and its note was 10.5px. */
html body.page-project .fixed-button {
    background: var(--ui-ink) !important;
    box-shadow: 0 6px 20px rgba(16, 24, 40, .28), 0 2px 6px rgba(0, 0, 0, .12) !important;
}
html body.page-project .fixed-button:hover,
html body.page-project .fixed-button:focus {
    background: var(--ui-ink-hover) !important;
    box-shadow: 0 10px 28px rgba(16, 24, 40, .34), 0 3px 8px rgba(0, 0, 0, .14) !important;
}
html body.page-project .fixed-button-note { font-size: 12px !important; }
/* The site's global span colour (#000c14) would turn the label dark on the ink pill. */
html body.page-project .fixed-button,
html body.page-project .fixed-button * { color: #ffffff !important; }

/* Mortgage calculator (ready projects): its labels were #c0bfbf (1.8:1), its boxes 60px with a 0.5px grey border and
   corner 5, and Calculate a second ink button beside Submit Request. */
html body.page-project .mortage .form-label,
html body.page-project .mortage .subText,
html body.page-project .mortage .subText * {
    color: var(--ui-muted) !important;
}
html body.page-project .mortage .form-label { font-weight: 600; color: var(--ui-text) !important; }
html body.page-project .mortage .input-group {
    border: 1px solid var(--ui-field) !important;
    border-radius: var(--ui-r) !important;
    overflow: hidden;
    background: var(--ui-surface);
}
html body.page-project .mortage .input-group:focus-within { border-color: var(--ui-ink) !important; box-shadow: var(--ui-focus); }
html body.page-project .mortage .input-group > .form-control,
html body.page-project .mortage .input-group > .input-group-text {
    height: 46px !important;
    min-height: 0 !important;
    padding-block: 0 !important;
    box-shadow: none !important;
}
html body.page-project .mortage .input-group > .input-group-text { background: var(--ui-subtle) !important; color: var(--ui-text) !important; }
html body.page-project button.Calculate {
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-ink) !important;
    color: var(--ui-ink) !important;
    height: var(--ui-h-lg) !important;
    min-height: var(--ui-h-lg) !important;
    padding: 0 22px !important;
}
html body.page-project button.Calculate:hover { background: var(--ui-subtle) !important; color: var(--ui-ink) !important; }
html body.page-project .hero-pdfchip { font-size: 12px !important; }

/* Floor plans: the row is a fixed 450px on a desktop, and a long Explanation ran 115px past it into the units table's
   header. It scrolls inside its own column instead. */
@media (min-width: 768px) {
    html body.page-project #grid_view_list > .DuplexContainer {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
    }
    html body.page-project #grid_view_list .explanation {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
    }
    html body.page-project #grid_view_list .explanation-inner {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding-inline-end: 6px;
    }
}

@media (max-width: 767.98px) {
    /* Floor plans: "Please choose unit type" and the unit cards sat 6px from the edge, the rest of the page 16px. */
    html body.page-project #floor_plan .floorSideImg { padding-inline: 12px !important; }
    /* The phone bar's WhatsApp text was #128c4b on its pale green (3.9:1). */
    html body.page-project .mcta-bar .mcta-whatsapp { color: var(--ui-whatsapp) !important; }
}

/* ---------------------------------------------------------------- rent / sale pages (22 Nov 2026 audit)
   List: /sale, /rent, /rent-and-sale. Detail: /sale/{slug}, /rent/{slug}. Measured on live against /ui-style-guide. */

/* Shared parts these pages showed the problems in (used elsewhere too, so fixed everywhere): */
/* light-grey #c0bfbf text (1.7:1) */
html body .communityStrip__sub,
html body .avatarImg > div > span,
html body .borderwithor .orclass,
html body #regForm .labelForInput {
    color: var(--ui-muted) !important;
}
html body .useragreement a.text-primary,
html body .useragreement a.text-primary u {
    color: var(--ui-ink) !important;
}
/* text under 12px */
html body .communityStrip__count,
html body p.cardUpperResult,
html body .handoveBottom .handover p,
html body .lp-chips__label {
    font-size: 12px !important;
}
/* The request form's options looked switched off: grey words on a grey line. */
html body .radiobtn-first .ImageAndWords {
    border: 1px solid var(--ui-field) !important;
    border-radius: var(--ui-r) !important;
    background: var(--ui-surface);
}
html body .radiobtn-first .ImageAndWords .tagTitle {
    color: var(--ui-text) !important;
    font-size: 14px !important;
    margin: 0;
}
html body .radiobtn-first .ImageAndWords .ui-icon { width: 20px; height: 20px; color: var(--ui-ink); }
html body .radiobtn-first input[type="radio"]:checked + label .ui-icon { color: #ffffff; }
/* Its Previous / Next sit under the options (they were pinned to the card's corner, on top of the last option). */
html body .cardformContainer { max-height: none !important; }
html body #regForm .pr-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
html body #regForm .pr-nav > div { display: flex; gap: 8px; float: none !important; }
html body #regForm .pr-nav .btn { min-height: var(--ui-h-md); }
html body #regForm select.form-select { height: var(--ui-h-lg) !important; padding-block: 0 !important; font-size: 15px; }

/* Forms on both pages: 48px fields and button (they were 55 and 50; the sidebar's 36). */
html body.route-frontend-salecategory form.query-input input.form-control,
html body.route-frontend-rentcategory form.query-input input.form-control,
html body.route-frontend-rentandsalecategory form.query-input input.form-control,
html body.route-frontend-sale-show form.query-input input.form-control,
html body.route-frontend-rent-show form.query-input input.form-control {
    height: var(--ui-h-lg) !important;
    min-height: var(--ui-h-lg) !important;
    padding-block: 0 !important;
}
html body.route-frontend-salecategory .btn-find,
html body.route-frontend-rentcategory .btn-find,
html body.route-frontend-rentandsalecategory .btn-find,
html body.route-frontend-sale-show .btn-find,
html body.route-frontend-rent-show .btn-find {
    height: var(--ui-h-lg) !important;
    min-height: var(--ui-h-lg) !important;
    padding-block: 0 !important;
}
html body.route-frontend-sale-show .WhatsappAndmail > a > button,
html body.route-frontend-rent-show .WhatsappAndmail > a > button {
    height: var(--ui-h-lg) !important;
    min-height: var(--ui-h-lg) !important;
    padding-block: 0 !important;
}

/* List page */
html body #more-option-div button.text-primary,
html body #more-option-div .form-check-label {
    color: var(--ui-muted) !important;
}
html body.route-frontend-salecategory select#filter,
html body.route-frontend-rentcategory select#filter,
html body.route-frontend-rentandsalecategory select#filter {
    height: var(--ui-h-md) !important;
}
html body.route-frontend-salecategory h1.paraTitle,
html body.route-frontend-rentcategory h1.paraTitle,
html body.route-frontend-rentandsalecategory h1.paraTitle {
    font-size: 32px !important;
    font-weight: 700 !important;
}
html body.route-frontend-salecategory .scroll-area h2.is-h1,
html body.route-frontend-rentcategory .scroll-area h2.is-h1,
html body.route-frontend-rentandsalecategory .scroll-area h2.is-h1,
html body.route-frontend-sale-show .pd-h,
html body.route-frontend-sale-show .scroll-area h2.is-h1,
html body.route-frontend-sale-show .abouttheproperty > h2,
html body.route-frontend-rent-show .pd-h,
html body.route-frontend-rent-show .scroll-area h2.is-h1,
html body.route-frontend-rent-show .abouttheproperty > h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
}
@media (max-width: 767.98px) {
    html body.route-frontend-salecategory h1.paraTitle,
    html body.route-frontend-rentcategory h1.paraTitle,
    html body.route-frontend-rentandsalecategory h1.paraTitle { font-size: 26px !important; }
    html body.route-frontend-salecategory .scroll-area h2.is-h1,
    html body.route-frontend-rentcategory .scroll-area h2.is-h1,
    html body.route-frontend-rentandsalecategory .scroll-area h2.is-h1,
    html body.route-frontend-sale-show .pd-h,
    html body.route-frontend-sale-show .abouttheproperty > h2,
    html body.route-frontend-rent-show .pd-h,
    html body.route-frontend-rent-show .abouttheproperty > h2 { font-size: 21px !important; }
}

/* Detail page */
html body.route-frontend-sale-show .pd-hero h1,
html body.route-frontend-rent-show .pd-hero h1 {
    font-size: 36px !important;
    font-weight: 700 !important;
}
@media (max-width: 767.98px) {
    html body.route-frontend-sale-show .pd-hero h1,
    html body.route-frontend-rent-show .pd-hero h1 { font-size: 26px !important; }
}
html body.route-frontend-sale-show .pd-chip,
html body.route-frontend-rent-show .pd-chip,
html body.route-frontend-sale-show .pd-fact span,
html body.route-frontend-rent-show .pd-fact span {
    font-size: 12px !important;
}
html body.route-frontend-sale-show .pd-fact span,
html body.route-frontend-rent-show .pd-fact span {
    color: var(--ui-muted) !important;
}
html body.route-frontend-sale-show .mortage .form-label,
html body.route-frontend-rent-show .mortage .form-label {
    font-size: 12px !important;
    color: var(--ui-text) !important;
}
html body.route-frontend-sale-show .mortage .input-group,
html body.route-frontend-rent-show .mortage .input-group {
    border: 1px solid var(--ui-field) !important;
    border-radius: var(--ui-r) !important;
}
html body.route-frontend-sale-show .mortage .input-group > .form-control,
html body.route-frontend-sale-show .mortage .input-group > .input-group-text,
html body.route-frontend-rent-show .mortage .input-group > .form-control,
html body.route-frontend-rent-show .mortage .input-group > .input-group-text {
    height: 46px !important;
    padding-block: 0 !important;
}
/* One ink button per form: Calculate, Download master plan and Read more are outline / text, not more ink pills. */
html body.route-frontend-sale-show .mortage button.Calculate,
html body.route-frontend-rent-show .mortage button.Calculate,
html body.route-frontend-sale-show #masterplanscroll button.downloadbtn,
html body.route-frontend-rent-show #masterplanscroll button.downloadbtn {
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-ink) !important;
    color: var(--ui-ink) !important;
    border-radius: var(--ui-r) !important;
    min-height: var(--ui-h-md) !important;
    height: auto !important;
    padding: 0 18px !important;
    font-size: 14px !important;
}
html body.route-frontend-sale-show .mortage button.Calculate,
html body.route-frontend-rent-show .mortage button.Calculate { min-height: var(--ui-h-lg) !important; }
html body.route-frontend-sale-show .mortage button.Calculate:hover,
html body.route-frontend-rent-show .mortage button.Calculate:hover,
html body.route-frontend-sale-show #masterplanscroll button.downloadbtn:hover,
html body.route-frontend-rent-show #masterplanscroll button.downloadbtn:hover {
    background: var(--ui-subtle) !important;
    color: var(--ui-ink) !important;
}
html body.route-frontend-sale-show .description .moreless-button,
html body.route-frontend-rent-show .description .moreless-button {
    background: transparent !important;
    color: var(--ui-ink) !important;
    border-radius: 0 !important;
    padding: 6px 0 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px !important;
}
html body.route-frontend-sale-show .nav-tabs .nav-link,
html body.route-frontend-rent-show .nav-tabs .nav-link {
    min-height: var(--ui-h-chip);
    font-size: 14px !important;
}
html body.route-frontend-sale-show .fixed-button,
html body.route-frontend-rent-show .fixed-button {
    min-height: var(--ui-h-lg) !important;
}
html body.route-frontend-sale-show .pp-view-toggle,
html body.route-frontend-rent-show .pp-view-toggle {
    width: 40px; height: 40px; padding: 0; border: 1px solid var(--ui-field); border-radius: var(--ui-r);
    background: var(--ui-surface); color: var(--ui-ink); cursor: pointer;
}
html body.route-frontend-sale-show .pp-view-toggle .ui-icon,
html body.route-frontend-rent-show .pp-view-toggle .ui-icon { display: block; margin: auto; }
html body.route-frontend-sale-show .nextSide .ui-icon,
html body.route-frontend-sale-show .prevSide .ui-icon,
html body.route-frontend-rent-show .nextSide .ui-icon,
html body.route-frontend-rent-show .prevSide .ui-icon,
html body.route-frontend-salecategory .nextSide .ui-icon,
html body.route-frontend-salecategory .prevSide .ui-icon,
html body.route-frontend-rentcategory .nextSide .ui-icon,
html body.route-frontend-rentcategory .prevSide .ui-icon { width: 18px; height: 18px; color: var(--ui-ink); }

/* ---------------------------------------------------------------- rent / sale listing layout (22 Nov 2026, owner's mockup)
   Hero with the title on the picture, the home page's search card over its foot, then the results. */
html body .ls-hero {
    position: relative; overflow: hidden; background: var(--ui-ink);
    height: clamp(340px, 36vw, 460px);
}
html body .ls-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html body .ls-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(23,22,23,.78) 0%, rgba(23,22,23,.45) 45%, rgba(23,22,23,.05) 80%),
                linear-gradient(0deg, rgba(23,22,23,.45) 0%, rgba(23,22,23,0) 45%);
}
html body .ls-hero__body {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 104px;
}
html body .ls-hero h1.ls-hero__title {
    color: #ffffff !important; font-size: 40px !important; font-weight: 700 !important; line-height: 1.15 !important;
    margin: 0 0 8px !important; max-width: 720px;
}
html body .ls-hero__text { color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.5; margin: 0 0 16px; max-width: 620px; }
html body .ls-hero__facts { display: flex; flex-wrap: wrap; gap: 12px 28px; }
html body .ls-hero__fact { display: flex; align-items: center; gap: 10px; color: #ffffff; }
html body .ls-hero__fact > .ui-icon { width: 22px; height: 22px; color: #ffffff; }
html body .ls-hero__fact strong { display: block; font-size: 18px; font-weight: 700; color: #ffffff; line-height: 1.2; }
html body .ls-hero__fact strong *, html body .ls-hero__fact .currency { color: #ffffff !important; }
html body .ls-hero__fact small { display: block; font-size: 12px; color: rgba(255,255,255,.82); }
/* The search card overlaps the hero's foot (it was pushed up with bottom:85px, which left an 85px hole under it). */
html body .ls-search { position: relative; z-index: 5; margin-top: -76px; margin-bottom: 28px; }
html body .ls-search .ua-search-card {
    border-radius: var(--ui-r-card) !important; box-shadow: 0 18px 48px rgba(16, 24, 40, .16) !important;
    padding: 18px 18px 12px !important; max-width: none;
}
html body .ls-search .ua-search-card .searchFormId { padding: 0; }
html body .ls-search .search_count { color: inherit !important; font-weight: 500; }
html body .ls-search .ais-map {
    display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; min-height: 36px; padding: 0 12px;
    border: 1px solid var(--ui-field); border-radius: var(--ui-r); background: var(--ui-surface); color: var(--ui-ink);
    font-size: 14px; font-weight: 600; cursor: pointer;
}
html body .ls-search .ais-map:hover { border-color: var(--ui-ink); background: var(--ui-subtle); }
html body .ls-search #more-option-div .ais-map, html body .ls-search #more-option-div .ais-map * { color: var(--ui-ink) !important; }
@media (max-width: 767.98px) {
    html body .ls-hero { height: 330px; }
    /* The picture fills a phone, so the words need the whole of it darkened, not only the left side. */
    html body .ls-hero::after { background: linear-gradient(0deg, rgba(23,22,23,.82) 0%, rgba(23,22,23,.55) 55%, rgba(23,22,23,.3) 100%); }
    html body .ls-hero__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    html body .filternav ul { justify-content: space-between !important; gap: 2px; }
    html body .filternav .nav-link { padding-inline: 8px !important; font-size: 13px !important; }
    html body .filternav select#filter { max-width: 96px; font-size: 13px; }
    html body .ls-hero__body { padding-bottom: 72px; }
    html body .ls-hero h1.ls-hero__title { font-size: 26px !important; }
    html body .ls-hero__text { font-size: 14px; margin-bottom: 10px; }
    html body .ls-hero__fact strong { font-size: 16px; }
    html body .ls-search { margin-top: -52px; }
    html body .ls-search .ua-search-card { padding: 14px 12px 8px !important; }
}

/* Results: the count as a heading-sized line, the quick chips at chip height, a light sort bar. */
html body .lp-count { font-size: 20px !important; color: var(--ui-text) !important; }
html body .lp-chips__label { color: var(--ui-muted) !important; letter-spacing: .06em; }
html body .lp-chip { display: inline-flex; align-items: center; min-height: var(--ui-h-chip); padding: 0 14px !important; font-size: 14px !important; border-color: var(--ui-field) !important; }
html body .lp-chip.is-on { background: var(--ui-ink) !important; border-color: var(--ui-ink) !important; color: #ffffff !important; }
html body .filternav > nav {
    background: var(--ui-surface) !important; border: 1px solid var(--ui-line); border-radius: var(--ui-r-card) !important;
    box-shadow: none !important; padding: 4px 8px !important;
}
html body .filternav .nav-link { font-size: 14px !important; font-weight: 500; color: var(--ui-text) !important; }
html body .filternav .nav-link[aria-current] { color: var(--ui-ink) !important; font-weight: 700; }
/* The enquiry card beside the list: the set's card. */
html body .cardData1 > .card { border-radius: var(--ui-r-card) !important; border: 1px solid var(--ui-line) !important; box-shadow: var(--ui-shadow-md) !important; }

/* "Your Property Goals": one soft band (it was a grey slab with a tall form floating in it). */
html body .propertyGoalsContainer {
    background: var(--ui-subtle) !important; border: 1px solid var(--ui-line); border-radius: var(--ui-r-card) !important;
    padding: 32px !important; margin-inline: 0 !important; align-items: center;
}
html body .propertyGoalsContainer h2 { font-size: 24px !important; font-weight: 700 !important; color: var(--ui-ink) !important; }
html body .propertyGoalsContainer .preferenes > p { font-size: 16px !important; line-height: 1.55; color: var(--ui-text) !important; width: auto !important; max-width: 440px; }
html body .propertyGoalImg { width: 100% !important; max-width: 300px; height: auto !important; }
html body .propertyGoalsContainer .formcontainer .cardformContainer { box-shadow: var(--ui-shadow-md) !important; border: 1px solid var(--ui-line); border-radius: var(--ui-r-card) !important; background: #ffffff !important; min-height: 0 !important; }
@media (max-width: 767.98px) {
    html body .propertyGoalsContainer { padding: 20px 16px !important; }
    html body .propertyGoalsContainer h2 { font-size: 21px !important; }
}

/* Unit Type List: the set's table head, numbers on one line. */
html body #propertyunit-gallery thead th {
    background: var(--ui-subtle) !important; color: var(--ui-text) !important; font-size: 13px !important; font-weight: 700 !important;
    letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap;
}
html body #propertyunit-gallery tbody td { font-size: 14px; color: var(--ui-text); vertical-align: middle; }

/* ---------------------------------------------------------------- fixes after the 22 Nov deploy */
/* Top bar: the phone icon follows the bar's white text (on the solid ink bar it was near-black, invisible). */
html body .topbarContainer .ui-icon { color: #ffffff !important; }
/* Project section bar: the first and last pills sat on the bar's edge; 8px inside, like the gap between pills. */
@media (min-width: 992px) {
    html body.page-project .project-nav { padding: 6px 8px !important; }
    html body.page-project .project-nav .nav { gap: 2px; }
}
/* The booking card beside the listings stayed stuck while the banner under it scrolled up over its form whenever the
   window was shorter than the card (~720px). It scrolls with the page now; on the property page it sticks only when
   the whole card fits on the screen. */
html body .cardData1 > .card { position: static !important; }
@media (max-height: 820px) {
    html body .cardData > .card { position: static !important; }
}

/* ---------------------------------------------------------------- developer pages (22 Nov 2026 audit)
   /developers and /developer/{slug}, measured on live against /ui-style-guide. */

/* Developer cards (directory, and the strips on developer, community and state pages): the set's white card instead
   of a heavy grey slab. */
html body .developer-container {
    background: var(--ui-surface) !important; border: 1px solid var(--ui-line) !important; border-radius: var(--ui-r-card) !important;
    box-shadow: var(--ui-shadow-sm); transition: border-color .15s, box-shadow .15s;
}
html body .developer-container:hover { border-color: var(--ui-ink) !important; box-shadow: var(--ui-shadow-md) !important; }
html body .developer-container p, html body .developer-container a { color: var(--ui-ink) !important; }
@media (max-width: 767.98px) {
    /* Two a row on a phone (one a row took 1,500px for ten). */
    html body .developer-container { min-height: 0 !important; max-height: none !important; padding: 18px 10px !important; }
    html body .developer-container img { height: 52px !important; min-height: 52px !important; max-height: 52px !important; }
    html body .developer-container > div[style*="height: 36px"] { height: 12px !important; }
    html body .developer-container p { font-size: 13px !important; text-align: center; }
}

/* Headings: H1 32/700 (30/800), section titles 24/700. */
html body.route-frontend-developers h1.is-h2,
html body.route-frontend-developer h1.is-h2 { font-size: 32px !important; font-weight: 700 !important; }
html body.route-frontend-developer .scroll-area h2.is-h1 { font-size: 24px !important; font-weight: 700 !important; }
html body.route-frontend-developer .developerswiper ~ * h2,
html body.route-frontend-developer div > .d-flex > h2 { font-size: 24px; font-weight: 700; margin: 0; }
@media (max-width: 767.98px) {
    html body.route-frontend-developers h1.is-h2,
    html body.route-frontend-developer h1.is-h2 { font-size: 26px !important; }
    html body.route-frontend-developer .scroll-area h2.is-h1 { font-size: 21px !important; }
}

/* The developer's description: a white card with ragged-right text (it was a grey box, justified). */
html body .bloomHolding {
    background: var(--ui-surface) !important; border: 1px solid var(--ui-line); border-radius: var(--ui-r-card) !important;
    box-shadow: var(--ui-shadow-sm); padding: 28px !important; max-height: none !important;
}
html body .bloomHolding > p { font-size: 16px !important; line-height: 1.65 !important; color: var(--ui-text) !important; text-align: start !important; }

/* Project filters: chips with the set's icons, words not capitals, the sort as a chip too (a grey bar with picture
   icons that ran off a phone's screen). */
html body .filterTitle { color: var(--ui-muted) !important; font-size: 14px !important; font-weight: 600 !important; margin: 24px 0 8px !important; }
html body .filterContainer {
    background: transparent !important; padding: 0 !important; border-radius: 0 !important;
    justify-content: flex-start !important; gap: 8px; flex-wrap: wrap; overflow: visible !important;
}
html body .filterTypes {
    display: inline-flex !important; align-items: center; gap: 8px; min-height: var(--ui-h-chip); padding: 0 14px !important;
    border: 1px solid var(--ui-field); border-radius: 999px; background: var(--ui-surface);
}
html body .filterTypes:hover { border-color: var(--ui-ink); }
html body .filterContainer > .filterTypes { margin: 0 !important; } /* developers.css gave each chip a 28px right margin, which spread them on a phone */
html body .filterTypes > p { margin: 0 !important; font-size: 14px !important; font-weight: 500 !important; text-transform: none !important; color: var(--ui-text) !important; }
html body .filterTypes > .ui-icon { width: 18px; height: 18px; color: var(--ui-ink); }
html body .filterTypes.active-filter { background: var(--ui-ink) !important; border-color: var(--ui-ink); }
html body .filterTypes.active-filter > p, html body .filterTypes.active-filter > .ui-icon { color: #ffffff !important; }
html body .filterTypes[id^="sort_"] { margin-inline-start: auto; }
@media (max-width: 575.98px) { html body .filterTypes[id^="sort_"] { margin-inline-start: 0; } }

/* "Show more developers": the set's outline button, centred. */
html body #load-more-btn { margin-top: 4px; }

/* The empty band before "Submit an Inquiry" (130px, plus 80px above it on these pages). */
html body.route-frontend-developers .heightSubmitInquery,
html body.route-frontend-developer .heightSubmitInquery { height: 48px !important; }

/* Developer intro (22 Nov 2026): the logo in the card beside the name (it floated alone in a 200px box between
   60px and 80px empty bands), and a long description shows its first lines with "Read more" instead of
   scrolling inside a 200px window. */
html body .dev-intro { margin-top: 24px; }
html body .dev-intro__head { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
html body .dev-intro__logo {
    flex: 0 0 96px; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--ui-line); border-radius: var(--ui-r); background: #ffffff; padding: 8px; overflow: hidden;
}
html body .dev-intro__logo img { width: 100%; height: 100%; object-fit: contain; }
html body .dev-intro__head h1.is-h2 { margin: 0 !important; line-height: 1.2 !important; overflow-wrap: anywhere; }
html body .dev-intro__text { position: relative; max-height: calc(16px * 1.65 * 6); overflow: hidden; }
html body .dev-intro__text.is-open { max-height: none; }
html body .dev-intro__text.is-clamped:not(.is-open)::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 3.3em; pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--ui-surface) 100%);
}
html body .dev-intro__text > p {
    margin: 0 !important; font-size: 16px !important; line-height: 1.65 !important; color: var(--ui-text) !important;
    text-align: start !important; max-height: none !important; overflow: visible !important;
}
html body .dev-intro__more {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 0; border: 0; background: none;
    color: var(--ui-ink); font-size: 14px; font-weight: 600; cursor: pointer;
}
html body .dev-intro__more:hover span { text-decoration: underline; text-underline-offset: 3px; }
html body .dev-intro__more[hidden] { display: none !important; }
html body .dev-intro__more .ui-icon { width: 16px; height: 16px; transition: transform .2s; }
html body .dev-intro__more[aria-expanded="true"] .ui-icon { transform: rotate(180deg); }
@media (max-width: 767.98px) {
    html body .dev-intro { margin-top: 16px; padding: 20px !important; }
    html body .dev-intro__head { gap: 14px; margin-bottom: 12px; }
    html body .dev-intro__logo { flex-basis: 64px; width: 64px; height: 64px; padding: 6px; }
    html body .dev-intro__text { max-height: calc(16px * 1.65 * 8); }
}

/* Unit rows: the arrow turns when the floor plan is open, and the row reads as clickable (22 Nov 2026). */
html body tr.is-open > td:last-child .ui-icon { transform: rotate(180deg); }
html body td:last-child > .unit-gallery-item .ui-icon { transition: transform .2s; }
html body tbody .unit-gallery-item { cursor: pointer; }

/* Developer projects: the sort dropdown as a chip (22 Nov 2026). The native select keeps the phone's own picker. */
html body .filterTypes.filterSort { position: relative; gap: 6px; margin-inline-start: auto !important; cursor: pointer; padding: 0 12px !important; }
html body .filterTypes.filterSort select {
    appearance: none; -webkit-appearance: none; border: 0; background: transparent; outline: 0; cursor: pointer;
    font-size: 14px; font-weight: 500; color: var(--ui-text); padding: 0 22px 0 0; margin-inline-end: -22px; height: 34px;
}
html body .filterTypes.filterSort > .ui-icon { width: 16px; height: 16px; pointer-events: none; }
html body .filterTypes.filterSort:focus-within { border-color: var(--ui-ink); box-shadow: 0 0 0 3px rgba(23,22,23,.12); }
@media (max-width: 575.98px) { html body .filterTypes.filterSort { margin-inline-start: 0 !important; } }

/* Property page Neighbourhoods (22 Nov 2026): no scrollbar on the chip bar, the cards' top edge and shadow no longer
   cut off by the carousel (it read as the card running into the chips), and cards lined up with the chips. */
html body #neighborhoods .nb-tabs { padding: 2px 2px 4px; margin: 0 -2px; scrollbar-width: none; }
html body #neighborhoods .nb-tabs::-webkit-scrollbar { display: none; }
html body #neighborhoods #neighbourhoodTab { gap: 8px; border: 0 !important; }
html body #neighborhoods #neighbourhoodTab .nav-link { margin: 0 !important; }
html body #neighborhoods .nb-panes { margin-top: 12px; }
html body #neighborhoods .Neighborhood-swiper { padding: 4px 6px 14px; margin: 0 -6px; }
html body #neighborhoods .Neighborhood-swiper .swiper-slide { height: auto; }
html body #neighborhoods .caurosalContainer {
    height: 100%; margin: 0 !important; background: var(--ui-surface); border: 1px solid var(--ui-line) !important;
    border-radius: var(--ui-r-card) !important; box-shadow: var(--ui-shadow-sm) !important;
}

/* Project copy justified on wider screens, as the owner asked (22 Nov 2026): Overview, Description and Master Plan
   text. Hyphenation keeps the word gaps small; phones stay ragged-right, where a 350px line would open wide gaps. */
@media (min-width: 768px) {
    html body.page-project #overview p,
    html body.page-project .project-copy,
    html body.page-project .project-copy p,
    html body.page-project .project-copy li,
    html body.page-project .article.description p,
    html body.page-project .richtexteditor p {
        text-align: justify !important; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto;
    }
}

/* ---------------------------------------------------------------- property page floor plans (22 Nov 2026)
   /rent/{slug} and /sale/{slug} laid out and styled as the project page's Floor Plans, as the owner asked: the unit
   cards' panel, cards and selection, the explanation column and the download button are the project page's rules. */
html body #floorplanscroll .fp-head { align-items: flex-start; }
html body #floorplanscroll .fp-head .pd-h { margin: 0 0 8px; }
html body #floorplanscroll .fp-head #floorPlanTab { border: 0; gap: 8px; }
html body #floorplanscroll .fp-head #floorPlanTab .nav-item { margin: 0 0 8px; }
html body #floorplanscroll #grid_view_list { min-height: 450px; }
html body #floorplanscroll .masterbtn,
html body #floorplanscroll .masterbtn.downloadbtn {
    min-height: var(--ui-h-lg) !important; height: auto !important; padding: 0 22px !important;
    display: inline-flex !important; align-items: center; gap: 8px; margin-top: 16px;
}
html body #floorplanscroll .masterbtn .iconImage { width: 20px !important; height: 20px !important; }
html body #floorplanscroll .DuplexTitle { font-size: 1.5rem; font-weight: 600; text-align: start; }
html body #floorplanscroll .explanation-inner, html body #floorplanscroll .explanation-inner p { text-align: start !important; }
html body #floorplanscroll .table th { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ui-ink); }
@media (min-width: 768px) {
    html body #floorplanscroll #grid_view_list > .DuplexContainer { display: flex; flex-direction: column; height: 450px; min-height: 0; justify-content: flex-start; }
    html body #floorplanscroll #grid_view_list .explanation { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
    html body #floorplanscroll #grid_view_list .explanation-inner { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-inline-end: 6px; }
    html body #floorplanscroll .floorSideImg { background: transparent !important; padding-top: 0; padding-bottom: 0; }
    html body #floorplanscroll .floorSideImg .tab-content { background: transparent !important; padding: 0; border-radius: 0; }
    html body #floorplanscroll .floorSideImg .unitTypeTitle { margin-bottom: 10px; font-size: .9375rem; font-weight: 600; text-align: start; }
    html body #floorplanscroll .floorSideImg .unitType {
        height: auto !important; max-height: 520px; padding: 10px !important; border: 1px solid #e7e7ea; border-radius: 12px;
        background-color: #f6f6f7 !important; display: flex; flex-direction: column; gap: 8px;
        scrollbar-width: thin; scrollbar-color: #c9c9cf transparent;
    }
    html body #floorplanscroll .floorSideImg .unitType::-webkit-scrollbar { width: 6px; }
    html body #floorplanscroll .floorSideImg .unitType::-webkit-scrollbar-thumb { background: #c9c9cf; border-radius: 999px; }
    html body #floorplanscroll .floorSideImg .floorunit {
        margin: 0 !important; padding: 10px !important; border: 1px solid #e7e7ea; border-radius: 10px; background: #ffffff;
        color: inherit; transition: border-color .15s ease, box-shadow .15s ease;
    }
    html body #floorplanscroll .floorSideImg .floorunit:hover { border-color: #bfbfc6; }
    html body #floorplanscroll .floorSideImg .floorunit > p { margin: 0 0 8px !important; font-size: .8125rem; font-weight: 500; line-height: 1.3; color: #3c3c3c !important; }
    html body #floorplanscroll .floorSideImg .floorunit img { width: 100%; height: auto; margin: 0 !important; border-radius: 6px; background: #fafafa; }
    html body #floorplanscroll .floorSideImg .floorunit.activeFloorPlan {
        padding: 10px !important; border: 1px solid #171617 !important; box-shadow: inset 0 0 0 1px #171617; background-color: #ffffff !important;
    }
    html body #floorplanscroll .floorSideImg .floorunit.activeFloorPlan > p { font-weight: 700; color: #171617 !important; }
}
@media (max-width: 767.98px) {
    /* As the project page on a phone: the picker 12px in from the edge like the rest, the bed tabs centred, the
       selected unit marked. */
    html body #floorplanscroll .floorSideImg { padding-inline: 12px !important; }
    html body #floorplanscroll .fp-head > div:last-child { justify-content: center !important; }
    html body #floorplanscroll .fp-head #floorPlanTab { justify-content: center !important; }
    html body #floorplanscroll .floorunit.activeFloorPlan { border-color: #171617 !important; box-shadow: inset 0 0 0 1px #171617; }
}

/* ---------------------------------------------------------------- dropdown lists (22 Nov 2026)
   The lists that are not a <select> -- select2 fields and the header / top-bar menus -- in the same look as .ui-listbox
   (ui.css): white, 12px corners, a soft shadow, 8px-cornered rows with a soft hover. They were square boxes with a
   blue highlight or a bare 1px frame, none matching the field that opened them. */
html body .select2-container--open .select2-dropdown {
    border: 1px solid var(--ui-line) !important; border-radius: 12px !important; box-shadow: var(--ui-shadow-md) !important;
    background: var(--ui-surface); overflow: hidden; padding: 6px; font-family: var(--ui-font);
}
html body .select2-container--open .select2-dropdown--below { margin-top: 6px; }
html body .select2-container--open .select2-dropdown--above { margin-top: -6px; }
html body .select2-container--default .select2-results > .select2-results__options { scrollbar-width: thin; }
html body .select2-container--default .select2-results__option {
    padding: 8px 10px !important; border-radius: 8px; font-size: 14px; line-height: 1.35; color: var(--ui-text); background: none;
}
html body .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
html body .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--ui-subtle) !important; color: var(--ui-ink) !important;
}
html body .select2-container--default .select2-results__option--selected,
html body .select2-container--default .select2-results__option[aria-selected="true"] { background: none; font-weight: 600; color: var(--ui-ink); }
html body .select2-container--default .select2-results__option--highlighted.select2-results__option--selected { background: var(--ui-subtle) !important; }
html body .select2-container--default .select2-results__group { padding: 10px 10px 4px; font-size: 12px; font-weight: 600; color: var(--ui-muted); }
html body .select2-container--default .select2-search--dropdown { padding: 2px 2px 6px; }
html body .select2-container--default .select2-search--dropdown .select2-search__field {
    height: 38px; padding: 0 12px; border: 1px solid var(--ui-field); border-radius: 8px; font-size: 14px; outline: 0;
}
html body .select2-container--default .select2-search--dropdown .select2-search__field:focus { border-color: var(--ui-ink); box-shadow: var(--ui-focus); }

/* Top-bar (currency, language) and header menus (Multimedia, More, Projects, Developers). Desktop: on a phone the
   header's menus are lists inside the open menu panel and keep that panel's look. */
html body #currencyDropdownButton + .dropdown-menu,
html body #dropdownMenuButton + .dropdown-menu { min-width: 140px; }
html body #currencyDropdownButton + .dropdown-menu,
html body #dropdownMenuButton + .dropdown-menu,
html body .dropdown-menu .submenu {
    border: 1px solid var(--ui-line) !important; border-radius: 12px !important; box-shadow: var(--ui-shadow-md) !important;
    background: var(--ui-surface) !important; padding: 6px !important;
}
@media (min-width: 992px) {
    html body .headerCon .nav-links .dropdown-menu,
    html body .topbarContainer .dropdown-menu {
        border: 1px solid var(--ui-line) !important; border-radius: 12px !important; box-shadow: var(--ui-shadow-md) !important;
        background: var(--ui-surface) !important; padding: 6px !important; min-width: 200px;
    }
}
html body #currencyDropdownButton + .dropdown-menu .dropdown-item,
html body #dropdownMenuButton + .dropdown-menu .dropdown-item,
html body .dropdown-menu .submenu .dropdown-item {
    display: flex; align-items: center; min-height: 38px; padding: 8px 10px !important; border-radius: 8px;
    font: 500 14px/1.35 var(--ui-font); color: var(--ui-text) !important; background: none;
}
@media (min-width: 992px) {
    html body .headerCon .nav-links .dropdown-menu .dropdown-item,
    html body .topbarContainer .dropdown-menu .dropdown-item {
        display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 8px 10px !important;
        border-radius: 8px; font: 500 14px/1.35 var(--ui-font); color: var(--ui-text) !important; background: none;
    }
}
html body .dropdown-menu .dropdown-item:hover,
html body .dropdown-menu .dropdown-item:focus-visible { background: var(--ui-subtle) !important; color: var(--ui-ink) !important; }
html body .dropdown-menu .dropdown-item.active,
html body .dropdown-menu .dropdown-item:active { background: var(--ui-subtle) !important; color: var(--ui-ink) !important; font-weight: 600; }
html body .dropdown-menu .dropdown-item p { margin: 0; color: inherit !important; font: inherit; }
@media (min-width: 992px) {
    /* The Projects menu ruled a line under every row; the other menus did not. */
    html body .headerCon .nav-links .dropdown-menu li,
    html body .headerCon .nav-links .dropdown-menu li > a,
    html body .headerCon .nav-links .dropdown-menu .submenu li { border: 0 !important; }
}
