/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: var(--font-body);
    --font-serif: "EB Garamond", Georgia, serif;
    --font-mono: "Geist Mono", ui-monospace, monospace;
    --spacing: 0.25rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --spacing-field: 50px;
    --motion: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --color-page: #faf7f3;
    --color-band: #f7f0e6;
    --color-surface: #ffffff;
    --color-ink: #261c16;
    --color-muted: #938b87;
    --color-rule: #e6ddd3;
    --color-brand: #261c16;
    --color-brand-strong: #000000;
    --color-on-brand: #faf7f3;
    --color-danger: #a3261d;
    --color-danger-soft: #fbecea;
    --color-success: #1d6b3c;
    --color-success-soft: #e7f3ea;
    --color-warning: #8a5a00;
    --color-warning-soft: #fbf1dc;
    --color-cat: #261c16;
    --color-cat-ink: #faf7f3;
    --color-pill: #261c16;
    --color-pill-ink: #faf7f3;
    --color-shade: rgb(0 0 0 / 0.1);
    --color-accent: #e95f2a;
    --color-on-accent: #f7f0e6;
    --color-accent-inverse: #e95f2a;
    --color-accent-off: #938b87;
    --color-soft: var(--color-band);
    --color-line: var(--color-rule);
    --color-input: var(--color-rule);
    --color-field: var(--color-surface);
    --color-ring: var(--color-ink);
    --color-danger-line: var(--color-danger);
    --color-backdrop: rgb(38 28 22 / 0.4);
    --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Crimson Pro", Georgia, serif;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-gutter: 20px;
    --spacing-xl: 24px;
    --spacing-2xl: 32px;
    --spacing-section: 40px;
    --spacing-3xl: 48px;
    --spacing-4xl: 64px;
    --container-phone: 430px;
    --container-form: 448px;
    --container-page: 672px;
    --container-read: 720px;
    --container-wide: 1024px;
    --text-caption: 0.75rem;
    --text-label: 0.875rem;
    --text-sm: 0.875rem;
    --text-md: 1rem;
    --text-h5: 1.25rem;
    --text-h4: 1.5rem;
    --text-h3: 2rem;
    --text-h2: 3rem;
    --text-h1: 3.5rem;
    --text-app-caption: 0.75rem;
    --text-app-label: 0.875rem;
    --text-app-body: 0.875rem;
    --text-app-item: 1.125rem;
    --text-app-value: 1.25rem;
    --text-app-lead: 1.3125rem;
    --text-app-h2: 2.125rem;
    --text-app-h1: 3rem;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --radius-field: var(--radius-md);
    --radius-box: var(--radius-lg);
    --radius-inner: 6px;
    --radius-small: var(--radius-sm);
    --shadow-card: 0 1px 2px 0 rgb(38 28 22 / 0.06);
    --shadow-sheet: 0 -8px 24px 0 rgb(38 28 22 / 0.12);
    --shadow-popover: 0 8px 24px 0 rgb(38 28 22 / 0.12);
    --shadow-edge: 0 0 0 1px var(--color-rule);
    --shadow-popup: var(--shadow-popover);
    --shadow-raised: var(--shadow-popover);
    --shadow-ring: 0 0 0 0 transparent;
    --shadow-ring-danger: 0 0 0 0 transparent;
    --animate-toast-out: toast-out 0.4s ease 8s forwards;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, 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 {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  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;
    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 {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::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)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}
@layer utilities {
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .sticky {
    position: sticky;
  }
  .inset-0 {
    inset: 0px;
  }
  .inset-x-0 {
    inset-inline: 0px;
  }
  .top-0 {
    top: 0px;
  }
  .top-2xl {
    top: var(--spacing-2xl);
  }
  .top-\[110\%\] {
    top: 110%;
  }
  .top-lg {
    top: var(--spacing-lg);
  }
  .top-sm {
    top: var(--spacing-sm);
  }
  .top-xs {
    top: var(--spacing-xs);
  }
  .right-0 {
    right: 0px;
  }
  .right-auto {
    right: auto;
  }
  .right-lg {
    right: var(--spacing-lg);
  }
  .right-sm {
    right: var(--spacing-sm);
  }
  .right-xs {
    right: var(--spacing-xs);
  }
  .bottom-0 {
    bottom: 0px;
  }
  .bottom-24 {
    bottom: calc(var(--spacing) * 24);
  }
  .bottom-sm {
    bottom: var(--spacing-sm);
  }
  .left-0 {
    left: 0px;
  }
  .left-1\/2 {
    left: calc(1 / 2 * 100%);
  }
  .left-auto {
    left: auto;
  }
  .left-sm {
    left: var(--spacing-sm);
  }
  .z-10 {
    z-index: 10;
  }
  .z-20 {
    z-index: 20;
  }
  .z-30 {
    z-index: 30;
  }
  .z-60 {
    z-index: 60;
  }
  .col-\[1\/2\] {
    grid-column: 1/2;
  }
  .col-\[2\/4\] {
    grid-column: 2/4;
  }
  .col-span-1 {
    grid-column: span 1 / span 1;
  }
  .col-span-2 {
    grid-column: span 2 / span 2;
  }
  .row-\[1\/2\] {
    grid-row: 1/2;
  }
  .row-\[1\/3\] {
    grid-row: 1/3;
  }
  .row-\[2\/3\] {
    grid-row: 2/3;
  }
  .m-0 {
    margin: 0px;
  }
  .-mx-gutter {
    margin-inline: calc(var(--spacing-gutter) * -1);
  }
  .-mx-xl {
    margin-inline: calc(var(--spacing-xl) * -1);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-auto {
    margin-top: auto;
  }
  .mt-lg {
    margin-top: var(--spacing-lg);
  }
  .mt-sm {
    margin-top: var(--spacing-sm);
  }
  .mt-xs {
    margin-top: var(--spacing-xs);
  }
  .mr-0 {
    margin-right: 0px;
  }
  .mr-xs {
    margin-right: var(--spacing-xs);
  }
  .mb-0 {
    margin-bottom: 0px;
  }
  .mb-2xl {
    margin-bottom: var(--spacing-2xl);
  }
  .mb-lg {
    margin-bottom: var(--spacing-lg);
  }
  .mb-md {
    margin-bottom: var(--spacing-md);
  }
  .mb-xl {
    margin-bottom: var(--spacing-xl);
  }
  .mb-xs {
    margin-bottom: var(--spacing-xs);
  }
  .-ml-md {
    margin-left: calc(var(--spacing-md) * -1);
  }
  .ml-auto {
    margin-left: auto;
  }
  .ml-md {
    margin-left: var(--spacing-md);
  }
  .ml-xs {
    margin-left: var(--spacing-xs);
  }
  .box-border {
    box-sizing: border-box;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .aspect-\[4\/3\] {
    aspect-ratio: 4/3;
  }
  .aspect-square {
    aspect-ratio: 1 / 1;
  }
  .size-2 {
    width: calc(var(--spacing) * 2);
    height: calc(var(--spacing) * 2);
  }
  .size-6 {
    width: calc(var(--spacing) * 6);
    height: calc(var(--spacing) * 6);
  }
  .size-8 {
    width: calc(var(--spacing) * 8);
    height: calc(var(--spacing) * 8);
  }
  .size-10 {
    width: calc(var(--spacing) * 10);
    height: calc(var(--spacing) * 10);
  }
  .size-12 {
    width: calc(var(--spacing) * 12);
    height: calc(var(--spacing) * 12);
  }
  .size-14 {
    width: calc(var(--spacing) * 14);
    height: calc(var(--spacing) * 14);
  }
  .size-16 {
    width: calc(var(--spacing) * 16);
    height: calc(var(--spacing) * 16);
  }
  .size-24 {
    width: calc(var(--spacing) * 24);
    height: calc(var(--spacing) * 24);
  }
  .size-37\.5 {
    width: calc(var(--spacing) * 37.5);
    height: calc(var(--spacing) * 37.5);
  }
  .size-55 {
    width: calc(var(--spacing) * 55);
    height: calc(var(--spacing) * 55);
  }
  .size-full {
    width: 100%;
    height: 100%;
  }
  .h-1 {
    height: var(--spacing);
  }
  .h-2 {
    height: calc(var(--spacing) * 2);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-12 {
    height: calc(var(--spacing) * 12);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-18 {
    height: calc(var(--spacing) * 18);
  }
  .h-70 {
    height: calc(var(--spacing) * 70);
  }
  .h-101 {
    height: calc(var(--spacing) * 101);
  }
  .h-\[80vh\] {
    height: 80vh;
  }
  .h-\[181px\] {
    height: 181px;
  }
  .h-\[213px\] {
    height: 213px;
  }
  .h-full {
    height: 100%;
  }
  .h-px {
    height: 1px;
  }
  .max-h-none {
    max-height: none;
  }
  .min-h-0 {
    min-height: 0px;
  }
  .min-h-\[200px\] {
    min-height: 200px;
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-0\.5 {
    width: calc(var(--spacing) * 0.5);
  }
  .w-6 {
    width: calc(var(--spacing) * 6);
  }
  .w-10 {
    width: calc(var(--spacing) * 10);
  }
  .w-24 {
    width: calc(var(--spacing) * 24);
  }
  .w-40 {
    width: calc(var(--spacing) * 40);
  }
  .w-\[30\%\] {
    width: 30%;
  }
  .w-\[32px\] {
    width: 32px;
  }
  .w-\[80px\] {
    width: 80px;
  }
  .w-\[96px\] {
    width: 96px;
  }
  .w-\[140px\] {
    width: 140px;
  }
  .w-fit {
    width: fit-content;
  }
  .w-full {
    width: 100%;
  }
  .w-px {
    width: 1px;
  }
  .max-w-\[240px\] {
    max-width: 240px;
  }
  .max-w-\[320px\] {
    max-width: 320px;
  }
  .max-w-\[420px\] {
    max-width: 420px;
  }
  .max-w-\[760px\] {
    max-width: 760px;
  }
  .max-w-\[960px\] {
    max-width: 960px;
  }
  .max-w-\[calc\(100vw-32px\)\] {
    max-width: calc(100vw - 32px);
  }
  .max-w-form {
    max-width: var(--container-form);
  }
  .max-w-full {
    max-width: 100%;
  }
  .max-w-page {
    max-width: var(--container-page);
  }
  .max-w-read {
    max-width: var(--container-read);
  }
  .max-w-wide {
    max-width: var(--container-wide);
  }
  .min-w-0 {
    min-width: 0px;
  }
  .min-w-\[140px\] {
    min-width: 140px;
  }
  .min-w-\[160px\] {
    min-width: 160px;
  }
  .min-w-\[180px\] {
    min-width: 180px;
  }
  .min-w-\[220px\] {
    min-width: 220px;
  }
  .min-w-\[260px\] {
    min-width: 260px;
  }
  .flex-1 {
    flex: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .grow {
    flex-grow: 1;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .-translate-x-1\/2 {
    --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .animate-toast-out {
    animation: var(--animate-toast-out);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid-cols-\[1fr_1fr_120px_130px_160px\] {
    grid-template-columns: 1fr 1fr 120px 130px 160px;
  }
  .grid-cols-\[1fr_128px\] {
    grid-template-columns: 1fr 128px;
  }
  .grid-cols-\[1fr_140px_180px_auto\] {
    grid-template-columns: 1fr 140px 180px auto;
  }
  .grid-cols-\[1fr_160px_auto\] {
    grid-template-columns: 1fr 160px auto;
  }
  .grid-cols-\[1fr_auto\] {
    grid-template-columns: 1fr auto;
  }
  .grid-cols-\[88px_2fr_1fr_auto\] {
    grid-template-columns: 88px 2fr 1fr auto;
  }
  .grid-cols-\[120px_1fr\] {
    grid-template-columns: 120px 1fr;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-row {
    flex-direction: row;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-baseline {
    align-items: baseline;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-start {
    align-items: flex-start;
  }
  .items-stretch {
    align-items: stretch;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-2xl {
    gap: var(--spacing-2xl);
  }
  .gap-3xl {
    gap: var(--spacing-3xl);
  }
  .gap-lg {
    gap: var(--spacing-lg);
  }
  .gap-md {
    gap: var(--spacing-md);
  }
  .gap-section {
    gap: var(--spacing-section);
  }
  .gap-sm {
    gap: var(--spacing-sm);
  }
  .gap-xl {
    gap: var(--spacing-xl);
  }
  .gap-xs {
    gap: var(--spacing-xs);
  }
  .self-stretch {
    align-self: stretch;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .rounded-pill {
    border-radius: var(--radius-pill);
  }
  .rounded-sm {
    border-radius: var(--radius-sm);
  }
  .rounded-t-lg {
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
  }
  .rounded-b-none {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-0 {
    border-style: var(--tw-border-style);
    border-width: 0px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-l {
    border-left-style: var(--tw-border-style);
    border-left-width: 1px;
  }
  .border-current {
    border-color: currentcolor;
  }
  .border-danger {
    border-color: var(--color-danger);
  }
  .border-rule {
    border-color: var(--color-rule);
  }
  .border-warning {
    border-color: var(--color-warning);
  }
  .bg-accent {
    background-color: var(--color-accent);
  }
  .bg-band {
    background-color: var(--color-band);
  }
  .bg-brand {
    background-color: var(--color-brand);
  }
  .bg-cat {
    background-color: var(--color-cat);
  }
  .bg-cat-ink {
    background-color: var(--color-cat-ink);
  }
  .bg-current\/10 {
    background-color: currentcolor;
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, currentcolor 10%, transparent);
    }
  }
  .bg-danger {
    background-color: var(--color-danger);
  }
  .bg-inherit {
    background-color: inherit;
  }
  .bg-ink {
    background-color: var(--color-ink);
  }
  .bg-ink\/40 {
    background-color: color-mix(in srgb, #261c16 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-ink) 40%, transparent);
    }
  }
  .bg-ink\/60 {
    background-color: color-mix(in srgb, #261c16 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-ink) 60%, transparent);
    }
  }
  .bg-muted\/20 {
    background-color: color-mix(in srgb, #938b87 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-muted) 20%, transparent);
    }
  }
  .bg-muted\/30 {
    background-color: color-mix(in srgb, #938b87 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-muted) 30%, transparent);
    }
  }
  .bg-page {
    background-color: var(--color-page);
  }
  .bg-rule {
    background-color: var(--color-rule);
  }
  .bg-success {
    background-color: var(--color-success);
  }
  .bg-success-soft {
    background-color: var(--color-success-soft);
  }
  .bg-surface {
    background-color: var(--color-surface);
  }
  .object-cover {
    object-fit: cover;
  }
  .p-0 {
    padding: 0px;
  }
  .p-lg {
    padding: var(--spacing-lg);
  }
  .p-md {
    padding: var(--spacing-md);
  }
  .p-sm {
    padding: var(--spacing-sm);
  }
  .p-xl {
    padding: var(--spacing-xl);
  }
  .p-xs {
    padding: var(--spacing-xs);
  }
  .px-gutter {
    padding-inline: var(--spacing-gutter);
  }
  .px-lg {
    padding-inline: var(--spacing-lg);
  }
  .px-md {
    padding-inline: var(--spacing-md);
  }
  .px-sm {
    padding-inline: var(--spacing-sm);
  }
  .px-xl {
    padding-inline: var(--spacing-xl);
  }
  .py-2xl {
    padding-block: var(--spacing-2xl);
  }
  .py-3xl {
    padding-block: var(--spacing-3xl);
  }
  .py-4xl {
    padding-block: var(--spacing-4xl);
  }
  .py-lg {
    padding-block: var(--spacing-lg);
  }
  .py-md {
    padding-block: var(--spacing-md);
  }
  .py-section {
    padding-block: var(--spacing-section);
  }
  .py-sm {
    padding-block: var(--spacing-sm);
  }
  .py-xl {
    padding-block: var(--spacing-xl);
  }
  .py-xs {
    padding-block: var(--spacing-xs);
  }
  .pt-2xl {
    padding-top: var(--spacing-2xl);
  }
  .pt-4xl {
    padding-top: var(--spacing-4xl);
  }
  .pt-lg {
    padding-top: var(--spacing-lg);
  }
  .pt-md {
    padding-top: var(--spacing-md);
  }
  .pt-sm {
    padding-top: var(--spacing-sm);
  }
  .pt-xl {
    padding-top: var(--spacing-xl);
  }
  .pr-3xl {
    padding-right: var(--spacing-3xl);
  }
  .pr-lg {
    padding-right: var(--spacing-lg);
  }
  .pr-md {
    padding-right: var(--spacing-md);
  }
  .pb-3xl {
    padding-bottom: var(--spacing-3xl);
  }
  .pb-4xl {
    padding-bottom: var(--spacing-4xl);
  }
  .pb-\[56px\] {
    padding-bottom: 56px;
  }
  .pb-\[env\(safe-area-inset-bottom\,0px\)\] {
    padding-bottom: env(safe-area-inset-bottom,0px);
  }
  .pb-lg {
    padding-bottom: var(--spacing-lg);
  }
  .pb-md {
    padding-bottom: var(--spacing-md);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .font-body {
    font-family: var(--font-body);
  }
  .font-mono {
    font-family: var(--font-mono);
  }
  .text-app-caption {
    font-size: var(--text-app-caption);
  }
  .text-app-label {
    font-size: var(--text-app-label);
  }
  .text-app-value {
    font-size: var(--text-app-value);
  }
  .text-caption {
    font-size: var(--text-caption);
  }
  .text-h5 {
    font-size: var(--text-h5);
  }
  .text-md {
    font-size: var(--text-md);
  }
  .text-sm {
    font-size: var(--text-sm);
  }
  .leading-4 {
    --tw-leading: calc(var(--spacing) * 4);
    line-height: calc(var(--spacing) * 4);
  }
  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }
  .leading-\[21px\] {
    --tw-leading: 21px;
    line-height: 21px;
  }
  .leading-normal {
    --tw-leading: var(--leading-normal);
    line-height: var(--leading-normal);
  }
  .leading-snug {
    --tw-leading: var(--leading-snug);
    line-height: var(--leading-snug);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-normal {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .whitespace-pre-wrap {
    white-space: pre-wrap;
  }
  .text-accent {
    color: var(--color-accent);
  }
  .text-accent-inverse {
    color: var(--color-accent-inverse);
  }
  .text-accent-off {
    color: var(--color-accent-off);
  }
  .text-cat {
    color: var(--color-cat);
  }
  .text-cat-ink {
    color: var(--color-cat-ink);
  }
  .text-danger {
    color: var(--color-danger);
  }
  .text-inherit {
    color: inherit;
  }
  .text-ink {
    color: var(--color-ink);
  }
  .text-muted {
    color: var(--color-muted);
  }
  .text-on-accent {
    color: var(--color-on-accent);
  }
  .text-on-brand {
    color: var(--color-on-brand);
  }
  .text-page {
    color: var(--color-page);
  }
  .text-success {
    color: var(--color-success);
  }
  .text-surface {
    color: var(--color-surface);
  }
  .uppercase {
    text-transform: uppercase;
  }
  .underline {
    text-decoration-line: underline;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .opacity-20 {
    opacity: 20%;
  }
  .opacity-60 {
    opacity: 60%;
  }
  .opacity-70 {
    opacity: 70%;
  }
  .opacity-80 {
    opacity: 80%;
  }
  .shadow-card {
    --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(38 28 22 / 0.06));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-popover {
    --tw-shadow: 0 8px 24px 0 var(--tw-shadow-color, rgb(38 28 22 / 0.12));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline-3 {
    outline-style: var(--tw-outline-style);
    outline-width: 3px;
  }
  .outline-current {
    outline-color: currentcolor;
  }
  @media (hover: hover) {
    .group-hover\/missing\:block:is(:where(.group\/missing):hover *) {
      display: block;
    }
  }
  .group-focus\/missing\:block:is(:where(.group\/missing):focus *) {
    display: block;
  }
  .group-has-\[\[data-toggle\]\:not\(\:checked\)\]\/toggle\:hidden:is(:where(.group\/toggle):has(:is([data-toggle]:not(:checked))) *) {
    display: none;
  }
  .backdrop\:bg-ink\/40::backdrop {
    background-color: color-mix(in srgb, #261c16 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-ink) 40%, transparent);
    }
  }
  .open\:flex:is([open], :popover-open, :open) {
    display: flex;
  }
  @media (hover: hover) {
    .hover\:bg-band:hover {
      background-color: var(--color-band);
    }
    .hover\:bg-page:hover {
      background-color: var(--color-page);
    }
    .hover\:bg-surface:hover {
      background-color: var(--color-surface);
    }
    .hover\:text-danger:hover {
      color: var(--color-danger);
    }
    .hover\:text-ink:hover {
      color: var(--color-ink);
    }
    .hover\:\[animation-play-state\:paused\]:hover {
      animation-play-state: paused;
    }
  }
  :where([data-dirty]) .in-data-dirty\:inline-flex {
    display: inline-flex;
  }
  @media (width >= 40rem) {
    .sm\:mr-auto {
      margin-right: auto;
    }
  }
  @media (width >= 48rem) {
    .md\:sticky {
      position: sticky;
    }
    .md\:col-span-1 {
      grid-column: span 1 / span 1;
    }
    .md\:col-span-2 {
      grid-column: span 2 / span 2;
    }
    .md\:block {
      display: block;
    }
    .md\:flex {
      display: flex;
    }
    .md\:grid {
      display: grid;
    }
    .md\:hidden {
      display: none;
    }
    .md\:size-20 {
      width: calc(var(--spacing) * 20);
      height: calc(var(--spacing) * 20);
    }
    .md\:h-full {
      height: 100%;
    }
    .md\:h-screen {
      height: 100vh;
    }
    .md\:w-60 {
      width: calc(var(--spacing) * 60);
    }
    .md\:w-64 {
      width: calc(var(--spacing) * 64);
    }
    .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-\[1fr_1fr_auto\] {
      grid-template-columns: 1fr 1fr auto;
    }
    .md\:grid-cols-\[1fr_140px_180px_auto\] {
      grid-template-columns: 1fr 140px 180px auto;
    }
    .md\:grid-cols-\[1fr_160px_220px_220px_160px\] {
      grid-template-columns: 1fr 160px 220px 220px 160px;
    }
    .md\:grid-cols-\[1fr_160px_auto\] {
      grid-template-columns: 1fr 160px auto;
    }
    .md\:grid-cols-\[1fr_200px\] {
      grid-template-columns: 1fr 200px;
    }
    .md\:grid-cols-\[1fr_200px_200px\] {
      grid-template-columns: 1fr 200px 200px;
    }
    .md\:grid-cols-\[1fr_240px\] {
      grid-template-columns: 1fr 240px;
    }
    .md\:grid-cols-\[2fr_3fr\] {
      grid-template-columns: 2fr 3fr;
    }
    .md\:grid-cols-\[88px_2fr_1fr_auto\] {
      grid-template-columns: 88px 2fr 1fr auto;
    }
    .md\:grid-cols-\[240px_1fr\] {
      grid-template-columns: 240px 1fr;
    }
    .md\:grid-cols-\[auto_1fr\] {
      grid-template-columns: auto 1fr;
    }
    .md\:flex-col {
      flex-direction: column;
    }
    .md\:flex-row {
      flex-direction: row;
    }
    .md\:items-center {
      align-items: center;
    }
    .md\:items-end {
      align-items: flex-end;
    }
    .md\:items-start {
      align-items: flex-start;
    }
    .md\:items-stretch {
      align-items: stretch;
    }
    .md\:justify-end {
      justify-content: flex-end;
    }
    .md\:justify-start {
      justify-content: flex-start;
    }
    .md\:gap-xl {
      gap: var(--spacing-xl);
    }
    .md\:border-0 {
      border-style: var(--tw-border-style);
      border-width: 0px;
    }
    .md\:border-r {
      border-right-style: var(--tw-border-style);
      border-right-width: 1px;
    }
    .md\:border-b-0 {
      border-bottom-style: var(--tw-border-style);
      border-bottom-width: 0px;
    }
    .md\:border-rule {
      border-color: var(--color-rule);
    }
    .md\:p-0 {
      padding: 0px;
    }
    .md\:p-2xl {
      padding: var(--spacing-2xl);
    }
    .md\:p-xl {
      padding: var(--spacing-xl);
    }
    .md\:px-3xl {
      padding-inline: var(--spacing-3xl);
    }
    .md\:px-xl {
      padding-inline: var(--spacing-xl);
    }
    .md\:py-2xl {
      padding-block: var(--spacing-2xl);
    }
    .md\:py-3xl {
      padding-block: var(--spacing-3xl);
    }
    .md\:py-xl {
      padding-block: var(--spacing-xl);
    }
    .md\:pt-xl {
      padding-top: var(--spacing-xl);
    }
    .md\:pb-0 {
      padding-bottom: 0px;
    }
    .md\:pb-xl {
      padding-bottom: var(--spacing-xl);
    }
  }
  @media (width >= 64rem) {
    .lg\:sticky {
      position: sticky;
    }
    .lg\:flex {
      display: flex;
    }
    .lg\:grid {
      display: grid;
    }
    .lg\:hidden {
      display: none;
    }
    .lg\:grid-cols-\[1fr_1fr_120px_130px_160px\] {
      grid-template-columns: 1fr 1fr 120px 130px 160px;
    }
    .lg\:grid-cols-\[1fr_320px\] {
      grid-template-columns: 1fr 320px;
    }
    .lg\:grid-cols-\[200px_1fr\] {
      grid-template-columns: 200px 1fr;
    }
    .lg\:flex-col {
      flex-direction: column;
    }
    .lg\:items-start {
      align-items: flex-start;
    }
    .lg\:items-stretch {
      align-items: stretch;
    }
    .lg\:justify-end {
      justify-content: flex-end;
    }
    .lg\:justify-start {
      justify-content: flex-start;
    }
    .lg\:gap-lg {
      gap: var(--spacing-lg);
    }
    .lg\:gap-xs {
      gap: var(--spacing-xs);
    }
  }
  @media (width >= 80rem) {
    .xl\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@keyframes toast-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
    }
  }
}
/* A rule reads the tokens in theme.css and holds no colour, radius or
   control height of its own.

   /_tailwind.css ends with this file, after Tailwind's own sheet. Before
   it, the base styles win and nothing here applies. */
@layer components {
  .btn {
    --btn-bg: var(--color-brand);
    --btn-fg: var(--color-on-brand);
    --btn-hover: color-mix(in oklab, var(--color-brand) 80%, transparent);
    --btn-icon: 1rem;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    height: var(--spacing-field);
    padding-inline: 0.625rem;
    border: 1px solid transparent;
    border-radius: var(--radius-field);
    background-color: var(--btn-bg);
    background-clip: padding-box;
    color: var(--btn-fg);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: all var(--motion);
  }
  .btn svg {
    flex-shrink: 0;
    width: var(--btn-icon);
    height: var(--btn-icon);
    pointer-events: none;
  }
  @media (hover: hover) {
    .btn:hover {
      background-color: var(--btn-hover);
    }
    .btn-link:hover {
      text-decoration-line: underline;
    }
  }
  .btn:active:not([aria-haspopup]) {
    translate: 0 1px;
  }
  .btn:disabled,
  .btn[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
  }
  .btn-outline {
    --btn-bg: light-dark(var(--color-page), color-mix(in oklab, var(--color-input) 30%, transparent));
    --btn-fg: var(--color-ink);
    --btn-hover: light-dark(var(--color-soft), color-mix(in oklab, var(--color-input) 50%, transparent));
    border-color: light-dark(var(--color-line), var(--color-input));
  }
  .btn-secondary {
    --btn-bg: var(--color-soft);
    --btn-fg: var(--color-ink);
    --btn-hover: color-mix(in oklch, var(--color-soft), var(--color-ink) 5%);
  }
  .btn-ghost {
    --btn-bg: transparent;
    --btn-fg: var(--color-ink);
    --btn-hover: light-dark(var(--color-soft), color-mix(in oklab, var(--color-soft) 50%, transparent));
  }
  .btn-outline[aria-expanded="true"],
  .btn-ghost[aria-expanded="true"] {
    background-color: var(--color-soft);
  }
  .btn-danger {
    --btn-bg: var(--color-danger-soft);
    --btn-fg: var(--color-danger);
    --btn-hover: light-dark(color-mix(in oklab, var(--color-danger) 20%, transparent), color-mix(in oklab, var(--color-danger) 30%, transparent));
  }
  .btn-link {
    --btn-bg: transparent;
    --btn-fg: var(--color-brand);
    --btn-hover: transparent;
    text-underline-offset: 4px;
  }
  .btn-xs {
    --btn-icon: 0.75rem;
    gap: 0.25rem;
    height: calc(var(--spacing-field) - 0.5rem);
    padding-inline: 0.5rem;
    border-radius: min(var(--radius-inner), 0.625rem);
    font-size: 0.75rem;
    line-height: 1rem;
  }
  .btn-sm {
    --btn-icon: 0.875rem;
    gap: 0.25rem;
    height: calc(var(--spacing-field) - 0.25rem);
    border-radius: min(var(--radius-inner), 0.75rem);
    font-size: 0.8rem;
  }
  .btn-lg {
    height: calc(var(--spacing-field) + 0.25rem);
  }
  .btn-icon {
    aspect-ratio: 1;
    padding-inline: 0;
  }
  .btn-icon.btn-sm {
    --btn-icon: 1rem;
  }

  .input {
    display: block;
    width: 100%;
    min-width: 0;
    height: var(--spacing-field);
    padding: 0.25rem 0.625rem;
    border: 1px solid var(--color-input);
    border-radius: var(--radius-field);
    background-color: var(--color-field);
    color: var(--color-ink);
    font-size: 1rem;
    line-height: 1.5rem;
    transition: color var(--motion), background-color var(--motion), border-color var(--motion);
  }
  /* 1rem keeps iOS from zooming into a focused field. */
  @media (min-width: 48rem) {
    .input {
      font-size: 0.875rem;
      line-height: 1.25rem;
    }
  }
  .input::placeholder {
    color: var(--color-muted);
  }
  .input:disabled {
    background-color: light-dark(color-mix(in oklab, var(--color-input) 50%, transparent), color-mix(in oklab, var(--color-input) 80%, transparent));
    opacity: 0.5;
    cursor: not-allowed;
  }
  textarea.input {
    height: auto;
    min-height: 4rem;
    padding-block: 0.5rem;
    field-sizing: content;
  }
  select.input {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .input[type="file"] {
    color: var(--color-muted);
    font-size: 0.875rem;
    line-height: 1.5rem;
  }
  .input::file-selector-button {
    height: 1.5rem;
    margin-right: 0.5rem;
    padding: 0;
    border: 0;
    background-color: transparent;
    color: var(--color-ink);
    font: inherit;
    font-weight: 500;
  }

  /* Where a popup goes is written in custom properties, which the
     declarations of anchor positioning read. A browser that does not know
     those declarations drops them, and /_inlay.js places the popup from the
     properties. An anchor that is not the button has anchor-name, and
     data-anchor with the same name. */
  .popup {
    --popup-area: block-end span-inline-end;
    --popup-anchor: auto;
    --popup-width: auto;
    inset: auto;
    position-anchor: var(--popup-anchor);
    position-area: var(--popup-area);
    position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
    width: var(--popup-width);
    height: auto;
    margin: 0.25rem 0;
    overflow: visible;
    border: 0;
    border-radius: var(--radius-field);
    background-color: var(--color-surface);
    color: var(--color-ink);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25rem;
    box-shadow: var(--shadow-edge), var(--shadow-popup);
    transition: opacity 100ms, scale 100ms;
  }
  @starting-style {
    .popup:popover-open {
      opacity: 0;
      scale: 0.95;
    }
  }

  .popup-end {
    --popup-area: block-end span-inline-start;
  }

  .popover {
    width: 18rem;
    max-width: calc(100vw - 1rem);
    padding: 0.625rem;
  }
  .menu {
    min-width: 8rem;
    max-width: calc(100vw - 1rem);
    padding: 0.25rem;
  }
  .menu :is(a, button) {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius-small);
    text-align: left;
    white-space: nowrap;
    cursor: default;
    user-select: none;
  }
  .menu :is(a, button):is(:hover, :focus-visible) {
    outline: none;
    background-color: var(--color-soft);
  }
  .menu :is(a, button):disabled {
    opacity: 0.5;
    pointer-events: none;
  }
  .menu svg {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    color: var(--color-muted);
  }
  .menu .menu-danger,
  .menu .menu-danger svg {
    color: var(--color-danger);
  }
  .menu .menu-danger:is(:hover, :focus-visible) {
    background-color: var(--color-danger-soft);
  }
  .menu > p {
    padding: 0.375rem 0.5rem;
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
  }
  .menu > hr {
    margin: 0.25rem -0.25rem;
    border: 0;
    border-top: 1px solid var(--color-line);
  }

  /* The tick is a mask, so it takes the colour written on the brand.
     padding: an app's own rule for every input must not move the mark, which
     is drawn inside the box. The same for the radio and the switch. */
  .checkbox {
    appearance: none;
    display: inline-grid;
    flex-shrink: 0;
    place-content: center;
    width: 1rem;
    height: 1rem;
    padding: 0;
    border: 1px solid var(--color-input);
    border-radius: 4px;
    background-color: var(--color-field);
    transition: color var(--motion), background-color var(--motion), border-color var(--motion);
  }
  .checkbox:checked {
    border-color: var(--color-brand);
    background-color: var(--color-brand);
  }
  .checkbox:checked::after {
    content: "";
    width: 0.875rem;
    height: 0.875rem;
    background-color: var(--color-on-brand);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .checkbox:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .radio {
    appearance: none;
    display: inline-grid;
    flex-shrink: 0;
    place-content: center;
    width: 1rem;
    height: 1rem;
    padding: 0;
    border: 1px solid var(--color-input);
    border-radius: 9999px;
    background-color: var(--color-field);
    transition: background-color var(--motion), border-color var(--motion);
  }
  .radio:checked {
    border-color: var(--color-brand);
    background-color: var(--color-brand);
  }
  .radio:checked::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: var(--color-on-brand);
  }
  .radio:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .switch {
    --switch-thumb: 1rem;
    appearance: none;
    display: inline-grid;
    flex-shrink: 0;
    align-items: center;
    width: calc(var(--switch-thumb) * 2);
    height: calc(var(--switch-thumb) + 0.15rem);
    padding: 0;
    border: 1px solid transparent;
    border-radius: 9999px;
    background-color: light-dark(var(--color-input), color-mix(in oklab, var(--color-input) 80%, transparent));
    cursor: pointer;
    transition: background-color var(--motion);
  }
  .switch::before {
    content: "";
    width: var(--switch-thumb);
    height: var(--switch-thumb);
    border-radius: 9999px;
    background-color: light-dark(var(--color-page), var(--color-ink));
    transition: translate var(--motion);
  }
  .switch:checked {
    background-color: var(--color-brand);
  }
  .switch:checked::before {
    background-color: light-dark(var(--color-page), var(--color-on-brand));
    translate: calc(100% - 2px);
  }
  .switch:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .switch-sm {
    --switch-thumb: 0.75rem;
  }

  .btn:focus-visible,
  .input:focus-visible,
  .switch:focus-visible,
  .radio:focus-visible,
  .tabs > :focus-visible,
  .tabs > label:has(:focus-visible),
  .accordion summary:focus-visible,
  .checkbox:focus-visible {
    outline: none;
    border-color: var(--color-ring);
    box-shadow: var(--shadow-ring);
  }
  .btn-danger:focus-visible {
    border-color: color-mix(in oklab, var(--color-danger) 40%, transparent);
    box-shadow: var(--shadow-ring-danger);
  }
  .input[aria-invalid="true"],
  [data-invalid] .input,
  .radio[aria-invalid="true"],
  .checkbox[aria-invalid="true"] {
    border-color: var(--color-danger-line);
    box-shadow: var(--shadow-ring-danger);
  }

  .label {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
  }

  .tabs {
    display: inline-flex;
    align-items: center;
    height: var(--spacing-field);
    padding: 3px;
    border-radius: var(--radius-field);
    background-color: var(--color-soft);
  }
  .tabs > :is(a, button, label) {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    height: 100%;
    padding: 0 0.375rem;
    border: 1px solid transparent;
    border-radius: var(--radius-inner);
    color: color-mix(in oklab, var(--color-ink) 60%, transparent);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--motion), background-color var(--motion);
  }
  .tabs > :is(a, button, label):hover,
  .tabs > :is([aria-current="page"], [aria-selected="true"], :has(:checked)) {
    color: var(--color-ink);
  }
  .tabs > label > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .tabs > :is([aria-current="page"], [aria-selected="true"], :has(:checked)) {
    background-color: light-dark(var(--color-page), color-mix(in oklab, var(--color-input) 30%, transparent));
    box-shadow: 0 1px 3px 0 oklch(0 0 0 / 10%), 0 1px 2px -1px oklch(0 0 0 / 10%);
  }
  .tabs svg {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
  }
  .tabs-line {
    gap: 0.25rem;
    border-radius: 0;
    background-color: transparent;
  }
  .tabs-line > :is([aria-current="page"], [aria-selected="true"], :has(:checked)) {
    background-color: transparent;
    box-shadow: none;
  }
  .tabs-line > :is([aria-current="page"], [aria-selected="true"], :has(:checked))::after {
    content: "";
    position: absolute;
    inset: auto 0 -5px;
    height: 2px;
    background-color: var(--color-ink);
  }

  /* The element of each tab whose radio is not the picked one. important,
     so a display utility on the element does not show it. */
  .tabbed:has(> .tabs > :nth-child(1) > input:not(:checked)) > :nth-child(2),
  .tabbed:has(> .tabs > :nth-child(2) > input:not(:checked)) > :nth-child(3),
  .tabbed:has(> .tabs > :nth-child(3) > input:not(:checked)) > :nth-child(4),
  .tabbed:has(> .tabs > :nth-child(4) > input:not(:checked)) > :nth-child(5),
  .tabbed:has(> .tabs > :nth-child(5) > input:not(:checked)) > :nth-child(6),
  .tabbed:has(> .tabs > :nth-child(6) > input:not(:checked)) > :nth-child(7),
  .tabbed:has(> .tabs > :nth-child(7) > input:not(:checked)) > :nth-child(8),
  .tabbed:has(> .tabs > :nth-child(8) > input:not(:checked)) > :nth-child(9) {
    display: none !important;
  }

  /* Sizes are in em, so the text reads at the size of where it stands. */
  .prose {
    line-height: 1.65;
    overflow-wrap: break-word;
  }
  .prose > * + *,
  .prose blockquote > * + *,
  .prose li > p + p {
    margin-top: 0.75em;
  }
  .prose :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 600;
    line-height: 1.3;
  }
  .prose > :is(h1, h2, h3) + *,
  .prose > * + :is(h1, h2, h3) {
    margin-top: 1.25em;
  }
  .prose > :is(h1, h2, h3) + * {
    margin-top: 0.5em;
  }
  .prose h1 {
    font-size: 1.5em;
  }
  .prose h2 {
    font-size: 1.25em;
  }
  .prose h3 {
    font-size: 1.1em;
  }
  .prose :is(strong, b) {
    font-weight: 600;
  }
  .prose a {
    text-decoration-line: underline;
    text-underline-offset: 3px;
  }
  .prose ul {
    padding-left: 1.5em;
    list-style: disc;
  }
  .prose ol {
    padding-left: 1.5em;
    list-style: decimal;
  }
  .prose li + li,
  .prose li > :is(ul, ol) {
    margin-top: 0.25em;
  }
  .prose blockquote {
    padding-left: 1em;
    border-left: 2px solid var(--color-line);
    color: var(--color-muted);
  }
  .prose code {
    padding: 0.125em 0.3em;
    border-radius: 4px;
    background-color: var(--color-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.875em;
  }
  .prose pre {
    padding: 0.75em 1em;
    overflow-x: auto;
    border-radius: var(--radius-field);
    background-color: var(--color-soft);
    line-height: 1.5;
  }
  .prose pre code {
    padding: 0;
    background-color: transparent;
  }
  .prose hr {
    margin-block: 1.5em;
    border: 0;
    border-top: 1px solid var(--color-line);
  }
  .prose img {
    max-width: 100%;
    border-radius: var(--radius-field);
  }

  .avatar {
    position: relative;
    display: inline-grid;
    flex-shrink: 0;
    place-items: center;
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    border-radius: 9999px;
    background-color: var(--color-soft);
    color: var(--color-muted);
    font-size: 0.875rem;
    line-height: 1;
    user-select: none;
  }
  .avatar > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-line);
    border-radius: inherit;
  }
  .avatar-sm {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
  }
  .avatar-lg {
    width: 2.5rem;
    height: 2.5rem;
  }

  .progress {
    appearance: none;
    display: block;
    width: 100%;
    height: 0.25rem;
    overflow: hidden;
    border: 0;
    border-radius: 9999px;
    background-color: var(--color-soft);
  }
  .progress::-webkit-progress-bar {
    background-color: var(--color-soft);
  }
  .progress::-webkit-progress-value {
    background-color: var(--color-brand);
    transition: width var(--motion);
  }
  .progress::-moz-progress-bar {
    background-color: var(--color-brand);
  }
  .progress:indeterminate {
    background-image: linear-gradient(var(--color-brand), var(--color-brand));
    background-repeat: no-repeat;
    background-size: 40% 100%;
    animation: ui-progress 1.1s ease-in-out infinite;
  }
  .progress:indeterminate::-webkit-progress-bar {
    background-color: transparent;
  }
  .progress:indeterminate::-moz-progress-bar {
    background-color: transparent;
  }
  @keyframes ui-progress {
    from {
      background-position-x: -66.67%;
    }
    to {
      background-position-x: 166.67%;
    }
  }

  .spinner {
    width: 1rem;
    height: 1rem;
    animation: ui-spin 1s linear infinite;
  }
  @keyframes ui-spin {
    to {
      rotate: 360deg;
    }
  }

  .skeleton {
    border-radius: var(--radius-inner);
    background-color: var(--color-soft);
    animation: ui-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }
  @keyframes ui-pulse {
    50% {
      opacity: 0.5;
    }
  }

  .kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    padding-inline: 0.25rem;
    border-radius: var(--radius-small);
    background-color: var(--color-soft);
    color: var(--color-muted);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
    white-space: nowrap;
    user-select: none;
  }
  .kbd svg {
    width: 0.75rem;
    height: 0.75rem;
  }

  .empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: var(--radius-box);
    text-align: center;
    text-wrap: balance;
  }
  .empty-outline {
    border: 1px dashed var(--color-line);
  }
  .empty > svg {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--radius-field);
    background-color: var(--color-soft);
  }
  .empty > :is(h2, h3) {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
  }
  .empty > p {
    max-width: 24rem;
    color: var(--color-muted);
    font-size: 0.875rem;
    line-height: 1.625;
  }
  .empty > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .accordion {
    interpolate-size: allow-keywords;
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .accordion > details:not(:last-child) {
    border-bottom: 1px solid var(--color-line);
  }
  .accordion summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.625rem 0;
    border: 1px solid transparent;
    border-radius: var(--radius-field);
    font-weight: 500;
    list-style: none;
    cursor: pointer;
  }
  .accordion summary::-webkit-details-marker {
    display: none;
  }
  .accordion summary::after {
    content: "";
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    background-color: var(--color-muted);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: rotate 200ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .accordion details[open] > summary::after {
    rotate: 180deg;
  }
  .accordion details > :not(summary):last-child {
    padding-bottom: 0.625rem;
  }
  .accordion details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 200ms cubic-bezier(0.4, 0, 0.2, 1), content-visibility 200ms allow-discrete;
  }
  .accordion details[open]::details-content {
    block-size: auto;
  }

  .card {
    padding: 1rem;
    border-radius: var(--radius-box);
    background-color: var(--color-surface);
    color: var(--color-ink);
    font-size: 0.875rem;
    line-height: 1.25rem;
    box-shadow: var(--shadow-edge);
  }

  .dialog {
    margin: auto;
    width: 100%;
    max-width: min(24rem, calc(100% - 2rem));
    padding: 1rem;
    border-radius: var(--radius-box);
    background-color: var(--color-surface);
    color: var(--color-ink);
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-align: start;
    box-shadow: var(--shadow-edge);
    gap: 1rem;
    opacity: 0;
    scale: 0.95;
    transition: opacity 100ms, scale 100ms, overlay 100ms allow-discrete, display 100ms allow-discrete, position 100ms step-end allow-discrete, margin 100ms step-end allow-discrete;
  }
  .dialog[open] {
    display: grid;
    opacity: 1;
    scale: 1;
  }
  /* Shown in place. A closing dialog is not modal either and has no [open]:
     it keeps its position and margin while it fades. */
  .dialog[open]:not(:modal) {
    position: relative;
    margin: 0;
  }
  .dialog::backdrop {
    background-color: var(--color-backdrop);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 100ms, overlay 100ms allow-discrete, display 100ms allow-discrete;
  }
  .dialog[open]::backdrop {
    opacity: 1;
  }
  @starting-style {
    .dialog[open] {
      opacity: 0;
      scale: 0.95;
    }
    .dialog[open]::backdrop {
      opacity: 0;
    }
  }
  .dialog > form {
    display: contents;
  }
  :is(.dialog, .dialog > form) > header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  :is(.dialog, .dialog > form) > header > :is(h1, h2, h3) {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
  }
  :is(.dialog, .dialog > form) > header > p {
    color: var(--color-muted);
  }
  :is(.dialog, .dialog > form) > footer {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.5rem;
    margin: 0 -1rem -1rem;
    padding: 1rem;
    border-top: 1px solid var(--color-line);
    border-radius: 0 0 var(--radius-box) var(--radius-box);
    background-color: color-mix(in oklab, var(--color-soft) 50%, transparent);
  }
  .dialog > .dialog-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }
  .dialog-side {
    width: 75%;
    max-width: 24rem;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0 0 0 auto;
    overflow-y: auto;
    border-radius: 0;
    box-shadow: -1px 0 0 var(--color-line), var(--shadow-raised);
    flex-direction: column;
    scale: 1;
    translate: 100%;
    transition: opacity 200ms, translate 200ms ease-in-out, overlay 200ms allow-discrete, display 200ms allow-discrete, position 200ms step-end allow-discrete, margin 200ms step-end allow-discrete;
  }
  .dialog-side[open] {
    display: flex;
    translate: 0;
  }
  @starting-style {
    .dialog-side[open] {
      scale: 1;
      translate: 100%;
    }
  }
  :is(.dialog-side, .dialog-side > form) > footer {
    margin-top: auto;
    border-radius: 0;
  }
  .dialog-alert {
    max-width: min(20rem, calc(100% - 2rem));
  }
  .dialog-alert > form > header {
    display: grid;
    place-items: center;
    gap: 0.375rem;
    text-align: center;
  }
  .dialog-alert > form > header > :is(h1, h2, h3) {
    line-height: 1.5rem;
  }
  .dialog-alert > form > header > p {
    text-wrap: balance;
  }
  @media (min-width: 40rem) {
    :is(.dialog, .dialog > form) > footer {
      flex-direction: row;
      justify-content: flex-end;
    }
    .dialog-alert {
      max-width: min(24rem, calc(100% - 2rem));
    }
    .dialog-alert > form > header {
      place-items: start;
      text-align: start;
    }
  }

  .alert {
    display: grid;
    gap: 0.125rem;
    padding: 0.5rem 0.625rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-field);
    background-color: var(--color-surface);
    color: var(--color-ink);
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-align: start;
  }
  .alert:has(> svg) {
    grid-template-columns: auto 1fr;
    column-gap: 0.5rem;
  }
  .alert > svg {
    grid-row: span 2;
    width: 1rem;
    height: 1rem;
    translate: 0 0.125rem;
  }
  .alert-danger {
    color: var(--color-danger);
  }
  .alert-success {
    color: var(--color-success);
  }

  .badge {
    --badge-bg: var(--color-brand);
    --badge-fg: var(--color-on-brand);
    --badge-hover: color-mix(in oklab, var(--color-brand) 80%, transparent);
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: fit-content;
    height: 1.25rem;
    padding: 0.125rem 0.5rem;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 9999px;
    background-color: var(--badge-bg);
    color: var(--badge-fg);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
    white-space: nowrap;
    transition: all var(--motion);
  }
  .badge > svg {
    width: 0.75rem;
    height: 0.75rem;
    pointer-events: none;
  }
  .badge-secondary {
    --badge-bg: var(--color-soft);
    --badge-fg: var(--color-ink);
    --badge-hover: color-mix(in oklab, var(--color-soft) 80%, transparent);
  }
  .badge-success {
    --badge-bg: light-dark(color-mix(in oklab, var(--color-success) 10%, transparent), color-mix(in oklab, var(--color-success) 20%, transparent));
    --badge-fg: var(--color-success);
    --badge-hover: color-mix(in oklab, var(--color-success) 20%, transparent);
  }
  .badge-danger {
    --badge-bg: var(--color-danger-soft);
    --badge-fg: var(--color-danger);
    --badge-hover: color-mix(in oklab, var(--color-danger) 20%, transparent);
  }
  .badge-outline {
    --badge-bg: transparent;
    --badge-fg: var(--color-ink);
    --badge-hover: var(--color-soft);
    border-color: var(--color-line);
  }
  .badge-ghost {
    --badge-bg: transparent;
    --badge-fg: var(--color-ink);
  }
  @media (hover: hover) {
    a.badge:hover {
      background-color: var(--badge-hover);
    }
    a.badge-outline:hover {
      color: var(--color-muted);
    }
    .badge-ghost:hover {
      background-color: light-dark(var(--color-soft), color-mix(in oklab, var(--color-soft) 50%, transparent));
      color: var(--color-muted);
    }
  }

  .table {
    width: 100%;
    font-size: 0.875rem;
    line-height: 1.25rem;
    caption-side: bottom;
  }
  .table th {
    height: 2.5rem;
    padding-inline: 0.5rem;
    color: var(--color-ink);
    font-weight: 500;
    text-align: start;
    vertical-align: middle;
    white-space: nowrap;
  }
  .table td {
    padding: 0.5rem;
    vertical-align: middle;
    white-space: nowrap;
  }
  .table tr {
    border-bottom: 1px solid var(--color-line);
    transition: color var(--motion), background-color var(--motion);
  }
  .table tbody tr:last-child {
    border-bottom: 0;
  }
  @media (hover: hover) {
    .table tr:hover {
      background-color: color-mix(in oklab, var(--color-soft) 50%, transparent);
    }
  }
  .table caption {
    margin-top: 1rem;
    color: var(--color-muted);
  }
}
