 /* Graduate History geographic analysis tabs */
        .history-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding: 18px 20px 0;
            border-top: 1px solid #eee;
        }

        .history-tab {
            border: 1px solid #d7deea;
            background: #f7f9fc;
            color: #333;
            border-radius: 6px;
            padding: 8px 14px;
            font: inherit;
            font-weight: 600;
            cursor: pointer;
        }

        .history-tab.active {
            background: #0645ad;
            color: #fff;
            border-color: #0645ad;
        }

        .history-view {
            display: none;
            padding: 18px 20px 20px;
        }

        .history-view.active {
            display: block;
        }

        .history-view-description {
            margin: 0 0 14px;
            color: #666;
            font-size: 0.92rem;
        }

        .history-view-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-bottom: 16px;
        }

        .history-view-control {
            display: flex;
            flex-direction: column;
            gap: 5px;
            min-width: 180px;
        }

        .history-view-control label {
            font-size: 0.78rem;
            font-weight: 600;
        }

        .history-view-control select {
            padding: 8px 10px;
            border: 1px solid #d7deea;
            border-radius: 6px;
            background: #fff;
            font: inherit;
        }

        .history-detail-summary {
            margin: 0 0 14px;
            font-size: 0.9rem;
            color: #444;
        }

        .history-chart {
            height: 320px;
        }

        @media (max-width: 700px) {
            .history-tabs {
                padding-left: 14px;
                padding-right: 14px;
            }

            .history-view {
                padding-left: 14px;
                padding-right: 14px;
            }

            .history-tab {
                flex: 1 1 auto;
            }
        }