/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -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-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@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 {
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .fixed {
    position: fixed;
  }
  .static {
    position: static;
  }
  .mt-4 {
    margin-top: calc(0.25rem * 4);
  }
  .mt-6 {
    margin-top: calc(0.25rem * 6);
  }
  .mt-8 {
    margin-top: calc(0.25rem * 8);
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .grow {
    flex-grow: 1;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .bg-paper {
    background-color: var(--paper);
  }
  .font-display {
    font-family: var(--font-display);
  }
  .font-ui {
    font-family: var(--font-ui);
  }
  .text-wrap {
    text-wrap: wrap;
  }
  .text-ink {
    color: var(--ink);
  }
  .text-sanguine {
    color: var(--sanguine);
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .underline {
    text-decoration-line: underline;
  }
  .shadow-sfumato-1 {
    --tw-shadow: var(--sfumato-1);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-sfumato-2 {
    --tw-shadow: var(--sfumato-2);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .sepia {
    --tw-sepia: sepia(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .ease-pen {
    --tw-ease: var(--ease-pen);
    transition-timing-function: var(--ease-pen);
  }
  .ease-sfumato {
    --tw-ease: var(--ease-sfumato);
    transition-timing-function: var(--ease-sfumato);
  }
}
:root {
  color-scheme: light;
  --paper: #E8DABD;
  --paper-vellum: #F1E7D2;
  --paper-deep: #DCCAA6;
  --paper-grain: 0.06;
  --ink: #33241A;
  --ink-soft: #5A4636;
  --silverpoint: #5F5A51;
  --silverpoint-line: #807A6D;
  --silverpoint-hair: rgba(95, 90, 81, 0.28);
  --pass-rule: var(--silverpoint-line);
  --pass-rule-width: 1px;
  --sanguine: #9B3B22;
  --sanguine-strong: #7E2E19;
  --on-sanguine: #F4EBD8;
  --sanguine-wash: rgba(155, 59, 34, 0.12);
  --sanguine-hatch: rgba(155, 59, 34, 0.55);
  --chalk-rub: 0.5;
  --chalk-streak: 0.24;
  --verdigris: #365E50;
  --ochre: #765410;
  --umber-red: #8C2A1C;
  --font-display: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --font-text: "Alegreya", "Iowan Old Style", Georgia, serif;
  --font-ui: "Alegreya Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Homemade Apple", "Segoe Script", cursive;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.125rem;
  --text-lg: 1.40625rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.1875rem;
  --text-3xl: 2.75rem;
  --text-4xl: 3.4375rem;
  --leading-tight: 1.15;
  --leading-text: 1.6;
  --leading-ui: 1.3;
  --measure: 64ch;
  --tracking-label: 0.08em;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --folio-main: minmax(0, 40rem);
  --folio-margin: minmax(0, 15rem);
  --folio-gap: var(--space-7);
  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-md: 4px;
  --shadow-rgb: 51, 36, 26;
  --sfumato-1: 0 1px 2px rgba(var(--shadow-rgb), 0.06), 0 6px 18px -6px rgba(var(--shadow-rgb), 0.16);
  --sfumato-2: 0 2px 4px rgba(var(--shadow-rgb), 0.06), 0 18px 40px -12px rgba(var(--shadow-rgb), 0.24);
  --sfumato-3: 0 4px 8px rgba(var(--shadow-rgb), 0.08), 0 32px 72px -16px rgba(var(--shadow-rgb), 0.32);
  --vignette: radial-gradient(ellipse at center, transparent 55%, rgba(var(--shadow-rgb), 0.10) 100%);
  --feather: radial-gradient(ellipse 72% 72% at center, #000 60%, transparent 100%);
  --focus-ring: 0 0 0 2px var(--paper), 0 0 0 4px var(--sanguine);
  --ease-sfumato: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-pen: cubic-bezier(0.45, 0.05, 0.25, 1);
  --dur-quick: 160ms;
  --dur-fade: 420ms;
  --dur-settle: 700ms;
  --dur-draw: 1800ms;
  --dur-stage-read: 6s;
  --dur-stage-weigh: 7.2s;
  --dur-stage-lens: 9s;
  --icon-stroke: 1.6;
  --icon-size-sm: 18px;
  --icon-size-md: 22px;
  --symbol-size: 72px;
  --symbol-size-set: 40px;
  --suggest-max: 5;
  --symbol-set-min: 3;
  --symbol-set-max: 3;
  --choice-bg: var(--paper-vellum);
  --choice-border: 1.5px dashed var(--sanguine);
  --choice-dash-width: 2px;
  --choice-dash: 9px;
  --choice-dash-space: 6px;
  --choice-border-empty: 1.5px dashed var(--silverpoint-line);
  --choice-radius: var(--radius-md);
  --choice-shadow: var(--sfumato-1);
  --choice-shadow-hover: var(--sfumato-2);
  --choice-padding: var(--space-4);
  --choice-gap: var(--space-4);
  --choice-min-width: 15rem;
  --chosen-bg: var(--paper-vellum);
  --chosen-shadow: var(--sfumato-1);
  --chosen-radius: var(--radius-md);
  --chosen-padding: var(--space-2) var(--space-3);
  --chosen-gap: var(--space-3);
  --chosen-slot-bg: rgba(var(--shadow-rgb), 0.07);
  --overlay-scrim: rgba(var(--shadow-rgb), 0.38);
  --overlay-blur: 2px;
  --overlay-bg: var(--paper-vellum);
  --overlay-shadow: var(--sfumato-3);
  --overlay-radius: var(--radius-md);
  --overlay-max-width: 56rem;
  --overlay-max-height: 85vh;
  --overlay-padding: clamp(var(--space-4), 4vw, var(--space-6));
  --overlay-grid-min: 8.5rem;
  --overlay-tile-symbol: 64px;
  --overlay-tile-hover: var(--sanguine-wash);
  --overlay-tile-in-set: var(--paper-deep);
  --overlay-z: 50;
  --reading-bg: var(--paper-deep);
  @supports (color: color-mix(in lab, red, red)) {
    --reading-bg: color-mix(in srgb, var(--paper-deep) 55%, var(--paper-vellum));
  }
  --reading-radius: var(--radius-md);
  --reading-padding: var(--space-4) var(--space-5);
  --reading-gap: var(--space-3);
  --composer-bg: var(--paper-vellum);
  --composer-shadow: var(--sfumato-1);
  --composer-shadow-focus: var(--sfumato-2);
  --composer-radius: var(--radius-md);
  --composer-padding: var(--space-4);
  --composer-min-height: 6.5rem;
  --composer-max-height: 22rem;
  --attachment-bg: var(--paper-deep);
  --attachment-radius: var(--radius-xs);
  --attachment-thumb: 2.5rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #211B17;
    --paper-vellum: #2C2520;
    --paper-deep: #19140F;
    --paper-grain: 0.05;
    --ink: #E9DFCB;
    --ink-soft: #C9BBA4;
    --silverpoint: #A39E93;
    --silverpoint-line: #8A847A;
    --silverpoint-hair: rgba(201, 196, 184, 0.22);
    --pass-rule: rgba(201, 196, 184, 0.5);
    --sanguine: #D9805F;
    --sanguine-strong: #E89878;
    --on-sanguine: #211B17;
    --sanguine-wash: rgba(217, 128, 95, 0.16);
    --sanguine-hatch: rgba(217, 128, 95, 0.6);
    --chalk-rub: 0.4;
    --chalk-streak: 0.2;
    --verdigris: #7FB09C;
    --ochre: #D2A64E;
    --umber-red: #E58A76;
    --shadow-rgb: 0, 0, 0;
    --overlay-scrim: rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #211B17;
  --paper-vellum: #2C2520;
  --paper-deep: #19140F;
  --paper-grain: 0.05;
  --ink: #E9DFCB;
  --ink-soft: #C9BBA4;
  --silverpoint: #A39E93;
  --silverpoint-line: #8A847A;
  --silverpoint-hair: rgba(201, 196, 184, 0.22);
  --sanguine: #D9805F;
  --sanguine-strong: #E89878;
  --on-sanguine: #211B17;
  --sanguine-wash: rgba(217, 128, 95, 0.16);
  --sanguine-hatch: rgba(217, 128, 95, 0.6);
  --chalk-rub: 0.4;
  --chalk-streak: 0.2;
  --verdigris: #7FB09C;
  --ochre: #D2A64E;
  --umber-red: #E58A76;
  --shadow-rgb: 0, 0, 0;
  --overlay-scrim: rgba(0, 0, 0, 0.6);
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fade: 1ms;
    --dur-settle: 1ms;
    --dur-draw: 1ms;
  }
}
@layer components {
  *, *::before, *::after {
    box-sizing: border-box;
  }
  html {
    -webkit-text-size-adjust: 100%;
  }
  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: var(--text-md);
    line-height: var(--leading-text);
    --gutter: max(16px, 4vw);
    margin: 0;
    padding-block: 0 var(--space-8);
    transition: background-color var(--dur-settle) var(--ease-sfumato), color var(--dur-settle) var(--ease-sfumato);
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: var(--paper-grain);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.14 0 0 0 0 0.1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: var(--vignette);
  }
  .page, .bar-inner {
    max-width: calc(72rem + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .page {
    position: relative;
    z-index: 1;
  }
  h1, h2, h3, h4 {
    margin: 0;
    text-wrap: balance;
    font-weight: 500;
  }
  h1, h2 {
    font-family: var(--font-display);
    line-height: var(--leading-tight);
    letter-spacing: 0.005em;
  }
  h3, h4 {
    font-family: var(--font-text);
    line-height: 1.25;
  }
  p {
    margin: 0;
  }
  a {
    color: var(--sanguine);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
  }
  ::selection {
    background: var(--sanguine-wash);
    color: inherit;
  }
  :focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-xs);
  }
  .eyebrow {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--silverpoint);
  }
  .hand {
    font-family: var(--font-hand);
    font-size: 0.95rem;
    line-height: 2;
    color: var(--ink-soft);
  }
  .ui {
    font-family: var(--font-ui);
  }
  .bar {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 10;
    width: 100%;
    background: var(--paper-vellum);
    box-shadow: 0 1px 0 var(--silverpoint-hair), 0 10px 24px -14px rgba(var(--shadow-rgb), 0.35);
  }
  .bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3) var(--space-5);
    flex-wrap: wrap;
    padding-block: var(--space-3);
  }
  @media (max-width: 480px) {
    .bar-inner {
      gap: var(--space-2) var(--space-3);
      padding-block: var(--space-2);
    }
    .wordmark svg {
      width: 30px;
      height: 30px;
    }
    .wordmark span {
      font-size: var(--text-lg);
    }
    .seg button {
      padding: 2px var(--space-2);
    }
  }
  .wordmark {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--ink);
  }
  .wordmark svg {
    width: 38px;
    height: 38px;
  }
  .wordmark span {
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--text-xl);
    line-height: 1;
  }
  .seg {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border-radius: var(--radius-sm);
    background: var(--paper-deep);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
  }
  .seg button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    font: inherit;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-xs);
    transition: background-color var(--dur-quick) var(--ease-sfumato), color var(--dur-quick);
  }
  .seg button[aria-pressed="true"] {
    background: var(--paper-vellum);
    color: var(--ink);
    box-shadow: var(--sfumato-1);
  }
  .folio {
    display: grid;
    grid-template-columns: var(--folio-main) var(--folio-margin);
    column-gap: var(--folio-gap);
    row-gap: var(--space-5);
    justify-content: space-between;
  }
  .folio > * {
    min-width: 0;
  }
  .folio .full {
    grid-column: 1 / -1;
  }
  .ref {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--sanguine);
    font-weight: 700;
  }
  @media (max-width: 860px) {
    .folio {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  .rule {
    height: 1px;
    border: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent, var(--silverpoint-hair) 18%, var(--silverpoint-hair) 82%, transparent);
  }
  .study path, .study circle, .study line, .study rect {
    fill: none;
    vector-effect: non-scaling-stroke;
  }
  .study .silver {
    stroke: var(--silverpoint);
    stroke-width: 0.9;
  }
  .study .hair {
    stroke: var(--silverpoint-hair);
    stroke-width: 0.8;
    stroke-dasharray: 2 3;
  }
  .study .sang {
    stroke: var(--sanguine);
    stroke-width: 1.3;
    stroke-linecap: round;
  }
  .study text {
    fill: var(--sanguine);
    font-family: var(--font-hand);
    font-size: 9px;
  }
  .draw {
    stroke-dasharray: 1 2;
    stroke-dashoffset: 1.05;
    animation: draw var(--dur-draw) var(--ease-pen) forwards;
  }
  .fade-in {
    opacity: 0;
    animation: dissolve var(--dur-settle) var(--ease-sfumato) forwards;
  }
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes dissolve {
    from {
      opacity: 0;
      filter: blur(3px);
    }
    to {
      opacity: 1;
      filter: blur(0);
    }
  }
  code {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--silverpoint);
    letter-spacing: 0.02em;
  }
  .icon {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: var(--icon-stroke);
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .icon path, .icon circle {
    fill: none;
    stroke: currentColor;
    stroke-width: var(--icon-stroke);
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .symbol {
    width: var(--symbol-size);
    height: var(--symbol-size);
    flex: none;
    overflow: visible;
  }
  .s-rub {
    fill: var(--sanguine);
    opacity: var(--chalk-rub);
    filter: url(#chalk);
  }
  .s-streak {
    fill: none;
    stroke: var(--sanguine);
    stroke-width: 9;
    stroke-linecap: round;
    opacity: var(--chalk-streak);
    filter: url(#chalk);
  }
  .s-smoke {
    fill: none;
    stroke: var(--sanguine);
    stroke-width: 3.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.4;
    filter: url(#smoke);
  }
  .s-hatch {
    fill: url(#hatch);
    stroke: none;
  }
  .s-dense {
    fill: url(#hatch-dense);
    stroke: none;
  }
  .s-line {
    fill: none;
    stroke: var(--sanguine);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .s-hair {
    fill: none;
    stroke: var(--sanguine);
    stroke-width: 0.6;
    stroke-dasharray: 1.5 2.5;
    opacity: 0.55;
  }
  .s-dot {
    fill: var(--sanguine);
  }
  #hatch line, #hatch-dense line {
    stroke: var(--sanguine-hatch);
    stroke-width: 1;
  }
  .btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.6rem 1.05rem;
    border-radius: var(--radius-sm);
    min-height: 2.5rem;
    transition: background-color var(--dur-quick) var(--ease-sfumato), box-shadow var(--dur-fade) var(--ease-sfumato), color var(--dur-quick);
  }
  .btn .icon {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
  }
  .btn-primary {
    background: var(--sanguine);
    color: var(--on-sanguine);
    box-shadow: var(--sfumato-1);
  }
  .btn-primary:hover {
    background: var(--sanguine-strong);
    box-shadow: var(--sfumato-2);
  }
  .btn-secondary {
    background: var(--sanguine-wash);
    color: var(--ink);
  }
  .btn-secondary .icon {
    color: var(--sanguine);
  }
  .btn-secondary:hover {
    background: var(--sanguine);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--sanguine) 20%, transparent);
    }
  }
  .btn-quiet {
    background: transparent;
    color: var(--sanguine);
    padding-inline: var(--space-2);
  }
  .btn-quiet:hover {
    background: var(--sanguine-wash);
  }
  .btn[disabled] {
    cursor: not-allowed;
    background: var(--paper-deep);
    color: var(--silverpoint);
    box-shadow: none;
  }
  .btn[disabled] .icon {
    color: var(--silverpoint);
  }
  .icon-btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--sanguine);
    transition: background-color var(--dur-quick) var(--ease-sfumato);
  }
  .icon-btn:hover {
    background: var(--sanguine-wash);
  }
  .field {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
  }
  .field label {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--silverpoint);
  }
  .field .control {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
  }
  .field .control .icon {
    color: var(--sanguine);
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    position: absolute;
    left: 0.5rem;
  }
  .field input {
    width: 100%;
    font-family: var(--font-text);
    font-size: var(--text-md);
    color: var(--ink);
    background: transparent;
    border: 0;
    border-radius: var(--radius-xs) var(--radius-xs) 0 0;
    box-shadow: inset 0 -1px 0 var(--silverpoint-line);
    padding: 0.5rem 0.5rem 0.45rem;
    transition: box-shadow var(--dur-fade) var(--ease-sfumato), background-color var(--dur-fade) var(--ease-sfumato);
  }
  .field .control .icon + input {
    padding-left: 2.1rem;
  }
  .field input::placeholder {
    color: var(--silverpoint);
    font-style: italic;
  }
  .field input:focus {
    outline: none;
    background: var(--sanguine-wash);
    box-shadow: inset 0 -2px 0 var(--sanguine);
  }
  .field .help {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--ink-soft);
  }
  .field.error input {
    box-shadow: inset 0 -2px 0 var(--umber-red);
  }
  .field.error .help {
    color: var(--umber-red);
    display: flex;
    gap: var(--space-1);
    align-items: center;
  }
  .field.error .help .icon {
    width: 14px;
    height: 14px;
  }
  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .tag {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-xs);
    background: var(--paper-deep);
    color: var(--ink-soft);
  }
  .tag.on {
    background: var(--sanguine-wash);
    color: var(--ink);
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: var(--space-5);
  }
  .card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    background: var(--paper-vellum);
    box-shadow: var(--sfumato-1);
    transition: box-shadow var(--dur-fade) var(--ease-sfumato), transform var(--dur-fade) var(--ease-sfumato);
  }
  .card:hover {
    box-shadow: var(--sfumato-2);
    transform: translateY(-2px);
  }
  .card .top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.1;
  }
  .card p {
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--ink-soft);
    font-family: var(--font-text);
  }
  .card .foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--space-2);
    gap: var(--space-2);
  }
  .card .foot .ui {
    font-size: var(--text-xs);
    color: var(--silverpoint);
    letter-spacing: 0.04em;
  }
  .notice {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    padding: var(--space-4);
    border-radius: var(--radius-md);
    background: var(--paper-deep);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    line-height: 1.45;
  }
  .notice .icon {
    color: var(--sanguine);
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    margin-top: 1px;
  }
  figure {
    margin: 0;
  }
  .s-ghost {
    fill: none;
    stroke: var(--sanguine);
    stroke-width: 1.3;
    stroke-dasharray: 3 2.5;
  }
  .s-force {
    fill: none;
    stroke: var(--sanguine);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .pass-row {
    position: relative;
    padding-block: var(--space-6);
  }
  folio-pass + folio-pass > .pass-row::before, folio-pass + .pass-row::before, .pass-row + .pass-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--pass-rule-width);
    background: linear-gradient(to right, transparent, var(--pass-rule) 4%, var(--pass-rule) 96%, transparent);
    pointer-events: none;
  }
  .pass {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: var(--measure);
  }
  .pass-head {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--silverpoint);
  }
  .pass-head .ref {
    font-size: var(--text-sm);
  }
  .said {
    font-style: italic;
    color: var(--ink);
    padding-inline-start: var(--space-4);
    position: relative;
  }
  .said::before {
    content: "\201C";
    position: absolute;
    left: 0;
    top: -0.1em;
    font-family: var(--font-display);
    font-size: 1.6em;
    color: var(--sanguine);
    line-height: 1;
    font-style: normal;
  }
  .said-label {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--silverpoint);
  }
  .glossed {
    background: linear-gradient(transparent 58%, var(--sanguine-wash) 58%);
    padding-inline: 1px;
  }
  .glossed sup, .ref-n {
    font-family: var(--font-ui);
    font-size: 0.7em;
    font-weight: 700;
    color: var(--sanguine);
    font-style: normal;
    margin-left: 1px;
  }
  .past .pass {
    color: var(--ink-soft);
  }
  .marg {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding-top: var(--space-1);
  }
  .marg-write {
    align-self: flex-start;
  }
  .mnote {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 var(--space-2);
    align-items: start;
  }
  .mnote .n {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--sanguine);
    line-height: 1.9;
    min-width: 1ch;
  }
  .mnote .body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .mnote .kind {
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--silverpoint);
  }
  .mnote .hand {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--ink);
  }
  .mnote.fig {
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }
  .mnote.fig .symbol {
    width: 3.5rem;
    height: 3.5rem;
  }
  .mnote .fig-name {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.1;
    color: var(--ink);
  }
  .mnote .fig-dig {
    align-self: flex-start;
    margin-left: calc(-1 * var(--space-2));
  }
  .mnote .was {
    color: var(--silverpoint);
    text-decoration: line-through;
    text-decoration-color: var(--sanguine);
    text-decoration-thickness: 1px;
  }
  .glosses {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-2);
  }
  .gloss {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 var(--space-2);
    margin: 0;
    padding-inline-start: var(--space-3);
    box-shadow: inset 2px 0 0 var(--sanguine-wash);
  }
  .gloss .n {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--sanguine);
    line-height: 1.9;
    min-width: 1ch;
  }
  .gloss .body {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
  }
  .gloss .kind {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--silverpoint);
  }
  .gloss q {
    font-family: var(--font-text);
    font-style: italic;
    color: var(--ink);
  }
  .gloss .hand {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--ink-soft);
  }
  .pass-notes {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-3);
  }
  .past .marg .hand {
    color: var(--ink-soft);
  }
  .past .marg .symbol {
    opacity: .6;
  }
  .threads {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    background: var(--paper-deep);
  }
  .threads ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
  }
  .threads li {
    display: grid;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: var(--space-2);
    align-items: center;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    line-height: 1.3;
  }
  .threads li .symbol {
    width: 1.75rem;
    height: 1.75rem;
  }
  .threads li small {
    display: block;
    color: var(--silverpoint);
    font-size: var(--text-xs);
  }
  .arrive {
    animation: dissolve var(--dur-settle) var(--ease-sfumato) both;
  }
  @media (max-width: 860px) {
    .marg {
      padding-left: var(--space-5);
    }
  }
  .stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
    gap: var(--space-6);
  }
  .stage {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .status-line {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink);
    display: flex;
    gap: var(--space-2);
    align-items: center;
  }
  .status-line::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sanguine);
    animation: breathe 2.4s var(--ease-sfumato) infinite;
    flex: none;
  }
  @keyframes breathe {
    0%, 100% {
      opacity: .25;
    }
    50% {
      opacity: 1;
    }
  }
  .stage .w-text {
    fill: none;
    stroke: var(--silverpoint-line);
    stroke-width: 2;
    stroke-linecap: round;
  }
  .stage .w-ink {
    fill: none;
    stroke: var(--ink-soft);
    stroke-width: 2;
    stroke-linecap: round;
  }
  .stage .w-wash {
    fill: var(--sanguine-wash);
    transform-box: fill-box;
    transform-origin: left center;
  }
  .stage .w-ray {
    fill: none;
    stroke: var(--sanguine);
    stroke-width: 1;
    stroke-linecap: round;
    stroke-dasharray: 1 2;
    opacity: .8;
  }
  .stage .w-dial {
    fill: none;
    stroke: var(--silverpoint);
    stroke-width: 1;
  }
  .stage .w-hair {
    fill: none;
    stroke: var(--silverpoint-hair);
    stroke-width: 1;
  }
  .stage .w-glow {
    fill: var(--sanguine);
    filter: url(#chalk);
    opacity: 0;
  }
  .stage .w-lens {
    fill: var(--sanguine-wash);
    fill-opacity: 0;
    stroke: var(--silverpoint);
    stroke-width: 1.1;
  }
  .stage .w-focus {
    fill: var(--sanguine);
  }
  .stage .w-return {
    fill: none;
    stroke: var(--sanguine);
    stroke-width: 1;
    stroke-linecap: round;
    stroke-dasharray: 1 2;
    opacity: .6;
  }
  .stage .w-label {
    fill: var(--silverpoint);
    font-family: var(--font-ui);
    font-size: 8px;
    letter-spacing: .08em;
  }
  .stage .w-needle {
    transform-box: view-box;
    transform-origin: 140px 92px;
    transform: rotate(45deg);
  }
  .stage .w-submit {
    transform-box: fill-box;
    transform-origin: center;
  }
  .st-weigh .g1 {
    opacity: .45;
  }
  .st-read * {
    animation-duration: var(--dur-stage-read);
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    animation-timing-function: var(--ease-sfumato);
  }
  .st-weigh * {
    animation-duration: var(--dur-stage-weigh);
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    animation-timing-function: var(--ease-sfumato);
  }
  .st-lens * {
    animation-duration: var(--dur-stage-lens);
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    animation-timing-function: var(--ease-sfumato);
  }
  .paused .stage * {
    animation-play-state: paused;
  }
  .st-read .r1 {
    animation-name: read-wash-1;
  }
  @keyframes read-wash-1 {
    0%, 0% {
      transform: scaleX(0);
      opacity: 1;
    }
    8%, 82% {
      transform: scaleX(1);
      opacity: 1;
    }
    92%, 100% {
      transform: scaleX(1);
      opacity: 0;
    }
  }
  .st-read .r2 {
    animation-name: read-wash-2;
  }
  @keyframes read-wash-2 {
    0%, 7% {
      transform: scaleX(0);
      opacity: 1;
    }
    15%, 82% {
      transform: scaleX(1);
      opacity: 1;
    }
    92%, 100% {
      transform: scaleX(1);
      opacity: 0;
    }
  }
  .st-read .r3 {
    animation-name: read-wash-3;
  }
  @keyframes read-wash-3 {
    0%, 14% {
      transform: scaleX(0);
      opacity: 1;
    }
    22%, 82% {
      transform: scaleX(1);
      opacity: 1;
    }
    92%, 100% {
      transform: scaleX(1);
      opacity: 0;
    }
  }
  .st-read .r4 {
    animation-name: read-wash-4;
  }
  @keyframes read-wash-4 {
    0%, 21% {
      transform: scaleX(0);
      opacity: 1;
    }
    29%, 82% {
      transform: scaleX(1);
      opacity: 1;
    }
    92%, 100% {
      transform: scaleX(1);
      opacity: 0;
    }
  }
  .st-read .r5 {
    animation-name: read-wash-5;
  }
  @keyframes read-wash-5 {
    0%, 28% {
      transform: scaleX(0);
      opacity: 1;
    }
    36%, 82% {
      transform: scaleX(1);
      opacity: 1;
    }
    92%, 100% {
      transform: scaleX(1);
      opacity: 0;
    }
  }
  .st-read .k1 {
    animation-name: read-ray-1;
  }
  @keyframes read-ray-1 {
    0%, 40% {
      stroke-dashoffset: 1.05;
      opacity: .8;
    }
    52%, 84% {
      stroke-dashoffset: 0;
      opacity: .8;
    }
    94%, 100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }
  .st-read .k2 {
    animation-name: read-ray-2;
  }
  @keyframes read-ray-2 {
    0%, 43% {
      stroke-dashoffset: 1.05;
      opacity: .8;
    }
    55%, 84% {
      stroke-dashoffset: 0;
      opacity: .8;
    }
    94%, 100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }
  .st-read .k3 {
    animation-name: read-ray-3;
  }
  @keyframes read-ray-3 {
    0%, 46% {
      stroke-dashoffset: 1.05;
      opacity: .8;
    }
    58%, 84% {
      stroke-dashoffset: 0;
      opacity: .8;
    }
    94%, 100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }
  .st-read .w-sym.s1 {
    animation-name: read-sym-1;
  }
  @keyframes read-sym-1 {
    0%, 50% {
      opacity: 0;
      filter: blur(4px);
    }
    62%, 86% {
      opacity: 1;
      filter: blur(0);
    }
    96%, 100% {
      opacity: 0;
      filter: blur(3px);
    }
  }
  .st-read .w-sym.s2 {
    animation-name: read-sym-2;
  }
  @keyframes read-sym-2 {
    0%, 56% {
      opacity: 0;
      filter: blur(4px);
    }
    68%, 86% {
      opacity: 1;
      filter: blur(0);
    }
    96%, 100% {
      opacity: 0;
      filter: blur(3px);
    }
  }
  .st-read .w-sym.s3 {
    animation-name: read-sym-3;
  }
  @keyframes read-sym-3 {
    0%, 62% {
      opacity: 0;
      filter: blur(4px);
    }
    74%, 86% {
      opacity: 1;
      filter: blur(0);
    }
    96%, 100% {
      opacity: 0;
      filter: blur(3px);
    }
  }
  .st-weigh .w-needle {
    animation-name: weigh-needle;
    animation-timing-function: cubic-bezier(.3,.1,.25,1.15);
  }
  @keyframes weigh-needle {
    0% {
      transform: rotate(-45deg);
    }
    10%, 25% {
      transform: rotate(45deg);
    }
    35%, 50% {
      transform: rotate(135deg);
    }
    60%, 75% {
      transform: rotate(225deg);
    }
    85%, 100% {
      transform: rotate(315deg);
    }
  }
  .st-weigh .g1 {
    animation-name: weigh-glow-1;
  }
  @keyframes weigh-glow-1 {
    0%, 10% {
      opacity: 0;
    }
    14%, 25% {
      opacity: .5;
    }
    31%, 100% {
      opacity: 0;
    }
  }
  .st-weigh .g2 {
    animation-name: weigh-glow-2;
  }
  @keyframes weigh-glow-2 {
    0%, 35% {
      opacity: 0;
    }
    39%, 50% {
      opacity: .5;
    }
    56%, 100% {
      opacity: 0;
    }
  }
  .st-weigh .g3 {
    animation-name: weigh-glow-3;
  }
  @keyframes weigh-glow-3 {
    0%, 60% {
      opacity: 0;
    }
    64%, 75% {
      opacity: .5;
    }
    81%, 100% {
      opacity: 0;
    }
  }
  .st-weigh .g4 {
    animation-name: weigh-glow-4;
  }
  @keyframes weigh-glow-4 {
    0%, 85% {
      opacity: 0;
    }
    89%, 97% {
      opacity: .5;
    }
    100% {
      opacity: 0;
    }
  }
  .st-lens .w-submit {
    animation-name: lens-submit;
  }
  @keyframes lens-submit {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    5% {
      transform: scale(1.1);
    }
    12%, 88% {
      transform: scale(1);
      opacity: 1;
    }
    96% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  .st-lens .w-glow.sub {
    animation-name: lens-subglow;
  }
  @keyframes lens-subglow {
    0% {
      opacity: 0;
    }
    6% {
      opacity: .55;
    }
    22%, 100% {
      opacity: 0;
    }
  }
  .st-lens .q1 {
    animation-name: lens-ray-1;
    animation-timing-function: var(--ease-pen);
  }
  @keyframes lens-ray-1 {
    0%, 12% {
      stroke-dashoffset: 1.05;
      opacity: .8;
    }
    50%, 84% {
      stroke-dashoffset: 0;
      opacity: .8;
    }
    92%, 100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }
  .st-lens .q2 {
    animation-name: lens-ray-2;
    animation-timing-function: var(--ease-pen);
  }
  @keyframes lens-ray-2 {
    0%, 14% {
      stroke-dashoffset: 1.05;
      opacity: .8;
    }
    50%, 84% {
      stroke-dashoffset: 0;
      opacity: .8;
    }
    92%, 100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }
  .st-lens .q3 {
    animation-name: lens-ray-3;
    animation-timing-function: var(--ease-pen);
  }
  @keyframes lens-ray-3 {
    0%, 16% {
      stroke-dashoffset: 1.05;
      opacity: .8;
    }
    50%, 84% {
      stroke-dashoffset: 0;
      opacity: .8;
    }
    92%, 100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }
  .st-lens .l1 {
    animation-name: lens-fill-1;
  }
  @keyframes lens-fill-1 {
    0%, 18% {
      fill-opacity: 0;
    }
    23% {
      fill-opacity: 1;
    }
    29%, 84% {
      fill-opacity: .5;
    }
    92%, 100% {
      fill-opacity: 0;
    }
  }
  .st-lens .l2 {
    animation-name: lens-fill-2;
  }
  @keyframes lens-fill-2 {
    0%, 26% {
      fill-opacity: 0;
    }
    31% {
      fill-opacity: 1;
    }
    37%, 84% {
      fill-opacity: .5;
    }
    92%, 100% {
      fill-opacity: 0;
    }
  }
  .st-lens .l3 {
    animation-name: lens-fill-3;
  }
  @keyframes lens-fill-3 {
    0%, 34% {
      fill-opacity: 0;
    }
    39% {
      fill-opacity: 1;
    }
    45%, 84% {
      fill-opacity: .5;
    }
    92%, 100% {
      fill-opacity: 0;
    }
  }
  .st-lens .l4 {
    animation-name: lens-fill-4;
  }
  @keyframes lens-fill-4 {
    0%, 41% {
      fill-opacity: 0;
    }
    46% {
      fill-opacity: 1;
    }
    52%, 84% {
      fill-opacity: .5;
    }
    92%, 100% {
      fill-opacity: 0;
    }
  }
  .st-lens .w-focus {
    animation-name: lens-focus;
    transform-box: fill-box;
    transform-origin: center;
  }
  @keyframes lens-focus {
    0%, 50% {
      opacity: 0;
      transform: scale(.3);
    }
    55% {
      opacity: 1;
      transform: scale(1.3);
    }
    60%, 84% {
      opacity: 1;
      transform: scale(1);
    }
    92%, 100% {
      opacity: 0;
    }
  }
  .st-lens .p1 {
    animation-name: lens-write-1;
    animation-timing-function: var(--ease-pen);
  }
  @keyframes lens-write-1 {
    0%, 54% {
      stroke-dashoffset: 1.05;
      opacity: 1;
    }
    68%, 86% {
      stroke-dashoffset: 0;
      opacity: 1;
    }
    94%, 100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }
  .st-lens .p2 {
    animation-name: lens-write-2;
    animation-timing-function: var(--ease-pen);
  }
  @keyframes lens-write-2 {
    0%, 62% {
      stroke-dashoffset: 1.05;
      opacity: 1;
    }
    76%, 86% {
      stroke-dashoffset: 0;
      opacity: 1;
    }
    94%, 100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }
  .st-lens .p3 {
    animation-name: lens-write-3;
    animation-timing-function: var(--ease-pen);
  }
  @keyframes lens-write-3 {
    0%, 70% {
      stroke-dashoffset: 1.05;
      opacity: 1;
    }
    82%, 86% {
      stroke-dashoffset: 0;
      opacity: 1;
    }
    94%, 100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }
  .st-lens .w-return {
    animation-name: lens-return;
    animation-timing-function: var(--ease-pen);
  }
  @keyframes lens-return {
    0%, 84% {
      stroke-dashoffset: 1.05;
      opacity: .6;
    }
    97% {
      stroke-dashoffset: 0;
      opacity: .6;
    }
    100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .stage *, .status-line::before {
      animation: none !important;
    }
  }
  .set {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    align-items: center;
  }
  .set .symbol {
    width: var(--symbol-size-set);
    height: var(--symbol-size-set);
  }
  .set-line {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-3);
    align-items: center;
  }
  .set-line .names {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink-soft);
  }
  .past .set .symbol {
    opacity: .6;
  }
  .type-choices {
    columns: var(--choice-min-width) auto;
    column-gap: var(--choice-gap);
  }
  .type-choices > choice-card {
    display: block;
    break-inside: avoid;
    margin-bottom: var(--choice-gap);
  }
  .choice {
    --dash: var(--sanguine);
    --dash-run: repeating-linear-gradient(90deg, var(--dash) 0 var(--choice-dash), transparent var(--choice-dash) calc(var(--choice-dash) + var(--choice-dash-space)));
    --dash-col: repeating-linear-gradient(180deg, var(--dash) 0 var(--choice-dash), transparent var(--choice-dash) calc(var(--choice-dash) + var(--choice-dash-space)));
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--choice-padding);
    background: var(--dash-run) top left / 100% var(--choice-dash-width) no-repeat, var(--dash-run) bottom left / 100% var(--choice-dash-width) no-repeat, var(--dash-col) top left / var(--choice-dash-width) 100% no-repeat, var(--dash-col) top right / var(--choice-dash-width) 100% no-repeat, var(--choice-bg);
    border-radius: var(--choice-radius);
    box-shadow: var(--choice-shadow);
    transition: box-shadow var(--dur-fade) var(--ease-sfumato);
  }
  .type-choice:hover {
    box-shadow: var(--choice-shadow-hover);
  }
  .choice .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
  }
  .choice .top .actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: var(--space-1);
  }
  .choice .top .btn {
    padding-inline: var(--space-3);
  }
  .choice .top .btn-quiet {
    padding-inline: var(--space-2);
  }
  .choice .symbol {
    width: var(--symbol-size);
    height: var(--symbol-size);
  }
  .choice h4 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.1;
  }
  .choice dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }
  .choice dt {
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--silverpoint);
  }
  .choice dd {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.5;
  }
  .choice .why {
    font-style: italic;
  }
  .choice .shadow {
    color: var(--ink-soft);
  }
  .choice.empty {
    --dash: var(--silverpoint-line);
    background-color: transparent;
    box-shadow: none;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    text-align: center;
  }
  .choice.empty p {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--silverpoint);
  }
  .heard {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    max-width: var(--measure);
  }
  .heard p {
    font-size: var(--text-lg);
    line-height: 1.45;
  }
  .chosen-set {
    display: flex;
    flex-wrap: wrap;
    gap: var(--chosen-gap);
    align-items: center;
    margin-bottom: var(--space-5);
  }
  .chosen-set .eyebrow {
    flex-basis: 100%;
  }
  .chosen {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--chosen-padding);
    background: var(--chosen-bg);
    border-radius: var(--chosen-radius);
    box-shadow: var(--chosen-shadow);
  }
  .chosen .symbol {
    width: var(--symbol-size-set);
    height: var(--symbol-size-set);
  }
  .chosen b {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
  }
  .chosen-slot {
    display: inline-flex;
    align-items: center;
    min-height: calc(var(--symbol-size-set) + 1rem);
    padding: 0 var(--space-4);
    background: var(--chosen-slot-bg);
    border-radius: var(--chosen-radius);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--silverpoint);
  }
  .choose-foot {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
    margin: calc(-1 * var(--space-2)) 0 var(--space-5);
  }
  .choose-foot .eyebrow {
    margin-right: auto;
  }
  .overlay-panel {
    background: var(--overlay-bg);
    box-shadow: var(--overlay-shadow);
    border-radius: var(--overlay-radius);
    padding: var(--overlay-padding);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }
  .overlay-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
  }
  .tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--overlay-grid-min), 1fr));
    gap: var(--space-2);
  }
  .tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-2);
    border-radius: var(--radius-sm);
    text-align: center;
  }
  .tile:hover, .tile.hover {
    background: var(--overlay-tile-hover);
  }
  .tile.in-set {
    background: var(--overlay-tile-in-set);
  }
  .tile .symbol {
    width: var(--overlay-tile-symbol);
    height: var(--overlay-tile-symbol);
  }
  .tile b {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.1;
  }
  .tile span {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--ink-soft);
    line-height: 1.35;
  }
  .tile .in {
    color: var(--silverpoint);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    font-size: 0.6875rem;
  }
  .composer {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--composer-padding);
    background: var(--composer-bg);
    border-radius: var(--composer-radius);
    box-shadow: var(--composer-shadow);
    position: relative;
    transition: box-shadow var(--dur-fade) var(--ease-sfumato), background-color var(--dur-fade) var(--ease-sfumato);
  }
  .composer::after {
    content: "";
    position: absolute;
    left: var(--space-3);
    right: var(--space-3);
    bottom: 0;
    height: 2px;
    background: var(--sanguine);
    border-radius: 1px;
    opacity: 0;
    transition: opacity var(--dur-fade) var(--ease-sfumato);
  }
  .composer:focus-within {
    box-shadow: var(--composer-shadow-focus);
  }
  .composer:focus-within::after {
    opacity: 1;
  }
  .composer.drop {
    background: var(--sanguine-wash);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--sanguine-wash) 100%, var(--composer-bg));
    }
  }
  .composer textarea {
    width: 100%;
    border: 0;
    background: transparent;
    resize: none;
    color: var(--ink);
    font-family: var(--font-text);
    font-size: var(--text-md);
    line-height: var(--leading-text);
    min-height: var(--composer-min-height);
    max-height: var(--composer-max-height);
    overflow-y: auto;
    padding: 0;
  }
  .composer textarea:focus {
    outline: none;
  }
  .composer textarea::placeholder {
    color: var(--silverpoint);
    font-style: italic;
  }
  .attachments {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .attachment {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-1) var(--space-1) var(--space-1);
    background: var(--attachment-bg);
    border-radius: var(--attachment-radius);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    max-width: 100%;
    min-width: 0;
  }
  .attachment .thumb {
    width: var(--attachment-thumb);
    height: var(--attachment-thumb);
    border-radius: var(--attachment-radius);
    display: grid;
    place-items: center;
    color: var(--sanguine);
    background: var(--paper-vellum);
    flex: none;
    overflow: hidden;
  }
  .attachment .thumb svg.study {
    width: 100%;
    height: 100%;
  }
  .attachment .meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
  }
  .attachment .meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .attachment .meta small {
    color: var(--silverpoint);
    font-size: var(--text-xs);
  }
  .attachment .icon-btn {
    width: 2rem;
    height: 2rem;
  }
  .attachment .icon-btn .icon {
    width: 16px;
    height: 16px;
  }
  .composer-bar {
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }
  .composer-bar .hint {
    flex: 1;
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--silverpoint);
    min-width: 0;
  }
  .composer-bar .btn-primary {
    padding-inline: 0.75rem;
  }
  .readings {
    display: flex;
    flex-direction: column;
    gap: var(--reading-gap);
  }
  .reading {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--reading-padding);
    background: var(--reading-bg);
    border-radius: var(--reading-radius);
  }
  .reading .eyebrow b {
    color: var(--ink);
    font-weight: 500;
  }
  .reading.pending .lines {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding-block: var(--space-1);
  }
  .reading.pending .lines span {
    height: 2px;
    background: var(--silverpoint-hair);
    border-radius: 1px;
  }
  .reading.failed .why {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
  }
  .reading.failed .why .icon {
    color: var(--umber-red);
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
  }
  .past .reading p {
    color: var(--ink-soft);
  }
  .folio-foot {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    box-shadow: 0 -1px 0 var(--silverpoint-hair);
  }
  .btn-danger {
    background: transparent;
    color: var(--umber-red);
    padding-inline: var(--space-2);
  }
  .btn-danger:hover {
    background: var(--umber-red);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--umber-red) 12%, transparent);
    }
  }
  .btn-danger-solid {
    background: var(--umber-red);
    color: var(--on-sanguine);
  }
  .confirm {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    background: var(--paper-deep);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
  }
  .confirm p {
    flex: 1 1 16rem;
  }
  .pass .set-line {
    margin-block: var(--space-1) var(--space-3);
  }
  .support {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-5);
    background: var(--paper-vellum);
    border-radius: var(--radius-md);
    box-shadow: var(--sfumato-1);
    max-width: var(--measure);
  }
  .support h4 {
    font-family: var(--font-text);
    font-size: var(--text-xl);
    font-weight: 500;
  }
  .support ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
  }
  .support li b {
    font-weight: 500;
  }
  .support li span {
    user-select: all;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
  }
  .support .row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
  }
  @media (prefers-reduced-motion: reduce) {
    .draw {
      animation: none;
      stroke-dashoffset: 0;
    }
    .fade-in, .arrive {
      animation: none;
      opacity: 1;
    }
    .card:hover {
      transform: none;
    }
  }
  .nav {
    display: flex;
    gap: var(--space-1);
    overflow-x: auto;
    scrollbar-width: none;
    min-width: 0;
    flex: 1 1 0;
    justify-content: flex-end;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink-soft);
    text-decoration: none;
    white-space: nowrap;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-xs);
    transition: background-color var(--dur-quick) var(--ease-sfumato), color var(--dur-quick);
  }
  .nav a:hover {
    background: var(--sanguine-wash);
    color: var(--ink);
  }
  .nav a[aria-current] {
    color: var(--sanguine);
  }
  @media (max-width: 480px) {
    .nav {
      order: 3;
      flex: 1 1 60%;
      justify-content: flex-start;
      margin-inline: calc(-1 * var(--space-2)) 0;
    }
    .account-menu {
      order: 4;
    }
  }
  .muted {
    color: var(--ink-soft);
  }
  ul.tags {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  a.tag {
    text-decoration: none;
    transition: background-color var(--dur-quick) var(--ease-sfumato), color var(--dur-quick);
  }
  a.tag:hover {
    background: var(--sanguine-wash);
    color: var(--ink);
  }
  .codex {
    padding-block: var(--space-7) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }
  .codex-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-2) var(--space-4);
  }
  .codex-head h1 {
    font-size: var(--text-3xl);
  }
  .codex-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
  }
  .codex-filter .tag {
    font-size: var(--text-md);
  }
  .codex-filter .count {
    font-family: var(--font-ui);
    font-size: var(--text-md);
    color: var(--silverpoint);
  }
  .codex-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    max-width: var(--measure);
    padding-block: var(--space-6);
  }
  .codex-empty p {
    font-size: var(--text-lg);
    color: var(--ink-soft);
  }
  .card-link {
    color: inherit;
    text-decoration: none;
  }
  .card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
  }
  .card .top a, .card .tags a, .card .foot a {
    position: relative;
    z-index: 1;
  }
  .entry {
    background: var(--paper-vellum);
    border-radius: var(--radius-md);
    box-shadow: var(--sfumato-2);
    padding: clamp(var(--space-5), 5vw, var(--space-8));
  }
  .entry .folio {
    row-gap: var(--space-4);
  }
  .folio-head {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }
  .entry h1 {
    font-size: clamp(2.2rem, 5vw, var(--text-3xl));
  }
  .entry .byline {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--silverpoint);
  }
  .folio-blank {
    padding-block: var(--space-5);
  }
  .mnote.own .hand {
    color: var(--ink);
  }
  .pass-compose {
    gap: var(--space-4);
  }
  .composer-error {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--umber-red);
  }
  .composer-error .icon {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
  }
  .attachment .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .composer textarea:focus-visible {
    box-shadow: none;
  }
  .working {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 24rem;
    animation: dissolve var(--dur-settle) var(--ease-sfumato) both;
  }
  .working .plate {
    background: var(--paper-vellum);
    border-radius: var(--radius-md);
    box-shadow: var(--sfumato-1);
    padding: var(--space-3);
  }
  .working.compact {
    max-width: none;
  }
  .working.compact .plate {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  .pass-current {
    max-width: none;
  }
  .pass-current .heard {
    margin-block: var(--space-2) var(--space-3);
  }
  .choice.refilling {
    justify-content: center;
    min-height: 14rem;
  }
  .choice-full {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink-soft);
  }
  .choose-why {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--silverpoint);
    flex-basis: 100%;
    text-align: right;
  }
  .type-choices .arrive {
    animation-fill-mode: both;
  }
  dialog.overlay {
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    width: min(100% - 2 * var(--space-4), var(--overlay-max-width));
    max-height: var(--overlay-max-height);
    color: inherit;
    overflow: visible;
  }
  dialog.overlay::backdrop {
    background: var(--overlay-scrim);
    backdrop-filter: blur(var(--overlay-blur));
  }
  dialog.overlay[open] {
    animation: dissolve var(--dur-fade) var(--ease-sfumato) both;
  }
  dialog.overlay .overlay-panel {
    max-height: var(--overlay-max-height);
    overflow-y: auto;
  }
  .overlay-head h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-style: italic;
    font-weight: 500;
  }
  .overlay-search {
    flex: 1 1 12rem;
    max-width: 20rem;
    margin-left: auto;
  }
  .overlay-head {
    flex-wrap: wrap;
  }
  button.tile {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: inherit;
    font: inherit;
  }
  button.tile:focus-visible {
    background: var(--overlay-tile-hover);
  }
  .overlay-detail {
    display: flex;
    gap: var(--space-5);
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .overlay-detail .symbol {
    width: 96px;
    height: 96px;
  }
  .overlay-detail-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1 1 18rem;
  }
  .overlay-detail h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
  }
  .overlay-detail dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }
  .overlay-detail dt {
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--silverpoint);
  }
  .overlay-detail dd {
    margin: 0;
  }
  .overlay-detail .shadow {
    color: var(--ink-soft);
  }
  .overlay-detail .row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
  }
  @media (max-width: 640px) {
    dialog.overlay {
      width: 100%;
      max-width: 100%;
      height: 100%;
      max-height: 100%;
      margin: 0;
    }
    dialog.overlay .overlay-panel {
      min-height: 100%;
      max-height: 100%;
      border-radius: 0;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    dialog.overlay[open], .working {
      animation: none;
    }
  }
  .mnote {
    position: relative;
  }
  .mnote .note-remove {
    position: absolute;
    top: -6px;
    right: -8px;
    opacity: 0;
    transition: opacity var(--dur-quick) var(--ease-sfumato);
  }
  .mnote:hover .note-remove, .mnote .note-remove:focus-visible {
    opacity: 1;
  }
  @media (hover: none) {
    .mnote .note-remove {
      opacity: 1;
    }
  }
  .mnote.own {
    padding-right: var(--space-5);
  }
  .note-edit textarea {
    width: 100%;
    resize: vertical;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--sanguine-wash);
    padding: var(--space-2);
    font-family: var(--font-text);
    color: var(--ink);
  }
  .note-edit textarea:focus-visible {
    outline: none;
    box-shadow: inset 0 -2px 0 var(--sanguine);
  }
  .note-edit .note-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-2);
  }
  .note-edit label.kind {
    cursor: default;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .folio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
  }
  .tag-item {
    display: inline-flex;
    align-items: center;
    gap: 2px;
  }
  .tag-remove {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: var(--radius-xs);
    background: transparent;
    color: var(--sanguine);
    cursor: pointer;
  }
  .tag-remove:hover {
    background: var(--sanguine-wash);
  }
  .tag-remove .icon {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
  }
  .tag-edit {
    font-size: var(--text-xs);
    padding-block: 0.15rem;
    min-height: 0;
  }
  .tag-add {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
  }
  .tag-add input {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    width: 12rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--paper-deep);
    color: var(--ink);
    padding: 0.35rem 0.6rem;
  }
  .tag-add input:focus-visible {
    outline: none;
    background: var(--sanguine-wash);
    box-shadow: inset 0 -2px 0 var(--sanguine);
  }
  .folio-foot.confirm .confirm-q {
    flex-basis: 100%;
    font-family: var(--font-text);
    color: var(--ink);
  }
  .choose-again {
    margin-bottom: var(--space-3);
  }
  .related {
    margin-top: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }
  .related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: var(--space-3);
  }
  .related-link {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    background: var(--paper-deep);
    color: var(--ink);
    text-decoration: none;
    transition: background var(--dur-quick) var(--ease-sfumato);
  }
  .related-link:hover {
    background: var(--sanguine-wash);
  }
  .related-link .set {
    display: flex;
    flex-shrink: 0;
  }
  .related-link .symbol {
    width: 2.25rem;
    height: 2.25rem;
  }
  .related-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .related-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.15;
  }
  .related-shares {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--ink-soft);
  }
  .support {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    max-width: 38rem;
    font-family: var(--font-text);
    color: var(--ink);
    background: var(--paper-vellum);
  }
  .support h2 {
    font-family: var(--font-text);
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.25;
  }
  .support p, .support li {
    font-size: var(--text-md);
    line-height: 1.6;
  }
  .support-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-left: 0;
    list-style: none;
    user-select: text;
  }
  .support-list b {
    font-weight: 700;
  }
  .support a:not(.btn) {
    color: var(--sanguine);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .support-country {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
  }
  .support-country select {
    font: inherit;
    color: var(--ink);
    background: var(--paper-deep);
    border: 0;
    border-radius: var(--radius-xs);
    padding: 0.35rem 0.6rem;
  }
  .support-country select:focus-visible {
    outline: 2px solid var(--sanguine);
    outline-offset: 2px;
  }
  .support-status, .support-sources {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink-soft);
  }
  .support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
    margin-top: var(--space-2);
  }
  .support-list li {
    font-family: var(--font-text);
    color: var(--ink);
  }
  .mirror {
    display: inline-block;
    transform: scaleX(-1);
  }
  .mirror-sign {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--space-7);
    color: var(--silverpoint);
    font-size: 1.3rem;
  }
  .mirror-sign .hand {
    color: inherit;
    font-size: inherit;
  }
  .onboarding {
    max-width: 36rem;
    margin: var(--space-8) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: clamp(var(--space-5), 5vw, var(--space-8));
    background: var(--paper-vellum);
    border-radius: var(--radius-md);
    box-shadow: var(--sfumato-2);
  }
  .onboarding-sketch {
    width: min(100%, 20rem);
    height: auto;
    align-self: center;
  }
  .onboarding h1 {
    font-size: clamp(2.2rem, 5vw, var(--text-3xl));
  }
  .onboarding p:not(.eyebrow):not(.hand) {
    font-family: var(--font-text);
    font-size: var(--text-md);
    line-height: 1.6;
    color: var(--ink);
  }
  .onboarding-actions {
    margin-top: var(--space-2);
  }
  .onboarding .mirror {
    align-self: flex-end;
    color: var(--sanguine);
    opacity: .75;
    font-size: .85rem;
  }
  .codex-backup {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
    margin-top: var(--space-8);
    padding-top: var(--space-5);
    box-shadow: 0 -1px 0 var(--silverpoint-hair);
  }
  .codex-backup label.btn {
    cursor: pointer;
  }
  .codex-backup label.btn:focus-within {
    outline: 2px solid var(--sanguine);
    outline-offset: 2px;
  }
  .codex-backup .disabled {
    opacity: .5;
    pointer-events: none;
  }
  .backup-status {
    flex-basis: 100%;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink-soft);
  }
  .onboarding-sketch path, .onboarding-sketch circle {
    vector-effect: none;
  }
  [tabindex="-1"]:focus {
    box-shadow: none;
  }
  .library {
    padding-block: var(--space-7) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }
  .cover-purpose {
    font-style: italic;
  }
  .cover-actions {
    display: flex;
    gap: var(--space-1);
    align-items: center;
  }
  .card .cover-actions button {
    position: relative;
    z-index: 1;
  }
  .cover-form {
    gap: var(--space-4);
  }
  .cover-form:hover {
    box-shadow: var(--sfumato-1);
    transform: none;
  }
  .cover-form-h {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.1;
  }
  .cover-form.confirm {
    flex-direction: row;
    align-items: center;
    background: var(--paper-deep);
  }
  .cover-begin {
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    border: 0;
    cursor: pointer;
    font: inherit;
    color: var(--ink-soft);
    background: var(--paper-deep);
    box-shadow: none;
  }
  .cover-begin:hover {
    background: var(--paper-vellum);
    box-shadow: var(--sfumato-1);
  }
  .cover-begin .icon {
    color: var(--sanguine);
    width: var(--icon-size-md);
    height: var(--icon-size-md);
  }
  .cover-begin-h {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ink);
  }
  .cover-begin-hint {
    font-family: var(--font-text);
    font-size: var(--text-sm);
    line-height: 1.55;
  }
  .codex-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }
  .codex-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
  }
  .codex-write {
    margin-left: auto;
    align-self: center;
  }
  .codex-purpose {
    font-family: var(--font-text);
    font-style: italic;
    font-size: var(--text-lg);
    color: var(--ink-soft);
    max-width: var(--measure);
    margin-top: calc(-1 * var(--space-3));
  }
  .codex-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-3);
  }
  .bind-into {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    align-self: flex-start;
    margin-bottom: var(--space-3);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink-soft);
  }
  .bind-into .icon {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    color: var(--sanguine);
  }
  .bind-into select {
    appearance: none;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--paper-deep);
    color: var(--sanguine);
    font: inherit;
    font-weight: 500;
    padding: 0.3rem 1.8rem 0.3rem 0.7rem;
    cursor: pointer;
    max-width: 16rem;
    text-overflow: ellipsis;
  }
  .bind-into select:disabled {
    color: var(--silverpoint);
    cursor: default;
  }
  .bind-into::after {
    content: '▾';
    position: absolute;
    right: 0.6rem;
    pointer-events: none;
    color: var(--sanguine);
  }
  .folio-codex {
    color: var(--sanguine);
    text-decoration: none;
  }
  .folio-codex:hover {
    text-decoration: underline;
  }
  .codex-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }
  .codex-group-head {
    font-size: var(--text-xl);
  }
  .codex-group-head a {
    color: var(--ink);
    text-decoration: none;
  }
  .codex-group-head a:hover {
    color: var(--sanguine);
  }
  .codex-group-head .count {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink-soft);
  }
  .codex-group + .codex-group {
    margin-top: var(--space-5);
  }
  .nudge {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-1) var(--space-3);
    margin-top: var(--space-6);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink-soft);
  }
  .nudge b {
    font-weight: 500;
    color: var(--ink);
  }
  .link-btn {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--sanguine);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
  .link-btn.quiet {
    color: var(--silverpoint);
  }
  .folio-foot .bind-into {
    margin-bottom: 0;
  }
  .foot-end {
    display: contents;
  }
  @media (min-width: 641px) {
    .foot-end {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-3);
      align-items: center;
      margin-left: auto;
    }
  }
  .auth {
    max-width: calc(30rem + 2 * var(--gutter));
    padding-block: var(--space-7) var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }
  .auth h1 {
    font-size: clamp(2rem, 5vw, var(--text-2xl));
  }
  .auth .lede {
    margin: 0;
    color: var(--ink-soft);
  }
  .auth .notice {
    margin: 0;
  }
  .auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    align-items: stretch;
  }
  .auth-form > .btn {
    align-self: flex-start;
  }
  .auth-form .help, .auth > .help {
    margin: 0;
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--ink-soft);
  }
  .auth-inline {
    margin: 0;
  }
  .auth-google {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    text-decoration: none;
  }
  .auth-or {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin: 0;
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-label);
    color: var(--silverpoint);
  }
  .auth-or::before, .auth-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--silverpoint-hair);
  }
  .auth-switch {
    margin: 0;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink-soft);
  }
  .auth-switch a {
    color: var(--sanguine);
  }
  .type-choices {
    border: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }
  .type-choices legend {
    padding: 0;
    margin-bottom: var(--space-1);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--silverpoint);
  }
  .type-choice {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: var(--text-md);
    line-height: 1.4;
  }
  .type-choice:hover {
    background: var(--sanguine-wash);
  }
  .type-choice input {
    accent-color: var(--sanguine);
    margin-top: 0.3em;
    flex: none;
  }
  .type-other {
    padding-left: calc(var(--space-3) + 1.6rem);
  }
  .signout-form {
    margin: 0;
  }
  .account-menu {
    position: relative;
  }
  .account-menu-button {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink-soft);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-xs);
    max-width: 14rem;
  }
  .account-menu-button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-menu-button:hover, .account-menu-button[aria-expanded="true"] {
    background: var(--sanguine-wash);
    color: var(--ink);
  }
  .account-menu-button .icon {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    flex: none;
  }
  .account-menu-list {
    position: absolute;
    right: 0;
    top: calc(100% + var(--space-1));
    z-index: 20;
    min-width: 11rem;
    display: flex;
    flex-direction: column;
    padding: var(--space-1);
    background: var(--paper-vellum);
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 1px var(--silverpoint-hair), 0 12px 28px -14px rgba(var(--shadow-rgb), 0.45);
  }
  .account-menu-list a, .account-menu-list button {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-xs);
    width: 100%;
  }
  .account-menu-list a:hover, .account-menu-list button:hover {
    background: var(--sanguine-wash);
  }
  .account-menu-list a[aria-current] {
    color: var(--sanguine);
  }
  .account {
    max-width: 36rem;
    padding-block: var(--space-7) var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }
  .account > .muted {
    margin: calc(-1 * var(--space-4)) 0 0;
  }
  .account-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }
  .account h1 {
    font-size: var(--text-3xl);
  }
  .account-form h2 {
    font-size: var(--text-xl);
  }
  .account-status {
    margin: 0;
    min-height: 1.4em;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--ink-soft);
  }
  .account-status.error {
    color: var(--umber-red);
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@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;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@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-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --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;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-ease: initial;
    }
  }
}
