/* Pulso UI — repository-owned component layer inspired by shadcn/ui.
   Loaded last so legacy modules inherit one coherent visual system. */

:root {
  --background: #f6f8fb;
  --foreground: #10202f;
  --card: #ffffff;
  --card-foreground: #10202f;
  --popover: #ffffff;
  --popover-foreground: #10202f;
  --primary: #087ca7;
  --primary-foreground: #f8fdff;
  --secondary: #edf3f7;
  --secondary-foreground: #203a4c;
  --muted: #f0f4f7;
  --muted-foreground: #647888;
  --accent: #e5f6fb;
  --accent-foreground: #075f7d;
  --destructive: #c63e48;
  --destructive-foreground: #fff;
  --border: #dfe7ed;
  --input: #d7e1e8;
  --ring: #22a8d6;
  --radius: 12px;

  --ink: var(--foreground);
  --ink-soft: #435b6b;
  --ink-muted: var(--muted-foreground);
  --paper: var(--background);
  --line: var(--border);
  --line-soft: #ebf0f3;
  --brand: var(--primary);
  --brand-hover: #06698e;
  --brand-pale: var(--accent);
  --blue: #087ca7;
  --blue-pale: #e8f7fb;
  --green: #13856d;
  --green-pale: #e8f7f2;
  --red: var(--destructive);
  --red-pale: #fff0f1;
  --amber: #b66a12;
  --amber-pale: #fff7e8;
  --radius-sm: 8px;
  --sidebar: 272px;
  --shadow-sm: 0 1px 2px rgba(15, 38, 52, .035);
  --shadow-md: 0 10px 28px rgba(15, 38, 52, .07);
  --shadow-lg: 0 24px 60px rgba(8, 27, 40, .13);
}

html { background: var(--background); }
body {
  min-width: 320px;
  background:
    radial-gradient(circle at 84% -10%, rgba(72, 183, 218, .08), transparent 25rem),
    var(--background);
  color: var(--foreground);
  font-family: "Avenir Next", Avenir, "Segoe UI Variable", "Segoe UI", sans-serif;
  letter-spacing: -.008em;
}

::selection { color: #fff; background: #087ca7; }
:where(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--ring) !important;
  outline-offset: 2px;
}

/* App shell */
.sidebar {
  color: #dce9ef;
  background: #050505;
  border-right: 1px solid rgba(189, 222, 234, .12);
  box-shadow: 12px 0 42px rgba(8, 26, 37, .08);
}
.brand {
  height: 72px;
  padding-inline: 18px;
  border-bottom-color: rgba(189, 222, 234, .1);
}
.brand strong { color: #f5fbfd; font-size: 15px; font-weight: 780; letter-spacing: .2em; }
.brand small { color: #7795a6; font-size: 8px; letter-spacing: .18em; }
.brand-wave-mark {
  border-color: rgba(89, 203, 235, .2);
  background: #102b3a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 8px 20px rgba(0,0,0,.16);
}
.brand-wave-signal { stroke: #65ddff; }
.brand::after { background: linear-gradient(90deg, transparent, #54d7ff, transparent); opacity: .38; }

.candidate-switcher {
  margin: 12px 10px 6px;
  padding: 12px;
  border: 1px solid rgba(180, 216, 230, .1);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}
.candidate-switcher > label { color: #7895a5; }
.select-row select,
.icon-button {
  height: 34px;
  border-color: rgba(182, 216, 229, .13);
  border-radius: 8px;
  background: rgba(231, 248, 255, .045);
  box-shadow: none;
}
.select-row select:hover, .icon-button:hover { border-color: rgba(93, 209, 241, .34); background: rgba(93, 209, 241, .08); }
.candidate-mini { margin-top: 9px; padding: 8px; border: 0; background: rgba(1, 12, 18, .22); }
.candidate-mini .avatar { overflow: hidden; border-radius: 8px; background: #151515; box-shadow: none; }
.candidate-mini .avatar img { width: 100%; height: 100%; object-fit: cover; }

.main-nav { padding: 8px 10px 12px; scrollbar-width: thin; scrollbar-color: rgba(118,166,186,.28) transparent; }
.nav-group { margin-bottom: 14px; }
.nav-group-label { padding: 0 10px; color: #587687; font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.nav-item {
  position: relative;
  height: 35px;
  margin: 2px 0;
  padding: 0 10px;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #94aebb;
  font-size: 11.5px;
  font-weight: 580;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}
.nav-item:hover { color: #e8f5f9; border-color: rgba(151, 208, 229, .08); background: rgba(218, 244, 252, .055); transform: translateX(2px); }
.nav-item.active {
  color: #f3fbfd;
  border-color: rgba(93, 209, 241, .15);
  background: linear-gradient(90deg, rgba(28, 156, 197, .18), rgba(28, 156, 197, .055));
  box-shadow: inset 3px 0 #43c7ec;
}
.nav-item.active::before, .nav-item.active::after { display: none; }
.nav-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid rgba(157, 200, 217, .1);
  border-radius: 7px;
  color: #789aaa;
  font-size: 12px;
  font-style: normal;
}
.nav-item.active .nav-icon { color: #76ddf8; border-color: rgba(93, 209, 241, .2); background: rgba(52, 181, 219, .1); }
.nav-badge { margin-left: auto; border-radius: 999px; }
.sidebar-status { margin: 0 12px; border-top-color: rgba(182, 216, 229, .1); background: transparent; }
.sidebar-logout { color: #7895a5; border-color: transparent; }

.main-content { background: transparent; }
.topbar {
  height: 58px;
  padding: 0 clamp(18px, 2.4vw, 34px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(208, 221, 229, .82);
  backdrop-filter: blur(16px) saturate(140%);
}
.breadcrumb span { color: #768b99; }
.breadcrumb b { color: #b8c7d0; }
.breadcrumb strong { color: #173044; font-weight: 680; }
.operation-chip, .freshness-status {
  border: 1px solid #dfe9ee;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow-sm);
}
.content-wrap { max-width: 1680px; padding: 20px clamp(18px, 2.4vw, 34px) 46px; }

/* shadcn-like primitives: toolbar, button, input, card and badge */
.global-control-bar {
  min-height: 54px;
  margin-bottom: 20px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.time-range-control { padding: 3px; border-radius: 9px; background: var(--muted); }
.time-range-control > span { padding-inline: 9px; color: #718693; }
.time-range-control button {
  min-height: 30px;
  padding-inline: 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #5b7180;
  font-size: 10.5px;
  font-weight: 650;
}
.time-range-control button:hover { color: #17384a; background: rgba(255,255,255,.62); }
.time-range-control button.active {
  color: #123347;
  border-color: #dce5eb;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 39, 53, .08);
}
.button, button.button {
  min-height: 36px;
  border-radius: 9px;
  font-weight: 680;
  box-shadow: var(--shadow-sm);
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.button.primary { border: 1px solid #08799f; background: #087ca7; box-shadow: 0 6px 16px rgba(8, 124, 167, .16); }
.button.primary:hover { background: #06698e; box-shadow: 0 9px 22px rgba(8, 124, 167, .22); }
input, select, textarea {
  border-color: var(--input);
  border-radius: 9px;
  background: #fff;
}

.card, .metric-card, .chart-card, .list-card, .gd-card, .gd-kpi, .gd-insights,
.dashboard-card, .panel, .admin-card, .governance-card {
  border-color: var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--card) !important;
  box-shadow: var(--shadow-sm) !important;
}
.card:hover, .metric-card:hover, .gd-kpi:hover {
  border-color: #cadbe4 !important;
  box-shadow: 0 10px 28px rgba(14, 50, 70, .075) !important;
}
.eyebrow, .gd-kicker, .gd-card header span, .gd-insights header span {
  color: #08799f !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
}
.page-heading h1, .gd-header h1 {
  color: #102b3b;
  font-weight: 720;
  letter-spacing: -.035em;
}
.page-heading p, .gd-header p { color: var(--muted-foreground); }

/* Overview: the executive surface users see first. */
.general-dashboard { color: var(--foreground); }
.gd-header {
  padding: 4px 2px 18px;
  border-bottom: 0;
}
.gd-header h1 { font-size: clamp(25px, 2.2vw, 36px); line-height: 1.08; }
.gd-header-status > span, .gd-quality { border-color: var(--border); border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); }
.gd-kpis { gap: 12px; }
.gd-kpi { position: relative; overflow: hidden; min-height: 128px; }
.gd-kpi::after {
  content: "";
  position: absolute;
  inset: auto 14px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(22, 156, 196, .28), transparent);
}
.gd-kpi > span { color: #718591; letter-spacing: .09em; }
.gd-kpi > strong { color: #102b3b; letter-spacing: -.045em; }
.gd-main-grid { gap: 14px; }
.gd-card, .gd-insights { overflow: hidden; }
.gd-card > header, .gd-insights > header { border-bottom-color: #edf2f5; background: linear-gradient(180deg, #fff, #fbfcfd); }
.gd-card h2, .gd-insights h2 { color: #173346; letter-spacing: -.02em; }
.gd-card button { color: #08799f; }
.gd-state-banner { border-radius: 10px; }

/* Dialogs and drawers inherit the same component grammar. */
.modal-card, .mention-drawer, .gd-drawer {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--popover);
  box-shadow: var(--shadow-lg);
}
.modal-backdrop, .gd-drawer-backdrop { backdrop-filter: blur(4px); }
.stale-warning { border-radius: 10px; }
.page-loading { border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.9); }

@media (max-width: 900px) {
  :root { --sidebar: 272px; }
  .topbar { height: 56px; }
  .content-wrap { padding-inline: 14px; }
  .global-control-bar { align-items: stretch; }
  .time-range-control { overflow-x: auto; }
  .time-range-control button { flex: 0 0 auto; }
  .gd-header { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-item, .button, .card, .metric-card, .gd-kpi { transition: none !important; }
}

/* ========================================================================== 
   V2 — INTELLIGENCE DESK
   A stronger first impression: live signal masthead + overlapping decision cards.
   ========================================================================== */

#section-overview { isolation: isolate; }
#section-overview .general-dashboard {
  position: relative;
  padding-bottom: 10px;
}

#section-overview .gd-header {
  position: relative;
  min-height: 168px;
  margin: 0 0 -34px;
  padding: 26px 30px 58px;
  overflow: hidden;
  border: 1px solid rgba(111, 178, 204, .2);
  border-radius: 20px;
  color: #eaf7fb;
  background:
    linear-gradient(105deg, rgba(5, 24, 35, .98) 0%, rgba(9, 43, 58, .96) 48%, rgba(8, 60, 76, .9) 100%);
  box-shadow: 0 24px 60px rgba(10, 38, 51, .14);
}
#section-overview .gd-header::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(rgba(123, 211, 238, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 211, 238, .08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent 8%, #000 55%, transparent 100%);
  pointer-events: none;
}
#section-overview .gd-header::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -24px;
  width: min(42vw, 580px);
  height: 112px;
  opacity: .78;
  background:
    linear-gradient(90deg, transparent 0 5%, #38c9ef 5.2% 5.7%, transparent 5.9% 12%, #38c9ef 12.2% 12.7%, transparent 12.9%),
    linear-gradient(164deg, transparent 0 45%, rgba(71, 211, 245, .18) 45.3% 46%, transparent 46.3% 100%);
  clip-path: polygon(0 54%, 7% 54%, 11% 45%, 15% 65%, 20% 27%, 24% 77%, 29% 51%, 35% 54%, 42% 54%, 47% 38%, 52% 68%, 58% 16%, 63% 82%, 69% 46%, 74% 54%, 100% 54%, 100% 57%, 73% 57%, 69% 50%, 63% 88%, 58% 23%, 52% 74%, 47% 44%, 42% 57%, 35% 57%, 29% 54%, 24% 84%, 20% 34%, 15% 72%, 11% 51%, 7% 57%, 0 57%);
  filter: drop-shadow(0 0 10px rgba(61, 207, 244, .5));
  animation: intelligence-signal 5s ease-in-out infinite;
  pointer-events: none;
}
#section-overview .gd-header > * { position: relative; z-index: 1; }
#section-overview .gd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: #70dbf6 !important;
  font-size: 9px;
}
#section-overview .gd-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ce1ad;
  box-shadow: 0 0 0 5px rgba(76, 225, 173, .09), 0 0 14px rgba(76, 225, 173, .5);
}
#section-overview .gd-header h1 {
  max-width: 720px;
  margin: 0 0 8px;
  color: #f5fcfe;
  font-size: clamp(30px, 3.15vw, 48px);
  font-weight: 690;
  letter-spacing: -.052em;
  line-height: 1;
  text-wrap: balance;
}
#section-overview .gd-header p { color: #87aeba; font-size: 12px; letter-spacing: .01em; }
#section-overview .gd-header-status {
  align-self: start;
  justify-items: start;
  min-width: 172px;
  padding: 12px 14px;
  border: 1px solid rgba(143, 211, 231, .13);
  border-radius: 12px;
  background: rgba(4, 20, 29, .32);
  backdrop-filter: blur(10px);
}
#section-overview .gd-header-status > span {
  padding: 0;
  color: #dceff5;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#section-overview .gd-header-status small { color: #7596a4; }
#section-overview .gd-quality {
  align-self: start;
  min-width: 210px;
  border-color: rgba(143, 211, 231, .14);
  color: #eaf7fb;
  background: rgba(4, 20, 29, .4);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(10px);
}
#section-overview .gd-quality > span { color: #759aaa; }
#section-overview .gd-quality > small { color: #9bb8c4; }
#section-overview .gd-quality > i { background: rgba(164, 211, 226, .12); }
#section-overview .gd-quality > i b { background: linear-gradient(90deg, #25a6cf, #55e0f7); }

#section-overview .gd-state-banner { position: relative; z-index: 3; margin: 0 22px 12px; }
#section-overview .gd-kpis {
  position: relative;
  z-index: 2;
  gap: 10px;
  margin: 0 16px 18px;
}
#section-overview .gd-kpi {
  min-height: 148px;
  padding: 15px 16px 14px;
  border-color: rgba(205, 221, 229, .92) !important;
  border-radius: 14px !important;
  box-shadow: 0 15px 35px rgba(11, 44, 60, .105) !important;
  transform: translateY(0);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}
#section-overview .gd-kpi:hover {
  z-index: 2;
  border-color: #9fc9d9 !important;
  box-shadow: 0 20px 42px rgba(9, 52, 70, .14) !important;
  transform: translateY(-4px);
}
#section-overview .gd-kpi > span {
  display: flex;
  align-items: center;
  min-height: 24px;
  color: #617b8a;
  font-size: 8px;
  letter-spacing: .13em;
}
#section-overview .gd-kpi h3 {
  margin: 10px 0 3px;
  color: #0d2b3a;
  font-size: clamp(28px, 2.3vw, 39px);
  font-weight: 720;
  letter-spacing: -.055em;
}
#section-overview .gd-kpi h3.word { font-size: clamp(21px, 1.7vw, 29px); letter-spacing: -.035em; }
#section-overview .gd-kpi .gd-delta { font-size: 9px; }
#section-overview .gd-kpi p { color: #647b89; }
#section-overview .gd-kpi footer { color: #8ba0ac; }
#section-overview .gd-kpi footer b { color: #087ca7; }
#section-overview .gd-kpi::after { right: 0; bottom: 0; left: 0; height: 3px; opacity: .72; }
#section-overview .gd-kpi:nth-child(1)::after { background: linear-gradient(90deg, #0b87b1, #61d9ef); }
#section-overview .gd-kpi:nth-child(2)::after { background: linear-gradient(90deg, #3c6fa9, #82aee0); }
#section-overview .gd-kpi:nth-child(3)::after { background: linear-gradient(90deg, #11856d, #66c5a8); }
#section-overview .gd-kpi:nth-child(4)::after { background: linear-gradient(90deg, #7656ad, #b697e5); }
#section-overview .gd-kpi:nth-child(5)::after { background: linear-gradient(90deg, #b86131, #e6a06e); }

#section-overview .gd-main-grid { gap: 16px; }
#section-overview .gd-card,
#section-overview .gd-insights {
  border-radius: 16px !important;
  box-shadow: 0 8px 28px rgba(15, 49, 65, .055) !important;
}
#section-overview .gd-card { padding: 20px; }
#section-overview .gd-card > header,
#section-overview .gd-insights > header { padding-bottom: 15px; border-bottom: 1px solid #e9f0f3; }
#section-overview .gd-card header span,
#section-overview .gd-insights header span { font-size: 8px; }
#section-overview .gd-card h2,
#section-overview .gd-insights h2 { margin-top: 5px; font-size: 17px; }
#section-overview .gd-evolution { background: linear-gradient(150deg, #fff 55%, #f4fafc 100%) !important; }
#section-overview .gd-map-loading { border: 1px solid #e7eef2; background: #f5f8fa; }
#section-overview .gd-territory-counts div { border: 1px solid #eaf0f3; background: #fafcfd; }
#section-overview .gd-alert-item {
  margin: 0 -5px;
  padding: 12px 7px;
  border-radius: 9px;
  transition: background .15s ease;
}
#section-overview .gd-alert-item:hover { background: #f5f9fb; }
#section-overview .gd-insights { margin-top: 16px; padding: 20px; }
#section-overview .gd-insight { position: relative; min-height: 92px; }
#section-overview .gd-insight > span { display: inline-flex; padding: 4px 7px; border-radius: 6px; background: #eff5f7; }
#section-overview .gd-insight.strength > span { background: #e8f6f1; }
#section-overview .gd-insight.risk > span { background: #fff0f1; }
#section-overview .gd-insight.opportunity > span { background: #fff7e9; }
#section-overview .gd-insight.competition > span { background: #edf4fb; }

@keyframes intelligence-signal {
  0%, 100% { opacity: .42; transform: translateX(18px) scaleY(.86); }
  50% { opacity: .82; transform: translateX(-8px) scaleY(1); }
}

@media (max-width: 1180px) {
  #section-overview .gd-header { grid-template-columns: 1fr auto; min-height: 242px; }
  #section-overview .gd-quality { grid-column: auto; width: auto; }
  #section-overview .gd-header::after { width: 48vw; opacity: .5; }
}

@media (max-width: 760px) {
  #section-overview .gd-header {
    min-height: 250px;
    margin-bottom: -34px;
    padding: 25px 22px 66px;
    border-radius: 16px;
  }
  #section-overview .gd-header::after { top: 4px; right: -48%; width: 100vw; opacity: .3; }
  #section-overview .gd-header h1 { font-size: 32px; }
  #section-overview .gd-header-status { display: none; }
  #section-overview .gd-quality { width: 100%; min-width: 0; }
  #section-overview .gd-kpis { margin-inline: 10px; }
  #section-overview .gd-kpi { min-height: 156px; }
  #section-overview .gd-card,
  #section-overview .gd-insights { border-radius: 13px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #section-overview .gd-header::after { animation: none; }
  #section-overview .gd-kpi:hover { transform: none; }
}

/* V3 — FLAT EXECUTIVE BRIEF
   Hierarchy comes from type, spacing and dividers instead of stacked cards. */
#section-overview .gd-header {
  min-height: auto;
  margin: 0;
  padding: 18px 0 20px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid #dce5e9;
  border-radius: 0;
  color: #173543;
  background: transparent;
  box-shadow: none;
}
#section-overview .gd-header::before,
#section-overview .gd-header::after { display:none; }
#section-overview .gd-kicker { margin-bottom:6px; color:#6a8290!important; }
#section-overview .gd-kicker::before { width:6px; height:6px; box-shadow:none; }
#section-overview .gd-header h1 { margin-bottom:5px; color:#102c3a; font-size:clamp(27px,2.6vw,38px); }
#section-overview .gd-header p { color:#718794; }
#section-overview .gd-header-status {
  min-width:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  backdrop-filter:none;
}
#section-overview .gd-header-status > span { color:#43606e; }
#section-overview .gd-header-status small { color:#81939d; }
#section-overview .gd-quality {
  min-width:176px;
  padding:9px 11px;
  border-color:#dce5e9;
  color:#173543;
  background:#fff;
  box-shadow:none;
  backdrop-filter:none;
}
#section-overview .gd-quality > span { color:#718692; }
#section-overview .gd-quality > small { color:#526b78; }
#section-overview .gd-quality > i { background:#e8eef1; }
#section-overview .gd-state-banner { margin:12px 0 0; }

#section-overview .gd-kpis {
  gap:0;
  margin:18px 0 0;
  overflow:hidden;
  border:1px solid #dce5e9;
  border-radius:12px;
}
#section-overview .gd-kpi,
#section-overview .gd-kpi:hover {
  min-height:134px;
  padding:15px 16px 13px;
  border:0!important;
  border-radius:0!important;
  background:#fff;
  box-shadow:none!important;
  transform:none;
}
#section-overview .gd-kpi + .gd-kpi { border-left:1px solid #e4eaee!important; }
#section-overview .gd-kpi[data-available="false"] { background:#f8fafb; }
#section-overview .gd-kpi::after { display:none; }
#section-overview .gd-kpi > span { min-height:18px; }
#section-overview .gd-kpi h3 { margin-top:8px; font-size:clamp(25px,2vw,34px); }
#section-overview .gd-kpi footer { padding-top:8px; border-top:1px solid #edf1f3; }

#section-overview .gd-insights {
  margin:22px 0 0;
  padding:18px 0;
  border:0;
  border-top:1px solid #dce5e9;
  border-bottom:1px solid #dce5e9;
  border-radius:0!important;
  background:transparent;
  box-shadow:none!important;
}
#section-overview .gd-insights > header { padding:0 0 14px; border:0; background:transparent; }
#section-overview .gd-insights > div { grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:0; }
#section-overview .gd-insight { min-height:154px; padding:15px 24px; }
#section-overview .gd-insight:first-child { padding-left:0; }
#section-overview .gd-insight:nth-child(2) { padding-right:0; }
#section-overview .gd-insight:nth-child(n+3) { border-top:1px solid #e6ecef; }
#section-overview .gd-insight:nth-child(3) { padding-left:0; }
#section-overview .gd-insight:nth-child(4) { padding-right:0; }
#section-overview .gd-insight > span,
#section-overview .gd-insight.strength > span,
#section-overview .gd-insight.risk > span,
#section-overview .gd-insight.opportunity > span,
#section-overview .gd-insight.competition > span { padding:0; background:transparent; }
#section-overview .gd-insight > strong { display:block; margin-top:8px; color:#163746; font-size:14px; line-height:1.3; }
#section-overview .gd-insight > p { margin:7px 0 8px; color:#455f6d; font-size:11px; line-height:1.55; }
#section-overview .gd-insight > small { display:block; margin-bottom:9px; color:#81939d; font-size:9px; }
#section-overview .gd-insight > button { display:block; }

#section-overview .gd-main-grid {
  gap:0;
  margin-top:22px;
  overflow:hidden;
  border:1px solid #dce5e9;
  border-radius:12px;
}
#section-overview .gd-card,
#section-overview .gd-card:hover {
  min-height:310px;
  padding:18px;
  border:0;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
}
#section-overview .gd-card + .gd-card { border-left:1px solid #e4eaee; }
#section-overview .gd-card > header { padding-bottom:12px; background:transparent; }
#section-overview .gd-card h2 { font-size:15px; }
#section-overview .gd-alert-item { margin:0; }

@media (max-width:1180px) {
  #section-overview .gd-header { min-height:auto; }
  #section-overview .gd-kpi:nth-child(4) { border-left:0!important; border-top:1px solid #e4eaee!important; }
  #section-overview .gd-kpi:nth-child(5) { border-top:1px solid #e4eaee!important; }
  #section-overview .gd-card + .gd-card { border-left:0; }
  #section-overview .gd-territories { border-left:1px solid #e4eaee!important; }
  #section-overview .gd-alerts { border-top:1px solid #e4eaee; }
}
@media (max-width:760px) {
  #section-overview .gd-header { min-height:auto; margin:0; padding:15px 0 18px; }
  #section-overview .gd-header h1 { font-size:28px; }
  #section-overview .gd-kpis { margin-inline:0; }
  #section-overview .gd-kpi { min-height:112px; }
  #section-overview .gd-kpi + .gd-kpi { border-left:0!important; border-top:1px solid #e4eaee!important; }
  #section-overview .gd-insight { padding:13px 0; }
  #section-overview .gd-insights > div { grid-template-columns:1fr; }
  #section-overview .gd-insight:nth-child(2),
  #section-overview .gd-insight:nth-child(4) { padding-right:0; }
  #section-overview .gd-insight + .gd-insight { border-left:0; border-top:1px solid #e6ecef; }
  #section-overview .gd-card + .gd-card,
  #section-overview .gd-territories { border-left:0!important; border-top:1px solid #e4eaee; }
}
