/* Quiet navigation; typography and spacing keep the document primary. */
:root {
  color-scheme: dark;
  --canvas: #313338;
  --surface: #2b2d31;
  --rail: #1e1f22;
  --field: #1e1f22;
  --soft: #383a40;
  --hover: #35373c;
  --text: #f2f3f5;
  --muted: #b5bac1;
  --line: #41434a;
  --accent: #d4d6da;
  --accent-hover: #f2f3f5;
  --accent-ink: #232428;
  --link: #a8b0ff;
  --danger: #ff9c9e;
  --sidebar-width: 264px;
  --rail-width: 72px;
  --topbar-height: 0px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --canvas: #fff;
  --surface: #f2f3f5;
  --rail: #e3e5e8;
  --field: #e3e5e8;
  --soft: #ebedef;
  --hover: #e0e1e5;
  --text: #232428;
  --muted: #545861;
  --line: #d5d7dc;
  --link: #4752c4;
  --danger: #b52b33;
  --accent: #34363b;
  --accent-hover: #232428;
  --accent-ink: #fff;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  background: var(--canvas);
  scroll-padding-top: 116px;
}
body {
  margin: 0;
  color: var(--text);
  font:
    15px/1.6 "Hiragino Sans",
    "Yu Gothic UI",
    Meiryo,
    system-ui,
    sans-serif;
}
button,
input,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
}
summary {
  cursor: pointer;
}
:where(svg):not(:where(.prose svg)) {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}
input,
textarea {
  color: var(--text);
  background: var(--field);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
h2 {
  font-size: 21px;
}
kbd {
  flex-shrink: 0;
  white-space: nowrap;
  font:
    11px ui-monospace,
    monospace;
  padding: 3px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 100;
  background: var(--canvas);
  padding: 12px;
}
.global-nav {
  position: fixed;
  left: 0;
  top: var(--topbar-height);
  bottom: 0;
  width: var(--rail-width);
  background: var(--rail);
  z-index: 25;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
}
.global-nav > a,
.theme-toggle,
.logout-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
}
.global-nav > a:hover,
.global-nav > a[aria-current] {
  background: var(--soft);
  color: var(--text);
}
.global-nav > a[aria-current]::before {
  content: "";
  position: absolute;
  left: -12px;
  width: 4px;
  height: 32px;
  border-radius: 0 4px 4px 0;
  background: var(--text);
}
.global-nav a > span,
.logout-button span {
  display: none;
}
.global-nav svg {
  width: 23px;
  height: 23px;
}
.rail-spacer {
  flex: 1;
}
.theme-toggle,
.logout-button {
  min-height: 40px;
  height: 40px;
  background: transparent;
}
.theme-toggle:hover,
.logout-button:hover {
  background: var(--soft);
  color: var(--text);
}
.theme-icon-sun,
:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}
:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}
#main-content {
  padding-top: var(--topbar-height);
  padding-left: var(--rail-width);
  min-height: 100dvh;
}
.page {
  min-width: 0;
}
.workspace-sidebar,
.article-navigation {
  position: fixed;
  top: var(--topbar-height);
  bottom: 0;
  left: var(--rail-width);
  width: var(--sidebar-width);
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: 24px;
  scrollbar-width: thin;
}
.workspace-links {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
}
.workspace-links a,
.workspace-links button,
.sidebar-folders button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  min-height: 44px;
  padding: 8px 10px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  overflow-wrap: anywhere;
}
.workspace-links a:hover,
.workspace-links button:hover,
.sidebar-folders button:hover,
[data-active="true"] {
  background: var(--soft) !important;
  color: var(--text) !important;
}
.workspace-links span {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.sidebar-folders {
  padding: 20px 10px;
}
.section-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.sidebar-folders .section-label {
  margin: 0 10px 8px;
}
.sidebar-note {
  font-size: 13px;
  color: var(--muted);
  padding: 20px;
}
.library-content {
  margin-left: var(--sidebar-width);
  min-width: 0;
}
.library-body {
  max-width: 1100px;
  padding: 32px 32px 24px;
  margin: auto;
}
.library-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
}
.library-intro h1 {
  font-size: 26px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--field);
  border: 1px solid var(--line);
  color: var(--muted);
}
.search-field:focus-within {
  outline: 2px solid var(--link);
}
.search-field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  min-height: 44px;
  padding: 10px 0;
}
.text-link,
.back-link,
.navigation-new,
.toc-edit-link {
  color: var(--link);
  font-size: 13px;
}
.text-link:hover,
.back-link:hover,
.navigation-new:hover,
.toc-edit-link:hover {
  text-decoration: underline;
}
.result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  min-height: 44px;
  margin-top: 8px;
  border-bottom: 1px solid var(--line);
}
.text-button {
  border: 0;
  min-height: 44px;
  background: transparent;
  color: var(--link);
  padding: 8px;
  font-size: 12px;
}
.tree-root,
.tree-children {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tree-children {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.tree-directory summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.tree-directory summary::marker,
.tree-directory summary::-webkit-details-marker {
  display: none;
}
.tree-chevron,
.folder-icon {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}
.tree-chevron svg {
  width: 12px;
  height: 12px;
}
.folder-icon svg {
  width: 16px;
  height: 16px;
}
details[open] > summary .tree-chevron {
  transform: rotate(90deg);
}
.folder-name,
.page-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}
.folder-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 400;
}
.page-row {
  display: flex;
  align-items: stretch;
  border-radius: 6px;
  margin: 2px 0;
}
.page-row:hover {
  background: var(--hover);
}
.page-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding: 10px;
  border-radius: 6px;
}
.page-link[aria-current="page"] {
  color: var(--text);
  background: var(--soft);
}
.page-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.page-path {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.edit-link {
  display: grid;
  place-items: center;
  width: 44px;
  color: var(--muted);
  flex-shrink: 0;
}
.edit-link:hover {
  color: var(--text);
}
.empty-state {
  padding: 40px 16px;
  color: var(--muted);
  text-align: center;
}
.empty-state h3 {
  color: var(--text);
  margin: 12px 0 8px;
}
.empty-state p {
  font-size: 13px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
}
.breadcrumb svg {
  width: 14px;
  height: 14px;
}
.button-link,
.primary-button,
.context-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
}
.button-link:hover,
.primary-button:hover {
  background: var(--accent-hover);
}
.secondary,
.context-button {
  color: var(--text);
  background: var(--soft);
}
.secondary:hover,
.context-button:hover {
  background: var(--hover);
}
.mobile-context-bar {
  position: sticky;
  top: var(--topbar-height);
  z-index: 15;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  margin-left: var(--sidebar-width);
}
.mobile-context-bar > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 650;
  font-size: 14px;
}
.mobile-context-bar [data-drawer-open="toc"] {
  margin-left: auto;
}
.mobile-context-bar [data-drawer-open="navigation"] {
  display: none;
}
.article-main {
  margin-left: var(--sidebar-width);
  padding: 20px 40px 48px;
  min-width: 0;
}
.article-main > * {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
.document-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 28px;
}
.document-identity {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
}
.document-kicker {
  display: none;
}
.document-toolbar .button-link {
  flex-shrink: 0;
}
.prose {
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.prose h1 {
  font-size: 30px;
  margin-bottom: 24px;
}
.prose h2 {
  margin: 36px 0 12px;
  font-size: 23px;
}
.prose h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}
.prose p,
.prose ul,
.prose ol {
  margin: 14px 0;
}
.prose a {
  color: var(--link);
  text-decoration: underline;
}
.prose img,
.prose video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.prose pre {
  overflow-x: auto;
  padding: 16px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}
.prose code {
  font-family: ui-monospace, monospace;
  background: var(--field);
  padding: 2px 4px;
  border-radius: 3px;
}
.prose pre code {
  padding: 0;
}
.prose blockquote {
  margin: 20px 0;
  padding-left: 18px;
  border-left: 4px solid var(--muted);
  color: var(--muted);
}
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 20px 0;
}
.prose th,
.prose td {
  padding: 10px 16px;
  border: 1px solid var(--line);
  text-align: left;
}
.prose th {
  background: var(--surface);
}
.prose mjx-container[display="true"] {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}
.article-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 20px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.article-navigation {
  padding: 0 12px 24px;
}
.panel-heading,
.panel-heading > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.panel-heading {
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.panel-heading strong {
  font-size: 15px;
}
.panel-heading span {
  color: var(--muted);
  font-size: 11px;
}
.panel-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 25px;
}
.panel-close:hover {
  background: var(--soft);
}
.article-navigation .panel-close {
  display: none;
}
.compact-search input {
  font-size: 12px;
}
.article-tree {
  margin: 10px -4px 16px;
}
.article-tree .page-title {
  font-size: 13px;
}
.article-tree .page-link {
  gap: 8px;
  padding: 8px 5px;
  min-height: 36px;
}
.article-tree .page-path,
.article-tree .edit-link {
  display: none;
}
.article-tree .tree-children {
  margin-left: 4px;
  padding-left: 6px;
}
.navigation-new {
  padding: 8px;
  min-height: 44px;
}
.article-toc {
  display: none;
  position: fixed;
  right: 0;
  top: var(--topbar-height);
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--surface);
  padding: 0 20px 24px;
  border-left: 1px solid var(--line);
  overflow-y: auto;
  z-index: 40;
}
.article-toc[data-open="true"] {
  display: block;
}
.article-toc ol {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.article-toc a {
  display: block;
  padding: 12px 8px;
  border-radius: 6px;
  font-size: 13px;
}
.article-toc a:hover {
  background: var(--soft);
}
.article-toc li[data-level="3"] {
  padding-left: 16px;
}
.toc-empty {
  color: var(--muted);
  font-size: 13px;
  margin: 20px 0;
}
.drawer-open {
  overflow: hidden;
}
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 35;
  border: 0;
  background: rgb(0 0 0 / 65%);
}
.editor-page,
.nvim-page {
  max-width: 1120px;
  margin: auto;
  padding: 16px 32px 32px;
}
.editor-header,
.nvim-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0 24px;
}
.editor-header h1,
.nvim-page-header h1 {
  font-size: 26px;
}
.editor-header p,
.nvim-page-header p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.editor-header-actions,
.editor-actions,
.nvim-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.editor-header-actions .button-link {
  font-size: 12px;
  background: transparent;
  color: var(--muted);
  padding: 8px;
}
.editor-header-actions .button-link:hover {
  background: var(--soft);
  color: var(--text);
}
.editor-surface {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--soft);
}
.editor-toolbar,
.editor-hint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  font-size: 11px;
  color: var(--muted);
}
.editor-toolbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.editor-metrics {
  display: flex;
  gap: 12px;
}
.editor-surface textarea {
  width: 100%;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  min-height: 32dvh;
  padding: 20px;
  line-height: 1.8;
  resize: vertical;
}
.editor-surface textarea:focus {
  outline: 2px solid var(--link);
  outline-offset: -2px;
}
.editor-hint {
  border-top: 1px solid var(--line);
}
.path-field {
  margin: 20px 0;
}
.field-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}
.field-heading span {
  color: var(--muted);
  font-size: 11px;
}
.path-input {
  display: flex;
  align-items: center;
  gap: 8px;
}
.path-input input {
  width: 100%;
}
.path-input > span {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.memo-location {
  margin: 16px 0;
  color: var(--muted);
  font-size: 12px;
}
.memo-location > summary {
  min-height: 44px;
  padding: 10px 0;
}
.editor-actionbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  bottom: 0;
  z-index: 20;
  padding: 14px 0;
  background: var(--canvas);
  border-top: 1px solid var(--line);
}
.save-status {
  font-size: 12px;
  color: var(--muted);
}
.save-status[data-dirty] {
  color: var(--link);
}
.danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 20px;
}
.danger-zone h2 {
  font-size: 14px;
}
.danger-zone p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.danger-button {
  color: var(--danger);
  background: transparent;
  border-color: var(--line);
}
.danger-button:hover {
  background: var(--soft);
}
.login-main {
  min-height: 100dvh;
  padding: 24px;
  display: grid;
  place-items: center;
  background: var(--rail);
}
.login-card {
  width: min(100%, 440px);
  padding: 32px;
  border-radius: 6px;
  background: var(--canvas);
  border: 1px solid var(--line);
}
.login-card h1 {
  font-size: 26px;
  margin: 14px 0 10px;
}
.login-form {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}
.login-form label {
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
}
.login-form button {
  margin-top: 18px;
  min-height: 44px;
}
.login-error {
  color: var(--danger);
  margin-top: 16px;
  font-size: 12px;
}
.nvim-page {
  max-width: none;
}
.nvim-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.nvim-frame-bar,
.nvim-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  font-size: 11px;
}
.nvim-file-path {
  overflow-wrap: anywhere;
}
.nvim-shortcuts {
  display: flex;
  gap: 12px;
}
.nvim-terminal {
  height: 65dvh;
  min-height: 320px;
  padding: 8px;
  background: #08090d;
}
.nvim-loading {
  position: absolute;
  top: 60px;
  left: 16px;
  padding: 12px;
  background: var(--surface);
}
.nvim-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}
@media (max-width: 1100px) and (min-width: 901px) {
  :root {
    --sidebar-width: 230px;
  }
  .article-main {
    padding: 16px 24px 36px;
  }
}
@media (max-width: 900px) {
  :root {
    --topbar-height: 0px;
    --rail-width: 0px;
    --mobile-nav-height: calc(64px + env(safe-area-inset-bottom));
  }
  .global-nav {
    top: auto;
    bottom: 0;
    width: 100%;
    height: var(--mobile-nav-height);
    padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
    flex-direction: row;
    gap: 8px;
    border-top: 1px solid var(--line);
  }
  .rail-spacer {
    display: none;
  }
  .global-nav > a {
    flex: 1;
    flex-direction: column;
    gap: 2px;
    width: auto;
    min-height: 48px;
    height: 48px;
    border-radius: 6px;
    background: transparent;
  }
  .global-nav > a[aria-current]::before {
    display: none;
  }
  .global-nav a > span {
    display: block;
    font-size: 10px;
  }
  .global-nav .theme-toggle,
  .global-nav .logout-button {
    width: 40px;
  }
  .global-nav svg {
    width: 21px;
    height: 21px;
  }
  #main-content,
  #main-content[data-page-kind="editor"],
  #main-content[data-page-kind="nvim"] {
    padding-left: 0;
    padding-bottom: var(--mobile-nav-height);
  }
  .library-sidebar {
    display: none;
  }
  .library-content,
  .article-main,
  .mobile-context-bar {
    margin-left: 0;
  }
  .library-body {
    padding: 24px 20px;
  }
  .library-intro h1 {
    font-size: 25px;
  }
  .library-intro {
    padding-bottom: 20px;
  }
  .search-field input {
    font-size: 16px;
  }
  .search-field kbd {
    display: none;
  }
  .tree-children {
    margin-left: 5px;
    padding-left: 8px;
  }
  .page-title {
    font-size: 14px;
  }
  .page-link {
    padding: 9px 4px;
    gap: 8px;
    min-height: 48px;
  }
  .page-path {
    font-size: 10px;
  }
  .mobile-context-bar {
    height: 52px;
    padding: 0 12px;
    gap: 8px;
  }
  .mobile-context-bar [data-drawer-open="navigation"] {
    display: inline-flex;
  }
  .context-button {
    flex-shrink: 0;
    padding: 8px;
    min-height: 44px;
    background: transparent;
  }
  .mobile-context-bar > span {
    font-size: 12px;
  }
  .article-main {
    padding: 12px 20px 28px;
  }
  .article-navigation {
    display: none;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(320px, 88vw);
    z-index: 40;
    padding: 0 16px 24px;
  }
  .article-navigation[data-open="true"] {
    display: flex;
  }
  .article-navigation .panel-close {
    display: grid;
  }
  .article-navigation .page-link {
    min-height: 44px;
  }
  .article-navigation .compact-search input {
    font-size: 16px;
  }
  .article-toc {
    top: 0;
  }
  .document-toolbar {
    margin-bottom: 20px;
  }
  .document-path {
    font-size: 10px;
  }
  .prose h1 {
    font-size: 26px;
  }
  .prose h2 {
    font-size: 21px;
  }
  .prose {
    font-size: 16px;
  }
  .editor-page,
  .nvim-page {
    padding: 12px 20px 28px;
  }
  .editor-header {
    gap: 10px;
    margin: 12px 0 18px;
  }
  .editor-header h1 {
    font-size: 24px;
  }
  .editor-header-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .editor-surface textarea {
    padding: 16px;
    font-size: 16px;
  }
  .editor-toolbar,
  .editor-hint {
    padding: 10px 12px;
  }
  .editor-hint > span:last-child {
    display: none;
  }
  .editor-actionbar {
    bottom: var(--mobile-nav-height);
  }
  .editor-actions .secondary {
    display: none;
  }
  .primary-button {
    min-height: 44px;
  }
  .path-input > span:first-child {
    display: none;
  }
  .path-input input {
    font-size: 16px;
  }
  .nvim-shortcuts {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
@media print {
  .site-header,
  .workspace-sidebar,
  .mobile-context-bar,
  .drawer-panel,
  .drawer-scrim,
  .document-toolbar,
  .article-footer {
    display: none !important;
  }
  :root {
    color-scheme: light;
    --canvas: white;
    --text: black;
    --field: #eee;
    --line: #ccc;
  }
  #main-content,
  .article-main {
    margin: 0;
    padding: 0;
  }
}
