:root{color-scheme:dark;--bg:#0b0d10;--surface:#12161b;--surface-2:#171c22;--line:#2a3038;--text:#f4f1ea;--muted:#a6adb7;--gold:#d4ae62;--gold-soft:#f0d79a;--ok:#6fcf97;--warn:#f2c66d;--danger:#ff7b7b;--info:#8ab4ff;--radius:14px;--shadow:0 18px 50px #00000047;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--bg)}body{min-height:100vh;color:var(--text);background:radial-gradient(circle at 85% 0,#d4ae6214,#0000 28rem),linear-gradient(#0b0d10 0%,#0d1014 100%);margin:0;line-height:1.55}a{color:var(--gold-soft);text-underline-offset:3px}a:hover{color:#fff4d0}main{width:min(1180px,100% - 32px);margin:0 auto;padding:34px 0 64px}body>main>p:first-child,.eyebrow{color:var(--gold);letter-spacing:.18em;text-transform:uppercase;margin:0 0 8px;font-size:.78rem;font-weight:800}h1,h2,h3{letter-spacing:-.02em;line-height:1.15}h1{margin:0 0 14px;font-size:clamp(2rem,4vw,3.4rem);font-weight:760}h2{margin-top:30px;font-size:1.28rem}h3{margin-top:22px}p{color:var(--text)}small{color:var(--muted)}section,nav[aria-label=Operations]{margin-top:22px}section{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:#12161be0;padding:22px}nav[aria-label=Operations]{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}nav[aria-label=Operations] p{border:1px solid var(--line);border-radius:var(--radius);min-height:116px;color:var(--muted);background:linear-gradient(#171c22f5,#101419f5);margin:0;padding:18px}nav[aria-label=Operations] a{color:var(--text);margin-bottom:8px;font-size:1.05rem;font-weight:760;text-decoration:none;display:block}nav[aria-label=Operations] a:after{content:" →";color:var(--gold)}#work-summary p{color:var(--muted);margin:10px 0 0}#work-summary strong{color:var(--gold-soft);font-size:1.05rem}form{margin:14px 0}label{color:var(--muted);gap:7px;font-size:.92rem;display:grid}input,select,textarea,button{font:inherit}input,select,textarea{border:1px solid var(--line);width:100%;color:var(--text);background:#0d1116;border-radius:10px;padding:10px 12px}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--gold);outline:2px solid #d4ae6259}button{color:#111;cursor:pointer;background:linear-gradient(#d4ae62,#b88e42);border:1px solid #7d6638;border-radius:10px;padding:9px 14px;font-weight:800}button:hover{filter:brightness(1.06)}form[action="/api/auth/sign-out"]{margin-top:28px}form[action="/api/auth/sign-out"] button{color:var(--muted);border-color:var(--line);background:0 0}table{border-collapse:collapse;border:1px solid var(--line);background:var(--surface);border-radius:12px;width:100%;margin-top:16px;overflow:hidden}th,td{border-bottom:1px solid var(--line);vertical-align:top;text-align:left;padding:12px 13px}th{color:var(--gold-soft);background:var(--surface-2);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem}td{color:#e8e5de}tr:last-child td{border-bottom:0}[role=alert]{color:#ffc2c2;background:#ff7b7b14;border:1px solid #ff7b7b61;border-radius:10px;padding:12px 14px}[role=status]{color:#bff0d2;background:#6fcf9714;border:1px solid #6fcf9759;border-radius:10px;padding:12px 14px}body>main>p:nth-of-type(2){color:var(--muted)}@media (width<=760px){main{width:min(100% - 22px,1180px);padding-top:24px}nav[aria-label=Operations]{grid-template-columns:1fr}nav[aria-label=Operations] p{min-height:auto}section{padding:17px}table{white-space:nowrap;display:block;overflow-x:auto}}.hub-sidebar{z-index:40;border-right:1px solid var(--line);background:#0e1217;flex-direction:column;width:250px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:12px 0 32px #0000002e}.hub-brand{border-bottom:1px solid var(--line);align-items:center;gap:12px;min-height:76px;padding:15px 16px;display:flex}.hub-brand-mark{background:#050607;border:1px solid #7d6638;border-radius:10px;flex:0 0 38px;place-items:center;width:38px;height:38px;display:grid;overflow:hidden}.hub-brand-mark img{object-fit:cover;width:100%;height:100%;display:block}.hub-brand strong{color:var(--text);letter-spacing:.08em;font-size:.86rem;display:block}.hub-brand small{color:var(--muted);margin-top:2px;font-size:.74rem;display:block}.hub-nav{flex:1;padding:14px 10px;overflow-y:auto}.hub-nav-link{color:#c4cad2;border-radius:9px;margin:2px 0;padding:10px 12px;font-size:.88rem;font-weight:650;text-decoration:none;display:block}.hub-nav-link:hover{color:#fff;background:#171d24}.hub-nav-link.active{color:var(--gold-soft);box-shadow:inset 3px 0 0 var(--gold);background:#d4ae6221}.hub-sidebar-footer{border-top:1px solid var(--line);padding:12px 10px 16px}.hub-admin-link{color:var(--gold-soft)}.hub-topbar{z-index:35;border-bottom:1px solid var(--line);backdrop-filter:blur(10px);background:#0d1116f5;align-items:center;gap:18px;min-height:76px;padding:10px 20px;display:flex;position:fixed;top:0;left:250px;right:0}.hub-summary-scroll{scrollbar-width:thin;flex:1;gap:8px;min-width:0;display:flex;overflow-x:auto}.hub-summary-chip{border:1px solid var(--line);color:var(--muted);white-space:nowrap;background:#151a20;border-radius:999px;flex:none;padding:7px 10px;font-size:.78rem;text-decoration:none}a.hub-summary-chip:hover{color:var(--text);background:#1a2027;border-color:#d4ae628c}.hub-summary-chip strong{color:var(--gold-soft)}.hub-summary-chip.attention{background:#f2c66d17;border-color:#f2c66d73}.hub-user{text-align:right;min-width:170px}.hub-user span{color:var(--text);font-size:.84rem;font-weight:750;display:block}.hub-user small{max-width:220px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;display:block;overflow:hidden}.hub-sidebar~main,.hub-sidebar~.hub-topbar~main{width:auto;max-width:none;margin-left:250px;padding:108px 28px 64px}.hub-sidebar~main>p:first-child{margin-top:0}@media (width<=980px){.hub-sidebar{border-right:0;border-bottom:1px solid var(--line);width:100%;height:auto;position:fixed;top:0;bottom:auto;right:0}.hub-brand{min-height:58px;padding:9px 12px}.hub-brand-mark{flex-basis:32px;width:32px;height:32px}.hub-brand small{display:none}.hub-nav{gap:4px;padding:7px 10px 9px;display:flex;overflow-x:auto}.hub-nav-link{flex:none;padding:7px 10px;font-size:.78rem}.hub-sidebar-footer{display:none}.hub-topbar{min-height:58px;padding:8px 10px;top:106px;left:0}.hub-user{display:none}.hub-sidebar~main,.hub-sidebar~.hub-topbar~main{margin-left:0;padding:188px 12px 48px}}.client-profile-head{justify-content:space-between;align-items:flex-start;gap:22px;margin:6px 0 18px;display:flex}.client-profile-head h1{margin-bottom:8px}.client-profile-contact{border:1px solid var(--line);background:var(--surface);min-width:260px;color:var(--muted);border-radius:12px;gap:7px;padding:14px 16px;display:grid}.client-profile-contact span{justify-content:space-between;gap:14px;font-size:.84rem;display:flex}.client-overview{box-shadow:none;background:0 0;border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0;display:grid}.client-overview article{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-height:240px;padding:18px}.client-overview article h2{margin:0 0 12px;font-size:1rem}.compact-list{margin:0;padding-left:18px}.compact-list li{color:var(--text);margin:0 0 12px}.client-advanced{border:1px solid var(--line);border-radius:var(--radius);background:#12161bb8;margin-top:18px}.client-advanced>summary{cursor:pointer;color:var(--gold-soft);padding:15px 18px;font-weight:800}.client-advanced[open]>summary{border-bottom:1px solid var(--line)}.client-advanced>:not(summary){margin-left:18px;margin-right:18px}.compact-control{display:inline-block}.compact-control>summary{cursor:pointer;border:1px solid var(--line);color:var(--muted);user-select:none;border-radius:7px;padding:4px 7px;font-size:.72rem;list-style:none}.compact-control>summary::-webkit-details-marker{display:none}.compact-control[open]{position:relative}.compact-control-panel{border:1px solid var(--line);background:#11161b;border-radius:10px;min-width:210px;margin-top:7px;padding:10px}button.danger-compact{padding:5px 8px;font-size:.75rem}@media (width<=980px){.client-overview{grid-template-columns:1fr}.client-profile-head{flex-direction:column}.client-profile-contact{width:100%;min-width:0}}.client-profile-head{z-index:24;border-bottom:1px solid var(--line);backdrop-filter:blur(8px);background:linear-gradient(#0b0d10fa,#0b0d10f0);margin-bottom:18px;padding:12px 0 14px;position:sticky;top:88px}.dnc-banner{color:#ff9f9f;letter-spacing:.04em;text-transform:uppercase;background:#ff7b7b1f;border:1px solid #ff7b7b8c;border-radius:8px;margin:6px 0 2px;padding:5px 9px;font-size:.78rem;font-weight:900;display:inline-block}.contact-rows{gap:8px;margin:12px 0;display:grid}.contact-row{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:11px 12px;display:flex}.note-list{gap:10px;padding:0;list-style:none;display:grid}.note-list li{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;padding:14px}.note-list li:target{outline:2px solid #d4ae6273}@media (width<=980px){.client-profile-head{top:172px}}.client-state-row{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:8px;font-size:.86rem;display:flex}.add-control{margin-top:14px}.add-control>summary{cursor:pointer;border:1px solid var(--line);color:var(--gold-soft);background:#131820;border-radius:8px;padding:7px 10px;font-size:.8rem;font-weight:800;list-style:none;display:inline-block}.add-control>summary::-webkit-details-marker{display:none}.add-control-panel{border:1px solid var(--line);background:#10151b;border-radius:10px;max-width:620px;margin-top:10px;padding:14px}.add-control-panel p:first-child{margin-top:0}.add-control-panel button{margin-top:8px}.relationship-rows{gap:8px;margin-top:12px;display:grid}.relationship-row{border:1px solid var(--line);background:var(--surface-2);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;display:flex}.relationship-row span{align-items:baseline;gap:9px;display:flex}.relationship-row small{text-transform:capitalize}.auth-shell{width:min(980px,100% - 32px)}.auth-brand{align-items:center;gap:14px;margin-bottom:18px;display:flex}.auth-brand img{object-fit:cover;border-radius:50%;flex:0 0 56px;width:56px;height:56px}.auth-brand p{color:var(--gold);letter-spacing:.18em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:800}.auth-form{gap:18px;margin-top:20px;display:grid}.auth-form label{gap:9px}.auth-form button{justify-self:start;margin-top:2px}.client-id-label{color:var(--muted);margin:0 0 8px;font-size:.84rem}.client-id-label strong{color:var(--gold-soft);letter-spacing:.03em}.status-badge{border:1px solid var(--line);background:var(--surface-2);width:fit-content;color:var(--muted);letter-spacing:.03em;border-radius:999px;align-items:center;gap:5px;padding:4px 8px;font-size:.76rem;font-weight:800;display:inline-flex}.status-active,.status-open{color:#9be6b9;background:#6fcf971a;border-color:#6fcf976b}.status-archived,.status-inactive{color:#c2c8d0;background:#a6adb714;border-color:#a6adb74d}.status-duplicate{color:#f3d58d;background:#f2c66d1a;border-color:#f2c66d6b}.status-dnc{color:#ffabab;background:#ff7b7b1c;border-color:#ff7b7b7a}.relationship-row small.status-badge{text-transform:uppercase}@media (width<=760px){.auth-shell{width:min(100% - 22px,980px)}.auth-brand img{flex-basis:48px;width:48px;height:48px}}.auth-intro{color:var(--muted);margin:0 0 24px;font-size:1rem}.signin-panel{max-width:720px;margin-top:24px}.signin-panel h2{margin-top:0;font-size:1.2rem}.auth-support,.auth-provisioning{margin:14px 0 0}.auth-provisioning{color:var(--muted)}.hub-session{align-items:center;gap:12px;display:flex}.hub-signout button{border-color:var(--line);color:var(--muted);background:0 0;padding:7px 10px;font-size:.78rem}.hub-signout button:hover{color:var(--text);background:#171d24;border-color:#d4ae628c}@media (width<=980px){.hub-session{margin-left:auto}.hub-signout button{padding:6px 9px}}.hub-session{align-items:flex-start}.hub-user{justify-items:end;gap:2px;display:grid}.hub-signout{margin-top:6px}.hub-signout button{border-radius:7px;padding:4px 8px;font-size:.7rem;font-weight:700;line-height:1.2}.hub-topbar{height:76px;min-height:76px;padding-top:6px;padding-bottom:6px}.hub-session{align-self:center;height:auto}.hub-user{flex-direction:column;justify-content:center;align-items:flex-end;gap:0;min-width:170px;line-height:1.15;display:flex}.hub-user span{line-height:1.15}.hub-user small{margin-top:2px;line-height:1.15}.hub-signout{margin:4px 0 0}.hub-signout button{border-radius:6px;min-height:0;padding:2px 7px;font-size:.66rem;line-height:1.15}@media (width<=980px){.hub-topbar{height:58px;min-height:58px}}.social-kpis{flex-wrap:wrap;gap:10px;display:flex}.social-kpis span{border:1px solid var(--line);background:var(--surface-2);color:var(--muted);border-radius:999px;padding:8px 11px;font-size:.82rem}.social-kpis strong{color:var(--gold-soft)}.social-assets{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.social-assets article{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;padding:12px}.social-assets img,.social-assets video{object-fit:contain;background:#080a0d;border-radius:8px;width:100%;max-height:360px;display:block}.workflow-actions{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.workflow-actions form{margin:0}.status-draft{color:#c4cad2;background:#a6adb714;border-color:#a6adb752}.status-review{color:#aac7ff;background:#8ab4ff1a;border-color:#8ab4ff73}.status-approved{color:#9be6b9;background:#6fcf971a;border-color:#6fcf9773}.status-scheduled{color:#f3d58d;background:#f2c66d1a;border-color:#f2c66d73}.status-published{color:#b9f4d0;background:#6fcf9729;border-color:#6fcf9799}.status-cancelled{color:#ffabab;background:#ff7b7b17;border-color:#ff7b7b6b}.hub-topbar{align-items:center}.hub-session{justify-content:flex-end;align-self:center;align-items:center;display:flex}.hub-user{justify-content:center}form.hub-signout[action="/api/auth/sign-out"]{margin:4px 0 0}form.hub-signout[action="/api/auth/sign-out"] button{border-radius:6px;min-height:0;padding:2px 7px;font-size:.66rem;line-height:1.15}.enquiry-list{gap:12px;display:grid}.enquiry-card-foundry{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;padding:14px 16px}.enquiry-card-foundry__head,.enquiry-card-foundry__actions{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.enquiry-card-foundry__head div{gap:2px;display:grid}.enquiry-message{white-space:pre-wrap;margin:10px 0}.enquiry-card-foundry__actions{align-items:center;margin-top:10px}@media (width<=760px){.enquiry-card-foundry__head,.enquiry-card-foundry__actions{flex-direction:column;align-items:flex-start}}@media (width>=981px){.hub-sidebar{width:205px}.hub-brand{gap:9px;min-height:62px;padding:10px 11px}.hub-brand-mark{border-radius:8px;flex-basis:32px;width:32px;height:32px}.hub-brand strong{font-size:.76rem}.hub-brand small{font-size:.64rem}.hub-nav{padding:8px 7px}.hub-nav-link{border-radius:7px;margin:1px 0;padding:7px 9px;font-size:.75rem}.hub-sidebar-footer{padding:8px 7px 10px}.hub-topbar{min-height:62px;padding:7px 14px;left:205px}.hub-summary-chip{padding:5px 8px;font-size:.69rem}.hub-user{min-width:150px}.hub-user span{font-size:.74rem}.hub-user small{font-size:.64rem}.hub-sidebar~main,.hub-sidebar~.hub-topbar~main{margin-left:205px;padding:76px 18px 24px}main{font-size:.82rem}main h1{margin:.3rem 0 .55rem;font-size:1.55rem;line-height:1.12}main h2{margin:.7rem 0 .45rem;font-size:1.02rem;line-height:1.2}main h3{font-size:.9rem;line-height:1.2}main p{margin:.35rem 0}main section{margin-block:.7rem}main table{font-size:.76rem}main th,main td{padding:.5rem .55rem}main input,main select,main textarea,main button{font-size:.78rem}}.people-workspace{max-width:none}.workspace-head{justify-content:space-between;align-items:flex-end;margin-bottom:.65rem;display:flex}.workspace-head h1{margin:.15rem 0 .25rem}.eyebrow{letter-spacing:.11em;color:#efd17c;margin:0 0 .2rem;font-size:.68rem;font-weight:800}.identity-gate,.people-results,.no-match-panel,.people-empty{background:#090d1173;border:1px solid #29313a;border-radius:12px;margin:.65rem 0;padding:.8rem .9rem}.identity-gate-head,.section-line{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.gate-state{white-space:nowrap;border:1px solid #39424d;border-radius:999px;padding:.25rem .55rem;font-size:.7rem}.gate-guidance{color:#aeb7c5;max-width:900px}.people-search{align-items:center;gap:.45rem;margin-top:.55rem;display:flex}.people-search input{flex:1;min-width:420px;max-width:680px}.people-results table{width:100%}.gate-warning{color:#efd17c;margin:.6rem 0 0}.identity-confirm{border-top:1px solid #29313a;margin-top:.6rem;padding-top:.55rem}.identity-confirm summary{cursor:pointer;color:#efd17c;font-weight:700}.capture-actions{padding:.65rem 0 .1rem}.capture-grid{grid-template-columns:1fr 1fr;gap:.65rem;margin-top:.55rem;display:grid}.capture-grid>div{background:#171d23;border:1px solid #29313a;border-radius:10px;padding:.7rem}.capture-grid h3{margin:0 0 .3rem}.button-link{margin-top:.35rem;display:inline-block}@media (width<=760px){.people-search{flex-direction:column;align-items:stretch}.people-search input{width:100%;min-width:0}.capture-grid{grid-template-columns:1fr}}.client-name-link{color:#f4f6f8;text-underline-offset:3px;text-decoration:underline #efd17c}.identity-confirm summary{color:#0b0e12;background:#d5aa50;border:1px solid #d5aa50;border-radius:8px;padding:.55rem .8rem;font-weight:800;display:inline-block}.identity-confirm[open] summary{margin-bottom:.45rem}.primary-action{color:#0b0e12;background:#d5aa50;border-radius:8px;margin-top:.4rem;padding:.55rem .75rem;font-weight:800;text-decoration:none;display:inline-block}.pending-control{color:#aeb7c5;border:1px dashed #49525c;border-radius:8px;padding:.55rem .65rem}.people-intake{max-width:900px}.intake-lead{color:#aeb7c5;max-width:720px}.intake-card{background:#090d1173;border:1px solid #29313a;border-radius:12px;padding:.9rem}.form-grid{grid-template-columns:1fr 1fr;gap:.65rem;display:grid}.form-grid label,.optional-fields label{gap:.25rem;display:grid}.optional-fields{margin-top:.7rem}.optional-fields label{max-width:420px;margin-top:.55rem}.intake-actions{justify-content:flex-end;align-items:center;gap:.7rem;margin-top:.8rem;display:flex}.intake-note{color:#aeb7c5;margin-top:.7rem}@media (width<=760px){.form-grid{grid-template-columns:1fr}}.intake-form .conditional-source{display:none}.intake-form:has(#source-code option[value=PARTNER]:checked) .partner-code-field{display:grid}.intake-form:has(#source-code option[value=PARTNER]:checked) .social-platform-field{display:none}.intake-form:has(#source-code option[value=SOCIAL]:checked) .social-platform-field{display:grid}.intake-form:has(#source-code option[value=SOCIAL]:checked) .partner-code-field{display:none}.request-action{background:#0b1015;border:1px solid #29313a;border-radius:10px;margin-top:.75rem;padding:.8rem;display:none}.request-action label{gap:.3rem;display:grid}.intake-form:has(#request-purpose option[value=BMR]:checked) .bmr-action,.intake-form:has(#request-purpose option[value=TCC_CONNECT]:checked) .connect-action{display:block}.slot-grid{flex-wrap:wrap;gap:.45rem;display:flex}.slot-choice{cursor:pointer;border:1px solid #303842;border-radius:8px;align-items:center;padding:.55rem .7rem;gap:.4rem!important;display:flex!important}.slot-choice input{width:auto}.field-label{margin:0 0 .55rem}@media (width>=821px){.hub-sidebar~main,.hub-sidebar~.hub-topbar~main{padding-top:92px}}@media (width>=981px){.hub-sidebar~main,.hub-sidebar~.hub-topbar~main{padding-top:92px}}main section:has(>h2) li>button,main section:has(>h2) li>details+button{margin-inline-start:12px}.programme-enrolment-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px;margin:12px 0;display:grid}.programme-enrolment-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;min-width:0;padding:12px;scroll-margin-top:185px}.programme-tlp{background:linear-gradient(160deg,#211c13,#101419 62%);border-color:#926d29}.programme-21d{background:linear-gradient(160deg,#122538,#101419 62%);border-color:#275e91}.programme-lab{background:linear-gradient(160deg,#23182e,#101419 62%);border-color:#664188}.programme-enrolment-card.unavailable{background:#191c21;border-color:#454b52}.programme-card-header{align-items:center;gap:9px;min-height:76px;display:flex}.programme-card-header h3{margin:0 0 5px;font-size:1.04rem;line-height:1.25}.programme-medallion{flex:0 0 66px;width:66px;display:block;position:relative}.programme-medallion img{width:100%;height:auto;display:block}.programme-medallion.muted img{filter:grayscale();opacity:.5}.programme-card-status{color:var(--gold-soft);margin:0;font-size:.82rem}.unavailable .programme-card-status{color:var(--muted)}.programme-card-meta{color:var(--muted);margin:6px 0 9px;font-size:.78rem}.programme-checklist{border-top:1px solid var(--line);padding-top:8px}.programme-checklist h4{margin:0 0 7px}.programme-checklist .pcsu-checklist-form{gap:5px;width:100%;min-width:0}.programme-checklist .pcsu-checklist-row{color:var(--text);align-items:center;gap:10px;margin:0;font-size:.84rem;display:flex}.programme-checklist .pcsu-checklist-row input[type=checkbox]{accent-color:#d4ae62;width:17px;height:17px}.programme-checklist button{margin-top:7px}.programme-card-actions{gap:10px;margin-top:9px;display:flex}.programme-not-enrolled{gap:12px;margin-top:10px;display:grid}.programme-start-enrolment{border:1px solid var(--gold);border-radius:10px;width:fit-content;padding:9px 12px;text-decoration:none;display:inline-block}.programme-enrolment-card:target,.programme-highlight{outline:2px solid var(--gold);outline-offset:3px}.pcsu-header-link{width:46px;height:52px;transition:transform .15s;display:inline-block}.pcsu-header-link:hover,.pcsu-header-link:focus-visible{transform:translateY(-3px)}.pcsu-header-link img{object-fit:contain;width:100%;height:100%}.enrolment-detail-dialog{border:1px solid var(--gold);background:var(--surface);width:min(650px,100vw - 24px);max-height:88vh;color:var(--text);border-radius:16px;padding:24px;overflow:auto;box-shadow:0 25px 85px #000b}.enrolment-detail-dialog::backdrop{background:#000000c7}.enrolment-dialog-head{justify-content:space-between;align-items:start;gap:14px;margin-bottom:16px;display:flex}.enrolment-dialog-head h3{margin:0}.enrolment-detail-list{grid-template-columns:minmax(125px,1fr) 2fr;gap:12px 20px;display:grid}.enrolment-detail-list dt{color:var(--muted);font-weight:650}.enrolment-detail-list dd{overflow-wrap:anywhere;margin:0}.enrolment-dialog-controls{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}@media (width<=1100px){.programme-enrolment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.programme-enrolment-grid{grid-template-columns:1fr}.enrolment-detail-list{grid-template-columns:1fr;gap:4px}.enrolment-detail-list dd{margin-bottom:12px}}.pcsu-header-link{background:0 0;border:2px solid #d4ae62bf;border-radius:50%;place-items:center;width:54px;height:54px;display:inline-grid;overflow:hidden;box-shadow:0 0 0 2px #00000042}.pcsu-header-link img{object-fit:contain;object-position:center;width:54px;height:61px;display:block;transform:translateY(-2px)}.pcsu-header-link.pcsu-tlp,.pcsu-header-link.pcsu-21d,.pcsu-header-link.pcsu-lab{background:0 0}.followup-update-button{vertical-align:middle;white-space:nowrap;margin-inline-start:16px!important}#crm-profile-presence{z-index:31;border:1px solid var(--line);color:var(--muted);background:#171c22;border-radius:10px;margin:0 0 12px;padding:8px 12px;position:sticky;top:78px}#crm-profile-presence.presence-alert{color:#fff;background:#530e17;border:2px solid #ff4343;animation:1.7s ease-in-out infinite crm-presence-pulse;box-shadow:0 0 0 2px #ff43434d,0 0 22px #ff2d2da6}#crm-profile-presence.presence-alert small{color:#fff;font-size:.88rem;font-weight:850}@keyframes crm-presence-pulse{50%{box-shadow:0 0 0 3px #ff43437a,0 0 32px #ff2d2df2}}@media (prefers-reduced-motion:reduce){#crm-profile-presence.presence-alert{animation:none}}.note-list .note-edit-control,.note-list .note-edit-form{width:100%;min-width:0;max-width:100%}.note-list .note-edit-form{gap:12px;margin-top:12px;padding:16px;display:grid}.note-list .note-edit-form label{gap:6px;width:100%;display:grid}.note-list .note-edit-form input,.note-list .note-edit-form textarea{width:100%;min-width:0;max-width:100%}.note-list .note-edit-form textarea{resize:vertical;min-height:230px;line-height:1.6}.note-list .note-edit-form button{justify-self:start}.client-profile-head{align-items:center;gap:12px;margin-bottom:10px;padding:7px 0 8px}.client-profile-head .client-title-row{align-items:center;gap:9px;margin-bottom:3px}.client-profile-head .client-title-row h1{margin:0;font-size:.94rem;font-weight:750;line-height:1.25}.client-profile-head .client-id-label{margin:0 0 3px;font-size:.73rem}.client-profile-head .client-state-row{gap:5px 8px;margin-top:4px}.client-profile-head .client-profile-contact{gap:3px;padding:7px 10px}.client-profile-head .pcsu-profile-badges{gap:5px;margin:0}.client-profile-head .pcsu-header-link{border-width:1.5px;width:33px;height:33px}.client-profile-head .pcsu-header-link img{width:33px;height:37px;transform:translateY(-1px)}@media (width<=980px){.client-profile-head{align-items:stretch}}.note-list .note-edit-control{width:100%;display:block}.note-list .note-edit-form{grid-template-columns:minmax(190px,26%) minmax(0,1fr);align-items:start;gap:12px 18px;width:100%;min-width:0;max-width:none;display:grid}.note-list .note-edit-form label{gap:8px;min-width:0;display:grid}.note-list .note-edit-form label:nth-of-type(2){grid-column:2}.note-list .note-edit-form textarea{resize:vertical;min-height:230px}.note-list .note-edit-form button{grid-column:2;justify-self:start}@media (width<=700px){.note-list .note-edit-form{grid-template-columns:minmax(0,1fr)}.note-list .note-edit-form label:nth-of-type(2),.note-list .note-edit-form button{grid-column:1}}.note-list .note-version-history{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.note-list .note-version-history>summary{cursor:pointer;color:var(--gold-soft);font-weight:750}.note-list .note-version-history ol{gap:8px;margin:12px 0 0;padding:0;list-style:none;display:grid}.note-list .note-version-history ol>li{background:var(--surface);border:1px solid var(--line);padding:12px 14px}.note-history-copy{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.note-history-copy span{color:var(--muted);margin-right:6px;font-weight:700}#crm-profile-presence{margin-bottom:10px}.client-profile-head{align-items:center;gap:10px;padding:9px 0 10px}.client-profile-head .client-title-row{align-items:center;gap:9px;min-height:36px;margin:0 0 4px;display:flex}.client-profile-head .client-title-row h1{align-items:center;min-height:33px;margin:0;line-height:1.25;display:inline-flex}.client-profile-head .pcsu-profile-badges{align-items:center;gap:5px;margin:0;display:inline-flex}.client-profile-head .client-state-row{margin-top:4px}.client-profile-head .pcsu-header-link{width:33px;height:33px}.client-profile-head .pcsu-header-link img{width:33px;height:37px}.profile-link-form{gap:10px;width:min(520px,100vw - 44px);max-width:100%;display:grid}.profile-link-form label{gap:5px;display:grid}.profile-link-form .profile-link-search{width:100%;min-width:0}.profile-link-results{gap:4px;max-height:260px;display:grid;overflow:auto}.profile-link-result{text-align:left;border:1px solid var(--line);background:var(--surface-2);width:100%;color:var(--text);cursor:pointer;border-radius:8px;padding:9px 12px}.profile-link-result:hover,.profile-link-result:focus-visible{border-color:var(--gold)}.profile-link-search-status{color:var(--muted);font-size:.8rem}.profile-link-form .profile-link-confirm{align-items:flex-start;gap:9px;line-height:1.4;display:flex}.profile-link-form .profile-link-confirm input{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0}.profile-link-form>button{justify-self:start}.note-meta-controls{flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0 9px;display:flex}.note-meta-controls small{color:var(--muted)}.note-meta-controls .note-version-history{border:0;margin:0;padding:0}.note-meta-controls .note-version-history>summary{border:1px solid var(--line);cursor:pointer;width:26px;height:26px;color:var(--gold-soft);background:var(--surface);border-radius:6px;justify-content:center;align-items:center;font-size:.84rem;list-style:none;display:inline-flex}.note-meta-controls .note-version-history[open]>summary{transform:rotate(90deg)}.note-meta-controls .note-version-history>summary::-webkit-details-marker{display:none}.note-history-popover{border:1px solid var(--line);background:var(--surface);border-radius:10px;width:min(900px,100vw - 72px);margin-top:8px;padding:12px 14px}.note-history-popover h4{margin:0}.note-meta-controls .note-edit-control{width:auto;min-width:0;max-width:none;margin:0}.note-meta-controls .note-edit-control>summary{border:1px solid var(--line);cursor:pointer;border-radius:6px;padding:3px 10px;list-style:none}.note-meta-controls .note-edit-control[open]{flex-basis:100%;order:5;width:100%}.note-meta-controls .note-edit-control[open] .note-edit-form{width:100%;min-width:0;max-width:none}.note-detail-body{white-space:pre-wrap;overflow-wrap:anywhere}@media (width<=700px){.profile-link-form,.note-meta-controls .note-edit-control[open]{width:100%}}.client-profile-head .client-state-row{align-items:center;gap:8px 12px;font-size:.84rem;line-height:1.35;display:flex}.client-profile-head .client-state-row>span,.client-profile-head .client-state-row .linked-profile-label,.client-profile-head .client-state-row .linked-profile-label strong{font-size:inherit}.client-profile-head .client-state-row .compact-control{margin-left:4px}.client-profile-head>.client-profile-main>.compact-control,.client-profile-head>div:first-child>.compact-control{margin-top:9px;margin-bottom:4px;display:inline-block}.client-profile-head .profile-link-flash{color:var(--ok);box-shadow:none;background:#6fcf9714;border:1px solid #6fcf9766;border-radius:5px;margin:9px 0 0 10px;padding:2px 7px;font-size:.72rem;font-weight:650;display:inline-block}#crm-profile-presence.presence-alert{min-height:34px;padding:7px 11px;line-height:1.3}#crm-profile-presence.presence-alert small{font-size:.73rem;font-weight:800;line-height:1.3}.programme-enrolment-card{min-height:0;gap:9px!important;padding:14px!important}.programme-card-header{align-items:center;gap:10px!important;margin-bottom:4px!important}.programme-card-header .programme-medallion{width:62px!important;min-width:62px!important;height:69px!important}.programme-card-header .programme-medallion img{object-fit:contain;width:62px!important;height:69px!important}.programme-card-header h3{margin:0 0 2px!important;font-size:1.04rem!important}.programme-card-status,.programme-card-meta{font-size:.82rem;margin:2px 0 6px!important}.programme-checklist{margin:0!important;padding:9px 0!important}.programme-checklist h4{margin:0 0 6px;font-size:.83rem}.pcsu-checklist-form{gap:5px!important}.pcsu-checklist-row{font-size:.85rem;gap:9px!important;min-height:28px!important}.pcsu-checklist-form>button{margin-top:6px!important}.programme-card-actions{margin-top:3px}.admin-enrolment-correction{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}.admin-enrolment-correction form{border-bottom:1px solid var(--line);gap:9px;padding:10px 0;display:grid}.admin-enrolment-correction form label{gap:4px;display:grid}.admin-enrolment-correction form button{justify-self:start}.programme-card-heading{flex:1;min-width:0}.programme-card-heading h3{flex-wrap:wrap;align-items:baseline;gap:2px 9px;display:flex}.programme-enrolled-date{color:var(--muted);white-space:nowrap;font-size:.69rem;font-weight:500}.programme-pcsu-date{color:var(--muted);font-size:.7rem;font-weight:500}.programme-card-status{line-height:1.35}.programme-checklist .pcsu-checklist-form>button,.programme-enrolment-card .programme-dialog-open{max-width:100%;width:fit-content!important;min-width:0!important;height:auto!important;min-height:32px!important;box-shadow:none!important;border-radius:8px!important;padding:7px 11px!important;font-size:.77rem!important;font-weight:650!important;line-height:1.2!important}.programme-card-actions{align-items:flex-start}.enrolment-detail-dialog .admin-enrolment-correction{border:1px solid var(--gold);background:#d4ae620f;border-radius:10px;margin:18px 0;padding:14px}.enrolment-detail-dialog .admin-enrolment-correction>summary{cursor:pointer;color:var(--gold-soft);font-size:.94rem;font-weight:750}.enrolment-detail-dialog .enrolment-edit-guidance{color:var(--text);margin:12px 0;font-size:.82rem;line-height:1.55}.enrolment-detail-dialog .enrolment-edit-unavailable{color:var(--muted);margin:10px 0;font-size:.78rem}.enrolment-detail-dialog .enrolment-edit-footnote{color:var(--muted);margin:12px 0;font-size:.76rem;line-height:1.5}.enrolment-detail-dialog .admin-enrolment-correction form button{width:fit-content;max-width:100%;padding:9px 13px;font-size:.8rem}.programme-enrolment-card{flex-direction:column!important;height:100%!important;display:flex!important}.programme-card-actions{padding-top:12px;margin-top:auto!important}.programme-checklist .pcsu-checklist-form>button,.programme-enrolment-card .programme-dialog-open{border-radius:7px!important;min-height:30px!important;padding:5px 9px!important;font-size:.72rem!important;line-height:1.15!important}.enrolment-detail-dialog{width:min(780px,100vw - 32px)!important;max-height:min(85dvh,850px)!important;padding:16px 18px!important;overflow:auto!important}.enrolment-dialog-head{z-index:2;background:var(--surface);padding:8px 0 12px;position:sticky;top:-16px}.enrolment-detail-list{line-height:1.35;gap:5px 12px!important}.enrolment-detail-list dt,.enrolment-detail-list dd{font-size:.83rem!important;line-height:1.35!important}.enrolment-detail-dialog .admin-enrolment-correction{margin:12px 0!important;padding:10px 12px!important}.enrolment-editor-help{margin:8px 0;font-size:.8rem}.enrolment-editor-help>summary{cursor:pointer;color:var(--gold-soft);font-weight:700;display:inline-block}.enrolment-editor-help p{margin:8px 0;line-height:1.5}.enrolment-edit-picker{gap:6px;margin:10px 0;font-size:.85rem;display:grid}.enrolment-edit-picker select{width:100%}.enrolment-detail-dialog [data-enrolment-edit-option][hidden]{display:none!important}.enrolment-detail-dialog [data-enrolment-edit-option]:not([hidden]){margin:12px 0}.enrolment-detail-dialog .enrolment-edit-footnote{margin:8px 0;font-size:.7rem;line-height:1.35}.programme-enrolment-card .programme-card-actions{margin-top:3px!important;padding-top:0!important}.programme-enrolment-card .programme-checklist{margin-bottom:0!important;padding-bottom:0!important}.enrolment-dialog-head{align-items:center;gap:10px;display:flex}.enrolment-dialog-head h3{flex:1;min-width:0}.enrolment-inline-edit-toggle{min-height:32px!important;padding:7px 13px!important;font-size:.83rem!important}.enrolment-detail-dialog [data-enrolment-read-view][hidden],.enrolment-detail-dialog .enrolment-inline-edit-panel[hidden]{display:none!important}.enrolment-inline-edit-panel{background:0 0!important;border:0!important;margin:10px 0!important;padding:6px 0!important}.enrolment-inline-edit-panel h4{margin:0 0 10px;font-size:.94rem}.enrolment-inline-edit-panel [data-enrolment-edit-option]{border-bottom:1px solid var(--line);margin:7px 0 14px;padding:0 0 14px}.enrolment-inline-edit-panel form{gap:8px;max-width:100%;display:grid}.enrolment-inline-edit-panel form label{gap:5px;display:grid}.enrolment-inline-edit-panel .enrolment-editor-help{margin:6px 0}.enrolment-inline-edit-panel [data-enrolment-edit-option][hidden]{display:none!important}.programme-enrolment-grid{align-items:stretch!important}.programme-enrolment-card{flex-direction:column!important;display:flex!important}.programme-enrolment-card .programme-checklist{flex-direction:column;flex:1;display:flex;min-height:225px!important}.programme-enrolment-card .pcsu-checklist-form{flex-direction:column;flex:1;display:flex}.programme-enrolment-card .pcsu-checklist-form>button{align-self:flex-start;margin-top:auto!important}.programme-enrolment-card .programme-card-actions{min-height:30px!important;margin-top:7px!important;padding-top:0!important}.programme-enrolment-card .pcsu-checklist-form>button,.programme-enrolment-card .programme-dialog-open{border-radius:7px!important;min-height:28px!important;padding:5px 9px!important;font-size:.69rem!important;line-height:1.05!important}.enrolment-edit-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.enrolment-edit-actions button{width:auto!important;min-width:0!important;padding:8px 12px!important;font-size:.84rem!important}.enrolment-detail-dialog .enrolment-last-edit{color:var(--muted);border-top:1px solid var(--line);margin-top:12px;padding-top:9px;font-size:.74rem}.enrolment-detail-dialog .enrolment-payment-evidence{border:1px solid var(--line);border-radius:8px;margin:12px 0;padding:11px}
