/* Archon logo size override */
.md-header__button.md-logo img {
  height: 40px;
  width: auto;
}

/* Mermaid diagram container — full width, horizontal scroll on overflow */
.mermaid {
  width: 100%;
  overflow-x: auto;
}

/* Mobile: hide panzoom controls (broken on touch — upstream issue #7) and
   release overflow: hidden so diagrams scroll naturally via touch */
@media (max-width: 768px) {
  .panzoom-nav {
    display: none;
  }

  .panzoom-box {
    overflow-x: auto;
    overflow-y: visible;
    height: auto;
  }

  .panzoom-box .mermaid {
    min-width: min-content;
  }
}

.status-live { background: #2e7d32; color: #fff; padding: 0.1em 0.5em; border-radius: 3px; font-size: 0.75em; font-weight: 600; letter-spacing: 0.03em; }
.status-progress { background: #e65100; color: #fff; padding: 0.1em 0.5em; border-radius: 3px; font-size: 0.75em; font-weight: 600; letter-spacing: 0.03em; }
.status-planned { background: #424242; color: #fff; padding: 0.1em 0.5em; border-radius: 3px; font-size: 0.75em; font-weight: 600; letter-spacing: 0.03em; }

/* Compact dashboard cards */
.md-typeset .grid.cards > ol > li,
.md-typeset .grid.cards > ul > li,
.md-typeset .grid > .card {
  padding: 0.8rem 1rem;
  min-height: auto;
}

.md-typeset .grid.cards h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.md-typeset .grid.cards p {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Status dots */
.status-summary {
  font-size: 0.8rem;
  color: var(--md-default-fg-color--light);
  margin-left: 0.3rem;
  vertical-align: middle;
}

/* Dot colors */
.status-live-dot { color: #2e7d32; }
.status-progress-dot { color: #1976d2; }
.status-planned-dot { color: #9e9e9e; }
