@font-face {
  font-family: "Heino Inter";
  src: url("./assets/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Heino Noto Sans SC";
  src: url("./assets/heino-noto-sans-sc-ui.woff") format("woff");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Heino Manrope";
  src: url("./assets/heino-manrope-ui.woff") format("woff");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Heino Mono";
  src: url("./assets/jetbrains-mono-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Heino Mono";
  src: url("./assets/jetbrains-mono-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font-body: "Heino Inter", "Heino Noto Sans SC", "Segoe UI", sans-serif;
  --font-mono: "Heino Mono", "SFMono-Regular", Consolas, monospace;
  --ink: #1c1917;
  --muted: #78716c;
  --faint: #a8a29e;
  --canvas: #fafaf9;
  --panel: #ffffff;
  --panel-raised: #ffffff;
  --panel-hover: #f5f5f4;
  --line: #e7e5e4;
  --line-strong: #d6d3d1;
  --accent: #1c1917;
  --accent-strong: #0c0a09;
  --danger: #ef4444;
  --warn: #d97706;
  --ok: #059669;
  --titlebar: #ffffff;
  --titlebar-ink: #1c1917;
  --titlebar-line: #e7e5e4;
  --titlebar-h: 78px;
  --app-gutter: 12px;
  --top-nav-h: 84px;
  --workspace-gap: 10px;
  --nav-w: 64px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

html {
  background: var(--canvas);
}

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

body {
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.focus-surface:focus,
.focus-surface:focus-visible {
  outline: none;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

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

::-webkit-scrollbar-thumb {
  background: #d6d3d1;
  border: 2px solid var(--panel);
}

.desktop-app {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: var(--titlebar-h) minmax(0, 1fr);
  overflow: hidden;
  background: var(--canvas);
}

.connection-recovery-app {
  background: var(--canvas);
}

.network-refresh-screen {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(28px, 8vw, 72px);
  overflow: auto;
  color: var(--ink);
  background: #f5f5f4;
}

.network-refresh-content {
  width: min(100%, 420px);
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translateY(-44px);
}

.network-refresh-state-tag {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  padding: 0 10px;
  color: #57534e;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #d6d3d1;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.network-refresh-visual {
  position: relative;
  width: min(100%, 308px);
}

.recovery-motion-visual {
  width: min(100%, 360px);
  min-height: 248px;
  display: grid;
  place-items: center;
}

.recovery-component-animation {
  display: block;
  width: auto;
  height: clamp(208px, 56vw, 232px);
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgb(17 19 22 / 0.1));
  pointer-events: none;
  user-select: none;
}

.recovery-motion-source-still {
  display: none;
}

.recovery-dino-animation {
  display: block;
  width: min(100%, 480px);
  height: auto;
  object-fit: contain;
  image-rendering: pixelated;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.04);
  pointer-events: none;
  user-select: none;
}

.recovery-dino-animation.recovery-motion-source-still {
  display: none;
}

.recovery-component-animation.recovery-motion-source-still {
  display: none;
}

.recovery-github-spinner {
  position: relative;
  width: clamp(152px, 44vw, 176px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.recovery-github-spinner-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  pointer-events: none;
  user-select: none;
}

.recovery-scene {
  position: relative;
  width: 360px;
  height: 238px;
  overflow: visible;
  opacity: 1;
  transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.recovery-motion-visual.is-loading .recovery-scene {
  opacity: 0;
}

.recovery-motion-visual.is-loading .recovery-scene * {
  animation-play-state: paused !important;
}

.recovery-scene-helper-wrap,
.recovery-scene-prop-wrap {
  position: absolute;
  display: block;
  width: 308px;
  height: 196px;
  transform-origin: 50% 78%;
  will-change: transform, opacity;
}

.recovery-scene-helper-wrap {
  z-index: 2;
  left: -30px;
  bottom: 3px;
}

.recovery-scene-prop-wrap {
  z-index: 1;
  right: -28px;
  bottom: 8px;
}

.recovery-scene-helper,
.recovery-scene-prop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.recovery-scene-helper-track {
  position: absolute;
  inset: 0;
  display: block;
}

.recovery-scene-helper-frame {
  opacity: 0;
  will-change: opacity;
  animation-duration: 6.4s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.recovery-motion-service .recovery-scene-helper-frame[data-pose="idle"],
.recovery-motion-session .recovery-scene-helper-frame[data-pose="idle"],
.recovery-motion-component .recovery-scene-helper-frame[data-pose="idle"] {
  animation-name: recovery-helper-idle-three-pose;
}

.recovery-motion-service .recovery-scene-helper-frame[data-pose="action"],
.recovery-motion-session .recovery-scene-helper-frame[data-pose="action"],
.recovery-motion-component .recovery-scene-helper-frame[data-pose="action"] {
  animation-name: recovery-helper-action-three-pose;
}

.recovery-motion-service .recovery-scene-helper-frame[data-pose="react"],
.recovery-motion-session .recovery-scene-helper-frame[data-pose="react"],
.recovery-motion-component .recovery-scene-helper-frame[data-pose="react"] {
  animation-name: recovery-helper-react-three-pose;
}

.recovery-motion-timeout .recovery-scene-helper-frame[data-pose="idle"] {
  animation-name: recovery-helper-idle-timeout;
}

.recovery-motion-timeout .recovery-scene-helper-frame[data-pose="react"] {
  animation-name: recovery-helper-react-timeout;
}

.recovery-scene-service-stage {
  position: absolute;
  inset: 0;
  display: block;
  transform-origin: 62% 58%;
  animation: recovery-service-prop 6.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform;
}

.recovery-motion-service .recovery-scene-helper-wrap {
  transform-origin: 55% 88%;
  animation: recovery-service-helper 6.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.recovery-scene-service-led {
  opacity: 0;
  filter: brightness(0.32) contrast(1.25);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  will-change: opacity;
}

.recovery-scene-service-led-first {
  -webkit-mask-image: radial-gradient(circle 3.5px at 27.7% 50.8%, #000 0 74%, transparent 100%);
  mask-image: radial-gradient(circle 3.5px at 27.7% 50.8%, #000 0 74%, transparent 100%);
  animation: recovery-service-led-first 6.4s linear infinite;
}

.recovery-scene-service-led-second {
  -webkit-mask-image: radial-gradient(circle 3.5px at 31.35% 51.65%, #000 0 74%, transparent 100%);
  mask-image: radial-gradient(circle 3.5px at 31.35% 51.65%, #000 0 74%, transparent 100%);
  animation: recovery-service-led-second 6.4s linear infinite;
}

.recovery-motion-session .recovery-scene-prop-wrap {
  right: -54px;
}

.recovery-motion-session .recovery-scene-helper-wrap {
  left: -22px;
  transform-origin: 54% 82%;
  animation: recovery-session-helper 6.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.recovery-scene-session-part {
  position: absolute;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.recovery-scene-session-lock-mask {
  z-index: 2;
  left: 166px;
  top: 68px;
  width: 66px;
  height: 88px;
  transform-origin: 50% 58%;
  animation: recovery-session-lock 6.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform;
}

.recovery-scene-session-key-mask {
  z-index: 1;
  left: 80px;
  top: 38px;
  width: 83px;
  height: 114px;
  transform-origin: 29px 28px;
  animation: recovery-session-key 6.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform, opacity;
}

.recovery-scene-session-lock,
.recovery-scene-session-key {
  inset: auto;
  width: 308px;
  height: 196px;
  max-width: none;
}

.recovery-scene-session-lock {
  left: -166px;
  top: -68px;
}

.recovery-scene-session-key {
  left: -80px;
  top: -38px;
}

.recovery-motion-timeout .recovery-scene-prop-wrap {
  right: -48px;
}

.recovery-motion-timeout .recovery-scene-helper-wrap {
  transform-origin: 52% 88%;
  animation: recovery-timeout-helper 6.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.recovery-motion-component .recovery-scene-helper-wrap {
  left: -24px;
  transform-origin: 53% 88%;
  animation: recovery-component-helper 6.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.recovery-motion-component .recovery-scene-prop-wrap {
  right: -24px;
}

.recovery-scene-timeout-stage {
  position: absolute;
  inset: 0;
  display: block;
  transform: scale(0.92);
  transform-origin: 50% 50%;
}

.recovery-scene-timeout-motion {
  z-index: 2;
}

.recovery-scene-component-gear {
  transform-origin: 43.08% 47.71%;
  animation: recovery-component-gear 6.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.recovery-scene-component-tool {
  transform-origin: 75.4% 27%;
  animation: recovery-component-tool 6.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes recovery-helper-idle-three-pose {
  0%,
  10.99%,
  68%,
  100% {
    opacity: 1;
  }

  11%,
  67.99% {
    opacity: 0;
  }
}

@keyframes recovery-helper-action-three-pose {
  0%,
  10.99%,
  44%,
  100% {
    opacity: 0;
  }

  11%,
  43.99% {
    opacity: 1;
  }
}

@keyframes recovery-helper-react-three-pose {
  0%,
  43.99%,
  68%,
  100% {
    opacity: 0;
  }

  44%,
  67.99% {
    opacity: 1;
  }
}

@keyframes recovery-helper-idle-timeout {
  0%,
  72.99%,
  92%,
  100% {
    opacity: 1;
  }

  73%,
  91.99% {
    opacity: 0;
  }
}

@keyframes recovery-helper-react-timeout {
  0%,
  72.99%,
  92%,
  100% {
    opacity: 0;
  }

  73%,
  91.99% {
    opacity: 1;
  }
}

@keyframes recovery-service-prop {
  0%,
  22%,
  58%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  25% {
    transform: translate3d(0.55px, 0.08px, 0) rotate(0.1deg);
  }

  29% {
    transform: translate3d(0.85px, 0.12px, 0) rotate(0.15deg);
  }

  35% {
    transform: translate3d(0.22px, -0.05px, 0) rotate(-0.05deg);
  }

  43% {
    transform: translate3d(0.42px, 0.04px, 0) rotate(0.06deg);
  }

  51% {
    transform: translate3d(0.08px, 0, 0) rotate(0deg);
  }
}

@keyframes recovery-service-helper {
  0%,
  10%,
  68%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  18% {
    transform: translate3d(0.8px, -0.08px, 0) rotate(0.24deg);
  }

  28%,
  42% {
    transform: translate3d(1.7px, -0.22px, 0) rotate(0.48deg);
  }

  48% {
    transform: translate3d(0.55px, 0.58px, 0) rotate(-0.18deg);
  }

  58% {
    transform: translate3d(0.22px, 0.3px, 0) rotate(-0.08deg);
  }
}

@keyframes recovery-service-led-first {
  0%,
  27.99%,
  55%,
  100% {
    opacity: 0;
  }

  28% {
    opacity: 0.82;
  }

  34%,
  47% {
    opacity: 1;
  }

  52% {
    opacity: 0.42;
  }
}

@keyframes recovery-service-led-second {
  0%,
  34.99%,
  56%,
  100% {
    opacity: 0;
  }

  35%,
  41% {
    opacity: 0.92;
  }

  43% {
    opacity: 0.12;
  }

  45% {
    opacity: 0.96;
  }

  51% {
    opacity: 0.72;
  }
}

@keyframes recovery-session-key {
  0%,
  5%,
  68%,
  100% {
    opacity: 0;
    transform: translate(-10px, 8px) rotate(-4deg);
  }

  8% {
    opacity: 1;
    transform: translate(-9px, 7px) rotate(-3.5deg);
  }

  20% {
    opacity: 1;
    transform: translate(-3px, 3px) rotate(-1.2deg);
  }

  34%,
  40% {
    opacity: 1;
    transform: translate(12px, -6px) rotate(2.2deg);
  }

  47% {
    opacity: 1;
    transform: translate(8px, -3px) rotate(0.4deg);
  }

  57% {
    opacity: 1;
    transform: translate(-2px, 3px) rotate(-2deg);
  }

  64% {
    opacity: 1;
    transform: translate(-10px, 8px) rotate(-4deg);
  }
}

@keyframes recovery-session-helper {
  0%,
  10%,
  68%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  22% {
    transform: translate3d(1.1px, -0.35px, 0) rotate(0.52deg);
  }

  38%,
  43% {
    transform: translate3d(1.8px, -0.58px, 0) rotate(0.88deg);
  }

  49% {
    transform: translate3d(-0.55px, 0.42px, 0) rotate(-0.32deg);
  }

  60% {
    transform: translate3d(-0.2px, 0.18px, 0) rotate(-0.1deg);
  }
}

@keyframes recovery-session-lock {
  0%,
  36%,
  46%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  37.5% {
    transform: translate3d(0.8px, 0, 0) rotate(0.62deg);
  }

  39.5% {
    transform: translate3d(-0.86px, 0, 0) rotate(-0.68deg);
  }

  41.5% {
    transform: translate3d(0.55px, 0, 0) rotate(0.42deg);
  }

  43.5% {
    transform: translate3d(-0.22px, 0, 0) rotate(-0.16deg);
  }
}

@keyframes recovery-timeout-helper {
  0%,
  72%,
  92%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  77% {
    transform: translate3d(0.35px, -1.05px, 0) rotate(-0.5deg);
  }

  84% {
    transform: translate3d(0.78px, -1.45px, 0) rotate(-0.82deg);
  }

  89% {
    transform: translate3d(0.22px, -0.42px, 0) rotate(-0.18deg);
  }
}

@keyframes recovery-component-helper {
  0%,
  10%,
  68%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  22% {
    transform: translate3d(0.65px, -0.18px, 0) rotate(0.28deg);
  }

  34%,
  42% {
    transform: translate3d(1.45px, -0.32px, 0) rotate(0.62deg);
  }

  47% {
    transform: translate3d(-0.72px, 0.4px, 0) rotate(-0.42deg);
  }

  57% {
    transform: translate3d(-0.34px, 0.18px, 0) rotate(-0.16deg);
  }
}

@keyframes recovery-component-gear {
  0%,
  26% {
    transform: rotate(0deg);
  }

  33% {
    transform: rotate(55deg);
  }

  36% {
    transform: rotate(43deg);
  }

  39%,
  52% {
    transform: rotate(58deg);
  }

  66%,
  100% {
    transform: rotate(0deg);
  }
}

@keyframes recovery-component-tool {
  0%,
  12%,
  66%,
  100% {
    transform: translate(8px, -2px) rotate(0deg);
  }

  25%,
  38% {
    transform: translate(-3px, 1px) rotate(-1.8deg);
  }

  42% {
    transform: translate(3px, -1px) rotate(3.2deg);
  }

  46% {
    transform: translate(-1px, 0.6px) rotate(-0.8deg);
  }

  52% {
    transform: translate(1px, -0.2px) rotate(1deg);
  }
}

@media (max-width: 420px) {
  .recovery-motion-visual {
    min-height: 190px;
  }

  .recovery-scene {
    transform: scale(0.76);
    transform-origin: 50% 50%;
  }
}

@media (max-width: 380px) {
  .recovery-motion-visual {
    min-height: 174px;
  }

  .recovery-scene {
    transform: scale(0.68);
  }
}

@media (max-width: 340px) {
  .recovery-motion-visual {
    min-height: 156px;
  }

  .recovery-scene {
    transform: scale(0.6);
  }
}

.network-refresh-illustration {
  width: 100%;
  height: auto;
  display: block;
  transform: translate(clamp(10px, 2.5vw, 18px), -9px);
}

.network-refresh-signal-mask {
  position: absolute;
  z-index: 1;
  top: -9px;
  right: clamp(-18px, -2.5vw, -10px);
  width: 21%;
  height: 35%;
  background: #f5f5f4;
  pointer-events: none;
}

.network-refresh-signal {
  position: absolute;
  z-index: 2;
  display: block;
  opacity: 0;
  color: #1c1917;
  pointer-events: none;
  will-change: opacity;
  animation-duration: 3.6s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-iteration-count: infinite;
}

.network-refresh-signal path:first-of-type,
.network-refresh-signal circle {
  display: none;
}

.network-refresh-signal path {
  stroke-width: 2.2px;
  vector-effect: non-scaling-stroke;
}

.network-refresh-signal-inner {
  top: 25px;
  left: calc(100% - 43px);
  width: 32px;
  height: 32px;
  animation-name: network-refresh-signal-inner;
}

.network-refresh-signal-middle {
  top: 5px;
  left: calc(100% - 47px);
  width: 54px;
  height: 54px;
  animation-name: network-refresh-signal-middle;
}

.network-refresh-signal-outer {
  top: -13px;
  left: calc(100% - 51px);
  width: 78px;
  height: 78px;
  animation-name: network-refresh-signal-outer;
}

@keyframes network-refresh-signal-inner {
  0% {
    opacity: 0;
  }

  12%,
  78% {
    opacity: 1;
  }

  92%,
  100% {
    opacity: 0;
  }
}

@keyframes network-refresh-signal-middle {
  0%,
  20% {
    opacity: 0;
  }

  32%,
  78% {
    opacity: 1;
  }

  92%,
  100% {
    opacity: 0;
  }
}

@keyframes network-refresh-signal-outer {
  0%,
  40% {
    opacity: 0;
  }

  52%,
  78% {
    opacity: 1;
  }

  92%,
  100% {
    opacity: 0;
  }
}

.network-refresh-copy {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 17px;
}

.network-refresh-copy strong {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.network-refresh-copy p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 2.1vw, 15px);
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}

.network-refresh-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 33px;
}

.network-refresh-retry {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  padding: 0 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(28, 25, 23, 0.05);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.network-refresh-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
}

.network-refresh-secondary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.network-refresh-secondary:hover,
.network-refresh-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.network-refresh-diagnostic {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  padding: 0 8px;
  color: #78716c;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
}

.network-refresh-diagnostic strong {
  color: #57534e;
  font-family: var(--font-body);
  font-weight: 700;
}

.network-refresh-diagnostic:hover,
.network-refresh-diagnostic:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
}

.network-refresh-screen.is-service .network-refresh-state-tag,
.network-refresh-screen.is-timeout .network-refresh-state-tag,
.network-refresh-screen.is-component .network-refresh-state-tag {
  color: #44403c;
  background: rgba(255, 255, 255, 0.86);
  border-color: #d6d3d1;
}

.network-refresh-screen:not(.is-refreshing) .network-refresh-signal {
  animation-play-state: paused;
  opacity: 0;
}

.network-refresh-retry:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #a8a29e;
  box-shadow: 0 8px 18px rgba(28, 25, 23, 0.08);
}

.network-refresh-retry:disabled {
  cursor: wait;
  opacity: 0.66;
}

.account-bootstrap-app {
  background: var(--canvas);
}

.account-bootstrap-screen {
  min-width: 0;
  min-height: 0;
  padding: var(--app-gutter);
  overflow: hidden;
}

.account-skeleton-layout {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) var(--top-nav-h);
  gap: var(--workspace-gap);
}

.account-skeleton-main {
  min-width: 0;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: clamp(42px, 6vh, 68px) 0 0;
  overflow: hidden;
}

.account-skeleton-header {
  display: grid;
  gap: 10px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.account-skeleton-line,
.account-skeleton-icon,
.account-skeleton-nav-icon {
  display: block;
  overflow: hidden;
  background: linear-gradient(100deg, #e7e5e4 15%, #f7f7f6 42%, #e7e5e4 68%);
  background-size: 220% 100%;
  animation: account-skeleton-shimmer 1.65s ease-in-out infinite;
}

.account-skeleton-line {
  height: 10px;
  border-radius: 999px;
}

.account-skeleton-line-title {
  width: min(190px, 44%);
  height: 28px;
  border-radius: 8px;
}

.account-skeleton-line-subtitle {
  width: min(310px, 66%);
}

.account-skeleton-summary {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.account-skeleton-summary-card {
  min-width: 0;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.account-skeleton-line-label {
  width: 38%;
}

.account-skeleton-line-value {
  width: 62%;
  height: 17px;
  border-radius: 6px;
}

.account-skeleton-workbench {
  min-width: 0;
  display: grid;
  gap: 15px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.account-skeleton-line-section {
  width: 104px;
  height: 16px;
  border-radius: 6px;
}

.account-skeleton-action-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-skeleton-action-card {
  min-width: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  background: #fafaf9;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.account-skeleton-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
}

.account-skeleton-action-card > span {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 9px;
}

.account-skeleton-line-action {
  width: 68%;
  height: 13px;
  border-radius: 5px;
}

.account-skeleton-line-detail {
  width: 48%;
  height: 8px;
}

.account-panel-skeleton {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.account-panel-skeleton.is-inline {
  width: 100%;
  padding-bottom: 4px;
}

.account-skeleton-form-card {
  min-width: 0;
  display: grid;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.account-skeleton-field {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.account-skeleton-input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
}

.account-skeleton-form-actions {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(110px, 0.36fr) minmax(0, 1fr);
  gap: 12px;
}

.account-skeleton-button {
  width: 100%;
  height: 48px;
  border-radius: 12px;
}

.account-skeleton-button-secondary {
  opacity: 0.72;
}

.account-skeleton-record-list {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.account-skeleton-record {
  min-width: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.account-skeleton-record-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-skeleton-record-main > span {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 9px;
}

.account-skeleton-badge {
  width: 68px;
  height: 22px;
  border-radius: 999px;
}

.account-skeleton-record-devices {
  min-height: 118px;
}

.account-skeleton-record-footer {
  width: 46%;
  height: 9px;
  grid-column: 1 / -1;
}

.account-skeleton-record-security {
  min-height: 116px;
  align-content: center;
}

.account-skeleton-security-controls {
  min-width: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 12px;
}

.account-skeleton-security-line,
.account-skeleton-security-button {
  width: 100%;
  height: 38px;
  border-radius: 10px;
}

.license-list > .account-panel-skeleton {
  grid-column: 1 / -1;
}

.account-skeleton-nav {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 32px rgba(28, 25, 23, 0.04);
}

.account-skeleton-nav-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 8px;
}

.account-skeleton-nav-icon {
  width: 23px;
  height: 23px;
  border-radius: 7px;
}

.account-skeleton-line-nav {
  width: min(62px, 70%);
  height: 8px;
}

.account-skeleton-summary-card:nth-child(2) .account-skeleton-line,
.account-skeleton-action-card:nth-child(2) .account-skeleton-line,
.account-skeleton-nav-item:nth-child(2) > i {
  animation-delay: 90ms;
}

.account-skeleton-summary-card:nth-child(3) .account-skeleton-line,
.account-skeleton-action-card:nth-child(3) .account-skeleton-line,
.account-skeleton-nav-item:nth-child(3) > i {
  animation-delay: 180ms;
}

.account-skeleton-summary-card:nth-child(4) .account-skeleton-line,
.account-skeleton-action-card:nth-child(4) .account-skeleton-line,
.account-skeleton-nav-item:nth-child(4) > i {
  animation-delay: 270ms;
}

.account-skeleton-record:nth-child(2) .account-skeleton-line,
.account-skeleton-record:nth-child(2) .account-skeleton-icon {
  animation-delay: 100ms;
}

.account-skeleton-record:nth-child(3) .account-skeleton-line,
.account-skeleton-record:nth-child(3) .account-skeleton-icon {
  animation-delay: 200ms;
}

@keyframes account-skeleton-shimmer {
  0% { background-position: 100% 0; opacity: 0.82; }
  50% { opacity: 1; }
  100% { background-position: -100% 0; opacity: 0.82; }
}

@media (max-height: 720px) {
  .account-skeleton-main {
    gap: 14px;
    padding-top: 26px;
  }

  .account-skeleton-header {
    gap: 8px;
    padding-bottom: 12px;
  }

  .account-skeleton-line-title {
    height: 24px;
  }

  .account-skeleton-summary {
    gap: 10px 12px;
  }

  .account-skeleton-summary-card {
    min-height: 74px;
    gap: 10px;
    padding: 12px 14px;
  }

  .account-skeleton-workbench {
    gap: 10px;
    padding: 12px;
  }

  .account-skeleton-action-card {
    min-height: 58px;
    padding: 10px 12px;
  }

  .account-skeleton-form-card {
    gap: 14px;
    padding: 16px;
  }

  .account-skeleton-record-list {
    gap: 9px;
  }

  .account-skeleton-record {
    min-height: 76px;
    padding: 12px 14px;
  }

  .account-skeleton-record-devices,
  .account-skeleton-record-security {
    min-height: 94px;
  }
}

.network-refresh-dots i {
  width: 7px;
  height: 7px;
  display: block;
  opacity: 0.3;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  transform: scale(0.88);
  transform-origin: center;
  will-change: opacity, transform;
  animation-duration: 3.6s;
  animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  animation-iteration-count: infinite;
}

.network-refresh-dots i:first-child {
  animation-name: network-refresh-dot-inner;
}

.network-refresh-dots i:nth-child(2) {
  animation-name: network-refresh-dot-middle;
}

.network-refresh-dots i:nth-child(3) {
  animation-name: network-refresh-dot-outer;
}

@keyframes network-refresh-dot-inner {
  0%,
  36%,
  100% {
    opacity: 0.3;
    transform: scale(0.88);
  }

  12% {
    opacity: 0.95;
    transform: translateY(-1px) scale(1.06);
  }

  24% {
    opacity: 0.46;
    transform: scale(0.94);
  }
}

@keyframes network-refresh-dot-middle {
  0%,
  20%,
  56%,
  100% {
    opacity: 0.3;
    transform: scale(0.88);
  }

  32% {
    opacity: 0.95;
    transform: translateY(-1px) scale(1.06);
  }

  44% {
    opacity: 0.46;
    transform: scale(0.94);
  }
}

@keyframes network-refresh-dot-outer {
  0%,
  40%,
  78%,
  100% {
    opacity: 0.3;
    transform: scale(0.88);
  }

  52% {
    opacity: 0.95;
    transform: translateY(-1px) scale(1.06);
  }

  64% {
    opacity: 0.46;
    transform: scale(0.94);
  }
}

@media (max-width: 520px), (max-height: 720px) {
  .network-refresh-content {
    transform: translateY(-24px);
  }

  .network-refresh-visual {
    width: min(100%, 260px);
  }

  .network-refresh-copy {
    margin-top: 14px;
  }

  .network-refresh-copy strong {
    font-size: 25px;
  }

  .network-refresh-copy p {
    font-size: 14px;
  }

  .network-refresh-dots {
    margin-top: 26px;
  }

  .network-refresh-actions {
    margin-top: 19px;
  }
}

@media (max-width: 390px) {
  .network-refresh-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .network-refresh-retry,
  .network-refresh-secondary {
    width: 100%;
  }
}

.desktop-titlebar {
  position: relative;
  z-index: 20;
  min-width: 0;
  height: var(--titlebar-h);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  color: var(--titlebar-ink);
  background: var(--titlebar);
  border-bottom: 1px solid var(--titlebar-line);
  user-select: none;
  cursor: default;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 20px;
  overflow: hidden;
}

.brand-logo {
  width: 124px;
  height: auto;
  flex: 0 0 auto;
}

.brand-copy {
  display: none;
  gap: 2px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.window-controls {
  height: 100%;
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
}

.window-button,
.desktop-titlebar .language-toggle {
  width: 62px;
  height: 100%;
  min-width: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  color: #111216;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--titlebar-line);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.desktop-titlebar .language-toggle span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}

.window-button:hover,
.desktop-titlebar .language-toggle:hover {
  background: #e5e6e2;
}

.window-button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.window-close:hover:not(:disabled) {
  color: #fff;
  background: #d83d43;
}

.login-screen {
  position: relative;
  inset: auto;
  overflow: hidden;
}

.page-view-enter {
  animation: page-view-enter 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.login-layout:not(.login-layout-welcome).page-view-enter {
  animation: auth-page-enter 520ms cubic-bezier(0.2, 0.65, 0.3, 1) backwards;
}

.login-layout.page-view-exit {
  pointer-events: none;
  animation: auth-page-exit 160ms cubic-bezier(0.55, 0, 1, 0.45) both;
}

.login-screen:not(.login-screen-welcome) > .desktop-titlebar {
  animation: auth-titlebar-enter 360ms cubic-bezier(0.2, 0.65, 0.3, 1) backwards;
}

.page-view-enter-welcome,
.network-refresh-screen.page-view-enter,
.content.page-view-enter {
  animation-name: page-view-fade-enter;
}

.page-view-enter-welcome {
  animation-duration: 280ms;
}

.network-refresh-screen.page-view-enter {
  animation-duration: 360ms;
}

@keyframes page-view-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes auth-page-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes auth-page-exit {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 0;
    transform: translate3d(0, -7px, 0);
  }
}

@keyframes auth-titlebar-enter {
  from {
    opacity: 0;
    transform: translate3d(0, -8px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes page-view-fade-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.login-screen-welcome {
  grid-template-rows: minmax(0, 1fr);
  background: var(--canvas);
}

.login-layout {
  width: min(calc(100% - (var(--app-gutter) * 2)), 638px);
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-self: start;
  justify-self: center;
  place-items: stretch;
  padding: clamp(150px, 18vh, 218px) 0 var(--app-gutter);
  overflow: hidden;
}

.login-layout-welcome {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 638px);
  height: 100%;
  align-self: stretch;
  padding: clamp(44px, 6vh, 70px) 0 28px;
  overflow: visible;
}

.login-layout-account {
  padding-top: clamp(28px, 5vh, 58px);
}

.login-layout-register {
  padding-top: clamp(22px, 4vh, 46px);
  overflow: visible;
}

.login-layout-reset {
  padding-top: clamp(36px, 6vh, 72px);
}

.login-layout-f2a {
  width: min(calc(100% - 40px), 592px);
  padding-top: clamp(190px, 24vh, 270px);
  overflow: visible;
}

.login-layout-f2a .login-panel,
.login-layout-f2a .auth-form-f2a {
  overflow: visible;
}

.login-panel {
  width: 100%;
  max-height: 100%;
  min-height: 0;
  display: grid;
  gap: 24px;
  align-content: start;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.login-layout-register .login-panel {
  overflow: visible;
}

.login-layout-welcome .login-panel {
  height: 100%;
  align-content: stretch;
  gap: 0;
  overflow: visible;
}

.auth-form-account > *,
.auth-form-register > *,
.auth-form-reset > * {
  animation: auth-section-enter 440ms cubic-bezier(0.2, 0.65, 0.3, 1) backwards;
}

.auth-form-account > :nth-child(1),
.auth-form-register > :nth-child(1),
.auth-form-reset > :nth-child(1) {
  animation-delay: 55ms;
}

.auth-form-account > :nth-child(2),
.auth-form-register > :nth-child(2),
.auth-form-reset > :nth-child(2) {
  animation-delay: 85ms;
}

.auth-form-account > :nth-child(3),
.auth-form-register > :nth-child(3),
.auth-form-reset > :nth-child(3) {
  animation-delay: 115ms;
}

.auth-form-account > :nth-child(4),
.auth-form-register > :nth-child(4),
.auth-form-reset > :nth-child(4) {
  animation-delay: 145ms;
}

.auth-form-account > :nth-child(n + 5),
.auth-form-register > :nth-child(n + 5),
.auth-form-reset > :nth-child(n + 5) {
  animation-delay: 175ms;
}

@keyframes auth-section-enter {
  from {
    opacity: 0.42;
    transform: translate3d(0, 9px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.welcome-gate {
  position: relative;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 18px;
  overflow: hidden;
}

.welcome-doodle-background {
  position: absolute;
  z-index: 0;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  max-width: none;
  display: block;
  object-fit: cover;
  opacity: 0.58;
  pointer-events: none;
  animation: welcome-background-drift 18s ease-in-out infinite;
  transition: opacity 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s;
}

.login-screen:not(.login-screen-welcome) > .welcome-doodle-background {
  visibility: hidden;
  opacity: 0;
  animation-play-state: paused;
  transition: opacity 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s 320ms;
}

.welcome-logo-lockup {
  z-index: 2;
  justify-self: center;
  display: grid;
  place-items: center;
  padding: 14px 0 6px;
}

.welcome-logo-lockup img {
  width: clamp(178px, 31vw, 224px);
  height: auto;
  display: block;
  animation: welcome-rise-in 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.welcome-illustration {
  position: relative;
  z-index: 1;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.welcome-tech-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.welcome-tech-arrive {
  width: clamp(280px, 66vw, 520px);
  max-width: 82%;
  transform: translateX(3.4%);
  animation: welcome-tech-arrive 900ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.welcome-tech-motion {
  position: relative;
  width: 100%;
  transform-origin: 52% 58%;
  animation: welcome-tech-float 9.6s 0.97s cubic-bezier(0.45, 0, 0.55, 1) infinite both;
}

.welcome-tech-art,
.welcome-tech-card-layer {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

.welcome-tech-card-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.welcome-tech-card-layer-back {
  clip-path: inset(23.5% 35% 39.1% 13.2% round 7%);
  animation: welcome-tech-card-back 7.6s 0.25s cubic-bezier(0.45, 0, 0.55, 1) infinite both;
}

.welcome-tech-card-layer-front {
  clip-path: inset(39.8% 25.6% 35.1% 30.4% round 7%);
  animation: welcome-tech-card-front 7.6s 4.05s cubic-bezier(0.45, 0, 0.55, 1) infinite both;
}

.welcome-tech-signal {
  position: absolute;
  top: 6%;
  right: -7%;
  width: 22%;
  aspect-ratio: 1;
}

.welcome-tech-signal-mark {
  position: absolute;
  width: 40%;
  display: grid;
  place-items: center;
  color: #1c1917;
  opacity: 0.16;
  transform-origin: center;
  animation-duration: 5.4s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-iteration-count: infinite;
}

.welcome-tech-signal-mark svg {
  width: 100%;
  height: auto;
  stroke-width: 3;
}

.welcome-tech-signal-mark-one {
  left: 2%;
  bottom: 2%;
  transform: rotate(-66deg) scale(0.82);
  animation-name: welcome-tech-signal-one;
}

.welcome-tech-signal-mark-two {
  left: 30%;
  top: 29%;
  transform: rotate(-48deg) scale(0.9);
  animation-name: welcome-tech-signal-two;
}

.welcome-tech-signal-mark-three {
  right: 1%;
  top: 3%;
  transform: rotate(-31deg);
  animation-name: welcome-tech-signal-three;
}

@keyframes welcome-tech-arrive {
  from {
    opacity: 0;
    transform: translate3d(3.4%, 10px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(3.4%, 0, 0);
  }
}

@keyframes welcome-tech-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes welcome-tech-card-back {
  0%,
  100% {
    opacity: 0.04;
  }

  50% {
    opacity: 0.2;
  }
}

@keyframes welcome-tech-card-front {
  0%,
  100% {
    opacity: 0.04;
  }

  50% {
    opacity: 0.16;
  }
}

@keyframes welcome-tech-signal-one {
  0%,
  6%,
  88%,
  100% {
    opacity: 0.12;
  }

  14%,
  78% {
    opacity: 0.96;
  }
}

@keyframes welcome-tech-signal-two {
  0%,
  28%,
  88%,
  100% {
    opacity: 0.12;
  }

  36%,
  78% {
    opacity: 0.96;
  }
}

@keyframes welcome-tech-signal-three {
  0%,
  50%,
  88%,
  100% {
    opacity: 0.12;
  }

  58%,
  78% {
    opacity: 0.96;
  }
}

@keyframes welcome-background-drift {
  0%,
  100% {
    transform: translate3d(-5px, -4px, 0) scale(1.015);
  }

  50% {
    transform: translate3d(5px, 4px, 0) scale(1.035);
  }
}


@keyframes welcome-rise-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.welcome-copy {
  z-index: 2;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  animation: welcome-rise-in 650ms 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.welcome-copy h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Heino Manrope", var(--font-body);
  font-size: clamp(33px, 5.8vw, 43px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.welcome-brand-title {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.inline-brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: currentColor;
  font: inherit;
  line-height: 1;
  white-space: nowrap;
  vertical-align: -0.08em;
}

.inline-brand-wordmark img {
  width: 112px;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.inline-brand-wordmark > span {
  font-family: var(--font-mono), var(--font-body);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: -0.035em;
  transform: translateY(0.06em);
}

.inline-brand-wordmark-title img {
  width: clamp(118px, 22vw, 144px);
}

.inline-brand-wordmark-title span {
  font-size: 0.84em;
}

.inline-brand-wordmark-small {
  gap: 5px;
  vertical-align: -0.16em;
}

.inline-brand-wordmark-small img {
  width: 62px;
}

.inline-brand-wordmark-small span {
  font-size: 0.9em;
}

.welcome-copy p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.welcome-actions {
  z-index: 2;
  display: grid;
  gap: 14px;
  padding-top: 12px;
  animation: welcome-rise-in 650ms 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.login-layout-welcome .welcome-actions .primary-button,
.login-layout-welcome .welcome-actions .secondary-button {
  height: 62px;
  min-height: 62px;
  border-radius: 9px;
  font-family: "Heino Manrope", var(--font-body);
  font-size: 18px;
  font-weight: 650;
}

.welcome-login-button {
  color: #ffffff;
  background: #737780;
  border-color: #737780;
}

.welcome-login-button:hover:not(:disabled) {
  color: #ffffff;
  background: #5f636b;
  border-color: #5f636b;
}

.login-mode-header {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 2px;
}

.login-mode-header strong {
  font-size: 28px;
  line-height: 1.35;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.login-mode-header span {
  color: var(--faint);
  font-size: 13px;
  white-space: nowrap;
}

.login-back-link,
.login-link-row button {
  min-height: 40px;
  padding: 0 2px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 760;
}

.login-back-link:hover,
.login-link-row button:hover {
  color: var(--accent);
}

.form-stack {
  display: grid;
  gap: 18px;
}

.auth-form-register,
.auth-form-reset {
  gap: 13px;
}

.auth-form-account,
.auth-form-register,
.auth-form-reset {
  align-content: start;
}

.auth-page-head {
  position: relative;
  min-height: 128px;
  display: grid;
  place-items: center;
  padding: 6px 64px 18px;
  text-align: center;
}

.auth-back-button {
  position: absolute;
  left: -4px;
  top: 4px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.auth-back-button:hover {
  background: rgba(28, 25, 23, 0.06);
}

.auth-page-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 6vw, 46px);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.auth-page-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.brand-copy-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.auth-form-f2a {
  display: block;
  position: relative;
}

.twofa-dialog {
  position: relative;
  min-width: 0;
  min-height: 358px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 22px;
  padding: 92px clamp(26px, 5vw, 48px) 30px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow:
    0 26px 68px rgba(28, 25, 23, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.twofa-art {
  position: absolute;
  left: 50%;
  top: -118px;
  width: 216px;
  height: 182px;
  transform: translateX(-50%);
  pointer-events: none;
}

.twofa-bubble {
  position: absolute;
  left: 64px;
  top: 0;
  width: 104px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f5f5f4;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 8px 0 rgba(24, 25, 35, 0.18);
}

.twofa-bubble::after {
  position: absolute;
  right: 22px;
  bottom: -10px;
  width: 22px;
  height: 22px;
  background: #f5f5f4;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  content: "";
  transform: rotate(45deg);
}

.twofa-bubble i {
  width: 9px;
  height: 9px;
  background: var(--ink);
  border-radius: 50%;
}

.twofa-phone {
  position: absolute;
  left: 52px;
  top: 82px;
  width: 140px;
  height: 88px;
  background: #ffffff;
  border: 4px solid var(--ink);
  border-radius: 13px;
  box-shadow:
    0 11px 0 #d6d3d1,
    0 17px 0 rgba(28, 25, 23, 0.18);
  transform: rotate(-28deg) skewX(-8deg);
}

.twofa-phone::before {
  position: absolute;
  inset: 10px 13px;
  background: #e7e5e4;
  border: 3px solid var(--ink);
  border-radius: 5px;
  content: "";
}

.twofa-phone i {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 22px;
  height: 3px;
  background: var(--ink);
  border-radius: 99px;
  transform: translateX(-50%);
}

.twofa-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.twofa-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  font-weight: 830;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.twofa-copy p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 3vw, 19px);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.f2a-otp-field {
  position: relative;
  width: 100%;
  display: grid;
  cursor: text;
}

.f2a-otp-field input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 56px;
  opacity: 0;
  caret-color: transparent;
  cursor: text;
}

.f2a-otp-slots {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1.8vw, 13px);
}

.f2a-otp-slots i {
  height: clamp(52px, 8vw, 58px);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #f5f5f4;
  border: 2px solid #d6d3d1;
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: clamp(24px, 4vw, 32px);
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.f2a-otp-slots i.is-filled {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--accent);
}

.f2a-otp-field:focus-within .f2a-otp-slots i {
  border-color: var(--accent);
}

.f2a-otp-field.is-verifying .f2a-otp-slots i {
  opacity: 0.72;
}

.f2a-otp-field.is-frozen .f2a-otp-slots i {
  color: #a8a29e;
  background: #f5f5f4;
}

.f2a-otp-slots.is-invalid i {
  color: #991b1b;
  background: #fff1f2;
  border-color: #ef4444;
  animation: f2aShake 260ms ease both;
}

.f2a-otp-field:focus-within .f2a-otp-slots.is-invalid i {
  border-color: #ef4444;
}

.f2a-auto-state {
  min-height: 20px;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.f2a-reset-link {
  min-height: 28px;
  padding: 0 6px;
  color: var(--accent);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.f2a-reset-link {
  margin-top: -4px;
}

.f2a-reset-link:hover {
  color: var(--ink);
}

.f2a-reset-link:disabled {
  color: var(--faint);
  cursor: default;
}

@keyframes f2aShake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-3px);
  }
}

.login-form-scroll {
  min-height: 0;
  padding: 0;
  overflow-y: visible;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.login-link-row {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 2px 0;
}

.login-help-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: -6px;
}

.login-help-row button {
  min-height: 34px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 780;
  letter-spacing: -0.015em;
}

.login-help-row button:hover {
  color: var(--muted);
}

.login-panel input {
  height: 72px;
  padding-inline: 22px;
  font-size: 20px;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.login-panel .primary-button {
  min-height: 72px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.auth-form-register input,
.auth-form-reset input {
  height: 64px;
  font-size: 18px;
}

.auth-form-register .primary-button,
.auth-form-reset .primary-button {
  min-height: 64px;
  font-size: 18px;
}

.auth-form-account label,
.auth-form-register label,
.auth-form-reset label {
  gap: 10px;
  color: #5b5651;
  font-size: 15px;
  font-weight: 830;
  line-height: 1.2;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.auth-form-register .email-code-row,
.auth-form-reset .email-code-row {
  gap: 10px;
}

.auth-form-register .email-code-row > .secondary-button,
.auth-form-reset .email-code-row > .secondary-button {
  width: 100%;
  min-height: 54px;
  font-size: 15px;
  font-weight: 780;
}

.auth-register-submit {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.auth-register-submit > .primary-button {
  width: 100%;
}

.auth-legal-copy {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
}

.auth-legal-copy a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(28, 25, 23, 0.32);
  text-underline-offset: 2px;
}

.auth-legal-copy a:hover,
.auth-legal-copy a:focus-visible {
  color: var(--accent-strong);
  text-decoration-color: currentColor;
}

.form-stack label,
.form-stack > .field-control,
.card-key-row label,
.email-code-row label,
.time-transfer-row > .field-control {
  min-width: 0;
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 58px;
  min-width: 0;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: none;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

input::placeholder {
  color: #78716c;
}

input:hover {
  border-color: #a8a29e;
}

input:focus {
  background: #ffffff;
  border-color: #1c1917;
  box-shadow: 0 0 0 3px rgba(28, 25, 23, 0.08);
}

.field-control {
  min-width: 0;
}

.password-input-shell {
  position: relative;
  min-width: 0;
  display: block;
}

.password-input-shell .password-input-control {
  padding-right: 54px;
}

.password-input-shell.is-caps-lock .password-input-control {
  padding-right: 146px;
}

.password-visibility-toggle {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 8px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #78716c;
  background: transparent;
  border: 0;
  border-radius: 8px;
  transform: translateY(-50%);
  cursor: pointer;
}

.password-visibility-toggle:hover,
.password-visibility-toggle:focus-visible,
.password-visibility-toggle[aria-pressed="true"] {
  color: var(--ink);
  background: #f5f5f4;
}

.password-caps-lock {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 51px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.field-heading {
  min-width: 0;
  min-height: 18px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.field-label {
  margin: 0;
  transition: color 140ms ease;
}

.field-error {
  color: #b91c1c;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0;
  text-transform: none;
  animation: field-error-enter 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.field-error.is-closing {
  pointer-events: none;
  animation: field-error-exit 120ms cubic-bezier(0.4, 0, 1, 1) both;
}

.field-error::before {
  content: "— ";
}

@keyframes field-error-enter {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes field-error-exit {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.time-transfer-row .field-heading,
.transfer-reconfirm-form .field-heading {
  min-height: 22px;
  flex-wrap: nowrap;
}

.time-transfer-row .field-error,
.transfer-reconfirm-form .field-error {
  margin-left: auto;
  white-space: nowrap;
}

.time-transfer-row .field-error::before,
.transfer-reconfirm-form .field-error::before {
  content: "";
}

.field-control.is-invalid .field-label {
  color: #b91c1c;
}

input[aria-invalid="true"] {
  background: #fff7f7;
  border-color: #ef4444;
  box-shadow: 0 0 0 1px #ef4444;
}

input[aria-invalid="true"]:hover,
input[aria-invalid="true"]:focus {
  background: #fff7f7;
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.16);
}

.email-code-row,
.card-key-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  align-items: end;
}

.login-panel .email-code-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.login-panel .email-code-row > .secondary-button {
  width: 100%;
  min-height: 56px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 760;
}

.login-footer {
  position: relative;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0 0;
  color: var(--faint);
  background: transparent;
  border: 0;
  font-size: 13px;
}

.network-node-selector {
  position: relative;
  flex: 0 0 auto;
}

.network-node-trigger {
  width: auto;
  min-width: 112px;
  min-height: 38px;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.network-node-trigger:hover,
.network-node-trigger[aria-expanded="true"] {
  background: #ffffff;
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.08);
}

.network-node-trigger-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--panel-hover);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.network-node-trigger-code {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.01em;
}

.network-node-trigger > svg {
  color: var(--muted);
  transition: transform 160ms ease;
}

.network-node-trigger > svg.is-open {
  transform: rotate(180deg);
}

.network-node-popover {
  position: absolute;
  z-index: 120;
  left: 0;
  bottom: calc(100% + 10px);
  width: min(344px, calc(100vw - 40px));
  display: grid;
  gap: 10px;
  padding: 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 22px 56px rgba(28, 25, 23, 0.18);
  animation: network-node-popover-enter 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.network-node-popover.is-closing,
.transfer-project-popover.is-closing {
  pointer-events: none;
  animation: ui-popover-exit 140ms cubic-bezier(0.4, 0, 1, 1) both;
}

.login-footer-links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.login-footer-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.login-footer-link:hover,
.login-footer-link:focus-visible {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

@keyframes network-node-popover-enter {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ui-popover-exit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(4px) scale(0.985);
  }
}

.network-node-popover-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 8px;
  border-bottom: 1px solid var(--line);
}

.network-node-popover-head > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.network-node-popover-head strong {
  font-size: 15px;
  font-weight: 760;
}

.network-node-popover-head span {
  color: var(--muted);
  font-size: 12px;
}

.network-node-count {
  width: 26px;
  height: 26px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink) !important;
  background: var(--panel-hover);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
}

.network-node-list {
  display: grid;
  gap: 6px;
}

.network-node-option {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.network-node-option:hover:not(:disabled),
.network-node-option:focus-visible {
  background: var(--panel-hover);
  border-color: var(--line);
}

.network-node-option.is-selected {
  background: #f5f5f4;
  border-color: var(--line-strong);
}

.network-node-option:disabled {
  cursor: wait;
}

.network-node-radio {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.network-node-option.is-selected .network-node-radio,
.network-node-option.is-pending .network-node-radio {
  background: var(--ink);
  border-color: var(--ink);
}

.network-node-option.is-pending .network-node-radio svg,
.is-spinning {
  animation: ui-spinner 760ms linear infinite;
}

@keyframes ui-spinner {
  to {
    transform: rotate(360deg);
  }
}

.network-node-copy,
.network-node-meta {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.network-node-copy > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.network-node-copy strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.network-node-copy em {
  padding: 2px 6px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 680;
  white-space: nowrap;
}

.network-node-copy small,
.network-node-meta small {
  color: var(--muted);
  font-size: 11px;
}

.network-node-meta {
  justify-items: end;
  text-align: right;
}

.network-node-meta strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.network-node-option.is-selected .network-node-meta small {
  color: var(--ok);
  font-weight: 700;
}

.content {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  padding: var(--app-gutter);
  overflow: hidden;
}

.feedback-toast {
  position: fixed;
  z-index: 1000;
  top: auto;
  bottom: calc(var(--app-gutter) + var(--top-nav-h) + var(--workspace-gap) + 10px);
  left: 50%;
  width: min(420px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}

.feedback-toast.is-closing {
  pointer-events: none;
}

.feedback-toast.is-closing .feedback {
  animation: feedback-toast-exit 150ms cubic-bezier(0.4, 0, 1, 1) both;
}

.feedback {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 12px;
  color: #ffffff;
  background: #1c1917;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(28, 25, 23, 0.2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
  pointer-events: auto;
  animation: feedback-toast-lifecycle var(--feedback-duration, 3.2s) cubic-bezier(0.22, 0.72, 0.24, 1) both;
}

@keyframes feedback-toast-lifecycle {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  8%,
  88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.99);
  }
}

@keyframes feedback-toast-exit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(-6px) scale(0.99);
  }
}

.feedback-ok {
  --feedback-duration: 3.2s;
}

.feedback-warn {
  --feedback-duration: 6s;
  border-color: rgba(251, 191, 36, 0.44);
}

.feedback-danger {
  --feedback-duration: 8s;
  border-color: rgba(248, 113, 113, 0.5);
}

.feedback-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.feedback-ok .feedback-icon {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.16);
}

.feedback-warn .feedback-icon {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.18);
}

.feedback-danger .feedback-icon {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.18);
}

.feedback-copy {
  min-width: 0;
}

.feedback-dismiss {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.feedback-dismiss:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.eyebrow {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-grid {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) var(--top-nav-h);
  gap: var(--workspace-gap);
  overflow: hidden;
}

.workspace-sidebar {
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 32px rgba(28, 25, 23, 0.04);
}

.action-hub {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
}

.account-action {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 4px 3px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  box-shadow:
    inset 0 3px 0 transparent,
    inset 1px 0 0 transparent,
    inset -1px 0 0 transparent;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 150ms ease;
}

.account-action:hover {
  color: var(--ink);
  background: rgba(28, 25, 23, 0.028);
}

.account-action:active {
  transform: translateY(1px);
}

.account-action.is-active {
  color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f4 100%);
  box-shadow:
    inset 0 3px 0 var(--accent),
    inset 1px 0 0 var(--line),
    inset -1px 0 0 var(--line);
}

.account-action.is-locked:not(.is-active) {
  color: #a8a29e;
}

.account-action-icon {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.account-action > span:last-child {
  position: static;
  width: auto;
  height: auto;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  clip: auto;
  white-space: nowrap;
  border: 0;
}

.account-action strong,
.account-action small {
  display: block;
}

.account-action strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-action small {
  display: none;
}

.workspace-support {
  display: none;
}

.workspace-main {
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.dashboard-grid {
  display: contents;
}

.panel:not([hidden]) {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(38px, 4.8vh, 58px) 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: transparent;
  border: 0;
  animation: panel-enter 170ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.panel.redeem-panel:not([hidden]) {
  padding-bottom: 36px;
}

@keyframes panel-enter {
  from {
    opacity: 0.94;
    transform: translate3d(0, 4px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.panel-title-row {
  position: relative;
  z-index: 3;
  top: auto;
  min-width: 0;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0 0 18px;
  background: transparent;
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}

.panel-title-row > div {
  min-width: 0;
}

.panel-title-row h2,
.modal-title-row h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.panel-title-row p {
  display: none;
}

.panel-title-row .overview-logout-button {
  flex: 0 0 auto;
  border-radius: 12px;
}

.security-title-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.security-title-refresh {
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  height: 32px;
  border-radius: 999px;
}

.panel-control-group {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.panel-control-group .secondary-button {
  min-height: 42px;
  padding-inline: 15px;
}

.summary-grid,
.security-option-grid,
.kyc-flow-summary {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.summary-item {
  min-width: 0;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.summary-item span {
  color: var(--faint);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.summary-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
}

.overview-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.overview-summary-grid .summary-item {
  min-height: 92px;
}

.overview-workbench {
  min-width: 0;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
}

.workbench-card {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.workbench-actions {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px 18px 16px;
  overflow: hidden;
}

.workbench-actions-header {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  padding-bottom: 2px;
  border-bottom: 0;
}

.workbench-actions-header span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.workbench-action-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.workbench-action {
  min-width: 0;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.workbench-action:hover {
  color: var(--ink);
  background: var(--panel-hover);
  border-color: var(--line-strong);
}

.workbench-action.is-priority {
  border-color: var(--line-strong);
}

.workbench-action-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.workbench-action-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--panel-hover);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.workbench-action strong {
  min-width: 0;
  overflow: hidden;
  font-size: 17px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbench-action-cta {
  flex: 0 0 auto;
  justify-self: start;
  color: var(--accent);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 11px;
}

.mono-text {
  font-family: var(--font-mono);
}

.primary-button,
.secondary-button,
.danger-button,
.icon-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.primary-button.is-busy,
.secondary-button.is-busy,
.danger-button.is-busy,
.icon-button.is-busy,
button[aria-busy="true"] {
  cursor: wait;
}

.primary-button.is-busy:disabled,
.secondary-button.is-busy:disabled,
.danger-button.is-busy:disabled,
.icon-button.is-busy:disabled,
button[aria-busy="true"]:disabled {
  opacity: 0.72;
  cursor: wait;
}

.button-spinner {
  width: 1em;
  height: 1em;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  transform-origin: center;
  animation: ui-spinner 760ms linear infinite;
}

.button-spinner > svg {
  width: 100%;
  height: 100%;
  display: block;
}

.primary-button {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.primary-button:hover:not(:disabled) {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.secondary-button,
.icon-button {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line-strong);
}

.secondary-button:hover:not(:disabled),
.icon-button:hover:not(:disabled) {
  color: var(--ink);
  background: #f5f5f4;
  border-color: #a8a29e;
}

.panel-title-row .overview-logout-button {
  border-radius: 12px;
}

.danger-button {
  color: #991b1b;
  background: #fff;
  border-color: #fecaca;
}

.danger-button:hover:not(:disabled) {
  color: #fff;
  background: #ef4444;
  border-color: #ef4444;
}

.primary-button:active:not(:disabled),
.secondary-button:active:not(:disabled),
.danger-button:active:not(:disabled),
.icon-button:active:not(:disabled) {
  transform: translateY(1px);
}

button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.icon-button {
  width: 44px;
  min-width: 44px;
  padding: 0;
}

.compact-form {
  min-width: 0;
  padding-top: clamp(12px, 2.4vh, 28px);
}

.compact-form > .primary-button {
  justify-self: start;
}

.time-management-stack {
  flex: 1 1 auto;
  display: grid;
  align-content: start;
  counter-reset: time-module;
  gap: clamp(20px, 2.8vh, 30px);
  padding-top: clamp(34px, 4.4vh, 52px);
  padding-bottom: clamp(12px, 2.2vh, 24px);
}

.time-module {
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(28, 25, 23, 0.92);
  border-radius: 18px;
}

.time-module h3 {
  margin: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.time-module h3::before {
  counter-increment: time-module;
  content: counter(time-module);
  width: 26px;
  height: 26px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.time-module-transfer {
  border-left-color: var(--line-strong);
}

.time-module-transfer h3::before {
  color: var(--ink);
  background: var(--panel-hover);
  border: 1px solid var(--line-strong);
}

.time-module-redeem > .primary-button,
.time-transfer-row > .primary-button {
  justify-self: stretch;
  align-self: start;
  min-height: 58px;
}

.redeem-panel input,
.redeem-panel .card-key-row > .secondary-button,
.time-transfer-row > .primary-button {
  height: 62px;
  min-height: 62px;
}

.time-transfer-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 12px;
  align-items: end;
}

.time-transfer-row > .primary-button {
  grid-column: 1 / -1;
}

.transfer-project-selector {
  position: relative;
  min-width: 0;
}

.time-transfer-row:has(.transfer-project-selector.is-open)::after {
  content: "";
  grid-column: 1 / -1;
  height: 230px;
}

.transfer-project-trigger {
  width: 100%;
  min-width: 0;
  height: 62px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 7px 13px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  cursor: pointer;
  text-align: left;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.transfer-project-trigger:hover:not(:disabled),
.transfer-project-trigger:focus-visible,
.transfer-project-trigger[aria-expanded="true"] {
  background: #ffffff;
  border-color: #1c1917;
  box-shadow: 0 0 0 3px rgba(28, 25, 23, 0.08);
}

.transfer-project-trigger[aria-invalid="true"] {
  background: #fff7f7;
  border-color: #ef4444;
  box-shadow: 0 0 0 1px #ef4444;
}

.transfer-project-trigger-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--panel-hover);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.transfer-project-trigger-copy {
  min-width: 0;
  display: grid;
}

.transfer-project-trigger-copy strong,
.transfer-project-trigger-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transfer-project-trigger-copy strong {
  font-size: 15px;
  font-weight: 730;
}

.transfer-project-trigger-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
}

.transfer-project-trigger > svg {
  color: var(--muted);
  transition: transform 160ms ease;
}

.transfer-project-trigger > svg.is-open {
  transform: rotate(180deg);
}

.transfer-project-popover {
  position: absolute;
  z-index: 240;
  left: 0;
  top: calc(62px + 8px);
  bottom: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  gap: 9px;
  padding: 11px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  box-shadow: 0 22px 56px rgba(28, 25, 23, 0.18);
  animation: network-node-popover-enter 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.transfer-project-popover-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 3px 9px;
  border-bottom: 1px solid var(--line);
}

.transfer-project-popover-head > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.transfer-project-popover-head strong {
  font-size: 14px;
  font-weight: 760;
}

.transfer-project-popover-head span {
  color: var(--muted);
  font-size: 11px;
}

.transfer-project-count {
  width: 26px;
  height: 26px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink) !important;
  background: var(--panel-hover);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
}

.transfer-project-list {
  display: grid;
  gap: 6px;
  max-height: 246px;
  overflow-y: auto;
}

.transfer-project-option {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.transfer-project-option:hover,
.transfer-project-option:focus-visible {
  background: var(--panel-hover);
  border-color: var(--line);
}

.transfer-project-option.is-selected {
  background: #f5f5f4;
  border-color: var(--line-strong);
}

.transfer-project-radio {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.transfer-project-option.is-selected .transfer-project-radio {
  background: var(--ink);
  border-color: var(--ink);
}

.transfer-project-option-copy,
.transfer-project-option-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.transfer-project-option-copy strong,
.transfer-project-option-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transfer-project-option-copy strong {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 760;
}

.transfer-project-option-copy small,
.transfer-project-option-meta small {
  color: var(--muted);
  font-size: 11px;
}

.transfer-project-option-meta {
  justify-items: end;
  text-align: right;
}

.transfer-project-option-meta strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
}

.redeem-kyc-gate,
.kyc-session-box,
.empty-panel {
  min-width: 0;
  padding: 16px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
}

.empty-panel {
  min-height: 132px;
  display: grid;
  place-items: center;
  color: var(--faint);
  text-align: center;
}

.redeem-kyc-gate {
  min-height: 320px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.redeem-kyc-gate > div,
.kyc-session-box,
.kyc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.redeem-kyc-gate > div {
  justify-content: center;
}

.kyc-flow {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.kyc-flow-compact {
  gap: 10px;
}

.kyc-compact-facts {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kyc-compact-facts > div {
  min-width: 0;
  min-height: 62px;
  display: grid;
  align-content: space-between;
  gap: 7px;
  padding: 11px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.kyc-compact-facts span {
  color: var(--faint);
  font-size: 14px;
  line-height: 1.35;
}

.kyc-compact-facts strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 650;
}

.kyc-compact-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.kyc-compact-actions strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 750;
}

.kyc-flow {
  min-height: 0;
  align-content: start;
  grid-template-rows: auto auto auto;
}

.kyc-session-box {
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.kyc-approved-card {
  align-items: center;
}

.kyc-session-box > .kyc-approved-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.kyc-session-box > .kyc-approved-actions .secondary-button {
  min-height: 42px;
  padding-inline: 15px;
}

.kyc-session-box > div {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.kyc-session-box strong,
.kyc-session-box span,
.kyc-session-box small {
  overflow-wrap: anywhere;
}

.kyc-session-box span,
.kyc-session-box small {
  color: var(--muted);
  font-size: 15px;
}

.kyc-actions {
  flex-wrap: wrap;
  align-self: start;
}

.kyc-actions .primary-button,
.kyc-actions .secondary-button {
  min-height: 46px;
}

.security-stack {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding-bottom: clamp(12px, 2.2vh, 24px);
}

.security-module {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.security-module-header,
.security-module-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.security-module-header {
  justify-content: space-between;
}

.security-module-title h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-module-title-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.security-module-title-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-module .record-card-icon {
  width: 36px;
  height: 36px;
}

.security-module-identity .kyc-flow {
  gap: 12px;
}

.security-module-identity .kyc-flow-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.security-module-identity .summary-item {
  min-height: 74px;
  padding: 12px 14px;
  background: #ffffff;
}

.security-module-identity .summary-item strong {
  font-size: 17px;
}

.security-module-identity .kyc-session-box {
  padding: 14px;
  background: #ffffff;
  border-radius: 14px;
}

.security-module-identity .kyc-actions .primary-button,
.security-module-identity .kyc-actions .secondary-button,
.security-module-identity .kyc-approved-actions .secondary-button {
  min-height: 42px;
}

.f2a-control-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.f2a-status-card {
  min-width: 0;
  min-height: 62px;
  display: grid;
  align-content: space-between;
  gap: 7px;
  padding: 11px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.f2a-status-card span {
  color: var(--faint);
  font-size: 14px;
  line-height: 1.35;
}

.f2a-status-card strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 750;
}

.f2a-bind-button {
  width: 100%;
  min-width: 0;
  min-height: 54px;
}

.security-option-grid {
  flex: 0 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.password-form-grid {
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.security-module-password .password-form-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  padding-top: 0;
}

.security-module-password .password-form-grid > .primary-button {
  width: 100%;
  min-height: 46px;
  justify-self: stretch;
}

.security-module-password label {
  gap: 6px;
}

.security-module-password input {
  height: 46px;
}

.security-module-password .password-visibility-toggle {
  right: 6px;
  width: 34px;
  height: 34px;
}

.security-module-password .password-caps-lock {
  right: 44px;
}

.license-list {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.refreshable-list {
  position: relative;
  isolation: isolate;
}

.refreshable-list.is-refreshing {
  cursor: progress;
}

.refreshable-list.is-refreshing::before {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 34%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 999px;
  transform: translateX(-120%);
  pointer-events: none;
  animation: list-refresh-progress 980ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
  content: "";
}

.refreshable-list.is-refreshing::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  pointer-events: none;
  animation: list-refresh-wash 820ms ease-in-out infinite alternate;
  content: "";
}

.list-refresh-indicator {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.list-refresh-indicator .button-spinner {
  width: 14px;
  height: 14px;
}

.account-resource-error {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: #7c2d12;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
}

.account-resource-error-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #c2410c;
  background: #ffedd5;
  border-radius: 8px;
}

.account-resource-error-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.account-resource-error-copy strong {
  font-size: 13px;
  line-height: 1.3;
}

.account-resource-error-copy span {
  color: #9a3412;
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.account-resource-error .secondary-button {
  min-height: 34px;
  padding: 0 10px;
  color: #7c2d12;
  background: #ffffff;
  border-color: #fdba74;
  font-size: 12px;
}

.network-refresh-result {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.network-refresh-result.is-error {
  color: #b91c1c;
}

@keyframes list-refresh-progress {
  to {
    transform: translateX(395%);
  }
}

@keyframes list-refresh-wash {
  from {
    opacity: 0.3;
  }

  to {
    opacity: 0.68;
  }
}

.license-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.record-card-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.record-card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: var(--panel-hover);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.record-card-main > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.license-row strong,
.license-row span {
  overflow-wrap: anywhere;
}

.record-card-main strong {
  font-family: var(--font-mono);
  font-size: 15px;
}

.record-card-main span {
  color: var(--muted);
  font-size: 15px;
}

.license-row-meta {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

.license-row-balance {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.license-row-balance span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: var(--panel-hover);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.license-row-actions {
  min-width: 0;
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.license-device-line {
  min-width: 0;
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 12px;
  background: var(--panel-hover);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.license-device-summary {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.license-device-icon {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.license-device-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 2px 8px;
}

.license-device-label {
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.license-device-copy strong {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.license-device-copy small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.license-device-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.license-unbind-button {
  min-width: 82px;
  min-height: 38px;
  padding: 0 12px;
  font-size: 12px;
  white-space: nowrap;
}

.license-device-state {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  font-size: 12px;
  font-weight: 650;
}

.license-device-state.is-unavailable {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}

.license-orphan-devices {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
}

.license-orphan-heading {
  display: grid;
  gap: 3px;
}

.license-orphan-heading h3,
.license-orphan-heading p {
  margin: 0;
}

.license-orphan-heading h3 {
  font-size: 14px;
}

.license-orphan-heading p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.table-wrap {
  min-width: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  display: none;
}

tbody {
  display: grid;
  gap: 12px;
}

tr {
  min-width: 0;
  display: grid;
  gap: 0;
  padding: 13px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}

td {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  text-align: right;
}

td:last-child {
  border-bottom: 0;
}

td[data-label]::before {
  content: attr(data-label);
  flex: 0 0 auto;
  color: var(--faint);
  font-size: 14px;
  text-align: left;
}

.entity-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
}

.entity-cell > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.entity-cell strong,
.entity-cell span {
  overflow-wrap: anywhere;
}

.entity-cell strong {
  font-family: var(--font-mono);
  font-size: 15px;
}

.entity-cell span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 13px;
}

.status-badge {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  overflow: hidden;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-badge::before {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  margin-right: 6px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.tone-ok {
  color: var(--ok);
  border-color: rgba(5, 150, 105, 0.28);
}

.tone-warn {
  color: var(--warn);
  border-color: rgba(217, 119, 6, 0.28);
}

.tone-danger {
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.28);
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(28, 25, 23, 0.26);
  backdrop-filter: blur(5px);
  animation: modal-backdrop-enter 180ms ease-out both;
}

.modal-backdrop.is-closing {
  pointer-events: none;
  animation: modal-backdrop-exit 160ms ease-in both;
}

.modal {
  width: min(420px, 100%);
  max-height: calc(100% - 24px);
  display: grid;
  gap: 18px;
  padding: 18px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(28, 25, 23, 0.18);
}

.modal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-title-row > div {
  min-width: 0;
}

.modal-title-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.confirm-modal {
  width: min(440px, 100%);
  gap: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border-color: rgba(168, 162, 158, 0.72);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(28, 25, 23, 0.22);
  animation: confirm-modal-enter 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal-backdrop.is-closing .confirm-modal,
.confirm-modal.is-closing {
  animation: dialog-surface-exit 160ms cubic-bezier(0.4, 0, 1, 1) both;
}

.confirm-modal.is-detailed {
  width: min(520px, 100%);
}

.confirm-modal-title-row {
  align-items: center;
  padding: 20px 20px 15px;
}

.confirm-modal-title-row h2 {
  margin: 5px 0 0;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.confirm-close-button {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  color: var(--muted);
  background: #f7f7f6;
  border-color: transparent;
  border-radius: 10px;
}

.confirm-close-button:hover:not(:disabled) {
  color: var(--ink);
  background: #efeeec;
  border-color: transparent;
}

.confirm-modal-details {
  display: grid;
  margin: 0 20px 12px;
  padding: 0 14px;
  background: #fafaf9;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.confirm-modal-detail {
  min-width: 0;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.confirm-modal-detail:last-child {
  border-bottom: 0;
}

.confirm-modal-detail dt,
.confirm-modal-detail dd {
  min-width: 0;
  margin: 0;
}

.confirm-modal-detail dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.confirm-modal-detail dd {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: right;
  text-overflow: ellipsis;
}

.transfer-reconfirm-form {
  min-width: 0;
  display: grid;
  gap: 14px;
  margin: 0 20px 12px;
  padding: 14px;
  background: #fafaf9;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.transfer-reconfirm-form .field-control {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.transfer-reconfirm-form .field-label,
.transfer-reconfirm-project legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.transfer-reconfirm-email {
  height: 46px;
  padding-inline: 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 620;
}

.transfer-reconfirm-hint {
  color: var(--muted);
  font-size: 11px;
  font-weight: 560;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.transfer-reconfirm-project {
  min-width: 0;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
}

.transfer-reconfirm-project legend {
  margin-bottom: 7px;
  padding: 0;
}

.transfer-reconfirm-project-card {
  min-width: 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.transfer-reconfirm-project-card:hover,
.transfer-reconfirm-project-card:has(input:focus-visible) {
  border-color: #1c1917;
  box-shadow: 0 0 0 3px rgba(28, 25, 23, 0.22);
}

.transfer-reconfirm-project-card.is-confirmed {
  background: #f5f5f4;
  border-color: #1c1917;
}

.transfer-reconfirm-check {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: transparent;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.transfer-reconfirm-project-card.is-confirmed .transfer-reconfirm-check {
  color: #ffffff;
  background: #1c1917;
  border-color: #1c1917;
}

.transfer-reconfirm-project-copy,
.transfer-reconfirm-remaining {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.transfer-reconfirm-project-copy strong,
.transfer-reconfirm-project-copy small,
.transfer-reconfirm-remaining strong,
.transfer-reconfirm-remaining small {
  min-width: 0;
  margin: 0;
}

.transfer-reconfirm-project-copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}

.transfer-reconfirm-project-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 560;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transfer-reconfirm-remaining {
  justify-items: end;
  text-align: right;
}

.transfer-reconfirm-remaining small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 620;
}

.transfer-reconfirm-remaining strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.confirm-modal-message {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 20px;
  padding: 14px;
  color: #57534e;
  background: #fafaf9;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.confirm-modal-message > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #b45309;
  background: #fff7ed;
  border-radius: 10px;
}

.confirm-modal-message p {
  margin: 0;
  font-size: 14px;
  font-weight: 570;
  line-height: 1.55;
}

.confirm-modal-message.is-danger {
  color: #7f1d1d;
  background: #fef2f2;
  border-color: #fecaca;
}

.confirm-modal-message.is-danger > span {
  color: #dc2626;
  background: #fee2e2;
}

.confirm-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 20px 20px;
}

.confirm-modal-actions > button {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  font-weight: 720;
}

.confirm-cancel-button {
  color: #292524;
  background: #f1f0ef;
  border-color: transparent;
}

.confirm-cancel-button:hover:not(:disabled) {
  background: #e7e5e4;
  border-color: transparent;
}

.confirm-danger-button {
  color: #ffffff;
  background: #dc2626;
  border-color: #dc2626;
  box-shadow: 0 7px 18px rgba(220, 38, 38, 0.18);
}

.confirm-danger-button:hover:not(:disabled) {
  color: #ffffff;
  background: #b91c1c;
  border-color: #b91c1c;
}

.confirm-modal[aria-busy="true"] .confirm-danger-button {
  cursor: wait;
}

.confirm-modal-actions > .confirm-danger-button:focus-visible,
.confirm-close-button:focus-visible {
  outline: 3px solid #1c1917;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.92);
}

.confirm-modal-actions > .confirm-cancel-button:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(41, 37, 36, 0.12);
}

@keyframes confirm-modal-enter {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes modal-backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-backdrop-exit {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes dialog-surface-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dialog-surface-exit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(5px) scale(0.985);
  }
}

.required-update-backdrop {
  z-index: 1100;
  background: rgba(28, 25, 23, 0.42);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: required-update-backdrop-enter 260ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

body:has(.required-update-backdrop) main.desktop-app {
  filter: blur(5px);
  transform: scale(1.015);
  transform-origin: center;
}

.required-update-dialog {
  position: relative;
  isolation: isolate;
  width: min(432px, 100%);
  gap: 18px;
  padding: 26px;
  overflow: hidden;
  background: #ffffff;
  background-clip: border-box;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(28, 25, 23, 0.2);
  animation: required-update-dialog-enter 420ms 20ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.required-update-hero {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.required-update-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #f5f5f4;
  border: 1px solid #dedbd8;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(28, 25, 23, 0.08);
}

.required-update-mark img {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
}

.required-update-copy {
  min-width: 0;
}

.required-update-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Heino Manrope", var(--font-body);
  font-size: clamp(25px, 5vw, 27px);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.required-update-version-card {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: #f7f7f6;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
}

.required-update-version-flow {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #78716c;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
}

.required-update-version-flow strong {
  color: #1c1917;
  font-size: 15px;
  font-weight: 720;
}

.required-update-version-arrow {
  color: #a8a29e;
  font-family: var(--font-body);
  font-size: 15px;
}

.required-update-version-status {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #57534e;
  background: #ffffff;
  border: 1px solid #dedbd8;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.required-update-progress {
  min-width: 0;
  min-height: 0;
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 0;
  padding: 0;
  text-align: center;
  animation: required-update-progress-enter 380ms 50ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.required-update-dialog.is-updating {
  width: min(360px, 100%);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 26px 28px 22px;
}

.required-update-dialog.is-updating.is-phase-error {
  min-height: 342px;
  padding: 26px 28px 20px;
}

.required-update-dialog.is-updating .required-update-progress {
  flex: 1 1 auto;
  align-content: center;
  width: 100%;
  padding-top: 38px;
}

.required-update-dialog.is-updating.is-phase-error .required-update-progress {
  padding-top: 34px;
}

.required-update-mark-floating {
  position: absolute;
  top: 26px;
  left: 28px;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 5px 15px rgba(28, 25, 23, 0.07);
}

.required-update-mark-floating img {
  width: 28px;
  height: 28px;
}

.required-update-progress-title {
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 31px;
  color: #1c1917;
  font-family: "Heino Manrope", var(--font-body);
  font-size: 27px;
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.required-update-dialog.is-phase-error .required-update-progress-title {
  margin-bottom: 8px;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.required-update-progress-title span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.required-update-progress-title img {
  width: 89px;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.required-update-failure-copy {
  max-width: 260px;
  margin: 0 auto 20px;
  color: #57534e;
  font-size: 13px;
  font-weight: 560;
  line-height: 1.45;
  text-align: center;
}

.required-update-progress-card {
  width: 100%;
  min-width: 0;
}

.required-update-dialog.is-phase-error .required-update-progress-card {
  padding: 16px 15px 14px;
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 14px;
}

.required-update-progress-copy,
.required-update-progress-meta {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.required-update-progress-copy {
  margin-bottom: 12px;
  color: #292524;
  font-size: 13px;
  font-weight: 670;
  line-height: 1.3;
}

.required-update-progress-copy strong {
  flex: 0 0 auto;
  color: #1c1917;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 730;
  font-variant-numeric: tabular-nums;
}

.required-update-progress-track {
  position: relative;
  width: 100%;
  height: 8px;
  overflow: hidden;
  background: #e7e5e4;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(28, 25, 23, 0.08);
}

.required-update-progress-value {
  position: absolute;
  inset: 0;
  display: block;
  background: #1c1917;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.required-update-progress-track.is-indeterminate .required-update-progress-value {
  right: auto;
  width: 34%;
  transform: translateX(-120%);
  transform-origin: center;
  animation: required-update-progress-indeterminate 1.65s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.required-update-dialog.is-phase-error .required-update-progress-copy span {
  color: #292524;
}

.required-update-dialog.is-phase-error .required-update-progress-value {
  background: #1c1917;
}

.required-update-dialog.is-phase-error .required-update-progress-track.is-indeterminate .required-update-progress-value {
  width: 100%;
  opacity: 0.18;
  transform: none;
  animation: none;
}

.required-update-dialog.is-phase-complete .required-update-progress-value {
  background: #15803d;
}

.required-update-progress-meta {
  margin-top: 12px;
  color: #78716c;
  font-size: 11px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.required-update-progress-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.required-update-progress-meta span:last-child {
  flex: 0 1 auto;
  text-align: right;
}

.required-update-notes {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 13px 14px;
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
}

.required-update-notes > strong {
  color: #292524;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.3;
}

.required-update-notes-scroll {
  max-height: 92px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 8px;
  outline: none;
  overscroll-behavior: contain;
  scrollbar-color: #a8a29e #eeecea;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.required-update-notes-scroll:focus-visible {
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(28, 25, 23, 0.16);
}

.required-update-notes-scroll::-webkit-scrollbar {
  width: 6px;
}

.required-update-notes-scroll::-webkit-scrollbar-track {
  background: #eeecea;
  border-radius: 999px;
}

.required-update-notes-scroll::-webkit-scrollbar-thumb {
  background: #a8a29e;
  border-radius: 999px;
}

.required-update-notes ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.required-update-notes li {
  position: relative;
  padding-left: 14px;
  color: #57534e;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.45;
}

.required-update-notes li::before {
  position: absolute;
  top: 0.55em;
  left: 1px;
  width: 4px;
  height: 4px;
  background: #57534e;
  border-radius: 999px;
  content: "";
}

.required-update-footer-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  background: #fef2f2;
  border: 1px solid #e7e5e4;
  border-color: #fecaca;
  border-radius: 10px;
}

.required-update-footer-copy p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.required-update-footer-copy a {
  width: fit-content;
  color: #991b1b;
  font-size: 11px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.required-update-footer-copy .required-update-error {
  color: #b91c1c;
  font-weight: 650;
}

.required-update-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.required-update-actions > button {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background-clip: border-box;
}

.required-update-actions > .primary-button {
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}

.required-update-actions > .primary-button:focus-visible {
  outline: 0;
  background: #292524;
  box-shadow: none;
}

.required-update-actions > .required-update-exit {
  min-height: 50px;
  padding: 0 16px;
  color: #44403c;
  background: #ffffff;
  border: 1px solid #d6d3d1;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(28, 25, 23, 0.06);
}

.required-update-dialog.is-updating .required-update-actions {
  flex: 0 0 auto;
}

.required-update-dialog.is-updating .required-update-exit {
  min-height: 50px;
  padding: 0 16px;
  color: #44403c;
  background: #ffffff;
  border: 1px solid #d6d3d1;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(28, 25, 23, 0.06);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.required-update-dialog.is-updating .required-update-exit:hover:not(:disabled),
.required-update-dialog.is-updating .required-update-exit:focus-visible {
  color: #1c1917;
  background: #f5f5f4;
}

.required-update-actions > .required-update-exit:hover:not(:disabled),
.required-update-actions > .required-update-exit:focus-visible {
  color: #1c1917;
  background: #f5f5f4;
}

.required-update-actions > .required-update-exit:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(28, 25, 23, 0.12);
}

@keyframes required-update-backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes required-update-dialog-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes required-update-progress-enter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes required-update-progress-indeterminate {
  0% { transform: translateX(-120%); }
  58%,
  100% { transform: translateX(310%); }
}

@media (max-width: 520px), (max-height: 760px) {
  .required-update-backdrop {
    padding: 14px;
  }

  .required-update-dialog {
    gap: 15px;
    padding: 20px;
    border-radius: 16px;
  }

  .required-update-hero {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
  }

  .required-update-mark {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .required-update-mark img {
    width: 36px;
    height: 36px;
  }

  .required-update-copy h2 {
    font-size: 25px;
  }

  .required-update-dialog.is-updating.is-phase-error {
    min-height: min(352px, calc(100vh - 28px));
  }
}

@media (max-height: 480px) {
  .required-update-dialog {
    gap: 12px;
    padding: 16px;
  }

  .required-update-hero {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .required-update-mark {
    width: 44px;
    height: 44px;
  }

  .required-update-mark img {
    width: 34px;
    height: 34px;
  }

  .required-update-version-card {
    padding: 10px 12px;
  }

  .required-update-notes {
    gap: 6px;
    padding: 11px 12px;
  }

  .required-update-progress {
    padding: 0;
  }

  .required-update-notes-scroll {
    max-height: 84px;
  }

  .required-update-notes ul {
    gap: 5px;
  }

  .required-update-actions {
    gap: 5px;
  }

  .required-update-actions > .primary-button {
    min-height: 46px;
  }

  .required-update-actions > .required-update-exit {
    min-height: 30px;
  }
}

.kyc-verification-backdrop {
  z-index: 128;
}

.kyc-verification-dialog {
  position: relative;
  width: min(390px, 100%);
  gap: 16px;
  padding: 24px 24px 22px;
  align-items: center;
  border-radius: 12px;
  animation: dialog-surface-enter 200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal-backdrop.is-closing .kyc-verification-dialog,
.kyc-verification-dialog.is-closing {
  animation: dialog-surface-exit 160ms cubic-bezier(0.4, 0, 1, 1) both;
}

.kyc-verification-head {
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding: 0 34px;
  text-align: center;
}

.kyc-verification-head h2,
.security-f2a-backup-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.kyc-verification-close.icon-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  color: #78716c;
  background: transparent;
  border-color: transparent;
  border-radius: 6px;
}

.kyc-verification-close.icon-button:hover:not(:disabled),
.kyc-verification-close.icon-button:focus-visible {
  color: #1c1917;
  background: #f5f5f4;
  border-color: #e7e5e4;
}

.kyc-verification-head p,
.security-f2a-backup-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.kyc-verification-body {
  min-width: 0;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.kyc-verification-qr {
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.08);
}

.kyc-verification-qr canvas {
  width: 236px !important;
  height: 236px !important;
  display: block;
}

.kyc-verification-copy {
  min-width: 0;
  display: grid;
  gap: 9px;
  align-content: center;
}

.kyc-verification-copy > strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
}

.kyc-verification-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.kyc-verification-copy > small {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.45;
}

.kyc-verification-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 30px;
  padding: 0 12px;
  color: var(--ink);
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 690;
  line-height: 1.2;
  text-align: center;
}

.kyc-verification-status.is-ok {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.kyc-verification-status.is-warn {
  color: #1c1917;
  background: #fafaf9;
  border-color: #e7e5e4;
}

.kyc-verification-status.is-danger {
  color: var(--muted);
  background: #f5f5f4;
  border-color: #e7e5e4;
}

.kyc-status-light {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: #a8a29e;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(168, 162, 158, 0.14);
}

.kyc-verification-status.is-ok .kyc-status-light {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.kyc-verification-status.is-warn .kyc-status-light {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
  animation: kycLightPulse 1.6s ease-in-out infinite;
}

.kyc-verification-status.is-danger .kyc-status-light {
  background: #a8a29e;
  box-shadow: 0 0 0 3px rgba(168, 162, 158, 0.14);
}

.kyc-verification-expiry {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--faint);
  text-align: center;
}

.kyc-verification-expiry > small {
  max-width: 100%;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.kyc-verification-refresh.icon-button {
  width: 22px;
  min-width: 22px;
  min-height: 22px;
  padding: 0;
  color: #a8a29e;
  background: transparent;
  border-color: transparent;
  border-radius: 999px;
}

.kyc-verification-refresh.icon-button:hover:not(:disabled),
.kyc-verification-refresh.icon-button:focus-visible {
  color: #1c1917;
  background: #f5f5f4;
  border-color: #e7e5e4;
}

@keyframes kycLightPulse {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.kyc-verification-preparing {
  min-height: 214px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 16px 14px 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: center;
}

.kyc-analyzing-icon {
  position: relative;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  color: #1c1917;
  border-radius: 20px;
  transform: translateZ(0);
  animation: kycAnalyzingFloat 2.5s ease-in-out infinite;
}

.kyc-analyzing-icon::before {
  content: "";
  position: absolute;
  inset: 3px;
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 19px;
  box-shadow: 0 14px 34px rgba(28, 25, 23, 0.1);
}

.kyc-analyzing-svg {
  position: absolute;
  inset: 16px;
  width: 50px;
  height: 50px;
}

.kyc-analyzing-wipe {
  z-index: 2;
  color: #ffffff;
  clip-path: inset(0 0 0 0);
  animation: kycAnalyzingWipe 2.5s cubic-bezier(0.175, 0.885, 0.32, 1) infinite alternate;
}

.kyc-analyzing-bar {
  position: absolute;
  z-index: 3;
  top: 16px;
  bottom: 16px;
  width: 3px;
  color: #1c1917;
  background: currentColor;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(28, 25, 23, 0.08), 0 10px 18px rgba(28, 25, 23, 0.14);
  animation: kycAnalyzingBar 2.5s cubic-bezier(0.175, 0.885, 0.32, 1) infinite alternate;
}

.kyc-analyzing-retry {
  position: absolute;
  z-index: 4;
  color: #57534e;
  filter: drop-shadow(0 4px 10px rgba(28, 25, 23, 0.14));
  animation: kycRetryBreathe 1.8s ease-in-out infinite;
}

.kyc-analyzing-icon.is-retry {
  animation: none;
}

.kyc-analyzing-icon.is-retry .kyc-analyzing-svg {
  opacity: 0.2;
}

.kyc-analyzing-icon.is-retry .kyc-analyzing-wipe,
.kyc-analyzing-icon.is-retry .kyc-analyzing-bar {
  display: none;
}

.kyc-verification-preparing strong {
  color: var(--ink);
  max-width: 280px;
  font-size: 17px;
  font-weight: 760;
  line-height: 1.35;
}

.kyc-verification-preparing p {
  max-width: 300px;
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.45;
}

@keyframes kycAnalyzingFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@keyframes kycAnalyzingWipe {
  0% {
    clip-path: inset(0 0 0 0);
  }

  60% {
    clip-path: inset(0 105% 0 0);
  }

  100% {
    clip-path: inset(0 105% 0 0);
  }
}

@keyframes kycAnalyzingBar {
  0% {
    transform: translateX(42px);
  }

  60% {
    transform: translateX(-42px);
  }

  100% {
    transform: translateX(-42px);
  }
}

@keyframes kycRetryBreathe {
  0%,
  100% {
    opacity: 0.58;
    transform: rotate(0deg) scale(0.96);
  }

  50% {
    opacity: 1;
    transform: rotate(22deg) scale(1);
  }
}

.security-f2a-backdrop {
  z-index: 130;
}

.security-f2a-dialog {
  --security-f2a-label: #44403c;
  --security-f2a-copy: #78716c;
  --security-f2a-accent: #1c1917;
  --security-f2a-accent-hover: #0c0a09;
  position: relative;
  width: min(520px, calc(100vw - 40px));
  height: 568px;
  max-height: calc(100% - 24px);
  grid-template-rows: repeat(3, 189px);
  gap: 0;
  padding: 1px 0 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(28, 25, 23, 0.18);
  font-family: "Heino Inter", "Heino Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  animation: dialog-surface-enter 200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal-backdrop.is-closing .security-f2a-dialog,
.security-f2a-dialog.is-closing {
  animation: dialog-surface-exit 160ms cubic-bezier(0.4, 0, 1, 1) both;
}

.security-f2a-close.icon-button {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 30px;
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  color: #78716c;
  background: transparent;
  border-color: transparent;
  border-radius: 10px;
}

.security-f2a-close.icon-button:hover:not(:disabled),
.security-f2a-close.icon-button:focus-visible {
  color: #1c1917;
  background: #f5f5f4;
  border-color: #e7e5e4;
}

.security-f2a-guide-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 128px 260px;
  column-gap: 60px;
  align-items: start;
  height: 189px;
  padding: 30px 37px 31px 35px;
  background: #ffffff;
}

.security-f2a-guide-art {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  overflow: visible;
}

.security-f2a-app-art img {
  width: 140px;
  height: 140px;
  max-width: none;
  display: block;
  filter: sepia(0.16) saturate(0.65) contrast(1.08) brightness(0.78);
}

.security-f2a-phone-art img {
  width: 178px;
  height: 178px;
  max-width: none;
  display: block;
  transform: translate(-3px, -22px);
}

.security-f2a-guide-copy {
  min-width: 0;
  display: block;
  align-self: start;
}

.security-f2a-guide-kicker {
  display: block;
  width: 106.4%;
  color: var(--security-f2a-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 16px;
  text-transform: uppercase;
  transform: scaleX(0.94);
  transform-origin: left center;
}

.security-f2a-guide-copy > p {
  margin: 12px 0 0;
  color: var(--security-f2a-copy);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.security-f2a-guide-copy a {
  color: var(--security-f2a-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(28, 25, 23, 0.38);
  text-underline-offset: 1px;
}

.security-f2a-guide-copy a:hover,
.security-f2a-guide-copy a:focus-visible {
  color: var(--security-f2a-accent-hover);
  text-decoration-color: currentColor;
}

.security-f2a-qr {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 0;
  border-radius: 0;
}

.security-f2a-qr canvas {
  width: 128px !important;
  height: 128px !important;
  display: block;
}

.security-f2a-manual-key {
  min-width: 0;
  display: grid;
  gap: 2px;
  margin-top: 10px;
}

.security-f2a-manual-key > span {
  width: 106.4%;
  color: var(--security-f2a-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 16px;
  text-transform: uppercase;
  transform: scaleX(0.94);
  transform-origin: left center;
}

.security-f2a-secret-copy {
  min-width: 0;
  width: 100%;
  min-height: 18px;
  display: block;
  padding: 0;
  color: var(--security-f2a-copy);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
}

.security-f2a-secret-copy:hover,
.security-f2a-secret-copy:focus-visible {
  color: var(--security-f2a-accent);
}

.security-f2a-secret-copy code {
  min-width: 0;
  overflow: hidden;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-f2a-code-copy {
  min-width: 0;
}

.security-f2a-code-controls {
  min-width: 0;
  display: grid;
  grid-template-columns: 122px 97px;
  align-items: end;
  gap: 25px;
  margin-top: 12px;
}

.security-f2a-code-field {
  min-width: 0;
  display: block;
}

.security-f2a-code-input,
.security-f2a-code-input:hover,
.security-f2a-code-input:focus {
  width: 100%;
  height: 36px;
  padding: 0 2px;
  color: var(--security-f2a-accent);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--security-f2a-accent);
  border-radius: 0;
  box-shadow: none;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.2em;
  outline: none;
}

.security-f2a-code-input:focus {
  border-bottom-color: var(--security-f2a-accent-hover);
  box-shadow: 0 2px 0 rgba(28, 25, 23, 0.14);
}

.security-f2a-code-input[aria-invalid="true"],
.security-f2a-code-input[aria-invalid="true"]:hover,
.security-f2a-code-input[aria-invalid="true"]:focus {
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--danger);
  box-shadow: 0 2px 0 rgba(239, 68, 68, 0.14);
}

.security-f2a-activate {
  width: 97px;
  min-width: 97px;
  min-height: 36px;
  height: 36px;
  padding-inline: 12px;
  color: #ffffff;
  background: var(--security-f2a-accent);
  border-color: var(--security-f2a-accent);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}

.security-f2a-activate:hover:not(:disabled) {
  background: var(--security-f2a-accent-hover);
  border-color: var(--security-f2a-accent-hover);
}

.security-f2a-backup-dialog {
  width: min(540px, 100%);
  justify-items: center;
  gap: 15px;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(28, 25, 23, 0.18);
  text-align: center;
  animation: dialog-surface-enter 200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal-backdrop.is-closing .security-f2a-backup-dialog,
.security-f2a-backup-dialog.is-closing {
  animation: dialog-surface-exit 160ms cubic-bezier(0.4, 0, 1, 1) both;
}

.security-f2a-success-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
}

.security-f2a-backup-heading {
  max-width: 460px;
}

.security-f2a-backup-warning {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.security-f2a-backup-warning svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.security-f2a-backup-codes {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: #f5f5f4;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.security-f2a-backup-codes code {
  padding: 9px 10px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.security-f2a-backup-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.security-f2a-backup-actions > button {
  width: 100%;
  border-radius: 12px;
}

@media (max-width: 540px) {
  .kyc-verification-body {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .kyc-verification-copy {
    width: 100%;
  }

  .kyc-verification-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kyc-verification-actions .primary-button {
    grid-column: 1 / -1;
  }

  .security-f2a-dialog {
    height: auto;
    max-height: calc(100% - 24px);
    grid-template-rows: none;
    padding: 0;
    overflow-y: auto;
  }

  .security-f2a-guide-row {
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 28px;
    height: auto;
    min-height: 170px;
    padding: 28px 24px;
  }

  .security-f2a-app-art,
  .security-f2a-phone-art {
    width: 104px;
    height: 104px;
  }

  .security-f2a-app-art img {
    width: 104px;
    height: 104px;
  }

  .security-f2a-phone-art img {
    width: 136px;
    height: 136px;
    transform: translate(-2px, -17px);
  }

  .security-f2a-qr,
  .security-f2a-qr canvas {
    width: 104px !important;
    height: 104px !important;
  }

  .security-f2a-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .security-f2a-backup-codes {
    grid-template-columns: minmax(0, 1fr);
  }

  .security-f2a-backup-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 390px) {
  .security-f2a-guide-row {
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 16px;
    min-height: 152px;
    padding: 24px 16px;
  }

  .security-f2a-app-art,
  .security-f2a-phone-art,
  .security-f2a-qr,
  .security-f2a-qr canvas {
    width: 72px !important;
    height: 72px !important;
  }

  .security-f2a-app-art img {
    width: 72px;
    height: 72px;
  }

  .security-f2a-phone-art img {
    width: 96px;
    height: 96px;
    transform: translate(-1px, -12px);
  }

  .security-f2a-code-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .security-f2a-activate {
    width: 100%;
  }
}

@media (min-width: 540px) {
  :root {
    --titlebar-h: 88px;
    --app-gutter: 14px;
    --top-nav-h: 86px;
    --workspace-gap: 12px;
    --nav-w: 72px;
  }

  .brand {
    gap: 0;
    padding-inline: 24px;
  }

  .brand-logo {
    width: 140px;
  }

  .window-button,
  .desktop-titlebar .language-toggle {
    width: 68px;
    min-width: 68px;
  }

  .email-code-row,
  .card-key-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .time-transfer-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .time-transfer-row > .primary-button {
    grid-column: 1 / -1;
  }

  .email-code-row > .secondary-button,
  .card-key-row > .secondary-button {
    min-width: 142px;
  }

  .action-hub {
    padding: 0;
  }

  .account-action {
    height: 100%;
    flex-direction: row;
    gap: 6px;
    padding: 0 7px;
  }

  .account-action-icon {
    width: 22px;
    height: 22px;
  }

  .account-action strong {
    font-size: 15px;
  }
}

@media (min-width: 680px) {
  :root {
    --titlebar-h: 100px;
    --app-gutter: 20px;
    --top-nav-h: 92px;
    --workspace-gap: 16px;
    --nav-w: 168px;
  }

  body {
    font-size: 17px;
  }

  .brand {
    gap: 0;
    padding-inline: 28px;
  }

  .brand-logo {
    width: 158px;
  }

  .window-button,
  .desktop-titlebar .language-toggle {
    width: 72px;
    min-width: 72px;
  }

  .login-panel {
    width: 100%;
  }

  .login-layout {
    width: min(calc(100% - (var(--app-gutter) * 2)), 638px);
    padding-top: clamp(150px, 18vh, 218px);
  }

  .login-layout.login-layout-welcome {
    width: min(calc(100% - 40px), 638px);
    padding-top: clamp(44px, 6vh, 70px);
  }

  .login-layout.login-layout-account {
    padding-top: clamp(28px, 5vh, 58px);
  }

  .login-layout.login-layout-register {
    padding-top: clamp(22px, 4vh, 46px);
  }

  .login-layout.login-layout-reset {
    padding-top: clamp(36px, 6vh, 72px);
  }

  .login-layout.login-layout-f2a {
    width: min(calc(100% - 40px), 592px);
    padding-top: clamp(190px, 24vh, 270px);
  }

  .action-hub {
    gap: 0;
    padding: 0;
  }

  .account-action {
    height: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
    padding: 0 7px;
  }

  .account-action > span:last-child {
    position: static;
    width: auto;
    height: auto;
    min-width: 0;
    overflow: visible;
    clip: auto;
  }

  .account-action strong {
    overflow: hidden;
    font-size: 15px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .account-action small {
    display: none;
  }

  .workspace-support {
    display: none;
  }

  .workspace-support span {
    color: var(--faint);
    letter-spacing: 0.08em;
  }

  .workspace-support a {
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    text-decoration: none;
    text-overflow: ellipsis;
  }

  .panel:not([hidden]) {
    gap: 20px;
    padding: clamp(58px, 6vh, 76px) 0 0;
  }

  .panel-title-row {
    top: auto;
    margin: 0;
    padding: 0 0 18px;
  }

  .panel-title-row h2 {
    font-size: 30px;
  }

  .summary-grid,
  .security-option-grid,
  .kyc-flow-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .summary-item {
    min-height: 100px;
    padding: 16px;
  }

  .overview-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kyc-flow-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-workbench {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    min-height: 0;
  }

  .workbench-actions {
    min-height: 0;
  }

  .password-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .password-form-grid > .primary-button {
    grid-column: 1 / -1;
  }

  .security-module-password .password-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  thead {
    display: table-header-group;
  }

  tbody {
    display: table-row-group;
  }

  tr {
    display: table-row;
    padding: 0;
    background: transparent;
    border: 0;
  }

  th,
  td {
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
  }

  th {
    color: var(--faint);
    font-weight: 600;
  }

  td {
    display: table-cell;
    color: var(--muted);
  }

  td[data-label]::before {
    display: none;
  }

  .entity-cell {
    min-width: 118px;
  }
}

.security-panel:not([hidden]) {
  gap: 12px;
  padding-top: clamp(24px, 2.8vh, 36px);
}

@media (min-width: 680px) {
  .security-panel:not([hidden]) {
    gap: 12px;
    padding-top: clamp(26px, 3vh, 38px);
  }
}

@media (max-width: 420px), (max-height: 660px) {
  .brand-copy {
    display: none;
  }

  .login-mode-header span {
    display: none;
  }

  .login-mode-header {
    padding-top: 12px;
  }

  .login-footer a {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@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;
  }

  .recovery-motion-source-animated {
    display: none !important;
  }

  .recovery-motion-source-still {
    display: block !important;
  }

  .recovery-scene-helper-frame {
    opacity: 0 !important;
    animation: none !important;
    will-change: auto;
  }

  .recovery-scene-helper-frame[data-pose="idle"] {
    opacity: 1 !important;
  }

  .recovery-scene-helper-wrap,
  .recovery-scene-service-stage,
  .recovery-scene-session-key-mask,
  .recovery-scene-session-lock-mask,
  .recovery-scene-component-gear,
  .recovery-scene-component-tool {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }

  .recovery-scene-service-led {
    opacity: 0 !important;
    animation: none !important;
    will-change: auto;
  }

  .recovery-scene-session-key-mask {
    opacity: 1 !important;
    clip-path: inset(40.93% 0 50.05% 0) !important;
  }

  .feedback {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .field-error,
  .modal-backdrop,
  .confirm-modal,
  .kyc-verification-dialog,
  .security-f2a-dialog,
  .security-f2a-backup-dialog,
  .network-node-popover,
  .transfer-project-popover,
  .button-spinner,
  .refreshable-list.is-refreshing::before,
  .refreshable-list.is-refreshing::after {
    transform: none;
    animation: none !important;
    transition: none !important;
  }

  .field-error.is-closing,
  .modal-backdrop.is-closing,
  .feedback-toast.is-closing .feedback,
  .network-node-popover.is-closing,
  .transfer-project-popover.is-closing {
    opacity: 0;
  }

  .network-refresh-dots i {
    opacity: 0.55;
    transform: none;
    animation: none !important;
  }

  .network-refresh-signal-inner,
  .network-refresh-signal-middle,
  .network-refresh-signal-outer {
    opacity: 1;
  }

  .page-view-enter,
  .panel:not([hidden]) {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .required-update-backdrop,
  .required-update-dialog {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .required-update-progress,
  .required-update-progress-value {
    transform: none;
    animation: none !important;
    transition: none !important;
  }

  .required-update-progress-track.is-indeterminate .required-update-progress-value {
    width: 34%;
    transform: translateX(0);
    opacity: 0.72;
  }

  .welcome-tech-arrive,
  .welcome-tech-motion,
  .welcome-tech-card-layer,
  .welcome-tech-signal-mark {
    transform: none;
    animation: none !important;
  }

  .welcome-tech-arrive {
    opacity: 1;
    transform: translateX(3.4%);
  }

  .welcome-tech-card-layer {
    opacity: 0;
  }

  .welcome-tech-signal-mark {
    opacity: 0.72;
  }

  .welcome-tech-signal-mark-one {
    transform: rotate(-66deg) scale(0.82);
  }

  .welcome-tech-signal-mark-two {
    transform: rotate(-48deg) scale(0.9);
  }

  .welcome-tech-signal-mark-three {
    transform: rotate(-31deg);
  }
}
