@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,500;0,600;1,400&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap");

:root {
  --duration-fast: 0.15s;
  --duration-base: 0.25s;
  --duration-slow: 0.45s;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --surface: #f5f5f0;
  --surface-2: #ececea;
  --border: rgba(0, 0, 0, 0.1);
  --text-muted: #6b6b72;

  --green: #22c55e;
  --green-dim: rgba(34, 197, 94, 0.15);
  --amber: #f59e0b;
  --blue: #3b82f6;

  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.06);
  --card-shadow-hover:
    0 4px 6px rgba(0, 0, 0, 0.07), 0 12px 32px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

.md-typeset {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.9rem;
  line-height: 1.75;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.md-typeset h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.md-typeset h2 {
  font-size: 1.6rem;
}
.md-typeset h3 {
  font-size: 1.15rem;
}

.md-typeset code,
.md-typeset pre {
  font-family: "IBM Plex Mono", monospace;
}

.md-header {
  background-color: #0d1117;
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow var(--duration-base) var(--ease-out);
  color: #ffffff;
}

[data-md-color-scheme="slate"] .md-header {
  background-color: #0d1117;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.md-header[data-md-state="shadow"] {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.22);
}

.md-header__title {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.1rem;
}

.md-nav__link {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  transition:
    color var(--duration-fast) var(--ease-out),
    padding-left var(--duration-fast) var(--ease-out);
}

.md-nav__link--active {
  padding-left: 4px;
  border-left: 2px solid var(--md-accent-fg-color);
}

.md-typeset pre {
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08),
    var(--card-shadow);
  position: relative;
}

.md-typeset pre > code {
  font-size: 0.82rem;
  line-height: 1.7;
}

.md-typeset .highlight .hll {
  background: rgba(245, 158, 11, 0.12);
  border-left: 3px solid var(--amber);
}

.md-typeset code:not(pre code) {
  background: var(--green-dim);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.1em 0.45em;
  font-size: 0.83em;
  font-weight: 500;
}

[data-md-color-scheme="slate"] .md-typeset code:not(pre code) {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.25);
}

.terminal-demo {
  background: #0d1117;
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.3);
  margin: 2.5rem auto;
  max-width: 720px;
  overflow: hidden;
  position: relative;
  font-family: "IBM Plex Mono", monospace;
}

.terminal-demo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  border-radius: inherit;
}

.terminal-header {
  background: #161b22;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-buttons {
  display: flex;
  gap: 6px;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: filter var(--duration-fast);
}
.terminal-button:hover {
  filter: brightness(1.2);
}
.terminal-button.red {
  background: #ff5f57;
}
.terminal-button.yellow {
  background: #febc2e;
}
.terminal-button.green {
  background: #28c840;
}

.terminal-title {
  flex: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  color: #e6edf3 !important;
  background: #0d1117 !important;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.65;
}

.terminal-body pre,
.terminal-body code,
.terminal-output pre,
.terminal-output code {
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}

.terminal-prompt {
  color: #4ade80 !important;
  margin-right: 0.5rem;
  user-select: none;
}
.terminal-command {
  color: #e6edf3 !important;
}
.terminal-output {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.terminal-command::after {
  content: "▋";
  color: #4ade80;
  animation: blink 1.2s step-end infinite;
  margin-left: 1px;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 1.5rem 1.5rem 1.25rem;
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-md-color-scheme="slate"] .feature-card {
  background: #161b22;
  border-color: rgba(255, 255, 255, 0.07);
}

.feature-card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: var(--card-shadow-hover);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 28px solid transparent;
  border-right: 28px solid rgba(34, 197, 94, 0.08);
  transition: border-color var(--duration-base);
}
.feature-card:hover::after {
  border-right-color: rgba(34, 197, 94, 0.18);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
  display: block;
  line-height: 1;
}

.feature-icon svg {
  display: block;
  width: 2rem;
  height: 2rem;
  color: var(--md-primary-fg-color);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.feature-title {
  font-family: "Syne", sans-serif;
  color: var(--md-typeset-color);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.feature-description {
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

[data-md-color-scheme="slate"] .feature-description {
  color: rgba(255, 255, 255, 0.5);
}

.feature-link {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: #22c55e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.02em;
  transition:
    gap var(--duration-fast) var(--ease-out),
    color var(--duration-fast);
}
.feature-link:hover {
  gap: 8px;
  color: #16a34a;
  text-decoration: none;
}
.feature-link svg {
  flex-shrink: 0;
}

.md-typeset .admonition {
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border-left-width: 3px;
  transition: box-shadow var(--duration-base) var(--ease-out);
  font-size: 0.875rem;
}

.md-typeset .admonition:hover {
  box-shadow: var(--card-shadow-hover);
}

.md-typeset .admonition-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.md-typeset .admonition.info {
  border-left-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}
.md-typeset .admonition.tip {
  border-left-color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
}
.md-typeset .admonition.warning {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.05);
}
.md-typeset .admonition.danger {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.md-typeset__table {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.07);
  margin: 1.5rem 0;
}

.md-typeset__table table {
  border-collapse: collapse;
  width: 100%;
  margin: 0;
  font-size: 0.85rem;
}

.md-typeset__table table thead tr {
  background: var(--md-primary-fg-color);
  color: #fff;
}

.md-typeset__table table th {
  text-align: left;
  padding: 0.7rem 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.md-typeset__table table td {
  padding: 0.65rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.md-typeset__table table tbody tr {
  transition: background var(--duration-fast);
}

.md-typeset__table table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.md-typeset__table table tbody tr:hover {
  background: rgba(34, 197, 94, 0.06);
}

.md-button {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.25rem;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    background var(--duration-fast);
}

.md-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.md-button:active {
  transform: translateY(0);
}

.md-button--primary {
  background: #22c55e;
  color: #0a1a0f;
  border: none;
}
.md-button--primary:hover {
  background: #16a34a;
  color: #0a1a0f;
}

.md-button--secondary {
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  color: var(--md-typeset-color);
  background: transparent;
}
.md-button--secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.3);
  color: var(--md-typeset-color);
}

[data-md-color-scheme="slate"] .md-button--secondary {
  border-color: rgba(255, 255, 255, 0.2);
}
[data-md-color-scheme="slate"] .md-button--secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
}

.tabbed-set {
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.tabbed-set .tabbed-labels {
  display: flex;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.tabbed-set .tabbed-labels > label {
  cursor: pointer;
  padding: 0.65rem 1.15rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition:
    background var(--duration-fast),
    color var(--duration-fast);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.tabbed-set .tabbed-labels > label:hover {
  background: rgba(34, 197, 94, 0.07);
  color: #22c55e;
}

.tabbed-set .tabbed-content {
  padding: 1.25rem;
}

.command-example {
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  margin: 1.5rem 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.command-example-header {
  background: var(--md-primary-fg-color);
  color: #fff;
  padding: 0.6rem 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.command-example-body {
  padding: 1rem;
  font-size: 0.875rem;
}

.command-example pre {
  margin: 0;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.gallery-item:hover {
  transform: scale(1.04) rotate(0.5deg);
  box-shadow: var(--card-shadow-hover);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-sm);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  transition:
    background var(--duration-fast),
    color var(--duration-fast);
  cursor: default;
}

.tag:hover {
  background: #22c55e;
  color: #fff;
  text-decoration: none;
}

[data-md-color-scheme="slate"] .tag {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
}

.notification-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  margin-left: 0.5rem;
  position: relative;
}
.notification-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.8s ease-out infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

.animated-progress {
  display: block;
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  position: relative;
  overflow: hidden;
  margin: 1rem 0;
}

.animated-progress::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  border-radius: inherit;
  animation: sweep 2.2s ease-in-out infinite;
}

@keyframes sweep {
  0% {
    transform: translateX(-130%);
  }
  50% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(270%);
  }
}

.md-content {
  animation: rise 0.5s var(--ease-out) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.md-search-result__article {
  font-family: "IBM Plex Sans", sans-serif;
}

.md-search-result mark {
  background: rgba(34, 197, 94, 0.25);
  color: inherit;
  border-radius: 2px;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

[data-md-color-scheme="slate"]::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
}

[data-md-color-scheme="slate"] {
  --surface: #0d1117;
  --surface-2: #161b22;
  --border: rgba(255, 255, 255, 0.06);
  --text-muted: rgba(255, 255, 255, 0.45);
}

[data-md-color-scheme="slate"]
  .md-typeset__table
  table
  tbody
  tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

[data-md-color-scheme="slate"] .md-typeset__table table tbody tr:hover {
  background: rgba(34, 197, 94, 0.07);
}

[data-md-color-scheme="slate"] .tabbed-set .tabbed-labels {
  background: rgba(255, 255, 255, 0.03);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-md-color-scheme="slate"] .md-typeset .admonition.info {
  background: rgba(59, 130, 246, 0.08);
}
[data-md-color-scheme="slate"] .md-typeset .admonition.tip {
  background: rgba(34, 197, 94, 0.08);
}
[data-md-color-scheme="slate"] .md-typeset .admonition.warning {
  background: rgba(245, 158, 11, 0.08);
}
[data-md-color-scheme="slate"] .md-typeset .admonition.danger {
  background: rgba(239, 68, 68, 0.08);
}

.md-content ul:first-of-type {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  list-style: none;
  padding-left: 0;
  margin: 2rem 0;
}

.md-content ul:first-of-type li {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 1.4rem 1.5rem;
  margin-bottom: 0;
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-md-color-scheme="slate"] .md-content ul:first-of-type li {
  background: #161b22;
  border-color: rgba(255, 255, 255, 0.07);
}

.md-content ul:first-of-type li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  opacity: 0;
  transition: opacity var(--duration-base);
}

.md-content ul:first-of-type li:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.md-content ul:first-of-type li:hover::before {
  opacity: 1;
}

.md-content ul:first-of-type li strong {
  font-family: "Syne", sans-serif;
  color: var(--md-primary-fg-color);
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.md-content ul:first-of-type li a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: #22c55e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
  transition: gap var(--duration-fast);
}

.md-content ul:first-of-type li a:hover {
  gap: 8px;
  text-decoration: none;
}

.md-content ul:first-of-type li a::after {
  content: "→";
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-out);
}

.md-content ul:first-of-type li a:hover::after {
  transform: translateX(3px);
}

.md-content h2:last-of-type + ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  list-style: none;
  padding-left: 0;
  margin: 2rem 0;
}

.md-content h2:last-of-type + ul li {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 1.4rem 1.5rem;
  margin-bottom: 0;
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-md-color-scheme="slate"] .md-content h2:last-of-type + ul li {
  background: #161b22;
  border-color: rgba(255, 255, 255, 0.07);
}

.md-content h2:last-of-type + ul li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  opacity: 0;
  transition: opacity var(--duration-base);
}

.md-content h2:last-of-type + ul li:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.md-content h2:last-of-type + ul li:hover::before {
  opacity: 1;
}

.md-content h2:last-of-type + ul li strong {
  font-family: "Syne", sans-serif;
  color: var(--md-primary-fg-color);
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.md-content > div > ul:not(:first-of-type):not(h2:last-of-type + ul) {
  list-style: none;
  padding-left: 0;
}

.md-content > div > ul:not(:first-of-type):not(h2:last-of-type + ul) li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.md-content
  > div
  > ul:not(:first-of-type):not(h2:last-of-type + ul)
  li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-size: 0.75em;
  top: 0.15em;
}

.md-footer {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
}

.mm-sidebar-panel {
  padding: 0.9rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mm-sidebar-label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(0, 0, 0, 0.45));
  margin-bottom: 4px;
  padding-left: 2px;
}

[data-md-color-scheme="slate"] .mm-sidebar-label {
  color: rgba(255, 255, 255, 0.35);
}

.md-sidebar--primary .mm-controls {
  margin: 0;
}
