/*
 * EcoAegis reusable UI foundation.
 * Charcoal-first operational design with cobalt accents and accessible light-mode contrast.
 */
:root {
  color-scheme: light;
  --accent: #2f5fd1;
  --accent-mid: #244fae;
  --accent-light: #7c9ced;
  --accent-pale: rgba(47, 95, 209, 0.10);
  --accent-bg: rgba(47, 95, 209, 0.07);
  --accent-dark: #173b8d;
  --accent-shadow: rgba(35, 77, 177, 0.24);
  --accent-rgb: 47, 95, 209;
  --bg: #e9edf4;
  --surface: rgba(255, 255, 255, 0.72);
  --surface2: rgba(250, 251, 253, 0.78);
  --surface3: rgba(225, 231, 241, 0.74);
  --text: #171b23;
  --text-mid: #354052;
  --muted: #536074;
  --dim: #65728a;
  --border: rgba(25, 39, 65, 0.12);
  --border2: rgba(25, 39, 65, 0.21);
  --glass-bg: rgba(247, 249, 252, 0.72);
  --glass-border: rgba(255, 255, 255, 0.88);
  --glass-blur: 24px;
  --shadow-sm: 0 4px 16px rgba(24, 35, 54, 0.07);
  --shadow-md: 0 18px 48px rgba(24, 35, 54, 0.10);
  --shadow-lg: 0 30px 82px rgba(20, 30, 48, 0.16);
  --radius: 11px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --topbar-h: 66px;
  --sidebar-w: 272px;
  --font: "DM Sans", "Segoe UI Variable", sans-serif;
  --display: Bahnschrift, "Aptos Display", "Arial Narrow", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0d10;
  --surface: rgba(22, 25, 30, 0.70);
  --surface2: rgba(28, 32, 38, 0.82);
  --surface3: rgba(35, 40, 48, 0.80);
  --text: #f3f5f8;
  --text-mid: #d8dde6;
  --muted: #a4adba;
  --dim: #7e8998;
  --border: rgba(225, 232, 244, 0.10);
  --border2: rgba(225, 232, 244, 0.18);
  --glass-bg: rgba(15, 18, 22, 0.78);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.26);
  --shadow-md: 0 22px 58px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 34px 96px rgba(0, 0, 0, 0.54);
  --accent: #3e72df;
  --accent-mid: #5482e8;
  --accent-pale: rgba(62, 114, 223, 0.14);
  --accent-bg: rgba(62, 114, 223, 0.09);
}

body {
  background:
    linear-gradient(rgba(42, 58, 84, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 58, 84, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  font-family: var(--font);
}

[data-theme="dark"] body,
body[data-theme="dark"] {
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
}

h1,
h2,
.brand-name,
.kpi-value,
.login-hero-copy h1,
.login-card h2 {
  font-family: var(--display);
  font-stretch: semi-condensed;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 10001;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #6f96f0;
  outline-offset: 3px;
}

#bg-orbs {
  opacity: 0.76;
}

.orb {
  filter: blur(76px);
}

.orb-1 {
  background: radial-gradient(circle, rgba(47, 95, 209, 0.54), transparent 70%);
  animation: foundationFluidA 22s ease-in-out infinite alternate;
}

.orb-2 {
  background: radial-gradient(circle, rgba(37, 75, 166, 0.34), transparent 70%);
  animation: foundationFluidB 27s ease-in-out infinite alternate;
}

.orb-3 {
  background: radial-gradient(circle, rgba(70, 116, 219, 0.27), transparent 70%);
  animation: foundationFluidA 31s ease-in-out infinite alternate-reverse;
}

[data-theme="dark"] .orb-1 {
  background: radial-gradient(circle, rgba(48, 96, 209, 0.43), transparent 70%);
}

[data-theme="dark"] .orb-2 {
  background: radial-gradient(circle, rgba(28, 62, 143, 0.34), transparent 70%);
}

[data-theme="dark"] .orb-3 {
  background: radial-gradient(circle, rgba(55, 103, 210, 0.28), transparent 70%);
}

@keyframes foundationFluidA {
  from { transform: translate3d(-4%, -3%, 0) scale(0.92) rotate(-4deg); }
  to { transform: translate3d(11%, 10%, 0) scale(1.12) rotate(8deg); }
}

@keyframes foundationFluidB {
  from { transform: translate3d(7%, 8%, 0) scale(1.08) rotate(6deg); }
  to { transform: translate3d(-12%, -9%, 0) scale(0.94) rotate(-9deg); }
}

.topbar {
  min-height: var(--topbar-h);
  background: color-mix(in srgb, var(--glass-bg) 88%, transparent);
  border-bottom-color: var(--glass-border);
  backdrop-filter: blur(25px) saturate(1.14);
  box-shadow: var(--shadow-sm);
}

.topbar::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.72), transparent);
}

.topbar-title {
  font-family: var(--display);
  font-size: 16px;
}

.security-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.security-link:hover {
  color: var(--accent);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface2) 80%, transparent);
  border-color: var(--border2);
}

.theme-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="light"] .theme-icon-sun,
[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.topbar-user {
  min-height: 46px;
  padding: 4px 5px 4px 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
}

.user-avatar {
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  border-radius: 9px;
  background: linear-gradient(145deg, #173b8d, #3e72df);
  box-shadow: 0 8px 20px rgba(28, 65, 154, 0.24);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-identity {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.user-identity strong {
  color: var(--text);
  font-size: 11px;
}

.user-identity small {
  color: var(--muted);
  font-size: 9px;
  text-transform: capitalize;
}

.layout {
  min-height: calc(100vh - var(--topbar-h));
}

.sidebar {
  height: calc(100vh - var(--topbar-h));
  background: color-mix(in srgb, var(--glass-bg) 92%, transparent);
  border-right-color: var(--glass-border);
  backdrop-filter: blur(25px) saturate(1.12);
}

.sidebar-header {
  min-height: 72px;
  padding: 13px 14px;
  gap: 11px;
}

.econet-logo-plaque {
  position: relative;
  display: grid;
  place-items: center;
  width: 126px;
  height: 43px;
  overflow: hidden;
  border: 1px solid rgba(24, 38, 65, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px white, 0 10px 25px rgba(22, 33, 50, 0.10);
}

.econet-logo-plaque img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 116%;
  height: auto;
  max-width: none;
  transform: translate(-50%, -53.4%);
}

.brand-name {
  font-size: 15px;
}

.brand-sub {
  color: var(--muted);
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.sidebar-label {
  color: var(--dim);
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0.025em;
  text-transform: none;
}

.side-nav a {
  min-height: 41px;
  padding: 10px 11px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
}

.side-nav a:hover {
  border-color: rgba(var(--accent-rgb), 0.12);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent-dark);
}

[data-theme="dark"] .side-nav a:hover {
  color: #a9c0f8;
}

.side-nav a.active {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.19), rgba(var(--accent-rgb), 0.07));
  color: var(--accent-dark);
  box-shadow: inset 2px 0 var(--accent), 0 9px 26px rgba(34, 73, 167, 0.10);
}

[data-theme="dark"] .side-nav a.active {
  color: #dce6ff;
}

.sidebar-user-name {
  color: var(--muted);
  font-size: 12px;
}

.content {
  padding: 28px 30px 42px;
  background: transparent;
}

.card,
.kpi-card {
  border-color: var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--shadow-md), inset 0 1px rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.12);
}

.card:hover,
.kpi-card:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  box-shadow: var(--shadow-lg), inset 0 1px rgba(255, 255, 255, 0.48);
}

.kpi-card {
  min-height: 126px;
  padding: 19px;
}

.kpi-value {
  font-size: 34px;
  letter-spacing: -0.04em;
}

.kpi-label {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.page-heading-premium {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.page-heading-premium h1 {
  margin: 4px 0 5px;
  font-size: clamp(30px, 3.3vw, 46px);
  letter-spacing: -0.045em;
}

.page-heading-premium p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.page-kicker {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.live-data-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--border2);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text-mid);
  font-size: 10px;
  font-weight: 650;
}

.live-data-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px var(--good-soft);
}

/* Secure login */
.login-page .topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.48), transparent);
  border: 0;
  box-shadow: none;
}

.login-page .topbar::after,
.login-page .topbar-left,
.login-page #offline-indicator,
.login-page #bg-noise,
.login-page #bg-orbs,
.login-page #aegis-particles {
  display: none;
}

.login-page .layout,
.login-page .main-wrap,
.login-page .content {
  min-height: 100vh;
}

.login-page .content {
  padding: 0;
}

.login-experience {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.login-background-video,
.login-background-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.login-background-video {
  z-index: -3;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.7);
  transform: scale(1.015);
}

.login-background-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.96), rgba(8, 10, 14, 0.72) 43%, rgba(8, 10, 14, 0.18) 70%, rgba(8, 10, 14, 0.70)),
    linear-gradient(180deg, rgba(8, 10, 14, 0.22), transparent 46%, rgba(8, 10, 14, 0.88));
}

[data-theme="light"] .login-background-video {
  filter: saturate(0.92) contrast(1.08) brightness(0.98) opacity(0.98);
}

[data-theme="light"] .login-background-overlay {
  background:
    linear-gradient(90deg, rgba(239, 242, 247, 0.72), rgba(239, 242, 247, 0.40) 40%, rgba(239, 242, 247, 0.02) 69%, rgba(239, 242, 247, 0.28)),
    linear-gradient(180deg, rgba(239, 242, 247, 0.10), transparent 46%, rgba(239, 242, 247, 0.48));
}

.login-brand {
  position: absolute;
  top: 78px;
  left: clamp(28px, 5vw, 80px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
}

.login-logo-plaque {
  position: relative;
  display: grid;
  place-items: center;
  width: 184px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.login-logo-plaque img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 116%;
  height: auto;
  max-width: none;
  transform: translate(-50%, -53.4%);
}

.login-brand-copy {
  display: grid;
  padding-left: 13px;
  border-left: 1px solid rgba(205, 217, 242, 0.26);
}

.login-brand-copy strong {
  color: #f7f8fb;
  font-family: var(--display);
  font-size: 17px;
}

.login-brand-copy span {
  color: #b8c1d2;
  font-size: 10px;
}

[data-theme="light"] .login-brand-copy strong {
  color: #171b23;
}

[data-theme="light"] .login-brand-copy span {
  color: #536074;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 470px);
  align-items: center;
  gap: clamp(42px, 7vw, 112px);
  width: min(1500px, calc(100% - clamp(54px, 10vw, 170px)));
  min-height: 100vh;
  margin: 0 auto;
  padding: 98px 0 64px;
}

.login-hero-copy {
  max-width: 820px;
  color: #f7f8fb;
}

[data-theme="light"] .login-hero-copy {
  color: #151920;
}

.login-eyebrow {
  margin: 0 0 22px;
  color: #92adf2;
  font-size: 10px;
  font-weight: 700;
}

[data-theme="light"] .login-eyebrow {
  color: #244c9c;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.82);
}

.login-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.87;
}

.login-hero-copy h1 span {
  display: block;
  margin-left: clamp(0px, 4vw, 64px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(206, 219, 255, 0.84);
}

[data-theme="light"] .login-hero-copy h1 span {
  -webkit-text-stroke: 1.4px rgba(28, 62, 137, 0.68);
}

.login-lead {
  max-width: 650px;
  margin: 40px 0 0 clamp(0px, 4vw, 64px);
  color: #c7cfdd;
  font-size: 18px;
  line-height: 1.6;
}

[data-theme="light"] .login-lead {
  color: #303947;
}

.login-lead strong {
  color: inherit;
}

.login-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 730px;
  margin: 34px 0 0 clamp(0px, 4vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(210, 220, 239, 0.22);
  border-radius: 14px;
  background: rgba(15, 19, 26, 0.48);
  backdrop-filter: blur(18px);
}

[data-theme="light"] .login-pillars {
  border-color: rgba(30, 44, 69, 0.15);
  background: rgba(250, 251, 253, 0.78);
}

.login-pillars div {
  min-height: 100px;
  padding: 20px;
  border-right: 1px solid rgba(210, 220, 239, 0.18);
}

.login-pillars div:last-child {
  border-right: 0;
}

.login-pillars strong,
.login-pillars span {
  display: block;
}

.login-pillars strong {
  margin-bottom: 8px;
  font-size: 12px;
}

.login-pillars span {
  color: #aeb8c9;
  font-size: 10px;
  line-height: 1.45;
}

[data-theme="light"] .login-pillars span {
  color: #536074;
}

.login-card {
  max-width: none;
  padding: 36px;
  border: 1px solid rgba(228, 234, 245, 0.14);
  border-radius: 26px;
  background: rgba(15, 18, 22, 0.88);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 34px 92px rgba(0, 0, 0, 0.48);
  color: #f5f7fb;
  backdrop-filter: blur(28px) saturate(1.12);
}

[data-theme="light"] .login-card {
  border-color: rgba(23, 35, 55, 0.15);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(236, 240, 246, 0.82));
  box-shadow: inset 0 1px white, 0 34px 90px rgba(35, 45, 62, 0.20);
  color: #171b23;
}

.login-card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  color: #9bb4f3;
  font-size: 10px;
  font-weight: 700;
}

.login-card-kicker svg,
.login-security-note svg,
.login-submit svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-card h2 {
  margin: 0;
  text-align: left;
  font-size: clamp(34px, 3vw, 44px);
  letter-spacing: -0.05em;
}

.login-card .login-sub {
  margin: 12px 0 26px;
  color: var(--muted);
  text-align: left;
  font-size: 13px;
  line-height: 1.55;
}

.login-card label {
  color: inherit;
  font-size: 12px;
  font-weight: 650;
}

.login-card input {
  min-height: 52px;
  border-color: rgba(226, 233, 245, 0.14);
  background: rgba(3, 6, 10, 0.45);
  color: inherit;
}

[data-theme="light"] .login-card input {
  border-color: rgba(23, 35, 55, 0.15);
  background: rgba(255, 255, 255, 0.62);
}

.login-submit {
  min-height: 54px;
  justify-content: center;
  margin-top: 7px;
  background: linear-gradient(180deg, #3868db, #244ead);
}

.login-security-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.login-security-note svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--good);
}

/* Command map */
.map-page .content {
  display: flex;
  flex-direction: column;
}

.map-page-heading { order: 1; }
.map-command-bar { order: 2; }
.map-provider-panel { order: 3; }
.map-filter-panel { order: 4; }
.map-canvas { order: 5; }
.map-continuity { order: 6; }
.map-feature-detail { order: 7; }
.map-admin-heading { order: 19; }
#site-resolution-review,
#coordinate-editor,
#coordinate-import { order: 20; }

.map-page-heading {
  margin-bottom: 16px;
}

.map-command-bar {
  grid-template-columns: minmax(230px, 0.95fr) minmax(340px, 1.15fr) auto minmax(340px, 1.45fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-color: rgba(var(--accent-rgb), 0.20);
}

.map-command-copy {
  min-width: 0;
}

.map-muted-status {
  margin-top: 5px !important;
  color: var(--muted);
  line-height: 1.45;
}

.map-muted-status[data-state="loading"] { color: var(--accent); }
.map-muted-status[data-state="ready"] { color: #157252; }
.map-muted-status[data-state="empty"] { color: #6d5a20; }
.map-muted-status[data-state="warning"] { color: #8a5c08; }
.map-muted-status[data-state="denied"],
.map-muted-status[data-state="error"] { color: #b33140; }

[data-theme="dark"] .map-muted-status[data-state="ready"] { color: #6dd3aa; }
[data-theme="dark"] .map-muted-status[data-state="empty"],
[data-theme="dark"] .map-muted-status[data-state="warning"] { color: #efc76c; }
[data-theme="dark"] .map-muted-status[data-state="denied"],
[data-theme="dark"] .map-muted-status[data-state="error"] { color: #ff8994; }

.map-retry {
  margin-top: 10px;
}

.map-live-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.045);
}

.map-live-summary div {
  min-height: 66px;
  padding: 12px;
  border-right: 1px solid var(--border);
}

.map-live-summary div:last-child {
  border-right: 0;
}

.map-live-summary strong,
.map-live-summary span {
  display: block;
}

.map-live-summary strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 16px;
}

.map-live-summary span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.3;
}

.map-style-control label,
.map-layer-option {
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface2);
  color: var(--text-mid);
  font-weight: 600;
}

.map-layer-option {
  position: relative;
  padding-left: 10px;
}

.map-layer-option::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--layer-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--layer-color) 14%, transparent);
}

.map-layer-option input {
  width: 14px;
  margin: 0;
  accent-color: var(--layer-color);
}

.map-filter-panel {
  padding: 14px 16px;
}

.map-filter-panel .filters {
  margin: 0;
}

.map-provider-panel {
  border-left: 3px solid var(--accent);
}

.map-canvas {
  min-height: 620px;
  border: 1px solid var(--border2);
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 50% 45%, rgba(var(--accent-rgb), 0.12), transparent 48%),
    var(--surface2);
  box-shadow: var(--shadow-lg);
}

.map-admin-heading {
  margin: 34px 0 13px;
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  :root { --sidebar-w: 238px; }
  .map-command-bar { grid-template-columns: 1fr 1fr; }
  .map-layer-control { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .login-layout {
    grid-template-columns: 1fr;
    width: min(680px, calc(100% - 36px));
    padding-top: 130px;
  }

  .login-brand {
    left: 24px;
  }

  .login-pillars {
    margin-left: 0;
  }

  .login-lead {
    margin-left: 0;
  }

  .map-command-bar {
    grid-template-columns: 1fr;
  }

  .map-layer-control {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .content {
    padding: 18px 16px 32px;
  }

  .topbar-user .user-identity,
  .security-link {
    display: none;
  }

  .sidebar {
    height: 100vh;
  }

  .page-heading-premium {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-brand-copy,
  .login-hero-copy {
    display: none;
  }

  .login-layout {
    display: flex;
    align-items: center;
    width: min(470px, calc(100% - 28px));
    padding: 96px 0 34px;
  }

  .login-card {
    padding: 28px 22px;
  }

  .map-live-summary {
    grid-template-columns: 1fr;
  }

  .map-live-summary div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .map-live-summary div:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
