.engagement-route .dashboard-header { gap:24px; }
.engagement-route .header-right { align-items:flex-end; }
.engagement-route .product-nav { max-width:100%; overflow-x:auto; }
.engagement-route .product-nav-link { flex-shrink:0; white-space:nowrap; }
.engagement-route .page-nav { margin-top:-8px; margin-bottom:24px; }
.engagement-route [hidden] { display:none !important; }
.engagement-route .eng-filter-card { padding:20px; border:1px solid var(--border); border-radius:var(--radius); background:var(--bg-card); }
.eng-filter-top,.eng-traffic,.eng-panel-header,.eng-table-controls,.eng-table-footer { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.eng-traffic { justify-content:flex-start; }
.eng-label,.eng-inline-label { color:var(--text-secondary); font-size:12px; }
.eng-inline-label { display:flex; align-items:center; gap:8px; }
.eng-text-button { border:0; padding:5px 0; color:#9eb8ff; background:none; font:inherit; font-size:12px; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.eng-text-button:hover { color:#fff; }
.eng-filters { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin-top:18px; }
.eng-filter { position:relative; min-width:0; }
.eng-filter > summary { list-style:none; border:1px solid var(--border); border-radius:8px; padding:10px 12px; cursor:pointer; background:var(--bg-primary); }
.eng-filter > summary::-webkit-details-marker { display:none; }
.eng-filter[open] > summary { border-color:var(--accent-hover); }
.eng-filter-title { color:var(--text-secondary); display:flex; justify-content:space-between; font-size:11px; margin-bottom:3px; }
.eng-filter-value { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; font-weight:500; }
.eng-filter-menu { position:absolute; top:calc(100% + 6px); left:0; width:330px; max-width:calc(100vw - 48px); padding:12px; border:1px solid #3b4357; border-radius:10px; background:#202431; z-index:20; box-shadow:0 12px 35px #0007; }
.eng-filter:nth-child(n+5) .eng-filter-menu { left:auto; right:0; }
.eng-filter-search { width:100%; border:1px solid var(--border); border-radius:6px; background:var(--bg-primary); color:var(--text-primary); padding:8px 10px; font:inherit; font-size:12px; }
.eng-filter-ops { display:flex; gap:16px; margin:5px 0; }
.eng-filter-options { max-height:280px; overflow-y:auto; margin-top:4px; }
.eng-filter-option { display:flex; align-items:flex-start; gap:9px; padding:8px 4px; line-height:1.4; font-size:12px; cursor:pointer; border-radius:4px; }
.eng-filter-option:hover { background:#ffffff07; }
.eng-filter-option input { margin-top:2px; accent-color:var(--accent-hover); flex-shrink:0; }
.eng-filter-option span { overflow-wrap:anywhere; }
.eng-filter-option small { color:var(--text-muted); display:block; }
.eng-filter-summary { color:var(--text-secondary); font-size:12px; margin:13px 0 0; }
.eng-notice { display:flex; flex-wrap:wrap; gap:6px 18px; align-items:center; padding:0 2px; color:var(--text-secondary); font-size:12px; margin-bottom:22px; line-height:1.6; }
.eng-notice .eng-dot { width:7px; height:7px; border-radius:50%; background:#65d6b3; display:inline-block; margin-right:6px; }
.eng-notice.eng-warning { color:#f3d18d; }
.eng-notice.eng-warning .eng-dot { background:#f3d18d; }
.eng-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.eng-kpis .kpi-value { font-size:32px; margin-top:6px; }
.eng-kpi-note { margin-top:7px; font-size:11px; color:var(--text-secondary); line-height:1.5; }
.eng-two-col { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.eng-two-col > .panel-card { margin-bottom:0; }
.eng-stat { display:flex; gap:16px; align-items:baseline; justify-content:space-between; padding:11px 0; border-bottom:1px solid var(--border); font-size:13px; }
.eng-stat:first-child { padding-top:0; }
.eng-stat:last-child { border-bottom:0; padding-bottom:0; }
.eng-stat-label { color:var(--text-secondary); }
.eng-stat-value { color:var(--text-primary); text-align:right; white-space:nowrap; font-family:var(--font-mono); font-size:13px; max-width:60%; }
.eng-stat-value small { display:block; font-family:var(--font-body); color:var(--text-secondary); font-size:11px; margin-top:2px; white-space:normal; }
.eng-clock { border:1px solid var(--border); border-radius:8px; padding:14px; margin-bottom:12px; }
.eng-clock:last-child { margin-bottom:0; }
.eng-clock-head { display:flex; gap:12px; align-items:center; justify-content:space-between; margin-bottom:12px; }
.eng-clock-title { font-size:13px; font-weight:600; }
.eng-coverage-bar { width:100%; height:4px; border-radius:4px; background:#303545; margin:9px 0 12px; overflow:hidden; }
.eng-coverage-bar > span { display:block; height:100%; background:#719bff; }
.eng-clock-custom .eng-coverage-bar > span { background:#66cfb1; }
.eng-clock-caption,.eng-small-note { color:var(--text-secondary); font-size:11px; line-height:1.6; }
.eng-clock-values { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0 0 9px; }
.eng-clock-values strong { display:block; font:500 18px var(--font-mono); margin-top:3px; }
.eng-clock-values span { font-size:11px; color:var(--text-secondary); }
.eng-trend { min-height:180px; }
.eng-trend svg { width:100%; height:180px; display:block; overflow:visible; }
.eng-trend text { font-family:var(--font-mono); font-size:10px; fill:var(--text-secondary); }
.eng-trend-legend { display:flex; gap:20px; font-size:11px; color:var(--text-secondary); margin:12px 0 0 35px; }
.eng-legend-dot { width:8px; height:8px; display:inline-block; margin-right:6px; border-radius:2px; background:#6594ff; }
.eng-legend-dot--success { background:#66cfb1; }
.eng-table { min-width:1120px; font-size:12px; }
.eng-table th { white-space:nowrap; font-size:11px; }
.eng-table .num { text-align:right; }
.eng-table td:first-child { max-width:340px; min-width:160px; white-space:normal; overflow-wrap:anywhere; }
.eng-table tfoot td { font-weight:600; border-top:2px solid var(--border); padding:11px 12px; }
.eng-table-footer { color:var(--text-secondary); padding:12px 20px; font-size:11px; }
.eng-definitions { border-top:1px solid var(--border); padding-top:16px; color:var(--text-secondary); font-size:12px; line-height:1.7; }
.eng-definitions summary { cursor:pointer; color:var(--text-primary); margin-bottom:10px; }
.eng-definitions p { margin:8px 0; }
.eng-empty { text-align:center; padding:50px 16px 65px; border:1px solid var(--border); border-radius:var(--radius); margin-bottom:24px; background:var(--bg-card); }
.eng-empty h2 { font-size:18px; margin-bottom:8px; }
.eng-empty p { color:var(--text-secondary); font-size:13px; }
.eng-custom-range { display:flex; gap:12px; font-size:11px; color:var(--text-secondary); }
.eng-custom-range label { display:flex; align-items:center; gap:6px; }
.engagement-route :focus-visible { outline:2px solid #8eafff; outline-offset:3px; }
@media (max-width:1100px) { .eng-filters { grid-template-columns:repeat(3,minmax(0,1fr)); } .eng-filter:nth-child(3n) .eng-filter-menu { right:0; left:auto; } .eng-filter:nth-child(4) .eng-filter-menu { left:0; right:auto; } }
@media (max-width:700px) {
    .engagement-route .container { padding:22px 16px 36px; }
    .engagement-route .dashboard-header { align-items:flex-start; flex-direction:column; gap:18px; }
    .engagement-route .header-right { align-items:flex-start; width:100%; }
    .eng-presets { flex-wrap:wrap; }
    .eng-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .eng-kpis .kpi-card { padding:15px; }
    .eng-kpis .kpi-value { font-size:26px; }
    .eng-two-col { grid-template-columns:minmax(0,1fr); gap:16px; }
    .eng-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .eng-filter:nth-child(odd) .eng-filter-menu { left:0; right:auto; }
    .eng-filter:nth-child(even) .eng-filter-menu { left:auto; right:0; }
    .eng-filter-card { padding:14px !important; }
    .eng-filter-top { gap:10px; }
    .eng-traffic { gap:8px; }
    .eng-traffic .btn { padding:6px 10px; }
    .eng-stat { gap:8px; font-size:12px; }
    .eng-panel-header { align-items:flex-start; }
    .eng-table-controls { width:100%; justify-content:space-between; }
    .eng-custom-range { flex-wrap:wrap; }
    .eng-notice { gap:4px 12px; }
}

.eng-scope { margin:0 2px 10px; }
.eng-journey { border-top:1px solid var(--border); padding-top:14px; margin-top:14px; }
.eng-journey > strong { display:block; font-size:12px; margin-bottom:12px; }
