/* t160u · Certificaciones y cursos con el diseño de tarjetas de t157u */
#profile-form .candidate-record-row.kcert{display:block!important;position:relative;padding:0!important;margin:0 0 14px!important;border:1px solid #dbe8eb!important;border-radius:16px!important;background:#fff!important;box-shadow:0 1px 2px rgba(7,56,74,.05),0 8px 24px -18px rgba(7,56,74,.35)!important;overflow:visible!important;grid-template-columns:none!important;transition:box-shadow .2s,border-color .2s}
#profile-form .candidate-record-row.kcert:focus-within{border-color:#9fd3c9!important;box-shadow:0 0 0 4px rgba(0,179,152,.10),0 10px 28px -18px rgba(7,56,74,.4)!important}
#profile-form .kcert>.kio-cv-chip{display:none!important}
#profile-form .kcert .kc-hd{display:flex;align-items:center;gap:14px;padding:16px 18px;cursor:pointer;border-bottom:1px solid #edf3f4;user-select:none}
#profile-form .kcert.collapsed .kc-hd{border-bottom:0}
#profile-form .kcert .kc-ic{flex:0 0 44px;height:44px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#0b5d6e,#00b398);color:#fff}
#profile-form .kcert .kc-ic.curso{background:linear-gradient(135deg,#3d5a80,#6c8fb8)}
#profile-form .kcert .kc-ic svg{width:23px;height:23px}
#profile-form .kcert .kc-tt{flex:1;min-width:0;display:grid;gap:3px}
#profile-form .kcert .kc-tt strong{font-size:15.5px;font-weight:750;color:var(--kp-ink,#0b2f3d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#profile-form .kcert .kc-tt small{font-size:13px;color:var(--kp-mut,#5f7a86)}
#profile-form .kcert .kc-tt .kio-cv-chip{justify-self:start;display:inline-flex!important;position:static!important;margin:0!important;padding:2px 9px!important;border-radius:999px!important;background:#e3f6f1!important;color:#00664f!important;font-size:11.5px!important;font-weight:700!important}
#profile-form .kcert .kc-chip{flex:0 0 auto;padding:4px 11px;border-radius:999px;background:#e3f6f1;color:#00664f;font-size:12px;font-weight:750}
#profile-form .kcert .kc-chip.curso{background:#eaf0f8;color:#33507a}
#profile-form .kcert .kc-tools{display:flex;align-items:center;gap:2px;position:relative}
#profile-form .kcert .kc-ib{width:36px!important;height:36px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:none!important;color:#56737f!important;display:grid!important;place-items:center;box-shadow:none!important;cursor:pointer}
#profile-form .kcert .kc-ib:hover{background:#f0f6f7!important;color:var(--kp-ink,#0b2f3d)!important}
#profile-form .kcert .kc-ib.del:hover{color:var(--kp-err,#c0362c)!important;background:#fdf0ef!important}
#profile-form .kcert .kc-ib svg{width:18px;height:18px}
#profile-form .kcert .kc-ib.chev svg{transition:transform .2s}
#profile-form .kcert.collapsed .kc-ib.chev svg{transform:rotate(-90deg)}
#profile-form .kcert .kc-confirm{position:absolute;right:0;top:calc(100% + 6px);z-index:30;display:flex;align-items:center;gap:8px;padding:8px 10px;background:#fff;border:1px solid #f1c9c5;border-radius:12px;box-shadow:0 12px 30px -12px rgba(7,56,74,.35);white-space:nowrap;font-size:13px;color:var(--kp-ink,#0b2f3d)}
#profile-form .kcert .kc-confirm button{min-height:32px!important;padding:0 12px!important;margin:0!important;border-radius:9px!important;font-size:13px!important;font-weight:700!important;box-shadow:none!important;width:auto!important}
#profile-form .kcert .kc-confirm [data-yes]{background:var(--kp-err,#c0362c)!important;color:#fff!important;border:0!important}
#profile-form .kcert .kc-confirm [data-no]{background:#fff!important;color:var(--kp-ink,#0b2f3d)!important;border:1px solid #d6e3e6!important}
#profile-form .kcert .kc-bd{padding:16px 18px 18px;display:grid;gap:14px}
#profile-form .kcert.collapsed .kc-bd{display:none}
#profile-form .kcert .kc-r1{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end}
#profile-form .kcert .kc-r2{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:14px;align-items:end}
#profile-form .kcert label{display:grid!important;gap:6px!important;margin:0!important;font-size:12.5px!important;font-weight:650!important;color:#46636f!important;min-width:0}
#profile-form .kcert input[type=text],#profile-form .kcert input:not([type]){width:100%!important;min-height:46px!important;border:1px solid #cfe0e3!important;border-radius:11px!important;background:#fbfdfd!important;padding:0 13px!important;font:inherit!important;font-size:14.5px!important;font-weight:550!important;color:var(--kp-ink,#0b2f3d)!important;box-shadow:none!important;margin:0!important}
#profile-form .kcert input:focus{outline:none!important;border-color:#00b398!important;background:#fff!important;box-shadow:0 0 0 3px rgba(0,179,152,.15)!important}
#profile-form .kcert .kc-year input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;min-height:0!important}
#profile-form .kcert .kc-combo{position:relative}
#profile-form .kcert .kc-combo input{padding-left:40px!important}
#profile-form .kcert .kc-combo-ic{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#7c98a2;pointer-events:none;z-index:1}
#profile-form .kcert .kc-combo-ic svg{width:18px;height:18px;display:block}
#profile-form .kcert .kc-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:40;max-height:320px;overflow:auto;background:#fff;border:1px solid #d6e5e8;border-radius:14px;box-shadow:0 18px 40px -16px rgba(7,56,74,.4);padding:6px}
#profile-form .kcert .kc-list-hd{padding:8px 10px 4px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#7c98a2}
#profile-form .kcert .kc-opt{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;font-size:14px;font-weight:550;color:var(--kp-ink,#0b2f3d);cursor:pointer;line-height:1.3}
#profile-form .kcert .kc-opt svg{flex:0 0 18px;width:18px;height:18px;color:#00a088}
#profile-form .kcert .kc-opt:hover,#profile-form .kcert .kc-opt.act{background:#eef8f6}
#profile-form .kcert .kc-opt.free{border-top:1px dashed #d6e5e8;margin-top:4px;border-radius:0 0 10px 10px;color:#33507a}
#profile-form .kcert .kc-opt.free svg{color:#6c8fb8}
#profile-form .kcert .kc-kind{display:grid;gap:6px}
#profile-form .kcert .kc-lbl{font-size:12.5px;font-weight:650;color:#46636f}
#profile-form .kcert .kc-seg{display:inline-flex;padding:3px;border-radius:12px;background:#eef4f5;border:1px solid #dbe8eb;min-height:46px;box-sizing:border-box}
#profile-form .kcert .kc-seg button{display:inline-flex!important;align-items:center;gap:7px;min-height:38px!important;padding:0 14px!important;margin:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#56737f!important;font:inherit!important;font-size:13.5px!important;font-weight:700!important;box-shadow:none!important;cursor:pointer;width:auto!important;white-space:nowrap}
#profile-form .kcert .kc-seg button svg{width:17px;height:17px}
#profile-form .kcert .kc-seg button[aria-checked=true]{background:#fff!important;color:#00664f!important;box-shadow:0 1px 3px rgba(7,56,74,.15)!important}
#profile-form .kcert .kc-seg button[data-k=Curso][aria-checked=true]{color:#33507a!important}
#profile-form .kcert .kc-note{margin:-6px 0 0!important;font-size:12.5px;color:#5f7a86;line-height:1.4}
#profile-form .kcert .kc-note.ok{color:#0a8a5f;font-weight:650}
#profile-form .kcert .kc-ybtn{display:flex!important;align-items:center;justify-content:space-between;width:100%!important;min-height:46px!important;padding:0 12px 0 13px!important;margin:0!important;border:1px solid #cfe0e3!important;border-radius:11px!important;background:#fbfdfd!important;color:var(--kp-ink,#0b2f3d)!important;font:inherit!important;font-size:14.5px!important;font-weight:600!important;box-shadow:none!important;cursor:pointer;text-align:left}
#profile-form .kcert .kc-ybtn.ph{color:#93a9b1!important;font-weight:500!important}
#profile-form .kcert .kc-ybtn:hover{border-color:#9fd3c9!important;background:#fff!important}
#profile-form .kcert .kc-ybtn svg{width:18px;height:18px;color:#56737f}
.kc-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin:0 0 14px;font-size:13.5px;color:#5f7a86}
.kc-bar b{color:#0b2f3d;font-size:15px}
.kc-bar .kc-pill{padding:4px 11px;border-radius:999px;background:#e3f6f1;color:#00664f;font-weight:700;font-size:12.5px}
.kc-bar .kc-pill.curso{background:#eaf0f8;color:#33507a}
.kc-bar .kc-tip{flex-basis:100%;font-size:12.5px}
#profile-form .kc-add{display:flex!important;align-items:center;justify-content:center;gap:8px}
#profile-form .kc-add svg{width:18px;height:18px}
.kc-shade{position:fixed;inset:0;z-index:2147482000;background:transparent}
.kc-yp{position:fixed;z-index:2147482001;width:292px;background:#fff;border:1px solid #d6e5e8;border-radius:16px;box-shadow:0 22px 50px -18px rgba(7,56,74,.45);padding:12px;font-family:inherit}
.kc-yp-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.kc-yp-hd b{font-size:14px;color:#0b2f3d}
.kc-yp button{font:inherit;cursor:pointer;border:0;background:none;color:#0b2f3d;margin:0;box-shadow:none}
.kc-yp-nav{width:36px;height:36px;border-radius:10px!important;background:#f0f6f7!important;font-size:18px!important;font-weight:700}
.kc-yp-nav:disabled{opacity:.35;cursor:default}
.kc-yp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.kc-yp-grid button{height:40px;border-radius:10px;font-size:14px;font-weight:650}
.kc-yp-grid button:hover{background:#eef8f6}
.kc-yp-grid button.now{box-shadow:inset 0 0 0 1px #9fd3c9}
.kc-yp-grid button.on{background:#07384a!important;color:#fff!important}
.kc-yp-ft{display:flex;justify-content:space-between;margin-top:10px;padding-top:8px;border-top:1px solid #edf3f4}
.kc-yp-ft button{font-size:13px;font-weight:700;color:#00806c;padding:6px 8px;border-radius:8px}
.kc-yp-ft button:hover{background:#eef8f6}
.kc-yp button:focus-visible{outline:2px solid #00b398;outline-offset:1px}
.kc-yp.sheet{left:0!important;right:0;bottom:0;top:auto!important;width:auto;border-radius:20px 20px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom))}
.kc-yp.sheet .kc-yp-grid button{height:48px;font-size:16px}
@media (max-width:640px){
 #profile-form .kcert .kc-hd{padding:14px;gap:12px;flex-wrap:wrap}
 #profile-form .kcert .kc-ic{flex-basis:40px;height:40px}
 #profile-form .kcert .kc-tt{flex-basis:calc(100% - 110px)}
 #profile-form .kcert .kc-tt strong{white-space:normal}
 #profile-form .kcert .kc-chip{order:5;margin-left:52px}
 #profile-form .kcert .kc-tools{order:6;margin-left:auto}
 #profile-form .kcert .kc-bd{padding:14px}
 #profile-form .kcert .kc-r1,#profile-form .kcert .kc-r2{grid-template-columns:1fr}
 #profile-form .kcert .kc-seg{display:flex}
 #profile-form .kcert .kc-seg button{flex:1;justify-content:center}
 #profile-form .kcert .kc-list{max-height:260px}
}
/* t161u · ¿Quisiste decir…? y Del catálogo */
#profile-form .kcert .kc-sugg{margin:-4px 0 0}
#profile-form .kcert .kc-dym{display:grid;gap:8px;padding:12px 14px;border:1px solid #cfe7e1;border-radius:13px;background:linear-gradient(180deg,#f3fbf9,#fff)}
#profile-form .kcert .kc-dym-hd{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#00806c}
#profile-form .kcert .kc-dym-it{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #e3efee}
#profile-form .kcert .kc-dym-q{font-size:13.5px;color:#2f5361;line-height:1.35;min-width:0}
#profile-form .kcert .kc-dym-q b{color:#0b2f3d;font-weight:750}
#profile-form .kcert .kc-use{flex:0 0 auto;min-height:34px!important;padding:0 14px!important;margin:0!important;border:0!important;border-radius:9px!important;background:#07384a!important;color:#fff!important;font:inherit!important;font-size:13px!important;font-weight:750!important;box-shadow:none!important;cursor:pointer;width:auto!important;white-space:nowrap}
#profile-form .kcert .kc-use:hover{background:#0b5d6e!important}
#profile-form .kcert .kc-link{justify-self:start;min-height:30px!important;padding:0 4px!important;margin:0!important;border:0!important;background:none!important;color:#00806c!important;font:inherit!important;font-size:13px!important;font-weight:750!important;text-decoration:underline;text-underline-offset:3px;box-shadow:none!important;cursor:pointer;width:auto!important}
#profile-form .kcert .kc-auto{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:13px;color:#46636f}
#profile-form .kcert .kc-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;background:#e3f6f1;color:#00664f;font-size:12px;font-weight:800}
@media (max-width:640px){#profile-form .kcert .kc-dym{padding:10px}#profile-form .kcert .kc-dym-it{flex-direction:column;align-items:flex-start;gap:8px}#profile-form .kcert .kc-dym-q{font-size:13px}#profile-form .kcert .kc-use{min-height:36px!important}}
