/* Reportes de Software: interfaz conceptual, sin conexiones de datos reales. */
#reportes.gr-section { padding: 56px 0 48px; background: #f6f3eb; color: #0b0d0b; font: 400 16px/1.5 "DM Sans",Arial,sans-serif; scroll-margin-top: 96px; }
#reportes.gr-section, #reportes.gr-section * { box-sizing: border-box; }
#reportes :where(h2,h3,h4,p,ul,dl,dt,dd,figure,figcaption) { margin: 0; }
#reportes :is(h2,h3,h4,.gr-value,.gr-subvalue,.gr-wordmark) { font-family: "Manrope",Arial,sans-serif; color: #0b0d0b; }
#reportes .gr-shell { width: min(calc(100% - 160px),1440px); margin-inline: auto; }
#reportes .gr-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: end; margin-bottom: 30px; }
#reportes .gr-kicker { font-size: 12px; letter-spacing: .15em; color: #48622e; text-transform: uppercase; margin-bottom: 15px; }
#reportes .gr-heading h2 { font-size: clamp(34px,3.35vw,49px); line-height: 1.18; letter-spacing: -.045em; font-weight: 800; }
#reportes .gr-description { font-size: 18px; color: #48622e; margin-top: 10px; }
#reportes .gr-cta { display: inline-flex; gap: 8px; align-items: center; justify-content: center; border-radius: 99px; padding: 14px 24px; background: #c7f45b; color: #0b0d0b; text-decoration: none; font-weight: 700; white-space: nowrap; }
#reportes .gr-cta:focus-visible { outline: 3px solid #48622e; outline-offset: 4px; }
#reportes .gr-window { display: grid; grid-template-columns: 184px minmax(0,1fr); overflow: hidden; border: 1px solid #dedbd2; border-radius: 24px; background: #fffdf8; box-shadow: 0 32px 42px -30px #0b0d0b55; }
#reportes .gr-sidebar { background: #0b0d0b; padding: 22px 14px; color: #d4d6cc; }
#reportes .gr-wordmark { color: #f6f3eb; font-weight: 800; letter-spacing: .08em; font-size: 22px; margin: 0 8px 24px; }
#reportes .gr-sidebar ul { list-style: none; padding: 0; display: grid; gap: 4px; }
#reportes .gr-sidebar li { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 14px; font-size: 14px; }
#reportes .gr-sidebar li[aria-current] { background: #c7f45b; color: #0b0d0b; font-weight: 700; }
#reportes .gr-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#reportes .gr-main { min-width: 0; padding: 24px; }
#reportes .gr-app-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 20px; }
#reportes .gr-app-heading h3 { font-size: 26px; line-height: 1.3; letter-spacing: -.03em; font-weight: 800; }
#reportes .gr-objective { color: #48622e; font-size: 16px; }
#reportes .gr-period { text-align: right; flex-shrink: 0; color: #4e554b; font-size: 13px; }
#reportes .gr-period span { display: inline-block; border: 1px solid #dad7cd; border-radius: 99px; background: #f6f3eb; padding: 5px 15px; margin-bottom: 5px; }
#reportes .gr-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) minmax(0,1.14fr); gap: 12px; }
#reportes .gr-kpi { display: flex; flex-direction: column; align-items: start; min-width: 0; padding: 18px; background: #f6f3eb; border-radius: 16px; gap: 8px; }
#reportes .gr-value { font-size: clamp(28px,2.45vw,36px); font-weight: 800; line-height: 1.2; letter-spacing: -.045em; white-space: nowrap; }
#reportes .gr-currency { font-size: 12px; font-family: "DM Sans",Arial,sans-serif; color: #48622e; margin-left: 3px; font-weight: 700; letter-spacing: 0; }
#reportes .gr-kpi h4 { font: 400 15px/1.45 "DM Sans",Arial,sans-serif; color: #48622e; }
#reportes .gr-change { margin-top: auto; border-radius: 10px; background: #e8e5dc; color: #333a2e; padding: 7px 9px; font-size: 12px; line-height: 1.4; }
#reportes .gr-change strong { color: #0b0d0b; }
#reportes .gr-change-good { background: #e0f2d3; }
#reportes .gr-qualified { border: 1.5px solid #c7f45b; background: #eef7d6; }
#reportes .gr-qualified-detail { border-top: 1px solid #c8d4b0; padding-top: 9px; align-self: stretch; }
#reportes .gr-subvalue { font-size: 24px; font-weight: 800; line-height: 1.3; letter-spacing: -.03em; }
#reportes .gr-qualified-detail p { font-size: 13px; color: #48622e; }
#reportes .gr-qualified-detail .gr-subvalue { font-size: 24px; color: #0b0d0b; }
#reportes .gr-pending { font-size: 11px; color: #48622e; border: 1px dashed #77875e; padding: 2px 7px; border-radius: 99px; margin-top: 2px; }
#reportes .gr-panels { display: grid; grid-template-columns: minmax(0,1.85fr) minmax(0,1fr); gap: 16px; margin-top: 16px; }
#reportes .gr-distribution { min-width: 0; border: 1px solid #dedbd2; border-radius: 16px; padding: 20px; }
#reportes .gr-distribution h4 { font-size: 23px; font-weight: 800; line-height: 1.3; letter-spacing: -.03em; margin-bottom: 22px; }
#reportes .gr-stacked-bar { display: grid; grid-template-columns: 60fr 40fr; border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
#reportes .gr-stacked-bar span { padding: 10px; text-align: center; font-weight: 700; }
#reportes .gr-stacked-bar span:first-child { background: #48622e; color: #fffdf8; }
#reportes .gr-stacked-bar span:last-child { background: #c7f45b; color: #0b0d0b; }
#reportes .gr-channel { display: grid; grid-template-columns: minmax(0,1fr) auto 45px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #dedbd2; }
#reportes .gr-channel:last-child { border-bottom: 0; padding-bottom: 0; }
#reportes .gr-channel dt { display: flex; align-items: center; gap: 12px; font-size: 15px; }
#reportes .gr-channel dd { font-size: 15px; font-weight: 700; white-space: nowrap; }
#reportes .gr-channel dd:last-child { text-align: right; }
#reportes .gr-dot { width: 22px; height: 22px; border-radius: 50%; background: #48622e; flex: none; }
#reportes .gr-dot-meta { background: #c7f45b; }
#reportes .gr-decisions { min-width: 0; padding: 22px; border-radius: 16px; background: #0b0d0b; color: #f6f3eb; }
#reportes .gr-decisions h4 { color: #c7f45b; font: 500 12px/1.5 "DM Sans",Arial,sans-serif; text-transform: uppercase; letter-spacing: .055em; margin-bottom: 9px; }
#reportes .gr-decisions p { font-size: 18px; line-height: 1.45; font-weight: 500; }
#reportes .gr-next { margin-top: 20px; padding-top: 20px; border-top: 1px solid #30372c; }
#reportes .gr-caption { display: flex; justify-content: space-between; gap: 24px; margin-top: 18px; font-size: 12px; color: #4e554b; }
@media (max-width: 1200px) {
  #reportes .gr-shell { width: calc(100% - 64px); }
  #reportes .gr-window { grid-template-columns: 160px minmax(0,1fr); }
  #reportes .gr-main { padding: 20px; }
  #reportes .gr-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #reportes .gr-kpi { gap: 10px; }
  #reportes .gr-panels { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
}
@media (max-width: 760px) {
  #reportes.gr-section { padding: 32px 0; }
  #reportes .gr-shell { width: calc(100% - 32px); }
  #reportes .gr-heading { grid-template-columns: minmax(0,1fr); gap: 20px; margin-bottom: 24px; }
  #reportes .gr-heading h2 { font-size: 32px; }
  #reportes .gr-description { font-size: 17px; }
  #reportes .gr-cta { justify-self: start; font-size: 15px; }
  #reportes .gr-window { display: block; border-radius: 20px; }
  #reportes .gr-sidebar { padding: 16px 12px 12px; }
  #reportes .gr-wordmark { font-size: 20px; margin-bottom: 12px; }
  #reportes .gr-sidebar ul { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2px; }
  #reportes .gr-sidebar li { gap: 6px; padding: 10px 6px; justify-content: center; font-size: 12px; border-radius: 10px; }
  #reportes .gr-icon { width: 16px; height: 16px; }
  #reportes .gr-main { padding: 18px 14px; }
  #reportes .gr-app-heading { display: block; margin-bottom: 18px; }
  #reportes .gr-app-heading h3 { font-size: 23px; }
  #reportes .gr-objective { font-size: 15px; margin-top: 5px; }
  #reportes .gr-period { text-align: left; margin-top: 12px; font-size: 12px; }
  #reportes .gr-kpis { gap: 10px; }
  #reportes .gr-kpi { padding: 15px; }
  #reportes .gr-kpi:first-child, #reportes .gr-qualified { grid-column: 1/-1; }
  #reportes .gr-value { font-size: 29px; }
  #reportes .gr-kpi h4 { font-size: 14px; }
  #reportes .gr-change { margin-top: 8px; font-size: 12px; padding: 6px 7px; }
  #reportes .gr-change span { display: block; }
  #reportes .gr-qualified-detail { width: 100%; }
  #reportes .gr-panels { grid-template-columns: minmax(0,1fr); }
  #reportes .gr-distribution { padding: 17px 14px; }
  #reportes .gr-distribution h4 { font-size: 22px; margin-bottom: 18px; }
  #reportes .gr-channel { gap: 6px; grid-template-columns: minmax(0,1fr) auto 35px; }
  #reportes .gr-channel dt { gap: 7px; font-size: 13px; }
  #reportes .gr-channel dd { font-size: 13px; }
  #reportes .gr-channel .gr-currency { font-size: 10px; }
  #reportes .gr-dot { width: 16px; height: 16px; }
  #reportes .gr-decisions { padding: 20px; }
  #reportes .gr-caption { flex-direction: column; gap: 8px; font-size: 13px; }
}
