/* Building-first desktop layout: two-row top bar, then the stacking plan and working lists */
.app-body { min-height: 100vh; }
.top { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.top-row, .top nav ul, .content { max-width: 1320px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.top-row { display: flex; align-items: center; gap: 18px; min-height: 58px; }
.brand { font-weight: 700; }
.brand img { border-radius: 7px; }
.top-org { padding-left: 18px; border-left: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.top-gap { flex: 1; }
.global { position: relative; flex: 1; max-width: 420px; margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 0 12px; min-height: 40px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); }
.global input { flex: 1; min-width: 0; border: 0; background: none; outline: none; }
.global:focus-within { outline: 3px solid #1f6fd6; outline-offset: 1px; }
.results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; padding: 6px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 20px 40px -20px rgba(25, 28, 18, .4); }
.results a { display: block; padding: 8px 10px; border-radius: var(--radius); color: inherit; text-decoration: none; }
.results a:hover { background: var(--accent-tint); }
.results span { display: block; font-size: 13px; color: var(--ink-2); }
.results .none { padding: 8px 10px; }
.user { position: relative; }
.user-btn { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 3px 8px 3px 4px; border: 1px solid transparent; border-radius: var(--radius); background: none; cursor: pointer; text-align: left; }
.user-btn:hover { background: var(--soft); }
.user-text b, .user-text small { display: block; line-height: 1.25; white-space: nowrap; }
.user-text small { font-size: 12.5px; color: var(--ink-2); }
.avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-dark); font-weight: 700; font-size: 13px; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 220px; padding: 6px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 20px 40px -20px rgba(25, 28, 18, .4); }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: var(--radius); background: none; cursor: pointer; text-align: left; }
.menu button:hover { background: var(--soft); }
.top nav ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.top nav a { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 11px; border-bottom: 3px solid transparent; border-top: 3px solid transparent; color: var(--ink-2); font-weight: 600; text-decoration: none; white-space: nowrap; }
.top nav a:hover { color: var(--ink); background: var(--bg); }
.top nav a.is-active { color: var(--accent-dark); border-bottom-color: var(--accent); }
.top nav b { min-width: 19px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; line-height: 19px; text-align: center; }
@media (max-width: 1180px) { .top nav a .icon { display: none; } .top-org { display: none; } }
.role-tenant .top-row, .role-tenant .top nav ul, .role-tenant .content, .role-tech .top-row, .role-tech .top nav ul, .role-tech .content { max-width: 1040px; }

.content { padding-top: 22px; padding-bottom: 48px; }
.content > * + * { margin-top: 18px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.page-head h1, .locked h1 { font: 700 29px/1.15 var(--head); }
.page-head p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 4px; color: var(--ink-2); }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.back { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; font-weight: 600; font-size: 14px; text-decoration: none; }
.back + .page-head { margin-top: 6px; }
.panel { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.panel-flush { padding: 0; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.panel-head h2, .sub-head, .peek h3 { font: 600 19px/1.25 var(--head); }
.panel-head a { font-weight: 600; font-size: 14px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } }
.muted, .hint, .none { color: var(--ink-2); font-size: 14px; }
p.panel.none { padding: 14px 18px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats a { padding: 13px 18px 14px; color: inherit; text-decoration: none; border-left: 1px solid var(--line); }
.stats a:first-child { border-left: 0; }
.stats a:hover { background: #fafaf6; }
.stats span, .stats small { display: block; font-size: 13.5px; color: var(--ink-2); }
.stats strong { display: block; margin: 2px 0; font: 700 28px/1.15 var(--head); font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats a:nth-child(odd) { border-left: 0; } .stats a:nth-child(n+3) { border-top: 1px solid var(--line); } .stats-3 a:last-child { grid-column: 1 / -1; } }

/* Stacking plan */
.building-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.building-bar .tabs { margin-right: auto; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.building-bar + .plan-grid { margin-top: 12px; }
@media (max-width: 1100px) { .plan-grid { grid-template-columns: minmax(0, 1fr); } }
.stack > ol { border: 2px solid #8b8e7c; border-top-width: 9px; border-radius: 6px 6px 0 0; background: #e9e9e0; }
.floor { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 8px 8px 8px 0; }
.floor + .floor { border-top: 3px solid #b9bba9; }
.floor-no { display: grid; align-content: center; justify-items: center; font: 700 22px/1 var(--head); color: var(--ink-2); }
.floor-no small { font: 600 11.5px/1.3 var(--font); }
.floor-units { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; }
.cell { --tone: #8b8e7c; --tint: #fff; display: grid; align-content: start; gap: 1px; min-width: 0; min-height: 78px; padding: 7px 10px 8px; border: 1px solid #c9cbbb; border-top: 4px solid var(--tone); border-radius: 4px; background: var(--tint); text-align: left; cursor: pointer; transition: box-shadow .14s, transform .14s; }
.cell:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -8px rgba(25, 28, 18, .45); }
.cell.is-on { box-shadow: 0 0 0 3px var(--ink); }
.t-ok { --tone: #5a6b1f; --tint: #fff; } .t-warn { --tone: #c15a12; --tint: #fff1e6; } .t-danger { --tone: #b02a2a; --tint: #fcebe9; } .t-info { --tone: #2a6d9e; --tint: #e8f2f9; } .t-wait { --tone: #b98a00; --tint: #fcf4d6; } .t-neutral { --tone: #6f7266; --tint: #dcddd3; } .t-none { --tone: #b9bba9; --tint: #f7f7f2; }
.cell-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 19px; }
.cell-top b { font: 700 16px/1.1 var(--head); }
.cell-flags { display: flex; gap: 4px; }
.flag { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 4px; background: var(--ink); color: #fff; font-style: normal; font-weight: 700; font-size: 12px; }
.flag .icon { width: 12px; height: 12px; }
.flag-money { background: var(--danger); }
.cell-who, .cell-line { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13.5px; }
.cell-who { font-weight: 600; }
.cell-line { font-size: 12.5px; color: var(--ink-2); }
.stack-ground { padding: 7px 12px; border-top: 5px solid #6f7266; font-size: 12.5px; color: var(--ink-2); text-align: center; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend li > i:not(.flag) { width: 13px; height: 13px; border-radius: 3px; border: 1px solid #c9cbbb; border-top: 4px solid var(--tone); background: var(--tint); }
.legend b { color: var(--ink); }
.peek-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 10px; }
.peek-head h2 { font: 700 23px/1.2 var(--head); }
.peek-head p { font-size: 13.5px; color: var(--ink-2); }
.peek h3 { margin: 14px 0 2px; font-size: 16.5px; }
.peek .facts { margin-top: 10px; }
.peek-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.facts > div { display: grid; grid-template-columns: minmax(96px, 38%) minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--ink-2); font-size: 14px; }
.facts dd { overflow-wrap: anywhere; font-weight: 500; }
.rows > li + li { border-top: 1px solid var(--line); }
.rows > li > a, .rows > li > div { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 0; color: inherit; text-decoration: none; }
.rows a:hover strong { color: var(--accent-dark); text-decoration: underline; }
.rows .icon { color: var(--ink-2); width: 16px; height: 16px; }
.row-main { flex: 1; min-width: 0; }
.row-main strong, .row-main span { display: block; }
.row-main strong { font-weight: 600; line-height: 1.35; }
.row-main span { font-size: 13.5px; color: var(--ink-2); }

.badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 4px; font-size: 12.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.tone-ok { background: var(--ok-tint); color: var(--ok); } .tone-neutral { background: var(--soft); color: #47493e; } .tone-warn { background: var(--warn-tint); color: var(--warn); } .tone-danger { background: var(--danger-tint); color: var(--danger); } .tone-info { background: var(--info-tint); color: var(--info); } .tone-wait { background: var(--wait-tint); color: var(--wait); }

.filterbar { display: flex; flex-wrap: wrap; gap: 10px; }
.searchfield { display: flex; align-items: center; gap: 8px; flex: 1 1 230px; max-width: 380px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.searchfield input { flex: 1; min-width: 0; border: 0; background: none; outline: none; }
.searchfield:focus-within { outline: 3px solid #1f6fd6; outline-offset: 1px; }
.filter select { min-height: 42px; max-width: 100%; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.tabs { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 38px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); font-weight: 600; font-size: 14px; cursor: pointer; }
.tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.count { min-width: 20px; padding: 0 6px; border-radius: 4px; background: var(--soft); color: var(--ink); font-size: 12px; line-height: 20px; text-align: center; }
.tab.is-active .count { background: rgba(255, 255, 255, .2); color: #fff; }
.segmented { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--radius); background: #e4e5da; }
.segmented button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 4px; background: none; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.segmented button.is-on { background: var(--surface); box-shadow: 0 1px 3px rgba(25, 28, 18, .2); }
.list-count { margin-bottom: 8px; font-size: 13.5px; color: var(--ink-2); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 10px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
th { background: #f0f0e9; font-size: 13px; font-weight: 600; color: var(--ink-2); }
th:first-child, td:first-child { padding-left: 16px; }
th:last-child, td:last-child { padding-right: 16px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr[data-href] { cursor: pointer; }
tbody tr:hover { background: #fafaf5; }
td a { color: inherit; font-weight: 600; text-decoration: none; }
td a:hover { color: var(--accent-dark); text-decoration: underline; }
tfoot td { border-top: 2px solid var(--line-2); border-bottom: 0; font-weight: 700; background: #fafaf5; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.two b, .two small { display: block; }
.two b { font-weight: 600; }
.two small { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.two.is-void b { text-decoration: line-through; color: var(--ink-2); }
.empty { padding: 34px 18px; text-align: center; }
.empty h3 { font: 600 19px/1.3 var(--head); }
.empty p { margin-top: 4px; color: var(--ink-2); }
.empty .btn { margin-top: 12px; }
.rulebar { display: flex; gap: 10px; padding: 10px 14px; border-radius: var(--radius); background: var(--accent-tint); color: #2f380d; font-size: 14px; }
.rulebar .icon { margin-top: 2px; }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 18px; border: 1px solid #aab977; border-radius: var(--radius-lg); background: var(--accent-tint); }
.callout h2 { font: 600 19px/1.3 var(--head); }
.callout > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; }

.steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 16px 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.steps li { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; gap: 2px; padding: 0 6px; }
.steps li + li::before { content: ""; position: absolute; top: 8px; right: calc(50% + 12px); width: calc(100% - 24px); height: 2px; background: var(--line-2); }
.steps li.done::before, .steps li.now::before { background: var(--accent); }
.steps i { width: 18px; height: 18px; border: 2px solid var(--line-2); border-radius: 50%; background: var(--surface); }
.steps .done i { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #fff; }
.steps .now i { border: 5px solid var(--accent); }
.steps .bad i { border-color: var(--danger); background: var(--danger); }
.steps b { margin-top: 4px; font-size: 13.5px; line-height: 1.3; }
.steps span { font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.log li { position: relative; padding: 0 0 12px 18px; border-left: 2px solid var(--line); margin-left: 5px; }
.log li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.log b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.log span { font-size: 13px; color: var(--ink-2); }
.note-form { display: grid; justify-items: start; gap: 8px; margin-top: 8px; }
.note-form .field { width: 100%; }
.body-text { margin-bottom: 12px; overflow-wrap: anywhere; }
.sheet { max-width: 760px; }
.sheet h2 { font: 600 22px/1.3 var(--head); margin-bottom: 4px; }
.sheet p { margin-top: 10px; white-space: pre-line; overflow-wrap: anywhere; }

/* Technician */
.job-group h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font: 600 20px/1.3 var(--head); }
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.job { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.job-top { display: flex; flex-wrap: wrap; gap: 6px; }
.job h3 { font: 600 19px/1.25 var(--head); }
.job h3 a { color: inherit; text-decoration: none; }
.job p span { color: var(--ink-2); font-size: 13.5px; }
.job-entry { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.job-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: auto; padding-top: 6px; }
@media (max-width: 860px) { .jobs { grid-template-columns: minmax(0, 1fr); } }

/* Tenant */
.balance { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.balance span { display: block; color: #d5dcc0; }
.balance strong { display: block; font: 700 44px/1.1 var(--head); }
.balance p { color: #d5dcc0; }
.balance > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
.balance .btn:not(.btn-primary) { background: transparent; border-color: #7a806a; color: #fff; }
.balance .btn-primary { background: #dbe6ad; border-color: #dbe6ad; color: #222908; }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.quick .btn { min-height: 52px; }
.paid { color: var(--ok); }

.locked { max-width: 520px; margin: 48px auto; text-align: center; }
.locked > .icon { width: 36px; height: 36px; margin: 0 auto 10px; color: var(--accent); }
.locked p { margin: 6px 0 16px; color: var(--ink-2); }

/* Dialogs and forms */
dialog { width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 12px; color: var(--ink); background: var(--surface); overflow: hidden; box-shadow: 0 30px 70px -20px rgba(25, 28, 18, .55); }
dialog::backdrop { background: rgba(24, 27, 17, .56); }
dialog form { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 12px 20px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font: 600 21px/1.25 var(--head); }
.m-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius); background: none; color: inherit; cursor: pointer; }
.m-icon:hover { background: var(--soft); }
.modal-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; align-content: start; padding: 16px 20px 20px; overflow-y: auto; }
.modal-body > .wide, .modal-body > .form-error { grid-column: 1 / -1; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); background: #fafaf5; }
.field { display: grid; align-content: start; gap: 4px; min-width: 0; }
.field > span { font-weight: 600; font-size: 13.5px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 42px; padding: 8px 11px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--danger); background: #fff8f7; }
.error { color: var(--danger); font-size: 13px; font-weight: 600; }
.error:empty { display: none; }
.form-error { padding: 9px 12px; border-radius: var(--radius); background: var(--danger-tint); color: var(--danger); font-weight: 600; font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; min-height: 32px; cursor: pointer; }
.check input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check small { display: block; color: var(--ink-2); font-size: 13px; }
.pick-list li { padding: 9px 0; border-top: 1px solid var(--line); }
.modal-note { font-size: 14px; color: var(--ink-2); }
.statement { padding: 2px 14px; border-radius: var(--radius); background: var(--bg); }
.statement .facts > div:first-child { border-top: 0; }
.statement .facts > div { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 520px) { .modal-body { grid-template-columns: minmax(0, 1fr); } }
.toasts { position: fixed; z-index: 60; right: 16px; bottom: 16px; display: grid; gap: 8px; max-width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 15px; border-radius: var(--radius); background: var(--navy); color: #fff; box-shadow: 0 12px 28px -12px rgba(25, 28, 18, .6); }
.toast .icon { margin-top: 2px; color: #bfd37a; }
.toast-warn .icon { color: #ffc35c; }
.noscript { padding: 40px; text-align: center; }

/* Role screen */
.signin { max-width: 980px; margin: 0 auto; padding: 44px 20px 64px; text-align: center; }
.signin h1 { margin-top: 28px; font: 700 clamp(28px, 4vw, 38px)/1.12 var(--head); }
.signin-sub { max-width: 54ch; margin: 8px auto 0; color: var(--ink-2); }
.signin .roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; text-align: left; }
.signin .roles li { display: flex; }
.signin .role { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; padding: 22px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface); text-align: left; cursor: pointer; }
.signin .role:hover { border-color: var(--accent); box-shadow: 0 14px 28px -20px rgba(25, 28, 18, .5); }
.role-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--accent-tint); color: var(--accent-dark); }
.role-icon .icon { width: 22px; height: 22px; }
.role-title { margin-top: 10px; font: 700 21px/1.2 var(--head); }
.role-name { color: var(--accent-dark); font-weight: 600; font-size: 14px; }
.role-short { display: none; }
.role-points { display: grid; gap: 7px; margin-top: 12px; font-size: 14px; }
.role-points > span { display: flex; gap: 8px; align-items: flex-start; }
.role-points .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--accent); }
@media (max-width: 880px) and (min-width: 761px) { .signin .roles { grid-template-columns: minmax(0, 1fr); } }
/* Loading placeholder shown while a screen opens */
.page-skel { display: grid; grid-column: 1 / -1; align-content: start; gap: 14px; width: 100%; min-width: 0; padding: 2px; }
.page-skel i { display: block; height: 96px; border-radius: var(--radius-lg, 8px); background: linear-gradient(90deg, rgba(100, 112, 128, .13) 25%, rgba(100, 112, 128, .05) 50%, rgba(100, 112, 128, .13) 75%); background-size: 200% 100%; animation: skel-shimmer 1s linear infinite; }
.page-skel .sk-title { width: min(280px, 70%); height: 30px; }
.page-skel .sk-line { width: min(420px, 90%); height: 14px; }
.page-skel > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.page-skel .sk-block { height: 280px; }
@keyframes skel-shimmer { to { background-position: -200% 0; } }
@media (max-width: 760px) { .page-skel > div { grid-template-columns: minmax(0, 1fr); } .page-skel > div i { height: 68px; } }
.page-in > * { animation: page-in .3s ease-out both; }
@keyframes page-in { from { opacity: 0; } }
.page-skel.is-flush { box-sizing: border-box; padding: 22px 24px; }
.balance strong, h1, h2, h3, .role-title, .floor-no, .cell-top b { font-variant-numeric: lining-nums; }
