:root {
  color-scheme: light;
  --bg: #f8f7f4;
  --ink: #46443f;
  --text: #55524c;
  --muted: #69665e;
  --line: #e1dfd9;
  --surface: #f0eeea;
  --starred: #967220;
  --control-size: 44px;
  --icon-size: 17px;
  --control-radius: 50%;
  --text-small: 14px;
  --text-body: 16px;
  --text-heading: 18px;
  --text-section: 20px;
  --text-title: 24px;
  --section-gap: 36px;
  --section-padding: 24px;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #111110;
  --ink: #cfcdc7;
  --text: #bbb9b3;
  --muted: #aaa79f;
  --line: #2c2b28;
  --surface: #1b1b19;
  --starred: #d5b66d;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #111110;
    --ink: #cfcdc7;
    --text: #bbb9b3;
    --muted: #aaa79f;
    --line: #2c2b28;
    --surface: #1b1b19;
    --starred: #d5b66d;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 28px;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: var(--text-body);
  line-height: 1.94;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
a {
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration: underline;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
main[tabindex='-1']:focus {
  outline: none;
}
#top[tabindex='-1']:focus {
  outline: none;
}
::selection {
  background: var(--ink);
  color: var(--bg);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-180%);
  padding: 8px 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  border-radius: 4px;
}
.skip-link:focus {
  transform: none;
}
.page {
  width: calc(100% - 44px);
  max-width: 634px;
  margin-inline: auto;
  padding: 104px 0 80px;
}
.page-index {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.page-index > .identity-row,
.page-index > .site-footer {
  flex: none;
}
.page-index > #content {
  flex: 1;
}
.identity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 50px;
}
.identity-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.identity-start,
.page-navigation {
  display: flex;
  align-items: center;
}
.identity-start {
  gap: 12px;
  flex-shrink: 0;
}
.page-navigation {
  gap: 4px;
}
.footer-navigation {
  display: none;
}
.identity-actions svg {
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
}
.identity-mark {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -0.08em;
  font-weight: 500;
  line-height: 1;
}
.identity-mark:hover {
  text-decoration: none;
  background: var(--surface);
}
.identity-actions a,
.theme-toggle,
.search-toggle {
  color: var(--muted);
  width: var(--control-size);
  height: var(--control-size);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  padding: 0;
  border-radius: var(--control-radius);
}
/* Reserve controls' space while their scripts start. */
.theme-toggle[hidden],
.search-toggle[hidden] {
  display: flex !important;
  visibility: hidden;
}
.identity-actions a:hover,
.theme-toggle:hover,
.search-toggle:hover {
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
}
.theme-toggle[data-next='light'] .moon,
.theme-toggle[data-next='dark'] .sun {
  display: none;
}
.page-header {
  margin: 32px 0 28px;
}
.page-title {
  margin: 0 0 12px;
  font-size: var(--text-title);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.4;
  color: var(--ink);
}
.page-header > p {
  margin: 0 0 16px;
  line-height: 1.75;
}
.page-header > p:last-child {
  margin-bottom: 0;
}
.intro strong {
  color: var(--ink);
  font-weight: inherit;
}
.page-home .section-label {
  display: flex;
  align-items: center;
  min-height: var(--control-size);
  margin-bottom: 8px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.page-home .section-heading .section-label {
  margin: 0;
}
.page-home .section-heading {
  position: relative;
}
.page-home .section-browse {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.page-home .section-browse:hover {
  text-decoration: none;
}
.page-home .section-browse:hover .section-browse-label {
  color: var(--ink);
  background: var(--surface);
}
.page-home .section-browse:focus-visible {
  outline: none;
}
.page-home .section-browse:focus-visible .section-browse-label {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
.page-home .section-heading .section-label {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.profile-section,
.next-note,
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: var(--section-gap);
  padding-top: var(--section-padding);
}
.page-home .profile-section {
  border-top: 0;
  margin-top: 32px;
  padding-top: 0;
}
.section-label {
  margin: 0 0 20px;
  font-size: var(--text-heading);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
}
.row-meta {
  color: var(--muted);
  font-size: var(--text-small);
  white-space: nowrap;
  flex-shrink: 0;
}
.writing-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  white-space: normal;
}
.writing-list,
.project-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 -12px;
  padding: 0;
}
.project-list .item-row {
  padding-inline: 12px;
  border-radius: 6px;
}
.item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  min-height: var(--control-size);
  padding: 8px 0;
  line-height: 1.75;
}
.item-row:hover {
  text-decoration: none;
}
.item-row:hover .item-title {
  text-decoration: underline;
}
.item-title {
  min-width: 0;
}
.item-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'title meta' 'description description';
  gap: 2px 24px;
}
.item-preview .item-title {
  grid-area: title;
}
.item-preview .row-meta {
  grid-area: meta;
}
.item-description {
  grid-area: description;
  font-size: var(--text-small);
  line-height: 1.6;
  color: var(--muted);
}
.site-footer {
  font-size: var(--text-small);
  color: var(--muted);
}
.site-footer a {
  color: var(--muted);
  min-height: var(--control-size);
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.social-links {
  display: flex;
  gap: 4px;
}
.footer-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  gap: 20px;
  text-align: center;
}
.article-header {
  margin-top: 32px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-size);
  font-size: var(--text-small);
  color: var(--ink);
}
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.article-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: var(--text-small);
}
.article-header h1 {
  font-size: var(--text-title);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.4;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
.article-title-row {
  --title-line-height: calc(var(--text-title) * 1.4);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.article-title-row h1 {
  flex: 1;
  min-width: 0;
  margin: 0;
  line-height: var(--title-line-height);
  overflow-wrap: anywhere;
}
.article-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.article-info-row .article-tags {
  margin: 0;
}
.article-info-row .article-meta {
  margin-left: auto;
  justify-content: flex-end;
}
.article-info-row .article-meta > span,
.article-info-row time {
  white-space: nowrap;
}
.writing-header .archive-intro {
  margin: 0 0 28px;
}
.article-summary {
  margin: 0 0 24px;
}
.contents {
  margin: 32px 0 36px;
  border-block: 1px solid var(--line);
  font-size: var(--text-small);
}
.contents summary {
  padding: 12px 0;
  min-height: var(--control-size);
  line-height: 20px;
  color: var(--ink);
}
.contents ol {
  counter-reset: contents-item;
  display: grid;
  gap: 2px;
  list-style: none;
  padding: 8px 8px 16px;
  margin: 0;
}
.contents li:not(.toc-sub) {
  counter-increment: contents-item;
}
.contents a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 32px;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}
.contents a::before {
  content: counter(contents-item, decimal-leading-zero);
  flex: none;
  width: 2ch;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.contents a:hover,
.contents a:focus-visible {
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}
.contents a:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: -2px;
}
.contents[open] > summary {
  border-bottom: 1px solid var(--line);
}
.contents .toc-sub {
  padding-left: 28px;
}
.contents .toc-sub > a {
  color: var(--muted);
  font-size: 12px;
}
.contents .toc-sub > a::before {
  content: '·';
}
.article-reading-tools {
  position: relative;
  margin: 32px 0 36px;
  border-block: 1px solid var(--line);
}
.article-reading-tools .contents {
  margin: 0;
  border: 0;
}
.article-reading-tools .contents summary {
  padding: 16px 124px 16px 0;
}
.article-reading-tools > button {
  position: absolute;
  top: 4px;
  right: 0;
}
.prose {
  overflow-wrap: anywhere;
}
.prose > :first-child {
  margin-top: 0;
}
.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre,
.prose .table-scroll {
  margin-block: 1.5em;
}
.prose h2 {
  color: var(--ink);
  font-size: var(--text-section);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 2.5em 0 0.8em;
}
.prose h3 {
  color: var(--ink);
  font-size: var(--text-heading);
  line-height: 1.5;
  font-weight: 500;
  margin: 2em 0 0.8em;
}
.prose h4 {
  font-size: var(--text-body);
  color: var(--ink);
  font-weight: 500;
}
.prose strong {
  color: var(--ink);
  font-weight: 500;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
}
.prose li {
  margin-block: 0.45em;
}
.prose a {
  text-decoration: underline;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}
.prose blockquote {
  border-left: 1px solid var(--line);
  padding-left: 1.2em;
  margin-inline: 0;
}
.prose pre {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px;
  overflow: auto;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.75;
  overflow-wrap: normal;
}
.prose code {
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 0.82em;
}
.prose :not(pre) > code {
  padding: 0.12em 0.3em;
  background: var(--surface);
}
.prose pre code {
  font-size: 1em;
  background: none;
  color: var(--ink);
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.prose table {
  border-collapse: collapse;
  min-width: max(100%, 480px);
  font-size: 13px;
  line-height: 1.65;
}
.prose th {
  color: var(--ink);
  text-align: left;
  font-weight: 500;
}
.prose td,
.prose th {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.next-note .section-label {
  margin-bottom: 12px;
}
@media (max-width: 700px) {
  .contents a {
    min-height: var(--control-size);
  }
  .page {
    padding-top: 56px;
  }
  .footer-meta {
    flex-direction: column;
    gap: 4px;
  }
  .item-row {
    gap: 16px;
  }
  .item-preview {
    gap: 4px 16px;
  }
  .writing-list .item-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'title' 'description' 'meta';
    gap: 4px;
  }
  .page-index .identity-row {
    flex-wrap: nowrap;
  }
  .page-index .identity-row .page-navigation {
    display: none;
  }
  .page-index .identity-mark {
    width: var(--control-size);
    height: var(--control-size);
  }
  .page-index .identity-actions {
    flex-basis: auto;
    gap: 0;
  }
  .page-index .social-links {
    gap: 0;
  }
  .footer-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
}
@media (max-width: 520px) {
  .identity-actions {
    flex-basis: 100%;
    justify-content: flex-end;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  html,
  html[data-theme] {
    color-scheme: light;
    --bg: #fff;
    --ink: #111;
    --text: #333;
    --muted: #555;
    --line: #ccc;
    --surface: #f5f5f5;
  }
  .theme-toggle,
  .skip-link {
    display: none !important;
  }
  .page {
    max-width: 634px;
    padding: 0;
  }
  .overview-frame {
    display: block;
    min-height: 0;
  }
  .page.page-overview {
    zoom: 1 !important;
    height: auto;
    min-height: 0;
    display: block;
    padding: 0;
  }
  .page-overview > #content {
    display: block;
  }
  .overview-content {
    display: contents;
    zoom: 1 !important;
  }
  .contents {
    display: none;
  }
  .prose pre,
  .table-scroll {
    overflow: visible;
    white-space: pre-wrap;
  }
  .prose table {
    min-width: 100%;
  }
}

/* Selected reading tools share Paper's quiet controls and neutral palette. */
.quiet-button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: var(--text-small);
  line-height: 1.5;
}
.quiet-button:hover,
.quiet-button[aria-pressed='true'] {
  color: var(--ink);
  background: var(--surface);
}
.quiet-button:disabled {
  cursor: wait;
}
.quiet-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  border-color: transparent;
}
.quiet-link:hover {
  text-decoration: none;
}
.quiet-button kbd {
  margin-left: 8px;
  font: inherit;
  font-size: 11px;
  color: var(--muted);
}
.back-to-top {
  position: fixed;
  z-index: 10;
  right: clamp(16px, 3vw, 28px);
  bottom: max(20px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 2px 12px rgb(0 0 0 / 0.08);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}
.back-to-top:hover {
  text-decoration: none;
}
.topic-filters,
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.topic-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}
.topic-filter:hover,
.topic-filter[aria-current='true'] {
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
}
.topic-filter[aria-current='true'] {
  border-color: var(--muted);
}
.topic-count {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.article-controls,
.footer-actions,
.resume-note,
.trail-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.article-controls {
  margin-left: auto;
}
.star-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.star-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  transform-origin: center;
}
.star-button[aria-pressed='true'] svg {
  color: var(--starred);
  fill: currentColor;
}
.article-title-row .star-button {
  flex: none;
  top: calc((var(--title-line-height) - var(--control-size)) / 2);
  justify-content: flex-end;
  min-width: 56px;
  min-height: var(--control-size);
  padding: 8px;
  margin: 0;
  font-size: var(--text-small);
}
.article-title-row .star-button[hidden] {
  display: inline-flex !important;
  visibility: hidden;
}
.article-title-row .star-count {
  min-width: 2ch;
  text-align: right;
}
.writing-entry > .item-title::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.writing-entry:has(.star-button:hover) .item-title {
  text-decoration: none;
}
.writing-entry .writing-meta {
  align-items: center;
}
.writing-entry .star-button[hidden] {
  display: inline-flex !important;
  visibility: hidden;
}
.writing-entry .star-count {
  min-width: 2ch;
  text-align: right;
}
.star-button-inline {
  position: relative;
  z-index: 1;
  order: 1;
  min-width: 44px;
  min-height: 28px;
  padding: 0 6px;
  margin-inline: -6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  line-height: 1.4;
}
.star-button-inline:hover {
  background: var(--surface);
  color: var(--ink);
}
.star-button-inline[aria-pressed='true'] {
  color: var(--ink);
}
.star-button-inline:disabled {
  cursor: wait;
}
.star-count {
  min-width: 1ch;
  font-variant-numeric: tabular-nums;
}
.star-status {
  margin: 12px 0 0;
  font-size: var(--text-small);
  color: var(--muted);
}
.star-status:empty {
  display: none;
}
.article-end-actions {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.article-end-actions:has(.star-button[hidden]) {
  display: none;
}
.article-end-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.article-end-row p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-small);
}
.article-end-row .star-button {
  min-height: 44px;
}
.footer-actions {
  gap: 16px;
}
.resume-note {
  margin-top: 20px;
}
.trail-controls {
  margin-bottom: 20px;
}
.writing-header .trail-controls {
  justify-content: space-between;
  margin-bottom: 0;
}
.writing-header .trail-controls[hidden] {
  display: flex !important;
  visibility: hidden;
}
.writing-sort-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  padding: 8px;
  font-size: 20px;
  line-height: 1;
}
.trail-state {
  font-size: var(--text-small);
  color: var(--muted);
  flex-basis: auto;
  text-align: right;
  line-height: 1.4;
}
[data-trail-row] {
  position: relative;
  isolation: isolate;
  padding-inline: 12px;
  border-radius: 6px;
}
[data-trail-row]::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--read-progress, 0%);
  border-radius: inherit;
  background: var(--surface);
  opacity: 0.75;
  z-index: -1;
  pointer-events: none;
}
.page-home [data-trail-row]::after {
  content: none;
}
.empty-notes {
  font-size: 14px;
}
.quick-nav {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100svh - 48px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
.quick-nav[open] {
  display: flex;
  flex-direction: column;
}
.quick-nav::backdrop {
  background: rgb(0 0 0 / 0.45);
}
.quick-search {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}
.quick-nav input {
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 52px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
}
.quick-close {
  flex: none;
  width: 44px;
  min-height: 52px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}
.quick-results {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.quick-results a,
.quick-results button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--ink);
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}
.quick-results a:hover,
.quick-results button:hover {
  background: var(--surface);
}
.quick-results a:focus-visible,
.quick-results button:focus-visible {
  background: var(--surface);
  outline: 2px solid var(--muted);
  outline-offset: -2px;
}
.quick-results small {
  color: var(--muted);
  font-size: 11px;
  flex-shrink: 0;
}
.quick-result-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.quick-result-title {
  font-weight: 500;
}
.quick-result-summary {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.quick-results .quick-result-label {
  align-self: flex-start;
  padding-top: 2px;
}
.quick-bottom {
  display: flex;
  flex: none;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
}
.quick-empty {
  font-size: 14px;
}
.prose {
  position: relative;
}
.morph-word {
  display: inline-block;
  transform-origin: left top;
}
.morph-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}
.morph-ghost {
  position: absolute;
  white-space: pre;
  transform-origin: left top;
}
@media (max-width: 700px) {
  .star-button-inline {
    min-height: 44px;
  }
  .topic-filter {
    min-height: 44px;
  }
  .writing-meta {
    justify-content: flex-start;
  }
  .trail-state {
    text-align: left;
    flex-basis: auto;
  }
}
@media print {
  .article-nav button,
  .article-controls,
  .resume-note,
  .trail-controls,
  .star-status,
  .article-end-actions,
  .footer-actions,
  .quick-nav {
    display: none !important;
  }
  .article-title-row .star-button,
  .article-title-row .star-button[hidden],
  .article-reading-tools > button {
    display: none !important;
  }
  .search-toggle,
  .back-to-top,
  .topic-filters {
    display: none !important;
  }
}
