/* UI refresh: app shell, density and perceived performance */
:root {
  --surface-app: #f4f7f7;
  --surface-card: #ffffff;
  --line-soft: rgba(15, 23, 42, .09);
  --line-strong: rgba(15, 90, 79, .18);
  --ink-soft: rgba(15, 23, 42, .64);
  --ink: #0b1220;
  --brand: #0f5a4f;
  --brand-dark: #073b34;
  --gold: #f2b01e;
  --cream: #fbf8ef;
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 34px rgba(15, 23, 42, .07);
  --shadow-lift: 0 1px 2px rgba(15, 23, 42, .04), 0 20px 44px rgba(15, 23, 42, .10);
  --focus-ring: 0 0 0 4px rgba(15, 90, 79, .12);
}

html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: Aptos, "Aptos Display", "SF Pro Display", "Segoe UI Variable", "Segoe UI", sans-serif;
  color: var(--ink);
}

.main__viewport {
  background:
    radial-gradient(circle at 86% 2%, rgba(242, 176, 30, .16), transparent 300px),
    radial-gradient(circle at 8% 0%, rgba(15, 90, 79, .12), transparent 260px),
    linear-gradient(180deg, rgba(15, 90, 79, .08), rgba(244, 247, 247, 0) 250px),
    var(--surface-app);
}

.content {
  background: transparent;
  padding: 24px;
}

.topbar {
  height: 64px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(15, 23, 42, .07);
  box-shadow: 0 8px 30px rgba(15, 23, 42, .045);
}

.topbar__left,
.topbar__right {
  min-height: 40px;
}

.page-title {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.025em;
  color: #08111f;
}

.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .94)),
    var(--surface-card);
  border-radius: 16px;
  border-color: var(--line-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card--panel {
  padding: 18px;
}

.card--panel .card__head {
  margin-bottom: 12px;
}

.card--panel .card__title {
  font-size: 15.5px;
  font-weight: 820;
  letter-spacing: -.01em;
}

.section-head {
  margin: 4px 0 16px;
}

.section-title {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.025em;
}

.section-subtitle,
.card--panel .muted {
  color: var(--ink-soft);
}

.btn,
.userpill,
.search,
.sidebarToggle,
.pw-field__toggle {
  transition: border-color .14s ease, background .14s ease, box-shadow .14s ease, transform .1s ease, color .14s ease;
}

.btn:hover,
.userpill:hover,
.search:hover {
  border-color: var(--line-strong);
}

.btn--primary,
.btn-primary {
  border: 0;
  box-shadow: 0 10px 24px rgba(15, 90, 79, .18);
}

.btn--primary:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  filter: none;
  background: #0b4a41;
}

.btn--ghost {
  background: rgba(15, 23, 42, .035);
  border-color: rgba(15, 23, 42, .08);
}

.btn--ghost:hover {
  background: rgba(15, 90, 79, .07);
  color: #0b4a41;
}

.search {
  background: rgba(255, 255, 255, .82);
}

.search:focus-within,
body.public input:focus,
body.public select:focus {
  box-shadow: var(--focus-ring);
}

.brand__logo {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .20));
}

.sidebar {
  background:
    radial-gradient(circle at 30% 0%, rgba(242, 176, 30, .22), transparent 220px),
    linear-gradient(180deg, #0b5047, #062e29 66%, #041f1c);
  box-shadow: 12px 0 38px rgba(4, 31, 28, .12);
}

.sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 86%);
}

.sidebar__inner {
  position: relative;
  z-index: 1;
}

.brand {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .10);
  padding: 0 10px;
}

.brand__text {
  font-weight: 950;
  letter-spacing: -.02em;
}

.nav {
  display: grid;
  gap: 9px;
}

.nav__section {
  gap: 6px;
}

.nav__section-title,
.sidebar__label {
  color: rgba(234, 255, 251, .52);
  font-size: 10px;
  font-weight: 900;
}

.nav__item {
  min-height: 40px;
  color: rgba(234, 255, 251, .86);
}

.nav__item:hover {
  background: rgba(255, 255, 255, .10);
  color: #ffffff;
}

.nav__item.is-active {
  background:
    linear-gradient(135deg, rgba(242, 176, 30, .28), rgba(255, 255, 255, .10));
  border-color: rgba(242, 176, 30, .32);
  box-shadow: inset 0 0 0 1px rgba(242, 176, 30, .18), 0 12px 28px rgba(0, 0, 0, .14);
}

.nav__item.is-active .nav__icon {
  color: #f7c557;
}

.ped-metric,
.ped-chart,
.com-kpi,
.com-detail-item {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .92));
  border-color: rgba(15, 23, 42, .075);
}

.grid-2,
.kpi-grid,
.com-charts,
.cfg-grid,
.alerts-kpis,
.alerts-charts {
  gap: 16px;
}

.section-head,
.cfg-head,
.alerts-hero {
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, .075);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 176, 30, .16), transparent 230px),
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(247, 250, 249, .82));
  box-shadow: var(--shadow-soft);
}

.alerts-hero {
  border-bottom: 1px solid rgba(15, 23, 42, .075);
}

.alerts-hero__title,
.cfg-title {
  color: #08111f;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -.045em;
}

.alerts-hero__sub,
.cfg-subtitle,
.section-subtitle {
  line-height: 1.45;
}

.card__head,
.cfg-card__head,
.com-chart__head,
.chart-card__head {
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  padding-bottom: 12px;
}

.ped-metric__value,
.com-kpi__value {
  font-variant-numeric: tabular-nums;
}

.ped-metrics {
  gap: 14px;
}

.ped-metric,
.com-kpi,
.kpi {
  border-radius: 18px;
  padding: 16px;
}

.ped-metric::after,
.com-kpi::after,
.kpi::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -36px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(15, 90, 79, .07);
  pointer-events: none;
}

.ped-metric {
  position: relative;
  overflow: hidden;
}

.ped-metric__label,
.com-kpi__label,
.kpi__label,
.af__label,
.ped-search-label {
  color: rgba(15, 23, 42, .55);
  letter-spacing: .095em;
}

.ped-metric__value,
.com-kpi__value,
.kpi__value {
  color: #07111f;
  letter-spacing: -.035em;
}

.ped-chart,
.com-chart,
.rank-chart__wrap,
.chart-wrap {
  overflow: hidden;
}

.ped-chart__wrap,
.com-chart__wrap,
.chart-wrap {
  background:
    radial-gradient(circle at 94% 0%, rgba(242, 176, 30, .10), transparent 190px),
    linear-gradient(180deg, rgba(248, 250, 252, .80), rgba(255, 255, 255, .94));
  border: 1px solid rgba(15, 23, 42, .055);
}

.ped-table tbody tr,
.com-table tbody tr,
.alerts-table tbody tr {
  transition: background .12s ease;
}

.ped-table tbody tr:hover,
.com-table tbody tr:hover,
.alerts-table tbody tr:hover {
  background: rgba(15, 90, 79, .045);
}

.ped-table tbody tr:hover td,
.com-table tbody tr:hover td,
.alerts-table tbody tr:hover td {
  background: rgba(15, 90, 79, .055);
}

.ped-table thead th,
.com-table thead th,
.alerts-table thead th,
.rank-table thead th,
.table thead th {
  background: rgba(248, 250, 252, .96);
  backdrop-filter: blur(10px);
  color: rgba(15, 23, 42, .72);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ped-table__scroll,
.com-table__scroll,
.alerts-table__scroll,
.rank-chart__scroll,
.rank-table__scroll {
  border-color: rgba(15, 23, 42, .075);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.ped-table tbody td,
.com-table tbody td,
.alerts-table tbody td,
.rank-table tbody td {
  font-size: 12.8px;
}

.ped-link,
.com-link {
  text-underline-offset: 3px;
}

.empty {
  border: 1px dashed rgba(15, 23, 42, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .70);
  color: rgba(15, 23, 42, .62);
}

.ped-chart__wrap,
.com-chart__wrap,
.chart-wrap {
  border-radius: 12px;
}

.rowDrawer__panel,
.userdrop {
  border-radius: 18px 0 0 18px;
  box-shadow: var(--shadow-lift);
}

.ped-search-card,
.com-search-card,
.alerts-filters-card,
.chart-card,
.cfg-card {
  border-radius: 22px;
  border-color: rgba(15, 23, 42, .075);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(248, 250, 252, .86));
  box-shadow: var(--shadow-soft);
}

.ped-search-card::before,
.com-kpi::before,
.proj-card::before {
  height: 5px;
}

.ped-search-bar,
.af__input,
body.public input[type="text"],
body.public input[type="password"],
body.public input[type="email"],
body.public select {
  background: rgba(255, 255, 255, .92);
}

.ped-search-bar,
.af__input {
  border-radius: 15px;
  min-height: 44px;
}

.proj-card {
  border-radius: 22px;
  border-color: rgba(15, 90, 79, .14);
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 176, 30, .18), transparent 220px),
    linear-gradient(135deg, rgba(15, 90, 79, .08), rgba(255, 255, 255, .96) 54%);
  box-shadow: var(--shadow-soft);
}

.proj-card__value {
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -.055em;
}

.chip,
.pill,
.cfg-pill,
.ped-badge {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

.chip {
  background: rgba(255, 255, 255, .78);
}

.chip:hover {
  background: rgba(15, 90, 79, .08);
}

.line-popover {
  background: rgba(8, 17, 31, .94);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.cal-notice {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 90, 79, .14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 176, 30, .16), transparent 180px),
    linear-gradient(135deg, rgba(15, 90, 79, .075), rgba(255, 255, 255, .92));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-soft);
}

.cal-notice strong {
  display: block;
  font-size: 13px;
  font-weight: 950;
  color: #073b34;
}

.cal-notice span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: rgba(15, 23, 42, .64);
}

.cal-table__scroll {
  border-radius: 20px;
  border-color: rgba(15, 23, 42, .075);
  box-shadow: var(--shadow-soft);
}

.cal-table__table thead th {
  background: rgba(248, 250, 252, .96);
  color: rgba(15, 23, 42, .72);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.public {
  background:
    radial-gradient(circle at 78% 12%, rgba(242, 176, 30, .14), transparent 260px),
    linear-gradient(135deg, rgba(15, 90, 79, .055), #ffffff 42%);
}

body.public .auth2__main {
  background:
    radial-gradient(circle at 92% 12%, rgba(15, 90, 79, .12), transparent 280px),
    radial-gradient(circle at 8% 88%, rgba(242, 176, 30, .11), transparent 250px),
    linear-gradient(180deg, #ffffff, #f7faf9);
}

body.public .auth2__card {
  max-width: 560px;
  padding: clamp(24px, 3.2vw, 38px);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 28px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
  backdrop-filter: blur(16px);
}

body.public .auth2__side {
  background-color: #073b34;
}

body.public .auth2__side::before {
  background:
    radial-gradient(circle at 24% 16%, rgba(242, 176, 30, .26), transparent 250px),
    linear-gradient(180deg, rgba(6, 58, 51, .44), rgba(3, 31, 28, .92));
}

body.public .auth2__brand {
  width: min(640px, 88%);
  min-height: 112px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .13);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .18);
}

body.public .auth2__title {
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -.045em;
}

body.public .auth2__subtitle {
  font-size: 16px;
  line-height: 1.45;
}

body.public .auth2__form {
  gap: 14px;
}

body.public .f2__label {
  font-size: 13px;
  letter-spacing: -.01em;
}

body.public input[type="text"],
body.public input[type="password"],
body.public input[type="email"],
body.public select {
  height: 52px;
  border-radius: 18px;
  font-size: 15px;
  border-color: rgba(15, 23, 42, .12);
}

body.public .btn-primary--wide {
  height: 52px;
  border-radius: 18px;
  font-weight: 800;
}

body.public .auth2__footerText {
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 860px) {
  .content {
    padding: 14px;
  }

  .topbar {
    height: 56px;
  }

  body.public .auth2__card {
    border-radius: 24px;
    padding: 24px;
  }
}

@media (min-width: 1280px) {
  .content {
    padding: 28px;
  }

  .grid-2,
  .com-charts,
  .alerts-charts {
    gap: 18px;
  }
}

@media (max-width: 980px) {
  .section-head,
  .cfg-head,
  .alerts-hero {
    border-radius: 18px;
    padding: 16px;
  }

  .alerts-filters {
    grid-template-columns: 1fr;
  }

  .af__actions {
    justify-content: flex-start;
  }

  .cal-notice {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Product layout refresh: sober executive structure */
:root {
  --sade-bg: #f5f6f4;
  --sade-panel: rgba(255, 255, 255, .92);
  --sade-border: rgba(15, 23, 42, .08);
  --sade-muted: rgba(15, 23, 42, .56);
}

.main__viewport {
  background:
    linear-gradient(180deg, rgba(15, 90, 79, .045), transparent 260px),
    var(--sade-bg);
}

.content {
  padding: clamp(18px, 2vw, 30px);
}

.sidebar {
  background: linear-gradient(180deg, #083c35, #062c27);
  box-shadow: 10px 0 30px rgba(2, 8, 23, .12);
}

.sidebar::after {
  opacity: .28;
}

.topbar {
  background: rgba(250, 251, 249, .9);
}

.exec-page,
.compras-page,
.alerts-shell {
  display: grid;
  gap: 18px;
}

.exec-hero,
.proc-hero,
.alerts-hero {
  border: 1px solid var(--sade-border);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(247, 248, 245, .92));
  box-shadow: 0 18px 48px rgba(15, 23, 42, .075);
}

.exec-hero,
.proc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 22px;
  align-items: stretch;
  padding: clamp(22px, 3vw, 34px);
}

.exec-kicker,
.exec-section-label,
.proc-search__label {
  display: inline-flex;
  margin-bottom: 8px;
  color: #0f5a4f;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.exec-title {
  margin: 0;
  color: #07111f;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: .98;
  letter-spacing: -.06em;
}

.exec-subtitle {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--sade-muted);
  font-size: 15px;
  line-height: 1.55;
}

.exec-actions,
.proc-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.exec-hero__metrics,
.proc-ledger {
  display: grid;
  gap: 12px;
}

.exec-metric,
.proc-ledger article {
  border: 1px solid var(--sade-border);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, .76);
}

.exec-metric span,
.proc-ledger span {
  display: block;
  color: var(--sade-muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.exec-metric strong,
.proc-ledger strong {
  display: block;
  margin-top: 8px;
  color: #07111f;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

.exec-metric--dark {
  background: linear-gradient(135deg, #083c35, #0f5a4f);
  border-color: rgba(255, 255, 255, .12);
}

.exec-metric--dark span,
.exec-metric--dark strong {
  color: #ffffff;
}

.exec-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr);
  gap: 18px;
  align-items: start;
}

.exec-secondary-grid,
.proc-analytics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.exec-panel,
.exec-activity,
.proc-chart,
.proc-detail {
  border: 1px solid var(--sade-border);
  border-radius: 26px;
  padding: 18px;
  background: var(--sade-panel);
  box-shadow: 0 14px 38px rgba(15, 23, 42, .065);
  overflow: hidden;
}

.exec-secondary-grid .exec-panel,
.proc-chart {
  padding: 16px;
}

.exec-panel--main,
.proc-chart--primary {
  min-height: 0;
}

.exec-panel__head,
.com-chart__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.exec-panel__head h3,
.com-chart__head h3 {
  margin: 0;
  color: #07111f;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.exec-panel__hint {
  color: var(--sade-muted);
  font-size: 12px;
  font-weight: 800;
}

.exec-chart-and-detail,
.proc-chart__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: stretch;
}

.exec-chart {
  min-height: 0;
  height: 300px;
  max-height: 340px;
  border-radius: 20px;
}

.exec-chart--sm {
  min-height: 0;
  height: 220px;
  max-height: 220px;
}

.insight-panel {
  border: 1px solid rgba(15, 90, 79, .12);
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(15, 90, 79, .055), rgba(255, 255, 255, .82));
  align-self: stretch;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.insight-panel.is-active {
  border-color: rgba(15, 90, 79, .28);
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(15, 90, 79, .085), rgba(255, 255, 255, .92));
}

.insight-panel--inline {
  margin-top: 10px;
}

.exec-secondary-grid .insight-panel--inline,
.proc-chart .insight-panel--inline,
.alerts-charts .insight-panel--inline {
  padding: 12px 14px;
}

.insight-panel__eyebrow {
  display: block;
  color: #0f5a4f;
  font-size: 10.5px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.insight-panel strong {
  display: block;
  margin-top: 8px;
  color: #07111f;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.insight-panel p {
  margin: 8px 0 0;
  color: var(--sade-muted);
  font-size: 13px;
  line-height: 1.45;
}

.exec-table-scroll {
  max-height: 390px;
  border-radius: 18px;
}

.proc-hero {
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
}

.proc-search {
  align-self: center;
}

.proc-search__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 10px 8px 16px;
  border: 1px solid var(--sade-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.proc-search__bar svg {
  width: 18px;
  height: 18px;
  color: rgba(15, 23, 42, .45);
}

.proc-search__input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #07111f;
  font-size: 14px;
}

.proc-ledger {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.proc-ledger p {
  margin: 8px 0 0;
  color: var(--sade-muted);
  font-size: 13px;
}

.proc-detail {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 18px;
}

.proc-detail__summary h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.055em;
}

.proc-detail__summary p {
  color: var(--sade-muted);
}

.proc-detail__grid {
  margin: 0;
}

.proc-analytics {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
}

.proc-chart--primary {
  grid-row: auto;
}

.proc-chart .com-chart__wrap {
  height: 210px;
}

.proc-chart--primary .com-chart__wrap {
  height: 230px;
}

.proc-chart--donut .com-chart__wrap {
  min-height: 0;
  height: 220px;
}

.alerts-shell {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.alerts-command {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.alerts-command__side {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 14px;
}

.alerts-filters {
  grid-template-columns: 1fr;
}

.alerts-kpis {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alerts-charts {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  align-items: start;
}

.chart-card--wide {
  min-height: 0;
}

.chart-card,
.groups-card,
.alerts-filters-card,
.proj-card {
  border-radius: 24px;
  border-color: var(--sade-border);
  box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
}

.alerts-charts .chart-card {
  min-height: 0;
}

.alerts-charts .chart-wrap {
  height: 280px;
  min-height: 0;
  max-height: 300px;
}

.groups-chart-wrap {
  height: 280px;
  max-height: 300px;
}

.rank-chart__scroll {
  max-height: 260px;
}

.chart-card__title {
  letter-spacing: -.02em;
}

.vendor-bar {
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 18px;
  background: rgba(248, 250, 248, .76);
  padding: 8px;
}

.alerts-table__scroll,
.ped-table__scroll,
.com-table__scroll {
  background: #ffffff;
}

.card,
.section-head,
.cfg-head,
.alerts-hero,
.proc-hero,
.exec-hero {
  background-color: #ffffff;
}

@keyframes sadePanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.exec-hero,
.proc-hero,
.alerts-hero,
.exec-panel,
.exec-activity,
.proc-chart,
.proc-ledger article,
.alerts-command__side > *,
.chart-card,
.groups-card {
  animation: sadePanelIn .32s ease-out both;
}

@media (max-width: 1180px) {
  .exec-hero,
  .proc-hero,
  .exec-command-grid,
  .proc-detail,
  .alerts-command,
  .alerts-charts {
    grid-template-columns: 1fr;
  }

  .alerts-command__side {
    position: static;
  }

  .exec-secondary-grid,
  .proc-analytics {
    grid-template-columns: 1fr 1fr;
  }

  .proc-chart--primary {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .exec-chart-and-detail,
  .proc-chart__body,
  .proc-ledger,
  .exec-secondary-grid,
  .proc-analytics {
    grid-template-columns: 1fr;
  }

  .proc-search__bar {
    align-items: stretch;
    flex-direction: column;
  }

  .proc-search__bar .btn {
    width: 100%;
  }

  .alerts-kpis {
    grid-template-columns: 1fr;
  }
}
