/* ESTILO MODERNO TCP V1 — conserva la paleta original y las funciones existentes. */
#resolucionesTcpView.tcp-estilo-pro { background:radial-gradient(900px 360px at 85% 0%,rgba(212,175,55,.10),transparent 70%),linear-gradient(180deg,#090909,#030303); }
#resolucionesTcpView.tcp-estilo-pro .resoluciones-tcp-wrap { max-width:980px;padding:34px 30px 46px; }
#resolucionesTcpView.tcp-estilo-pro .resoluciones-hero { max-width:920px;margin:0 auto 23px;text-align:left; }
#resolucionesTcpView.tcp-estilo-pro .tcp-hero-contexto { display:flex;align-items:center;gap:8px;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--res-muted);margin-bottom:12px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-hero-contexto .tcp-icono { color:var(--res-gold-soft);width:14px;height:14px; }
#resolucionesTcpView.tcp-estilo-pro .resoluciones-title { font-size:clamp(1.65rem,3vw,2.35rem);font-weight:500;letter-spacing:-.035em;line-height:1.2;text-shadow:none; }
#resolucionesTcpView.tcp-estilo-pro .resoluciones-subtitle { max-width:740px;font-size:.9rem;margin:12px 0 0;line-height:1.6; }
#resolucionesTcpView.tcp-estilo-pro .tabs-busqueda { max-width:440px;width:fit-content;margin:0 auto 20px 0;padding:4px;border-radius:12px;gap:4px;background:#0c0c0c;border-color:var(--res-line);box-shadow:none;backdrop-filter:none; }
#resolucionesTcpView.tcp-estilo-pro .tab-busqueda { border-radius:8px;min-height:40px;padding:8px 16px;font-size:.8rem;font-weight:500;white-space:nowrap; }
#resolucionesTcpView.tcp-estilo-pro .tab-busqueda.active { background:linear-gradient(145deg,rgba(212,175,55,.15),rgba(212,175,55,.045)),#0c0c0c;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);border-color:rgba(212,175,55,.3);color:var(--res-gold-light); }
#resolucionesTcpView.tcp-estilo-pro .tcp-icono { width:16px;height:16px;display:inline-block;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
#resolucionesTcpView.tcp-estilo-pro .panel-busqueda { max-width:920px; }
#resolucionesTcpView.tcp-estilo-pro .ia-box,#resolucionesTcpView.tcp-estilo-pro .resoluciones-search-card { padding:21px 23px 17px;border-radius:16px;background:linear-gradient(140deg,rgba(212,175,55,.08),rgba(255,255,255,.025)),#0c0c0c;border-color:rgba(212,175,55,.3);box-shadow:0 14px 36px rgba(0,0,0,.28);transition:border-color .18s,box-shadow .18s; }
#resolucionesTcpView.tcp-estilo-pro .ia-box:focus-within { border-color:rgba(245,214,123,.7);box-shadow:0 0 0 3px rgba(212,175,55,.1),0 14px 36px rgba(0,0,0,.28); }
#resolucionesTcpView.tcp-estilo-pro .ia-box-heading,#resolucionesTcpView.tcp-estilo-pro .resoluciones-search-heading { grid-template-columns:32px minmax(0,1fr);gap:11px;margin-bottom:18px; }
#resolucionesTcpView.tcp-estilo-pro .ia-box-icon,#resolucionesTcpView.tcp-estilo-pro .resoluciones-search-icon { width:32px;height:32px;border-radius:9px;background:rgba(212,175,55,.08);border-color:rgba(212,175,55,.22);box-shadow:none; }
#resolucionesTcpView.tcp-estilo-pro .ia-box-heading h2,#resolucionesTcpView.tcp-estilo-pro .resoluciones-search-heading h2 { font-size:.91rem;font-weight:500;margin:0 0 3px; }
#resolucionesTcpView.tcp-estilo-pro .ia-box-heading p,#resolucionesTcpView.tcp-estilo-pro .resoluciones-search-heading p { font-size:.78rem;line-height:1.55; }
#resolucionesTcpView.tcp-estilo-pro .consulta-ia-label { display:flex;align-items:center;gap:7px;font-size:.72rem;font-weight:400;letter-spacing:.07em;text-transform:uppercase;color:rgba(255,255,255,.75);margin-bottom:10px; }
#resolucionesTcpView.tcp-estilo-pro .consulta-ia-label .tcp-icono { width:13px;height:13px;color:var(--res-gold-soft); }
#resolucionesTcpView.tcp-estilo-pro #consultaIA { min-height:80px;padding:0;border:0;border-radius:0;background:transparent;font-size:1rem;line-height:1.65;color:var(--res-text);resize:vertical;box-shadow:none; }
#resolucionesTcpView.tcp-estilo-pro #consultaIA:focus { background:transparent;box-shadow:none; }
#resolucionesTcpView.tcp-estilo-pro #panelIA .resoluciones-search-actions { justify-content:flex-end;border-top:1px solid rgba(255,255,255,.07);padding-top:13px;margin-top:12px;gap:10px; }
#resolucionesTcpView.tcp-estilo-pro .buscar-btn,#resolucionesTcpView.tcp-estilo-pro .limpiar-btn { border-radius:9px;min-height:40px;padding:9px 15px;font-size:.8rem;font-weight:500; }
#resolucionesTcpView.tcp-estilo-pro .buscar-btn { background:linear-gradient(180deg,#fff1a6,#d4af37 52%,#b8962e);color:#171100;box-shadow:0 2px 0 rgba(184,150,46,.5),0 5px 18px rgba(212,175,55,.14); }
#resolucionesTcpView.tcp-estilo-pro #panelIA .limpiar-btn { background:transparent;border-color:transparent;color:var(--res-muted); }
#resolucionesTcpView.tcp-estilo-pro #panelIA .limpiar-btn:hover { color:var(--res-gold-light);background:rgba(212,175,55,.04); }
#resolucionesTcpView.tcp-estilo-pro .respuesta-ia.tcp-respuesta-estructurada { padding:0;margin-top:25px;border-radius:16px;background:radial-gradient(ellipse 100% 70% at 0% 0%,rgba(212,175,55,.075),transparent 70%),#0c0c0c;border-color:rgba(212,175,55,.3);box-shadow:0 18px 48px rgba(0,0,0,.25);overflow:hidden; }
#resolucionesTcpView.tcp-estilo-pro .tcp-analisis-cabecera { display:flex;align-items:center;gap:11px;padding:18px 23px;border-bottom:1px solid rgba(255,255,255,.055);position:relative;font-size:.85rem;font-weight:500;color:var(--res-text); }
#resolucionesTcpView.tcp-estilo-pro .tcp-analisis-cabecera:before { content:"";position:absolute;left:24px;right:24px;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(212,175,55,.8),transparent); }
#resolucionesTcpView.tcp-estilo-pro .tcp-analisis-icono { width:31px;height:31px;display:grid;place-items:center;border-radius:9px;color:var(--res-gold);border:1px solid rgba(212,175,55,.18);background:rgba(212,175,55,.08); }
#resolucionesTcpView.tcp-estilo-pro .tcp-analisis-cuerpo { padding:23px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-parrafo { margin:0 0 23px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-parrafo p { font-size:.94rem;line-height:1.8;color:rgba(255,255,255,.85);margin:0 0 12px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-analisis-cuerpo>.tcp-parrafo:first-child p { color:var(--res-text);font-size:1rem;line-height:1.75; }
#resolucionesTcpView.tcp-estilo-pro .tcp-citas { gap:7px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-cita { display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:5px 9px;border:1px solid rgba(212,175,55,.22);border-radius:6px;background:rgba(212,175,55,.04);font-size:.75rem;line-height:1.65;color:var(--res-gold-soft);text-decoration:none;transition:background .18s,border-color .18s; }
#resolucionesTcpView.tcp-estilo-pro .tcp-cita .tcp-icono { width:12px;height:12px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-cita:hover { background:rgba(212,175,55,.10);border-color:rgba(212,175,55,.5); }
#resolucionesTcpView.tcp-estilo-pro .tcp-diferencias { border-top:1px solid rgba(255,255,255,.045); }
#resolucionesTcpView.tcp-estilo-pro .tcp-diferencias h3,#resolucionesTcpView.tcp-estilo-pro .tcp-precisiones h3 { display:flex;align-items:center;gap:9px;font-size:.86rem;font-weight:500;margin:23px 0 12px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-diferencias h3 .tcp-icono,#resolucionesTcpView.tcp-estilo-pro .tcp-precisiones h3 .tcp-icono { color:var(--res-gold-soft);width:14px;height:14px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-diferencias h3:after { content:"";height:1px;background:rgba(255,255,255,.045);flex:1;margin-left:6px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-precisiones { margin-top:24px;padding:14px 16px;border-radius:0 8px 8px 0;background:rgba(212,175,55,.03);border-color:var(--res-gold-dark); }
#resolucionesTcpView.tcp-estilo-pro .tcp-precisiones h3 { margin:0 0 7px;font-size:.8rem;color:var(--res-gold-soft); }
#resolucionesTcpView.tcp-estilo-pro .tcp-precisiones p { font-size:.82rem;line-height:1.8;color:rgba(255,255,255,.75); }
#resolucionesTcpView.tcp-estilo-pro .resultados-section { max-width:920px;margin:30px auto 0; }
#resolucionesTcpView.tcp-estilo-pro .resultados-encabezado { padding-bottom:16px;border-bottom:1px solid var(--res-line);margin-bottom:18px;gap:12px; }
#resolucionesTcpView.tcp-estilo-pro .resultados-kicker { font-size:.7rem;letter-spacing:.12em;font-weight:500;margin-bottom:6px;color:var(--res-gold-soft); }
#resolucionesTcpView.tcp-estilo-pro #resultadosTitulo { font-size:1.4rem;font-weight:500;letter-spacing:-.025em;line-height:1.3; }
#resolucionesTcpView.tcp-estilo-pro .contador-resoluciones { font-size:.76rem;font-weight:500;padding:6px 10px;border-radius:7px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-grupo-fuentes>h3 { display:flex;align-items:center;gap:8px;font-size:.82rem;font-weight:400;color:var(--res-muted);margin:23px 0 13px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-grupo-fuentes>h3 .tcp-icono { color:var(--res-gold-soft);width:14px;height:14px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-conteo { margin-left:0;font-size:.76rem;color:var(--res-muted); }
#resolucionesTcpView.tcp-estilo-pro .tcp-tarjeta { padding:21px;border-radius:13px;background:linear-gradient(125deg,rgba(212,175,55,.075),transparent 60%),#0c0c0c;border:1px solid rgba(212,175,55,.3);box-shadow:none;margin-bottom:13px;transition:border-color .18s,box-shadow .18s; }
#resolucionesTcpView.tcp-estilo-pro .tcp-tarjeta:before { display:none; }
#resolucionesTcpView.tcp-estilo-pro .tcp-tarjeta:hover,#resolucionesTcpView.tcp-estilo-pro .tcp-tarjeta:focus-within { transform:none;border-color:rgba(212,175,55,.55);box-shadow:0 6px 22px rgba(0,0,0,.14); }
#resolucionesTcpView.tcp-estilo-pro .tcp-tarjeta .resultado-cabecera { display:flex;align-items:flex-start;justify-content:flex-start;gap:12px;margin-bottom:14px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-documento-icono { width:36px;height:41px;display:grid;place-items:center;flex-shrink:0;background:linear-gradient(135deg,rgba(212,175,55,.11),#0c0c0c);border:1px solid rgba(212,175,55,.3);border-radius:8px;color:var(--res-gold-soft); }
#resolucionesTcpView.tcp-estilo-pro .tcp-documento-icono .tcp-icono { width:18px;height:18px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-cabecera-texto { min-width:0;flex:1; }
#resolucionesTcpView.tcp-estilo-pro .tcp-tarjeta .resultado-numero { display:block;color:var(--res-gold-light);font-size:.94rem;font-weight:500;letter-spacing:-.012em;line-height:1.6; }
#resolucionesTcpView.tcp-estilo-pro .tcp-metadatos { gap:6px 12px;margin:5px 0 0;font-size:.75rem;color:var(--res-muted);line-height:1.6; }
#resolucionesTcpView.tcp-estilo-pro .tcp-metadatos span+span:before { display:none; }
#resolucionesTcpView.tcp-estilo-pro .tcp-etiqueta-norma { color:var(--res-gold-soft);border:1px solid rgba(212,175,55,.13);background:rgba(212,175,55,.05);border-radius:4px;padding:0 6px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-aporte { margin:0 0 14px;font-size:.87rem;line-height:1.75;color:rgba(255,255,255,.8); }
#resolucionesTcpView.tcp-estilo-pro .tcp-detalle summary { padding:4px 0;font-size:.8rem;color:var(--res-gold-soft); }
#resolucionesTcpView.tcp-estilo-pro .tcp-detalle[open] { padding-top:9px;border-top:1px solid rgba(255,255,255,.045); }
#resolucionesTcpView.tcp-estilo-pro .tcp-detalle[open] summary { margin-bottom:12px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-fragmento { margin:15px 0; }
#resolucionesTcpView.tcp-estilo-pro .tcp-fragmento h4 { display:flex;align-items:center;gap:9px;font-size:.82rem;font-weight:500;margin:0 0 7px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-fragmento h4:before { content:"";width:4px;height:4px;background:var(--res-gold-soft);border-radius:50%;flex-shrink:0; }
#resolucionesTcpView.tcp-estilo-pro .tcp-fragmento p { font-size:.87rem;color:rgba(255,255,255,.75);line-height:1.85;margin-bottom:7px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-localizador { font-size:.75rem;color:var(--res-muted);margin-bottom:14px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-acciones { display:flex;flex-wrap:wrap;justify-content:flex-start;gap:14px;border-top:1px solid rgba(255,255,255,.045);padding-top:13px;margin-top:14px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-acciones .resultado-ver-btn { min-height:34px;padding:6px 0;border:0;border-radius:0;box-shadow:none;background:transparent;color:var(--res-muted);font-size:.75rem;font-weight:400;gap:6px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-acciones .resultado-ver-btn:hover { color:var(--res-gold-light);transform:none; }
#resolucionesTcpView.tcp-estilo-pro .tcp-acciones .tcp-pdf-btn { color:var(--res-gold-soft);padding:6px 10px;border:1px solid rgba(212,175,55,.28);border-radius:6px;background:rgba(212,175,55,.04); }
#resolucionesTcpView.tcp-estilo-pro .tcp-acciones .tcp-icono { width:12px;height:12px; }
#resolucionesTcpView.tcp-estilo-pro .tcp-fuente-relacionada { background:#0c0c0c;border-color:var(--res-line); }
#resolucionesTcpView.tcp-estilo-pro .tcp-fuente-relacionada .tcp-documento-icono { background:rgba(255,255,255,.035);border-color:var(--res-line);color:rgba(255,255,255,.75); }
#resolucionesTcpView.tcp-estilo-pro .resoluciones-thinking-card { white-space:normal; }
#resolucionesTcpView.tcp-estilo-pro .tcp-cita:focus-visible,#resolucionesTcpView.tcp-estilo-pro .tcp-detalle summary:focus-visible,#resolucionesTcpView.tcp-estilo-pro .tcp-acciones a:focus-visible { outline:2px solid var(--res-gold-light);outline-offset:4px; }
@media(max-width:700px) {
  #resolucionesTcpView.tcp-estilo-pro .resoluciones-tcp-wrap { padding:26px 19px 34px; }
  #resolucionesTcpView.tcp-estilo-pro .resoluciones-title { font-size:1.85rem; }
  #resolucionesTcpView.tcp-estilo-pro .resoluciones-hero { margin-bottom:20px; }
}
@media(max-width:480px) {
  #resolucionesTcpView.tcp-estilo-pro .resoluciones-tcp-wrap { padding:22px 13px 28px; }
  #resolucionesTcpView.tcp-estilo-pro .resoluciones-title { font-size:1.6rem;line-height:1.25; }
  #resolucionesTcpView.tcp-estilo-pro .resoluciones-subtitle { font-size:.84rem; }
  #resolucionesTcpView.tcp-estilo-pro .tabs-busqueda { max-width:100%; }
  #resolucionesTcpView.tcp-estilo-pro .tab-busqueda { padding:7px 11px;min-width:0;gap:6px;font-size:.76rem; }
  #resolucionesTcpView.tcp-estilo-pro .ia-box,#resolucionesTcpView.tcp-estilo-pro .resoluciones-search-card { padding:17px 16px 14px; }
  #resolucionesTcpView.tcp-estilo-pro .ia-box-heading p { font-size:.75rem; }
  #resolucionesTcpView.tcp-estilo-pro .tcp-analisis-cuerpo,#resolucionesTcpView.tcp-estilo-pro .tcp-analisis-cabecera { padding:18px; }
  #resolucionesTcpView.tcp-estilo-pro .tcp-tarjeta { padding:16px; }
  #resolucionesTcpView.tcp-estilo-pro .tcp-tarjeta .resultado-cabecera { gap:9px; }
  #resolucionesTcpView.tcp-estilo-pro .tcp-tarjeta .resultado-numero { font-size:.88rem; }
  #resolucionesTcpView.tcp-estilo-pro .tcp-precisiones { padding:13px; }
  #resolucionesTcpView.tcp-estilo-pro .filtro { grid-template-columns:minmax(0,1fr); }
  #resolucionesTcpView.tcp-estilo-pro .contador-resoluciones { font-size:.72rem; }
}
@media(pointer:coarse) {
  #resolucionesTcpView.tcp-estilo-pro .tab-busqueda,#resolucionesTcpView.tcp-estilo-pro .buscar-btn,#resolucionesTcpView.tcp-estilo-pro .limpiar-btn,#resolucionesTcpView.tcp-estilo-pro .tcp-cita,#resolucionesTcpView.tcp-estilo-pro .tcp-detalle summary,#resolucionesTcpView.tcp-estilo-pro .tcp-acciones a { min-height:44px; }
}
@media(prefers-reduced-motion:reduce) {
  #resolucionesTcpView.tcp-estilo-pro *,#resolucionesTcpView.tcp-estilo-pro *:before { transition:none;animation:none;scroll-behavior:auto; }
}
/* FIN ESTILO MODERNO TCP V1 */
