[hidden] {
  display: none !important;
}
.login-layout {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-box {
  width: 100%;
  max-width: 800px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.login-art {
  display: block;
  width: 100%;
  height: auto;
}
.login-controls {
  display: flex;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}
.login-controls .button {
  min-height: 44px;
  width: 240px;
  max-width: 100%;
}
.loading {
  min-height: 100vh;
  display: grid;
  place-content: center;
  color: var(--muted);
}
@media (max-width: 850px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    gap: 22px;
  }
  .navigation {
    gap: 16px;
  }
  .workspace {
    padding: 20px;
  }
  .address-row {
    grid-template-columns: 1fr 1fr;
  }
  .address-row .row-actions {
    grid-column: 1/-1;
  }
  .activity-row time {
    position: static;
  }
}
@media (max-width: 580px) {
  .topbar {
    height: auto;
    min-height: 96px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 20px;
  }
  .navigation {
    order: 3;
    flex-basis: 100%;
  }
  .topbar > .text-button {
    margin-left: auto;
  }
  .wordmark {
    font-size: 1.1rem;
  }
  .card {
    padding: 22px;
  }
  .destinations {
    grid-template-columns: 1fr;
  }
  .footer {
    flex-direction: column;
  }
  .account-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .account-row .text-button {
    text-align: left;
  }
  .tabs {
    gap: 22px;
  }
  .search {
    align-items: stretch;
    flex-direction: column;
  }
  .stats {
    gap: 10px;
  }
  .stats .card {
    padding: 18px;
  }
  .address-row {
    grid-template-columns: 1fr;
  }
  .status-line {
    flex-wrap: wrap;
  }
  .heading {
    margin-top: 25px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background 0.15s,
      border-color 0.15s,
      color 0.15s;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.address-count {
  margin-left: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
}
.address-row time {
  display: block;
}
.step {
  align-items: center;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.page-header .heading {
  margin: 0;
}
.page-header .heading h1 {
  margin-bottom: 0;
}
.page-header > .button {
  flex-shrink: 0;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}

.account-header {
  margin-top: 24px;
}
.page-header .heading {
  min-width: 0;
  overflow-wrap: anywhere;
}
.button.quiet {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}
.button.quiet:hover {
  color: var(--text);
  border-color: var(--muted);
}
.button.compact {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.login-controls .google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid #747775;
  border-radius: 4px;
  background: #fff;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25px;
  line-height: 20px;
}
.google-button img {
  flex: 0 0 20px;
}
.login-controls .google-button:hover {
  background: #f8faff;
  border-color: #747775;
}
.login-controls .google-button:focus-visible {
  outline: 3px solid #4285f4;
  outline-offset: 3px;
}
