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

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f4ef;
}

body,
h1,
h2,
p,
table {
  margin: 0;
}

body {
  min-height: 100vh;
  letter-spacing: 0.005em;
}

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

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

button {
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.block { display: block; }
.inline { display: inline; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.table { display: table; }

.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.max-w-32 { max-width: 8rem; }
.max-w-72 { max-width: 18rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-h-80 { max-height: 20rem; }
.min-h-screen { min-height: 100vh; }
.aspect-square { aspect-ratio: 1 / 1; }

.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.flex-col-reverse { flex-direction: column-reverse; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.grid-cols-\[auto_1fr_auto\] { grid-template-columns: auto 1fr auto; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-x-3 { column-gap: 0.75rem; }
.gap-y-1 { row-gap: 0.25rem; }

.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.divide-y > * + * { border-top-width: 1px; }
.divide-slate-100 > * + * { border-color: #f1f5f9; }

.mx-auto { margin-left: auto; margin-right: auto; }
.ml-1 { margin-left: 0.25rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-auto { margin-left: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pl-3 { padding-left: 0.75rem; }
.pr-5 { padding-right: 1.25rem; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.break-all { word-break: break-all; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.border { border: 1px solid #e6e0d6; }
.border-t { border-top: 1px solid #e6e0d6; }
.border-b { border-bottom: 1px solid #e6e0d6; }
.border-l-2 { border-left: 2px solid #e6e0d6; }
.border-slate-100 { border-color: #eee9df; }
.border-slate-200 { border-color: #e6e0d6; }
.border-slate-300 { border-color: #cfc7b8; }

.bg-white { background-color: #fff; }
.bg-slate-50 { background-color: #f6f4ef; }
.bg-slate-100 { background-color: #eee9df; }
.bg-slate-900 { background-color: #1f4e8c; }
.bg-red-100 { background-color: #fee2e2; }
.bg-rose-100 { background-color: #ffe4e6; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-emerald-100 { background-color: #d1fae5; }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-from), var(--tw-gradient-to)); }
.from-slate-900 { --tw-gradient-from: #173963; }
.to-slate-700 { --tw-gradient-to: #1f4e8c; }

.text-white { color: #fff; }
.text-slate-300 { color: #d6d0c4; }
.text-slate-400 { color: #9a9284; }
.text-slate-500 { color: #6f685d; }
.text-slate-600 { color: #4f4a42; }
.text-slate-700 { color: #2f2b26; }
.text-slate-900 { color: #171512; }
.text-red-800 { color: #991b1b; }
.text-rose-700 { color: #be123c; }
.text-amber-800 { color: #92400e; }
.text-emerald-800 { color: #065f46; }
.text-emerald-600 { color: #059669; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-\[10px\] { font-size: 10px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-4 { line-height: 1rem; }
.leading-tight { line-height: 1.25; }

.shadow-sm { box-shadow: 0 1px 8px 0 rgb(23 21 18 / 0.06); }
.shadow { box-shadow: 0 8px 20px -14px rgb(23 21 18 / 0.2); }
.shadow-xl { box-shadow: 0 24px 50px -28px rgb(23 21 18 / 0.35); }
.scroll-mt-4 { scroll-margin-top: 1rem; }

.hover\:bg-slate-50:hover { background-color: #f6f4ef; }
.hover\:bg-slate-800:hover { background-color: #173963; }
.hover\:text-slate-900:hover { color: #171512; }
.hover\:text-white:hover { color: #fff; }
.hover\:underline:hover { text-decoration: underline; }

input,
select,
textarea {
  background: #fff;
  color: #171512;
  border-radius: 0.35rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #1f4e8c;
  box-shadow: 0 0 0 3px rgb(31 78 140 / 0.12);
  outline: none;
}

@media (min-width: 640px) {
  .sm\:hidden { display: none !important; }
  .sm\:flex { display: flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:gap-5 { gap: 1.25rem; }
  .sm\:grid-cols-\[1fr_auto\] { grid-template-columns: 1fr auto; }
  .sm\:ml-0 { margin-left: 0; }
  .sm\:ml-auto { margin-left: auto; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .sm\:pb-0 { padding-bottom: 0; }
  .sm\:space-y-0 > * + * { margin-top: 0; }
  .sm\:w-auto { width: auto; }
}

@media (min-width: 768px) {
  .md\:hidden { display: none !important; }
  .md\:block { display: block; }
  .md\:table { display: table; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
}
