/* governance.php — section heads, tables, EPP cards, authority grid */

.gov-sec-head { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.gov-sec-head h2 { font-size: 24px; }
.gov-sec-head p { font-size: 13.5px; margin-top: 6px; }

.loading-cell { color: var(--faint); font-style: italic; padding: 24px; text-align: center; }

.val-fixed { color: var(--success); font-weight: 600; font-family: 'JetBrains Mono', 'Consolas', monospace; }
.val-governed { color: var(--gold); font-weight: 600; font-family: 'JetBrains Mono', 'Consolas', monospace; }
.ceiling-note { font-size: 10px; color: #f59e0b; }

/* EPP cards */
.epp-card { margin-bottom: 14px; }
.epp-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.epp-name { font-weight: 600; font-size: 15px; color: var(--text); }
.epp-status-inline { font-size: 11px; font-weight: 400; margin-inline-start: 8px; white-space: nowrap; }
.epp-tagline { font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.epp-bond { font-size: 12.5px; color: var(--gold); font-family: 'JetBrains Mono', 'Consolas', monospace; white-space: nowrap; }
.epp-limits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.epp-review { margin-top: 10px; font-size: 12px; color: var(--faint); }
.epp-notice { margin-bottom: 8px; }
.unrestricted { color: var(--success); font-size: 12.5px; }

/* live EPP status dot (from /governance/epp-status) */
.epp-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--faint); white-space: nowrap; }
.epp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.epp-dot[data-s="OK"]       { background: var(--success); }
.epp-dot[data-s="WARNING"]  { background: #f59e0b; }
.epp-dot[data-s="CRITICAL"] { background: var(--danger); }
.epp-dot[data-s="BURST"]    { background: #fb714a; }

/* Foundation authority grid */
.gov-authority-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gov-col { background: var(--bg2); border: 1px solid var(--gold-line); border-radius: var(--r-lg); padding: 26px; }
.gov-col.cannot { border-color: rgba(224, 92, 92, .3); }
.gov-col-head { font-weight: 600; font-size: 13.5px; letter-spacing: 1.2px; margin-bottom: 16px; }
.gov-col-head.danger { color: var(--danger); }
.gov-item { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.gov-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.last-updated { font-size: 12px; color: var(--faint); text-align: center; margin-top: 40px; }

@media (max-width: 700px) {
  .gov-authority-grid { grid-template-columns: 1fr; }
  .epp-header { flex-direction: column; }
}
