.page-template-dashboard-page-dashboard .gtuit-app-main {
  background:
    radial-gradient(
      circle at top,
      rgb(var(--gtuit-accent-500-rgb) / 0.1),
      transparent 45%
    ),
    radial-gradient(
      circle at 20% 20%,
      rgb(var(--gtuit-accent-600-rgb) / 0.06),
      transparent 35%
    ),
    var(--app-bg);
}

html[data-gtuit-theme="classic"]
  .page-template-dashboard-page-dashboard
  .gtuit-app-main {
  background: var(--app-bg);
}

.dashboard-shell {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: calc(
    48px + var(--gtuit-ai-orb-size, 0px) + var(--gtuit-ai-orb-pad, 0px)
  );
  container-type: inline-size;
}

.pipeline-revenue__filters-toggle {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 13px;
}

.dashboard-shell .gtuit-app-section {
  box-shadow: none;
}

.dashboard-filters {
  padding: 0;
  margin: 0;
}

.dashboard-filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 0;
}

.dashboard-filters__header--inline {
  display: none;
}

.dashboard-filters__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-slate-900, #0f172a);
}

.dashboard-filters__toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
  font-size: 13px;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  backface-visibility: hidden;
  transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dashboard-filters__toggle:hover,
.dashboard-filters__toggle:focus-visible {
  transform: translateZ(0) scale(1.03);
}

.dashboard-filters__toggle:active {
  transform: translateZ(0) scale(0.985);
}

.dashboard-filters__toggle .dashicons {
  font-size: 16px;
}

.dashboard-filters__form {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr)) auto;
  gap: 16px 18px;
  align-items: center;
  background: var(--gtuit-surface-card-solid);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 28px;
  padding: 16px 18px 14px;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow:
    0 0 22px rgba(15, 23, 42, 0.06),
    0 10px 24px rgba(15, 23, 42, 0.05);
}

.dashboard-filters__form > * {
  min-width: 0;
}

.dashboard-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.8);
  letter-spacing: 0.02em;
}

.dashboard-filters input,
.dashboard-filters select {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 10px 14px;
  font-size: 14px;
  background: rgba(249, 251, 255, 0.98);
  transition:
    box-shadow 0.15s ease,
    border-color 0.15s ease;
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.08),
    0 8px 18px rgba(148, 163, 184, 0.14);
}

.dashboard-filters input[type="date"] {
  max-width: 180px;
}

.dashboard-filters select {
  max-width: 200px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #94a3b8 50%),
    linear-gradient(135deg, #94a3b8 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.dashboard-filters input:focus,
.dashboard-filters select:focus {
  border-color: var(--gtuit-accent-600);
  box-shadow: 0 0 0 2px rgb(var(--gtuit-accent-600-rgb) / 0.15);
}

.dashboard-pipeline-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 260px;
  padding: 3px;
  border-radius: 999px;
  background: rgb(var(--gtuit-accent-200-rgb) / 0.2);
  border: 1px solid rgb(var(--gtuit-accent-600-rgb) / 0.18);
  box-sizing: border-box;
}

.dashboard-pipeline-switch__btn {
  flex: 1 1 0;
  border: none;
  background: transparent;
  color: var(--gtuit-accent-700);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-pipeline-switch__btn.is-active {
  background: linear-gradient(
    135deg,
    var(--gtuit-action-bg-hover),
    var(--gtuit-action-bg)
  );
  color: #fff;
  box-shadow: 0 6px 16px rgb(var(--gtuit-action-bg-rgb) / 0.22);
}

.dashboard-pipeline-switch__btn:focus-visible {
  outline: 2px solid var(--gtuit-accent-600);
  outline-offset: 1px;
}

.dashboard-filter-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  justify-self: flex-end;
  max-width: 100%;
  min-width: 0;
}

.dashboard-shell.is-customizing .dashboard-filters__form--filters {
  display: none;
}

.dashboard-customize-toolbar {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--gtuit-surface-card-solid);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 28px;
  padding: 16px 18px 14px;
  box-shadow:
    0 0 22px rgba(15, 23, 42, 0.06),
    0 10px 24px rgba(15, 23, 42, 0.05);
}

html.gtuit-dark-mode .dashboard-customize-toolbar {
  box-shadow: 0 24px 52px rgba(255, 255, 255, 0.12);
}

.dashboard-customize-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.dashboard-customize-toolbar__right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.dashboard-customize-status {
  font-weight: 600;
  color: rgba(71, 85, 105, 0.92);
}

.dashboard-customize-status:empty {
  display: none;
}

.dashboard-shell.is-customizing .dashboard-customize-toolbar {
  display: flex;
}

.dashboard-shell.is-customizing .dashboard-filters {
  position: sticky;
  top: calc(var(--gtuit-header-offset, 68px) + 12px);
  z-index: 60;
}

.dashboard-shell.is-customizing .dashboard-filters__header--inline {
  display: flex;
}

.dashboard-filter-apply {
  min-height: 44px;
  padding: 0 30px;
  gap: 8px;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--gtuit-action-bg-hover),
    var(--gtuit-action-bg)
  );
  box-shadow: 0 14px 26px rgb(var(--gtuit-action-bg-rgb) / 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.dashboard-filter-apply:hover,
.dashboard-filter-apply:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 32px rgb(var(--gtuit-action-bg-rgb) / 0.34);
}

.dashboard-filter-reset {
  min-height: 44px;
  padding: 0 26px;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #f8fafc;
  color: #475569;
  box-shadow: inset 0 1px 2px rgba(148, 163, 184, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}

.dashboard-filter-reset:hover,
.dashboard-filter-reset:focus-visible {
  color: #0f172a;
  border-color: rgb(var(--gtuit-accent-600-rgb) / 0.35);
}

@container (max-width: 1320px) {
  .dashboard-filters__form {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) auto;
  }

  .dashboard-filters input[type="date"],
  .dashboard-filters select {
    max-width: none;
  }
}

@media (max-width: 960px) {
  .dashboard-filters__form {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) auto;
  }

  .dashboard-filters input[type="date"],
  .dashboard-filters select {
    max-width: none;
  }
}

.dashboard-filters__form {
  width: 100%;
}

@media (max-width: 1024px) {
  .dashboard-filters__header--inline {
    display: flex;
  }

  .dashboard-filters__toggle {
    display: inline-flex;
  }

  .dashboard-filters.is-collapsed .dashboard-filters__form {
    display: none;
  }
}

@media (max-width: 640px) {
  .dashboard-filters__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 14px 14px 12px;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  }

  .dashboard-filters__form--filters {
    grid-template-areas:
      "start end"
      "owner stage"
      "pipeline pipeline"
      "actions actions";
  }

  .dashboard-filter--start {
    grid-area: start;
  }

  .dashboard-filter--end {
    grid-area: end;
  }

  .dashboard-filter--owner {
    grid-area: owner;
  }

  .dashboard-filter--stage {
    grid-area: stage;
  }

  .dashboard-filter--pipeline {
    grid-area: pipeline;
  }

  .dashboard-filter-actions {
    grid-area: actions;
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .dashboard-filter {
    gap: 4px;
    font-size: 11px;
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-filters input,
  .dashboard-filters select {
    width: 100%;
    max-width: none;
    padding: 8px 10px;
    font-size: 12px;
    box-shadow:
      inset 0 1px 1px rgba(15, 23, 42, 0.06),
      0 6px 14px rgba(148, 163, 184, 0.12);
  }

  .dashboard-filters input[type="date"] {
    width: 100%;
    max-width: none;
    padding: 8px 10px;
    font-size: 12px;
  }

  .dashboard-filters input:not([type="date"]),
  .dashboard-filters select {
    flex: 0 0 auto;
  }

  .dashboard-pipeline-switch {
    max-width: none;
    width: 100%;
  }

  .dashboard-pipeline-switch__btn {
    padding: 8px 8px;
    font-size: 11px;
  }

  .dashboard-filter-apply,
  .dashboard-filter-reset,
  .dashboard-filter-customize {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .dashboard-filter-actions .gtuit-button {
    position: relative;
  }

  .dashboard-filter-actions span:not(.dashicons) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .dashboard-filter-actions .dashicons {
    font-size: 16px;
  }

  .dashboard-filter-apply {
    box-shadow: 0 10px 18px rgb(var(--gtuit-action-bg-rgb) / 0.22);
  }

  .dashboard-customize-toolbar {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  }

  .dashboard-customize-toolbar__actions {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }

  .dashboard-customize-toolbar__right {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
  }

  .dashboard-customize-toolbar__actions .gtuit-button,
  .dashboard-customize-toolbar__right .gtuit-button {
    width: auto;
    justify-content: center;
  }

  .dashboard-customize-toolbar__actions [data-dashboard-undo],
  .dashboard-customize-toolbar__actions [data-dashboard-redo],
  .dashboard-customize-toolbar__actions [data-dashboard-add-open],
  .dashboard-customize-toolbar__actions [data-dashboard-reset] {
    padding: 0;
    min-width: 36px;
    width: 36px;
    min-height: 36px;
    gap: 0;
  }

  .dashboard-customize-toolbar__actions
    [data-dashboard-undo]
    span:not(.dashicons),
  .dashboard-customize-toolbar__actions
    [data-dashboard-redo]
    span:not(.dashicons),
  .dashboard-customize-toolbar__actions
    [data-dashboard-add-open]
    span:not(.dashicons),
  .dashboard-customize-toolbar__actions
    [data-dashboard-reset]
    span:not(.dashicons) {
    display: none;
  }

  .dashboard-customize-toolbar__actions [data-dashboard-undo] .dashicons,
  .dashboard-customize-toolbar__actions [data-dashboard-redo] .dashicons,
  .dashboard-customize-toolbar__actions [data-dashboard-add-open] .dashicons,
  .dashboard-customize-toolbar__actions [data-dashboard-reset] .dashicons {
    font-size: 16px;
  }

  .dashboard-customize-status {
    flex: 1;
    text-align: right;
    font-size: 12px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.dashboard-tile.dashboard-kpi-tile,
.dashboard-tile[data-dashboard-tile="kpis"] {
  min-height: 0;
  overflow: visible;
}

@media (min-width: 681px) {
  .dashboard-tile.dashboard-kpi-tile,
  .dashboard-tile[data-dashboard-tile="kpis"] {
    grid-row: auto / span 1 !important;
    grid-row-start: auto !important;
    grid-row-end: span 1 !important;
  }
}

.dashboard-kpi-tile .dashboard-tile__controls {
  display: none;
}

.dashboard-shell.is-customizing .dashboard-kpi-tile.dashboard-card {
  padding: 16px 18px;
  border-radius: 22px;
}

.dashboard-shell.is-customizing .dashboard-kpi-tile .dashboard-card__header {
  margin-bottom: 10px;
}

.dashboard-shell:not(.is-customizing) .dashboard-kpi-tile {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.dashboard-shell:not(.is-customizing)
  .dashboard-kpi-tile
  .dashboard-card__header {
  display: none;
}

@media (min-width: 681px) {
  .dashboard-shell:not(.is-customizing) .dashboard-layout {
    grid-template-rows: auto;
  }

  .dashboard-shell:not(.is-customizing) .dashboard-kpi-tile .dashboard-kpis {
    flex: 0 0 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    align-content: flex-start;
    grid-auto-rows: minmax(106px, auto);
  }

  .dashboard-shell:not(.is-customizing) .dashboard-kpi-tile .dashboard-kpi {
    height: auto;
    min-height: 106px;
  }

  .dashboard-tile[data-dashboard-tile="kpis"] .dashboard-kpi {
    padding: 10px 14px;
    gap: 6px;
    justify-content: center;
    align-items: center;
    min-height: 106px;
    border-radius: 28px;
  }
}

@media (max-width: 1200px) {
  .dashboard-kpis {
    grid-template-columns: repeat(8, minmax(165px, 1fr));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 8px;
    margin-bottom: -8px;
  }
}

@media (max-width: 640px) {
  .dashboard-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dashboard-tile[data-dashboard-tile="kpis"] .dashboard-kpi {
    min-width: auto;
  }

  .dashboard-kpi {
    padding: 12px 11px;
    border-radius: 20px;
    gap: 5px;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .dashboard-kpi__label {
    font-size: 10.5px;
    letter-spacing: 0.06em;
  }

  .dashboard-kpi__value {
    font-size: 22px;
  }

  .dashboard-kpi__meta {
    display: block;
    font-size: 11px;
  }
}

.dashboard-kpi {
  --dashboard-kpi-accent: #1d4ed8;
  border-radius: 24px;
  padding: 12px 14px;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--gtuit-surface-card);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  min-height: 0;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.dashboard-kpi--purple {
  --dashboard-kpi-accent: #7c3aed;
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(237, 233, 254, 0.72);
}

.dashboard-kpi--blue {
  --dashboard-kpi-accent: #2563eb;
  border-color: rgb(var(--gtuit-accent-600-rgb, 37 99 235) / 0.24);
  background: rgb(var(--gtuit-accent-600-rgb, 37 99 235) / 0.09);
}

.dashboard-kpi--teal {
  --dashboard-kpi-accent: #0f766e;
  border-color: rgba(56, 189, 248, 0.38);
  background: rgba(224, 242, 254, 0.72);
}

.dashboard-kpi--green {
  --dashboard-kpi-accent: #047857;
  border-color: rgba(74, 222, 128, 0.42);
  background: rgba(220, 252, 231, 0.72);
}

.dashboard-kpi--orange {
  --dashboard-kpi-accent: #c2410c;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(254, 243, 199, 0.74);
}

.dashboard-kpi__label {
  margin: 0;
  font-family: inherit;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  color: color-mix(in srgb, var(--dashboard-kpi-accent) 70%, white 30%);
  line-height: 1.2;
  text-wrap: balance;
}

.dashboard-kpi__value {
  margin: 0;
  font-family: inherit;
  font-size: clamp(21px, 1.45vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--dashboard-kpi-accent);
  line-height: 1.08;
  display: block;
  font-variant-numeric: tabular-nums;
  white-space: normal;
  overflow-wrap: anywhere;
}

.dashboard-kpi__meta {
  margin: 0;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 500;
  color: color-mix(in srgb, var(--dashboard-kpi-accent) 82%, #334155 18%);
  line-height: 1.25;
  text-wrap: pretty;
  overflow-wrap: anywhere;
  max-width: 16ch;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 24px;
}

.dashboard-grid > * {
  min-width: 0;
}

.dashboard-grid__stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--dashboard-tile-gap, 24px);
  grid-auto-rows: var(--dashboard-tile-row, auto);
}

.dashboard-tile {
  position: relative;
  min-width: 0;
}

.dashboard-layout {
  --dashboard-tile-compact-height: 420px;
  --dashboard-tile-gap: 24px;
  --dashboard-tile-row: calc(
    (var(--dashboard-tile-compact-height) - var(--dashboard-tile-gap)) / 2
  );
}

.dashboard-tile--one-sixth,
.dashboard-tile--half-third,
.dashboard-tile--one-third,
.dashboard-tile--two-thirds,
.dashboard-tile--full {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.dashboard-tile--one-sixth,
.dashboard-tile--half-third {
  grid-row: span 1;
}

.dashboard-tile--one-third,
.dashboard-tile--two-thirds,
.dashboard-tile--full {
  grid-row: span 2;
}

.dashboard-tile--one-sixth {
  grid-column: span 1;
}

.dashboard-tile--half-third,
.dashboard-tile--one-third {
  grid-column: span 2;
}

.dashboard-tile--two-thirds {
  grid-column: span 4;
}

.dashboard-tile--full {
  grid-column: span 6;
}

.dashboard-customize-status {
  min-width: 120px;
  text-align: right;
  font-size: 12.5px;
  color: rgba(71, 85, 105, 0.85);
}

.dashboard-customize-status[data-state="error"] {
  color: #b91c1c;
}

.dashboard-customize-status[data-state="saved"] {
  color: #047857;
}

.dashboard-tile__controls {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  gap: 8px;
  justify-items: end;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
  z-index: 10;
}

.dashboard-shell.is-customizing .dashboard-tile__controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dashboard-shell.is-customizing .dashboard-card__meta {
  display: none;
}

.dashboard-tile__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(6px);
  color: #0f172a;
}

.dashboard-tile__handle,
.dashboard-tile__remove {
  width: 38px;
  padding: 0;
  cursor: pointer;
}

.dashboard-tile__handle {
  cursor: grab;
}

.dashboard-tile__handle:active {
  cursor: grabbing;
}

.dashboard-shell.is-customizing .dashboard-tile {
  cursor: grab;
  will-change: transform;
}

.dashboard-shell.is-customizing .dashboard-tile:active {
  cursor: grabbing;
}

.dashboard-tile__remove {
  border-color: rgba(239, 68, 68, 0.25);
  color: #b91c1c;
}

.dashboard-tile__remove:hover,
.dashboard-tile__remove:focus-visible {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
}

.dashboard-tile__width select {
  border: none;
  background: transparent;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: inherit;
  appearance: none;
}

.dashboard-tile__width select:focus {
  outline: none;
}

.dashboard-tile__control .dashicons {
  font-size: 16px;
}

@keyframes dashboard-wiggle {
  from {
    transform: rotate(-0.65deg);
  }

  to {
    transform: rotate(0.65deg);
  }
}

.dashboard-shell.is-customizing .dashboard-tile {
  animation: dashboard-wiggle 0.14s ease-in-out infinite alternate;
}

.dashboard-shell.is-customizing.is-dragging .dashboard-tile {
  animation: none;
}

.dashboard-shell.is-customizing .dashboard-tile--chosen,
.dashboard-shell.is-customizing .dashboard-tile--ghost,
.dashboard-shell.is-customizing .dashboard-tile--drag {
  animation: none;
}

.dashboard-shell.is-customizing .dashboard-tile--ghost {
  opacity: 0.25;
}

.dashboard-shell.is-customizing .dashboard-tile--drag {
  box-shadow: 0 34px 70px rgba(15, 23, 42, 0.22);
}

.dashboard-shell.is-customizing .dashboard-tile a {
  pointer-events: none;
}

.dashboard-shell.is-customizing .dashboard-tile .dashboard-tile__controls,
.dashboard-shell.is-customizing .dashboard-tile .dashboard-tile__controls * {
  pointer-events: auto;
}

.dashboard-card.dashboard-slot,
.dashboard-card.dashboard-spacer {
  background: transparent;
  border: 2px dashed rgba(148, 163, 184, 0.55);
  box-shadow: none;
  backdrop-filter: none;
  height: auto;
  min-height: 0;
  padding: 0;
}

.dashboard-slot__button {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  border-radius: inherit;
  border: none;
  background: transparent;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 12.5px;
  color: rgba(71, 85, 105, 0.9);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.dashboard-slot__button:hover,
.dashboard-slot__button:active {
  background: transparent;
}

.dashboard-slot__button:focus {
  outline: none;
}

.dashboard-slot__button .dashicons {
  font-size: 18px;
  width: auto;
  height: auto;
}

.dashboard-slot__label {
  line-height: 1.1;
}

.dashboard-tile--one-sixth .dashboard-slot__label {
  display: none;
}

.dashboard-slot__button:focus-visible {
  outline: none;
}

.dashboard-shell:not(.is-customizing) .dashboard-card.dashboard-slot,
.dashboard-shell:not(.is-customizing) .dashboard-card.dashboard-spacer {
  display: none;
  visibility: hidden;
  border-color: transparent;
}

.dashboard-shell.is-customizing .dashboard-card.dashboard-slot,
.dashboard-shell.is-customizing .dashboard-card.dashboard-spacer {
  cursor: pointer;
  animation: none;
}

.dashboard-shell.is-customizing .dashboard-card.dashboard-slot:hover,
.dashboard-shell.is-customizing .dashboard-card.dashboard-spacer:hover {
  border-style: solid;
  border-color: rgb(var(--gtuit-accent-600-rgb) / 0.65);
  background: rgb(var(--gtuit-accent-600-rgb) / 0.025);
}

.dashboard-shell.is-customizing .dashboard-card.dashboard-slot:focus-within,
.dashboard-shell.is-customizing .dashboard-card.dashboard-spacer:focus-within {
  border-style: solid;
  border-color: rgb(var(--gtuit-accent-600-rgb) / 0.65);
  background: rgb(var(--gtuit-accent-600-rgb) / 0.025);
}

.dashboard-shell.is-customizing.is-dragging .dashboard-card.dashboard-slot,
.dashboard-shell.is-customizing.is-dragging .dashboard-card.dashboard-spacer {
  border-color: rgb(var(--gtuit-accent-600-rgb) / 0.35);
  background: rgb(var(--gtuit-accent-600-rgb) / 0.03);
}

.dashboard-shell.is-customizing.is-dragging
  .dashboard-card.dashboard-slot:hover,
.dashboard-shell.is-customizing.is-dragging
  .dashboard-card.dashboard-spacer:hover {
  border-color: rgb(var(--gtuit-accent-600-rgb) / 0.65);
  background: rgb(var(--gtuit-accent-600-rgb) / 0.06);
}

.dashboard-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}

.dashboard-modal[aria-hidden="true"] {
  display: none !important;
}

.dashboard-modal.is-open {
  display: flex;
}

.dashboard-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(4px);
}

.dashboard-modal__panel {
  position: relative;
  width: min(860px, 100%);
  border-radius: 24px;
  background: var(--gtuit-surface-card-solid);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 20px 22px;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.25);
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.dashboard-modal__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.dashboard-modal__form {
  display: grid;
  gap: 14px;
}

.dashboard-modal__description {
  margin: -6px 0 4px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(15, 23, 42, 0.68);
}

.dashboard-modal__field {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.75);
}

.dashboard-modal__field select {
  border-radius: var(--gtuit-control-radius, 999px);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 10px 12px;
  font-size: 14px;
  background: rgba(249, 251, 255, 0.98);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.dashboard-modal__field select[multiple],
.dashboard-modal__field select[size]:not([size="1"]) {
  border-radius: var(--gtuit-control-radius-multi, 16px);
}

.dashboard-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 4px;
}

.dashboard-modal__hint {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(71, 85, 105, 0.95);
}

.dashboard-modal__hint[data-dashboard-add-recommendation],
.dashboard-modal__hint[data-dashboard-add-help] {
  min-height: 2.7em;
}

.dashboard-size-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-size-picker__option {
  display: grid;
  justify-items: start;
  gap: 10px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 12px 12px;
  background: rgba(248, 250, 252, 0.85);
  color: rgba(15, 23, 42, 0.92);
  cursor: pointer;
  text-align: left;
}

.dashboard-size-picker__option[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.dashboard-size-picker__option:hover {
  border-color: rgba(148, 163, 184, 0.55);
}

.dashboard-size-picker__option[aria-checked="true"] {
  border-color: rgb(var(--gtuit-accent-600-rgb) / 0.55);
  box-shadow: 0 20px 46px rgb(var(--gtuit-accent-600-rgb) / 0.12);
  background: rgb(var(--gtuit-accent-600-rgb) / 0.06);
}

.dashboard-size-picker__icon {
  width: 100%;
}

.dashboard-size-picker__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.dashboard-size-picker__grid span {
  height: 22px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.dashboard-size-picker__grid[data-width="one-sixth"] span,
.dashboard-size-picker__grid[data-width="half-third"] span {
  height: 14px;
}

.dashboard-size-picker__grid[data-width="one-sixth"] span:nth-child(1),
.dashboard-size-picker__grid[data-width="one-third"] span:nth-child(-n + 2),
.dashboard-size-picker__grid[data-width="half-third"] span:nth-child(-n + 2),
.dashboard-size-picker__grid[data-width="two-thirds"] span:nth-child(-n + 4),
.dashboard-size-picker__grid[data-width="full"] span {
  background: rgb(var(--gtuit-accent-600-rgb) / 0.22);
  border-color: rgb(var(--gtuit-accent-600-rgb) / 0.25);
}

.dashboard-size-picker__label {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

.dashboard-modal__preview {
  display: flex;
  justify-content: flex-start;
  height: clamp(260px, 34vh, 340px);
}

.dashboard-tile-preview {
  --dashboard-preview-highlight: linear-gradient(to right, transparent 0 100%);
  --dashboard-preview-row-line: linear-gradient(to bottom, transparent 0 100%);
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  align-content: stretch;
  height: 100%;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background:
    var(--dashboard-preview-highlight),
    var(--dashboard-preview-row-line),
    linear-gradient(
        to right,
        rgba(148, 163, 184, 0.16),
        rgba(148, 163, 184, 0.16)
      )
      16.666% 0 / 1px 100% no-repeat,
    linear-gradient(
        to right,
        rgba(148, 163, 184, 0.16),
        rgba(148, 163, 184, 0.16)
      )
      33.333% 0 / 1px 100% no-repeat,
    linear-gradient(
        to right,
        rgba(148, 163, 184, 0.16),
        rgba(148, 163, 184, 0.16)
      )
      50% 0 / 1px 100% no-repeat,
    linear-gradient(
        to right,
        rgba(148, 163, 184, 0.16),
        rgba(148, 163, 184, 0.16)
      )
      66.666% 0 / 1px 100% no-repeat,
    linear-gradient(
        to right,
        rgba(148, 163, 184, 0.16),
        rgba(148, 163, 184, 0.16)
      )
      83.333% 0 / 1px 100% no-repeat,
    rgba(248, 250, 252, 0.85);
}

.dashboard-tile-preview[data-preview-size="one-sixth"] {
  --dashboard-preview-highlight: linear-gradient(
    to right,
    rgb(var(--gtuit-accent-600-rgb) / 0.06) 0%,
    rgb(var(--gtuit-accent-600-rgb) / 0.06) 16.666%,
    transparent 16.666%,
    transparent 100%
  );
  --dashboard-preview-row-line: linear-gradient(
    to bottom,
    transparent calc(50% - 0.5px),
    rgba(148, 163, 184, 0.22) calc(50% - 0.5px),
    rgba(148, 163, 184, 0.22) calc(50% + 0.5px),
    transparent calc(50% + 0.5px)
  );
}

.dashboard-tile-preview[data-preview-size="half-third"] {
  --dashboard-preview-highlight: linear-gradient(
    to right,
    rgb(var(--gtuit-accent-600-rgb) / 0.06) 0%,
    rgb(var(--gtuit-accent-600-rgb) / 0.06) 33.333%,
    transparent 33.333%,
    transparent 100%
  );
  --dashboard-preview-row-line: linear-gradient(
    to bottom,
    transparent calc(50% - 0.5px),
    rgba(148, 163, 184, 0.22) calc(50% - 0.5px),
    rgba(148, 163, 184, 0.22) calc(50% + 0.5px),
    transparent calc(50% + 0.5px)
  );
}

.dashboard-tile-preview[data-preview-size="one-third"] {
  --dashboard-preview-highlight: linear-gradient(
    to right,
    rgb(var(--gtuit-accent-600-rgb) / 0.06) 0%,
    rgb(var(--gtuit-accent-600-rgb) / 0.06) 33.333%,
    transparent 33.333%,
    transparent 100%
  );
}

.dashboard-tile-preview[data-preview-size="two-thirds"] {
  --dashboard-preview-highlight: linear-gradient(
    to right,
    rgb(var(--gtuit-accent-600-rgb) / 0.06) 0%,
    rgb(var(--gtuit-accent-600-rgb) / 0.06) 66.666%,
    transparent 66.666%,
    transparent 100%
  );
}

.dashboard-tile-preview[data-preview-size="full"] {
  --dashboard-preview-highlight: linear-gradient(
    to right,
    rgb(var(--gtuit-accent-600-rgb) / 0.05) 0%,
    rgb(var(--gtuit-accent-600-rgb) / 0.05) 100%
  );
}

.dashboard-tile-preview .dashboard-card {
  --dashboard-preview-scale: 0.9;
  pointer-events: none;
  user-select: none;
  transform: scale(var(--dashboard-preview-scale));
  transform-origin: top left;
  width: calc(100% / var(--dashboard-preview-scale));
  height: calc(100% / var(--dashboard-preview-scale));
  overflow: hidden;
  animation: none !important;
  min-height: 0;
}

.dashboard-tile-preview .dashboard-tile__controls {
  display: none !important;
}

.dashboard-tile-preview .dashboard-card__meta {
  display: block !important;
}

.dashboard-tile-preview .dashboard-preview-canvas {
  height: 170px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.18),
    rgba(148, 163, 184, 0.08),
    rgba(148, 163, 184, 0.18)
  );
}

@media (max-width: 1024px) {
  .dashboard-tile-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background:
      var(--dashboard-preview-highlight),
      var(--dashboard-preview-row-line),
      linear-gradient(
          to right,
          rgba(148, 163, 184, 0.16),
          rgba(148, 163, 184, 0.16)
        )
        50% 0 / 1px 100% no-repeat,
      rgba(248, 250, 252, 0.85);
  }

  .dashboard-tile-preview[data-preview-size="one-sixth"],
  .dashboard-tile-preview[data-preview-size="half-third"],
  .dashboard-tile-preview[data-preview-size="one-third"] {
    --dashboard-preview-highlight: linear-gradient(
      to right,
      rgb(var(--gtuit-accent-600-rgb) / 0.06) 0%,
      rgb(var(--gtuit-accent-600-rgb) / 0.06) 50%,
      transparent 50%,
      transparent 100%
    );
  }

  .dashboard-tile-preview[data-preview-size="two-thirds"],
  .dashboard-tile-preview[data-preview-size="full"] {
    --dashboard-preview-highlight: linear-gradient(
      to right,
      rgb(var(--gtuit-accent-600-rgb) / 0.05) 0%,
      rgb(var(--gtuit-accent-600-rgb) / 0.05) 100%
    );
  }
}

@media (max-width: 680px) {
  .dashboard-tile-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background:
      var(--dashboard-preview-highlight),
      var(--dashboard-preview-row-line),
      linear-gradient(
          to right,
          rgba(148, 163, 184, 0.16),
          rgba(148, 163, 184, 0.16)
        )
        50% 0 / 1px 100% no-repeat,
      rgba(248, 250, 252, 0.85);
  }

  .dashboard-tile-preview[data-preview-size="one-sixth"] {
    --dashboard-preview-highlight: linear-gradient(
      to right,
      rgb(var(--gtuit-accent-600-rgb) / 0.05) 0%,
      rgb(var(--gtuit-accent-600-rgb) / 0.05) 50%,
      transparent 50%,
      transparent 100%
    );
  }

  .dashboard-tile-preview[data-preview-size="half-third"],
  .dashboard-tile-preview[data-preview-size="one-third"],
  .dashboard-tile-preview[data-preview-size="two-thirds"],
  .dashboard-tile-preview[data-preview-size="full"] {
    --dashboard-preview-highlight: linear-gradient(
      to right,
      rgb(var(--gtuit-accent-600-rgb) / 0.05) 0%,
      rgb(var(--gtuit-accent-600-rgb) / 0.05) 100%
    );
  }
}

@media (max-width: 540px) {
  .dashboard-size-picker {
    grid-template-columns: minmax(0, 1fr);
  }
}

body.dashboard-modal-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .dashboard-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-tile--one-sixth,
  .dashboard-tile--half-third,
  .dashboard-tile--one-third {
    grid-column: span 1;
  }

  .dashboard-tile--two-thirds,
  .dashboard-tile--full {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .dashboard-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .dashboard-tile--one-sixth {
    grid-column: span 1;
  }

  .dashboard-tile--one-sixth,
  .dashboard-tile--half-third,
  .dashboard-tile--one-third,
  .dashboard-tile--two-thirds,
  .dashboard-tile--full {
    grid-row: auto;
    height: auto;
    min-height: 0;
  }

  .dashboard-tile--half-third,
  .dashboard-tile--one-third,
  .dashboard-tile--two-thirds,
  .dashboard-tile--full {
    grid-column: span 2;
  }

  .dashboard-tile.dashboard-kpi-tile {
    grid-row: auto;
  }

  .dashboard-customize-status {
    min-width: auto;
    text-align: left;
    flex-basis: 100%;
  }
}

.dashboard-card {
  background: var(--gtuit-surface-card-solid);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 26px;
  padding: 22px 26px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

html.gtuit-dark-mode .dashboard-card {
  box-shadow: 0 24px 50px rgba(255, 255, 255, 0.12);
}

.dashboard-tile--half-third.dashboard-card {
  padding: 16px 18px;
  border-radius: 22px;
}

.dashboard-tile--half-third .dashboard-card__header {
  margin-bottom: 10px;
}

.dashboard-tile--half-third .dashboard-card__title {
  font-size: 16px;
}

.dashboard-tile--half-third .dashboard-card__meta {
  display: none;
}

.dashboard-card__header {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex: 0 0 auto;
}

.dashboard-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dashboard-card__title .dashicons {
  font-size: 18px;
  color: #64748b;
}

.dashboard-card__title-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-card__title-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.dashboard-card__title-icon-default,
.dashboard-card__remove {
  grid-area: 1 / 1;
}

.dashboard-card__remove {
  display: none;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  cursor: pointer;
}

.dashboard-card__remove:hover,
.dashboard-card__remove:focus-visible {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.38);
}

.dashboard-card__remove .dashicons {
  font-size: 16px;
  color: inherit;
}

.dashboard-shell.is-customizing .dashboard-card__title-icon-default {
  display: none;
}

.dashboard-shell.is-customizing .dashboard-card__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-shell.is-customizing
  .dashboard-tile__controls
  .dashboard-tile__remove {
  display: none;
}

.dashboard-card__meta {
  margin: 0;
  font-size: 13px;
  color: rgba(71, 85, 105, 0.9);
}

.dashboard-card--dot-domains {
  border-color: rgba(59, 130, 246, 0.18);
  background:
    radial-gradient(
      circle at top right,
      rgb(var(--gtuit-accent-500-rgb) / 0.08),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(248, 251, 255, 0.96)
    );
}

.dashboard-card--dot-domains .dashboard-card__header {
  margin-bottom: 16px;
}

.dashboard-card--dot-domains .gtuit-dot-dashboard-frame__grid--widget {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-card--dot-domains .gtuit-dot-domain-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(241, 245, 249, 0.92)
    ),
    linear-gradient(
      135deg,
      rgb(var(--gtuit-accent-600-rgb) / 0.06),
      transparent 45%
    );
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.dashboard-card--dot-domains .gtuit-dot-domain-card:hover,
.dashboard-card--dot-domains .gtuit-dot-domain-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgb(var(--gtuit-accent-600-rgb) / 0.35);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.dashboard-card--dot-domains .gtuit-dot-domain-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-card--dot-domains .gtuit-dot-domain-card__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgb(var(--gtuit-accent-600-rgb) / 0.12);
  color: var(--gtuit-accent-700);
  font-size: 16px;
  flex: 0 0 28px;
}

.dashboard-card--dot-domains .gtuit-dot-domain-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(71, 85, 105, 0.82);
}

.dashboard-card--dot-domains .gtuit-dot-inline-pill {
  margin-left: auto;
}

.dashboard-card--dot-domains .gtuit-dot-domain-card__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.dashboard-card--dot-domains .gtuit-dot-domain-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(71, 85, 105, 0.92);
}

.dashboard-card--dot-domains .gtuit-dot-domain-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  color: var(--gtuit-accent-700);
  font-weight: 700;
  font-size: 13px;
}

.dashboard-card--list {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.dashboard-card--list > .dashboard-list,
.dashboard-card--list > .dashboard-split,
.dashboard-card--list > .dashboard-recent-activity__list {
  flex: 1 1 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 18px;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.dashboard-tile--half-third.dashboard-card--list > .dashboard-list,
.dashboard-tile--half-third.dashboard-card--list > .dashboard-split,
.dashboard-tile--half-third.dashboard-card--list
  > .dashboard-recent-activity__list {
  padding-right: 14px;
}

.dashboard-card--list > .dashboard-list::-webkit-scrollbar,
.dashboard-card--list > .dashboard-split::-webkit-scrollbar,
.dashboard-card--list > .dashboard-recent-activity__list::-webkit-scrollbar {
  width: 8px;
}

.dashboard-card--list > .dashboard-list::-webkit-scrollbar-thumb,
.dashboard-card--list > .dashboard-split::-webkit-scrollbar-thumb,
.dashboard-card--list
  > .dashboard-recent-activity__list::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 999px;
}

.dashboard-tile--half-third.dashboard-card--list .dashboard-list {
  gap: 8px;
}

.dashboard-tile--half-third.dashboard-card--list .dashboard-list__link {
  padding: 10px 12px;
}

.dashboard-tile--half-third.dashboard-card--list .dashboard-list__title {
  font-size: 13px;
}

.dashboard-tile--half-third.dashboard-card--list .dashboard-list__meta {
  font-size: 12px;
}

.dashboard-tile--half-third .dashboard-split {
  gap: 12px;
}

.dashboard-tile--half-third .dashboard-split__title {
  margin-bottom: 8px;
  font-size: 10px;
}

/* Match the Calendar page task list styling in the Dashboard "Tasks due" widget. */
.dashboard-task-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.dashboard-task-list .gtuit-task-list__item {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  background: var(--gtuit-surface-card-solid, #fff);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dashboard-task-list .gtuit-task-list__item[data-task-priority] {
  position: relative;
  --gtuit-task-priority-rgb: 59 130 246;
  --gtuit-task-status-rgb: 100 116 139;
}

.dashboard-task-list .gtuit-task-list__item[data-task-priority]::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: rgb(var(--gtuit-task-priority-rgb) / 0.72);
  box-shadow: 0 0 0 4px rgb(var(--gtuit-task-priority-rgb) / 0.12);
}

.dashboard-task-list .gtuit-task-list__meta {
  display: grid;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.dashboard-task-list
  .gtuit-task-list__item[data-task-priority]
  .gtuit-task-list__meta {
  padding-left: 12px;
}

.dashboard-task-list .gtuit-task-list__header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.65);
  min-width: 0;
}

.dashboard-task-list .gtuit-task-list__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  font-weight: 600;
  font-size: 13px;
  color: #0f172a;
}

.dashboard-task-list .gtuit-task-list__title-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-task-list .gtuit-task-list__pill,
.dashboard-task-list .gtuit-task-list__mine {
  flex: 0 0 auto;
  white-space: nowrap;
}

.dashboard-task-list .gtuit-task-list__header-extra {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-left: auto;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.6);
}

.dashboard-task-list .gtuit-task-list__pill {
  background: rgb(var(--gtuit-accent-600-rgb) / 0.14);
  color: var(--gtuit-accent-700);
  font-size: 11px;
  border-radius: 999px;
  padding: 2px 8px;
}

.dashboard-task-list .gtuit-task-list__details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  row-gap: 6px;
  align-items: center;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.75);
  min-width: 0;
}

.dashboard-task-list .gtuit-task-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.dashboard-task-list .gtuit-task-meta .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 14px;
  color: rgba(15, 23, 42, 0.42);
}

.dashboard-task-list .gtuit-task-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
  background: rgb(var(--gtuit-task-dot-rgb, 100 116 139) / 0.9);
  box-shadow: 0 0 0 4px rgb(var(--gtuit-task-dot-rgb, 100 116 139) / 0.14);
}

.dashboard-task-list .gtuit-task-meta--status {
  --gtuit-task-dot-rgb: var(--gtuit-task-status-rgb, 100 116 139);
}

.dashboard-task-list .gtuit-task-list__details--meta .gtuit-task-list__due,
.dashboard-task-list .gtuit-task-list__details--meta .gtuit-task-list__assignee,
.dashboard-task-list .gtuit-task-list__details--meta .gtuit-task-list__object,
.dashboard-task-list .gtuit-task-list__details--meta .gtuit-task-list__status {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  white-space: nowrap;
}

.dashboard-task-list .gtuit-task-list__details--meta .gtuit-task-list__due,
.dashboard-task-list .gtuit-task-list__details--meta .gtuit-task-list__assignee,
.dashboard-task-list .gtuit-task-list__details--meta .gtuit-task-list__object {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 600;
}

.dashboard-task-list .gtuit-task-meta--status .gtuit-task-list__status {
  font-weight: 800;
  color: rgb(var(--gtuit-task-status-rgb, 100 116 139) / 0.84);
}

.dashboard-task-list .gtuit-task-list__object-link {
  color: inherit;
  text-decoration: none;
}

.dashboard-task-list .gtuit-task-list__object-link:hover,
.dashboard-task-list .gtuit-task-list__object-link:focus-visible {
  text-decoration: underline;
}

.dashboard-task-list .gtuit-task-list__item[data-task-priority="0"] {
  --gtuit-task-priority-rgb: 16 185 129;
}

.dashboard-task-list .gtuit-task-list__item[data-task-priority="1"] {
  --gtuit-task-priority-rgb: 59 130 246;
}

.dashboard-task-list .gtuit-task-list__item[data-task-priority="2"] {
  --gtuit-task-priority-rgb: 245 158 11;
}

.dashboard-task-list .gtuit-task-list__item[data-task-priority="3"] {
  --gtuit-task-priority-rgb: 239 68 68;
}

.dashboard-task-list .gtuit-task-list__item[data-task-status="open"] {
  --gtuit-task-status-rgb: 100 116 139;
}

.dashboard-task-list .gtuit-task-list__item[data-task-status="in_progress"] {
  --gtuit-task-status-rgb: 99 102 241;
}

.dashboard-task-list .gtuit-task-list__item[data-task-status="completed"],
.dashboard-task-list .gtuit-task-list__item[data-task-status="done"] {
  --gtuit-task-status-rgb: 34 197 94;
}

.dashboard-card--calendar {
  display: flex;
  flex-direction: column;
  --dashboard-cal-section-gap: 10px;
  --dashboard-cal-grid-gap: 6px;
  --dashboard-cal-row-min: 28px;
  --dashboard-cal-day-pad: 8px;
  --dashboard-cal-day-radius: 12px;
  --dashboard-cal-day-gap: 6px;
  --dashboard-cal-dow-size: 10px;
  --dashboard-cal-dow-gap: 6px;
  --dashboard-cal-num-size: 12px;
  --dashboard-cal-badge-height: 18px;
  --dashboard-cal-badge-min: 20px;
  --dashboard-cal-badge-font: 10px;
  --dashboard-cal-badge-pad: 5px;
  --dashboard-cal-badge-offset: 6px;
  --dashboard-cal-dot-size: 7px;
  --dashboard-cal-dot-gap: 4px;
  --dashboard-cal-footer-gap: 10px;
  --dashboard-cal-legend-size: 11px;
  --dashboard-cal-open-size: 12px;
}

.dashboard-card--calendar .dashboard-calendar {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.dashboard-card--calendar .dashboard-calendar--today > .dashboard-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

.dashboard-tile--half-third.dashboard-card--calendar
  .dashboard-calendar--today
  > .dashboard-list,
.dashboard-tile--one-sixth.dashboard-card--calendar
  .dashboard-calendar--today
  > .dashboard-list {
  padding-right: 4px;
}

.dashboard-tile--half-third.dashboard-card--calendar .dashboard-list,
.dashboard-tile--one-sixth.dashboard-card--calendar .dashboard-list {
  gap: 8px;
}

.dashboard-tile--half-third.dashboard-card--calendar .dashboard-list__link,
.dashboard-tile--one-sixth.dashboard-card--calendar .dashboard-list__link {
  padding: 10px 12px;
}

.dashboard-tile--half-third.dashboard-card--calendar .dashboard-list__title,
.dashboard-tile--one-sixth.dashboard-card--calendar .dashboard-list__title {
  font-size: 13px;
}

.dashboard-tile--half-third.dashboard-card--calendar .dashboard-list__meta,
.dashboard-tile--one-sixth.dashboard-card--calendar .dashboard-list__meta {
  font-size: 12px;
}

.dashboard-calendar--month {
  gap: var(--dashboard-cal-section-gap);
}

.dashboard-calendar__dow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--dashboard-cal-dow-gap);
  padding: 0 2px;
  font-size: var(--dashboard-cal-dow-size);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(71, 85, 105, 0.7);
}

.dashboard-calendar__dow-item {
  text-align: center;
}

.dashboard-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: minmax(var(--dashboard-cal-row-min), 1fr);
  gap: var(--dashboard-cal-grid-gap);
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  align-content: start;
}

.dashboard-calendar-day {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--dashboard-cal-day-gap);
  padding: var(--dashboard-cal-day-pad);
  border-radius: var(--dashboard-cal-day-radius);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  transition:
    border-color 0.14s ease,
    box-shadow 0.14s ease,
    background 0.14s ease;
}

.dashboard-calendar-day:hover,
.dashboard-calendar-day:focus-visible {
  border-color: rgba(100, 116, 139, 0.45);
  background: rgba(248, 250, 252, 0.98);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.dashboard-calendar-day.is-outside {
  opacity: 0.55;
}

.dashboard-calendar-day.is-today {
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(59, 130, 246, 0.06);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.14) inset;
}

.dashboard-calendar-day__num {
  font-size: var(--dashboard-cal-num-size);
  font-weight: 600;
  color: rgba(30, 41, 59, 0.92);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.dashboard-calendar-day__badge {
  position: absolute;
  top: var(--dashboard-cal-badge-offset);
  right: var(--dashboard-cal-badge-offset);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--dashboard-cal-badge-min);
  height: var(--dashboard-cal-badge-height);
  padding: 0 var(--dashboard-cal-badge-pad);
  border-radius: 999px;
  font-size: var(--dashboard-cal-badge-font);
  font-weight: 600;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: rgba(15, 23, 42, 0.78);
  line-height: 1;
}

.dashboard-calendar-day.has-items .dashboard-calendar-day__badge {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.25);
  color: rgba(30, 64, 175, 0.9);
}

.dashboard-calendar-day__dots {
  margin-top: auto;
  display: flex;
  gap: var(--dashboard-cal-dot-gap);
  align-items: center;
}

.dashboard-calendar-dot {
  display: inline-block;
  width: var(--dashboard-cal-dot-size);
  height: var(--dashboard-cal-dot-size);
  border-radius: 999px;
}

.dashboard-calendar-dot--tasks {
  background: rgba(59, 130, 246, 0.9);
}

.dashboard-calendar-dot--compliance {
  background: rgba(245, 158, 11, 0.95);
}

.dashboard-calendar__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: var(--dashboard-cal-footer-gap);
  margin-top: 0;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.dashboard-calendar__legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--dashboard-cal-legend-size);
  color: rgba(71, 85, 105, 0.85);
}

.dashboard-calendar-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-calendar__open {
  font-size: var(--dashboard-cal-open-size);
  color: rgba(30, 64, 175, 0.9);
  text-decoration: none;
}

.dashboard-calendar__open:hover,
.dashboard-calendar__open:focus-visible {
  text-decoration: underline;
}

.dashboard-tile--half-third.dashboard-card--calendar {
  --dashboard-cal-section-gap: 4px;
  --dashboard-cal-grid-gap: 4px;
  --dashboard-cal-row-min: 20px;
  --dashboard-cal-day-pad: 4px;
  --dashboard-cal-day-radius: 10px;
  --dashboard-cal-day-gap: 3px;
  --dashboard-cal-dow-size: 9px;
  --dashboard-cal-dow-gap: 4px;
  --dashboard-cal-num-size: 11px;
  --dashboard-cal-badge-height: 14px;
  --dashboard-cal-badge-min: 16px;
  --dashboard-cal-badge-font: 8px;
  --dashboard-cal-badge-pad: 3px;
  --dashboard-cal-badge-offset: 3px;
  --dashboard-cal-dot-size: 6px;
  --dashboard-cal-dot-gap: 3px;
  --dashboard-cal-footer-gap: 6px;
  --dashboard-cal-legend-size: 10px;
  --dashboard-cal-open-size: 11px;
}

.dashboard-tile--half-third.dashboard-card--calendar .dashboard-calendar__dow {
  display: none;
}

.dashboard-tile--half-third.dashboard-card--calendar
  .dashboard-calendar-day__dots,
.dashboard-tile--half-third.dashboard-card--calendar
  .dashboard-calendar__legend {
  display: none;
}

.dashboard-tile--half-third.dashboard-card--calendar
  .dashboard-calendar__footer {
  justify-content: flex-end;
}

.dashboard-tile--half-third.dashboard-card--calendar
  .dashboard-calendar-day__badge,
.dashboard-tile--one-third.dashboard-card--calendar
  .dashboard-calendar-day__badge {
  display: none;
}

.dashboard-tile--one-third.dashboard-card--calendar {
  --dashboard-cal-section-gap: 10px;
  --dashboard-cal-grid-gap: 6px;
  --dashboard-cal-row-min: 28px;
  --dashboard-cal-day-pad: 8px;
  --dashboard-cal-day-radius: 12px;
  --dashboard-cal-day-gap: 6px;
  --dashboard-cal-dow-size: 10px;
  --dashboard-cal-dow-gap: 6px;
  --dashboard-cal-num-size: 12px;
  --dashboard-cal-badge-height: 18px;
  --dashboard-cal-badge-min: 20px;
  --dashboard-cal-badge-font: 10px;
  --dashboard-cal-badge-pad: 5px;
  --dashboard-cal-dot-size: 7px;
  --dashboard-cal-dot-gap: 4px;
  --dashboard-cal-footer-gap: 10px;
  --dashboard-cal-legend-size: 11px;
  --dashboard-cal-open-size: 12px;
}

.dashboard-tile--two-thirds.dashboard-card--calendar {
  --dashboard-cal-section-gap: 12px;
  --dashboard-cal-grid-gap: 6px;
  --dashboard-cal-row-min: 30px;
  --dashboard-cal-day-pad: 8px;
  --dashboard-cal-day-radius: 13px;
  --dashboard-cal-day-gap: 4px;
  --dashboard-cal-dow-size: 11px;
  --dashboard-cal-dow-gap: 6px;
  --dashboard-cal-num-size: 12px;
  --dashboard-cal-badge-height: 20px;
  --dashboard-cal-badge-min: 22px;
  --dashboard-cal-badge-font: 11px;
  --dashboard-cal-badge-pad: 6px;
  --dashboard-cal-dot-size: 6px;
  --dashboard-cal-dot-gap: 4px;
  --dashboard-cal-footer-gap: 12px;
  --dashboard-cal-legend-size: 12px;
  --dashboard-cal-open-size: 12.5px;
}

.dashboard-tile--full.dashboard-card--calendar {
  --dashboard-cal-section-gap: 14px;
  --dashboard-cal-grid-gap: 7px;
  --dashboard-cal-row-min: 32px;
  --dashboard-cal-day-pad: 8px;
  --dashboard-cal-day-radius: 14px;
  --dashboard-cal-day-gap: 4px;
  --dashboard-cal-dow-size: 11px;
  --dashboard-cal-dow-gap: 6px;
  --dashboard-cal-num-size: 13px;
  --dashboard-cal-badge-height: 22px;
  --dashboard-cal-badge-min: 24px;
  --dashboard-cal-badge-font: 11px;
  --dashboard-cal-badge-pad: 6px;
  --dashboard-cal-dot-size: 6px;
  --dashboard-cal-dot-gap: 4px;
  --dashboard-cal-footer-gap: 14px;
  --dashboard-cal-legend-size: 12px;
  --dashboard-cal-open-size: 13px;
}

.dashboard-tile--one-sixth.dashboard-card--calendar {
  --dashboard-cal-section-gap: 4px;
  --dashboard-cal-grid-gap: 4px;
  --dashboard-cal-row-min: 18px;
  --dashboard-cal-day-pad: 4px;
  --dashboard-cal-day-radius: 8px;
  --dashboard-cal-day-gap: 2px;
  --dashboard-cal-dow-size: 9px;
  --dashboard-cal-dow-gap: 4px;
  --dashboard-cal-num-size: 10px;
  --dashboard-cal-badge-height: 14px;
  --dashboard-cal-badge-min: 16px;
  --dashboard-cal-badge-font: 8px;
  --dashboard-cal-badge-pad: 4px;
  --dashboard-cal-dot-size: 5px;
  --dashboard-cal-dot-gap: 3px;
  --dashboard-cal-footer-gap: 6px;
  --dashboard-cal-legend-size: 10px;
  --dashboard-cal-open-size: 11px;
}

.dashboard-tile--one-sixth.dashboard-card--calendar .dashboard-calendar__dow {
  display: none;
}

.dashboard-tile--one-sixth.dashboard-card--calendar .dashboard-calendar-day {
  align-items: center;
  justify-content: center;
}

.dashboard-tile--one-sixth.dashboard-card--calendar
  .dashboard-calendar-day__badge,
.dashboard-tile--one-sixth.dashboard-card--calendar
  .dashboard-calendar-day__dots {
  display: none;
}

.dashboard-tile--one-sixth.dashboard-card--calendar
  .dashboard-calendar-day.has-items {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.08);
}

.dashboard-tile--one-sixth.dashboard-card--calendar
  .dashboard-calendar__legend {
  display: none;
}

.dashboard-card--chart {
  display: flex;
  flex-direction: column;
}

.dashboard-card--chart .dashboard-line-chart {
  flex: 1 1 auto;
  min-height: 0;
}

.dashboard-card--chart .dashboard-chart-legend {
  flex: 0 0 auto;
}

.dashboard-tile--half-third.dashboard-card--chart .dashboard-chart-legend {
  display: none;
}

.dashboard-tile--half-third.dashboard-card--chart .dashboard-line-chart {
  padding: 12px 10px 6px;
  border-radius: 16px;
}

.dashboard-action-grid__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1024px) {
  .dashboard-action-grid__inner {
    grid-template-columns: 1fr;
  }
}

.dashboard-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 960px) {
  .dashboard-split {
    grid-template-columns: 1fr;
  }
}

.dashboard-split__title {
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.55);
}

.dashboard-card__mine-toggle {
  margin-left: 8px;
  flex: 0 0 auto;
}

.dashboard-task-filters--panel {
  display: none;
}

.dashboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-list__item {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(248, 250, 252, 0.9);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.dashboard-list__item[data-task-priority] {
  position: relative;
  --gtuit-task-priority-rgb: 59 130 246;
}

.dashboard-list__item[data-task-priority]::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: rgb(var(--gtuit-task-priority-rgb) / 0.75);
  box-shadow: 0 0 0 2px rgb(var(--gtuit-task-priority-rgb) / 0.12);
  pointer-events: none;
}

.dashboard-list__item[data-task-priority] .dashboard-list__link {
  padding-left: 20px;
}

.dashboard-list__item[data-task-priority="0"] {
  --gtuit-task-priority-rgb: 16 185 129;
}

.dashboard-list__item[data-task-priority="1"] {
  --gtuit-task-priority-rgb: 59 130 246;
}

.dashboard-list__item[data-task-priority="2"] {
  --gtuit-task-priority-rgb: 245 158 11;
}

.dashboard-list__item[data-task-priority="3"] {
  --gtuit-task-priority-rgb: 239 68 68;
}

.dashboard-list__link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: background 0.15s ease;
}

.dashboard-list__item:hover .dashboard-list__link,
.dashboard-list__item:focus-within .dashboard-list__link {
  background: rgb(var(--gtuit-accent-600-rgb) / 0.06);
}

.dashboard-list__row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.dashboard-list__row .dashboard-list__link {
  flex: 1 1 auto;
}

.dashboard-list__complete,
.dashboard-list__snooze {
  align-self: stretch;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(248, 250, 252, 0.92);
  min-width: 42px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-list__complete .dashicons,
.dashboard-list__snooze .dashicons {
  font-size: 16px;
}

.dashboard-list__main {
  flex: 1 1 auto;
  min-width: 0;
}

.dashboard-list__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.dashboard-list__meta {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: rgba(71, 85, 105, 0.92);
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dashboard-list__meta-sep {
  color: rgba(148, 163, 184, 0.95);
}

.dashboard-list__badges {
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

@media (max-width: 640px) {
  .dashboard-list__link {
    flex-direction: column;
    gap: 10px;
  }

  .dashboard-list__row {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-list__complete {
    align-self: flex-end;
  }

  .dashboard-list__badges {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.dashboard-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(241, 245, 249, 0.9);
  color: #334155;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-pill--neutral {
  background: rgba(226, 232, 240, 0.95);
  border-color: rgba(148, 163, 184, 0.35);
  color: #334155;
}

.dashboard-pill--value {
  background: rgb(var(--gtuit-accent-600-rgb) / 0.12);
  border-color: rgb(var(--gtuit-accent-600-rgb) / 0.25);
  color: var(--gtuit-accent-700);
}

.dashboard-pill--info {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.25);
  color: #0369a1;
}

.dashboard-pill--success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: #047857;
}

.dashboard-pill--warning {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.3);
  color: #c2410c;
}

.dashboard-pill--danger {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.25);
  color: #be123c;
}

.dashboard-line-chart {
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.9), #fff);
  padding: 16px 12px 6px;
}

.dashboard-line-chart svg {
  width: 100%;
  height: auto;
}

.dashboard-line-chart canvas {
  width: 100% !important;
  height: 100% !important;
}

.dashboard-line-chart path {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-line-chart svg::before {
  content: "";
  display: block;
  position: absolute;
}

.dashboard-line-chart path.dashboard-line--primary {
  stroke: var(--gtuit-accent-600);
}

.dashboard-line-chart path.dashboard-line--secondary {
  stroke: #38bdf8;
}

.dashboard-chart-legend {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}

.dashboard-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-chart-legend i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.dashboard-donut-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: nowrap;
}

.dashboard-card--donut {
  display: flex;
  flex-direction: column;
}

.dashboard-card--donut .dashboard-donut-wrap {
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.dashboard-donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  position: relative;
  flex: 0 0 150px;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.7);
}

.dashboard-card--donut .dashboard-donut {
  width: 190px;
  height: 190px;
  flex-basis: 190px;
  box-shadow: inset 0 0 0 14px rgba(255, 255, 255, 0.7);
}

.dashboard-donut::after {
  content: "";
  position: absolute;
  inset: 22px;
  background: #fff;
  border-radius: 50%;
}

.dashboard-card--donut .dashboard-donut::after {
  inset: 28px;
}

.dashboard-donut-legend {
  flex: 1 1 150px;
  min-width: 150px;
  display: grid;
  gap: 6px;
  font-size: 12px;
}

.dashboard-card--donut .dashboard-donut-legend {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 6px;
  font-size: 13px;
}

.dashboard-tile--half-third.dashboard-card--donut .dashboard-donut-wrap {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-tile--half-third.dashboard-card--donut .dashboard-donut {
  width: 120px;
  height: 120px;
  flex-basis: 120px;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.72);
}

.dashboard-tile--half-third.dashboard-card--donut .dashboard-donut::after {
  inset: 18px;
}

.dashboard-tile--half-third.dashboard-card--donut .dashboard-donut-legend {
  font-size: 12px;
  max-height: 120px;
  padding-right: 4px;
}

.dashboard-donut-legend__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding-bottom: 6px;
}

.dashboard-donut-legend__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
}

.dashboard-donut-legend__value {
  font-weight: 600;
  color: #0f172a;
  text-align: right;
}

.dashboard-empty-state {
  padding: 34px;
  text-align: center;
  color: rgba(100, 116, 139, 0.95);
  border: 2px dashed rgba(148, 163, 184, 0.5);
  border-radius: 18px;
  font-size: 14px;
  background: rgba(248, 250, 252, 0.9);
}

.dashboard-empty-state--compact {
  padding: 18px;
  font-size: 13px;
  border-radius: 16px;
}

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@container (max-width: 980px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dashboard-donut-wrap {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }

  .dashboard-line-chart svg {
    min-height: 220px;
  }
}

/* Recent Activity */
.dashboard-recent-activity .dashboard-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-recent-activity .dashboard-card__title .dashicons {
  font-size: 20px;
  color: #64748b;
}

.dashboard-recent-activity .dashboard-card__remove .dashicons {
  font-size: 16px;
  color: inherit;
}

.dashboard-recent-activity__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dashboard-recent-activity__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.dashboard-recent-activity__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dashboard-recent-activity__item:first-child {
  padding-top: 4px;
}

.dashboard-recent-activity__icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgb(var(--gtuit-accent-600-rgb) / 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 2px;
}

.dashboard-recent-activity__icon::before {
  content: "+";
  font-size: 16px;
  font-weight: 700;
  color: var(--gtuit-accent-600);
  line-height: 1;
}

.dashboard-recent-activity__icon--created::before,
.dashboard-recent-activity__icon--create::before,
.dashboard-recent-activity__icon--add::before {
  content: "+";
  color: #10b981;
}

.dashboard-recent-activity__icon--updated::before,
.dashboard-recent-activity__icon--update::before,
.dashboard-recent-activity__icon--edit::before {
  content: "+";
  color: var(--gtuit-accent-600);
}

.dashboard-recent-activity__icon--deleted::before,
.dashboard-recent-activity__icon--delete::before,
.dashboard-recent-activity__icon--remove::before {
  content: "−";
  color: #f43f5e;
}

.dashboard-recent-activity__content {
  flex: 1 1 auto;
  min-width: 0;
}

.dashboard-recent-activity__title {
  margin: 0 0 4px;
  font-size: 14px;
  color: #0f172a;
  line-height: 1.45;
}

.dashboard-recent-activity__title strong {
  font-weight: 600;
}

.dashboard-recent-activity__time {
  margin: 0;
  font-size: 12.5px;
  color: var(--gtuit-accent-600);
  font-weight: 500;
}

/* --- New widget component styles --- */

/* Stats Grid - for pipeline velocity */
.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 12px;
  padding: 8px 0;
}

.dashboard-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding: 12px 8px;
  background: rgba(148, 163, 184, 0.06);
  border-radius: 12px;
}

.dashboard-stat-item--small {
  padding: 8px 6px;
  gap: 2px;
}

.dashboard-stat-item__value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.1;
}

.dashboard-stat-item--small .dashboard-stat-item__value {
  font-size: 18px;
}

.dashboard-stat-item__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(71, 85, 105, 0.8);
}

.dashboard-stat-item--small .dashboard-stat-item__label {
  font-size: 10px;
}

.dashboard-stat-item__meta {
  font-size: 11px;
  color: rgba(71, 85, 105, 0.65);
}

/* Stats Hero - for task completion, email activity, etc. */
.dashboard-stats-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 0;
}

.dashboard-stats-hero__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.dashboard-stats-hero__value {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gtuit-accent-700);
  line-height: 1;
}

.dashboard-stats-hero__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(71, 85, 105, 0.75);
}

.dashboard-stats-hero__breakdown {
  display: flex;
  justify-content: center;
  gap: 24px;
}

/* Capacity Grid - for capacity utilization */
.dashboard-capacity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  padding: 8px 0;
}

.dashboard-capacity-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px;
  background: rgba(148, 163, 184, 0.06);
  border-radius: 10px;
  text-align: center;
}

.dashboard-capacity-item__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(71, 85, 105, 0.75);
}

.dashboard-capacity-item__value {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
}

/* Donut List - for industry breakdown */
.dashboard-donut-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}

.dashboard-donut-list__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(148, 163, 184, 0.04);
  border-radius: 8px;
  transition: background 0.15s ease;
}

.dashboard-donut-list__item:hover {
  background: rgba(148, 163, 184, 0.08);
}

.dashboard-donut-list__color {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.dashboard-donut-list__label {
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-donut-list__value {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  min-width: 28px;
  text-align: right;
}

.dashboard-donut-list__percent {
  font-size: 11px;
  font-weight: 600;
  color: rgba(71, 85, 105, 0.7);
  min-width: 36px;
  text-align: right;
}

/* Success state for empty states */
.dashboard-empty-state--success {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
}

/* Stats widget card adjustments */
.dashboard-card--stats {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.dashboard-card--stats .dashboard-card__header {
  margin-bottom: 4px;
}

.dashboard-card--stats > .dashboard-stats-hero,
.dashboard-card--stats > .dashboard-stats-grid,
.dashboard-card--stats > .dashboard-capacity-grid {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 18px;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.dashboard-tile--half-third.dashboard-card--stats > .dashboard-stats-hero,
.dashboard-tile--half-third.dashboard-card--stats > .dashboard-stats-grid,
.dashboard-tile--half-third.dashboard-card--stats > .dashboard-capacity-grid {
  padding-right: 14px;
}

/* One-sixth tile content adjustments */
.dashboard-tile--one-sixth .dashboard-card__meta {
  display: none;
}

.dashboard-tile--one-sixth .dashboard-stats-hero {
  padding: 2px 0;
  gap: 8px;
}

.dashboard-tile--one-sixth .dashboard-stats-hero__value {
  font-size: 30px;
}

.dashboard-tile--one-sixth .dashboard-stats-hero__breakdown {
  display: none;
}

.dashboard-tile--one-sixth.dashboard-card--donut .dashboard-donut-wrap {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.dashboard-tile--one-sixth.dashboard-card--donut .dashboard-donut {
  width: 108px;
  height: 108px;
  flex-basis: 108px;
  box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.72);
}

.dashboard-tile--one-sixth.dashboard-card--donut .dashboard-donut::after {
  inset: 16px;
}

.dashboard-tile--one-sixth.dashboard-card--donut .dashboard-donut-legend {
  display: none;
}

.dashboard-tile--one-sixth .dashboard-donut-list {
  gap: 4px;
}

.dashboard-tile--one-sixth .dashboard-donut-list__item {
  padding: 6px 8px;
}

.dashboard-tile--one-sixth .dashboard-donut-list__item:nth-child(n + 3) {
  display: none;
}

.dashboard-tile--one-sixth .dashboard-donut-list__value {
  display: none;
}

.dashboard-tile--one-sixth .dashboard-donut-list__percent {
  min-width: 0;
}

/* Half-third tile content adjustments */
.dashboard-tile--half-third .dashboard-stats-hero {
  padding: 4px 0;
  gap: 10px;
}

.dashboard-tile--half-third .dashboard-stats-hero__value {
  font-size: 34px;
}

.dashboard-tile--half-third .dashboard-stats-grid {
  gap: 8px;
}

.dashboard-tile--half-third .dashboard-stat-item {
  padding: 8px 6px;
}

.dashboard-tile--half-third .dashboard-stat-item__value {
  font-size: 18px;
}

.dashboard-tile--half-third .dashboard-donut-list {
  gap: 4px;
}

.dashboard-tile--half-third .dashboard-donut-list__item {
  padding: 6px 8px;
}

.dashboard-tile--half-third .dashboard-capacity-grid {
  gap: 6px;
}

.dashboard-tile--half-third .dashboard-capacity-item {
  padding: 8px 6px;
}

.dashboard-tile--half-third .dashboard-capacity-item__value {
  font-size: 15px;
}

@media (max-width: 640px) {
  .dashboard-stats-hero__value {
    font-size: 36px;
  }

  .dashboard-stats-hero__breakdown {
    gap: 16px;
  }

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

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

.dashboard-card--domains {
  overflow: hidden;
}

.dashboard-domain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.dashboard-domain-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(248, 250, 252, 0.94)
    ),
    radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.08),
      transparent 45%
    );
  color: #0f172a;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.dashboard-domain-card:hover,
.dashboard-domain-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.24);
  color: #0f172a;
}

.dashboard-domain-card__head,
.dashboard-domain-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dashboard-domain-card__head .dashicons {
  color: var(--gtuit-accent-700);
}

.dashboard-domain-card__label {
  margin-right: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.58);
}

.dashboard-domain-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.dashboard-domain-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.72);
}

.dashboard-domain-card__cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--gtuit-accent-700);
}

.dashboard-stats-grid--summary {
  margin-bottom: 16px;
}

.dashboard-card__footer-link {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  justify-content: flex-end;
}

html.gtuit-dark-mode .dashboard-domain-card {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9)),
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.14),
      transparent 45%
    );
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}

html.gtuit-dark-mode .dashboard-domain-card:hover,
html.gtuit-dark-mode .dashboard-domain-card:focus-visible {
  color: #f8fafc;
}

html.gtuit-dark-mode .dashboard-domain-card__label,
html.gtuit-dark-mode .dashboard-domain-card__desc {
  color: rgba(226, 232, 240, 0.76);
}
