/* Employability hub (hub.js): organiser view inside Launchpad + the student seat claim card.
   Uses the Launchpad app's white look: ink #16121c, lines #EFEAF3, soft #FAF9FB, the orange-to-pink gradient. */
.hub{display:none}
body.hub-on .hub{display:block}
body.hub-on .lpa-main>:not(#hubView),body.hub-on .lpa-rail,body.hub-on #tools>:not(#lph){display:none!important}
body.hub-on .lpa{grid-template-columns:248px minmax(0,1fr)!important}
@media (max-width:1180px){body.hub-on .lpa{grid-template-columns:220px minmax(0,1fr)!important}}
@media (max-width:860px){body.hub-on .lpa{grid-template-columns:minmax(0,1fr)!important}}
/* An organiser without Launchpad of their own only gets the hub */
body.hub-only .lpa-new,body.hub-only .lpa-sep,body.hub-only .lpa-plan,body.hub-only #lphTools>:not([data-hub]):not(.hb-nav){display:none!important}

.hub{color:#16121c;font-family:Inter,system-ui,sans-serif;max-width:1180px}
.hb-k{margin:0 0 6px;font-family:var(--mono,ui-monospace,monospace);font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;color:#B0306F}
.hb-loading,.hb-empty{color:#6b6475;font-size:14px;margin:6px 0}
.hb-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.hb-head .lpa-sub{margin:0}
.hb-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.hb-btn{all:unset;cursor:pointer;box-sizing:border-box;padding:10px 16px;border-radius:10px;font-size:13.5px;font-weight:600;border:1px solid #E5DFEA;background:#fff;color:#16121c;min-height:40px;display:inline-flex;align-items:center}
.hb-btn:hover{border-color:#16121c}
.hb-btn:focus-visible,.hb-link:focus-visible{outline:2px solid #C2368E;outline-offset:2px}
.hb-btn[disabled]{opacity:.5;cursor:not-allowed}
.hb-dark{background:#16121c;border-color:#16121c;color:#fff}
.hb-grad{background:linear-gradient(95deg,#FF6A3D 0%,#E8456B 55%,#C2368E 100%);border:0;color:#fff}
.hb-link{all:unset;cursor:pointer;font-size:13px;font-weight:600;color:#B0306F}
.hb-in{font:14px Inter,system-ui,sans-serif;color:#16121c;background:#fff;border:1px solid #E5DFEA;border-radius:10px;padding:10px 12px;min-height:40px;box-sizing:border-box}
.hb-in:focus{outline:2px solid #C2368E;outline-offset:1px;border-color:transparent}
.hb-ta{width:100%;min-height:96px;resize:vertical;margin:10px 0}
.hb-err{font-size:13px;color:#B0306F}
.hb-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.hb-filters label{display:grid;gap:5px;font-size:12px;color:#6b6475;font-weight:500}
.hb-filters .hb-in{min-width:170px}

.hb-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
.hb-kpi{border:1px solid #EFEAF3;border-radius:16px;padding:16px;background:#fff;display:grid;gap:4px;align-content:start}
.hb-kpi .hb-k{color:#7a7385;margin:0}
.hb-kpi b{font-size:30px;font-weight:700;letter-spacing:-.04em}
.hb-kpi b small{font-size:15px;color:#7a7385;font-weight:500;letter-spacing:0}
.hb-kpi span{font-size:13px;color:#6b6475}
.hb-kpi .hb-up{color:#1D7A4C;font-weight:600}
.hb-meter{display:block;height:6px;border-radius:6px;background:#F1ECF5;overflow:hidden;margin-top:6px}
.hb-meter em{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#FF6A3D,#E8456B,#C2368E)}

.hb-box{background:#fff;margin-bottom:12px;padding:18px}
.hb-boxh{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.hb-boxh h2{margin:0;font-size:15.5px;font-weight:600;letter-spacing:-.02em}
.hb-boxh span{font-size:13px;color:#6b6475}
.hb-mt{margin-top:10px}
.hb-two{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px}
.hb-two>.hb-box{margin-bottom:12px}
.hb-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.hb-step{background:#FAF9FB;border:1px solid #F1ECF5;border-radius:12px;padding:14px;display:grid;gap:2px}
.hb-step b{font-size:24px;font-weight:700;letter-spacing:-.03em}
.hb-step span{font-size:13px;color:#6b6475}
.hb-bar{display:grid;grid-template-columns:150px minmax(0,1fr) 36px;gap:12px;align-items:center;font-size:14px}
.hb-bar i{height:10px;border-radius:6px;background:#F1ECF5;overflow:hidden}
.hb-bar em{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#FF6A3D,#E8456B,#C2368E)}
.hb-bar b{text-align:right;font-weight:600;color:#4a4453}
.hb-chips{display:flex;flex-wrap:wrap;gap:8px}
.hb-chips span{padding:7px 12px;border-radius:999px;background:#F6F3F8;font-size:13px;color:#4a4453}
.hb-chips span.on{background:#FDECF3;color:#9C2A62;font-weight:600}
.hb-alert{border:1px solid #EFEAF3;border-radius:12px;padding:14px;display:grid;gap:4px;justify-items:start;background:#FAF9FB}
.hb-alert.hot{background:#FFF3EE;border-color:#FFD9C9}
.hb-alert b{font-size:14px}
.hb-alert span{font-size:13px;color:#6b6475;margin-bottom:6px}
.hb-weeks{display:flex;align-items:flex-end;gap:8px;height:130px}
.hb-weeks i{flex:1;border-radius:6px 6px 0 0;background:#F6D3C6}
.hb-weeks i.now{background:linear-gradient(180deg,#FF6A3D,#C2368E)}
.hb-line{display:flex;justify-content:space-between;font-size:14px;padding:6px 0;border-bottom:1px solid #F4F0F6}
.hb-line:last-child{border-bottom:0}
.hb-line b{font-weight:600;color:#4a4453}
.hb-note{margin:0;font-size:13.5px;color:#6b6475;line-height:1.5}
.hb-tablebox .hb-in{min-width:220px}
.hb-scroll{overflow-x:auto;margin:0 -18px -18px}
.hb-tbl{width:100%;min-width:880px;border-collapse:collapse;font-size:14px}
.hb-tbl th{text-align:left;font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#7a7385;font-weight:600;padding:10px 18px;border-bottom:1px solid #EFEAF3;background:#FAF9FB}
.hb-tbl td{padding:12px 18px;border-bottom:1px solid #F4F0F6;vertical-align:middle;color:#2b2532}
.hb-tbl td small{display:block;color:#7a7385;font-size:12px;margin-top:2px}
.hb-tbl td.hb-empty{padding:18px}
.hb-pill{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}
.hb-pill.on{background:#E6F5EC;color:#1D6B44}
.hb-pill.quiet{background:#FFEFE7;color:#A3401C}
.hb-pill.off{background:#F3F0F6;color:#5c5566}
.hb-foot{font-size:13px;color:#6b6475;margin:16px 0 0;line-height:1.55}
@media (max-width:1100px){.hb-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-two{grid-template-columns:minmax(0,1fr)}.hb-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:560px){.hb-kpis,.hb-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-bar{grid-template-columns:110px minmax(0,1fr) 30px}.hb-filters .hb-in,.hb-tablebox .hb-in{min-width:0;width:100%}.hb-filters label{flex:1 1 140px}}

/* Student: claim a seat */
.hb-claimwrap{max-width:1180px;margin:0 auto 24px;padding:0 20px}
.lp-member .hb-claimwrap{margin:20px auto}
.hb-claim{background:#fff;color:#16121c;border:1px solid #EFEAF3;border-radius:20px;padding:24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px;box-shadow:0 24px 60px -30px rgba(20,8,31,.45);font-family:Inter,system-ui,sans-serif}
.hb-claim h2{margin:0 0 8px;font-size:24px;letter-spacing:-.03em;color:#16121c}
.hb-claim p{margin:0;color:#4a4453;font-size:14.5px;line-height:1.55}
.hb-claim .hb-k{color:#B0306F}
.hb-claim-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);gap:12px;align-content:start}
.hb-claim-form label{display:grid;gap:5px;font-size:12.5px;font-weight:600;color:#4a4453}
.hb-claim-form .hb-consent,.hb-claim-form .hb-row{grid-column:1/-1}
.hb-consent{display:flex!important;gap:10px;align-items:flex-start;font-weight:400!important;font-size:13px!important;line-height:1.5;color:#4a4453}
.hb-consent input{margin-top:3px;width:18px;height:18px;flex:none;accent-color:#C2368E}
@media (max-width:760px){.hb-claim{grid-template-columns:minmax(0,1fr)}.hb-claim-form{grid-template-columns:minmax(0,1fr)}}
/* the site theme makes headings white and resizes buttons: keep the hub's own look */
.hub h1,.hub h2,.hb-claim h2{color:#16121c!important;font-family:Inter,system-ui,sans-serif!important}
.hub h2,.hb-claim h2{text-transform:none!important}
.hb-btn{font:600 13.5px/1.2 Inter,system-ui,sans-serif!important}
.hb-link{font:600 13px/1.2 Inter,system-ui,sans-serif!important}
.hb-box{align-content:start}

/* ---- 017: hub sections in the sidebar, webinars, reports, student view ---- */
.hb-nav{display:none}
body.hub-on .hb-nav{display:flex;flex-direction:column;gap:2px;margin:2px 0 8px 10px;padding-left:10px;border-left:1px solid #EFEAF3}
.hb-nav button{all:unset;cursor:pointer;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;font:500 13.5px/1.2 Inter,system-ui,sans-serif!important;color:#4a4453}
.hb-nav button svg{width:16px;height:16px;flex:none}
.hb-nav button:hover{background:#F6F3F8;color:#16121c}
.hb-nav button.on{background:#16121c;color:#fff}
.hb-nav button:focus-visible{outline:2px solid #C2368E;outline-offset:2px}
.hb-am{margin-top:12px;border:1px solid #EFEAF3;border-radius:12px;padding:12px;display:grid;gap:3px;background:#FAF9FB}
.hb-am span{font-size:11.5px;color:#6b6475}
.hb-am b{font-size:13.5px;color:#16121c}
.hb-am a{font-size:13px;font-weight:600;color:#B0306F;text-decoration:none}
.hb-sm{min-height:34px!important;padding:7px 12px!important;font-size:12.5px!important}
.hb-seg{display:flex;gap:4px;flex-wrap:wrap;background:#F6F3F8;border-radius:10px;padding:4px}
.hb-seg button{all:unset;cursor:pointer;padding:7px 12px;border-radius:7px;font:600 12.5px/1.2 Inter,system-ui,sans-serif!important;color:#4a4453}
.hb-seg button.on{background:#fff;color:#16121c;box-shadow:0 1px 3px rgba(20,8,31,.12)}
.hb-acts{white-space:nowrap}
.hb-acts>*+*{margin-left:12px}
.hb-evs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hb-ev{border:1px solid #EFEAF3;border-radius:12px;padding:14px;display:grid;gap:4px;background:#FAF9FB;align-content:start}
.hb-ev .hb-k{margin:0}
.hb-ev b{font-size:15px;color:#16121c}
.hb-ev>span{font-size:13px;color:#6b6475}
.hb-ev .hb-row{margin-top:6px}
.hb-ev.past{opacity:.75}
.hb-evbox{gap:10px}
.hb-ev-mini{display:grid;gap:4px;justify-items:start;padding-top:10px;border-top:1px solid #F4F0F6}
.hb-ev-mini b{font-size:13.5px;color:#16121c;line-height:1.35}
.hb-ev-mini span{font-size:12.5px;color:#6b6475}
.hb-line small{color:#7a7385;font-size:12px}
.hb-report h3{font-size:14px;margin:14px 0 6px;color:#16121c}
.hb-rep-t{font-size:24px!important;margin:2px 0 4px!important}
.hb-scroll-in{margin:0}
.hb-steps4{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:14px 0}
.hb-dlg{border:0;border-radius:18px;padding:22px;max-width:560px;width:calc(100% - 32px);color:#16121c;font-family:Inter,system-ui,sans-serif;box-shadow:0 30px 80px rgba(20,8,31,.35)}
.hb-dlg::backdrop{background:rgba(20,8,31,.45)}
.hb-dlg h2{margin:0;font-size:20px;color:#16121c!important}
@media (max-width:760px){.hb-evs,.hb-steps4{grid-template-columns:minmax(0,1fr)!important}}
@media print{
  body *{visibility:hidden}
  #hbReport,#hbReport *{visibility:visible}
  #hbReport{position:absolute;inset:0 auto auto 0;width:100%;border:0!important;box-shadow:none!important}
  .hb-scroll{overflow:visible!important;margin:0!important}
  .hb-tbl{min-width:0!important}
}
.hb-jobs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:6px}
.hb-job{display:grid;gap:3px;padding:14px;border:1px solid #EFEAF3;border-radius:12px;background:#FAF9FB;text-decoration:none;color:#16121c}
.hb-job:hover{border-color:#16121c}
.hb-job b{font-size:14px;line-height:1.3}
.hb-job span{font-size:13px;color:#4a4453}
.hb-job small{font-size:12px;color:#7a7385}
.hb-plf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hb-plf .hb-boxh,.hb-plf .hb-row,.hb-plf .hb-consent{grid-column:1/-1}
.hb-plf label{display:grid;gap:5px;font-size:12.5px;font-weight:600;color:#4a4453}
.hb-tbl td .hb-meter{margin-top:6px}
@media (max-width:1100px){.hb-jobs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.hb-jobs,.hb-plf{grid-template-columns:minmax(0,1fr)}}
@media (max-width:860px){
  body.hub-on .hb-nav{flex:1 1 100%;width:100%;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;margin:6px 0 0;padding:0 0 4px;border-left:0;gap:6px;-webkit-overflow-scrolling:touch}
  .hb-nav button{flex:none;border:1px solid #EFEAF3;white-space:nowrap}
  .hb-am{display:none}
  .hb-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
.hb-bar-w{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 44px!important}
.hb-well{display:grid;gap:2px;padding:11px 0;border-bottom:1px solid #F4F0F6}
.hb-well:last-of-type{border-bottom:0}
.hb-well b{font-size:14px;color:#16121c}
.hb-well span{font-size:13px;color:#6b6475}
.hb-rank{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:6px;background:#FDECF3;color:#9C2A62;font-size:11px;margin-right:8px}
@media (max-width:560px){.hb-bar-w{grid-template-columns:minmax(0,1fr) 70px 38px!important}}
