/*
 * General analysis page:
 * templates/core/analise_geral.html.twig
 */

.app-main:has(#general-analysis-page) {
  margin-top: var(--navbar-h) !important;
  margin-right: 0;
  width: calc(100% - var(--sidebar-collapsed-w));
  padding-top: 0 !important;
}

#general-analysis-page {
  min-height: calc(100vh - var(--navbar-h));
  padding: clamp(0.85rem, 1.4vw, 1.35rem);
  background: #fff;
  color: #17251d;
}

.gan-tabs {
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
}

.gan-page .wmg-subtabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.gan-date-range {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.34rem 0.5rem;
  border: 1px solid #e3ebe7;
  border-radius: 0.5rem;
  background: #f8fbf9;
  box-shadow: 0 8px 20px rgba(24, 48, 34, 0.04);
}

.gan-date-range__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  background: #e9f8ee;
  color: #16813b;
  font-size: 1.05rem;
}

.gan-date-range__field {
  display: inline-grid;
  gap: 0.12rem;
  min-width: 8.2rem;
}

.gan-date-range__field span {
  color: #66726d;
  font-size: 0.64rem;
  font-weight: 860;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.gan-date-range__field input {
  min-height: 1.8rem;
  width: 100%;
  border: 0;
  border-radius: 0.36rem;
  background: #fff;
  color: #17251d;
  font-size: 0.78rem;
  font-weight: 780;
  outline: 1px solid #dbe8e1;
  padding: 0.2rem 0.46rem;
}

.gan-date-range__field input:focus {
  outline-color: #96d5aa;
  box-shadow: 0 0 0 0.16rem rgba(22, 129, 59, 0.11);
}

.gan-date-range__separator {
  color: #9aa7a1;
  font-size: 0.8rem;
  font-weight: 900;
}

.gan-overview-page {
  display: grid;
  gap: 0.9rem;
}

.gan-overview-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.gan-overview-kpi {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.65rem;
  align-items: center;
  min-height: 4.9rem;
  padding: 0.8rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.52rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 48, 34, 0.04);
}

.gan-overview-kpi .material-symbols-outlined {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #e9f8ee;
  color: #16813b;
  font-size: 1.16rem;
}

.gan-overview-kpi--danger .material-symbols-outlined {
  background: #fff1f1;
  color: #b42318;
}

.gan-overview-kpi--success .material-symbols-outlined {
  background: #e9f8ee;
  color: #16813b;
}

.gan-overview-kpi strong {
  color: #17251d;
  font-size: 1.28rem;
  font-weight: 930;
  line-height: 1;
}

.gan-overview-kpi em {
  color: #66726d;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 760;
}

.gan-overview-status {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.65fr));
  gap: 0.65rem;
}

.gan-overview-progress,
.gan-overview-status-card,
.gan-overview-card {
  border: 1px solid #e2ebe6;
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 10px 26px rgba(24, 48, 34, 0.05);
}

.gan-overview-progress,
.gan-overview-status-card {
  display: grid;
  align-content: center;
  gap: 0.55rem;
  min-height: 6rem;
  padding: 0.9rem;
}

.gan-overview-progress span,
.gan-overview-status-card span {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-overview-progress strong,
.gan-overview-status-card strong {
  color: #17251d;
  font-size: 1.05rem;
  font-weight: 930;
}

.gan-overview-progress em,
.gan-overview-status-card em {
  color: #7b8882;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 760;
}

.gan-overview-status-card--warning strong {
  color: #c2410c;
}

.gan-overview-progress__bar {
  height: 0.58rem;
  overflow: hidden;
  border-radius: 999px;
  background: #edf3ef;
}

.gan-overview-progress__bar span {
  display: block;
  width: var(--gan-overview-progress);
  height: 100%;
  border-radius: inherit;
  background: #16813b;
}

.gan-overview-mini-funnel {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
}

.gan-overview-funnel-step {
  display: grid;
  gap: 0.2rem;
  min-height: 5.8rem;
  padding: 0.72rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.5rem;
  background: #f8fbf9;
  color: #17251d;
  text-align: left;
  cursor: pointer;
}

.gan-overview-funnel-step:hover,
.gan-overview-funnel-step:focus-visible {
  border-color: #b8dbc5;
  background: #f5fbf7;
  outline: none;
}

.gan-overview-funnel-step span {
  color: #66726d;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-overview-funnel-step strong {
  color: #17251d;
  font-size: 1.24rem;
  font-weight: 930;
}

.gan-overview-funnel-step em {
  color: #16813b;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 860;
}

.gan-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.45fr);
  gap: 0.9rem;
}

.gan-overview-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.8rem;
}

.gan-overview-highlights article,
.gan-overview-alert-list button {
  display: grid;
  gap: 0.2rem;
  padding: 0.72rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.46rem;
  background: #f8fbf9;
}

.gan-overview-highlights span,
.gan-overview-alert-list span {
  color: #66726d;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-overview-highlights strong,
.gan-overview-alert-list strong {
  color: #17251d;
  font-size: 0.88rem;
  font-weight: 920;
}

.gan-overview-highlights em {
  color: #7b8882;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 760;
}

.gan-overview-alert-list {
  display: grid;
  gap: 0.62rem;
  padding: 0.8rem;
}

.gan-overview-alert-list button {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border-color: #f3d5c5;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.gan-overview-alert-list button:hover,
.gan-overview-alert-list button:focus-visible {
  border-color: #c2410c;
  outline: none;
}

.gan-overview-alert-list strong {
  color: #c2410c;
  font-size: 1.05rem;
}

.gan-overview-activity {
  display: grid;
  grid-template-columns: minmax(4rem, 0.4fr) minmax(5rem, 0.5fr) minmax(8rem, 0.8fr) minmax(10rem, 1fr) minmax(7rem, 0.7fr);
  overflow-x: auto;
}

.gan-overview-activity > * {
  min-height: 2.55rem;
  margin: 0;
  padding: 0.66rem 0.76rem;
  border: 0;
  border-bottom: 1px solid #edf3ef;
  background: transparent;
  color: #52615a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
  text-align: left;
}

.gan-overview-activity > span:nth-child(-n + 5) {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-overview-activity > strong {
  color: #17251d;
  font-weight: 900;
}

.gan-overview-activity > button {
  width: fit-content;
  min-height: 1.8rem;
  margin: 0.38rem 0.5rem;
  padding: 0.22rem 0.5rem;
  border: 1px solid #c9e0d1;
  border-radius: 999px;
  background: #f5fbf7;
  color: #16813b;
  font-weight: 900;
  cursor: pointer;
}

.gan-overview-activity > em {
  color: #16813b;
  font-style: normal;
  font-weight: 900;
}

.gan-trends-page,
.gan-alerts-page {
  display: grid;
  gap: 0.9rem;
}

.gan-production-summary-page {
  display: grid;
  gap: 0.9rem;
}

.gan-production-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  gap: 0.9rem;
}

.gan-production-distribution {
  display: grid;
  grid-template-columns: minmax(8rem, 0.7fr) minmax(10rem, 1fr) minmax(5rem, 0.45fr) minmax(6rem, 0.5fr);
  overflow-x: auto;
}

.gan-production-distribution > * {
  min-height: 2.65rem;
  margin: 0;
  padding: 0.68rem 0.78rem;
  border: 0;
  border-bottom: 1px solid #edf3ef;
  background: transparent;
  color: #52615a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
  text-align: left;
}

.gan-production-distribution > span:nth-child(-n + 4) {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-production-distribution > strong {
  color: #17251d;
  font-weight: 900;
}

.gan-production-distribution > button {
  width: fit-content;
  min-height: 1.8rem;
  margin: 0.42rem 0.5rem;
  padding: 0.24rem 0.54rem;
  border: 1px solid #c9e0d1;
  border-radius: 999px;
  background: #f5fbf7;
  color: #16813b;
  font-weight: 900;
  cursor: pointer;
}

.gan-production-distribution > em {
  color: #1d4ed8;
  font-style: normal;
  font-weight: 900;
}

.gan-trend-kpis,
.gan-alert-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.gan-alert-kpis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gan-trend-kpi,
.gan-alert-kpi {
  display: grid;
  gap: 0.2rem;
  min-height: 5rem;
  padding: 0.82rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.52rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 48, 34, 0.04);
}

.gan-trend-kpi span,
.gan-alert-kpi span {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-trend-kpi strong,
.gan-alert-kpi strong {
  color: #17251d;
  font-size: 1.28rem;
  font-weight: 930;
}

.gan-trend-kpi em,
.gan-alert-kpi em {
  color: #7b8882;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 760;
}

.gan-trend-kpi--up strong,
.gan-alert-kpi--success strong {
  color: #16813b;
}

.gan-trend-kpi--down strong,
.gan-alert-kpi--critical strong {
  color: #b42318;
}

.gan-alert-kpi--warning strong {
  color: #c2410c;
}

.gan-trend-chart-card {
  overflow: hidden;
  border: 1px solid #e2ebe6;
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 10px 26px rgba(24, 48, 34, 0.05);
}

.gan-trend-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 0.65rem;
  min-height: 13rem;
  padding: 1rem;
  background:
    repeating-linear-gradient(0deg, transparent 0 3.1rem, #edf3ef 3.1rem calc(3.1rem + 1px)),
    #fff;
}

.gan-trend-chart span {
  display: block;
  height: var(--gan-trend-height);
  min-height: 2rem;
  border-radius: 0.42rem 0.42rem 0 0;
  background: linear-gradient(180deg, #16813b, #8fd3a3);
}

.gan-trends-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.38fr);
  gap: 0.9rem;
}

.gan-overview-highlights--stack {
  grid-template-columns: 1fr;
}

.gan-trend-table,
.gan-alert-table {
  display: grid;
  overflow-x: auto;
}

.gan-trend-table {
  grid-template-columns: minmax(11rem, 1fr) repeat(4, minmax(6rem, 0.65fr));
}

.gan-alert-table {
  grid-template-columns: minmax(6rem, 0.5fr) minmax(7rem, 0.6fr) minmax(15rem, 1.4fr) minmax(5rem, 0.45fr) minmax(8rem, 0.75fr) minmax(7rem, 0.65fr);
}

.gan-trend-table > *,
.gan-alert-table > * {
  min-height: 2.65rem;
  margin: 0;
  padding: 0.68rem 0.78rem;
  border: 0;
  border-bottom: 1px solid #edf3ef;
  background: transparent;
  color: #52615a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
  text-align: left;
}

.gan-trend-table > span:nth-child(-n + 5),
.gan-alert-table > span:nth-child(-n + 6) {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-trend-table > strong,
.gan-alert-table > strong {
  color: #17251d;
  font-weight: 900;
}

.gan-trend-table > button,
.gan-alert-table > button {
  width: fit-content;
  min-height: 1.8rem;
  margin: 0.42rem 0.5rem;
  padding: 0.24rem 0.54rem;
  border: 1px solid #c9e0d1;
  border-radius: 999px;
  background: #f5fbf7;
  color: #16813b;
  font-weight: 900;
  cursor: pointer;
}

.gan-trend-table em,
.gan-alert-table em {
  font-style: normal;
  font-weight: 900;
}

.gan-trend-table .is-up {
  color: #16813b;
}

.gan-trend-table .is-down,
.gan-alert-table .is-critical {
  color: #b42318;
}

.gan-alert-table .is-warning {
  color: #c2410c;
}

.gan-alert-filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(9rem, 0.65fr)) minmax(16rem, 1fr) auto;
  gap: 0.65rem;
  align-items: end;
  padding: 0.72rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.55rem;
  background: #f8fbf9;
  box-shadow: 0 8px 22px rgba(24, 48, 34, 0.045);
}

.gan-date-range__presets {
  display: inline-flex;
  align-self: end;
  align-items: center;
  gap: 0.22rem;
  margin-left: 0.24rem;
  margin-bottom: 0.02rem;
  padding: 0.18rem;
  border: 1px solid #e3ebe7;
  border-radius: 0.38rem;
  background: #fff;
}

.gan-date-range__preset {
  min-height: 1.82rem;
  padding: 0.22rem 0.48rem;
  border: 1px solid transparent;
  border-radius: 0.28rem;
  background: transparent;
  color: #66726d;
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0;
  cursor: pointer;
}

.gan-date-range__preset:hover,
.gan-date-range__preset:focus-visible,
.gan-date-range__preset.is-active {
  border-color: #c9e0d1;
  background: #f5fbf7;
  color: #16813b;
  outline: none;
}

.gan-empty-panel {
  min-height: 25rem;
}

.gan-user-production {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.gan-filter-bar {
  display: grid;
  grid-template-columns: minmax(16rem, 0.28fr) minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: end;
  padding: 0.72rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.55rem;
  background: #f8fbf9;
  box-shadow: 0 8px 22px rgba(24, 48, 34, 0.045);
}

.gan-filter {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
}

.gan-filter span {
  color: #66726d;
  font-size: 0.66rem;
  font-weight: 880;
  line-height: 1;
  text-transform: uppercase;
}

.gan-filter select {
  min-height: 2.35rem;
  width: 100%;
  border: 1px solid #dbe8e1;
  border-radius: 0.38rem;
  background: #fff;
  color: #17251d;
  font-size: 0.8rem;
  font-weight: 780;
  padding: 0.35rem 0.55rem;
}

.gan-filter--wide {
  min-width: 12rem;
}

.gan-filter-bar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.82rem;
  border: 1px solid #b8dbc5;
  border-radius: 0.38rem;
  background: #16813b;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 860;
  cursor: pointer;
}

.gan-filter-bar__button .material-symbols-outlined {
  font-size: 1rem;
}

.gan-funnel-page {
  display: grid;
  gap: 0.9rem;
}

.gan-funnel-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(9rem, 0.8fr)) minmax(16rem, 1fr) auto;
  gap: 0.65rem;
  align-items: end;
  padding: 0.72rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.55rem;
  background: #f8fbf9;
  box-shadow: 0 8px 22px rgba(24, 48, 34, 0.045);
}

.gan-custom-filter-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.32rem 0.55rem;
  align-items: end;
  min-width: 0;
}

.gan-custom-filter-box__label {
  grid-column: 1 / -1;
  color: #66726d;
  font-size: 0.66rem;
  font-weight: 880;
  line-height: 1;
  text-transform: uppercase;
}

.gan-custom-filter-box__chips {
  display: flex;
  align-items: center;
  min-height: 2.35rem;
  min-width: 0;
  padding: 0.32rem 0.5rem;
  border: 1px dashed #cfe0d7;
  border-radius: 0.38rem;
  background: #fff;
}

.gan-custom-filter-box__chips span {
  color: #7b8882;
  font-size: 0.78rem;
  font-weight: 760;
}

.gan-custom-filter-box__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.72rem;
  border: 1px solid #c9e0d1;
  border-radius: 0.38rem;
  background: #fff;
  color: #16813b;
  font-size: 0.8rem;
  font-weight: 860;
  white-space: nowrap;
  cursor: pointer;
}

.gan-custom-filter-box__add .material-symbols-outlined {
  font-size: 1rem;
}

.gan-custom-filter-box__add:hover,
.gan-custom-filter-box__add:focus-visible {
  background: #f5fbf7;
  outline: none;
}

.gan-kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.gan-kpi {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.65rem;
  align-items: center;
  min-height: 4.9rem;
  padding: 0.8rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.52rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 48, 34, 0.04);
}

.gan-kpi .material-symbols-outlined {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #e9f8ee;
  color: #16813b;
  font-size: 1.16rem;
}

.gan-kpi strong {
  color: #17251d;
  font-size: 1.3rem;
  font-weight: 920;
  line-height: 1;
}

.gan-kpi em {
  color: #66726d;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 760;
}

.gan-funnel-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
}

.gan-funnel-stage {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 0.24rem;
  min-height: 8.2rem;
  padding: 0.9rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.55rem;
  background: #fff;
  color: #17251d;
  text-align: left;
  box-shadow: 0 10px 26px rgba(24, 48, 34, 0.05);
  cursor: pointer;
}

.gan-funnel-stage:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.58rem;
  z-index: 1;
  width: 0.5rem;
  height: 1px;
  background: #cbded4;
}

.gan-funnel-stage span {
  color: #66726d;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-funnel-stage strong {
  color: #17251d;
  font-size: 1.8rem;
  font-weight: 930;
  line-height: 1;
}

.gan-funnel-stage em,
.gan-funnel-stage small {
  font-style: normal;
  font-weight: 820;
}

.gan-funnel-stage em {
  color: #16813b;
  font-size: 0.84rem;
}

.gan-funnel-stage small {
  color: #7b8882;
  font-size: 0.72rem;
}

.gan-funnel-stage--result {
  background: #f8fbf9;
}

.gan-funnel-stage:hover,
.gan-funnel-stage:focus-visible {
  border-color: #b8dbc5;
  background: #f5fbf7;
  outline: none;
}

.gan-funnel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.35fr);
  gap: 0.9rem;
}

.gan-funnel-card {
  min-width: 0;
  border: 1px solid #e2ebe6;
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 10px 26px rgba(24, 48, 34, 0.05);
}

.gan-funnel-card__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 0.92rem;
  border-bottom: 1px solid #e8f0eb;
  color: #17251d;
  font-size: 0.9rem;
  font-weight: 920;
}

.gan-funnel-card__header .material-symbols-outlined {
  color: #16813b;
  font-size: 1.1rem;
}

.gan-funnel-transition-table {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) minmax(8rem, 1fr) minmax(4.6rem, 0.5fr) minmax(4.8rem, 0.5fr) minmax(6rem, 0.6fr);
  overflow-x: auto;
}

.gan-funnel-transition-table > span,
.gan-funnel-transition-table > strong,
.gan-funnel-transition-table > button {
  min-height: 2.65rem;
  padding: 0.68rem 0.78rem;
  border: 0;
  border-bottom: 1px solid #edf3ef;
  background: transparent;
  color: #52615a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
  text-align: left;
}

.gan-funnel-transition-table > span:nth-child(-n + 5) {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-funnel-transition-table > strong {
  color: #17251d;
  font-weight: 900;
}

.gan-funnel-transition-table > button {
  width: fit-content;
  margin: 0.42rem 0.5rem;
  min-height: 1.8rem;
  padding: 0.24rem 0.54rem;
  border: 1px solid #c9e0d1;
  border-radius: 999px;
  background: #f5fbf7;
  color: #16813b;
  font-weight: 900;
  cursor: pointer;
}

.gan-funnel-alerts {
  display: grid;
  gap: 0.62rem;
  padding: 0.8rem;
}

.gan-funnel-alerts article {
  display: grid;
  gap: 0.2rem;
  padding: 0.72rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.46rem;
  background: #f8fbf9;
}

.gan-funnel-alerts span {
  color: #66726d;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-funnel-alerts strong {
  color: #17251d;
  font-size: 0.86rem;
  font-weight: 920;
}

.gan-funnel-alerts em {
  color: #7b8882;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 760;
}

.gan-quality-page {
  display: grid;
  gap: 0.9rem;
}

.gan-quality-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.gan-quality-kpi {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.65rem;
  align-items: center;
  min-height: 4.9rem;
  padding: 0.8rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.52rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 48, 34, 0.04);
}

.gan-quality-kpi .material-symbols-outlined {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #e9f8ee;
  color: #16813b;
  font-size: 1.16rem;
}

.gan-quality-kpi--warning .material-symbols-outlined {
  background: #fff7ed;
  color: #c2410c;
}

.gan-quality-kpi--danger .material-symbols-outlined {
  background: #fff1f1;
  color: #b42318;
}

.gan-quality-kpi--success .material-symbols-outlined {
  background: #e9f8ee;
  color: #16813b;
}

.gan-quality-kpi strong {
  color: #17251d;
  font-size: 1.24rem;
  font-weight: 920;
  line-height: 1;
}

.gan-quality-kpi em {
  color: #66726d;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 760;
}

.gan-quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 0.9rem;
}

.gan-quality-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2ebe6;
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 10px 26px rgba(24, 48, 34, 0.05);
}

.gan-quality-alert-table,
.gan-quality-dimension-table {
  display: grid;
  overflow-x: auto;
}

.gan-quality-alert-table {
  grid-template-columns: minmax(13rem, 1.25fr) minmax(4.5rem, 0.45fr) minmax(7rem, 0.7fr) minmax(5.5rem, 0.55fr) minmax(8rem, 0.8fr);
}

.gan-quality-dimension-table {
  grid-template-columns: minmax(10rem, 1fr) repeat(5, minmax(4.8rem, 0.55fr));
}

.gan-quality-alert-table > *,
.gan-quality-dimension-table > * {
  min-height: 2.65rem;
  margin: 0;
  padding: 0.68rem 0.78rem;
  border: 0;
  border-bottom: 1px solid #edf3ef;
  background: transparent;
  color: #52615a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
  text-align: left;
}

.gan-quality-alert-table > span:nth-child(-n + 5),
.gan-quality-dimension-table > span:nth-child(-n + 6) {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-quality-alert-table > strong,
.gan-quality-dimension-table > strong {
  color: #17251d;
  font-weight: 900;
}

.gan-quality-alert-table > button,
.gan-quality-dimension-table > button {
  width: fit-content;
  min-height: 1.8rem;
  margin: 0.42rem 0.5rem;
  padding: 0.24rem 0.54rem;
  border: 1px solid #c9e0d1;
  border-radius: 999px;
  background: #f5fbf7;
  color: #16813b;
  font-weight: 900;
  cursor: pointer;
}

.gan-quality-alert-table > em,
.gan-quality-dimension-table > em {
  color: #b42318;
  font-style: normal;
  font-weight: 900;
}

.gan-quality-dimension-table > b {
  color: #1d4ed8;
  font-weight: 920;
}

.gan-validation-page {
  display: grid;
  gap: 0.9rem;
}

.gan-validation-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.gan-validation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.45fr);
  gap: 0.9rem;
}

.gan-validation-queue-table {
  display: grid;
  grid-template-columns:
    minmax(5rem, 0.45fr)
    minmax(9rem, 0.75fr)
    minmax(9rem, 0.75fr)
    minmax(10rem, 0.85fr)
    minmax(8rem, 0.7fr)
    minmax(13rem, 1.1fr)
    minmax(7rem, 0.6fr)
    minmax(5.5rem, 0.45fr);
  overflow-x: auto;
}

.gan-validation-queue-table > * {
  min-height: 2.65rem;
  margin: 0;
  padding: 0.68rem 0.78rem;
  border: 0;
  border-bottom: 1px solid #edf3ef;
  background: transparent;
  color: #52615a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
  text-align: left;
}

.gan-validation-queue-table > span:nth-child(-n + 8) {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-validation-queue-table > strong {
  color: #17251d;
  font-weight: 900;
}

.gan-validation-queue-table > em {
  color: #b42318;
  font-style: normal;
  font-weight: 900;
}

.gan-validation-queue-table > button {
  width: fit-content;
  min-height: 1.8rem;
  margin: 0.42rem 0.5rem;
  padding: 0.24rem 0.54rem;
  border: 1px solid #c9e0d1;
  border-radius: 999px;
  background: #f5fbf7;
  color: #16813b;
  font-weight: 900;
  cursor: pointer;
}

.gan-validation-status {
  align-self: center;
  width: fit-content;
  margin-left: 0.78rem;
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 920;
}

.gan-validation-status--pending {
  background: #fff7ed;
  color: #c2410c;
}

.gan-validation-status--fix {
  background: #eff6ff;
  color: #1d4ed8;
}

.gan-validation-type-list {
  display: grid;
  gap: 0.55rem;
  padding: 0.78rem;
}

.gan-validation-type-list article {
  display: grid;
  gap: 0.22rem;
  padding: 0.72rem;
  border: 1px solid #edf3ef;
  border-radius: 0.48rem;
  background: #f8fbf9;
}

.gan-validation-type-list span {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-validation-type-list strong {
  color: #17251d;
  font-size: 1.05rem;
  font-weight: 920;
}

.gan-validation-type-list em {
  color: #7b8882;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 760;
}

.gan-validation-review__body {
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(16rem, 1fr) minmax(16rem, 1fr) auto;
  gap: 0.8rem;
  align-items: stretch;
  padding: 0.78rem;
}

.gan-validation-lead-card,
.gan-validation-checklist,
.gan-validation-notes {
  min-width: 0;
  padding: 0.78rem;
  border: 1px solid #edf3ef;
  border-radius: 0.48rem;
  background: #f8fbf9;
}

.gan-validation-lead-card {
  display: grid;
  align-content: start;
  gap: 0.28rem;
}

.gan-validation-lead-card span,
.gan-validation-notes span {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-validation-lead-card strong {
  color: #17251d;
  font-size: 0.98rem;
  font-weight: 920;
}

.gan-validation-lead-card em,
.gan-validation-lead-card p {
  margin: 0;
  color: #66726d;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 740;
  line-height: 1.35;
}

.gan-validation-checklist {
  display: grid;
  gap: 0.46rem;
}

.gan-validation-checklist label {
  display: flex;
  align-items: center;
  gap: 0.46rem;
  color: #52615a;
  font-size: 0.78rem;
  font-weight: 820;
}

.gan-validation-checklist input {
  accent-color: #16813b;
}

.gan-validation-notes {
  display: grid;
  gap: 0.42rem;
}

.gan-validation-notes textarea {
  width: 100%;
  min-height: 5.6rem;
  resize: vertical;
  border: 1px solid #dbe7e1;
  border-radius: 0.44rem;
  background: #fff;
  color: #17251d;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 720;
  outline: none;
  padding: 0.62rem;
}

.gan-validation-actions {
  display: grid;
  gap: 0.5rem;
  align-content: center;
}

.gan-validation-actions button {
  min-height: 2.35rem;
  white-space: nowrap;
  border-radius: 0.44rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.gan-validation-actions__secondary {
  border: 1px solid #dbe7e1;
  background: #fff;
  color: #52615a;
}

.gan-validation-actions__primary {
  border: 1px solid #16813b;
  background: #16813b;
  color: #fff;
}

.gan-refusal-page {
  display: grid;
  gap: 0.9rem;
}

.gan-refusal-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.gan-refusal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.45fr);
  gap: 0.9rem;
}

.gan-refusal-table {
  display: grid;
  grid-template-columns:
    minmax(5rem, 0.45fr)
    minmax(9rem, 0.75fr)
    minmax(9rem, 0.75fr)
    minmax(10rem, 0.85fr)
    minmax(9rem, 0.78fr)
    minmax(11rem, 1fr)
    minmax(7rem, 0.6fr)
    minmax(5.5rem, 0.45fr);
  overflow-x: auto;
}

.gan-refusal-table > * {
  min-height: 2.65rem;
  margin: 0;
  padding: 0.68rem 0.78rem;
  border: 0;
  border-bottom: 1px solid #edf3ef;
  background: transparent;
  color: #52615a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
  text-align: left;
}

.gan-refusal-table > span:nth-child(-n + 8) {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-refusal-table > strong {
  color: #17251d;
  font-weight: 900;
}

.gan-refusal-table > em {
  color: #b42318;
  font-style: normal;
  font-weight: 900;
}

.gan-refusal-table > button {
  width: fit-content;
  min-height: 1.8rem;
  margin: 0.42rem 0.5rem;
  padding: 0.24rem 0.54rem;
  border: 1px solid #f1c7c7;
  border-radius: 999px;
  background: #fff7f7;
  color: #b42318;
  font-weight: 900;
  cursor: pointer;
}

.gan-refusal-status {
  align-self: center;
  width: fit-content;
  margin-left: 0.78rem;
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 920;
}

.gan-refusal-status--pending {
  background: #fff7ed;
  color: #c2410c;
}

.gan-refusal-status--confirmed {
  background: #e9f8ee;
  color: #16813b;
}

.gan-refusal-status--fix {
  background: #eff6ff;
  color: #1d4ed8;
}

.gan-refusal-status--reverted {
  background: #f3f4f6;
  color: #4b5563;
}

.gan-refusal-reason-list {
  display: grid;
  gap: 0.55rem;
  padding: 0.78rem;
}

.gan-refusal-reason-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.6rem;
  padding: 0.72rem;
  border: 1px solid #edf3ef;
  border-radius: 0.48rem;
  background: #f8fbf9;
}

.gan-refusal-reason-list span {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-refusal-reason-list strong {
  color: #17251d;
  font-size: 1.05rem;
  font-weight: 920;
}

.gan-refusal-reason-list em {
  grid-column: 1 / -1;
  color: #7b8882;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 760;
}

.gan-refusal-reason-list div {
  grid-column: 1 / -1;
  height: 0.42rem;
  overflow: hidden;
  border-radius: 999px;
  background: #edf3ef;
}

.gan-refusal-reason-list div span {
  display: block;
  width: var(--gan-refusal-share);
  height: 100%;
  border-radius: inherit;
  background: #b42318;
}

.gan-refusal-review__body {
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(14rem, 0.78fr) minmax(16rem, 1fr) auto;
  gap: 0.8rem;
  align-items: stretch;
  padding: 0.78rem;
}

.gan-refusal-lead-card,
.gan-refusal-history,
.gan-refusal-notes {
  min-width: 0;
  padding: 0.78rem;
  border: 1px solid #edf3ef;
  border-radius: 0.48rem;
  background: #f8fbf9;
}

.gan-refusal-lead-card {
  display: grid;
  align-content: start;
  gap: 0.28rem;
}

.gan-refusal-lead-card span,
.gan-refusal-notes span {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-refusal-lead-card strong {
  color: #17251d;
  font-size: 0.98rem;
  font-weight: 920;
}

.gan-refusal-lead-card em,
.gan-refusal-lead-card p {
  margin: 0;
  color: #66726d;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 740;
  line-height: 1.35;
}

.gan-refusal-history {
  display: grid;
  gap: 0.48rem;
}

.gan-refusal-history article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.08rem 0.5rem;
}

.gan-refusal-history span {
  grid-row: span 2;
  color: #b42318;
  font-size: 0.72rem;
  font-weight: 920;
}

.gan-refusal-history strong {
  color: #17251d;
  font-size: 0.78rem;
  font-weight: 920;
}

.gan-refusal-history em {
  color: #7b8882;
  font-size: 0.73rem;
  font-style: normal;
  font-weight: 740;
}

.gan-refusal-notes {
  display: grid;
  gap: 0.42rem;
}

.gan-refusal-notes textarea {
  width: 100%;
  min-height: 5.6rem;
  resize: vertical;
  border: 1px solid #dbe7e1;
  border-radius: 0.44rem;
  background: #fff;
  color: #17251d;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 720;
  outline: none;
  padding: 0.62rem;
}

.gan-refusal-actions {
  display: grid;
  gap: 0.5rem;
  align-content: center;
}

.gan-refusal-actions button {
  min-height: 2.35rem;
  white-space: nowrap;
  border-radius: 0.44rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.gan-refusal-actions__secondary {
  border: 1px solid #dbe7e1;
  background: #fff;
  color: #52615a;
}

.gan-refusal-actions__neutral {
  border: 1px solid #c9d7ff;
  background: #eff6ff;
  color: #1d4ed8;
}

.gan-refusal-actions__primary {
  border: 1px solid #b42318;
  background: #b42318;
  color: #fff;
}

.gan-goals-page {
  display: grid;
  gap: 0.9rem;
}

.gan-goals-page .gan-funnel-filter-bar {
  grid-template-columns: minmax(12rem, 0.28fr) minmax(12rem, 0.28fr) minmax(18rem, 1fr) auto;
}

.gan-goals-search-filter {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
}

.gan-goals-search-filter > span:first-child {
  color: #66726d;
  font-size: 0.66rem;
  font-weight: 880;
  line-height: 1;
  text-transform: uppercase;
}

.gan-goals-search-filter__control {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0 0.58rem;
  border: 1px solid #dbe8e1;
  border-radius: 0.38rem;
  background: #fff;
  color: #66726d;
}

.gan-goals-search-filter__control .material-symbols-outlined {
  flex: 0 0 auto;
  color: #16813b;
  font-size: 1rem;
}

.gan-goals-search-filter__control input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: #17251d;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 780;
  outline: none;
}

.gan-goal-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.gan-goal-kpi {
  display: grid;
  gap: 0.22rem;
  min-height: 5rem;
  padding: 0.82rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.52rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 48, 34, 0.04);
}

.gan-goal-kpi span {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-goal-kpi strong {
  color: #17251d;
  font-size: 1.35rem;
  font-weight: 930;
  line-height: 1;
}

.gan-goal-kpi em {
  color: #7b8882;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 760;
}

.gan-goal-kpi--success strong {
  color: #16813b;
}

.gan-goal-kpi--warning strong {
  color: #c2410c;
}

.gan-goal-kpi--danger strong {
  color: #b42318;
}

.gan-goals-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.38fr);
  gap: 0.9rem;
}

.gan-goals-table {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(9rem, 0.9fr) repeat(3, minmax(5rem, 0.52fr)) minmax(9rem, 0.9fr) minmax(6.5rem, 0.6fr);
  overflow-x: auto;
}

.gan-goals-table > * {
  min-height: 2.8rem;
  margin: 0;
  padding: 0.68rem 0.78rem;
  border: 0;
  border-bottom: 1px solid #edf3ef;
  background: transparent;
  color: #52615a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
  text-align: left;
}

.gan-goals-table > span:nth-child(-n + 7) {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-goals-table > strong {
  color: #17251d;
  font-weight: 900;
}

.gan-goals-table > button {
  width: fit-content;
  min-height: 1.8rem;
  margin: 0.45rem 0.5rem;
  padding: 0.24rem 0.54rem;
  border: 1px solid #c9e0d1;
  border-radius: 999px;
  background: #f5fbf7;
  color: #16813b;
  font-weight: 900;
  cursor: pointer;
}

.gan-goals-progress {
  display: grid;
  grid-template-columns: minmax(5rem, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
}

.gan-goals-progress > span {
  position: relative;
  display: block;
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: #edf3ef;
}

.gan-goals-progress > span::before {
  content: "";
  display: block;
  width: var(--gan-goal-progress);
  height: 100%;
  border-radius: inherit;
  background: #16813b;
}

.gan-goals-progress em {
  color: #17251d;
  font-style: normal;
  font-weight: 900;
}

.gan-goals-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 1.65rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.gan-goals-status--success {
  background: #e9f8ee;
  color: #16813b;
}

.gan-goals-status--warning {
  background: #fff7ed;
  color: #c2410c;
}

.gan-goals-status--danger {
  background: #fff1f1;
  color: #b42318;
}

.gan-goal-risk-list {
  display: grid;
  gap: 0.62rem;
  padding: 0.8rem;
}

.gan-goal-risk-list article {
  display: grid;
  gap: 0.2rem;
  padding: 0.72rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.46rem;
  background: #f8fbf9;
}

.gan-goal-risk-list span {
  color: #66726d;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-goal-risk-list strong {
  color: #17251d;
  font-size: 0.86rem;
  font-weight: 920;
}

.gan-goal-risk-list em {
  color: #7b8882;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 760;
}

.gan-audit-page {
  display: grid;
  gap: 0.9rem;
}

.gan-audit-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.gan-audit-kpis article {
  display: grid;
  gap: 0.2rem;
  min-height: 5rem;
  padding: 0.82rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.52rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 48, 34, 0.04);
}

.gan-audit-kpis span,
.gan-audit-score label span,
.gan-audit-notes label span {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-audit-kpis strong {
  color: #17251d;
  font-size: 1.28rem;
  font-weight: 930;
}

.gan-audit-kpis em {
  color: #7b8882;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 760;
}

.gan-audit-user-table,
.gan-audit-call-table {
  display: grid;
  overflow-x: auto;
}

.gan-audit-user-table {
  grid-template-columns: minmax(10rem, 1fr) minmax(9rem, 0.8fr) repeat(6, minmax(5.5rem, 0.55fr));
}

.gan-audit-call-table {
  grid-template-columns: minmax(4.5rem, 0.45fr) minmax(5rem, 0.5fr) minmax(7rem, 0.7fr) minmax(9rem, 0.9fr) minmax(5rem, 0.5fr) minmax(6.5rem, 0.65fr) minmax(4.5rem, 0.45fr);
}

.gan-audit-user-table > *,
.gan-audit-call-table > * {
  min-height: 2.65rem;
  margin: 0;
  padding: 0.68rem 0.78rem;
  border: 0;
  border-bottom: 1px solid #edf3ef;
  background: transparent;
  color: #52615a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
  text-align: left;
}

.gan-audit-user-table > span:nth-child(-n + 8),
.gan-audit-call-table > span:nth-child(-n + 7) {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-audit-user-table > strong,
.gan-audit-call-table > strong,
.gan-audit-call-table > b {
  color: #17251d;
  font-weight: 900;
}

.gan-audit-user-table > button,
.gan-audit-call-table > button {
  width: fit-content;
  min-height: 1.8rem;
  margin: 0.42rem 0.5rem;
  padding: 0.24rem 0.54rem;
  border: 1px solid #c9e0d1;
  border-radius: 999px;
  background: #f5fbf7;
  color: #16813b;
  font-weight: 900;
  cursor: pointer;
}

.gan-audit-user-table > .gan-audit-user-name {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-left: 0;
  border-radius: 0.38rem;
  color: #17251d;
  text-align: left;
}

.gan-audit-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid #c9e0d1;
  border-radius: 0.4rem;
  background: #fff;
  color: #16813b;
  font-size: 0.8rem;
  font-weight: 880;
  text-decoration: none;
}

.gan-audit-back:hover,
.gan-audit-back:focus-visible {
  background: #f5fbf7;
  color: #16813b;
  outline: none;
}

.gan-audit-back .material-symbols-outlined {
  font-size: 1rem;
}

.gan-audit-call-table > em {
  color: #c2410c;
  font-style: normal;
  font-weight: 900;
}

.gan-audit-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(24rem, 1.2fr);
  gap: 0.9rem;
}

.gan-audit-detail {
  display: grid;
  align-content: start;
}

.gan-audit-player {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem;
  border-bottom: 1px solid #edf3ef;
  background: #f8fbf9;
}

.gan-audit-player audio {
  width: 100%;
}

.gan-audit-player span {
  display: block;
  color: #66726d;
  font-size: 0.72rem;
  font-weight: 850;
}

.gan-audit-player strong {
  color: #17251d;
  font-size: 0.9rem;
  font-weight: 920;
}

.gan-audit-score {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.85rem;
  border-bottom: 1px solid #edf3ef;
}

.gan-audit-score label,
.gan-audit-notes label {
  display: grid;
  gap: 0.25rem;
}

.gan-audit-score input,
.gan-audit-notes textarea {
  width: 100%;
  border: 1px solid #dbe8e1;
  border-radius: 0.38rem;
  background: #fff;
  color: #17251d;
  font: inherit;
  font-weight: 800;
  padding: 0.42rem 0.55rem;
}

.gan-audit-transcript {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  border-bottom: 1px solid #edf3ef;
}

.gan-audit-transcript article {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: start;
  padding: 0.62rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.46rem;
  background: #fff;
}

.gan-audit-transcript button {
  border: 1px solid #c9e0d1;
  border-radius: 999px;
  background: #f5fbf7;
  color: #16813b;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.gan-audit-transcript p {
  margin: 0;
  color: #52615a;
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.45;
}

.gan-audit-transcript article > span {
  padding: 0.2rem 0.48rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.gan-audit-transcript .is-positive {
  background: #e9f8ee;
  color: #16813b;
}

.gan-audit-transcript .is-compliance {
  background: #eef6ff;
  color: #1d4ed8;
}

.gan-audit-transcript .is-pointer {
  background: #fff7ed;
  color: #c2410c;
}

.gan-audit-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
  padding: 0.85rem;
}

.gan-audit-notes button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid #b8dbc5;
  border-radius: 0.38rem;
  background: #16813b;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.gan-user-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.gan-user-board__table {
  min-width: 0;
  border: 1px solid #e2ebe6;
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 10px 26px rgba(24, 48, 34, 0.05);
}

.gan-user-board__scroll {
  min-width: 0;
  overflow-x: auto;
}

.gan-user-board__head {
  display: grid;
  grid-template-columns:
    minmax(12rem, 1.3fr)
    minmax(5.8rem, 0.7fr)
    minmax(5rem, 0.65fr)
    minmax(5rem, 0.65fr)
    minmax(7.2rem, 0.8fr)
    minmax(6.7rem, 0.75fr)
    minmax(6.8rem, 0.75fr)
    minmax(5rem, 0.65fr)
    minmax(5.4rem, 0.65fr)
    minmax(5rem, 0.65fr)
    minmax(6.2rem, 0.7fr);
  gap: 0.55rem;
  min-width: 76rem;
  padding: 0.72rem 0.82rem;
  border-bottom: 1px solid #e8f0eb;
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 880;
  text-transform: uppercase;
}

.gan-user-board__body {
  min-width: 76rem;
}

.gan-user-board__row {
  display: grid;
  grid-template-columns:
    minmax(12rem, 1.3fr)
    minmax(5.8rem, 0.7fr)
    minmax(5rem, 0.65fr)
    minmax(5rem, 0.65fr)
    minmax(7.2rem, 0.8fr)
    minmax(6.7rem, 0.75fr)
    minmax(6.8rem, 0.75fr)
    minmax(5rem, 0.65fr)
    minmax(5.4rem, 0.65fr)
    minmax(5rem, 0.65fr)
    minmax(6.2rem, 0.7fr);
  gap: 0.55rem;
  align-items: center;
  min-height: 3.1rem;
  padding: 0.6rem 0.82rem;
  border-bottom: 1px solid #edf3ef;
  color: #52615a;
  font-size: 0.8rem;
  font-weight: 780;
}

.gan-user-board__row:last-child {
  border-bottom: 0;
}

.gan-user-board__row:hover {
  background: #f8fbf9;
}

.gan-user-board__user {
  color: #17251d;
  font-weight: 900;
}

.gan-table-value {
  width: fit-content;
  min-width: 1.8rem;
  padding: 0.14rem 0.28rem;
  border: 1px solid transparent;
  border-radius: 0.32rem;
  background: transparent;
  color: #52615a;
  font: inherit;
  font-weight: 820;
  cursor: pointer;
}

.gan-table-value:hover,
.gan-table-value:focus-visible {
  border-color: #c9e0d1;
  background: #f5fbf7;
  color: #16813b;
  outline: none;
}

.gan-user-board__metric,
.gan-user-board__conversion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 2.15rem;
  min-height: 1.55rem;
  padding: 0.16rem 0.48rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.74rem;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.gan-user-board__metric--won {
  background: #e9f8ee;
  color: #16813b;
}

.gan-user-board__result-start {
  position: relative;
}

.gan-user-board__result-start::before {
  content: "";
  position: absolute;
  top: -0.72rem;
  bottom: -0.72rem;
  left: -1.05rem;
  width: 1px;
  background: #d8e5de;
}

.gan-user-board__row .gan-user-board__result-start::before {
  top: -0.6rem;
  bottom: -0.6rem;
}

.gan-user-board__metric--lost {
  background: #fff1f1;
  color: #b42318;
}

.gan-user-board__conversion {
  background: #eef6ff;
  color: #1d4ed8;
}

.gan-user-board__metric:hover,
.gan-user-board__metric:focus-visible,
.gan-user-board__conversion:hover,
.gan-user-board__conversion:focus-visible {
  border-color: currentColor;
  outline: none;
}

.gan-modal[hidden] {
  display: none;
}

.gan-modal {
  position: fixed;
  z-index: 2400;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.gan-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.36);
}

.gan-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  width: min(58rem, 100%);
  max-height: min(42rem, calc(100vh - 2.4rem));
  overflow: auto;
  padding: 1rem;
  border: 1px solid #dbe8e1;
  border-radius: 0.62rem;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
}

.gan-modal__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.gan-modal__eyebrow {
  margin: 0 0 0.24rem;
  color: #16813b;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-modal__header h2 {
  margin: 0;
  color: #17251d;
  font-size: 1.05rem;
  font-weight: 920;
}

.gan-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.4rem;
  background: #f8fbf9;
  color: #52615a;
  cursor: pointer;
}

.gan-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gan-modal__chips span {
  padding: 0.26rem 0.5rem;
  border: 1px solid #e2ebe6;
  border-radius: 999px;
  background: #f8fbf9;
  color: #52615a;
  font-size: 0.72rem;
  font-weight: 820;
}

.gan-modal-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e2ebe6;
  border-radius: 0.5rem;
}

.gan-modal-table--leads,
.gan-modal-table--calls {
  grid-template-columns: minmax(5rem, 0.7fr) minmax(9rem, 1fr) minmax(10rem, 1fr) minmax(8rem, 0.9fr) minmax(7rem, 0.8fr);
}

.gan-modal-table > span,
.gan-modal-table > strong {
  min-height: 2.5rem;
  padding: 0.62rem 0.7rem;
  border-bottom: 1px solid #edf3ef;
  color: #52615a;
  font-size: 0.78rem;
  font-weight: 760;
}

.gan-modal-table > span:nth-child(-n + 5) {
  color: #66726d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gan-modal-table > strong {
  color: #17251d;
  font-weight: 900;
}

.gan-conversion-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.gan-conversion-summary article {
  padding: 0.9rem;
  border: 1px solid #e2ebe6;
  border-radius: 0.5rem;
  background: #f8fbf9;
}

.gan-conversion-summary span,
.gan-modal__note {
  color: #66726d;
  font-size: 0.78rem;
  font-weight: 760;
}

.gan-conversion-summary strong {
  display: block;
  margin-top: 0.18rem;
  color: #17251d;
  font-size: 1.35rem;
  font-weight: 920;
}

.gan-modal__note {
  margin: 0;
}

.gan-user-board__empty {
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  min-width: 76rem;
  min-height: 10rem;
  padding: 2rem 1rem;
  color: #66726d;
  text-align: center;
}

.gan-user-board__empty .material-symbols-outlined {
  color: #16813b;
  font-size: 2rem;
}

.gan-user-board__empty strong {
  color: #17251d;
  font-size: 0.95rem;
  font-weight: 900;
}

.gan-user-board__empty em {
  max-width: 28rem;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 730;
}

.gan-empty-panel__canvas {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-height: 25rem;
  padding: 1.2rem;
  border: 1px dashed #d9e6df;
  border-radius: 0.55rem;
  background:
    linear-gradient(180deg, rgba(248, 251, 249, 0.96), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(90deg, rgba(21, 148, 71, 0.04) 0 1px, transparent 1px 6rem);
}

.gan-empty-panel__line,
.gan-empty-panel__grid span {
  display: block;
  border-radius: 999px;
  background: #e7f0eb;
}

.gan-empty-panel__line {
  height: 0.82rem;
  width: min(28rem, 78%);
}

.gan-empty-panel__line--wide {
  width: min(38rem, 92%);
}

.gan-empty-panel__line--short {
  width: min(18rem, 54%);
}

.gan-empty-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.gan-empty-panel__grid span {
  min-height: 8.8rem;
  border-radius: 0.45rem;
  background: linear-gradient(180deg, #f5faf7, #eef6f1);
}

.gan-chat-page {
  display: grid;
  gap: 0.9rem;
}

.gan-chat-empty,
.gan-chat-card,
.gan-chat-kpis article,
.gan-chat-user {
  border: 1px solid #e2ebe6;
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 10px 26px rgba(24, 48, 34, 0.05);
}

.gan-chat-empty {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 2.4rem 1.2rem;
  text-align: center;
}

.gan-chat-empty .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  background: #eef7f2;
  color: #16813b;
  font-size: 1.35rem;
}

.gan-chat-empty strong {
  color: #17251d;
  font-size: 1rem;
  font-weight: 900;
}

.gan-chat-empty p,
.gan-chat-muted {
  margin: 0;
  color: #6b7771;
  font-size: 0.78rem;
  font-weight: 720;
}

.gan-chat-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.gan-chat-kpis article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.65rem;
  min-height: 5rem;
  padding: 0.78rem;
}

.gan-chat-kpis .material-symbols-outlined {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: #e8f6ee;
  color: #16813b;
  font-size: 1.12rem;
}

.gan-chat-kpis strong {
  color: #17251d;
  font-size: 1.25rem;
  font-weight: 930;
  line-height: 1;
}

.gan-chat-kpis em {
  color: #66726d;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 780;
}

.gan-chat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
  gap: 0.8rem;
}

.gan-chat-card {
  min-width: 0;
  overflow: hidden;
}

.gan-chat-card > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 0.9rem;
  border-bottom: 1px solid #e7efea;
  background: #f8fbf9;
}

.gan-chat-card > header .material-symbols-outlined {
  color: #16813b;
  font-size: 1.08rem;
}

.gan-chat-card > header strong {
  min-width: 0;
  overflow: hidden;
  color: #17251d;
  font-size: 0.86rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gan-chat-card > header em {
  color: #718078;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 760;
  white-space: nowrap;
}

.gan-chat-question-list,
.gan-chat-theme-list {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
}

.gan-chat-question-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem;
  border: 1px solid #edf3ef;
  border-radius: 0.45rem;
  background: #fbfdfc;
}

.gan-chat-question-list span {
  min-width: 0;
  overflow: hidden;
  color: #24342b;
  font-size: 0.78rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gan-chat-question-list strong,
.gan-chat-theme-list strong,
.gan-chat-user summary b {
  color: #17251d;
  font-size: 0.78rem;
  font-weight: 900;
}

.gan-chat-question-list em {
  color: #74827a;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 720;
  white-space: nowrap;
}

.gan-chat-theme-list article {
  display: grid;
  gap: 0.42rem;
}

.gan-chat-theme-list article div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.gan-chat-theme-list span {
  color: #24342b;
  font-size: 0.78rem;
  font-weight: 800;
}

.gan-chat-theme-list i {
  display: block;
  height: 0.48rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e9f1ed;
}

.gan-chat-theme-list i b {
  display: block;
  width: var(--gan-chat-pct, 0%);
  height: 100%;
  border-radius: inherit;
  background: #16813b;
}

.gan-chat-conversation-table {
  display: grid;
  grid-template-columns: minmax(7rem, 0.75fr) minmax(5rem, 0.45fr) minmax(14rem, 1.55fr) minmax(6rem, 0.55fr) minmax(5rem, 0.42fr) minmax(4rem, 0.35fr) minmax(6rem, 0.5fr) auto;
  align-items: center;
  overflow-x: auto;
}

.gan-chat-conversation-table > span:nth-child(-n + 8) {
  background: #fbfdfc;
  color: #6a7770;
  font-size: 0.68rem;
  font-weight: 860;
  text-transform: uppercase;
}

.gan-chat-conversation-table > strong,
.gan-chat-conversation-table > span,
.gan-chat-conversation-table > time,
.gan-chat-conversation-table > button {
  min-width: 0;
  overflow: hidden;
  padding: 0.68rem 0.82rem;
  border-bottom: 1px solid #edf3ef;
  color: #293a30;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gan-chat-conversation-table > button,
.gan-chat-user-conversation footer button,
.gan-chat-review-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid #cfe4d7;
  border-radius: 0.42rem;
  background: #f4fbf7;
  color: #126b32;
  font-size: 0.72rem;
  font-weight: 880;
  cursor: pointer;
}

.gan-chat-conversation-table > button:hover,
.gan-chat-user-conversation footer button:hover,
.gan-chat-review-form button:hover {
  background: #e8f6ee;
}

.gan-chat-conversation-table > button {
  height: 100%;
}

.gan-chat-ticket-link,
.gan-chat-ticket-list a,
.gan-chat-user-conversation footer a,
.gan-chat-review-ticket-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  padding: 0 0.55rem;
  border: 1px solid #cfe4d7;
  border-radius: 0.4rem;
  background: #f4fbf7;
  color: #126b32;
  font-size: 0.7rem;
  font-weight: 880;
  text-decoration: none;
  white-space: nowrap;
}

.gan-chat-ticket-link:hover,
.gan-chat-ticket-list a:hover,
.gan-chat-user-conversation footer a:hover,
.gan-chat-review-ticket-link:hover {
  background: #e8f6ee;
}

.gan-chat-conversation-table > strong {
  font-weight: 880;
}

.gan-chat-conversation-table > time {
  color: #6f7c75;
  font-weight: 760;
}

.gan-chat-conversation-table__empty {
  grid-column: 1 / -1;
  padding: 1rem;
}

.gan-chat-users {
  display: grid;
  gap: 0.68rem;
}

.gan-chat-user {
  overflow: hidden;
}

.gan-chat-user summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 0.72rem;
  padding: 0.78rem 0.9rem;
  cursor: pointer;
  list-style: none;
}

.gan-chat-user summary::-webkit-details-marker {
  display: none;
}

.gan-chat-user__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #e8f6ee;
  color: #16813b;
  font-size: 0.82rem;
  font-weight: 930;
}

.gan-chat-user summary span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.gan-chat-user summary strong {
  min-width: 0;
  overflow: hidden;
  color: #17251d;
  font-size: 0.84rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gan-chat-user summary em,
.gan-chat-user summary time {
  color: #718078;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 740;
  white-space: nowrap;
}

.gan-chat-user summary .material-symbols-outlined {
  color: #16813b;
  font-size: 1.15rem;
  transition: transform 160ms ease;
}

.gan-chat-user[open] summary .material-symbols-outlined {
  transform: rotate(180deg);
}

.gan-chat-user__conversations {
  display: grid;
  gap: 0.65rem;
  padding: 0 0.9rem 0.9rem;
}

.gan-chat-user-conversation {
  display: grid;
  gap: 0.62rem;
  padding: 0.72rem;
  border: 1px solid #edf3ef;
  border-radius: 0.45rem;
  background: #fbfdfc;
}

.gan-chat-user-conversation header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.18rem 0.55rem;
}

.gan-chat-user-conversation header span {
  grid-row: span 2;
  color: #16813b;
  font-size: 0.74rem;
  font-weight: 900;
}

.gan-chat-user-conversation header strong {
  min-width: 0;
  overflow: hidden;
  color: #17251d;
  font-size: 0.82rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gan-chat-user-conversation header em {
  color: #74827a;
  font-size: 0.69rem;
  font-style: normal;
  font-weight: 730;
}

.gan-chat-user-conversation div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.gan-chat-user-conversation p {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  color: #2d3f34;
  font-size: 0.74rem;
  font-weight: 720;
  line-height: 1.45;
}

.gan-chat-user-conversation p span {
  color: #6f7c75;
  font-size: 0.66rem;
  font-weight: 860;
  text-transform: uppercase;
}

.gan-chat-user-conversation footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.gan-chat-user-conversation footer button {
  min-height: 2.05rem;
  padding: 0 0.72rem;
}

.gan-chat-ticket-list {
  display: grid;
  gap: 0.58rem;
  padding: 0.85rem;
}

.gan-chat-ticket-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.68rem;
  border: 1px solid #edf3ef;
  border-radius: 0.45rem;
  background: #fbfdfc;
}

.gan-chat-ticket-list article div {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}

.gan-chat-ticket-list strong {
  color: #16813b;
  font-size: 0.76rem;
  font-weight: 920;
}

.gan-chat-ticket-list span {
  min-width: 0;
  overflow: hidden;
  color: #24342b;
  font-size: 0.78rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gan-chat-ticket-list em {
  color: #718078;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 730;
}

.gan-chat-ticket-list button {
  min-height: 1.8rem;
  padding: 0 0.55rem;
  border: 1px solid #d8e6df;
  border-radius: 0.4rem;
  background: #fff;
  color: #26382e;
  font-size: 0.7rem;
  font-weight: 820;
  cursor: pointer;
  white-space: nowrap;
}

.gan-chat-ticket-list button:hover {
  background: #f4fbf7;
}

.gan-chat-review-modal[hidden] {
  display: none;
}

.gan-chat-review-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.gan-chat-review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 14, 0.48);
}

.gan-chat-review-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(70rem, 96vw);
  max-height: min(48rem, 92vh);
  overflow: hidden;
  border: 1px solid #d9e6df;
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 24px 70px rgba(11, 31, 18, 0.22);
}

.gan-chat-review-modal__panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid #e5eee9;
  background: #f8fbf9;
}

.gan-chat-review-modal__panel > header p,
.gan-chat-review-modal__panel > header h2 {
  margin: 0;
}

.gan-chat-review-modal__panel > header p {
  color: #6f7c75;
  font-size: 0.68rem;
  font-weight: 860;
  text-transform: uppercase;
}

.gan-chat-review-modal__panel > header h2 {
  color: #17251d;
  font-size: 1rem;
  font-weight: 930;
}

.gan-chat-review-modal__panel > header span:not(.material-symbols-outlined) {
  color: #718078;
  font-size: 0.72rem;
  font-weight: 740;
}

.gan-chat-review-modal__panel > header button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #d8e6df;
  border-radius: 0.45rem;
  background: #fff;
  color: #26382e;
  cursor: pointer;
}

.gan-chat-review-modal__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  min-height: 0;
}

.gan-chat-review-thread {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  padding: 1rem;
  background: #fbfdfc;
}

.gan-chat-review-message {
  display: grid;
  gap: 0.38rem;
  width: min(84%, 42rem);
  padding: 0.72rem 0.82rem;
  border: 1px solid #e1ece6;
  border-radius: 0.58rem;
  background: #fff;
}

.gan-chat-review-message--assistant {
  justify-self: start;
}

.gan-chat-review-message--user {
  justify-self: end;
  border-color: #cfe4d7;
  background: #f3fbf6;
}

.gan-chat-review-message header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.gan-chat-review-message strong {
  color: #17251d;
  font-size: 0.74rem;
  font-weight: 900;
}

.gan-chat-review-message time,
.gan-chat-review-message footer {
  color: #738179;
  font-size: 0.66rem;
  font-weight: 730;
}

.gan-chat-review-message p {
  margin: 0;
  white-space: pre-wrap;
  color: #293a30;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.48;
}

.gan-chat-review-form {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1rem;
  border-left: 1px solid #e5eee9;
  background: #fff;
}

.gan-chat-review-form label:not(.gan-chat-review-ticket) {
  display: grid;
  gap: 0.35rem;
}

.gan-chat-review-form label > span {
  color: #5e6d65;
  font-size: 0.7rem;
  font-weight: 860;
  text-transform: uppercase;
}

.gan-chat-review-form select,
.gan-chat-review-form textarea {
  width: 100%;
  border: 1px solid #d8e6df;
  border-radius: 0.45rem;
  background: #fbfdfc;
  color: #17251d;
  font-size: 0.78rem;
  font-weight: 720;
}

.gan-chat-review-form select {
  min-height: 2.35rem;
  padding: 0 0.65rem;
}

.gan-chat-review-form textarea {
  resize: vertical;
  min-height: 8rem;
  padding: 0.65rem;
  line-height: 1.45;
}

.gan-chat-review-ticket {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #26382e;
  font-size: 0.78rem;
  font-weight: 800;
}

.gan-chat-review-ticket input {
  width: 1rem;
  height: 1rem;
  accent-color: #16813b;
}

.gan-chat-review-ticket-link {
  justify-self: start;
}

.gan-chat-review-form p {
  min-height: 1.1rem;
  margin: 0;
  color: #6f7c75;
  font-size: 0.72rem;
  font-weight: 780;
}

.gan-chat-review-form p[data-state="error"] {
  color: #b42318;
}

.gan-chat-review-form p[data-state="success"] {
  color: #16813b;
}

.gan-chat-review-form button {
  min-height: 2.35rem;
  padding: 0 0.8rem;
  background: #16813b;
  color: #fff;
}

.gan-chat-review-form button:hover {
  background: #126b32;
}

.gan-chat-review-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 980px) {
  .gan-tabs,
  .gan-empty-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gan-page .wmg-subtabs-row {
    align-items: stretch;
    flex-direction: column;
  }

  .gan-page .wmg-subtabs,
  .gan-date-range {
    width: 100%;
  }

  .gan-date-range {
    justify-content: flex-start;
  }

  .gan-filter-bar {
    grid-template-columns: 1fr;
  }

  .gan-funnel-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gan-goals-page .gan-funnel-filter-bar {
    grid-template-columns: 1fr;
  }

  .gan-filter-bar__button {
    width: 100%;
  }

  .gan-funnel-filter-bar .gan-custom-filter-box,
  .gan-funnel-filter-bar .gan-filter-bar__button {
    grid-column: 1 / -1;
  }

  .gan-kpi-strip,
  .gan-overview-kpis,
  .gan-trend-kpis,
  .gan-alert-kpis,
  .gan-quality-kpis,
  .gan-validation-kpis,
  .gan-refusal-kpis,
  .gan-goal-kpis,
  .gan-audit-kpis,
  .gan-overview-status,
  .gan-user-board,
  .gan-overview-grid,
  .gan-production-summary-grid,
  .gan-trends-grid,
  .gan-funnel-grid,
  .gan-quality-grid,
  .gan-validation-grid,
  .gan-validation-review__body,
  .gan-refusal-grid,
  .gan-refusal-review__body,
  .gan-goals-grid,
  .gan-audit-workspace,
  .gan-chat-grid {
    grid-template-columns: 1fr;
  }

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

  .gan-chat-review-modal__body {
    grid-template-columns: 1fr;
  }

  .gan-chat-review-form {
    border-top: 1px solid #e5eee9;
    border-left: 0;
  }

  .gan-overview-mini-funnel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gan-alert-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gan-alert-filter-bar .gan-custom-filter-box,
  .gan-alert-filter-bar .gan-filter-bar__button {
    grid-column: 1 / -1;
  }

  .gan-overview-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gan-funnel-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gan-user-board__head {
    display: none;
  }

  .gan-user-board__empty {
    min-width: 0;
  }

  .gan-user-board__body,
  .gan-user-board__row {
    min-width: 0;
  }

  .gan-user-board__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gan-user-board__user {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .app-main:has(#general-analysis-page) {
    width: 100%;
  }

  .gan-tabs,
  .gan-empty-panel__grid {
    grid-template-columns: 1fr;
  }

  .gan-page .wmg-subtabs {
    overflow-x: auto;
  }

  .gan-date-range {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .gan-date-range__field {
    min-width: 0;
  }

  .gan-date-range__presets {
    grid-column: 1 / -1;
    margin-left: 0;
    overflow-x: auto;
  }

  .gan-filter-bar,
  .gan-overview-kpis,
  .gan-trend-kpis,
  .gan-alert-kpis,
  .gan-kpi-strip,
  .gan-quality-kpis,
  .gan-validation-kpis,
  .gan-refusal-kpis,
  .gan-goal-kpis,
  .gan-audit-kpis,
  .gan-overview-mini-funnel,
  .gan-overview-highlights,
  .gan-alert-filter-bar,
  .gan-funnel-filter-bar,
  .gan-funnel-flow,
  .gan-chat-kpis,
  .gan-chat-user summary,
  .gan-chat-user-conversation div {
    grid-template-columns: 1fr;
  }

  .gan-chat-card > header,
  .gan-chat-question-list article {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .gan-chat-card > header em,
  .gan-chat-question-list em {
    grid-column: 2;
  }

  .gan-chat-conversation-table {
    grid-template-columns: minmax(7rem, 0.8fr) minmax(5rem, 0.5fr) minmax(13rem, 1.4fr) minmax(6rem, 0.55fr) minmax(5rem, 0.42fr) minmax(4rem, 0.35fr) minmax(6rem, 0.5fr) minmax(5rem, 0.45fr);
  }

  .gan-chat-ticket-list article {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .gan-chat-user summary time,
  .gan-chat-user summary .material-symbols-outlined {
    justify-self: start;
  }

  .gan-chat-review-modal {
    padding: 0.45rem;
  }

  .gan-chat-review-modal__panel {
    width: 100%;
    max-height: 96vh;
  }

  .gan-chat-review-message {
    width: 100%;
  }

  .gan-funnel-stage:not(:last-child)::after {
    display: none;
  }

  .gan-audit-player,
  .gan-audit-score,
  .gan-audit-notes,
  .gan-audit-transcript article,
  .gan-validation-review__body,
  .gan-refusal-review__body,
  .gan-refusal-history article {
    grid-template-columns: 1fr;
  }

  .gan-empty-panel__canvas {
    min-height: 18rem;
  }
}
