/* estacc Property — interface styles */
:root {
  --ink: #18262c;
  --ink-2: #44555c;
  --muted: #6d7d83;
  --rail: #12343b;
  --rail-2: #1a434b;
  --rail-ink: #cfe3dd;
  --accent: #1f6f5c;
  --accent-2: #185a4a;
  --accent-soft: #e4f1ec;
  --paper: #f4f6f5;
  --panel: #ffffff;
  --line: #dde5e2;
  --line-2: #eef2f0;
  --amber: #a8681a;
  --amber-soft: #fbf0de;
  --red: #b0413b;
  --red-soft: #f9e5e3;
  --blue: #2c6390;
  --blue-soft: #e3eef7;
  --green-soft: #e4f1ec;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(18, 52, 59, .06), 0 2px 8px rgba(18, 52, 59, .04);
  --font: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); font-size: 14px; line-height: 1.45; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
.num, td.num, th.num, .money { font-variant-numeric: tabular-nums; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.boot { padding: 40px; color: var(--muted); }
.hidden { display: none !important; }

/* ── Shell ── */
.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.rail { background: var(--rail); color: var(--rail-ink); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; color: #fff; }
.brand img { width: 30px; height: 30px; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; line-height: 1.1; }
.brand-name span { display: block; font-weight: 400; font-size: 11.5px; color: #8fb8ad; letter-spacing: 0; }
.org-switch { margin: 0 12px 12px; padding: 9px 11px; border-radius: 7px; background: var(--rail-2); color: #fff; border: 1px solid rgba(255,255,255,.06); font-size: 12.5px; line-height: 1.3; cursor: pointer; text-align: left; width: calc(100% - 24px); }
.org-switch small { display: block; color: #8fb8ad; font-size: 11px; }
.nav { padding: 4px 8px 16px; flex: 1; }
.nav-group { margin-top: 14px; }
.nav-group > div { padding: 0 10px 4px; font-size: 11.5px; color: #7fa59b; font-weight: 600; }
.nav a { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 6px; color: var(--rail-ink); font-size: 13.5px; text-decoration: none; }
.nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav a.active { background: #e6f2ee; color: var(--rail); font-weight: 600; }
.nav svg { width: 16px; height: 16px; flex: none; opacity: .85; }
.rail-foot { padding: 12px 18px 16px; font-size: 11px; color: #7fa59b; border-top: 1px solid rgba(255,255,255,.06); }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 28px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar .spacer { flex: 1; }
.search { position: relative; width: min(360px, 40vw); }
.search input[type=search] { width: 100%; padding: 7px 10px 7px 32px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.search svg { position: absolute; left: 10px; top: 9px; width: 15px; height: 15px; color: var(--muted); }
.search-results { position: absolute; top: 38px; left: 0; right: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.1); max-height: 380px; overflow-y: auto; z-index: 30; }
.search-results a { display: block; padding: 8px 12px; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.search-results a:hover, .search-results a.sel { background: var(--accent-soft); text-decoration: none; }
.search-results small { color: var(--muted); }
.user-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.user-btn:hover { background: var(--paper); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.user-btn .who { text-align: left; font-size: 12.5px; line-height: 1.2; }
.user-btn .who small { display: block; color: var(--muted); }
.menu { position: absolute; right: 20px; top: 52px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); min-width: 220px; z-index: 40; padding: 6px; }
.menu button, .menu a { display: block; width: 100%; text-align: left; padding: 8px 10px; background: none; border: 0; border-radius: 6px; cursor: pointer; color: var(--ink); }
.menu button:hover, .menu a:hover { background: var(--paper); text-decoration: none; }
.content { padding: 24px 28px 48px; max-width: 1440px; width: 100%; }
.menu-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }

/* ── Page header ── */
.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { font-size: 22px; }
.page-head .sub { color: var(--muted); margin-top: 3px; font-size: 13px; }
.page-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.crumbs a { color: var(--muted); }

/* ── Buttons & inputs ── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 7px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; font-weight: 550; font-size: 13.5px; white-space: nowrap; color: var(--ink); text-decoration: none; }
.btn:hover { border-color: #c4d0cc; background: #fafcfb; text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-2); }
.btn.danger { color: var(--red); border-color: #e7c4c1; }
.btn.danger:hover { background: var(--red-soft); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.small { padding: 4px 9px; font-size: 12.5px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 15px; height: 15px; }
label.field { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 550; color: var(--ink-2); }
label.field .hint { font-weight: 400; color: var(--muted); font-size: 11.5px; }
input[type=text], input[type=search], input[type=email], input[type=password], input[type=number], input[type=date], input[type=month], input:not([type]), select, textarea {
  padding: 7px 9px; border: 1px solid #cfd9d6; border-radius: 6px; background: #fff; font-size: 13.5px; min-width: 0; width: 100%;
}
label.field input, label.field select, label.field textarea { font-weight: 400; color: var(--ink); }
::placeholder { color: #9aa8ad; font-weight: 400; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,111,92,.14); }
input.num { text-align: right; }
textarea { resize: vertical; min-height: 64px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink); }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.grid { display: grid; gap: 12px 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.span2 { grid-column: span 2; } .span3 { grid-column: span 3; } .spanall { grid-column: 1 / -1; }
.toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar input, .toolbar select { width: auto; }
.toolbar .grow { flex: 1; }

/* ── Panels, tables ── */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel + .panel { margin-top: 16px; }
.panel-head { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); }
.panel-head h2 { font-size: 15px; }
.panel-head .actions { margin-left: auto; display: flex; gap: 6px; }
.panel-body { padding: 16px; }
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-weight: 600; color: var(--ink-2); font-size: 12px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #fafbfb; position: sticky; top: 0; white-space: nowrap; }
table.t td { padding: 8px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.t th.num, table.t td.num { text-align: right; white-space: nowrap; }
table.t td.nw { white-space: nowrap; }
table.t tbody tr.click { cursor: pointer; }
table.t tbody tr.click:hover td { background: #f6faf8; }
table.t tr.r-header td { font-weight: 700; padding-top: 14px; background: #fff; border-bottom-color: var(--line); }
table.t tr.r-subheader td { font-weight: 650; color: var(--ink-2); }
table.t tr.r-subtotal td { font-weight: 650; border-top: 1px solid #b9c7c3; }
table.t tr.r-total td { font-weight: 700; border-top: 1.5px solid var(--ink); border-bottom: 3px double var(--ink); background: #fbfcfb; }
table.t tr.r-muted td { color: var(--muted); font-style: italic; }
table.t tr.void td { color: var(--muted); text-decoration: line-through; }
table.t tfoot td { font-weight: 700; border-top: 1.5px solid var(--ink); background: #fbfcfb; }
.t-compact td, .t-compact th { padding: 6px 10px !important; }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.neg { color: var(--red); }

.badge { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.badge.green { background: var(--green-soft); color: var(--accent-2); }
.badge.amber { background: var(--amber-soft); color: var(--amber); }
.badge.red { background: var(--red-soft); color: var(--red); }
.badge.blue { background: var(--blue-soft); color: var(--blue); }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs a { padding: 9px 14px; color: var(--muted); font-weight: 550; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.active { color: var(--accent-2); border-bottom-color: var(--accent); }

/* ── KPI strip ── */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.kpi .label { font-size: 12.5px; color: var(--muted); font-weight: 550; }
.kpi .value { font-size: 22px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi .foot { font-size: 12px; color: var(--muted); margin-top: 2px; }
.kpi .bar { height: 5px; border-radius: 3px; background: var(--line-2); margin-top: 8px; overflow: hidden; }
.kpi .bar span { display: block; height: 100%; background: var(--accent); }

.dash { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; }
.dash .panel + .panel { margin-top: 0; }
.dash-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* ── Tower view: the building elevation, one cell per unit ── */
.towers { display: flex; gap: 22px; overflow-x: auto; padding: 4px 2px 6px; align-items: flex-end; }
.tower { flex: none; }
.tower-name { font-size: 12px; font-weight: 650; color: var(--ink-2); margin-top: 8px; text-align: center; }
.tower-body { border: 1.5px solid #9fb3ad; border-bottom-width: 4px; border-radius: 6px 6px 0 0; padding: 6px; background: linear-gradient(#fbfcfc, #f2f6f4); }
.floor-row { display: flex; gap: 3px; align-items: center; }
.floor-row + .floor-row { margin-top: 3px; }
.floor-lbl { width: 40px; font-size: 10px; color: var(--muted); text-align: right; padding-right: 4px; font-variant-numeric: tabular-nums; }
.unit-cell { width: 22px; height: 16px; border-radius: 2px; background: #d7e9e2; border: 0; cursor: pointer; padding: 0; }
.unit-cell:hover { outline: 2px solid var(--ink); outline-offset: 1px; }
.unit-cell.current { background: #9fd0bd; }
.unit-cell.overdue { background: #e9b45c; }
.unit-cell.delinquent { background: #c9483f; }
.unit-cell.advance { background: #7ea9cf; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); margin-top: 10px; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

/* charts */
.chart svg { width: 100%; height: auto; display: block; }
.chart text { font-size: 10.5px; fill: var(--muted); font-family: var(--font); }
.chart-legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; }
.aging-bars { display: flex; flex-direction: column; gap: 7px; }
.aging-row { display: grid; grid-template-columns: 92px 1fr 104px; align-items: center; gap: 10px; font-size: 12.5px; }
.aging-row .track { height: 10px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.aging-row .track span { display: block; height: 100%; border-radius: 3px; }
.aging-row .amt { text-align: right; font-variant-numeric: tabular-nums; }
.list-rows > div { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.list-rows > div:last-child { border-bottom: 0; }
.list-rows .r { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }
.list-rows small { color: var(--muted); }

/* ── Detail layouts ── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 13px; }
.facts div small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 550; }
.big-balance { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.callout { padding: 10px 12px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-2); font-size: 13px; }
.callout.amber { background: var(--amber-soft); color: #7d4e14; }
.callout.red { background: var(--red-soft); color: #8a2f2a; }
.callout.blue { background: var(--blue-soft); color: #234f72; }
.steps { display: flex; gap: 8px; margin-bottom: 16px; font-size: 12.5px; color: var(--muted); }
.steps span { padding: 4px 10px; border-radius: 99px; background: var(--line-2); }
.steps span.on { background: var(--accent); color: #fff; }

/* ── Modal & toast ── */
.overlay { position: fixed; inset: 0; background: rgba(18, 38, 44, .42); display: grid; place-items: center; z-index: 100; padding: 20px; }
.modal { background: var(--panel); border-radius: 10px; width: min(560px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal.wide { width: min(900px, 100%); }
.modal.xwide { width: min(1160px, 100%); }
.modal-head { padding: 16px 20px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-2); }
.modal-head h2 { font-size: 17px; }
.modal-head .x { margin-left: auto; background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.modal-body { padding: 16px 20px; overflow-y: auto; }
.modal-foot { padding: 12px 20px 16px; display: flex; gap: 8px; justify-content: flex-end; border-top: 1px solid var(--line-2); align-items: center; }
.modal-foot .left { margin-right: auto; color: var(--muted); font-size: 12.5px; }
.form-error { background: var(--red-soft); color: #8a2f2a; padding: 9px 12px; border-radius: 6px; margin-bottom: 12px; font-size: 13px; }
#toasts { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 200; }
.toast { background: var(--rail); color: #fff; padding: 10px 14px; border-radius: 8px; font-size: 13.5px; box-shadow: 0 6px 20px rgba(0,0,0,.2); max-width: 380px; animation: tin .18s ease-out; }
.toast.err { background: var(--red); }
@keyframes tin { from { transform: translateY(8px); opacity: 0; } }

/* lines editor */
.lines td { padding: 4px 6px !important; }
.lines input, .lines select { padding: 5px 7px; }
.lines .rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 18px; }
.totals-bar { display: flex; gap: 18px; justify-content: flex-end; padding: 10px 6px 0; font-size: 13px; }
.totals-bar b { font-variant-numeric: tabular-nums; }

/* password show/hide */
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap input { padding-right: 40px; width: 100%; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 6px; color: var(--muted); cursor: pointer; padding: 0; }
.pw-toggle:hover { color: var(--ink); background: var(--paper); }
.pw-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
input::-ms-reveal, input::-ms-clear { display: none; }

/* subscription */
.meter { margin-top: 6px; }
.meter-num { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.meter-num b { font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.meter .bar { height: 6px; border-radius: 3px; background: var(--line-2); margin-top: 8px; overflow: hidden; }
.meter .bar span { display: block; height: 100%; border-radius: 3px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.seg button { border: 0; background: var(--panel); padding: 6px 14px; cursor: pointer; font-weight: 550; color: var(--ink-2); }
.seg button.on { background: var(--rail); color: #fff; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; padding: 14px 16px 16px; }
.plan-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 6px; background: var(--panel); }
.plan-card.current { border: 2px solid var(--accent); padding: 13px; background: #f8fcfa; }
.plan-name { font-weight: 700; font-size: 15px; }
.plan-price { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.plan-meta { font-size: 12.5px; color: var(--ink-2); }
.plan-feats { font-size: 12px; color: var(--muted); margin-top: 4px; }
.plan-card ul { margin: 0; padding-left: 16px; font-size: 12.5px; line-height: 1.5; flex: 1; }
.plan-card li.soon { color: var(--muted); }
.plan-action { margin-top: 8px; }
.plan-action .btn { width: 100%; justify-content: center; }
.hint { font-size: 12px; color: var(--muted); }
table.compare td:not(:first-child), table.compare th:not(:first-child) { text-align: center; width: 12%; }
table.compare .cur { background: #f1f8f5; }

/* ── Auth ── */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: var(--rail); color: #e6f2ee; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side h1 { font-size: 34px; line-height: 1.15; color: #fff; max-width: 460px; letter-spacing: -0.025em; }
.auth-side p { color: #a9cbc1; max-width: 420px; font-size: 15px; }
.auth-skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; opacity: .9; }
.auth-form { display: grid; place-items: center; padding: 32px; background: var(--paper); }
.auth-card { width: min(380px, 100%); }
.auth-card h2 { font-size: 22px; margin-bottom: 4px; }
.auth-card .sub { color: var(--muted); margin-bottom: 22px; }
.auth-card form { display: flex; flex-direction: column; gap: 14px; }
.auth-card .btn { justify-content: center; padding: 10px; }
.by { font-size: 12px; color: #7fa59b; position: relative; z-index: 1; }

.report-meta { padding: 14px 16px 6px; }
.report-meta h2 { font-size: 17px; }
.report-meta div { color: var(--muted); font-size: 12.5px; }
.report-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.report-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; text-align: left; }
.report-card:hover { border-color: var(--accent); }
.report-card.locked { background: var(--paper); border-style: dashed; }
.report-card.locked b { color: var(--ink-2); }
.report-card.locked svg { width: 14px; height: 14px; }
.report-card b { display: block; margin-bottom: 3px; }
.report-card span { color: var(--muted); font-size: 12.5px; }
.group-title { font-size: 13px; font-weight: 650; color: var(--ink-2); margin: 22px 0 10px; }
.perm-grid td, .perm-grid th { text-align: center; }
.perm-grid td:first-child, .perm-grid th:first-child { text-align: left; }
.yes { color: var(--accent); font-weight: 700; }
pre.json { background: var(--paper); padding: 8px; border-radius: 6px; font-size: 11.5px; max-width: 520px; white-space: pre-wrap; margin: 4px 0 0; }

@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash, .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .rail { position: fixed; left: 0; top: 0; bottom: 0; width: 250px; z-index: 60; transform: translateX(-100%); transition: transform .2s; }
  .shell.nav-open .rail { transform: none; }
  .menu-toggle { display: block; }
  .topbar { padding: 0 14px; }
  .content { padding: 16px; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .user-btn .who { display: none; }
}
@media (max-width: 520px) {
  .kpis, .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .span2, .span3 { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media print {
  .rail, .topbar, .actions, .toolbar, .tabs { display: none !important; }
  .shell { display: block; }
  .content { padding: 0; }
  .panel { box-shadow: none; border: 0; }
}
