.dashboard-page {
  min-height: 100vh;
  margin: 0;
  color: #101a35;
  background: #fbfdff;
  font-family:
    Inter,
    'Segoe UI',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Arial,
    sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.dashboard-page *,
.dashboard-page *::before,
.dashboard-page *::after {
  box-sizing: border-box;
}

.dashboard-page h1,
.dashboard-page h2,
.dashboard-page h3,
.dashboard-page h4,
.dashboard-page h5,
.dashboard-page h6,
.dashboard-page input,
.dashboard-page button,
.dashboard-page select,
.dashboard-page textarea {
  font-family: inherit;
}

.dashboard-page .dashboard-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
}

.dashboard-page .dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 30px 25px 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #ffffff;
  border-right: 1px solid #e7edf8;
  box-shadow: none;
  z-index: 20;
}

.dashboard-page .dashboard-brand {
  width: fit-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 10px;
  color: #053fd8;
  text-decoration: none;
}

.dashboard-page .dashboard-brand-mark {
  width: 49px;
  height: 49px;
  display: block;
  object-fit: contain;
}

.dashboard-page .dashboard-brand-wordmark {
  width: 118px;
  height: auto;
  display: block;
}

.dashboard-page .dashboard-nav {
  display: grid;
  gap: 8px;
  margin-top: 36px;
}

.dashboard-page .dashboard-nav-link,
.dashboard-page .dashboard-nav-link.kb-nav-item {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 0 19px;
  border-radius: 11px;
  color: #111b36;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  background: transparent;
  box-shadow: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-page .dashboard-nav-link.active,
.dashboard-page .dashboard-nav-link.kb-nav-item.active {
  min-height: 41px;
}

.dashboard-page .dashboard-nav-link:focus-visible,
.dashboard-page .dashboard-nav-link.active {
  color: #053fd8;
  background: #f0f3ff;
  box-shadow: none;
  transform: none;
}

.dashboard-page .dashboard-nav-link:hover {
  color: #053fd8;
  background: #f8fafc;
  box-shadow: none;
  transform: translateX(4px);
}

.dashboard-page .dashboard-nav-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  border-radius: 0;
  color: currentColor;
  background: transparent;
}

.dashboard-page .dashboard-nav-icon svg,
.dashboard-page .dashboard-kpi-icon svg,
.dashboard-page .dashboard-top-search svg,
.dashboard-page .dashboard-bell svg,
.dashboard-page .dashboard-account svg,
.dashboard-page .dashboard-filter-row svg,
.dashboard-page .dashboard-section-actions svg,
.dashboard-page .dashboard-bookmark svg,
.dashboard-page .dashboard-activity-icon svg,
.dashboard-page .dashboard-shortcut-grid svg,
.dashboard-page .dashboard-help-icon svg,
.dashboard-page .dashboard-trust-icon svg {
  width: 100%;
  height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-page .dashboard-sidebar-spacer {
  flex: 1;
  min-height: 26px;
}

.dashboard-page .dashboard-help-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 8px;
  margin-bottom: 30px;
  padding: 15px 18px 14px;
  border: 1px solid #dce6f8;
  border-radius: 13px;
  background: #fbfdff;
}

.dashboard-page .dashboard-help-icon {
  width: 26px;
  height: 26px;
  color: #053fd8;
}

.dashboard-page .dashboard-help-card strong {
  align-self: center;
  color: #101a35;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.dashboard-page .dashboard-help-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: #4d5c7c;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.dashboard-page .dashboard-help-card a {
  grid-column: 1 / -1;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe4f5;
  border-radius: 10px;
  color: #053fd8;
  background: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.1;
}

.dashboard-page .dashboard-sidebar-account {
  min-height: 70px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #dce6f8;
  border-radius: 13px;
  color: #101a35;
  background: #ffffff;
  text-decoration: none;
}

.dashboard-page .dashboard-sidebar-account img,
.dashboard-page .dashboard-account img {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 24%;
  background: #dbeafe;
}

.dashboard-page .dashboard-sidebar-account img {
  width: 42px;
  height: 42px;
}

.dashboard-page .dashboard-sidebar-account strong,
.dashboard-page .dashboard-sidebar-account small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .dashboard-sidebar-account strong {
  color: #101a35;
  font-size: 13px;
  font-weight: 650;
}

.dashboard-page .dashboard-sidebar-account small {
  margin-top: 2px;
  color: #667391;
  font-size: 12px;
  font-weight: 400;
}

.dashboard-page .dashboard-sidebar-account svg {
  width: 16px;
  height: 16px;
  color: #0f1a37;
}

.dashboard-page .dashboard-main {
  min-width: 0;
  width: 100%;
  max-width: none;
  padding: 28px 32px 24px 21px;
}

.dashboard-page .dashboard-topbar {
  min-height: 66px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 28px;
  margin: 0;
}

.dashboard-page .dashboard-heading {
  flex: 0 0 445px;
  max-width: 445px;
  min-width: 0;
}

.dashboard-page .dashboard-heading h1 {
  margin: 0;
  color: #111936;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.dashboard-page .dashboard-heading p {
  margin: 8px 0 0;
  color: #343f5d;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
}

.dashboard-page .dashboard-wave {
  display: inline-block;
  margin-left: 6px;
}

.dashboard-page .dashboard-topbar-actions {
  flex: 1 1 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 478px) 50px auto;
  align-items: center;
  justify-content: stretch;
  column-gap: 22px;
  min-width: 0;
}

.dashboard-page .dashboard-top-search {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  height: 46px;
  transform: translateX(-79px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  border: 1px solid #d7e2f4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
}

.dashboard-page .dashboard-top-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0 0 0 15px;
  color: #101a35;
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 640;
  outline: 0;
}

.dashboard-page .dashboard-top-search input::placeholder,
.dashboard-page .dashboard-search input::placeholder {
  color: #667391;
  opacity: 1;
}

.dashboard-page .dashboard-top-search button,
.dashboard-page .dashboard-search button {
  border: 0;
  display: grid;
  place-items: center;
  color: #071b56;
  background: transparent;
  cursor: pointer;
}

.dashboard-page .dashboard-top-search button {
  width: 44px;
  height: 46px;
}

.dashboard-page .dashboard-top-search button svg,
.dashboard-page .dashboard-search button svg {
  width: 17px;
  height: 17px;
}

.dashboard-page .dashboard-bell {
  position: relative;
  grid-column: 3;
  width: 50px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  color: #071b56;
  background: transparent;
  cursor: pointer;
  transform-origin: top center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-page .dashboard-bell:hover {
  animation: bellRing 0.65s ease-in-out;
}

.dashboard-page .dashboard-bell svg {
  width: 28px;
  height: 28px;
}

.dashboard-page .dashboard-bell span {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: #053fd8;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.dashboard-page .dashboard-account {
  grid-column: 4;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #0f1a37;
  background: transparent;
  text-decoration: none;
  box-shadow: none;
}

.dashboard-page .dashboard-account img {
  width: 43px;
  height: 43px;
}

.dashboard-page .dashboard-account strong {
  display: block;
  color: #0f1a37;
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
}

.dashboard-page .dashboard-account svg {
  width: 18px;
  height: 18px;
}

.dashboard-page .dashboard-state-token {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.dashboard-page .dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
  margin-top: 36px;
}

.dashboard-page .dashboard-workspace,
.dashboard-page .dashboard-rail {
  display: grid;
  gap: 18px;
  min-width: 0;
}

@media (min-height: 960px) and (min-width: 1041px) {
  .dashboard-page .dashboard-grid {
    align-items: stretch;
    height: calc(100vh - 154px);
    min-height: 0;
  }

  .dashboard-page .dashboard-workspace {
    height: 100%;
    min-height: 0;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
  }

  .dashboard-page .dashboard-recommendations {
    min-height: 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .dashboard-page .dashboard-persona-grid {
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    align-content: start;
    grid-auto-rows: auto;
  }

  .dashboard-page .dashboard-persona-card {
    height: auto;
  }

  .dashboard-page .dashboard-rail {
    height: 100%;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .dashboard-page .dashboard-shortcuts-card {
    min-height: 0;
  }
}

.dashboard-page .dashboard-rail {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 20px;
  align-self: stretch;
}

.dashboard-page .dashboard-card,
.dashboard-page .dashboard-search-panel,
.dashboard-page .dashboard-kpi-card,
.dashboard-page .dashboard-persona-card,
.dashboard-page .dashboard-trust-strip {
  border: 1px solid #dce6f8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 35, 80, 0.035);
}

.dashboard-page .dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-page .dashboard-kpi-card {
  height: 124px;
  min-height: 124px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: center;
  align-items: start;
  column-gap: 12px;
  row-gap: 8px;
  padding: 16px 16px 15px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-page .dashboard-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(5, 63, 216, 0.06);
  border-color: #abbdfa;
}

.dashboard-page .dashboard-kpi-icon {
  grid-row: 1 / 4;
  align-self: start;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d6e1ff;
  border-radius: 8px;
  color: #053fd8;
  background: #ffffff;
}

.dashboard-page .dashboard-kpi-icon svg {
  width: 24px;
  height: 24px;
}

.dashboard-page .dashboard-kpi-card p,
.dashboard-page .dashboard-kpi-card strong,
.dashboard-page .dashboard-kpi-card a {
  grid-column: 2;
  margin: 0;
}

.dashboard-page .dashboard-kpi-card p {
  align-self: start;
  color: #121b36;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.dashboard-page .dashboard-kpi-card strong {
  color: #053fd8;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.dashboard-page .dashboard-kpi-card-budget strong {
  font-size: 28px;
  white-space: nowrap;
}

.dashboard-page .dashboard-kpi-card a {
  align-self: end;
  color: #053fd8;
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.dashboard-page .dashboard-search-panel {
  height: 192px;
  min-height: 192px;
  padding: 24px 18px 22px;
}

.dashboard-page .dashboard-search-panel h2 {
  margin: 0 0 16px;
  color: #101a35;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: -0.015em;
}

.dashboard-page .dashboard-search {
  width: min(100%, 628px);
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  padding: 0;
  border: 1px solid #dce6f8;
  border-radius: 10px;
  background: #fbfcff;
  box-shadow: none;
  transition:
    background-color 0.16s ease,
    box-shadow 0.16s ease;
}

.dashboard-page .dashboard-search:focus-within {
  border-color: #b8c8ff;
  background: #ffffff;
  box-shadow: none;
}

.dashboard-page .dashboard-search input {
  width: 100%;
  min-height: 46px;
  border: 0;
  padding: 0 16px;
  color: #101a35;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 400;
  outline: 0;
}

.dashboard-page .dashboard-search input:focus,
.dashboard-page .dashboard-search input:focus-visible,
.dashboard-page .dashboard-search button:focus,
.dashboard-page .dashboard-search button:focus-visible {
  outline: 0 !important;
  outline-offset: 0 !important;
}

.dashboard-page .dashboard-search button {
  width: 52px;
  min-height: 46px;
  padding: 0;
}

.dashboard-page .dashboard-filter-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.dashboard-page .dashboard-filter-row button,
.dashboard-page .dashboard-filter-row a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #dce6f8;
  border-radius: 10px;
  color: #16213d;
  background: #ffffff;
  text-decoration: none;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-page .dashboard-filter-row button:hover,
.dashboard-page .dashboard-filter-row a:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

.dashboard-page .dashboard-filter-row button {
  min-width: 112px;
  padding: 0 18px;
}

.dashboard-page .dashboard-filter-row a {
  margin-left: auto;
  min-width: 100px;
  padding: 0 22px;
}

.dashboard-page .dashboard-filter-row svg {
  width: 16px;
  height: 16px;
  color: #053fd8;
}

.dashboard-page .dashboard-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  margin: 14px 0 18px;
}

.dashboard-page .dashboard-section-heading h2,
.dashboard-page .dashboard-rail-header h2,
.dashboard-page .dashboard-shortcuts-card h2 {
  margin: 0;
  color: #101a35;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.dashboard-page .dashboard-section-actions {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.dashboard-page .dashboard-section-actions a,
.dashboard-page .dashboard-rail-header a {
  color: #053fd8;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
}

.dashboard-page .dashboard-section-actions a:hover,
.dashboard-page .dashboard-rail-header a:hover,
.dashboard-page .dashboard-help-card a:hover,
.dashboard-page .dashboard-sidebar-account:hover,
.dashboard-page .dashboard-account:hover,
.dashboard-page .dashboard-shortcut-grid a:hover {
  text-decoration: none;
}

.dashboard-page .dashboard-section-actions button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #dce6f8;
  border-radius: 50%;
  color: #54617e;
  background: #ffffff;
  cursor: pointer;
}

.dashboard-page .dashboard-section-actions button svg {
  width: 15px;
  height: 15px;
}

.dashboard-page .dashboard-persona-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 260px));
  justify-content: start;
  gap: 16px;
}

.dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns='2'] {
  grid-template-columns: repeat(2, minmax(0, 260px));
}

.dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns='3'] {
  grid-template-columns: repeat(3, minmax(0, 260px));
}

.dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns='5'] {
  grid-template-columns: repeat(5, minmax(0, 260px));
}

.dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns='6'] {
  grid-template-columns: repeat(6, minmax(0, 260px));
}

.dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns='7'] {
  grid-template-columns: repeat(7, minmax(0, 260px));
}

.dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns='8'] {
  grid-template-columns: repeat(8, minmax(0, 260px));
}

.dashboard-page .dashboard-persona-card {
  position: relative;
  min-width: 0;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: none;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-page .dashboard-persona-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(5, 63, 216, 0.06);
  border-color: #abbdfa;
}

.dashboard-page .dashboard-persona-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.dashboard-page .dashboard-persona-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  object-position: center top;
  background: #e9eef7;
}

.dashboard-page .dashboard-bookmark {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 21px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  color: #0f1b37;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-page .dashboard-bookmark:hover {
  transform: scale(1.08);
  color: #053fd8;
}

.dashboard-page .dashboard-bookmark.active {
  color: #053fd8 !important;
}

.dashboard-page .dashboard-bookmark.active svg {
  fill: #053fd8 !important;
}

.dashboard-page .dashboard-bookmark svg {
  width: 19px;
  height: 22px;
}

.dashboard-page .dashboard-persona-content {
  display: grid;
  gap: 5px;
  padding: 11px 12px 12px;
}

.dashboard-page .dashboard-persona-card.is-placeholder {
  min-height: 0;
  border-style: dashed;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.dashboard-page .dashboard-persona-card.is-placeholder::before {
  content: '';
  display: block;
  aspect-ratio: 1 / 1;
  border-bottom: 1px dashed #dce6f8;
  background: linear-gradient(90deg, rgba(5, 63, 216, 0.05), rgba(5, 63, 216, 0.02)), #f3f7ff;
}

.dashboard-page .dashboard-persona-content h3,
.dashboard-page .dashboard-persona-content p,
.dashboard-page .dashboard-persona-content strong {
  margin: 0;
}

.dashboard-page .dashboard-persona-content h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f1b37;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
}

.dashboard-page .dashboard-persona-name-link {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .dashboard-persona-name-link:hover {
  color: #053fd8;
}

.dashboard-page .dashboard-verified {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #053fd8;
}

.dashboard-page .dashboard-verified svg {
  width: 9px;
  height: 9px;
  fill: currentColor;
}

.dashboard-page .dashboard-persona-content p {
  color: #101a35;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.dashboard-page .dashboard-status-chip {
  width: fit-content;
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 0;
  color: #053fd8;
  background: transparent;
  font-size: 11px;
  font-weight: 500;
}

.dashboard-page .dashboard-status-chip::before {
  content: '✓';
  width: 13px;
  height: 13px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #053fd8;
  background: #eef4ff;
  font-size: 8px;
  font-weight: 950;
  line-height: 1;
}

.dashboard-page .dashboard-persona-content strong {
  justify-self: start;
  padding: 0;
  border-radius: 0;
  color: #16213d;
  background: transparent;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
}

.dashboard-page .dashboard-persona-content strong span {
  color: #053fd8;
  font-weight: 700;
}

.dashboard-page .dashboard-trust-strip {
  min-height: 98px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: center;
  padding: 0 40px;
  border-radius: 12px;
  box-shadow: none;
}

.dashboard-page .dashboard-trust-strip div {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.dashboard-page .dashboard-trust-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: #053fd8;
}

.dashboard-page .dashboard-trust-strip strong,
.dashboard-page .dashboard-trust-strip small {
  display: block;
}

.dashboard-page .dashboard-trust-strip strong {
  color: #101a35;
  font-size: 13px;
  font-weight: 600;
}

.dashboard-page .dashboard-trust-strip small {
  margin-top: 4px;
  color: #4d5c7c;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
}

.dashboard-page .dashboard-console-footer-card {
  grid-row: 4;
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid #dce6f8;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 35, 80, 0.035);
}

.dashboard-page .dashboard-console-footer-mark {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.dashboard-page .dashboard-console-footer-wordmark {
  width: 82px;
  height: auto;
  display: block;
}

.dashboard-page .dashboard-console-footer-card span {
  color: #101a35;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.dashboard-page .dashboard-wide-section {
  grid-column: 1 / -1;
  min-width: 0;
}

.dashboard-page .dashboard-bell {
  transform: translateX(-12px);
}

.dashboard-page .dashboard-kpi-card,
.dashboard-page .dashboard-kpi-card p,
.dashboard-page .dashboard-kpi-card a,
.dashboard-page .dashboard-top-search,
.dashboard-page .dashboard-top-search input,
.dashboard-page .dashboard-search,
.dashboard-page .dashboard-search input,
.dashboard-page .dashboard-filter-row button,
.dashboard-page .dashboard-filter-row a,
.dashboard-page .dashboard-persona-card,
.dashboard-page .dashboard-persona-content,
.dashboard-page .dashboard-persona-content p,
.dashboard-page .dashboard-persona-content strong,
.dashboard-page .dashboard-activity-list div,
.dashboard-page .dashboard-activity-list strong,
.dashboard-page .dashboard-activity-list p,
.dashboard-page .dashboard-shortcut-grid a,
.dashboard-page .dashboard-shortcut-grid strong,
.dashboard-page .dashboard-recent-card,
.dashboard-page .dashboard-recent-row > *,
.dashboard-page .dashboard-recent-primary,
.dashboard-page .dashboard-recent-persona {
  min-width: 0;
}

.dashboard-page .dashboard-kpi-card p,
.dashboard-page .dashboard-kpi-card a,
.dashboard-page .dashboard-filter-row button,
.dashboard-page .dashboard-filter-row a,
.dashboard-page .dashboard-persona-content p,
.dashboard-page .dashboard-persona-content strong,
.dashboard-page .dashboard-shortcut-grid strong,
.dashboard-page .dashboard-recent-row > *,
.dashboard-page .dashboard-recent-primary strong,
.dashboard-page .dashboard-recent-primary small,
.dashboard-page .dashboard-recent-persona strong,
.dashboard-page .dashboard-category-chip,
.dashboard-page .dashboard-status-badge {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .dashboard-search-panel {
  height: auto;
  min-height: 192px;
}

.dashboard-page .dashboard-filter-row {
  flex-wrap: wrap;
  align-content: flex-start;
}

.dashboard-page .dashboard-filter-row button,
.dashboard-page .dashboard-filter-row a {
  flex: 0 1 auto;
}

.dashboard-page .dashboard-filter-row a {
  margin-left: auto;
}

.dashboard-page .dashboard-persona-grid {
  --dashboard-persona-columns: 4;
  grid-template-columns: repeat(var(--dashboard-persona-columns), minmax(0, 260px));
  grid-auto-rows: auto;
  max-height: none;
  overflow: hidden;
}

.dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns] {
  grid-template-columns: repeat(var(--dashboard-persona-columns), minmax(0, 260px));
}

.dashboard-page .dashboard-rail {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.dashboard-page .dashboard-shortcuts-card {
  align-self: end;
  min-height: clamp(178px, 22vh, 260px);
}

.dashboard-page .dashboard-console-footer-card {
  align-self: end;
}

.dashboard-page .dashboard-recent-band {
  --dashboard-five-persona-row-width: calc((260px * 5) + (16px * 4));
  min-width: 0;
  display: grid;
  gap: 18px;
}

.dashboard-page .dashboard-recent-side-card {
  display: none;
  min-width: 0;
  border: 1px solid #dce6f8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 35, 80, 0.035);
  overflow: hidden;
}

.dashboard-page .dashboard-recent-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 104px;
  max-height: 230px;
  padding: 22px 20px 18px;
  border: 1px solid #dce6f8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 35, 80, 0.035);
  overflow: hidden;
}

.dashboard-page .dashboard-recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-page .dashboard-recent-header h2 {
  margin: 0;
  color: #101a35;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.dashboard-page .dashboard-recent-header a,
.dashboard-page .dashboard-recent-more {
  color: #053fd8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.dashboard-page .dashboard-recent-table {
  display: grid;
  grid-auto-rows: minmax(0, auto);
  min-height: 0;
  overflow: hidden;
}

.dashboard-page .dashboard-recent-row {
  min-height: 43px;
  display: grid;
  grid-template-columns:
    minmax(140px, 1.3fr) minmax(105px, 0.9fr) minmax(110px, 1fr) minmax(82px, 0.72fr)
    minmax(84px, 0.72fr) minmax(70px, 0.58fr) 20px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #edf2fb;
  color: #2d3b5e;
  font-size: 12px;
  font-weight: 500;
}

.dashboard-page .dashboard-recent-row:last-child {
  border-bottom: 0;
}

.dashboard-page .dashboard-recent-row[hidden] {
  display: none !important;
}

.dashboard-page .dashboard-recent-row-head {
  min-height: 30px;
  color: #394766;
  font-size: 11px;
  font-weight: 600;
  border-bottom: 0;
}

.dashboard-page .dashboard-recent-primary,
.dashboard-page .dashboard-recent-persona {
  display: grid;
  gap: 2px;
}

.dashboard-page .dashboard-recent-primary strong,
.dashboard-page .dashboard-recent-persona strong {
  color: #101a35;
  font-size: 12px;
  font-weight: 650;
}

.dashboard-page .dashboard-recent-primary small {
  color: #4d5c7c;
  font-size: 11px;
  font-weight: 500;
}

.dashboard-page .dashboard-recent-persona {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.dashboard-page .dashboard-recent-persona img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.dashboard-page .dashboard-category-chip,
.dashboard-page .dashboard-status-badge {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
}

.dashboard-page .dashboard-category-pink {
  color: #86198f;
  background: #fae8ff;
}

.dashboard-page .dashboard-category-blue {
  color: #1d4ed8;
  background: #eff6ff;
}

.dashboard-page .dashboard-category-green,
.dashboard-page .dashboard-status-active {
  color: #15803d;
  background: #ecfdf3;
}

.dashboard-page .dashboard-status-pending {
  color: #1d4ed8;
  background: #eef4ff;
}

.dashboard-page .dashboard-status-review {
  color: #c2410c;
  background: #fff7ed;
}

.dashboard-page .dashboard-status-expired {
  color: #991b1b;
  background: #fee2e2;
}

.dashboard-page .dashboard-recent-row a[role='cell'] {
  color: #64748b;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
}

@media (min-width: 1041px) {
  .dashboard-page {
    overflow: hidden;
  }

  .dashboard-page .dashboard-shell,
  .dashboard-page .dashboard-main {
    height: 100vh;
    overflow: hidden;
  }

  .dashboard-page .dashboard-main {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .dashboard-page .dashboard-grid {
    min-height: 0;
    overflow: hidden;
    grid-template-rows: auto minmax(94px, 0.55fr) minmax(94px, 0.55fr) auto;
  }

  .dashboard-page .dashboard-workspace {
    align-content: start;
  }

  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='1'] {
    max-height: 126px;
  }

  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='2'] {
    max-height: 172px;
  }

  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='3'] {
    max-height: 220px;
  }
}

.dashboard-page .dashboard-card {
  padding: 18px 16px;
  box-shadow: none;
}

.dashboard-page .dashboard-activity-card {
  height: 400px;
  min-height: 400px;
  overflow: hidden;
}

.dashboard-page .dashboard-rail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dashboard-page .dashboard-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  height: calc(100% - 36px);
  grid-template-rows: repeat(5, minmax(0, 1fr));
}

.dashboard-page .dashboard-activity-list li {
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 52px;
  gap: 12px;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid #e7edf8;
}

.dashboard-page .dashboard-activity-list li + li {
  padding-top: 0;
}

.dashboard-page .dashboard-activity-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dashboard-page .dashboard-activity-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #053fd8;
}

.dashboard-page .dashboard-activity-icon-success {
  color: #12a45e;
}

.dashboard-page .dashboard-activity-icon svg {
  width: 22px;
  height: 22px;
}

.dashboard-page .dashboard-activity-list strong,
.dashboard-page .dashboard-activity-list p,
.dashboard-page .dashboard-activity-list time {
  display: block;
}

.dashboard-page .dashboard-activity-list strong {
  color: #101a35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.dashboard-page .dashboard-activity-list p {
  margin: 1px 0 0;
  color: #4d5c7c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
}

.dashboard-page .dashboard-activity-list time {
  justify-self: end;
  color: #3f4d68;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.dashboard-page .dashboard-shortcuts-card {
  min-height: 150px;
  padding: 16px 16px 16px;
}

.dashboard-page .dashboard-shortcuts-card h2 {
  margin-bottom: 12px;
}

.dashboard-page .dashboard-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-page .dashboard-shortcut-grid a {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #101a35;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-page .dashboard-shortcut-grid a:hover {
  transform: scale(1.03);
  color: #053fd8;
}

.dashboard-page .dashboard-shortcut-grid a > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #dce6f8;
  border-radius: 12px;
  color: #053fd8;
  background: #ffffff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-page .dashboard-shortcut-grid a:hover > span {
  background: #f0f3ff;
  border-color: #abbdfa;
}

.dashboard-page .dashboard-shortcut-grid svg {
  width: 25px;
  height: 25px;
}

.dashboard-page .dashboard-shortcut-grid strong {
  color: #101a35;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
}

.dashboard-page .dashboard-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 1041px) {
  .dashboard-page .dashboard-nav-link,
  .dashboard-page .dashboard-nav-link.kb-nav-item {
    font-size: 17px;
  }

  .dashboard-page .dashboard-help-card strong,
  .dashboard-page .dashboard-sidebar-account strong {
    font-size: 15px;
  }

  .dashboard-page .dashboard-help-card p {
    font-size: 15px;
  }

  .dashboard-page .dashboard-help-card a,
  .dashboard-page .dashboard-account strong,
  .dashboard-page .dashboard-trust-strip strong,
  .dashboard-page .dashboard-console-footer-card span {
    font-size: 16px;
  }

  .dashboard-page .dashboard-sidebar-account small {
    font-size: 13px;
  }

  .dashboard-page .dashboard-heading h1 {
    font-size: 26px;
  }

  .dashboard-page .dashboard-heading p {
    font-size: 15px;
  }

  @media (max-width: 1500px) {
    .dashboard-page .dashboard-heading {
      flex-basis: 410px;
      max-width: 410px;
    }

    .dashboard-page .dashboard-heading p {
      font-size: 13px;
    }

    .dashboard-page .dashboard-topbar {
      gap: 20px;
    }

    .dashboard-page .dashboard-topbar-actions {
      grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) 50px auto;
      column-gap: 14px;
    }

    .dashboard-page .dashboard-top-search {
      transform: translateX(-40px);
    }

    .dashboard-page .dashboard-kpi-card {
      grid-template-columns: 36px minmax(0, 1fr);
      column-gap: 8px;
      padding-right: 12px;
      padding-left: 12px;
    }

    .dashboard-page .dashboard-kpi-icon {
      width: 36px;
      height: 36px;
    }

    .dashboard-page .dashboard-kpi-icon svg {
      width: 21px;
      height: 21px;
    }

    .dashboard-page .dashboard-kpi-card p,
    .dashboard-page .dashboard-kpi-card a {
      font-size: 11px;
      letter-spacing: -0.03em;
    }

    .dashboard-page .dashboard-kpi-card strong {
      font-size: 30px;
    }

    .dashboard-page .dashboard-kpi-card-budget strong {
      font-size: 26px;
    }
  }

  @media (max-width: 1280px) {
    .dashboard-page .dashboard-heading {
      flex-basis: 318px;
      max-width: 318px;
    }

    .dashboard-page .dashboard-heading p {
      font-size: 10px;
    }

    .dashboard-page .dashboard-topbar {
      gap: 12px;
    }

    .dashboard-page .dashboard-topbar-actions {
      grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) 50px auto;
      column-gap: 10px;
    }

    .dashboard-page .dashboard-top-search {
      transform: none;
    }

    .dashboard-page .dashboard-account {
      gap: 8px;
    }

    .dashboard-page .dashboard-account strong {
      display: block;
      font-size: 13px;
    }
  }

  .dashboard-page .dashboard-top-search input {
    font-size: 12px;
  }

  .dashboard-page .dashboard-kpi-card p,
  .dashboard-page .dashboard-kpi-card a,
  .dashboard-page .dashboard-section-actions a,
  .dashboard-page .dashboard-rail-header a {
    font-size: 13px;
  }

  .dashboard-page .dashboard-search-panel h2,
  .dashboard-page .dashboard-section-heading h2,
  .dashboard-page .dashboard-rail-header h2,
  .dashboard-page .dashboard-shortcuts-card h2,
  .dashboard-page .dashboard-persona-content h3 {
    font-size: 16px;
  }

  .dashboard-page .dashboard-search input,
  .dashboard-page .dashboard-filter-row button,
  .dashboard-page .dashboard-filter-row a,
  .dashboard-page .dashboard-trust-strip small,
  .dashboard-page .dashboard-activity-list strong {
    font-size: 14px;
  }

  .dashboard-page .dashboard-persona-content p,
  .dashboard-page .dashboard-status-chip,
  .dashboard-page .dashboard-persona-content strong,
  .dashboard-page .dashboard-activity-list p,
  .dashboard-page .dashboard-activity-list time,
  .dashboard-page .dashboard-shortcut-grid strong {
    font-size: 13px;
  }
}

@media (min-height: 960px) and (min-width: 1041px) {
  .dashboard-page .dashboard-rail {
    align-content: start;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
  }

  .dashboard-page .dashboard-shortcuts-card {
    align-self: start;
    height: auto;
    min-height: 150px;
  }

  .dashboard-page .dashboard-console-footer-card {
    align-self: end;
  }
}

.dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns] {
  grid-template-columns: repeat(var(--dashboard-persona-columns), minmax(0, 260px));
}

.dashboard-page .dashboard-shortcuts-card {
  align-self: end;
  min-height: clamp(178px, 22vh, 260px);
}

.dashboard-page .dashboard-rail {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.dashboard-page .dashboard-recent-header a:focus-visible,
.dashboard-page .dashboard-recent-more:focus-visible,
.dashboard-page .dashboard-recent-row a[role='cell']:focus-visible {
  outline: 3px solid rgba(5, 63, 216, 0.24);
  outline-offset: 3px;
}

@media (min-width: 1041px) {
  .dashboard-page .dashboard-grid {
    grid-template-rows: minmax(0, 1fr) auto auto auto;
  }

  .dashboard-page .dashboard-workspace,
  .dashboard-page .dashboard-rail {
    max-height: 100%;
    overflow: hidden;
  }

  .dashboard-page .dashboard-trust-strip {
    min-height: 78px;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.dashboard-page .dashboard-brand:focus-visible,
.dashboard-page .dashboard-nav-link:focus-visible,
.dashboard-page .dashboard-help-card a:focus-visible,
.dashboard-page .dashboard-sidebar-account:focus-visible,
.dashboard-page .dashboard-top-search input:focus-visible,
.dashboard-page .dashboard-top-search button:focus-visible,
.dashboard-page .dashboard-bell:focus-visible,
.dashboard-page .dashboard-account:focus-visible,
.dashboard-page .dashboard-kpi-card a:focus-visible,
.dashboard-page .dashboard-filter-row button:focus-visible,
.dashboard-page .dashboard-filter-row a:focus-visible,
.dashboard-page .dashboard-section-actions a:focus-visible,
.dashboard-page .dashboard-section-actions button:focus-visible,
.dashboard-page .dashboard-persona-image-link:focus-visible,
.dashboard-page .dashboard-persona-name-link:focus-visible,
.dashboard-page .dashboard-bookmark:focus-visible,
.dashboard-page .dashboard-rail-header a:focus-visible,
.dashboard-page .dashboard-shortcut-grid a:focus-visible {
  outline: 3px solid rgba(5, 63, 216, 0.24);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .dashboard-page .dashboard-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .dashboard-page .dashboard-heading {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .dashboard-page .dashboard-topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .dashboard-page .dashboard-top-search {
    width: min(520px, 100%);
    transform: none;
  }
}

@media (max-width: 1040px) {
  .dashboard-page .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .dashboard-rail {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  }

  .dashboard-page .dashboard-activity-card,
  .dashboard-page .dashboard-shortcuts-card {
    min-height: 100%;
  }

  .dashboard-page .dashboard-footer-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .dashboard-page .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-page .dashboard-sidebar {
    position: relative;
    height: auto;
    padding: 22px;
  }

  .dashboard-page .dashboard-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .dashboard-page .dashboard-sidebar-spacer,
  .dashboard-page .dashboard-help-card,
  .dashboard-page .dashboard-sidebar-account {
    display: none;
  }

  .dashboard-page .dashboard-main {
    padding: 24px 18px 34px;
  }
}

@media (max-width: 860px) {
  .dashboard-page .dashboard-kpis,
  .dashboard-page .dashboard-persona-grid,
  .dashboard-page .dashboard-trust-strip,
  .dashboard-page .dashboard-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-page .dashboard-kpis {
    gap: 12px;
  }

  .dashboard-page .dashboard-kpi-card-budget strong {
    white-space: normal;
  }

  .dashboard-page .dashboard-trust-strip {
    padding: 18px;
  }

  .dashboard-page .dashboard-trust-strip div {
    justify-content: flex-start;
  }

  .dashboard-page .dashboard-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .dashboard-page .dashboard-nav {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-page .dashboard-nav-link,
  .dashboard-page .dashboard-nav-link.kb-nav-item {
    min-height: 42px;
    padding: 0 11px;
    font-size: 12px;
    gap: 10px;
  }

  .dashboard-page .dashboard-topbar-actions {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .dashboard-page .dashboard-top-search {
    min-width: 0;
  }

  .dashboard-page .dashboard-account strong {
    display: none;
  }

  .dashboard-page .dashboard-filter-row {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-page .dashboard-filter-row a {
    margin-left: 0;
  }

  .dashboard-page .dashboard-kpis,
  .dashboard-page .dashboard-persona-grid,
  .dashboard-page .dashboard-trust-strip,
  .dashboard-page .dashboard-rail {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1041px) {
  .dashboard-page .dashboard-main {
    height: 100vh;
    padding-top: 24px;
    padding-bottom: 12px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  .dashboard-page .dashboard-topbar {
    min-height: 56px;
  }

  .dashboard-page .dashboard-grid {
    height: auto;
    min-height: 0;
    margin-top: 18px;
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-rows: minmax(0, 1fr) auto auto auto;
    gap: 12px 18px;
    align-items: stretch;
    overflow: hidden;
  }

  .dashboard-page .dashboard-workspace,
  .dashboard-page .dashboard-rail {
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .dashboard-page .dashboard-workspace {
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 12px;
  }

  .dashboard-page .dashboard-kpi-card {
    height: 112px;
    min-height: 112px;
    padding-top: 13px;
    padding-bottom: 12px;
  }

  .dashboard-page .dashboard-search-panel {
    min-height: 126px;
    padding: 16px 18px 14px;
  }

  .dashboard-page .dashboard-search-panel h2 {
    margin-bottom: 10px;
  }

  .dashboard-page .dashboard-search {
    min-height: 42px;
  }

  .dashboard-page .dashboard-search input,
  .dashboard-page .dashboard-search button {
    min-height: 42px;
  }

  .dashboard-page .dashboard-filter-row {
    gap: 10px;
    margin-top: 10px;
  }

  .dashboard-page .dashboard-filter-row button,
  .dashboard-page .dashboard-filter-row a {
    min-height: 36px;
  }

  .dashboard-page .dashboard-recommendations {
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  .dashboard-page .dashboard-section-heading {
    min-height: 32px;
    margin: 0 0 10px;
  }

  .dashboard-page .dashboard-persona-grid,
  .dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns] {
    height: 100%;
    max-height: 100%;
    min-height: 0;
    grid-template-columns: repeat(var(--dashboard-persona-columns), minmax(0, 1fr));
    align-content: start;
    overflow: hidden;
  }

  .dashboard-page .dashboard-persona-card {
    height: 100%;
  }

  .dashboard-page .dashboard-persona-card img {
    height: clamp(118px, 14vh, 190px);
    aspect-ratio: auto;
  }

  .dashboard-page .dashboard-persona-content {
    gap: 3px;
    padding: 9px 10px 10px;
  }

  .dashboard-page .dashboard-rail {
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .dashboard-page .dashboard-activity-card {
    height: 100%;
    min-height: 0;
  }

  .dashboard-page .dashboard-shortcuts-card {
    min-height: clamp(132px, 16vh, 210px);
    padding: 14px;
  }

  .dashboard-page .dashboard-console-footer-card {
    display: none;
  }

  .dashboard-page .dashboard-recent-card {
    gap: 5px;
    padding: 12px 20px 10px;
  }

  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='1'] {
    height: 92px;
    min-height: 92px;
    max-height: 92px;
  }

  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='2'] {
    height: 122px;
    min-height: 122px;
    max-height: 122px;
  }

  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='3'] {
    height: 152px;
    min-height: 152px;
    max-height: 152px;
  }

  .dashboard-page .dashboard-recent-more {
    display: none;
  }

  .dashboard-page .dashboard-recent-table {
    gap: 0;
  }

  .dashboard-page .dashboard-recent-row {
    min-height: 28px;
    gap: 10px;
    font-size: 12px;
  }

  .dashboard-page .dashboard-recent-row-head {
    min-height: 22px;
    font-size: 11px;
  }

  .dashboard-page .dashboard-recent-primary strong,
  .dashboard-page .dashboard-recent-persona strong {
    font-size: 12px;
  }

  .dashboard-page .dashboard-recent-primary small,
  .dashboard-page .dashboard-category-chip,
  .dashboard-page .dashboard-status-badge {
    font-size: 10px;
  }

  .dashboard-page .dashboard-category-chip,
  .dashboard-page .dashboard-status-badge {
    min-height: 20px;
  }

  .dashboard-page .dashboard-trust-strip {
    min-height: 64px;
    padding: 0 32px;
  }
}

@media (min-width: 1041px) and (max-height: 820px) {
  .dashboard-page .dashboard-main {
    padding-top: 18px;
    padding-bottom: 10px;
  }

  .dashboard-page .dashboard-topbar {
    min-height: 50px;
  }

  .dashboard-page .dashboard-heading h1 {
    font-size: 24px;
  }

  .dashboard-page .dashboard-heading p {
    margin-top: 6px;
  }

  .dashboard-page .dashboard-topbar-actions {
    align-items: start;
  }

  .dashboard-page .dashboard-grid {
    margin-top: 12px;
    gap: 10px 18px;
  }

  .dashboard-page .dashboard-workspace {
    gap: 10px;
  }

  .dashboard-page .dashboard-kpi-card {
    height: 92px;
    min-height: 92px;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 8px;
    row-gap: 4px;
    padding: 11px 12px;
  }

  .dashboard-page .dashboard-kpi-icon {
    width: 34px;
    height: 34px;
  }

  .dashboard-page .dashboard-kpi-icon svg {
    width: 20px;
    height: 20px;
  }

  .dashboard-page .dashboard-kpi-card strong {
    font-size: 25px;
  }

  .dashboard-page .dashboard-kpi-card-budget strong {
    font-size: 21px;
  }

  .dashboard-page .dashboard-search-panel {
    min-height: 88px;
    padding: 10px 18px;
  }

  .dashboard-page .dashboard-search-panel h2 {
    margin-bottom: 7px;
  }

  .dashboard-page .dashboard-search {
    min-height: 36px;
  }

  .dashboard-page .dashboard-search input,
  .dashboard-page .dashboard-search button {
    min-height: 36px;
  }

  .dashboard-page .dashboard-filter-row {
    gap: 8px;
    margin-top: 7px;
  }

  .dashboard-page .dashboard-filter-row button,
  .dashboard-page .dashboard-filter-row a {
    min-height: 32px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .dashboard-page .dashboard-section-heading {
    min-height: 26px;
    margin-bottom: 7px;
  }

  .dashboard-page .dashboard-section-actions button {
    width: 26px;
    height: 26px;
  }

  .dashboard-page .dashboard-persona-card img {
    height: clamp(82px, 11vh, 104px);
  }

  .dashboard-page .dashboard-persona-content {
    gap: 2px;
    padding: 6px 8px 7px;
  }

  .dashboard-page .dashboard-persona-content h3 {
    font-size: 13px;
  }

  .dashboard-page .dashboard-persona-content p,
  .dashboard-page .dashboard-status-chip,
  .dashboard-page .dashboard-persona-content strong {
    font-size: 11px;
  }

  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='1'] {
    height: 84px;
    min-height: 84px;
    max-height: 84px;
  }

  .dashboard-page .dashboard-activity-list {
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .dashboard-page .dashboard-activity-list li:nth-child(n + 4) {
    display: none;
  }

  .dashboard-page .dashboard-shortcuts-card {
    min-height: 148px;
  }

  .dashboard-page .dashboard-shortcut-grid a {
    overflow: hidden;
  }

  .dashboard-page .dashboard-shortcut-grid strong {
    width: 100%;
    max-width: 100%;
    display: block;
  }

  .dashboard-page .dashboard-recent-row-head {
    display: none;
  }

  .dashboard-page .dashboard-recent-row {
    min-height: 36px;
  }

  .dashboard-page .dashboard-recent-primary small {
    display: none;
  }

  .dashboard-page .dashboard-trust-strip {
    height: 44px;
    min-height: 44px;
  }

  .dashboard-page .dashboard-trust-strip small {
    display: none;
  }

  .dashboard-page .dashboard-trust-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .dashboard-page .dashboard-trust-strip small {
    margin-top: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-page *,
  .dashboard-page *::before,
  .dashboard-page *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

html {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.dashboard-page {
  height: auto !important;
  min-height: 100vh !important;
  display: block !important;
  padding-bottom: 0 !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

@media (min-width: 1041px) {
  .dashboard-page {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .dashboard-page .dashboard-shell,
  .dashboard-page .dashboard-main {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  .dashboard-page .dashboard-main {
    display: block !important;
    padding-top: 28px !important;
    padding-bottom: 34px !important;
  }

  .dashboard-page .dashboard-grid {
    height: auto !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    grid-template-rows: auto auto auto auto !important;
    align-items: start !important;
    gap: 24px 18px !important;
    margin-top: 32px !important;
    overflow: visible !important;
  }

  .dashboard-page .dashboard-workspace,
  .dashboard-page .dashboard-rail,
  .dashboard-page .dashboard-recommendations,
  .dashboard-page .dashboard-persona-grid {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .dashboard-page .dashboard-workspace {
    display: grid !important;
    grid-template-rows: auto auto auto !important;
    gap: 22px !important;
    align-content: start !important;
  }

  .dashboard-page .dashboard-rail {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 24px !important;
    align-self: start !important;
  }

  .dashboard-page .dashboard-recommendations {
    display: block !important;
  }

  .dashboard-page .dashboard-section-heading {
    min-height: 42px !important;
    margin: 0 0 18px !important;
  }

  .dashboard-page .dashboard-persona-grid,
  .dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns] {
    --dashboard-persona-columns: 4 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-content: start !important;
  }

  .dashboard-page .dashboard-persona-card {
    height: auto !important;
    min-height: 0 !important;
  }

  .dashboard-page .dashboard-persona-card img {
    width: 100% !important;
    height: 190px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .dashboard-page .dashboard-persona-content {
    gap: 6px !important;
    padding: 13px 14px 15px !important;
  }

  .dashboard-page .dashboard-activity-card {
    height: 400px !important;
    min-height: 400px !important;
  }

  .dashboard-page .dashboard-shortcuts-card {
    align-self: start !important;
    height: auto !important;
    min-height: 190px !important;
    padding: 18px 16px !important;
  }

  .dashboard-page .dashboard-console-footer-card {
    display: none !important;
  }

  .dashboard-page .dashboard-wide-section {
    grid-column: 1 / -1 !important;
  }

  .dashboard-page .dashboard-recent-card,
  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='1'],
  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='2'],
  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='3'] {
    height: auto !important;
    min-height: 238px !important;
    max-height: none !important;
    gap: 12px !important;
    padding: 24px 22px 20px !important;
    overflow: visible !important;
  }

  .dashboard-page .dashboard-recent-more {
    display: inline-flex !important;
  }

  .dashboard-page .dashboard-recent-table {
    overflow: visible !important;
  }

  .dashboard-page .dashboard-recent-row-head {
    display: grid !important;
    min-height: 32px !important;
  }

  .dashboard-page .dashboard-recent-row {
    min-height: 54px !important;
    gap: 14px !important;
    font-size: 13px !important;
  }

  .dashboard-page .dashboard-recent-primary small {
    display: block !important;
  }

  .dashboard-page .dashboard-trust-strip {
    height: auto !important;
    min-height: 98px !important;
    padding: 0 40px !important;
  }

  .dashboard-page .dashboard-trust-strip small {
    display: block !important;
  }
}

@media (min-width: 1041px) and (max-height: 820px) {
  .dashboard-page .dashboard-main {
    padding-top: 20px !important;
    padding-bottom: 26px !important;
  }

  .dashboard-page .dashboard-grid {
    gap: 16px 18px !important;
    margin-top: 12px !important;
  }

  .dashboard-page .dashboard-workspace {
    gap: 12px !important;
  }

  .dashboard-page .dashboard-topbar {
    min-height: 48px !important;
  }

  .dashboard-page .dashboard-heading h1 {
    font-size: 24px !important;
  }

  .dashboard-page .dashboard-heading p {
    margin-top: 4px !important;
    font-size: 12px !important;
  }

  .dashboard-page .dashboard-kpi-card {
    height: 88px !important;
    min-height: 88px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .dashboard-page .dashboard-search-panel {
    min-height: 104px !important;
    padding: 11px 18px 10px !important;
  }

  .dashboard-page .dashboard-search-panel h2 {
    margin-bottom: 7px !important;
  }

  .dashboard-page .dashboard-search,
  .dashboard-page .dashboard-search input,
  .dashboard-page .dashboard-search button {
    min-height: 36px !important;
  }

  .dashboard-page .dashboard-filter-row {
    gap: 8px !important;
    margin-top: 7px !important;
  }

  .dashboard-page .dashboard-filter-row button,
  .dashboard-page .dashboard-filter-row a {
    min-height: 32px !important;
  }

  .dashboard-page .dashboard-section-heading {
    min-height: 28px !important;
    margin-bottom: 8px !important;
  }

  .dashboard-page .dashboard-persona-grid,
  .dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns] {
    gap: 18px !important;
  }

  .dashboard-page .dashboard-persona-card img {
    height: 150px !important;
  }

  .dashboard-page .dashboard-persona-content {
    gap: 3px !important;
    padding: 8px 10px 9px !important;
  }

  .dashboard-page .dashboard-persona-content h3 {
    font-size: 13px !important;
  }

  .dashboard-page .dashboard-persona-content p,
  .dashboard-page .dashboard-status-chip,
  .dashboard-page .dashboard-persona-content strong {
    font-size: 11px !important;
  }

  .dashboard-page .dashboard-rail {
    gap: 16px !important;
  }

  .dashboard-page .dashboard-activity-card {
    height: 300px !important;
    min-height: 300px !important;
  }

  .dashboard-page .dashboard-activity-list {
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  }

  .dashboard-page .dashboard-activity-list li:nth-child(n + 4) {
    display: none !important;
  }

  .dashboard-page .dashboard-shortcuts-card {
    min-height: 166px !important;
  }
}

/* Restore the validated adaptive Dashboard base after the rejected no-scroll recovery pass. */
@media (min-width: 1041px) {
  .dashboard-page .dashboard-shell {
    min-height: 100vh !important;
    height: auto !important;
    overflow: visible !important;
  }

  .dashboard-page .dashboard-main {
    display: block !important;
    height: auto !important;
    min-height: 100vh !important;
    padding: 28px 32px 24px 21px !important;
    overflow: visible !important;
  }

  .dashboard-page .dashboard-topbar {
    min-height: 66px !important;
    align-items: flex-start !important;
    gap: 28px !important;
  }

  .dashboard-page .dashboard-topbar-actions {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 478px) 50px auto !important;
    column-gap: 22px !important;
  }

  .dashboard-page .dashboard-top-search {
    transform: none !important;
  }

  .dashboard-page .dashboard-grid {
    height: auto !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    grid-template-rows: auto auto auto auto !important;
    align-items: start !important;
    gap: 18px !important;
    margin-top: 36px !important;
    overflow: visible !important;
  }

  .dashboard-page .dashboard-workspace {
    height: auto !important;
    max-height: none !important;
    display: grid !important;
    grid-template-rows: auto auto auto !important;
    gap: 18px !important;
    align-content: start !important;
    overflow: visible !important;
  }

  .dashboard-page .dashboard-rail {
    height: auto !important;
    max-height: none !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    gap: 20px !important;
    align-self: stretch !important;
    overflow: visible !important;
  }

  .dashboard-page .dashboard-kpi-card {
    height: 124px !important;
    min-height: 124px !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    padding: 18px 14px !important;
  }

  .dashboard-page .dashboard-kpi-card p,
  .dashboard-page .dashboard-kpi-card a,
  .dashboard-page .dashboard-shortcut-grid strong {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .dashboard-page .dashboard-search-panel {
    height: 192px !important;
    min-height: 192px !important;
    padding: 24px 18px 22px !important;
  }

  .dashboard-page .dashboard-search-panel h2 {
    margin-bottom: 16px !important;
  }

  .dashboard-page .dashboard-search,
  .dashboard-page .dashboard-search input,
  .dashboard-page .dashboard-search button {
    min-height: 48px !important;
  }

  .dashboard-page .dashboard-filter-row {
    gap: 18px !important;
    margin-top: 14px !important;
  }

  .dashboard-page .dashboard-filter-row button,
  .dashboard-page .dashboard-filter-row a {
    min-height: 42px !important;
  }

  .dashboard-page .dashboard-section-heading {
    min-height: 42px !important;
    margin: 0 0 20px !important;
  }

  .dashboard-page .dashboard-recommendations {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .dashboard-page .dashboard-persona-grid,
  .dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns] {
    --dashboard-persona-columns: initial !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 260px)) !important;
    justify-content: start !important;
    gap: 16px !important;
    align-content: start !important;
    overflow: visible !important;
  }

  .dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns='2'] {
    grid-template-columns: repeat(2, minmax(0, 260px)) !important;
  }

  .dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns='3'] {
    grid-template-columns: repeat(3, minmax(0, 260px)) !important;
  }

  .dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns='5'] {
    grid-template-columns: repeat(5, minmax(0, 260px)) !important;
  }

  .dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns='6'] {
    grid-template-columns: repeat(6, minmax(0, 260px)) !important;
  }

  .dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns='7'] {
    grid-template-columns: repeat(7, minmax(0, 260px)) !important;
  }

  .dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns='8'] {
    grid-template-columns: repeat(8, minmax(0, 260px)) !important;
  }

  .dashboard-page .dashboard-persona-card {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .dashboard-page .dashboard-persona-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .dashboard-page .dashboard-persona-content {
    gap: 5px !important;
    padding: 12px 14px 14px !important;
  }

  .dashboard-page .dashboard-activity-card {
    height: 400px !important;
    min-height: 400px !important;
  }

  .dashboard-page .dashboard-activity-list {
    grid-template-rows: repeat(5, minmax(0, 1fr)) !important;
  }

  .dashboard-page .dashboard-activity-list li:nth-child(n + 4) {
    display: grid !important;
  }

  .dashboard-page .dashboard-shortcuts-card {
    align-self: start !important;
    height: auto !important;
    min-height: 150px !important;
    padding: 16px !important;
  }

  .dashboard-page .dashboard-console-footer-card {
    grid-row: 4 !important;
    min-height: 98px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: end !important;
    gap: 10px !important;
    padding: 0 18px !important;
  }

  .dashboard-page .dashboard-wide-section {
    grid-column: 1 / -1 !important;
  }

  .dashboard-page .dashboard-recent-card,
  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='1'],
  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='2'],
  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='3'] {
    height: auto !important;
    min-height: 238px !important;
    max-height: none !important;
    gap: 12px !important;
    padding: 24px 22px 20px !important;
    overflow: visible !important;
  }

  .dashboard-page .dashboard-recent-row-head {
    display: grid !important;
    min-height: 32px !important;
  }

  .dashboard-page .dashboard-recent-row {
    min-height: 54px !important;
    gap: 14px !important;
    font-size: 13px !important;
  }

  .dashboard-page .dashboard-recent-primary small {
    display: block !important;
  }

  .dashboard-page .dashboard-trust-strip {
    height: auto !important;
    min-height: 98px !important;
    padding: 0 40px !important;
  }

  .dashboard-page .dashboard-trust-strip small {
    display: block !important;
  }
}

@media (min-width: 1041px) and (max-width: 1500px) {
  .dashboard-page .dashboard-topbar {
    gap: 20px !important;
  }

  .dashboard-page .dashboard-topbar-actions {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) 50px auto !important;
    column-gap: 14px !important;
  }

  .dashboard-page .dashboard-top-search {
    transform: translateX(-40px) !important;
  }
}

@media (min-width: 1041px) and (max-width: 1280px) {
  .dashboard-page .dashboard-topbar {
    gap: 12px !important;
  }

  .dashboard-page .dashboard-topbar-actions {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) 50px auto !important;
    column-gap: 10px !important;
  }

  .dashboard-page .dashboard-top-search {
    transform: none !important;
  }
}

/* Authoritative recovery for the user-validated adaptive Dashboard behavior. */
@media (min-width: 1041px) {
  .dashboard-page .dashboard-top-search {
    transform: translateX(-40px) !important;
  }

  .dashboard-page .dashboard-grid {
    align-items: stretch !important;
  }

  .dashboard-page .dashboard-workspace {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .dashboard-page .dashboard-rail {
    grid-column: 2 !important;
    grid-row: 1 !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    align-self: stretch !important;
  }

  .dashboard-page .dashboard-shortcuts-card {
    grid-row: 3 !important;
    align-self: end !important;
  }

  .dashboard-page .dashboard-footer-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  .dashboard-page .dashboard-footer-row.dashboard-wide-section {
    grid-column: 1 / -1 !important;
  }

  .dashboard-page .dashboard-footer-row .dashboard-trust-strip {
    grid-column: 1 !important;
    height: auto !important;
    min-height: 98px !important;
    padding: 0 40px !important;
  }

  .dashboard-page .dashboard-footer-row .dashboard-console-footer-card {
    grid-column: 2 !important;
    grid-row: auto !important;
    display: flex !important;
    align-self: stretch !important;
    min-height: 98px !important;
  }

  .dashboard-page .dashboard-persona-grid[data-dashboard-persona-columns] {
    grid-template-columns: repeat(var(--dashboard-persona-columns), minmax(0, 260px)) !important;
  }

  .dashboard-page .dashboard-search-panel {
    height: auto !important;
    min-height: 192px !important;
  }

  .dashboard-page .dashboard-filter-row {
    flex-wrap: wrap !important;
    align-content: flex-start !important;
  }

  .dashboard-page .dashboard-kpi-card p,
  .dashboard-page .dashboard-kpi-card a,
  .dashboard-page .dashboard-filter-row button,
  .dashboard-page .dashboard-filter-row a,
  .dashboard-page .dashboard-persona-content p,
  .dashboard-page .dashboard-persona-content strong,
  .dashboard-page .dashboard-shortcut-grid strong,
  .dashboard-page .dashboard-recent-row > *,
  .dashboard-page .dashboard-recent-primary strong,
  .dashboard-page .dashboard-recent-primary small,
  .dashboard-page .dashboard-recent-persona strong,
  .dashboard-page .dashboard-category-chip,
  .dashboard-page .dashboard-status-badge {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .dashboard-page .dashboard-recent-card,
  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='1'],
  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='2'],
  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='3'] {
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='1'] {
    min-height: 174px !important;
  }

  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='2'] {
    min-height: 224px !important;
  }

  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='3'] {
    min-height: 274px !important;
  }
}

@media (min-width: 1041px) and (max-width: 1500px) {
  .dashboard-page .dashboard-top-search {
    transform: translateX(-56px) !important;
  }
}

@media (min-width: 1041px) and (max-width: 1280px) {
  .dashboard-page .dashboard-top-search {
    transform: translateX(-56px) !important;
  }
}

@media (max-width: 1040px) {
  .dashboard-page .dashboard-footer-row {
    grid-template-columns: 1fr !important;
  }
}

/* v2026052216: restore footer semantics, prevent label collisions, and stretch activity. */
@media (min-width: 1041px) {
  .dashboard-page .dashboard-rail {
    grid-column: 2 !important;
    grid-row: 1 !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-self: stretch !important;
  }

  .dashboard-page .dashboard-activity-card {
    grid-row: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    align-self: stretch !important;
    overflow: hidden !important;
  }

  .dashboard-page .dashboard-activity-list {
    height: 100% !important;
    min-height: 0 !important;
    grid-template-rows: repeat(7, minmax(0, 1fr)) !important;
  }

  .dashboard-page .dashboard-activity-list li,
  .dashboard-page .dashboard-activity-list li:nth-child(n + 4) {
    min-height: 0 !important;
    display: grid !important;
  }

  .dashboard-page .dashboard-shortcuts-card {
    grid-row: 2 !important;
    align-self: end !important;
    height: auto !important;
    min-height: 150px !important;
    padding: 16px !important;
    overflow: hidden !important;
  }

  .dashboard-page .dashboard-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 12px !important;
  }

  .dashboard-page .dashboard-shortcut-grid a {
    min-height: 48px !important;
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    align-items: center !important;
    justify-items: start !important;
    column-gap: 8px !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  .dashboard-page .dashboard-shortcut-grid a > span {
    width: 38px !important;
    height: 38px !important;
  }

  .dashboard-page .dashboard-shortcut-grid svg {
    width: 22px !important;
    height: 22px !important;
  }

  .dashboard-page .dashboard-shortcut-grid strong {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    line-height: 1.15 !important;
  }

  .dashboard-page .dashboard-kpi-card {
    overflow: hidden !important;
  }

  .dashboard-page .dashboard-kpi-card p,
  .dashboard-page .dashboard-kpi-card strong,
  .dashboard-page .dashboard-kpi-card a {
    min-width: 0 !important;
    max-width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .dashboard-page .dashboard-kpi-card strong {
    font-size: clamp(20px, 2.2vw, 31px) !important;
  }

  .dashboard-page .dashboard-kpi-card-budget strong {
    font-size: clamp(18px, 2vw, 28px) !important;
  }

  .dashboard-page .dashboard-footer-row.dashboard-wide-section {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  .dashboard-page .dashboard-footer-row .dashboard-trust-strip,
  .dashboard-page .dashboard-footer-row .dashboard-console-footer-card {
    align-self: stretch !important;
    min-height: 98px !important;
  }
}

@media (min-width: 1041px) and (max-width: 1280px) {
  .dashboard-page .dashboard-kpi-card {
    grid-template-columns: 32px minmax(0, 1fr) !important;
    column-gap: 6px !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .dashboard-page .dashboard-kpi-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .dashboard-page .dashboard-kpi-icon svg {
    width: 19px !important;
    height: 19px !important;
  }

  .dashboard-page .dashboard-kpi-card p,
  .dashboard-page .dashboard-kpi-card a {
    font-size: 10px !important;
  }

  .dashboard-page .dashboard-kpi-card strong {
    font-size: 20px !important;
  }

  .dashboard-page .dashboard-kpi-card-budget strong {
    font-size: 18px !important;
  }
}

/* v2026052217: footers belong to the bottom of the screen; shortcuts stay one row. */
@media (min-width: 1041px) {
  .dashboard-page .dashboard-main {
    padding-bottom: 132px !important;
  }

  .dashboard-page .dashboard-footer-row.dashboard-wide-section {
    position: fixed !important;
    left: 331px !important;
    right: 32px !important;
    bottom: 16px !important;
    z-index: 18 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 18px !important;
    align-items: stretch !important;
    pointer-events: auto !important;
  }

  .dashboard-page .dashboard-footer-row .dashboard-trust-strip,
  .dashboard-page .dashboard-footer-row .dashboard-console-footer-card {
    min-height: 98px !important;
    height: 98px !important;
    align-self: stretch !important;
  }

  .dashboard-page .dashboard-shortcut-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .dashboard-page .dashboard-shortcut-grid a {
    min-height: 82px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 44px minmax(0, auto) !important;
    justify-items: center !important;
    align-items: start !important;
    row-gap: 8px !important;
    overflow: hidden !important;
    text-align: center !important;
  }

  .dashboard-page .dashboard-shortcut-grid a > span {
    width: 44px !important;
    height: 44px !important;
  }

  .dashboard-page .dashboard-shortcut-grid svg {
    width: 25px !important;
    height: 25px !important;
  }

  .dashboard-page .dashboard-shortcut-grid strong {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-align: center !important;
  }
}

@media (min-width: 1041px) and (max-width: 1280px) {
  .dashboard-page .dashboard-footer-row.dashboard-wide-section {
    left: 331px !important;
    right: 32px !important;
  }
}

/* v2026052218: wider right rail, reference-style recent tables and shortcuts. */
@media (min-width: 1041px) {
  .dashboard-page .dashboard-recent-card {
    --dashboard-recent-columns: minmax(150px, 1.18fr) minmax(120px, 0.85fr) minmax(150px, 1fr)
      minmax(94px, 0.72fr) minmax(110px, 0.78fr) 82px 84px;
  }

  .dashboard-page .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 360px !important;
  }

  .dashboard-page .dashboard-footer-row.dashboard-wide-section {
    grid-template-columns: minmax(0, 1fr) 360px !important;
  }

  .dashboard-page .dashboard-recent-band.dashboard-wide-section {
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  .dashboard-page .dashboard-recent-band .dashboard-recent-card {
    width: 100% !important;
    max-width: var(--dashboard-five-persona-row-width) !important;
  }

  .dashboard-page .dashboard-recent-requests .dashboard-recent-row,
  .dashboard-page .dashboard-recent-licenses .dashboard-recent-row {
    grid-template-columns: var(--dashboard-recent-columns) !important;
  }

  .dashboard-page .dashboard-recent-row > :nth-child(6) {
    justify-self: stretch !important;
    text-align: right !important;
    font-variant-numeric: tabular-nums !important;
  }

  .dashboard-page .dashboard-recent-row:not(.dashboard-recent-row-head) > :nth-child(6) {
    text-align: right !important;
    font-variant-numeric: tabular-nums !important;
  }

  .dashboard-page .dashboard-recent-row > :nth-child(7) {
    text-align: right !important;
  }

  .dashboard-page .dashboard-footer-row .dashboard-trust-strip,
  .dashboard-page .dashboard-footer-row .dashboard-console-footer-card {
    height: 98px !important;
    max-height: 98px !important;
    overflow: hidden !important;
  }

  .dashboard-page .dashboard-footer-row .dashboard-trust-strip div,
  .dashboard-page .dashboard-footer-row .dashboard-console-footer-card {
    min-width: 0 !important;
    flex-wrap: nowrap !important;
  }

  .dashboard-page .dashboard-footer-row .dashboard-trust-strip div > span:last-child {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .dashboard-page .dashboard-footer-row .dashboard-trust-strip strong,
  .dashboard-page .dashboard-footer-row .dashboard-trust-strip small,
  .dashboard-page .dashboard-footer-row .dashboard-console-footer-card span {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='4'] {
    min-height: 324px !important;
  }

  .dashboard-page .dashboard-recent-card[data-dashboard-visible-rows='5'] {
    min-height: 374px !important;
  }

  .dashboard-page .dashboard-category-label {
    max-width: 100% !important;
    display: inline-grid !important;
    grid-template-columns: 24px minmax(0, auto) !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #263554 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
  }

  .dashboard-page .dashboard-category-label.dashboard-category-pink,
  .dashboard-page .dashboard-category-label.dashboard-category-blue,
  .dashboard-page .dashboard-category-label.dashboard-category-green,
  .dashboard-page .dashboard-category-label.dashboard-category-travel {
    background: transparent !important;
    color: #263554 !important;
  }

  .dashboard-page .dashboard-category-label > span:last-child {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .dashboard-page .dashboard-category-icon {
    width: 24px !important;
    height: 24px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 8px !important;
    flex: 0 0 24px !important;
  }

  .dashboard-page .dashboard-category-icon svg {
    width: 15px !important;
    height: 15px !important;
  }

  .dashboard-page .dashboard-category-pink .dashboard-category-icon {
    color: #db2777 !important;
    background: #fce7f3 !important;
  }

  .dashboard-page .dashboard-category-blue .dashboard-category-icon {
    color: #1d4ed8 !important;
    background: #dbeafe !important;
  }

  .dashboard-page .dashboard-category-green .dashboard-category-icon {
    color: #16a34a !important;
    background: #dcfce7 !important;
  }

  .dashboard-page .dashboard-category-travel .dashboard-category-icon {
    color: #2563eb !important;
    background: #e0e7ff !important;
  }

  .dashboard-page .dashboard-category-chip {
    padding: 0 !important;
    background: transparent !important;
  }

  .dashboard-page .dashboard-status-complete {
    color: #334155 !important;
    background: #f1f5f9 !important;
  }

  .dashboard-page .dashboard-recent-more {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .dashboard-page .dashboard-recent-more svg {
    width: 16px !important;
    height: 16px !important;
  }

  .dashboard-page .dashboard-shortcut-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .dashboard-page .dashboard-shortcut-grid a {
    min-height: 94px !important;
    grid-template-rows: 50px minmax(0, auto) !important;
    row-gap: 9px !important;
  }

  .dashboard-page .dashboard-shortcut-grid a > span {
    width: 50px !important;
    height: 50px !important;
    border-radius: 13px !important;
  }

  .dashboard-page .dashboard-shortcut-grid svg {
    width: 28px !important;
    height: 28px !important;
  }

  .dashboard-page .dashboard-shortcut-grid strong {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  .dashboard-page .dashboard-activity-list li,
  .dashboard-page .dashboard-activity-list li:nth-child(n + 4) {
    align-items: center !important;
  }

  .dashboard-page .dashboard-activity-list li > div {
    align-self: center !important;
    display: grid !important;
    align-content: center !important;
    min-height: 0 !important;
  }

  .dashboard-page .dashboard-activity-icon,
  .dashboard-page .dashboard-activity-list time {
    align-self: center !important;
  }
}

@media (min-width: 1500px) {
  .dashboard-page .dashboard-recent-band.dashboard-wide-section {
    grid-template-columns:
      minmax(0, min(var(--dashboard-five-persona-row-width), calc(100% - 178px)))
      minmax(160px, 1fr) !important;
  }

  .dashboard-page .dashboard-recent-band .dashboard-recent-card {
    max-width: none !important;
  }

  .dashboard-page .dashboard-recent-side-card {
    display: block !important;
    align-self: stretch !important;
    min-height: 100% !important;
  }
}

/* v2026052304: screenshot-matched account, language, and theme dropdowns in the Dashboard header. */
.dashboard-page .dashboard-topbar,
.dashboard-page .dashboard-topbar-actions {
  overflow: visible !important;
}

.dashboard-page .dashboard-topbar {
  position: relative !important;
}

.dashboard-page .dashboard-header-controls {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: #0f1a37;
  z-index: 34;
}

.dashboard-page .dashboard-menu-anchor {
  position: relative;
  min-width: 0;
  display: inline-flex;
  align-items: center;
}

.dashboard-page .dashboard-language-anchor,
.dashboard-page .dashboard-theme-anchor {
  flex: 0 0 auto;
}

.dashboard-page .dashboard-account-anchor {
  flex: 0 0 auto;
  max-width: none;
}

.dashboard-page .dashboard-header-menu-button {
  min-width: 0;
  height: 43px;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dde6f4;
  border-radius: 10px;
  color: #0f1a37;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 35, 80, 0.07);
  cursor: pointer;
  font: inherit;
  font-size: 0;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.dashboard-page .dashboard-header-menu-button:hover,
.dashboard-page .dashboard-menu-anchor.is-open > .dashboard-header-menu-button {
  border-color: #b8c8ff;
  color: #053fd8;
  box-shadow: 0 14px 28px rgba(5, 63, 216, 0.11);
}

.dashboard-page .dashboard-header-menu-button:active {
  transform: translateY(1px);
}

.dashboard-page .dashboard-language-trigger {
  width: 64px;
  padding: 0;
}

.dashboard-page .dashboard-theme-trigger {
  width: 64px;
  padding: 0;
}

.dashboard-page .dashboard-header-controls .dashboard-bell {
  position: relative;
  grid-column: auto !important;
  flex: 0 0 32px;
  width: 32px !important;
  height: 45px !important;
  min-height: 45px !important;
  margin-left: 17px !important;
  border: 0;
  border-radius: 0;
  color: #071b56;
  background: transparent;
  box-shadow: none;
  transform-origin: top center !important;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-page .dashboard-header-controls .dashboard-bell:hover {
  animation: bellRing 0.65s ease-in-out !important;
}

.dashboard-page .dashboard-header-controls .dashboard-bell svg {
  width: 27px !important;
  height: 27px !important;
}

.dashboard-page .dashboard-header-controls .dashboard-bell span {
  top: 4px !important;
  right: -1px !important;
  min-width: 17px !important;
  height: 17px !important;
  border: 0;
  font-size: 10px !important;
}

.dashboard-page .dashboard-header-controls .dashboard-account {
  grid-column: auto !important;
  width: auto;
  max-width: none;
  min-height: 43px;
  margin-left: 4px;
  padding: 0 !important;
  gap: 11px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dashboard-page .dashboard-header-controls .dashboard-account img {
  width: 43px !important;
  height: 43px !important;
  flex: 0 0 43px;
}

.dashboard-page .dashboard-header-controls .dashboard-account strong {
  min-width: 0;
  max-width: none;
  display: block;
  overflow: visible;
  color: inherit;
  font-size: 13px !important;
  font-weight: 700;
  text-overflow: clip;
  white-space: nowrap;
}

.dashboard-page .dashboard-control-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .dashboard-language-trigger .dashboard-control-label {
  max-width: 35px;
}

.dashboard-page .dashboard-theme-trigger .dashboard-control-label {
  max-width: 28px;
}

.dashboard-page .dashboard-control-flag {
  width: 23px;
  height: 17px;
  flex: 0 0 23px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 2px;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(15, 35, 80, 0.08);
}

.dashboard-page .dashboard-control-flag img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.dashboard-page .dashboard-control-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 0;
  color: #053fd8;
  background: transparent;
}

.dashboard-page .dashboard-control-icon svg,
.dashboard-page .dashboard-control-chevron,
.dashboard-page .dashboard-menu-check {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-page .dashboard-control-icon svg {
  width: 18px;
  height: 18px;
}

.dashboard-page .dashboard-control-icon svg[hidden],
.dashboard-page [data-dashboard-theme-icon][hidden] {
  display: none !important;
}

.dashboard-page
  .dashboard-theme-trigger[data-dashboard-theme='light']
  [data-dashboard-theme-icon='dark'],
.dashboard-page
  .dashboard-theme-trigger[data-dashboard-theme='dark']
  [data-dashboard-theme-icon='light'] {
  display: none !important;
}

.dashboard-page
  .dashboard-theme-trigger[data-dashboard-theme='light']
  [data-dashboard-theme-icon='light'],
.dashboard-page
  .dashboard-theme-trigger[data-dashboard-theme='dark']
  [data-dashboard-theme-icon='dark'] {
  display: block !important;
}

.dashboard-page .dashboard-control-chevron {
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px;
  color: #071b56;
  transition: transform 160ms ease;
}

.dashboard-page .dashboard-menu-anchor.is-open .dashboard-control-chevron {
  transform: rotate(180deg);
}

.dashboard-page .dashboard-account .dashboard-control-chevron {
  width: 15px !important;
  height: 15px !important;
  flex-basis: 15px;
}

.dashboard-page .dashboard-account-anchor.is-open .dashboard-control-chevron {
  transform: none;
}

.dashboard-page .dashboard-header-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 190px;
  display: grid;
  gap: 0;
  padding: 8px;
  border: 1px solid #e3eaf5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 35, 80, 0.14);
  z-index: 80;
}

.dashboard-page .dashboard-header-menu[hidden] {
  display: none !important;
}

.dashboard-page .dashboard-language-menu {
  width: 214px;
}

.dashboard-page .dashboard-account-menu {
  width: 226px;
  padding: 10px 0;
  border-radius: 12px;
}

.dashboard-page .dashboard-menu-kicker {
  margin: 0 6px 4px;
  color: #667391;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dashboard-page .dashboard-menu-option {
  width: 100%;
  min-height: 33px;
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) 17px;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border: 0;
  border-radius: 0;
  color: #1d2b4d;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.dashboard-page .dashboard-language-menu .dashboard-menu-option {
  grid-template-columns: 23px minmax(0, 1fr) 17px;
  gap: 10px;
  padding-inline: 16px;
}

.dashboard-page .dashboard-account-menu-item {
  width: 100%;
  min-height: 33px;
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border: 0;
  border-radius: 0;
  color: #1d2b4d;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.dashboard-page
  .dashboard-menu-option
  span:not(.dashboard-control-flag):not(.dashboard-control-icon),
.dashboard-page .dashboard-account-menu-item {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .dashboard-menu-option:hover,
.dashboard-page .dashboard-menu-option:focus-visible,
.dashboard-page .dashboard-account-menu-item:hover,
.dashboard-page .dashboard-account-menu-item:focus-visible,
.dashboard-page .dashboard-menu-option.is-selected {
  color: #053fd8;
  background: #f3f7ff;
}

.dashboard-page .dashboard-menu-option .dashboard-control-flag,
.dashboard-page .dashboard-menu-option .dashboard-control-icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
  color: #53617e;
}

.dashboard-page .dashboard-language-menu .dashboard-menu-option .dashboard-control-flag {
  width: 23px;
  height: 17px;
  flex-basis: 23px;
}

.dashboard-page .dashboard-account-menu-item .dashboard-control-icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
  color: #53617e;
}

.dashboard-page .dashboard-account-menu-item .dashboard-control-icon svg,
.dashboard-page .dashboard-menu-option .dashboard-control-icon svg {
  width: 16px;
  height: 16px;
}

.dashboard-page .dashboard-account-menu-item:hover .dashboard-control-icon,
.dashboard-page .dashboard-account-menu-item:focus-visible .dashboard-control-icon,
.dashboard-page .dashboard-menu-option:hover .dashboard-control-icon,
.dashboard-page .dashboard-menu-option:focus-visible .dashboard-control-icon {
  color: #053fd8;
}

.dashboard-page .dashboard-menu-check {
  width: 17px;
  height: 17px;
  color: #053fd8;
  stroke-width: 2.7;
  opacity: 0;
}

.dashboard-page .dashboard-menu-option.is-selected .dashboard-menu-check {
  opacity: 1;
}

.dashboard-page .dashboard-account-menu-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  padding: 10px;
  border: 1px solid #e8eef9;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.dashboard-page .dashboard-account-menu-card img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.dashboard-page .dashboard-account-menu-card strong,
.dashboard-page .dashboard-account-menu-card small {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .dashboard-account-menu-card strong {
  color: #101a35;
  font-size: 14px;
  font-weight: 800;
}

.dashboard-page .dashboard-account-menu-card small {
  margin-top: 3px;
  color: #667391;
  font-size: 12px;
  font-weight: 600;
}

.dashboard-page .dashboard-menu-divider {
  height: 1px;
  margin: 8px 17px;
  background: #e4eaf4;
}

.dashboard-page .dashboard-account-menu-item-danger {
  color: #b42318;
}

.dashboard-page .dashboard-account-menu-item-danger .dashboard-control-icon {
  color: #b42318;
  background: #fff1f0;
}

.dashboard-page .dashboard-header-menu-button:focus-visible,
.dashboard-page .dashboard-header-controls .dashboard-account:focus-visible,
.dashboard-page .dashboard-header-controls .dashboard-bell:focus-visible,
.dashboard-page .dashboard-menu-option:focus-visible,
.dashboard-page .dashboard-account-menu-item:focus-visible {
  outline: 3px solid rgba(5, 63, 216, 0.24);
  outline-offset: 3px;
}

@media (min-width: 1041px) {
  .dashboard-page .dashboard-top-search {
    transform: translate(-40px, 6px) !important;
  }

  .dashboard-page .dashboard-header-controls {
    position: absolute !important;
    top: 0;
    right: 0;
    width: 360px;
    height: 54px;
  }
}

@media (min-width: 1041px) and (max-width: 1280px) {
  .dashboard-page .dashboard-top-search {
    transform: translate(-56px, 6px) !important;
  }

  .dashboard-page .dashboard-header-controls {
    gap: 5px;
  }

  .dashboard-page .dashboard-language-trigger {
    width: 64px;
    padding-right: 0;
    padding-left: 0;
  }

  .dashboard-page .dashboard-theme-trigger {
    width: 64px;
    padding-right: 0;
    padding-left: 0;
  }

  .dashboard-page .dashboard-account-anchor,
  .dashboard-page .dashboard-header-controls .dashboard-account {
    max-width: none;
  }

  .dashboard-page .dashboard-header-controls .dashboard-account strong {
    max-width: none;
  }
}

@media (min-width: 1281px) and (max-width: 1500px) {
  .dashboard-page .dashboard-top-search {
    transform: translate(-56px, 6px) !important;
  }
}

@media (max-width: 1040px) {
  .dashboard-page .dashboard-topbar-actions {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .dashboard-page .dashboard-top-search {
    flex: 1 1 340px;
  }

  .dashboard-page .dashboard-header-controls {
    position: static !important;
    flex: 1 1 100%;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .dashboard-page .dashboard-account-anchor {
    flex: 0 1 170px;
    max-width: 170px;
  }

  .dashboard-page .dashboard-header-controls .dashboard-account {
    max-width: 170px;
  }
}

@media (max-width: 680px) {
  .dashboard-page .dashboard-header-controls {
    gap: 8px;
  }

  .dashboard-page .dashboard-language-trigger,
  .dashboard-page .dashboard-theme-trigger {
    width: 58px;
    padding-right: 0;
    padding-left: 0;
  }

  .dashboard-page .dashboard-language-trigger .dashboard-control-label,
  .dashboard-page .dashboard-theme-trigger .dashboard-control-label,
  .dashboard-page .dashboard-header-controls .dashboard-account strong {
    display: none !important;
  }

  .dashboard-page .dashboard-account-anchor,
  .dashboard-page .dashboard-header-controls .dashboard-account {
    flex: 0 0 auto;
    width: 56px;
    max-width: 56px;
  }

  .dashboard-page .dashboard-header-controls .dashboard-account {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  .dashboard-page .dashboard-header-menu,
  .dashboard-page .dashboard-account-menu {
    right: auto;
    left: 0;
    width: min(226px, calc(100vw - 36px));
  }

  .dashboard-page .dashboard-account-anchor .dashboard-header-menu {
    right: 0;
    left: auto;
  }
}

/* v2026052306-v2026052307: clean header-search focus and readable recent-table type scale. */
.dashboard-page .dashboard-top-search {
  transition:
    background-color 0.16s ease,
    box-shadow 0.16s ease;
}
.dashboard-page .dashboard-top-search:focus-within {
  border-color: #b8c8ff !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.dashboard-page .dashboard-top-search input,
.dashboard-page .dashboard-top-search button {
  outline-style: none !important;
  outline-width: 0 !important;
  box-shadow: none !important;
}

.dashboard-page .dashboard-top-search input:focus,
.dashboard-page .dashboard-top-search input:focus-visible,
.dashboard-page .dashboard-top-search button:focus,
.dashboard-page .dashboard-top-search button:focus-visible {
  outline: 0 !important;
  outline-style: none !important;
  outline-width: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

.dashboard-page .dashboard-recent-requests,
.dashboard-page .dashboard-recent-licenses {
  --dashboard-recent-heading-font-size: var(--kest-font-size-title-sm, 17px);
  --dashboard-recent-link-font-size: var(--kest-font-size-body-sm, 14px);
  --dashboard-recent-row-font-size: var(--kest-font-size-body-sm, 14px);
  --dashboard-recent-label-font-size: var(--kest-font-size-label, 13px);
  --dashboard-recent-column-font-size: var(--kest-font-size-label, 13px);
  --dashboard-recent-caption-font-size: var(--kest-font-size-caption, 12px);
}

.dashboard-page .dashboard-recent-requests .dashboard-recent-header h2,
.dashboard-page .dashboard-recent-licenses .dashboard-recent-header h2 {
  font-size: var(--dashboard-recent-heading-font-size) !important;
  line-height: var(--kest-line-height-tight, 1.2) !important;
}

.dashboard-page .dashboard-recent-requests .dashboard-recent-header a,
.dashboard-page .dashboard-recent-licenses .dashboard-recent-header a,
.dashboard-page .dashboard-recent-requests .dashboard-recent-more,
.dashboard-page .dashboard-recent-licenses .dashboard-recent-more {
  font-size: var(--dashboard-recent-link-font-size) !important;
  line-height: var(--kest-line-height-tight, 1.2) !important;
}

.dashboard-page .dashboard-recent-requests .dashboard-recent-row,
.dashboard-page .dashboard-recent-licenses .dashboard-recent-row {
  font-size: var(--dashboard-recent-row-font-size) !important;
  line-height: var(--kest-line-height-compact, 1.35) !important;
}

.dashboard-page .dashboard-recent-requests .dashboard-recent-primary small,
.dashboard-page .dashboard-recent-licenses .dashboard-recent-primary small,
.dashboard-page .dashboard-recent-requests .dashboard-status-badge,
.dashboard-page .dashboard-recent-licenses .dashboard-status-badge {
  font-size: var(--dashboard-recent-caption-font-size) !important;
}

.dashboard-page .dashboard-recent-requests .dashboard-recent-row-head,
.dashboard-page .dashboard-recent-licenses .dashboard-recent-row-head,
.dashboard-page .dashboard-recent-requests .dashboard-recent-row-head [role='columnheader'],
.dashboard-page .dashboard-recent-licenses .dashboard-recent-row-head [role='columnheader'] {
  font-size: var(--dashboard-recent-column-font-size) !important;
  line-height: var(--kest-line-height-compact, 1.35) !important;
}

.dashboard-page .dashboard-recent-requests .dashboard-recent-primary strong,
.dashboard-page .dashboard-recent-licenses .dashboard-recent-primary strong,
.dashboard-page .dashboard-recent-requests .dashboard-recent-persona strong,
.dashboard-page .dashboard-recent-licenses .dashboard-recent-persona strong {
  font-size: var(--dashboard-recent-row-font-size) !important;
  line-height: var(--kest-line-height-tight, 1.2) !important;
}

.dashboard-page .dashboard-recent-requests .dashboard-category-label,
.dashboard-page .dashboard-recent-licenses .dashboard-category-label {
  font-size: var(--dashboard-recent-label-font-size) !important;
}

/* v2026052308: sidebar user dropdown copied from the validated header account menu. */
.dashboard-page .dashboard-sidebar {
  overflow: visible !important;
}

.dashboard-page .dashboard-sidebar-account-anchor {
  width: 100%;
  display: block;
  position: relative;
  z-index: 32;
}

.dashboard-page .dashboard-sidebar-account-anchor.is-open {
  z-index: 96;
}

.dashboard-page
  .dashboard-sidebar:has(.dashboard-sidebar-account-anchor.is-open)
  .dashboard-help-card {
  opacity: 0;
  pointer-events: none;
}

.dashboard-page .dashboard-sidebar-account-anchor .dashboard-sidebar-account {
  width: 100%;
  appearance: none;
  border: 1px solid #dce6f8;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dashboard-page .dashboard-sidebar-account-anchor .dashboard-sidebar-account:hover,
.dashboard-page .dashboard-sidebar-account-anchor.is-open .dashboard-sidebar-account {
  border-color: #d7e2f4;
  box-shadow: 0 14px 30px rgba(15, 35, 80, 0.08);
}

.dashboard-page .dashboard-sidebar-account-anchor.is-open .dashboard-control-chevron {
  transform: none;
}

.dashboard-page .dashboard-sidebar-account-menu {
  top: auto;
  right: 0;
  bottom: calc(100% + 12px);
  left: auto;
  width: 204px;
  padding: 8px 0;
  border: 1px solid #e3eaf5;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(15, 35, 80, 0.14);
  z-index: 98;
}

.dashboard-page .dashboard-sidebar-account-menu::after {
  content: '';
  position: absolute;
  right: 42px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border-right: 1px solid #e3eaf5;
  border-bottom: 1px solid #e3eaf5;
  background: #ffffff;
  transform: rotate(45deg);
}

.dashboard-page .dashboard-sidebar-account-menu .dashboard-account-menu-item {
  min-height: 30px;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 11px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 600;
}

.dashboard-page
  .dashboard-sidebar-account-menu
  .dashboard-account-menu-item
  .dashboard-control-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.dashboard-page
  .dashboard-sidebar-account-menu
  .dashboard-account-menu-item
  .dashboard-control-icon
  svg {
  width: 15px;
  height: 15px;
}

.dashboard-page .dashboard-sidebar-account-menu .dashboard-menu-divider {
  margin: 4px 18px;
}

/* ── Animations Additionnelles Premium (Micro-interactions KEST) ── */

/* 1. Flottement et lueur de l'icône KPI */
.dashboard-page .dashboard-kpi-icon {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.dashboard-page .dashboard-kpi-card:hover .dashboard-kpi-icon {
  transform: translateY(-3px);
  border-color: #053fd8;
  background: #f0f3ff;
  box-shadow: 0 4px 12px rgba(5, 63, 216, 0.12);
}

/* 2. Micro-zoom de l'avatar utilisateur */
.dashboard-page .dashboard-sidebar-account img,
.dashboard-page .dashboard-account img {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.dashboard-page .dashboard-sidebar-account:hover img,
.dashboard-page .dashboard-account:hover img {
  transform: scale(1.08);
}

/* 3. Oscillation et sonnerie de la cloche de notification */
@keyframes bellRing {
  0% {
    transform: rotate(0);
  }
  15% {
    transform: rotate(12deg);
  }
  30% {
    transform: rotate(-12deg);
  }
  45% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(4deg);
  }
  90% {
    transform: rotate(-4deg);
  }
  100% {
    transform: rotate(0);
  }
}

/* 3. Pulsation de la pastille cloche */
@keyframes bellPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(5, 63, 216, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(5, 63, 216, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(5, 63, 216, 0);
  }
}
.dashboard-page .dashboard-bell span {
  animation: bellPulse 1.8s infinite;
}

/* ── Nouveaux Effets d'Unité et de Geste Interactifs KEST ── */

/* 5. Logo et wordmark KEST en haut à gauche (sidebar) */
.dashboard-page .dashboard-brand img {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.dashboard-page .dashboard-brand:hover img {
  transform: scale(1.075);
}

/* 6. Logo, wordmark KEST et texte Business Console en bas à droite (footer) */
.dashboard-page .dashboard-console-footer-card img,
.dashboard-page .dashboard-console-footer-card span {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.dashboard-page .dashboard-console-footer-card:hover img,
.dashboard-page .dashboard-console-footer-card:hover span {
  transform: scale(1.05);
}

/* 7. Les 3 icônes de confiance dans le footer central */
.dashboard-page .dashboard-trust-icon {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.dashboard-page .dashboard-trust-strip div:hover .dashboard-trust-icon {
  transform: scale(1.12);
}

/* 8. Zoom sur le bouton Contacter le support */
.dashboard-page .dashboard-help-card a {
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.dashboard-page .dashboard-help-card a:hover {
  transform: scale(1.05);
}

/* 9. Mouvement de salutation (wave) dans l'en-tête */
@keyframes waveShake {
  0% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(14deg);
  }
  30% {
    transform: rotate(-8deg);
  }
  45% {
    transform: rotate(14deg);
  }
  60% {
    transform: rotate(-4deg);
  }
  75% {
    transform: rotate(10deg);
  }
  90% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.dashboard-page .dashboard-wave {
  display: inline-block;
  margin-left: 6px;
  transform-origin: 70% 70%;
  transition: transform 0.25s ease;
}
.dashboard-page .dashboard-heading:hover .dashboard-wave {
  animation: waveShake 1.2s ease-in-out;
}

/* 10. Animations conjointes sur les icônes et textes du footer de confiance */
.dashboard-page .dashboard-trust-strip div span:not(.dashboard-trust-icon) {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.dashboard-page .dashboard-trust-strip div strong {
  transition: color 0.25s ease;
}
.dashboard-page .dashboard-trust-strip div:hover span:not(.dashboard-trust-icon) {
  transform: scale(1.04);
}
.dashboard-page .dashboard-trust-strip div:hover strong {
  color: #053fd8;
}

/* ───────────────────────────────────────────────────────────── */
/* ── KEST Advanced UI Enhancements (Premium Micro-interactions) ── */
/* ───────────────────────────────────────────────────────────── */

/* 1. Transitions de page fluides (Single Page Illusion on internal anchors) */
body.dashboard-page-exit {
  animation: bodyPageExit 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

@keyframes bodyPageExit {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.985);
    filter: blur(4px);
  }
}

/* 2. Écrans Squelettes Dynamiques (glowing pulsive skeleton grids) */
.dashboard-page .dashboard-persona-card.is-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(239, 245, 255, 0.5), transparent);
  background-size: 200% 100%;
  animation: skeletonGlow 1.5s infinite linear !important;
  pointer-events: none;
  border-radius: inherit;
  z-index: 5;
}

@keyframes skeletonGlow {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.dashboard-page .dashboard-persona-card.is-placeholder {
  position: relative !important;
  overflow: hidden !important;
  background-color: #f7fafc !important;
  border-color: #e2e8f0 !important;
}

/* 3. Effet de Verre Dépoli Premium (frosted glass blur on headers, sidebars, and dropdowns) */
.dashboard-page .dashboard-topbar-wrapper,
.dashboard-page .dashboard-header-menu,
.dashboard-page .dashboard-sidebar-account-menu {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* 4. Micro-célébrations de Favoris (bookmark particle explosion) */
@keyframes bookmarkPop {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(0.8);
  }
  60% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}

.dashboard-page .dashboard-bookmark-btn.is-active svg {
  animation: bookmarkPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

.dashboard-page .kest-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: kestParticleRise 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards !important;
}

@keyframes kestParticleRise {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

/* 11. Zoom doux au survol pour les boutons textes d'actions globales */
.dashboard-page .dashboard-kpi-card a,
.dashboard-page .dashboard-recent-header a,
.dashboard-page .dashboard-section-actions a,
.dashboard-page .dashboard-rail-header a,
.dashboard-page .dashboard-recent-more {
  display: inline-flex !important;
  align-items: center !important;
  transition:
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.16s ease !important;
}

/* Alignement gauche / origine gauche pour KPI et liens de bas de table */
.dashboard-page .dashboard-kpi-card a,
.dashboard-page .dashboard-recent-more {
  justify-self: start !important;
  transform-origin: left center !important;
}

/* Alignement droite / origine droite pour les boutons d'en-tête de section */
.dashboard-page .dashboard-recent-header a,
.dashboard-page .dashboard-section-actions a,
.dashboard-page .dashboard-rail-header a {
  transform-origin: right center !important;
}

/* Application de l'effet d'échelle premium */
.dashboard-page .dashboard-kpi-card a:hover,
.dashboard-page .dashboard-recent-header a:hover,
.dashboard-page .dashboard-section-actions a:hover,
.dashboard-page .dashboard-rail-header a:hover,
.dashboard-page .dashboard-recent-more:hover {
  transform: scale(1.06) !important;
}

/* ───────────────────────────────────────────────────────────── */
/* ── KEST Responsive & Mobile Presentation Patch (2026/05) ── */
/* ───────────────────────────────────────────────────────────── */

/* Assurer que les icônes de catégories dans les tables conservent leur taille sur tous les écrans */
.dashboard-page .dashboard-category-icon {
  width: 24px !important;
  height: 24px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 8px !important;
  flex: 0 0 24px !important;
}

.dashboard-page .dashboard-category-icon svg {
  width: 15px !important;
  height: 15px !important;
}

.dashboard-page .dashboard-recent-more svg {
  width: 16px !important;
  height: 16px !important;
}

/* Cache du bouton hamburger par défaut sur écran desktop */
.dashboard-page .dashboard-mobile-hamburger {
  display: none !important;
}

/* Cache du logo, wordmark et hamburger mobile par défaut sur écran desktop */
.dashboard-page .dashboard-mobile-header-row {
  display: none !important;
}

@media (max-width: 640px) {
  /* Affichage du logo, du wordmark et du hamburger en haut de page mobile */
  .dashboard-page .dashboard-mobile-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* Logo à gauche, hamburger à sa droite (opposé) */
    width: 100% !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #e1ecf8 !important;
    margin-bottom: 8px !important;
  }

  .dashboard-page .dashboard-mobile-header-row .dashboard-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
  }

  .dashboard-page .dashboard-mobile-header-row .dashboard-brand-mark {
    height: 28px !important;
    width: auto !important;
  }

  .dashboard-page .dashboard-mobile-header-row .dashboard-brand-wordmark {
    height: 18px !important;
    width: auto !important;
  }

  /* Masquer complètement la barre latérale sur mobile pour éviter les espaces blancs géants */
  .dashboard-page .dashboard-sidebar {
    display: none !important;
  }

  /* Ajuster le rembourrage du conteneur principal */
  .dashboard-page .dashboard-main {
    padding: 12px 12px 100px !important; /* Marge inférieure pour la barre de navigation mobile */
  }

  /* Adapter la barre supérieure pour éviter le chevauchement et l'écrasement */
  .dashboard-page .dashboard-topbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 12px 12px !important;
    margin-bottom: 8px !important;
  }

  /* Configuration du titre d'en-tête (Bonjour, Marc) sur mobile */
  .dashboard-page .dashboard-heading {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 !important;
  }

  .dashboard-page .dashboard-heading-text {
    width: 100% !important;
  }

  /* Permettre au sous-titre de s'enrouler correctement sur mobile */
  .dashboard-page .dashboard-heading p {
    white-space: normal !important;
    margin: 0 !important;
  }

  /* Affichage du bouton hamburger d'options sur mobile */
  .dashboard-page .dashboard-mobile-hamburger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #d7e2f4 !important;
    color: #0f1a37 !important;
    cursor: pointer !important;
    padding: 0 !important;
    flex: 0 0 44px !important;
  }

  .dashboard-page .dashboard-mobile-hamburger svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* Redéfinir les actions de la barre supérieure pour une disposition sur plusieurs lignes fluides */
  .dashboard-page .dashboard-topbar-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    flex: 0 0 auto !important; /* Neutralise le flex-basis vertical hérité de 620px qui étirait la hauteur à l'infini */
  }

  /* Barre de recherche sur toute la largeur avec hauteur et flexion rigoureusement bridées */
  .dashboard-page .dashboard-top-search {
    width: 100% !important;
    max-width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    flex: 0 0 46px !important; /* Neutralise le flex-basis hérité de 340px pour figer la hauteur à 46px */
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    align-items: center !important;
  }

  /* Boutons de contrôle masqués par défaut sur mobile, affichés uniquement si ouverts via burger */
  .dashboard-page .dashboard-header-controls {
    display: none !important;
    justify-content: center !important; /* Centrage absolu horizontal des boutons */
    align-items: center !important;
    width: 100% !important;
    position: static !important;
    gap: 16px !important; /* Espace parfaitement égal de 16px entre chacun des 4 boutons */
    margin: 12px 0 4px 0 !important;
    padding: 8px 0 !important;
  }

  /* Affichage du panneau de préférences rapides lorsque le hamburger est cliqué */
  .dashboard-topbar .dashboard-header-controls.dashboard-controls-expanded {
    display: flex !important;
    animation: dashboardFadeInMenu 0.2s ease-out !important;
  }

  @keyframes dashboardFadeInMenu {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Alignement individuel et réinitialisation de flex pour chacun des 4 ancres/boutons */
  .dashboard-page .dashboard-language-anchor,
  .dashboard-page .dashboard-theme-anchor,
  .dashboard-page .dashboard-header-controls .dashboard-bell,
  .dashboard-page .dashboard-account-anchor {
    flex: 0 0 44px !important;
    width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    max-height: 44px !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Uniformisation de l'apparence des 4 boutons sous forme de cercles de 44px */
  .dashboard-page .dashboard-language-trigger,
  .dashboard-page .dashboard-theme-trigger,
  .dashboard-page .dashboard-header-controls .dashboard-bell,
  .dashboard-page .dashboard-header-controls .dashboard-account {
    height: 44px !important;
    min-height: 44px !important;
    width: 44px !important;
    max-width: 44px !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border-radius: 50% !important; /* Format circulaire de haute qualité */
    background: #ffffff !important;
    border: 1px solid #d7e2f4 !important;
    box-shadow: 0 4px 12px rgba(15, 35, 80, 0.05) !important;
    cursor: pointer !important;
    margin: 0 !important;
  }

  /* Masquer les chevrons et les textes sur mobile pour un rendu circulaire ultra moderne */
  .dashboard-page .dashboard-control-chevron,
  .dashboard-page .dashboard-language-trigger .dashboard-control-label,
  .dashboard-page .dashboard-theme-trigger .dashboard-control-label,
  .dashboard-page .dashboard-header-controls .dashboard-account strong {
    display: none !important;
  }

  /* Ajustements pour les icônes de drapeaux et de thèmes circulaires */
  .dashboard-page .dashboard-control-flag,
  .dashboard-page .dashboard-control-icon {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .dashboard-page .dashboard-control-flag img {
    width: 22px !important;
    height: 15px !important;
    object-fit: contain !important;
    border-radius: 2px !important;
  }

  /* Ajustement de la cloche de notification sur mobile */
  .dashboard-page .dashboard-header-controls .dashboard-bell {
    margin-left: 10px !important; /* Ajoute un écart supplémentaire compensatoire de grande qualité pour équilibrer le badge */
  }

  .dashboard-page .dashboard-header-controls .dashboard-bell svg {
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
  }

  /* Badge de notification centré sur le cercle */
  .dashboard-page .dashboard-header-controls .dashboard-bell span {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    background: #ff4a5a !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    min-width: 16px !important;
    height: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 9px !important;
    border: 1px solid #ffffff !important;
  }

  /* Avatar du compte en haut de page mobile */
  .dashboard-page .dashboard-header-controls .dashboard-account img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    margin: 0 !important;
    object-fit: cover !important;
  }

  .dashboard-page .dashboard-language-trigger:hover,
  .dashboard-page .dashboard-theme-trigger:hover,
  .dashboard-page .dashboard-bell:hover,
  .dashboard-page .dashboard-header-controls .dashboard-account:hover {
    background-color: #f8fafc !important;
  }

  /* Séparation des deux sections du pied de page sur mobile */
  .dashboard-page .dashboard-footer-row.dashboard-wide-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important; /* Espace vertical élégant et compact */
    margin-top: 24px !important;
    padding-bottom: 10px !important; /* Réduction drastique de 50% sous le second footer pour éviter l'espace vide superflu */
  }

  .dashboard-page .dashboard-footer-row .dashboard-trust-strip,
  .dashboard-page .dashboard-footer-row .dashboard-console-footer-card {
    height: auto !important;
    max-height: none !important;
    width: 100% !important; /* Aligne la largeur parfaite de 100% sur mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .dashboard-page .dashboard-trust-strip {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 18px 24px !important; /* Marges internes uniformes de grande qualité */
  }

  .dashboard-page .dashboard-trust-strip div {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Aligne toutes les puces parfaitement sur la gauche */
    gap: 14px !important;
    width: 100% !important;
    padding-left: 12% !important; /* Alignement vertical élégant et équilibré à partir de la gauche */
  }

  .dashboard-page .dashboard-console-footer-card {
    margin-top: 0 !important;
    padding: 18px 24px !important; /* Garantit que la boîte a précisément le même aspect que la précédente */
    justify-content: center !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  /* Ajustements pour la grille de cartes principale */
  .dashboard-page .dashboard-grid {
    margin-top: 12px !important;
  }
}

/* ==========================================================================
   ALIGNEMENT DE LA COLONNE CATÉGORIE DU TABLEAU (DESKTOP ET MOBILE)
   ========================================================================== */

/* Garantir l'alignement horizontal icône/texte et neutralité des couleurs des catégories de table sur toutes les résolutions */
.dashboard-page .dashboard-category-label {
  max-width: 100% !important;
  display: inline-grid !important;
  grid-template-columns: 24px minmax(0, auto) !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #263554 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.dashboard-page .dashboard-category-label.dashboard-category-pink,
.dashboard-page .dashboard-category-label.dashboard-category-blue,
.dashboard-page .dashboard-category-label.dashboard-category-green,
.dashboard-page .dashboard-category-label.dashboard-category-travel {
  background: transparent !important;
  color: #263554 !important;
}

.dashboard-page .dashboard-category-label > span:last-child {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.dashboard-page .dashboard-category-icon {
  width: 24px !important;
  height: 24px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 8px !important;
  flex: 0 0 24px !important;
}

.dashboard-page .dashboard-category-icon svg {
  width: 15px !important;
  height: 15px !important;
}

.dashboard-page .dashboard-category-pink .dashboard-category-icon {
  color: #db2777 !important;
  background: #fce7f3 !important;
}

.dashboard-page .dashboard-category-blue .dashboard-category-icon {
  color: #1d4ed8 !important;
  background: #dbeafe !important;
}

.dashboard-page .dashboard-category-green .dashboard-category-icon {
  color: #16a34a !important;
  background: #dcfce7 !important;
}

.dashboard-page .dashboard-category-travel .dashboard-category-icon {
  color: #2563eb !important;
  background: #e0e7ff !important;
}

/* v20260524-6: keep the mobile bottom nav from rendering as raw desktop content. */
body.dashboard-page .dashboard-mobile-nav {
  display: none !important;
}

body.dashboard-page .dashboard-mobile-nav-icon {
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 24px !important;
}

body.dashboard-page .dashboard-mobile-nav-icon svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block !important;
}

@media (max-width: 640px) {
  body.dashboard-page .dashboard-mobile-nav {
    display: flex !important;
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1000 !important;
    height: 64px !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 0 8px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: #0f172a !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15) !important;
  }

  body.dashboard-page .dashboard-mobile-nav-link {
    min-height: 48px !important;
    display: flex !important;
    flex: 1 1 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  body.dashboard-page .dashboard-mobile-nav-link.active,
  body.dashboard-page .dashboard-mobile-nav-link:hover {
    color: #3b82f6 !important;
  }
}
