/*
 * APRODAP v159 · Centro explicativo de categorización
 * CSS totalmente encapsulado. Sin JS propio ni observers.
 */
.ap-u159-triage{
  --u159-navy:#123f64;
  --u159-blue:#1976d2;
  margin:0 0 18px;
  border:1px solid #bfd8f7;
  border-radius:22px;
  background:linear-gradient(135deg,#f8fbff,#eef6ff);
  box-shadow:0 10px 28px rgba(39,90,145,.08);
  overflow:hidden;
}
.ap-u159-triage[open]{box-shadow:0 18px 48px rgba(39,90,145,.11)}
.ap-u159-triage__summary{
  min-height:88px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:16px 20px;
  list-style:none;
  cursor:pointer;
  user-select:none;
}
.ap-u159-triage__summary::-webkit-details-marker{display:none}
.ap-u159-triage__summary-icon{
  width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#1d7be2;
  color:#fff;
  font-size:1.28rem;
  box-shadow:0 8px 18px rgba(29,123,226,.22);
}
.ap-u159-triage__summary-copy{
  min-width:0;
  display:grid;
  gap:3px;
  color:#315f91;
  font-size:.93rem;
  line-height:1.35;
}
.ap-u159-triage__summary-copy strong{color:#194b82}
.ap-u159-triage__summary-copy small{
  color:#5579a0;
  font-size:.85rem;
}
.ap-u159-triage__summary-action{
  display:flex;
  align-items:center;
  gap:10px;
  color:#174f84;
  font-size:.8rem;
  font-weight:900;
  white-space:nowrap;
}
.ap-u159-triage__summary-action i{
  width:34px;height:34px;
  display:grid;place-items:center;
  border:1px solid #c7dbf0;
  border-radius:50%;
  background:#fff;
  transition:transform .2s ease;
}
.ap-u159-triage[open] .ap-u159-triage__summary-action i{transform:rotate(180deg)}

.ap-u159-triage__panel{
  padding:20px;
  border-top:1px solid #d9e8f7;
  background:#fff;
}
.ap-u159-triage__intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:22px;
  align-items:center;
  margin-bottom:20px;
  padding:18px;
  border:1px solid #e0ebf3;
  border-radius:20px;
  background:linear-gradient(135deg,#fff,#f7fbfd);
}
.ap-u159-triage__eyebrow{
  display:inline-flex;
  gap:8px;
  align-items:center;
  color:#0c7891;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ap-u159-triage__intro h3{
  margin:7px 0 6px;
  color:#123e60;
  font-size:clamp(1.55rem,2.5vw,2.35rem);
  font-weight:900;
  letter-spacing:-.025em;
}
.ap-u159-triage__intro p{
  margin:0;
  max-width:800px;
  color:#567384;
  line-height:1.55;
}
.ap-u159-triage__priority{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:16px;
  border-radius:17px;
  background:#eaf7fa;
  color:#23647a;
}
.ap-u159-triage__priority>i{
  width:44px;height:44px;
  display:grid;place-items:center;
  border-radius:14px;
  background:#d3f0f2;
  color:#0a8790;
  font-size:1.15rem;
}
.ap-u159-triage__priority strong{
  display:block;
  color:#15536c;
  font-size:.92rem;
}
.ap-u159-triage__priority span{
  display:block;
  margin-top:3px;
  font-size:.8rem;
  line-height:1.4;
}

.ap-u159-triage__levels{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin-bottom:20px;
}
.ap-u159-level{
  --level:#1d7be2;
  --level-soft:#edf6ff;
  min-width:0;
  padding:15px;
  border:1px solid color-mix(in srgb,var(--level) 20%, white);
  border-radius:18px;
  background:linear-gradient(180deg,var(--level-soft),#fff 78%);
}
.ap-u159-level.is-c1{--level:#c91d32;--level-soft:#fff0f2}
.ap-u159-level.is-c2{--level:#f04a10;--level-soft:#fff2ec}
.ap-u159-level.is-c3{--level:#e6a400;--level-soft:#fff8e1}
.ap-u159-level.is-c4{--level:#159447;--level-soft:#edf9f1}
.ap-u159-level.is-c5{--level:#2176cf;--level-soft:#edf6ff}
.ap-u159-level__head{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:12px;
}
.ap-u159-level__code{
  flex:0 0 48px;
  height:48px;
  display:grid;place-items:center;
  border-radius:13px;
  background:var(--level);
  color:#fff;
  font-size:1.15rem;
  font-weight:950;
  box-shadow:0 8px 18px color-mix(in srgb,var(--level) 24%, transparent);
}
.ap-u159-level__head strong{
  display:block;
  color:var(--level);
  font-size:.91rem;
  line-height:1.15;
}
.ap-u159-level__head small{
  display:block;
  margin-top:3px;
  color:#718695;
  font-size:.68rem;
}
.ap-u159-level>p{
  min-height:88px;
  margin:0 0 12px;
  color:#496878;
  font-size:.79rem;
  line-height:1.48;
}
.ap-u159-level__time{
  min-height:54px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px;
  border-radius:13px;
  background:color-mix(in srgb,var(--level) 8%, white);
  color:var(--level);
  font-size:.78rem;
  font-weight:900;
}
.ap-u159-level__time i{font-size:1rem}

.ap-u159-triage__columns{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:16px;
  margin-bottom:18px;
}
.ap-u159-triage__video,
.ap-u159-triage__faq{
  padding:18px;
  border:1px solid #e0ebef;
  border-radius:20px;
  background:#f8fbfc;
}
.ap-u159-triage__section-head{
  display:flex;
  gap:11px;
  align-items:center;
  margin-bottom:14px;
}
.ap-u159-triage__section-icon{
  width:42px;height:42px;
  display:grid;place-items:center;
  flex:0 0 42px;
  border-radius:50%;
  background:#0b80c4;
  color:#fff;
  font-size:1.05rem;
}
.ap-u159-triage__section-icon.is-question{background:#1d6fa9}
.ap-u159-triage__section-head strong{
  display:block;
  color:#16466a;
  font-size:1rem;
}
.ap-u159-triage__section-head p{
  margin:2px 0 0;
  color:#718896;
  font-size:.8rem;
}
.ap-u159-triage__video-card{
  width:100%;
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:0;
  overflow:hidden;
  border:1px solid #d7e6ed;
  border-radius:18px;
  background:#fff;
  padding:0;
  text-align:left;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(19,70,106,.07);
  transition:transform .18s ease,box-shadow .18s ease;
}
.ap-u159-triage__video-card:hover{
  transform:translateY(-1px);
  box-shadow:0 15px 30px rgba(19,70,106,.11);
}
.ap-u159-triage__video-visual{
  min-height:150px;
  position:relative;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 28% 24%,rgba(60,190,199,.35),transparent 30%),
    linear-gradient(135deg,#0e5671,#123c63);
}
.ap-u159-triage__play{
  width:58px;height:58px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#fff;
  color:#0e6f8b;
  font-size:1.65rem;
  box-shadow:0 12px 28px rgba(0,0,0,.2);
}
.ap-u159-triage__video-badges{
  position:absolute;
  left:12px;right:12px;bottom:12px;
  display:flex;gap:5px;
}
.ap-u159-triage__video-badges b{
  min-width:30px;
  padding:4px 6px;
  border-radius:8px;
  background:#2176cf;
  color:#fff;
  font-size:.65rem;
  text-align:center;
}
.ap-u159-triage__video-badges .is-c1{background:#c91d32}
.ap-u159-triage__video-badges .is-c2{background:#f04a10}
.ap-u159-triage__video-badges .is-c3{background:#e6a400}
.ap-u159-triage__video-badges .is-c4{background:#159447}
.ap-u159-triage__video-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:18px;
}
.ap-u159-triage__video-copy small{
  color:#0b8190;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-size:.66rem;
  font-weight:900;
}
.ap-u159-triage__video-copy strong{
  margin-top:5px;
  color:#174665;
  font-size:1rem;
}
.ap-u159-triage__video-copy>span{
  margin-top:12px;
  color:#0c7d8a;
  font-size:.78rem;
  font-weight:900;
}
.ap-u159-triage__video-note{
  margin:10px 0 0;
  color:#7a8f9b;
  font-size:.74rem;
}
.ap-u159-faq{display:grid;gap:8px}
.ap-u159-faq details{
  border:1px solid #e0e9ed;
  border-radius:12px;
  background:#fff;
}
.ap-u159-faq summary{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:11px 12px;
  list-style:none;
  color:#234f69;
  font-size:.82rem;
  font-weight:850;
  cursor:pointer;
}
.ap-u159-faq summary::-webkit-details-marker{display:none}
.ap-u159-faq summary:after{
  content:"";
  flex:0 0 8px;
  width:8px;
  height:8px;
  margin-top:3px;
  border-right:2px solid #32709a;
  border-bottom:2px solid #32709a;
  transform:rotate(45deg);
  transform-origin:center;
  transition:transform .18s ease;
}
.ap-u159-faq details[open] summary:after{transform:rotate(225deg)}
.ap-u159-faq p{
  margin:0;
  padding:0 12px 12px;
  color:#6a8190;
  font-size:.78rem;
  line-height:1.5;
}
.ap-u159-triage__footer{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  padding:14px 16px;
  border-radius:16px;
  background:linear-gradient(135deg,#fff8e6,#eefafb);
}
.ap-u159-triage__footer>div{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.ap-u159-triage__footer>div>i{
  color:#d49b16;
  font-size:1.05rem;
  margin-top:2px;
}
.ap-u159-triage__footer p{
  margin:0;
  color:#687d87;
  font-size:.78rem;
  line-height:1.45;
}
.ap-u159-triage__footer p strong{color:#9b6d0b}
.ap-u159-triage__footer>span{
  display:flex;
  gap:8px;
  align-items:center;
  flex:none;
  color:#0f7683;
  font-size:.78rem;
  font-weight:900;
}

@media(max-width:1199.98px){
  .ap-u159-triage__levels{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ap-u159-level>p{min-height:auto}
}
@media(max-width:991.98px){
  .ap-u159-triage__intro{grid-template-columns:1fr}
  .ap-u159-triage__columns{grid-template-columns:1fr}
  .ap-u159-triage__summary-action span{display:none}
}
@media(max-width:767.98px){
  .ap-u159-triage{border-radius:17px}
  .ap-u159-triage__summary{
    grid-template-columns:36px minmax(0,1fr) 32px;
    gap:10px;
    min-height:74px;
    padding:12px;
  }
  .ap-u159-triage__summary-icon{width:36px;height:36px;font-size:1rem}
  .ap-u159-triage__summary-copy{font-size:.79rem}
  .ap-u159-triage__summary-copy small{font-size:.7rem}
  .ap-u159-triage__summary-action i{width:32px;height:32px}
  .ap-u159-triage__panel{padding:12px}
  .ap-u159-triage__intro{padding:14px;border-radius:16px}
  .ap-u159-triage__intro h3{font-size:1.45rem}
  .ap-u159-triage__intro p{font-size:.86rem}
  .ap-u159-triage__levels{
    display:flex;
    overflow-x:auto;
    gap:10px;
    padding:1px 1px 7px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .ap-u159-triage__levels::-webkit-scrollbar{display:none}
  .ap-u159-level{
    flex:0 0 82%;
    scroll-snap-align:start;
  }
  .ap-u159-level>p{min-height:0}
  .ap-u159-triage__video-card{grid-template-columns:1fr}
  .ap-u159-triage__video-visual{min-height:135px}
  .ap-u159-triage__footer{align-items:flex-start;flex-direction:column}
  .ap-u159-triage__footer>span{white-space:normal}
}
