:root { --ok-primary: #0b5cad; --ok-sticky-h: 56px; }
body { background: #f4f6f9; font-size: .9rem; padding-bottom: calc(var(--ok-sticky-h) + 1rem); }
.navbar-brand { font-weight: 700; letter-spacing: .02em; }
.card { border: 0; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.1); }
.card-header { background: #fff; font-weight: 600; }
.table-sm td, .table-sm th { padding: .3rem .45rem; vertical-align: middle; }
.table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: #5b6574; white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kpi-label { font-size: .75rem; color: #6c757d; text-transform: uppercase; letter-spacing: .04em; }
.step-nav { overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
.step-nav .nav-link { font-size: .85rem; }
.step-nav .nav-link .badge { font-size: .65rem; }
.sticky-summary { position: fixed; left: 0; right: 0; bottom: 0; height: var(--ok-sticky-h); background: #102a43; color: #fff; z-index: 1030;
  display: flex; align-items: center; gap: 2rem; padding: 0 1.25rem; overflow-x: auto; white-space: nowrap; }
.sticky-summary .lbl { font-size: .68rem; text-transform: uppercase; opacity: .7; display: block; }
.sticky-summary .val { font-weight: 700; font-variant-numeric: tabular-nums; }
.overridden { background: #fff3cd !important; position: relative; }
.overridden::after { content: "✎"; font-size: .7rem; color: #a15c00; margin-left: .25rem; }
.inactive-row td { color: #9aa3ae; text-decoration: line-through; }
.badge-status-draft { background: #6c757d; } .badge-status-in_review { background: #0d6efd; } .badge-status-changes_requested { background: #fd7e14; }
.badge-status-approved { background: #198754; } .badge-status-rejected { background: #dc3545; } .badge-status-archived { background: #343a40; }
.badge-status-active { background: #198754; } .badge-status-expired { background: #adb5bd; } .badge-status-in_review { background:#0d6efd; } .badge-status-open { background:#0d6efd; }
.trace { font-size: .75rem; color: #6c757d; }
.form-label { font-size: .78rem; font-weight: 600; color: #495057; margin-bottom: .15rem; }
.cell-btn { border: 0; background: transparent; padding: 0 .2rem; color: #6c757d; }
.cell-btn:hover { color: var(--ok-primary); }
.confidential-banner { background: repeating-linear-gradient(45deg,#fff8e1,#fff8e1 10px,#fff3cd 10px,#fff3cd 20px); font-size: .78rem; }
.power-table input, .power-table select { min-width: 90px; font-size: .78rem; padding: .1rem .3rem; }
.diff { background: #e7f1ff; font-weight: 600; }
[x-cloak] { display: none !important; }
:focus-visible { outline: 3px solid #ffbf47 !important; outline-offset: 1px; }
@media print { .navbar, .sticky-summary, .step-nav, .no-print { display: none !important; } }
