/* =========================================================
   PROJECT COMPARE — list (/compare-projects) + detail (/compare/a-vs-b)
   Tokens (--brand-*, --navy, .btn-brand, .text-gradient, contact form) home.css se aate hain.
========================================================= */
.cmp-page { overflow-x: clip; background: #fff; color: #222; }
/* Font (Plus Jakarta Sans) comes from the site-wide css/site-font.css */
.cmp-page a { text-decoration: none; }
.cmp-page img { max-width: 100%; }
.cmp-wrap { width: 100%;  margin: 0 auto; padding: 0 16px; }
.cmp-section { padding: 40px 0; }
.cmp-soft { background: #f7f6fc; }
@media (min-width: 768px) { .cmp-section { padding: 64px 0; } }

.cmp-eyebrow { display: inline-block; margin-bottom: 8px; color: var(--brand-pink); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cmp-h2 { margin: 0 0 8px; color: var(--navy); font-size: 22px; font-weight: 700; line-height: 1.25; }
.cmp-sub { margin: 0; color: #6b7280; font-size: 14px; }
@media (min-width: 768px) { .cmp-h2 { font-size: 30px; } .cmp-sub { font-size: 16px; } }
.cmp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.cmp-btn-outline { border: 1px solid var(--brand-blue); color: var(--brand-blue); background: #fff; }
.cmp-btn-outline:hover { background: var(--brand-blue); color: #fff; }
.cmp-btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- List: hero ---------- */
/* Hero art (compare-hero.webp, 2172x724): left ~35% is plain white for the text, then arc + person + skyline.
   The site header is fixed and overlays the page top (~58px mobile, ~65px desktop).
   < 1200px: text on top, right part of the art (compare-hero-mobile.webp, 1574x724) full width below it. */
.cmp-hero {
  padding: 88px 0 46vw;
  background: #f5f4f9 url("../compare_asset/compare-hero-mobile.webp?v=4") no-repeat center bottom / 100% auto;
}
.cmp-hero-text { padding: 0 16px 24px; }
.cmp-hero h1 { margin: 0 0 12px; color: #12122b; font-size: 34px; font-weight: 700; line-height: 1.15; }
.cmp-hero p { max-width: 420px; margin: 0 0 22px; color: #374151; font-size: 15px; line-height: 1.6; }
.cmp-hero-btn { display: inline-flex; align-items: center; gap: 18px; padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; box-shadow: 0 10px 22px rgba(196, 68, 125, .25); }
.cmp-hero-btn svg { width: 20px; height: 20px; }
@media (min-width: 768px) { .cmp-hero-text { padding: 0 40px 32px; } .cmp-hero h1 { font-size: 46px; } }
@media (min-width: 1200px) {
  /* full banner at its own aspect ratio, below the header */
  .cmp-hero {
    display: flex; align-items: center;
    height: calc(33.34vw + 65px); max-height: 790px; padding: 65px 0 0;
    background: #f5f4f9 url("../compare_asset/compare-hero.webp?v=4") no-repeat left bottom / 100% auto;
  }
  .cmp-hero-text { width: 36vw; padding: 0 0 0 5.2vw; }
  .cmp-hero h1 { font-size: clamp(40px, 3.3vw, 64px); }
  .cmp-hero p { font-size: clamp(15px, 1.05vw, 19px); }
  .cmp-hero-btn { padding: clamp(12px, .9vw, 17px) clamp(26px, 2vw, 38px); font-size: clamp(15px, 1vw, 18px); }
}

/* ---------- Pair card + slider (Top / More compare projects) ---------- */
.cmp-h2-line { display: flex; align-items: center; gap: 14px; }
.cmp-h2-line::after { content: ""; width: 48px; height: 2px; border-radius: 2px; background: var(--brand-gradient); }
.cmp-slider { position: relative; margin-top: 24px; }
.cmp-track { display: flex; gap: 20px; padding: 4px 2px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.cmp-track::-webkit-scrollbar { display: none; }
.cmp-track > .cmp-pair { flex: 0 0 min(86%, 360px); scroll-snap-align: start; }
@media (min-width: 768px) { .cmp-track > .cmp-pair { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 1200px) { .cmp-track > .cmp-pair { flex-basis: calc((100% - 40px) / 3); } }
.cmp-arrow { position: absolute; top: 36%; z-index: 3; display: none; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #ece9f7; border-radius: 50%; background: #fff; color: #111; box-shadow: 0 4px 12px rgba(23, 20, 95, .12); }
.cmp-arrow svg { width: 18px; height: 18px; }
.cmp-arrow:disabled { opacity: .35; }
.cmp-arrow-prev { left: -19px; }
.cmp-arrow-next { right: -19px; }
@media (min-width: 768px) { .cmp-arrow { display: grid; } }
.cmp-slider.no-scroll .cmp-arrow { display: none; }

.cmp-pair { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ece9f7; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(23, 20, 95, .06); }
.cmp-pair-media { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: #fff; }
.cmp-pair-media img { width: 100%; height: 140px; object-fit: cover; background: #eee; }
@media (min-width: 768px) { .cmp-pair-media img { height: 160px; } }
.cmp-vs { position: absolute; bottom: -16px; left: 50%; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; margin-left: -17px; border: 3px solid #fff; border-radius: 50%; background: var(--brand-gradient); color: #fff; font-size: 11px; font-weight: 700; }
.cmp-pair-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 14px 14px 0; }
.cmp-pair-item h3 { margin: 6px 0 2px; color: #111; font-size: 13px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cmp-pair-item .cmp-loc { color: #6b7280; font-size: 11px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cmp-pair-item .cmp-price { margin-top: 10px; color: #111; font-size: 16px; font-weight: 700; line-height: 1.2; }
.cmp-pair-item .cmp-price-note { color: #374151; font-size: 11px; font-weight: 600; }
.cmp-pair .btn-brand { align-self: center; width: min(76%, 240px); margin: auto 0 16px; padding: 9px 16px; border-radius: 6px; font-size: 13px; }
.cmp-pair-row { margin-bottom: 16px; }

/* ---------- Compare tool (RealEstate360) ---------- */
.cmp-tool { padding: 24px 16px 28px; border-radius: 16px; background: #fff;  text-align: center; }
@media (min-width: 768px) { .cmp-tool { padding: 32px 40px 36px; } }
.cmp-tool-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 24px; text-align: left; }
.cmp-tool-title { margin: 0 0 4px; color: #12122b; font-size: 22px; font-weight: 600; }
.cmp-tool-sub { margin: 0; color: #6b7280; font-size: 13px; }
.cmp-tool-count { color: #374151; font-size: 13px; }
.cmp-tool-count strong { color: var(--brand-pink); }
@media (min-width: 768px) { .cmp-tool-title { font-size: 26px; } }

.cmp-slots { display: flex; flex-direction: column; align-items: center; max-width: 900px; margin: 28px auto 24px; padding: 18px 12px; border: 1px solid #ece9f7; border-radius: 14px; background: #fff; box-shadow: 0 4px 16px rgba(23, 20, 95, .06); }
@media (min-width: 768px) { .cmp-slots { flex-direction: row; align-items: stretch; padding: 26px 12px; } }
.cmp-slot { position: relative; flex: 1; padding: 6px 8px; }
.cmp-slot-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0; border: 0; background: none; cursor: pointer; }
.cmp-slot.plus-left .cmp-slot-btn { flex-direction: row-reverse; }
.cmp-slot-art { display: grid; place-items: center; width: 72px; height: 66px; color: #d8d3ef; }
.cmp-slot-art svg { width: 64px; height: 60px; }
.cmp-slot-art img { width: 72px; height: 66px; border-radius: 10px; object-fit: cover; }
.cmp-slot-plus { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 17px; line-height: 1; transition: transform .2s, background .2s; }
.cmp-slot-btn:hover .cmp-slot-plus { transform: scale(1.12); background: var(--brand-pink); }
.cmp-slot.is-filled .cmp-slot-plus { display: none; }
.cmp-slot-name { max-width: 220px; margin: 10px auto 0; color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.35; }
.cmp-slot:not(.is-filled) .cmp-slot-name { color: #374151; }
.cmp-slot-remove { position: absolute; top: 0; left: 50%; display: none; width: 22px; height: 22px; margin-left: 26px; padding: 0; border: 0; border-radius: 50%; background: #111; color: #fff; font-size: 14px; line-height: 22px; }
.cmp-slot.is-filled .cmp-slot-remove { display: block; }

/* Divider between slots (1px line) with the VS badge centred on it.
   Mobile: horizontal line between stacked slots; desktop: vertical line. */
.cmp-slot-vs { position: relative; flex: 0 0 1px; align-self: stretch; margin: 16px -12px; background: #ece9f7; font-size: 0; }
.cmp-slot-vs::after { content: "VS"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid #fff; border-radius: 50%; background: var(--brand-gradient); color: #fff; font-size: 11px; font-weight: 700; transform: translate(-50%, -50%); box-shadow: 0 0 0 1px #ece9f7; }
@media (min-width: 768px) { .cmp-slot-vs { margin: -26px 0; } }

.cmp-tool-go { padding: 12px 34px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.cmp-tool-go[disabled] { opacity: .55; pointer-events: none; }
.cmp-tool-note { margin-top: 10px; color: #9ca3af; font-size: 12px; }

/* ---------- Why / Informed decision ---------- */
/* Why: light lavender panel, intro text left, 2x2 white cards right */
.cmp-why { display: grid; gap: 28px; align-items: center; padding: 32px 20px; border-radius: 16px; background: #f8f7fd; }
@media (min-width: 768px) { .cmp-why { padding: 48px 40px; } }
@media (min-width: 992px) { .cmp-why { grid-template-columns: 5fr 7fr; gap: 48px; padding: 60px 48px; } }
.cmp-why-text .cmp-h2 { margin-bottom: 16px; color: #12122b; font-weight: 600; }
.cmp-why-text p { margin: 0; color: #4b5563; font-size: 14px; line-height: 1.7; }
.cmp-features { display: grid; gap: 16px; }
@media (min-width: 576px) { .cmp-features { grid-template-columns: 1fr 1fr; } }
.cmp-feature { padding: 20px; border: 1px solid #ece9f7; border-radius: 10px; background: #fff; }
.cmp-features .cmp-feature { padding: 22px 20px 26px; box-shadow: 0 2px 10px rgba(23, 20, 95, .03); }
.cmp-feature-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 8px; background: #fdf0f6; color: var(--brand-pink); }
.cmp-feature-icon svg { width: 18px; height: 18px; }
.cmp-feature h3 { margin: 0 0 8px; color: #12122b; font-size: 15px; font-weight: 700; }
.cmp-feature p { margin: 0; color: #6b7280; font-size: 12.5px; line-height: 1.6; }
/* Informed decision: centred heading, 3 lavender cards with bare outline icons */
.cmp-decide-head { max-width: 700px; margin: 0 auto; text-align: center; }
.cmp-decide-head .cmp-h2 { color: #12122b; font-weight: 600; }
.cmp-decide-head .cmp-h2 span { font-family: inherit; }
.cmp-decide-head .cmp-sub { max-width: 540px; margin: 0 auto; color: #4b5563; font-size: 14px; line-height: 1.5; }
@media (min-width: 768px) { .cmp-decide-head .cmp-h2 { font-size: 36px; } .cmp-decide-head .cmp-sub { font-size: 15px; } }
.cmp-decide { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 768px) { .cmp-decide { grid-template-columns: repeat(3, 1fr); margin-top: 56px; } }
.cmp-decide .cmp-feature { padding: 24px 22px 26px; border-color: #eeedf7; border-radius: 8px; background: #f8f7fd; text-align: left; }
.cmp-decide-icon { width: 22px; height: 22px; margin: 4px 0 26px; color: var(--brand-pink); }
.cmp-decide-icon svg { display: block; width: 22px; height: 22px; }
.cmp-decide .cmp-feature h3 { font-size: 17px; font-weight: 600; }

/* ---------- Detail: head (breadcrumb + "A vs B") ---------- */
/* fixed site header overlays the top (~58px mobile, ~65px desktop) */
.cmp-detail-top { padding: 78px 0 36px; background: #f9f9fd; }
@media (min-width: 768px) { .cmp-detail-top { padding: 90px 0 48px; } }
.cmp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; color: #6b7280; font-size: 13px; list-style: none; }
.cmp-crumbs li + li::before { content: ">"; margin-right: 8px; color: #6b7280; }
.cmp-crumbs a { display: inline-flex; align-items: center; gap: 6px; color: #6b7280; }
.cmp-crumbs a:hover { color: var(--brand-blue); }
.cmp-crumbs svg { width: 17px; height: 17px; }
.cmp-crumbs [aria-current] { color: var(--brand-pink); font-weight: 600; }

.cmp-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 22px; margin: 26px 0 0; font-size: 28px; font-weight: 800; line-height: 1.15; letter-spacing: -.5px; text-align: center; }
@media (min-width: 768px) { .cmp-title { margin-top: 30px; font-size: 40px; } }
.cmp-title-name.side-a { color: var(--brand-blue); }
.cmp-title-name.side-b { color: var(--brand-pink); }
.cmp-title-vs { display: grid; place-items: center; width: 42px; height: 30px; border-radius: 999px; background: var(--brand-gradient); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.cmp-title-sub { margin: 14px 0 0; color: #4b5563; font-size: 14px; text-align: center; }
.cmp-title-sub::after { content: ""; display: block; width: 74px; height: 2px; margin: 16px auto 0; background: var(--brand-pink); }

/* ---------- Detail: project cards ---------- */
.cmp-cards { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 992px) { .cmp-cards { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); gap: 0; } }
/* VS: dashed divider with a gradient circle in the middle */
.cmp-cards-vs { position: relative; display: grid; place-items: center; }
.cmp-cards-vs::before { content: ""; position: absolute; top: 50%; right: 0; left: 0; border-top: 1px dashed #dcd9ea; }
@media (min-width: 992px) { .cmp-cards-vs::before { top: 0; bottom: 0; left: 50%; right: auto; border-top: 0; border-left: 1px dashed #dcd9ea; } }
.cmp-cards-vs span { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-gradient); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 0 0 6px #f9f9fd, 0 0 0 7px #e4e1f0; }
@media (min-width: 992px) { .cmp-cards-vs span { width: 48px; height: 48px; font-size: 14px; } }

.cmp-card { --side: var(--brand-blue); --side-soft: #eef1fa; display: flex; flex-direction: column; padding: 14px; border: 1px solid #ececf3; border-left: 4px solid var(--side); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(23, 20, 95, .05); }
.cmp-card.side-b { --side: var(--brand-pink); --side-soft: #fcf0f5; border-left-width: 1px; border-left-color: #ececf3; border-right: 4px solid var(--side); }
@media (min-width: 768px) { .cmp-card { padding: 18px 18px 20px; } }
.cmp-card-media { position: relative; }
.cmp-card-media img { display: block; width: 100%; height: 210px; border-radius: 12px; object-fit: cover; background: #eee; }
@media (min-width: 768px) { .cmp-card-media img { height: 290px; } }
.cmp-card-badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 28px); padding: 7px 13px; border-radius: 8px; background: #fff; color: var(--side); font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.cmp-card-badge svg { flex: 0 0 15px; width: 15px; height: 15px; }

/* Location | Unit Type | Price */
.cmp-card-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0; }
.cmp-card-info > div { display: flex; gap: 10px; min-width: 0; padding: 0 10px; }
.cmp-card-info > div:first-child { padding-left: 0; }
.cmp-card-info > div + div { border-left: 1px solid #ececf3; }
.cmp-card-info > div > div { min-width: 0; }
.cmp-info-ico { display: none; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f3f4f8; color: #4b5563; }
.cmp-info-ico svg { width: 17px; height: 17px; }
@media (min-width: 576px) { .cmp-info-ico { display: grid; } }
.cmp-card-info small { display: block; color: #6b7280; font-size: 11.5px; }
.cmp-card-info strong { display: block; margin-top: 1px; color: #12122b; font-size: 13px; font-weight: 700; line-height: 1.3; }
.cmp-card-info em { display: block; overflow: hidden; color: #6b7280; font-size: 11px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }

.cmp-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.cmp-card-tags li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 6px; background: var(--side-soft); color: var(--side); font-size: 12px; font-weight: 600; }
.cmp-card-tags svg { width: 13px; height: 13px; }

.cmp-card-btn { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: auto; padding: 12px 16px; border-radius: 8px; background: var(--side); color: #fff; font-size: 14px; font-weight: 700; transition: filter .2s, transform .2s; }
.cmp-card-btn:hover { color: #fff; filter: brightness(.92); transform: translateY(-1px); }
.cmp-card-btn svg { width: 16px; height: 16px; }

/* ---------- Detail: table + side nav ---------- */
.cmp-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 32px; }
@media (min-width: 992px) { .cmp-layout { grid-template-columns: minmax(0, 1fr) 240px; } }
.cmp-nav { order: -1; }
@media (min-width: 992px) { .cmp-nav { order: 0; } .cmp-nav-inner { position: sticky; top: 90px; } }
.cmp-ico { flex: none; width: 16px; height: 16px; }
.cmp-nav-inner { padding: 12px 10px; border: 1px solid #ece9f7; border-radius: 12px; background: #fff; }
.cmp-nav-title { margin: 0 0 8px; padding: 0 10px; color: #9ca3af; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cmp-nav ul { display: flex; gap: 4px; margin: 0 0 12px; padding: 0; overflow-x: auto; list-style: none; }
@media (min-width: 992px) { .cmp-nav ul { flex-direction: column; overflow: visible; } }
.cmp-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: #4b5563; font-size: 12.5px; white-space: nowrap; }
.cmp-nav a .cmp-ico { color: #6b7280; }
.cmp-nav a:hover, .cmp-nav a.active { background: #f1eefb; color: var(--brand-pink); }
.cmp-nav a:hover .cmp-ico, .cmp-nav a.active .cmp-ico { color: var(--brand-pink); }
.cmp-diff { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 10px; color: #374151; font-size: 13px; cursor: pointer; }
.cmp-block { margin-bottom: 28px; overflow: hidden; border: 1px solid #ece9f7; border-radius: 12px; background: #fff; scroll-margin-top: 90px; }
.cmp-block h2 { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; color: var(--navy); font-size: 16px; font-weight: 600; }
.cmp-block h2::before { content: ""; flex: none; width: 3px; height: 22px; border-radius: 2px; background: var(--brand-gradient); }
.cmp-block h2 .cmp-ico { width: 18px; height: 18px; }
.cmp-row { display: grid; grid-template-columns: 1fr; border-top: 1px solid #f0eef7; }
.cmp-row-label { display: flex; align-items: center; gap: 8px; padding: 10px 16px 4px; color: var(--navy); font-size: 13px; font-weight: 600; }
.cmp-row-label .cmp-ico { width: 15px; height: 15px; }
.cmp-row-values { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.cmp-row-values > div { padding: 4px 16px 10px; color: #4b5563; font-size: 13px; line-height: 1.5; word-break: break-word; }
.cmp-row-values.has-dot > div { position: relative; padding-left: 30px; }
.cmp-row-values.has-dot > div::before { content: ""; position: absolute; left: 16px; top: calc(4px + .75em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--brand-blue); }
.cmp-row-values.has-dot > div:nth-child(even)::before { background: var(--brand-pink); }
@media (min-width: 768px) {
  .cmp-row { grid-template-columns: 200px minmax(0, 1fr); }
  .cmp-row-label { padding: 11px 16px; }
  .cmp-row-values > div { padding: 11px 16px; }
  .cmp-row-values.has-dot > div::before { top: calc(11px + .75em - 3px); }
}
.cmp-only-diff .cmp-row.is-same { display: none; }
/* amenities: yes / no badges + project header row */
.cmp-yes, .cmp-no { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.cmp-yes svg, .cmp-no svg { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; }
.cmp-yes { color: #15803d; }
.cmp-yes svg { background: #dcfce7; }
.cmp-no { color: #9ca3af; }
.cmp-no svg { background: #fee2e2; color: #dc2626; }
.cmp-yes em, .cmp-no em { display: none; font-style: normal; }
@media (min-width: 576px) { .cmp-yes em, .cmp-no em { display: inline; } }
.cmp-amenities .cmp-row-label { font-weight: 500; }
.cmp-amenities .cmp-row.is-diff { background: #fcfbff; }
.cmp-amenities .cmp-row-values > div { display: flex; align-items: center; }
.cmp-amen-head { background: #f7f6fc; }
.cmp-amen-head .cmp-row-label { color: #6b7280; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.cmp-amen-head .cmp-row-values > div { flex-direction: column; align-items: flex-start; gap: 2px; border-top: 3px solid var(--brand-blue); }
.cmp-amen-head .cmp-row-values > .side-b { border-top-color: var(--brand-pink); }
.cmp-amen-head strong { color: var(--navy); font-size: 13px; font-weight: 600; }
.cmp-amen-head small { color: #6b7280; font-size: 12px; }
.cmp-empty { padding: 16px; color: #6b7280; font-size: 13px; }
.cmp-block.is-collapsed .cmp-row.is-extra { display: none; }
.cmp-only-diff .cmp-block.is-collapsed .cmp-row.is-extra.is-diff { display: grid; }
.cmp-only-diff .cmp-more { display: none; }
.cmp-more { display: block; width: 100%; padding: 13px; border: 0; border-top: 1px solid #f0eef7; background: #faf9fe; color: var(--brand-pink); font-size: 13px; font-weight: 600; }
.cmp-more:hover { background: #f1eefb; }
.cmp-more::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 10px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cmp-block:not(.is-collapsed) .cmp-more::after { margin-bottom: -1px; transform: rotate(-135deg); }

/* Project picker: the fixed site header (z-index 9999) sat on top of the modal's title/search on short screens.
   Start the dialog below the header and cap it to the space left, so the whole popup is always visible
   and only the project list scrolls (.modal-dialog-scrollable). */
#cmpPicker .modal-dialog {
    margin-top: calc(var(--ra-header-h, 64px) + 12px);
    margin-bottom: 12px;
    height: calc(100% - var(--ra-header-h, 64px) - 24px);
    min-height: 0;
}
