:root {
  color-scheme: dark;
  --bg: #07101d;
  --bg-soft: #0b1625;
  --panel: #0d1a2a;
  --panel-2: #101f31;
  --line: #1b3046;
  --line-soft: rgba(112, 154, 194, .13);
  --text: #e9f2fb;
  --muted: #8196aa;
  --cyan: #35d5e5;
  --blue: #5c9dff;
  --purple: #8978ff;
  --orange: #ffb454;
  --red: #ff667a;
  --green: #40d9a2;
  --shadow: 0 16px 50px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-width: 1180px; background: radial-gradient(circle at 72% 0, rgba(23, 82, 123, .13), transparent 34%), var(--bg); color: var(--text); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
button, input { font: inherit; }
button { color: inherit; }
.shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 224px; display: flex; flex-direction: column; background: rgba(7, 16, 29, .96); border-right: 1px solid var(--line); z-index: 20; }
.brand { height: 74px; display: flex; align-items: center; gap: 12px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.brand-mark { width: 34px; height: 34px; display: flex; align-items: flex-end; gap: 3px; padding: 8px; border-radius: 9px; background: linear-gradient(145deg, rgba(53,213,229,.24), rgba(92,157,255,.09)); border: 1px solid rgba(53,213,229,.34); box-shadow: 0 0 24px rgba(53,213,229,.12); }
.brand-mark i { width: 4px; border-radius: 4px; background: var(--cyan); }
.brand-mark i:nth-child(1) { height: 9px; opacity: .7; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 13px; opacity: .82; }
.brand strong { display: block; font-size: 17px; letter-spacing: .2px; }
.brand small { display: block; margin-top: 3px; font-size: 8px; color: #5c768f; letter-spacing: 1.5px; }
.nav { padding: 20px 12px; display: grid; gap: 5px; }
.nav-item { border: 0; background: transparent; border-radius: 8px; color: #8297aa; padding: 11px 12px; display: flex; align-items: center; gap: 11px; text-align: left; cursor: pointer; transition: .18s ease; }
.nav-item:hover { color: #c4d9eb; background: rgba(255,255,255,.025); }
.nav-item.active { color: #eafcff; background: linear-gradient(90deg, rgba(53,213,229,.14), rgba(53,213,229,.035)); box-shadow: inset 2px 0 var(--cyan); }
.nav-icon { width: 20px; text-align: center; color: #58718a; font-size: 17px; }
.nav-item.active .nav-icon { color: var(--cyan); }
.nav-item em { margin-left: auto; min-width: 23px; height: 19px; display: grid; place-items: center; padding: 0 6px; background: rgba(255,102,122,.13); color: #ff8998; border-radius: 10px; font-style: normal; font-size: 11px; }
.sidebar-foot { margin-top: auto; padding: 16px; }
.collector-state { padding: 13px; display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); background: rgba(13,26,42,.65); border-radius: 9px; }
.collector-state strong, .collector-state small { display: block; }
.collector-state strong { font-size: 11px; color: #c8d8e7; }
.collector-state small { margin-top: 4px; font-size: 10px; color: var(--muted); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(64,217,162,.1); }
.version { margin-top: 12px; text-align: center; color: #40566b; font-size: 9px; letter-spacing: 1px; }
.main { padding-left: 224px; min-height: 100vh; }
.topbar { position: sticky; top: 0; height: 74px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; background: rgba(7,16,29,.86); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); z-index: 15; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #657d93; }
.breadcrumb b { font-weight: 400; color: #324b61; }
.breadcrumb strong { color: #b7cada; font-weight: 500; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.source-pill { height: 25px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid rgba(64,217,162,.18); background: rgba(64,217,162,.06); border-radius: 12px; color: #76cbaa; font-size: 9px; letter-spacing: .2px; }.source-pill span { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }.source-pill.connecting { color: #d1a763; border-color: rgba(255,180,84,.18); background: rgba(255,180,84,.06); }.source-pill.connecting span { background: var(--orange); box-shadow: 0 0 7px var(--orange); }.source-pill.simulation { color: #8aa0b4; border-color: var(--line); background: var(--panel); }.source-pill.simulation span { background: #668097; box-shadow: none; }
.live { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #9cb1c4; }
.live span, .live-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(64,217,162,.1); }
.top-actions time { font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: #7590a6; }
.icon-button, .mobile-menu { border: 1px solid var(--line); background: var(--panel); width: 32px; height: 32px; border-radius: 7px; cursor: pointer; color: #7d95aa; }
.icon-button:hover { color: var(--cyan); border-color: rgba(53,213,229,.35); }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(145deg, #1b4960, #163149); color: #b6eef4; font-size: 10px; font-weight: 700; border: 1px solid #28546b; }
.mobile-menu { display: none; }
.page { display: none; padding: 26px 28px 40px; animation: fade .25s ease; }
.page.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(3px); } }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.eyebrow { margin: 0 0 5px !important; color: #557188 !important; font-size: 9px !important; letter-spacing: 2px; }
.page-head h1 { margin: 0; font-size: 25px; line-height: 1.25; font-weight: 650; letter-spacing: -.4px; }
.page-head p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.scenario-control { display: flex; align-items: center; padding: 4px; border: 1px solid var(--line); background: #091522; border-radius: 9px; }
.scenario-control span { padding: 0 10px; font-size: 10px; color: #647e94; }
.scenario-control button, .mini-filter button, .filter-tabs button { border: 0; background: transparent; color: #738ba0; padding: 7px 10px; border-radius: 6px; font-size: 11px; cursor: pointer; }
.scenario-control button.active, .mini-filter button.active, .filter-tabs button.active { color: #dffcff; background: rgba(53,213,229,.12); box-shadow: inset 0 0 0 1px rgba(53,213,229,.18); }
.scenario-note { height: 38px; padding: 0 13px; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,180,84,.18); background: linear-gradient(90deg, rgba(255,180,84,.08), rgba(255,180,84,.015)); border-radius: 7px; font-size: 11px; color: #aebdca; }
.scenario-note strong { color: #f6cc8d; font-weight: 600; }
.scenario-note small { margin-left: auto; color: #6e8295; }
.scenario-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.metric-card, .loading-block { min-height: 108px; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(145deg, rgba(16,31,49,.88), rgba(11,22,37,.88)); }
.loading-block { animation: shimmer 1.5s infinite; background: linear-gradient(90deg, var(--panel), #132438, var(--panel)); background-size: 200% 100%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.metric-card { position: relative; overflow: hidden; padding: 16px 17px; }
.metric-card::after { content: ""; position: absolute; right: -24px; top: -34px; width: 100px; height: 100px; border-radius: 50%; background: var(--glow); filter: blur(28px); opacity: .1; }
.metric-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.metric-indicator { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.metric-card strong { display: block; margin-top: 10px; font: 650 23px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.7px; }
.metric-foot { margin-top: 9px; display: flex; justify-content: space-between; align-items: center; font-size: 10px; }
.metric-foot span { color: var(--accent); }
.metric-foot small { color: #587087; }
.tone-cyan { --accent: var(--cyan); --glow: var(--cyan); }.tone-blue { --accent: var(--blue); --glow: var(--blue); }.tone-orange { --accent: var(--orange); --glow: var(--orange); }.tone-red { --accent: var(--red); --glow: var(--red); }
.dashboard-grid { display: grid; gap: 12px; }
.top-grid { grid-template-columns: minmax(0, 1.8fr) minmax(290px, .72fr); }
.lower-grid { grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr); margin-top: 12px; }
.card { border: 1px solid var(--line); background: linear-gradient(150deg, rgba(14,28,45,.96), rgba(10,21,35,.96)); border-radius: 9px; box-shadow: var(--shadow); }
.card-head { min-height: 58px; padding: 14px 17px 10px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.card-head h2 { margin: 0; font-size: 13px; font-weight: 600; color: #d8e7f4; }
.card-head p { margin: 5px 0 0; color: #5f778d; font-size: 10px; }
.legend { display: flex; gap: 14px; font-size: 10px; color: #7890a6; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 2px; border-radius: 2px; }.legend i.cyan { background: var(--cyan); }.legend i.purple { background: var(--purple); }
.traffic-card { min-height: 288px; }
.chart-wrap { height: 220px; padding: 0 12px 12px; }
.chart-loading { height: 100%; display: grid; place-items: center; color: #566e84; font-size: 11px; }
.line-chart { width: 100%; height: 100%; overflow: visible; }
.grid-line { stroke: rgba(116,151,182,.12); stroke-width: 1; }
.grid-label { fill: #526b81; font-size: 9px; font-family: ui-monospace, monospace; }
.area-in { fill: url(#areaIn); }.area-out { fill: url(#areaOut); }
.line-in, .line-out { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }.line-in { stroke: var(--cyan); }.line-out { stroke: var(--purple); }
.last-dot { stroke: var(--panel); stroke-width: 3; }
.protocol-card { min-height: 288px; }
.text-button { border: 0; background: transparent; color: #6e9fc0; font-size: 10px; cursor: pointer; padding: 3px; }
.donut-layout { display: flex; align-items: center; justify-content: center; gap: 30px; padding: 18px 18px 28px; }
.donut { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; position: relative; transform: rotate(-50deg); }
.donut::after { content: ""; position: absolute; inset: 17px; border-radius: 50%; background: #0d1a2a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.03); }
.donut div { position: relative; z-index: 2; text-align: center; transform: rotate(50deg); }.donut strong, .donut small { display: block; }.donut strong { font: 600 19px ui-monospace, monospace; }.donut small { margin-top: 4px; color: #60798e; font-size: 9px; }
.donut-legend { min-width: 110px; display: grid; gap: 10px; }
.donut-legend div { display: grid; grid-template-columns: 7px 1fr auto; align-items: center; gap: 7px; font-size: 10px; color: #8ba0b3; }.donut-legend i { width: 6px; height: 6px; border-radius: 50%; }.donut-legend b { color: #c6d6e4; font: 500 10px ui-monospace, monospace; }
.pipeline-card { margin-top: 12px; }
.healthy { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 10px; }.healthy i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); padding: 5px 16px 17px; }
.pipeline-stage { position: relative; padding: 12px 15px; border: 1px solid var(--line-soft); background: rgba(6,16,28,.42); }
.pipeline-stage:first-child { border-radius: 7px 0 0 7px; }.pipeline-stage:last-child { border-radius: 0 7px 7px 0; }
.pipeline-stage:not(:last-child)::after { content: "›"; position: absolute; right: -7px; top: 50%; transform: translateY(-50%); width: 14px; height: 24px; display: grid; place-items: center; z-index: 2; color: var(--cyan); background: #0c1929; }
.pipeline-stage > span { display: flex; align-items: center; gap: 7px; color: #a4b7c8; font-size: 10px; }.pipeline-stage > span i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.pipeline-stage strong { display: block; margin-top: 8px; font-size: 12px; }.pipeline-stage p { margin: 5px 0 0; color: #5c7489; font-size: 9px; }.pipeline-stage em { position: absolute; right: 12px; top: 11px; color: #4e718a; font: normal 9px ui-monospace, monospace; }
.events-card, .region-card { min-height: 298px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 10px 16px; color: #587187; background: rgba(5,14,24,.35); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); text-align: left; font-size: 9px; font-weight: 500; letter-spacing: .3px; white-space: nowrap; }
td { padding: 11px 16px; border-bottom: 1px solid rgba(112,154,194,.08); color: #9eb1c2; font-size: 10px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; } tbody tr:hover td { background: rgba(53,213,229,.02); }
.event-name { display: flex; align-items: center; gap: 8px; color: #c7d7e5; }.severity-dot { width: 6px; height: 6px; border-radius: 50%; }.severity-dot.紧急,.severity-dot.高 { background: var(--red); box-shadow: 0 0 8px rgba(255,102,122,.5); }.severity-dot.中 { background: var(--orange); }.severity-dot.低 { background: var(--blue); }
.status { padding: 3px 7px; border-radius: 9px; color: #90a7ba; background: rgba(126,151,174,.1); font-size: 9px; }.status.pending,.status.待复核 { color: #ffbd67; background: rgba(255,180,84,.1); }.status.已限速,.status.牵引中,.status.已阻断 { color: #ff8392; background: rgba(255,102,122,.1); }.status.观察中,.status.已确认 { color: #7bb6ff; background: rgba(92,157,255,.1); }.status.已归档,.status.已加白 { color: #69dcb4; background: rgba(64,217,162,.1); }
.tag { padding: 4px 7px; border: 1px solid var(--line); color: #688198; border-radius: 5px; font-size: 8px; }
.bars { display: grid; gap: 14px; padding: 12px 18px 20px; }.bar-row { display: grid; grid-template-columns: 48px 1fr 35px; gap: 9px; align-items: center; font-size: 10px; }.bar-row span { color: #9aafc1; }.bar-row b { color: #9eb4c6; font: 500 10px ui-monospace, monospace; text-align: right; }.bar-track { height: 5px; background: #132539; border-radius: 5px; overflow: hidden; }.bar-track i { display: block; height: 100%; border-radius: 5px; box-shadow: 0 0 8px currentColor; }
.matrix-card { margin-top: 12px; }.mini-filter { display: flex; padding: 2px; background: #091522; border: 1px solid var(--line); border-radius: 6px; }.mini-filter button { padding: 4px 8px; font-size: 9px; }
.primary-button { border: 1px solid rgba(53,213,229,.38); background: linear-gradient(135deg, rgba(53,213,229,.18), rgba(92,157,255,.12)); color: #d9fbff; padding: 9px 14px; border-radius: 7px; font-size: 11px; cursor: pointer; box-shadow: 0 8px 20px rgba(13,102,119,.11); }.primary-button:hover { border-color: rgba(53,213,229,.65); }.primary-button.full { width: calc(100% - 32px); margin: 0 16px 16px; }
.score-summary { display: grid; grid-template-columns: repeat(3, 180px) 1fr; gap: 10px; margin-bottom: 12px; }.score-summary > div { min-height: 74px; display: grid; grid-template-columns: 8px 1fr auto; grid-template-rows: 1fr 1fr; column-gap: 9px; align-items: end; padding: 12px 14px; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; }.score-mark { grid-row: 1/3; align-self: center; width: 6px; height: 31px; border-radius: 4px; }.score-mark.critical { background: var(--red); }.score-mark.warning { background: var(--orange); }.score-mark.safe { background: var(--blue); }.score-summary strong { color: #a9bdce; font-size: 10px; }.score-summary b { grid-row: 1/3; font: 600 23px ui-monospace, monospace; align-self: center; }.score-summary small { color: #546d83; font-size: 9px; }.score-summary .model-info { display: flex; margin-left: auto; align-items: center; justify-content: space-between; }.model-info span, .model-info small { color: #617a90; font-size: 9px; }.model-info strong { color: var(--cyan); font: 500 11px ui-monospace, monospace; }
.correlation-card { margin-bottom: 12px; overflow: hidden; border-color: rgba(53,213,229,.2); }.correlation-counters { display: grid; grid-template-columns: repeat(4, 135px) 1fr; gap: 8px; padding: 0 16px 14px; align-items: stretch; }.correlation-counters > div { padding: 10px 12px; border: 1px solid var(--line-soft); background: rgba(5,14,24,.3); border-radius: 6px; }.correlation-counters span,.correlation-counters strong { display: block; }.correlation-counters span { color: #617a90; font-size: 8px; }.correlation-counters strong { margin-top: 6px; color: #d6e7f3; font: 600 16px ui-monospace, monospace; }.correlation-counters > small { display: flex; justify-content: flex-end; align-items: flex-end; color: #557086; font-size: 8px; }.correlation-table { border-top: 1px solid var(--line-soft); }.correlation-table td { vertical-align: middle; }.live-account strong,.live-account small { display: block; }.live-account strong { color: #d3e2ed; font-size: 10px; }.live-account small { margin-top: 4px; color: #5f7a90; font-size: 8px; }.reason-list { display: flex; flex-wrap: wrap; gap: 3px; max-width: 250px; }.reason-list span { padding: 2px 5px; border-radius: 4px; background: rgba(255,180,84,.08); color: #d9aa69; font-size: 7px; }.section-divider { height: 32px; display: flex; align-items: center; gap: 10px; color: #688198; font-size: 9px; }.section-divider i { height: 1px; flex: 1; background: var(--line); }.section-divider small { color: #4f677c; }
.toolbar { min-height: 58px; padding: 11px 14px; display: flex; align-items: center; gap: 12px; }.search { width: 260px; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); background: #091522; border-radius: 7px; color: #5d768c; }.search input { width: 100%; border: 0; outline: 0; background: transparent; color: #c4d5e3; font-size: 10px; }.search input::placeholder { color: #52697e; }.filter-tabs { display: flex; gap: 3px; }.result-count { margin-left: auto; color: #5b7389; font-size: 10px; }
.suspect-table td { padding-top: 13px; padding-bottom: 13px; }.risk-cell { display: flex; align-items: center; gap: 8px; }.risk-ring { --score: 0; --risk-color: var(--orange); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--risk-color) calc(var(--score) * 1%), #17283a 0); position: relative; }.risk-ring::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #0e1b2b; }.risk-ring b { position: relative; z-index: 1; color: #e5eff7; font: 600 10px ui-monospace, monospace; }.risk-level { display: grid; gap: 3px; }.risk-level span { color: #c5d5e3; }.risk-level small { font-size: 8px; color: #5c7489; }.account-cell strong,.account-cell small { display: block; }.account-cell strong { color: #cbdbe8; font-size: 10px; }.account-cell small { margin-top: 4px; color: #688198; font: 9px ui-monospace, monospace; }.label-mini { display: inline-block; margin-top: 4px; margin-right: 3px; padding: 2px 4px; color: #748da2; background: rgba(103,133,160,.08); border-radius: 3px; font-size: 8px; }.row-action { border: 0; background: transparent; color: var(--cyan); cursor: pointer; font-size: 10px; }
.head-stat { min-width: 170px; display: grid; grid-template-columns: 1fr auto; padding: 10px 14px; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; }.head-stat span { color: #72899e; font-size: 9px; }.head-stat strong { grid-row: 1/3; grid-column: 2; font: 600 24px ui-monospace, monospace; }.head-stat small { color: var(--green); font-size: 9px; }
.event-layout { grid-template-columns: minmax(0, 1.5fr) 340px; }.event-side { display: grid; gap: 12px; }.live-chip { display: flex; align-items: center; gap: 6px; color: var(--green); font: 9px ui-monospace, monospace; }.event-stream { min-height: 570px; }.event-item { display: grid; grid-template-columns: 66px 22px 1fr auto; gap: 9px; padding: 18px; border-top: 1px solid var(--line-soft); }.event-time { color: #5f788e; font: 9px ui-monospace, monospace; }.event-node { position: relative; }.event-node i { display: block; width: 8px; height: 8px; margin-top: 2px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,180,84,.08); }.event-node::after { content: ""; position: absolute; top: 15px; bottom: -30px; left: 3px; width: 1px; background: var(--line); }.event-item:last-child .event-node::after { display:none; }.event-item.紧急 .event-node i,.event-item.高 .event-node i { background: var(--red); box-shadow: 0 0 0 4px rgba(255,102,122,.08); }.event-copy strong { display: block; color: #d0deea; font-size: 11px; }.event-copy p { margin: 5px 0 0; color: #768ea3; font-size: 10px; }.event-copy small { display: block; margin-top: 7px; color: #506a80; font-size: 9px; }.event-rate { text-align: right; }.event-rate b { display: block; color: #bbcede; font: 500 10px ui-monospace, monospace; }.event-rate span { display: inline-block; margin-top: 8px; }
.policy-list { padding: 4px 14px 14px; }.policy-list > div { display: grid; grid-template-columns: 30px 1fr auto; gap: 9px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line-soft); }.policy-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: rgba(53,213,229,.08); color: var(--cyan); font: 600 10px ui-monospace, monospace; }.policy-list strong,.policy-list small { display: block; }.policy-list strong { font-size: 10px; color: #bdd0df; }.policy-list small { margin-top: 4px; font-size: 8px; color: #5a7288; }.policy-list em { color: var(--green); font-size: 9px; font-style: normal; }.policy-list em.manual { color: var(--orange); }
.resolution { padding: 0 16px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.resolution > strong { grid-column: 1/3; display: block; font: 600 34px ui-monospace, monospace; color: var(--green); }.resolution > span { grid-column: 1/3; margin-top: -8px; color: #71899f; font-size: 9px; }.resolution div { margin-top: 8px; padding: 11px; border: 1px solid var(--line-soft); border-radius: 6px; background: rgba(5,14,24,.28); }.resolution b,.resolution small { display: block; }.resolution b { font: 500 12px ui-monospace, monospace; }.resolution small { margin-top: 5px; color: #5d758b; font-size: 8px; }
.workflow { display: flex; align-items: center; justify-content: center; margin-bottom: 14px; padding: 16px; border: 1px solid var(--line); background: rgba(10,22,36,.7); border-radius: 9px; }.workflow > i { width: 48px; height: 1px; background: #20384e; }.workflow-step { min-width: 118px; display: grid; grid-template-columns: 27px 1fr; }.workflow-step b { grid-row: 1/3; width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #2a435a; border-radius: 50%; color: #5c758b; font: 500 8px ui-monospace, monospace; }.workflow-step span { color: #8197aa; font-size: 10px; }.workflow-step small { margin-top: 4px; color: #4d657b; font-size: 8px; }.workflow-step.complete b { border-color: rgba(64,217,162,.4); color: var(--green); background: rgba(64,217,162,.08); }.workflow-step.active b { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 14px rgba(53,213,229,.14); }.workflow-step.active span { color: #d4e5f2; }
.evidence-layout { grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); }.case-head { display: flex; align-items: center; justify-content: space-between; padding: 17px; border-bottom: 1px solid var(--line-soft); }.case-head > div { display: flex; align-items: center; gap: 12px; }.risk-score { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--red) 96%, #24374a 0); position: relative; color: white; font: 600 14px ui-monospace, monospace; }.risk-score::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--panel); }.risk-score::after { content: "96"; position: relative; }.case-head small { color: #60798e; font-size: 8px; }.case-head h2 { margin: 4px 0; font-size: 13px; }.case-head p { margin: 0; color: #758da2; font-size: 9px; }.evidence-preview { padding: 6px 17px 13px; }.evidence-mini { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }.evidence-mini:last-child { border-bottom: 0; }.evidence-mini > span { color: #5d758a; font: 9px ui-monospace, monospace; }.evidence-mini strong,.evidence-mini small { display: block; }.evidence-mini strong { font-size: 10px; color: #bacbd9; }.evidence-mini small { margin-top: 4px; color: #5e778d; font-size: 8px; }.evidence-mini em { color: #627b91; font: normal 8px ui-monospace, monospace; }
.guardrails { padding: 5px 17px 17px; }.guardrails > div { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line-soft); }.guardrails span { color: var(--cyan); font: 500 9px ui-monospace, monospace; }.guardrails strong { display: block; font-size: 10px; color: #bdcfdd; }.guardrails p { margin: 5px 0 0; color: #667f94; font-size: 9px; line-height: 1.55; }
.demo-label { color: #5f788e; font: 9px ui-monospace, monospace; letter-spacing: 1px; }.architecture-card { padding: 22px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(15,30,48,.96), rgba(8,18,31,.96)); border-radius: 9px; box-shadow: var(--shadow); }.arch-layer { display: grid; grid-template-columns: 120px 1fr; align-items: stretch; }.arch-layer > span { display: flex; align-items: center; justify-content: center; color: #71899f; font-size: 10px; background: rgba(4,13,23,.45); border: 1px solid var(--line); border-radius: 7px 0 0 7px; }.arch-layer > div { min-height: 66px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 9px; border: 1px solid var(--line); border-left: 0; border-radius: 0 7px 7px 0; }.arch-layer b { display: grid; place-items: center; padding: 10px; border: 1px solid var(--line-soft); background: rgba(16,32,51,.72); color: #a9bfce; border-radius: 5px; font-size: 10px; font-weight: 500; }.arch-layer.highlight > span { color: var(--cyan); border-color: rgba(53,213,229,.32); background: rgba(53,213,229,.06); }.arch-layer.highlight > div { border-color: rgba(53,213,229,.32); }.arch-layer.highlight b { color: #d7faff; border-color: rgba(53,213,229,.18); background: rgba(53,213,229,.07); }.arch-arrow { display: block; height: 24px; padding-left: 53px; color: #3a5a71; font-size: 15px; font-style: normal; }
.live-flow-card { margin-bottom: 12px; overflow: hidden; }.live-chip b { font: 500 9px ui-monospace, monospace; }.live-flow-summary { display: grid; grid-template-columns: 1fr 1.5fr; gap: 12px; padding: 2px 16px 14px; }.component-status { display: grid; gap: 7px; }.component-row { display: grid; grid-template-columns: 9px 84px 1fr auto; gap: 8px; align-items: center; min-height: 30px; padding: 0 10px; border: 1px solid var(--line-soft); background: rgba(5,14,24,.28); border-radius: 5px; }.component-row i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px rgba(64,217,162,.45); }.component-row.connecting i,.component-row.disabled i { background: var(--orange); box-shadow: none; }.component-row strong { color: #bbcfdd; font-size: 9px; }.component-row span { color: #60798e; font-size: 8px; }.component-row em { color: #4f697f; font: normal 8px ui-monospace, monospace; }.live-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }.live-counters > div { padding: 11px; border: 1px solid var(--line-soft); background: rgba(5,14,24,.28); border-radius: 5px; }.live-counters span,.live-counters strong,.live-counters small { display: block; }.live-counters span { color: #5e778d; font-size: 8px; }.live-counters strong { margin-top: 7px; color: #d6e7f3; font: 600 15px ui-monospace, monospace; }.live-counters small { margin-top: 5px; color: #496278; font-size: 7px; }.live-flow-table { border-top: 1px solid var(--line-soft); max-height: 240px; }.empty-cell { height: 68px; text-align: center; color: #506a80; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }.capability { min-height: 105px; display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; }.capability > span { min-width: 62px; color: var(--cyan); font: 600 18px ui-monospace, monospace; }.capability h3 { margin: 0; color: #c2d4e2; font-size: 11px; }.capability p { margin: 6px 0 0; color: #627a90; font-size: 9px; line-height: 1.55; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(1,7,13,.67); opacity: 0; visibility: hidden; transition: .22s ease; backdrop-filter: blur(2px); }.drawer-backdrop.open { opacity: 1; visibility: visible; }.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 31; width: min(620px, 92vw); background: #0a1625; border-left: 1px solid #243c52; box-shadow: -30px 0 80px rgba(0,0,0,.4); transform: translateX(101%); transition: transform .26s ease; }.drawer.open { transform: translateX(0); }.drawer-head { height: 92px; padding: 18px 22px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--line); }.drawer-head h2 { margin: 5px 0 3px; font-size: 17px; }.drawer-head p { margin: 0; color: #70899f; font-size: 10px; }.drawer-kicker { color: var(--cyan); font-size: 8px; letter-spacing: 1.6px; }.drawer-head button { width: 31px; height: 31px; border: 1px solid var(--line); background: var(--panel); color: #7b93a8; border-radius: 7px; font-size: 19px; cursor: pointer; }.drawer-scroll { height: calc(100% - 92px); padding: 18px 22px 30px; overflow-y: auto; }.drawer-loading { height: 200px; display: grid; place-items: center; color: #637c91; }.drawer-score { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 16px; background: linear-gradient(135deg, rgba(255,102,122,.08), rgba(13,26,42,.6)); border: 1px solid rgba(255,102,122,.2); border-radius: 8px; }.score-large { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; position: relative; background: conic-gradient(var(--red) calc(var(--score)*1%), #203346 0); }.score-large::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #0d1a2a; }.score-large div { position: relative; z-index: 1; text-align: center; }.score-large strong,.score-large small { display: block; }.score-large strong { font: 650 23px ui-monospace, monospace; }.score-large small { color: #738da3; font-size: 8px; }.drawer-score h3 { margin: 5px 0 7px; font-size: 13px; }.drawer-score p { margin: 0; color: #7b92a6; font-size: 10px; line-height: 1.55; }.drawer-labels { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 5px; }.drawer-labels span { padding: 3px 6px; color: #ffc172; background: rgba(255,180,84,.08); border: 1px solid rgba(255,180,84,.14); border-radius: 4px; font-size: 8px; }.section-title { margin: 20px 0 10px; display: flex; align-items: center; justify-content: space-between; }.section-title h3 { margin: 0; font-size: 11px; color: #c4d6e4; }.section-title small { color: #587187; font-size: 8px; }.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }.feature-box { padding: 11px; border: 1px solid var(--line-soft); background: rgba(5,14,24,.32); border-radius: 6px; }.feature-box span,.feature-box strong,.feature-box small { display: block; }.feature-box span { color: #668096; font-size: 8px; }.feature-box strong { margin-top: 5px; font: 500 12px ui-monospace, monospace; }.feature-box small { margin-top: 5px; color: #526a80; font-size: 8px; }.feature-box.danger strong { color: #ff8796; }.feature-box.warning strong { color: #ffc16f; }.drawer-chart { height: 150px; padding: 8px; border: 1px solid var(--line-soft); border-radius: 6px; }.evidence-list { border-left: 1px solid #294158; margin-left: 8px; padding-left: 17px; }.evidence-entry { position: relative; padding: 0 0 18px; }.evidence-entry::before { content: ""; position: absolute; left: -21px; top: 3px; width: 7px; height: 7px; border: 2px solid #0a1625; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 1px rgba(53,213,229,.3); }.evidence-entry > div { display: flex; justify-content: space-between; }.evidence-entry span { color: #60798f; font: 8px ui-monospace, monospace; }.evidence-entry em { color: #546e84; font: normal 8px ui-monospace, monospace; }.evidence-entry strong { display: block; margin-top: 5px; color: #b9ccda; font-size: 10px; }.evidence-entry p { margin: 5px 0 0; color: #6d869a; font-size: 9px; line-height: 1.55; }.action-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }.action-panel button { padding: 9px 5px; border: 1px solid var(--line); background: #0d1d2e; color: #8da5b8; border-radius: 6px; font-size: 9px; cursor: pointer; }.action-panel button:hover { color: var(--cyan); border-color: rgba(53,213,229,.36); }.action-panel button.danger { color: #ff8292; border-color: rgba(255,102,122,.22); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; min-width: 260px; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid rgba(64,217,162,.28); background: #0d211f; border-radius: 8px; box-shadow: 0 14px 40px rgba(0,0,0,.35); transform: translateY(90px); opacity: 0; transition: .25s ease; }.toast.show { transform: translateY(0); opacity: 1; }.toast > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: rgba(64,217,162,.1); }.toast strong,.toast small { display:block; }.toast strong { font-size: 10px; }.toast small { margin-top: 3px; color: #6f8a84; font-size: 8px; }
.collector-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }.collector-card { min-height: 92px; padding: 15px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(14,29,47,.94), rgba(8,18,31,.96)); border-radius: 8px; box-shadow: var(--shadow); }.collector-card span,.collector-card strong,.collector-card small { display: block; }.collector-card span { color: #617b91; font-size: 8px; letter-spacing: .7px; }.collector-card strong { margin-top: 11px; color: #d0e4f2; font: 600 15px ui-monospace, monospace; }.collector-card small { margin-top: 7px; color: #506a80; font-size: 8px; }.collector-card.status-card strong { color: var(--cyan); }
.ingest-layout { grid-template-columns: minmax(0, 1.55fr) 340px; }.ingest-editor-card { overflow: hidden; }.ingest-auth { display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 9px; padding: 0 16px 14px; }.ingest-auth label { height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 11px; border: 1px solid var(--line); background: #091522; border-radius: 6px; }.ingest-auth label span { color: #668096; font-size: 9px; white-space: nowrap; }.ingest-auth input { width: 100%; border: 0; outline: 0; background: transparent; color: #cae0ee; font: 10px ui-monospace, monospace; }.ingest-auth button { padding: 0 14px; border: 1px solid rgba(53,213,229,.28); background: rgba(53,213,229,.07); color: var(--cyan); border-radius: 6px; cursor: pointer; font-size: 9px; }.ingest-auth > small { grid-column: 1/-1; color: #536d82; font-size: 8px; }.ingest-auth > small.valid { color: var(--green); }.ingest-auth > small.invalid { color: var(--red); }
.ingest-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 16px; border-bottom: 1px solid var(--line-soft); }.ingest-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 47px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #60798e; cursor: pointer; }.ingest-tabs button b { font: 600 10px ui-monospace, monospace; }.ingest-tabs button span { font-size: 9px; }.ingest-tabs button.active { color: var(--cyan); border-bottom-color: var(--cyan); background: linear-gradient(0deg, rgba(53,213,229,.07), transparent); }
.ingest-editor-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 9px; }.ingest-editor-head strong,.ingest-editor-head small { display: block; }.ingest-editor-head strong { color: #c5d8e6; font-size: 10px; }.ingest-editor-head small { margin-top: 4px; color: #577086; font-size: 8px; }.ingest-editor-head > div:last-child { display: flex; gap: 6px; }.ingest-editor-head button,.file-button { display: inline-flex; align-items: center; padding: 6px 9px; border: 1px solid var(--line); background: #0c1a2a; color: #7790a5; border-radius: 5px; cursor: pointer; font-size: 8px; }.file-button input { display: none; }
#ingest-payload { display: block; width: calc(100% - 32px); min-height: 330px; margin: 0 16px; padding: 14px; resize: vertical; outline: none; border: 1px solid var(--line); background: #07121f; color: #a9c8d8; border-radius: 6px; font: 10px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; tab-size: 2; }.ingest-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 16px; }.ingest-footer > div:last-child { display: flex; gap: 7px; }.secondary-button { padding: 9px 13px; border: 1px solid var(--line); background: #0d1c2c; color: #839bad; border-radius: 7px; cursor: pointer; font-size: 10px; }.primary-button:disabled,.secondary-button:disabled,.ingest-auth button:disabled { opacity: .5; cursor: wait; }#ingest-validation { display: flex; align-items: center; gap: 7px; color: #60798e; font-size: 8px; }#ingest-validation i { width: 6px; height: 6px; border-radius: 50%; background: #597287; }#ingest-validation.valid { color: var(--green); }#ingest-validation.valid i { background: var(--green); box-shadow: 0 0 7px rgba(64,217,162,.45); }#ingest-validation.invalid { color: var(--red); }#ingest-validation.invalid i { background: var(--red); }
.ingest-side { display: grid; align-content: start; gap: 12px; }.ingest-guide { padding: 2px 16px 15px; }.ingest-guide > div { display: grid; grid-template-columns: 28px 1fr; gap: 9px; padding: 13px 0; border-top: 1px solid var(--line-soft); }.ingest-guide span { color: var(--cyan); font: 9px ui-monospace, monospace; }.ingest-guide strong { color: #bed1df; font-size: 10px; }.ingest-guide p { margin: 5px 0 0; color: #627b90; font-size: 9px; line-height: 1.55; }.ingest-source-status { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; padding: 0 15px 15px; }.ingest-source-status > div { padding: 11px; border: 1px solid var(--line-soft); background: rgba(5,14,24,.28); border-radius: 5px; }.ingest-source-status span,.ingest-source-status strong { display: block; }.ingest-source-status span { color: #60798e; font-size: 8px; }.ingest-source-status strong { margin-top: 6px; color: #d1e2ee; font: 600 14px ui-monospace, monospace; }.ingest-security { display: grid; grid-template-columns: 28px 1fr; gap: 9px; padding: 13px; border: 1px solid rgba(53,213,229,.18); background: rgba(53,213,229,.045); border-radius: 7px; }.ingest-security > span { color: var(--cyan); font-size: 17px; }.ingest-security strong { color: #bcd5df; font-size: 9px; }.ingest-security p { margin: 5px 0 0; color: #5f7c8e; font-size: 8px; line-height: 1.55; }
.ddos-live-card { margin-bottom: 12px; overflow: hidden; }
.ddos-summary { display: grid; grid-template-columns: 160px 160px 140px minmax(280px, 1fr); gap: 8px; padding: 0 16px 14px; }
.ddos-kpi,.bgp-guard { min-height: 70px; padding: 12px; border: 1px solid var(--line-soft); background: rgba(5,14,24,.28); border-radius: 6px; }
.ddos-kpi span,.ddos-kpi strong,.ddos-kpi small { display: block; }.ddos-kpi span { color: #647e93; font-size: 8px; }.ddos-kpi strong { margin-top: 8px; color: #d4e5f1; font: 600 14px ui-monospace, monospace; }.ddos-kpi small { margin-top: 5px; color: #4f687d; font-size: 7px; }
.bgp-guard { display: grid; grid-template-columns: 11px 1fr auto; gap: 10px; align-items: center; }.bgp-guard > i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }.bgp-guard.ready > i { background: var(--green); box-shadow: 0 0 8px rgba(64,217,162,.55); }.bgp-guard strong,.bgp-guard small { display:block; }.bgp-guard strong { color: #c6d9e7; font-size: 10px; }.bgp-guard small { margin-top: 5px; color: #5e788d; font-size: 8px; }.bgp-guard em { color: var(--orange); font: normal 8px ui-monospace, monospace; }.bgp-guard.ready em { color: var(--green); }
.ddos-table { border-top: 1px solid var(--line-soft); }.severity-badge { display: inline-block; min-width: 36px; padding: 4px 7px; text-align: center; border-radius: 4px; color: #ffc171; background: rgba(255,180,84,.1); font-size: 8px; }.severity-badge.critical { color: #ff8494; background: rgba(255,102,122,.1); }
.mitigation-actions { display: flex; gap: 5px; }.mitigation-button { padding: 6px 8px; border: 1px solid rgba(53,213,229,.25); background: rgba(53,213,229,.06); color: var(--cyan); border-radius: 5px; cursor: pointer; font-size: 8px; white-space: nowrap; }.mitigation-button:hover { background: rgba(53,213,229,.12); }.mitigation-button.danger { color: #ff8494; border-color: rgba(255,102,122,.28); background: rgba(255,102,122,.07); }.mitigation-button.withdraw { color: var(--orange); border-color: rgba(255,180,84,.25); background: rgba(255,180,84,.06); }
.mitigation-audit { padding: 0 16px 16px; border-top: 1px solid var(--line-soft); }.mitigation-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }.mitigation-entry { display: grid; grid-template-columns: 8px 1fr auto; gap: 9px; align-items: center; padding: 10px; border: 1px solid var(--line-soft); background: rgba(5,14,24,.24); border-radius: 5px; }.audit-dot { width: 6px; height: 6px; border-radius: 50%; background: #668096; }.audit-dot.active { background: var(--green); box-shadow: 0 0 7px rgba(64,217,162,.45); }.mitigation-entry strong,.mitigation-entry small { display: block; }.mitigation-entry strong { color: #bdcfdd; font-size: 9px; }.mitigation-entry small { margin-top: 4px; color: #567086; font-size: 8px; }.mitigation-entry time { color: #718a9e; text-align: right; font: 8px/1.5 ui-monospace, monospace; }.audit-empty { grid-column: 1/-1; padding: 18px; text-align: center; color: #526b81; font-size: 9px; }
@media (max-width: 1250px) { .sidebar { width: 198px; }.main { padding-left: 198px; }.top-grid { grid-template-columns: 1.55fr .75fr; }.page { padding-left: 20px; padding-right: 20px; }.ddos-summary { grid-template-columns: repeat(3, 1fr); }.bgp-guard { grid-column: 1/-1; }.collector-grid { grid-template-columns: repeat(2, 1fr); }.ingest-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
