.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: 1.1rem 1.2rem;
    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-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;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    background: #fbfcfd;
}
.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 2px;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{white-space:nowrap;font-size:11px;color:#78899a}
.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}
.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}}
