/* ============================================================================
 *  Console overview theme  --  /console-theme.css
 *  ---------------------------------------------------------------------------
 *  Rebuilds the pre-v1.0 new-api dashboard look (greeting + 4 stat cards +
 *  model analytics + API info / announcements / FAQ / uptime) on top of the
 *  v1.0 console, plus the legacy "collapse sidebar" affordance.
 *
 *  Every colour is derived from the site's own design tokens
 *  (--background / --card / --foreground / --border / --primary / --muted ...)
 *  so light mode, dark mode and theme presets all follow automatically.
 *
 *  Everything is scoped under #lmx-console-overview or .lmx-sidebar-foot,
 *  so nothing else in the console can be affected.
 * ========================================================================== */

/* ---------------------------------------------------------------------------
 * 0. Design tokens
 * ------------------------------------------------------------------------- */
#lmx-console-overview,
.lmx-sidebar-foot {
  --lmx-border: var(--border, rgba(0, 0, 0, 0.08));
  --lmx-border-soft: color-mix(in oklab, var(--border, rgba(0, 0, 0, 0.08)) 55%, transparent);
  --lmx-card: var(--card, #fff);
  --lmx-bg: var(--background, #fff);
  --lmx-fg: var(--foreground, rgba(0, 0, 0, 0.88));
  --lmx-fg-2: var(--muted-foreground, rgba(0, 0, 0, 0.62));
  --lmx-fg-3: color-mix(in oklab, var(--muted-foreground, rgba(0, 0, 0, 0.62)) 72%, transparent);
  --lmx-primary: var(--primary, #3ea4ec);
  --lmx-muted: var(--muted, #f5f5f5);
  --lmx-hover: color-mix(in oklab, var(--foreground, #000) 5%, transparent);
  --lmx-radius: 16px;
  --lmx-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);

  /* Illustration palette (mirrors Semi's construction illustration vars) */
  --lmx-illus-primary: var(--primary, #3ea4ec);
  --lmx-illus-primary-light: color-mix(in oklab, var(--primary, #3ea4ec) 22%, var(--background, #fff));
  --lmx-illus-primary-hover: color-mix(in oklab, var(--primary, #3ea4ec) 45%, var(--background, #fff));
  --lmx-illus-line: color-mix(in oklab, var(--foreground, #000) 62%, var(--background, #fff));
  --lmx-illus-fill: var(--background, #fff);

  /* Announcement / uptime status colours */
  --lmx-default: #8b9aa7;
  --lmx-blue: #3b82f6;
  --lmx-green: #10b981;
  --lmx-orange: #f59e0b;
  --lmx-red: #ef4444;
  --lmx-cyan: #06b6d4;
  --lmx-purple: #8b5cf6;
  --lmx-indigo: #6366f1;
  --lmx-pink: #ec4899;
}

/* ---------------------------------------------------------------------------
 * 1. Page shell -- covers the console viewport, owns its own scrolling
 * ------------------------------------------------------------------------- */
#lmx-console-overview {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--lmx-bg);
  color: var(--lmx-fg);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#lmx-console-overview * {
  box-sizing: border-box;
}

.lmx-ov-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 16px 28px;
  min-height: 100%;
}

@media (min-width: 640px) {
  .lmx-ov-inner {
    padding: 20px 20px 32px;
  }
}

/* ---------------------------------------------------------------------------
 * 2. Greeting header
 * ------------------------------------------------------------------------- */
.lmx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
}

.lmx-greet {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--lmx-fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .lmx-greet {
    font-size: 24px;
  }
}

.lmx-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.lmx-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  color: #fff;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.lmx-iconbtn:hover {
  filter: brightness(1.08);
}

.lmx-iconbtn:active {
  transform: scale(0.95);
}

.lmx-iconbtn:focus-visible {
  outline: 2px solid var(--lmx-primary);
  outline-offset: 2px;
}

.lmx-iconbtn svg {
  width: 16px;
  height: 16px;
}

.lmx-iconbtn-green {
  background: var(--lmx-green);
}

.lmx-iconbtn-blue {
  background: var(--lmx-blue);
}

.lmx-iconbtn.is-busy svg {
  animation: lmx-spin 0.9s linear infinite;
}

@keyframes lmx-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Range picker revealed by the search button */
.lmx-rangebar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--lmx-border);
  border-radius: 12px;
  background: var(--lmx-card);
}

.lmx-rangebar[hidden] {
  display: none;
}

.lmx-rangebar-label {
  font-size: 12px;
  color: var(--lmx-fg-2);
  margin-right: 2px;
}

.lmx-chip {
  border: 1px solid var(--lmx-border);
  background: transparent;
  color: var(--lmx-fg-2);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  line-height: 18px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lmx-chip:hover {
  background: var(--lmx-hover);
  color: var(--lmx-fg);
}

.lmx-chip.is-active {
  background: var(--lmx-primary);
  border-color: var(--lmx-primary);
  color: var(--primary-foreground, #fff);
}

.lmx-rangebar-note {
  margin-left: auto;
  font-size: 12px;
  color: var(--lmx-fg-3);
}

/* ---------------------------------------------------------------------------
 * 3. Cards & grids
 * ------------------------------------------------------------------------- */
.lmx-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .lmx-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lmx-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lmx-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1023px) {
  .lmx-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .lmx-grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* charts (3) + api info (1) */
.lmx-grid-main {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
  .lmx-grid-main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lmx-col-3 {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .lmx-col-3 {
    grid-column: span 3;
  }
}

/* announcements (2) + faq (1) + uptime (1) */
.lmx-grid-info {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
  .lmx-grid-info {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lmx-col-2 {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .lmx-col-2 {
    grid-column: span 2;
  }
}

.lmx-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--lmx-border);
  border-radius: var(--lmx-radius);
  background: var(--lmx-card);
  box-shadow: var(--lmx-shadow);
  overflow: hidden;
}

.lmx-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--lmx-border);
}

.lmx-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--lmx-fg);
  min-width: 0;
}

.lmx-card-title svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.lmx-card-body {
  padding: 20px;
  min-width: 0;
}
.lmx-card-body-flush {
  padding: 0;
}

/* ---------------------------------------------------------------------------
 * 4. Stat cards
 * ------------------------------------------------------------------------- */
.lmx-stat-rows {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.lmx-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.lmx-stat-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lmx-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.lmx-avatar svg {
  width: 16px;
  height: 16px;
}

.lmx-avatar-blue {
  background: #65b2fc;
}
.lmx-avatar-purple {
  background: #c96fd1;
}
.lmx-avatar-green {
  background: #7dd182;
}
.lmx-avatar-cyan {
  background: #58cbd3;
}
.lmx-avatar-yellow {
  background: #fce865;
  color: #7a5c00;
}
.lmx-avatar-pink {
  background: #f27396;
}
.lmx-avatar-indigo {
  background: #8090d3;
}
.lmx-avatar-orange {
  background: #fdc165;
  color: #7a4a00;
}

.lmx-stat-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lmx-stat-label {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: var(--lmx-fg-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lmx-stat-value {
  display: block;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: var(--lmx-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}

.lmx-stat-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: none;
}

.lmx-spark {
  display: block;
  width: 96px;
  height: 40px;
  overflow: visible;
}

.lmx-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--lmx-border);
  border-radius: 999px;
  background: transparent;
  color: var(--lmx-fg-2);
  padding: 4px 14px;
  font-size: 13px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lmx-pill:hover {
  background: var(--lmx-hover);
  color: var(--lmx-fg);
}

.lmx-pill svg {
  width: 12px;
  height: 12px;
}

.lmx-pill-sm {
  padding: 2px 10px;
  font-size: 12px;
  line-height: 18px;
}

.lmx-pill-tag {
  cursor: pointer;
}

/* ---------------------------------------------------------------------------
 * 5. Charts panel
 * ------------------------------------------------------------------------- */
.lmx-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.lmx-tab {
  border: 0;
  background: transparent;
  padding: 4px 10px;
  font-size: 14px;
  line-height: 22px;
  color: var(--lmx-fg-2);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.lmx-tab:hover {
  color: var(--lmx-fg);
  background: var(--lmx-hover);
}

.lmx-tab.is-active {
  color: var(--lmx-fg);
  font-weight: 600;
}

.lmx-tab-sep {
  color: var(--lmx-border);
  user-select: none;
}

.lmx-chart {
  padding: 12px 14px 4px;
  min-height: 384px;
}

.lmx-chart-svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.lmx-chart-title {
  font-size: 18px;
  font-weight: 600;
  fill: var(--lmx-fg);
}

.lmx-chart-sub {
  font-size: 13px;
  fill: var(--lmx-fg-2);
}

.lmx-axis-text {
  font-size: 11px;
  fill: var(--lmx-fg-2);
}

.lmx-grid-line {
  stroke: var(--lmx-border);
  stroke-width: 1;
}

.lmx-axis-line {
  stroke: var(--lmx-border);
  stroke-width: 1;
}

.lmx-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 16px 16px;
  font-size: 12px;
  color: var(--lmx-fg-2);
}

.lmx-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.lmx-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex: none;
}

.lmx-legend-name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
 * 6. API info list
 * ------------------------------------------------------------------------- */
.lmx-scroll {
  max-height: 24rem;
  overflow: auto;
  overscroll-behavior: contain;
}

.lmx-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.lmx-scroll::-webkit-scrollbar-thumb {
  background: var(--lmx-border);
  border-radius: 999px;
}

.lmx-api-item {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.lmx-api-item:hover {
  background: var(--lmx-hover);
}

.lmx-api-item + .lmx-api-item {
  border-top: 1px solid var(--lmx-border-soft);
}

.lmx-api-route {
  font-size: 14px;
  font-weight: 700;
  color: var(--lmx-fg);
  word-break: break-all;
}

.lmx-api-url {
  font-size: 13px;
  color: var(--lmx-primary);
  word-break: break-all;
  cursor: pointer;
}

.lmx-api-url:hover {
  text-decoration: underline;
}

.lmx-api-desc {
  margin-top: 2px;
  font-size: 13px;
  color: var(--lmx-fg-2);
}

.lmx-api-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lmx-api-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lmx-api-urlrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.lmx-api-urlrow svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--lmx-fg-3);
  cursor: pointer;
}

.lmx-api-urlrow svg:hover {
  color: var(--lmx-primary);
}

/* ---------------------------------------------------------------------------
 * 7. Timeline (announcements)
 * ------------------------------------------------------------------------- */
.lmx-timeline {
  position: relative;
  padding: 8px 16px 8px 20px;
}

.lmx-tl-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 8px 0;
}

.lmx-tl-rail {
  position: relative;
  flex: none;
  width: 12px;
  display: flex;
  justify-content: center;
}

.lmx-tl-rail::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: -16px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: var(--lmx-border);
}

.lmx-tl-item:last-child .lmx-tl-rail::after {
  display: none;
}

.lmx-tl-dot {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--lmx-default);
}

.lmx-tl-body {
  min-width: 0;
  flex: 1;
}

.lmx-tl-content {
  color: var(--lmx-fg);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.lmx-tl-content > :first-child {
  margin-top: 0;
}

.lmx-tl-content > :last-child {
  margin-bottom: 0;
}

.lmx-tl-content h1,
.lmx-tl-content h2,
.lmx-tl-content h3,
.lmx-tl-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}

.lmx-tl-content p {
  margin: 0 0 6px;
}

.lmx-tl-content ul,
.lmx-tl-content ol {
  margin: 0 0 6px;
  padding-left: 20px;
}

.lmx-tl-time {
  margin-top: 2px;
  font-size: 13px;
  color: var(--lmx-fg-2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lmx-tl-extra {
  margin-top: 4px;
  font-size: 12px;
  color: var(--lmx-fg-2);
}

.lmx-tl-clickable {
  cursor: pointer;
}

.lmx-tl-clickable:hover .lmx-tl-content {
  color: var(--lmx-primary);
}

/* ---------------------------------------------------------------------------
 * 8. Collapse (FAQ)
 * ------------------------------------------------------------------------- */
.lmx-collapse {
  display: flex;
  flex-direction: column;
}

.lmx-faq-item + .lmx-faq-item {
  border-top: 1px solid var(--lmx-border);
}

.lmx-faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--lmx-fg);
  cursor: pointer;
  transition: background 0.15s ease;
}

.lmx-faq-head:hover {
  background: var(--lmx-hover);
}

.lmx-faq-sign {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--lmx-fg-2);
}

.lmx-faq-panel {
  padding: 0 18px 16px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--lmx-fg);
  word-break: break-word;
}

.lmx-faq-panel[hidden] {
  display: none;
}

/* Markdown inside panels */
.lmx-md > :first-child {
  margin-top: 0;
}

.lmx-md > :last-child {
  margin-bottom: 0;
}

.lmx-md p {
  margin: 0 0 8px;
}

.lmx-md ul,
.lmx-md ol {
  margin: 0 0 8px;
  padding-left: 20px;
}

.lmx-md code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: var(--lmx-muted);
  border-radius: 4px;
  padding: 1px 5px;
}

.lmx-md pre {
  background: var(--lmx-muted);
  border-radius: 8px;
  padding: 10px 12px;
  overflow: auto;
  margin: 0 0 8px;
}

.lmx-md pre code {
  background: transparent;
  padding: 0;
}

.lmx-md a {
  color: var(--lmx-primary);
}

.lmx-md table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 8px;
  font-size: 13px;
  display: block;
  overflow-x: auto;
}

.lmx-md th,
.lmx-md td {
  border: 1px solid var(--lmx-border);
  padding: 6px 10px;
  text-align: left;
  vertical-align: top;
}

.lmx-md th {
  background: var(--lmx-muted);
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
 * 9. Uptime
 * ------------------------------------------------------------------------- */
.lmx-up-group {
  padding: 8px 16px 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lmx-fg-2);
}

.lmx-up-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--lmx-border-soft);
}

.lmx-up-row:last-child {
  border-bottom: 0;
}

.lmx-up-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  color: var(--lmx-fg);
}

.lmx-up-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lmx-up-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: none;
}

.lmx-up-pct {
  flex: none;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--lmx-fg);
}

.lmx-up-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 10px 16px;
  border-top: 1px solid var(--lmx-border);
  background: var(--lmx-muted);
  font-size: 12px;
  color: var(--lmx-fg-2);
}

.lmx-up-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------------------------------------------------------------------------
 * 10. Empty state
 * ------------------------------------------------------------------------- */
.lmx-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px 20px;
  text-align: center;
}

.lmx-empty-art {
  width: 96px;
  height: 96px;
  margin-bottom: 6px;
}

.lmx-empty-art svg {
  width: 100%;
  height: 100%;
}

.lmx-empty-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--lmx-fg);
}

.lmx-empty-desc {
  font-size: 13px;
  color: var(--lmx-fg-2);
  max-width: 22rem;
}

/* ---------------------------------------------------------------------------
 * 11. Skeleton
 * ------------------------------------------------------------------------- */
.lmx-skel {
  display: block;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    var(--lmx-muted) 25%,
    color-mix(in oklab, var(--lmx-muted) 55%, var(--lmx-bg)) 37%,
    var(--lmx-muted) 63%
  );
  background-size: 400% 100%;
  animation: lmx-shimmer 1.4s ease infinite;
}

@keyframes lmx-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.lmx-skel-line {
  height: 14px;
  margin-bottom: 8px;
}

/* ---------------------------------------------------------------------------
 * 12. Sidebar collapse button (the legacy "collapse sidebar" affordance)
 * ------------------------------------------------------------------------- */
.lmx-sidebar-foot {
  flex: none;
  padding: 8px;
  margin-top: auto;
}

.lmx-sb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--lmx-border);
  border-radius: 10px;
  background: var(--lmx-card);
  color: var(--lmx-fg);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lmx-sb-btn:hover {
  background: var(--lmx-hover);
}

.lmx-sb-btn:focus-visible {
  outline: 2px solid var(--lmx-primary);
  outline-offset: 1px;
}

.lmx-sb-btn svg {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 0.2s ease;
}

.lmx-sb-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Collapsed sidebar: icon-only button, chevron flipped */
[data-slot="sidebar"][data-state="collapsed"] .lmx-sidebar-foot {
  padding: 8px 6px;
}

[data-slot="sidebar"][data-state="collapsed"] .lmx-sb-btn {
  padding: 0;
  gap: 0;
}

[data-slot="sidebar"][data-state="collapsed"] .lmx-sb-label {
  display: none;
}

[data-slot="sidebar"][data-state="collapsed"] .lmx-sb-btn svg {
  transform: rotate(180deg);
}

/* ---------------------------------------------------------------------------
 * 13. Print / reduced motion
 * ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  #lmx-console-overview *,
  .lmx-sidebar-foot * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
