/* Dashboard workspace. Loaded after front(.min).css; public event/forms stay unchanged. */
.rpm-front.rpm-wrap--dash {
  --rpm-dash-ink: #172338;
  --rpm-dash-muted: #607087;
  --rpm-dash-line: #dce4ed;
  --rpm-dash-accent: #245fe0;
  --so-card: #fff;
  --so-ink: #172338;
  --so-muted: #607087;
  color: var(--rpm-dash-ink);
  font-size: 14px;
  line-height: 1.5;
}
.rpm-front.rpm-wrap--dash [data-rpm-dashboard] {
  position: relative;
  gap: 20px;
  padding: 24px;
  border: 1px solid #e8edf4;
  border-radius: 24px;
  background: #f3f6fb;
  isolation: isolate;
  overflow-wrap: anywhere;
}
.rpm-front.rpm-wrap--dash h2,
.rpm-front.rpm-wrap--dash h3,
.rpm-front.rpm-wrap--dash p { font-family: inherit; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.rpm-front.rpm-wrap--dash .rpm-dashboard-hero h1,
.rpm-front.rpm-wrap--dash .rpm-dashboard-hero h2 {
  margin: 5px 0 8px;
  color: var(--rpm-dash-ink);
  font-size: clamp(25px, 3.4vw, 36px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.rpm-front.rpm-wrap--dash .rpm-dashboard-hero p {
  margin: 0;
  max-width: 65ch;
  color: var(--rpm-dash-muted);
}
.rpm-front.rpm-wrap--dash .rpm-dashboard-eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  color: #315d9f;
  text-transform: uppercase;
}
.rpm-front.rpm-wrap--dash .rpm-dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.rpm-front.rpm-wrap--dash .rpm-dashboard-updated {
  width: 100%;
  font-size: 12px;
  text-align: right;
  color: var(--rpm-dash-muted);
}
.rpm-front.rpm-wrap--dash .rpm-dashboard-refresh { display: none; }
.rpm-front.rpm-wrap--dash [data-rpm-dashboard-ready] .rpm-dashboard-refresh { display: inline-flex; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-workspace {
  padding: 24px;
  border: 1px solid var(--rpm-dash-line);
  border-radius: 20px;
  background: #fff;
}
.rpm-front.rpm-wrap--dash .rpm-dashboard-workspace .rpm-dash__top {
  display: block !important;
}
.rpm-front.rpm-wrap--dash .rpm-dash__title {
  min-width: 0;
  overflow: visible;
}
.rpm-front.rpm-wrap--dash .rpm-dash__title h2 { font-size: 21px; }
.rpm-front.rpm-wrap--dash .rpm-event-switch {
  display: flex !important;
  align-items: center;
  max-width: 100%;
  margin: 12px 0 0 !important;
}
.rpm-front.rpm-wrap--dash .rpm-event-switch select { min-height: 44px; max-width: 100%; }
.rpm-front.rpm-wrap--dash .rpm-sharebox {
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid #dce7f7;
  border-radius: 14px;
  background: #f5f8fe;
  box-shadow: none;
}
.rpm-front.rpm-wrap--dash .rpm-sharebox__label { color: #274a85; font-size: 13px; }
.rpm-front.rpm-wrap--dash .rpm-sharebox__input { background: #fff; }
.rpm-front.rpm-wrap--dash .rpm-dash__actions {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)) !important;
  align-items: start;
  gap: 20px !important;
  overflow: visible;
  padding: 20px 0 0;
  margin: 20px 0 0 !important;
  border-top: 1px solid var(--rpm-dash-line);
}
.rpm-front.rpm-wrap--dash .rpm-action-group { min-width: 0; }
.rpm-front.rpm-wrap--dash .rpm-action-group > h3,
.rpm-front.rpm-wrap--dash .rpm-action-group__label {
  display: block;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  color: var(--rpm-dash-muted);
  text-transform: uppercase;
}
.rpm-front.rpm-wrap--dash .rpm-action-group__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.rpm-front.rpm-wrap--dash .rpm-dash__actions .rpm-btn[data-rpm-toggle] {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0;
  min-height: 62px !important;
  aspect-ratio: auto;
  padding: 12px !important;
  border: 1px solid var(--rpm-dash-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--rpm-dash-ink) !important;
  box-shadow: none !important;
  transform: none !important;
  font-family: inherit;
  line-height: 1.35 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-align: left !important;
  white-space: normal !important;
}
.rpm-front.rpm-wrap--dash .rpm-dash__actions .rpm-btn[data-rpm-toggle]::before {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #eef3fc !important;
  box-shadow: none !important;
  color: var(--rpm-dash-accent) !important;
  font-size: 17px;
}
.rpm-front.rpm-wrap--dash .rpm-dash__actions .rpm-btn[data-rpm-toggle]:hover,
.rpm-front.rpm-wrap--dash .rpm-dash__actions .rpm-btn[data-rpm-toggle][aria-expanded="true"] {
  border-color: #8caef0 !important;
  background: #edf3ff !important;
  color: #1e4dac !important;
  transform: none !important;
  box-shadow: none !important;
}
.rpm-front.rpm-wrap--dash .rpm-dashboard-account {
  padding: 14px 18px;
  border: 1px solid var(--rpm-dash-line);
  border-radius: 14px;
  background: #fff;
}
.rpm-front.rpm-wrap--dash .rpm-dashboard-account > summary {
  min-height: 28px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  color: #42536a;
}
.rpm-front.rpm-wrap--dash .rpm-dashboard-links { margin-top: 18px; border: 1px solid #dce7f7; border-radius: 12px; background: #f5f8fe; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-links > summary { padding: 12px 14px; color: #315483; font-size: 13px; font-weight: 650; cursor: pointer; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-links .rpm-sharebox { margin: 0; border: 0; background: transparent; padding-top: 4px; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-tool-toolbar { display: flex; justify-content: flex-end; padding: 12px 16px 0; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-tool-close { min-height: 36px; font-size: 12px; }
.rpm-front.rpm-wrap--dash .rpm-card,
.rpm-front.rpm-wrap--dash .rpm-tablewrap,
.rpm-front.rpm-wrap--dash .rpm-filters,
.rpm-front.rpm-wrap--dash .rpm-kpi {
  border-color: var(--rpm-dash-line) !important;
  box-shadow: 0 2px 4px #17233803 !important;
}
.rpm-front.rpm-wrap--dash .rpm-kpis {
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 12px;
}
.rpm-front.rpm-wrap--dash .rpm-kpi { padding: 18px; border-radius: 15px; }
.rpm-front.rpm-wrap--dash .rpm-kpi__label { color: var(--rpm-dash-muted); font-size: 12px; font-weight: 600; }
.rpm-front.rpm-wrap--dash .rpm-kpi__value { font-size: 25px; font-weight: 750; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-results {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  scroll-margin-top: 90px;
}
.rpm-front.rpm-wrap--dash .rpm-dashboard-results h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-results p { margin: 0; font-size: 13px; color: var(--rpm-dash-muted); }
.rpm-front.rpm-wrap--dash .rpm-dashboard-count { padding: 6px 12px; border: 1px solid var(--rpm-dash-line); background: #fff; border-radius: 999px; font-size: 12px; color: #455774; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-breakdown { padding: 14px 16px; border: 1px solid var(--rpm-dash-line); border-radius: 14px; background: #fff; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-breakdown > summary { cursor: pointer; font-size: 13px; font-weight: 650; color: #42536a; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-breakdown .rpm-tablewrap { display: block !important; margin-top: 14px; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; margin: -1px; padding: 0; border: 0; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-filter-summary { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-filter-summary > span {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid #dce7f7;
  border-radius: 8px;
  background: #edf3ff;
  color: #315483;
  font-size: 12px;
}
.rpm-front.rpm-wrap--dash .rpm-filters { padding: 18px; border-radius: 15px; }
.rpm-front.rpm-wrap--dash .rpm-filterbar__more { margin-top: 16px; }
.rpm-front.rpm-wrap--dash .rpm-table th { background: #f8fafc; color: #52637a; font-weight: 650; }
.rpm-front.rpm-wrap--dash .rpm-table td { vertical-align: middle; }
.rpm-front.rpm-wrap--dash .rpm-btn {
  min-height: 40px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
}
.rpm-front.rpm-wrap--dash .rpm-btn--primary {
  border-color: var(--rpm-dash-accent);
  background: var(--rpm-dash-accent);
  color: #fff;
}
.rpm-front.rpm-wrap--dash .rpm-btn--primary:hover { background: #1c4db8; color: #fff; }
.rpm-front.rpm-wrap--dash :focus-visible { outline: 3px solid #245fe0; outline-offset: 3px; }
.rpm-front.rpm-wrap--dash .rpm-card--tools { scroll-margin-top: 80px; }
.rpm-front.rpm-wrap--dash .rpm-card--tools [tabindex="-1"]:focus { outline: none; }
.rpm-front.rpm-wrap--dash .rpm-dashboard-status { margin: 0; font-size: 13px; color: #5b6480; }

/* Appended to body to escape theme transforms; exists only on dashboard pages. */
.rpm-dashboard-loading[data-rpm-dashboard-loading] {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  align-items: start;
  justify-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 7vh, 80px) 16px;
  background: #f3f6fbf5;
  color: #172338;
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.rpm-dashboard-loading[hidden] { display: none; }
.rpm-dashboard-loading *, .rpm-dashboard-loading *::before { box-sizing: border-box; }
.rpm-dashboard-loading__inner { width: min(920px, 100%); }
.rpm-dashboard-loading__label { margin: 0 0 24px; font-size: 15px; font-weight: 650; }
.rpm-dashboard-loading__heading { width: 40%; height: 28px; margin-bottom: 16px; }
.rpm-dashboard-loading__line { width: 65%; height: 12px; margin-bottom: 28px; }
.rpm-dashboard-loading__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rpm-dashboard-loading__card, .rpm-dashboard-loading__rows {
  padding: 22px;
  border: 1px solid #e1e7ef;
  border-radius: 16px;
  background: #fff;
}
.rpm-dashboard-loading__card .rpm-dashboard-skeleton:first-child { width: 65%; height: 12px; margin-bottom: 20px; }
.rpm-dashboard-loading__card .rpm-dashboard-skeleton:last-child { width: 80%; height: 30px; }
.rpm-dashboard-loading__rows { display: grid; gap: 24px; margin-top: 20px; }
.rpm-dashboard-loading__rows .rpm-dashboard-skeleton { height: 18px; }
.rpm-dashboard-loading__rows .rpm-dashboard-skeleton:nth-child(even) { width: 85%; }
.rpm-dashboard-skeleton { position: relative; overflow: hidden; background: #e8edf4; border-radius: 6px; }
.rpm-dashboard-skeleton::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #ffffffa6, transparent); transform: translateX(-100%); }
@media (prefers-reduced-motion: no-preference) {
  .rpm-front.rpm-wrap--dash .rpm-btn { transition: background .15s ease, border-color .15s ease; }
  .rpm-dashboard-skeleton::before { animation: rpm-dashboard-shimmer 1.35s ease-in-out infinite; }
}
@keyframes rpm-dashboard-shimmer { to { transform: translateX(100%); } }
@media (max-width: 720px) {
  .rpm-front.rpm-wrap--dash [data-rpm-dashboard] { padding: 16px 12px; border-radius: 18px; gap: 16px; }
  .rpm-front.rpm-wrap--dash .rpm-dashboard-workspace { padding: 18px 14px; border-radius: 16px; }
  .rpm-front.rpm-wrap--dash .rpm-dashboard-toolbar { justify-content: flex-start; width: 100%; }
  .rpm-front.rpm-wrap--dash .rpm-dashboard-updated { text-align: left; }
  .rpm-front.rpm-wrap--dash .rpm-dash__actions { grid-template-columns: 1fr !important; gap: 18px !important; }
  .rpm-front.rpm-wrap--dash .rpm-sharebox__row { flex-direction: row !important; }
  .rpm-front.rpm-wrap--dash .rpm-sharebox__input { width: 1% !important; font-size: 16px; }
  .rpm-front.rpm-wrap--dash .rpm-sharebox__row .rpm-btn { width: auto !important; }
  .rpm-front.rpm-wrap--dash .rpm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rpm-front.rpm-wrap--dash .rpm-kpi { padding: 14px 12px; min-width: 0; }
  .rpm-front.rpm-wrap--dash .rpm-kpi__value { font-size: clamp(17px, 5vw, 25px); overflow-wrap: anywhere; }
  .rpm-front.rpm-wrap--dash .rpm-filters { padding: 14px 12px; }
  .rpm-front.rpm-wrap--dash .rpm-field input,
  .rpm-front.rpm-wrap--dash .rpm-field select,
  .rpm-front.rpm-wrap--dash .rpm-field textarea { font-size: 16px; }
  .rpm-front.rpm-wrap--dash .rpm-btn { min-height: 44px; }
  .rpm-dashboard-loading__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rpm-dashboard-loading__card:last-child { display: none; }
  .rpm-dashboard-loading__card { padding: 18px 14px; }
  .rpm-dashboard-loading__heading { width: 65%; }
}
