/* Provested Portal replacement visual system. This final cascade layer owns
   shared presentation while the older domain files retain layout and logic. */

:root {
  color-scheme: light;
  --surface-canvas: #f7f4ea;
  --surface-raised: #ffffff;
  --surface-recessed: #eee9da;
  --surface-signal: #ffed71;
  --surface-signal-soft: #fff8c9;
  --text-primary: #2b2925;
  --text-secondary: #686154;
  --border-subtle: #ddd6c5;
  --border-strong: #a9a08f;
}

html {
  background: var(--surface-canvas);
  scroll-behavior: smooth;
}

body {
  color: var(--text-primary);
  background: var(--surface-canvas);
  font-family: var(--font-sans);
  font-size: var(--type-body-size);
  line-height: 1.55;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

input,
select,
textarea {
  caret-color: var(--ink-deep);
}

input::placeholder,
textarea::placeholder {
  color: #726b5f;
  opacity: 1;
}

::selection {
  color: var(--ink-deep);
  background: var(--selection-yellow);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: var(--radius-pill);
  background: #948c7d;
  background-clip: padding-box;
}

* {
  scrollbar-color: #948c7d transparent;
  scrollbar-width: thin;
}

a {
  color: var(--action-blue-strong);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 0;
  box-shadow: var(--focus);
}

/* App frame */

.app-shell {
  grid-template-columns: 208px minmax(0, 1fr);
  background: var(--surface-canvas);
}

.sidebar {
  color: var(--ink-soft);
  border-right: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.sidebar__brand {
  min-height: 82px;
  justify-content: flex-start;
  padding: 12px 18px;
  border-bottom-color: var(--border-subtle);
}

.sidebar-home {
  width: 100%;
  justify-content: flex-start;
  padding: 0;
}

.sidebar__brand .brand-mark,
.sidebar-home .brand-mark {
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 3px 10px rgba(43, 41, 37, 0.08);
}

.sidebar-home:hover .brand-mark,
.sidebar-home:focus-visible .brand-mark {
  border-color: var(--ink-soft);
  background: var(--white);
  transform: translateY(-1px);
}

.sidebar__nav {
  grid-template-rows: repeat(var(--nav-count), minmax(52px, 1fr));
  align-content: stretch;
  gap: 4px;
  overflow: hidden;
  padding: 12px 10px;
}

.sidebar__nav button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
  align-items: center;
  justify-items: start;
  padding: 8px 10px;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  text-align: left;
  transition:
    color var(--motion-control) ease,
    background var(--motion-control) ease,
    border-color var(--motion-control) ease,
    transform var(--motion-feedback) var(--ease);
}

.sidebar__nav svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  color: currentColor;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  stroke-width: 1.8;
  transition: background var(--motion-control) ease, transform var(--motion-feedback) var(--ease);
}

.sidebar__nav button:hover,
.sidebar__nav button.is-active {
  color: var(--ink-deep);
  border-color: transparent;
  background: var(--selection-yellow-soft);
}

.sidebar__nav button:hover {
  transform: translateX(2px);
}

.sidebar__nav button:hover svg {
  border: 0;
  background: rgba(255, 255, 255, 0.7);
  transform: none;
}

.sidebar__nav button.is-active {
  background: var(--selection-yellow);
  box-shadow: 0 5px 12px rgba(43, 41, 37, 0.11);
}

.sidebar__nav button.is-active svg {
  color: var(--ink-deep);
  border: 0;
  background: rgba(255, 255, 255, 0.54);
}

.sidebar__nav span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

.sidebar__footer {
  padding: 12px 10px 16px;
  border-top-color: var(--border-subtle);
}

.sidebar__footer button {
  min-height: 44px;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 12px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.sidebar__footer button:hover {
  color: var(--ink-deep);
  background: var(--surface-recessed);
}

.workspace {
  background: var(--surface-canvas);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 76px;
  padding: 12px var(--page-gutter);
  border-bottom-color: var(--border-subtle);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 12px rgba(43, 41, 37, 0.04);
}

.topbar-brand {
  gap: 12px;
  padding: 0;
}

.topbar-brand strong {
  color: var(--ink-deep);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.topbar-brand span:not(.brand-mark):not(.avatar) {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.topbar-actions {
  gap: 10px;
}

.topbar-icon,
.icon-button {
  width: 44px;
  height: 44px;
  color: var(--ink-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: none;
  transition:
    color var(--motion-control) ease,
    border-color var(--motion-control) ease,
    background var(--motion-control) ease,
    transform var(--motion-feedback) var(--ease);
}

.topbar-icon:hover,
.icon-button:hover {
  color: var(--ink-deep);
  border-color: var(--ink-soft);
  background: var(--selection-yellow-soft);
  transform: translateY(-1px);
}

.topbar-icon svg,
.icon-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.user-chip {
  min-height: 46px;
  gap: 10px;
  padding: 4px 8px 4px 5px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
}

.user-chip:hover {
  border-color: var(--border-subtle);
  background: var(--surface-signal-soft);
}

.avatar {
  width: 36px;
  height: 36px;
  background: var(--selection-yellow);
  font-size: 14px;
}

main {
  min-height: calc(100vh - 76px);
  padding: clamp(26px, 3vw, 46px) var(--page-gutter) 54px;
}

.portal-view {
  width: min(100%, 1580px);
  margin-inline: auto;
}

.view-heading {
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.view-heading h1 {
  max-width: 20ch;
  color: var(--ink-deep);
  font-family: var(--font-sans);
  font-size: var(--type-display-fluid);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.view-heading p {
  max-width: 70ch;
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.55;
}

.view-heading-actions {
  gap: 10px;
}

/* Shared controls */

.button {
  min-height: 46px;
  gap: 9px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-size: var(--type-control-size);
  font-weight: 750;
  letter-spacing: -0.01em;
  transition:
    transform var(--motion-feedback) var(--ease),
    background var(--motion-control) ease,
    color var(--motion-control) ease,
    border-color var(--motion-control) ease,
    box-shadow var(--motion-control) var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button--primary {
  color: var(--ink-deep);
  border: 1.5px solid var(--ink-deep);
  background: var(--selection-yellow);
  box-shadow: 0 5px 12px rgba(43, 41, 37, 0.14);
}

.button--primary:hover {
  color: var(--ink-deep);
  background: #f9df46;
  box-shadow: 0 7px 17px rgba(43, 41, 37, 0.16);
}

.button--primary:active {
  box-shadow: 0 2px 6px rgba(43, 41, 37, 0.12);
}

.button--outline {
  color: var(--ink-deep);
  border: 1px solid var(--border-strong);
  background: var(--white);
}

.button--outline:hover {
  border-color: var(--ink-deep);
  background: var(--surface-signal-soft);
}

.button:disabled,
.button[aria-disabled='true'],
.icon-button:disabled,
.topbar-icon:disabled {
  color: #8a8377;
  border-color: var(--border-subtle);
  background: var(--surface-recessed);
  box-shadow: none;
  opacity: 0.68;
}

.text-button {
  min-height: 38px;
  gap: 6px;
  padding: 4px 2px;
  color: var(--action-blue-strong);
  border-radius: var(--radius-xs);
  font-size: 15px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color var(--motion-control) ease, text-decoration-color var(--motion-control) ease, transform var(--motion-feedback) var(--ease);
}

.text-button:hover {
  color: var(--ink-deep);
  text-decoration-color: currentColor;
  transform: translateX(1px);
}

input:not([type='checkbox']):not([type='radio']),
select,
textarea {
  min-height: 46px;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color var(--motion-control) ease, box-shadow var(--motion-control) ease, background var(--motion-control) ease;
}

textarea {
  min-height: 112px;
}

input:not([type='checkbox']):not([type='radio']):hover,
select:hover,
textarea:hover {
  border-color: var(--ink-soft);
}

input:not([type='checkbox']):not([type='radio']):focus,
select:focus,
textarea:focus {
  border-color: var(--ink-deep);
  outline: 0;
  box-shadow: var(--focus);
}

label {
  color: var(--ink-soft);
}

.platform-owner-badge,
.organization-status,
.member-status,
.qc-status,
.task-priority,
.team-label,
.idea-status,
.home-register-scope,
.home-notification-count,
.home-attention > header > span,
.home-agenda > header > span {
  min-height: 30px;
  padding-inline: 10px;
  color: var(--ink-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--surface-recessed);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.platform-owner-badge,
.home-register-scope,
.organization-status--active,
.member-status--active {
  border-color: #e3ca35;
  background: var(--selection-yellow-soft);
}

.danger-button,
.danger-text {
  color: var(--red);
}

.danger-button {
  border-color: #cf8f87;
  background: var(--danger-surface);
}

/* Shared records and states */

.platform-layout,
.home-notification-centre,
.home-attention,
.home-agenda,
.assigned-maps-section > .section-register,
.assigned-map-card,
.coverage-map-panel,
.coverage-register,
.coverage-editor,
.qc-ledger,
.qc-ranking,
.qc-trajectory,
.qc-followup-queue,
.broadcasts-surface > section,
.task-column,
.console-grid > section,
.platform-section,
.organization-panel,
.member-panel,
.audit-panel,
.work-form {
  border-color: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: none;
}

.section-register,
.home-notification-centre > header,
.home-attention > header,
.home-agenda > header,
.coverage-panel-header,
.qc-ledger > header,
.qc-ranking > header,
.qc-trajectory > header,
.qc-followup-queue > header,
.console-grid > section > header,
.broadcasts-surface > section > header {
  padding: 18px var(--panel-inset);
  border-bottom-color: var(--border-subtle);
}

.operations-empty,
.member-empty,
.coverage-empty,
.assigned-map-empty,
.home-module-state,
.task-column__empty {
  color: var(--text-secondary);
  background: var(--surface-canvas);
}

.operations-loading {
  border-color: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-signal-soft);
}

/* Register surfaces use yellow as information, not decoration. */

.operations-home__register,
.console-register,
.qc-command-register {
  color: var(--ink-deep);
  border: 1px solid #e0c729;
  border-radius: var(--radius-lg);
  background: var(--selection-yellow);
  box-shadow: none;
}

.operations-home__register h2,
.console-register h2,
.qc-command-register h2,
.operations-home__register p,
.console-register p,
.qc-command-register p,
.operations-home__register dt,
.console-register dt,
.qc-command-register dt,
.operations-home__register dd,
.console-register dd,
.qc-command-register dd,
.operations-home__register dd span,
.qc-command-register dd span,
.qc-command-register > div > small,
.qc-command-register dl small {
  color: var(--ink-deep);
}

.operations-home__register dl > div,
.console-register dl > div,
.qc-command-register dl > div {
  border-left-color: rgba(43, 41, 37, 0.23);
}

.home-scope-control {
  color: var(--ink-deep);
}

.home-scope-control select {
  color: var(--ink-deep);
  border-color: rgba(43, 41, 37, 0.4);
}

/* Authentication */

.auth-overlay {
  padding: 20px;
  background: #e9e3d5;
}

.auth-overlay::before {
  background: none;
}

.auth-layout {
  width: min(1180px, 100%);
  height: min(860px, calc(100vh - 40px));
  max-height: min(860px, calc(100vh - 40px));
  min-height: 680px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  border: 1px solid rgba(43, 41, 37, 0.18);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-deep);
}

.auth-visual {
  overflow: hidden;
  padding: 38px 42px;
  color: var(--ink-deep);
  background: var(--selection-yellow);
}

.auth-brand {
  position: relative;
  z-index: 3;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink-deep);
}

.auth-recovery-back {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  margin: -8px 0 2px;
  padding: 0;
  color: var(--ink-deep);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.auth-recovery-back[hidden] {
  display: none;
}

.auth-recovery-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.auth-recovery-back:hover {
  color: var(--teal-deep);
  transform: translateX(-2px);
}

.auth-recovery-back:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

.auth-brand strong {
  color: #171613;
  font-size: 19px;
  font-weight: 800;
}

.auth-brand small {
  color: var(--ink-soft);
}

.auth-plan {
  color: rgba(43, 41, 37, 0.54);
  opacity: 0.7;
}

.auth-plan__outline,
.auth-plan__walls,
.auth-plan__route {
  stroke: currentColor;
}

.auth-plan__section rect {
  fill: rgba(255, 255, 255, 0.38);
  stroke: rgba(43, 41, 37, 0.42);
}

.auth-plan__section--active rect {
  fill: var(--white);
  stroke: var(--ink-deep);
}

.auth-plan__section text,
.auth-plan__index {
  color: var(--ink-deep);
  fill: var(--ink-deep);
}

.auth-visual__copy {
  position: relative;
  z-index: 4;
  max-width: 600px;
}

.auth-context-badge {
  color: var(--ink-deep);
  border: 1px solid rgba(43, 41, 37, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
}

.auth-visual__copy h2 {
  max-width: 14ch;
  color: var(--ink-deep);
  font-family: var(--font-sans);
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.auth-visual__copy p {
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 17px;
}

.auth-context-points span {
  color: var(--ink-deep);
  font-weight: 700;
}

.auth-context-points span::before {
  background: var(--ink-deep);
}

.auth-panel {
  padding: 44px clamp(36px, 5vw, 70px);
  background: var(--white);
}

.auth-card {
  width: 100%;
  max-width: 460px;
}

.auth-card h1 {
  color: var(--ink-deep);
  font-family: var(--font-sans);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.auth-card > p {
  color: var(--text-secondary);
  font-size: 16px;
}

.workspace-signin {
  min-height: 88px;
  border-color: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-canvas);
}

.workspace-config-warning {
  color: var(--ink-soft);
}

.emergency-access-toggle {
  min-height: 44px;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
}

.emergency-access-toggle:hover {
  color: var(--ink-deep);
}

.auth-security-note {
  max-width: 460px;
  color: var(--text-secondary);
  border-top-color: var(--border-subtle);
  font-size: 14px;
}

.auth-security-note svg {
  color: var(--ink-soft);
}

.auth-overlay[data-mode='account-security'] {
  background: rgba(43, 41, 37, 0.72);
}

/* One authored arrival; controls own the smaller feedback motion. */

@keyframes portal-route-settle {
  from {
    opacity: 0.88;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-overlay:not([hidden]) .auth-plan > svg {
  animation-duration: 360ms;
  animation-timing-function: var(--ease);
}

@media (min-width: 691px) {
  .app-shell {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .sidebar__brand {
    justify-content: center;
    padding-inline: 10px;
  }

  .sidebar-home {
    justify-content: center;
  }

  .sidebar__nav {
    padding-inline: 6px;
  }

  .sidebar__nav button {
    max-height: none;
    align-self: stretch;
    align-content: center;
    grid-template-columns: 1fr;
    gap: 6px;
    justify-items: center;
    padding: 6px 3px 9px;
    text-align: center;
  }

  .sidebar__nav svg {
    width: 40px;
    height: 40px;
    padding: 7px;
  }

  .sidebar__nav span {
    width: 100%;
    font-size: 12px;
    line-height: 1.12;
  }

  .sidebar__footer button {
    justify-content: center;
    padding-inline: 4px;
  }

  .sidebar__footer button span {
    font-size: 12px;
  }
}

@media (min-width: 691px) and (max-height: 780px) {
  .sidebar__nav button {
    max-height: 64px;
    align-self: center;
    gap: 2px;
    padding: 3px 2px 5px;
  }

  .sidebar__nav svg {
    width: 32px;
    height: 32px;
    padding: 5px;
  }

  .sidebar__nav span {
    font-size: 12px;
    line-height: 1.05;
  }
}

@media (max-width: 940px) {
  .view-heading {
    align-items: flex-start;
  }

  .view-heading-actions {
    justify-content: flex-start;
  }

  .auth-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  }

  .auth-visual {
    padding: 30px;
  }

  .auth-visual__copy h2 {
    font-size: 42px;
  }
}

@media (min-width: 691px) and (max-width: 940px) {
  .auth-visual {
    grid-template-rows: auto clamp(165px, 22vh, 220px) auto;
  }

  .auth-plan {
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
    margin: 12px -10% 16px;
    overflow: hidden;
  }

  .auth-plan > svg {
    min-height: 0;
  }

  .auth-plan__index {
    display: none;
  }

  .auth-visual__copy {
    align-self: end;
  }
}

@media (max-width: 690px) {
  html {
    scroll-padding-top: 158px;
  }

  body {
    font-size: 16px;
  }

  .app-shell {
    display: block;
    padding-top: 150px;
  }

  .sidebar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    display: grid;
    width: 100%;
    height: 150px;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: stretch;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 14px rgba(43, 41, 37, 0.06);
  }

  .sidebar__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 2px;
    overflow: hidden;
    padding: 3px 2px;
  }

  .sidebar__nav button {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 1px 2px;
    border-radius: var(--radius-xs);
  }

  .sidebar__nav svg {
    width: 26px;
    height: 26px;
    padding: 4px;
  }

  .sidebar__nav span {
    display: block;
    overflow: hidden;
    width: 100%;
    max-width: none;
    font-size: 12px;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sidebar__footer {
    display: grid;
    align-content: center;
    padding: 7px 4px 7px 0;
    border: 0;
  }

  .sidebar__footer button {
    min-height: 0;
    padding: 4px;
  }

  .sidebar__footer button span {
    display: none;
  }

  .topbar {
    display: none;
  }

  .topbar-brand .brand-mark,
  .user-chip .user-name {
    display: none;
  }

  .topbar-brand strong {
    font-size: 18px;
  }

  .topbar-brand span:not(.brand-mark):not(.avatar) {
    max-width: 46vw;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .user-chip {
    padding-right: 4px;
  }

  main {
    min-height: calc(100vh - 150px);
    padding: 12px 14px 42px;
  }

  .view-heading {
    gap: 18px;
    margin-bottom: 24px;
  }

  .view-heading h1 {
    max-width: none;
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1.02;
  }

  .view-heading p {
    font-size: 16px;
  }

  .view-heading-actions {
    width: 100%;
  }

  .view-heading-actions .button {
    flex: 1 1 auto;
  }

  .operations-home__register,
  .console-register,
  .qc-command-register {
    border-radius: var(--radius-md);
  }

  .auth-overlay {
    padding: 0;
  }

  .auth-layout {
    max-height: none;
    min-height: 100vh;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
  }

  .auth-visual {
    min-height: 250px;
    padding: 22px 20px 26px;
  }

  .auth-plan {
    inset: 18px -96px -90px 31%;
    opacity: 0.36;
  }

  .auth-visual__copy {
    margin-top: 48px;
  }

  .auth-visual__copy h2 {
    max-width: 15ch;
    font-size: 34px;
    line-height: 1.04;
  }

  .auth-panel {
    padding: 30px 20px 38px;
  }

  .auth-card h1 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-control: 0ms;
    --motion-layout: 0ms;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .assigned-map-device {
    transform: translate(-50%, -50%) !important;
  }
}
