/* Top IA: filtros y tarjetas aprobados. Estilos limitados a los resultados. */
.tia-page .tia-explore {
  padding: 42px 0 78px;
  background: radial-gradient(ellipse 620px 390px at 100% 120px, #fff0e450, transparent 85%), radial-gradient(ellipse 900px 800px at 0 340px, #e9f4fc80, transparent 85%), #fafbfde8;
  scroll-margin-top: 115px;
}
.tia-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 25px; }
.tia-results-heading h2 { font-size: clamp(26px, 2.65vw, 34px); line-height: 1.25; letter-spacing: -.035em; margin: 0 0 9px; color: #07142e; }
.tia-results-heading p { margin: 0; color: #46536a; font-size: 13px; line-height: 1.7; }
.tia-results-date { flex: none; display: grid; gap: 4px; padding-left: 20px; border-left: 2px solid #f56600; font-size: 12px; color: #46536a; }
.tia-results-date time { color: #07142e; font-weight: 600; font-size: 13px; }
.tia-page.tia-enhanced .tia-sector-links { display: none; }
.tia-page .tia-filters { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr) auto; padding: 22px 24px 17px; border-radius: 22px; border: 1px solid #d9e4ee; gap: 13px 22px; background: linear-gradient(120deg, #fffffff0, #f3f8fbd9 72%, #fff8f0e6); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 #fff, 0 14px 35px -30px #204a77; margin-bottom: 28px; }
.tia-page .tia-filters label { font-size: 12px; font-weight: 600; gap: 8px; }
.tia-page .tia-filters select { min-height: 48px; padding-inline: 14px 32px; border-radius: 12px; border: 1px solid #ccd9e5; background-color: #ffffffed; font-size: 14px; color: #07142e; box-shadow: inset 0 1px 3px #14335804; }
.tia-page .tia-filters button { min-height: 48px; border: 1px solid #d5e0eb; border-radius: 12px; background: #ffffffb3; padding: 10px 17px; font-size: 12px; color: #24456b; }
.tia-page .tia-filters button:hover { background: #fff3e8; border-color: #e9b28b; }
.tia-page .tia-filters [role=status] { font-size: 11px; color: #526078; line-height: 1.5; }
.tia-page .tia-filters [role=status]::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #f56600; margin-right: 8px; vertical-align: 1px; }
.tia-page .tia-sector { border: 0; border-top: 1px solid #dbe3eb; padding: 0; background: transparent; margin: 0 0 28px; }
.tia-page .tia-sector:last-child { border-bottom: 0; }
.tia-page .tia-sector > summary { gap: 16px; padding: 23px 0 14px; }
.tia-page .tia-sector-index { width: 42px; height: 42px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg,#fff3e8,#ffe8d5); color: #983b00; border: 1px solid #f2d4bc; border-radius: 13px; font-size: 13px; box-shadow: inset 0 1px #fff; }
.tia-page .tia-sector > summary h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.03em; font-weight: 600; }
.tia-page .tia-sector-meta { font-size: 12px; max-width: none; }
.tia-page .tia-expand { display: grid; place-items: center; width: 32px; height: 32px; background: #fff; border: 1px solid #dce5ed; border-radius: 50%; }
.tia-page .tia-expand::after { margin: 0; color: #29486a; font-size: 19px; }
.tia-page .tia-cohort > summary { color: #46536a; font-size: 11px; margin: 0 0 8px 58px; }
.tia-coverage-disclosure { margin: 0 0 18px 58px; }
.tia-coverage-disclosure > summary { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 5px 16px; font-size: 11px; color: #46536a; min-height: 25px; }
.tia-coverage-disclosure > summary::-webkit-details-marker { display: none; }
.tia-coverage-disclosure > summary strong { font-weight: 500; }
.tia-coverage-disclosure > summary span { color: #245884; text-decoration: underline; text-underline-offset: 3px; }
.tia-coverage-disclosure > summary span::after { content: ' +'; display: inline; text-decoration: none; }
.tia-coverage-disclosure[open] > summary span::after { content: ' −'; }
.tia-page .tia-cohort-coverage { border: 1px solid #dbe5ee; border-radius: 14px; background: #eef4f9; margin: 9px 0 16px; }
.tia-page .tia-ranking { display: grid; gap: 16px; }
.tia-page .tia-row, .tia-page .tia-row:first-child, .tia-page .tia-row:last-child { position: relative; grid-template-columns: 48px minmax(0,1fr) 170px; padding: 23px 26px 17px; gap: 0 20px; border: 1px solid #dae4ee; border-radius: 22px; background: linear-gradient(118deg, #fffffff5 35%, #f5faffee 80%, #fff8f1c9); box-shadow: inset 0 1px #fff, 0 9px 25px -22px #1f456d; }
.tia-page .tia-row:hover { border-color: #b6d0e4; box-shadow: inset 0 1px #fff, 0 12px 28px -22px #1f456d; }
.tia-page .tia-position { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #d4e0ec; border-radius: 14px; background: linear-gradient(145deg,#f3f8fd,#e6eff8); box-shadow: inset 0 1px #fff; color: #17456f; font-size: 22px; letter-spacing: -.04em; }
.tia-page .tia-name-line { gap: 12px; padding-top: 2px; }
.tia-page .tia-name-line h3 { color: #07142e; font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; }
.tia-page .tia-tie { border-radius: 7px; background: #fff3e7; border: 1px solid #f1d9c5; color: #8c3f08; padding: 4px 8px; font-size: 10px; font-weight: 500; }
.tia-page .tia-provider-list { gap: 7px; margin: 13px 0 8px; }
.tia-page .tia-provider-list li { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 4px 9px 4px 7px; background: #ffffffd9; border: 1px solid #e2e8ef; border-radius: 8px; color: #37465e; font-size: 11px; line-height: 1.5; }
.tia-page .tia-provider-list img { width: 18px; height: 18px; object-fit: contain; }
.tia-page .tia-provider-list b { color: #07142e; margin-left: 2px; font-size: 11px; }
.tia-page .tia-languages { display: block; color: #526078; font-size: 10px; }
.tia-page .tia-frequency { gap: 2px; justify-items: end; color: #526078; font-size: 10px; line-height: 1.5; padding-top: 1px; }
.tia-page .tia-frequency > strong { font-size: 35px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.tia-page .tia-frequency > strong > span { font-size: 23px; color: #6e8099; }
.tia-page .tia-frequency > .tia-frequency-label { font-size: 11px; font-weight: 500; color: #24456b; }
.tia-page .tia-evidence { grid-column: 2 / -1; border-top: 1px solid #e1e8ef; margin: 15px 0 0; padding-top: 10px; }
.tia-page .tia-evidence > summary { display: flex; align-items: center; justify-content: center; gap: 18px; width: fit-content; min-height: 42px; margin-left: auto; padding: 9px 14px; background: #f6faff; border: 1px solid #cadce9; border-radius: 10px; color: #1a4a76; font-size: 11px; font-weight: 500; list-style: none; }
.tia-page .tia-evidence > summary::-webkit-details-marker { display: none; }
.tia-page .tia-evidence > summary > span { font-size: 0; }
.tia-page .tia-evidence > summary > span::after { content: '+'; font-size: 17px; line-height: 1; }
.tia-page .tia-evidence[open] > summary > span::after { content: '−'; }
.tia-page .tia-evidence > summary:hover, .tia-page .tia-evidence[open] > summary { color: #09345a; border-color: #8eb7d5; background: #edf6ff; }
.tia-page .tia-evidence > ul { max-width: none; border: 1px solid #dbe5ed; border-radius: 14px; background: #f3f8fc; padding: 5px 17px; }
.tia-page .tia-evidence a { min-height: 48px; align-items: center; font-size: 12px; gap: 15px; }
.tia-page .tia-evidence a time { font-size: 11px; }
.tia-page .tia-variants { font-size: 11px; line-height: 1.6; }
.tia-page .tia-explore :focus-visible { outline: 3px solid #24669b; outline-offset: 4px; }
@media(max-width:900px) {
  .tia-page .tia-row { grid-template-columns: 42px minmax(0,1fr) 133px; gap: 0 15px; padding: 22px; }
  .tia-page .tia-name-line h3 { font-size: 20px; }
  .tia-page .tia-position { width: 42px; height: 44px; }
}
@media(max-width:760px) {
  .tia-page .tia-explore { padding-top: 32px; scroll-margin-top: 110px; }
  .tia-results-heading { display: grid; gap: 18px; margin-bottom: 22px; }
  .tia-results-heading h2 { font-size: 27px; }
  .tia-results-heading p { font-size: 12px; }
  .tia-results-date { border: 0; padding: 0; display: flex; align-items: center; gap: 10px; font-size: 10px; }
  .tia-results-date time { font-size: 11px; }
  .tia-page .tia-filters { grid-template-columns: minmax(0,1fr); padding: 19px; gap: 14px; border-radius: 20px; margin-bottom: 18px; }
  .tia-page .tia-filters select { font-size: 16px; }
  .tia-page .tia-filters button { justify-self: start; min-height: 44px; }
  .tia-page .tia-filters [role=status] { grid-column: 1; font-size: 10px; }
  .tia-page .tia-sector > summary { display: grid; grid-template-columns: 42px minmax(0,1fr) 26px; gap: 4px 12px; padding-block: 20px 13px; }
  .tia-page .tia-sector-index { grid-column: 1; grid-row: 1 / 3; }
  .tia-page .tia-sector > summary h2 { grid-column: 2; font-size: 21px; min-width: 0; }
  .tia-page .tia-sector-meta { grid-column: 2; margin: 0; text-align: left; font-size: 10px; }
  .tia-page .tia-expand { grid-column: 3; grid-row: 1 / 3; margin: 0; width: 26px; height: 26px; }
  .tia-page .tia-cohort > summary, .tia-coverage-disclosure { margin-left: 0; }
  .tia-page .tia-cohort > summary { margin-bottom: 5px; }
  .tia-coverage-disclosure > summary { font-size: 10px; }
  .tia-page .tia-row, .tia-page .tia-row:first-child, .tia-page .tia-row:last-child { grid-template-columns: 38px minmax(0,1fr); padding: 19px 17px 16px; gap: 0 12px; border-radius: 19px; }
  .tia-page .tia-position { width: 38px; height: 42px; border-radius: 11px; font-size: 19px; }
  .tia-page .tia-name-line { gap: 8px; }
  .tia-page .tia-name-line h3 { font-size: 19px; }
  .tia-page .tia-provider-list { margin-top: 12px; gap: 6px; }
  .tia-page .tia-provider-list li { font-size: 10px; padding-inline: 6px; gap: 5px; }
  .tia-page .tia-provider-list img { width: 17px; height: 17px; }
  .tia-page .tia-provider-list b { font-size: 10px; }
  .tia-page .tia-frequency { grid-column: 2; display: flex; justify-content: start; align-items: baseline; flex-wrap: wrap; gap: 3px 6px; margin-top: 12px; text-align: left; }
  .tia-page .tia-frequency > strong { font-size: 26px; }
  .tia-page .tia-frequency > strong > span { font-size: 19px; }
  .tia-page .tia-frequency > span:last-child { flex-basis: 100%; font-size: 10px; }
  .tia-page .tia-evidence { grid-column: 1 / -1; margin-top: 14px; padding-top: 12px; }
  .tia-page .tia-evidence > summary { width: 100%; min-height: 44px; font-size: 11px; }
  .tia-page .tia-evidence a { grid-template-columns: minmax(0,1fr) 16px; gap: 3px 10px; }
}
@media(prefers-reduced-transparency:reduce) { .tia-page .tia-filters, .tia-page .tia-row, .tia-page .tia-row:first-child, .tia-page .tia-row:last-child { background: #fff; backdrop-filter: none; } }
@media(forced-colors:active) { .tia-page .tia-explore, .tia-page .tia-row, .tia-page .tia-row:first-child, .tia-page .tia-row:last-child, .tia-page .tia-filters { background: Canvas; color: CanvasText; } .tia-page .tia-explore :focus-visible { outline-color: Highlight; } }
