/* Astra design system — shared by the workspace, studio and account pages. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700;750;800&family=Prompt:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg-page: #f7f8fa;
  --bg-soft: #f0f4f2;
  --bg-card: #ffffff;
  --bg-card-2: #fbfcfb;
  --bg-card-dark: #f0f4f2;
  --bg-input: #ffffff;
  --text-primary: #172b29;
  --text-secondary: #566762;
  --text-muted: #76837e;
  --accent: #1b8068;
  --accent-2: #12614e;
  --accent-green: #1b8068;
  --accent-orange: #a36820;
  --accent-red: #c04444;
  --mint: #eaf4ef;
  --border: #e2e8e5;
  --border-soft: #edf0ee;
  --panel-border: #e2e8e5;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 6px rgb(23 43 41 / 3%);
  --shadow-md: 0 8px 32px rgb(23 43 41 / 5%);
  --shadow-lg: 0 24px 80px rgb(23 43 41 / 14%);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: "Inter", "Prompt", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
select,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}
button {
  touch-action: manipulation;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-2);
}
img,
video {
  max-width: 100%;
}
svg {
  flex-shrink: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.45;
}
::selection {
  background: #cbe9dd;
  color: #153a2f;
}
:focus-visible {
  outline: 3px solid #63ab95;
  outline-offset: 3px;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(
    [type="hidden"]
  ),
select,
textarea {
  min-height: 44px;
  padding: 10px 13px;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
input::placeholder,
textarea::placeholder {
  color: #8a9690;
  opacity: 1;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(27 128 104 / 10%);
}
input[type="checkbox"],
input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}
select {
  max-width: 100%;
}
textarea {
  resize: vertical;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 9999;
  top: -70px;
  left: 16px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--text-primary);
  color: white;
}
.skip-link:focus {
  top: 12px;
  color: white;
}
.astra-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: #c7d2cc;
  border: 1px solid var(--bg-page);
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
@media (max-width: 640px) {
  input,
  textarea,
  select {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
