.student-locked{opacity:.32!important;cursor:not-allowed!important;filter:grayscale(1)}
.student-locked:hover{background:transparent!important}
body[data-crm-access-role=student] .shell>:not(.topbar):not(#academyWorkspace):not(#myProfileWorkspace){display:none!important}
html.crm-premium-trial body .student-profile-hero{align-items:center;gap:28px}
html.crm-premium-trial body .student-million{display:flex;flex:1;min-width:240px;flex-direction:column;gap:12px;max-width:470px;padding:22px;border:1px solid var(--premium-line);border-radius:16px;background:var(--premium-soft)}
html.crm-premium-trial body .student-million>strong{--crm-type-body:clamp(28px,calc(3vw / var(--crm-ui-scale, 1)),46px);font-size:clamp(28px,calc(3vw / var(--crm-ui-scale, 1)),46px);white-space:nowrap}
html.crm-premium-trial body .student-million small{--crm-type-body:var(--fs-md,13.5px);font-size:var(--fs-md,13.5px);color:var(--premium-muted)}
html.crm-premium-trial body .student-million progress{width:100%;height:9px;accent-color:var(--premium-accent)}
html.crm-premium-trial body .student-demo-badge{display:inline-flex;padding:6px 10px;border-radius:7px;background:var(--crm-review-surface);border:1px solid var(--crm-review-line);font-size:var(--fs-xs,11.5px);letter-spacing:.04em}
html.crm-premium-trial body .student-demo-note{margin:16px 0 22px;color:var(--premium-muted);line-height:1.6}
html.crm-premium-trial body .student-profile-totals{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:22px}
html.crm-premium-trial body .student-profile-fold{margin:18px 0}
html.crm-premium-trial body .student-profile-fold>summary{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
html.crm-premium-trial body .student-profile-fold>summary>span{margin-left:auto;color:var(--premium-muted)}
html.crm-premium-trial body .student-profile-fold:not([open])>.profile-section-content{display:none!important}
html.crm-premium-trial body .student-profile-footer{padding:20px;border:1px solid var(--premium-line);border-radius:14px;background:var(--premium-soft);margin-top:22px}
@media(max-width:800px){html.crm-premium-trial body .student-profile-totals{grid-template-columns:repeat(2,minmax(0,1fr))}html.crm-premium-trial body .student-million{max-width:none;width:100%;min-width:0}}

/* Students keep only identity selection and theme preferences in the top bar. */
html body[data-crm-access-role=student] .topbar> :not(.top-actions){display:none!important}
html body[data-crm-access-role=student] .top-actions{margin-left:auto}
html body[data-crm-access-role=student] .top-actions> :not(#crmViewSwitch):not(.phone-theme-switch){display:none!important}

/* 07.10 18:07 (Dawid): uczeń na komputerze — „Moje wyniki” w górnym pasku (na telefonie jest w menu pod logo) */
#academyStudentResults{display:none}
@media (min-width:1025px){html:root:not(#s1):not(#s2):not(#s3):not(#s4):not(#s5):not(#s6):not(#s7):not(#s8) body[data-crm-access-role=student] .top-actions>#academyStudentResults{display:inline-flex!important}}

/* 07.10 18:07 (Dawid): „Wiadomość do biura” ucznia — sama rozmowa z biurem: bez listy klientów, kanałów (SMS / E-mail / Klient), telefonu i panelu zadań */
html:root:not(#s1):not(#s2):not(#s3):not(#s4):not(#s5):not(#s6):not(#s7):not(#s8):not(#s9):not(#s10):not(#s11):not(#s12) body[data-crm-access-role=student] #bpxsMessenger :is(#crmMobileMessageViews,.tux-to,.mx-list-pane,#mxContext,.mx-col-resizer,.mx-room-nav,#mxChatContacts,#mxPin,#mxComposerPhone,.mx-send-controls>.mx-chip,.mx-send-controls>:not(#mxSend):not(.mx-send)){display:none!important}
html:root:not(#s1):not(#s2):not(#s3):not(#s4):not(#s5):not(#s6):not(#s7):not(#s8) body[data-crm-access-role=student] #bpxsMessenger .mx-layout{grid-template-columns:minmax(0,1fr)!important}
html:root body[data-crm-access-role=student] #bpxsMessenger #mxComposerPhone{visibility:hidden!important;position:absolute!important;pointer-events:none!important}
