/* Zricks RERA project pages — same design language as the Zricks _Layout / relalist / project page:
   charcoal + Zricks crimson on white, Material Icons, rounded white cards on a soft grey page.
   Everything is scoped under .zrp so it can sit inside the live site next to materialize.css and site.css. */

.zrp {
    --zp-brand: var(--zr-brand, #cf003f);
    --zp-brand-dark: var(--zr-brand-dark, #a8002f);
    --zp-brand-tint: var(--zr-brand-soft, #fff1f4);
    --zp-ink: var(--zr-ink, #111827);
    --zp-text: var(--zr-text, #4b5563);
    --zp-muted: var(--zr-muted, #6b7280);
    --zp-faint: var(--zr-faint, #9ca3af);
    --zp-line: var(--zr-line, #e5e7eb);
    --zp-line-strong: #d1d5db;
    --zp-soft: var(--zr-soft, #f9fafb);
    --zp-page: #f4f5f7;
    --zp-slate: #374151;
    --zp-green: #15803d;
    --zp-green-tint: #f0fdf4;
    --zp-green-line: #bbf7d0;
    --zp-blue: #1d4ed8;
    --zp-blue-tint: #eff6ff;
    --zp-blue-line: #bfdbfe;
    --zp-amber: #b45309;
    --zp-amber-tint: #fffbeb;
    --zp-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 1px 3px rgba(17, 24, 39, .06);
    --zp-shadow-lg: 0 8px 24px rgba(17, 24, 39, .08);
    --zp-radius: 16px;
    background: var(--zp-page);
    color: var(--zp-text);
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: 8px;
}
.zrp *, .zrp *::before, .zrp *::after { box-sizing: border-box; }
.zrp [hidden] { display: none !important; }
.zrp .material-icons { line-height: 1; vertical-align: middle; }
.zrp a { line-height: inherit; }
.zrp h1, .zrp h2, .zrp h3, .zrp h4 { color: var(--zp-ink); font-weight: 500; letter-spacing: -.01em; margin: 0; }
.zrp ul, .zrp ol { margin: 0; padding: 0; }
.zrp li { list-style: none; }
.zrp .zrp-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- head ---------- */
.zrp .zrp-head { background: radial-gradient(900px 340px at 100% -20%, rgba(207, 0, 63, .07), rgba(207, 0, 63, 0) 70%), linear-gradient(180deg, #fff 0%, #fff 70%, #fcfcfd 100%); border-bottom: 1px solid var(--zp-line); padding: 14px 0 22px; }
.zrp .zrp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0 0 14px; font-size: 13px; color: var(--zp-muted); }
.zrp .zrp-crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.zrp .zrp-crumbs li + li::before { content: "chevron_right"; font-family: "Material Icons"; font-feature-settings: "liga"; text-transform: none; font-size: 16px; color: var(--zp-faint); }
.zrp .zrp-crumbs a { color: var(--zp-muted); text-decoration: none; }
.zrp .zrp-crumbs a:hover { color: var(--zp-brand); }
.zrp .zrp-crumbs li:last-child { color: var(--zp-ink); }

.zrp .zrp-hero { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 32px; }
.zrp .zrp-hero__main { flex: 1 1 520px; min-width: 0; }
.zrp .zrp-hero__side { flex: 0 1 380px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.zrp .zrp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.zrp .zrp-chip { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--zp-soft); border: 1px solid var(--zp-line); color: var(--zp-slate); white-space: nowrap; }
.zrp .zrp-chip .material-icons { font-size: 16px; }
.zrp .zrp-chip--green { background: var(--zp-green-tint); border-color: var(--zp-green-line); color: var(--zp-green); }
.zrp .zrp-chip--blue { background: var(--zp-blue-tint); border-color: var(--zp-blue-line); color: var(--zp-blue); }
.zrp .zrp-chip--brand { background: var(--zp-brand-tint); border-color: #ffd0dc; color: var(--zp-brand); }
.zrp .zrp-hero h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
.zrp .zrp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 15px; color: var(--zp-text); }
.zrp .zrp-meta span { display: inline-flex; align-items: center; gap: 5px; }
.zrp .zrp-meta .material-icons { font-size: 19px; color: var(--zp-faint); }
.zrp .zrp-meta b { color: var(--zp-ink); font-weight: 500; }

.zrp .zrp-regbox { width: 100%; padding: 14px 16px; border-radius: var(--zp-radius); border: 1px solid var(--zp-line); background: #fff; box-shadow: var(--zp-shadow); text-align: left; }
.zrp .zrp-label { display: block; margin: 0 0 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--zp-faint); }
.zrp .zrp-num { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 12px; border: 1px dashed var(--zp-line-strong); background: var(--zp-soft); }
.zrp .zrp-num code { flex: 1 1 auto; min-width: 0; padding: 0; background: none; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; font-weight: 600; color: var(--zp-ink); overflow-wrap: anywhere; }
.zrp .zrp-regbox small { display: block; margin-top: 8px; font-size: 13px; color: var(--zp-muted); }
.zrp .zrp-copy { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 32px; margin: 0; padding: 0 10px; border-radius: 9px; border: 1px solid var(--zp-line-strong); background: #fff; color: var(--zp-slate); font: inherit; font-size: 13px; font-weight: 500; line-height: 1; cursor: pointer; }
.zrp .zrp-copy:hover { border-color: var(--zp-slate); color: var(--zp-ink); }
.zrp .zrp-copy .material-icons { font-size: 16px; }
.zrp .zrp-copy.is-done { border-color: var(--zp-green-line); background: var(--zp-green-tint); color: var(--zp-green); }
.zrp .zrp-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; width: 100%; }

/* buttons (independent of materialize .btn) */
.zrp .zrp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.zrp .zrp-btn .material-icons { font-size: 19px; }
.zrp .zrp-btn--primary { background: var(--zp-brand); color: #fff; box-shadow: 0 6px 16px rgba(207, 0, 63, .22); }
.zrp .zrp-btn--primary:hover { background: var(--zp-brand-dark); color: #fff; }
.zrp .zrp-btn--outline { background: #fff; border-color: var(--zp-line-strong); color: var(--zp-ink); }
.zrp .zrp-btn--outline:hover { border-color: var(--zp-ink); }
.zrp .zrp-btn--sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.zrp .zrp-btn:focus-visible, .zrp .zrp-copy:focus-visible, .zrp .zrp-tabs a:focus-visible { outline: 2px solid var(--zp-brand); outline-offset: 2px; }

/* ---------- stats strip ---------- */
.zrp .zrp-stats { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 1px; margin: 18px 0 0; border-radius: var(--zp-radius); border: 1px solid var(--zp-line); background: var(--zp-line); box-shadow: var(--zp-shadow); overflow: hidden; }
.zrp .zrp-stat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-width: 0; background: #fff; }
.zrp .zrp-stat__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--zp-brand-tint); border: 1px solid #ffe0e8; }
.zrp .zrp-stat__icon .material-icons { font-size: 22px; color: var(--zp-brand); }
.zrp .zrp-stat small { display: block; font-size: 13px; color: var(--zp-muted); }
.zrp .zrp-stat b { display: block; font-size: 16.5px; font-weight: 500; color: var(--zp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- tabs ---------- */
.zrp .zrp-tabs { position: sticky; top: var(--zr-header-h, 68px); z-index: 20; margin: 18px 0 0; padding: 6px; border-radius: var(--zp-radius); border: 1px solid var(--zp-line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); box-shadow: var(--zp-shadow); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
/* inside Zricks.com: site.css / Materialize style every <nav> (min-height + line-height 100px, white text) - not the tabs */
.zrp nav.zrp-tabs { height: auto; min-height: 0; max-height: none; line-height: normal; width: auto; color: inherit; }
/* (zp-project.css makes class-less links inline !important - not the tabs) */
.zrp nav.zrp-tabs a { display: inline-flex !important; line-height: 1.2; }
.zrp .zrp-tabs::-webkit-scrollbar { display: none; }
.zrp .zrp-tabs a { flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px; color: var(--zp-muted); font-size: 15px; text-decoration: none; white-space: nowrap; }
.zrp .zrp-tabs a:hover { color: var(--zp-ink); background: var(--zp-soft); }
.zrp .zrp-tabs a.is-active { color: var(--zp-brand); background: var(--zp-brand-tint); font-weight: 500; }

/* ---------- layout ---------- */
.zrp .zrp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; margin-top: 20px; align-items: start; }
.zrp .zrp-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.zrp .zrp-aside__sticky { position: sticky; top: calc(var(--zr-header-h, 68px) + 76px); display: grid; gap: 16px; }
.zrp .zrp-card { padding: 22px; border-radius: var(--zp-radius); border: 1px solid var(--zp-line); background: #fff; box-shadow: var(--zp-shadow); scroll-margin-top: calc(var(--zr-header-h, 68px) + 80px); }
.zrp .zrp-h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 21px; line-height: 1.3; }
.zrp .zrp-h2::before { content: ""; flex: none; width: 4px; height: 20px; border-radius: 4px; background: var(--zp-brand); }
.zrp .zrp-sub { margin: 0 0 18px; color: var(--zp-muted); font-size: 14.5px; }
.zrp .zrp-h3 { margin: 22px 0 12px; font-size: 16px; }
.zrp .zrp-side-title { margin: 0 0 12px; font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--zp-muted); }

/* key facts */
.zrp .zrp-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.zrp .zrp-fact { padding: 12px 14px; border-radius: 12px; background: var(--zp-soft); border: 1px solid var(--zp-line); min-width: 0; }
.zrp .zrp-fact small { display: block; font-size: 12.5px; color: var(--zp-muted); }
.zrp .zrp-fact b { display: block; margin-top: 2px; font-size: 15px; font-weight: 500; color: var(--zp-ink); overflow-wrap: break-word; }

/* bars (land use, cost, schedule) */
.zrp .zrp-bars { display: grid; gap: 10px; }
.zrp .zrp-bar__row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 96px; gap: 12px; align-items: center; font-size: 14px; }
.zrp .zrp-bar__name { color: var(--zp-slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zrp .zrp-bar__track { height: 10px; border-radius: 999px; background: var(--zp-page); overflow: hidden; }
.zrp .zrp-bar__fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--zp-brand), #ff5c8a); }
.zrp .zrp-bar__fill--ink { background: linear-gradient(90deg, #374151, #6b7280); }
.zrp .zrp-bar__val { text-align: right; color: var(--zp-ink); font-weight: 500; font-variant-numeric: tabular-nums; }

/* plots table */
.zrp .zrp-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.zrp .zrp-filter button { height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--zp-line-strong); background: #fff; color: var(--zp-slate); font: inherit; font-size: 13.5px; cursor: pointer; }
.zrp .zrp-filter button.is-active { background: var(--zp-ink); border-color: var(--zp-ink); color: #fff; }
.zrp .zrp-tablewrap { max-height: 460px; overflow: auto; border: 1px solid var(--zp-line); border-radius: 12px; }
.zrp table.zrp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.zrp .zrp-table th { position: sticky; top: 0; z-index: 1; padding: 10px 12px; background: var(--zp-soft); border-bottom: 1px solid var(--zp-line); color: var(--zp-muted); font-size: 12.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; text-align: left; white-space: nowrap; cursor: pointer; user-select: none; }
.zrp .zrp-table th.is-num, .zrp .zrp-table td.is-num { text-align: right; font-variant-numeric: tabular-nums; }
.zrp .zrp-table th[aria-sort]::after { font-family: "Material Icons"; text-transform: none; letter-spacing: normal; font-weight: 400; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; font-size: 15px; vertical-align: -3px; margin-left: 2px; content: "unfold_more"; color: var(--zp-faint); }
.zrp .zrp-table th[aria-sort="ascending"]::after { content: "arrow_upward"; color: var(--zp-ink); }
.zrp .zrp-table th[aria-sort="descending"]::after { content: "arrow_downward"; color: var(--zp-ink); }
.zrp .zrp-table td { padding: 10px 12px; border-bottom: 1px solid var(--zp-line); color: var(--zp-ink); }
.zrp .zrp-table tr:last-child td { border-bottom: 0; }
.zrp .zrp-table tbody tr:hover td { background: #fffafb; }
.zrp .zrp-table td.is-muted { color: var(--zp-muted); }
.zrp .zrp-note { margin: 10px 0 0; font-size: 13px; color: var(--zp-muted); }

/* facilities */
.zrp .zrp-amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.zrp .zrp-amen li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--zp-line); background: #fff; font-size: 14px; color: var(--zp-ink); line-height: 1.35; }
.zrp .zrp-amen .material-icons { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--zp-brand-tint); color: var(--zp-brand); font-size: 20px; }
.zrp .zrp-amen li.is-off { background: var(--zp-soft); color: var(--zp-faint); }
.zrp .zrp-amen li.is-off .material-icons { background: var(--zp-page); color: var(--zp-faint); }

/* approvals */
.zrp .zrp-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.zrp .zrp-checks li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--zp-ink); }
.zrp .zrp-checks .material-icons { font-size: 19px; }
.zrp .zrp-checks .is-yes .material-icons { color: var(--zp-green); }
.zrp .zrp-checks .is-no { color: var(--zp-faint); }
.zrp .zrp-checks .is-no .material-icons { color: var(--zp-line-strong); }
.zrp .zrp-approvals { display: grid; gap: 10px; }
.zrp .zrp-approval { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--zp-line); }
.zrp .zrp-approval > .material-icons { flex: none; color: var(--zp-green); font-size: 22px; }
.zrp .zrp-approval div { flex: 1 1 auto; min-width: 0; }
.zrp .zrp-approval b { display: block; font-size: 14.5px; font-weight: 500; color: var(--zp-ink); }
.zrp .zrp-approval span { display: block; font-size: 13px; color: var(--zp-muted); }
.zrp .zrp-approval time { flex: none; font-size: 13.5px; color: var(--zp-slate); font-variant-numeric: tabular-nums; }

/* documents */
.zrp .zrp-docs-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.zrp .zrp-dockey { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--zp-line); background: #fff; text-decoration: none; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.zrp .zrp-dockey::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--zp-brand), #ff5c8a); }
.zrp .zrp-dockey:hover { border-color: var(--zp-line-strong); box-shadow: var(--zp-shadow-lg); }
.zrp .zrp-dockey > .material-icons { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--zp-brand-tint); color: var(--zp-brand); font-size: 24px; }
.zrp .zrp-dockey b { display: block; color: var(--zp-ink); font-size: 15.5px; font-weight: 500; }
.zrp .zrp-dockey span { display: block; color: var(--zp-muted); font-size: 13px; }
.zrp .zrp-docgroup + .zrp-docgroup { margin-top: 18px; }
.zrp .zrp-docgroup h3 { margin: 0 0 10px; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--zp-muted); }
.zrp .zrp-doclist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.zrp .zrp-doc { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--zp-line); background: #fff; text-decoration: none; transition: border-color .15s, background .15s; min-width: 0; }
.zrp .zrp-doc:hover { border-color: var(--zp-brand); background: #fffafb; }
.zrp .zrp-doc > .material-icons { flex: none; font-size: 26px; color: #dc2626; }
.zrp .zrp-doc div { flex: 1 1 auto; min-width: 0; }
.zrp .zrp-doc b { display: block; font-size: 14px; font-weight: 500; color: var(--zp-ink); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zrp .zrp-doc span { display: block; font-size: 12.5px; color: var(--zp-muted); }
.zrp .zrp-doc .zrp-doc__go { flex: none; font-size: 20px; color: var(--zp-faint); }
.zrp .zrp-doc:hover .zrp-doc__go { color: var(--zp-brand); }

/* hearings timeline */
.zrp .zrp-timeline { position: relative; display: grid; gap: 16px; padding-left: 26px; }
.zrp .zrp-timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--zp-line); }
.zrp .zrp-tl { position: relative; min-width: 0; }
.zrp .zrp-tl .zrp-chip { white-space: normal; height: auto; min-height: 28px; padding: 4px 11px; line-height: 1.35; }
.zrp .zrp-tl::before { content: ""; position: absolute; left: -24px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--zp-brand); }
.zrp .zrp-tl__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.zrp .zrp-tl__head time { font-weight: 500; color: var(--zp-ink); }
.zrp .zrp-tl p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--zp-text); }
.zrp .zrp-more { margin: 6px 0 0; padding: 0; border: 0; background: none; color: var(--zp-brand); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.zrp .zrp-clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* aside */
.zrp .zrp-kv li { padding: 9px 0; border-bottom: 1px dashed var(--zp-line); }
.zrp .zrp-kv li:last-child { border-bottom: 0; padding-bottom: 0; }
.zrp .zrp-kv small { display: block; font-size: 12px; color: var(--zp-faint); }
.zrp .zrp-kv span { display: block; margin-top: 1px; font-size: 14px; line-height: 1.5; color: var(--zp-ink); overflow-wrap: anywhere; }
.zrp .zrp-cta { text-align: left; background: linear-gradient(180deg, #fff, var(--zp-brand-tint)); }
.zrp .zrp-cta h3 { font-size: 18px; margin: 0 0 4px; }
.zrp .zrp-cta p { margin: 0 0 14px; font-size: 14px; color: var(--zp-muted); }
.zrp .zrp-cta .zrp-btn { width: 100%; }
.zrp .zrp-cta .zrp-btn + .zrp-btn { margin-top: 8px; }
.zrp .zrp-help a { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--zp-ink); font-size: 14.5px; text-decoration: none; }
.zrp .zrp-help a .material-icons { font-size: 19px; color: var(--zp-brand); }
.zrp .zrp-help a:hover { color: var(--zp-brand); }
.zrp .zrp-tip { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--zp-blue-tint); border: 1px solid var(--zp-blue-line); font-size: 13.5px; line-height: 1.55; color: var(--zp-slate); }
.zrp .zrp-tip .material-icons { flex: none; color: var(--zp-blue); font-size: 22px; }
.zrp .zrp-tip a { color: var(--zp-blue); font-weight: 500; }

/* list page */
.zrp .zrp-search { display: flex; gap: 10px; margin-top: 16px; max-width: 640px; }
.zrp .zrp-search label { position: relative; flex: 1 1 auto; }
.zrp .zrp-search .material-icons { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--zp-faint); }
.zrp .zrp-search input[type=search] { box-sizing: border-box; width: 100%; height: 46px !important; margin: 0 !important; padding: 0 14px 0 44px !important; border: 1px solid var(--zp-line-strong) !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important; font-size: 15px; }
.zrp .zrp-search input[type=search]:focus { border-color: var(--zp-brand) !important; box-shadow: 0 0 0 3px rgba(207, 0, 63, .12) !important; }
.zrp .zrp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 20px; }
.zrp .zrp-pcard { position: relative; display: flex; flex-direction: column; padding: 18px; border-radius: var(--zp-radius); border: 1px solid var(--zp-line); background: #fff; box-shadow: var(--zp-shadow); text-decoration: none; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.zrp .zrp-pcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--zp-brand), #ff5c8a); }
.zrp .zrp-pcard:hover { border-color: var(--zp-line-strong); box-shadow: var(--zp-shadow-lg); transform: translateY(-2px); }
.zrp .zrp-pcard h2 { font-size: 18px; margin: 8px 0 2px; }
.zrp .zrp-pcard p { margin: 0; font-size: 14px; color: var(--zp-muted); }
.zrp .zrp-pcard dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.zrp .zrp-pcard dt { font-size: 12px; color: var(--zp-faint); }
.zrp .zrp-pcard dd { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--zp-ink); }
.zrp .zrp-pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--zp-line); font-size: 13px; }
.zrp .zrp-pcard__foot code { background: none; padding: 0; font-family: ui-monospace, Consolas, monospace; color: var(--zp-ink); font-weight: 600; }
.zrp .zrp-pcard__foot .material-icons { color: var(--zp-brand); }
.zrp .zrp-empty { margin-top: 20px; padding: 40px 20px; text-align: center; border-radius: var(--zp-radius); border: 1px dashed var(--zp-line-strong); background: #fff; color: var(--zp-muted); }
.zrp .zrp-empty .material-icons { font-size: 40px; color: var(--zp-faint); }

/* fetch (admin) */
.zrp .zrp-form { display: grid; gap: 14px; max-width: 520px; }
.zrp .zrp-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--zp-ink); }
.zrp .zrp-form input[type=number] { box-sizing: border-box; height: 46px !important; margin: 0 !important; padding: 0 14px !important; border: 1px solid var(--zp-line-strong) !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important; }
.zrp .zrp-form .zrp-checkline { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.zrp .zrp-form .zrp-checkline input { position: static !important; opacity: 1 !important; pointer-events: auto !important; width: 18px; height: 18px; }
.zrp .zrp-alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.zrp .zrp-alert--error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.zrp .zrp-alert--ok { background: var(--zp-green-tint); border: 1px solid var(--zp-green-line); color: var(--zp-green); }
.zrp .zrp-log { max-height: 260px; overflow: auto; margin: 0; padding: 12px; border-radius: 12px; background: #111827; color: #d1d5db; font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; }
.zrp .zrp-busy { display: none; align-items: center; gap: 10px; font-size: 14px; color: var(--zp-muted); }
.zrp .zrp-busy.is-on { display: flex; }
.zrp .zrp-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--zp-line-strong); border-top-color: var(--zp-brand); animation: zrp-spin .8s linear infinite; }
@keyframes zrp-spin { to { transform: rotate(360deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .zrp .zrp-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 991px) {
    .zrp .zrp-layout { grid-template-columns: minmax(0, 1fr); }
    .zrp .zrp-aside__sticky { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .zrp .zrp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zrp .zrp-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .zrp .zrp-stat b { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
    .zrp .zrp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zrp .zrp-hero__side { flex: 1 1 100%; align-items: stretch; }
    .zrp .zrp-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
    .zrp { font-size: 14.5px; }
    .zrp .zrp-wrap { padding: 0 14px; }
    .zrp .zrp-hero h1 { font-size: 25px; }
    .zrp .zrp-card { padding: 16px; }
    .zrp .zrp-h2 { font-size: 19px; }
    .zrp .zrp-stat { padding: 12px; gap: 10px; }
    .zrp .zrp-stat__icon { width: 36px; height: 36px; }
    .zrp .zrp-stat b { font-size: 15px; }
    .zrp .zrp-aside__sticky { grid-template-columns: minmax(0, 1fr); }
    .zrp .zrp-docs-key, .zrp .zrp-doclist, .zrp .zrp-checks { grid-template-columns: minmax(0, 1fr); }
    .zrp .zrp-bar__row { grid-template-columns: minmax(0, 1fr) 84px; }
    .zrp .zrp-bar__track { grid-column: 1 / -1; grid-row: 2; }
    .zrp .zrp-actions .zrp-btn { flex: 1 1 auto; }
    .zrp .zrp-tabs { top: var(--zr-header-h, 60px); }
    .zrp .zrp-approval { flex-wrap: wrap; }
    .zrp .zrp-table th, .zrp .zrp-table td { padding: 9px 8px; }
    .zrp .zrp-table th { letter-spacing: 0; }
}
@media (max-width: 480px) {
    .zrp .zrp-facts { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .zrp *, .zrp *::before, .zrp *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   v2 (7 Oct 2026): RERA details page with the connected Zricks project.
   The page root is ".zrp.zp.zs" so the project page parts (/css/zp-project.css: gallery, units, offers, lead form,
   popups, mobile bar) look exactly as on the project page; these rules fit them into the RERA layout.
   ===================================================================== */
.zrp .zrp-chip--amber { background: var(--zp-amber-tint); border-color: #fde68a; color: var(--zp-amber); }
.zrp .zrp-titlebar { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; }
.zrp .zrp-titlebar h1 { margin: 0; }
.zrp .zrp-logo { flex: none; width: 56px; height: 56px; padding: 4px; border-radius: 14px; border: 1px solid var(--zp-line); background: #fff; object-fit: contain; }
.zrp .zrp-h1-sub { display: inline-block; margin-left: 4px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--zp-line); background: var(--zp-soft); color: var(--zp-muted); font-size: 13px; font-weight: 500; letter-spacing: 0; line-height: 1.5; vertical-align: middle; white-space: nowrap; }
.zrp .zrp-meta .material-icons { font-size: 18px; }

/* price on Zricks.com */
.zrp .zrp-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; max-width: 600px; margin: 16px 0 0; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--zp-line); background: #fff; box-shadow: var(--zp-shadow); }
.zrp .zrp-price small { display: block; font-size: 12.5px; color: var(--zp-muted); }
.zrp .zrp-price b { display: block; font-size: 23px; font-weight: 600; line-height: 1.25; color: var(--zp-ink); letter-spacing: -.01em; }
.zrp .zrp-price span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--zp-text); }
.zrp .zrp-price__link { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--zp-brand-tint); color: var(--zp-brand) !important; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.zrp .zrp-price__link:hover { background: #ffe4ec; }
.zrp .zrp-price__link .material-icons { font-size: 18px; color: inherit !important; }

/* registration box: certificate look */
.zrp .zrp-regbox { position: relative; overflow: hidden; }
.zrp .zrp-regbox::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #16a34a, #4ade80); }
.zrp .zrp-regbox__top { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.zrp .zrp-regbox__top .zrp-label { margin: 0 0 3px; }
.zrp .zrp-seal { flex: none; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--zp-green-tint); border: 1px solid var(--zp-green-line); }
.zrp .zrp-seal .material-icons { font-size: 23px; color: var(--zp-green) !important; }
.zrp .zrp-valid { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; }
.zrp .zrp-valid .material-icons { font-size: 16px; color: inherit !important; }
.zrp .zrp-valid--green { color: var(--zp-green); }
.zrp .zrp-valid--amber { color: var(--zp-amber); }
.zrp .zrp-valid--red { color: #b91c1c; }
.zrp .zrp-actions .zrp-btn .material-icons { color: inherit !important; }

/* photos of the connected project (zp gallery, lower than on the project page) */
.zrp .zrp-gallery { margin: 20px 0 0; }
.zrp .zrp-gallery .zp-bento { height: 380px; }

/* section tabs: a full-width bar that stays under the site header (zr-rera.js highlights the section in view) */
.zrp .zrp-tabsbar { position: sticky; top: var(--zr-header-h, 68px); z-index: 30; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--zp-line); box-shadow: 0 8px 18px -14px rgba(17, 24, 39, .3); }
.zrp .zrp-tabsbar .zrp-tabs { position: static; margin: 0; padding: 7px 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* section headings: eyebrow + title */
.zrp .zrp-sh { margin: 0 0 16px; }
.zrp .zrp-sh .zrp-h2 { margin: 0; font-size: 22px; }
.zrp .zrp-sh .zrp-h2::before { display: none; }
.zrp .zrp-sh + .zrp-sub { margin-top: -8px; }
.zrp .zrp-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--zp-brand); }
.zrp .zrp-eyebrow .material-icons { font-size: 16px; color: inherit !important; }
.zrp .zrp-card { padding: 24px; }

/* RERA overview facts with icons */
.zrp .zrp-fact--icon { display: flex; align-items: flex-start; gap: 12px; }
.zrp .zrp-fact--icon > .material-icons { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--zp-line); background: #fff; font-size: 19px; color: var(--zp-brand) !important; }
.zrp .zrp-fact--icon > div { min-width: 0; }

/* project blocks inside RERA cards */
.zrp .zrp-about__text { margin-top: 18px; }
.zrp .zp-facts + .zrp-about__text { margin-top: 18px; }
.zrp .zp-offer, .zrp .zp-banner, .zrp .zp-ctas { margin: 0; }
.zrp .zp-units { margin-top: 4px; }

/* side column: only the "Get the best price" box, which stays in view while the page scrolls (as on the project page) */
.zrp-page .zrp-aside { align-self: stretch; }
.zrp-page .zrp-aside__sticky { top: calc(var(--zr-header-h, 68px) + 72px); }
.zrp .zrp-aside .zp-lead { padding: 22px; }

/* promoter (RERA overview) */
.zrp .zrp-promoter { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--zp-line); background: var(--zp-soft); }
.zrp .zrp-promoter__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--zp-line); background: #fff; }
.zrp .zrp-promoter__icon .material-icons { font-size: 21px; color: var(--zp-brand) !important; }
.zrp .zrp-promoter dl { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 0; }
.zrp .zrp-promoter dl > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
.zrp .zrp-promoter dt { font-size: 12.5px; color: var(--zp-muted); }
.zrp .zrp-promoter dd { margin: 1px 0 0; font-size: 14.5px; font-weight: 500; color: var(--zp-ink); overflow-wrap: anywhere; }
.zrp .zrp-tip--inline { margin-top: 16px; }
.zrp .zrp-reracard .zrp-side-title { display: flex; align-items: center; gap: 6px; color: var(--zp-green); }
.zrp .zrp-reracard .zrp-side-title .material-icons { font-size: 18px; color: inherit !important; }
.zrp .zrp-btn--block { width: 100%; margin-top: 14px; }
.zrp .zrp-btn--outline .material-icons { color: inherit !important; }

@media (max-width: 991px) {
    /* phones / tablets: the lead form sits in the page (after the overview) and the bottom bar has Call / WhatsApp / Enquire */
    .zrp-page .zrp-aside { display: none; }
    .zrp .zrp-gallery .zp-bento { height: 320px; }
}
@media (max-width: 767px) {
    .zrp .zrp-gallery { margin: 16px -14px 0; }
    .zrp .zrp-gallery .zp-bento { height: auto; }
    .zrp .zrp-hero__side { order: 2; }
    .zrp .zrp-price b { font-size: 20px; }
    .zrp .zrp-price__link { width: 100%; justify-content: center; }
    .zrp .zrp-h1-sub { margin: 6px 0 0; }
    .zrp .zrp-titlebar { align-items: flex-start; }
    .zrp .zrp-logo { width: 48px; height: 48px; }
    .zrp .zrp-sh .zrp-h2 { font-size: 19px; }
    .zrp .zrp-card { padding: 16px; }
    .zrp .zrp-fact--icon > .material-icons { width: 32px; height: 32px; font-size: 17px; }
    .zrp .zrp-promoter dl { grid-template-columns: minmax(0, 1fr); }
}

/* ======================================================================================================
   v3 polish (8 Oct 2026): spec sheet instead of boxes, facilities with cost, approvals as one list,
   % on the bars, tabs that fade where more are hidden, no half-cut ids
   ====================================================================================================== */
.zrp .zrp-nowrap { white-space: nowrap; }
.zrp .zrp-h3__aside { margin-left: 8px; font-size: 14px; font-weight: 400; color: var(--zp-muted); }

/* key / value sheet (RERA overview, specifications) */
.zrp dl.zrp-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--zp-line); }
.zrp .zrp-spec > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--zp-line); }
.zrp .zrp-spec dt { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; max-width: 60%; min-height: 22px; margin: 0; font-size: 14px; line-height: 22px; font-weight: 400; color: var(--zp-muted); }
.zrp .zrp-spec dt .material-icons { flex: none; width: 18px; overflow: hidden; font-size: 18px; color: var(--zp-faint) !important; }
.zrp .zrp-spec dd { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 14.5px; line-height: 22px; font-weight: 500; color: var(--zp-ink); text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

/* bars: the whole name, value + share */
.zrp .zrp-bar__row { grid-template-columns: minmax(0, 240px) minmax(0, 1fr) 150px; }
.zrp .zrp-bar__name { white-space: normal; overflow: visible; line-height: 1.35; }
.zrp .zrp-bar__val small { display: inline-block; min-width: 44px; margin-left: 8px; font-size: 12.5px; font-weight: 400; color: var(--zp-muted); text-align: right; }

/* facilities: icon + name + estimated cost, all cards the same */
.zrp .zrp-fac { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.zrp .zrp-fac li { display: flex; align-items: flex-start; gap: 12px; min-height: 74px; padding: 14px; border-radius: 12px; border: 1px solid var(--zp-line); background: #fff; transition: border-color .15s, box-shadow .15s; }
.zrp .zrp-fac li:hover { border-color: var(--zp-line-strong); box-shadow: 0 6px 16px -12px rgba(17, 24, 39, .35); }
.zrp .zrp-fac__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--zp-brand-tint); overflow: hidden; }
.zrp .zrp-fac__icon .material-icons { width: 1em; overflow: hidden; font-size: 21px; color: var(--zp-brand) !important; }
.zrp .zrp-fac__text { min-width: 0; padding-top: 1px; }
.zrp .zrp-fac__text b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14.5px; font-weight: 500; line-height: 1.35; color: var(--zp-ink); }
.zrp .zrp-fac__text small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--zp-muted); font-variant-numeric: tabular-nums; }
.zrp .zrp-fac-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13.5px; color: var(--zp-slate); }
.zrp .zrp-fac-more b { margin-right: 4px; font-weight: 500; color: var(--zp-ink); }
.zrp .zrp-fac-more span { padding: 4px 11px; border-radius: 10px; border: 1px solid var(--zp-line); background: var(--zp-soft); line-height: 1.4; }
.zrp .zrp-fac-more--off span { border-style: dashed; background: #fff; color: var(--zp-muted); }
.zrp .zrp-checks li { flex-wrap: wrap; }
.zrp .zrp-agency { padding: 1px 8px; border-radius: 999px; background: var(--zp-soft); border: 1px solid var(--zp-line); font-size: 12px; color: var(--zp-muted); }

/* approvals: one list, status chip, date column */
.zrp .zrp-alist { margin: 0; padding: 0; list-style: none; border: 1px solid var(--zp-line); border-radius: 12px; overflow: hidden; background: #fff; }
.zrp .zrp-alist li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 104px; align-items: center; gap: 14px; padding: 13px 16px; }
.zrp .zrp-alist li + li { border-top: 1px solid var(--zp-line); }
.zrp .zrp-alist li > .material-icons { font-size: 21px; color: var(--zp-green) !important; }
.zrp .zrp-alist li.is-pending > .material-icons { color: var(--zp-amber) !important; }
.zrp .zrp-alist b { font-size: 14.5px; font-weight: 500; color: var(--zp-ink); }
.zrp .zrp-alist .zrp-chip { margin: 0; }
.zrp .zrp-alist time { text-align: right; font-size: 13.5px; color: var(--zp-slate); font-variant-numeric: tabular-nums; }
.zrp .zrp-licence { border-radius: 12px; }

/* tabs: fade where more are hidden */
.zrp .zrp-tabs.has-more-right { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.zrp .zrp-tabs.has-more-left { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
.zrp .zrp-tabs.has-more-left.has-more-right { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }

/* gallery: the "+4 photos" tile already opens the viewer - no second "View all" pill on top of it (phones keep the pill) */
@media (min-width: 768px) {
    .zrp .zrp-gallery:has(.zp-bento__more) .zp-gallery__all { display: none; }
}

@media (max-width: 760px) {
    .zrp dl.zrp-spec { grid-template-columns: minmax(0, 1fr); }
    .zrp .zrp-bar__row { grid-template-columns: minmax(0, 1fr) auto; }
    .zrp .zrp-alist li { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 6px 12px; }
    .zrp .zrp-alist time { grid-column: 2 / -1; text-align: left; font-size: 12.5px; color: var(--zp-muted); }
    .zrp .zrp-fac { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .zrp .zrp-fac li { flex-direction: column; gap: 10px; min-height: 0; padding: 12px; }
}

/* 9 Oct: no Copy button next to the registration number; side column = lead box, then the offer card that stays in view */
.zrp .zrp-num { padding: 10px 14px; }
.zrp .zrp-aside__top { margin: 0 0 16px; }
.zrp .zrp-aside__top .zp-mini { margin-top: 12px; }

