:root {
  color-scheme: light;
  --brand: #1677ff;
  --brand-strong: #095ec9;
  --brand-soft: #eaf3ff;
  --accent: #f5a524;
  --ink: #25324a;
  --muted: #6e7990;
  --line: #e3e9f2;
  --surface: #ffffff;
  --canvas: #f6f8fc;
  --danger: #c43b43;
  --danger-soft: #fff0f1;
  --warning: #a76200;
  --warning-soft: #fff6df;
  --success: #1b7a58;
  --success-soft: #eaf7f0;
  --shadow: 0 18px 50px rgba(37, 74, 130, 0.10);
  --shadow-soft: 0 5px 20px rgba(37, 74, 130, 0.07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--canvas); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(122, 180, 255, 0.14), transparent 32rem),
    var(--canvas);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 16px;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand);
  border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.boot-screen,
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.boot-card { display: grid; justify-items: center; gap: 16px; color: var(--muted); }
.spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 4px solid var(--brand-soft);
  border-top-color: var(--brand);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.login-page {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(280px, 530px) minmax(380px, 560px);
  gap: clamp(36px, 8vw, 120px);
  background:
    radial-gradient(circle at 8% 8%, rgba(95, 167, 255, .24), transparent 26rem),
    radial-gradient(circle at 92% 92%, rgba(104, 208, 203, .18), transparent 24rem),
    linear-gradient(135deg, #f8fbff, #eef5ff 52%, #f8fafc);
}

.login-page::before,
.login-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.login-page::before { width: 280px; height: 280px; left: -110px; bottom: -130px; border: 44px solid rgba(22, 119, 255, .07); }
.login-page::after { width: 210px; height: 210px; right: -70px; top: -80px; background: rgba(112, 200, 194, .10); }
.login-story,
.login-card { position: relative; z-index: 1; }
.login-story {
  max-width: 530px;
  padding: clamp(28px, 4vw, 48px);
  color: var(--ink);
  border: 1px solid rgba(194, 216, 245, .8);
  border-radius: 32px;
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
}
.login-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 54px; }
.login-brand-mark,
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(42, 91, 160, .13);
}
.login-brand-mark img,
.brand-mark img { width: 34px; height: 34px; object-fit: contain; }
.login-brand strong { display: block; font-size: 1.12rem; }
.login-brand span { color: var(--muted); font-size: .9rem; }
.login-story h1 { margin: 0 0 18px; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -.045em; }
.login-story > p { max-width: 48ch; margin: 0; color: var(--muted); font-size: 1.05rem; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.feature-pills span { padding: 9px 13px; color: #31557f; border: 1px solid #d8e7fa; border-radius: 999px; background: rgba(255,255,255,.88); font-size: .9rem; font-weight: 650; }

.login-card {
  width: min(100%, 470px);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #e1e9f4;
  border-radius: 28px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 28px 80px rgba(55, 91, 145, .16);
}
.login-card h2 { margin: 0 0 8px; font-size: 1.75rem; letter-spacing: -.025em; }
.login-card > p { margin: 0 0 28px; color: var(--muted); }
.login-help { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }

.form-field { display: grid; gap: 8px; margin-bottom: 18px; }
.form-field label { font-size: .9rem; font-weight: 700; }
.input-wrap { position: relative; }
.input-wrap .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-wrap input { padding-left: 44px; }
input, select, textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd9d6;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22,119,255,.12); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-hint { color: var(--muted); font-size: .82rem; }
.form-error { min-height: 23px; margin: 4px 0 12px; color: var(--danger); font-size: .88rem; }

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--brand);
  font-weight: 750;
  text-decoration: none;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.button:hover { background: var(--brand-strong); box-shadow: 0 7px 18px rgba(22,119,255,.18); }
.button:active { transform: translateY(1px); }
.button:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }
.button.secondary { color: var(--brand); background: var(--brand-soft); }
.button.secondary:hover { background: #d5ede8; }
.button.ghost { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.button.ghost:hover { background: #f4f8f7; box-shadow: none; }
.button.danger { color: var(--danger); background: var(--danger-soft); }
.button.small { min-height: 34px; padding: 7px 11px; border-radius: 9px; font-size: .86rem; }
.button.block { width: 100%; }
.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}
.icon { width: 19px; height: 19px; display: inline-block; vertical-align: middle; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 264px minmax(0, 1fr); }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: 264px;
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 8px 0 28px rgba(44, 81, 132, .04);
  overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 24px; }
.brand-copy { min-width: 0; }
.brand strong, .brand span { overflow: hidden; display: block; text-overflow: ellipsis; white-space: nowrap; }
.brand strong { color: var(--ink); }
.brand span { color: var(--muted); font-size: .8rem; }
.nav-section { margin: 10px 10px 8px; color: #9aa4b7; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nav-list { display: grid; gap: 3px; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  color: #647089;
  border-radius: 11px;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 650;
}
.nav-link:hover { color: var(--brand); background: #f4f8fe; }
.nav-link.active { color: var(--brand); background: var(--brand-soft); }
.nav-link .badge { margin-left: auto; color: #fff; background: #ef8a2f; }
.sidebar-footer { margin-top: auto; padding-top: 22px; }
.resident-mini { padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #f8faff; }
.resident-mini strong, .resident-mini span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resident-mini span { margin-top: 3px; color: var(--muted); font-size: .8rem; }

.main-shell { grid-column: 2; min-width: 0; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid rgba(220,230,227,.85);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
}
.page-heading { min-width: 0; }
.page-heading h1 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.02em; }
.page-heading p { margin: 2px 0 0; color: var(--muted); font-size: .82rem; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.notification-button { position: relative; }
.notification-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #df6d2c; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-weight: 850; }
.content { width: min(1400px, 100%); margin: 0 auto; padding: 30px clamp(20px, 4vw, 48px) 100px; }

.hero {
  position: relative;
  min-height: 250px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 32px;
  align-items: center;
  padding: clamp(26px, 5vw, 52px);
  overflow: hidden;
  color: var(--ink);
  border: 1px solid #dbe8f8;
  border-radius: 26px;
  background: linear-gradient(122deg, #f5f9ff, #eaf4ff 62%, #edfafa);
  box-shadow: var(--shadow);
}
.hero::after { content: ""; position: absolute; width: 380px; height: 380px; right: -110px; top: -180px; border: 55px solid rgba(22,119,255,.06); border-radius: 50%; }
.hero h2 { margin: 0 0 12px; max-width: 16ch; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
.hero p { max-width: 54ch; margin: 0; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero .button { color: #fff; background: var(--brand); }
.hero .button.secondary { color: var(--brand); border: 1px solid #cfe0f7; background: #fff; }
.hero-balance { position: relative; z-index: 1; padding: 24px; border: 1px solid #d8e6f7; border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-soft); backdrop-filter: blur(8px); }
.hero-balance span { color: var(--muted); font-size: .85rem; }
.hero-balance strong { display: block; margin: 7px 0 10px; font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.04em; }
.hero-balance small { color: #5f7190; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.metric-card, .card { border: 1px solid rgba(213,226,222,.9); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-soft); }
.metric-card { padding: 20px; }
.metric-card .metric-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 13px; color: var(--brand); background: var(--brand-soft); }
.metric-card span { display: block; color: var(--muted); font-size: .82rem; }
.metric-card strong { display: block; margin-top: 5px; font-size: 1.32rem; letter-spacing: -.025em; }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 20px; }
.card { padding: 22px; }
.card-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.card-header > div:first-child { min-width: 0; }
.card-header h2, .card-header h3 { margin: 0; font-size: 1.06rem; }
.card-header p { margin: 4px 0 0; color: var(--muted); font-size: .83rem; }
.card-header .button, .card-header .icon-button { margin-left: auto; flex: 0 0 auto; }

.list { display: grid; gap: 10px; }
.list-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.list-item:hover { border-color: #a9c9c3; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.list-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--brand); background: var(--brand-soft); }
.list-copy { min-width: 0; }
.list-copy strong, .list-copy span { display: block; }
.list-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .94rem; }
.list-copy span { margin-top: 3px; color: var(--muted); font-size: .8rem; }
.list-value { text-align: right; }
.list-value strong, .list-value span { display: block; }
.list-value strong { font-size: .92rem; }
.list-value span { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.unread { border-left: 3px solid var(--brand); background: #fbfefd; }
.unread .list-copy strong::after { content: ""; width: 7px; height: 7px; display: inline-block; margin-left: 7px; border-radius: 50%; background: var(--accent); }

.badge { display: inline-flex; align-items: center; gap: 5px; width: max-content; padding: 4px 8px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.badge.success { color: var(--success); background: var(--success-soft); }
.badge.warning { color: var(--warning); background: var(--warning-soft); }
.badge.danger { color: var(--danger); background: var(--danger-soft); }
.badge.neutral { color: #596b67; background: #edf2f0; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.search { position: relative; min-width: min(100%, 320px); flex: 1; }
.search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { padding-left: 42px; }
.filter-chips { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chip { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--muted); background: #fff; font-weight: 700; font-size: .82rem; }
.chip.active { color: #fff; border-color: var(--brand); background: var(--brand); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); font-size: .86rem; }
th { color: var(--muted); background: #f7faf9; font-size: .75rem; letter-spacing: .02em; }
tbody tr:last-child td { border-bottom: 0; }
.money { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; font-weight: 750; }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.detail-cell { min-height: 76px; padding: 14px; background: #fff; }
.detail-cell span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .75rem; }
.detail-cell strong { font-size: .93rem; }
.detail-cell.wide { grid-column: 1 / -1; }

.invoice-summary { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.payment-panel { position: sticky; top: 94px; padding: 22px; text-align: center; }
.qr-frame { width: min(100%, 270px); aspect-ratio: 1; display: grid; place-items: center; margin: 16px auto; padding: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.qr-placeholder { display: grid; justify-items: center; gap: 10px; color: var(--muted); }
.bank-details { display: grid; gap: 8px; margin: 18px 0; padding: 14px; text-align: left; border-radius: 13px; background: #f5f8f7; }
.bank-row { display: flex; justify-content: space-between; gap: 14px; font-size: .82rem; }
.bank-row span { color: var(--muted); }
.bank-row strong { text-align: right; word-break: break-word; }

.notice-body { color: #344946; white-space: pre-wrap; line-height: 1.75; }
.empty-state { display: grid; justify-items: center; gap: 10px; padding: 42px 20px; text-align: center; color: var(--muted); }
.empty-state .empty-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: var(--brand); background: var(--brand-soft); }
.empty-state h3 { margin: 4px 0 0; color: var(--ink); }
.empty-state p { max-width: 46ch; margin: 0; }

.file-drop { padding: 22px; text-align: center; border: 1px dashed #9abbb5; border-radius: 14px; background: #f8fbfa; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-drop label { cursor: pointer; color: var(--brand); font-weight: 750; }
.file-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; margin-top: 12px; }
.file-preview figure { position: relative; aspect-ratio: 1; margin: 0; overflow: hidden; border-radius: 11px; background: #edf2f0; }
.file-preview img { width: 100%; height: 100%; object-fit: cover; }

.profile-head { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.profile-avatar { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 22px; color: #fff; background: linear-gradient(135deg, var(--brand), #65a8ff); font-size: 1.55rem; font-weight: 900; }
.profile-head h2 { margin: 0 0 4px; }
.profile-head p { margin: 0; color: var(--muted); }

.mobile-nav { display: none; }
.mobile-brand { display: none; }

.toast-region { position: fixed; z-index: 100; top: 18px; right: 18px; display: grid; gap: 9px; width: min(390px, calc(100vw - 32px)); }
.toast { display: flex; gap: 11px; align-items: flex-start; padding: 14px 16px; color: #fff; border-radius: 13px; background: #263a37; box-shadow: 0 16px 42px rgba(0,0,0,.22); animation: toast-in .2s ease-out; }
.toast.error { background: #862f36; }
.toast.success { background: #17664a; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

.modal-backdrop { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(30, 48, 78, .42); backdrop-filter: blur(5px); }
.modal { width: min(570px, 100%); max-height: min(88vh, 760px); overflow-y: auto; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.modal h2 { margin: 0 0 7px; }
.modal > p { margin: 0 0 22px; color: var(--muted); }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }

.skeleton { position: relative; overflow: hidden; min-height: 16px; border-radius: 8px; background: #e7eeec; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

.error-card { padding: 24px; color: var(--danger); border: 1px solid #f0c7ca; border-radius: 16px; background: var(--danger-soft); }
.error-card h3 { margin: 0 0 7px; }
.error-card p { margin: 0 0 16px; }
.online-status { position: fixed; z-index: 90; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 8px 13px; color: #fff; border-radius: 999px; background: #7c4c08; box-shadow: var(--shadow); font-size: .82rem; }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-page { grid-template-columns: 1fr 460px; gap: 42px; }
}

@media (max-width: 860px) {
  .login-page { grid-template-columns: 1fr; }
  .login-story { display: none; }
  .app-shell { display: block; }
  .sidebar { display: none; }
  .main-shell { display: block; }
  .topbar { min-height: 64px; padding: 9px 16px; }
  .mobile-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
  .mobile-brand .brand-mark { width: 38px; height: 38px; border-radius: 11px; box-shadow: none; }
  .mobile-brand .brand-mark img { width: 28px; height: 28px; }
  .mobile-brand strong { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
  .page-heading { display: none; }
  .content { padding: 20px 14px 94px; }
  .hero { min-height: unset; grid-template-columns: 1fr; padding: 26px 22px; border-radius: 20px; }
  .hero-balance { padding: 18px; }
  .grid-2, .invoice-summary { grid-template-columns: 1fr; }
  .payment-panel { position: static; }
  .mobile-nav { position: fixed; z-index: 40; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px max(7px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(7px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(18px); }
  .mobile-nav a { display: grid; justify-items: center; gap: 3px; padding: 5px 2px; color: var(--muted); text-decoration: none; font-size: .66rem; font-weight: 700; }
  .mobile-nav a.active { color: var(--brand); }
  .mobile-nav .icon { width: 20px; height: 20px; }
}

@media (max-width: 560px) {
  .login-page { padding: 18px; align-items: center; background: linear-gradient(150deg, #f5f9ff, #eef5ff 58%, #f8fafc); }
  .login-card { min-height: auto; width: 100%; display: flex; flex-direction: column; justify-content: center; border: 1px solid #e1e9f4; border-radius: 24px; box-shadow: 0 18px 50px rgba(55, 91, 145, .13); }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-card { padding: 15px; }
  .metric-card .metric-icon { margin-bottom: 12px; }
  .metric-card strong { font-size: 1rem; }
  .card { padding: 17px; border-radius: 16px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-cell.wide { grid-column: auto; }
  .list-item { gap: 10px; padding: 12px; }
  .list-icon { width: 38px; height: 38px; }
  .list-value { display: none; }
  .modal { padding: 20px; border-radius: 18px; }
}

@media print {
  .sidebar, .topbar, .mobile-nav, .toolbar, .button, .icon-button, .toast-region { display: none !important; }
  .app-shell, .main-shell { display: block; }
  .content { width: 100%; padding: 0; }
  .card, .metric-card, .hero { box-shadow: none; break-inside: avoid; }
  body { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
