/* Memory (memory.js): the tabs' counts, the Knowledge overview and the
   three-panel document reader with its drawer. Its own tokens, scoped like the
   project page's, on the app's font and canvas: #E4E4E8 lines and a 12px radius; blue
   #1D4FC4 means pending, green #4D7C3A approved or up to date, amber a
   placeholder still to fill. Dark maps the same roles onto the theme's tokens. */
.main[data-memory],
.modal.memory-drawer {
  --mem-canvas: #f3f3f5;
  --mem-border: #e4e4e8;
  --mem-pending: #1d4fc4;
  --mem-pending-soft: #eef2fc;
  --mem-pending-line: #d5dff6;
  --mem-ok: #4d7c3a;
  --mem-ok-ink: #3f6a2f;
  --mem-ok-soft: #edf3e9;
  --mem-amber: #fbf0d0;
  --mem-amber-ink: #7a5200;
  --mem-ink: #18181b;
  --mem-ink-text: #fff;
  --mem-radius: 12px;
}
:root[data-theme="dark"] :is(.main[data-memory], .modal.memory-drawer) {
  --mem-canvas: var(--muted);
  --mem-border: var(--surface-border);
  --mem-pending: var(--accent-text);
  --mem-pending-soft: var(--accent-soft);
  --mem-pending-line: color-mix(in oklch, var(--accent-text) 30%, transparent);
  --mem-ok: var(--ok-text);
  --mem-ok-ink: var(--ok-text);
  --mem-ok-soft: var(--ok-soft);
  --mem-amber: var(--warn-soft);
  --mem-amber-ink: var(--warn-text);
  --mem-ink: var(--primary);
  --mem-ink-text: var(--primary-foreground);
}
.main[data-memory] .btn[data-variant="outline"],
.main[data-memory] .btn:not([data-variant]) {
  border-color: var(--mem-border);
}
.memory-muted {
  color: var(--muted-foreground);
}

/* ── The tabs: the app's tab row (.page-tabs), as on Inbox ── */
.memory-tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--mem-pending-soft);
  color: var(--mem-pending);
}
.main[data-memory="tabs"] .memory-content {
  padding: 24px 28px 48px;
  gap: 24px;
}

/* ── Knowledge overview ── */
.memory-review-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid var(--mem-pending-line);
  border-radius: var(--mem-radius);
  background: var(--mem-pending-soft);
  font-size: 14px;
  line-height: 20px;
}
.memory-review-strip > span:first-child {
  color: var(--mem-pending);
}
.memory-review-strip .icon {
  width: 16px;
  height: 16px;
}
.memory-review-strip p {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.memory-review-strip strong {
  font-weight: 600;
}
.memory-review-strip a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: var(--mem-pending);
  font-weight: 500;
  text-decoration: none;
}
.memory-review-strip a:hover {
  text-decoration: underline;
}
.memory-section {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.memory-section-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.memory-section-head h2 {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.memory-section-count {
  font-size: 13px;
  color: var(--muted-foreground);
}
.memory-chevron {
  flex: none;
  color: var(--muted-foreground);
}
.memory-chevron .icon {
  width: 16px;
  height: 16px;
}

.memory-org-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid var(--mem-border);
  border-radius: var(--mem-radius);
  color: var(--foreground);
  text-decoration: none;
}
.memory-org-card:hover {
  text-decoration: none;
  background: color-mix(in oklch, var(--mem-canvas) 45%, transparent);
}
.memory-org-icon {
  flex: none;
  display: grid !important;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--mem-ink);
  color: var(--mem-ink-text);
}
.memory-org-icon .icon {
  width: 20px;
  height: 20px;
}
.memory-org-text {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.memory-org-text strong {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}
.memory-org-text span {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted-foreground);
}
.memory-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
}
.memory-stat {
  display: flex;
  flex-direction: column-reverse;
  min-width: 64px;
}
.memory-stat dd {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.memory-stat dt {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted-foreground);
}

.memory-dept-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--mem-border);
  border-radius: var(--mem-radius);
  overflow: hidden;
}
.memory-dept-list > li + li {
  border-top: 1px solid var(--mem-border);
}
.memory-dept-list a.memory-dept-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  color: var(--foreground);
  text-decoration: none;
}
.memory-dept-list a.memory-dept-row:hover {
  background: color-mix(in oklch, var(--mem-canvas) 45%, transparent);
}
.memory-dept-icon {
  flex: none;
  display: grid !important;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--mem-border);
  background: var(--mem-canvas);
  color: var(--muted-foreground);
}
.memory-dept-icon .icon {
  width: 16px;
  height: 16px;
}
.memory-dept-text {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 1px;
}
.memory-dept-text strong {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}
.memory-dept-text span {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.memory-dept-meta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--muted-foreground);
  white-space: nowrap;
}
.memory-dept-docs {
  min-width: 96px;
}
.memory-dept-updated {
  min-width: 128px;
}
.memory-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  background: var(--mem-canvas);
  color: var(--foreground);
}
.memory-pill .icon {
  width: 12px;
  height: 12px;
}
.memory-pill[data-tone="pending"] {
  background: var(--mem-pending-soft);
  color: var(--mem-pending);
}
.memory-pill[data-tone="ok"] {
  background: var(--mem-ok-soft);
  color: var(--mem-ok-ink);
}
.memory-pill[data-tone="amber"] {
  background: var(--mem-amber);
  color: var(--mem-amber-ink);
}
:is(button, a).memory-pill {
  cursor: pointer;
}
:is(button, a).memory-pill:hover {
  text-decoration: none;
  filter: brightness(0.97);
}
.memory-dept-meta .memory-pill {
  min-width: 76px;
  justify-content: center;
}

/* The Skills tab (renderSkills, renderSkill): an app's mark leads its row; its page heads with mark, name and state. */
.skill-list .connector-mark {
  flex: none;
}
.skill-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--muted-foreground);
  text-decoration: none;
}
.skill-back:hover {
  color: var(--foreground);
}
.skill-back .icon {
  width: 14px;
  height: 14px;
}
.skill-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.skill-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}
.skill-head .hint {
  margin: 2px 0 0;
}

/* ── The reader: a breadcrumb bar, then tree | document | rail ── */
.topbar.memory-reader-bar {
  height: 56px;
  min-height: 56px;
  gap: 8px;
  padding: 0 16px 0 20px;
  border-bottom-color: var(--mem-border);
}
.memory-crumbs {
  min-width: 0;
}
.memory-crumbs ol {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 20px;
}
.memory-crumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}
.memory-crumbs li:first-child {
  flex: none;
}
.memory-crumbs li > .icon,
.memory-crumbs li > span[aria-hidden] {
  flex: none;
  color: var(--faint-foreground);
}
.memory-crumbs .icon {
  width: 14px;
  height: 14px;
}
.memory-crumbs a {
  color: var(--muted-foreground);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.memory-crumbs a:hover {
  color: var(--foreground);
}
.memory-crumbs [aria-current] {
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  color: var(--foreground);
}
.memory-reader-bar .btn {
  height: 36px;
  padding: 0 12px;
  gap: 8px;
  border-radius: 8px;
  font-size: 14px;
}
.memory-reader-bar .btn .icon {
  width: 16px;
  height: 16px;
}
.memory-reader-bar .btn[data-size="icon"] {
  width: 36px;
  padding: 0;
  border: 1px solid var(--mem-border);
}
.memory-reader-bar .btn:not([data-size]) {
  flex: none;
}

/* The page is a size container so the tree can fill its height and scroll on its own. */
.page.memory-reader-page {
  container-type: size;
}
.memory-reader {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 220px;
  min-height: 100%;
}
.memory-tree-panel {
  position: sticky;
  top: 0;
  height: 100cqh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px 12px;
  border-right: 1px solid var(--mem-border);
  background: var(--background);
}
.memory-tree-search-field {
  position: relative;
  flex: none;
}
.memory-tree-search-field > span {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  pointer-events: none;
}
.memory-tree-search-field .icon {
  width: 14px;
  height: 14px;
}
.memory-tree-search-field .input {
  height: 36px;
  padding-left: 32px;
  border-radius: 8px;
  border-color: var(--mem-border);
  font-size: 14px;
}
.memory-tree-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin: 0 -4px;
  padding: 0 4px;
}
.memory-tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.memory-tree ul[hidden] {
  display: none;
}
.memory-tree-group,
.memory-tree-folder {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--muted-foreground);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.memory-tree-group {
  height: 30px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.memory-tree > ul > li:first-child > .memory-tree-group {
  margin-top: 0;
}
.memory-tree-folder {
  height: 30px;
  padding-left: 20px;
  font-size: 13px;
}
.memory-tree-group:hover,
.memory-tree-folder:hover {
  color: var(--foreground);
  background: color-mix(in oklch, var(--mem-canvas) 60%, transparent);
}
.memory-tree-group > span:first-child,
.memory-tree-folder > span:first-child {
  flex: none;
  transition: transform 0.12s;
}
.memory-tree-group .icon,
.memory-tree-folder .icon {
  width: 13px;
  height: 13px;
}
.memory-tree [aria-expanded="false"] > span:first-child {
  transform: rotate(-90deg);
}
.memory-tree-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.memory-tree-count {
  flex: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}
a.memory-tree-file {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 8px 0 28px;
  border-radius: 6px;
  color: var(--foreground);
  font-size: 14px;
  text-decoration: none;
}
.memory-tree > ul > li > .memory-tree-file {
  padding-left: 8px;
}
.memory-tree ul ul ul .memory-tree-file {
  padding-left: 40px;
}
.memory-tree ul ul ul .memory-tree-folder {
  padding-left: 32px;
}
.memory-tree-file > span:first-child {
  flex: none;
  color: var(--muted-foreground);
}
.memory-tree-file .icon {
  width: 14px;
  height: 14px;
}
a.memory-tree-file:hover {
  text-decoration: none;
  background: color-mix(in oklch, var(--mem-canvas) 60%, transparent);
}
.memory-tree-file[aria-current] {
  background: var(--mem-canvas);
  font-weight: 500;
}
.memory-tree-version {
  flex: none;
  font-size: 11px;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}
.memory-tree-pending {
  flex: none;
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--mem-pending);
}
.memory-tree-empty {
  padding: 8px;
}
.btn.memory-tree-new {
  flex: none;
  width: 100%;
}

.memory-doc {
  min-width: 0;
  max-width: 900px;
  padding: 24px 40px 64px;
}
.memory-doc > .notice {
  margin: 0 0 16px;
}
.memory-doc-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted-foreground);
}
.memory-doc-status > .memory-doc-meta + .memory-doc-meta::before,
.memory-doc-status > .memory-doc-meta + .memory-pill {
  margin-left: 0;
}
.memory-doc-status > .memory-doc-meta + .memory-doc-meta::before {
  content: "·";
  margin-right: 10px;
  color: var(--faint-foreground);
}
.memory-doc-status .memory-pill[data-tone="old"] a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.memory-doc-status .memory-pill[data-tone="old"] > span[aria-hidden] {
  color: var(--muted-foreground);
}
.memory-doc-title {
  margin: 12px 0 0;
  font-size: 26px;
  line-height: 34px;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.memory-doc-lead .markdown p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted-foreground);
  white-space: normal;
}
.memory-doc-rule {
  margin: 20px 0 8px;
  border: 0;
  border-top: 1px solid var(--mem-border);
}
.memory-doc > .markdown {
  font-size: 15px;
  line-height: 1.65;
}
.memory-doc > .markdown p {
  margin: 0 0 12px;
}
.memory-doc > .markdown :is(h2, h3) {
  margin: 28px 0 8px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  scroll-margin-top: 24px;
}
.memory-doc > .markdown :is(h4, h5) {
  margin: 20px 0 6px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  scroll-margin-top: 24px;
}
.memory-doc > .markdown li {
  margin-bottom: 4px;
}
.memory-doc > .markdown .markdown-table {
  overflow-x: auto;
  margin: 4px 0 16px;
}
.memory-doc > .markdown table {
  width: 100%;
  font-size: 14px;
}
.memory-doc > .markdown :is(th, td) {
  padding: 10px 12px;
  border-color: var(--mem-border);
  overflow-wrap: normal;
}
.memory-doc > .markdown th {
  background: var(--mem-canvas);
}
.memory-doc > .markdown hr {
  border-top-color: var(--mem-border);
}
.memory-doc .knowledge-empty h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
mark.md-placeholder {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--mem-amber, var(--warn-soft));
  color: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.memory-rail {
  position: sticky;
  top: 0;
  align-self: start;
  max-height: 100cqh;
  overflow-y: auto;
  display: grid;
  gap: 20px;
  padding: 24px 20px 24px 0;
}
.memory-outline h2,
.memory-refs h2 {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.memory-outline ul,
.memory-refs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.memory-outline button {
  display: block;
  width: 100%;
  padding: 4px 10px;
  border: 0;
  border-left: 2px solid transparent;
  background: none;
  color: var(--muted-foreground);
  font: inherit;
  font-size: 13px;
  line-height: 18px;
  text-align: left;
  cursor: pointer;
}
.memory-outline li[data-level="3"] button {
  padding-left: 22px;
}
.memory-outline button:hover {
  color: var(--foreground);
}
.memory-outline button[aria-current] {
  border-left-color: var(--foreground);
  color: var(--foreground);
  font-weight: 500;
}
.memory-refs {
  padding: 12px 14px;
  border: 1px solid var(--mem-border);
  border-radius: 10px;
}
.memory-refs h2 {
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--foreground);
}
.memory-refs li + li {
  margin-top: 4px;
}
.memory-refs a {
  display: block;
  font-size: 13px;
  line-height: 18px;
  color: var(--muted-foreground);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.memory-refs a:hover {
  color: var(--foreground);
  text-decoration: underline;
}

/* ── The drawer: a full-height panel at the right ── */
.modal.memory-drawer {
  width: min(480px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  border-radius: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .modal.memory-drawer[open] {
    animation: memory-drawer-in 160ms ease;
  }
}
@keyframes memory-drawer-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
}
.memory-drawer-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.memory-drawer-card > .card-head {
  flex: none;
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--mem-border);
}
.memory-drawer-card > .card-head .hint {
  overflow-wrap: anywhere;
}
.memory-drawer-card > .card-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px;
  align-content: start;
  gap: 16px;
}
.memory-drawer-card > .card-body p {
  margin: 0;
}
.memory-drawer-card > .card-foot {
  flex: none;
  padding: 12px 20px;
  border-top: 1px solid var(--mem-border);
}
textarea.input.mono.memory-drawer-text {
  min-height: 320px;
}
.memory-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.memory-history a {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--foreground);
  text-decoration: none;
}
.memory-history a:hover {
  background: var(--mem-canvas);
}
.memory-history a[aria-current] {
  background: var(--mem-canvas);
}
.memory-history-message {
  font-size: 14px;
  line-height: 20px;
}
.memory-drawer-card > .card-body > .btn {
  justify-self: start;
}

/* ── Narrower screens ── */
@media (max-width: 1180px) {
  .memory-reader {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .memory-rail {
    grid-column: 2;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0 40px 48px;
  }
}
@media (max-width: 900px) {
  .memory-org-card {
    flex-wrap: wrap;
  }
  .memory-org-card .memory-stats {
    order: 1;
    flex-basis: 100%;
    padding-left: 64px;
  }
  .memory-dept-updated {
    display: none;
  }
}
@media (max-width: 760px) {
  .main[data-memory="tabs"] .memory-content {
    padding: 20px 16px 40px;
  }
  .memory-review-strip {
    flex-wrap: wrap;
  }
  .memory-review-strip p {
    flex-basis: calc(100% - 28px);
  }
  .memory-review-strip a {
    margin-left: 28px;
  }
  .memory-org-card {
    padding: 16px;
    gap: 14px;
  }
  .memory-org-card .memory-stats {
    padding-left: 0;
    gap: 8px 20px;
  }
  .memory-stat {
    min-width: 0;
  }
  .memory-dept-list a.memory-dept-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    grid-template-areas: "icon text chevron" ". meta chevron";
    column-gap: 12px;
    row-gap: 6px;
    padding: 12px 16px;
  }
  .memory-dept-icon,
  .skill-list .connector-mark {
    grid-area: icon;
  }
  .memory-dept-text {
    grid-area: text;
  }
  .memory-dept-text span {
    white-space: normal;
  }
  .memory-dept-meta {
    grid-area: meta;
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .memory-dept-docs,
  .memory-dept-updated {
    min-width: 0;
  }
  .memory-dept-updated {
    display: inline;
  }
  .memory-dept-row > .memory-chevron {
    grid-area: chevron;
  }

  .topbar.memory-reader-bar {
    padding: 0 12px;
    gap: 6px;
  }
  .memory-reader-bar .btn:not([data-size]) {
    width: 36px;
    padding: 0;
  }
  .memory-bar-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .page.memory-reader-page {
    container-type: normal;
  }
  .memory-reader {
    display: block;
  }
  .memory-tree-panel {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--mem-border);
  }
  .memory-tree-scroll {
    max-height: 280px;
  }
  .memory-doc {
    padding: 20px 16px 32px;
  }
  .memory-doc-title {
    font-size: 22px;
    line-height: 30px;
  }
  .memory-doc-status > .memory-doc-meta + .memory-doc-meta::before {
    display: none;
  }
  .memory-rail {
    padding: 0 16px 40px;
  }
}
@media (max-width: 560px) {
  /* The tab's actions in the topbar become icon buttons, so "Memory" keeps its place. */
  .main[data-memory="tabs"] > .topbar .btn {
    width: 32px;
    padding: 0;
  }
  .memory-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
@media (max-width: 420px) {
  .memory-crumbs li:nth-child(2) {
    display: none;
  }
  .memory-reader-bar .btn:not([data-size]),
  .memory-reader-bar .btn[data-size="icon"] {
    width: 32px;
    height: 32px;
  }
}
