*,
::before,
::after {
  box-sizing: border-box;
}

html {
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body,
h1,
h2,
h3,
p,
fieldset,
form {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
  text-decoration: none;
}

.min-h-screen { min-height: 100vh; }
.bg-white { background: #fff; }
.bg-slate-50 { background: #f8fafc; }
.bg-slate-100 { background: #f1f5f9; }
.bg-slate-300 { background: #cbd5e1; }
.bg-slate-400 { background: #94a3b8; }
.bg-slate-950 { background: #020617; }
.bg-amber-50 { background: #fffbeb; }
.bg-emerald-50 { background: #ecfdf5; }
.bg-red-50 { background: #fef2f2; }
.text-white { color: #fff; }
.text-slate-950 { color: #020617; }
.text-slate-900 { color: #0f172a; }
.text-slate-800 { color: #1e293b; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-amber-900 { color: #78350f; }
.text-amber-800 { color: #92400e; }
.text-emerald-900 { color: #064e3b; }
.text-red-700 { color: #b91c1c; }

.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.w-full { width: 100%; }
.max-w-sm { max-width: 24rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-none { max-width: none; }
.min-h-24 { min-height: 6rem; }
.min-h-28 { min-height: 7rem; }
.min-h-32 { min-height: 8rem; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.divide-y > * + * { border-top: 1px solid #f1f5f9; }
.divide-slate-100 > * + * { border-color: #f1f5f9; }

.rounded { border-radius: .25rem; }
.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }
.border { border: 1px solid #e2e8f0; }
.border-b { border-bottom: 1px solid #e2e8f0; }
.last\:border-b-0:last-child { border-bottom: 0; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-amber-200 { border-color: #fde68a; }
.border-emerald-200 { border-color: #a7f3d0; }
.border-red-200 { border-color: #fecaca; }
.border-red-300 { border-color: #fca5a5; }

.p-5 { padding: 1.25rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.leading-6 { line-height: 1.5rem; }
.tracking-tight { letter-spacing: 0; }

.shadow-sm { box-shadow: 0 1px 2px rgb(15 23 42 / .05); }
.focus\:border-slate-500:focus { border-color: #64748b; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px #e2e8f0; }
.focus\:ring-slate-200:focus { box-shadow: 0 0 0 2px #e2e8f0; }
.hover\:bg-slate-50:hover { background: #f8fafc; }
.hover\:bg-slate-100:hover { background: #f1f5f9; }
.hover\:bg-slate-800:hover { background: #1e293b; }
.hover\:bg-red-50:hover { background: #fef2f2; }
.hover\:text-slate-900:hover { color: #0f172a; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.disabled\:bg-slate-300:disabled { background: #cbd5e1; }
.disabled\:bg-slate-400:disabled { background: #94a3b8; }

.prose :where(h1,h2,h3) {
  color: #0f172a;
  font-weight: 700;
  margin-bottom: .5rem;
  margin-top: 1rem;
}

.prose :where(p,ul,ol,blockquote,pre) {
  margin-bottom: .65rem;
  margin-top: .65rem;
}

.prose :where(ul,ol) { padding-left: 1.25rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a {
  color: #0369a1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose code {
  background: #f1f5f9;
  border-radius: .25rem;
  font-size: .9em;
  padding: .1rem .25rem;
}
.prose blockquote {
  border-left: 3px solid #cbd5e1;
  color: #475569;
  padding-left: .75rem;
}

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  [class~="md:grid-cols-[1fr_auto]"] { grid-template-columns: 1fr auto; }
}
