/* Selección · capa premium (Fase 5). Solo estilos; no cambia comportamiento. */
#view .selection-shell{--lx-ink:#0a3546;--lx-muted:#5f7a86;--lx-line:#e2ecef;--lx-teal:#00c9a7;--lx-deep:#063a49;--lx-soft:#f3f8f9;--lx-shadow:0 1px 2px rgba(8,52,68,.05),0 10px 30px rgba(8,52,68,.07);font-feature-settings:"tnum" 1}
#view .selection-shell .selection-hero{background:radial-gradient(1200px 300px at 85% -40%,rgba(0,201,167,.35),transparent 60%),linear-gradient(135deg,#042a37 0%,#06485a 55%,#0a6a6e 100%);border-radius:26px;box-shadow:0 24px 60px rgba(4,42,55,.28);position:relative;overflow:hidden}
#view .selection-shell .selection-hero:after{content:"";position:absolute;right:-60px;bottom:-90px;width:280px;height:280px;border-radius:50%;border:42px solid rgba(255,255,255,.05);pointer-events:none}
#view .selection-shell .selection-hero h2{letter-spacing:-.02em;font-size:clamp(26px,3vw,34px)}
#view .selection-shell .selection-tabs{background:rgba(255,255,255,.86);backdrop-filter:blur(10px);border:1px solid var(--lx-line);border-radius:18px;padding:6px;box-shadow:var(--lx-shadow);gap:4px;overflow-x:auto;scrollbar-width:none;position:sticky;top:8px;z-index:5}
#view .selection-shell .selection-tabs::-webkit-scrollbar{display:none}
#view .selection-shell .selection-tabs button{border-radius:12px;padding:10px 16px;font-weight:700;color:#3d5d6b;white-space:nowrap;transition:background .15s,color .15s,box-shadow .15s;border:0;background:transparent}
#view .selection-shell .selection-tabs button:hover{background:var(--lx-soft);color:var(--lx-ink)}
#view .selection-shell .selection-tabs button.active{background:linear-gradient(135deg,#06485a,#0b6f70);color:#fff;box-shadow:0 6px 16px rgba(6,72,90,.28)}
#view .selection-shell .selection-kpi{border:1px solid var(--lx-line);border-radius:20px;box-shadow:var(--lx-shadow);position:relative;overflow:hidden;transition:transform .15s,box-shadow .15s}
#view .selection-shell .selection-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--lx-teal),#0a6a6e)}
#view .selection-shell .selection-kpi:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(8,52,68,.12)}
#view .selection-shell .selection-kpi b{font-size:32px;letter-spacing:-.02em;color:var(--lx-deep)}
#view .selection-shell .selection-kpi small{text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:800;color:var(--lx-muted)}
#view .selection-shell .selection-panel{border:1px solid var(--lx-line);border-radius:24px;box-shadow:var(--lx-shadow)}
#view .selection-shell .eyebrow{letter-spacing:.14em;font-weight:800}
#view .selection-shell input:not([type=checkbox]):not([type=radio]):not([type=range]),#view .selection-shell select,#view .selection-shell textarea,.selection-modal input:not([type=checkbox]):not([type=radio]):not([type=range]),.selection-modal select,.selection-modal textarea{border:1px solid #d3e3e8;border-radius:12px;background:#fff;min-height:44px;padding:10px 12px;font:inherit;color:var(--lx-ink,#0a3546);transition:border-color .15s,box-shadow .15s}
#view .selection-shell select,.selection-modal select{appearance:none;-webkit-appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2306485a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
#view .selection-shell input:focus,#view .selection-shell select:focus,#view .selection-shell textarea:focus,.selection-modal input:focus,.selection-modal select:focus,.selection-modal textarea:focus{outline:0;border-color:var(--lx-teal,#00c9a7);box-shadow:0 0 0 4px rgba(0,201,167,.16)}
#view .selection-shell .sel-filters{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;align-items:end}
#view .selection-shell .selection-button,#view .selection-shell .selection-toolbar button,#view .selection-shell .selection-pipeline-actions button,.selection-modal .selection-button{border-radius:12px;font-weight:800;min-height:42px;padding:10px 16px;transition:transform .12s,box-shadow .15s,background .15s;border:1px solid transparent}
#view .selection-shell .selection-button:not(.alt):not(.danger),.selection-modal .selection-button:not(.alt):not(.danger){background:linear-gradient(135deg,#00d6b2,#00b89a);color:#042f3a;box-shadow:0 8px 20px rgba(0,185,154,.28)}
#view .selection-shell button.alt,.selection-modal button.alt{background:#fff;border:1px solid #d3e3e8;color:var(--lx-ink,#0a3546)}
#view .selection-shell button.danger,.selection-modal button.danger{background:#fff5f5;border:1px solid #f4c9c9;color:#a61b1b}
#view .selection-shell button:not(:disabled):hover{transform:translateY(-1px)}
#view .selection-shell button:focus-visible,.selection-modal button:focus-visible{outline:3px solid rgba(0,201,167,.45);outline-offset:2px}
#view .selection-shell .selection-row{border:1px solid var(--lx-line);border-radius:18px;background:#fff;box-shadow:0 1px 2px rgba(8,52,68,.04);transition:box-shadow .15s,transform .15s,border-color .15s}
#view .selection-shell .selection-row:hover{box-shadow:0 14px 32px rgba(8,52,68,.10);border-color:#cfe5e3;transform:translateY(-1px)}
#view .selection-shell .selection-pill,#view .selection-shell .sel-badge{border-radius:999px;font-weight:800;font-size:12px;padding:5px 11px}
#view .selection-shell .selection-board{gap:14px;padding:6px 2px 18px}
#view .selection-shell .selection-column{background:linear-gradient(180deg,#f2f8f9,#eef5f6);border:1px solid var(--lx-line);border-radius:22px;padding:12px}
#view .selection-shell .selection-column>h3,#view .selection-shell .selection-column>header,#view .selection-shell .selection-column>div:first-child{font-weight:800;color:var(--lx-deep)}
#view .selection-shell .selection-card{display:grid;grid-template-columns:52px 1fr;column-gap:12px;row-gap:2px;align-items:center;background:#fff;border:1px solid var(--lx-line);border-radius:18px;padding:14px;box-shadow:0 2px 6px rgba(8,52,68,.05);transition:box-shadow .15s,transform .15s;position:relative}
#view .selection-shell .selection-card:hover{box-shadow:0 16px 34px rgba(8,52,68,.13);transform:translateY(-2px)}
#view .selection-shell .selection-card>*:not(.selection-avatar){grid-column:2;min-width:0;overflow:hidden;text-overflow:ellipsis}
#view .selection-shell .selection-card>.selection-avatar{grid-row:1/span 3;grid-column:1;width:52px!important;height:52px!important;min-width:52px;border-radius:16px!important;object-fit:cover;background:linear-gradient(135deg,#d7f4ee,#bfe3e6);box-shadow:0 0 0 3px #fff,0 0 0 4px #d6ebe9}
#view .selection-shell .selection-card>b{font-size:15px;color:var(--lx-ink)}
#view .selection-shell .selection-card>small{color:var(--lx-muted);font-size:12px;white-space:nowrap}
#view .selection-shell .selection-card>.selection-link{grid-column:1/-1;margin-top:10px;justify-self:stretch;text-align:center;border-radius:11px;background:var(--lx-soft);border:1px solid var(--lx-line);padding:8px 10px;font-weight:800;color:#06485a}
#view .selection-shell .selection-card>.selection-link:hover{background:#e3f4f1}
#view .selection-shell .selection-card.dragging,#view .selection-shell .selection-card[aria-grabbed=true]{opacity:.85;transform:rotate(1.5deg) scale(1.02);box-shadow:0 24px 50px rgba(8,52,68,.22)}
#view .selection-shell .sel-stage-jump button,#view .selection-shell .selection-board-controls button{border-radius:999px}
#view .selection-shell .selection-hint{background:var(--lx-soft);border:1px solid var(--lx-line);border-radius:14px;padding:10px 14px;color:var(--lx-muted)}
.selection-modal{backdrop-filter:blur(6px);background:rgba(4,34,45,.55)!important}
.selection-modal .selection-dialog{border-radius:26px!important;box-shadow:0 40px 90px rgba(4,34,45,.45)!important;border:1px solid rgba(255,255,255,.6)}
.selection-modal .selection-dialog-head{background:radial-gradient(800px 200px at 90% -60%,rgba(0,201,167,.3),transparent 60%),linear-gradient(135deg,#042a37,#06485a 60%,#0a6a6e);color:#fff;padding:22px 24px!important}
.selection-modal .selection-dialog-head h2,.selection-modal .selection-dialog-head h3,.selection-modal .selection-dialog-head b{color:#fff!important}
.selection-modal .selection-dialog-head small,.selection-modal .selection-dialog-head p{color:rgba(255,255,255,.8)!important}
.selection-modal .selection-dialog-head .selection-avatar{width:68px;height:68px;border-radius:20px;object-fit:cover;box-shadow:0 0 0 3px rgba(255,255,255,.85)}
.selection-modal .selection-close{border-radius:12px;background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.25)}
.selection-modal .selection-exp-tabs{gap:4px;padding:8px;background:#f3f8f9;border-bottom:1px solid #e2ecef;overflow-x:auto;scrollbar-width:none}
.selection-modal .selection-exp-tabs button{border-radius:11px;font-weight:700;white-space:nowrap;border:0;background:transparent;padding:9px 14px;color:#3d5d6b}
.selection-modal .selection-exp-tabs button.active{background:#fff;color:#06485a;box-shadow:0 4px 12px rgba(8,52,68,.12)}
.selection-modal .selection-detail-grid>*{border-radius:14px}
.selection-modal .selection-timeline{position:relative}
.selection-modal .selection-timeline article{content-visibility:auto;contain-intrinsic-size:auto 72px}
.selection-modal .selection-timeline article i{background:#00c9a7;box-shadow:0 0 0 4px rgba(0,201,167,.18)}
.selection-modal .ai-panel,.selection-modal #ai-cv{content-visibility:auto;contain-intrinsic-size:auto 320px;border-radius:18px}
.selection-modal img{decoding:async}
@media(max-width:720px){#view .selection-shell .selection-hero{border-radius:20px}#view .selection-shell .selection-tabs{top:4px;border-radius:14px}#view .selection-shell .selection-kpi b{font-size:26px}#view .selection-shell .sel-filters{grid-template-columns:1fr 1fr}.selection-modal .selection-dialog{border-radius:22px 22px 0 0!important}}
@media(max-width:420px){#view .selection-shell .sel-filters{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#view .selection-shell *{transition:none!important}}

#view .selection-shell .selection-card>.selection-avatar.lx-nophoto{background:linear-gradient(135deg,#d7f4ee,#bfe3e6) center/26px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2306485a'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E")}

/* ===== p6 · horarios de entrevista 07:00–21:00 ===== */
.iv-slots{display:grid;gap:14px;margin:10px 0 4px}
.iv-group>b{display:flex;align-items:center;gap:8px;font:800 11px/1 Inter,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#5b6b7a;margin-bottom:8px}
.iv-group>b:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,#dfe6ee,transparent)}
.iv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px}
.iv-slot{position:relative;min-height:44px;border:1px solid #d7e1ea;border-radius:12px;background:#fff;color:#0b2433;font:700 14px/1.1 Inter,Arial,sans-serif;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transition:transform .15s,box-shadow .15s,background .15s,border-color .15s;-webkit-tap-highlight-color:transparent}
.iv-slot:hover:not(:disabled){border-color:#0b7a8f;box-shadow:0 6px 16px #0b7a8f22;transform:translateY(-1px)}
.iv-slot:focus-visible{outline:3px solid #0b7a8f55;outline-offset:2px}
.iv-slot i{font:600 10px Inter,Arial,sans-serif;font-style:normal;color:#94a3b1;text-transform:uppercase;letter-spacing:.04em}
.iv-slot:disabled{background:repeating-linear-gradient(135deg,#f5f7f9 0 6px,#eef2f5 6px 12px);color:#a6b2bd;border-color:#e6ebf0;cursor:not-allowed}
.iv-slot.is-selected,.iv-slot[aria-pressed="true"]{background:linear-gradient(135deg,#0b7a8f,#063a49)!important;color:#fff!important;border-color:#063a49!important;box-shadow:0 10px 22px #063a4940,inset 0 0 0 2px #ffffff40;transform:translateY(-1px)}
.iv-slot.is-selected:after{content:"✓";position:absolute;top:-7px;right:-7px;width:20px;height:20px;border-radius:50%;background:#16a34a;color:#fff;font:900 12px/20px Inter,Arial,sans-serif;text-align:center;box-shadow:0 2px 6px #0003}
@media(max-width:640px){.iv-grid{grid-template-columns:repeat(4,1fr);gap:6px}.iv-slot{min-height:46px;font-size:13px}}

/* ===== p6 · pulido premium ===== */
#view .selection-shell{--lx-ink:#0b2433;--lx-muted:#5b6b7a;--lx-line:#e3e9ef;--lx-brand:#0b7a8f;--lx-deep:#063a49;font-feature-settings:"cv11","ss01","tnum";-webkit-font-smoothing:antialiased}
#view .selection-shell .selection-tabs{gap:6px;padding:6px;border-radius:16px;background:#f3f6f9;border:1px solid var(--lx-line);overflow-x:auto;scrollbar-width:none}
#view .selection-shell .selection-tabs::-webkit-scrollbar{display:none}
#view .selection-shell .selection-tabs button{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border-radius:11px;font-weight:700;letter-spacing:-.005em;transition:background .18s,color .18s,box-shadow .18s}
#view .selection-shell .selection-tabs button.active{background:#fff;color:var(--lx-deep);box-shadow:0 1px 2px #0b24331a,0 6px 16px #0b243312}
.lx-ic{width:17px;height:17px;flex:0 0 17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
#view .selection-shell .selection-kpis>*{position:relative;transition:transform .2s,box-shadow .2s}
#view .selection-shell .selection-kpis>*:hover{transform:translateY(-2px);box-shadow:0 14px 30px #0b24331a}
#view .selection-shell .selection-kpis .lx-kic{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#e6f4f6,#d3ecf0);color:var(--lx-brand)}
#view .selection-shell button,.selection-modal button{transition:transform .12s,box-shadow .18s,background .18s}
#view .selection-shell button:active:not(:disabled),.selection-modal button:active:not(:disabled){transform:scale(.97)}
#view .selection-shell .empty,#view .selection-shell [class*="empty"]{text-align:center;color:var(--lx-muted);padding:34px 18px;border:1px dashed #cfd9e3;border-radius:18px;background:radial-gradient(circle at 50% 0,#f2f8fa,#fff 70%)}
.selection-modal{animation:lxIn .22s cubic-bezier(.2,.8,.2,1)}
@keyframes lxIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.selection-modal{animation:none}#view .selection-shell *{transition:none!important}}
#view .selection-shell .selection-kpis>*>:first-child{padding-right:40px}#view .selection-shell .selection-kpis .lx-kic{top:12px;right:12px;width:30px;height:30px}

.iv-warn{background:#fff7e6;color:#8a4b00;border:1px solid #f5d39a;border-radius:12px;padding:10px 12px;font-weight:600}
/* T203S · las pestañas de Selección se pintan completas desde el primer cuadro; en escritorio se acomodan en
   renglones en lugar de esconderse a la derecha (Configuración ya no "aparece y desaparece") */
@media(min-width:861px){#view .selection-shell .selection-tabs{flex-wrap:wrap;overflow:visible}}
#view .selection-shell .selection-tabs>button{flex:0 0 auto}
#view .selection-shell .selection-tabs>button .lx-ic{flex:none}
