.odv1-shell{
  --odv1-green:#0b8f69;
  --odv1-green-dark:#07654d;
  --odv1-green-soft:#edf8f3;
  --odv1-ink:#13211c;
  --odv1-muted:#65736d;
  --odv1-border:#dfe9e4;
  display:grid;
  gap:18px;
  max-width:1180px;
  margin:0 auto;
  padding-bottom:30px;
  color:var(--odv1-ink);
  font-family:'Instrument Sans', Inter,"SF Pro Display","SF Pro Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-feature-settings:"tnum" 1,"cv11" 1;
}

.odv1-page-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  padding:2px 2px 0;
}
.odv1-page-head h3{
  margin:5px 0 7px;
  font-size:32px;
  line-height:1.1;
  font-weight:700;
  letter-spacing:normal;
  color:var(--brand-text,#12211c);
}
.odv1-page-head p{
  margin:0;
  color:var(--odv1-muted);
  max-width:680px;
  font-size:14px;
  line-height:1.45;
}
.odv1-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.odv1-kicker{
  display:block;
  font-size:10px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--odv1-green-dark);
}

/* Contenedores principales */
.odv1-step,
.odv1-detail{
  background:#fff;
  border:1px solid var(--odv1-border);
  border-radius:22px;
  padding:22px;
  box-shadow:0 16px 42px rgba(20,55,43,.055);
}
.odv1-step:first-of-type{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 89% 18%,rgba(11,143,105,.09),transparent 18%),
    linear-gradient(135deg,#fbfdfc 0%,#fff 58%,#f1faf6 100%);
  border-color:#d5e8df;
}
.odv1-step:first-of-type::after{
  content:"";
  position:absolute;
  width:250px;
  height:100px;
  right:-30px;
  top:14px;
  opacity:.45;
  pointer-events:none;
  background:
    linear-gradient(155deg,transparent 47%,rgba(11,143,105,.19) 48%,rgba(11,143,105,.19) 49%,transparent 50%),
    repeating-linear-gradient(90deg,transparent 0 26px,rgba(11,143,105,.06) 27px 40px);
  border-radius:80% 10% 0 80%;
}
.odv1-step>*{position:relative;z-index:1}

.odv1-step-head{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:17px;
}
.odv1-step-number{
  width:31px;
  height:31px;
  flex:0 0 31px;
  border-radius:10px;
  background:#e7f5ef;
  color:var(--odv1-green-dark);
  font-weight:900;
  display:grid;
  place-items:center;
  box-shadow:inset 0 0 0 1px rgba(11,143,105,.05);
}
.odv1-step-head h4{
  margin:0 0 4px;
  font-size:19px;
  font-weight:700;
  letter-spacing:normal;
  color:var(--brand-text,#17231f);
}
.odv1-step-head p{
  margin:0;
  color:var(--odv1-muted);
  font-size:12px;
  line-height:1.5;
}

/* Sistema único de tarjetas */
.odv1-summary-cards,
.odv1-insights{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.odv1-summary-card,
.odv1-insight,
.odv1-section-button{
  border:1px solid var(--odv1-border);
  border-radius:18px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 28px rgba(17,49,38,.055);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.odv1-summary-card:hover,
.odv1-insight:hover,
.odv1-section-button:not(.disabled):hover{
  border-color:#c2dfd2;
  box-shadow:0 14px 34px rgba(11,107,79,.09);
  transform:translateY(-1px);
}

.odv1-summary-card{
  padding:20px;
  min-width:0;
  min-height:158px;
  display:flex;
  flex-direction:column;
}
.odv1-summary-card.attention{
  background:linear-gradient(145deg,#fff 0%,#f4fbf7 100%);
  border-color:#cfe6dc;
}
.odv1-summary-card>span{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:600;
  letter-spacing:normal;
  color:#40564d;
}
.odv1-summary-card>span::before{
  content:"";
  width:9px;
  height:9px;
  flex:0 0 9px;
  border-radius:999px;
  background:var(--odv1-green);
  box-shadow:0 0 0 6px rgba(11,143,105,.09);
  margin-right:4px;
}
.odv1-summary-card>span em{
  font-style:normal;
  font-size:9px;
  font-weight:850;
  padding:3px 7px;
  border-radius:999px;
  background:#dff2e8;
  color:#087252;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.odv1-summary-card>b{
  display:block;
  margin-top:17px;
  font-size:31px;
  line-height:1;
  font-weight:700;
  letter-spacing:normal;
  color:var(--brand-text,#101d18);
}
.odv1-summary-card>small{
  display:block;
  margin-top:8px;
  color:var(--odv1-muted);
  font-size:11px;
  min-height:16px;
  line-height:1.4;
}
.odv1-help{
  margin-top:auto;
  padding:14px 0 0;
  border:0;
  background:transparent;
  color:var(--odv1-green-dark);
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  text-align:left;
}
.odv1-help::after{content:"  →"}
.odv1-help:hover{text-decoration:none;color:var(--odv1-green)}

/* Alertas: mismas tarjetas, no banners */
.odv1-insight{
  position:relative;
  display:block;
  padding:19px 19px 18px;
  min-height:190px;
  overflow:hidden;
}
.odv1-insight-rank{
  position:absolute;
  top:15px;
  left:15px;
  width:26px;
  height:26px;
  border-radius:9px;
  background:#e8f4ef;
  color:#1d5543;
  font-size:11px;
  font-weight:900;
  display:grid;
  place-items:center;
}
.odv1-insight-icon{
  width:44px;
  height:44px;
  margin:32px 0 12px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:17px;
  font-weight:900;
  background:#e8f6f0;
  color:var(--odv1-green-dark);
}
.odv1-insight.good,
.odv1-insight.warn{
  background:linear-gradient(145deg,#fff 0%,#f7fcfa 100%);
  border-color:#d5e8df;
}
.odv1-insight.good .odv1-insight-icon,
.odv1-insight.warn .odv1-insight-icon{
  background:#e4f5ed;
  color:#087252;
}
.odv1-insight.bad{
  background:linear-gradient(145deg,#fff 0%,#fff9f9 100%);
  border-color:#f0d8d8;
}
.odv1-insight.bad .odv1-insight-icon{background:#fdecec;color:#b42318}
.odv1-insight.info{
  background:linear-gradient(145deg,#fff 0%,#f7fbff 100%);
  border-color:#d9e7f4;
}
.odv1-insight.info .odv1-insight-icon{background:#eaf4ff;color:#1477c9}
.odv1-insight-copy b{
  display:block;
  font-size:13px;
  line-height:1.28;
  margin:0 0 7px;
  font-weight:800;
  color:#17231f;
}
.odv1-insight-copy p{
  margin:0;
  color:var(--odv1-muted);
  font-size:11px;
  line-height:1.55;
}
.odv1-insight-copy button{
  border:0;
  background:transparent;
  padding:0;
  margin-top:12px;
  font-size:11px;
  font-weight:820;
  color:var(--odv1-green-dark);
  cursor:pointer;
}
.odv1-insight-copy button::after{content:"  →"}
.odv1-insight-copy button:hover{color:var(--odv1-green)}

/* Explorar: misma familia visual */
.odv1-section-nav{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:11px;
  align-items:stretch;
}
.odv1-section-button{
  min-height:102px;
  height:100%;
  padding:14px;
  text-align:left;
  display:grid;
  grid-template-columns:38px 1fr 7px;
  gap:10px;
  align-items:center;
  cursor:pointer;
  color:inherit;
}
.odv1-section-button.active{
  background:linear-gradient(145deg,#fff 0%,var(--valen-active-1-bg-to) 100%);
  border-color:var(--valen-active-1-border);
}
.odv1-section-button.disabled{
  opacity:.52;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}
.odv1-section-icon{
  width:38px;
  height:38px;
  border-radius:13px;
  background:#e9f5f0;
  display:grid;
  place-items:center;
  font-weight:700;
  color:var(--odv1-green-dark);
}
.odv1-section-button.disabled .odv1-section-icon{background:#f0f2f4;color:#6d7780}
.odv1-section-button b{display:block;min-height:27.5px;font-size:11px;line-height:1.25;font-weight:700}
.odv1-section-button small{display:block;font-size:9px;color:var(--odv1-muted);margin-top:5px}
.odv1-section-arrow{font-size:20px;color:var(--odv1-green)}

/* Detalles por etapa */
.odv1-detail{
  border-color:#cce2d8;
  box-shadow:0 18px 46px rgba(11,81,61,.07);
  scroll-margin-top:86px;
}
.odv1-detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}
.odv1-detail-head h4{margin:4px 0 4px;font-size:19px;font-weight:800;letter-spacing:-.025em}
.odv1-detail-head p{margin:0;color:var(--odv1-muted);font-size:12px;line-height:1.5;max-width:720px}
.odv1-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.odv1-detail-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.odv1-detail-metric{
  border:1px solid var(--odv1-border);
  border-radius:16px;
  padding:14px;
  background:#fbfdfc;
}
.odv1-detail-metric>span{display:block;font-size:9px;font-weight:820;color:var(--odv1-muted);text-transform:uppercase;letter-spacing:.05em}
.odv1-detail-metric>b{display:block;font-size:20px;margin-top:7px;line-height:1.2;font-weight:800}
.odv1-detail-metric>small{display:block;margin-top:5px;font-size:10px;color:var(--odv1-muted);line-height:1.4}
.odv1-detail-metric.good{border-color:#cae6d8;background:#f5fcf8}
.odv1-detail-metric.bad{border-color:#efdada;background:#fffafa}
.odv1-detail-metric.warn{border-color:#d5e8df;background:#f7fcfa}
.odv1-detail-metric.info{border-color:#dce8f3;background:#f9fcff}
.odv1-explain-box{display:flex;gap:7px;align-items:flex-start;margin-top:12px;padding:12px 14px;border-radius:14px;background:#eff9f5;border:1px solid #d4ebe0;font-size:11px;line-height:1.45}
.odv1-explain-box b{white-space:nowrap;color:var(--odv1-green-dark)}
.odv1-explain-box span{color:#475b52}
.odv1-detail-subhead{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;margin-top:18px;margin-bottom:9px}
.odv1-detail-subhead b{font-size:13px}.odv1-detail-subhead span{font-size:10px;color:var(--odv1-muted);text-align:right}
.odv1-trend{height:150px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:end;border:1px solid #e7efeb;border-radius:16px;padding:13px 12px 9px;background:#fbfdfc}
.odv1-trend-col{height:100%;display:grid;grid-template-rows:1fr 18px;gap:4px;text-align:center}
.odv1-trend-track{height:100%;min-height:82px;border-radius:8px;background:rgba(11,143,105,.035);display:flex;align-items:flex-end;padding:0 5px;overflow:hidden}
.odv1-trend-bar{width:100%;display:block;min-height:4px;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#16a67b,#087252)}
.odv1-trend-day{font-size:9px;color:var(--odv1-muted);text-transform:capitalize}
.odv1-detail-lines{display:grid;gap:7px;margin-top:12px;padding-top:11px;border-top:1px solid var(--odv1-border)}
.odv1-detail-lines div{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--odv1-muted)}
.odv1-detail-lines b{color:#13211c;font-variant-numeric:tabular-nums}
.odv1-simple-list{display:grid;gap:7px}
.odv1-list-row{display:grid;grid-template-columns:26px 1fr auto;gap:9px;align-items:center;border-bottom:1px solid #eaf0ed;padding:8px 0}
.odv1-list-row:last-child{border-bottom:0}
.odv1-list-index{width:24px;height:24px;border-radius:8px;background:#eaf5f0;display:grid;place-items:center;font-size:10px;font-weight:900;color:#376354}
.odv1-list-row b{display:block;font-size:12px}.odv1-list-row small{display:block;margin-top:2px;font-size:10px;color:var(--odv1-muted)}
.odv1-list-note{font-size:9px;color:var(--odv1-muted);white-space:nowrap}
.odv1-coming-block{margin-top:14px;border:1px dashed #c9d9d1;border-radius:15px;padding:14px;background:#fafcfb}
.odv1-coming-block span{display:block;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:#587067}
.odv1-coming-block b{display:block;margin-top:5px;font-size:12px}.odv1-coming-block p{margin:4px 0 0;color:var(--odv1-muted);font-size:11px}

/* Educación compacta */
.odv1-color-guide{
  width:100%;
  border:1px solid var(--odv1-border);
  border-radius:16px;
  background:linear-gradient(90deg,#fff,#f8fcfa);
  padding:13px 15px;
  display:grid;
  grid-template-columns:32px 1fr auto;
  gap:11px;
  align-items:center;
  text-align:left;
  cursor:pointer;
  color:inherit;
  box-shadow:0 8px 24px rgba(17,49,38,.035);
}
.odv1-color-guide>span{width:30px;height:30px;border-radius:10px;background:#e7f5ef;color:var(--odv1-green-dark);font-weight:700;display:grid;place-items:center}
.odv1-color-guide b{display:block;font-size:11px;font-weight:700}.odv1-color-guide small{display:block;color:var(--odv1-muted);font-size:9px;margin-top:3px}.odv1-color-guide strong{font-size:10px;color:var(--odv1-green-dark)}

.odv1-empty{padding:22px;text-align:center;color:var(--odv1-muted);font-size:11px}
.odv1-loading{min-height:320px;border:1px solid var(--odv1-border);border-radius:20px;background:#fff;display:grid;place-items:center;align-content:center;gap:8px;color:var(--odv1-muted)}
.odv1-loading b{color:#13211c}
.odv1-spinner{width:30px;height:30px;border:3px solid #e2ece7;border-top-color:var(--odv1-green);border-radius:50%;animation:odv1spin .8s linear infinite}
.odv1-explain-overlay{position:fixed;inset:0;background:rgba(12,30,23,.42);z-index:999999;display:grid;place-items:center;padding:20px}
.odv1-explain-modal{width:min(440px,100%);background:#fff;border:1px solid var(--odv1-border);border-radius:20px;padding:22px;box-shadow:0 28px 80px rgba(8,36,26,.24);position:relative;font-family:inherit}
.odv1-explain-modal h4{margin:5px 0 8px;font-size:19px;font-weight:700}.odv1-explain-modal p{margin:0 0 16px;color:#475b52;font-size:13px;line-height:1.55}.odv1-explain-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:24px;color:#64748b;cursor:pointer}

@keyframes odv1spin{to{transform:rotate(360deg)}}

@media(max-width:1000px){
  .odv1-insights{grid-template-columns:repeat(2,minmax(0,1fr))}
  .odv1-insight:last-child{grid-column:1/-1}
  .odv1-section-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
  .odv1-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .odv1-page-head{display:grid}
  .odv1-head-actions{justify-content:flex-start}
  .odv1-page-head h3{font-size:29px}
  .odv1-summary-cards,.odv1-insights{grid-template-columns:1fr}
  .odv1-insight:last-child{grid-column:auto}
  .odv1-section-nav{grid-template-columns:1fr 1fr}
  .odv1-detail-grid,.odv1-detail-grid.three{grid-template-columns:1fr 1fr}
  .odv1-detail-subhead{display:grid}.odv1-detail-subhead span{text-align:left}
}
@media(max-width:520px){
  .odv1-step,.odv1-detail{padding:16px}
  .odv1-page-head h3{font-size:27px}
  .odv1-section-nav{grid-template-columns:1fr}
  .odv1-detail-grid,.odv1-detail-grid.three{grid-template-columns:1fr}
  .odv1-summary-card>b{font-size:28px}
  .odv1-color-guide{grid-template-columns:32px 1fr}.odv1-color-guide strong{display:none}
  .odv1-list-row{grid-template-columns:24px 1fr}.odv1-list-note{grid-column:2}
}
