/* Shared platform primitives kept separate from page-specific legacy styles. */
:root {
  /* A compact, named type scale for new and consolidated interface work. */
  --type-caption: 12px;
  --type-label: 13px;
  --type-body: 14px;
  --type-body-large: 16px;
  --type-title-small: 18px;
  --type-title: 24px;
  --type-display: 32px;

  /* Layout widths reflect the job of a page instead of one global max-width. */
  --layout-reading: 1440px;
  --layout-workspace: 1760px;
  --layout-task-manager: 1680px;
  --layout-monitor: 2160px;
}

.lucide,
.font-icon-compat {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.125em;
  stroke-width: 2;
}

.fa-spin,
.lucide.fa-spin {
  animation: platform-icon-spin 1s linear infinite;
}

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

.system-log-details {
  margin-top: 18px;
}

.system-log-explanation {
  margin: 8px 0 14px;
  color: var(--brand-muted-foreground, #64748b);
  font-size: 13px;
}

.lan-access-panel.lan-access-disabled {
  opacity: 0.78;
}

.lan-access-panel.lan-access-disabled .lan-access-values {
  filter: saturate(0.5);
}

button[aria-disabled="true"],
button:disabled {
  cursor: not-allowed;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}
