/* Shared keyboard, reflow and system-preference support for the website. */
:root {
  --control-border: #737b89;
  --focus-color: #166a4d;
}
[data-theme="dark"] {
  --control-border: #a0a6b3;
  --focus-color: #72d9ad;
}
:focus-visible {
  outline: 3px solid var(--focus-color) !important;
  outline-offset: 3px;
}
main {
  scroll-margin-top: 16px;
}
.skip-link {
  position: fixed;
  z-index: 1100;
  left: 16px;
  top: 8px;
  transform: translateY(-200%);
  padding: 10px 14px;
  background: var(--solid-surface, var(--card, #fff));
  color: var(--focus-color);
}
.skip-link:focus {
  transform: none;
  top: 8px;
}
:is(input, select, textarea):not([type="checkbox"]):not([type="radio"]) {
  border-color: var(--control-border);
}
input::placeholder {
  color: var(--text-muted, var(--muted-foreground, #656b76));
  opacity: 1;
}
button,
summary,
.button-link {
  min-width: 24px;
  min-height: 24px;
}
#app button {
  height: auto;
  min-height: 32px;
  white-space: normal;
}
.site-header nav {
  flex-wrap: wrap;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.site-footer {
  flex-wrap: wrap;
}
.identity {
  min-width: 0;
  overflow-wrap: anywhere;
}
.identity > span {
  min-width: 0;
}
.field-error {
  color: var(--error-text, var(--destructive));
  font-size: 13px;
  font-weight: 400;
}
.table-scroll {
  overflow: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#status:empty {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 680px) {
  .landing-page .site-header nav {
    display: flex;
    width: 100%;
    gap: 4px;
  }
  .landing-page .site-header nav a {
    padding: 4px 8px;
    font-size: 13px;
  }
  .lp-links,
  .site-footer {
    gap: 12px;
  }
  .lp-footer-note {
    display: block !important;
  }
  .site-footer button {
    white-space: normal;
  }
  .site-footer a {
    margin-left: 0;
  }
  .workspace,
  .auth-card,
  #app {
    min-width: 0;
  }
  #app label,
  #app select {
    min-width: 0;
  }
  #saved-selection {
    display: block;
    margin: 8px 0 0;
    width: 100%;
  }
  .auth-card {
    padding: 28px 20px;
  }
  dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  dd {
    margin-bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-contrast: more) {
  :root {
    --control-border: #202127;
    --border-base: #737b89;
    --border: #737b89;
  }
  [data-theme="dark"] {
    --control-border: #e9eaed;
    --border-base: #a0a6b3;
    --border: #a0a6b3;
  }
}
@media (forced-colors: active) {
  :focus-visible {
    outline-color: Highlight !important;
  }
  button,
  input,
  select,
  textarea,
  .button-link {
    border: 1px solid ButtonText;
  }
  .skip-link {
    color: LinkText;
    background: Canvas;
  }
}
