/* Shared portal masthead; scoped to keep lesson and simulator controls intact. */
.lab-header{box-sizing:border-box;position:relative;z-index:10;display:flex;align-items:center;gap:28px;width:100%;height:auto;min-height:100px;padding:19px 30px;background:linear-gradient(112deg,#0b2542 0%,#123e61 72%,#184e69 100%);color:#fff;border:0;border-bottom:3px solid #58d1cd;box-shadow:0 3px 18px #0a26421a;font-family:Segoe UI,Arial,sans-serif}
.lab-header *{box-sizing:border-box}.lab-header a{text-decoration:none}.lab-header .lab-brand{display:flex;align-items:center;gap:17px;flex-shrink:0;min-width:0;color:#fff}
.lab-header .lab-logos{display:flex;align-items:center;justify-content:center;gap:9px;padding:7px 10px;background:#fff;border:1px solid #ffffffb3;border-radius:12px;box-shadow:0 3px 12px #02142522;flex-shrink:0}
.lab-header .lab-logo-its{display:block;width:36px;height:42px;object-fit:contain}.lab-header .lab-logo-ce{display:block;width:57px;height:42px;object-fit:contain}.lab-header .lab-logo-divider{width:1px;height:30px;background:#dbe4ec}
.lab-header .lab-brand-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.lab-header .lab-brand-copy strong{color:#fff;font-size:23px;font-weight:700;letter-spacing:-.6px;line-height:1.15}.lab-header .lab-brand-copy>span{color:#b6d5e5;font-size:12px;font-weight:500;letter-spacing:.25px;line-height:1.4}
.lab-header .lab-nav{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:6px;margin:0 0 0 auto;padding:0;min-width:0}
.lab-header .lab-nav-link{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:9px;padding:11px 12px;background:transparent;box-shadow:none;color:#d4e5f1;font:600 13px/1.3 Segoe UI,Arial,sans-serif;white-space:nowrap;min-height:41px;cursor:pointer;transition:background .15s,color .15s}
.lab-header .lab-nav-link:hover{background:#ffffff12;border-color:#ffffff16;color:#fff;filter:none}.lab-header .lab-nav-link.is-current{background:#ffffff16;border-color:#ffffff25;color:#fff;box-shadow:inset 0 -2px #69dad0}
.lab-header .lab-icon{display:block;width:19px;height:19px;min-width:19px;flex:0 0 19px;pointer-events:none}.lab-header .lab-nav-link>span{pointer-events:none}
.lab-header .lab-menu-button{display:none}
.lab-header .lab-profile{position:relative;flex-shrink:0;margin:0;padding:0;border:0;min-width:0;color:#fff}.lab-header .lab-profile>summary{display:flex;align-items:center;gap:10px;padding:7px 9px 7px 7px;border:1px solid #ffffff28;border-radius:12px;cursor:pointer;list-style:none;background:#ffffff09;min-height:55px}
.lab-header .lab-profile>summary::-webkit-details-marker{display:none}.lab-header .lab-profile>summary:hover,.lab-header .lab-profile[open]>summary{background:#ffffff14}.lab-header .lab-profile>summary>.lab-icon{width:15px;height:15px;min-width:15px;flex-basis:15px;color:#b2cddd;transition:transform .15s}.lab-header .lab-profile[open]>summary>.lab-icon{transform:rotate(180deg)}
.lab-header .lab-avatar{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#bde9e6;color:#154853;font-size:13px;font-weight:750;letter-spacing:.3px;flex-shrink:0}
.lab-header .lab-profile-copy{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.lab-header .lab-profile-copy strong{font-size:13px;line-height:1.25;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff}.lab-header .lab-role{font-size:10px;font-weight:650;line-height:1.3;color:#a9e9db;letter-spacing:.35px}
.lab-header .lab-profile-panel{position:absolute;right:0;top:calc(100% + 12px);width:268px;max-width:calc(100vw - 28px);border:1px solid #d9e4ed;border-radius:13px;background:#fff;color:#16354f;box-shadow:0 14px 44px #08253f30;padding:7px;z-index:20}
.lab-header .lab-profile-heading{display:flex;flex-direction:column;gap:6px;padding:12px 11px 15px;margin-bottom:6px;border-bottom:1px solid #e6edf3;overflow-wrap:anywhere}.lab-header .lab-profile-heading strong{font-size:14px;line-height:1.5}.lab-header .lab-profile-heading span{font-size:12px;line-height:1.5;color:#60768a}.lab-header .lab-profile-heading small{align-self:flex-start;background:#e7f5ef;color:#226955;border-radius:5px;padding:3px 7px;font-size:11px}
.lab-header .lab-profile-panel>a,.lab-header .lab-profile-panel button{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;margin:0;padding:11px;border:0;border-radius:7px;text-align:left;background:transparent;color:#23475e;font:600 13px/1.4 Segoe UI,Arial,sans-serif;box-shadow:none}.lab-header .lab-profile-panel>a:hover,.lab-header .lab-profile-panel button:hover{background:#edf5fa;filter:none}.lab-header .lab-profile-panel form{margin:0}.lab-header .lab-profile-panel button{color:#a53f36;cursor:pointer}
.lab-header .lab-public-label{display:flex;align-items:center;gap:9px;margin-left:auto;color:#bddce7;font-size:13px;letter-spacing:.2px}
.lab-header a:focus-visible,.lab-header button:focus-visible,.lab-header summary:focus-visible{outline:3px solid #85e8dd;outline-offset:3px}.lab-header .lab-profile-panel a:focus-visible,.lab-header .lab-profile-panel button:focus-visible{outline-color:#0872c9}
@media(max-width:1360px){.lab-header{gap:18px;padding:16px 22px;flex-wrap:wrap}.lab-header .lab-brand{order:0}.lab-header .lab-profile{order:1;margin-left:auto}.lab-header .lab-nav{order:2;flex-basis:100%;justify-content:flex-start;margin:0;padding-top:12px;border-top:1px solid #ffffff1a}.lab-header .lab-nav-link{padding:9px 14px}}
@media(max-width:650px){.lab-header{gap:12px;padding:14px;min-height:0}.lab-header .lab-brand{gap:10px;flex:1;min-width:0}.lab-header .lab-logos{padding:6px;gap:5px;border-radius:9px}.lab-header .lab-logo-its{width:27px;height:33px}.lab-header .lab-logo-ce{width:42px;height:33px}.lab-header .lab-logo-divider{height:23px}.lab-header .lab-brand-copy{gap:4px}.lab-header .lab-brand-copy strong{font-size:18px;letter-spacing:-.4px}.lab-header .lab-brand-copy>span{font-size:10px;letter-spacing:0}.lab-header .lab-profile{margin:0}.lab-header .lab-profile>summary{padding:4px;border-radius:10px;min-height:43px}.lab-header .lab-avatar{width:33px;height:33px;font-size:12px;border-radius:7px}.lab-header .lab-profile-copy,.lab-header .lab-profile>summary>.lab-icon{display:none}.lab-header .lab-nav{padding-top:10px;gap:3px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#83b2c5 transparent;flex-wrap:nowrap}.lab-header .lab-nav-link{padding:8px 10px;font-size:12px;min-height:38px;gap:6px}.lab-header .lab-icon{width:17px;height:17px;min-width:17px;flex-basis:17px}.lab-header .lab-menu-button{display:inline-flex}.lab-header .lab-public-label{display:none}}
@media(prefers-reduced-motion:reduce){.lab-header *{transition:none!important}}

/* Matching full-width footer; course navigation stays free of promotional counts. */
.lab-footer{display:flex;align-items:center;justify-content:space-between;gap:28px;width:100%;margin:0;padding:26px 32px;background:linear-gradient(112deg,#0b2542 0%,#123e61 72%,#184e69 100%);border-top:2px solid #58d1cd;color:#fff;font-family:Segoe UI,Arial,sans-serif;box-sizing:border-box}
.lab-footer .lab-footer-brand{display:flex;align-items:center;gap:16px;min-width:0}.lab-footer .lab-footer-emblem{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border:1px solid #ffffff27;border-radius:12px;background:#ffffff09;color:#9ae3dc}.lab-footer .lab-footer-emblem svg{width:29px;height:29px}.lab-footer .lab-footer-brand>div{display:flex;flex-direction:column;gap:5px;min-width:0}.lab-footer .lab-footer-brand strong{font-size:18px;letter-spacing:-.3px;line-height:1.25;color:#fff}.lab-footer .lab-footer-brand span{font-size:12px;line-height:1.5;color:#c0dbe8}.lab-footer .lab-footer-brand small{font-size:11px;line-height:1.5;color:#a8c9dc}
.lab-footer .lab-footer-author{display:flex;flex-direction:column;gap:7px;padding-left:26px;border-left:1px solid #ffffff28;min-width:0}.lab-footer .lab-footer-author>span{color:#a9dedb;font-size:10px;font-weight:600;line-height:1.4;letter-spacing:1px;text-transform:uppercase}.lab-footer .lab-footer-author>strong{font-size:16px;font-weight:650;line-height:1.45;color:#fff}
@media(max-width:650px){.lab-footer{padding:23px 20px;gap:22px;align-items:flex-start;flex-direction:column}.lab-footer .lab-footer-brand{gap:12px}.lab-footer .lab-footer-emblem{width:40px;height:40px;flex-basis:40px;border-radius:10px}.lab-footer .lab-footer-emblem svg{width:25px;height:25px}.lab-footer .lab-footer-author{width:100%;padding:18px 0 0;border-left:0;border-top:1px solid #ffffff28}.lab-footer .lab-footer-author>strong{font-size:15px}}

/* Give the lesson caption the available width and keep it on one line. */
#heading>div{flex:1;min-width:0}
#heading .lead{max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#heading>.tag{flex-shrink:0}
