:root {
  --orange: #ff641f;
  --orange-light: #ffefe5;
  --ink: #171719;
  --black: #0b0b0d;
  --paper: #f4f4f4;
  --white: #fff;
  --muted: #68686e;
  --line: #dcdcdf;
  --display: 'Arial Black', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --body: 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --mono: 'SFMono-Regular', Consolas, monospace;
  --snap: cubic-bezier(.16,1,.3,1);
  color-scheme: light;
  font-family: var(--body);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { min-width: 0; scrollbar-gutter: stable; scroll-padding-top: 110px; }
body { min-width: 0; margin: 0; color: var(--ink); background: var(--paper); }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; border: 0; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button, summary, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
::selection { color: var(--black); background: #ffb28d; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ui-symbol { display: inline-block; width: 22px; height: 22px; flex: 0 0 auto; vertical-align: middle; }
.skip { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 14px 25px; background: white; border: 3px solid var(--orange); }
.skip:focus { top: 12px; }
.app-header { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 94px; padding: 14px max(32px, calc((100vw - 1320px)/2)); background: var(--paper); border-bottom: 1px solid #dedee1; }
.brand { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-symbol { display: block; width: 67px; color: var(--ink); font: italic 900 47px/.9 var(--display); letter-spacing: -7px; transform: rotate(-5deg); padding-bottom: 6px; }
.brand-symbol span { color: var(--orange); }
.brand > span { font-size: 18px; font-weight: 850; letter-spacing: .02em; }
.brand small { display: block; margin-top: 4px; font: 8px var(--mono); letter-spacing: 2px; color: var(--muted); }
.primary-nav { display: flex; gap: 6px; padding: 5px; background: #e5e5e7; border-radius: 30px; margin-left: auto; }
.primary-nav a { position: relative; display: flex; align-items: center; gap: 9px; padding: 10px 25px; border-radius: 24px; font-size: 14px; font-weight: 750; transition: background .18s, color .18s; }
.primary-nav a.active { color: white; background: var(--ink); box-shadow: 0 3px 0 #b9b9bf; }
.primary-nav a.active .ui-symbol { color: var(--orange); }
.primary-nav a:not(.active):hover { background: white; }
.header-actions { display: flex; align-items: center; gap: 17px; }
.preview-stamp { padding-left: 15px; border-left: 1px solid #c8c8cc; font-size: 11px; color: var(--muted); }
.motion-toggle { display: flex; align-items: center; gap: 5px; background: white; border: 2px solid #d6d6d9; border-radius: 30px; padding: 8px 11px; min-height: 39px; font: 10px var(--mono); }
.motion-toggle i { display: flex; }
.motion-toggle > span { min-width: 3ch; text-align: center; }
.motion-toggle .ui-symbol { width: 18px; height: 18px; }
.motion-toggle[aria-pressed=true] { color: var(--orange); border-color: var(--ink); background: var(--ink); }
#scene { position: relative; min-height: calc(100svh - 94px); outline: none; }
.home, .library, .reader { max-width: 1320px; margin: 0 auto; padding: 30px 0 24px; }
.workspace-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 25px; }
.workspace-heading > div { display: flex; align-items: center; gap: 13px; }
.workspace-heading h1 { display: flex; align-items: baseline; gap: 17px; margin: 0; font-size: 29px; font-weight: 900; letter-spacing: -.8px; }
.workspace-heading h1 > span { color: #9b9ba1; font: italic 900 12px var(--display); letter-spacing: 0; }
.section-number { display: grid; place-items: center; width: 34px; height: 30px; border-radius: 10px 4px 10px 4px; color: var(--paper); background: var(--ink); font: italic 900 16px var(--display); }
.snapshot-label, .catalog-count { font-size: 11px; color: var(--muted); }
.snapshot-label b { color: var(--ink); font: 11px var(--mono); margin-left: 10px; }
.catalog-count b { font: italic 900 27px var(--display); color: var(--ink); margin-right: 5px; }
.recent-selector { display: flex; flex-direction: column; gap: 7px; }
.status-label { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 3px 8px; border-radius: 5px; color: #3a3a40; background: #ececf0; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-label .ui-symbol { width: 14px; height: 14px; }
.status-label[data-color=success] { color: #262629; background: #f0efec; }
.status-label[data-color=warning], .status-label[data-color=danger] { color: #9b350d; background: #ffe9de; }
.workspace-bottom { display: flex; align-items: center; justify-content: flex-end; margin-top: 27px; gap: 20px; }
.hand-note { font: 17px 'Kaiti SC', 'STKaiti', cursive; transform: rotate(-2deg); }
.keyboard-hint { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
kbd { font: 11px var(--mono); padding: 4px 6px; border: 1px solid #bdbdc4; border-radius: 5px; box-shadow: 0 2px 0 #d2d2d7; }
.keyboard-hint .ui-symbol { margin-left: 6px; width: 15px; height: 15px; }
.catalog-controls { display: flex; gap: 12px; }
.search-bar { display: flex; align-items: center; flex: 1; min-width: 0; padding: 0 19px; gap: 14px; height: 58px; color: var(--muted); background: white; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 3px 0 #d3d3d7; }
.search-bar:focus-within { border-color: var(--orange); }
.search-bar input { flex: 1; width: 0; min-width: 0; height: 100%; border: none; outline: none; background: transparent; color: var(--ink); font-size: 15px; }
.search-bar input:focus-visible { outline: none; }
.search-bar input::placeholder { color: #8b8b93; }
.search-bar kbd { color: #97979f; border: 0; box-shadow: none; }
.filter-trigger { display: inline-flex; align-items: center; gap: 9px; padding: 0 21px; background: var(--ink); color: white; border: 2px solid var(--ink); border-radius: 18px; font-size: 13px; font-weight: 700; }
.filter-trigger[aria-expanded=true], .filter-trigger:hover { color: var(--ink); background: var(--orange); }
.filter-count { display: grid; place-items: center; min-width: 19px; height: 19px; border-radius: 6px; color: var(--ink); background: white; font: 11px var(--mono); }
.filter-panel { margin-top: 15px; padding: 23px; background: white; border: 2px solid var(--ink); border-radius: 22px; }
.filter-head { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-head h2 { margin: 0 0 4px; font-size: 15px; }
.filter-head > div:first-child { margin-right: auto; }
.filter-head > div > span { color: var(--muted); font-size: 11px; }
.text-button { padding: 8px 0; background: transparent; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 22px 0 17px; scroll-margin-top: 110px; }
.results-toolbar p { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; margin: 0; font-size: 14px; font-weight: 750; overflow-wrap: anywhere; }
.results-toolbar p > span { color: var(--muted); font-size: 11px; font-weight: 400; }
.view-controls { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.segmented { display: inline-flex; gap: 3px; padding: 4px; border-radius: 24px; background: #e5e5e9; }
.segmented button { display: flex; align-items: center; gap: 5px; padding: 7px 13px; background: transparent; border-radius: 20px; font-size: 11px; white-space: nowrap; }
.segmented .ui-symbol { width: 14px; height: 14px; }
.segmented button.active { color: white; background: var(--ink); }
.segmented button:not(.active):hover { background: white; }
.sort-control select { max-width: 125px; padding: 9px 10px; border: 1px solid #c5c5cb; color: var(--ink); background: transparent; border-radius: 18px; font-size: 11px; }
.match-info { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 19px; }
.match-info button { display: flex; align-items: center; gap: 6px; padding: 7px 11px; background: var(--orange-light); border: 1px solid #ffc6a9; border-radius: 9px; font-size: 11px; }
.match-info .ui-symbol { width: 13px; height: 13px; }
.match-info .clear-all { background: transparent; border-color: #ccc; }
.pager { display: flex; justify-content: center; align-items: center; gap: 27px; margin-top: 29px; }
.pager button { display: flex; align-items: center; gap: 10px; padding: 11px 17px; border-radius: 30px; font-size: 12px; font-weight: 750; background: var(--ink); color: white; }
.pager button .ui-symbol { width: 17px; height: 17px; }
.pager button:not(:disabled):hover { background: var(--orange); color: var(--ink); }
.pager button:disabled { color: #9a9aa3; background: #e6e6ea; }
.pager > span { font: 12px var(--mono); color: var(--muted); }
.pager > span b { color: var(--ink); font-size: 20px; }
.empty-state, .error-state { grid-column: 1/-1; padding: 70px 20px; text-align: center; border: 2px dashed #bfbfc6; border-radius: 25px; background: #ffffff85; }
.empty-state > .ui-symbol { width: 54px; height: 54px; color: var(--orange); }
.empty-state h2, .error-state h1 { margin: 20px 0 10px; font-size: 25px; }
.empty-state p, .error-state p { color: var(--muted); line-height: 1.8; overflow-wrap: anywhere; }
.pill-button, .error-state button { display: inline-flex; align-items: center; gap: 20px; padding: 12px 20px; border-radius: 28px; color: white; background: var(--ink); margin-top: 12px; }
.reader-topline { display: flex; align-items: center; gap: 17px; margin-bottom: 24px; font-size: 11px; color: var(--muted); }
.back-button { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); background: white; border: 2px solid var(--ink); border-radius: 25px; padding: 9px 15px; font-size: 12px; font-weight: 700; }
.back-button .ui-symbol { width: 17px; height: 17px; }
.back-button:hover { background: var(--orange); }
.source-link { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.source-link .ui-symbol { width: 16px; height: 16px; }
.reading-layout { display: grid; grid-template-columns: 223px minmax(0,1fr); gap: 28px; align-items: start; }
.reader-aside { position: sticky; top: 120px; min-width: 0; }
.outline-panel { background: var(--ink); color: white; border: 3px solid var(--black); border-radius: 21px; padding: 16px 10px; }
.outline-panel summary { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 13px; font-size: 14px; font-weight: 800; cursor: pointer; }
.outline-panel summary > span { font: italic 900 16px var(--display); color: var(--orange); }
.outline-panel:not([open]) summary { padding-bottom: 0; }
.outline-nav { display: flex; flex-direction: column; gap: 3px; max-height: calc(100svh - 330px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #696970 transparent; }
.outline-nav a { display: block; padding: 8px 10px; font-size: 11px; line-height: 1.7; color: #bdbdc6; border-radius: 8px; overflow-wrap: anywhere; }
.outline-nav a[data-level="3"] { padding-left: 20px; font-size: 10px; }
.outline-nav a[data-level="4"] { padding-left: 28px; font-size: 10px; }
.outline-nav a.active { color: var(--ink); background: var(--orange); font-weight: 750; }
.outline-nav a:not(.active):hover { color: white; background: #35353c; }
.source-card { padding: 19px 12px 0; }
.source-card > span { display: block; font-size: 10px; margin-bottom: 7px; color: var(--muted); }
.source-card code { display: block; font: 9px/1.8 var(--mono); overflow-wrap: anywhere; margin-bottom: 15px; }
.source-card p { font-size: 10px; color: var(--muted); }
.reading-paper { background: white; border: 1px solid #d4d4da; border-top: 5px solid var(--ink); border-radius: 23px 23px 4px 4px; padding: 31px 43px 30px; min-width: 0; box-shadow: 5px 5px 0 #e0e0e5; }
.reader-title { margin-bottom: 26px; }
.reader-metadata { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; font-size: 10px; color: var(--muted); }
.reader-metadata > span { display: inline-flex; align-items: center; gap: 5px; }
.reader-metadata .ui-symbol { width: 14px; height: 14px; }
.reader-metadata .read-only-label { margin-left: auto; color: #7c7c87; }
.reader-title h1 { font-size: clamp(27px,3vw,40px); font-weight: 900; line-height: 1.4; letter-spacing: -.8px; margin: 20px 0; overflow-wrap: anywhere; text-wrap: balance; }
.reader-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.reader-tags a { display: inline-flex; gap: 4px; align-items: center; padding: 5px 8px; color: #51515c; background: #f0f0f4; border: 1px solid #e2e2e9; border-radius: 6px; font-size: 10px; }
.reader-tags .ui-symbol { width: 14px; height: 14px; }
.reader-tags a:hover { background: var(--orange-light); border-color: var(--orange); }
.paper-tab { display: flex; align-items: center; gap: 6px; border-bottom: 2px solid var(--ink); margin-top: 30px; padding-bottom: 13px; font-size: 12px; font-weight: 750; }
.paper-tab .ui-symbol { color: var(--orange); width: 18px; height: 18px; }
.document-body { min-width: 0; overflow-wrap: anywhere; color: #34343c; font-size: 14px; line-height: 1.95; }
.document-body > :first-child { margin-top: 0; }
.document-body > h1 { display: none; }
.document-body h2 { margin: 39px 0 18px; padding: 8px 0 8px 14px; border-left: 6px solid var(--orange); color: var(--ink); font-size: 23px; line-height: 1.4; letter-spacing: -.3px; }
.document-body h3 { margin: 29px 0 13px; color: var(--ink); font-size: 18px; line-height: 1.6; }
.document-body h4 { font-size: 16px; margin: 22px 0 12px; }
.document-body p { margin: 0 0 17px; }
.document-body a { color: #ab400f; text-decoration: underline; text-underline-offset: 3px; }
.document-body ul, .document-body ol { padding-left: 23px; }
.document-body li { padding-left: 4px; }
.document-body li::marker { color: #b24d20; }
.document-body blockquote { margin: 23px 0; padding: 16px 20px; background: #f5f5f8; border: 1px solid #e3e3e8; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; }
.document-body blockquote p:last-child { margin: 0; }
.document-body code { padding: 2px 5px; color: #a34017; background: #fff0e9; font: .85em var(--mono); border-radius: 4px; }
.document-body pre { position: relative; max-width: 100%; padding: 44px 20px 20px; margin: 22px 0; overflow-x: auto; background: #f6f6f9 !important; border: 1px solid #d6d6de; border-top: 4px solid var(--ink); border-radius: 12px; line-height: 1.75; overscroll-behavior-x: contain; }
.document-body pre code { color: inherit; padding: 0; background: transparent; white-space: pre; overflow-wrap: normal; }
.copy-code { position: absolute; right: 10px; top: 8px; padding: 6px 10px; border-radius: 12px; color: #6c6c76; background: #e8e8ef; font-size: 10px; }
.copy-code:hover { color: var(--ink); background: var(--orange); }
.document-body table { display: block; width: 100%; max-width: 100%; margin: 22px 0; overflow-x: auto; border-collapse: collapse; font-size: 12px; overscroll-behavior-x: contain; }
.document-body th, .document-body td { padding: 10px 13px; border: 1px solid #dcdce3; text-align: left; }
.document-body th { color: white; background: var(--ink); white-space: nowrap; }
.document-body tr:nth-child(even) { background: #f6f6f9; }
.document-body hr { margin: 30px 0; border: 0; border-top: 1px solid var(--line); }
.document-body img, .document-body svg { max-width: 100%; height: auto; }
.document-body [data-akasha-renderer] { max-width: 100%; padding: 15px; overflow: auto; border: 1px solid #dcdce4; border-radius: 12px; background: white; }
.document-body [data-akasha-renderer] svg { min-width: 480px; }
.document-body [data-akasha-block=metadata] { display: grid; gap: 8px; margin: 0 0 30px; padding: 19px; background: #f7f7fa; border: 1px solid #e2e2ea; border-radius: 12px; font-size: 11px; line-height: 1.8; }
.document-body [data-akasha-field] { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 10px; }
.document-body [data-akasha-role=label] { color: var(--muted); }
.document-body [data-akasha-role=value] { min-width: 0; overflow-wrap: anywhere; }
.document-body [data-akasha-tag] { display: inline-block; margin-right: 7px; }
.inline-status { display: inline-flex; align-items: center; gap: 5px; vertical-align: baseline; color: inherit; padding: 2px 7px; background: #eeeeF4; border-radius: 5px; font-size: .88em; font-weight: 750; }
.inline-status--compact { padding: 0 3px; background: transparent; }
.document-body .inline-status-icon { width: 16px; height: 16px; color: #bc4d18; }
.rating-meter { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; }
.rating-meter i { width: 7px; height: 14px; border-radius: 2px; background: #d4d4de; transform: skew(-12deg); }
.rating-meter i.filled { background: var(--orange); }
.rating-meter b { font: 800 12px var(--mono); margin-left: 6px; color: var(--ink); }
.rating-meter small { font-size: 8px; color: var(--muted); }
.reader-end { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding-top: 24px; margin-top: 40px; border-top: 2px solid var(--ink); font-size: 11px; }
.reader-end > div { min-width: 0; overflow-wrap: anywhere; }
.reader-end > div > span:first-child { display: block; color: var(--muted); margin-bottom: 7px; font-size: 10px; }
.reader-end > a { margin-left: auto; }
.boot { min-height: 60vh; display: grid; place-content: center; justify-items: center; }
.boot-mark { color: var(--orange); font: italic 900 80px var(--display); letter-spacing: -9px; }
.boot h1 { font-size: 21px; margin-bottom: 0; }
.boot p { color: var(--muted); font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; max-width: calc(100vw - 30px); padding: 12px 23px; border: 2px solid var(--orange); border-radius: 28px; background: var(--ink); color: white; font-size: 12px; transform: translate(-50%, 15px); opacity: 0; visibility: hidden; transition: .18s var(--snap); pointer-events: none; }
.toast.show { transform: translate(-50%,0); opacity: 1; visibility: visible; }
.route-loading { position: fixed; top: 99px; right: 24px; z-index: 29; background: var(--orange); border: 2px solid var(--ink); border-radius: 20px; font-size: 12px; }
.route-loading:not(:empty) { padding: 9px 17px; }
.route-loading:empty { display: none; }
@media (max-width: 1400px) { .home, .library, .reader { margin-inline: 32px; } }
@media (max-width: 1080px) {
  .app-header { padding-inline: 24px; gap: 14px; }
  .home, .library, .reader { margin-inline: 24px; }
  .reading-layout { grid-template-columns: 195px minmax(0,1fr); gap: 20px; }
  .reading-paper { padding: 26px; }
  .filter-head { flex-wrap: wrap; }
}
@media (max-width: 800px) {
  .brand > span { font-size: 15px; }
  .brand-symbol { width: 49px; font-size: 38px; }
  .brand small { font-size: 6px; letter-spacing: 1px; }
  .brand { gap: 9px; }
  .primary-nav a { padding-inline: 15px; }
  .header-actions { gap: 0; }
  .preview-stamp { display: none; }
  .workspace-heading h1 { font-size: 26px; }
  .workspace-heading h1 > span { display: none; }
  .reading-layout { grid-template-columns: 1fr; }
  .reader-aside { position: static; }
  .outline-panel { padding: 15px; }
  .outline-nav { max-height: 175px; }
  .source-card { display: none; }
  .reading-paper { padding: 27px; }
}
@media (max-width: 540px) {
  html { scroll-padding-top: 90px; }
  .app-header { min-height: 76px; padding: 12px 15px; gap: 8px; flex-wrap: wrap; }
  #scene { min-height: calc(100svh - 76px); }
  .brand-symbol { width: 41px; font-size: 32px; letter-spacing: -5px; }
  .brand > span { font-size: 13px; }
  .brand small { display: none; }
  .brand { gap: 4px; }
  .primary-nav { padding: 4px; gap: 2px; }
  .primary-nav a { padding: 8px 10px; font-size: 11px; gap: 4px; }
  .primary-nav .ui-symbol { width: 15px; height: 15px; }
  .motion-toggle { width: 31px; padding: 7px 4px; min-height: 33px; font-size: 8px; gap: 0; }
  .motion-toggle .ui-symbol { width: 13px; height: 13px; }
  .motion-toggle i { display: none; }
  .home, .library, .reader { margin-inline: 16px; }
  .home, .library, .reader { padding-top: 24px; padding-bottom: 24px; }
  .workspace-heading { margin-bottom: 20px; gap: 8px; }
  .workspace-heading > div { gap: 8px; }
  .workspace-heading h1 { font-size: 23px; }
  .section-number { width: 28px; height: 25px; font-size: 13px; }
  .snapshot-label { font-size: 8px; }
  .snapshot-label b { display: block; margin: 3px 0 0; font-size: 9px; }
  .workspace-bottom { margin-top: 24px; gap: 12px; }
  .hand-note { font-size: 13px; }
  .keyboard-hint { font-size: 10px; }
  .keyboard-hint kbd { display: none; }
  .catalog-count { font-size: 9px; }
  .catalog-count b { font-size: 23px; }
  .catalog-controls { gap: 8px; }
  .search-bar { height: 51px; padding: 0 12px; gap: 9px; border-radius: 15px; }
  .search-bar > .ui-symbol { width: 18px; height: 18px; }
  .search-bar input { font-size: 12px; }
  .search-bar kbd { display: none; }
  .filter-trigger { font-size: 12px; gap: 5px; padding: 0 11px; border-radius: 15px; }
  .filter-trigger > .ui-symbol { width: 16px; height: 16px; }
  .filter-count { display: none; }
  .filter-panel { padding: 15px; }
  .filter-head { gap: 12px; }
  .filter-head > div:first-child { width: 100%; }
  .selection-toggle button { padding-inline: 12px; }
  .results-toolbar { align-items: start; flex-direction: column; gap: 12px; margin-top: 22px; }
  .view-controls { justify-content: space-between; width: 100%; }
  .results-toolbar p { font-size: 13px; }
  .pager { gap: 17px; }
  .pager button { padding: 10px 13px; font-size: 11px; gap: 5px; }
  .reader-topline { gap: 10px; }
  .reader-topline > span { display: none; }
  .back-button { font-size: 11px; padding: 8px 12px; }
  .reading-layout { gap: 18px; }
  .reading-paper { padding: 23px 18px; border-radius: 18px 18px 4px 4px; box-shadow: 3px 3px 0 #e0e0e5; }
  .reader-title h1 { font-size: 26px; line-height: 1.48; margin-top: 17px; }
  .reader-metadata { gap: 8px; }
  .reader-metadata .read-only-label { display: none; }
  .reader-tags { gap: 5px; }
  .reader-tags a { font-size: 9px; }
  .paper-tab { margin-top: 23px; }
  .document-body { font-size: 13px; }
  .document-body h2 { font-size: 20px; padding-left: 11px; }
  .document-body h3 { font-size: 17px; }
  .document-body [data-akasha-block=metadata] { padding: 13px; font-size: 10px; }
  .document-body [data-akasha-field] { grid-template-columns: 54px minmax(0,1fr); gap: 5px; }
  .document-body pre { padding-inline: 13px; font-size: 12px; }
  .document-body blockquote { padding-inline: 13px; }
  .reader-end { gap: 18px; }
  .reader-end > a { margin-left: 0; }
  .route-loading { top: 81px; right: 15px; }
}
@media (max-width: 365px) {
  .app-header { padding-inline: 10px; gap: 5px; }
  .brand > span { font-size: 11px; }
  .brand-symbol { font-size: 29px; width: 36px; }
  .primary-nav a { padding-inline: 8px; font-size: 10px; }
  .nav-icon { display: none; }
  .home, .library, .reader { margin-inline: 12px; }
  .workspace-bottom { flex-direction: column; align-items: start; }
}
body[data-motion=off] *:not(.board-lane), body[data-motion=off] *::before, body[data-motion=off] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  *:not(.board-lane), *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
