.noc-page{--noc-surface:#111e2c;--noc-soft:#152536;--noc-ink:#e3edf5;--noc-muted:#94a8ba;--noc-line:#2b4053;--noc-danger:#ff7383;color:var(--noc-ink);font:14px/1.5 "Segoe UI",Arial,sans-serif;display:flex;flex-direction:column;gap:18px}
html[data-portal-theme="classic"] .noc-page,html[data-portal-theme="innovative"] .noc-page{--noc-surface:var(--t-surface);--noc-soft:var(--t-soft);--noc-ink:var(--t-ink);--noc-muted:var(--t-muted);--noc-line:var(--t-border);--noc-danger:#b82543}
.noc-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.noc-page .noc-header h1{color:var(--noc-ink);font:750 36px/1.1 "Segoe UI",Arial,sans-serif;letter-spacing:-.04em;margin:0}
.noc-header p{color:var(--noc-muted);margin:5px 0 0;font-size:13px}.noc-live{font-size:12px;color:#42b98e;padding:8px 12px;background:var(--noc-surface);border:1px solid var(--noc-line);border-radius:20px}.noc-live.is-stale{color:var(--noc-danger)}
.noc-controls{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.noc-periods{display:flex;gap:6px;flex-wrap:wrap}.noc-page .portal-action{border-radius:7px;font-size:13px;padding:8px 12px}
.noc-top{display:grid;grid-template-columns:minmax(260px,1fr) minmax(300px,1.3fr);gap:18px}.noc-admin,.noc-protection,.noc-card,.noc-metric,.noc-mix{background:var(--noc-surface);border:1px solid var(--noc-line);border-radius:12px;padding:18px 20px;min-width:0}
.noc-admin{border:2px solid var(--noc-danger);display:flex;flex-direction:column;justify-content:center;gap:8px}.noc-admin small{color:var(--noc-muted)}.noc-admin strong{font:750 clamp(22px,2.4vw,34px)/1.25 ui-monospace,Consolas,monospace;color:var(--noc-danger);word-break:break-all}.noc-admin span{color:var(--noc-muted);font-size:12px}
.noc-page .noc-protection h2,.noc-page .noc-card h2{font:650 16px/1.3 "Segoe UI",Arial,sans-serif;letter-spacing:0;color:var(--noc-ink);margin:0 0 12px}.noc-protection p{font-size:13px;color:var(--noc-muted);margin:0 0 14px}.noc-page .noc-protection button.portal-action{border-color:var(--noc-danger);color:var(--noc-danger);background:transparent;margin:0 8px 4px 0}.noc-page .noc-protection button.portal-action:hover:not(:disabled){background:var(--noc-danger);color:#fff}
.noc-notice{margin:0;color:var(--noc-muted);font-size:13px;min-height:20px}.noc-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.noc-metric small{display:block;color:var(--noc-muted);font-size:12px}.noc-metric strong{display:block;font:700 30px/1.3 "Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums;margin-top:9px;color:var(--noc-ink)}
.noc-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.noc-chart{overflow:hidden}.noc-chart svg{display:block;width:100%;height:auto;overflow:hidden}.noc-chart .noc-grid line{stroke:var(--noc-line);stroke-width:.6}.noc-chart .noc-axis text{fill:var(--noc-muted);font:11px "Segoe UI",Arial,sans-serif}
.noc-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--noc-muted);margin:0 0 12px}.noc-legend span:before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:var(--series)}.noc-chart-tip{font-size:11px;color:var(--noc-muted);margin:5px 0 0;min-height:17px}
.noc-mix{display:flex;align-items:center;gap:20px}.noc-donut{width:76px;height:76px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--noc-line)}.noc-donut strong{width:56px;height:56px;border-radius:50%;background:var(--noc-surface);display:grid;place-items:center;color:var(--noc-ink);font-size:18px}.noc-mix p{color:var(--noc-muted);font-size:13px;margin:0}
.noc-table-scroll{max-height:360px;overflow:auto;scrollbar-color:var(--noc-line) transparent}.noc-page .portal-table{background:var(--noc-surface);color:var(--noc-ink);font:13px/1.45 "Segoe UI",Arial,sans-serif}.noc-page .portal-table th{background:var(--noc-soft);color:var(--noc-muted);font-size:12px;z-index:1}.noc-page .portal-table :is(th,td){padding:9px 12px;border-color:var(--noc-line);white-space:nowrap}.noc-page .portal-table td:first-child{font-family:ui-monospace,Consolas,monospace}.noc-protected td{color:#36b78b}.noc-allow>summary{cursor:pointer;color:var(--noc-muted);padding:8px 0}.noc-allow .noc-card{margin-top:8px}
.noc-footnote{font-size:12px;color:var(--noc-muted);line-height:1.65;margin:0 0 16px}.noc-confirm{width:min(700px,96vw);max-height:88vh;overflow:auto}.noc-ip-list{display:flex;flex-wrap:wrap;gap:7px;max-height:28vh;overflow:auto;margin:16px 0}.noc-ip-list code{padding:5px 8px;border:1px solid #9ca9b7;border-radius:5px;font-size:13px;word-break:break-all}.noc-confirm details{margin:12px 0;font-size:13px}.noc-confirm-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.noc-tabs,.noc-pager{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.noc-overview,.noc-log{display:flex;flex-direction:column;gap:18px}.noc-overview[hidden],.noc-log[hidden]{display:none!important}.noc-page .portal-table tr.noc-blocked td{background:#792435;color:#ffe4e9}html[data-portal-theme="classic"] .noc-page .portal-table tr.noc-blocked td,html[data-portal-theme="innovative"] .noc-page .portal-table tr.noc-blocked td{background:#ffe0e6;color:#941e36}.noc-page .portal-table tr.noc-blocked td:nth-child(2){font-family:ui-monospace,Consolas,monospace}
@media(max-width:1150px){.noc-charts{grid-template-columns:1fr}.noc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.noc-top{grid-template-columns:1fr}.noc-metric{padding:14px}.noc-metric strong{font-size:24px}.noc-card{padding:14px 10px}.noc-header{gap:12px}.noc-live{font-size:11px}}
@media(prefers-reduced-motion:reduce){.noc-chart svg g{transition:none!important}}

.noc-page .noc-ip-menu{position:fixed;z-index:10050;display:flex;flex-direction:column;gap:6px;max-width:min(330px,calc(100vw - 16px));padding:12px;background:var(--noc-surface);color:var(--noc-ink);border:1px solid var(--noc-line);border-radius:12px;box-shadow:0 12px 38px #0006}.noc-page .noc-ip-menu .portal-action{margin:0;text-align:left;padding:8px 12px;white-space:normal;font-size:14px}.noc-page .noc-ip-menu small{max-width:270px}

.noc-page{background:#0b1520;padding:22px;border-radius:14px;box-sizing:border-box}html[data-portal-theme="classic"] .noc-page,html[data-portal-theme="innovative"] .noc-page{background:var(--t-surface)}.noc-history{display:flex;flex-direction:column;gap:18px}.noc-history[hidden]{display:none!important}.noc-page .noc-periods[hidden]{display:none!important}

.noc-page .noc-attempt-trend{display:inline-block;font-weight:800;margin-left:.3em;line-height:1}.noc-page .noc-attempt-trend.is-up{color:#ff526c!important}.noc-page .noc-attempt-trend.is-down{color:#28c788!important}html[data-portal-theme="classic"] .noc-page .noc-attempt-trend.is-up,html[data-portal-theme="innovative"] .noc-page .noc-attempt-trend.is-up{color:#c82443!important}html[data-portal-theme="classic"] .noc-page .noc-attempt-trend.is-down,html[data-portal-theme="innovative"] .noc-page .noc-attempt-trend.is-down{color:#087e51!important}
.noc-page .portal-table tr.noc-processing td{background:#5b4817;color:#ffe49a}.noc-page .portal-table tr.noc-action-failed td{background:#6a2530;color:#ffe5e9}html[data-portal-theme="classic"] .noc-page .portal-table tr.noc-processing td,html[data-portal-theme="innovative"] .noc-page .portal-table tr.noc-processing td{background:#fff2c2;color:#6b5100}html[data-portal-theme="classic"] .noc-page .portal-table tr.noc-action-failed td,html[data-portal-theme="innovative"] .noc-page .portal-table tr.noc-action-failed td{background:#ffe1e6;color:#941e36}
