/* Network operations pages: Config, IPAM, Scale (js/net-ops.js). All classes prefixed nop-. */
.nop-note { font-size: 11.5px; color: var(--muted); background: var(--panel2); border: 1px solid var(--line); border-left: 3px solid var(--info); border-radius: 4px; padding: 5px 9px; margin: 0 0 8px; }
.nop-wrap { white-space: normal; word-break: break-word; font-size: 11px; }
.nop-sel { display: flex; flex-wrap: wrap; gap: 2px 4px; align-items: center; margin-top: 8px; font-size: 12px; }

/* side-by-side diff */
.nop-diff { display: grid; grid-template-columns: 30px 1fr 30px 1fr; font-family: var(--mono); font-size: 11.5px; line-height: 18px; border: 1px solid var(--line); border-radius: 4px; overflow: auto; max-height: 300px; margin: 2px 10px 6px; }
.nop-dh { grid-column: span 2; position: sticky; top: 0; background: var(--panel2); color: var(--muted); font-family: var(--font); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-bottom: 1px solid var(--line2); }
.nop-ln { color: var(--faint); text-align: right; padding: 0 6px 0 0; background: var(--panel2); user-select: none; }
.nop-code { white-space: pre; padding: 0 8px 0 4px; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nop-code.nop-add { background: var(--ok-bg); color: var(--ok); }
.nop-code.nop-del { background: var(--crit-bg); color: var(--crit); }
.nop-code.nop-nil { background: repeating-linear-gradient(45deg, transparent 0 4px, var(--panel2) 4px 8px); }

/* compliance matrix */
table.t.nop-mx th.nop-c, table.t.nop-mx td.nop-c { text-align: center; width: 72px; padding-left: 4px; padding-right: 4px; }
.nop-v { color: var(--ok); font-weight: 700; }
.nop-x { color: var(--crit); font-weight: 700; cursor: help; }

/* IPAM */
table.t tr.nop-on td { background: var(--info-bg); }
table.t td.nop-ind { padding-left: 22px; }
.nop-udt { display: flex; gap: 6px; align-items: center; }
.nop-in { background: var(--panel2); border: 1px solid var(--line2); border-radius: 4px; color: var(--text); font: inherit; font-size: 12px; padding: 3px 8px; height: 26px; }
.nop-udt .nop-in { width: 360px; }
.nop-btn { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 4px; font: inherit; font-size: 12px; font-weight: 600; padding: 0 12px; height: 26px; cursor: pointer; }
.nop-find { font-size: 12px; padding: 6px 8px; border-radius: 4px; border-left: 3px solid var(--line2); background: var(--panel2); margin-bottom: 6px; line-height: 1.4; }
.nop-find.crit { border-left-color: var(--crit); } .nop-find.warn { border-left-color: var(--warn); } .nop-find.info { border-left-color: var(--info); }

/* Scale */
.nop-tgt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nop-tgt > div { background: var(--panel2); border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px; font-size: 11.5px; }
.nop-big { font-size: 20px; font-weight: 650; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.nop-calc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.nop-calc label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--muted); }
.nop-calc .nop-in { width: 100%; box-sizing: border-box; }
.nop-calcout { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px 8px; margin-top: 10px; font-size: 12px; }
.nop-calcout > div { background: var(--panel2); border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; }
.nop-calcout b { font-size: 15px; font-variant-numeric: tabular-nums; }
.nop-calcout .nop-wide { grid-column: 1 / -1; background: none; border: 0; padding: 0; }
.nop-assume { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 11.5px; }
.nop-assume span { background: var(--panel2); border: 1px solid var(--line); border-radius: 3px; padding: 2px 7px; color: var(--muted); }
table.t.nop-nw td { white-space: nowrap; }
.nop-ell { display: inline-block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
