/* CSS build date: 2026-11-02T15:43 */
/* main.css */
/* 100-props.css */
*,
::before,
::after {
  box-sizing: border-box;
}
:root {
  --border-radius: 0;
  --border-small: 2px solid;
  --border-medium: 4px solid;
  --color-text: black;
  --color-background: white;
  --color-background-dim: #f0f0f0;
  --color-background-dark: #e0e0e0;
  --font-size-all: 1.25rem;
  --space-xsmall: 5px;
  --space-small: 10px;
  --space-medium: 20px;
  --space-100: 100px;
  --hover-tint: rgba(0, 0, 0, 0.04);
  --active-tint: rgba(0, 0, 0, 0.08);
  --focus-outline: 4px solid blue;
  --focus-outline-width: 4px;
  --focus-outline-style: solid;
  --focus-outline-color: blue;
  --focus-outline-offset: 10px;
  --focus-transition: outline 0.2s, outline-offset 0.2s;
}
ul,
ol {
  list-style: none;
}
h1,
h2 {
  margin-block-start: 0;
  margin-block-end: 0;
}
body {
  background-color: var(--color-background);
}
/* 151-links-as-boxes.css */
a,
button {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: var(--border-small);
  border-radius: var(--border-radius);
  margin-inline: var(--space-xsmall);
  margin-block-end: var(--space-small);
  padding: var(--space-xsmall);
  background-color: transparent;
  font: inherit;
  text-align: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  &:visited {
  }
  @media (hover: hover) {
    &:hover {
      background-color: var(--hover-tint);
    }
  }
  &:active {
    background-color: var(--active-tint);
    transition: background-color 0.05s ease;
  }
  &:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 10px;
    transition:
      outline 0.2s,
      outline-offset 0.2s;
  }
  &[data-action] {
    font-size: 1.2rem;
    font-weight: 400;
  }
}
/* 188-list-item-has-svg-link.css */
li:has(svg):has(a) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--space-xsmall);
  border: var(--border-small);
  border-radius: var(--border-radius);
  background-color: transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  & a::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  & a:link,
  & a:visited,
  & a:hover,
  & a:active {
    border: none;
    outline: none;
    text-decoration: none;
    color: inherit;
    padding: 0;
    margin: 0;
    background-color: transparent;
  }
  & a:focus-visible {
    outline: none;
  }
  &:has(a:hover) {
    background-color: var(--hover-tint);
  }
  &:has(a:active) {
    background-color: var(--active-tint);
    transition: background-color 0.05s ease; 
  }
  &:has(a:focus-visible) {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
    transition: var(--focus-transition);
  }
}
/* 200-page-layout.css */
body {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-small);
  padding-block: 0;
}
/* 300-article-layout.css */
main {
  container-type: inline-size;
  container-name: main-container;
}
article {
  --_gap: var(--fluid-size-5, 1rem);
  display: flex;
  flex-direction: column;
  gap: var(--_gap);
}
article header {
  padding-block: 20px;
}
article-body {
  display: contents;
  outline: 2px solid red;
}
article-toc {
  display: block;
  padding: 20px;
  border: 2px solid;
  background-color: var(--color-background);
}
@container main-container (min-width: 768px) {
  article {
    display: grid;
    grid-template-columns: 1fr max-content;
    gap: var(--_gap);
  }
  article header {
    grid-column: 1 / -1;
  }
  article-toc {
    grid-column: 2;
    position: sticky;
    top: var(--space-100);
    align-self: start;
    max-height: calc(100dvh - 2rem);
    overflow: auto;
  }
  article {
    grid-template-rows: repeat(10, max-content) 1fr;
    align-items: start;
  }
  article section {
    grid-column: 1;
  }
  article-toc {
    grid-row: 2/-1;
  }
}
/* 360-body-header.css */
body header ul,
body footer ul {
  padding: 0;
}
body > header,
body > footer {
  padding: 20px 0;
  background-color: var(--color-background);
}
body > header nav ul,
body > footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2vw;
}
body > header nav,
body > footer nav {
  max-width: calc(var(--main-width) + 800px);
  margin-inline: auto;
}
/* 400-asides.css */
blockquote {
  margin: 24px 0;
  padding: 12px 0 12px 24px;
  border-left: 4px solid #6366f1;
  font-style: italic;
  color: #475569;
  font-size: 1.1rem;
  background-color: #f8fafc;
}
blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-style: normal;
  color: #64748b;
}
aside {
  margin: 24px 0;
  padding: 20px;
  background-color: #eff6ff;
  border-left: 4px solid #3b82f6;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: #1e3a8a;
}
aside h4 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #1d4ed8;
}
article-alert,
article-notice {
  border: 2px solid;
  padding: 20px;
}
/* 450-lists.css */
/* 500-tables.css */
table {
  border-collapse: collapse;
  margin: 24px 0;
  border: 2px solid #334155;
}
th,
td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #cbd5e1;
}
th {
  background-color: #f1f5f9;
  font-weight: 600;
  color: #0f172a;
  border-bottom: 2px solid #334155;
}
tr:nth-of-type(even) {
  background-color: #f8fafc;
}
/* 600-toc.css */
html {
  scroll-behavior: smooth;
}
article-toc h2 {
  margin-block-end: var(--space-medium);
}
article-toc {
  display: block;
  max-width: 350px;
  padding: var(--space-medium) 1.5rem;
  background: #ffffff;
}
article-toc ol,
article-toc ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
article-toc li a {
  text-wrap: pretty;
}
article-toc li[data-in-view] a {
  color: white;
  background-color: black;
  border-color: black;
}
/* 700-list-items-as-cards.css */
article-list li {
  display: flex;
  flex-direction: row;
  gap: 5px;
  & a {
    padding: 10px;
    margin: 10px;
  }
  & p {
  }
}
/* 800-features.css */
section {
  margin-block-end: 40px;
}
section > h2 {
  position: sticky;
  top: 0;
  height: var(--space-100);
  padding-block: var(--space-medium);
  background-color: var(--color-background);
}
section > h2 {
  margin-block-end: 42px;
  display: flex;
  align-items: flex-end;
}
section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 60px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1),
    black 0.5px,
    white 5px,
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;
}
/* 900-look.css */
body {
  font-family: system-ui, sans-serif;
  font-size: var(--font-size-all);
}
article header {
  border-block-end: 2px solid;
  margin-block-end: var(--space-medium);
}
hgroup {
  & h1 {
    font-size: 5rem;
    margin-block-end: 0.5rem;
  }
  & p {
    margin-block: 0;
    font-size: 2.5rem;
  }
}
article-byline p {
  font-size: 1.2rem;
  font-style: italic;
}
  background-color: lightcoral;
}
time {
  background-color: lime;
} */
