/* CPS_OVERVIEW_PREMIUM_RAINBOW_V2_1
   Premium Rainbow Fusion visual layer for Overview only.
   No markup generation, data, API, event handlers, forms, routes or workflows changed. */

body[data-cps-view="overview"] #overviewPanel {
  --cps-v2-blue: #175bd5;
  --cps-v2-indigo: #4b42bd;
  --cps-v2-purple: #7545c8;
  --cps-v2-teal: #079b83;
  --cps-v2-orange: #df7837;
  --cps-v2-ink: #17264a;
  --cps-v2-muted: #687692;
  color: var(--cps-v2-ink);
  min-width: 0 !important;
}
body[data-cps-view="overview"] #overviewPanel .card,
body[data-cps-view="overview"] #overviewPanel #institutionCard,
body[data-cps-view="overview"] #overviewPanel #orderCard,
body[data-cps-view="overview"] #overviewPanel .cps-quick-panel {
  border: 1px solid rgba(120,145,190,.20) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 28px rgba(31,55,105,.075), 0 2px 7px rgba(31,55,105,.035) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(247,249,255,.97)) !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-welcome {
  position: relative !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 23px !important;
  background:
    radial-gradient(circle at 88% 15%, rgba(255,255,255,.24), transparent 24%),
    radial-gradient(circle at 70% 110%, rgba(36,214,190,.24), transparent 32%),
    linear-gradient(118deg,#123b91 0%,#245fd2 48%,#6446c6 100%) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(38,75,165,.22) !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-welcome h1,
body[data-cps-view="overview"] #overviewPanel .cps-welcome h2,
body[data-cps-view="overview"] #overviewPanel .cps-welcome p,
body[data-cps-view="overview"] #overviewPanel .cps-welcome small {
  color: #fff !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-metrics {
  gap: 14px !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-metrics article {
  position: relative !important;
  overflow: hidden !important;
  min-width: 0 !important;
  min-height: 116px !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  border-radius: 18px !important;
  box-shadow: 0 9px 22px rgba(36,55,100,.09) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-metrics article:nth-child(1) {
  background: linear-gradient(135deg,#eaf3ff,#dceaff) !important;
  border-top: 4px solid #2672dc !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-metrics article:nth-child(2) {
  background: linear-gradient(135deg,#e6fbf4,#d4f5e9) !important;
  border-top: 4px solid #079b79 !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-metrics article:nth-child(3) {
  background: linear-gradient(135deg,#f2edff,#e7ddff) !important;
  border-top: 4px solid #7950d1 !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-metrics article:nth-child(4) {
  background: linear-gradient(135deg,#fff3e8,#ffe6d2) !important;
  border-top: 4px solid #df7837 !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-metrics article b {
  color: #172b57 !important;
  font-weight: 900 !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-primary-actions > button,
body[data-cps-view="overview"] #overviewPanel .cps-shortcuts button,
body[data-cps-view="overview"] #overviewPanel .cps-shortcuts a {
  border: 1px solid rgba(120,145,190,.18) !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 16px rgba(31,55,105,.06) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-primary-actions > button:hover,
body[data-cps-view="overview"] #overviewPanel .cps-shortcuts button:hover,
body[data-cps-view="overview"] #overviewPanel .cps-shortcuts a:hover,
body[data-cps-view="overview"] #overviewPanel .cps-metrics article:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 13px 24px rgba(31,55,105,.13) !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-primary-actions > button:nth-child(1) { background: linear-gradient(135deg,#176bd5,#2751bd) !important; color:#fff !important; }
body[data-cps-view="overview"] #overviewPanel .cps-primary-actions > button:nth-child(2) { background: linear-gradient(135deg,#08a987,#087c83) !important; color:#fff !important; }
body[data-cps-view="overview"] #overviewPanel .cps-primary-actions > button:nth-child(3) { background: linear-gradient(135deg,#8650d7,#5639bd) !important; color:#fff !important; }
body[data-cps-view="overview"] #overviewPanel .cps-primary-actions > button:nth-child(4) { background: linear-gradient(135deg,#ed9450,#d66a38) !important; color:#fff !important; }
body[data-cps-view="overview"] #overviewPanel .cps-primary-actions > button b,
body[data-cps-view="overview"] #overviewPanel .cps-primary-actions > button small { color: inherit !important; }
body[data-cps-view="overview"] #overviewPanel .overview-heading h2,
body[data-cps-view="overview"] #overviewPanel .section-head h2 {
  color: #172b57 !important;
  font-weight: 900 !important;
  letter-spacing: -.025em !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-quick-panel {
  background: linear-gradient(145deg,#fff,#f5f7ff) !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-quick-grid > button {
  border-radius: 15px !important;
  border: 1px solid rgba(110,132,180,.17) !important;
  box-shadow: 0 5px 14px rgba(31,55,105,.055) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-quick-grid > button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 20px rgba(31,55,105,.11) !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-inst-toolbar-v5 {
  gap: 12px !important;
}
body[data-cps-view="overview"] #overviewPanel .cps-institute-ui-section,
body[data-cps-view="overview"] #overviewPanel .cps-institute-ui-card {
  border-radius: 17px !important;
  box-shadow: 0 8px 20px rgba(31,55,105,.07) !important;
}
body[data-cps-view="overview"] #overviewPanel #orderCard {
  background: linear-gradient(145deg,#fff,#f7f8ff) !important;
  padding: clamp(16px,1.8vw,25px) !important;
}
body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-hero {
  border-radius: 21px !important;
  background:
    radial-gradient(circle at 88% 15%,rgba(255,255,255,.23),transparent 24%),
    linear-gradient(115deg,#123b91,#235fd0 58%,#7044c8) !important;
  box-shadow: 0 13px 27px rgba(34,73,160,.20) !important;
}
body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-hero h2,
body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-hero p,
body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-hero span,
body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-hero small {
  color: #fff !important;
}
body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-kpis article {
  border-radius: 15px !important;
  box-shadow: 0 6px 17px rgba(31,55,105,.07) !important;
  border: 1px solid rgba(120,145,190,.17) !important;
}
body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-panel {
  border-radius: 17px !important;
  border: 1px solid rgba(120,145,190,.18) !important;
  box-shadow: 0 7px 18px rgba(31,55,105,.055) !important;
  background: linear-gradient(145deg,#fff,#fafbff) !important;
}
body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-panel-head h3 {
  color: #172b57 !important;
  font-weight: 900 !important;
}
body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-two-col {
  gap: 15px !important;
}
body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-lane {
  border-radius: 14px !important;
  border: 1px solid rgba(120,145,190,.17) !important;
  box-shadow: 0 5px 14px rgba(31,55,105,.05) !important;
}
body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-buttons button,
body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-action-group button {
  border-radius: 11px !important;
  font-weight: 800 !important;
}
@media (max-width: 1100px) {
  body[data-cps-view="overview"] #overviewPanel .cps-metrics {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  body[data-cps-view="overview"] #overviewPanel #orderCard .cps-p4-two-col {
    grid-template-columns: minmax(0,1fr) !important;
  }
}
@media (max-width: 700px) {
  body[data-cps-view="overview"] #overviewPanel .cps-metrics { gap: 9px !important; }
  body[data-cps-view="overview"] #overviewPanel .cps-metrics article { min-height: 98px !important; }
  body[data-cps-view="overview"] #overviewPanel .cps-primary-actions > button { min-height: 82px !important; }
  body[data-cps-view="overview"] #overviewPanel #orderCard { padding: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-cps-view="overview"] #overviewPanel * { transition: none !important; }
}