/* NaGRIS national layer — small additions on top of GRC Pro's tokens/app-theme. */
.ng-portal-tag { align-items: center; font-family: var(--font-display); font-weight: 600; color: var(--c-navy); font-size: .95rem; }
.ng-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--c-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.ng-nav-section { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); padding: 1rem 1.25rem .35rem; }
.ng-kpi { border: 1px solid var(--b-card); border-radius: var(--r-card); background: var(--bg-card); padding: 1rem 1.1rem; height: 100%; }
.ng-kpi .ng-kpi-label { font-size: .78rem; color: var(--t-muted); text-transform: uppercase; letter-spacing: .04em; }
.ng-kpi .ng-kpi-value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--t-primary); line-height: 1.15; }
.ng-kpi .ng-kpi-sub { font-size: .8rem; color: var(--t-secondary); }
.ng-gauge { position: relative; width: 190px; height: 110px; margin: 0 auto; }
.ng-gauge-value { position: absolute; bottom: 0; width: 100%; text-align: center; font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; }
.ng-heat { display: grid; grid-template-columns: 34px repeat(5, 1fr); gap: 4px; }
.ng-heat div { border-radius: 6px; text-align: center; padding: .55rem 0; font-weight: 700; font-size: .9rem; }
.ng-heat .ng-heat-axis { background: transparent; color: var(--t-muted); font-weight: 500; font-size: .75rem; padding: .55rem 0; }
.ng-bar { height: 8px; border-radius: 99px; background: var(--bg-surface); overflow: hidden; }
.ng-bar > span { display: block; height: 100%; border-radius: 99px; }
.ng-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--t-muted); font-weight: 600; white-space: nowrap; }
.ng-table td { vertical-align: middle; }
tr[data-href]:hover td { background: var(--c-primary-dim); }
.ng-hash { font-family: var(--font-mono); font-size: .75rem; word-break: break-all; color: var(--t-secondary); }
.ng-section-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: .75rem; }
.ng-timeline { list-style: none; padding-left: 0; margin: 0; }
.ng-timeline li { position: relative; padding: 0 0 .9rem 1.4rem; border-left: 2px solid var(--b-card); margin-left: .4rem; }
.ng-timeline li::before { content: ''; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-primary); }
.ng-auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #061B4A 0%, #0A2463 55%, #0077C2 100%); padding: 16px; }
.ng-auth-card { background: #fff; border-radius: 18px; width: 100%; max-width: 440px; padding: 2.2rem; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.ng-auth-card h1 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--c-navy); }
.ng-step { display: flex; gap: .75rem; align-items: flex-start; }
.ng-step-num { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--c-primary-dim); color: var(--c-primary); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.ng-flow { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.ng-flow .ng-flow-step { padding: .35rem .7rem; border-radius: 99px; font-size: .78rem; border: 1px solid var(--b-card); color: var(--t-muted); background: var(--bg-card); }
.ng-flow .ng-flow-step.done { background: var(--c-success); color: #fff; border-color: var(--c-success); }
.ng-flow .ng-flow-step.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.ng-flow .bi-chevron-right { color: var(--t-muted); font-size: .7rem; }
@media (max-width: 991.98px) { #ngSidebar.show { transform: translateX(0) !important; left: 0 !important; } }
@media print { .sidebar, .navbar, .footer, .no-print { display: none !important; } .main-content { margin: 0 !important; padding: 0 !important; } }
/* Buttons in flex rows must not shrink below their label (E1: "Send for review" was clipped). */
.d-flex > .btn, .d-flex > form > .btn, .input-group > .btn { flex-shrink: 0; white-space: nowrap; }
