/* Rezidenca Lumina demo: demo administration. Loaded after rezidenca.css (tokens, fonts, buttons). */
.adm__banner { margin: 0; padding: 11px var(--gutter); background: var(--brass); color: var(--brass-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-align: left; }
.adm__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; border-bottom: 1px solid var(--rule); }
.adm__main { padding: clamp(36px, 5vw, 72px) 0 clamp(60px, 8vw, 120px); }
.adm__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.adm__intro .h2 { font-size: clamp(34px, 4.2vw, 62px); margin-bottom: 16px; }
.adm__intro .lead { max-width: 58ch; }
.adm__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.adm__sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule); }
.adm__sum > div { padding: 20px 20px 22px 0; }
.adm__sum > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.adm__sum dt { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.adm__sum dd { margin-top: 8px; font: 300 clamp(28px, 3vw, 44px)/1.1 var(--display); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.adm__status { display: flex; flex-wrap: wrap; gap: 6px 24px; min-height: 24px; margin-top: 14px; font-size: 13px; color: var(--stone); font-variant-numeric: tabular-nums; }
.adm__saved { color: var(--free); font-weight: 600; }
.adm__saved.is-warn { color: #e9a089; }
.adm__sec { margin-top: clamp(40px, 5vw, 72px); }
.adm__sec .h3 { margin-bottom: 12px; }
.adm__count { color: var(--brass-hi); font-variant-numeric: tabular-nums; }
.adm__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--rule-2); }
.adm__table { min-width: 720px; font-size: 15px; }
.adm__table th, .adm__table td { padding: 10px 18px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; font-weight: 400; }
.adm__table thead th { padding: 14px 18px 12px 0; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
.adm__table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm__table tbody th[scope='row'] { font: 400 20px/1.1 var(--display); white-space: nowrap; }
.adm__floor th { padding: 22px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); border-bottom-color: var(--rule-2); }
.adm__dot { display: inline-block; width: 7px; height: 7px; margin-left: 8px; background: var(--brass); transform: rotate(45deg) translateY(-3px); }
tr.is-changed td, tr.is-changed th { background: rgba(200, 162, 90, 0.06); }
.st, .adm__price input { height: 42px; background: transparent; border: 1px solid var(--rule-2); border-radius: 2px; font-size: 15px; color: var(--paper); transition: border-color 0.2s; }
.st { min-width: 150px; padding: 0 30px 0 12px; appearance: none; -webkit-appearance: none; cursor: pointer; font-weight: 600; background: no-repeat right 10px center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9c2b6' stroke-width='2.4'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E"); }
.st option { background: var(--coal); color: var(--paper); }
.st--free { color: var(--free); border-color: rgba(127, 181, 138, 0.55); }
.st--reserved { color: var(--reserved); border-color: rgba(218, 182, 85, 0.55); }
.st--sold { color: #a9acb1; }
.adm__price { position: relative; display: inline-block; }
.adm__price input { width: 150px; padding: 0 30px 0 12px; text-align: right; font-variant-numeric: tabular-nums; }
.adm__price i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--stone); pointer-events: none; }
.st:hover, .adm__price input:hover { border-color: var(--concrete); }
.st:focus-visible, .adm__price input:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 2px; }
.adm__table--inq tbody th[scope='row'] { font: 600 15px/1.4 var(--sans); white-space: normal; }
.adm__table--inq small { display: block; font-size: 13px; font-weight: 400; color: var(--stone); }
.adm__msg { max-width: 34ch; color: var(--concrete); font-size: 14px; }

@media (max-width: 699px) {
  .adm__banner { font-size: 11px; letter-spacing: 0.06em; }
  .adm__sum { grid-template-columns: 1fr 1fr; }
  .adm__sum > div { padding: 16px 12px 16px 0; border-top: 1px solid var(--rule); }
  .adm__sum > div:nth-child(-n + 2) { border-top: 0; }
  .adm__sum > div + div { padding-left: 0; border-left: 0; }
  .adm__sum > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
  .adm__actions, .adm__actions .btn { width: 100%; }
  /* three columns fit a phone: unit, status, price */
  .adm__table:not(.adm__table--inq) { min-width: 0; }
  .adm__table:not(.adm__table--inq) tr > :nth-child(2):not([colspan]), .adm__table:not(.adm__table--inq) tr > :nth-child(3), .adm__table:not(.adm__table--inq) tr > :nth-child(6) { display: none; }
  .adm__table th, .adm__table td { padding-right: 10px; }
  .st { min-width: 0; width: 132px; }
  .adm__price input { width: 118px; }
}
