/* R514 — One unified Overview header, scoped to Partner Overview only.
 * Loaded after all legacy styling. No API, navigation, DB, or permissions changes.
 */
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero {
  position:relative!important; isolation:isolate!important; overflow:hidden!important;
  display:flex!important; flex-direction:row!important; align-items:center!important;
  justify-content:space-between!important; flex-wrap:nowrap!important;
  gap:clamp(18px,3vw,42px)!important; width:100%!important; min-width:0!important;
  min-height:158px!important; margin:0!important; padding:27px 32px!important;
  border-radius:17px!important; border:1px solid rgba(255,255,255,.17)!important;
  background:linear-gradient(110deg,#102d4c 0%,#153e62 54%,#20577c 100%)!important;
  box-shadow:0 12px 28px rgba(17,54,83,.11)!important;
  color:#fff!important;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero::before {
  content:"";position:absolute;pointer-events:none;z-index:-1;
  width:410px;height:300px;right:8%;top:-220px;border-radius:50%;
  background:radial-gradient(circle,rgba(116,202,244,.22),transparent 72%);
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero::after {
  content:"";position:absolute;pointer-events:none;z-index:-1;
  width:350px;height:350px;right:-130px;bottom:-270px;border-radius:50%;
  border:1px solid rgba(255,255,255,.1);
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .r514-hero-content {
  flex:1 1 auto;min-width:0;max-width:770px;display:flex;flex-direction:column;align-items:flex-start;gap:0;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .r514-hero-kicker {
  display:flex;align-items:center;gap:9px;min-width:0;max-width:100%;margin-bottom:11px;
  color:#b9d9ef!important;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .r293-focus-icon {
  display:inline-block!important;flex:0 0 7px!important;width:7px!important;height:7px!important;
  min-width:7px!important;min-height:7px!important;font-size:0!important;
  border-radius:50%!important;background:#73e1bc!important;box-shadow:0 0 0 4px rgba(115,225,188,.14)!important;
  padding:0!important;margin:0!important;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero #r293-focus-title {
  color:#c5e0f1!important;display:block;min-width:0;overflow-wrap:anywhere;
  font:760 11px/1.4 Inter,system-ui,sans-serif!important;letter-spacing:.09em!important;
  text-transform:uppercase!important;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .r289-overview-greeting {
  display:block!important;min-width:0!important;flex:none!important;max-width:100%;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero #r289-greeting-title {
  color:#fff!important;font:780 clamp(24px,2.2vw,32px)/1.15 Inter,system-ui,sans-serif!important;
  letter-spacing:-.035em!important;margin:0!important;max-width:100%;
  white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .r293-focus-copy {
  display:flex!important;flex-direction:column!important;gap:4px!important;margin-top:11px!important;
  width:100%;min-width:0;max-width:700px;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero #r293-focus-desc {
  display:block;color:#d5e6f2!important;font:440 13px/1.6 Inter,system-ui,sans-serif!important;
  max-width:690px;min-width:0;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero #r347-verification-meta {
  color:#ddedf7!important;font:500 11px/1.45 Inter,system-ui,sans-serif!important;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero #r347-verification-meta[hidden] { display:none!important; }
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .r514-hero-actions {
  flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:13px;
  min-width:0;max-width:100%;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .v5-overview-buttons {
  display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;
  flex-wrap:wrap!important;gap:10px!important;margin:0!important;min-width:0;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .v5-overview-buttons button {
  display:inline-flex;align-items:center;justify-content:center;
  width:auto!important;min-height:43px!important;max-height:none!important;padding:10px 17px!important;
  border:1px solid rgba(255,255,255,.3)!important;border-radius:9px!important;
  background:rgba(255,255,255,.12)!important;color:#fff!important;
  font:750 12.5px/1.25 Inter,system-ui,sans-serif!important;
  white-space:nowrap;cursor:pointer;box-shadow:none!important;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .v5-overview-buttons button.secondary {
  background:#fff!important;border-color:#fff!important;color:#153b5b!important;
  box-shadow:0 4px 13px rgba(0,0,0,.1)!important;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .v5-overview-buttons button.primary:hover,
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .v5-overview-buttons button.secondary:hover {
  filter:brightness(1.07);
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .v5-overview-buttons button[hidden] {display:none!important;}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .r514-hero-secondary {
  display:flex;align-items:center;justify-content:flex-end;gap:17px;min-width:0;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero #r293-focus-action {
  display:inline-flex!important;align-items:center!important;
  background:transparent!important;border:0!important;padding:3px 0!important;
  min-height:31px!important;color:#e3f2fa!important;
  font:670 12px/1.3 Inter,system-ui,sans-serif!important;
  text-decoration:none;cursor:pointer;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero #r293-focus-action:hover{text-decoration:underline}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero #r296-refresh-dashboard {
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:32px!important;padding:6px 12px!important;
  background:rgba(255,255,255,.08)!important;color:#e2eff9!important;
  border:1px solid rgba(255,255,255,.29)!important;border-radius:8px!important;
  font:650 11.5px/1.2 Inter,system-ui,sans-serif!important;cursor:pointer;
}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero #r296-refresh-dashboard:hover{background:rgba(255,255,255,.17)!important}
body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero :is(button):focus-visible {
  outline:3px solid #a6e4ff!important;outline-offset:3px!important;
}
body.saas-on .saas-workspace #overview-panel[data-r293-state="review"] #r293-focus.r514-unified-hero .r293-focus-icon,
body.saas-on .saas-workspace #overview-panel[data-r293-state="correction"] #r293-focus.r514-unified-hero .r293-focus-icon,
body.saas-on .saas-workspace #overview-panel[data-r293-state="pending"] #r293-focus.r514-unified-hero .r293-focus-icon {
  background:#ffd48a!important;box-shadow:0 0 0 4px rgba(255,212,138,.15)!important;
}
body.saas-on .saas-workspace #overview-panel[data-r293-state="restricted"] #r293-focus.r514-unified-hero .r293-focus-icon {
  background:#ff9a9a!important;box-shadow:0 0 0 4px rgba(255,154,154,.15)!important;
}
@media(max-width:1080px) {
 body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero {
  flex-direction:column!important;align-items:flex-start!important;gap:24px!important;
  padding:25px 27px!important;min-height:unset!important;
 }
 body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .r514-hero-actions {width:100%;align-items:flex-start}
 body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .v5-overview-buttons,
 body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .r514-hero-secondary {justify-content:flex-start!important;}
}
@media(max-width:540px) {
 body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero {
  padding:23px 19px!important;gap:22px!important;border-radius:14px!important;
 }
 body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero #r289-greeting-title {font-size:24px!important;}
 body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero #r293-focus-desc {font-size:12.5px!important;}
 body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .v5-overview-buttons {width:100%;}
 body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .v5-overview-buttons button {flex:1 1 100%;width:100%!important;}
 body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero .r514-hero-secondary {width:100%;justify-content:space-between!important;}
}
@media(prefers-reduced-motion:reduce){body.saas-on .saas-workspace #overview-panel #r293-focus.r514-unified-hero * {scroll-behavior:auto!important;}}
