:root {
  --canvas: #d9d8d5;
  --frame: #eeedea;
  --card: #fbfbf9;
  --well: #f3f2ef;
  --ink: #161616;
  --ink-2: #2b2b2a;
  --soft: #73716c;
  --faint: #a19f99;
  --line: rgb(22 22 22 / .07);
  --line-2: rgb(22 22 22 / .12);
  --sand: #e7b588;
  --sand-pale: #f8e7d5;
  --sand-ink: #85521f;
  --ok: #4f9a49;
  --ok-pale: #dff0d8;
  --ok-ink: #2c6528;
  --hatch: #d4d1cb;
  --rust: #b14d32;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --sh-card: 0 1px 0 rgb(255 255 255 / .9) inset, 0 1px 2px rgb(22 22 22 / .04), 0 10px 30px -18px rgb(22 22 22 / .18);
  --sh-float: 0 2px 6px rgb(22 22 22 / .06), 0 28px 60px -24px rgb(22 22 22 / .32);
  --r-frame: 34px;
  --r-card: 24px;
  --r-in: 14px;
}
* { box-sizing: border-box; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "Instrument Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums; line-height: 1.5; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5rem; text-wrap: balance; letter-spacing: -0.015em; font-weight: 560; }
h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); letter-spacing: -0.03em; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.02rem; font-weight: 540; letter-spacing: -0.01em; }
p { margin: 0 0 .75rem; max-width: 64ch; text-wrap: pretty; }
small { display: block; color: var(--soft); font-size: .8rem; line-height: 1.35; font-weight: 400; letter-spacing: 0; }
.fine { font-size: .8rem; color: var(--soft); }
.num { font-variant-numeric: tabular-nums; }
.pad { color: var(--soft); font-size: .92rem; }

/* ---------- the app frame ---------- */
.frame { max-width: 1320px; margin: 20px auto 0; background: var(--frame); border-radius: var(--r-frame); box-shadow: 0 1px 0 rgb(255 255 255 / .7) inset, 0 40px 80px -40px rgb(22 22 22 / .35), 0 0 0 1px rgb(255 255 255 / .5); padding: 18px 22px 30px; }
.top { position: sticky; top: 10px; z-index: 30; background: rgb(238 237 234 / .82); backdrop-filter: blur(14px) saturate(140%); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 6px; margin: -6px -6px 18px; border-radius: 999px; transition: background-color .2s ease; }
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 560; font-size: 1.12rem; letter-spacing: -0.02em; }
.lm { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--card); box-shadow: var(--sh-card); }
.lm svg { width: 20px; height: 20px; }
.pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pills a { position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .62rem 1.05rem; border-radius: 999px; background: rgb(255 255 255 / .55); color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.pills a:hover { background: var(--card); }
.pills a[aria-current] { background: var(--ink); color: #fff; }
.dot { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 2px var(--frame); }
.tools { position: relative; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.circ { position: relative; display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); cursor: pointer; text-decoration: none; box-shadow: var(--sh-card); transition: transform .16s var(--ease-out), background-color .15s ease, color .15s ease; }
.circ svg { width: 18px; height: 18px; }
.circ:hover { background: var(--ink); color: #fff; }
.circ:active, .btn:active, .shot:active, .link:active, .pills a:active { transform: scale(0.96); }
.circ .dot { top: 8px; right: 9px; box-shadow: 0 0 0 2px var(--card); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(140deg, #3a3a38, #161616); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.npanel { position: absolute; top: 52px; right: 0; width: min(360px, 86vw); background: var(--card); border-radius: 20px; padding: 1rem; box-shadow: var(--sh-float); animation: pop .22s var(--ease-out) both; transform-origin: top right; z-index: 40; }
.npanel > b { display: block; font-weight: 560; margin-bottom: .5rem; }
.npanel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.npanel a { display: block; padding: .6rem .7rem; border-radius: 12px; text-decoration: none; font-size: .88rem; background: var(--well); }
.npanel a:hover { background: var(--sand-pale); }
.nseat { display: block; font-size: .74rem; color: var(--soft); }
.npanel p { color: var(--soft); font-size: .88rem; margin: 0; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
main { min-height: 60vh; }
footer { max-width: 1320px; margin: 0 auto; padding: 18px 34px 34px; font-size: .78rem; color: #6e6c67; }

/* ---------- shared pieces ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; grid-column: span 12; background: var(--card); border-radius: var(--r-card); padding: 1.15rem 1.25rem 1.25rem; box-shadow: var(--sh-card); min-width: 0; }
.full { grid-column: 1 / -1; }
.ch { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; min-height: 42px; }
.ch h3 { margin: 0; flex: 1; }
.ch .circ { width: 38px; height: 38px; box-shadow: none; background: var(--well); }
.ch .circ:hover { background: var(--ink); }
.lab { display: block; font-size: .85rem; color: var(--soft); margin-bottom: .1rem; }
.fig { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 420; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 .7rem; }
.fig.sm { font-size: 1.6rem; }
.fig small, .pfig small { display: inline; font-size: .45em; letter-spacing: 0; color: var(--soft); font-weight: 450; }
.cur { color: var(--faint); font-weight: 400; margin-right: .08em; font-size: .78em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: .78rem 1.3rem; font: inherit; font-weight: 520; font-size: .95rem; cursor: pointer; text-decoration: none; transition: background-color .15s ease, transform .16s var(--ease-out); }
.btn:hover { background: #333; }
.btn[disabled] { background: var(--hatch); color: var(--soft); cursor: not-allowed; }
.btn.sm { padding: .48rem .9rem; font-size: .85rem; }
.btn.quiet { background: var(--well); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.quiet:hover { background: var(--ink); color: #fff; }
.btn.wide { width: 100%; margin-top: .5rem; }
.link { background: none; border: 0; padding: .3rem 0; color: var(--ink); font: inherit; font-weight: 520; font-size: .88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pill { display: inline-flex; align-items: center; font-size: .76rem; font-weight: 520; padding: .28rem .7rem; border-radius: 999px; background: var(--well); color: var(--ink-2); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); }
.pill.ok { background: var(--ok-pale); color: var(--ok-ink); box-shadow: none; }
.pill.sand { background: var(--sand-pale); color: var(--sand-ink); box-shadow: none; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.seatname { font-size: .88rem; font-weight: 520; color: var(--soft); margin-bottom: .5rem; }
.hbar { display: flex; gap: 4px; height: 16px; margin: .2rem 0 .35rem; }
.hbar span { border-radius: 999px; min-width: 0; }
.hbar .ink { background: var(--ink); }
.hbar .sand { background: var(--sand); }
.hbar .rest { background: repeating-linear-gradient(-55deg, var(--hatch) 0 2px, transparent 2px 6px); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 38px; }
.bars i { width: 3px; height: calc(var(--h) * 100%); min-height: 6px; background: var(--hatch); border-radius: 1px; }
.bars i.hi { background: var(--ink); }
.av { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--t); font-size: .74rem; font-weight: 600; color: #3a3833; }
.who { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.who > span:last-child { min-width: 0; }

/* ---------- the isometric tower ---------- */
.tower3d { margin: 0; }
.tower3d svg { display: block; width: 100%; height: auto; }
.tower3d .plot { fill: #e4e2dd; stroke: rgb(22 22 22 / .06); }
.tower3d .plotL { fill: #cfccc6; } .tower3d .plotR { fill: #bfbcb5; }
.tower3d .fL { fill: #ecebe7; } .tower3d .fR { fill: #d3d1cc; }
.tower3d .bandL { fill: #c9c7c1; } .tower3d .bandR { fill: #b5b3ad; }
.tower3d .glass { stroke: rgb(255 255 255 / .35); stroke-width: .5; }
.tower3d .glass.r { opacity: .8; }
.tower3d .top { fill: #f6f5f2; stroke: #c9c7c1; stroke-width: .6; }
.tower3d .topW { fill: #f3dcc3; stroke: #e1a970; stroke-width: .6; }
.tower3d .net { opacity: .85; }
.tower3d .rebar { stroke: #8a5a3c; stroke-width: 1; }
.tower3d .ghost { fill: none; stroke: rgb(22 22 22 / .2); stroke-width: .8; stroke-dasharray: 3 3; }
.tower3d .crane { fill: none; stroke: #c9822f; stroke-width: 1.3; stroke-linecap: round; }
.tower3d .cw { fill: #8b5a23; }
.tower3d .cable { stroke: #6f6c66; stroke-width: .8; fill: none; }
.tower3d .block { fill: var(--sand); stroke: #8b5a23; stroke-width: .6; }
.tower3d .hoardL { fill: var(--ink); } .tower3d .hoardR { fill: #33332f; }
.tower3d .hoardtext { font-size: 6.4px; fill: #fff; font-weight: 600; letter-spacing: .02em; }
.tower3d .markL { fill: var(--sand); opacity: .9; } .tower3d .markR { fill: #d49a63; opacity: .9; }
.tower3d .leader { stroke: var(--ink); stroke-width: 1; fill: none; }
.tower3d .mdot { fill: var(--ink); }
.tower3d .mpill { fill: var(--ink); }
.tower3d .mtext { fill: #fff; font-size: 11px; font-weight: 520; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; margin-top: .4rem; font-size: .76rem; color: var(--soft); }
.legend .k { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .4rem; vertical-align: -1px; }
.k.built { background: #d3d1cc; box-shadow: inset 0 -3px 0 #b5b3ad; } .k.wait { background: var(--sand); } .k.plan { border: 1px dashed var(--faint); }
/* the tower builds itself floor by floor on the overview */
.tower3d.intro .fl { animation: rise .6s var(--ease-out) calc(150ms + var(--f) * 45ms) both; }
.tower3d.intro .ghost, .tower3d.intro .hook { animation: fade .6s ease calc(150ms + 22 * 45ms) both; }
.tower3d .fl.pour { animation: drop .8s var(--ease-io) .1s both; }
.tower3d.moving .hook { animation: hook .8s var(--ease-io) both; }
.tower3d .fl.cure .fL, .tower3d .fl.cure .fR { animation: cure .8s ease .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes hook { from { transform: translateY(var(--dy)); } to { transform: none; } }
@keyframes cure { from { fill: var(--sand); } }

/* ---------- map ---------- */
.map { display: block; width: 100%; height: auto; border-radius: var(--r-in); }
.map .mbg { fill: #e3e2de; }
.map .blocks rect { fill: #efeeea; }
.map .airport { fill: #d9d8d3; }
.map .road { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; }
.map .road.wide { stroke-width: 12; stroke: #f6ead9; }
.map .rail { fill: none; stroke: #8f8c85; stroke-width: 4; }
.map .rail.ties { stroke: #e3e2de; stroke-width: 2; stroke-dasharray: 2 6; }
.map .mlab { font-size: 9.5px; fill: #8a8781; font-weight: 500; }
.map .mlab.dark { fill: var(--ink); }
.map .stn { fill: #fff; }
.map .ring1 { fill: none; stroke: rgb(22 22 22 / .18); stroke-dasharray: 3 4; }
.map .home { fill: var(--ink); stroke: #fff; stroke-width: 1.4; }
.map .site { fill: var(--ink); stroke: #fff; stroke-width: 3; }
.map .bubble rect { fill: var(--ink); } .map .bubble text { fill: #fff; font-size: 11px; font-weight: 520; }
.map .bubble.light rect { fill: #fff; } .map .bubble.light text { fill: var(--ink); }

/* ---------- overview ---------- */
.overview .hero { grid-column: 1 / 8; padding: 1.4rem .4rem .6rem; }
.overview .render { grid-column: 8 / 13; grid-row: 1 / 3; align-self: end; padding: 0 .5rem; }
.overview .render .tower3d svg { width: auto; max-width: 100%; max-height: 560px; margin: 0 auto; }
.overview > .stat { align-self: end; }
.overview > .stat:nth-child(3) { grid-column: 1 / 5; }
.overview > .stat:nth-child(4) { grid-column: 5 / 8; }
.overview .story { grid-column: 1 / 8; }
.overview .mapcard { grid-column: 8 / 13; }
.kicker { color: var(--soft); font-size: .95rem; margin-bottom: .6rem; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: .98; margin-bottom: 1rem; letter-spacing: -0.045em; font-weight: 520; }
.hero .sub { font-size: 1.05rem; color: #4b4945; max-width: 46ch; margin-bottom: 2rem; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.duo > div { padding-left: 1rem; box-shadow: inset 1px 0 0 var(--line-2); }
.duo small { margin-top: .2rem; }
.stat .sfoot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; color: var(--soft); font-size: .86rem; }
.stat .fig { margin-top: 1.4rem; }
.rail { list-style: none; padding: 0; margin: 0; }
.rail li { display: flex; align-items: center; gap: .85rem; padding: .5rem .5rem .5rem .55rem; border-radius: 16px; transition: background-color .15s ease; }
.rail li:hover { background: var(--well); }
.rail li.next { background: var(--well); box-shadow: inset 0 0 0 1px var(--line); }
.rt { flex: 1; text-decoration: none; font-weight: 480; font-size: .96rem; }
.rail li.done .rt { color: var(--soft); }
.rn { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--well); font-size: .8rem; font-weight: 560; color: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.rn svg { width: 14px; height: 14px; }
.rail li.done .rn { background: var(--ink); color: #fff; box-shadow: none; }
.rail li.next .rn { background: var(--sand); color: var(--ink); box-shadow: none; }
.rail .circ { width: 34px; height: 34px; box-shadow: none; background: transparent; }
.rail .circ svg { width: 15px; height: 15px; }
.rail li:hover .circ, .rail li.next .circ { background: var(--ink); color: #fff; }
.home .hero { animation: rise .7s var(--ease-out) both; }

/* ---------- photos ---------- */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: .6rem 0 .9rem; }
.shots.strip { grid-template-columns: repeat(4, 1fr); }
.shot { position: relative; display: block; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #d2d1cd; cursor: zoom-in; outline: 1px solid rgb(0 0 0 / .08); outline-offset: -1px; transition: transform .16s var(--ease-out); }
.shot svg { display: block; width: 100%; height: auto; }
.shot.taken { cursor: default; }
.shot.flash::after { content: ""; position: absolute; inset: 0; background: #fff; animation: flash .45s ease-out both; }
.shot.flash svg { animation: develop .6s var(--ease-out) both; }
@keyframes flash { from { opacity: .95; } to { opacity: 0; } }
@keyframes develop { from { transform: scale(1.04); filter: saturate(.3) brightness(1.2); } to { transform: none; filter: none; } }
.shot.take { cursor: pointer; display: grid; place-items: center; align-content: center; gap: .3rem; aspect-ratio: 320 / 210; background: var(--card); outline: none; border: 1.5px dashed var(--hatch); color: var(--ink); font: inherit; font-size: .8rem; font-weight: 520; text-align: center; padding: .5rem; transition: background-color .15s ease, border-color .15s ease, transform .16s var(--ease-out); }
.shot.take svg { width: 24px; height: 24px; }
.shot.take:hover { background: var(--sand-pale); border-color: var(--sand); }

/* ---------- phones ---------- */
.phonewrap { display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 4rem; align-items: start; padding: .5rem 1rem; }
.device { background: #1b1b1a; border-radius: 52px; padding: 10px; box-shadow: inset 0 0 0 1.5px #4a4a47, inset 0 0 0 4px #1b1b1a, inset 0 0 0 5px #3a3a37, var(--sh-float); }
.screen { position: relative; background: var(--frame); border-radius: 42px; overflow: hidden; height: 790px; display: flex; flex-direction: column; }
.sbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 30px 4px; font-size: .82rem; font-weight: 600; }
.sb-icons { display: flex; gap: 6px; align-items: center; }
.sb-icons svg { height: 11px; width: auto; fill: currentColor; }
.appbar { padding: .6rem 1.2rem .8rem; }
.appbar small { margin-bottom: .1rem; }
.appbar b { display: block; font-size: 1.35rem; font-weight: 560; letter-spacing: -0.02em; line-height: 1.15; }
.pbody { flex: 1; overflow-y: auto; padding: .2rem .85rem 6rem; scrollbar-width: none; }
.ptabs { position: absolute; left: 14px; right: 14px; bottom: 18px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 5px; background: rgb(251 251 249 / .88); backdrop-filter: blur(16px); border-radius: 999px; box-shadow: var(--sh-float); }
.ptabs a { text-align: center; padding: .6rem 0; border-radius: 999px; text-decoration: none; color: var(--soft); font-size: .82rem; font-weight: 520; transition: background-color .2s var(--ease-out), color .2s ease; }
.ptabs a[aria-current] { background: var(--ink); color: #fff; }
.pbanner { position: absolute; z-index: 5; top: 44px; left: 10px; right: 10px; display: flex; gap: .7rem; align-items: flex-start; background: rgb(251 251 249 / .9); backdrop-filter: blur(18px); border-radius: 22px; padding: .8rem .9rem; box-shadow: var(--sh-float); font-size: .84rem; line-height: 1.35; animation: bannerIn .5s var(--ease-drawer) .35s both, bannerOut .3s ease-out 5.5s forwards; }
.pbanner b { display: block; font-size: .76rem; color: var(--soft); font-weight: 520; }
.appic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; }
.appic svg { width: 18px; height: 18px; }
@keyframes bannerIn { from { transform: translateY(-140%); } to { transform: none; } }
@keyframes bannerOut { to { transform: translateY(-8px); opacity: 0; visibility: hidden; } }
.note { padding-top: 4rem; max-width: 44ch; }
.note h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 520; letter-spacing: -0.035em; margin-bottom: 1.1rem; }
.note p { color: #4b4945; font-size: 1.04rem; }
.asidetower { margin-top: 1.6rem; max-width: 420px; background: var(--card); border-radius: var(--r-card); padding: 1rem .8rem .8rem; box-shadow: var(--sh-card); }
.pcard { background: var(--card); border-radius: 22px; padding: 1rem 1.05rem; margin-bottom: 8px; box-shadow: var(--sh-card); }
.pcard p, .pp { font-size: .88rem; margin-bottom: .4rem; color: #4b4945; }
.pcard.attn { box-shadow: inset 0 0 0 1.5px var(--sand), var(--sh-card); }
.pcard.tw { padding: .6rem .4rem; }
.cl { display: block; font-size: .8rem; font-weight: 500; color: var(--soft); margin-bottom: .35rem; }
.pfig, .pcard .pfig { font-size: 1.9rem; font-weight: 430; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 .35rem; color: var(--ink) !important; }
.pfig.big, .pcard .pfig.big { font-size: 2.3rem; }
.pfig em { font-style: normal; font-size: .95rem; letter-spacing: 0; color: var(--soft); font-weight: 450; }
.flatno { display: flex; align-items: center; gap: 1rem; margin: .1rem 0 .6rem; }
.flatno b { font-size: 3.3rem; line-height: 1; font-weight: 440; letter-spacing: -0.05em; }
.flatno span { font-size: .85rem; color: var(--soft); line-height: 1.4; padding-left: 1rem; box-shadow: inset 1px 0 0 var(--line-2); }
.more { font-size: .88rem; font-weight: 520; }
.mstrip { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; margin-top: .7rem; }
.mstrip .m { height: 22px; border-radius: 5px; }
.m.paid { background: var(--ink); } .m.due { background: repeating-linear-gradient(-55deg, var(--sand) 0 2px, var(--sand-pale) 2px 5px); }
.mlabels { display: flex; justify-content: space-between; font-size: .72rem; color: var(--soft); margin-top: .3rem; }
.askrow { display: flex; gap: .4rem; }
.askrow input { flex: 1; min-width: 0; padding: .6rem .9rem; font: inherit; font-size: .9rem; border: 0; border-radius: 999px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); }
.askrow input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.calc { width: 100%; border-collapse: collapse; font-size: .85rem; margin: .4rem 0 .6rem; }
.calc td { padding: .4rem 0; border-bottom: 1px solid var(--line); }
.calc tr.total td { font-weight: 600; border-bottom: 0; border-top: 1.5px solid var(--ink); padding-top: .55rem; }
.okcard { display: grid; grid-template-columns: auto 1fr; gap: 0 .8rem; align-items: start; }
.okcard > *:not(.tickc) { grid-column: 2; }
.tickc { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; }
.tickc svg { width: 22px; height: 22px; }
.okcard.pop .tickc { animation: tick .45s var(--ease-out) both; }
.okcard.pop .tickc path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw .4s var(--ease-out) .2s forwards; }
@keyframes tick { from { transform: scale(.25); opacity: 0; filter: blur(3px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.passbook { width: 100%; border-collapse: collapse; font-size: .8rem; margin: .5rem 0 1rem; background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-card); }
.passbook th { text-align: left; font-weight: 500; font-size: .72rem; color: var(--soft); padding: .65rem .55rem; }
.passbook td { padding: .5rem .55rem; border-top: 1px solid var(--line); }
.passbook tr.due td { background: var(--sand-pale); font-weight: 560; }
.passbook tr.new td { background: var(--ok-pale); font-weight: 560; }
.parts { list-style: none; padding: 0; margin: 0; }
.parts li { display: grid; grid-template-columns: 3rem 1fr auto; gap: .5rem; align-items: center; background: var(--card); border-radius: 16px; padding: .7rem .85rem; margin-bottom: 6px; font-size: .84rem; box-shadow: var(--sh-card); }
.parts li b { font-weight: 560; } .parts li em { font-style: normal; font-weight: 520; }
.parts li:not(.ok) { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.stepper { list-style: none; padding: 0; margin: 1rem 0; position: relative; }
.stepper::before { content: ""; position: absolute; left: 12px; top: 14px; bottom: 14px; width: 2px; background: var(--hatch); }
.stepper li { position: relative; display: grid; grid-template-columns: 26px 1fr auto; gap: .75rem; align-items: center; padding: .5rem 0; font-size: .86rem; }
.stepper li b { font-weight: 520; }
.stepper li em { font-style: normal; font-weight: 520; }
.dotc { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--hatch); color: #fff; z-index: 1; }
.dotc svg { width: 13px; height: 13px; }
.stepper li.paid .dotc, .checks li.done .dotc { background: var(--ink); box-shadow: none; }
.stepper li.due .dotc { background: var(--sand); box-shadow: 0 0 0 5px var(--sand-pale); }
.docs { list-style: none; padding: 0; margin: 0 0 .75rem; }
.docs li { display: flex; gap: .8rem; align-items: center; background: var(--card); border-radius: 18px; padding: .8rem .9rem; margin-bottom: 6px; box-shadow: var(--sh-card); }
.docs svg { width: 22px; height: 22px; flex: none; color: var(--soft); }
.docs b { font-size: .88rem; font-weight: 520; }

/* site engineer */
.sitehead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--card); border-radius: 22px; padding: .9rem 1rem; box-shadow: var(--sh-card); margin-bottom: .9rem; }
.sitehead b { display: block; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; }
.sitehead span { font-size: .8rem; color: var(--soft); }
.meter { --p: 0; position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(var(--ink) calc(var(--p) * 360deg), var(--hatch) 0); display: grid; place-items: center; }
.meter::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--card); }
.meter span { position: relative; font-size: .72rem; font-weight: 600; color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0 0 .6rem; }
legend { font-size: .8rem; font-weight: 500; color: var(--soft); margin-bottom: .35rem; padding-left: .3rem; }
.check { display: flex; gap: .75rem; align-items: center; background: var(--card); border-radius: 18px; padding: .8rem .9rem; margin-bottom: 6px; font-size: .92rem; font-weight: 500; cursor: pointer; box-shadow: var(--sh-card); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--faint); color: #fff; transition: background-color .15s ease, box-shadow .15s ease; }
.check .box svg { width: 14px; height: 14px; opacity: 0; transform: scale(.25); filter: blur(4px); transition: opacity .2s cubic-bezier(0.2, 0, 0, 1), transform .2s cubic-bezier(0.2, 0, 0, 1), filter .2s cubic-bezier(0.2, 0, 0, 1); }
.check input:checked + .box { background: var(--ink); box-shadow: none; }
.check input:checked + .box svg { opacity: 1; transform: none; filter: none; }
.check:has(input:focus-visible) { outline: 2.5px solid var(--ink); }
.state { display: flex; gap: .8rem; align-items: center; border-radius: 22px; padding: .9rem 1rem; margin-bottom: .8rem; }
.state > svg, .state .spin { flex: none; width: 36px; height: 36px; }
.state b { display: block; font-weight: 560; } .state div span { font-size: .82rem; }
.state.ok { background: var(--ink); color: #fff; } .state.ok > svg { background: #fff; color: var(--ink); border-radius: 50%; padding: 8px; }
.state.ok div span { color: #c9c7c1; }
.state.warn { background: var(--sand-pale); color: #5a3812; }
.spin { border-radius: 50%; border: 3px solid rgb(231 181 136 / .4); border-top-color: var(--sand-ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- developer desk ---------- */
.dhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; padding: .6rem .4rem 1.2rem; }
.dhead h1 { margin: .55rem 0 .2rem; }
.dhead p { margin: 0; color: var(--soft); }
.chiplink { display: flex; align-items: center; gap: .9rem; padding: .55rem .6rem .55rem 1.1rem; border-radius: 999px; background: var(--card); text-decoration: none; font-size: .9rem; font-weight: 500; box-shadow: var(--sh-card); transition: transform .16s var(--ease-out); }
.chiplink small { font-size: .72rem; }
.chiplink svg { width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: var(--ink); color: #fff; }
.pills.sub { margin: 0 .2rem 16px; }
.badge { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--sand); color: var(--ink); font-size: .72rem; font-weight: 600; }
.pills a[aria-current] .badge { background: #fff; }
.desk4 > .stat { grid-column: span 3; }
.desk4 > .wide { grid-column: span 7; }
.desk4 > .towercard { grid-column: span 5; }
.desk2 > .card:not(.full):first-of-type, .desk2 > section.card:not(.full):not(.towercard) { grid-column: span 7; }
.desk2 > .towercard { grid-column: span 5; }
.towercard .tower3d { max-width: 400px; margin: 0 auto; }
.sec { margin: 1.4rem .3rem .9rem; font-size: 1.3rem; letter-spacing: -0.02em; }
.tasks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.tasks li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--well); border-radius: 18px; padding: .75rem .75rem .75rem 1rem; }
.tasks li b { font-weight: 520; }
.tasks li .circ { box-shadow: none; }
.tasks li.closed { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.tasks li.closed b { color: var(--soft); font-weight: 450; }
.tasks li.justdone, tr.justdone td { animation: settle .7s var(--ease-out) both; }
@keyframes settle { from { background: var(--ok-pale); } }
.tasks li.empty { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.cellrow { display: inline-flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.sign { box-shadow: inset 0 0 0 1.5px var(--sand), var(--sh-card); }
.sign .shots { grid-template-columns: repeat(4, 1fr); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: .62rem .6rem .62rem 2rem; border-radius: 14px; font-size: .92rem; }
.timeline li:nth-child(odd) { background: var(--well); }
.timeline li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ink); }
.timeline li b { font-weight: 520; }
.timeline li span { color: var(--soft); font-size: .86rem; }
.timeline li.wait { background: var(--sand-pale); }
.timeline li.wait::before { background: var(--sand-ink); box-shadow: 0 0 0 4px rgb(231 181 136 / .5); }
.search { display: inline-flex; align-items: center; gap: .45rem; padding: 0 .9rem; height: 38px; border-radius: 999px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); color: var(--soft); }
.search svg { width: 16px; height: 16px; }
.search input { border: 0; background: transparent; font: inherit; font-size: .88rem; width: 12rem; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .88rem; }
.tbl th { text-align: left; font-weight: 450; font-size: .8rem; color: var(--soft); padding: .55rem .7rem; white-space: nowrap; }
.tbl td { padding: .55rem .7rem; vertical-align: middle; border-top: 1px solid var(--line); }
.tbl tbody tr:hover td { background: var(--well); }
.tbl tbody tr:hover td:first-child { border-radius: 14px 0 0 14px; } .tbl tbody tr:hover td:last-child { border-radius: 0 14px 14px 0; }
.tbl tr.total td { font-weight: 600; border-top: 1.5px solid var(--ink); }
.tbl td small { font-size: .76rem; }
.r, .tbl .r { text-align: right; }

/* the signature moment: one sign-off fans out to everyone downstream */
.cascade { display: grid; grid-template-columns: minmax(200px, 260px) 110px minmax(0, 1fr); align-items: center; background: var(--ink); color: #eceae6; border-radius: var(--r-card); padding: 1.5rem; box-shadow: var(--sh-float); }
.csrc { display: grid; gap: .2rem; background: #232322; border-radius: 18px; padding: 1.1rem; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); }
.csrc b { font-size: 1.15rem; font-weight: 520; color: #fff; }
.csrc span { font-size: .82rem; color: #a3a19b; }
.seal { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); color: var(--ink); margin-bottom: .5rem; }
.seal svg { width: 18px; height: 18px; }
.cwires { width: 100%; overflow: visible; }
.cwires path { fill: none; stroke: #6b6965; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.cdests { list-style: none; padding: 0; margin: 0; }
.cdests li { height: 60px; display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid rgb(255 255 255 / .07); }
.cdests li:last-child { border-bottom: 0; }
.cdests li > b { min-width: 3.4rem; font-size: 1.8rem; font-weight: 420; letter-spacing: -0.03em; color: var(--sand); text-align: right; }
.cdests li > span { font-weight: 500; color: #fff; }
.cdests small { color: #a3a19b; }
.cascade.play .cwires path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawline .55s var(--ease-io) calc(var(--i) * 110ms + 250ms) forwards; }
.cascade.play .cdests li { animation: arrive .45s var(--ease-out) calc(var(--i) * 110ms + 550ms) both; }
.cascade.play .seal { animation: tick .45s var(--ease-out) both; }
@keyframes drawline { to { stroke-dashoffset: 0; } }
@keyframes arrive { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* rent run */
.runbar { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: .5rem 2.6rem; align-items: center; margin-bottom: 14px; }
.runbar .fig { margin: 0; }
.runbar .btn, .runbar .released { justify-self: end; margin: 0; }
.runprog { grid-column: 1 / -1; }
.runprog .hbar { margin: .5rem 0 0; }
.runbar.play .runprog .grow { animation: growx calc(48 * 22ms + 200ms) linear both; transform-origin: left; }
@keyframes growx { from { transform: scaleX(0); } }
.released { display: flex; gap: .45rem; align-items: center; color: var(--ok-ink); font-weight: 520; font-size: .9rem; max-width: 34ch; }
.released svg { width: 18px; height: 18px; flex: none; }
.tbl .st { display: inline-grid; vertical-align: middle; } .tbl .st .pill { grid-area: 1 / 1; justify-self: start; }
.flipping .st .pill.sand { animation: chipOut .16s ease-out calc(var(--i) * 22ms) forwards; }
.flipping .st .pill.ok { animation: chipIn .26s var(--ease-out) calc(var(--i) * 22ms + 60ms) both; }
@keyframes chipOut { to { opacity: 0; transform: translateY(-4px); } }
@keyframes chipIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.emptycard { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }

/* RERA form */
.form h4 { margin: 1.2rem 0 .6rem; font-size: .88rem; font-weight: 500; color: var(--soft); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.field { border-radius: var(--r-in); padding: .75rem .9rem; background: var(--well); }
.field span { display: block; font-size: .76rem; color: var(--soft); }
.field b { display: block; font-weight: 520; margin: .15rem 0; }
.field small { display: inline-flex; gap: .3rem; align-items: center; color: var(--ok-ink); font-size: .72rem; }
.field.auto small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.field.todo { background: repeating-linear-gradient(-55deg, transparent 0 6px, rgb(22 22 22 / .025) 6px 8px); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.field.todo b { color: var(--soft); font-weight: 450; }
.field.todo small { color: var(--sand-ink); }

/* dialog: lightbox and letter drawer */
dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; color: var(--ink); }
dialog::backdrop { background: rgb(22 22 22 / .35); backdrop-filter: blur(6px); }
dialog[open] { animation: dlgIn .28s var(--ease-out) both; }
dialog[open]::backdrop { animation: fade .25s ease-out both; }
dialog.closing { animation: dlgOut .18s ease-out forwards; }
dialog.closing::backdrop { animation: fadeOut .18s ease-out forwards; }
@keyframes dlgIn { from { opacity: 0; transform: scale(.96); } }
@keyframes dlgOut { to { opacity: 0; transform: scale(.98); } }
@keyframes fadeOut { to { opacity: 0; } }
dialog.lightbox { width: min(880px, 94vw); margin: auto; }
dialog.lightbox figure { margin: 0; border-radius: 24px; overflow: hidden; background: #111; box-shadow: var(--sh-float); }
dialog.lightbox svg { display: block; width: 100%; height: auto; }
dialog.lightbox figcaption { color: #dedcd7; font-size: .88rem; padding: .8rem 1.1rem; }
dialog.drawer { margin: 12px 12px 12px auto; height: calc(100dvh - 24px); width: min(580px, calc(100vw - 24px)); background: var(--card); border-radius: 28px; box-shadow: var(--sh-float); overflow-y: auto; }
dialog.drawer[open] { animation: drawerIn .42s var(--ease-drawer) both; }
dialog.drawer.closing { animation: drawerOut .2s ease-out forwards; }
@keyframes drawerIn { from { transform: translateX(105%); } }
@keyframes drawerOut { to { transform: translateX(24px); opacity: 0; } }
.x { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--well); color: var(--ink); cursor: pointer; transition: transform .16s var(--ease-out), background-color .15s ease, color .15s ease; }
.x:hover { background: var(--ink); color: #fff; }
.x:active { transform: scale(.94); }
.x svg { width: 16px; height: 16px; }
.lightbox .x { background: rgb(255 255 255 / .9); }
.letter { padding: 2.4rem 2.2rem 2rem; font-size: .92rem; }
.letter header { padding-bottom: 1rem; margin-bottom: 1.3rem; box-shadow: inset 0 -1.5px 0 var(--ink); }
.letter header b { display: block; font-size: 1.7rem; font-weight: 540; letter-spacing: -0.03em; }
.letter header span { font-size: .8rem; color: var(--soft); }
.letter .ref { float: right; text-align: right; font-size: .82rem; color: var(--soft); margin-left: 1rem; }
.letter h3 { margin-top: 1.4rem; font-size: 1.08rem; }
.letter footer { margin-top: 1.5rem; padding-top: .8rem; box-shadow: inset 0 1px 0 var(--line); font-size: .78rem; color: var(--soft); }

/* toasts */
#toasts { position: fixed; z-index: 50; bottom: 22px; left: 50%; transform: translateX(-50%); display: grid; gap: .5rem; justify-items: center; pointer-events: none; }
.toast { display: flex; gap: .55rem; align-items: center; background: var(--ink); color: #fff; padding: .75rem 1.15rem; border-radius: 999px; font-size: .9rem; font-weight: 500; box-shadow: var(--sh-float); animation: toastIn .4s ease both; }
.toast svg { width: 16px; height: 16px; color: var(--sand); }
.toast.out { animation: toastOut .3s ease-out forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(6px); } }

/* ---------- committee ---------- */
.pagehead { padding: .6rem .4rem 1.3rem; }
.pagehead h1 { margin: .6rem 0 .4rem; }
.pagehead p { color: var(--soft); font-size: 1.04rem; }
.comm > .rentcard { grid-column: span 8; }
.comm > .safe { grid-column: span 4; }
.comm > .chartcard { grid-column: span 8; }
.comm > .appr { grid-column: span 4; }
.comm > .mapcard { grid-column: span 7; }
.comm > .towercard { grid-column: span 5; }
.rentgrid { display: grid; grid-template-columns: 3.2rem repeat(48, minmax(5px, 12px)); gap: 3px; justify-content: start; align-items: center; overflow-x: auto; }
.rentgrid .rl { font-size: .72rem; color: var(--soft); white-space: nowrap; }
.rentgrid i { aspect-ratio: 1; border-radius: 3px; }
.rentgrid i.p { background: var(--ink); } .rentgrid i.d { background: var(--sand); }
.keyrow { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .78rem; color: var(--soft); margin: .9rem 0 0; }
.kc { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.kc.p { background: var(--ink); } .kc.d { background: var(--sand); }
.kl { display: inline-block; width: 18px; height: 0; margin-right: .35rem; vertical-align: 3px; border-top: 2.5px solid var(--ink); }
.kl.k-plan { border-top: 2px dashed var(--faint); } .kl.k-proj { border-top: 2px dotted var(--ink); }
.chart { width: 100%; display: block; }
.chart .grid { stroke: var(--line); }
.chart .ax { font-size: 11px; fill: var(--soft); } .chart .ax.strong { fill: var(--ink); font-weight: 520; }
.chart .c-area { fill: rgb(231 181 136 / .14); }
.chart .c-plan { stroke: var(--faint); stroke-width: 1.5; stroke-dasharray: 4 4; fill: none; }
.chart .c-proj { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 2 4; fill: none; }
.chart .act { stroke: var(--ink); stroke-width: 2.5; fill: none; stroke-linejoin: round; }
.chart .pt { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; }
.chart .today { stroke: var(--ink); stroke-width: 1; }
.chart .poss { stroke-width: 2; } .chart .poss.f { stroke: var(--sand); } .chart .poss.a { stroke: var(--ink); stroke-dasharray: 2 3; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: .75rem; align-items: center; padding: .45rem 0; font-size: .9rem; }
.checks li b { font-weight: 500; }
.checks li.wait .dotc { box-shadow: inset 0 0 0 1.5px var(--faint); background: repeating-linear-gradient(-55deg, transparent 0 2px, var(--hatch) 2px 4px); }
.facts { margin: 0; display: grid; gap: .5rem; }
.facts > div { background: var(--well); border-radius: var(--r-in); padding: .7rem .9rem; }
.facts dt { font-size: .78rem; color: var(--soft); } .facts dd { margin: 0; font-weight: 450; font-size: 1.3rem; letter-spacing: -0.02em; }
.facts dd .cur { font-size: .8em; }

/* ---------- handover ---------- */
.gates { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gates li { padding: .9rem .95rem 1rem; border-radius: 18px; background: var(--well); font-size: .88rem; }
.gates li b { display: block; font-weight: 520; line-height: 1.3; margin: .55rem 0 .2rem; }
.gates li.current { background: var(--sand-pale); box-shadow: inset 0 0 0 1.5px var(--sand); }
.gn { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--card); font-size: .8rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }
.gates li.current .gn { background: var(--ink); color: #fff; box-shadow: none; }
.snaggrid { display: grid; grid-template-columns: minmax(260px, 430px) minmax(0, 1fr); gap: 2rem; align-items: start; }
.fplan { width: 100%; display: block; background: var(--well); border-radius: 18px; padding: 8px; }
.fplan .room { fill: var(--card); stroke: var(--ink); stroke-width: 3; }
.fplan .room.bal { fill: #f1f0ec; stroke-width: 1.5; }
.fplan .rname { font-size: 10px; fill: var(--soft); }
.fplan .door { fill: none; stroke: var(--soft); stroke-width: 1; }
.fplan .win { stroke: #8fb3c4; stroke-width: 4; }
.pinm circle { fill: var(--rust); stroke: #fff; stroke-width: 2; }
.pinm text { font-size: 11px; font-weight: 700; fill: #fff; }
.pinm.fixed circle { fill: var(--ink); }
.pinm { transform-box: fill-box; transform-origin: center; }
.pinm.pop { animation: tick .4s var(--ease-out) both; }
.snags { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.snags li { display: grid; grid-template-columns: 28px 1fr auto; gap: .8rem; align-items: center; padding: .65rem .75rem; border-radius: 16px; background: var(--well); }
.sn { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--rust); color: #fff; font-size: .75rem; font-weight: 700; }
.snags li.fixed { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.snags li.fixed .sn { background: var(--ink); }
.snags li.fixed b { color: var(--soft); font-weight: 450; }
.snags b { font-weight: 520; font-size: .92rem; }
.liab { margin: .4rem 0 1.4rem; }
.lbar { position: relative; height: 16px; border-radius: 999px; background: repeating-linear-gradient(-55deg, var(--hatch) 0 2px, transparent 2px 6px); margin-top: 1.8rem; }
.lbar .gone { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--ink); }
.dmark { position: absolute; top: -5px; width: 4px; height: 26px; margin-left: -2px; border-radius: 2px; background: var(--rust); box-shadow: 0 0 0 2px var(--card); }
.dmark.f { background: var(--sand); }
.todaymark { position: absolute; top: -1.55rem; transform: translateX(-50%); font-size: .74rem; font-weight: 600; }
.lyears { display: flex; justify-content: space-between; font-size: .74rem; color: var(--soft); margin-top: .45rem; }


/* ---------- explainers ---------- */
.tabinfo { margin: -4px .4rem 16px; color: var(--soft); font-size: .95rem; max-width: 80ch; }
.hero-cta { margin: -1rem 0 2rem; }
.mod-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mod-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mod-grid li > a, .mod-grid li > div { position: relative; display: grid; align-content: start; gap: .25rem; height: 100%; padding: .9rem 2.6rem .95rem 1rem; border-radius: 18px; background: var(--well); text-decoration: none; transition: background-color .15s ease; }
.mod-grid li > a:hover { background: var(--sand-pale); }
.mod-grid b { font-weight: 560; }
.mod-grid span { font-size: .84rem; color: var(--soft); line-height: 1.4; }
.mod-grid li > a svg { position: absolute; top: .9rem; right: .9rem; width: 16px; height: 16px; }
.mod-grid.after li > div { padding-right: 1rem; }

/* how it works */
.how-track { margin-bottom: 14px; }
.how-track .ch h3 small { display: block; margin-top: .2rem; font-size: .88rem; }
.how-stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.how-stages > li { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1rem; border-radius: 18px; background: var(--well); }
.how-stages > li::after { content: ""; position: absolute; top: 1.85rem; right: -8px; width: 8px; height: 2px; background: var(--hatch); }
.how-stages > li:last-child::after { display: none; }
.how-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; }
.how-track.buyers .how-n { background: var(--sand); color: var(--ink); }
.how-stages b { font-weight: 560; line-height: 1.25; margin-top: .3rem; }
.how-stages p { font-size: .84rem; color: #4b4945; margin: 0; }
.how-stages ul { margin: .2rem 0 .3rem; padding-left: 1rem; font-size: .8rem; color: var(--ink-2); display: grid; gap: .2rem; }
.how-stages small { margin-top: auto; }
.how-see { display: inline-flex; align-items: center; gap: .3rem; margin-top: .4rem; font-size: .84rem; font-weight: 520; text-decoration: none; }
.how-see svg { width: 14px; height: 14px; }
.how-see:hover { text-decoration: underline; }
.how-roles { grid-column: span 7; }
.how-swap { grid-column: span 5; }
.how-swap td b { font-weight: 520; }

/* inventory */
.inv-s { grid-column: span 4; }
.inv-grid-card { grid-column: span 8; }
.inv-src { grid-column: span 4; align-self: start; }
.inv-key { display: flex; flex-wrap: wrap; gap: .2rem .8rem; align-items: center; font-size: .78rem; color: var(--soft); }
.inv-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: -.45rem; }
.inv-key i.sold, .inv-u.sold { background: var(--ink); color: #fff; }
.inv-key i.prog, .inv-u.prog { background: var(--sand); }
.inv-key i.avail { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--hatch); }
.inv-key i.m, .inv-u.m { background: #dcdad5; }
.unitgrid { display: grid; gap: 4px; }
.inv-row { display: grid; grid-template-columns: 2rem repeat(4, minmax(0, 1fr)); gap: 4px; }
.inv-row.mem { grid-template-columns: 2rem repeat(6, minmax(0, 1fr)); }
.inv-fl { align-self: center; font-size: .75rem; color: var(--soft); text-align: right; padding-right: .3rem; }
.inv-u { display: flex; justify-content: space-between; align-items: center; gap: .3rem; min-width: 0; padding: .38rem .6rem; border-radius: 9px; font-size: .8rem; font-weight: 520; border: 0; font-family: inherit; }
.inv-u small { font-size: .68rem; color: inherit; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-u.avail { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--hatch); color: var(--ink); cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease, transform .16s var(--ease-out); }
.inv-u.avail:hover { background: var(--sand-pale); box-shadow: inset 0 0 0 1.5px var(--sand); }
.inv-u.avail:active { transform: scale(.96); }
.inv-srcs { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: 6px; }
.inv-srcs li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .65rem .8rem; border-radius: 14px; background: var(--well); }
.inv-srcs b { font-weight: 520; font-size: .9rem; }

/* bookings */
.bk-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 1rem; }
.bk-steps > div { display: grid; gap: .3rem; align-content: start; padding: .9rem; border-radius: 16px; background: var(--well); }
.bk-steps b { font-weight: 540; }
.bk-dots { display: flex; gap: 3px; margin-bottom: .2rem; }
.bk-dots i { width: 18px; height: 6px; border-radius: 3px; background: var(--hatch); }
.bk-dots i.done { background: var(--ink); } .bk-dots i.now { background: var(--sand); }
.bk-recent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bk-wiz { padding: 2rem 1.8rem 1.6rem; }
.bk-wiz h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.bk-wiz h3 { margin: 1.2rem 0 .7rem; }
.bk-wiz h4 { margin: 1.2rem 0 .5rem; font-size: .9rem; font-weight: 500; color: var(--soft); }
.bk-prog { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.bk-prog li { font-size: .8rem; color: var(--soft); padding-top: .5rem; box-shadow: inset 0 3px 0 var(--hatch); }
.bk-prog li.done { color: var(--ink); box-shadow: inset 0 3px 0 var(--ink); }
.bk-prog li.now { color: var(--ink); font-weight: 560; box-shadow: inset 0 3px 0 var(--sand); }
.bk-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bk-flat { display: grid; gap: .1rem; text-align: left; padding: .75rem .85rem; border-radius: 14px; border: 0; background: var(--well); font-family: inherit; cursor: pointer; transition: background-color .15s ease, transform .16s var(--ease-out); }
.bk-flat:hover { background: var(--sand-pale); }
.bk-flat:active { transform: scale(.97); }
.bk-flat b { font-size: 1.15rem; font-weight: 540; }
.bk-flat span { font-size: .75rem; color: var(--soft); }
.bk-flat em { font-style: normal; font-size: .84rem; font-weight: 520; }
.bk-form { display: grid; gap: .8rem; }
.bk-form label { display: grid; gap: .3rem; font-size: .82rem; color: var(--soft); }
.bk-form input, .bk-form select { font: inherit; font-size: .95rem; color: var(--ink); padding: .7rem .9rem; border: 0; border-radius: 12px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); }
.bk-form input:focus, .bk-form select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.bk-due { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border-radius: 14px; background: var(--sand-pale); font-size: .9rem; }
.bk-due b { font-size: 1.15rem; font-weight: 560; }
.bk-plan { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 1.2rem; font-size: .84rem; }
.bk-plan li { display: flex; justify-content: space-between; padding: .3rem 0; box-shadow: inset 0 -1px 0 var(--line); }
.bk-plan em { font-style: normal; color: var(--soft); }
.bk-nav { display: flex; justify-content: space-between; margin-top: 1.4rem; }
.bk-done { margin: 0 0 1rem; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .9rem; }
.wa { max-width: 380px; margin: 0 0 1.2rem; padding: .8rem .95rem; border-radius: 4px 16px 16px 16px; background: #e6f2dc; font-size: .88rem; box-shadow: 0 1px 1px rgb(0 0 0 / .06); }
.wa-h { display: block; font-size: .74rem; font-weight: 600; color: #3c6d33; margin-bottom: .25rem; }
.wa p { margin: 0 0 .35rem; }
.wa-link { font-size: .82rem; color: #2a6fb0; text-decoration: underline; }

/* collections */
.col > .stat { grid-column: span 3; }
.col-loan { grid-column: span 6; }
.col-rcpt { grid-column: span 6; }
.col-banks, .col-rc { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: 6px; }
.col-banks li, .col-rc li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .85rem; border-radius: 14px; background: var(--well); }
.col-banks b, .col-rc b { font-weight: 540; }
.col-rc li.new { background: var(--ok-pale); }
.tbl td .pill + small { margin-top: .2rem; }

/* member register */
.mem-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.mem-st { padding-left: 1rem; box-shadow: inset 1px 0 0 var(--line-2); }
.mem-st .fig { margin-bottom: .4rem; }

/* guided tour */
#tour { position: fixed; z-index: 45; right: 22px; bottom: 22px; width: min(380px, calc(100vw - 32px)); }
.tour-card { background: var(--ink); color: #eceae6; border-radius: 24px; padding: 1rem 1.15rem 1.1rem; box-shadow: var(--sh-float); animation: rise .35s var(--ease-out) both; }
.tour-top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: #a3a19b; }
.tour-x { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #2a2a28; color: #fff; cursor: pointer; }
.tour-x svg { width: 13px; height: 13px; }
.tour-prog { display: flex; gap: 3px; margin: .6rem 0 .9rem; }
.tour-prog i { flex: 1; height: 3px; border-radius: 2px; background: #3a3a37; transition: background-color .3s ease; }
.tour-prog i.on { background: var(--sand); }
.tour-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: .4rem; }
.tour-card p { font-size: .9rem; color: #cfccc6; margin-bottom: 1rem; }
.tour-nav { display: flex; justify-content: space-between; }
.tour-card .btn { background: var(--sand); color: var(--ink); }
.tour-card .btn.quiet { background: #2a2a28; color: #fff; box-shadow: none; }
.tour-focus { outline: 3px solid var(--sand); outline-offset: 6px; border-radius: var(--r-card); animation: focusPulse 1.6s var(--ease-out) 2; }
@keyframes focusPulse { 0% { outline-offset: 14px; outline-color: rgb(231 181 136 / 0); } 100% { outline-offset: 6px; outline-color: var(--sand); } }

/* ---------- route change ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }

@media (max-width: 1100px) {
  .how-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mod-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col > .stat, .inv-s { grid-column: span 6; }
  .inv-grid-card, .inv-src, .col-loan, .col-rcpt, .how-roles, .how-swap { grid-column: span 12; }
  .mem-row { grid-template-columns: 1fr 1fr; }
  .overview .hero { grid-column: 1 / 8; }
  .desk4 > .stat { grid-column: span 6; }
  .desk4 > .wide, .desk4 > .towercard, .desk2 > section.card:not(.full):not(.towercard), .desk2 > .towercard { grid-column: span 12; }
  .comm > * { grid-column: span 12 !important; }
  .gates { grid-template-columns: 1fr 1fr; }
  .phonewrap { grid-template-columns: 370px minmax(0, 1fr); gap: 2.5rem; }
}
@media (max-width: 860px) {
  .how-stages, .mod-grid, .mod-grid.four, .bk-steps, .bk-recent, .mem-row { grid-template-columns: 1fr; }
  .bk-pick { grid-template-columns: 1fr 1fr; }
  .how-stages > li::after { display: none; }
  #tour { right: 16px; bottom: 16px; }
  .frame { margin: 0; border-radius: 0; padding: 12px 12px 24px; }
  .top { grid-template-columns: 1fr auto; position: static; margin: 0 0 14px; }
  .top .pills { grid-column: 1 / -1; order: 3; }
  .logo span:last-child { font-size: 1rem; }
  .bento > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .overview .render { max-width: 420px; justify-self: center; width: 100%; }
  .duo { grid-template-columns: 1fr; }
  .phonewrap { grid-template-columns: 1fr; padding: 0; gap: 1.5rem; }
  .note { padding-top: 0; order: -1; }
  .device { max-width: 390px; border-radius: 48px; }
  .screen { height: 720px; border-radius: 38px; }
  .cascade { grid-template-columns: 1fr; gap: 1rem; }
  .cwires { display: none; }
  .runbar { grid-template-columns: 1fr 1fr; }
  .runbar .btn, .runbar .released { grid-column: 1 / -1; justify-self: stretch; }
  .tbl { display: block; overflow-x: auto; }
  .ch { flex-wrap: wrap; }
  .search input { width: 9rem; }
  .sign .shots, .shots.strip { grid-template-columns: 1fr 1fr; }
  .gates, .snaggrid { grid-template-columns: 1fr; }
  footer { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, ::view-transition-group(*) { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- maker credit (Dinero Technologies makes Realty OS; the product name leads) ---------- */
.site-foot { display: flex; align-items: center; gap: 14px; }
.maker-logo { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--card); box-shadow: var(--sh-card); transition: transform .16s var(--ease-out); }
.maker-logo:hover { transform: scale(1.04); }
.maker-logo img { width: 22px; height: 28px; display: block; }
footer .maker { margin: 0 0 .35rem; color: var(--ink-2); font-size: .82rem; font-weight: 500; }
.maker-hero { margin: -1.2rem 0 1.8rem; font-size: .88rem; color: var(--soft); }
.maker-hero b { color: var(--ink); font-weight: 560; }
.how-maker { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 2rem; align-items: start; }
.how-maker h2 { font-size: 1.6rem; letter-spacing: -0.025em; margin: .7rem 0 .6rem; }
.how-maker p { color: #4b4945; }
.how-maker dl { margin: 0; display: grid; gap: 6px; }
.how-maker dl > div { padding: .7rem .9rem; border-radius: var(--r-in); background: var(--well); }
.how-maker dt { font-size: .76rem; color: var(--soft); }
.how-maker dd { margin: 0; font-weight: 520; }
.how-maker dd a { color: var(--ink); }
@media (max-width: 860px) { .how-maker { grid-template-columns: 1fr; } }

/* ---------- CRM sync ---------- */
.seg { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); margin-left: auto; }
.seg > span { font-size: .78rem; color: var(--soft); padding: 0 .55rem 0 .6rem; white-space: nowrap; }
.seg button { font: inherit; font-size: .84rem; font-weight: 500; color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; padding: .42rem .85rem; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, color .15s ease, transform .16s var(--ease-out); }
.seg button:hover { background: var(--card); }
.seg button:active { transform: scale(.96); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pill.ink { background: var(--ink); color: #fff; box-shadow: none; }
.crm > .stat { grid-column: span 4; }
.crm-own { grid-column: span 7; }
.crm-log { grid-column: span 5; }
.crm-half { grid-column: span 6; }
.crm-own td small, .crm-own td { line-height: 1.4; }
.crm-own td:last-child { color: #4b4945; font-size: .84rem; }
.cf { display: grid; grid-template-columns: 230px minmax(0, 1fr) 230px; gap: 1.2rem; align-items: stretch; }
.cf-node { display: grid; align-content: start; gap: .25rem; padding: 1.15rem; border-radius: 20px; background: var(--well); }
.cf-node.ros { background: var(--ink); color: #eceae6; }
.cf-node.ros b { color: #fff; } .cf-node.ros small { color: #a3a19b; }
.cf-node b { font-size: 1.2rem; font-weight: 540; letter-spacing: -0.01em; margin-top: .5rem; }
.cf-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--card); font-size: .85rem; font-weight: 650; letter-spacing: .02em; box-shadow: var(--sh-card); }
.cf-node.ros .cf-mark { background: var(--sand); color: var(--ink); box-shadow: none; }
.cf-mark svg { width: 22px; height: 22px; }
.cf-node ul { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: 6px; font-size: .84rem; }
.cf-node li { display: grid; gap: .05rem; padding: .5rem .65rem; border-radius: 12px; background: var(--card); }
.cf-node.ros li { background: #262624; color: #dcd9d3; }
.cf-node li span { font-size: .76rem; color: var(--soft); }
.cf-node code { font: inherit; font-weight: 560; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .8rem; }
.cf-node.ping { animation: cfPing .9s var(--ease-out) both; }
@keyframes cfPing { from { box-shadow: 0 0 0 0 rgb(231 181 136 / .8); } to { box-shadow: 0 0 0 14px rgb(231 181 136 / 0); } }
.cf-lanes { display: grid; align-content: start; gap: 4px; }
.cf-lanes h4 { margin: .2rem 0 .3rem; font-size: .8rem; font-weight: 500; color: var(--soft); }
.cf-lanes h4 + .cf-lane + h4 { margin-top: .9rem; }
.cf-lane { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.cf-lane li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); align-items: center; gap: 1rem; padding: .45rem .8rem; border-radius: 12px; background: var(--well); animation: arrive .4s var(--ease-out) calc(var(--i) * 60ms) both; }
.cf-txt b { font-weight: 540; font-size: .9rem; }
.cf-txt small { font-size: .76rem; }
.cf-trk { position: relative; height: 14px; }
.cf-trk::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed var(--hatch); }
.cf-trk::after { content: ""; position: absolute; top: calc(50% - 4px); border: 4px solid transparent; }
.cf-lane.in .cf-trk::after { right: -4px; border-left: 6px solid var(--ink); }
.cf-lane.out .cf-trk::after { left: -4px; border-right: 6px solid var(--sand-ink); }
.cf-trk i { position: absolute; top: calc(50% - 3.5px); left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: 0; animation: cfRun 2.6s linear calc(var(--i) * .43s) infinite; }
.cf-lane.out .cf-trk i { background: var(--sand); animation-direction: reverse; }
@keyframes cfRun { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
.cf-note { margin: 1rem 0 0; }
.cl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-height: 470px; overflow-y: auto; }
.cl-list li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: .6rem; padding: .65rem .8rem; border-radius: 14px; background: var(--well); font-size: .88rem; }
.cl-list li b { font-weight: 540; }
.cl-list li small { margin-top: .1rem; }
.cl-t { font-size: .78rem; color: var(--soft); padding-top: .1rem; font-variant-numeric: tabular-nums; }
.cl-list li.flag { background: var(--sand-pale); }
.cl-list li.justdone { animation: settle .9s var(--ease-out) both; }
@media (max-width: 1100px) {
  .cf { grid-template-columns: 1fr 1fr; }
  .cf-lanes { grid-column: 1 / -1; grid-row: 2; }
  .crm > .stat, .crm-own, .crm-log, .crm-half { grid-column: span 12; }
}
@media (max-width: 860px) {
  .cf { grid-template-columns: 1fr; }
  .cf-lanes { grid-row: auto; }
  .cf-lane li { grid-template-columns: 1fr 4rem; }
  .seg { margin-left: 0; flex-wrap: wrap; border-radius: 18px; }
}
.m-only { display: none; }
@media (max-width: 860px) {
  .crm-own .tbl th:nth-child(3), .crm-own .tbl td:nth-child(3) { display: none; }
  .crm-own .m-only { display: block; margin-top: .2rem; font-weight: 400; }
  .crm-own .tbl { display: table; }
}
