/* CELESTIA — unit matrix (kiosk FLOOR PLAN › UNIT MATRIX and status.html › MATRIX).
   Status colours: available = light green, hold = grey, sold = red (as the plan buttons); the left bar = unit type. */
.um-grid { display: grid; grid-template-columns: 64px repeat(var(--cols, 4), minmax(0, var(--cw, 1fr))); gap: 5px; }
.um-h { position: sticky; top: 0; z-index: 2; height: 34px; display: flex; align-items: center; justify-content: center; background: #FFFFFF;
  font-family: Jost, sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .32em; color: #8B90AA; }
.um-g { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin: 12px 0 2px 4px; font-family: Jost, sans-serif; font-size: 10px; font-weight: 500; letter-spacing: .32em; color: #C48E77; }
.um-g small { font-family: 'Noto Sans Thai', sans-serif; font-size: 12px; font-weight: 300; letter-spacing: 0; color: #8B90AA; }
.um-fl { display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: #1A1F3D; white-space: nowrap; }
.um-u { position: relative; min-width: 0; height: 50px; padding: 0 10px 0 16px; border-radius: 10px; border: 1px solid rgba(26, 31, 61, .1); background: #FFFFFF;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; overflow: hidden; text-align: left; color: #1A1F3D;
  font: inherit; cursor: pointer; transition: transform .15s, box-shadow .2s, background .3s, border-color .3s; -webkit-tap-highlight-color: transparent; }
.um-u::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--tc); }
.um-u:active { transform: scale(.97); }
.um-u b { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 500; line-height: 1; letter-spacing: .06em; white-space: nowrap; }
.um-u b small { font-size: 13px; font-weight: 400; color: #8B90AA; }
.um-u span { max-width: 100%; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; font-family: Jost, 'Noto Sans Thai', sans-serif; font-size: 9.5px; font-weight: 500; letter-spacing: .12em; white-space: nowrap; color: #5C6282; }
.um-u em { position: absolute; right: 8px; top: 7px; font-family: Jost, sans-serif; font-style: normal; font-size: 8.5px; font-weight: 500; letter-spacing: .24em; opacity: .9; }
.um-u.available { background: #EEF8F2; border-color: rgba(47, 143, 104, .22); }
.um-u.sold { background: #DC2626; border-color: #DC2626; color: #FFFFFF; }
.um-u.hold { background: #4B5563; border-color: #4B5563; color: #FFFFFF; }
.um-u.sold span, .um-u.hold span, .um-u.sold b small, .um-u.hold b small { color: rgba(255, 255, 255, .78); }
.um-u.pick { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px #C48E77; z-index: 1; }
.um-fl.off { color: #B8BBCB; text-decoration: line-through; }
.um-u.off { opacity: .38; }   /* floor not for sale yet (settings page only; the kiosk leaves it out) */
.um-villas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
