/* systems pane — layout unique to this surface. Tokens and shared primitives only. */
.grid.pane-systems {
  align-items: start;
}
.pane-systems > .sys-mesh-card {
  grid-column: span 7;
}
.pane-systems > .sys-ha-card {
  grid-column: span 5;
}

.sys-mesh-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.sys-hero-glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--good-soft);
  color: var(--good);
}
.sys-hero-glyph.bad {
  background: var(--bad-soft);
  color: var(--bad);
}
.sys-hero-glyph .ic {
  width: 20px;
  height: 20px;
}
.sys-hero-text {
  min-width: 0;
}
.sys-hero-title {
  font-size: 15px;
  font-weight: 500;
}
.sys-hero-text p {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 48ch;
}
.sys-hero-temp {
  margin-left: auto;
  flex: none;
  text-align: right;
}
.sys-hero-temp b {
  display: block;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.sys-hero-temp span {
  font-size: 11px;
  color: var(--muted);
}

.pane-systems .notice .ic {
  width: 16px;
  height: 16px;
  flex: none;
}
.sys-lead {
  margin: -4px 0 16px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 72ch;
}
.sys-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.sys-group {
  margin-top: 16px;
}
.sys-group:first-of-type {
  margin-top: 4px;
}
.sys-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--text-2);
}
.sys-group-head .ic {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.sys-group-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.sys-unavail-card .urows {
  max-height: none;
  overflow: visible;
}
.sys-unavail-card .urow {
  padding: 5px 9px;
  font-family: var(--font);
  font-size: 12px;
}
.sys-more {
  margin: 14px 0 0;
}

.sys-shortcut-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sys-shortcut-group h3 {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .pane-systems > .sys-mesh-card,
  .pane-systems > .sys-ha-card {
    grid-column: span 12;
  }
  .sys-shortcut-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .pane-systems > .sys-mesh-card,
  .pane-systems > .sys-ha-card {
    grid-column: 1 / -1;
  }
  .sys-mesh-hero {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .sys-hero-temp {
    margin-left: 56px;
    text-align: left;
  }
  .sys-shortcut-groups {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
