@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/app/fonts/inter/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/app/fonts/inter/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  overflow: hidden;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #faf9f5;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}
#root {
  display: flex;
  height: 100%;
  flex: 1;
}

html,
body {
  touch-action: manipulation;
}
:where(body *) {
  touch-action: pan-x pan-y;
}

:where(input, textarea, select) {
  font-size: max(16px, 1em);
}

:root :focus-visible {
  outline: 2px solid #0b192c;
  outline-offset: 2px;
}
:root [tabindex='-1']:focus-visible {
  outline: none;
}
:root [data-focus='inset']:focus-visible {
  outline-offset: -2px;
}
:root input:not([type='file']):focus,
:root input:not([type='file']):focus-visible,
:root textarea:focus,
:root textarea:focus-visible,
:root [data-focus='field']:focus,
:root [data-focus='field']:focus-visible {
  outline: none;
}
:root input:-webkit-autofill,
:root input:-webkit-autofill:hover,
:root input:-webkit-autofill:focus {
  -webkit-text-fill-color: #0b192c;
  caret-color: #0b192c;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
  box-shadow: 0 0 0 1000px #ffffff inset;
  transition:
    background-color 0s 600000s,
    color 0s 600000s;
}
:root input[data-surface='muted']:-webkit-autofill,
:root input[data-surface='muted']:-webkit-autofill:hover,
:root input[data-surface='muted']:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #f1f5f9 inset;
  box-shadow: 0 0 0 1000px #f1f5f9 inset;
}

#boot-splash {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom);
  background-color: #faf9f5;
  color: #0b192c;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
#boot-splash {
  opacity: 1;
  transition: opacity 120ms ease-out;
}
#boot-splash.is-done {
  opacity: 0;
  pointer-events: none;
}
.boot-splash-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.boot-splash-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0.04em;
}
.boot-splash-tagline {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  color: #475569;
}
.boot-splash-indicator {
  position: relative;
  width: 64px;
  height: 3px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 2px;
  background-color: #e2e8f0;
  opacity: 0;
  animation: boot-splash-fade 200ms ease-out 400ms forwards;
}
.boot-splash-indicator-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 2px;
  background-color: #0b192c;
  animation: boot-splash-fill 8s cubic-bezier(0.1, 0.6, 0.3, 1) 400ms forwards;
}
.boot-splash-fail {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 20px;
  text-align: center;
  visibility: hidden;
  animation: boot-splash-show 0s linear 30s forwards;
}
.boot-splash-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@keyframes boot-splash-fill {
  to {
    width: 90%;
  }
}
@keyframes boot-splash-show {
  to {
    visibility: visible;
  }
}
@keyframes boot-splash-fade {
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  #boot-splash {
    transition: none;
  }
  .boot-splash-indicator,
  .boot-splash-indicator-fill {
    animation: none;
    visibility: hidden;
  }
}
