/* Shared application-grid return to the owning Portal. */
.cp-portal-launcher { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 7px; box-sizing: border-box; border: 1px solid var(--cp-module-line, #b7cbd4); border-radius: 8px; color: var(--cp-teal, #4d7e85); background: var(--cp-surface, #fff); text-decoration: none; }
.cp-portal-launcher svg { display: block; width: 28px; height: 28px; }
.cp-portal-launcher:hover { background: var(--cp-surface-selected, #eef6f5); border-color: var(--cp-teal, #4d7e85); }
.cp-portal-launcher:focus-visible { outline: 3px solid var(--cp-focus, #216b98); outline-offset: 3px; }
.cp-portal-launcher-label { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; white-space: nowrap; padding: 6px 10px; border-radius: 8px; font: 400 14px/1.4 var(--cp-font, system-ui, sans-serif); color: var(--cp-surface, #fff); background: var(--cp-ink, #17213f); visibility: hidden; opacity: 0; pointer-events: none; }
.cp-portal-launcher:hover .cp-portal-launcher-label { visibility: visible; opacity: 1; transition: visibility 0s 650ms, opacity 100ms 650ms; }
.cp-portal-launcher:focus-visible .cp-portal-launcher-label { visibility: visible; opacity: 1; transition: none; }
@media (prefers-reduced-motion: reduce) { .cp-portal-launcher:hover .cp-portal-launcher-label { transition: visibility 0s 650ms, opacity 0s 650ms; } .cp-portal-launcher:focus-visible .cp-portal-launcher-label { transition: none; } }

.cp-portal-launcher[aria-disabled="true"] { cursor: default; opacity: .6; }

html.clinpal-shell-on{--cp-shell-height:72px;scroll-padding-top:var(--cp-shell-height)}
html.clinpal-shell-on body{padding-top:var(--cp-shell-height);margin-top:0}
#clinpal-global-header{box-sizing:border-box;position:fixed;inset:0 0 auto;z-index:10000;height:auto;min-height:72px;display:flex;align-items:center;gap:18px;padding:12px 28px;background:#fff;border-bottom:1px solid #d5e1e3;color:#19293e;font:400 16px/1.3 system-ui,sans-serif}
#clinpal-global-header *{box-sizing:border-box}#clinpal-global-header a{color:inherit;text-decoration:none}#clinpal-global-header a:hover{text-decoration:underline}
#clinpal-global-header .cp-portal-launcher{color:var(--cp-teal,#4d7e85)} .cp-shell-brand{font-size:25px;font-weight:750;letter-spacing:-1.4px}.cp-shell-module{display:flex;align-items:center;gap:8px;font-weight:600}.cp-shell-marker{font-size:23px;line-height:1}.cp-shell-marker.mockup{color:#b9660b}.cp-shell-marker.product{color:#28735c}.cp-shell-marker.prototype{color:#7353a6}
.cp-shell-environment{color:#526775}.cp-shell-account{display:flex;align-items:center;gap:16px;margin-left:auto}
#clinpal-global-header button,#clinpal-global-header .cp-shell-link{font:inherit;min-height:44px;display:inline-flex;align-items:center;padding:8px 13px;border:1px solid #cfdbdf;border-radius:8px;background:white;cursor:pointer;color:#243c49}
#clinpal-global-header button:disabled{opacity:.6;cursor:wait}#clinpal-global-header :focus-visible{outline:3px solid #b47725;outline-offset:3px}
#clinpal-global-header [hidden]{display:none!important}.cp-shell-person{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clinpal-shell-on .shell>header,.clinpal-shell-on .platform-bar{display:none}
.clinpal-shell-on .topbar{top:var(--cp-shell-height)}
.clinpal-shell-on .topbar>.brand,.clinpal-shell-on .topbar>.header-brand,.clinpal-shell-on .topbar>.top-user,.clinpal-shell-on .topbar>.cp-maturity,.clinpal-shell-on .study-header .cp-maturity{display:none}
@media(max-width:720px){html.clinpal-shell-on{--cp-shell-height:112px}#clinpal-global-header{min-height:112px;padding:10px 16px;gap:10px;flex-wrap:wrap;align-content:center}.cp-shell-environment{margin-left:auto;font-size:16px}.cp-shell-account{width:100%;gap:10px}.cp-shell-person{margin-left:auto;max-width:150px}.cp-shell-brand{font-size:23px}#clinpal-global-header .cp-shell-link,#clinpal-global-header button{padding:7px 10px}}
