/* =========================================================
   CLIENT COMMAND CENTER
   FULL DASHBOARD
========================================================= */


/* =========================================================
   DASHBOARD BASE
========================================================= */

.dashboard-workspace {
  padding-bottom: 50px;
}


.dashboard-header {
  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 20px;

  padding:
    26px 28px;

  background:
    linear-gradient(
      135deg,
      #182238,
      #273552
    );

  color: white;
}


.dashboard-header h2 {
  margin: 0;

  font-size: 29px;
}


.dashboard-header p {
  margin:
    6px 0 0;

  color:
    #cbd5e1;

  font-size: 13px;
}


.dashboard-clock {
  color:
    #dfe7f4;

  font-size: 13px;

  font-weight: 700;

  text-align: right;
}


.dashboard-performance-updated {
  margin-top: 5px;

  color:
    #94a3b8;

  font-size: 10px;

  text-align: right;
}


/* =========================================================
   VIEW SWITCHER
========================================================= */

.dashboard-view-switcher {
  position: sticky;

  top: 0;

  z-index: 20;

  padding:
    12px 28px;

  background:
    rgba(
      248,
      250,
      252,
      0.96
    );

  border-bottom:
    1px solid
    var(--border);

  backdrop-filter:
    blur(12px);
}


.dashboard-view-switcher-inner {
  display: inline-flex;

  align-items: center;

  gap: 4px;

  padding: 4px;

  background:
    #e9edf3;

  border-radius:
    12px;
}


.dashboard-view-button {
  min-width: 140px;

  padding:
    9px 15px;

  border:
    1px solid
    transparent;

  border-radius:
    9px;

  background:
    transparent;

  color:
    #667085;

  font-size:
    12px;

  font-weight:
    850;

  cursor:
    pointer;

  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}


.dashboard-view-button:hover {
  color:
    #273552;
}


.dashboard-view-button.active {
  background:
    white;

  color:
    var(--accent);

  box-shadow:
    0 2px 9px
    rgba(
      31,
      42,
      68,
      0.12
    );
}


/* =========================================================
   PERFORMANCE CONTENT
========================================================= */

.dashboard-performance-content {
  display: block;
}


.dashboard-workspace.work-view
.dashboard-performance-content {
  display: none;
}


/* =========================================================
   EXECUTIVE SNAPSHOT
========================================================= */

.dashboard-executive {
  padding:
    22px 28px 5px;
}


.executive-snapshot-heading,
.performance-panel-heading,
.performance-section-heading {
  display: flex;

  align-items: center;

  justify-content:
    space-between;

  margin-bottom: 14px;
}


.executive-snapshot-heading h3,
.performance-panel-heading h3,
.performance-section-heading h3 {
  margin: 0;

  color:
    #263348;

  font-size:
    19px;
}


.executive-snapshot-heading p,
.performance-panel-heading p,
.performance-section-heading p {
  margin:
    4px 0 0;

  color:
    var(--muted);

  font-size:
    12px;
}


.executive-client-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(
        0,
        1fr
      )
    );

  gap: 15px;
}


.executive-client-card {
  overflow: hidden;

  background:
    white;

  border:
    1px solid
    var(--border);

  border-radius:
    14px;

  box-shadow:
    var(--shadow);
}


.executive-client-name {
  padding:
    13px 15px;

  border-bottom:
    1px solid
    var(--border);

  background:
    #f8fafc;

  color:
    #354158;

  font-size:
    14px;

  font-weight:
    900;
}


.executive-kpi-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(
        0,
        1fr
      )
    );

  gap: 1px;

  background:
    var(--border);
}


.executive-kpi-grid
.perf-metric-card {
  border: 0;

  border-radius: 0;

  box-shadow: none;
}


/* =========================================================
   PERFORMANCE PANELS
========================================================= */

.dashboard-performance-panel {
  margin:
    28px 28px 0;

  padding: 20px;

  background:
    #f8fafc;

  border:
    1px solid
    var(--border);

  border-radius:
    15px;
}


.performance-primary-grid {
  display: grid;

  grid-template-columns:
    minmax(
      320px,
      0.9fr
    )
    minmax(
      420px,
      1.5fr
    );

  gap: 15px;

  margin-bottom: 15px;
}


.performance-secondary-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(
        260px,
        1fr
      )
    );

  gap: 15px;

  margin-top: 15px;
}


/* =========================================================
   METRIC CARDS
========================================================= */

.perf-metric-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(
        0,
        1fr
      )
    );

  gap: 10px;
}


.perf-metric-grid-wide {
  grid-template-columns:
    repeat(
      6,
      minmax(
        0,
        1fr
      )
    );

  margin-bottom: 15px;
}


.perf-metric-card {
  min-width: 0;

  padding: 14px;

  background:
    white;

  border:
    1px solid
    var(--border);

  border-radius:
    11px;

  box-shadow:
    0 4px 14px
    rgba(
      31,
      42,
      68,
      0.05
    );
}


.perf-metric-header {
  display: flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap: 8px;
}


.perf-metric-header
.perf-metric-label {
  min-width: 0;
}


/* =========================================================
   TIMEFRAME / STATUS PILLS
========================================================= */

.perf-timeframe-badge {
  display: inline-flex;

  align-items: center;

  justify-content:
    center;

  flex: 0 0 auto;

  min-height: 20px;

  padding:
    4px 8px;

  border:
    1px solid
    #d9e1ec;

  border-radius:
    999px;

  background:
    #f3f6fa;

  color:
    #5d6879;

  font-size:
    8px;

  font-weight:
    900;

  line-height: 1;

  letter-spacing:
    0.035em;

  text-transform:
    uppercase;

  white-space:
    nowrap;
}


.perf-timeframe-badge[
  data-timeframe="Today"
] {
  background:
    #eaf8ef;

  border-color:
    #c7e8d2;

  color:
    #2f7650;
}


.perf-timeframe-badge[
  data-timeframe="This Week"
] {
  background:
    #eaf2ff;

  border-color:
    #cbdcff;

  color:
    #3b5ea7;
}


.perf-timeframe-badge[
  data-timeframe="This Month"
] {
  background:
    #f2edff;

  border-color:
    #ddd1fb;

  color:
    #6954a3;
}


.perf-timeframe-badge[
  data-timeframe="Last 30 Days"
] {
  background:
    #fff4df;

  border-color:
    #f1d9a8;

  color:
    #8a6424;
}


.perf-timeframe-badge[
  data-timeframe="Active Pipeline"
] {
  background:
    #fff0ec;

  border-color:
    #f2cfc5;

  color:
    #a2523b;
}


.perf-timeframe-badge[
  data-timeframe="Lifetime"
] {
  background:
    #eef1f5;

  border-color:
    #d7dde5;

  color:
    #606a79;
}


.perf-timeframe-badge[
  data-timeframe="Current"
] {
  background:
    #e9f7f6;

  border-color:
    #c6e6e3;

  color:
    #39766f;
}


.perf-metric-card.metric-alert {
  background:
    #fff5f5;

  border-color:
    #efb1b1;
}


.perf-metric-label {
  color:
    var(--muted);

  font-size:
    10px;

  font-weight:
    800;

  text-transform:
    uppercase;

  letter-spacing:
    0.04em;
}


.perf-metric-value {
  margin-top: 7px;

  color:
    #172033;

  font-size:
    22px;

  font-weight:
    900;

  line-height: 1.1;

  word-break:
    break-word;
}


.perf-metric-sub {
  margin-top: 6px;

  color:
    var(--muted);

  font-size:
    10px;

  font-weight:
    600;
}
/* =========================================================
   DETAIL CARDS
========================================================= */

.perf-detail-card {
  min-width: 0;

  padding: 16px;

  background:
    white;

  border:
    1px solid
    var(--border);

  border-radius:
    12px;

  box-shadow:
    0 4px 14px
    rgba(
      31,
      42,
      68,
      0.04
    );
}


.perf-detail-heading {
  display: flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap: 10px;

  margin-bottom: 14px;
}


.perf-detail-card h4 {
  margin: 0;

  color:
    #354158;

  font-size:
    13px;

  font-weight:
    900;
}


.perf-detail-heading h4 {
  min-width: 0;
}


/* =========================================================
   PROGRESS
========================================================= */

.perf-progress-row,
.perf-progress-block {
  margin-bottom: 15px;
}


.perf-progress-row:last-child,
.perf-progress-block:last-child {
  margin-bottom: 0;
}


.perf-progress-header,
.perf-progress-top {
  display: flex;

  justify-content:
    space-between;

  align-items:
    center;

  gap: 10px;

  margin-bottom: 6px;

  color:
    #445064;

  font-size:
    11px;

  font-weight:
    700;
}


.perf-progress-track {
  overflow: hidden;

  height: 9px;

  background:
    #e6eaf0;

  border-radius:
    999px;
}


.perf-progress-fill {
  height: 100%;

  background:
    linear-gradient(
      90deg,
      #3158d3,
      #5578e0
    );

  border-radius:
    999px;

  transition:
    width 0.3s ease;
}


.perf-progress-percent {
  margin-top: 4px;

  color:
    var(--muted);

  font-size:
    9px;

  text-align: right;
}


/* =========================================================
   MINI KPI
========================================================= */

.mini-kpi-row {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      1fr
    );

  gap: 8px;

  margin-top: 18px;
}


.mini-kpi-row > div,
.mini-kpi-grid > div {
  padding: 10px;

  background:
    #f7f9fc;

  border:
    1px solid
    #edf1f5;

  border-radius: 8px;

  text-align: center;
}


.mini-kpi-row strong,
.mini-kpi-grid strong {
  display: block;

  color:
    #172033;

  font-size:
    18px;
}


.mini-kpi-row span,
.mini-kpi-grid span {
  display: block;

  margin-top: 4px;

  color:
    var(--muted);

  font-size:
    9px;

  font-weight:
    700;
}


.mini-kpi-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(
        0,
        1fr
      )
    );

  gap: 8px;
}


/* =========================================================
   DISTRIBUTIONS
========================================================= */

.perf-distribution,
.perf-distribution-list {
  display: flex;

  flex-direction:
    column;

  gap: 2px;
}


.perf-distribution-row {
  display: grid;

  grid-template-columns:
    minmax(
      0,
      1fr
    )
    42px
    42px;

  align-items: center;

  gap: 8px;

  padding:
    7px 8px;

  border-radius: 6px;
}


.perf-distribution-row:nth-child(odd) {
  background:
    #f8fafc;
}


.perf-distribution-row > span:first-child,
.perf-distribution-label {
  overflow: hidden;

  color:
    #445064;

  font-size:
    11px;

  font-weight:
    700;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


.perf-distribution-row > strong,
.perf-distribution-number {
  color:
    #172033;

  font-size:
    11px;

  font-weight:
    900;

  text-align:
    right;
}


.perf-distribution-row > span:last-child,
.perf-distribution-percent {
  color:
    var(--muted);

  font-size:
    10px;

  text-align:
    right;
}


/* =========================================================
   TEAM PERFORMANCE TABLE
========================================================= */

.performance-team-table {
  overflow: hidden;

  margin-top: 15px;

  background:
    white;

  border:
    1px solid
    var(--border);

  border-radius:
    12px;
}


.performance-team-header,
.performance-team-row {
  display: grid;

  grid-template-columns:
    1.3fr
    0.55fr
    1fr
    0.65fr
    0.9fr;

  gap: 10px;

  align-items: center;

  padding:
    10px 14px;
}


.performance-team-header {
  background:
    #eef2f7;

  color:
    #667085;

  font-size:
    9px;

  font-weight:
    900;

  text-transform:
    uppercase;

  letter-spacing:
    0.05em;
}


.performance-source-heading {
  display: flex;

  align-items: center;

  gap: 7px;

  min-width: 0;
}


.performance-team-header
.perf-timeframe-badge {
  font-size: 7px;

  letter-spacing:
    0.025em;
}


.performance-team-row {
  border-top:
    1px solid
    #edf0f4;

  font-size:
    11px;
}


.performance-team-total {
  background:
    #f7f9fc;
}


/* =========================================================
   FOOTER STATS
========================================================= */

.performance-footer-stats {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 12px;
}


.performance-footer-stats span {
  padding:
    6px 9px;

  background:
    #eef2f7;

  border:
    1px solid
    #e2e7ed;

  border-radius:
    999px;

  color:
    #536075;

  font-size:
    10px;

  font-weight:
    700;
}


/* =========================================================
   WORK VIEW HEADING
========================================================= */

.dashboard-work-heading {
  margin:
    22px 28px 0;

  padding:
    18px 20px;

  background:
    linear-gradient(
      135deg,
      #eef4ff,
      #f8fbff
    );

  border:
    1px solid
    #cdd9f5;

  border-radius:
    14px;
}


.dashboard-work-heading h2 {
  margin:
    3px 0 0;

  color:
    #253a72;

  font-size:
    21px;
}


.dashboard-work-heading p {
  margin:
    6px 0 0;

  color:
    #64718a;

  font-size:
    12px;
}


.dashboard-work-eyebrow {
  color:
    var(--accent);

  font-size:
    9px;

  font-weight:
    900;

  letter-spacing:
    0.1em;
}


/* =========================================================
   FOLLOW-UP SUMMARY
========================================================= */

.dashboard-summary {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(
        160px,
        1fr
      )
    );

  gap: 12px;

  padding:
    28px 28px 20px;
}


.dashboard-summary-card {
  display: flex;

  flex-direction:
    column;

  align-items:
    flex-start;

  gap: 4px;

  padding: 17px;

  background:
    white;

  border:
    1px solid
    var(--border);

  border-radius:
    12px;

  box-shadow:
    var(--shadow);

  color:
    var(--text);
}


.dashboard-summary-number {
  font-size:
    29px;

  font-weight:
    900;
}


.dashboard-summary-danger {
  background:
    #fff5f5;

  border-color:
    #f4b5b5;
}


.dashboard-summary-warning {
  background:
    #fff9e8;

  border-color:
    #eed58e;
}


/* =========================================================
   FOLLOW-UP COMMAND CENTER
========================================================= */

.dashboard-command-center {
  margin:
    5px 28px 30px;

  background:
    white;

  border:
    1px solid
    var(--border);

  border-radius:
    14px;

  box-shadow:
    var(--shadow);

  overflow: hidden;
}


.dashboard-command-toolbar {
  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 15px;

  padding:
    17px 20px;

  border-bottom:
    1px solid
    var(--border);

  background:
    #f8fafc;
}


.dashboard-command-toolbar h3 {
  margin: 0;

  font-size:
    16px;
}


.dashboard-command-toolbar p {
  margin:
    4px 0 0;

  color:
    var(--muted);

  font-size:
    11px;
}


/* =========================================================
   FOLLOW-UP FILTERS
========================================================= */

.dashboard-followup-filters {
  display: flex;

  gap: 6px;

  flex-wrap: wrap;
}


.dashboard-filter-button {
  padding:
    7px 11px;

  border-radius:
    999px;

  font-size:
    11px;
}


.dashboard-filter-button.active {
  background:
    var(--accent);

  border-color:
    var(--accent);

  color: white;
}


/* =========================================================
   FOLLOW-UP QUEUE
========================================================= */

.dashboard-followup-queue {
  max-height:
    560px;

  overflow-y:
    auto;

  scroll-behavior:
    smooth;
}


.dashboard-followup-group {
  border-bottom:
    1px solid
    var(--border);
}


.dashboard-followup-group-title {
  position: sticky;

  top: 0;

  z-index: 5;

  padding:
    10px 18px;

  background:
    #eef2f7;

  color:
    #445064;

  font-size:
    11px;

  font-weight:
    900;

  text-transform:
    uppercase;

  letter-spacing:
    0.06em;
}


.dashboard-followup-item {
  display: grid;

  grid-template-columns:
    minmax(
      250px,
      1fr
    )
    170px
    120px;

  align-items: center;

  gap: 16px;

  padding:
    14px 18px;

  border-bottom:
    1px solid
    #edf0f4;
}


.dashboard-followup-item:hover {
  background:
    #f9fbff;
}


.dashboard-followup-main {
  min-width: 0;
}


.dashboard-followup-client {
  color:
    var(--muted);

  font-size:
    10px;

  font-weight:
    800;

  text-transform:
    uppercase;

  letter-spacing:
    0.04em;
}


.dashboard-followup-name {
  margin-top: 3px;

  font-size:
    14px;

  font-weight:
    800;
}


.dashboard-followup-secondary {
  margin-top: 3px;

  color:
    var(--muted);

  font-size:
    12px;
}


.dashboard-followup-time {
  display: flex;

  flex-direction:
    column;

  gap: 2px;

  font-size:
    11px;

  color:
    var(--muted);
}


.dashboard-followup-time strong {
  color:
    var(--text);

  font-size:
    16px;
}


.dashboard-followup-relative {
  margin-top: 3px;

  font-weight:
    800;
}


.dashboard-followup-relative.overdue {
  color:
    #bd3e3e;
}


.dashboard-followup-action {
  display: flex;

  justify-content:
    flex-end;
}


.dashboard-followup-done {
  min-width:
    100px;
}


.dashboard-followup-done:not(:disabled) {
  background:
    #eefaf3;

  border-color:
    #9fcdb0;

  color:
    #236b42;
}


.dashboard-followup-saving {
  opacity: 0.5;
}


.dashboard-followup-empty {
  padding:
    40px 20px;

  text-align: center;

  color:
    var(--muted);
}


.dashboard-followup-status {
  min-height:
    38px;

  padding:
    10px 18px;

  background:
    #fafbfc;

  border-top:
    1px solid
    var(--border);

  color:
    var(--muted);

  font-size:
    12px;

  font-weight:
    700;
}
/* =========================================================
   WORK VIEW MODE
========================================================= */

.dashboard-workspace.work-view {
  padding-bottom:
    15px;
}


/*
 * We intentionally keep the main
 * dashboard header visible.
 */

.dashboard-workspace.work-view
.dashboard-header {
  padding:
    18px 28px;
}


.dashboard-workspace.work-view
.dashboard-header h2 {
  font-size:
    23px;
}


.dashboard-workspace.work-view
.dashboard-header p {
  font-size:
    11px;
}


/*
 * Work View summary becomes tighter.
 */

.dashboard-workspace.work-view
.dashboard-summary {
  padding:
    16px 28px 14px;
}


/*
 * Queue receives the majority of the screen.
 */

.dashboard-workspace.work-view
.dashboard-command-center {
  margin-bottom:
    15px;
}


.dashboard-workspace.work-view
.dashboard-followup-queue {
  max-height:
    calc(
      100vh - 390px
    );

  min-height:
    430px;
}


/*
 * Slightly larger rows for actual work.
 */

.dashboard-workspace.work-view
.dashboard-followup-item {
  padding:
    17px 20px;
}


.dashboard-workspace.work-view
.dashboard-followup-name {
  font-size:
    15px;
}


.dashboard-workspace.work-view
.dashboard-followup-time strong {
  font-size:
    17px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media
(max-width: 1250px) {

  .executive-client-grid {
    grid-template-columns:
      1fr;
  }


  .perf-metric-grid-wide {
    grid-template-columns:
      repeat(
        3,
        1fr
      );
  }


  .performance-secondary-grid {
    grid-template-columns:
      repeat(
        2,
        1fr
      );
  }

}


@media
(max-width: 900px) {

  .performance-primary-grid {
    grid-template-columns:
      1fr;
  }


  .perf-metric-grid {
    grid-template-columns:
      repeat(
        2,
        1fr
      );
  }


  .performance-secondary-grid {
    grid-template-columns:
      1fr;
  }


  .dashboard-summary {
    grid-template-columns:
      repeat(
        2,
        1fr
      );
  }


  .dashboard-followup-item {
    grid-template-columns:
      1fr;
  }


  .dashboard-followup-action {
    justify-content:
      flex-start;
  }


  .dashboard-view-switcher-inner {
    display: flex;

    width: 100%;
  }


  .dashboard-view-button {
    flex: 1;

    min-width: 0;
  }


  /*
   * Keep timeframe badges readable
   * when cards become narrower.
   */

  .perf-metric-header {
    flex-wrap: wrap;
  }


  .performance-source-heading {
    flex-wrap: wrap;
  }

}


@media
(max-width: 600px) {

  .executive-kpi-grid {
    grid-template-columns:
      1fr;
  }


  .perf-metric-grid,
  .perf-metric-grid-wide {
    grid-template-columns:
      1fr;
  }


  .mini-kpi-row,
  .mini-kpi-grid {
    grid-template-columns:
      1fr;
  }


  .dashboard-view-switcher {
    padding:
      10px 15px;
  }


  .dashboard-workspace.work-view
  .dashboard-followup-queue {
    max-height:
      calc(
        100vh - 430px
      );

    min-height:
      350px;
  }


  /*
   * On very narrow screens,
   * allow timeframe pills to sit
   * naturally below the label.
   */

  .perf-metric-header {
    align-items:
      flex-start;
  }


  .perf-timeframe-badge {
    font-size:
      7px;

    padding:
      4px 7px;
  }


  .perf-detail-heading {
    flex-wrap: wrap;
  }

}

/* =========================================================
   DASHBOARD — COMMAND HERO
========================================================= */

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;

  margin:
    0;

  padding:
    28px;

  min-height:
    138px;

  border-bottom:
    1px solid
    #dfe5ec;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fbfcff 50%,
      #f6f9ff 100%
    );

  color:
    #172033;
}


/* =========================================================
   LEFT — DASHBOARD IDENTITY
========================================================= */

.dashboard-command-identity {
  display: flex;
  align-items: center;

  flex:
    1 1 auto;

  min-width:
    0;

  gap:
    20px;
}


.dashboard-command-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex:
    0 0 72px;

  width:
    72px;

  height:
    72px;

  border:
    1px solid
    #dfe7f5;

  border-radius:
    18px;

  background:
    linear-gradient(
      145deg,
      #f3f6ff,
      #eaf0ff
    );

  font-size:
    31px;

  line-height:
    1;

  box-shadow:
    0 5px 14px
    rgba(
      31,
      42,
      68,
      0.045
    );
}


.dashboard-command-copy {
  min-width:
    0;
}


.dashboard-command-eyebrow {
  margin-bottom:
    7px;

  color:
    #3158d3;

  font-size:
    12px;

  line-height:
    1.2;

  font-weight:
    850;

  letter-spacing:
    0.035em;
}


.dashboard-command-copy h2 {
  margin:
    0;

  color:
    #101828;

  font-size:
    28px;

  line-height:
    1.15;

  font-weight:
    850;

  letter-spacing:
    -0.035em;
}


.dashboard-command-copy p {
  margin:
    8px 0 0;

  color:
    #667085;

  font-size:
    13px;

  line-height:
    1.45;

  font-weight:
    500;
}


/* =========================================================
   RIGHT — COMMAND CONTROLS
========================================================= */

.dashboard-command-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  flex:
    0 1 auto;

  gap:
    16px;
}


/* =========================================================
   DATE + RECALCULATION
========================================================= */

.dashboard-command-time {
  display: flex;
  align-items: center;

  gap:
    12px;

  min-width:
    310px;

  padding-right:
    18px;

  border-right:
    1px solid
    #e4e7ec;
}


.dashboard-command-time-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex:
    0 0 46px;

  width:
    46px;

  height:
    46px;

  border:
    1px solid
    #e4e9f2;

  border-radius:
    12px;

  background:
    #f5f7fb;

  font-size:
    20px;
}


.dashboard-command-time-copy {
  min-width:
    0;
}


.dashboard-clock {
  color:
    #172033;

  font-size:
    13px;

  line-height:
    1.35;

  font-weight:
    800;

  white-space:
    nowrap;
}


.dashboard-performance-updated {
  margin-top:
    4px;

  color:
    #667085;

  font-size:
    11px;

  line-height:
    1.3;

  font-weight:
    500;

  white-space:
    nowrap;
}


/* =========================================================
   THIS MONTH CONTROL
========================================================= */

.dashboard-period-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap:
    9px;

  flex:
    0 0 auto;

  min-height:
    48px;

  padding:
    0 16px;

  border:
    1px solid
    #d8e0eb;

  border-radius:
    12px;

  background:
    #ffffff;

  color:
    #344054;

  font-size:
    13px;

  font-weight:
    800;

  white-space:
    nowrap;

  box-shadow:
    0 2px 7px
    rgba(
      16,
      24,
      40,
      0.04
    );

  cursor:
    pointer;
}


.dashboard-period-button:hover {
  border-color:
    #b7c5ef;

  background:
    #f9fbff;
}


.dashboard-period-icon {
  font-size:
    15px;
}


.dashboard-period-chevron {
  margin-left:
    3px;

  color:
    #667085;

  font-size:
    13px;
}


/* =========================================================
   OVERVIEW / WORK VIEW
   KEEP CURRENT SEGMENTED LOOK
========================================================= */

.dashboard-header
.dashboard-view-switcher {
  display:
    block;

  margin:
    0;

  padding:
    0;

  border:
    0;

  background:
    transparent;
}


.dashboard-header
.dashboard-view-switcher-inner {
  display:
    inline-flex;

  align-items:
    stretch;

  gap:
    0;

  padding:
    4px;

  border:
    1px solid
    #dfe5ec;

  border-radius:
    14px;

  background:
    #e9edf3;

  box-shadow:
    inset 0 1px 2px
    rgba(
      16,
      24,
      40,
      0.035
    );
}


.dashboard-header
.dashboard-view-button {
  min-width:
    132px;

  min-height:
    46px;

  padding:
    0 18px;

  border:
    0;

  border-radius:
    10px;

  background:
    transparent;

  color:
    #667085;

  font-size:
    13px;

  line-height:
    1;

  font-weight:
    800;

  white-space:
    nowrap;

  box-shadow:
    none;

  cursor:
    pointer;

  transition:
    background 120ms ease,
    color 120ms ease,
    box-shadow 120ms ease;
}


.dashboard-header
.dashboard-view-button:hover:not(.active) {
  background:
    rgba(
      255,
      255,
      255,
      0.50
    );

  color:
    #344054;
}


.dashboard-header
.dashboard-view-button.active {
  background:
    #ffffff;

  color:
    #3158d3;

  box-shadow:
    0 3px 10px
    rgba(
      16,
      24,
      40,
      0.10
    );
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media
(max-width: 1250px) {

  .dashboard-header {
    align-items:
      flex-start;

    flex-direction:
      column;

    gap:
      20px;
  }


  .dashboard-command-controls {
    width:
      100%;

    justify-content:
      flex-start;

    flex-wrap:
      wrap;
  }


  .dashboard-command-time {
    min-width:
      270px;
  }

}


@media
(max-width: 720px) {

  .dashboard-header {
    padding:
      20px;
  }


  .dashboard-command-icon {
    flex-basis:
      56px;

    width:
      56px;

    height:
      56px;

    border-radius:
      14px;

    font-size:
      25px;
  }


  .dashboard-command-copy h2 {
    font-size:
      23px;
  }


  .dashboard-command-controls {
    gap:
      10px;
  }


  .dashboard-command-time {
    width:
      100%;

    min-width:
      0;

    padding-right:
      0;

    padding-bottom:
      14px;

    border-right:
      0;

    border-bottom:
      1px solid
      #e4e7ec;
  }


  .dashboard-header
  .dashboard-view-switcher {
    width:
      100%;
  }


  .dashboard-header
  .dashboard-view-switcher-inner {
    width:
      100%;
  }


  .dashboard-header
  .dashboard-view-button {
    flex:
      1 1 50%;

    min-width:
      0;
  }

}