:root {
  --primary: #5e17eb;
  --primary-dark: #4810b9;
  --ink: #21183b;
  --muted: #716b85;
  --line: #ebe8f2;
  --canvas: #f6f5fa;
  --violet-soft: #f1ebff;
  --invoice: #4a70e8;
  --orders: #ed941b;
  --desadv: #13a5b0;
  --recadv: #d36388;
  --genral: #7c8098;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #9b72f5;
  outline-offset: 4px;
}
a { color: var(--primary); }
h1, h2, h3, p { margin-top: 0; }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 10; padding: 12px 20px; background: var(--primary); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.muted { color: var(--muted); line-height: 1.65; }
.eyebrow { color: var(--primary); font-size: .65rem; font-weight: 750; letter-spacing: .16em; margin-bottom: 8px; }
.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 224px; flex: none; display: flex; flex-direction: column; gap: 34px;
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto;
  padding: 35px 18px 20px; background: white; border-right: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; padding: 0 6px; }
.brand img { width: 176px; height: auto; }
.brand > span { margin-top: 8px; color: #8a829e; font-size: .58rem; font-weight: 700; letter-spacing: .24em; }
.sidebar nav { flex: 1; }
.nav-label { color: #8a829e; font-size: .57rem; letter-spacing: .09em; margin: 0 12px 14px; }
.nav-item { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 12px; margin-bottom: 6px; border-radius: 9px; font-size: .82rem; text-decoration: none; }
.nav-active { background: var(--primary); color: white; font-weight: 650; box-shadow: 0 4px 10px #5e17eb21; }
.nav-active:hover { background: var(--primary-dark); }
.nav-future { color: #878091; flex-wrap: wrap; }
.nav-future small { font-size: .57rem; color: #80758e; padding: 3px 5px; background: #f5f3f8; border-radius: 4px; margin-left: 31px; margin-top: -6px; }
.sidebar-note { display: flex; align-items: center; gap: 10px; padding: 14px 11px; border-radius: 9px; color: var(--primary); background: #f8f5ff; font-size: .72rem; }
.sidebar-note span { display: block; margin-top: 3px; color: var(--muted); font-size: .65rem; }
.sidebar-footer { border-top: 1px solid var(--line); padding-top: 18px; }
.user-profile { display: flex; align-items: center; gap: 9px; min-width: 0; }
.user-profile > div { min-width: 0; }
.user-profile strong { display: block; font-size: .75rem; font-weight: 650; }
#userEmail { display: block; font-size: .65rem; color: var(--muted); overflow-wrap: anywhere; margin-top: 3px; }
.avatar { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--violet-soft); color: var(--primary); font-size: .83rem; font-weight: 700; flex: none; }
.logout-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; margin-top: 14px; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .73rem; }
.logout-button .icon { width: 16px; height: 16px; }
.logout-button:hover { color: var(--primary); background: #faf8ff; border-color: #d5c4f7; }
.main { flex: 1; min-width: 0; max-width: 1660px; margin: 0 auto; padding: 32px clamp(22px, 2.5vw, 44px) 28px; }
.page-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.page-header h1 { font-size: 1.85rem; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 6px; font-weight: 720; }
.page-header .muted { font-size: .83rem; margin-bottom: 0; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: white; border: 1px solid #ddd6eb; padding: 10px 15px; border-radius: 8px; color: var(--primary); font-size: .75rem; font-weight: 650; min-height: 40px; }
.secondary-button:hover { border-color: var(--primary); background: #faf8ff; }
.secondary-button .icon { width: 16px; height: 16px; }
.secondary-button:disabled { cursor: wait; }
.status-message { min-height: 18px; margin: 10px 0 17px; color: var(--muted); font-size: .68rem; text-align: right; }
.status-message[data-state="error"] { color: #ac2550; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 22px; align-items: start; }
.overview { min-width: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.stat-card, .panel { background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 3px 14px #24133b03; }
.stat-card { padding: 18px 19px 16px; }
.stat-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .75rem; color: var(--muted); }
.stat-icon { width: 34px; height: 34px; padding: 8px; border-radius: 9px; }
.stat-total .stat-icon { color: var(--primary); background: var(--violet-soft); }
.stat-invoice .stat-icon { color: var(--invoice); background: #edf1ff; }
.stat-orders .stat-icon { color: #be7014; background: #fff5e5; }
.stat-card > strong { display: block; font-size: clamp(1.65rem, 2.2vw, 2.15rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.3; margin: 12px 0 18px; font-variant-numeric: tabular-nums; }
.stat-footer { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding-top: 10px; border-top: 3px solid var(--violet-soft); font-size: .59rem; color: var(--muted); }
.stat-invoice .stat-footer { border-color: #e7edff; }
.stat-orders .stat-footer { border-color: #ffedd1; }
.stat-code { letter-spacing: .03em; font-size: .55rem; font-weight: 650; color: var(--primary); }
.stat-invoice .stat-code { color: var(--invoice); }
.stat-orders .stat-code { color: #b76a09; }
.secondary-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 17px 12px; margin-bottom: 20px; background: #eeebf5; border: 1px solid #e8e3f0; border-radius: 10px; }
.secondary-stats > div { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 9px; border-right: 1px solid #ddd7e9; }
.secondary-stats > div:last-child { border: 0; }
.secondary-stats .icon { color: #8a6eae; }
.secondary-stats span { color: var(--muted); font-size: .65rem; }
.secondary-stats strong { display: block; margin-top: 4px; color: var(--ink); font-size: 1.04rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.panel { padding: 22px; margin-bottom: 20px; min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.panel-heading h2 { font-size: .94rem; font-weight: 650; line-height: 1.4; margin-bottom: 0; }
.panel-caption { color: var(--muted); font-size: .69rem; line-height: 1.6; margin: 5px 0 0; }
.panel-tag { background: #f7f5fb; color: var(--muted); border: 1px solid var(--line); padding: 6px 10px; font-size: .61rem; border-radius: 6px; white-space: nowrap; }
.view-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #f8f7fb; }
.view-switch button { border: 0; border-radius: 5px; background: transparent; color: var(--muted); padding: 6px 10px; font-size: .63rem; min-height: 30px; }
.view-switch button[aria-pressed="true"] { color: var(--primary); background: white; box-shadow: 0 1px 5px #26134912; font-weight: 650; }
.chart { min-height: 220px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .78rem; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .axis-label { font-size: 11px; fill: #7c7390; font-family: inherit; }
.chart .bar-value { font-size: 11px; fill: var(--ink); font-family: inherit; font-weight: 600; }
.chart .chart-bar:hover { fill: var(--primary); }
.chart-footnote { color: var(--muted); font-size: .62rem; margin: 14px 0 0; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 15px; color: var(--muted); font-size: .64rem; }
.legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 5px; background: var(--primary); }
.legend .legend-invoice::before { background: var(--invoice); }
.legend .legend-orders::before { background: var(--orders); }
.legend .legend-desadv::before { background: var(--desadv); }
.legend .legend-recadv::before { background: var(--recadv); }
.legend .legend-genral::before { background: var(--genral); }
.badge { border-radius: 5px; padding: 5px 8px; background: var(--violet-soft); color: var(--primary); font-size: .58rem; font-weight: 650; white-space: nowrap; }
.badge-demo { background: #fff4e3; color: #9b6009; }
.projects-panel { text-align: center; padding-bottom: 24px; }
.projects-panel .panel-heading { text-align: left; }
.project-illustration { position: relative; width: 158px; height: 158px; margin: 25px auto 21px; display: grid; place-items: center; border: 1px dashed #dcd1f4; border-radius: 50%; }
.project-orbit { display: grid; place-items: center; width: 120px; height: 120px; border: 14px solid #eee7ff; outline: 1px solid #f5f1fc; border-radius: 50%; background: #faf8ff; }
.project-orbit .icon { width: 39px; height: 39px; color: var(--primary); stroke-width: 1.35; }
.orbit-dot { position: absolute; width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; }
.orbit-one { top: 12px; right: 24px; background: var(--primary); }
.orbit-two { bottom: 20px; right: 9px; background: var(--orders); }
.orbit-three { bottom: 34px; left: 0; background: var(--desadv); }
.projects-panel h3 { font-size: 1.04rem; line-height: 1.45; letter-spacing: -.01em; font-weight: 650; margin-bottom: 12px; }
.projects-panel .muted { font-size: .72rem; margin-bottom: 21px; }
.future-note { display: inline-flex; align-items: center; gap: 7px; font-size: .65rem; color: var(--muted); }
.future-note .icon { width: 14px; height: 14px; }
.onboarding-panel .panel-heading { margin-bottom: 0; align-items: center; }
.onboarding-list { list-style: none; margin: 16px 0 0; padding: 0; }
.onboarding-list li { display: flex; align-items: center; gap: 11px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.onboarding-list li:last-child { border: 0; }
.demo-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; font-size: .69rem; font-weight: 700; flex: none; }
.demo-purple { color: var(--primary); background: var(--violet-soft); }
.demo-blue { color: #4567c8; background: #edf1ff; }
.demo-orange { color: #b5710a; background: #fff2df; }
.demo-green { color: #1d8d71; background: #e5f7f1; }
.onboarding-list strong { display: block; font-size: .73rem; font-weight: 600; }
.onboarding-list li div span { display: block; color: var(--muted); font-size: .61rem; margin-top: 4px; }
.stage-dot { width: 6px; height: 6px; border-radius: 50%; margin-left: auto; flex: none; }
.stage-purple { background: var(--primary); }
.stage-blue { background: var(--invoice); }
.stage-orange { background: var(--orders); }
.stage-green { background: #279c7e; }
.demo-note { border-top: 1px solid var(--line); padding-top: 14px; margin: 0; font-size: .61rem; color: var(--muted); line-height: 1.6; }
.providers-panel { padding-bottom: 0; }
.search-field { display: flex; align-items: center; gap: 8px; padding: 9px 12px; color: #8a829e; border: 1px solid var(--line); border-radius: 8px; background: #faf9fc; }
.search-field .icon { width: 16px; height: 16px; }
.search-field input { min-width: 0; width: 160px; border: 0; background: transparent; color: var(--ink); font-size: .73rem; }
.search-field input::placeholder { color: var(--muted); }
.search-field:focus-within { border-color: #af8bf8; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 650px; font-size: .73rem; }
th { color: var(--muted); background: #f8f7fb; font-weight: 600; font-size: .65rem; white-space: nowrap; }
td, th { padding: 15px 14px; text-align: left; border-bottom: 1px solid var(--line); }
td { font-variant-numeric: tabular-nums; }
td:not(:first-child), th:not(:first-child) { text-align: right; }
td:first-child { width: 42%; overflow-wrap: anywhere; }
tbody tr:hover { background: #fcfaff; }
.provider-name { display: flex; align-items: center; gap: 10px; }
.provider-avatar { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; background: #f3f0f9; color: #7c64a3; font-size: .6rem; font-weight: 650; flex: none; }
.empty-cell { color: var(--muted); padding: 30px; text-align: center !important; }
.table-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 16px 0; }
.table-footer p { color: var(--muted); font-size: .65rem; margin: 0; }
.pagination { display: flex; align-items: center; gap: 12px; }
.pagination button { display: grid; place-items: center; background: white; border: 1px solid var(--line); border-radius: 7px; width: 32px; height: 32px; color: var(--primary); }
.pagination button:hover:enabled { background: var(--violet-soft); }
.pagination .icon { width: 15px; height: 15px; }
.pagination span { font-size: .65rem; color: var(--muted); white-space: nowrap; }
.page-footer { display: flex; justify-content: space-between; gap: 12px; color: #82798e; font-size: .6rem; }
/* Shared corporate access and second-factor screens. */
.login-body { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 36px; background: radial-gradient(ellipse at 15% 10%, #eee5ff 0, transparent 45%), #f5f4f9; }
.auth-shell { display: grid; grid-template-columns: .95fr 1.05fr; width: min(100%, 1080px); min-height: 660px; border: 1px solid #e5def1; border-radius: 22px; overflow: hidden; background: white; box-shadow: 0 24px 80px #3113650d; }
.auth-brand-panel { position: relative; overflow: hidden; padding: 42px; color: white; display: flex; flex-direction: column; background: radial-gradient(ellipse at 5% 0, #7940ec 0, transparent 55%), linear-gradient(135deg, #5620c6, #36115f); }
.auth-brand-panel::before, .auth-brand-panel::after { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid #ffffff0c; border-radius: 50%; bottom: -210px; right: -140px; pointer-events: none; }
.auth-brand-panel::after { width: 540px; height: 540px; right: -195px; bottom: -265px; }
.auth-logo { width: 210px; height: auto; position: relative; }
.auth-brand-content { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; padding: 65px 0 40px; }
.auth-eyebrow { color: #d7c3ff; font-size: .59rem; letter-spacing: .17em; font-weight: 600; margin-bottom: 20px; }
.auth-brand-content h2 { font-size: clamp(2.2rem, 3.5vw, 3.1rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 600; margin-bottom: 24px; }
.auth-brand-content > p:not(.auth-eyebrow) { color: #ded0f5; font-size: .85rem; line-height: 1.8; margin-bottom: 38px; }
.auth-brand-footer { position: relative; color: #baa1d9; font-size: .55rem; letter-spacing: .14em; margin: 0; }
.connection-art { display: flex; align-items: center; max-width: 330px; }
.connection-node { border: 1px solid #b88fe44a; border-radius: 12px; width: 54px; height: 54px; background: #ffffff08; display: grid; place-items: center; }
.connection-node .icon { color: #d8b9ff; width: 24px; height: 24px; }
.connection-hub { width: 78px; height: 78px; background: #ffffff12; border: 1px solid #ad8cd754; border-radius: 20px; display: grid; place-items: center; box-shadow: 0 0 0 10px #ffffff03; }
.connection-hub .icon { color: white; width: 34px; height: 34px; stroke-width: 1.4; }
.connection-line { height: 1px; background: #b49ac066; width: 36px; position: relative; }
.connection-line::after { content: ""; position: absolute; width: 5px; height: 5px; background: #d3b8ee; border-radius: 50%; top: -2px; left: 16px; }
.verification-art { width: 90px; height: 100px; border: 1px solid #b88fe44a; border-radius: 22px; background: #ffffff08; display: grid; place-items: center; box-shadow: 0 0 0 12px #ffffff03; }
.verification-art .icon { width: 47px; height: 47px; stroke-width: 1.2; color: #dbc6ff; }
.auth-form-panel { display: flex; align-items: center; justify-content: center; padding: 48px; }
.login-card { width: 100%; max-width: 355px; }
.form-logo { display: none; width: 180px; height: auto; margin-bottom: 34px; }
.login-card h1 { font-size: 2.25rem; letter-spacing: -.035em; line-height: 1.2; font-weight: 650; margin-bottom: 20px; }
.auth-intro { font-size: .84rem; margin-bottom: 30px; line-height: 1.8; }
.login-button, .primary-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 15px 18px; min-height: 52px; background: var(--primary); color: white; border: 1px solid var(--primary); border-radius: 9px; font-size: .83rem; font-weight: 600; text-decoration: none; }
.login-button:hover, .primary-button:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.login-button > .icon, .primary-button > .icon { width: 17px; height: 17px; margin-left: auto; }
.microsoft-icon { width: 20px; height: 20px; flex: none; background: white; border: 2px solid white; }
.auth-security { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; color: var(--primary); }
.auth-security .icon { width: 24px; height: 24px; }
.auth-security p { color: var(--ink); font-size: .73rem; margin: 0; font-weight: 600; }
.auth-security p span { display: block; color: var(--muted); font-size: .65rem; line-height: 1.6; font-weight: 400; margin-top: 4px; }
.auth-private-note { font-size: .63rem; color: var(--muted); line-height: 1.8; margin: 24px 0 0; }
.form-message { color: #ac2550; font-size: .75rem; line-height: 1.65; min-height: 1.2em; margin: 12px 0 0; overflow-wrap: anywhere; }
.auth-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .62rem; margin-bottom: 32px; color: var(--muted); }
.auth-steps span { display: inline-flex; align-items: center; gap: 4px; }
.auth-steps .icon { width: 14px; height: 14px; color: #219a78; }
.auth-steps .current-step { color: var(--primary); background: var(--violet-soft); padding: 6px 8px; border-radius: 5px; font-weight: 600; }
.mfa-card h1 { font-size: 1.9rem; }
.login-card label { display: block; font-size: .73rem; font-weight: 600; margin: 20px 0 9px; }
.login-card input { width: 100%; min-height: 57px; border: 1px solid #dcd4ea; border-radius: 9px; background: #fcfbfe; padding: 12px; color: var(--ink); font-size: 1.3rem; text-align: center; letter-spacing: .38em; font-variant-numeric: tabular-nums; }
.login-card input::placeholder { color: #c4bccf; }
.login-card input:focus { border-color: var(--primary); }
.login-card input[aria-invalid="true"] { border-color: #ac2550; }
.login-card .primary-button { margin-top: 20px; }
.login-card .primary-button:disabled { cursor: wait; }
.back-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; margin-top: 20px; font-size: .72rem; }
.back-link .icon { width: 15px; height: 15px; }
.back-link:hover { text-decoration: underline; }
@media (min-width: 1650px) {
  .main { padding-top: 40px; }
  .chart { min-height: 245px; }
}
@media (max-width: 1250px) {
  .sidebar { width: 208px; padding-inline: 14px; }
  .brand img { width: 168px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .dashboard-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .dashboard-rail .panel { margin-bottom: 20px; }
  .projects-panel { display: flex; flex-direction: column; }
  .project-illustration { margin-top: 10px; margin-bottom: 10px; width: 120px; height: 120px; }
  .project-orbit { width: 90px; height: 90px; border-width: 10px; }
  .projects-panel h3 { margin-top: 4px; }
  .projects-panel .future-note { justify-content: center; margin-top: auto; }
  .auth-brand-panel { padding: 36px; }
}
@media (max-width: 850px) {
  .auth-shell { min-height: 620px; }
  .auth-form-panel { padding: 32px; }
  .auth-brand-panel { padding: 28px; }
  .auth-brand-content h2 { font-size: 2.15rem; }
  .auth-logo { width: 178px; }
  .auth-eyebrow { line-height: 1.8; }
  .login-card h1 { font-size: 1.9rem; }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { position: static; width: auto; height: auto; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .brand img { width: 157px; }
  .brand > span { font-size: .5rem; margin-top: 5px; }
  .sidebar nav, .sidebar-note, .user-profile { display: none; }
  .sidebar-footer { border: 0; padding: 0; }
  .logout-button { margin: 0; width: auto; font-size: .67rem; }
  .main { padding: 25px 20px; }
  .page-header h1 { font-size: 1.65rem; }
  .page-header .muted { font-size: .72rem; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 16px; }
  .stat-footer { flex-wrap: wrap; font-size: .56rem; }
  .status-message { text-align: left; margin-top: 15px; }
  .auth-shell { grid-template-columns: 1fr; min-height: 0; width: min(100%, 470px); border-radius: 18px; }
  .auth-brand-panel { display: none; }
  .auth-form-panel { padding: 40px 32px; }
  .form-logo { display: block; }
  .login-body { padding: 24px; }
}
@media (max-width: 550px) {
  .sidebar { padding: 16px; }
  .brand img { width: 140px; }
  .logout-button { padding: 8px; gap: 6px; }
  .main { padding: 23px 15px; }
  .page-header { align-items: flex-start; gap: 10px; }
  .secondary-button { padding: 9px 10px; font-size: .65rem; gap: 6px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-total { grid-column: 1 / -1; }
  .stat-total > strong { margin-top: 6px; }
  .stat-card > strong { font-size: 1.75rem; }
  .stat-heading { font-size: .72rem; }
  .secondary-stats { padding: 14px 2px; }
  .secondary-stats > div { gap: 0; padding: 0 5px; }
  .secondary-stats .icon { display: none; }
  .secondary-stats span { font-size: .6rem; }
  .secondary-stats strong { font-size: .98rem; }
  .panel { padding: 18px 15px; }
  .panel-heading { flex-wrap: wrap; gap: 12px; }
  .panel-heading h2 { font-size: .85rem; }
  .chart { min-height: 180px; }
  .chart svg { min-height: 180px; }
  .chart .axis-label, .chart .bar-value { font-size: 13px; }
  .panel-tag { font-size: .55rem; }
  .dashboard-rail { grid-template-columns: 1fr; gap: 0; }
  .dashboard-grid { gap: 0; }
  .search-field { width: 100%; }
  .search-field input { width: 100%; min-height: 22px; }
  .table-footer { align-items: flex-start; }
  .table-footer p { max-width: 170px; line-height: 1.7; }
  .page-footer { flex-direction: column; gap: 7px; }
  .login-body { padding: 16px; }
  .auth-form-panel { padding: 34px 24px; }
  .login-card h1 { font-size: 1.95rem; }
  .mfa-card h1 { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
