
.gd-module-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.gd-module-card {
  --module-color: #7853c9;
  --module-tint: #f2edff;
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 14px #17345506;
  min-width: 0;
}
.gd-module-card[data-module="produccion"] {
  --module-color: #2479d1;
  --module-tint: #edf4ff;
}
.gd-module-card[data-module="materiales"] {
  --module-color: #119b86;
  --module-tint: #e9f8f2;
}
.gd-module-card[data-selected="true"] {
  border-color: var(--module-color);
  box-shadow: 0 0 0 2px var(--module-tint);
}
.gd-module-visual {
  display: grid;
  place-items: center;
  position: relative;
  height: 104px;
  border-bottom: 1px solid #edf2f8;
  background: linear-gradient(180deg, #fff, #fcfdff);
}
.gd-module-symbol {
  height: 50px;
  width: 50px;
  display: grid;
  place-items: center;
  background: var(--module-tint);
  color: var(--module-color);
  border: 1px solid color-mix(in srgb, var(--module-color) 23%, white);
  border-radius: 13px;
}
.gd-module-symbol svg {
  width: 25px;
  height: 25px;
}
.gd-module-state {
  position: absolute;
  right: 12px;
  top: 11px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.4px;
  border-radius: 5px;
  padding: 4px 7px;
  background: #f2f5f9;
  color: #7a8b9d;
}
.gd-module-state[data-state="ready"] {
  background: #e9f9ef;
  color: #19814a;
  border: 1px solid #c6ebd4;
}
.gd-module-state[data-state="error"] {
  background: #fff3e4;
  color: #9c681f;
}
.gd-module-copy {
  padding: 17px;
}
.gd-module-copy h2 {
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.gd-module-copy > p {
  font-size: 11px;
  color: #73879e;
  line-height: 1.6;
  min-height: 35px;
  margin-bottom: 15px;
}
.gd-module-numbers {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  min-height: 45px;
}
.gd-module-numbers > div {
  flex: 1;
  min-width: 0;
}
.gd-module-numbers b {
  display: block;
  color: #24476c;
  font-size: 23px;
  letter-spacing: -0.6px;
  line-height: 1.2;
}
.gd-module-numbers small {
  font-size: 10px;
  color: #8193a6;
  display: block;
  margin-top: 4px;
}
.gd-module-copy > button {
  width: 100%;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid #dbe5f1;
  color: var(--module-color);
  font-size: 11px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.gd-module-copy > button[aria-expanded="true"] {
  background: var(--module-tint);
  border-color: var(--module-color);
}
.gd-cards-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.gd-cards-heading h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
  margin: 0;
}
.gd-cards-heading span {
  color: #8394a7;
  font-size: 11px;
}
.gd-overview-note {
  border: 1px dashed #d2dfef;
  background: #eef4fb;
  border-radius: 13px;
  padding: 19px 20px;
  font-size: 12px;
  line-height: 1.7;
  color: #63809d;
}
.gd-grid.gd-detail {
  grid-template-columns: 1fr;
}
.gd-grid.gd-detail .gd-right {
  display: contents;
}
.gd-grid.gd-detail .gd-panel {
  width: 100%;
}
.gd-grid.gd-detail .gd-content {
  padding: 24px;
}
.gd-grid.gd-detail .gd-bars {
  max-width: 900px;
}
.gd-detail .gd-panel-head h2 {
  font-size: 17px;
}
.gd-detail .gd-mini span {
  font-size: 12px;
}
.gd-detail .gd-panel-head {
  background: #f8fafd;
}
.gd-kpis {
  margin-top: 0;
}
@media (max-width: 1100px) {
  .gd-module-cards {
    gap: 12px;
  }
  .gd-module-copy {
    padding: 15px;
  }
  .gd-module-numbers {
    gap: 9px;
  }
  .gd-module-numbers b {
    font-size: 21px;
  }
}
@media (max-width: 800px) {
  .gd-module-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gd-module-visual {
    height: 88px;
  }
  .gd-module-copy > p {
    min-height: 0;
  }
  .gd-module-copy {
    padding: 18px;
  }
  .gd-module-numbers {
    min-height: 0;
    margin: 14px 0;
  }
  .gd-module-numbers b {
    font-size: 25px;
  }
  .gd-module-copy > button {
    min-height: 42px;
    font-size: 12px;
  }
  .gd-cards-heading span {
    font-size: 10px;
  }
  .gd-grid.gd-detail .gd-content {
    padding: 17px;
  }
  .gd-cards-heading h2 {
    font-size: 15px;
  }
}
