:root {
  --neutral-100: oklch(0.94 0.0355 283);
  --neutral-200: oklch(0.821 0.0501 283);
  --neutral-300: oklch(0.653 0.06 283);
  --neutral-400: oklch(0.5 0.0517 283);
  --neutral-500: oklch(0.374 0.0365 283);
  --neutral-600: oklch(0.283 0.0251 283);
  --neutral-700: oklch(0.205 0.0167 283);
  --neutral-800: oklch(0.15 0.012 283);
  --neutral-900: oklch(0.08 0.0074 283);
  --accent-100: oklch(0.94 0.1064 275.6);
  --accent-200: oklch(0.821 0.1503 275.6);
  --accent-300: oklch(0.653 0.18 275.6);
  --accent-400: oklch(0.5 0.155 275.6);
  --accent-500: oklch(0.374 0.1096 275.6);
  --accent-600: oklch(0.283 0.0752 275.6);
  --accent-700: oklch(0.205 0.05 275.6);
  --accent-800: oklch(0.15 0.0359 275.6);
  --accent-900: oklch(0.08 0.0222 275.6);
}

/* BREAKPOINTS */
/* TEXT */
/* SPACING */
/* BORDER RADIUS */
/* SEMANTIC COLORS */
@font-face {
  font-family: "Inter";
  src: url("./font/Inter.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrainsMono";
  src: url("./font/JetBrainsMono.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("./font/Outfit.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
/* Reset: Use intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reset: Remove default margins */
* {
  margin: 0;
}

/* Reset: Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
}

/* Reset: Make body take up full screen */
html {
  block-size: 100%;
}

body {
  min-block-size: 100%;
}

/* Reset: Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Reset: Canvas should be blocks */
canvas {
  display: block;
}

body {
  background-color: oklch(0.08 0.0074 283);
  font-family: "Inter", sans-serif;
  color: oklch(0.821 0.0501 283);
  min-width: 300px;
}

::selection {
  background-color: oklch(0.94 0.0355 283);
  color: oklch(0.15 0.012 283);
}

html {
  font-size: 0.9375rem;
}

body {
  line-height: 1.4;
}

@media (min-width: 576px) {
  html {
    font-size: 1rem;
  }
  body {
    line-height: 1.35;
  }
}
@media (min-width: 768px) {
  html {
    font-size: 1rem;
  }
  body {
    line-height: 1.3;
  }
}
@media (min-width: 991px) {
  html {
    font-size: 1.0625rem;
  }
  body {
    line-height: 1.3;
  }
}
@media (min-width: 1280px) {
  html {
    font-size: 1.0625rem;
  }
  body {
    line-height: 1.3;
  }
}
/*
    Headings
*/
h1, h2, h3, h4, h5, h6 {
  color: oklch(0.94 0.0355 283);
  font-family: "Outfit", sans-serif;
}

h1 {
  font-size: 3.815rem;
  font-weight: 800;
  line-height: 1.05;
}

h2 {
  font-size: 2.441rem;
  font-weight: 800;
  line-height: 1.1;
}

h3 {
  font-size: 1.953rem;
  font-weight: 700;
  line-height: 1.15;
}

h4 {
  font-size: 1.563rem;
  font-weight: 700;
  line-height: 1.2;
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

article > h1, .article > h1 {
  margin-bottom: 1rem;
}
article > h2, .article > h2 {
  margin-bottom: 0.75rem;
}
article > h3, .article > h3 {
  margin-bottom: 0.5rem;
}
article h4, article h5, article h6, .article h4, .article h5, .article h6 {
  margin-bottom: 0.25rem;
}

/* Paragraphs */
article > p, .article > p {
  margin-bottom: 0.25rem;
}

/* Inline Text Elements */
small {
  font-size: 0.875rem;
}

b, strong {
  font-weight: 700;
}

del {
  color: palette("red", "200");
}

ins {
  color: palette("green", "200");
  text-decoration: none;
}

mark {
  background-color: oklch(0.94 0.0355 283);
  color: oklch(0.15 0.012 283);
}

code {
  font-family: "JetBrainsMono", monospace;
  font-size: 0.875rem;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  background-color: oklch(0.205 0.0167 283);
  white-space: nowrap;
}

/* Block Text Elements */
pre {
  font-family: "JetBrainsMono", monospace;
  font-size: 0.875rem;
  border-radius: 12px;
  padding: 1rem 2rem;
  background-color: oklch(0.205 0.0167 283);
  border: 1px solid oklch(0.374 0.0365 283);
}

blockquote {
  white-space: pre-line;
  border-radius: 12px;
  padding: 1rem 2rem;
  background-color: oklch(0.205 0.0167 283);
  border: 1px solid oklch(0.374 0.0365 283);
}
blockquote cite {
  display: block;
  margin-top: 0.25rem;
  margin-bottom: -1rem;
  color: oklch(0.653 0.06 283);
}

article > pre, article > blockquote, .article > pre, .article > blockquote {
  margin: 1rem 0rem;
}

/* Horizontal Rule */
hr {
  border: 0;
  border-bottom: 1px solid oklch(0.374 0.0365 283);
}

/* Heading Group */
hgroup h1, hgroup h2, hgroup h3, hgroup h4, hgroup h5, hgroup h6 {
  margin: 0;
}
hgroup {
  margin-bottom: 1rem;
}

.flex {
  display: flex !important;
}
.flex.reverse {
  flex-direction: row-reverse !important;
}

.flex-column {
  display: flex !important;
  flex-direction: column !important;
}
.flex-column.reverse {
  flex-direction: column-reverse !important;
}

.justify-start {
  justify-content: flex-start !important;
}

.justify-end {
  justify-content: flex-end !important;
}

.justify-center {
  justify-content: center !important;
}

.justify-between {
  justify-content: space-between !important;
}

.justify-around {
  justify-content: space-around !important;
}

.align-start {
  align-items: flex-start !important;
}

.align-end {
  align-items: flex-end !important;
}

.align-center {
  align-items: center !important;
}

.align-baseline {
  align-items: baseline !important;
}

.align-stretch {
  align-items: stretch !important;
}

.gap-0 {
  gap: 0rem !important;
}

.gap-y-0 {
  row-gap: 0rem !important;
}

.gap-x-0 {
  column-gap: 0rem !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-y-1 {
  row-gap: 0.25rem !important;
}

.gap-x-1 {
  column-gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-y-2 {
  row-gap: 0.5rem !important;
}

.gap-x-2 {
  column-gap: 0.5rem !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

.gap-y-3 {
  row-gap: 0.75rem !important;
}

.gap-x-3 {
  column-gap: 0.75rem !important;
}

.gap-4 {
  gap: 1rem !important;
}

.gap-y-4 {
  row-gap: 1rem !important;
}

.gap-x-4 {
  column-gap: 1rem !important;
}

.gap-5 {
  gap: 1.25rem !important;
}

.gap-y-5 {
  row-gap: 1.25rem !important;
}

.gap-x-5 {
  column-gap: 1.25rem !important;
}

.gap-6 {
  gap: 1.5rem !important;
}

.gap-y-6 {
  row-gap: 1.5rem !important;
}

.gap-x-6 {
  column-gap: 1.5rem !important;
}

.gap-7 {
  gap: 1.75rem !important;
}

.gap-y-7 {
  row-gap: 1.75rem !important;
}

.gap-x-7 {
  column-gap: 1.75rem !important;
}

.gap-8 {
  gap: 2rem !important;
}

.gap-y-8 {
  row-gap: 2rem !important;
}

.gap-x-8 {
  column-gap: 2rem !important;
}

.gap-9 {
  gap: 3rem !important;
}

.gap-y-9 {
  row-gap: 3rem !important;
}

.gap-x-9 {
  column-gap: 3rem !important;
}

/* Font Size Helpers */
.font-size-h1 {
  font-size: 3.815rem;
}

.font-size-h2 {
  font-size: 2.441rem;
}

.font-size-h3 {
  font-size: 1.953rem;
}

.font-size-h4 {
  font-size: 1.563rem;
}

.font-size-h5 {
  font-size: 1.25rem;
}

.font-size-h6 {
  font-size: 1rem;
}

.font-size-small {
  font-size: 0.875rem;
}

/* Font Weight Helpers */
.font-weight-100 {
  font-weight: 100 !important;
}

.font-weight-200 {
  font-weight: 200 !important;
}

.font-weight-300 {
  font-weight: 300 !important;
}

.font-weight-400 {
  font-weight: 400 !important;
}

.font-weight-500 {
  font-weight: 500 !important;
}

.font-weight-600 {
  font-weight: 600 !important;
}

.font-weight-700 {
  font-weight: 700 !important;
}

.font-weight-800 {
  font-weight: 800 !important;
}

.font-weight-900 {
  font-weight: 900 !important;
}

/* Font Color Helpers */
.text-muted {
  color: oklch(0.653 0.06 283) !important;
}

.text-neutral {
  color: oklch(0.821 0.0501 283) !important;
}

.text-contrast {
  color: oklch(0.94 0.0355 283) !important;
}

/* Font Helpers */
.font-body {
  font-family: "Inter", sans-serif;
}

.font-mono {
  font-family: "JetBrainsMono", monospace;
}

.font-display {
  font-family: "Outfit", sans-serif;
}

/* Text Align Helpers */
.text-align-center {
  text-align: center;
}

.text-align-left {
  text-align: left;
}

.text-align-right {
  text-align: right;
}

/* Margin / Padding Helpers */
.m-0 {
  margin: 0rem !important;
}

.mt-0 {
  margin-top: 0rem !important;
}

.mb-0 {
  margin-bottom: 0rem !important;
}

.ml-0 {
  margin-left: 0rem !important;
}

.mr-0 {
  margin-right: 0rem !important;
}

.mx-0 {
  margin-left: 0rem !important;
  margin-right: 0rem !important;
}

.my-0 {
  margin-top: 0rem !important;
  margin-bottom: 0rem !important;
}

.p-0 {
  padding: 0rem !important;
}

.pt-0 {
  padding-top: 0rem !important;
}

.pb-0 {
  padding-bottom: 0rem !important;
}

.pl-0 {
  padding-left: 0rem !important;
}

.pr-0 {
  padding-right: 0rem !important;
}

.px-0 {
  padding-left: 0rem !important;
  padding-right: 0rem !important;
}

.py-0 {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.ml-1 {
  margin-left: 0.25rem !important;
}

.mr-1 {
  margin-right: 0.25rem !important;
}

.mx-1 {
  margin-left: 0.25rem !important;
  margin-right: 0.25rem !important;
}

.my-1 {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pl-1 {
  padding-left: 0.25rem !important;
}

.pr-1 {
  padding-right: 0.25rem !important;
}

.px-1 {
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.ml-2 {
  margin-left: 0.5rem !important;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

.mx-2 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.my-2 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pl-2 {
  padding-left: 0.5rem !important;
}

.pr-2 {
  padding-right: 0.5rem !important;
}

.px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.m-3 {
  margin: 0.75rem !important;
}

.mt-3 {
  margin-top: 0.75rem !important;
}

.mb-3 {
  margin-bottom: 0.75rem !important;
}

.ml-3 {
  margin-left: 0.75rem !important;
}

.mr-3 {
  margin-right: 0.75rem !important;
}

.mx-3 {
  margin-left: 0.75rem !important;
  margin-right: 0.75rem !important;
}

.my-3 {
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

.p-3 {
  padding: 0.75rem !important;
}

.pt-3 {
  padding-top: 0.75rem !important;
}

.pb-3 {
  padding-bottom: 0.75rem !important;
}

.pl-3 {
  padding-left: 0.75rem !important;
}

.pr-3 {
  padding-right: 0.75rem !important;
}

.px-3 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.m-4 {
  margin: 1rem !important;
}

.mt-4 {
  margin-top: 1rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.ml-4 {
  margin-left: 1rem !important;
}

.mr-4 {
  margin-right: 1rem !important;
}

.mx-4 {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

.my-4 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.p-4 {
  padding: 1rem !important;
}

.pt-4 {
  padding-top: 1rem !important;
}

.pb-4 {
  padding-bottom: 1rem !important;
}

.pl-4 {
  padding-left: 1rem !important;
}

.pr-4 {
  padding-right: 1rem !important;
}

.px-4 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.py-4 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.m-5 {
  margin: 1.25rem !important;
}

.mt-5 {
  margin-top: 1.25rem !important;
}

.mb-5 {
  margin-bottom: 1.25rem !important;
}

.ml-5 {
  margin-left: 1.25rem !important;
}

.mr-5 {
  margin-right: 1.25rem !important;
}

.mx-5 {
  margin-left: 1.25rem !important;
  margin-right: 1.25rem !important;
}

.my-5 {
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

.p-5 {
  padding: 1.25rem !important;
}

.pt-5 {
  padding-top: 1.25rem !important;
}

.pb-5 {
  padding-bottom: 1.25rem !important;
}

.pl-5 {
  padding-left: 1.25rem !important;
}

.pr-5 {
  padding-right: 1.25rem !important;
}

.px-5 {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

.py-5 {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.m-6 {
  margin: 1.5rem !important;
}

.mt-6 {
  margin-top: 1.5rem !important;
}

.mb-6 {
  margin-bottom: 1.5rem !important;
}

.ml-6 {
  margin-left: 1.5rem !important;
}

.mr-6 {
  margin-right: 1.5rem !important;
}

.mx-6 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}

.my-6 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.p-6 {
  padding: 1.5rem !important;
}

.pt-6 {
  padding-top: 1.5rem !important;
}

.pb-6 {
  padding-bottom: 1.5rem !important;
}

.pl-6 {
  padding-left: 1.5rem !important;
}

.pr-6 {
  padding-right: 1.5rem !important;
}

.px-6 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.py-6 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.m-7 {
  margin: 1.75rem !important;
}

.mt-7 {
  margin-top: 1.75rem !important;
}

.mb-7 {
  margin-bottom: 1.75rem !important;
}

.ml-7 {
  margin-left: 1.75rem !important;
}

.mr-7 {
  margin-right: 1.75rem !important;
}

.mx-7 {
  margin-left: 1.75rem !important;
  margin-right: 1.75rem !important;
}

.my-7 {
  margin-top: 1.75rem !important;
  margin-bottom: 1.75rem !important;
}

.p-7 {
  padding: 1.75rem !important;
}

.pt-7 {
  padding-top: 1.75rem !important;
}

.pb-7 {
  padding-bottom: 1.75rem !important;
}

.pl-7 {
  padding-left: 1.75rem !important;
}

.pr-7 {
  padding-right: 1.75rem !important;
}

.px-7 {
  padding-left: 1.75rem !important;
  padding-right: 1.75rem !important;
}

.py-7 {
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
}

.m-8 {
  margin: 2rem !important;
}

.mt-8 {
  margin-top: 2rem !important;
}

.mb-8 {
  margin-bottom: 2rem !important;
}

.ml-8 {
  margin-left: 2rem !important;
}

.mr-8 {
  margin-right: 2rem !important;
}

.mx-8 {
  margin-left: 2rem !important;
  margin-right: 2rem !important;
}

.my-8 {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

.p-8 {
  padding: 2rem !important;
}

.pt-8 {
  padding-top: 2rem !important;
}

.pb-8 {
  padding-bottom: 2rem !important;
}

.pl-8 {
  padding-left: 2rem !important;
}

.pr-8 {
  padding-right: 2rem !important;
}

.px-8 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.py-8 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.m-9 {
  margin: 3rem !important;
}

.mt-9 {
  margin-top: 3rem !important;
}

.mb-9 {
  margin-bottom: 3rem !important;
}

.ml-9 {
  margin-left: 3rem !important;
}

.mr-9 {
  margin-right: 3rem !important;
}

.mx-9 {
  margin-left: 3rem !important;
  margin-right: 3rem !important;
}

.my-9 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.p-9 {
  padding: 3rem !important;
}

.pt-9 {
  padding-top: 3rem !important;
}

.pb-9 {
  padding-bottom: 3rem !important;
}

.pl-9 {
  padding-left: 3rem !important;
}

.pr-9 {
  padding-right: 3rem !important;
}

.px-9 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.py-9 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* 100% Width/Height Helpers */
.width-100 {
  width: 100%;
}

.height-100 {
  height: 100%;
}

.size-100 {
  width: 100%;
  height: 100%;
}

/* Border Helpers */
.round {
  border-radius: 999px !important;
}

.border-radius-0 {
  border-radius: 0;
}

.border-radius-surface {
  border-radius: 12px;
}

.border-radius-inner {
  border-radius: 6px;
}

.border {
  border: 1px solid oklch(0.374 0.0365 283);
}

.border-bottom {
  border-bottom: 1px solid oklch(0.374 0.0365 283);
}

.border-top {
  border-top: 1px solid oklch(0.374 0.0365 283);
}

.border-left {
  border-left: 1px solid oklch(0.374 0.0365 283);
}

.border-right {
  border-left: 1px solid oklch(0.374 0.0365 283);
}

/* Rules that only apply when an aside sits beside main.
   Stacked (full-width) mode gets none of these. */
/* Aside Agnostic */
body[data-layout=sandwich] > aside {
  box-sizing: border-box;
  padding: 1rem 2rem;
}
body[data-layout=sandwich] {
  /* Stacked (full-width) defaults: border faces the content it's next to */
}
body[data-layout=sandwich] > aside[data-side=left] {
  border-bottom: 1px solid oklch(0.374 0.0365 283);
}
body[data-layout=sandwich] > aside[data-side=right] {
  border-top: 1px solid oklch(0.374 0.0365 283);
}
body[data-layout=sandwich] > header {
  padding: 1rem 2rem;
  border-bottom: 1px solid oklch(0.374 0.0365 283);
}
body[data-layout=sandwich] > main {
  padding: 1rem 2rem;
}
body[data-layout=sandwich] > footer {
  padding: 1rem 2rem;
}

@media (min-width: 768px) {
  body[data-layout=sandwich]:has(> aside) {
    height: 100dvh;
  }
  body[data-layout=sandwich]:has(> aside) > main {
    overflow-y: auto;
  }
}

/* No Aside */
body[data-layout=sandwich]:not(:has(aside)) {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "header" "main" "footer";
}
body[data-layout=sandwich]:not(:has(aside)) > header {
  grid-area: header;
}
body[data-layout=sandwich]:not(:has(aside)) > main {
  grid-area: main;
}
body[data-layout=sandwich]:not(:has(aside)) > footer {
  grid-area: footer;
}

/* Left Aside */
body[data-layout=sandwich]:has(aside[data-side=left]):not(:has(aside[data-side=right])) {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "header" "aside-left" "main" "footer";
}
body[data-layout=sandwich]:has(aside[data-side=left]):not(:has(aside[data-side=right])) > header {
  grid-area: header;
}
body[data-layout=sandwich]:has(aside[data-side=left]):not(:has(aside[data-side=right])) > main {
  grid-area: main;
}
body[data-layout=sandwich]:has(aside[data-side=left]):not(:has(aside[data-side=right])) > footer {
  grid-area: footer;
}
body[data-layout=sandwich]:has(aside[data-side=left]):not(:has(aside[data-side=right])) > aside[data-side=left] {
  grid-area: aside-left;
}
@media (min-width: 768px) {
  body[data-layout=sandwich]:has(aside[data-side=left]):not(:has(aside[data-side=right])) > aside[data-side=left] {
    width: var(--aside-width, 16rem);
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    border-top: 0;
    border-bottom: 0;
    border-right: 1px solid oklch(0.374 0.0365 283);
  }
}
@media (min-width: 768px) {
  body[data-layout=sandwich]:has(aside[data-side=left]):not(:has(aside[data-side=right])) {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "header header" "aside-left main" "aside-left footer";
  }
}

/* Right Aside */
body[data-layout=sandwich]:has(aside[data-side=right]):not(:has(aside[data-side=left])) {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "header" "main" "aside-right" "footer";
}
body[data-layout=sandwich]:has(aside[data-side=right]):not(:has(aside[data-side=left])) > header {
  grid-area: header;
}
body[data-layout=sandwich]:has(aside[data-side=right]):not(:has(aside[data-side=left])) > main {
  grid-area: main;
}
body[data-layout=sandwich]:has(aside[data-side=right]):not(:has(aside[data-side=left])) > footer {
  grid-area: footer;
}
body[data-layout=sandwich]:has(aside[data-side=right]):not(:has(aside[data-side=left])) > aside[data-side=right] {
  grid-area: aside-right;
}
@media (min-width: 768px) {
  body[data-layout=sandwich]:has(aside[data-side=right]):not(:has(aside[data-side=left])) > aside[data-side=right] {
    width: var(--aside-width, 16rem);
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    border-top: 0;
    border-bottom: 0;
    border-left: 1px solid oklch(0.374 0.0365 283);
  }
}
@media (min-width: 768px) {
  body[data-layout=sandwich]:has(aside[data-side=right]):not(:has(aside[data-side=left])) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "header header" "main aside-right" "footer aside-right";
  }
}

/* Both Asides */
body[data-layout=sandwich]:has(aside[data-side=left]):has(aside[data-side=right]) {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "header" "aside-left" "main" "aside-right" "footer";
}
body[data-layout=sandwich]:has(aside[data-side=left]):has(aside[data-side=right]) > header {
  grid-area: header;
}
body[data-layout=sandwich]:has(aside[data-side=left]):has(aside[data-side=right]) > main {
  grid-area: main;
}
body[data-layout=sandwich]:has(aside[data-side=left]):has(aside[data-side=right]) > footer {
  grid-area: footer;
}
body[data-layout=sandwich]:has(aside[data-side=left]):has(aside[data-side=right]) > aside[data-side=left] {
  grid-area: aside-left;
}
@media (min-width: 768px) {
  body[data-layout=sandwich]:has(aside[data-side=left]):has(aside[data-side=right]) > aside[data-side=left] {
    width: var(--aside-width, 16rem);
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    border-top: 0;
    border-bottom: 0;
    border-right: 1px solid oklch(0.374 0.0365 283);
  }
}
body[data-layout=sandwich]:has(aside[data-side=left]):has(aside[data-side=right]) > aside[data-side=right] {
  grid-area: aside-right;
}
@media (min-width: 991px) {
  body[data-layout=sandwich]:has(aside[data-side=left]):has(aside[data-side=right]) > aside[data-side=right] {
    width: var(--aside-width, 16rem);
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    border-top: 0;
    border-bottom: 0;
    border-left: 1px solid oklch(0.374 0.0365 283);
  }
}
@media (min-width: 768px) {
  body[data-layout=sandwich]:has(aside[data-side=left]):has(aside[data-side=right]) {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas: "header header" "aside-left main" "aside-right aside-right" "footer footer";
  }
}
@media (min-width: 991px) {
  body[data-layout=sandwich]:has(aside[data-side=left]):has(aside[data-side=right]) {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "header header header" "aside-left main aside-right" "aside-left footer aside-right";
  }
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 0rem 1rem;
}
@media (min-width: 576px) {
  .container {
    max-width: 520px;
    padding: 0;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 700px;
    padding: 0;
  }
}
@media (min-width: 991px) {
  .container {
    max-width: 900px;
    padding: 0;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1200px;
    padding: 0;
  }
}
