/* KAPI_SOLIC1 — pestañas Principal / Solicitudes */
.ksol-tabs{margin:6px 12px 8px;padding:4px;border-radius:16px;background:#0d1a30;border:1px solid #1d3555;display:flex;gap:4px;flex-shrink:0}
.ksol-tab{flex:1;height:42px;border:0;border-radius:12px;background:transparent;color:#93aacb;font:500 14px Inter,system-ui,sans-serif;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.ksol-tab.on{background:linear-gradient(135deg,#00e5ff,#0a84ff);color:#04121f;font-weight:600}
.ksol-badge{min-width:20px;height:20px;padding:0 6px;box-sizing:border-box;border-radius:10px;background:#12233f;color:#eaf2ff;font-size:12px;display:none;align-items:center;justify-content:center}
.ksol-badge.v{display:flex}
.ksol-tab.on .ksol-badge{background:#04121f;color:#00e5ff}
.ksol-aviso{margin:6px 12px;padding:12px;border-radius:14px;background:#0a1730;border:1px solid #1d3555;display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:18px;color:#93aacb;flex-shrink:0}
.ksol-aviso svg{flex-shrink:0;margin-top:1px}
.ksol-lista{flex-grow:1;overflow-y:auto;display:none}
.ksol-lista.on{display:block}
.ksol-vacio{padding:40px 24px;text-align:center;color:#93aacb;font-size:14px;line-height:20px}
.ksol-item{cursor:pointer}
.ksol-chip{flex-shrink:0;height:20px;padding:0 8px;border-radius:10px;font-size:11px;font-weight:500;display:inline-flex;align-items:center;margin-left:8px}
.ksol-chip.sigue{background:rgba(10,132,255,.18);color:#7fc0ff}
.ksol-chip.numero{background:rgba(0,229,255,.16);color:#5ff0ff}
.ksol-av{width:48px;height:48px;border-radius:50%;flex-shrink:0;background:#12233f center/cover no-repeat;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:17px;color:#eaf2ff}
.ksol-fila{display:flex;gap:12px;align-items:center;padding:12px 16px;border-bottom:1px solid #0f1f38}
.ksol-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.ksol-nom{display:flex;align-items:center;font-weight:600;font-size:15px;color:#eaf2ff}
.ksol-nom span.t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ksol-msg{font-size:13px;color:#93aacb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ksol-der{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0;font-size:12px;color:#93aacb}
.ksol-punto{width:10px;height:10px;border-radius:5px;background:#00e5ff}
body.light-theme .ksol-tabs{background:#eef3fb;border-color:#d3dff0}
body.light-theme .ksol-tab{color:#4a5f80}
body.light-theme .ksol-tab.on{color:#04121f}
body.light-theme .ksol-badge{background:#dbe6f6;color:#10213d}
body.light-theme .ksol-aviso{background:#f3f7fd;border-color:#d3dff0;color:#4a5f80}
body.light-theme .ksol-fila{border-bottom-color:#e3ebf6}
body.light-theme .ksol-nom{color:#10213d}
body.light-theme .ksol-msg,body.light-theme .ksol-der,body.light-theme .ksol-vacio{color:#4a5f80}
body.light-theme .ksol-av{background-color:#dbe6f6;color:#10213d}

/* KAPI_SOLIC2 — fila de Actividad, vista de actividad y tarjeta de solicitud */
.kact-fila{margin:0 12px 6px;padding:10px 8px;border-radius:14px;display:flex;align-items:center;gap:12px;cursor:pointer;flex-shrink:0}
.kact-fila:active{background:#0d1a30}
.kact-ico{width:48px;height:48px;border-radius:50%;flex-shrink:0;background:linear-gradient(135deg,#00e5ff,#0a84ff);color:#04121f;display:flex;align-items:center;justify-content:center}
.kact-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.kact-tit{font-weight:600;font-size:15px;color:#eaf2ff}
.kact-sub{font-size:13px;color:#93aacb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kact-badge{background:#0a84ff;color:#fff}
.kact-wrap{flex-grow:1;overflow-y:auto;display:none;flex-direction:column}
.kact-wrap.on{display:flex}
.kact-head{display:flex;align-items:center;gap:6px;padding:8px 12px;flex-shrink:0}
.kact-atras{width:40px;height:40px;border:0;border-radius:20px;background:transparent;color:#eaf2ff;font-size:32px;line-height:32px;cursor:pointer;padding:0 0 4px}
.kact-htit{font-weight:600;font-size:16px;color:#eaf2ff}
.kact-lista{flex-grow:1}
.kact-item{cursor:pointer}
.kact-avw{position:relative;flex-shrink:0}
.kact-mini{position:absolute;right:-3px;bottom:-3px;width:20px;height:20px;border-radius:10px;background:linear-gradient(135deg,#00e5ff,#0a84ff);border:2px solid #050b17;display:flex;align-items:center;justify-content:center}
.kact-txt{font-size:14px;line-height:19px;color:#c9d8ee}
.kact-txt b{color:#eaf2ff;font-weight:600}
.kact-seg{height:32px;padding:0 16px;border:0;border-radius:16px;background:linear-gradient(135deg,#00e5ff,#0a84ff);color:#04121f;font:600 13px Inter,system-ui,sans-serif;cursor:pointer}
.kact-seg:disabled{opacity:.6}
.kact-sig{height:32px;padding:0 14px;border-radius:16px;border:1px solid #1d3555;color:#93aacb;font-size:13px;display:inline-flex;align-items:center}

.kst-ov{position:fixed;inset:0;z-index:100000;background:rgba(2,6,14,0);display:flex;align-items:flex-end;justify-content:center;transition:background .2s}
.kst-ov.on{background:rgba(2,6,14,.62)}
.kst-caja{width:100%;max-width:520px;max-height:92vh;overflow-y:auto;box-sizing:border-box;padding:10px 20px 24px;border-radius:28px 28px 0 0;background:#0e1b33;border:1px solid #1d3555;border-bottom:0;transform:translateY(100%);transition:transform .22s ease;color:#eaf2ff;font-family:Inter,system-ui,sans-serif}
.kst-ov.on .kst-caja{transform:translateY(0)}
.kst-asa{width:44px;height:5px;border-radius:3px;background:#2a4268;margin:0 auto 16px}
.kst-cab{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.kst-av{width:56px;height:56px;border-radius:50%;flex-shrink:0;background:#8fdcff center/cover no-repeat;color:#04121f;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:22px}
.kst-quien{min-width:0}
.kst-nom{font-weight:700;font-size:18px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kst-arr{display:flex;align-items:center;font-size:14px;color:#93aacb;margin-top:3px}
.kst-arr .ksol-chip{margin-left:8px}
.kst-msg{padding:14px 16px;border-radius:16px;background:#122340;font-size:16px;line-height:22px;color:#eaf2ff;margin-bottom:14px;word-break:break-word;white-space:pre-wrap}
.kst-info{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:16px;border:1px solid #1d3555;background:#091628;font-size:14px;line-height:18px;color:#93aacb;margin-bottom:16px}
.kst-info svg{flex-shrink:0;margin-top:1px}
.kst-btn{border:0;cursor:pointer;font:600 16px Inter,system-ui,sans-serif;border-radius:28px;height:52px;display:flex;align-items:center;justify-content:center;width:100%}
.kst-btn:disabled{opacity:.55}
.kst-prim{background:linear-gradient(90deg,#00e5ff,#0a84ff);color:#04121f;margin-bottom:10px}
.kst-fila2{display:flex;gap:10px}
.kst-sec{background:#0b1730;border:1px solid #1d3555;color:#eaf2ff}
.kst-pel{background:#0b1730;border:1px solid #5a2638;color:#ff8fb0}
.kst-pel2{background:#c2335a;color:#fff;margin-bottom:10px}
.kst-solo{margin-top:0}
.kst-tit{font-weight:700;font-size:18px;color:#fff;margin-bottom:6px}
.kst-sub{font-size:14px;line-height:19px;color:#93aacb;margin-bottom:14px}
.kst-motivos{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.kst-mot input{position:absolute;opacity:0;pointer-events:none}
.kst-mot span{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:18px;border:1px solid #1d3555;background:#0b1730;color:#93aacb;font-size:14px;cursor:pointer}
.kst-mot input:checked + span{background:rgba(10,132,255,.2);border-color:#0a84ff;color:#eaf2ff}
.kst-mot input:focus-visible + span{outline:2px solid #00e5ff}

body.light-theme .kact-fila:active{background:#eef3fb}
body.light-theme .kact-tit,body.light-theme .kact-htit,body.light-theme .kact-atras,body.light-theme .kact-txt b{color:#10213d}
body.light-theme .kact-sub,body.light-theme .kact-txt{color:#4a5f80}
body.light-theme .kact-mini{border-color:#fff}
body.light-theme .kact-sig{border-color:#d3dff0;color:#4a5f80}
body.light-theme .kst-caja{background:#fff;border-color:#d3dff0;color:#10213d}
body.light-theme .kst-asa{background:#cdd9ea}
body.light-theme .kst-nom,body.light-theme .kst-tit{color:#10213d}
body.light-theme .kst-arr,body.light-theme .kst-sub,body.light-theme .kst-info{color:#4a5f80}
body.light-theme .kst-msg{background:#eef3fb;color:#10213d}
body.light-theme .kst-info{background:#f3f7fd;border-color:#d3dff0}
body.light-theme .kst-sec,body.light-theme .kst-mot span{background:#f3f7fd;border-color:#d3dff0;color:#10213d}
body.light-theme .kst-pel{background:#fff3f6;border-color:#f0b9c8;color:#c2335a}
body.light-theme .kst-mot input:checked + span{background:#dcecff;border-color:#0a84ff;color:#10213d}

/* KAPI_VIP1 — 3 pestañas (Principal / VIP / Solicitudes), Ignorados dentro de Solicitudes y fila "Enviado N" */
.ksol-tab{font-size:13px;gap:6px;padding:0 4px;min-width:0}
.ksol-sub{margin:0 12px 6px;display:none;gap:8px;flex-shrink:0}
.ksol-subb{height:34px;padding:0 16px;border-radius:17px;border:1px solid #1d3555;background:#0b1730;color:#93aacb;font:500 13px Inter,system-ui,sans-serif;cursor:pointer}
.ksol-subb.on{background:rgba(10,132,255,.2);border-color:#0a84ff;color:#eaf2ff}
.kvip-env{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#eaf2ff}
.kvip-env svg{flex-shrink:0}
body.light-theme .ksol-subb{background:#f3f7fd;border-color:#d3dff0;color:#4a5f80}
body.light-theme .ksol-subb.on{background:#dcecff;border-color:#0a84ff;color:#10213d}
body.light-theme .kvip-env{color:#10213d}
