.effort-analytics-modal.hidden {
    display: none;
  }
  
  .effort-analytics-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
  }
  
  .effort-analytics-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(5px);
  }
  
  .effort-analytics-panel {
    position: relative;
    margin: 28px auto;
    width: min(1320px, calc(100vw - 42px));
    height: calc(100vh - 56px);
    background: #020817;
    border: 1px solid #1e3a5f;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  
  .effort-analytics-header {
    padding: 16px 18px;
    border-bottom: 1px solid #1e3a5f;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .effort-analytics-header h2 {
    margin: 0;
    font-size: 20px;
    color: #e0f2fe;
  }
  
  .effort-analytics-header p {
    margin: 4px 0 0;
    font-size: 12px;
    color: #94a3b8;
  }
  
  .effort-analytics-toolbar {
    padding: 12px 18px;
    border-bottom: 1px solid #1e293b;
    display: flex;
    gap: 10px;
  }
  
  .effort-analytics-toolbar select {
    height: 36px;
    min-width: 220px;
    background: #020617;
    color: #cbd5e1;
    border: 1px solid #334155;
    border-radius: 9px;
    padding: 0 10px;
  }
  
  .effort-analytics-body {
    flex: 1;
    min-height: 0;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    overflow: hidden;
  }
  
  .effort-analytics-chart-card,
  .effort-analytics-summary-card {
    background: linear-gradient(180deg, #071225, #020617);
    border: 1px solid #1e3a5f;
    border-radius: 16px;
    padding: 16px;
    min-height: 0;
    overflow: hidden;
  }
  
  .effort-analytics-chart-card {
    position: relative;
  }
  
  #effortAnalyticsChart {
    width: 100% !important;
    height: 100% !important;
  }
  
  .effort-analytics-summary-card {
    overflow-y: auto;
  }
  
  .effort-analytics-summary-card h3 {
    margin: 0 0 12px;
    color: #dbeafe;
    font-size: 15px;
  }
  
  .analytics-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #1e293b;
    font-size: 12px;
  }
  
  .analytics-summary-row span:first-child {
    color: #cbd5e1;
  }
  
  .analytics-summary-row span:last-child {
    color: #e0f2fe;
    font-weight: 700;
  }
  
  @media (max-width: 900px) {
    .effort-analytics-body {
      grid-template-columns: 1fr;
    }
  
    .effort-analytics-summary-card {
      max-height: 220px;
    }
  }