/* Platform console page-level styles. Tokens only. */
.am-ops-product { color: var(--am-amber); font-size: var(--am-text-xs); font-weight: 600; margin: -14px 6px var(--am-space-5); letter-spacing: .04em; }
.am-ops-health { display: inline-flex; gap: 6px; align-items: center; font-size: var(--am-text-s); }
.am-main:focus { outline: none; }
.am-page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--am-space-3); flex-wrap: wrap; }
.am-page-sub { color: var(--am-muted); font-size: var(--am-text-s); margin-top: 2px; }
.am-section-title { margin: 0; font-size: var(--am-text-l); }
.am-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: var(--am-space-4); }
.am-grid-2 > * { min-width: 0; }
.am-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--am-space-3); align-items: start; }
.am-form-row > div:has(> .am-btn) { padding-top: 26px; }
.am-toolbar .am-input { width: 260px; }
.am-kpi__foot { color: var(--am-muted); font-size: var(--am-text-xs); }
.am-svc { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--am-space-2); }
.am-svc button { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: var(--am-radius-m); border: 1px solid var(--am-line);
  background: var(--am-surface-2); color: var(--am-text); font: inherit; cursor: pointer; }
.am-svc button:hover { border-color: var(--am-primary); }
.am-svc b { font-size: var(--am-text-s); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-nodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--am-space-4); }
.am-node { display: grid; gap: var(--am-space-3); }
.am-node.is-rec { border-color: var(--am-primary); box-shadow: inset 0 0 0 1px var(--am-primary); }
.am-meter { display: grid; gap: 4px; font-size: var(--am-text-xs); }
.am-meter__row { display: flex; justify-content: space-between; color: var(--am-muted); }
.am-bar { height: 8px; border-radius: 4px; background: var(--am-ink-50); overflow: hidden; }
.am-bar > span { display: block; height: 100%; background: var(--am-chart-1); }
.am-bar--warn > span { background: var(--am-amber); }
.am-bar--danger > span { background: var(--am-danger); }
.am-pre { white-space: pre-wrap; word-break: break-word; background: var(--am-surface-2); border: 1px solid var(--am-line); border-radius: var(--am-radius-s);
  padding: var(--am-space-3); font: var(--am-text-xs)/1.6 var(--am-font-mono); max-height: 60vh; overflow: auto; margin: 0; }
.am-code { font: var(--am-text-xs) var(--am-font-mono); color: var(--am-muted); word-break: break-all; }
.am-kv { display: flex; justify-content: space-between; gap: var(--am-space-3); padding: 6px 0; border-bottom: 1px solid var(--am-line); font-size: var(--am-text-s); }
.am-row-actions { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.am-who__sub { color: var(--am-muted); font-size: var(--am-text-xs); }
.am-gate { min-height: 100vh; display: grid; place-items: center; padding: var(--am-space-6); }
.am-gate__card { width: min(400px, 100%); padding: var(--am-space-8) var(--am-space-6); display: grid; gap: var(--am-space-3); }
.am-gate__logo { width: 48px; height: 48px; }
.am-gate__title { margin: 0; font-size: var(--am-text-xl); }
.am-field > .am-seg { justify-self: start; }
@media (max-width: 720px) { .am-toolbar .am-input { width: 100%; } }
