/* CREASY live workspace — the authenticated navigation for real learner, instructor and admin records. */
.creasy-workspace-shell{min-height:100vh}
.creasy-workspace-sidebar[hidden]{display:none!important}
.creasy-workspace-stage{min-width:0}
.creasy-workspace-open .creasy-workspace-shell{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:stretch}
.creasy-workspace-open .creasy-workspace-sidebar{display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow:auto;background:#fff;border-right:1px solid #dbe7f1;box-shadow:5px 0 30px #12324b06;z-index:10}
.creasy-workspace-brand{padding:22px 23px 24px;border-bottom:1px solid #e6eef5}
.creasy-workspace-brand .brand{display:flex;align-items:center;gap:10px}
.creasy-workspace-brand .brand span{font-size:20px}
.creasy-workspace-brand .brand small{font-size:9px}
.creasy-workspace-organization{display:flex;align-items:center;gap:12px;margin:23px 16px 22px;background:#edf5fc;border:1px solid #d7e6f2;border-radius:13px;padding:13px}
.creasy-workspace-organization>span:last-child{min-width:0}
.creasy-workspace-organization strong{display:block;font-size:12px;color:#183a5b;line-height:1.4;overflow-wrap:anywhere}
.creasy-workspace-organization small{display:block;color:#57768e;font-size:11px;line-height:1.5}
.creasy-org-mark{display:grid;place-items:center;flex-shrink:0;height:36px;width:36px;border-radius:10px;background:#fff;color:#2364a1}
.creasy-workspace-nav-label{font-size:10px;font-weight:800;letter-spacing:.17em;color:#738c9e;padding:0 26px 12px}
.creasy-workspace-menu{display:flex;flex-direction:column;gap:5px;padding:0 12px}
.creasy-workspace-menu a{display:flex;align-items:center;gap:14px;color:#345773;font-size:14px;font-weight:650;min-height:48px;padding:10px 14px;border:1px solid transparent;border-radius:9px}
.creasy-workspace-menu a:hover{background:#ecf5fc;color:#143f67}
.creasy-workspace-menu a.is-active,.creasy-workspace-menu a[aria-current]{background:#12395e;color:#fff;border-color:#12395e;box-shadow:inset 3px 0 0 #d5ad51}
.creasy-workspace-menu a:focus-visible{outline:3px solid #d5ad51;outline-offset:2px}
.creasy-workspace-aside-bottom{margin-top:auto;padding:22px 23px;border-top:1px solid #e7eff5;background:#f8fbfe}
.creasy-workspace-aside-bottom>span{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:750;color:#204e72}
.creasy-workspace-aside-bottom small{display:block;font-size:11px;color:#688199;overflow-wrap:anywhere;margin-top:8px}
.creasy-workspace-open .pilot-topbar{padding:14px 30px;min-height:76px;background:#fff}
.creasy-workspace-open .pilot-topbar>.brand{display:none}
.creasy-workspace-open .pilot-topbar #account-actions{margin-right:auto}
.creasy-workspace-open .pilot-topbar .text-link{font-size:13px;font-weight:650}
.creasy-workspace-open .pilot-body{max-width:1490px;width:100%;padding:35px 34px 85px}
.creasy-workspace-title h1{font-size:clamp(28px,3vw,41px);margin-bottom:12px}
.creasy-workspace-title p{max-width:840px}
.creasy-workspace-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:10px 0 30px}
.creasy-workspace-stats>.panel{padding:22px 26px;margin:0!important;background:#fff;border-top:3px solid #d5ad51}
.creasy-workspace-stats span{font-size:13px;font-weight:700;color:#42627d;display:block;margin-bottom:9px}
.creasy-workspace-stats strong{display:block;font-size:39px;line-height:1.2;font-weight:850;color:#143e63}
.creasy-workspace-stats strong.creasy-stat-role{font-size:25px}
.creasy-workspace-stats small{display:block;font-size:12px;color:#68839a;margin-top:6px;line-height:1.6}
.creasy-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px}
.creasy-overview-heading h2{margin:0;font-size:25px}
.creasy-workspace-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.creasy-workspace-cards .panel,.pilot-class-grid.creasy-workspace-cards .panel{margin:0!important;padding:25px}
.creasy-workspace-cards h3{font-size:22px;margin:11px 0}
.creasy-workspace-cards p{color:#56728a;font-size:14px;line-height:1.75;margin-bottom:17px}
.creasy-workspace-cards .btn{font-size:12px;margin-top:16px;min-height:39px}
.creasy-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:12px;color:#658099}
.creasy-workspace-card-actions{display:flex;gap:9px;flex-wrap:wrap}
.creasy-workspace-card-actions .btn{margin-top:2px}
.creasy-workspace-help{margin-top:28px!important;padding:26px!important;border-top:4px solid #e5c37b!important;background:#f8fbff!important}
.creasy-workspace-help h2{font-size:23px}
.creasy-workspace-help p{margin:0;line-height:1.8;color:#45647e}
.creasy-workspace-open .pilot-body .panel{max-width:100%}
.creasy-workspace-open .pilot-body a:focus-visible,.creasy-workspace-open .pilot-body button:focus-visible{outline:3px solid #bc9040;outline-offset:3px}
@media(max-width:1050px){.creasy-workspace-open .creasy-workspace-shell{grid-template-columns:224px minmax(0,1fr)}.creasy-workspace-brand{padding:16px}.creasy-workspace-menu{padding:0 8px}.creasy-workspace-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.creasy-workspace-open .pilot-body{padding:25px 23px 75px}}
@media(max-width:760px){.creasy-workspace-open .creasy-workspace-shell{display:flex;flex-direction:column}.creasy-workspace-open .creasy-workspace-sidebar{position:relative;top:auto;height:auto;max-height:none;display:block;border-bottom:1px solid #dce7f1;border-right:0}.creasy-workspace-brand{padding:12px 17px}.creasy-workspace-brand .brand img{height:38px;width:auto}.creasy-workspace-organization,.creasy-workspace-nav-label,.creasy-workspace-aside-bottom{display:none}.creasy-workspace-menu{flex-direction:row;overflow:auto;gap:5px;white-space:nowrap;padding:9px 12px 13px;scrollbar-width:thin}.creasy-workspace-menu a{padding:10px 13px;min-height:43px;font-size:12px;gap:7px}.creasy-workspace-menu svg{height:17px;width:17px}.creasy-workspace-open .pilot-topbar{min-height:0;padding:11px 17px}.creasy-workspace-open .pilot-body{padding:22px 16px 65px}.creasy-workspace-cards,.creasy-workspace-stats{grid-template-columns:1fr}.creasy-workspace-title h1{font-size:29px}.creasy-overview-heading{align-items:flex-start;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.creasy-workspace-menu a{transition:none}}


/* Live-poll alerts: only appear for unresolved polls from enrolled cohorts. */
.creasy-live-alert-bell{
 position:relative;display:inline-flex;align-items:center;justify-content:center;
 border:1px solid #c7dae9;color:#244c71;background:#f3f9fe;border-radius:11px;
 min-width:42px;min-height:42px;padding:8px 9px;cursor:pointer;
}
.creasy-live-alert-bell.has-unread{
 border-color:#d6ad59;background:#fff8e9;color:#194d72;box-shadow:0 0 0 2px #e7d5ad55;
}
.creasy-live-alert-bell:focus-visible,.creasy-live-alert-join:focus-visible,.creasy-live-alert-close:focus-visible{outline:3px solid #d4a74b;outline-offset:3px}
.creasy-live-alert-count{
 position:absolute;right:-7px;top:-8px;min-width:21px;height:21px;padding:0 5px;border-radius:12px;
 display:flex;justify-content:center;align-items:center;background:#a23834;color:#fff;
 font-size:11px;font-weight:900;box-shadow:0 2px 5px #142f5055;
}
.creasy-workspace-menu a:has(.creasy-live-nav-badge){background:#e8f4fc;color:#15456f;border-color:#c8e2f0}
.creasy-workspace-menu a.is-active:has(.creasy-live-nav-badge){background:#12395e;color:#fff}
.creasy-live-nav-badge{
 margin-left:auto;min-width:24px;height:24px;padding:0 6px;
 border-radius:14px;background:#c8483d;color:#fff;
 font-size:12px;font-weight:850;display:inline-grid;place-items:center;
 box-shadow:0 2px 8px #b34d3740;
}
.creasy-live-alert-popover{
 position:fixed;z-index:1500;top:80px;right:26px;width:min(425px,calc(100vw - 30px));
 max-height:min(75vh,710px);overflow-y:auto;
 background:#fff;border:1px solid #ccdfe9;border-top:5px solid #d3aa56;
 border-radius:15px;box-shadow:0 20px 60px #123a6240;color:#1e4668;
}
.creasy-live-alert-popover[hidden]{display:none!important}
.creasy-live-alert-header{
 padding:18px 20px;display:flex;align-items:flex-start;justify-content:space-between;
 gap:10px;background:#f0f7fd;border-bottom:1px solid #dce8f1;
}
.creasy-live-alert-header h2{font-size:20px;margin:6px 0 0;color:#163f63}
.creasy-live-alert-close{border:1px solid #c4d6e6;border-radius:8px;background:#fff;color:#265879;font-size:23px;line-height:1;min-width:35px;height:35px;cursor:pointer}
.creasy-live-alert-items{padding:10px 15px;display:grid;gap:9px}
.creasy-live-alert-entry{padding:14px 15px;border:1px solid #d6e7f1;border-radius:11px;background:#fbfdff}
.creasy-live-alert-kicker{font-size:10px;letter-spacing:.12em;color:#a1782d;font-weight:850;margin-bottom:6px}
.creasy-live-alert-entry strong{font-size:14px;display:block;color:#153f63;overflow-wrap:anywhere}
.creasy-live-alert-entry p{font-size:13px;line-height:1.6;color:#466780;margin:8px 0 12px;overflow-wrap:anywhere}
.creasy-live-alert-entry .creasy-live-alert-join{padding:10px 15px;min-height:40px;font-weight:800}
.creasy-live-alert-empty{padding:15px;font-size:14px}
.creasy-live-alert-footnote{padding:12px 19px;background:#f6f9fb;border-top:1px solid #e3edf5;font-size:11px;color:#5b788f;line-height:1.6;margin:0}
@media(max-width:670px){
 .creasy-live-alert-popover{top:68px;right:12px;width:calc(100vw - 24px);max-height:75vh}
 .creasy-live-alert-header{padding:15px}
 .creasy-live-alert-entry{padding:12px}
}
