
/* PMCC Portal Editorial 0.2.5 — sistema de aplicaciones, identidad y operaciones. */
:root{--pmcc-navy:#092943;--pmcc-green:#398c14;--pmcc-fresh:#79ba27;--pmcc-ice:#eef5f9}
.ui-icon{display:inline-block;vertical-align:middle;width:19px;height:19px;flex-shrink:0}
.ops-grid{gap:13px;grid-template-columns:repeat(4,minmax(0,1fr))}
.ops-card{padding:17px 18px;min-height:145px;gap:9px;border-radius:14px;background:linear-gradient(160deg,#fff,#fafdfd);transition:box-shadow .18s,transform .18s,border-color .18s}
.ops-card .ops-icon,.ops-icon{display:inline-grid;place-items:center;flex:none;width:48px;height:48px;border-radius:13px;background:linear-gradient(135deg,#e8f7dd,#e6f0f7);color:#247a26;box-shadow:inset 0 0 0 1px #d6eacb}
.ops-card .ops-icon .ui-icon,.ops-icon .ui-icon{width:27px;height:27px}
.ops-card b{font-size:14px;line-height:1.33}.ops-card small{margin-top:auto;display:flex;gap:5px;align-items:center;font-size:11px}.ops-card small .ui-icon{width:13px;height:13px}
.ops-card:nth-child(4n+2) .ops-icon{color:#154a75;background:linear-gradient(135deg,#e5f1fc,#f1f7fa)}
.ops-card:nth-child(4n+3) .ops-icon{color:#9b711b;background:linear-gradient(135deg,#fff4d9,#e8f2ef)}
.ops-card:nth-child(4n+4) .ops-icon{color:#4d4197;background:linear-gradient(135deg,#f0eefe,#e7f5f5)}
.platform-links{align-items:center;gap:5px;scrollbar-width:thin}.platform-links a{gap:10px;padding:7px 12px}.platform-links a:hover{text-decoration:none;background:#f3f9ee;border-radius:9px}
.platform-links .platform-product-icon{width:46px;height:46px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:#e9f5e6;color:#338b22}
.platform-product-icon .ui-icon{width:29px;height:29px}.platform-links a:nth-child(3n+2) .platform-product-icon{background:#e6f1fc;color:#0e5b94}.platform-links a:nth-child(3n+3) .platform-product-icon{background:#fff1da;color:#bf8026}
.platform-product-name{display:flex;flex-direction:column;min-width:0}.platform-product-name b{font-size:12.5px}.platform-product-name small{font-size:10px;color:#6b8093;max-width:150px;overflow:hidden;text-overflow:ellipsis}
.banner-personal .banner-member-label{font-size:11px;color:#26415a}.banner-personal .banner-expiry{color:#5d7183;font-size:10px;white-space:nowrap}.banner-identity{gap:10px}.banner-personal{gap:2px}.banner-identity .banner-avatar{flex:0 0 auto}
.banner-identity .banner-qr-wrap a{color:#2e8116;font-weight:800}
.exams-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.exam-tile{border-radius:12px;min-height:146px;padding:12px;justify-content:flex-start;align-items:flex-start;gap:8px;background:linear-gradient(135deg,#064c80,#123569)}
.exam-tile .exam-icon{display:grid;place-items:center;width:39px;height:39px;border:1px solid #ffffff5e;border-radius:9px;background:#ffffff18}
.exam-tile .exam-icon .ui-icon{width:28px;height:28px}.exam-tile b{font-size:14px;line-height:1.2}.exam-tile small{color:#e4f3ff;font-size:11px;line-height:1.25}
.exam-tile .exam-action{margin-top:auto;display:flex;gap:5px;align-items:center;font-size:11px;font-weight:700;color:#fff}.exam-tile .exam-action .ui-icon{width:13px;height:13px}
.directory-card .entry-icon{background:linear-gradient(135deg,#e8f5e0,#e2f0fa)}.directory-card .entry-icon .ui-icon{width:35px;height:35px}
.app-sso-status{display:inline-block;padding:5px 8px;border-radius:999px;background:#edf1f4;margin-bottom:12px}.app-sso-status.sso-ready{background:#e2f4dc;color:#317817}
.sso-admin-layout{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sso-panel{margin:0}.sso-admin-layout select{width:100%;padding:11px;border-radius:8px;border:1px solid #cedae3;background:white}.sso-admin-layout code,.sso-new-secret code{overflow-wrap:anywhere;display:block;padding:9px;border-radius:6px}.sso-endpoint{margin:9px 0;display:grid;gap:4px}.sso-caption{font-size:12px;color:#597185}
.sso-client-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sso-client-card{margin:0}.sso-client-head{display:flex;align-items:center;gap:10px}.sso-client-head h3{margin:0;font-size:14px}.sso-client-head small{overflow-wrap:anywhere}.sso-client-head .pill{margin-left:auto}.sso-edit-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.sso-edit-form label:first-of-type{grid-column:1/-1}.sso-edit-form label{margin:0}.sso-edit-form input,.sso-edit-form select{width:100%}.sso-edit-form button{justify-self:start;align-self:end}.sso-miniform{display:flex;gap:8px;align-items:center;margin:7px 0}.sso-miniform input{min-width:0;max-width:220px;padding:7px;border-radius:7px;border:1px solid #cad8e3}.sso-new-secret{border:1px solid #cae4b9;background:#f4fbea;margin-top:14px}
.id-app-launcher{max-width:680px;margin:15px auto 0;padding:16px}.id-apps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.id-apps-grid a{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;border:1px solid #dce6ed;border-radius:11px;padding:12px 8px;background:white;color:#173854;font-size:12px;min-width:0}.id-apps-grid a:hover{background:#eef8e9;text-decoration:none}.id-apps-grid a span{display:grid;place-items:center;background:#e8f4e2;color:#36891a;border-radius:12px;width:48px;height:48px}.id-apps-grid .ui-icon{width:29px;height:29px}
@media(max-width:1150px){.ops-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.ops-grid,.sso-client-list{grid-template-columns:repeat(2,minmax(0,1fr))}.sso-admin-layout{grid-template-columns:1fr}.banner-personal .banner-member-label{font-size:10px}}
@media(max-width:430px){.ops-grid{gap:9px}.ops-card{padding:12px 11px;min-height:132px}.ops-card .ops-icon{width:41px;height:41px}.ops-card .ops-icon .ui-icon{width:23px;height:23px}.ops-card b{font-size:12px}.sso-client-list{grid-template-columns:1fr}.id-apps-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.id-apps-grid a{padding:9px 5px;font-size:11px}.banner-identity{gap:6px}.banner-personal strong{font-size:11px}.banner-personal small{font-size:10px}}
/* El carrusel de aplicaciones no comprime ni superpone nombres en pantallas amplias. */
.platform-bar{min-width:0}
.platform-links{flex:1 1 auto;min-width:0;overflow-x:auto;overflow-y:hidden;justify-content:flex-start}
.platform-links a{flex:0 0 auto;min-width:137px;max-width:190px;white-space:normal;border-right:1px solid #e0e9ee}
.platform-product-name{flex:1 1 auto;min-width:0;max-width:127px}
.platform-product-name b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:127px}
.platform-product-name small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:127px}
@media(max-width:710px){.platform-links a{min-width:125px;max-width:165px}.platform-product-name{max-width:106px}}
.platform-links a .platform-product-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;flex:0 0 46px}
.platform-links a .platform-product-name{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-width:0;width:110px;height:auto;max-width:110px;background:transparent;color:var(--pmcc-navy);border-radius:0;font-size:12px;font-weight:500;overflow:hidden}
.platform-links a .platform-product-name b,.platform-links a .platform-product-name small{width:100%;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;margin:0;line-height:1.35}
