/* Florus Residences hub: the few styles that are specific to this project. Everything else comes from /shared/hub.css. */
.brand-t{font-family:var(--display);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);line-height:1.2;display:block;white-space:nowrap}
/* same hero title size as Paradise View 1, on one line at desktop width (the text column is a little wider for the longer name) */
@media (min-width:1200px){.hero{grid-template-columns:minmax(0,1.2fr) minmax(0,1.12fr)}.hero h1{white-space:nowrap}}
.hero-img{position:relative}
.sold-badge{position:absolute;top:14px;left:14px;padding:8px 14px;border-radius:999px;background:#E7B988;color:#14204B;font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;z-index:2}
.sold-badge:empty{display:none}
.inv-msg{display:flex;flex-direction:column;gap:12px;align-items:flex-start;padding:22px;border:1px dashed var(--line);border-radius:14px;background:var(--surface)}
.inv-msg[hidden]{display:none}
.inv-msg p{margin:0;max-width:60ch}
.inv-msg .row{display:flex;flex-wrap:wrap;gap:10px}
.fl-row small.v{display:block;margin-top:2px}
.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.plan-na{padding:14px;border:1px dashed var(--line);border-radius:10px;margin-bottom:12px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.plan-na b{font-weight:600}
.unit-table th.r button,.unit-table th button{white-space:nowrap}
@media (max-width:700px){.brand-t{font-size:9.5px}}

/* ---------- interactive floor plate (colours here, so light and dark both work; the SVG's own style block is dropped when it is loaded) ---------- */
:root{--fp-bg:#f7f9fc;--fp-common:#e3e8f1;--fp-common-line:#b7c0d3;--fp-off:#eef1f7;--fp-off-line:#b3bdd2;--fp-txt:#142040;--fp-av:rgba(31,138,91,.30);--fp-av-hi:rgba(31,138,91,.52);--fp-av-line:#1d7a52;--fp-rs:rgba(159,102,45,.13);--fp-rs-line:#9f662d;--fp-act:rgba(159,102,45,.55);--fp-act-line:#7d4f20;--fp-north:#7b869e}
:root[data-theme="dark"]{--fp-bg:#0f1730;--fp-common:#18213f;--fp-common-line:#34406b;--fp-off:#141c37;--fp-off-line:#3a4676;--fp-txt:#e9edf8;--fp-av:rgba(76,199,144,.26);--fp-av-hi:rgba(76,199,144,.46);--fp-av-line:#4cc790;--fp-rs:rgba(220,165,102,.12);--fp-rs-line:#dca566;--fp-act:rgba(220,165,102,.5);--fp-act-line:#dca566;--fp-north:#8d9bc2}
.fp-wrap{background:var(--fp-bg);border:1px solid var(--line);border-radius:10px;padding:8px;min-height:120px}
.fp-wrap>.hint{margin:10px}
.fp-svg{display:block;width:100%;height:auto;max-height:min(74vh,700px);margin-inline:auto;overflow:visible;-webkit-tap-highlight-color:transparent}
.fp-svg .common{fill:var(--fp-common);stroke:var(--fp-common-line);stroke-width:2;stroke-linejoin:round;pointer-events:none}
.fp-svg .unit{fill:var(--fp-off);stroke:var(--fp-off-line);stroke-width:2;stroke-linejoin:round;pointer-events:none;outline:none;transition:fill .15s}
.fp-svg .unit.is-avail{fill:var(--fp-av);stroke:var(--fp-av-line);stroke-width:3;pointer-events:auto;cursor:pointer}
.fp-svg .unit.is-reserved{fill:var(--fp-rs);stroke:var(--fp-rs-line);stroke-width:2.5;stroke-dasharray:9 7}
.fp-svg .unit.is-dim{opacity:.4}
.fp-svg .unit.is-active{fill:var(--fp-act);stroke:var(--fp-act-line);stroke-width:5;opacity:1}
@media (hover:hover) and (pointer:fine){.fp-svg .unit.is-avail:hover{fill:var(--fp-av-hi)}.fp-svg .unit.is-active:hover{fill:var(--fp-act)}}
.fp-svg .unit.is-avail:focus-visible{stroke:var(--ink);stroke-width:6}
.fp-svg .label{font-family:var(--body);font-weight:700;fill:var(--fp-txt);text-anchor:middle;dominant-baseline:central;pointer-events:none;opacity:.5}
.fp-svg .unit.is-avail+.label,.fp-svg .unit.is-active+.label{opacity:1}
.fp-svg .unit.is-reserved+.label{opacity:.75}
.fp-svg .unit.is-dim+.label{opacity:.4}
.fp-svg .north{fill:none;stroke:var(--fp-north);stroke-width:2.5}
.fp-svg .north-txt{font-family:var(--body);font-weight:700;font-size:26px;fill:var(--fp-north);text-anchor:middle;dominant-baseline:central}
.fp-svg g path[fill]{fill:var(--fp-north)}
.fp-legend{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none;margin:12px 2px 4px;padding:0;font-size:13px;color:var(--muted)}
.fp-legend li{display:flex;align-items:center;gap:7px}
.fp-legend .k{width:16px;height:16px;border-radius:4px;border:2px solid;display:inline-block}
.fp-legend .k.av{background:var(--fp-av);border-color:var(--fp-av-line)}
.fp-legend .k.rs{background:var(--fp-rs);border:2px dashed var(--fp-rs-line)}
.fp-legend .k.off{background:var(--fp-off);border-color:var(--fp-off-line)}

/* Available units table: fits its card from tablet width up with no sideways scroll.
   Numbers stay on one line; the View and Type columns (and long headings) wrap instead. Below 768px it scrolls sideways, as on the PV1 hub. */
th button br.hb{display:none}
@media (min-width:768px){
  .unit-table{min-width:0;table-layout:auto;font-size:13.5px}
  .unit-table th,.unit-table td{padding:10px 6px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
  .unit-table th{font-size:10px;letter-spacing:.03em;line-height:1.25;overflow-wrap:normal}
  .unit-table td.num,.unit-table td:first-child{white-space:nowrap;overflow-wrap:normal}
  .unit-table th:first-child,.unit-table td:first-child{padding-left:12px}
  .unit-table th:last-child,.unit-table td:last-child{padding-right:12px}
  .unit-table th.r button{text-align:right}
  .unit-table th button br.hb{display:inline}
  .unit-table th button{display:block;width:100%;white-space:normal;text-align:inherit;line-height:inherit}
  .unit-table td:nth-child(3){white-space:nowrap}
  .unit-table td:nth-child(4){line-height:1.35;overflow-wrap:break-word}
}
@media (min-width:1100px){
  .unit-table{font-size:14px}
  .unit-table th,.unit-table td{padding:11px 10px}
  .unit-table th{font-size:11px;letter-spacing:.07em}
  .unit-table th:first-child,.unit-table td:first-child{padding-left:16px}
  .unit-table th:last-child,.unit-table td:last-child{padding-right:16px}
}
