/* CW-PORTAL-003A: Portal bar above Zensical documentation. */
.ciw-doc-portal-bar{position:relative;z-index:20;display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:9px clamp(16px,3vw,38px);min-height:58px;background:#173d66;color:#fff;font:500 13px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif;box-sizing:border-box}
.ciw-doc-portal-bar *{box-sizing:border-box}
.ciw-doc-portal-bar a{color:#e7f3ff;text-decoration:none!important}
.ciw-doc-portal-bar a:hover,.ciw-doc-portal-bar a:focus-visible{text-decoration:underline!important;color:#fff}
.ciw-doc-portal-brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:15px;font-weight:650}
.ciw-doc-portal-brand img{width:36px;height:36px;object-fit:contain;display:block;flex:none}
.ciw-doc-portal-brand strong{color:#aadaff;font-weight:650}
.ciw-doc-portal-links{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin-left:auto}
.ciw-doc-portal-links a[aria-current="page"]{font-weight:750;border-bottom:2px solid #aadaff;padding-bottom:3px}
.ciw-doc-portal-account{display:flex;align-items:center;gap:12px;margin-left:6px}
.ciw-doc-portal-account>span{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c8dbee}
.ciw-doc-portal-account form{display:inline;margin:0}
.ciw-doc-portal-account input{display:none}
.ciw-doc-portal-account button{background:transparent;border:1px solid #8db1d2;color:white;border-radius:5px;padding:6px 10px;cursor:pointer;font:inherit;width:auto;margin:0}
.ciw-doc-portal-account button:hover{background:#28577f}
/* Zensical's top navigation stays under the new portal bar; no iframe or nested scroll. */
@media(max-width:870px){.ciw-doc-portal-links{margin-left:0}.ciw-doc-portal-account{margin-left:auto}}
@media(max-width:520px){.ciw-doc-portal-bar{gap:9px;padding:9px 13px}.ciw-doc-portal-links{width:100%;gap:14px;order:3}.ciw-doc-portal-account{margin-left:auto}.ciw-doc-portal-account>span{display:none}.ciw-doc-portal-brand{font-size:13px}.ciw-doc-portal-brand img{width:30px;height:30px}}
