        body {
            background-color: #f5f5f5;
            font-family: Arial, Helvetica, sans-serif;
            color: #333;
        }
        .navbar-inverse {
            background-color: #37474F;
            border-color: #37474F;
        }
        .navbar-inverse .navbar-brand {
            color: #fff;
            font-weight: 500;
            display: flex;
            align-items: center;
            height: 75px;
            padding: 0 15px;
            line-height: 75px;
        }
        .navbar-inverse .navbar-brand .navbar-logo {
            width: auto;
            height: 75px;
            display: block;
            flex: 0 0 auto;
            margin-right: 8px;
        }
        .navbar-inverse .navbar-nav > li > a {
            color: #cfd8dc;
        }
        .navbar-inverse .navbar-nav > li > a {
            width: 86px;
            min-height: 62px;
            padding: 9px 5px;
            text-align: center;
            white-space: normal;
            line-height: 14px;
            font-size: 12px;
        }
        .navbar-inverse .navbar-nav > li > a .fa {
            display: block;
            margin-bottom: 2px;
        }
        .navbar-inverse .navbar-nav > li.nav-group > a {
            border-top: 4px solid transparent;
            min-height: 66px;
            padding-top: 6px;
            transition: background-color .15s ease, color .15s ease;
        }
        .navbar-inverse .navbar-nav > li.nav-group-adlog > a {
            border-top-color: #4fc1e9;
            background: rgba(79, 193, 233, 0.08);
        }
        .navbar-inverse .navbar-nav > li.nav-group-action > a {
            border-top-color: #8bc34a;
            background: rgba(139, 195, 74, 0.08);
        }
        .navbar-inverse .navbar-nav > li.nav-group-broken > a {
            border-top-color: #7e57c2;
            background: rgba(126, 87, 194, 0.12);
        }
        .navbar-inverse .navbar-nav > li.nav-group-admin > a {
            border-top-color: #ffb74d;
            background: rgba(255, 183, 77, 0.08);
        }
        .navbar-inverse .navbar-nav > li.nav-group-start > a {
            border-left: 1px solid rgba(255,255,255,0.25);
            margin-left: 6px;
        }
        .navbar-inverse .navbar-nav > li.nav-group > a:hover,
        .navbar-inverse .navbar-nav > li.nav-group > a:focus {
            background: rgba(255,255,255,0.12);
            color: #fff;
        }
        .page-header {
            margin: 0;
            padding: 15px 20px;
            border-bottom: 1px solid #ddd;
            background: #fff;
        }
        .page-header h5 {
            margin: 0;
            color: #37474F;
            font-weight: 500;
        }
        .panel-flat {
            border: none;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .panel-flat .panel-body {
            background: #fff;
        }
        .ops-health {
            border: 1px solid #e5e5e5;
            background: #fafafa;
            margin: 12px 0 18px;
            padding: 12px;
        }
        .ops-health__header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 10px;
        }
        .ops-health__title {
            font-weight: 600;
            color: #37474F;
        }
        .ops-health__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
            gap: 8px;
            margin-bottom: 12px;
        }
        .ops-health__tile {
            background: #fff;
            border: 1px solid #e7e7e7;
            padding: 8px;
            min-height: 84px;
        }
        .ops-health__name {
            font-size: 12px;
            color: #777;
            margin-bottom: 4px;
        }
        .ops-health__state {
            font-weight: 600;
            margin-bottom: 3px;
        }
        .ops-health__detail {
            color: #777;
            font-size: 12px;
            line-height: 1.35;
        }
        .form-control {
            border-radius: 2px;
        }
        .btn-info {
            background-color: #4fc1e9;
            border-color: #4fc1e9;
            color: #fff;
        }
        .btn-info:hover {
            background-color: #39b3d8;
            border-color: #2aa6c6;
        }
        .help-block {
            color: #888;
            font-size: 12px;
        }
        .nav-tabs {
            border-bottom: 2px solid #4fc1e9;
        }
        .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
            border: none;
            border-bottom: 2px solid #4fc1e9;
            color: #37474F;
            font-weight: 500;
        }
        .nav-tabs > li > a {
            border: none;
            color: #666;
        }
        .nav-tabs > li > a:hover {
            background: transparent;
            border: none;
            color: #37474F;
        }
        .stats-pie-wrap {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 340px;
        }
        .stats-pie-svg {
            width: 100%;
            max-width: 520px;
            height: auto;
            overflow: visible;
        }
        .stats-pie-svg path {
            stroke: #fff;
            stroke-width: 1;
        }
        .stats-pie-svg polyline {
            fill: none;
            stroke: #8a8a8a;
            stroke-width: 1;
        }
        .stats-pie-label {
            fill: #333;
            font-size: 11px;
            font-weight: 600;
            paint-order: stroke fill;
            stroke: #fff;
            stroke-width: 3px;
            stroke-linejoin: round;
        }
        .stats-pie-percent {
            fill: #888;
            font-size: 10px;
            paint-order: stroke fill;
            stroke: #fff;
            stroke-width: 3px;
            stroke-linejoin: round;
        }
        .duration-rate-pie-wrap {
            min-height: 380px;
            margin-top: 8px;
        }
        .duration-rate-pie-svg {
            max-width: 680px;
        }
        .duration-rate-pie-legend-label {
            fill: #333;
            font-size: 13px;
            font-weight: 600;
        }
        .duration-rate-pie-legend-percent {
            fill: #777;
            font-size: 11px;
        }
        .media-problem-chart-row {
            display: flex;
            align-items: stretch;
            flex-wrap: wrap;
        }
        .media-problem-chart-row > [class*="col-"] {
            display: flex;
            flex-direction: column;
        }
        .media-problem-chart-block {
            display: flex;
            flex: 1 1 auto;
            flex-direction: column;
            min-height: 100%;
        }
        .media-problem-pie-wrap {
            flex: 1 1 auto;
            min-height: 520px;
        }
        .media-problem-pie-svg {
            width: 100%;
            max-width: none;
            height: 100%;
            min-height: 520px;
        }
        .large-stats-pie-wrap {
            min-height: 632px;
        }
        .large-stats-pie-svg {
            width: 100%;
            max-width: none;
            height: 100%;
            min-height: 632px;
        }
        @media (max-width: 991px) {
            .media-problem-chart-row {
                display: block;
            }
            .media-problem-chart-row > [class*="col-"] {
                display: block;
            }
            .large-stats-pie-wrap,
            .large-stats-pie-svg,
            .media-problem-pie-wrap,
            .media-problem-pie-svg {
                min-height: 380px;
            }
        }
        .stats-swatch {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 2px;
            margin-right: 6px;
            vertical-align: -1px;
        }
        .combined-signal-chart {
            padding: 6px 0 2px;
        }
        .combined-signal-bar-row {
            display: grid;
            grid-template-columns: 96px 1fr 82px;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
            font-size: 12px;
        }
        .combined-signal-bar-track {
            height: 16px;
            background: #eef1f4;
            border-radius: 3px;
            overflow: hidden;
        }
        .combined-signal-bar-fill {
            min-width: 2px;
            height: 100%;
            background: #26a69a;
        }
        .qc-help-header {
            cursor: help;
            position: relative;
            white-space: nowrap;
        }
        .qc-help-header .fa {
            margin-left: 3px;
            color: #78909c;
        }
        .qc-help-tooltip {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 20;
            width: 260px;
            margin-top: 6px;
            padding: 8px 10px;
            background: #263238;
            color: #fff;
            border-radius: 3px;
            box-shadow: 0 3px 8px rgba(0,0,0,0.22);
            font-size: 12px;
            font-weight: normal;
            line-height: 1.35;
            text-align: left;
            text-transform: none;
            white-space: normal;
        }
        .qc-help-tooltip:before {
            content: "";
            position: absolute;
            top: -6px;
            left: 14px;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-bottom: 6px solid #263238;
        }
        .qc-help-header:hover .qc-help-tooltip,
        .qc-help-header:focus .qc-help-tooltip,
        .qc-help-header.qc-help-open .qc-help-tooltip {
            display: block;
        }
        legend {
            color: #37474F;
            border-bottom: 1px solid #eee;
            padding-bottom: 10px;
        }
        footer {
            text-align: center;
            padding: 20px;
            color: #888;
            font-size: 12px;
        }

        /* Toggle switch */
        .switch {
            position: relative;
            display: inline-block;
            width: 48px;
            height: 24px;
        }
        .switch input { opacity: 0; width: 0; height: 0; }
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #ccc;
            transition: .2s;
        }
        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .2s;
        }
        input:checked + .slider { background-color: #2196F3; }
        input:checked + .slider:before { transform: translateX(24px); }
        .slider.round { border-radius: 24px; }

        /* Edited row styling */
        .unedited-row {
            background-color: #fff;
        }
        .edited-row {
            background-color: #d4edda !important;
        }
        .edited-row td {
            background-color: #d4edda !important;
            color: #155724;
        }
        .adlog-pfp-detail-table th.channel-col,
        .adlog-pfp-detail-table td.channel-col {
            max-width: 110px;
            width: 110px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .adlog-pfp-annotation {
            min-width: 145px;
        }
        .adlog-pfn-annotation {
            min-width: 135px;
        }
        .checkbox-dropdown-menu {
            min-width: 320px;
            max-height: 360px;
            overflow: auto;
            padding: 10px;
        }
        .checkbox-dropdown-menu .checkbox {
            margin-top: 4px;
            margin-bottom: 4px;
        }
        .home-tabs {
            margin-bottom: 18px;
        }
        .dashboard-preview-toolbar {
            margin-bottom: 12px;
        }
        .dashboard-preview-toolbar .btn {
            margin: 0 4px 6px 0;
        }
        .dashboard-preview-frame {
            width: 100%;
            height: 780px;
            border: 1px solid #ddd;
            background: #fff;
        }
        .dashboard-preview-error {
            padding: 20px;
            border: 1px solid #e6b8b7;
            background: #fbeeed;
            color: #8a1f11;
        }
        .doc-hero {
            background: #263238;
            color: #fff;
            padding: 24px;
            margin: -5px -5px 20px;
        }
        .doc-hero h3 {
            margin-top: 0;
            color: #fff;
            font-weight: 600;
        }
        .doc-hero p {
            color: #d6e1e5;
        }
        .doc-metric {
            background: rgba(255,255,255,0.08);
            border-left: 4px solid #4fc1e9;
            padding: 10px 12px;
            margin-top: 8px;
        }
        .doc-metric strong {
            display: block;
            font-size: 18px;
            color: #fff;
        }
        .doc-index {
            position: sticky;
            top: 10px;
            max-height: calc(100vh - 30px);
            overflow: auto;
            border-right: 1px solid #eee;
            padding-right: 12px;
        }
        .doc-index h6 {
            margin-top: 0;
            text-transform: uppercase;
            font-size: 11px;
            color: #78909c;
            letter-spacing: .04em;
        }
        .doc-index a {
            display: block;
            padding: 4px 0;
            color: #455a64;
            line-height: 1.25;
        }
        .doc-index a.doc-level-3 {
            padding-left: 12px;
            font-size: 12px;
        }
        .doc-index a.doc-level-4 {
            padding-left: 24px;
            font-size: 12px;
            color: #78909c;
        }
        .doc-visual {
            border: 1px solid #e5e9ec;
            background: #fafafa;
            padding: 14px;
            margin-bottom: 16px;
        }
        .doc-flow {
            display: flex;
            align-items: stretch;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
        }
        .doc-node {
            flex: 1 1 130px;
            min-width: 130px;
            background: #fff;
            border: 1px solid #dfe5e8;
            border-top: 4px solid #4fc1e9;
            padding: 10px;
            text-align: center;
        }
        .doc-node .fa {
            display: block;
            color: #4fc1e9;
            font-size: 20px;
            margin-bottom: 5px;
        }
        .doc-arrow {
            align-self: center;
            color: #90a4ae;
            font-size: 18px;
        }
        .doc-chain {
            display: grid;
            grid-template-columns: repeat(4, minmax(120px, 1fr));
            gap: 10px;
        }
        .doc-chain-step {
            background: #fff;
            border: 1px solid #e3e8eb;
            padding: 10px;
            min-height: 86px;
        }
        .doc-chain-step span {
            display: inline-block;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #7e57c2;
            color: #fff;
            text-align: center;
            line-height: 24px;
            margin-right: 4px;
        }
        .doc-content {
            color: #37474f;
        }
        .doc-content .doc-heading {
            scroll-margin-top: 12px;
        }
        .doc-content .doc-heading-1 {
            margin-top: 0;
            font-size: 26px;
            border-bottom: 2px solid #4fc1e9;
            padding-bottom: 8px;
        }
        .doc-content .doc-heading-2 {
            margin-top: 28px;
            font-size: 22px;
            color: #263238;
        }
        .doc-content .doc-heading-3 {
            margin-top: 22px;
            font-size: 17px;
            color: #455a64;
        }
        .doc-content .doc-heading-4 {
            margin-top: 18px;
            font-size: 14px;
            color: #607d8b;
            text-transform: uppercase;
        }
        .doc-content p,
        .doc-content li {
            line-height: 1.55;
        }
        .doc-table-wrap {
            border: 1px solid #edf1f3;
            margin: 12px 0;
        }
        .doc-table {
            margin-bottom: 0;
            background: #fff;
        }
        .doc-code {
            background: #263238;
            color: #eceff1;
            border: 0;
            border-radius: 2px;
            padding: 12px;
            white-space: pre-wrap;
        }
        .doc-arch {
            margin: 16px 0 24px;
            padding: 18px;
            border: 1px solid #dce5e9;
            background: #f7fafb;
        }
        .doc-arch-band {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
        }
        .doc-arch-band-user {
            margin-bottom: 10px;
        }
        .doc-arch-band-external {
            margin-top: 10px;
        }
        .doc-arch-node,
        .doc-arch-module,
        .doc-arch-store {
            background: #fff;
            border: 1px solid #dce5e9;
            border-radius: 6px;
            box-shadow: 0 1px 2px rgba(38, 50, 56, 0.05);
        }
        .doc-arch-node {
            min-width: 230px;
            padding: 13px 16px;
            text-align: center;
            border-top: 4px solid #4fc1e9;
        }
        .doc-arch-node .fa {
            display: block;
            margin-bottom: 6px;
            color: #4fc1e9;
            font-size: 22px;
        }
        .doc-arch-node strong,
        .doc-arch-module strong,
        .doc-arch-store span,
        .doc-arch-app-title strong {
            display: block;
            color: #263238;
            font-weight: 600;
        }
        .doc-arch-node small,
        .doc-arch-module small,
        .doc-arch-store small,
        .doc-arch-app-title small {
            display: block;
            color: #607d8b;
            line-height: 1.35;
        }
        .doc-arch-connector {
            position: relative;
            min-width: 120px;
            color: #607d8b;
            font-size: 12px;
            text-align: center;
        }
        .doc-arch-connector:before,
        .doc-arch-connector:after {
            content: "";
            position: absolute;
            left: 50%;
            width: 1px;
            height: 20px;
            background: #b0bec5;
        }
        .doc-arch-connector:before {
            top: -26px;
        }
        .doc-arch-connector:after {
            bottom: -26px;
        }
        .doc-arch-connector span {
            display: inline-block;
            padding: 4px 8px;
            border: 1px solid #dce5e9;
            border-radius: 999px;
            background: #fff;
            color: #455a64;
            font-weight: 600;
        }
        .doc-arch-connector em {
            display: block;
            margin-top: 3px;
            font-style: normal;
            color: #78909c;
        }
        .doc-arch-app {
            border: 1px solid #cfd8dc;
            border-top: 5px solid #26a69a;
            border-radius: 6px;
            background: #fff;
            padding: 16px;
        }
        .doc-arch-app-title {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding-bottom: 12px;
            margin-bottom: 12px;
            border-bottom: 1px solid #edf1f3;
        }
        .doc-arch-app-title .fa {
            color: #26a69a;
            font-size: 22px;
        }
        .doc-arch-modules {
            display: grid;
            grid-template-columns: repeat(3, minmax(150px, 1fr));
            gap: 12px;
        }
        .doc-arch-modules-two {
            grid-template-columns: repeat(2, minmax(180px, 1fr));
        }
        .doc-arch-module {
            min-height: 94px;
            padding: 12px;
            text-align: center;
        }
        .doc-arch-module .fa {
            display: block;
            margin-bottom: 7px;
            color: #26a69a;
            font-size: 18px;
        }
        .doc-arch-layer {
            margin-top: 14px;
            padding: 14px;
            border: 1px dashed #b0bec5;
            border-radius: 6px;
            background: #fbfdfe;
        }
        .doc-arch-layer-title {
            margin-bottom: 10px;
            color: #455a64;
            font-size: 12px;
            font-weight: 600;
            text-align: center;
            text-transform: uppercase;
        }
        .doc-arch-storage {
            display: grid;
            grid-template-columns: repeat(3, minmax(150px, 1fr));
            gap: 10px;
            margin-top: 14px;
        }
        .doc-arch-store {
            min-height: 86px;
            padding: 11px;
            border-left: 4px solid #7e57c2;
        }
        .doc-arch-node-external {
            border-top-color: #7e57c2;
        }
        .doc-arch-node-external .fa {
            color: #7e57c2;
        }
        .doc-divider {
            margin: 22px 0;
        }
        @media (max-width: 991px) {
            .doc-index {
                position: static;
                max-height: 260px;
                border-right: 0;
                border-bottom: 1px solid #eee;
                margin-bottom: 15px;
            }
            .doc-chain {
                grid-template-columns: repeat(2, minmax(120px, 1fr));
            }
            .doc-arch-band {
                flex-direction: column;
            }
            .doc-arch-connector:before,
            .doc-arch-connector:after {
                height: 12px;
            }
            .doc-arch-connector:before {
                top: -16px;
            }
            .doc-arch-connector:after {
                bottom: -16px;
            }
            .doc-arch-modules,
            .doc-arch-modules-two,
            .doc-arch-storage {
                grid-template-columns: 1fr;
            }
        }
