.nec-campo-pitch {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 1fr 1fr 1fr 1.3fr;
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas:
        ".        latI     .        .      .      extI"
        "portero  central  pivote   b2b    media  delant"
        ".        latD     .        .      .      extD";
    gap: 10px;
    aspect-ratio: 1520 / 950;
    max-width: 1000px;
    background-image: url("/assets/campograma_pitch.svg");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #123a6b;
    border-radius: 12px;
    padding: 18px;
    margin: 0 auto 1.2rem;
}

.nec-campo-slot {
    border-radius: 8px;
    padding: 0.4rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.15rem;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4), 0 2px 6px rgba(0,0,0,0.25);
    opacity: 0.94;
    backdrop-filter: blur(1px);
}

.nec-campo-slot-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.75;
    margin-bottom: 0.1rem;
}

.nec-campo-slot-empty {
    font-size: 0.75rem;
    opacity: 0.7;
}

.nec-campo-team {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    width: 100%;
    justify-content: center;
    line-height: 1.15;
}

.nec-campo-team img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.nec-campo-team-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 92px;
}

.nec-campo-team-mas {
    font-size: 0.62rem;
    opacity: 0.8;
    font-weight: 600;
}

.nec-campo-count {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    opacity: 0.9;
}

.nec-campo-legend {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.nec-campo-legend-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 0.3rem;
    vertical-align: middle;
}

/* Modal de detalle del campograma — mismo patrón de overlay a medida que
   `.alr-modal-*` (alertas) y `.les-modal-*` (lesiones), NO dbc.Modal — ese
   componente daba problemas de clics en contenido añadido dinámicamente. */
.nec-campo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,25,45,0.5);
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nec-campo-modal-box {
    background: var(--white);
    border-radius: 12px;
    width: min(640px, 92vw);
    max-height: 84vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.nec-campo-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid #eef1f5;
}

.nec-campo-modal-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-blue);
    text-transform: uppercase;
}

.nec-campo-modal-body-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.nec-campo-modal-body {
    padding: 0.5rem 1.2rem 1.2rem;
}


.needs-page {display: grid; gap: 14px; align-content: start;}
.needs-page .reports-box {min-width: 0;}
.needs-page .needs-filters {position: relative; z-index: 3; display: block; padding: 16px 18px; margin: 0; overflow: visible;}
.needs-page .reports-box-heading {margin-bottom: 13px;}
.needs-filter-grid {display: grid; grid-template-columns: minmax(180px,1.4fr) minmax(170px,1.25fr) minmax(150px,1fr) minmax(150px,1fr) auto; align-items: end; gap: 12px;}
.needs-field {min-width: 0;}
.needs-field label {display: block; margin: 0 0 5px; color: #536b82; font-size: .76rem; font-weight: 500;}
.needs-field > input {width: 100%; height: 38px; border: 1px solid #cfdae6; border-radius: 4px; padding: 8px 11px; color: #203b56; font-size: .82rem;}
.needs-field .Select-control {min-height: 38px;}
.needs-filter-grid > button {height: 38px;}
.needs-workspace {display: grid; grid-template-columns: minmax(0,3.1fr) minmax(320px,1fr); overflow: hidden; min-height: 600px;}
.needs-campo-panel,.needs-list-panel {min-width: 0;}
.needs-campo-panel {padding: 0 18px 18px;}
.needs-list-panel {border-left: 1px solid #e5ebf2; background: #fbfcfe;}
.needs-panel-heading {display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 15px 0; border-bottom: 1px solid #e5ebf2;}
.needs-panel-heading h2 {white-space: nowrap;}
.needs-panel-heading span {color: #7a8b9e; font-size: .73rem;}
.needs-list-panel .needs-panel-heading {padding: 15px;}
.needs-campo-panel #nec-rum-campo {padding-top: 14px;}
.needs-page .nec-campo-pitch {width: 100%; max-width: none; margin: 0;}
.needs-page .nec-campo-legend {color: #647b8d; margin-bottom: 12px;}
.needs-page .nec-campo-slot:hover {opacity: 1; box-shadow: inset 0 0 0 2px #fff, 0 4px 12px #0a274a88;}
.needs-page .nec-campo-team img {width: 20px; height: 20px;}
.needs-feed {max-height: min(780px, calc(100vh - 340px)); min-height: 470px; overflow-y: auto; padding: 8px;}
.needs-rumor {background: #fff; border: 1px solid #e4ebf2; border-radius: 7px; padding: 10px; margin-bottom: 8px;}
.needs-rumor-identity {display: flex; align-items: center; gap: 9px; min-width: 0;}
.needs-rumor-photo {width: 42px; height: 42px; flex: none; object-fit: cover; object-position: top; border-radius: 5px; background: #edf2f7;}
.needs-rumor-main {min-width: 0;}
.needs-rumor-player {font-weight: 700; font-size: .86rem; color: #203b56; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.needs-rumor-meta {font-size: .73rem; color: #718498;}
.needs-rumor-club {display: flex; align-items: center; gap: 8px; margin: 9px 0 8px 51px; min-width: 0;}
.needs-rumor-club img {width: 27px; height: 27px; flex: none; object-fit: contain;}
.needs-rumor-club > div {min-width: 0; display: grid;}
.needs-rumor-club strong {font-size: .77rem; color: #244767; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.needs-rumor-club span {font-size: .7rem; color: #8292a2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.needs-rumor-footer {border-top: 1px solid #eef2f6; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; color: #8191a0; font-size: .7rem; flex-wrap: wrap;}
.needs-rumor-footer a {color: #276b9d; text-decoration: none; white-space: nowrap;}
.needs-rumor-footer a:hover {text-decoration: underline;}
.needs-page .rumor-badge {display: inline-block; padding: 3px 6px; border-radius: 4px; color: #fff; font-size: .66rem; font-weight: 700;}
.needs-modal-close {border: 0; background: transparent; color: #607a91; font-size: 1.4rem; cursor: pointer;}
.needs-page .nec-campo-modal-box > .reports-button-secondary {align-self: flex-start; margin: 10px 18px 0;}
.needs-modal-shield {width: 28px; height: 28px; object-fit: contain;}
@media (max-width: 1450px) {.needs-workspace {grid-template-columns: minmax(0,2.5fr) minmax(310px,1fr);} .needs-page .nec-campo-pitch {min-width: 700px;} .needs-campo-panel #nec-rum-campo {overflow-x: auto;}}
@media (max-width: 1050px) {.needs-filter-grid {grid-template-columns: repeat(2,minmax(0,1fr));} .needs-filter-grid > button {justify-self: start;} .needs-workspace {grid-template-columns: 1fr;} .needs-list-panel {border-left: 0; border-top: 1px solid #e5ebf2;} .needs-feed {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-height: 520px;} .needs-rumor {margin: 0;}}
@media (max-width: 680px) {.needs-filter-grid {grid-template-columns: 1fr;} .needs-page .reports-box-heading {display: block;} .needs-page .reports-box-heading > span {display: block; margin-top: 5px;} .needs-campo-panel {padding: 0 10px 12px;} .needs-page .nec-campo-pitch {min-width: 760px;} .needs-feed {grid-template-columns: 1fr;} .needs-panel-heading {display: block;} .needs-panel-heading span {display: block; margin-top: 3px;}}
.theme-penafiel .home-needs-link {display: none;}

/* Vistas de necesidades integradas desde la actualización de César. */
.needs-integrated .filter-item label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.needs-integrated .filter-input {
    width: 100%;
    padding: 0.45rem 0.7rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 0.9rem;
}
.needs-integrated .filter-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}
.needs-integrated .cuad-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
    background: var(--white);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin-top: 1rem;
}
.needs-integrated .ofr-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}
@media  (max-width: 1000px) {
.needs-integrated .ofr-layout { grid-template-columns: 1fr; }
}
.needs-integrated .ofr-table {
    background: var(--white);
    border-radius: 10px;
    padding: 0.6rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    max-height: 700px;
    overflow-y: auto;
}
.needs-integrated .nec-tabbar {
    display: flex;
    background: var(--white);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    overflow: hidden;
}
.needs-integrated .nec-tab {
    flex: 1;
    text-align: center;
    padding: 0.9rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-gray);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: background 0.12s ease, color 0.12s ease;
}
.needs-integrated .nec-tab:hover {
    background: rgba(26,58,92,0.04);
}
.needs-integrated .nec-tab.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}
.needs-integrated .nec-tab-panel {
    background: var(--white);
    border-radius: 0 0 10px 10px;
    /* Padding de arriba a 2/3 del original (0.73rem en vez de 1.1rem) — el
       hueco entre la barra de pestañas y el primer bloque de filtros se
       veía más grande de lo necesario en las 3 subpestañas (Buscar
       salida/Estudio de mercado/Visión combinada: las 3 comparten esta
       misma clase). */
    padding: 0.73rem 1.2rem 1.1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}
.needs-integrated .rumor-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    color: white;
}
.needs-integrated .nec-rum-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
    margin-top: 1rem;
}
@media  (max-width: 1150px) {
.needs-integrated .nec-rum-layout { grid-template-columns: minmax(0, 1fr); }
}
.needs-integrated .nec-rum-col-campo { min-width: 0; }
.needs-integrated .nec-rum-col-lista {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
}
.needs-integrated .nec-rum-count {
    font-size: 0.78rem;
    color: #6b7785;
    margin-bottom: 0.5rem;
}
.needs-integrated .nec-rum-list .ofr-row { padding: 0.5rem 0.4rem; }
.needs-integrated .nec-rum-list .search-result-nombre { font-size: 0.85rem; }
.needs-integrated .nec-rum-list .search-result-meta {
    font-size: 0.74rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.needs-integrated .nec-rum-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.7rem;
    padding-top: 0.6rem;
    border-top: 1px solid #eef1f4;
}
.needs-integrated .nec-rum-pager-btn {
    border: 1px solid #d5dde6;
    background: #fff;
    color: #1a3a5c;
    border-radius: 8px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}
.needs-integrated .nec-rum-pager-btn:hover:not(:disabled) { background: #f1f5f9; }
.needs-integrated .nec-rum-pager-btn:disabled { opacity: 0.4; cursor: default; }
.needs-integrated .nec-rum-page-label { font-size: 0.78rem; color: #6b7785; }
.needs-integrated .nec-campo-wrap {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
}
.needs-integrated .nec-campo-pitch {
    position: relative;
    container-type: inline-size;
    width: 100%;
    aspect-ratio: 1520 / 950;
    background: url("/assets/campograma_pitch_claro.svg") center / 100% 100% no-repeat;
    border-radius: 10px;
    overflow: hidden;
}
.needs-integrated .nec-bubble-node {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 1;
}
.needs-integrated .nec-bubble-node:hover { z-index: 3; }
.needs-integrated .nec-bubble {
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* anillo del color del campo: separa círculos que se tocan */
    box-shadow: 0 0 0 2px #eef3ef, 0 2px 6px rgba(13, 42, 74, 0.18);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    line-height: 1;
}
.needs-integrated .nec-bubble-node:hover .nec-bubble {
    transform: scale(1.06);
    box-shadow: 0 0 0 2px #eef3ef, 0 0 0 4px #0d366b, 0 4px 10px rgba(13, 42, 74, 0.25);
}
.needs-integrated .nec-bubble-num {
    font-weight: 800;
    font-size: clamp(0.8rem, 2.3cqw, 1.5rem);
    font-variant-numeric: tabular-nums;
}
.needs-integrated .nec-bubble-sub {
    font-size: clamp(0.5rem, 1.05cqw, 0.7rem);
    font-weight: 600;
    opacity: 0.85;
    margin-top: 0.1rem;
}
.needs-integrated .nec-bubble-empty {
    background: transparent;
    border: 2px dashed #b3c1b8;
    color: #7d8b83;
    box-shadow: none;
}
.needs-integrated .nec-bubble-label {
    margin-top: 0.25rem;
    font-size: clamp(0.55rem, 1.15cqw, 0.75rem);
    font-weight: 700;
    color: #1a2b3c;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    padding: 0.05rem 0.45rem;
    white-space: nowrap;
}
.needs-integrated .nec-bubble-crests {
    display: flex;
    gap: 2px;
    margin-top: 0.2rem;
}
.needs-integrated .nec-bubble-crests img {
    width: clamp(14px, 2.4cqw, 24px);
    height: clamp(14px, 2.4cqw, 24px);
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 1px 2px rgba(13, 42, 74, 0.2);
}
.needs-integrated .nec-bubble-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: clamp(14px, 2.4cqw, 24px);
    height: clamp(14px, 2.4cqw, 24px);
    padding: 0 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: #6b7785;
    font-size: clamp(0.5rem, 1cqw, 0.66rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 1px 2px rgba(13, 42, 74, 0.12);
}
.needs-integrated .nec-avisos {
    margin-top: 1rem;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
}
.needs-integrated .nec-avisos-head { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.6rem; }
.needs-integrated .nec-avisos-h { font-weight: 800; color: #1a2b3c; font-size: 0.95rem; }
.needs-integrated .nec-avisos-sub { font-size: 0.74rem; color: #6b7785; }
.needs-integrated .nec-avisos-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
}
@media  (max-width: 800px) {
.needs-integrated .nec-avisos-grid { grid-template-columns: minmax(0, 1fr); }
}
.needs-integrated .nec-avisos-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7785;
    margin-bottom: 0.3rem;
}
.needs-integrated .nec-avisos-n {
    background: #eef3fb;
    color: #1c5cab;
    border-radius: 999px;
    padding: 0 0.45rem;
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
}
.needs-integrated .nec-aviso {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.5rem 0.45rem 0.6rem;
    border-left: 3px solid #256abf;
    background: #f7f9fc;
    border-radius: 6px;
    margin-bottom: 0.35rem;
}
.needs-integrated .nec-aviso-click { cursor: pointer; }
.needs-integrated .nec-aviso-click:hover { background: #eef3fb; }
.needs-integrated .nec-aviso-crests { display: flex; flex-shrink: 0; }
.needs-integrated .nec-aviso-crests-liga { width: 96px; }
.needs-integrated .nec-aviso-crests img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 0 0 1px #e3e8ee;
    margin-left: -5px;
}
.needs-integrated .nec-aviso-crests img:first-child { margin-left: 0; }
.needs-integrated .nec-aviso-txt { min-width: 0; font-size: 0.8rem; color: #1a2b3c; line-height: 1.3; }
.needs-integrated .nec-aviso-meta {
    font-size: 0.7rem;
    color: #6b7785;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.needs-integrated .nec-aviso-vacio { font-size: 0.78rem; color: #8a96a3; padding: 0.4rem 0; }
.needs-integrated .nec-aviso-more > summary {
    font-size: 0.75rem;
    color: #1c5cab;
    font-weight: 600;
    cursor: pointer;
    margin: 0.2rem 0 0.4rem;
}
.needs-integrated .nec-bubble-les { outline: 1px solid rgba(59, 42, 0, 0.18); }
.needs-integrated .nec-avisos-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.needs-integrated .nec-aviso-les { border-left-color: #dc2626; background: #fdf8f6; }
.needs-integrated .nec-aviso-les.nec-aviso-click:hover { background: #fbeee9; }
.needs-integrated .les-row { border-radius: 6px; margin-bottom: 2px; }
.needs-integrated .les-tag {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 700;
    color: #7a2e0e;
    background: #fde7dc;
    vertical-align: middle;
}
.needs-integrated .les-datos-aviso {
    margin: 0.6rem 0 0;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    background: #fff7e0;
    border: 1px solid #f3d68a;
    color: #6b4e00;
    font-size: 0.78rem;
}
.needs-integrated .les-orden-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
}
.needs-integrated .les-orden-toggle {
    display: flex;
    border: 1px solid #d7dee6;
    border-radius: 999px;
    overflow: hidden;
}
.needs-integrated .les-orden-btn {
    border: none;
    background: #fff;
    color: #4b5563;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    cursor: pointer;
}
.needs-integrated .les-orden-btn + .les-orden-btn { border-left: 1px solid #d7dee6; }
.needs-integrated .les-orden-btn.active { background: #1a3a5c; color: #fff; }
.needs-integrated .les-filtro-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    margin-bottom: 0.4rem;
    padding: 0.15rem 0.3rem 0.15rem 0.7rem;
    border-radius: 999px;
    background: #eef3fb;
    color: #1c5cab;
    font-size: 0.75rem;
    font-weight: 600;
}
.needs-integrated .les-filtro-x {
    border: none;
    background: transparent;
    color: #1c5cab;
    cursor: pointer;
    font-size: 0.8rem;
    line-height: 1;
}
.needs-integrated .les-fia {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    vertical-align: middle;
    border: 1px solid transparent;
}
.needs-integrated .les-fia-alta { color: #14532d; background: #e7f5ec; border-color: #b7e0c4; }
.needs-integrated .les-fia-media { color: #5b4a00; background: #fbf3d6; border-color: #eedc9a; }
.needs-integrated .les-fia-baja { color: #7a1d1d; background: #fde8e8; border-color: #f3bcbc; }
.needs-integrated .les-sc > summary {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    cursor: pointer;
    list-style: none;
}
.needs-integrated .les-sc > summary::-webkit-details-marker { display: none; }
.needs-integrated .les-sc > summary::before { content: "▸"; color: #6b7785; }
.needs-integrated .les-sc[open] > summary::before { content: "▾"; }
.needs-integrated .les-sc-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.2rem;
    border-top: 1px solid #eef1f4;
    font-size: 0.78rem;
}
.needs-integrated .les-sc-row img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.needs-integrated .les-sc-row > span:nth-child(2) { flex: 1; min-width: 0; }
.needs-integrated .les-sc-fecha { color: #6b7785; white-space: nowrap; }
.needs-integrated .les-sc-motivo {
    white-space: nowrap;
    font-size: 0.68rem;
    color: #6b7785;
    background: #f1f4f7;
    border-radius: 999px;
    padding: 0.05rem 0.5rem;
}
.needs-integrated .nec-aviso-mer { border-left-color: #1f9e84; background: #f4faf8; }
.needs-integrated .nec-aviso-mer.nec-aviso-click:hover { background: #e6f4f0; }
.needs-integrated .gen-criterio { font-size: 0.74rem; color: #6b7785; margin: 0.5rem 0 0; }
.needs-integrated .nec-ring {
    border-radius: 50%;
    padding: 0.95cqw;
    box-shadow: 0 0 0 2px #eef3ef, 0 2px 6px rgba(13, 42, 74, 0.18);
    transition: transform 0.12s ease;
}
.needs-integrated .nec-bubble-node:hover .nec-ring { transform: scale(1.06); }
.needs-integrated .nec-ring-core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    color: #1a2b3c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.needs-integrated .nec-coinc-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #1a2b3c;
    color: #ffd166;
    font-size: clamp(0.5rem, 1cqw, 0.68rem);
    font-weight: 800;
    border-radius: 999px;
    padding: 0.05rem 0.35rem;
    box-shadow: 0 0 0 2px #eef3ef;
}
.needs-integrated .nec-coinc-badge-inline { position: static; box-shadow: none; }
.needs-integrated .gen-chips { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.2rem; }
.needs-integrated .gen-chip {
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.05rem 0.5rem;
    border: 1px solid transparent;
    white-space: nowrap;
}
.needs-integrated .gen-chip-rum { color: #154a8a; background: #e8f1fc; border-color: #b9d4f5; }
.needs-integrated .gen-chip-les { color: #8a1c1c; background: #fdecec; border-color: #f4bcbc; }
.needs-integrated .gen-chip-con { color: #0b5747; background: #e3f5f0; border-color: #a9dfd0; }
.needs-integrated .gen-chip-con.is-verano { color: #5f6b77; background: #f1f4f7; border-color: #d3dbe3; border-style: dashed; }
.needs-integrated .gen-stars { font-size: 0.85rem; letter-spacing: 1px; color: #e0a800; }
.needs-integrated .gen-stars-3 { color: #d97706; }
.needs-integrated .gen-tab-wrap { overflow-x: auto; }
.needs-integrated .gen-tab { border-collapse: collapse; width: 100%; font-size: 0.72rem; }
.needs-integrated .gen-tab th {
    font-weight: 700;
    color: #6b7785;
    text-align: center;
    padding: 0.3rem 0.25rem;
    border-bottom: 1px solid #e3e8ee;
    white-space: nowrap;
}
.needs-integrated .gen-tab th:first-child,
.needs-integrated .gen-tab-liga { text-align: left; }
.needs-integrated .gen-tab td {
    text-align: center;
    padding: 0.3rem 0.2rem;
    border-bottom: 1px solid #f1f4f7;
    white-space: nowrap;
}
.needs-integrated .gen-tab td.gen-tab-liga { font-weight: 700; color: #1a2b3c; text-align: left; }
.needs-integrated .gen-dot {
    display: inline-block;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    margin: 0 1px;
    padding: 0 3px;
}
.needs-integrated .gen-dot-star { color: #d97706; font-size: 0.7rem; margin-left: 1px; }
.needs-integrated .gen-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 1rem 0;
}
@media  (max-width: 900px) {
.needs-integrated .gen-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.needs-integrated .gen-kpi {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-top: 4px solid #1a2b3c;
    border-radius: 12px;
    padding: 0.8rem 1rem;
}
.needs-integrated .gen-kpi-num { font-size: 2rem; font-weight: 800; color: #1a2b3c; line-height: 1;
               font-variant-numeric: tabular-nums; }
.needs-integrated .gen-kpi-tit { font-size: 0.85rem; font-weight: 700; color: #1a2b3c; margin-top: 0.35rem; }
.needs-integrated .gen-kpi-sub { font-size: 0.72rem; color: #6b7785; margin-top: 0.15rem; }
.needs-integrated .gen-main {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: stretch;
}
@media  (max-width: 1100px) {
.needs-integrated .gen-main { grid-template-columns: minmax(0, 1fr); }
}
.needs-integrated .gen-col-op,
.needs-integrated .gen-col-pos,
.needs-integrated .gen-col-top {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    padding: 0.9rem 1rem;
}
.needs-integrated .gen-col-right { display: flex; flex-direction: column; gap: 1.2rem; }
.needs-integrated .gen-col-top { flex: 1; display: flex; flex-direction: column; }
.needs-integrated .gen-sec-head { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.7rem; }
.needs-integrated .gen-cards { display: flex; flex-direction: column; gap: 0.55rem; }
.needs-integrated .gen-card {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.75rem 0.85rem 1.15rem;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    background: #fbfcfd;
    position: relative;
}
.needs-integrated .gen-card-rating {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 0.66rem;
    font-weight: 400;
    color: #aab4bd;
}
.needs-integrated .gen-card-escudo { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.needs-integrated .gen-card-txt { min-width: 0; flex: 1; }
.needs-integrated .gen-card-club { font-weight: 800; font-size: 0.95rem; color: #1a2b3c; }
.needs-integrated .gen-card-pos {
    margin-left: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1a3a5c;
    background: #eef2f7;
    border-radius: 999px;
    padding: 0.08rem 0.55rem;
    vertical-align: middle;
}
.needs-integrated .gen-card-frase { font-size: 0.85rem; color: #33414f; margin-top: 0.3rem; line-height: 1.35; }
.needs-integrated .gen-card-pie { display: flex; align-items: center; gap: 0.3rem; margin-top: 0.4rem; }
.needs-integrated .gen-card-liga { font-size: 0.7rem; color: #8a96a3; margin-left: 0.3rem; }
.needs-integrated .gen-dot-src {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 0.3rem;
    vertical-align: middle;
}
.needs-integrated .gen-bar-leyenda {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.72rem;
    color: #6b7785;
    margin-bottom: 0.6rem;
}
.needs-integrated .gen-bar-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 34px 34px;
    align-items: center;
    gap: 0.5rem;
    padding: 0.28rem 0.3rem;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
}
.needs-integrated .gen-bar-row:hover { background: #f1f5f9; }
.needs-integrated .gen-bar-lbl { font-size: 0.8rem; font-weight: 700; color: #1a2b3c; white-space: nowrap; }
.needs-integrated .gen-bar-track { height: 14px; }
.needs-integrated .gen-bar { display: flex; height: 100%; gap: 2px; }
.needs-integrated .gen-bar-seg { height: 100%; }
.needs-integrated .gen-bar-seg:first-child { border-radius: 4px 0 0 4px; }
.needs-integrated .gen-bar-seg:last-child { border-radius: 0 4px 4px 0; }
.needs-integrated .gen-bar-seg:only-child { border-radius: 4px; }
.needs-integrated .gen-bar-val { font-size: 0.8rem; font-weight: 700; color: #1a2b3c; text-align: right;
               font-variant-numeric: tabular-nums; }
.needs-integrated .gen-bar-coinc { font-size: 0.72rem; font-weight: 800; color: #b45309; }
.needs-integrated .gen-club-row {
    display: grid;
    grid-template-columns: 22px minmax(0, 110px) minmax(0, 1fr) 24px;
    align-items: center;
    gap: 0.5rem;
    padding: 0.28rem 0.3rem;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
}
.needs-integrated .gen-club-modal-slot {
    padding: 0.6rem 0;
    border-bottom: 1px solid #eef2f7;
}
.needs-integrated .gen-club-modal-slot:last-child { border-bottom: none; }
.needs-integrated .gen-club-modal-slot-h { font-weight: 800; font-size: 0.85rem; color: #1a2b3c; }
.needs-integrated .gen-club-row:hover { background: #f1f5f9; }
.needs-integrated .gen-club-escudo { width: 22px; height: 22px; object-fit: contain; }
.needs-integrated .gen-club-lbl {
    font-size: 0.8rem; font-weight: 700; color: #1a2b3c;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.needs-integrated .gen-mas {
    margin-top: 1rem;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    padding: 0.7rem 1rem;
}
.needs-integrated .gen-mas > summary { cursor: pointer; font-weight: 700; color: #1a3a5c; font-size: 0.85rem; }
.needs-integrated .gen-mas .nec-avisos { border: none; padding: 0.4rem 0 0; margin-top: 0.4rem; }
.needs-integrated .gen-fresh {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1rem;
    font-size: 0.74rem;
    color: #6b7785;
    margin: -0.3rem 0 1rem;
}
.needs-integrated .gen-fresh-tit { font-weight: 700; color: #1a2b3c; }
.needs-integrated .gen-fresh-item { white-space: nowrap; }
.needs-integrated .gen-fresh-old {
    color: #92400e;
    background: #fff7e0;
    border: 1px solid #f3d68a;
    border-radius: 999px;
    padding: 0.05rem 0.55rem;
    font-weight: 600;
}
.needs-integrated .gen-card-click { cursor: pointer; transition: border-color 0.12s ease, background 0.12s ease; }
.needs-integrated .gen-card-click:hover { border-color: #b9c7d6; background: #f4f7fb; }
.needs-integrated .gen-nota {
    font-size: 0.76rem;
    color: #6b7785;
    background: #f7f9fc;
    border: 1px dashed #d5dde6;
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
}
.needs-integrated .nec-aviso-rec { border-left-color: #7c3aed; background: #f8f5ff; }
.needs-integrated .nec-aviso-rec.nec-aviso-click:hover { background: #efe8ff; }
.needs-integrated .gen-card-rec {
    font-size: 0.66rem;
    font-weight: 700;
    color: #5b21b6;
    background: #f1ebff;
    border-radius: 999px;
    padding: 0.02rem 0.45rem;
    margin-left: 0.2rem;
}
.needs-integrated .nec-campo-sinpos {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: #6b7785;
    border: 1px dashed #c9d2dc;
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    cursor: pointer;
}
.needs-integrated .nec-campo-sinpos:hover { background: #f1f5f9; color: #1a3a5c; }
.needs-integrated .nec-campo-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.6rem;
    align-items: center;
    font-size: 0.72rem;
    color: #6b7785;
    margin-bottom: 0.6rem;
}
.needs-integrated .nec-legend-group { display: flex; align-items: center; gap: 0.4rem; }
.needs-integrated .nec-legend-title { font-weight: 700; color: #1a2b3c; margin-right: 0.2rem; }
.needs-integrated .nec-legend-val { font-variant-numeric: tabular-nums; }
.needs-integrated .nec-legend-ramp { display: inline-flex; gap: 2px; }
.needs-integrated .nec-legend-step { width: 18px; height: 10px; border-radius: 2px; }
.needs-integrated .nec-legend-size { display: inline-flex; align-items: center; gap: 0.25rem; }
.needs-integrated .nec-legend-circle {
    display: inline-block;
    border-radius: 50%;
    border: 1.5px solid #6b7785;
}
.needs-integrated .nec-campo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,25,45,0.5);
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
}
.needs-integrated .nec-campo-modal-box {
    background: var(--white);
    border-radius: 12px;
    width: min(640px, 92vw);
    max-height: 84vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.needs-integrated .nec-campo-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid #eef1f5;
}
.needs-integrated .nec-campo-modal-title {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-blue);
    text-transform: uppercase;
}
.needs-integrated .nec-campo-modal-body-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}
.needs-integrated .nec-campo-modal-body {
    padding: 0.5rem 1.2rem 1.2rem;
}
.needs-integrated .ofr-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    border-radius: 6px;
    border-bottom: 1px solid #eee;
    transition: background 0.12s ease;
}
.needs-integrated .ofr-row:hover {
    background: rgba(26,58,92,0.04);
}
.needs-integrated .ofr-row:last-child {
    border-bottom: none;
}
.needs-integrated .ofr-priority-badge {
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
    min-width: 56px;
    text-align: center;
}
.needs-integrated .ofr-asignados {
    color: var(--text-gray);
    font-size: 0.78rem;
    line-height: 1.2;
}
.needs-integrated .ofr-fecha {
    color: var(--text-gray);
    font-size: 0.74rem;
    margin-top: 0.2rem;
}
.needs-integrated .ofr-detail {
    background: var(--white);
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    min-height: 300px;
}
.needs-integrated .ofr-asign-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.needs-integrated .ofr-asign-row:last-child {
    border-bottom: none;
}
.needs-integrated .ofr-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-gray);
}
.needs-integrated .sl-create-inline .filter-input {
    flex: 1;
}
.needs-integrated .les-main-row {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}
.needs-integrated .les-body-col {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}
.needs-integrated .les-svg-wrap {
    width: 100%;
}
.needs-integrated .les-leyenda {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.needs-integrated .les-leyenda-chip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.needs-integrated .les-leyenda-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.12);
}
.needs-integrated .les-leyenda-label {
    font-size: 0.75rem;
    color: #444;
    line-height: 1.2;
}
.needs-integrated .les-leyenda-empty {
    font-size: 0.78rem;
    color: #999;
    font-style: italic;
    text-align: center;
}
.needs-integrated .les-table-col {
    flex: 1 1 0;
    min-width: 0;
    overflow-x: auto;
}
.needs-integrated .les-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}
.needs-integrated .les-tabla thead tr {
    background: #122d47;
}
.needs-integrated .les-tabla th {
    padding: 0.45rem 0.6rem;
    text-align: left;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #c8ddf0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #1e4570;
    white-space: nowrap;
}
.needs-integrated .les-th-flags {
    width: 44px;
    text-align: center;
}
.needs-integrated .les-th-dias {
    text-align: right;
    width: 80px;
}
.needs-integrated .les-tabla tbody tr {
    background: var(--primary-blue);
}
.needs-integrated .les-tabla td {
    padding: 0.38rem 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    vertical-align: middle;
    color: #fff;
}
.needs-integrated .les-td-flags {
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 1px;
    white-space: nowrap;
}
.needs-integrated .les-table-row {
    cursor: pointer;
    transition: background 0.1s ease;
}
.needs-integrated .les-table-row:hover td {
    background: rgba(255,255,255,0.08) !important;
}
.needs-integrated .les-td-dias {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    padding-right: 0.8rem;
}
.needs-integrated .les-row-grave {
    background: rgba(180, 30, 30, 0.28) !important;
}
.needs-integrated .les-row-grave td {
    color: #ffaaaa !important;
}
.needs-integrated .les-row-grave:hover td {
    background: rgba(200, 40, 40, 0.38) !important;
}
.needs-integrated .les-cell-activa {
    color: #c8102e;
    font-weight: 600;
}
.needs-integrated .les-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}
.needs-integrated .les-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 30, 50, 0.55);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.needs-integrated .les-modal-box {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.22);
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 1.5rem 1.8rem 1.8rem;
}
.needs-integrated .les-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: background 0.1s;
}
.needs-integrated .les-modal-close:hover { background: #f0f4f8; color: var(--primary-blue); }
.needs-integrated .les-modal-header {
    margin-bottom: 1rem;
    padding-right: 2rem;
}
.needs-integrated .les-modal-title {
    font-size: 1.15rem;
    color: var(--primary-blue);
    margin: 0 0 0.4rem;
    line-height: 1.3;
}
.needs-integrated .les-modal-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #777;
}
.needs-integrated .les-modal-desc {
    font-size: 0.9rem;
    color: #444;
    margin: 0.6rem 0 0;
    line-height: 1.5;
}
.needs-integrated .les-modal-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    background: #f4f7fb;
    border-radius: 8px;
    padding: 0.9rem 1rem;
}
.needs-integrated .les-modal-kpi {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.needs-integrated .les-modal-kpi-label {
    font-size: 0.72rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.needs-integrated .les-modal-kpi-value {
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 600;
}
.needs-integrated .les-modal-section-title {
    font-size: 0.9rem;
    color: var(--primary-blue);
    margin: 0 0 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.needs-integrated .les-noticias-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.needs-integrated .les-noticia-item {
    padding: 0.7rem 0.9rem;
    background: #f8fafc;
    border-left: 3px solid #d6e2ef;
    border-radius: 0 6px 6px 0;
}
.needs-integrated .les-noticia-meta {
    font-size: 0.72rem;
    color: #888;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.needs-integrated .les-noticia-title {
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: block;
    line-height: 1.35;
}
.needs-integrated .les-noticia-title:hover { text-decoration: underline; color: #c8102e; }
.needs-integrated .les-noticia-excerpt {
    font-size: 0.82rem;
    color: #555;
    margin: 0.3rem 0 0;
    line-height: 1.45;
}
.needs-integrated .les-modal-body { display: flex; flex-direction: column; gap: 0; }

.needs-integrated .nec-tabbar{border:1px solid #dce5ed;border-radius:6px 6px 0 0;box-shadow:none}
.needs-integrated button.nec-tab{background:#fff;border:0;border-bottom:3px solid transparent;font-family:inherit;letter-spacing:0;text-transform:none;font-size:.95rem}
.needs-integrated button.nec-tab.active{background:#edf3f8;border-bottom-color:#163f60;color:#163f60}
.needs-integrated .nec-tab-panel{border:1px solid #dce5ed;border-top:0;border-radius:0 0 6px 6px;box-shadow:none}
.needs-integrated .cuad-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:12px;background:#f5f7fa;border:1px solid #e1e7ee;border-radius:6px}
.needs-integrated .filter-item{flex:1;min-width:160px}
.needs-integrated .filter-input{box-sizing:border-box;width:100%}
@media(max-width:650px){.needs-integrated .nec-tabbar{flex-wrap:wrap}.needs-integrated button.nec-tab{flex-basis:50%}.needs-integrated .nec-tab-panel{padding:10px}}

/* Necesidades: filtros comunes y lectura compacta de oportunidades. */
.needs-integrated .cuad-filters{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px!important;padding:16px!important;margin-bottom:18px;background:#f3f6fa;border:1px solid #d6e1eb;border-top:3px solid #19496c;border-radius:6px;align-items:end}
.needs-integrated .cuad-filters>.filter-item{grid-column:span 4;min-width:0!important;width:auto}
.needs-integrated .cuad-filters>.home-search-btn{grid-column:span 2;min-height:40px;border-radius:5px;font-size:.85rem;align-self:end}
.needs-integrated .filter-item>label,.needs-integrated .needs-filter-caption label{display:block;font-size:.76rem;font-weight:700;color:#52677c;margin-bottom:7px}
.needs-integrated .filter-input,.needs-integrated .Select-control{min-height:40px;border:1px solid #cedae5;border-radius:5px;background:#fff;color:#193f60;font-size:.9rem}
.needs-integrated .filter-input{padding:9px 12px}
.needs-integrated .filter-input:focus{outline:2px solid #c5dcec;outline-offset:1px}
.needs-integrated .needs-filter-caption{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px}
.needs-integrated .needs-filter-caption output{color:#16476d;font-size:.82rem;font-weight:700;white-space:nowrap}
.needs-integrated .cuad-filters>.needs-slider-filter{padding:12px 14px 22px;background:#fff;border:1px solid #dce5ed;border-radius:5px;align-self:stretch}
.needs-integrated .rc-slider{margin:3px 8px 0;width:calc(100% - 16px)}
.needs-integrated .rc-slider-track{background:#3181b4;height:4px}
.needs-integrated .rc-slider-rail{background:#e4ebf2;height:4px}
.needs-integrated .rc-slider-handle{border:2px solid #3181b4;background:#fff;width:14px;height:14px;margin-top:-5px;box-shadow:none}
.needs-integrated .rc-slider-mark-text,.needs-integrated .rc-slider-mark-text-active{white-space:nowrap;font-size:11px;color:#78899a}
.needs-integrated .rc-slider-mark .rc-slider-mark-text:first-child{transform:translateX(0)!important;left:0!important}
.needs-integrated .rc-slider-mark .rc-slider-mark-text:last-child{transform:translateX(-100%)!important}
.needs-integrated #nec-mercado-panel .cuad-filters>.filter-item:nth-child(-n+2),.needs-integrated #nec-general-panel .cuad-filters>.filter-item,.needs-integrated #nec-lesiones-panel .cuad-filters>.filter-item:nth-child(-n+2){grid-column:span 5}
.needs-integrated #nec-mercado-panel .cuad-filters>.needs-slider-filter{grid-column:span 6;grid-row:2}
.needs-integrated #nec-mercado-panel .cuad-filters>.home-search-btn,.needs-integrated #nec-lesiones-panel .cuad-filters>.home-search-btn{grid-column:11/span 2;grid-row:1}
.needs-integrated #nec-lesiones-panel .cuad-filters>.needs-slider-filter{grid-column:1/span 6;grid-row:2}
.needs-integrated #nec-rumores-panel .cuad-filters>.filter-item:nth-child(5){grid-column:span 6}
.needs-integrated .nec-avisos{padding:0;border-radius:6px;overflow:hidden;background:#f7f9fb}
.needs-integrated .nec-avisos-head{padding:12px 14px;margin:0;border-bottom:1px solid #dbe5ee;background:#edf3f8;flex-wrap:wrap}
.needs-integrated .nec-avisos-h{font-size:1rem;color:#193f60}
.needs-integrated .nec-avisos-sub{font-size:.8rem;color:#6b7e91}
.needs-integrated .nec-avisos-grid{padding:12px;gap:10px;align-items:stretch}
.needs-integrated .nec-avisos-col{min-width:0;background:white;border:1px solid #dce5ed;border-radius:5px;overflow:hidden}
.needs-integrated .nec-avisos-title{padding:10px 12px;margin:0;background:#f1f5f9;border-bottom:1px solid #dce5ed;color:#1b4568;font-size:.78rem;text-transform:none;letter-spacing:0;justify-content:space-between}
.needs-integrated .nec-aviso{border:0;border-bottom:1px solid #e6edf3;border-radius:0;background:white;margin:0;padding:11px 12px;min-height:62px}
.needs-integrated .nec-aviso:hover{background:#f2f7fb}
.needs-integrated .nec-aviso-txt{font-size:.85rem;line-height:1.4}
.needs-integrated .nec-aviso-meta{font-size:.76rem;white-space:normal;overflow:visible;color:#738497;margin-top:3px}
.needs-integrated .nec-aviso-crests-liga{width:64px;flex-wrap:wrap}
.needs-integrated .nec-aviso-vacio{padding:12px;font-size:.8rem}
.needs-integrated .nec-aviso-more>summary{padding:10px 12px;background:#f7f9fb}
.needs-integrated .nec-rum-col-lista{border:1px solid #dce5ed;border-radius:6px;padding:14px;background:#fff}
.needs-integrated .nec-rum-list{border:0;box-shadow:none;border-radius:0}
.needs-integrated .needs-contract-row{display:grid;grid-template-columns:minmax(0,1fr) 92px 108px;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #e2eaf2;color:#193f60;font-variant-numeric:tabular-nums}
.needs-integrated .needs-contract-row:last-child{border-bottom:0}
.needs-integrated .needs-contract-row:hover{background:#f6f9fc}
.needs-integrated .needs-contract-player{display:flex;align-items:center;gap:10px;min-width:0}
.needs-integrated .needs-contract-player img{width:30px;height:34px;object-fit:contain;flex:none}
.needs-integrated .needs-contract-player>div{min-width:0}
.needs-integrated .needs-contract-player strong{display:block;font-size:.91rem;line-height:1.3}
.needs-integrated .needs-contract-player span{display:block;font-size:.8rem;margin-top:2px;color:#5c738a}
.needs-integrated .needs-contract-row small{display:block;font-size:.71rem;color:#7a8b9c;line-height:1.5}
.needs-integrated .needs-contract-value,.needs-integrated .needs-contract-date{text-align:right}
.needs-integrated .needs-contract-value strong{font-size:.87rem;font-weight:600}
.needs-integrated .needs-contract-date{padding:7px;border-radius:5px;background:#edf4fa}
.needs-integrated .needs-contract-date strong{font-size:.91rem}
.needs-integrated .les-row,.needs-integrated .nec-rum-row{border-bottom:1px solid #e2eaf2;padding-top:12px;padding-bottom:12px}
.needs-integrated .nec-rum-count{font-size:.8rem;color:#6d8193;margin:6px 0 10px}
@media(max-width:1100px){.needs-integrated .nec-avisos-grid{grid-template-columns:1fr}.needs-integrated .cuad-filters>.filter-item,.needs-integrated #nec-mercado-panel .cuad-filters>.filter-item:nth-child(-n+2),.needs-integrated #nec-general-panel .cuad-filters>.filter-item,.needs-integrated #nec-lesiones-panel .cuad-filters>.filter-item:nth-child(-n+2){grid-column:span 6}.needs-integrated .cuad-filters>.home-search-btn,.needs-integrated #nec-mercado-panel .cuad-filters>.home-search-btn,.needs-integrated #nec-lesiones-panel .cuad-filters>.home-search-btn{grid-column:span 6;grid-row:auto}.needs-integrated #nec-lesiones-panel .cuad-filters>.needs-slider-filter{grid-column:span 6}}
@media(max-width:650px){.needs-integrated .cuad-filters{display:flex!important;flex-direction:column;align-items:stretch}.needs-integrated .cuad-filters>.filter-item{width:100%;box-sizing:border-box}.needs-integrated .needs-contract-row{grid-template-columns:minmax(0,1fr) 78px 96px;gap:7px}.needs-integrated .needs-contract-player img{display:none}}

/* Campo y listado comparten altura; avisos en la fila inferior completa. */
.needs-integrated .nec-rum-layout{align-items:stretch}
.needs-integrated .nec-rum-col-lista{contain:size;min-height:0;overflow:hidden;box-sizing:border-box}
.needs-integrated .needs-list-loading{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c5d5e3 transparent}
/* La lista de dentro (`.ofr-table`) trae su propio scroll (max-height +
   overflow) — metida en este contenedor, que ya hace scroll, salían 2
   barras, una dentro de otra. Aquí solo hace scroll el de fuera. */
.needs-integrated .needs-list-loading .ofr-table{max-height:none;overflow:visible}
/* `scrollbar-width`/`scrollbar-color` son solo de Firefox — equivalente
   para Chrome/Edge, para que la barra sea igual de fina. */
.needs-integrated .needs-list-loading::-webkit-scrollbar{width:8px}
.needs-integrated .needs-list-loading::-webkit-scrollbar-track{background:transparent}
.needs-integrated .needs-list-loading::-webkit-scrollbar-thumb{background:#c5d5e3;border-radius:4px}
.needs-integrated .nec-rum-col-lista>.nec-rum-pager{margin-top:auto;padding-top:12px;flex-shrink:0}
.needs-integrated .needs-wide-alerts{width:100%;min-width:0}
.needs-integrated .needs-wide-alerts .nec-avisos-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1150px){.needs-integrated .nec-rum-col-lista{contain:none;overflow:visible}.needs-integrated .needs-list-loading{flex:initial;overflow:visible}.needs-integrated .needs-wide-alerts .nec-avisos-grid-3{grid-template-columns:1fr}}

/* "Buscar salida": subtítulo bajo cada cabecera de columna (aclara la
   diferencia entre "Oportunidades claras" y "Listado amplio") y filas
   clicables del listado amplio (mismo detalle por club que "Mercado"). */
.needs-integrated .nec-sal-col-sub{display:block;font-size:.78rem;color:#6d8193;margin:-4px 0 10px;line-height:1.4}
.needs-integrated .needs-contract-row-click{cursor:pointer}

.needs-integrated .needs-slider-track-wrap{position:relative;padding-top:4px}

/* Media del Depor junto al título del slider (escudo pequeño + número) —
   antes iba flotando sobre la barra, pero ahí se confundía con un asa más
   o se comía las marcas numéricas cuando caía cerca de ellas. */
.needs-integrated .needs-filter-caption-titulo{display:flex;align-items:baseline;gap:7px}
.needs-integrated .needs-slider-media-badge{display:inline-flex;align-items:center;gap:3px;
    font-size:.72rem;font-weight:600;color:#9aa8b5}
.needs-integrated .needs-slider-media-escudo{width:16px;height:16px;object-fit:contain}

/* Modal de detalle de necesidad: 3 columnas (rumores/lesiones/contrato) con
   desglose por jugador (nombre + valor/rating/proyección en gris debajo). */
.needs-integrated .gen-modal-3col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:0.4rem}
@media(max-width:650px){.needs-integrated .gen-modal-3col{grid-template-columns:1fr}}
.needs-integrated .gen-modal-col-h{font-weight:800;font-size:0.82rem;color:#1a2b3c;margin-bottom:0.5rem;
    border-bottom:1px solid #e2eaf2;padding-bottom:0.3rem}
.needs-integrated .gen-modal-col-vacio{font-size:0.8rem;color:#aab4bd}
.needs-integrated .gen-modal-jug{margin-bottom:0.65rem}
.needs-integrated .gen-modal-jug-nombre{font-weight:700;font-size:0.88rem;color:#1a2b3c}
.needs-integrated .gen-modal-jug-sub{font-size:0.75rem;color:#8a96a3;margin-top:0.1rem}
.needs-integrated .gen-modal-recurrente{margin-top:0.9rem;font-size:0.85rem;color:#b45309}
.needs-integrated .gen-modal-rating-equipo{margin-top:0.4rem;font-size:0.8rem;color:#6d8193}

/* "Buscar salida": 4 columnas, con "Oportunidades claras" con más
   protagonismo (más ancha) que las 3 señales sueltas. Mismo alto fijo en
   las 4 (con scroll si algo se saliera), aunque al ser más estrechas las 3
   de la derecha quepan más filas que tarjetas en "claras" — es solo
   estético, no se fuerza a que quepan las mismas. */
.needs-integrated .nec-sal-4col{display:grid;grid-template-columns:2.9fr 0.78fr 0.78fr 0.78fr;gap:1.1rem;
    align-items:start;margin-top:1rem}
@media(max-width:1150px){.needs-integrated .nec-sal-4col{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.needs-integrated .nec-sal-4col{grid-template-columns:1fr}}
.needs-integrated .nec-sal-col4{min-width:0}
/* Filas de señal suelta (rumor/lesión/contrato) en "Buscar salida": sin la
   3ª columna (la estrella de "también es oportunidad" ya no aporta nada
   aquí, se quitó) — 2 columnas en vez de las 3 de `.needs-contract-row`. */
.needs-integrated .nec-sal-4col .needs-contract-row-sal{grid-template-columns:minmax(0,1fr) 92px}
.needs-integrated .nec-sal-col4-body{height:560px;overflow-y:auto;scrollbar-width:thin;
    scrollbar-color:#c5d5e3 transparent}
/* "Oportunidades claras" lleva el control de orden encima del todo
   (dropdown + botón de afinidad), que las otras 3 columnas no tienen — sin
   compensar, esas 3 quedaban más cortas y dejaban un hueco debajo antes de
   llegar a la altura de "claras". Se alarga su cuerpo esa misma diferencia
   en vez de acortar "claras". */
.needs-integrated .nec-sal-4col>.nec-sal-col4:not(.nec-sal-col4-claras) .nec-sal-col4-body{
    height:616px}
/* Columnas de señales sueltas: todo más pequeño que "claras", para restar
   protagonismo sin dejar de leerse bien — la liga, la más pequeña de todas. */
.needs-integrated .nec-sal-4col>.nec-sal-col4:not(.nec-sal-col4-claras) .needs-contract-player strong,
.needs-integrated .nec-sal-4col>.nec-sal-col4:not(.nec-sal-col4-claras) .needs-contract-value strong{
    font-size:.84em}
.needs-integrated .nec-sal-4col>.nec-sal-col4:not(.nec-sal-col4-claras) .needs-contract-player span,
.needs-integrated .nec-sal-4col>.nec-sal-col4:not(.nec-sal-col4-claras) .needs-contract-value small{
    font-size:.8em}
.needs-integrated .nec-sal-4col>.nec-sal-col4:not(.nec-sal-col4-claras) .needs-contract-player small{
    font-size:.66em}
/* Recuadro de cada señal suelta más estrecho: menos relleno vertical, menos
   separación entre escudo y texto, y escudo más pequeño. */
.needs-integrated .nec-sal-4col>.nec-sal-col4:not(.nec-sal-col4-claras) .needs-contract-row{
    padding:7px 0;gap:6px}
.needs-integrated .nec-sal-4col>.nec-sal-col4:not(.nec-sal-col4-claras) .needs-contract-player{
    gap:6px}
.needs-integrated .nec-sal-4col>.nec-sal-col4:not(.nec-sal-col4-claras) .needs-contract-player img{
    width:20px;height:23px}

/* Botón de "revertir filtros" de "Buscar salida": pequeño, pegado al borde
   derecho del bloque 1 (el posicionamiento vive en la regla de
   `.nec-sal-filtros-jugador>.nec-sal-reset-wrap`, más abajo en esta hoja),
   no destaca como un botón de acción principal (a diferencia de
   "Refrescar" en otras pestañas). */
.needs-integrated .nec-sal-reset-btn{border:1px solid #cbd8e3;border-radius:4px;background:#fff;
    color:#5b7184;font-size:.76rem;padding:6px 10px;cursor:pointer}
.needs-integrated .nec-sal-reset-btn:hover{border-color:#8ab0cc;color:#16476d}

/* Botón disparador de la burbuja de selección de jugador (sustituye al
   desplegable de solo texto) — mismo alto que un filter-input normal. */
.needs-integrated .nec-sal-jugador-btn{display:flex;align-items:center;gap:8px;width:100%;
    min-height:44px;padding:4px 12px;border:1px solid #cbd8e3;border-radius:4px;background:#fff;
    color:#203b56;font-size:.86rem;text-align:left;cursor:pointer}
.needs-integrated .nec-sal-jugador-btn:hover{border-color:#8ab0cc}
.needs-integrated .nec-sal-jugador-btn-foto{width:30px;height:30px;border-radius:50%;
    object-fit:cover;background:#eef2f6;flex:0 0 30px}
.needs-integrated .nec-sal-jugador-btn-info{display:flex;flex-direction:column;gap:1px;min-width:0}
.needs-integrated .nec-sal-jugador-btn-info #nec-sal-jugador-btn-txt{font-size:.94rem;font-weight:600}
.needs-integrated .nec-sal-jugador-btn-stats{font-size:.68rem;color:#aab4bd;font-weight:500}

/* Burbuja de selección: plantilla por columnas de posición, foto + nombre. */
.needs-integrated .nec-sal-pick-box{width:min(980px,96vw)}
.needs-integrated .nec-sal-pick-grid{display:flex;flex-direction:column;gap:1.3rem;
    padding:1rem 1.2rem 1.4rem;overflow-y:auto}
.needs-integrated .nec-sal-pick-fila{display:flex;flex-wrap:wrap;justify-content:center;gap:1.4rem;
    padding-bottom:1.1rem;border-bottom:1px solid #eef1f5}
.needs-integrated .nec-sal-pick-fila:last-child{border-bottom:none;padding-bottom:0}
.needs-integrated .nec-sal-pick-col{min-width:92px}
.needs-integrated .nec-sal-pick-col-h{font-family:"Barlow Condensed",sans-serif;font-weight:700;
    font-size:.82rem;letter-spacing:.02em;color:#16476d;text-transform:uppercase;
    border-bottom:2px solid #16476d;padding-bottom:4px;margin-bottom:10px;text-align:center}
/* Todos los jugadores de una columna van en la MISMA línea horizontal —
   el "lado" (izq./der.) solo decide el orden, nunca una línea aparte. */
.needs-integrated .nec-sal-pick-col-body{display:flex;flex-direction:row;align-items:center;gap:10px}
.needs-integrated .nec-sal-pick-col-lado{display:flex;flex-direction:row;align-items:center;gap:10px}
/* "Barra tenue" VERTICAL entre lado izquierdo y derecho de Lateral/Extremo
   — separa de lado a lado dentro de la misma fila, no la parte en dos. */
.needs-integrated .nec-sal-pick-lado-divider{width:1px;align-self:stretch;background:#e3e9ef;margin:0 2px}
.needs-integrated .nec-sal-pick-card{display:flex;flex-direction:column;align-items:center;gap:4px;
    width:92px;border:none;background:none;cursor:pointer;padding:4px;border-radius:6px}
.needs-integrated .nec-sal-pick-card:hover{background:#eef4f9}
.needs-integrated .nec-sal-pick-foto{width:52px;height:52px;border-radius:50%;object-fit:cover;
    background:#eef2f6;border:1px solid #dce5ed}
.needs-integrated .nec-sal-pick-nombre{font-size:.72rem;color:#203b56;text-align:center;
    line-height:1.15}
.needs-integrated .nec-sal-pick-sub{font-size:.62rem;color:#8a96a3;text-align:center;line-height:1.2}

/* Jerarquía visual en "Buscar salida": las 3 señales sueltas (rumores/
   lesionados/contratos) llevan el título un pelín más pequeño y en un gris
   intermedio (ni tan oscuro como "Oportunidades claras" ni demasiado
   clarito) — por contraste, no por tamaño, "claras" se nota como el bloque
   principal. */
.needs-integrated .nec-sal-4col>.nec-sal-col4:not(.nec-sal-col4-claras) .nec-avisos-h{
    font-size:.92rem;color:#64798d}
.needs-integrated .nec-sal-4col>.nec-sal-col4-claras .nec-avisos-h{font-size:1.18rem}

/* Orden de "Oportunidades claras" + filtro de afinidad (solo visible con
   ese orden activo). */
.needs-integrated .nec-sal-claras-orden{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 4px}
.needs-integrated .nec-sal-claras-orden .Select-control,
.needs-integrated .nec-sal-claras-orden>div:first-child{flex:1;min-width:190px;font-size:.82rem}
.needs-integrated .nec-sal-afinidad-btn{border:1px solid #cbd8e3;border-radius:4px;background:#fff;
    color:#5b7184;font-size:.76rem;padding:0 10px;cursor:pointer;white-space:nowrap}
.needs-integrated .nec-sal-afinidad-btn:hover{border-color:#8ab0cc;color:#16476d}

/* Rediseño de "Buscar salida": bloque 1 = solo elegir jugador + revertir —
   FLEX (no grid) para que "Revertir filtros" quede pegado al borde derecho
   del bloque pase lo que pase con el ancho del selector de jugador, que
   vuelve a ser un botón grande (como al principio), con nombre + VM/RAT/
   POT en la misma línea (el dato en gris clarito a la derecha, no debajo).
   Bloque 2 = posiciones/valor arriba, rating/potencial abajo, en 2x2, a
   todo el ancho del panel, con su título DENTRO del recuadro (primera fila,
   a todo lo ancho) y un marcador de dónde cae el jugador elegido en cada
   barra. */
.needs-integrated #nec-salida-panel .nec-sal-filtros-jugador{
    display:flex!important;align-items:flex-start;gap:16px;padding:10px 14px!important}
.needs-integrated #nec-salida-panel .nec-sal-filtros-jugador>.filter-item{
    flex:0 1 440px;min-width:240px;max-width:440px}
.needs-integrated #nec-salida-panel .nec-sal-filtros-jugador>.nec-sal-reset-wrap{
    flex:0 0 auto;margin-left:auto;display:flex;align-items:center}
/* El aro de color de fin de contrato de la foto es un `box-shadow` por
   FUERA de su propio tamaño (ver `_sal_picker_boton`: "0 0 0 2px #fff,
   0 0 0 4px color" → +6px de cada lado). Con `box-sizing:border-box`
   (reset global), el `min-height` del botón YA incluye el padding — para
   que el aro quepa entero dentro hace falta min-height >= foto + 2×6px de
   aro + 2×padding vertical; de ahí los números de abajo (34+12+2×7=60).
   Si se encoge la foto o el padding, hay que volver a cuadrar esta cuenta,
   no solo "achicar y ya está". */
.needs-integrated #nec-salida-panel .nec-sal-jugador-btn{min-height:62px;padding:7px 14px}
.needs-integrated #nec-salida-panel .nec-sal-jugador-btn-foto{width:34px;height:34px;flex:0 0 34px}
.needs-integrated #nec-salida-panel .nec-sal-jugador-btn-info{
    flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:6px}
.needs-integrated #nec-salida-panel .nec-sal-jugador-btn-info #nec-sal-jugador-btn-txt{
    font-size:1.2rem;font-weight:700;color:#16365a}
/* El nombre se queda igual de grande (es la parte visual importante del
   bloque 1) — solo se encoge el texto secundario (VM/RAT/POT). */
.needs-integrated #nec-salida-panel .nec-sal-jugador-btn-stats{font-size:.7rem;color:#b9c2cb}

/* Bloque 2: título DENTRO del recuadro (1ª fila, a todo lo ancho — mismo
   recuadro con fondo/borde de `.cuad-filters`, no uno aparte) + el bloque
   vuelve a cubrir todo el ancho del panel. Mismo estilo que la etiqueta
   "Jugador a dar salida" del bloque 1 (la regla genérica `.filter-item>
   label`), no un título grande aparte. */
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid>.nec-sal-filtros-grid-titulo{
    grid-column:1/-1;align-self:start;display:block;font-size:.76rem;font-weight:700;
    color:#52677c;margin:0 0 4px}
/* Prueba: los 4 filtros EN FILA (no 2x2) — "Posiciones" no necesita tanto
   ancho como las 3 barras (valor/rating/potencial, con sus marcas
   numéricas), así que se le da una columna más estrecha que a ellas en
   vez de repartir el ancho a partes iguales. */
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid{
    align-items:stretch;padding:16px 14px!important;gap:12px!important;margin-bottom:6px;
    grid-template-columns:0.8fr 1.2fr 1.2fr 1.2fr!important}
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid>.filter-item,
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid>.needs-slider-filter{grid-column:span 1}
/* Cajas de los umbrales más finas (menos relleno vertical) para que los 4
   filtros del bloque queden a una altura parecida — y el bloque entero más
   bajo en conjunto. "Posiciones" alinea su contenido ARRIBA (no centrado):
   al estirarse a la altura de la barra de al lado (más alta, por las
   marcas numéricas debajo), centrarlo dejaba su desplegable más abajo que
   el inicio de esa barra — se notaba descuadrado respecto a "Valor de
   mercado" en la misma fila. Aun así queda hueco blanco debajo del
   desplegable de "Posiciones" (su contenido es más corto que una barra
   con marcas+marcador) — se reduce recortando el alto que necesita la
   barra, no forzando el de "Posiciones" por separado. */
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .needs-slider-filter{
    padding:0 14px 8px;display:flex;flex-direction:column;justify-content:flex-start}
.needs-integrated #nec-salida-panel .nec-sal-posiciones-item{
    align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start;
    background:#fff;border:1px solid #dce5ed;border-radius:5px;padding:4px 14px}
.needs-integrated #nec-salida-panel .nec-sal-posiciones-item .Select-control{min-height:34px}
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .needs-filter-caption{margin-bottom:2px}
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .needs-slider-track-wrap{padding-top:10px}

/* Todo el texto DENTRO del bloque 2 más pequeño (menos los 4 valores, que
   ya son pequeños) — el título del bloque ("CONDICIONES DEL CLUB
   COMPRADOR") se queda como está, no entra en este selector. */
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .filter-item>label,
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .needs-filter-caption label{
    font-size:.68rem}
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .needs-filter-caption output{font-size:.7rem}
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .needs-slider-media-badge{font-size:.62rem}
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .needs-slider-media-escudo{width:13px;height:13px}
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .Select-control,
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .Select-value-label,
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .Select-placeholder{font-size:.78rem}
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .rc-slider-mark-text{font-size:9px}
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .needs-slider-marcador-txt{font-size:.58rem}
/* "Posiciones" va en la columna más estrecha de la fila — las etiquetas
   elegidas (multi-select) no caben con el tamaño normal de chip, se veían
   a medio cortar. Chips más pequeños (texto + relleno + icono de borrar). */
.needs-integrated #nec-salida-panel .nec-sal-posiciones-item .Select--multi .Select-value{
    font-size:.62rem;margin:2px 3px 2px 0;padding:0}
.needs-integrated #nec-salida-panel .nec-sal-posiciones-item .Select-value-label{
    padding:0 4px;line-height:18px}
.needs-integrated #nec-salida-panel .nec-sal-posiciones-item .Select-value-icon{padding:0 4px}
@media(max-width:650px){
    .needs-integrated #nec-salida-panel .nec-sal-filtros-jugador{flex-wrap:wrap}
    .needs-integrated #nec-salida-panel .nec-sal-filtros-jugador>.filter-item{max-width:100%;flex-basis:100%}
    .needs-integrated #nec-salida-panel .nec-sal-filtros-jugador>.nec-sal-reset-wrap{margin-left:0}
    .needs-integrated #nec-salida-panel .nec-sal-filtros-grid>.filter-item,
    .needs-integrated #nec-salida-panel .nec-sal-filtros-grid>.needs-slider-filter{grid-column:span 12}
}

/* Marcador de dónde cae el jugador elegido dentro de una barra de "Buscar
   salida" (valor/rating/potencial): línea vertical + su apellido ENCIMA de
   la barra (no debajo — ahí abajo ya van las marcas numéricas del slider,
   "0 €"/"12.5 M€"/etc., y se montaban una sobre otra). El CSS solo pone el
   aspecto (línea + texto); la posición (`left`, en píxeles) la calcula
   `assets/zz_sal_marcador.js` leyendo el raíl REAL del slider en el
   navegador — un % calculado a mano aquí, asumiendo el margen interno de
   rc-slider, se desincronizaba (el jugador "se salía" del umbral aunque el
   filtro sí lo incluyera). */
.needs-integrated #nec-salida-panel .needs-slider-track-wrap{padding-top:16px}
.needs-integrated .needs-slider-marcador{
    position:absolute;top:3px;bottom:16px;width:2px;background:#16365a;
    transform:translateX(-50%);pointer-events:none}
.needs-integrated .needs-slider-marcador-txt{
    position:absolute;top:-15px;left:50%;transform:translateX(-50%);
    font-size:.65rem;font-weight:700;color:#16365a;white-space:nowrap}
/* Umbrales de "Buscar salida": asa y raíl más pequeños (se veían muy
   grandes) — solo en este bloque, el resto de sliders de la página no se
   toca. */
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .rc-slider-handle{
    width:10px;height:10px;margin-top:-3px}
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .rc-slider-track,
.needs-integrated #nec-salida-panel .nec-sal-filtros-grid .rc-slider-rail{height:3px}

/* Leyenda de años de fin de contrato en la burbuja de selección (el aro de
   color de cada foto, ver `_color_contrato_restante`). */
.needs-integrated .nec-sal-contrato-legend{display:flex;flex-wrap:wrap;align-items:center;gap:9px;
    padding:8px 1.2rem 0;font-size:.72rem;color:#5b7184}
.needs-integrated .nec-sal-contrato-legend-tit{font-weight:700;color:#1a2b3c}
.needs-integrated .nec-sal-contrato-legend-chip{display:inline-flex;align-items:center;gap:4px}
.needs-integrated .nec-sal-contrato-legend-dot{width:10px;height:10px;border-radius:50%;flex:0 0 10px}

/* Bloque 3 de "Buscar salida" (el desplegable "Más filtros", liga/club):
   más bajo de altura que un `.cuad-filters` normal — menos relleno y
   desplegables más finos, ya que solo lleva 2 campos sueltos, no sliders. */
.needs-integrated #nec-salida-panel .nec-sal-mas-filtros .cuad-filters{
    padding:10px 14px!important;margin-bottom:8px;border-top-width:1px}
.needs-integrated #nec-salida-panel .nec-sal-mas-filtros .filter-item>label{
    margin-bottom:4px;font-size:.68rem}
.needs-integrated #nec-salida-panel .nec-sal-mas-filtros .Select-control,
.needs-integrated #nec-salida-panel .nec-sal-mas-filtros .Select-value-label,
.needs-integrated #nec-salida-panel .nec-sal-mas-filtros .Select-placeholder{
    min-height:34px;font-size:.78rem}

/* "Visión combinada": filtro de señal multi-selección (antes un selector
   único) — reutiliza las clases `alerts2-window*` ya globales (mismo
   patrón que "Disponibilidad" en Alertas TransferRoom), con 3 opciones en
   vez de 2 y el mismo "✓" al marcar. */
.needs-integrated .nec-vis-senal-options{grid-template-columns:repeat(3,1fr)}
.needs-integrated .nec-vis-senal-options .alerts2-window-label:has(input:checked)::before{
    content:"✓";margin-right:6px}
/* El texto en blanco al marcar ya lo pone la regla base de
   `.alerts2-window-label:has(input:checked)`, pero se repite aquí, más
   específica, para que gane siempre dentro de esta página — se vio un
   caso (la 1ª opción) donde se quedaba con el texto oscuro sobre el fondo
   oscuro, ilegible. */
.needs-integrated .nec-vis-senal-options .alerts2-window-label:has(input:checked){color:#fff!important}

/* Cabecera de la lista MEZCLADA (contador + selector pequeño de qué
   tipos se enseñan ahí — aparte del de "Señal" de arriba): chips de
   texto diminutos, no el control grande `alerts2-window` de arriba —
   a propósito, para no competir visualmente con el de arriba. */
.needs-integrated .nec-vis-lista-cab{display:flex;align-items:center;justify-content:space-between;
    gap:10px;margin-bottom:6px;flex-wrap:wrap}
.needs-integrated .nec-vis-lista-senal-options{display:flex;gap:4px}
.needs-integrated .nec-vis-lista-senal-options .nec-vis-lista-senal-label{
    display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border-radius:10px;
    border:1px solid #d6e1eb;background:#fff;color:#5b7184;font-size:.68rem;font-weight:600;
    cursor:pointer;white-space:nowrap}
.needs-integrated .nec-vis-lista-senal-options .nec-vis-lista-senal-label:has(input:checked){
    background:#1a3a5c;border-color:#1a3a5c;color:#fff}
.needs-integrated .nec-vis-lista-senal-options .nec-vis-lista-senal-input{
    position:absolute;opacity:0;pointer-events:none}

/* Burbuja concéntrica del campograma fusionado (2-3 señales marcadas,
   `_build_campograma_fusion`): un aro por señal activa, el primero de la
   lista (rumores si está marcada) ocupa el disco entero y los siguientes
   se pintan ENCIMA, cada vez más pequeños — por eso el orden en el HTML
   importa (va de fuera a dentro) y no hace falta `border-radius` en el
   contenedor, solo en cada aro. */
.needs-integrated .nec-bubble-fusion{position:relative;border-radius:50%}
.needs-integrated .nec-bubble-fusion-aro{position:absolute;top:50%;left:50%;
    transform:translate(-50%,-50%);border-radius:50%}
.needs-integrated .nec-bubble-node{cursor:pointer}

/* Avisos de "Visión combinada": un <details> plegable por señal activa
   (cerrados por defecto), en vez de los 3 bloques apilados de golpe. El
   título interno de cada bloque ("Avisos" + subtítulo, de
   `_build_avisos*`) se oculta aquí — ya lo dice el <summary> de fuera
   ("Avisos de rumores"/etc.), sería un texto repetido. */
.needs-integrated .nec-vis-avisos-det{border:1px solid #dce5ed;border-radius:6px;
    margin-bottom:10px;background:#fff;overflow:hidden}
.needs-integrated .nec-vis-avisos-det>summary{padding:10px 14px;cursor:pointer;
    font-weight:800;font-size:.88rem;color:#1a3a5c;background:#f3f6fa;list-style:none}
.needs-integrated .nec-vis-avisos-det>summary::-webkit-details-marker{display:none}
.needs-integrated .nec-vis-avisos-det>summary::before{content:"▸";color:#6b7785;margin-right:6px}
.needs-integrated .nec-vis-avisos-det[open]>summary::before{content:"▾"}
.needs-integrated .nec-vis-avisos-det .nec-avisos-head{display:none}
.needs-integrated .nec-vis-avisos-det .nec-avisos,
.needs-integrated .nec-vis-avisos-det .les-sc{padding:12px 14px}

/* "Sin cobertura" en tandas de 10, cada una su propio <details> plegable
   (salvo que solo haya una tanda, que se enseña suelta). */
.needs-integrated .les-sc-tanda-det>summary{cursor:pointer;font-weight:700;
    font-size:.78rem;color:#16476d;padding:4px 0}
.needs-integrated .les-sc-tanda-det>summary::-webkit-details-marker{display:none}
.needs-integrated .les-sc-tanda-det>summary::before{content:"▸ ";color:#6b7785}
.needs-integrated .les-sc-tanda-det[open]>summary::before{content:"▾ "}

/* "Sin posición" bajo el campograma de Visión combinada: botón que
   despliega quién es cada jugador y por qué aparece (rumor/lesión/contrato).
   Marca de color a la izquierda = señal, mismos colores que `_GEN_COL`. */
.needs-integrated .nec-vis-sinpos>summary{list-style:none;cursor:pointer}
.needs-integrated .nec-vis-sinpos>summary::-webkit-details-marker{display:none}
.needs-integrated .nec-vis-sinpos>summary::before{content:"▸ "}
.needs-integrated .nec-vis-sinpos[open]>summary::before{content:"▾ "}
.needs-integrated .nec-vis-sinpos-lista{margin-top:6px;max-height:220px;overflow-y:auto;
    border:1px solid #e2eaf2;border-radius:6px;background:#fff;font-size:.74rem}
.needs-integrated .nec-vis-sinpos-fila{padding:5px 10px;border-bottom:1px solid #eef2f6;
    border-left:3px solid transparent;color:#1a2b3c}
.needs-integrated .nec-vis-sinpos-fila:last-child{border-bottom:0}
.needs-integrated .nec-vis-sinpos-rum{border-left-color:#2a78d6}
.needs-integrated .nec-vis-sinpos-les{border-left-color:#dc2626}
.needs-integrated .nec-vis-sinpos-con{border-left-color:#1f9e84}
.needs-integrated .nec-vis-sinpos-club{color:#5b7184}
.needs-integrated .nec-vis-sinpos-motivo{color:#6b7785;margin-top:1px}

/* Separación entre el bloque campograma+lista y los avisos de debajo. */
.needs-integrated #nec-vis-avisos{margin-top:18px}

/* Buscar salida: avisos del filtro de mercado de invierno */
.needs-integrated .nec-sal-mercado-aviso { position: relative; margin: 0.35rem 0 0.5rem; padding: 0.45rem 0.7rem;
    border-radius: 8px; background: #f1f4f7; border: 1px solid #d3dbe3; color: #4a5b6c; font-size: 0.78rem; line-height: 1.35; }
.needs-integrated .nec-sal-mercado-aviso.is-invierno { background: #eef5fc; border-color: #c4dbf1; color: #24527a; padding-right: 1.9rem; }
.needs-integrated .nec-sal-mercado-aviso-icono { position: absolute; top: 0.3rem; right: 0.5rem; font-size: 0.95rem; color: #3b82c4; line-height: 1; }
.needs-integrated .needs-contract-row-sal { position: relative; }
.needs-integrated .nec-sal-copo { position: absolute; top: 0.25rem; right: 0.4rem; font-size: 0.8rem; color: #3b82c4; line-height: 1; }
