/* CI REDES V84 · Estado del Gestor y credenciales Wi-Fi compactas */
#ci-v83-gestor-pane .ci-gestor-item.ci-v84-pending{background:#fff9e9;border-color:#ebd08c;box-shadow:inset 4px 0 0 #d8a22e}
#ci-v83-gestor-pane .ci-gestor-item.ci-v84-pending:hover{background:#fff5db}
#ci-v83-gestor-pane .ci-gestor-item.ci-v84-rejected{background:#fff0f1;border-color:#eab5bf;box-shadow:inset 4px 0 0 #ce4857}
#ci-v83-gestor-pane .ci-gestor-item.ci-v84-rejected:hover{background:#ffe6e9}
#ci-v83-gestor-pane .ci-gestor-item.ci-v84-approved{background:#edf9f2;border-color:#abd9bd;box-shadow:inset 4px 0 0 #379365}
#ci-v83-gestor-pane .ci-gestor-item.ci-v84-approved:hover{background:#e7f6ed}
#ci-v83-gestor-pane .ci-gestor-item.ci-v84-approved .ci-v12-btn[disabled]{border-color:#abd9bd;color:#27764a;background:#ecf8f0;opacity:1;cursor:default}
#ci-v83-gestor-pane .ci-gestor-item.ci-v84-pending .ci-gestor-pill:not(.verified){background:#fff1c9;border-color:#e6c167;color:#8c6111}
#ci-v83-gestor-pane .ci-gestor-item.ci-v84-rejected .ci-gestor-pill.rejected{background:#ffe0e5;border-color:#e7a8b3;color:#a13749}
#ci-v83-gestor-pane .ci-gestor-item.ci-v84-approved .ci-gestor-pill.verified{background:#dbf3e5;border-color:#a6d7ba;color:#27694a}

/* Iconos vectoriales y datos copiables con permisos del propio titular */
#ci-w47-my-plan .ci-v84-credentials{gap:14px;border:0;background:transparent;padding:0;box-shadow:none}
#ci-w47-my-plan .ci-v84-credentials>h4{font-size:17px;margin:0}
#ci-w47-my-plan .ci-v84-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#ci-w47-my-plan .ci-v84-access-card{display:flex;gap:15px;align-items:center;min-width:0;
 border:1px solid #dce9ef;background:#f8fbfd;border-radius:13px;padding:18px}
#ci-w47-my-plan .ci-v84-access-icon{width:43px;height:43px;flex:0 0 43px;color:#3e7291;
 border-radius:12px;background:#e7f2f7;padding:10px}
#ci-w47-my-plan .ci-v84-access-fields{display:grid;gap:8px;min-width:0;align-content:center}
#ci-w47-my-plan .ci-v84-access-fields>span{font-size:11px;font-weight:750;color:#5b7d90}
#ci-w47-my-plan .ci-v84-access-fields>code{font:750 18px/1.35 ui-monospace,SFMono-Regular,monospace;
 background:transparent;color:#003049;overflow-wrap:anywhere;padding:0;max-width:100%}
#ci-w47-my-plan .ci-v84-access-fields>.ci-v84-copy-btn{justify-self:start}
#ci-w47-my-plan .ci-v84-key-actions{display:flex;flex-wrap:wrap;gap:7px}
#ci-w47-my-plan .ci-v84-copy-btn{display:inline-flex;align-items:center;justify-content:center;
 min-height:33px;background:white;border:1px solid #c9dfe9;border-radius:8px;padding:6px 12px;
 color:#175572;font:750 11px/1.2 'DM Sans',system-ui,sans-serif;cursor:pointer}
#ci-w47-my-plan .ci-v84-copy-btn:disabled{opacity:.48;cursor:not-allowed}
#ci-w47-my-plan .ci-v84-copy-btn:not(:disabled):hover{background:#e9f4f8}
#ci-w47-my-plan .ci-v84-access-hint{font-size:11px;line-height:1.6;color:#5d7482;margin:0}
#ci-w47-my-plan .ci-v84-access-hint[hidden]{display:none!important}
#ci-w47-my-plan .ci-v84-open-change{width:max-content;max-width:100%;min-height:40px;border-radius:9px;font-size:12px}
#ci-w47-my-plan .ci-v84-password-dialog{width:min(510px,calc(100vw - 28px));max-height:min(88dvh,680px);
 padding:0;margin:auto;border:1px solid #dceaf1;border-radius:16px;background:white;
 color:#003049;box-shadow:0 26px 80px #00294043;overflow:auto}
#ci-w47-my-plan .ci-v84-password-dialog:not([open]){display:none!important}
#ci-w47-my-plan .ci-v84-password-dialog::backdrop{background:rgba(0,38,56,.52)}
#ci-w47-my-plan .ci-v84-password-dialog-body{padding:22px;display:grid;gap:15px}
#ci-w47-my-plan .ci-v84-password-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
#ci-w47-my-plan .ci-v84-password-dialog-head h4{font-size:18px}
#ci-w47-my-plan .ci-v84-password-dialog .ci-w50-password-form{border:0;padding:0}
#ci-w47-my-plan .ci-v84-password-dialog .ci-w50-password-form button{min-height:42px}
#ci-w47-my-plan .ci-w61-password-status{margin:0;gap:10px}
@media(max-width:850px){
 #ci-w47-my-plan .ci-v84-access-grid{grid-template-columns:1fr}
 #ci-w47-my-plan .ci-v84-access-card{padding:15px}
}
@media(max-width:440px){#ci-w47-my-plan .ci-v84-password-dialog-body{padding:16px}
 #ci-w47-my-plan .ci-v84-access-icon{width:37px;height:37px;flex-basis:37px;padding:8px}
}

/* Catálogo V85: exactamente tres tarjetas compactas, incluso en el portal estrecho. */
#ci-w47-my-plan .ci-v84-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:clamp(5px,1.1vw,12px);width:100%;min-width:0;align-items:stretch}
#ci-w47-my-plan .ci-v84-plan{--tier-accent:#9aaeba;--tier-glow:rgba(140,160,175,.16);
 box-sizing:border-box;border-radius:12px;border:1px solid #dce7ee;background:#f8fafb;
 padding:clamp(9px,1.25vw,14px);display:flex;flex-direction:column;gap:7px;
 min-width:0;min-height:135px;position:relative;overflow:hidden;
 transition:border-color .2s ease,box-shadow .2s ease}
#ci-w47-my-plan .ci-v84-plan-head{display:flex;align-items:center;gap:4px;
 justify-content:space-between;flex-wrap:wrap}
#ci-w47-my-plan .ci-v84-plan-tier{font:850 10px 'DM Sans',system-ui,sans-serif;
 letter-spacing:.09em}
#ci-w47-my-plan .ci-v84-plan-owned{font-size:9px;font-weight:750;border-radius:6px;
 background:rgba(255,255,255,.78);padding:4px 6px;color:var(--tier-accent);max-width:100%}
#ci-w47-my-plan .ci-v84-plan h4{font:800 clamp(13px,1.65vw,18px)/1.2 Outfit,system-ui,sans-serif;
 margin:0;color:#003049}
#ci-w47-my-plan .ci-v84-plan-price{font:800 clamp(12px,1.65vw,17px)/1.25 Outfit,system-ui,sans-serif;
 color:#003049;overflow-wrap:anywhere}
#ci-w47-my-plan .ci-v84-plan small{color:#527084;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
#ci-w47-my-plan .ci-v84-plan p{margin:auto 0 0;font-size:10px;color:#466b7d;line-height:1.4}
#ci-w47-my-plan .ci-v84-tier1{--tier-accent:#97653F;--tier-glow:rgba(171,112,66,.15);
 background:#F8F0E9;border-color:#D8B99D}
#ci-w47-my-plan .ci-v84-tier1 .ci-v84-plan-tier{color:#95613B}
#ci-w47-my-plan .ci-v84-tier2{--tier-accent:#657E8F;--tier-glow:rgba(143,165,181,.19);
 background:#F2F6F9;border-color:#C4D0DA}
#ci-w47-my-plan .ci-v84-tier2 .ci-v84-plan-tier{color:#607B8B}
#ci-w47-my-plan .ci-v84-tier3{--tier-accent:#AC7B28;--tier-glow:rgba(224,171,56,.18);
 background:#FFF8E8;border-color:#E6D09E}
#ci-w47-my-plan .ci-v84-tier3 .ci-v84-plan-tier{color:#A47823}
/* Resaltar el plan sin bordes negros; borde tono-sobre-tono y sombra institucional. */
#ci-w47-my-plan .ci-v84-plan-active{outline:none;border:2px solid var(--tier-accent);
 box-shadow:0 0 0 3px var(--tier-glow);padding:clamp(8px,1.25vw,13px)}
#ci-w47-my-plan .ci-v84-plan-active::before{content:"";position:absolute;top:0;left:0;right:0;
 height:3px;background:var(--tier-accent);z-index:1}
/* Destello tenue y cíclico para Bronce, Plata y Oro. */
#ci-w47-my-plan .ci-v84-plan::after{content:"";position:absolute;top:-35%;bottom:-35%;left:-65%;
 width:32%;transform:skewX(-17deg);pointer-events:none;
 background:linear-gradient(90deg,transparent,rgba(255,255,255,.58),transparent);
 opacity:0;animation:ci-v85-tier-glint 6.2s ease-in-out infinite}
#ci-w47-my-plan .ci-v84-tier2::after{animation-delay:1.2s}
#ci-w47-my-plan .ci-v84-tier3::after{animation-delay:2.4s}
@keyframes ci-v85-tier-glint{
 0%,58%{left:-65%;opacity:0}65%{opacity:.45}
 81%{left:145%;opacity:.24}82%,100%{left:145%;opacity:0}
}
@media(max-width:650px){
 #ci-w47-my-plan .ci-v84-catalog{gap:6px;grid-template-columns:repeat(3,minmax(0,1fr))}
 #ci-w47-my-plan .ci-v84-plan{padding:9px 8px;gap:5px;min-height:122px;border-radius:10px}
 #ci-w47-my-plan .ci-v84-plan-active{padding:8px 7px}
 #ci-w47-my-plan .ci-v84-plan-tier{font-size:9px}
 #ci-w47-my-plan .ci-v84-plan-owned{font-size:8px;padding:3px 4px}
 #ci-w47-my-plan .ci-v84-plan small,#ci-w47-my-plan .ci-v84-plan p{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 #ci-w47-my-plan .ci-v84-plan::after{animation:none;display:none}
}
/* Instrucciones en pasos, sin destacar una carrera sobre otra. */
#ci-w47-my-plan .ci-v85-guide-steps{display:grid;gap:10px;list-style:decimal;
 margin:0;padding-left:24px;line-height:1.55;font-size:13px;color:#3E6379}
#ci-w47-my-plan .ci-v85-guide-steps li{padding:4px 0 4px 5px}
#ci-w47-my-plan .ci-v85-guide-steps li::marker{font-weight:800;color:#286D90}
/* Nombre del cargo visible encima de las funciones personalizables. */
.ci-v85-role-name{font:800 10px 'DM Sans',system-ui,sans-serif;letter-spacing:.12em;
 text-transform:uppercase;color:#477B98}
/* Editor institucional del catálogo */
.ci-v84-plan-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.ci-v84-plan-editor form{border:1px solid #dce8ee;border-radius:12px;background:#fff;padding:17px;display:grid;gap:12px;min-width:0}
.ci-v84-plan-editor h3{font:800 18px Outfit,system-ui,sans-serif;color:#003049;margin:0}
.ci-v84-plan-editor label{display:grid;gap:6px;font:750 12px 'DM Sans',system-ui,sans-serif;color:#365f74}
.ci-v84-plan-editor input{width:100%;min-width:0;padding:11px 12px;border:1px solid #cadde7;border-radius:8px;
 font:500 13px 'DM Sans',system-ui,sans-serif;color:#003049;background:#fff}
.ci-v84-plan-editor button{min-height:38px;padding:8px 14px;border-radius:8px;justify-self:start}
.ci-v84-plan-editor .ci-v84-editor-tip{font-size:11px;color:#688193;line-height:1.55;margin:0}
.ci-v84-plan-editor .ci-v84-editor-result{font-size:11px;margin:0;color:#28674e}
@media(max-width:820px){.ci-v84-plan-editor{grid-template-columns:1fr}}
