/* 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{background:#c4b2d7!important}
.sp-student-dashboard #sp-dashboard-useful .sp-dashboard-navigation-grid>a:nth-child(2)>b{background:#f4d67f!important}
.sp-student-dashboard #sp-dashboard-useful .sp-dashboard-navigation-grid>a:nth-child(3)>b{background:#fff6e7!important}
.sp-student-dashboard #sp-dashboard-useful .sp-dashboard-navigation-grid>a:nth-child(4)>b{background:#add9d6!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. */
html.sp-zoom-frame-large,html.sp-zoom-frame-large body{overflow:hidden!important}
.sp-class-call-card:has(.sp-zoom-call){align-self:start!important;min-width:0!important;overflow:visible!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-frame-bar nav{display:flex;gap:7px}.sp-zoom-frame-bar button{display:grid!important;place-items:center!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border:0!important;border-radius:12px!important;background:#fff6e7!important;color:#002f2b!important;font-size:21px!important;line-height:1!important;box-shadow:none!important}.sp-zoom-frame-bar button.is-active{background:#add9d6!important;outline:2px solid #002f2b!important;outline-offset:-2px}
.sp-zoom-placeholder{min-height:210px!important}.sp-zoom-root{position:relative!important;inset:auto!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:auto!important;overscroll-behavior:contain!important;background:#fff6e7!important;scrollbar-gutter:stable!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"]{position:fixed!important;z-index:100000!important;inset:18px!important;width:auto!important;max-width:none!important;height:auto!important}.sp-zoom-call[data-zoom-size="large"] .sp-zoom-root{height:calc(100vh - 94px)!important}
.sp-zoom-call.is-joined .sp-zoom-frame-bar{display:flex!important}.sp-zoom-root :is(button,[role="button"]){min-width:48px!important;min-height:48px!important;font-size:16px!important}.sp-zoom-root :is([class*="footer"],[class*="toolbar"],[class*="control"]){font-size:15px!important}.sp-zoom-root :is([class*="footer"],[class*="toolbar"]){min-height:68px!important;background:#fff6e7!important;color:#002f2b!important}.sp-zoom-root :is([class*="menu"],[class*="dropdown"],[role="menu"]){background:#fff!important;color:#002f2b!important;font-size:15px!important}

/* Zoom library is lower and uses soft brand actions instead of emerald pills. */
.sp-teacher-dashboard .sp-zoom-library{margin-top:58px!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"]{inset:8px!important}.sp-zoom-call[data-zoom-size="large"] .sp-zoom-root{height:calc(100vh - 74px)!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}}
