/* Loaded only in standalone mode, the iOS fallback, or the ?view=app preview. */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  background: var(--bg);
}

.page-width {
  width: min(760px, calc(100% - 40px));
}

.site-header {
  height: 72px;
  flex: none;
  gap: 12px;
}

.hero,
.landing-details,
.sample-row,
.drop-hint,
.footer-tagline,
.input-panel > .panel-heading,
.input-panel::before {
  display: none;
}

.account-nav .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body .input-panel {
  margin-top: 0;
  padding: 28px 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.app-intro {
  display: block;
  margin-bottom: 24px;
}

.app-intro h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.app-intro p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

body:not(.has-results) .input-actions {
  grid-template-columns: 1fr;
  gap: 12px;
}

body:not(.has-results) .action-card {
  grid-column: auto;
  flex-direction: row;
  align-items: center;
  min-height: 88px;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
}

body:not(.has-results) .action-copy strong {
  font-size: 15px;
}

body:not(.has-results) .action-copy > span {
  font-size: 12px;
  line-height: 1.4;
}

body:not(.has-results) .action-arrow {
  display: block;
}

body .site-footer {
  margin-top: auto;
  padding-block: 32px 20px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 0;
  text-align: center;
}

body .site-footer > span,
.site-footer > span:first-child {
  font-family: inherit;
  font-style: normal;
  font-size: 10px;
}

@media (max-width: 360px) {
  .page-width {
    width: calc(100% - 28px);
  }

  .brand {
    gap: 7px;
    font-size: 20px;
  }

  .account-nav .button {
    padding-inline: 9px;
  }
}
