/* Calm, readable classroom surfaces. Scoped so every existing study mode keeps working. */
body.classroom-page { --cp-ink: #202a43; --cp-muted: #74798b; --cp-border: #e9e7e2; --cp-paper: #fff; --cp-bg: #f8f8f4; background: var(--cp-bg); color: var(--cp-ink); padding: 0; font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
body.classroom-page .topbar, body.classroom-page #mobile-tab-bar, body.classroom-page #studio-floating-buddy { display: none !important; }
.classroom-shell { display: flex; width: 100%; min-height: 100vh; background: var(--cp-bg); color: var(--cp-ink); }
.classroom-shell *, .cp-dialog-backdrop * { box-sizing: border-box; }
.classroom-shell h1, .classroom-shell h2, .classroom-shell h3, .cp-dialog h2 { color: var(--cp-ink, #202a43); font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.classroom-shell a { color: inherit; text-decoration: none; }
.classroom-shell button, .cp-dialog button, .classroom-shell select, .cp-dialog input, .cp-dialog textarea, .cp-dialog select { font: inherit; }
.classroom-shell button, .cp-dialog button { cursor: pointer; }
.classroom-shell button:disabled, .cp-dialog button:disabled { cursor: not-allowed; }
.classroom-shell :focus-visible, .cp-dialog :focus-visible { outline: 3px solid #847dc9; outline-offset: 4px; }
.cp-icon { flex-shrink: 0; vertical-align: middle; }
.cp-flip { transform: rotate(180deg); }
.cp-skip { position: fixed; z-index: 10000; background: #fff; padding: 12px 20px; top: -80px; left: 250px; }
.cp-skip:focus { top: 12px; }
.cp-sidebar { position: fixed; inset: 0 auto 0 0; width: 236px; background: #fdfcf8; border-right: 1px solid var(--cp-border); padding: 34px 22px 22px; display: flex; flex-direction: column; z-index: 40; }
.cp-brand { display: flex; align-items: center; gap: 11px; font-size: 25px; letter-spacing: -.9px; font-weight: 800; }
.cp-brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 43px; background: #222d49; color: white; border-radius: 11px 11px 11px 3px; font-size: 30px; font-family: Georgia, serif; font-style: italic; line-height: 1; letter-spacing: -3px; padding-right: 4px; }
.cp-brand-mark > span { color: #d9d4ff; font-family: Arial, sans-serif; font-size: 25px; margin-top: 8px; }
.cp-brand-sub { display: block; color: #858896; font-size: 9px; font-weight: 400; letter-spacing: 1.2px; margin-top: 1px; }
.cp-workspace { margin: 42px 0 35px; display: flex; align-items: center; gap: 10px; }
.cp-workspace-icon { color: #8883b0; width: 35px; height: 36px; border: 1px solid #e3dff2; border-radius: 9px; display: grid; place-items: center; background: #f3f0fa; flex-shrink: 0; }
.cp-workspace > div { min-width: 0; }
.cp-workspace strong { display: block; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.cp-workspace span:not(.cp-workspace-icon) { display: block; color: var(--cp-muted); font-size: 10px; margin-top: 2px; }
.cp-nav-label { color: #9999a0; font-size: 9px; font-weight: 700; letter-spacing: 1.45px; margin: 0 12px 12px; }
.cp-sidebar nav { display: flex; flex-direction: column; gap: 6px; }
.cp-nav-link { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 11px 13px; color: #717688 !important; font-size: 13px; border-radius: 8px; transition: background .15s; }
.cp-nav-link:hover { background: #f0efe9; }
.cp-nav-link.is-active { color: #433a72 !important; background: #eeebf8; font-weight: 600; }
.cp-nav-link .cp-icon { width: 18px; height: 18px; }
.cp-nav-dot { width: 5px; height: 5px; border-radius: 100%; background: #8c80c4; margin-left: auto; }
.cp-sidebar-bottom { margin-top: auto; padding-top: 50px; }
.cp-sidebar-note { border-radius: 10px; background: #eeeee6; margin-top: 20px; padding: 20px 16px 16px; position: relative; }
.cp-sidebar-note p { font-size: 13px; line-height: 1.6; margin: 6px 0 0; color: #71766b; }
.cp-sidebar-note strong { color: #454f48; font-weight: 500; }
.cp-note-star { position: absolute; right: 14px; top: 8px; font-size: 31px; line-height: 1; color: #8d9d83; }
.cp-school-label { display: block; margin-top: 23px; color: #9b9ba0; font-size: 9px; text-align: center; }
.cp-main { flex: 1; min-width: 0; margin-left: 236px; display: flex; flex-direction: column; }
.cp-topbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--cp-border); padding: 14px 44px; gap: 20px; }
.cp-breadcrumb { color: #9294a0; font-size: 12px; display: flex; align-items: center; gap: 13px; }
.cp-breadcrumb span { color: #c5c4ca; }
.cp-breadcrumb strong { color: #555d72; font-weight: 400; }
.cp-account { display: flex; align-items: center; gap: 11px; }
.cp-account-name { font-size: 12px; font-weight: 600; text-align: right; max-width: 170px; overflow-wrap: anywhere; }
.cp-account-name small { display: block; color: #8c8e9b; font-size: 10px; font-weight: 400; margin-top: 3px; }
.cp-avatar { height: 37px; width: 37px; border-radius: 50%; background: #e9e4da; color: #77644e; display: grid; place-items: center; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.cp-icon-button { border: 1px solid transparent; background: transparent; padding: 8px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: #74798b; min-width: 36px; min-height: 36px; transition: background .15s; }
.cp-icon-button:hover { background: #efede6; }
.cp-icon-button:disabled { opacity: .35; }
.cp-logout { margin-left: 4px; }
.cp-logout .cp-icon { width: 16px; height: 16px; }
.cp-mobile-menu { display: none; }
.cp-content { padding: 38px 44px 48px; width: 100%; max-width: 1500px; margin: 0 auto; flex: 1; }
.cp-page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
.cp-eyebrow { margin: 0 0 11px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #93919d; font-weight: 500; }
.cp-page-heading h1 { margin: 0 0 11px; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(27px, 2.3vw, 37px); line-height: 1.22; letter-spacing: -.9px; }
.cp-page-description { color: var(--cp-muted); font-size: 12px; line-height: 1.7; margin: 0; max-width: 600px; }
.cp-heading-actions { flex-shrink: 0; }
.cp-button { border: 1px solid #242e4b; background: #242e4b; color: white !important; min-height: 42px; padding: 11px 17px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 11px !important; line-height: 1.4; font-weight: 500; text-decoration: none !important; transition: background .15s, transform .15s; }
.cp-button:hover:not(:disabled) { background: #3b4766; transform: translateY(-1px); }
.cp-button .cp-icon { width: 16px; height: 16px; }
.cp-button:disabled { opacity: .5; }
.cp-button-light { background: #f6f3ee; border-color: #f6f3ee; color: #26304e !important; }
.cp-button-light:hover:not(:disabled) { background: white; }
.cp-button-outline { background: transparent; color: #424b63 !important; border-color: #dcddd9; }
.cp-button-outline:hover:not(:disabled) { background: #f0efe9; }
.cp-button-small { min-height: 35px; padding: 8px 12px; font-size: 10px !important; }
.cp-button-danger { background: #a94444; border-color: #a94444; }
.cp-button-danger:hover:not(:disabled) { background: #903434; }
.cp-text-link, .cp-text-button { border: 0; background: none; padding: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500; color: #6d618f !important; line-height: 1.6; }
.cp-text-link .cp-icon { width: 14px; height: 14px; }
.cp-text-link:hover, .cp-text-button:hover { text-decoration: underline; }
.cp-danger-text { color: #a74f4f !important; }
.cp-dashboard-grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(230px, 1fr); gap: 24px; }
.cp-next-lesson { overflow: hidden; border-radius: 12px; background: #27324c; color: white; position: relative; min-height: 295px; display: flex; }
.cp-next-content { padding: 30px; position: relative; z-index: 2; width: 65%; }
.cp-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 8px; letter-spacing: 1.6px; color: #dadbea; border: 1px solid #566079; border-radius: 5px; padding: 6px 8px; }
.cp-live-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #9fbfb0; flex-shrink: 0; }
.cp-next-lesson h2 { color: #faf9f6; font-family: Georgia, serif; font-size: clamp(26px, 2.3vw, 35px); font-weight: 400; line-height: 1.17; letter-spacing: -.5px; margin: 20px 0 12px; overflow-wrap: anywhere; }
.cp-next-lesson p { color: #bec5d6; font-size: 11px; line-height: 1.8; margin: 0 0 18px; max-width: 310px; }
.cp-next-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 11px; color: #e0e4ed; margin-bottom: 6px; }
.cp-next-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cp-next-meta .cp-icon { width: 14px; height: 14px; color: #a1adc4; }
.cp-next-zone { display: block; font-size: 9px; color: #a8b4ca; margin-bottom: 20px; }
.cp-next-lesson .cp-button { margin-top: 1px; }
.cp-hero-art { position: absolute; right: 0; top: 0; width: 41%; height: 100%; pointer-events: none; }
.cp-art-orbit { position: absolute; border: 1px solid #47536e; border-radius: 50%; width: 270px; height: 270px; right: -78px; top: 52px; }
.cp-art-orbit:after { content: ''; display: block; position: absolute; width: 200px; height: 200px; border: 1px solid #414d67; border-radius: 50%; top: 34px; left: 34px; }
.cp-art-card { position: absolute; border-radius: 5px; width: 132px; height: 164px; padding: 18px; }
.cp-art-card-back { top: 38px; right: 34px; background: #aba7c6; transform: rotate(12deg); color: #393956; }
.cp-art-card-back > span { font-size: 21px; font-family: Georgia, serif; font-style: italic; }
.cp-art-card-back i { display: block; width: 80%; height: 1px; background: #8986a5; margin-top: 8px; }
.cp-art-card-front { top: 99px; right: 62px; background: #f0ecdf; transform: rotate(-9deg); color: #28374b; box-shadow: 0 12px 15px #111b3133; }
.cp-art-small { display: block; font-size: 5px; letter-spacing: 1px; margin: 0 0 15px; color: #777267; }
.cp-art-card strong { font-size: 25px; font-family: Georgia, serif; font-weight: 400; line-height: 1.1; }
.cp-art-line { display: block; height: 1px; width: 100%; background: #ccc9bc; margin-top: 17px; }
.cp-art-word { display: block; font-size: 8px; font-style: italic; color: #817a6e; margin-top: 8px; }
.cp-art-star { color: #c6c0e6; position: absolute; top: 190px; right: 14px; font-size: 63px; line-height: 1; transform: rotate(8deg); }
.cp-art-dot { position: absolute; top: 38px; right: 193px; height: 8px; width: 8px; border-radius: 50%; background: #aaada0; }
.cp-stats-card { border: 1px solid var(--cp-border); background: var(--cp-paper); border-radius: 12px; padding: 25px; }
.cp-stats-card > .cp-eyebrow { font-size: 9px; margin-bottom: 18px; }
.cp-stat { display: flex; gap: 15px; align-items: center; padding: 15px 0; border-bottom: 1px solid #f0efeb; }
.cp-stat:last-child { border: 0; padding-bottom: 0; }
.cp-stat-icon { height: 40px; width: 40px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.cp-stat-icon.lilac { background: #f0edf8; color: #8e81b0; }
.cp-stat-icon.mint { background: #edf4ed; color: #8ca58c; }
.cp-stat-icon.peach { background: #f9efe6; color: #b69978; }
.cp-stat strong { display: block; font-size: 25px; line-height: 1.15; font-weight: 500; letter-spacing: -.7px; }
.cp-stat div > span { display: block; color: var(--cp-muted); font-size: 10px; margin-top: 5px; }
.cp-lower-grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(230px, 1fr); gap: 24px; margin-top: 26px; }
.cp-panel { background: var(--cp-paper); border: 1px solid var(--cp-border); border-radius: 12px; padding: 26px; min-width: 0; }
.cp-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.cp-section-heading h2, .cp-schedule-toolbar h2 { font-size: 16px; font-weight: 600; letter-spacing: -.35px; margin: 0; }
.cp-section-heading h3 { font-size: 14px; font-weight: 500; margin: 0; }
.cp-section-heading p { font-size: 10px; color: #8d8d98; margin: 5px 0 0; line-height: 1.65; }
.cp-section-heading > .cp-text-link { white-space: nowrap; }
.cp-timezone-note { display: flex; align-items: center; gap: 5px; color: #9999a2; font-size: 9px; margin: -5px 0 8px; }
.cp-timezone-note .cp-icon { height: 12px; width: 12px; }
.cp-lesson-row { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-top: 1px solid #f0eeeb; }
.cp-date-tile { min-width: 42px; height: 50px; border-radius: 7px; background: #f6f5f1; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.cp-date-tile span { text-transform: uppercase; font-size: 8px; letter-spacing: .6px; color: #8d8a8b; }
.cp-date-tile strong { font-size: 18px; font-weight: 500; line-height: 1.3; }
.cp-lesson-detail { flex: 1; min-width: 0; }
.cp-lesson-detail a { font-size: 12px; font-weight: 600; display: block; overflow-wrap: anywhere; }
.cp-lesson-detail a:hover { color: #74628f; text-decoration: underline; }
.cp-lesson-detail p { font-size: 9px; color: #858896; margin: 6px 0 0; }
.cp-lesson-detail p span { margin: 0 5px; }
.cp-status { display: inline-flex; align-items: center; font-size: 8px; font-weight: 500; line-height: 1.5; padding: 5px 8px; border-radius: 5px; flex-shrink: 0; white-space: nowrap; }
.cp-status-green { background: #edf4ee; color: #6b8b72; }
.cp-status-muted { background: #f3f2f0; color: #96919a; }
.cp-lesson-actions { display: flex; align-items: center; gap: 6px; }
.cp-lesson-row.is-cancelled { opacity: .7; }
.cp-practice-card { position: relative; background: #eeeee5; border: 1px solid #e5e5da; border-radius: 12px; padding: 25px; overflow: hidden; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.cp-practice-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(32, 42, 67, 0.07); border-color: #d0d4c6; }
.cp-hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cp-button-hero-alt { border-color: rgba(255, 255, 255, 0.35); color: #f6f3ee !important; background: rgba(255, 255, 255, 0.08); }
.cp-button-hero-alt:hover:not(:disabled) { background: rgba(255, 255, 255, 0.18) !important; }
.cp-dash-week-strip { padding: 10px 0 18px; }
.cp-day-badges { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; align-items: center; }
.cp-day-pill { font-style: normal; font-size: 8.5px; font-weight: 600; padding: 2px 6px; border-radius: 999px; line-height: 1.3; white-space: nowrap; }
.cp-day-pill.booked { background: #e8e2f6; color: #5b4982; }
.cp-day-pill.free { background: #e6f2e8; color: #4d7555; }
.cp-dash-day-detail { border-top: 1px solid #eeece7; padding-top: 18px; }
.cp-dash-day-head { margin-bottom: 14px; }
.cp-dash-slot-grid { margin-top: 12px; }
.cp-students-panel { margin-top: 24px; }
.cp-small-tag { font-size: 8px; letter-spacing: 1px; color: #919187; font-weight: 500; }
.cp-practice-art { position: absolute; top: 31px; right: 25px; font-size: 53px; font-family: Georgia, serif; font-style: italic; color: #a9b2a0; transform: rotate(-9deg); }
.cp-practice-art span { font-family: sans-serif; font-style: normal; font-size: 20px; display: inline-block; transform: translate(3px,-33px); color: #9eaa92; }
.cp-practice-card h2 { font-size: 25px; font-family: Georgia, serif; font-weight: 400; line-height: 1.16; margin: 57px 0 11px; }
.cp-practice-card p { font-size: 10px; color: #7c8175; line-height: 1.85; max-width: 240px; margin: 0 0 21px; }
.cp-practice-card .cp-button { font-size: 10px !important; padding: 9px 13px; min-height: 36px; border-color: #cdd3c5; }
.cp-empty { padding: 28px 20px 34px; text-align: center; }
.cp-empty-icon { display: inline-grid; place-items: center; height: 45px; width: 45px; border-radius: 12px; background: #f4f2f8; color: #9b91b6; margin-bottom: 14px; }
.cp-empty h3 { font-size: 15px; font-weight: 500; margin: 0 0 8px; }
.cp-empty p { font-size: 11px; color: #9595a0; line-height: 1.85; max-width: 340px; margin: 0 auto 16px; }
.cp-connection-banner { display: flex; align-items: center; gap: 14px; padding: 19px 23px; border: 1px solid var(--cp-border); border-radius: 9px; margin-top: 25px; background: #faf9f5; }
.cp-connection-symbol { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #eeece5; color: #96917e; }
.cp-connection-banner div { flex: 1; }
.cp-connection-banner strong { display: block; font-size: 11px; font-weight: 500; }
.cp-connection-banner div > span { display: block; font-size: 10px; color: #91909c; margin-top: 4px; }
.cp-connection-banner > .cp-icon { color: #91909c; width: 15px; height: 15px; }
.cp-footer { margin: auto 44px 0; padding: 20px 0 24px; border-top: 1px solid var(--cp-border); display: flex; justify-content: space-between; gap: 20px; font-size: 9px; color: #a1a0a7; }
.cp-loading { min-height: 360px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #7c7990; font-size: 13px; }
.cp-spinner { width: 20px; height: 20px; border: 2px solid #e3deef; border-top-color: #8c7eb2; border-radius: 50%; animation: cp-spin .8s linear infinite; }
@keyframes cp-spin { to { transform: rotate(360deg); } }
.cp-error-page { max-width: 530px; margin: 70px auto; text-align: center; }
.cp-error-page h1 { font-family: Georgia, serif; font-weight: 400; }
.cp-error-page p { color: #8a8897; line-height: 1.8; margin-bottom: 25px; }
.cp-error-page .cp-text-link { display: block; margin-top: 18px; }
/* Availability calendar */
.cp-schedule-panel { padding: 0; overflow: hidden; }
.cp-schedule-toolbar { padding: 25px 28px 23px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.cp-subtle { color: #9794a0; font-size: 10px; }
.cp-schedule-toolbar .cp-subtle { display: block; margin-top: 4px; }
.cp-week-controls { display: flex; align-items: center; gap: 5px; }
.cp-week-controls .cp-button { margin-right: 10px; }
.cp-week-strip { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; padding: 0 28px 24px; }
.cp-day { border: 1px solid #eceae6; background: #fdfcfa; min-height: 118px; border-radius: 9px; color: #818193; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 5px; }
.cp-day > span { font-size: 10px; }
.cp-day > strong { color: #333d55; font-size: 24px; font-weight: 500; margin: 6px 0 3px; }
.cp-day small { font-size: 9px; }
.cp-day i { display: block; height: 4px; width: 4px; margin-top: 8px; border-radius: 50%; }
.cp-day i.has-slots { background: #9faf94; }
.cp-day.is-selected { background: #eeebf7; border-color: #c9bfdf; color: #8e7fa9; }
.cp-day.is-selected strong { color: #605078; }
.cp-day:hover { border-color: #b3a5cd; }
.cp-schedule-zone { border-top: 1px solid #eeece7; border-bottom: 1px solid #eeece7; background: #fdfcf9; padding: 14px 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cp-zone-control { display: flex; align-items: center; gap: 7px; color: #8c8599; font-size: 10px; }
.cp-zone-control .cp-icon { width: 14px; height: 14px; }
.cp-zone-control select { appearance: auto; max-width: 220px; border: 0; background: transparent; color: #5f5873; font-size: 10px; cursor: pointer; padding: 3px; }
.cp-slots-section { padding: 26px 28px 28px; }
.cp-slot-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(175px,1fr)); gap: 12px; }
.cp-slot { border: 1px solid #e2dedf; background: #fff; border-radius: 8px; color: #41455b; padding: 17px; position: relative; text-align: left; }
.cp-slot > span { display: block; font-size: 13px; font-weight: 500; padding-right: 15px; }
.cp-slot small { display: block; color: #9a92a3; font-size: 10px; margin-top: 7px; }
.cp-slot > .cp-icon { position: absolute; right: 12px; top: 19px; width: 14px; height: 14px; color: #a196b4; }
.cp-slot:hover:not(:disabled) { background: #f7f4fc; border-color: #b2a2cb; }
.cp-slot:disabled { cursor: default !important; background: #fcfbfd; }
.cp-booked-day { margin-top: 30px; }
.cp-booked-day h3 { font-size: 13px; font-weight: 500; }
.cp-availability-panel { margin-top: 25px; }
.cp-availability-row { display: flex; align-items: center; gap: 13px; padding: 18px 0; border-top: 1px solid #eeece7; }
.cp-availability-row > div { flex: 1; }
.cp-availability-row strong { font-size: 12px; font-weight: 500; }
.cp-availability-row p { font-size: 10px; color: #93919c; margin: 5px 0 0; }
.cp-muted-box { font-size: 11px; color: #95929e; line-height: 1.85; margin: 14px 0 22px; }
.cp-list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; flex-wrap: wrap; }
.cp-tabs { display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid #efede8; border-radius: 8px; background: #f9f8f5; }
.cp-tabs button { font-size: 11px; color: #948c9d; border: none; background: transparent; border-radius: 5px; padding: 9px 15px; }
.cp-tabs button.is-active { background: #fff; color: #5b4c70; box-shadow: 0 1px 4px #35304a12; }
/* Lesson room */
.cp-back-link { display: inline-flex; align-items: center; gap: 7px; color: #8d849c !important; font-size: 10px; margin: 0 0 24px; }
.cp-back-link .cp-icon { width: 14px; height: 14px; }
.cp-board-panel { border: 1px solid var(--cp-border); border-radius: 12px; overflow: hidden; background: #fff; }
.cp-board-toolbar { padding: 18px 23px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--cp-border); }
.cp-board-toolbar > div { display: flex; align-items: center; gap: 12px; }
.cp-board-toolbar h2 { margin: 0; font-size: 13px; font-weight: 500; }
.cp-miro-mark { display: inline-grid; place-items: center; background: #ffd75a; color: #242842; width: 28px; height: 28px; border-radius: 6px; font-size: 22px; font-weight: 800; font-family: Georgia, serif; font-style: italic; }
.cp-board-frame { height: 570px; min-height: 400px; background: #f6f6f2; }
.cp-board-frame iframe { width: 100%; height: 100%; border: none; display: block; }
.cp-board-feedback { display: flex; align-items: center; gap: 12px; padding: 13px 22px; background: #f7f5fa; border-bottom: 1px solid var(--cp-border); color: #615a70; }
.cp-board-feedback p { flex: 1; min-width: 0; margin: 0; font-size: 12px; line-height: 1.65; }
.cp-board-feedback .cp-spinner { flex-shrink: 0; width: 17px; height: 17px; }
.cp-board-feedback .cp-spinner[hidden] { display: none; }
.cp-board-feedback .cp-text-button { flex-shrink: 0; min-height: 32px; }
.cp-board-feedback .cp-text-button:disabled { opacity: .5; text-decoration: none; }
.cp-board-feedback[data-state="slow"], .cp-board-feedback[data-state="error"] { color: #775a2e; background: #fcf3e7; }
.cp-board-placeholder { min-height: 370px; padding: 33px; text-align: center; background-color: #fbfaf7; background-image: radial-gradient(#dad7d7 .7px, transparent .7px); background-size: 18px 18px; }
.cp-board-illustration { position: relative; height: 112px; width: 200px; margin: 0 auto 23px; }
.cp-board-sticky { display: grid; place-items: center; width: 89px; height: 84px; background: #e9e3f5; color: #86749b; transform: rotate(-7deg); font-family: Georgia, serif; font-size: 25px; font-style: italic; position: absolute; top: 8px; left: 18px; box-shadow: 0 3px 4px #4034460c; }
.cp-board-scribble { font-family: Georgia, serif; font-style: italic; font-size: 15px; color: #99a28a; transform: rotate(5deg); position: absolute; bottom: 17px; right: -10px; }
.cp-board-illustration i { position: absolute; top: 9px; right: 30px; border: 1px solid #d1c6b9; width: 40px; height: 40px; border-radius: 50%; }
.cp-board-placeholder h3 { font-family: Georgia, serif; font-size: 25px; font-weight: 400; margin: 0 0 12px; }
.cp-board-placeholder p { color: #95909f; font-size: 11px; line-height: 1.8; max-width: 380px; margin: 0 auto 21px; }
.cp-board-access { border-top: 1px solid var(--cp-border); display: flex; align-items: flex-start; gap: 10px; padding: 15px 22px; color: #8e8999; }
.cp-board-access .cp-icon { width: 14px; height: 14px; margin-top: 2px; }
.cp-board-access p { font-size: 9px; line-height: 1.7; margin: 0; }
.cp-board-access span { display: block; }
.cp-lesson-bottom { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-top: 24px; }
.cp-lesson-notes { white-space: pre-wrap; overflow-wrap: anywhere; color: #6f6a7b; font-size: 12px; line-height: 1.9; }
.cp-material { display: flex; align-items: center; gap: 11px; padding: 14px 0; border-top: 1px solid #eeece7; }
.cp-material div { min-width: 0; flex: 1; }
.cp-material strong { font-size: 12px; font-weight: 500; display: block; overflow-wrap: anywhere; }
.cp-material div > span { display: block; font-size: 9px; color: #9991a3; margin-top: 4px; }
.cp-material > .cp-icon { width: 14px; height: 14px; color: #a295ae; }
.cp-material .cp-stat-icon { width: 33px; height: 35px; border-radius: 7px; }
.cp-lesson-cancel { display: flex; align-items: center; justify-content: flex-end; gap: 15px; margin-top: 23px; }
.cp-lesson-cancel p { color: #a39aa7; font-size: 10px; margin: 0; }
/* Integrations */
.cp-integrations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cp-integration-card { padding: 30px; }
.cp-integration-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.cp-google-icon { display: grid; place-items: center; width: 49px; height: 49px; background: #f1f5fd; color: #6688c0; border: 1px solid #e1e8f4; border-radius: 11px; }
.cp-google-icon .cp-icon { width: 27px; height: 27px; }
.cp-miro-mark-large { height: 49px; width: 49px; font-size: 35px; border-radius: 11px; }
.cp-integration-card h2 { font-size: 21px; font-weight: 500; margin: 0 0 10px; }
.cp-integration-card > p { font-size: 12px; color: #90869c; line-height: 1.8; margin-bottom: 25px; }
.cp-feature-list { padding: 0; margin: 0 0 28px; list-style: none; }
.cp-feature-list li { display: flex; align-items: center; gap: 10px; margin: 12px 0; font-size: 11px; color: #716b7c; }
.cp-feature-list .cp-icon { width: 15px; height: 15px; color: #9ba88a; }
.cp-notice { border: 1px solid #e6e2e9; background: #f7f5f9; border-radius: 8px; padding: 15px; color: #82758f; font-size: 11px; line-height: 1.8; margin: 18px 0; }
.cp-notice-warning { background: #fbf3e9; border-color: #eee1cb; color: #a48a61; }
.cp-connected-account { margin: 20px 0; display: flex; align-items: center; gap: 8px; font-size: 11px; color: #709174; overflow-wrap: anywhere; }
.cp-tools-note { display: flex; gap: 13px; align-items: center; justify-content: center; color: #a39aa9; margin-top: 26px; }
.cp-tools-note p { font-size: 11px; max-width: 580px; line-height: 1.8; }
.cp-tools-note a { color: #827090; text-decoration: underline; }
/* Accessible dialogs */
body.cp-dialog-open { overflow: hidden; }
.cp-dialog-backdrop { position: fixed; inset: 0; z-index: 2000; background: #17203970; backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 24px; color: #202a43; }
.cp-dialog { position: relative; width: 500px; max-width: 100%; background: #fdfcf9; border-radius: 15px; padding: 35px; max-height: calc(100dvh - 48px); overflow: auto; box-shadow: 0 18px 70px #1017292a; font-family: 'DM Sans', -apple-system, sans-serif; }
.cp-dialog-close { position: absolute; top: 17px; right: 16px; }
.cp-dialog > .cp-eyebrow { margin-right: 25px; }
.cp-dialog h2 { font-family: Georgia, serif; font-size: 28px; line-height: 1.2; font-weight: 400; letter-spacing: -.6px; margin: 17px 0 12px; }
.cp-dialog-description { font-size: 12px; color: #8a8093; line-height: 1.8; margin: 0 0 24px; }
.cp-field { display: flex; flex-direction: column; gap: 8px; font-size: 11px; color: #716779; margin: 0 0 18px; font-weight: 500; }
.cp-field input, .cp-field select, .cp-field textarea { background: #fff; border: 1px solid #dfdae2; border-radius: 7px; font-size: 12px; padding: 12px 13px; color: #3f3d51; width: 100%; min-height: 43px; font-weight: 400; box-shadow: none; }
.cp-field input::placeholder, .cp-field textarea::placeholder { color: #b4a9bc; }
.cp-field textarea { resize: vertical; }
.cp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.cp-form-hint { font-size: 10px !important; color: #9a8caa !important; line-height: 1.75; margin: 10px 0 18px; }
.cp-form-hint .cp-icon { width: 12px; height: 12px; margin-right: 4px; }
.cp-dialog-actions { border-top: 1px solid #eae5ee; padding-top: 22px; margin-top: 25px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.cp-form-error { background: #f9eeee; color: #b55b65; border-radius: 7px; padding: 13px; font-size: 11px; line-height: 1.7; margin-top: 17px; }
.cp-form-error[hidden] { display: none; }
.cp-form-status { font-size: 12px; line-height: 1.6; color: #62596f; margin-top: 16px; }
.cp-form-status:empty { display: none; }
.cp-booking-review { display: flex; align-items: center; gap: 15px; border: 1px solid #e7e1ed; border-radius: 9px; padding: 19px; background: #f7f4fa; }
.cp-booking-review > div { min-width: 0; overflow-wrap: anywhere; }
.cp-booking-review strong { font-size: 12px; font-weight: 500; }
.cp-booking-review p { font-size: 11px; color: #998aaa; margin: 7px 0 0; }
.cp-optional { color: #b1a6ba; font-size: 9px; font-weight: 400; }
.cp-field > .cp-optional { margin-top: -25px; margin-left: auto; }
.cp-material-picker { border: 1px solid #e4dfea; border-radius: 8px; padding: 10px 14px; max-height: 210px; overflow: auto; min-width: 0; }
.cp-material-picker legend { font-size: 11px; color: #716779; padding: 0 5px; }
.cp-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; color: #797082; margin: 12px 0; }
.cp-checkbox input { accent-color: #8b75a6; margin: 2px 0 0; }
.cp-checkbox span { overflow-wrap: anywhere; }
@media (min-width: 1600px) { .cp-content { padding-top: 48px; } .cp-next-lesson { min-height: 330px; } .cp-next-content { padding: 36px; } .cp-art-card-back { right: 64px; top: 46px; } .cp-art-card-front { right: 93px; top: 110px; } .cp-art-star { right: 40px; top: 220px; } }
@media (max-width: 1180px) { .cp-sidebar { width: 209px; padding-left: 17px; padding-right: 17px; } .cp-main { margin-left: 209px; } .cp-content { padding: 31px 28px 38px; } .cp-topbar { padding: 14px 28px; } .cp-footer { margin-left: 28px; margin-right: 28px; } .cp-next-content { padding: 26px; width: 66%; } .cp-art-card { width: 109px; height: 147px; padding: 15px; } .cp-art-card-back { right: 22px; } .cp-art-card-front { right: 38px; } .cp-art-card strong { font-size: 23px; } .cp-art-card-front .cp-art-small { font-size: 4px; } .cp-art-star { right: 4px; font-size: 54px; } .cp-art-dot { right: 136px; } .cp-dashboard-grid, .cp-lower-grid { gap: 17px; grid-template-columns: minmax(0,1.9fr) minmax(210px,1fr); } .cp-panel, .cp-stats-card, .cp-practice-card { padding: 22px; } .cp-schedule-panel { padding: 0; } .cp-stat { gap: 10px; } .cp-stat div > span { font-size: 9px; } .cp-lesson-row { gap: 9px; } .cp-lesson-row > .cp-status { display: none; } .cp-next-lesson h2 { font-size: 28px; } }
@media (max-width: 960px) { .cp-sidebar { width: 190px; padding-left: 12px; padding-right: 12px; } .cp-main { margin-left: 190px; } .cp-brand { font-size: 22px; } .cp-workspace { gap: 7px; } .cp-workspace strong { font-size: 10px; } .cp-nav-link { font-size: 12px; gap: 9px; } .cp-content { padding: 28px 24px; } .cp-page-heading { align-items: flex-start; } .cp-page-heading h1 { font-size: 28px; } .cp-heading-actions { padding-top: 25px; } .cp-heading-actions .cp-button { font-size: 10px !important; padding: 10px 13px; } .cp-dashboard-grid, .cp-lower-grid { grid-template-columns: minmax(0,1fr); } .cp-next-lesson { min-height: 280px; } .cp-next-content { padding: 28px; } .cp-hero-art { width: 40%; right: 18px; } .cp-art-card { width: 133px; height: 166px; padding: 19px; } .cp-art-card-front { right: 55px; } .cp-art-card-back { right: 28px; top: 25px; } .cp-art-card-front { top: 91px; } .cp-art-star { right: 9px; top: 198px; } .cp-art-dot { right: 184px; } .cp-stats-card { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; padding: 20px; } .cp-stats-card > .cp-eyebrow { grid-column: 1/-1; margin: 0; } .cp-stat { padding: 0; border: none; gap: 8px; } .cp-stat .cp-stat-icon { width: 32px; height: 34px; border-radius: 8px; } .cp-stat .cp-stat-icon .cp-icon { width: 16px; height: 16px; } .cp-stat strong { font-size: 23px; } .cp-stat div > span { max-width: 98px; line-height: 1.5; } .cp-practice-card { min-height: 220px; padding-right: 180px; } .cp-practice-art { top: 61px; right: 55px; font-size: 74px; } .cp-practice-card h2 { margin-top: 16px; } .cp-practice-card h2 br { display: none; } .cp-practice-card p { max-width: none; } .cp-integrations-grid { grid-template-columns: 1fr; } .cp-lesson-bottom { grid-template-columns: 1fr; gap: 18px; } .cp-lesson-row > .cp-status { display: inline-flex; } .cp-week-strip { gap: 5px; padding-left: 21px; padding-right: 21px; } .cp-schedule-toolbar { padding-left: 21px; padding-right: 21px; } .cp-zone-control > span { display: none; } .cp-board-toolbar h2 { font-size: 11px; } .cp-board-toolbar > div { gap: 8px; } .cp-board-toolbar .cp-status { display: none; } }
@media (max-width: 700px) { .cp-sidebar { display: none; position: fixed; inset: 71px 0 auto 0; width: 100%; max-height: calc(100dvh - 71px); overflow: auto; padding: 15px 20px 22px; box-shadow: 0 12px 20px #17213915; border-right: none; border-bottom: 1px solid #e7e4db; } .cp-nav-open .cp-sidebar { display: block; } .cp-sidebar .cp-brand, .cp-sidebar .cp-workspace, .cp-sidebar-note, .cp-school-label { display: none; } .cp-sidebar .cp-nav-label { display: block; margin-top: 6px; } .cp-sidebar-bottom { padding-top: 10px; } .cp-sidebar nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .cp-sidebar .cp-nav-link { font-size: 13px; } .cp-main { margin-left: 0; } .cp-topbar { min-height: 71px; position: sticky; top: 0; z-index: 50; background: #fdfcf8f7; backdrop-filter: blur(14px); padding: 10px 17px; gap: 11px; } .cp-mobile-menu { display: inline-flex; padding: 7px; } .cp-breadcrumb { margin-right: auto; gap: 9px; font-size: 10px; } .cp-account { gap: 8px; } .cp-account-name { font-size: 10px; max-width: 105px; } .cp-account-name small { font-size: 9px; } .cp-avatar { height: 32px; width: 32px; font-size: 9px; } .cp-logout { display: none; } .cp-nav-open .cp-logout { display: inline-flex; } .cp-content { padding: 28px 19px 32px; } .cp-page-heading { flex-direction: column; gap: 18px; margin-bottom: 23px; } .cp-page-heading h1 { font-size: 31px; line-height: 1.18; max-width: 520px; margin-bottom: 10px; } .cp-page-description { font-size: 12px; } .cp-eyebrow { font-size: 9px; margin-bottom: 10px; } .cp-heading-actions { padding: 0; } .cp-heading-actions .cp-button { min-height: 40px; font-size: 11px !important; } .cp-dashboard-grid, .cp-lower-grid { gap: 17px; } .cp-next-content { padding: 27px 23px; width: 64%; } .cp-next-lesson h2 { font-size: 29px; margin-top: 20px; } .cp-next-lesson p { font-size: 10px; max-width: 225px; } .cp-hero-art { right: 0; width: 35%; opacity: .95; } .cp-art-card { width: 105px; height: 141px; padding: 14px; } .cp-art-card-back { top: 49px; right: 11px; } .cp-art-card-front { top: 112px; right: 21px; } .cp-art-card strong { font-size: 22px; } .cp-art-star { top: 209px; right: -4px; font-size: 47px; } .cp-art-dot { top: 35px; right: 100px; width: 5px; height: 5px; } .cp-art-small { font-size: 4px; } .cp-art-orbit { right: -134px; } .cp-stats-card { padding: 18px; gap: 15px 10px; } .cp-stat { flex-direction: column; align-items: flex-start; gap: 8px; } .cp-stat .cp-stat-icon { display: none; } .cp-stat strong { font-size: 25px; } .cp-stat div > span { font-size: 9px; } .cp-lower-grid { margin-top: 20px; } .cp-panel { padding: 21px; } .cp-section-heading h2 { font-size: 15px; } .cp-section-heading > .cp-text-link { font-size: 10px; } .cp-section-heading p { font-size: 10px; } .cp-lesson-row { gap: 11px; flex-wrap: wrap; } .cp-lesson-detail a { font-size: 12px; } .cp-lesson-row > .cp-status { display: none; } .cp-lesson-detail p { font-size: 9px; line-height: 1.7; } .cp-practice-card { padding: 23px 125px 23px 23px; } .cp-practice-art { top: 56px; right: 26px; font-size: 57px; } .cp-practice-card h2 { font-size: 26px; } .cp-practice-card h2 br { display: block; } .cp-practice-card p { font-size: 10px; } .cp-practice-card .cp-button { white-space: nowrap; } .cp-connection-banner { padding: 17px; gap: 11px; } .cp-connection-banner strong { font-size: 11px; } .cp-connection-banner div > span { font-size: 9px; line-height: 1.7; } .cp-connection-symbol { flex-shrink: 0; } .cp-footer { margin-left: 20px; margin-right: 20px; font-size: 8px; } .cp-empty { padding: 27px 8px 24px; } .cp-empty p { font-size: 11px; } .cp-schedule-panel { padding: 0; } .cp-schedule-toolbar { padding: 20px 17px; } .cp-week-strip { gap: 4px; padding: 0 13px 20px; } .cp-day { min-height: 98px; padding: 8px 2px; border-radius: 7px; } .cp-day > strong { font-size: 21px; } .cp-day > span { font-size: 9px; } .cp-day small { font-size: 8px; } .cp-schedule-zone { padding: 13px 19px; gap: 10px; } .cp-schedule-zone > .cp-subtle { font-size: 9px; } .cp-slots-section { padding: 23px 18px; } .cp-slots-section .cp-section-heading h3 { font-size: 12px; } .cp-slot-grid { grid-template-columns: 1fr 1fr; gap: 9px; } .cp-slot { padding: 15px 12px; } .cp-slot > span { font-size: 11px; } .cp-slot small { font-size: 9px; } .cp-slot > .cp-icon { width: 11px; right: 9px; top: 16px; } .cp-availability-row { gap: 10px; } .cp-availability-row p { font-size: 9px; line-height: 1.75; } .cp-availability-row .cp-stat-icon { display: none; } .cp-availability-row .cp-text-button { font-size: 10px; } .cp-list-toolbar { gap: 15px; } .cp-tabs { width: 100%; justify-content: space-between; } .cp-tabs button { flex: 1; font-size: 10px; padding: 9px; } .cp-list-toolbar .cp-zone-control { margin-left: auto; } .cp-board-toolbar { padding: 14px 15px; gap: 10px; } .cp-board-toolbar h2 { max-width: 90px; line-height: 1.5; } .cp-board-toolbar .cp-button { font-size: 9px !important; padding: 8px 10px; gap: 6px; } .cp-board-toolbar .cp-miro-mark { width: 24px; height: 25px; font-size: 18px; } .cp-board-toolbar .cp-icon { width: 12px; } .cp-board-placeholder { padding: 29px 20px; } .cp-board-placeholder h3 { font-size: 24px; } .cp-board-placeholder p { font-size: 10px; } .cp-board-access { padding: 14px 16px; } .cp-board-access p { font-size: 9px; } .cp-board-frame { height: 440px; } .cp-lesson-cancel { flex-direction: column; align-items: flex-start; gap: 7px; } .cp-lesson-bottom .cp-panel { padding: 22px; } .cp-integrations-grid { gap: 19px; } .cp-integration-card { padding: 24px; } .cp-integration-card h2 { font-size: 22px; } .cp-integration-card > p { font-size: 11px; } .cp-tools-note { align-items: flex-start; gap: 10px; } .cp-tools-note .cp-icon { margin-top: 10px; } .cp-dialog-backdrop { padding: 15px; align-items: center; } .cp-dialog { padding: 28px 23px; max-height: calc(100dvh - 30px); } .cp-dialog h2 { font-size: 28px; } .cp-dialog-description { font-size: 11px; } .cp-field input, .cp-field select, .cp-field textarea { font-size: 16px; } .cp-dialog-actions { flex-wrap: wrap; } .cp-booking-review { padding: 15px; gap: 11px; } .cp-booking-review strong { font-size: 11px; } .cp-skip { left: 20px; } }
@media (max-width: 560px) {
  .cp-next-content { width: 100%; min-width: 0; }
  .cp-next-lesson h2 { font-size: clamp(24px, 6vw, 29px); }
  .cp-next-lesson p { max-width: none; }
  .cp-hero-art { display: none; }
}
@media (prefers-reduced-motion: reduce) { .classroom-shell *, .cp-dialog-backdrop * { transition: none !important; animation: none !important; } }
.cp-sync-inline { color: #a68b66; font-size: 8px; display: inline-block; margin-top: 4px; }
.cp-sync-banner { display: flex; align-items: center; gap: 9px; font-size: 10px; color: #92959e; margin: -9px 0 20px; }
.cp-sync-banner .cp-icon { width: 14px; height: 14px; }
.cp-sync-banner.needs-attention { padding: 12px 15px; background: #faf1e5; border: 1px solid #efe2cd; border-radius: 7px; color: #a28559; }
.cp-sync-banner > span { flex: 1; }
.cp-sync-banner .cp-text-button { font-size: 10px; }
@media (max-width:700px) { .cp-sync-banner { flex-wrap: wrap; font-size: 9px; } }
/* Keep access and confirmation instructions legible at every screen size. */
.cp-board-access p, .cp-booking-review p { color: #6d637b; font-size: 12px; }
.cp-dialog-description { color: #716779; }
.cp-form-hint { color: #776685 !important; font-size: 12px !important; }
@media (max-width:700px) {
  .cp-board-feedback { flex-wrap: wrap; gap: 8px 12px; padding: 12px 16px; }
  .cp-board-feedback p { flex-basis: calc(100% - 29px); }
  .cp-board-feedback .cp-text-button { margin-left: auto; }
  .cp-dialog-actions .cp-button { min-height: 44px; }
  .cp-booking-review strong { font-size: 13px; }
  .cp-zone-control { min-width: 0; max-width: 100%; }
  .cp-zone-control select { min-width: 0; max-width: 100%; }
}
