/* ShopAccount Traffic Monitor v9 */
.traffic-monitor-v9 {
    --traffic-coral: #ef5b50;
    --traffic-coral-dark: #d94843;
    --traffic-blue: #3569d4;
    --traffic-green: #168663;
    --traffic-violet: #7758c7;
    --traffic-amber: #b36a10;
    --traffic-red: #d83d52;
    --traffic-ink: #172033;
    --traffic-muted: #68758b;
    --traffic-line: #e2e7ef;
    --traffic-soft: #f7f9fc;
    --traffic-surface: #fff;
    font-family: Manrope, Inter, "Segoe UI", sans-serif;
}
.traffic-page-head-v9 { align-items: flex-start; }
.traffic-head-actions-v9 { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.traffic-live-state-v9 {
    min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 7px 12px;
    color: var(--traffic-ink); background: #fff; border: 1px solid var(--traffic-line); border-radius: 11px;
}
.traffic-live-state-v9 > i {
    width: 8px; height: 8px; flex: 0 0 auto; background: var(--traffic-green); border-radius: 50%;
    box-shadow: 0 0 0 5px #e8f8f1; animation: traffic-pulse-v9 2.2s ease-out infinite;
}
.traffic-live-state-v9 small,.traffic-live-state-v9 b { display: block; white-space: nowrap; }
.traffic-live-state-v9 small { color: var(--traffic-muted); font-size: 9px; font-weight: 700; }
.traffic-live-state-v9 b { margin-top: 2px; font-size: 11px; }
.traffic-range-tabs-v9 { display: flex; padding: 4px; background: #f0f3f8; border-radius: 11px; }
.traffic-range-tabs-v9 a {
    min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 11px;
    color: #667288; border-radius: 8px; font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap;
}
.traffic-range-tabs-v9 a:hover { color: var(--traffic-coral-dark); background: #fff8f8; }
.traffic-range-tabs-v9 a.active { color: var(--traffic-coral-dark); background: #fff; box-shadow: 0 2px 8px rgba(38,49,73,.1); }
.traffic-alert-v9 {
    min-height: 42px; display: flex; align-items: center; gap: 9px; margin: -4px 0 14px; padding: 9px 12px;
    border: 1px solid; border-radius: 10px; font-size: 11px; font-weight: 700;
}
.traffic-alert-v9 .ui-icon { width: 16px; height: 16px; }
.traffic-alert-v9.success { color: #116d51; background: #eaf8f2; border-color: #bce8d7; }
.traffic-alert-v9.danger { color: #b72e43; background: #fff0f2; border-color: #ffc8d0; }

.traffic-window-rail-v9 {
    display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 15px; overflow: hidden;
    background: var(--traffic-surface); border: 1px solid var(--traffic-line); border-radius: 14px;
}
.traffic-window-v9 {
    position: relative; min-width: 0; min-height: 106px; display: flex; align-items: center; gap: 12px; padding: 16px;
    color: var(--traffic-ink); border-left: 1px solid var(--traffic-line); text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}
.traffic-window-v9:first-child { border-left: 0; }
.traffic-window-v9::after { content: ""; position: absolute; right: 15px; bottom: 0; left: 15px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.traffic-window-v9:hover { background: #fbfcfe; }
.traffic-window-v9.active { background: #fffafb; }
.traffic-window-v9.active::after { background: currentColor; }
.traffic-window-v9.coral { color: var(--traffic-coral-dark); }
.traffic-window-v9.blue { color: var(--traffic-blue); }
.traffic-window-v9.violet { color: var(--traffic-violet); }
.traffic-window-v9.green { color: var(--traffic-green); }
.traffic-window-icon-v9 {
    width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto;
    color: currentColor; background: color-mix(in srgb,currentColor 10%,white); border-radius: 11px;
}
.traffic-window-icon-v9 .ui-icon { width: 19px; height: 19px; }
.traffic-window-copy-v9 { min-width: 0; display: block; color: var(--traffic-ink); }
.traffic-window-copy-v9 > small { display: flex; align-items: center; gap: 6px; color: var(--traffic-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; }
.traffic-window-copy-v9 > small em { color: #9aa4b5; font-size: 8px; font-style: normal; font-weight: 650; text-transform: none; letter-spacing: 0; }
.traffic-window-copy-v9 > strong { display: block; margin-top: 6px; color: var(--traffic-ink); font-size: 25px; line-height: 1; letter-spacing: -.04em; }
.traffic-window-copy-v9 > span { display: flex; gap: 7px; margin-top: 8px; color: #8290a4; font-size: 8px; font-weight: 700; }
.traffic-window-copy-v9 > span b { font-weight: 750; white-space: nowrap; }
.traffic-window-copy-v9 > span .danger { color: var(--traffic-red); }

.traffic-panel-v9 { min-width: 0; background: #fff; border: 1px solid var(--traffic-line); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(33,46,73,.035); }
.traffic-panel-head-v9 {
    min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px;
    background: #fff; border-bottom: 1px solid var(--traffic-line);
}
.traffic-panel-head-v9 > div:first-child { min-width: 0; display: flex; align-items: center; gap: 10px; }
.traffic-panel-head-v9 h2 { margin: 0; color: var(--traffic-ink); font-size: 14px; line-height: 1.25; letter-spacing: -.015em; }
.traffic-panel-head-v9 p { margin: 4px 0 0; color: var(--traffic-muted); font-size: 9px; line-height: 1.4; }
.traffic-panel-head-v9 > mark {
    flex: 0 0 auto; padding: 6px 9px; color: #657187; background: #f1f4f8; border-radius: 7px;
    font-size: 9px; font-weight: 800;
}
.traffic-panel-head-v9 > mark.danger { color: #b82f43; background: #fff0f2; }
.traffic-panel-head-v9 > mark.success { color: #137153; background: #eaf8f2; }
.traffic-panel-icon-v9 {
    width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto;
    color: var(--traffic-coral-dark); background: #fff0f2; border-radius: 10px;
}
.traffic-panel-icon-v9.danger { color: #c43148; background: #ffecef; }
.traffic-primary-grid-v9 { display: grid; grid-template-columns: minmax(0,1fr) 286px; gap: 14px; margin-bottom: 14px; align-items: stretch; }
.traffic-chart-panel-v9 { min-height: 400px; }
.traffic-chart-panel-v9 .traffic-panel-head-v9 { flex-wrap: wrap; }
.traffic-chart-legend-v9 { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; color: #6f7b90; font-size: 8px; font-weight: 750; }
.traffic-chart-legend-v9 span { display: inline-flex; align-items: center; gap: 5px; }
.traffic-chart-legend-v9 i { width: 14px; height: 3px; border-radius: 2px; }
.traffic-chart-legend-v9 i.requests { background: var(--traffic-coral); }
.traffic-chart-legend-v9 i.visitors { background: var(--traffic-blue); }
.traffic-chart-legend-v9 i.errors { background: var(--traffic-red); }
.traffic-chart-legend-v9 i.suspicious { background: var(--traffic-amber); }
.traffic-chart-wrap-v9 { position: relative; min-height: 330px; padding: 5px 12px 8px 2px; }
.traffic-chart-v9 { width: 100%; height: 318px; overflow: visible; }
.traffic-chart-grid-v9 line { stroke: #e8ecf2; stroke-width: 1; vector-effect: non-scaling-stroke; }
.traffic-chart-grid-v9 text,.traffic-chart-label-v9 { fill: #8a95a8; font: 700 10px Manrope,Inter,sans-serif; }
.traffic-chart-area-v9 { fill: rgba(239,91,80,.07); }
.traffic-chart-line-v9 { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1500; animation: traffic-draw-v9 .9s ease-out both; }
.traffic-chart-line-v9.requests { stroke: var(--traffic-coral); }
.traffic-chart-line-v9.visitors { stroke: var(--traffic-blue); stroke-width: 2; }
.traffic-chart-point-v9 { stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.traffic-chart-point-v9.requests { fill: var(--traffic-coral); }
.traffic-chart-point-v9.visitors { fill: var(--traffic-blue); }
.traffic-chart-flag-v9.errors { fill: var(--traffic-red); }
.traffic-chart-flag-v9.suspicious { fill: var(--traffic-amber); }
.traffic-chart-empty-v9 { position: absolute; inset: 70px 15px 35px 55px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8a95a8; text-align: center; pointer-events: none; }
.traffic-chart-empty-v9 .ui-icon { width: 28px; height: 28px; color: #c4cad5; }
.traffic-chart-empty-v9 b { margin-top: 8px; color: #536078; font-size: 11px; }
.traffic-chart-empty-v9 span { margin-top: 4px; font-size: 9px; }

.traffic-health-v9 { background: #172136; color: #fff; border: 1px solid #26334a; border-radius: 14px; overflow: hidden; }
.traffic-health-v9 > header { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; border-bottom: 1px solid rgba(255,255,255,.09); }
.traffic-health-v9 h2 { margin: 0; font-size: 13px; }
.traffic-health-v9 header p { margin: 4px 0 0; color: #9da9bc; font-size: 8px; }
.traffic-health-live-v9 { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; color: #78ddb8; background: rgba(37,181,132,.12); border-radius: 7px; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.traffic-health-live-v9 i { width: 6px; height: 6px; background: #42c997; border-radius: 50%; }
.traffic-health-list-v9 { padding: 2px 14px; }
.traffic-health-list-v9 > div { min-height: 66px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.traffic-health-icon-v9 { width: 33px; height: 33px; display: grid; place-items: center; flex: 0 0 auto; color: #aeb9ca; background: rgba(255,255,255,.07); border-radius: 9px; }
.traffic-health-icon-v9.active { color: #7da8ff; background: rgba(80,121,218,.15); }
.traffic-health-icon-v9.success { color: #6dd5b0; background: rgba(38,171,125,.13); }
.traffic-health-icon-v9.warning { color: #ffc878; background: rgba(218,147,50,.14); }
.traffic-health-icon-v9.danger { color: #ff8897; background: rgba(223,69,91,.14); }
.traffic-health-list-v9 small,.traffic-health-list-v9 strong,.traffic-health-list-v9 em { display: block; }
.traffic-health-list-v9 small { color: #9ca9bc; font-size: 8px; }
.traffic-health-list-v9 strong { margin-top: 2px; color: #fff; font-size: 15px; }
.traffic-health-list-v9 em { margin-top: 2px; color: #748197; font-size: 7px; font-style: normal; }
.traffic-health-v9 > footer { display: flex; gap: 7px; padding: 11px 14px; color: #8f9cb1; background: rgba(0,0,0,.11); font-size: 7px; line-height: 1.5; }
.traffic-health-v9 > footer .ui-icon { width: 13px; height: 13px; flex: 0 0 auto; color: #ef8994; }

.traffic-insight-grid-v9 { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(360px,.75fr); gap: 14px; margin-bottom: 14px; align-items: start; }
.traffic-table-scroll-v9 { width: 100%; overflow-x: auto; overflow-y: visible; overscroll-behavior-x: contain; scrollbar-width: thin; }
.traffic-routes-table-v9 { width: 100%; min-width: 620px; border-collapse: collapse; table-layout: fixed; }
.traffic-routes-table-v9 th { height: 38px; padding: 0 12px; color: #7a869a; background: #f8f9fc; border-bottom: 1px solid var(--traffic-line); font-size: 8px; font-weight: 850; letter-spacing: .045em; text-align: left; text-transform: uppercase; }
.traffic-routes-table-v9 td { padding: 10px 12px; color: #4f5b70; border-bottom: 1px solid #edf0f5; font-size: 9px; vertical-align: middle; }
.traffic-routes-table-v9 tbody tr:last-child td { border-bottom: 0; }
.traffic-routes-table-v9 tbody tr:hover td { background: #fffafb; }
.traffic-routes-table-v9 th:first-child { width: 40%; }
.traffic-routes-table-v9 th:nth-child(2) { width: 66px; }
.traffic-routes-table-v9 th:nth-child(3),.traffic-routes-table-v9 th:nth-child(4) { width: 58px; }
.traffic-routes-table-v9 th:nth-child(5) { width: 58px; }
.traffic-routes-table-v9 th:nth-child(6) { width: 68px; }
.traffic-route-main-v9 { min-width: 0; display: flex; align-items: center; gap: 7px; }
.traffic-route-main-v9 code { min-width: 0; overflow: hidden; color: #263349; font: 700 9px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; text-overflow: ellipsis; white-space: nowrap; }
.traffic-routes-table-v9 td > small { display: block; margin-top: 4px; color: #98a2b2; font-size: 7px; }
.traffic-routes-table-v9 strong { color: var(--traffic-ink); font-size: 11px; }
.traffic-method-v9 { min-width: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 3px 5px; color: #536176; background: #eef1f5; border-radius: 5px; font: 850 7px/1.25 Manrope,sans-serif; }
.traffic-method-v9.get { color: #176b52; background: #e8f8f1; }
.traffic-method-v9.post { color: #315ebc; background: #edf3ff; }
.traffic-method-v9.put,.traffic-method-v9.patch { color: #95590d; background: #fff4dd; }
.traffic-method-v9.delete { color: #b52f43; background: #fff0f2; }
.traffic-kind-v9 { display: inline-flex; padding: 4px 6px; color: #5f6b7f; background: #f0f2f6; border-radius: 5px; font-size: 7px; font-weight: 800; }
.traffic-kind-v9.api { color: #315ebc; background: #edf3ff; }
.traffic-kind-v9.admin { color: #6d4db1; background: #f2edff; }
.traffic-kind-v9.page { color: #176b52; background: #e9f8f2; }
.traffic-rate-v9,.traffic-latency-v9 { font-weight: 750; }
.traffic-rate-v9.warning,.traffic-latency-v9.warning { color: var(--traffic-amber); }
.traffic-rate-v9.danger,.traffic-latency-v9.danger { color: var(--traffic-red); }
.traffic-empty-v9 { min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8c97a9; text-align: center; }
.traffic-empty-v9 .ui-icon { width: 25px; height: 25px; color: #bec6d2; }
.traffic-empty-v9 b { margin-top: 7px; color: #536078; font-size: 10px; }
.traffic-empty-v9 span { margin-top: 3px; font-size: 8px; }

.traffic-dimension-groups-v9 { display: grid; grid-template-columns: 1fr; }
.traffic-dimension-groups-v9 > section { padding: 13px 15px; border-top: 1px solid #edf0f5; }
.traffic-dimension-groups-v9 > section:first-child { border-top: 0; }
.traffic-dimension-groups-v9 h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 9px; color: #455166; font-size: 9px; text-transform: uppercase; letter-spacing: .035em; }
.traffic-dimension-groups-v9 h3 .ui-icon { width: 14px; height: 14px; color: var(--traffic-coral); }
.traffic-dimension-list-v9 { display: grid; gap: 8px; }
.traffic-dimension-list-v9 > div { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 8px; }
.traffic-dimension-list-v9 span { min-width: 0; display: flex; justify-content: space-between; gap: 8px; }
.traffic-dimension-list-v9 b { overflow: hidden; color: #405069; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.traffic-dimension-list-v9 small { color: #98a2b3; font-size: 7px; white-space: nowrap; }
.traffic-dimension-list-v9 strong { color: #536078; font-size: 8px; }
.traffic-dimension-list-v9 i { grid-column: 1/-1; height: 4px; overflow: hidden; background: #edf0f5; border-radius: 99px; }
.traffic-dimension-list-v9 i em { width: min(100%,var(--traffic-share)); height: 100%; display: block; background: linear-gradient(90deg,var(--traffic-coral),#f59b78); border-radius: inherit; }
.traffic-dimension-list-v9 p { margin: 3px 0; color: #929caf; font-size: 8px; }
@keyframes traffic-draw-v9 { from { stroke-dashoffset: 1500; } to { stroke-dashoffset: 0; } }
@keyframes traffic-pulse-v9 { 0%,100% { box-shadow: 0 0 0 4px rgba(22,134,99,.14); } 50% { box-shadow: 0 0 0 8px rgba(22,134,99,0); } }

.traffic-threats-panel-v9 { margin-bottom: 14px; }
.traffic-safe-state-v9 { min-height: 110px; display: flex; align-items: center; justify-content: center; gap: 13px; padding: 20px; }
.traffic-safe-state-v9 > span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--traffic-green); background: #e8f8f1; border-radius: 50%; }
.traffic-safe-state-v9 b { color: var(--traffic-ink); font-size: 11px; }
.traffic-safe-state-v9 p { max-width: 680px; margin: 4px 0 0; color: var(--traffic-muted); font-size: 9px; line-height: 1.55; }
.traffic-threat-list-v9 { padding: 0 16px; }
.traffic-threat-list-v9 > article { display: grid; grid-template-columns: 84px minmax(0,1fr) auto; gap: 14px; align-items: center; min-height: 96px; padding: 13px 0; border-bottom: 1px solid #edf0f5; }
.traffic-threat-list-v9 > article:last-child { border-bottom: 0; }
.traffic-threat-list-v9 > article.reviewed { opacity: .68; }
.traffic-threat-list-v9 > article.critical,.traffic-threat-list-v9 > article.high { box-shadow: inset 3px 0 0 #e24a5e; padding-left: 12px; }
.traffic-threat-score-v9 { text-align: center; }
.traffic-threat-score-v9 > strong { display: block; color: var(--traffic-ink); font-size: 21px; line-height: 1; }
.traffic-threat-score-v9 > small { display: block; margin-top: 2px; color: #929cad; font-size: 7px; }
.traffic-threat-score-v9 > mark { display: inline-flex; margin-top: 7px; padding: 4px 6px; color: #657187; background: #f0f2f6; border-radius: 5px; font-size: 7px; font-weight: 850; }
.traffic-threat-score-v9 > mark.low { color: #315ebc; background: #edf3ff; }
.traffic-threat-score-v9 > mark.medium { color: #95590d; background: #fff4dd; }
.traffic-threat-score-v9 > mark.high,.traffic-threat-score-v9 > mark.critical { color: #b52f43; background: #fff0f2; }
.traffic-threat-content-v9 { min-width: 0; }
.traffic-threat-line-v9,.traffic-threat-request-v9 { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.traffic-threat-line-v9 > code { color: #26354d; font: 800 10px ui-monospace,SFMono-Regular,Consolas,monospace; }
.traffic-threat-line-v9 time { margin-left: auto; color: #909bad; font-size: 8px; }
.traffic-current-ip-v9,.traffic-blocked-v9,.traffic-reviewed-v9 { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 5px; font-size: 7px; font-weight: 850; }
.traffic-current-ip-v9 { color: #315ebc; background: #edf3ff; }
.traffic-blocked-v9 { color: #b52f43; background: #fff0f2; }
.traffic-reviewed-v9 { color: #176b52; background: #e8f8f1; }
.traffic-blocked-v9 .ui-icon,.traffic-reviewed-v9 .ui-icon { width: 11px; height: 11px; }
.traffic-threat-request-v9 { margin-top: 8px; }
.traffic-threat-request-v9 > code { min-width: 0; max-width: min(720px,70vw); overflow: hidden; color: #344158; font: 700 9px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace; text-overflow: ellipsis; white-space: nowrap; }
.traffic-http-v9 { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; padding: 3px 5px; color: #546176; background: #eff2f6; border-radius: 5px; font-size: 7px; font-weight: 850; }
.traffic-http-v9.s2,.traffic-http-v9.s3 { color: #176b52; background: #e8f8f1; }
.traffic-http-v9.s4 { color: #95590d; background: #fff4dd; }
.traffic-http-v9.s5 { color: #b52f43; background: #fff0f2; }
.traffic-threat-content-v9 > p { margin: 7px 0 0; color: #be354a; font-size: 9px; font-weight: 700; line-height: 1.45; }
.traffic-threat-content-v9 > small { display: block; margin-top: 4px; color: #8e99ab; font-size: 8px; }
.traffic-threat-actions-v9 { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.traffic-threat-actions-v9 form { margin: 0; }
.traffic-action-button-v9 { min-height: 31px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 9px; border: 1px solid; border-radius: 8px; font: 800 8px Manrope,Inter,sans-serif; cursor: pointer; }
.traffic-action-button-v9 .ui-icon { width: 13px; height: 13px; }
.traffic-action-button-v9.neutral { color: #46546a; background: #fff; border-color: #dce2eb; }
.traffic-action-button-v9.warning { color: #95590d; background: #fff8e8; border-color: #f2d59c; }
.traffic-action-button-v9.danger { color: #b52f43; background: #fff0f2; border-color: #ffc7cf; }
.traffic-action-button-v9:hover:not(:disabled) { filter: brightness(.97); transform: translateY(-1px); }
.traffic-action-button-v9:disabled { opacity: .45; cursor: not-allowed; }

.traffic-visits-panel-v9 { overflow: hidden; }
.traffic-filter-v9 { display: grid; grid-template-columns: minmax(300px,1fr) 190px auto auto auto; gap: 8px; align-items: end; padding: 11px 13px; background: #fafbfe; border-bottom: 1px solid var(--traffic-line); }
.traffic-search-v9 { min-width: 0; height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: #fff; border: 1px solid #dce2eb; border-radius: 9px; transition: border-color .18s ease,box-shadow .18s ease; }
.traffic-search-v9:focus-within { border-color: var(--traffic-coral); box-shadow: 0 0 0 3px rgba(239,91,80,.1); }
.traffic-search-v9 > .ui-icon { width: 15px; height: 15px; color: #8b96a8; }
.admin-surface .traffic-monitor-v9 .traffic-search-v9 input { width: 100%; min-width: 0; height: 36px; margin: 0; padding: 0 !important; color: var(--traffic-ink); background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline: 0; font: 650 10px/1.4 Manrope,Inter,sans-serif; }
.traffic-search-v9 > a { width: 25px; height: 25px; display: grid; place-items: center; color: #8390a4; border-radius: 6px; }
.traffic-search-v9 > a:hover { color: var(--traffic-red); background: #fff0f2; }
.traffic-search-v9 > a .ui-icon { width: 13px; height: 13px; }
.traffic-select-v9 { display: block; color: #6c788d; font-size: 7px; font-weight: 800; }
.traffic-select-v9 > span { display: block; margin-bottom: 4px; }
.admin-surface .traffic-monitor-v9 .traffic-select-v9 select { width: 100%; height: 38px; margin: 0; padding: 0 9px; color: var(--traffic-ink); background: #fff; border: 1px solid #dce2eb; border-radius: 9px; outline: 0; font: 700 9px Manrope,Inter,sans-serif; }
.traffic-switch-v9 { min-height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 10px; color: #536078; background: #fff; border: 1px solid #dce2eb; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.traffic-switch-v9 > input { position: absolute; opacity: 0; pointer-events: none; }
.traffic-switch-v9 > span { position: relative; width: 31px; height: 18px; flex: 0 0 auto; background: #d4dae4; border-radius: 99px; transition: background .18s ease; }
.traffic-switch-v9 > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(32,42,61,.2); transition: transform .18s ease; }
.traffic-switch-v9 > input:checked + span { background: var(--traffic-coral); }
.traffic-switch-v9 > input:checked + span::after { transform: translateX(13px); }
.traffic-switch-v9 > input:focus-visible + span { outline: 3px solid rgba(239,91,80,.2); outline-offset: 2px; }
.traffic-switch-v9 b { font-size: 8px; }
.traffic-filter-button-v9,.traffic-reset-button-v9 { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border-radius: 9px; font: 800 8px Manrope,Inter,sans-serif; text-decoration: none; white-space: nowrap; }
.traffic-filter-button-v9 { color: #fff; background: var(--traffic-coral); border: 1px solid var(--traffic-coral); box-shadow: 0 5px 13px rgba(239,91,80,.17); }
.traffic-filter-button-v9:hover { background: var(--traffic-coral-dark); border-color: var(--traffic-coral-dark); }
.traffic-filter-button-v9 .ui-icon { width: 13px; height: 13px; }
.traffic-reset-button-v9 { color: #647086; background: #fff; border: 1px solid #dce2eb; }
.traffic-pager-top-v9 .table-pager { border-top: 0; border-bottom: 1px solid var(--traffic-line); background: #fff; }
.traffic-visits-table-v9 { width: 100%; min-width: 1120px; border-collapse: collapse; table-layout: fixed; }
.traffic-visits-table-v9 th { height: 39px; padding: 0 12px; color: #798599; background: #f8f9fc; border-bottom: 1px solid var(--traffic-line); font-size: 8px; font-weight: 850; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.traffic-visits-table-v9 td { padding: 11px 12px; color: #4d5a70; border-bottom: 1px solid #edf0f5; font-size: 9px; line-height: 1.45; vertical-align: top; overflow-wrap: anywhere; }
.traffic-visits-table-v9 tbody tr:last-child td { border-bottom: 0; }
.traffic-visits-table-v9 tbody tr:hover td { background: #fffafb; }
.traffic-visits-table-v9 tbody tr.suspicious td { background: #fffafb; }
.traffic-visits-table-v9 tbody tr.suspicious:hover td { background: #fff5f6; }
.traffic-visits-table-v9 th:nth-child(1) { width: 112px; }
.traffic-visits-table-v9 th:nth-child(2) { width: 164px; }
.traffic-visits-table-v9 th:nth-child(3) { width: 260px; }
.traffic-visits-table-v9 th:nth-child(4) { width: 120px; }
.traffic-visits-table-v9 th:nth-child(5) { width: 150px; }
.traffic-visits-table-v9 td > time b,.traffic-visits-table-v9 td > time span,.traffic-visits-table-v9 td > b,.traffic-visits-table-v9 td > span,.traffic-visits-table-v9 td > small { display: block; }
.traffic-visits-table-v9 td > time b { color: var(--traffic-ink); font-size: 10px; }
.traffic-visits-table-v9 td > time span,.traffic-visits-table-v9 td > small { margin-top: 3px; color: #909bad; font-size: 7px; }
.traffic-visits-table-v9 td > code { color: #28364e; font: 750 9px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace; }
.traffic-user-v9,.traffic-guest-v9 { width: fit-content; margin-top: 5px; padding: 3px 5px; border-radius: 5px; font-size: 7px; font-weight: 800; }
.traffic-user-v9 { display: inline-flex !important; align-items: center; gap: 4px; color: #315ebc; background: #edf3ff; }
.traffic-user-v9 .ui-icon { width: 10px; height: 10px; }
.traffic-guest-v9 { color: #6b778b; background: #f0f2f6; }
.traffic-request-cell-v9 { display: flex !important; align-items: center; gap: 6px; }
.traffic-path-v9 { max-width: 100%; display: block; margin-top: 5px; overflow: hidden; color: #3d4a60 !important; text-overflow: ellipsis; white-space: nowrap; }
.traffic-response-v9 { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; }
.traffic-response-v9 strong { color: #526077; font-size: 8px; white-space: nowrap; }
.traffic-response-v9 strong.warning { color: var(--traffic-amber); }
.traffic-response-v9 strong.danger { color: var(--traffic-red); }
.traffic-risk-v9 { display: inline-flex; margin-top: 6px; padding: 4px 6px; color: #b52f43; background: #fff0f2; border-radius: 5px; font-size: 7px; font-weight: 850; }
.traffic-visits-table-v9 td:nth-child(5) > b { color: var(--traffic-ink); font-size: 9px; }
.traffic-visits-table-v9 td:nth-child(5) > span { margin-top: 3px; color: #59667b; font-size: 8px; }
.traffic-referrer-v9 { max-width: 240px; overflow: hidden; color: #536078; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.traffic-visit-details-v9 { margin-top: 6px; }
.traffic-visit-details-v9 summary { width: fit-content; color: var(--traffic-blue); font-size: 8px; font-weight: 800; cursor: pointer; }
.traffic-visit-details-v9[open] summary { margin-bottom: 7px; }
.traffic-visit-details-v9 dl { width: min(430px,40vw); margin: 0; padding: 8px; background: #f7f9fc; border: 1px solid #e2e7ef; border-radius: 8px; }
.traffic-visit-details-v9 dl > div { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 7px; padding: 4px 0; border-top: 1px solid #e8ecf2; }
.traffic-visit-details-v9 dl > div:first-child { border-top: 0; }
.traffic-visit-details-v9 dt { color: #7c889b; font-size: 7px; font-weight: 800; }
.traffic-visit-details-v9 dd { margin: 0; color: #3f4d63; font: 650 7px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap: anywhere; }

@media (max-width:1250px) {
    .traffic-head-actions-v9 { align-items: flex-end; flex-direction: column; }
    .traffic-insight-grid-v9 { grid-template-columns: 1fr; }
    .traffic-dimension-groups-v9 { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .traffic-dimension-groups-v9 > section { border-top: 0; border-left: 1px solid #edf0f5; }
    .traffic-dimension-groups-v9 > section:first-child { border-left: 0; }
    .traffic-filter-v9 { grid-template-columns: minmax(280px,1fr) 180px auto auto; }
    .traffic-reset-button-v9 { grid-column: 4; }
}
@media (max-width:1020px) {
    .traffic-page-head-v9 { align-items: stretch; }
    .traffic-head-actions-v9 { align-items: stretch; }
    .traffic-live-state-v9 { align-self: flex-end; }
    .traffic-window-rail-v9 { grid-template-columns: 1fr 1fr; }
    .traffic-window-v9:nth-child(3) { border-left: 0; border-top: 1px solid var(--traffic-line); }
    .traffic-window-v9:nth-child(4) { border-top: 1px solid var(--traffic-line); }
    .traffic-primary-grid-v9 { grid-template-columns: 1fr; }
    .traffic-health-list-v9 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
    .traffic-health-list-v9 > div { border-bottom: 0; border-left: 1px solid rgba(255,255,255,.08); }
    .traffic-health-list-v9 > div:first-child { border-left: 0; }
    .traffic-health-v9 > footer { justify-content: center; }
    .traffic-filter-v9 { grid-template-columns: 1fr 1fr; }
    .traffic-search-v9 { grid-column: 1/-1; }
    .traffic-filter-button-v9,.traffic-reset-button-v9 { grid-column: auto; }
}
@media (max-width:760px) {
    .traffic-page-head-v9 { gap: 14px; }
    .traffic-head-actions-v9 { width: 100%; }
    .traffic-live-state-v9 { width: 100%; align-self: stretch; }
    .traffic-range-tabs-v9 { width: 100%; overflow-x: auto; scrollbar-width: thin; }
    .traffic-range-tabs-v9 a { flex: 1 0 auto; }
    .traffic-window-v9 { min-height: 96px; padding: 13px; }
    .traffic-window-icon-v9 { width: 34px; height: 34px; }
    .traffic-window-copy-v9 > strong { font-size: 21px; }
    .traffic-window-copy-v9 > span { flex-wrap: wrap; gap: 4px 7px; }
    .traffic-chart-panel-v9 { min-height: 340px; }
    .traffic-chart-wrap-v9 { min-height: 270px; overflow-x: auto; }
    .traffic-chart-v9 { min-width: 700px; height: 270px; }
    .traffic-chart-legend-v9 { width: 100%; justify-content: flex-start; }
    .traffic-health-list-v9 { grid-template-columns: 1fr 1fr; }
    .traffic-health-list-v9 > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
    .traffic-health-list-v9 > div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.08); }
    .traffic-dimension-groups-v9 { grid-template-columns: 1fr; }
    .traffic-dimension-groups-v9 > section { border-left: 0; border-top: 1px solid #edf0f5; }
    .traffic-dimension-groups-v9 > section:first-child { border-top: 0; }
    .traffic-threat-list-v9 > article { grid-template-columns: 62px minmax(0,1fr); gap: 10px; }
    .traffic-threat-actions-v9 { grid-column: 2; justify-content: flex-start; }
    .traffic-threat-line-v9 time { width: 100%; margin-left: 0; }
    .traffic-threat-request-v9 > code { max-width: calc(100vw - 190px); }
    .traffic-filter-v9 { grid-template-columns: 1fr; }
    .traffic-search-v9,.traffic-filter-button-v9,.traffic-reset-button-v9 { grid-column: auto; }
    .traffic-filter-button-v9,.traffic-reset-button-v9 { width: 100%; }
    .traffic-visits-head-v9 { align-items: flex-start; }
}
@media (max-width:480px) {
    .traffic-window-rail-v9 { grid-template-columns: 1fr; }
    .traffic-window-v9 { border-top: 1px solid var(--traffic-line); border-left: 0; }
    .traffic-window-v9:first-child { border-top: 0; }
    .traffic-window-v9:nth-child(2) { border-top: 1px solid var(--traffic-line); }
    .traffic-health-list-v9 { grid-template-columns: 1fr; }
    .traffic-health-list-v9 > div { border-top: 1px solid rgba(255,255,255,.08); border-left: 0; }
    .traffic-health-list-v9 > div:first-child { border-top: 0; }
    .traffic-panel-head-v9 { align-items: flex-start; }
    .traffic-panel-head-v9 > mark { margin-left: auto; }
    .traffic-safe-state-v9 { align-items: flex-start; }
    .traffic-threat-list-v9 { padding: 0 12px; }
    .traffic-threat-list-v9 > article { grid-template-columns: 1fr; }
    .traffic-threat-score-v9 { display: flex; align-items: center; gap: 6px; text-align: left; }
    .traffic-threat-score-v9 > strong { font-size: 17px; }
    .traffic-threat-score-v9 > small,.traffic-threat-score-v9 > mark { margin-top: 0; }
    .traffic-threat-actions-v9 { grid-column: auto; }
    .traffic-action-button-v9 { min-height: 34px; }
    .traffic-threat-request-v9 > code { max-width: calc(100vw - 120px); }
    .traffic-visit-details-v9 dl { width: 340px; max-width: 74vw; }
}
@media (prefers-reduced-motion:reduce) {
    .traffic-monitor-v9 *,.traffic-monitor-v9 *::before,.traffic-monitor-v9 *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
html[data-color-scheme="dark"] .traffic-monitor-v9 { --traffic-ink:#f3f6fb; --traffic-muted:#aab4c7; --traffic-line:#30394d; --traffic-soft:#131c2d; --traffic-surface:#182134; }
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-panel-v9,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-window-rail-v9,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-window-v9,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-panel-head-v9,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-live-state-v9,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-filter-v9,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-search-v9,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-select-v9 select,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-switch-v9,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-reset-button-v9,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-pager-top-v9 .table-pager { background:#182134; }
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-window-v9.active,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-routes-table-v9 tbody tr:hover td,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-visits-table-v9 tbody tr:hover td { background:#221e2a; }
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-routes-table-v9 th,
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-visits-table-v9 th { background:#131c2d; }
html[data-color-scheme="dark"] .traffic-monitor-v9 .traffic-visit-details-v9 dl { background:#131c2d; border-color:#30394d; }
