/* Shared light/dark switch. The existing light palette stays in pulse-theme.css. */
.pulse-theme-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-width:0;margin-left:auto}
.pulse-theme-actions>div{display:flex;align-items:center;gap:16px}
.pulse-theme-toolbar{display:flex;justify-content:flex-end;width:100%;margin:0 0 20px}
.auth-layout>.pulse-theme-toolbar{position:absolute;top:18px;right:24px;width:auto;margin:0}
.pulse-has-theme{gap:16px;min-height:54px;height:auto!important}
html body #pulse-theme-toggle.pulse-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:34px;width:auto;padding:6px 10px;border:1px solid #dedede!important;border-radius:8px;background:#f5f5f5!important;color:#444!important;font:500 11px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;white-space:nowrap;box-shadow:none!important}
html body #pulse-theme-toggle.pulse-theme-toggle:hover{background:#e8e8e8!important;border-color:#aaa!important}
.pulse-theme-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html body #pulse-theme-toggle.pulse-theme-toggle:focus-visible{outline:2px solid #888!important;outline-offset:3px}
@media(max-width:680px){.pulse-theme-actions,.pulse-theme-actions>div{gap:9px}.pulse-has-theme{gap:8px}.pulse-theme-toggle span{display:none}html body #pulse-theme-toggle.pulse-theme-toggle{width:34px;padding:6px}.pulse-theme-toolbar{margin-bottom:14px}.auth-layout>.pulse-theme-toolbar{right:18px;top:14px}}
@media print{.pulse-theme-toggle,.pulse-theme-toolbar{display:none!important}}

@media screen {
html#pulse-root[data-theme="dark"]{
 --dark-bg:#181818;--dark-panel:#232323;--dark-raised:#2b2b2b;--dark-field:#202020;
 --dark-text:#c8c8c8;--dark-muted:#a8a8a8;--dark-line:#3d3d3d;--dark-hover:#333;
 --dark-blue:#8cbdff;--dark-green:#68d8ad;--dark-amber:#f0c16b;--dark-red:#ff9494;
 --bg:var(--dark-bg);--ink:var(--dark-text);--navy:var(--dark-text);--muted:var(--dark-muted);--line:var(--dark-line);
 --ai-navy:var(--dark-text);--ai-muted:var(--dark-muted);--ai-border:var(--dark-line);--pulse-ui-line:var(--dark-line);
 background:var(--dark-bg)!important;color:var(--dark-text)!important;color-scheme:dark;
 scrollbar-color:#686868 #232323;
}
html#pulse-root[data-theme="dark"] body{background:var(--dark-bg)!important;color:var(--dark-text)!important}
html#pulse-root[data-theme="dark"] :is(main,.app-workspace,.ai-main){color:var(--dark-text)}
html#pulse-root[data-theme="dark"] :is(h1,h2,h3,h4,h5,h6){color:var(--dark-text)!important}
html#pulse-root[data-theme="dark"] :is(p,small,label,th,td,dt,dd,figcaption,.subtitle,.caption,.help,.field-help,.intro,.eyebrow,.sec-eyebrow,.fine-note,.muted){color:var(--dark-muted)!important}
html#pulse-root[data-theme="dark"] :is(.head-intro>p,.page-head>div>p,.panel-head p,.tools-heading>div>p:not(.eyebrow),.title>div>p,.auth-layout label,.tool-description small,.form-fields label,.form-identity p,.sec-page-head p){color:var(--dark-muted)!important}
html#pulse-root[data-theme="dark"] :is(strong,b){color:inherit}
html#pulse-root[data-theme="dark"] :is(a,summary){color:var(--dark-blue)}
html#pulse-root[data-theme="dark"] :is(table,thead,tbody,tr,th,td,details,hr,fieldset){border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] :is(.topbar,.internet-topbar,.ai-pagebar,.pagebar){background:#202020!important;color:var(--dark-text)!important;border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] :is(.topbar,.internet-topbar,.ai-pagebar) :is(a,span){color:inherit}
html#pulse-root[data-theme="dark"] :is(.card,.panel,.sec-panel,.sec-subpanel,.sec-kpi,.sec-summary,.sec-toolbar,.auth-card,.metrics,.operation-card,.traffic-summary-row,.kpis article,.snmp-kpis article,.device-details-content,.ai-chart,.ai-details-panel,.ai-thinking-body,.ai-overview,.equipment-entry,.monitored-summary>article){background:var(--dark-panel)!important;border-color:var(--dark-line)!important;color:var(--dark-text);box-shadow:0 3px 12px #00000012}
html#pulse-root[data-theme="dark"] :is(.tool-choice,.service-tile,.dns-tile,.device,.state,.metric-tile,.region,.sec-attention-card,.sec-attention-list>.sec-empty,.sec-baseline,.ai-answer-note,.sec-detail-chart,.sec-detail-facts>div,.sec-evidence div,.equipment-checks,.monitored-card){background:var(--dark-panel)!important;border-color:var(--dark-line)!important;color:var(--dark-text)}
html#pulse-root[data-theme="dark"] :is(.service-tile-title,.service-name-text strong,.service-name-text small,.country-table-wrap td:first-child,.brazil-panel td:first-child,.tool-choice strong,.device-name-block,.device-model strong,.metric-heading,.device-title,.status-running strong){color:var(--dark-text)!important}
html#pulse-root[data-theme="dark"] :is(.service-tile-latency-label,.dns-ip,.minor-count,.panel-note,.cadence,.origin-note,.history-controls,.form-footnote,.history-head>span,.chart-caption,.chart-key,.empty-cell,.route-summary,.empty-result,.auth-footer,.sec-overview-period,.sec-overview-meta,.bgp-footer-secondary,.traffic-footer-meta,#result-meta){color:var(--dark-muted)!important}
html#pulse-root[data-theme="dark"] :is(.metric strong,.metric-number,.operation-value,.operation-prefix-value,.service-ping,.service-tile-ping,.dns-ping,.history-stats strong,.health-ring strong,.health-legend strong,.national-latency,.international-latency,.sec-quick-value,.sec-kpi strong,.kpis strong,.volume-value,.unified-total-value){color:var(--dark-text)}
html#pulse-root[data-theme="dark"] :is(.period-combined,.sec-period-combined,.period-control,.query-period,.refresh-controls,.sec-refresh-controls,.sec-period-display,.sec-period-field,.origin-bar,.view-buttons,.page-tabs a,.history-chart,.chart-empty,.ai-form,.network-state,.time-context,.activation-panel,.result,.empty,.setup){background:var(--dark-raised)!important;border-color:var(--dark-line)!important;color:var(--dark-text)!important}
html#pulse-root[data-theme="dark"] :is(input,select,textarea){background:var(--dark-field)!important;color:var(--dark-text)!important;border-color:#505050!important;box-shadow:none!important}
html#pulse-root[data-theme="dark"] input::placeholder,html#pulse-root[data-theme="dark"] textarea::placeholder{color:#aaa!important;opacity:1}
html#pulse-root[data-theme="dark"] :is(input,select,textarea):focus{border-color:#aaa!important;box-shadow:0 0 0 3px #ffffff15!important}
html#pulse-root[data-theme="dark"] :is(a,button,summary,input,select,textarea):focus-visible{outline-color:#b8b8b8!important}
html#pulse-root[data-theme="dark"] :is(input[type=checkbox],input[type=radio]){accent-color:#d4d4d4!important}
html#pulse-root[data-theme="dark"] :is(button,.button){color:var(--dark-text);border-color:var(--dark-line);background:var(--dark-raised)}
html#pulse-root[data-theme="dark"] :is(.secondary,.text-button,.small-link,.text-link,.internet-help,.equipment-link,.country-sort,.state-sort,.country-pager button,.internet-controls button,.refresh-button,.sec-sort-button,.sec-toolbar button,.sec-pages button,.sec-events-table button,.sec-attention-card button,.sec-events-heading-actions button,.sec-coverage-results button,.operation-title-button,.ai-key-dialog a,.ai-activate,.quick-primary,.whois-raw summary,.sec-more-filters summary){color:var(--dark-text)!important;border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] :is(.secondary,.country-pager button,.refresh-button,.sec-toolbar button,.sec-pages button,.sec-events-table button,.sec-attention-card button,.sec-events-heading-actions button,.sec-coverage-results button,.ai-activate,.quick-primary){background:var(--dark-raised)!important}
html#pulse-root[data-theme="dark"] :is(.primary,.primary-button,.sec-link,.sec-quick-link,.sec-toolbar .sec-apply,.ai-form button,.ai-key-dialog button[type=submit]),html#pulse-root[data-theme="dark"] :is(.provider-app,.platform-app,.equipment-app) button:not(.secondary):not(.text-button):not(.equipment-entry),html#pulse-root[data-theme="dark"] .tools-app button.primary{background:#a8a8a8!important;color:#202020!important;border-color:#a8a8a8!important;box-shadow:none!important}
html#pulse-root[data-theme="dark"] :is(.primary,.primary-button,.sec-link,.sec-quick-link,.sec-toolbar .sec-apply,.ai-form button,.ai-key-dialog button[type=submit]):hover:not(:disabled),html#pulse-root[data-theme="dark"] .tools-app button.primary:hover:not(:disabled){background:#b8b8b8!important;border-color:#b8b8b8!important}
html#pulse-root[data-theme="dark"] :is(.secondary,.country-pager button,.view-buttons button,.sec-sort-button,.refresh-button,.sec-toolbar button:not(.sec-apply),.sec-pages button):hover:not(:disabled){background:#3b3b3b!important;border-color:#666!important}
html#pulse-root[data-theme="dark"] :is(.period-calendar,.period-control,.period-label,.query-period,.auto-refresh,.sec-auto-refresh,.sec-time-window,.country-sort span,.state-sort span,.country-sort.selected,.state-sort.selected,.country-sort.active,.state-sort.active,.sec-sort-button.selected,.view-buttons button[aria-pressed=true],.page-tabs a){color:var(--dark-text)!important}
html#pulse-root[data-theme="dark"] :is(.view-buttons button[aria-pressed=true],.auto-refresh:has(input:checked),.sec-auto:has(input:checked),.sec-auto-refresh:has(input:checked),.tool-choice.selected,.sec-quick-navigate[aria-expanded=true],.equipment-entry.active,.unified-link-stat.is-selected){background:#353535!important;border-color:#777!important;box-shadow:0 0 0 1px #ffffff12}
html#pulse-root[data-theme="dark"] :is(.tool-choice:hover,.dns-tile:hover,.service-tile:hover,.equipment-entry:hover,.sec-quick-navigate:hover,.history-panel tbody tr:hover,.table-panel tbody tr:hover,.brazil-panel tbody tr:hover,.country-table-wrap tr.is-country-hovered td,.state-list-wrap tr.is-state-hovered td,.sec-events-table tbody tr:hover,.sec-entity-trigger:hover,.sec-entity-event-list li button:hover){background:var(--dark-hover)!important;border-color:#686868!important}
html#pulse-root[data-theme="dark"] .tools-app :is(.tool-choice,.panel,.origin-bar){border-color:var(--dark-line)}
html#pulse-root[data-theme="dark"] .tools-app .tool-arrow{background:#303030;color:#ddd!important;border-color:#505050}
html#pulse-root[data-theme="dark"] .tools-app .selected .tool-arrow{background:#a8a8a8;color:#222!important;border-color:#a8a8a8}
html#pulse-root[data-theme="dark"] .tools-app .tool-symbol{color:white}
html#pulse-root[data-theme="dark"] :is(.help-box,.origin-icon,.summary-icon,.operation-icon,.section-role-icon,.step>span,.step-number,.device-router-icon,.ai-thinking-avatar,.state-emblem,.sec-detail-intro,.sec-hypothesis,.sec-reviewed-note,.sec-attention-flags span,.sec-detail-status span,.sec-detail-step){background:var(--dark-raised)!important;color:var(--dark-text)!important;border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] :is(.help-box svg,.ai-input-icon,.ai-suggestions button svg,.summary-icon,.operation-icon){color:var(--dark-text)!important}
html#pulse-root[data-theme="dark"] :is(.sec-overview,.sec-summary-lead){background:#202020!important;border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] :is(.sec-quick-card,.sec-quick-attention,.sec-overview .sec-quick-results-slot>.sec-panel,.sec-technical,.sec-quick-icon:not(.sec-quick-severity):not(.sec-quick-coverage)){background:var(--dark-raised)!important;border-color:var(--dark-line)!important;color:var(--dark-text)}
html#pulse-root[data-theme="dark"] :is(.sec-events-table .sec-sort-head th,.sec-events-table thead tr.sec-sort-head,.ai-answer-table th){background:#2d2d2d!important;color:var(--dark-text);border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] :is(.sec-quick-results-slot,.sec-quick-navigate::after,.sec-quick-icon){border-color:var(--dark-line)}
html#pulse-root[data-theme="dark"] .sec-events-table .sec-sort-button.selected{box-shadow:inset 0 -2px #ccc}
html#pulse-root[data-theme="dark"] :is(pre,code,.code,.finding pre,.labels span,.whois-raw pre,.ai-message.assistant code,.ai-message.assistant .ai-router-configuration){background:#1d1d1d!important;color:var(--dark-text)!important;border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] :is(dialog,.dialog-head,.sec-dialog-head,.map-tooltip,.tooltip,.link-chart-tooltip,.sec-shared-tooltip){background:#292929!important;color:var(--dark-text)!important;border-color:#555!important;box-shadow:0 12px 36px #0007}
html#pulse-root[data-theme="dark"] dialog::backdrop{background:#0009}
html#pulse-root[data-theme="dark"] :is(dialog,.map-tooltip,.tooltip,.link-chart-tooltip,.sec-shared-tooltip) :is(p,small,span,th,td){color:var(--dark-muted)}
html#pulse-root[data-theme="dark"] :is(.ai-welcome,.ai-message,.ai-message.assistant,.ai-chart figcaption,.ai-chart-metric>b){color:var(--dark-text)!important}
html#pulse-root[data-theme="dark"] :is(.ai-suggestions button,.ai-suggestions button svg,.ai-chart-group>small,.ai-chart-metric>span:first-child,.ai-chart-caption,.ai-message time,.ai-context-links,.ai-thinking-body){color:var(--dark-muted)!important}
html#pulse-root[data-theme="dark"] .ai-suggestions button{background:transparent!important}
html#pulse-root[data-theme="dark"] .ai-suggestions button:hover{background:var(--dark-raised)!important;color:var(--dark-text)!important}
html#pulse-root[data-theme="dark"] .ai-form textarea{background:transparent!important}
html#pulse-root[data-theme="dark"] .ai-message.user{background:#2d2d2d!important}
html#pulse-root[data-theme="dark"] .ai-thinking-dots i{background:#ccc}
html#pulse-root[data-theme="dark"] .ai-answer-table tr:nth-child(even) td{background:#292929}
html#pulse-root[data-theme="dark"] :is(.ai-answer-table,.ai-chart,.ai-answer-note){border-color:var(--dark-line)}
html#pulse-root[data-theme="dark"] .ai-answer-status.is-normal{--answer-color:#75deb4;--answer-badge-bg:#193d2e}
html#pulse-root[data-theme="dark"] .ai-answer-status.is-warning{--answer-color:#f2cb81;--answer-badge-bg:#47371c}
html#pulse-root[data-theme="dark"] .ai-answer-status.is-critical{--answer-color:#ffacac;--answer-badge-bg:#502a2a}
html#pulse-root[data-theme="dark"] .ai-answer-status.is-unknown{--answer-color:#c3cbd6;--answer-badge-bg:#353b44}
html#pulse-root[data-theme="dark"] .ai-answer-status.is-info{--answer-color:#acd0ff;--answer-badge-bg:#233c5b}
/* Status meaning is kept, with dark tinted surfaces and brighter foregrounds. */
html#pulse-root[data-theme="dark"] :is(.safe,.internet-safe,.ai-readonly,.pill.online,.pill.completed,.state-pill.normal,.chip.ok,.state.ok,.status-pill.normal,.sec-health,.network-state[data-state=normal]){background:#20362d!important;color:var(--dark-green)!important;border-color:#365e4b!important}
html#pulse-root[data-theme="dark"] :is(.notice,.warning,.state.warn,.chip.warn,.state-pill.attention,.state-pill.degraded,.state-pill.insufficient_targets,.state-pill.insufficient_data,.status-pill.down,.status-pill.busy,.pill.failed,.pill.expired,.sec-badge.moderate,.sec-caution,.pipeline-alert,.ai-notices,.request-notice,.coverage-unavailable,.sec-health.stale,.sec-health.partial,.network-state[data-state=warning]){background:#3b301d!important;color:var(--dark-amber)!important;border-color:#695330!important}
html#pulse-root[data-theme="dark"] :is(.notice.error,.error,.message.error,.danger,.state-pill.unavailable,.sec-badge.high,.sec-badge.critical,.coverage-unavailable.disconnected,.sec-health.attention,.network-state[data-state=problem]){background:#3d2424!important;color:var(--dark-red)!important;border-color:#754545!important}
html#pulse-root[data-theme="dark"] :is(.sec-badge.low,.sec-badge.informational,.coverage-unavailable.syncing,.pill.running,.pill.queued,.ai-answer-note,.badge,.chip,.count-pill,.coverage-badge,#message:not(.error)){background:#29333e;color:#b8d4ef;border-color:#435467}
html#pulse-root[data-theme="dark"] :is(.sec-quick-severity.moderate,.sec-quick-coverage.is-warning,.sec-health.stale .sec-health-icon){background:#49391e!important;color:var(--dark-amber)!important}
html#pulse-root[data-theme="dark"] :is(.sec-quick-severity.high,.sec-quick-severity.critical,.sec-health.attention .sec-health-icon){background:#482929!important;color:var(--dark-red)!important}
html#pulse-root[data-theme="dark"] :is(.sec-quick-coverage,.sec-health-icon){background:#233d30!important;color:var(--dark-green)!important}
html#pulse-root[data-theme="dark"] :is(.collector-health.ok,.sec-collector.ok,.internet-agent-status[data-state=online] time,.device-presence.ok,.positive,.green,.ok-text,.normal-text,.ai-health-pill.is-normal,.operation-state.ok){color:var(--dark-green)!important}
/* Match the status halos to a dark surface instead of the light theme rings. */
html#pulse-root[data-theme="dark"] .service-tile .service-tile-health{box-shadow:0 0 0 3px #21ad7226}
html#pulse-root[data-theme="dark"] .service-tile.unavailable .service-tile-health{box-shadow:0 0 0 3px #e05b5426}
html#pulse-root[data-theme="dark"] .service-tile.no_data .service-tile-health{box-shadow:0 0 0 3px #9badbe26}
html#pulse-root[data-theme="dark"] .live-dot{box-shadow:0 0 0 4px #14bf7526}
html#pulse-root[data-theme="dark"] :is(.collector-health.error,.sec-collector.error,.internet-agent-status[data-state=offline] time,.negative,.critical,.ai-health-pill.is-problem,.operation-state.error){color:var(--dark-red)!important}
html#pulse-root[data-theme="dark"] :is(.warning-text,.amber,.ai-health-pill.is-warning,.device-resource-warning,.bgp-footer-status.unconfirmed){color:var(--dark-amber)!important}
/* Chart series and map data colors retain their identity. Only canvas, axes and grids change. */
html#pulse-root[data-theme="dark"] :is(.world-map,.brazil-map,.history-chart,.traffic-app .geo-panel,.traffic-app .geo-panel .ranking,.traffic-app .geo-panel .map-switch){background:var(--dark-panel)!important;--geo-background:var(--dark-panel);--geo-text:var(--dark-text);--geo-muted:var(--dark-muted)}
html#pulse-root[data-theme="dark"] .traffic-app .geo-panel #world svg.geo-world>rect{fill:var(--dark-panel)}
html#pulse-root[data-theme="dark"] :is(svg text,.chart text){fill:#bcbcbc!important}
html#pulse-root[data-theme="dark"] :is(.chart .grid,svg [stroke="#e3ebf4"],svg [stroke="#edf1f7"],svg [stroke="#e5edf5"],svg [stroke="#edf2f8"],svg [stroke="#e6edf5"]){stroke:#3b3b3b!important}
html#pulse-root[data-theme="dark"] :is(.chart-empty,.sec-time-bars,.sec-time-plot-traffic){background:repeating-linear-gradient(to top,transparent 0,transparent 40px,#363636 40px,#363636 41px)!important}
html#pulse-root[data-theme="dark"] :is(.sec-donut>div,.health-ring>div){background:var(--dark-panel)!important;color:var(--dark-text)}
html#pulse-root[data-theme="dark"] :is(.bar-track,.link-share,.unified-share-track,.operation-progress>span,.operation-prefix-track,.device-resource-track,.sec-type-bar-track,.sec-entity-track,.sec-profile-meter,.sec-baseline-track,.sec-horizontal-track,.region-meter,.progress,.ai-chart-track,.track){background:#393939!important}
html#pulse-root[data-theme="dark"] :is(.metric,.chart-chips span){background:#292929!important;border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] :is(.chart-chips,.metric span:not(.metric-icon),.metric small,.chart-key,.geo-scale,.geo-map-note){color:var(--dark-muted)!important}
html#pulse-root[data-theme="dark"] .bgp-global-footer{border-color:var(--dark-line);color:var(--dark-text)}
html#pulse-root[data-theme="dark"] .bgp-footer-primary>*+*::before{color:#aaa}
html#pulse-root[data-theme="dark"] .bgp-footer-audit{color:var(--dark-blue)}
html#pulse-root[data-theme="dark"] .bgp-footer-audit.attention{color:var(--dark-red)}
/* Transparent service symbols adapt to the card; QR codes retain their white contrast. */
html#pulse-root[data-theme="dark"] :is(.service-logo,.dns-logo){background:var(--dark-panel)!important;border-color:var(--dark-line)!important;box-shadow:none}
html#pulse-root[data-theme="dark"] :is(.service-logo,.dns-logo):is([src$="/apple.svg"],[src$="/chatgpt.svg"],[src$="/claude.svg"]){background:transparent!important;border-color:transparent!important;filter:brightness(0) invert(.85)}
html#pulse-root[data-theme="dark"] :is(.organization-logo img,.qr-frame){background:white!important}
html#pulse-root[data-theme="dark"] body #pulse-theme-toggle.pulse-theme-toggle{background:#303030!important;color:var(--dark-text)!important;border-color:#555!important}
html#pulse-root[data-theme="dark"] body #pulse-theme-toggle.pulse-theme-toggle:hover{background:#3b3b3b!important;border-color:#888!important}

/* Secondary labels and live timestamps retain contrast on every panel. */
html#pulse-root[data-theme="dark"] :is(.map-legend,.brazil-legend,.collector-interval,.sec-collector-interval,.source,.chart-legend,.unified-legend,.sec-period-label,.sec-title-muted,.sec-event-key,.sec-filter-label,.sec-overview-updated,.sec-time-axis,.sec-time-scale,.sec-entity-type,.sec-type-bar-values,.sec-severity-legend,.live-label,.chart-detail,.entry-status,.legend,.caption,.help,.intro,.install-steps li){color:var(--dark-muted)!important}
html#pulse-root[data-theme="dark"] :is(.internet-agent-status,.sec-header-range,.sec-quick-label,.sec-entity-rank,.sec-address,.sec-type-bar-name,.sec-type-bar-values strong,.sec-entity-value,.live-title,.map-switch button,.bgp-activity-panel h2>.icon){color:var(--dark-text)!important}
html#pulse-root[data-theme="dark"] :is(.collector-health.ok time,.sec-collector.ok time,.internet-agent-status[data-state=online] time,.check-ok){color:var(--dark-green)!important}
html#pulse-root[data-theme="dark"] :is(.collector-health.error time,.sec-collector.error time){color:var(--dark-red)!important}
html#pulse-root[data-theme="dark"] .check-wait{color:var(--dark-amber)!important}
html#pulse-root[data-theme="dark"] :is(.collection-toolbar,.operation-note,.operation-note.error){background:transparent!important}
html#pulse-root[data-theme="dark"] :is(.history-panel tbody tr.selected,.map-switch button[aria-pressed=true],.bgp-activity-panel h2>.icon){background:#353535!important;border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] .map-switch button[aria-pressed=false]{background:transparent!important}
html#pulse-root[data-theme="dark"] :is(.pill.cancelled,.pill.offline){background:#353535!important;color:#ccc!important}
html#pulse-root[data-theme="dark"] :is(.chart-actions,.bgp-activity-footer,.traffic-foot,.metric-detail){border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] .ai-form button svg{stroke:currentColor}
html#pulse-root[data-theme="dark"] :is(summary,#admin-platform-link){color:var(--dark-text)!important}
html#pulse-root[data-theme="dark"] :is(.app-skip,.skip):focus{background:#ededed!important;color:#202020!important}

html#pulse-root[data-theme="dark"] :is(.map-key,.country-pager,.history-stats span,.unified-direction-key,.operation-prefixes span,#sec-overview-updated,.sec-entity-header,.sec-donut-legend li,.install li){color:var(--dark-muted)!important}
html#pulse-root[data-theme="dark"] :is(.bgp-event-name,.sec-type-total){color:var(--dark-text)!important}
html#pulse-root[data-theme="dark"] .in{color:var(--dark-green)!important}
html#pulse-root[data-theme="dark"] .out{color:var(--dark-blue)!important}
html#pulse-root[data-theme="dark"] .period-calendar{stroke:currentColor!important}
html#pulse-root[data-theme="dark"] .history-chart .grid{stroke:#414141!important}
html#pulse-root[data-theme="dark"] :is(.unified-direction-key i,.operation-prefixes>div+div,.sec-entity-header,.chart-actions,.link-traffic-section,footer){border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] .unified-direction-key i{border-color:#bcbcbc!important}
html#pulse-root[data-theme="dark"] .world-map path:not([data-monitored="true"]){fill:#4d5861;stroke:#727b82}

html#pulse-root[data-theme="dark"] :is(.unified-total-control>span:first-child,.section-kicker,.region-stats){color:var(--dark-muted)!important}
html#pulse-root[data-theme="dark"] .device-status.good{color:var(--dark-green)!important}
html#pulse-root[data-theme="dark"] :is(.text-button,.operation-title-button,.country-sort,.state-sort,.sec-sort-button,.ai-icon-button){background:transparent!important}

html#pulse-root[data-theme="dark"] :is(.composition-ring-legend li,.rank-label,.unified-tip-link,.unified-tip-meta){color:var(--dark-text)!important}
html#pulse-root[data-theme="dark"] :is(.unified-link-summary,.unified-link-stat,.chart-caption,.link-traffic-section,.unified-link-share){border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] .traffic-app .geo-panel :is(.rank-label:hover,tr.geo-active){background:var(--dark-hover)!important}

html#pulse-root[data-theme="dark"] :is(.sec-type-bar,.sec-type-breakdown,.sec-entity-list li,.sec-entity-more .sec-entity-list,.sec-profile-note,.sec-profile-details,.sec-technical-metrics,.sec-technical-metric,.sec-compare-content,.sec-time-plot-traffic,.sec-time-slot){border-color:var(--dark-line)!important}
html#pulse-root[data-theme="dark"] .sec-quick-navigate::after{border-color:#b3b3b3}
/* Clickable ranking rows share their card surface. Preserve focus and text hover cues. */
html#pulse-root[data-theme="dark"] .traffic-app :is(.snmp-link,.rank-label,.ip-row){background:transparent!important}
html#pulse-root[data-theme="dark"] .traffic-app :is(.snmp-link,.network-item,.ip-row){border-color:var(--dark-line)!important}
}
