/* Student dashboard: icon tiles carry the same colour as their destination card. */
.sp-student-dashboard #sp-dashboard-useful .sp-dashboard-navigation-grid>a>b{border:0!important;color:#002f2b!important;box-shadow:none!important}
.sp-student-dashboard #sp-dashboard-useful .sp-dashboard-navigation-grid>a:nth-child(1)>b,.sp-student-dashboard #sp-dashboard-useful .sp-dashboard-navigation-grid>a:nth-child(2)>b,.sp-student-dashboard #sp-dashboard-useful .sp-dashboard-navigation-grid>a:nth-child(3)>b,.sp-student-dashboard #sp-dashboard-useful .sp-dashboard-navigation-grid>a:nth-child(4)>b{background:#fff!important}

/* Lesson template: exact real-class tool glyphs, order, sizing and palette. */
body.sp-library-lesson-mode .sp-template-tools{gap:10px!important;padding:15px 9px!important;border-radius:0!important;background:#fff6e7!important}
body.sp-library-lesson-mode .sp-template-tools>button{opacity:1!important;filter:none!important;border:0!important;border-radius:15px!important;color:#002f2b!important}
body.sp-library-lesson-mode .sp-template-tools>button:nth-child(1){background:#c4b2d7!important}
body.sp-library-lesson-mode .sp-template-tools>button:nth-child(2){background:#f4d67f!important}
body.sp-library-lesson-mode .sp-template-tools>button:nth-child(3){background:#add9d6!important}
body.sp-library-lesson-mode .sp-template-tools>button:nth-child(4){background:#fff!important}
body.sp-library-lesson-mode .sp-template-tools>button>svg{display:block!important;width:31px!important;height:31px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.75!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* Footer cookie control: same box metrics and baseline as every neighbour link. */
.sp-elementor-site-footer nav{align-items:baseline!important}
.sp-elementor-site-footer nav>a,.sp-elementor-site-footer nav>button.sp-footer-cookie-label{display:inline!important;box-sizing:content-box!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:inherit!important;font:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;text-decoration:underline!important;vertical-align:baseline!important;transform:none!important}

/* Stable branded frame around the embedded Zoom client. */
.sp-class-call-card:has(.sp-zoom-call){align-self:start!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;border-radius:24px!important}
.sp-zoom-call{position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;transform:none!important;translate:none!important;transition:none!important;animation:none!important;overflow:hidden!important;border:0!important;border-radius:24px!important;background:#fff6e7!important;box-shadow:none!important}
.sp-zoom-frame-bar{position:relative;z-index:5;display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:8px 12px 8px 18px;background:#c4b2d7!important;color:#002f2b!important}
.sp-zoom-frame-bar strong{font-size:16px}
.sp-zoom-hint{max-width:330px!important;margin:2px auto 0!important;color:#002f2b!important;font-size:13px!important;line-height:1.45!important}
.sp-zoom-placeholder{min-height:210px!important}.sp-zoom-root{position:relative!important;inset:auto!important;isolation:isolate!important;width:100%!important;max-width:100%!important;height:650px!important;min-height:0!important;margin:0!important;transform:none!important;translate:none!important;overflow:hidden!important;overscroll-behavior:contain!important;background:#fff6e7!important}
.sp-zoom-call[data-zoom-size="compact"] .sp-zoom-root{height:430px!important}.sp-zoom-call[data-zoom-size="normal"] .sp-zoom-root{height:650px!important}.sp-zoom-call[data-zoom-size="large"] .sp-zoom-root{height:min(780px,calc(100vh - 150px))!important;min-height:620px!important}
.sp-zoom-call.is-joined .sp-zoom-frame-bar{display:flex!important}.sp-zoom-root>div{width:100%!important;height:100%!important;max-width:100%!important}
.sp-video-preview .sp-video-tile.is-local video,.sp-video-preview video[data-video-self]{transform:none!important;scale:1 1!important}

/* During a call only actual lesson parts collapse into a tool below the timer. */
.sp-lesson-sections-tool{display:none!important;position:relative!important;height:52px!important;padding:8px!important;border:0!important;border-radius:16px!important;background:#f4d67f!important;color:#002f2b!important}.sp-lesson-sections-tool svg{width:27px!important;height:27px!important}.sp-class-workspace.is-call-active .sp-lesson-sections-tool{display:flex!important}.sp-class-workspace.is-call-active .sp-class-lesson-sections{display:none!important}
.sp-lesson-sections-overlay{align-items:center!important;justify-content:center!important;padding:24px!important;background:rgba(0,47,43,.28)!important;backdrop-filter:blur(7px)}.sp-lesson-sections-dialog{width:min(470px,calc(100vw - 40px))!important;height:auto!important;max-height:calc(100vh - 48px)!important;padding:26px!important;border:0!important;border-radius:28px!important;background:#fff6e7!important;box-shadow:0 28px 80px rgba(0,47,43,.24)!important}.sp-lesson-sections-dialog>header{display:flex;align-items:center;gap:13px;padding-right:38px}.sp-lesson-sections-dialog>header>span{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#c4b2d7;color:#002f2b;font-size:22px}.sp-lesson-sections-dialog header small{display:block;max-width:300px;overflow:hidden;color:#54706d;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.sp-lesson-sections-dialog h2{margin:2px 0 0;color:#002f2b;font-size:24px}.sp-lesson-sections-dialog nav{display:grid;gap:10px;margin-top:22px}.sp-lesson-sections-dialog nav button{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;min-height:64px!important;padding:10px 14px!important;border:2px solid transparent!important;border-radius:18px!important;background:#e8e0f2!important;color:#002f2b!important;text-align:left!important;cursor:pointer!important}.sp-lesson-sections-dialog nav button:nth-child(3n+2){background:#f4d67f!important}.sp-lesson-sections-dialog nav button:nth-child(3n){background:#add9d6!important}.sp-lesson-sections-dialog nav button.is-active{border-color:#002f2b!important;box-shadow:0 8px 22px rgba(0,47,43,.12)!important}.sp-lesson-sections-dialog nav button>span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.72);font-size:16px;font-weight:900}.sp-lesson-sections-dialog nav strong{font-size:16px}
@media(min-width:1025px){.sp-class-content-grid:has(.sp-zoom-call[data-zoom-size="compact"]){grid-template-columns:minmax(0,1fr) 320px!important}.sp-class-content-grid:has(.sp-zoom-call[data-zoom-size="normal"]){grid-template-columns:minmax(0,1fr) 420px!important}.sp-class-content-grid:has(.sp-zoom-call[data-zoom-size="large"]){grid-template-columns:minmax(0,1fr) 560px!important}}
@media(min-width:1025px){.sp-class-content-grid:has(.sp-zoom-call){grid-template-columns:minmax(0,1fr) minmax(480px,540px)!important}.sp-zoom-root{height:600px!important;min-height:600px!important}}

/* Online presence appears temporarily above the call instead of behind it. */
.sp-class-topbar{z-index:10020!important;overflow:visible!important}.sp-class-top-actions,.sp-class-presence-stack,.sp-presence-avatar{z-index:10021!important;overflow:visible!important}.sp-presence-popover{z-index:10030!important}

/* Zoom library is lower and uses soft brand actions instead of emerald pills. */
.sp-teacher-dashboard:not(.sp-teacher-library)>.sp-teacher-next{order:4!important}
.sp-teacher-dashboard:not(.sp-teacher-library)>.sp-zoom-library{order:5!important}
.sp-teacher-dashboard:not(.sp-teacher-library)>#sp-teacher-students{order:6!important}
.sp-teacher-dashboard:not(.sp-teacher-library)>#sp-teacher-classes{order:7!important}
.sp-teacher-dashboard:not(.sp-teacher-library)>.sp-teacher-attention{order:8!important}
.sp-teacher-dashboard:not(.sp-teacher-library)>.sp-marketing-summary{order:9!important}
.sp-teacher-dashboard:not(.sp-teacher-library)>#sp-booking-limits{order:10!important}
.sp-teacher-dashboard:not(.sp-teacher-library)>#sp-activity-log{order:11!important}
.sp-teacher-dashboard:not(.sp-teacher-library)>#sp-legal-analytics{order:12!important}
.sp-teacher-dashboard .sp-zoom-library{margin-top:22px!important;margin-bottom:28px!important;background:#e8e0f2!important}.sp-zoom-library header>span{background:#add9d6!important;color:#002f2b!important}.sp-zoom-library :is(.sp-zoom-library-all,.sp-zoom-library-filter button,.sp-zoom-library-filter>a,.sp-zoom-library article nav a){border:1px solid rgba(0,47,43,.18)!important;background:#fff6e7!important;color:#002f2b!important;-webkit-text-fill-color:#002f2b!important;box-shadow:none!important}.sp-zoom-library .sp-zoom-library-filter button{background:#add9d6!important}

@media(max-width:760px){.sp-zoom-call[data-zoom-size="large"] .sp-zoom-root{height:min(720px,calc(100vh - 120px))!important;min-height:520px!important}.sp-zoom-root,.sp-zoom-call[data-zoom-size="normal"] .sp-zoom-root{height:560px!important}.sp-zoom-frame-bar{padding-left:13px}.sp-zoom-frame-bar strong{font-size:14px}}

/* Keep the lesson-section strip in normal flow immediately below Zoom. */
.sp-class-right-column[data-zoom-slot]{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;max-width:100%!important;overflow:visible!important}.sp-class-right-column[data-zoom-slot]>.sp-class-call-card{order:1!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important}.sp-class-right-column[data-zoom-slot]>.sp-class-lesson-sections{position:relative!important;z-index:2!important;order:2!important;flex:0 0 auto!important;width:100%!important;box-sizing:border-box!important;margin:12px 0 0!important;border-radius:18px!important;background:#e8e0f2!important;color:#002f2b!important}
@media(min-width:1240px){.sp-class-content-grid:has(.sp-zoom-call){grid-template-columns:minmax(0,1fr) minmax(680px,720px)!important;max-width:1440px!important}.sp-zoom-root{height:600px!important;min-height:600px!important}}
@media(min-width:761px) and (max-width:1239px){.sp-class-content-grid:has(.sp-zoom-call){grid-template-columns:1fr!important;max-width:980px!important}.sp-class-right-column[data-zoom-slot]{width:100%!important}}
