        /* STYLE FOR THE DASHBOARD */
        /* =========================
   Dashboard Metrics
   ========================= */
        .dashboard-metrics {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .metrics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
        }

        .metric-card {
            background: linear-gradient(to bottom, var(--tech-blue-mid), var(--tech-blue-dark));
            border: 1px solid rgba(58, 108, 147, 0.35);
            border-left: 3px solid rgba(58, 108, 147, 0.6);
            border-radius: 16px;
            padding: 18px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
        }

        .metric-card--blue {
            border-left-color: #3b82f6;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.10) 0%, var(--tech-blue-dark) 100%);
        }

        .metric-card--amber {
            border-left-color: #fda929;
            background: linear-gradient(135deg, rgba(253, 169, 41, 0.10) 0%, var(--tech-blue-dark) 100%);
        }

        .metric-card--teal {
            border-left-color: #14b8a6;
            background: linear-gradient(135deg, rgba(20, 184, 166, 0.10) 0%, var(--tech-blue-dark) 100%);
        }

        .metric-label {
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #9ca3af;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .metric-value {
            margin-top: 10px;
            font-size: 34px;
            font-weight: 800;
            color: #fff;
            line-height: 1.1;
        }

        .metric-foot {
            margin-top: 8px;
            font-size: 13px;
            color: #d1d5db;
        }

        .metrics-panel {
            background: linear-gradient(to bottom, var(--tech-blue-mid), var(--tech-blue-dark));
            border: 1px solid rgba(58, 108, 147, 0.35);
            border-radius: 16px;
            padding: 18px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
        }

        .metrics-panel-header {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-bottom: 12px;
        }

        .metrics-panel-title {
            font-size: 16px;
            font-weight: 800;
            color: #fff;
        }

        .metrics-panel-subtitle {
            font-size: 13px;
            color: #d1d5db;
        }

        .metrics-table {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .ws-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            padding: 14px 16px;
            border-radius: 12px;
            border: 1px solid rgba(58, 108, 147, 0.25);
            background: rgba(0, 0, 0, 0.10);
            transition: background 0.15s ease, border-color 0.15s ease;
        }

        .ws-row:hover {
            background: rgba(58, 108, 147, 0.15);
            border-color: rgba(58, 108, 147, 0.45);
        }

        .ws-row-left {
            min-width: 0;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .ws-name {
            font-size: 14px;
            font-weight: 800;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .ws-meta {
            font-size: 12px;
            color: #9ca3af;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .ws-progress-track {
            margin-top: 6px;
            height: 4px;
            border-radius: 9999px;
            background: rgba(255, 255, 255, 0.08);
            overflow: hidden;
        }

        .ws-progress-bar {
            height: 100%;
            border-radius: 9999px;
            background: linear-gradient(to right, #14b8a6, #22c55e);
            transition: width 0.4s ease;
            min-width: 0;
        }

        .ws-progress-label {
            font-size: 11px;
            font-weight: 600;
            color: #6b7280;
            margin-top: 2px;
        }

        .ws-row-right {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .pill {
            font-size: 12px;
            font-weight: 700;
            padding: 6px 10px;
            border-radius: 9999px;
            border: 1px solid rgba(58, 108, 147, 0.35);
            background: rgba(58, 108, 147, 0.20);
            color: #e5e7eb;
        }

        .hidden {
            display: none !important;
        }

        /* ===== Draggable graph scroll wrapper ===== */
        .graph-scroll-wrap {
            overflow-x: auto;
            overflow-y: hidden;
            cursor: grab;
            user-select: none;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: rgba(58,108,147,0.3) transparent;
        }

        .graph-scroll-wrap::-webkit-scrollbar { height: 4px; }
        .graph-scroll-wrap::-webkit-scrollbar-track { background: transparent; }
        .graph-scroll-wrap::-webkit-scrollbar-thumb { background: rgba(58,108,147,0.3); border-radius: 99px; }

        .graph-scroll-wrap:active { cursor: grabbing; }

        /* ===== Today button ===== */
        .graph-today-btn {
            background: rgba(253,169,41,0.12);
            border: 1px solid rgba(253,169,41,0.4);
            border-radius: 8px;
            color: #fda929;
            font-size: 11px;
            font-weight: 700;
            padding: 4px 10px;
            cursor: pointer;
            white-space: nowrap;
            letter-spacing: 0.04em;
        }

        .graph-today-btn:hover {
            background: rgba(253,169,41,0.22);
        }

        /* ===== Chart filter controls (Graph 1) ===== */
        .chart-filter-select {
            background: rgba(0,0,0,0.25);
            border: 1px solid rgba(58,108,147,0.4);
            border-radius: 8px;
            color: #d1d5db;
            font-size: 12px;
            font-weight: 600;
            padding: 5px 10px;
            cursor: pointer;
            outline: none;
        }

        .chart-filter-select:focus {
            border-color: rgba(253,169,41,0.55);
        }

        .chart-filter-clear {
            background: rgba(253,169,41,0.12);
            border: 1px solid rgba(253,169,41,0.35);
            border-radius: 8px;
            color: #fda929;
            font-size: 12px;
            font-weight: 700;
            padding: 5px 10px;
            cursor: pointer;
        }

        .chart-filter-clear:hover {
            background: rgba(253,169,41,0.22);
        }

        /* ===== Heatmap legend ===== */
        .hm-legend-item {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .hm-swatch {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 2px;
            flex-shrink: 0;
        }
