/* src/web/styles.css */
/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
@layer theme {
  :root, :host {
    --font-sans: "Newsreader", "Iowan Old Style", Charter, Georgia, serif;
    --font-serif: "Newsreader", "Iowan Old Style", Charter, Georgia, serif;
    --font-mono: "IBM Plex Mono", "Berkeley Mono", "JetBrains Mono", Menlo, monospace;
    --spacing: .25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::-webkit-file-upload-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    color: inherit;
    border-top-width: 1px;
    height: 0;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

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

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    position: relative;
    font-size: 75%;
    line-height: 0;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::-webkit-file-upload-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:-webkit-any([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:-moz-any([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:-webkit-any([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  :where(select:-moz-any([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::-webkit-file-upload-button {
    margin-inline-end: 4px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports ( not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color:color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    text-align: inherit;
    min-height: 1lh;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block-start: 0;
    padding-block-end: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block-start: 0;
    padding-block-end: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block-start: 0;
    padding-block-end: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block-start: 0;
    padding-block-end: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block-start: 0;
    padding-block-end: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block-start: 0;
    padding-block-end: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block-start: 0;
    padding-block-end: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block-start: 0;
    padding-block-end: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block-start: 0;
    padding-block-end: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button {
    appearance: button;
  }

  input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::-webkit-file-upload-button {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  * {
    border-color: hsl(var(--border));
  }

  body {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    line-height: 1.65;
  }
}

@layer components;

@layer utilities {
  .start:not(:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
    left: var(--spacing);
  }

  .start:not(:-moz-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
    left: var(--spacing);
  }

  .start:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
    left: var(--spacing);
  }

  .start:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
    right: var(--spacing);
  }

  .start:-moz-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
    right: var(--spacing);
  }

  .start:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
    right: var(--spacing);
  }
}

:root {
  --background: 36 38% 97%;
  --foreground: 25 14% 14%;
  --card: 36 38% 97%;
  --card-foreground: 25 14% 14%;
  --popover: 36 45% 98%;
  --popover-foreground: 25 14% 14%;
  --muted: 36 30% 92%;
  --muted-foreground: 28 14% 37%;
  --primary: 10 60% 29%;
  --primary-foreground: 36 38% 97%;
  --accent: 10 60% 29%;
  --accent-foreground: 36 38% 97%;
  --secondary: 36 20% 88%;
  --secondary-foreground: 25 14% 14%;
  --destructive: 0 55% 35%;
  --destructive-foreground: 36 38% 97%;
  --border: 33 26% 86%;
  --input: 33 26% 86%;
  --ring: 10 60% 29%;
  --radius: .125rem;
  --chart-1: 10 60% 29%;
  --chart-2: 195 35% 30%;
  --chart-3: 40 55% 40%;
  --chart-4: 280 20% 35%;
  --chart-5: 90 25% 32%;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: 30 15% 9%;
    --foreground: 36 28% 89%;
    --card: 30 15% 9%;
    --card-foreground: 36 28% 89%;
    --popover: 30 18% 11%;
    --popover-foreground: 36 28% 89%;
    --muted: 30 16% 13%;
    --muted-foreground: 32 17% 58%;
    --primary: 12 50% 54%;
    --primary-foreground: 30 15% 9%;
    --accent: 12 50% 54%;
    --accent-foreground: 30 15% 9%;
    --secondary: 30 14% 18%;
    --secondary-foreground: 36 28% 89%;
    --destructive: 0 45% 45%;
    --destructive-foreground: 36 28% 89%;
    --border: 33 18% 17%;
    --input: 33 18% 17%;
    --ring: 12 50% 54%;
  }
}

body:before {
  content: "";
  pointer-events: none;
  z-index: -1;
  opacity: .015;
  position: fixed;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  inset: 0;
}

@media (prefers-color-scheme: dark) {
  body:before {
    opacity: .025;
  }
}

.prose {
  --tw-prose-body: hsl(var(--foreground));
  --tw-prose-headings: hsl(var(--foreground));
  --tw-prose-links: hsl(var(--primary));
  --tw-prose-bold: hsl(var(--foreground));
  --tw-prose-code: hsl(var(--foreground));
  --tw-prose-quotes: hsl(var(--muted-foreground));
  --tw-prose-hr: hsl(var(--border));
  font-family: var(--font-serif);
  max-width: 66ch;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.prose a {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness .12s ease-out;
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

.prose h1 {
  letter-spacing: -.01em;
  text-wrap: balance;
  font-size: 2.125rem;
  font-weight: 500;
  line-height: 1.15;
}

.prose h2 {
  margin-top: 2em;
  margin-bottom: .6em;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
}

.prose code {
  font-family: var(--font-mono);
  background: hsl(var(--muted));
  border-radius: 2px;
  padding: .1em .3em;
  font-size: .92em;
  font-weight: 400;
}

.prose code:before, .prose code:after {
  content: none;
}

.prose pre {
  font-family: var(--font-mono);
  background: hsl(var(--muted));
  border: none;
  border-radius: 2px;
  font-size: .875rem;
}

.small-caps {
  font-family: var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1;
}

.meta {
  font-family: var(--font-mono);
  letter-spacing: .04em;
  color: hsl(var(--muted-foreground));
  font-size: .75rem;
  line-height: 1.4;
}

.chrome {
  font-family: var(--font-mono);
  font-size: .8125rem;
  line-height: 1.5;
}

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 32px 120px;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.page > * {
  animation: .3s ease-out both fadeUp;
}

.list-head {
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  padding-bottom: 20px;
}

.filters {
  font-family: var(--font-mono);
  color: hsl(var(--muted-foreground));
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 24px;
  margin-bottom: 40px;
  font-size: 13px;
}

.filters .label {
  color: hsl(var(--muted-foreground));
  margin-right: 6px;
}

.filters .chip-select {
  appearance: none;
  font: inherit;
  color: hsl(var(--foreground));
  cursor: pointer;
  outline: none;
  background: none;
  border: none;
  border-bottom: 1px solid #0000;
  padding: 2px 0;
  transition: border-color .2s ease-out, color .12s;
}

.filters .chip-select:hover {
  color: hsl(var(--foreground));
}

.filters .chip-select.active {
  color: hsl(var(--primary));
  border-bottom: 1px solid hsl(var(--primary));
  font-style: italic;
}

.filters .q-input {
  border: none;
  border-bottom: 1px solid hsl(var(--border));
  font: inherit;
  color: hsl(var(--foreground));
  outline: none;
  background: none;
  width: 160px;
  padding: 2px 0;
}

.filters .q-input:focus {
  border-bottom-color: hsl(var(--primary));
}

.row {
  border-bottom: 1px solid hsl(var(--border));
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  display: block;
  margin: 0 -16px;
  padding: 18px 16px;
  transition: background 80ms ease-out;
}

.row:hover {
  background: hsl(var(--muted));
}

.row-label {
  font-family: var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-right: 14px;
  font-size: 11px;
  font-weight: 500;
}

.row-title {
  font-family: var(--font-serif);
  color: hsl(var(--foreground));
  font-size: 18px;
  font-weight: 500;
}

.row-meta {
  font-family: var(--font-mono);
  color: hsl(var(--muted-foreground));
  letter-spacing: 0;
  margin-top: 4px;
  font-size: 12px;
}

.row-meta .dot {
  opacity: .6;
  margin: 0 8px;
}

.doc {
  max-width: 66ch;
  margin: 0 auto;
}

.epigraph {
  font-family: var(--font-mono);
  color: hsl(var(--muted-foreground));
  letter-spacing: .04em;
  margin-bottom: 80px;
  padding-top: 40px;
  font-size: 12px;
}

.doc h1 {
  font-family: var(--font-serif);
  letter-spacing: -.01em;
  text-wrap: balance;
  margin: 0 0 40px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
}

.rule {
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
  letter-spacing: .2em;
  -webkit-user-select: none;
  user-select: none;
  margin: 2em 0;
}

.colophon {
  font-family: var(--font-mono);
  color: hsl(var(--muted-foreground));
  letter-spacing: .04em;
  margin-top: 3em;
  font-size: 12px;
}

.colophon .arrow {
  color: hsl(var(--primary));
  display: inline-block;
  transition: transform .15s ease-out;
}

.colophon a:hover .arrow {
  transform: translate(2px);
}

.colophon a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
}

.colophon a:hover {
  color: hsl(var(--foreground));
}

.colophon .line {
  margin-bottom: 4px;
}
