/* Redbiu FIX09 · compact shell and read-first profile */
:root{--sidebar-expanded:216px;--shell-height09:54px}body.sidebar-collapsed{--sidebar:60px}body.sidebar-expanded{--sidebar:216px}.topbar{height:54px!important;min-height:54px;padding:0 18px!important}.brand-block{gap:8px;min-height:44px}.brand-mark,.brand-mark.panda-logo{width:32px!important;height:32px!important;min-width:32px}.brand-mark>svg,.brand-mark>img{width:32px!important;height:32px!important;object-fit:cover}.brand-name{font-size:14px!important;line-height:1.3}.brand-subtitle{font-size:11px!important;line-height:1.35}.topbar-actions{gap:6px}.topbar .user-chip{min-height:34px;padding:4px 8px;font-size:12px}.topbar .device-badge,.topbar .save-indicator{width:32px;min-width:32px;height:32px;padding:4px!important}.workspace{min-height:calc(100dvh - 54px)}.sidebar{top:54px!important;height:calc(100dvh - 54px)!important;padding:8px 6px!important}.sidebar-toggle{width:44px!important;height:36px!important;margin:0 0 4px!important;font-size:22px!important}.sidebar nav{gap:2px!important}.sidebar .nav-item{min-height:42px!important;gap:8px!important;padding:4px 7px!important}.sidebar .nav-ico{width:30px!important;min-width:30px!important;height:32px!important}.sidebar .nav-ico svg{width:18px!important;height:18px!important}.sidebar .nav-item b{font-size:12px}.sidebar .nav-children{margin-left:12px;padding-left:8px}.sidebar .sidebar-foot{padding:8px 2px 0}.sidebar #shellMascot06 svg{width:32px;height:32px}.main-content{padding:20px clamp(16px,2.3vw,32px) 44px;scroll-margin-top:64px}.studio07>nav{top:72px}section,details{scroll-margin-top:68px}.calframe07 .calendar-scroll{max-height:calc(100dvh - 245px)!important}
/* One grid row gives Story and login identical top and bottom edges. */
.auth-screen:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(350px,.9fr)!important;gap:24px!important;place-items:stretch!important;align-items:stretch!important;align-content:start!important;padding:32px max(24px,calc((100vw - 1280px)/2))!important}.auth-screen .welcome07,.auth-screen .auth-card{width:auto!important;max-width:none!important;min-width:0;margin:0!important;align-self:stretch!important;position:relative!important;top:auto!important;box-sizing:border-box}.auth-screen .auth-card{display:flex;flex-direction:column;justify-content:center;padding:28px!important;border-radius:18px}.auth-screen .auth-card>*{flex-shrink:0}.welcome07{border-radius:18px;padding:24px!important;background-image:linear-gradient(#fffaf708,#fffaf708),url('assets/redbiu-story.webp')!important;background-position:50% 70%!important;background-size:cover!important}.welcome07 .welcome-brand06{width:fit-content;max-width:100%;padding:12px 16px;margin:0 0 22px!important;background:#fffaf7e8;border-radius:12px;box-sizing:border-box}.welcome07 .story08{padding:22px 24px;background:#fffaf7df;border:1px solid #ffffffb5;border-radius:12px}.welcome07 .story08 h1{font-size:36px;margin:12px 0 20px}.welcome07 .story08 p{font-size:14px;line-height:1.75;margin-bottom:16px;color:#4d3540}.welcome07 .story08 .author08{margin-top:20px;background:#fffaf7b0;padding:12px 16px}.welcome07 .author08 i{font-size:22px}.welcome07>a{display:inline-block;padding:8px 12px;background:#fffaf7e8;border-radius:6px;margin-top:16px;color:#852a43;font-size:12px;max-width:100%;box-sizing:border-box}.about-grid07{grid-template-columns:1fr;gap:24px;align-items:start}.about-grid07 .story08{max-width:850px}.about-grid07>div>img{width:100%;height:auto;max-height:none;aspect-ratio:2.45/1;object-fit:cover;object-position:50% 74%;border-radius:14px}.about-grid07>div>p{font-size:14px;margin:12px 0 0}.about07 .values07{margin-top:24px}
/* Cover + overlapping avatar form a single profile identity block. */
#viewTeacherProfile{max-width:1120px}.profile09{overflow:hidden;border-radius:16px}.profile09 .teacher-banner{height:230px!important;position:relative;padding:20px!important;border-radius:0!important;background-position:50% 68%!important}.profile09 .cover-label09{align-self:flex-start;display:inline-block!important;max-width:100%;width:auto;padding:8px 12px;border-radius:6px;background:#ffffffdb;font-size:10px!important;letter-spacing:1.2px!important;color:#6f4653}.profile09 .teacher-profile-body{padding:0 28px 24px!important}.identity09{display:flex;align-items:flex-end;gap:20px;position:relative;padding-bottom:18px;min-width:0}.profile09 .identity09 .teacher-avatar{width:120px!important;height:120px!important;min-width:120px!important;min-height:120px!important;margin:-42px 0 0!important;position:relative!important;border:5px solid var(--surface)!important;border-radius:50%!important;box-shadow:0 3px 10px #47212e15;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:55px!important;flex-shrink:0}.profile09 .teacher-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%}.identity-text09{flex:1;min-width:0;padding-top:16px}.identity-text09 h1{font-size:28px;line-height:1.25;margin:0 0 6px;overflow-wrap:anywhere}.identity-text09 p{margin:0;line-height:1.6;font-size:14px;color:var(--text-2)}.identity09>.button{margin-bottom:4px;min-height:42px;flex-shrink:0}.profile-summary09{font-size:14px;line-height:1.75;color:var(--text-2)}.profile-summary09 p{margin:0 0 8px;white-space:pre-wrap}.profile-summary09>span{display:block;font-size:13px}.profile-summary09:empty{display:none}#profileEditor09{border-top:1px solid var(--border);margin-top:20px;padding-top:20px}#profileEditor09[hidden]{display:none!important}.editor-head09 h2{font-size:20px;margin:0 0 6px}.editor-head09 p{font-size:13px;color:var(--text-2);margin:0 0 20px}.photo-tools09{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;padding:18px;background:var(--canvas);border:1px solid var(--border);border-radius:10px}.photo-tools09 h3{font-size:14px;margin:0 0 12px}.photo-tools09 .coveractions07,.photo-tools09 .page-actions{margin:0!important;padding:0;display:flex;justify-content:flex-start;gap:8px;flex-wrap:wrap}.photo-tools09 select{max-width:185px;font-size:13px}.photo-tools09 .button{font-size:12px;padding:9px 12px}.photo-note09{font-size:12px;line-height:1.6;color:var(--text-2);margin:12px 0 20px}.editor-footer09{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.editor-footer09>.button{width:auto!important;flex:none}.account09{padding:18px 24px!important;margin-top:18px}.account09 .sectionhead07{margin-bottom:8px}.account09 .sectionhead07 h2{font-size:17px}.account09 .sectionhead07 p{font-size:12px}.account09>p{font-size:13px;margin:6px 0}.password-fold09>summary{font-size:13px;color:var(--primary-strong);cursor:pointer;padding:10px 0}.password-fold09 #password07{margin:10px 0 0}.password-fold09 #password07 .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.account09 .password-fold09{margin:0;padding:0}.library07{margin-top:18px}
@media(min-width:821px) and (max-width:1100px){.auth-screen:not([hidden]){grid-template-columns:minmax(0,1.2fr) minmax(330px,.9fr)!important;padding:24px!important;gap:20px!important}.welcome07{padding:18px!important}.welcome07 .story08{padding:20px}.welcome07 .welcome-brand06{padding:10px}.welcome-brand06 b>span{font-size:8px!important;letter-spacing:.6px!important}.identity-text09 h1{font-size:24px}}
@media(max-width:820px){.topbar{height:52px!important;min-height:52px;padding:0 12px!important}.brand-block{gap:6px;min-height:44px}.brand-mark,.brand-mark.panda-logo,.brand-mark>svg,.brand-mark>img{width:30px!important;min-width:30px!important;height:30px!important}.brand-name{font-size:13px!important}.topbar .brand-subtitle{display:none!important}.topbar .user-chip{min-height:32px;padding:3px 6px}.topbar-actions{gap:4px!important}.topbar .device-badge,.topbar .save-indicator{width:30px;min-width:30px;height:30px}.sidebar{display:none!important}.workspace{min-height:calc(100dvh - 52px)}.main-content{padding:16px 14px 100px!important;scroll-margin-top:62px}.mobile-tabbar{min-height:58px;padding-top:5px;padding-bottom:calc(5px + env(safe-area-inset-bottom));gap:3px}.mobile-tabbar .nav-item{min-height:44px}.auth-screen:not([hidden]){display:flex!important;flex-direction:column!important;gap:20px!important;padding:18px 14px!important}.auth-screen .welcome07,.auth-screen .auth-card{flex-shrink:0;width:100%!important}.auth-screen .auth-card{padding:24px!important}.welcome07{padding:16px!important}.welcome07 .welcome-brand06{padding:10px 12px;margin-bottom:16px!important}.welcome07 .welcome-brand06 b>span{font-size:7px!important;letter-spacing:.6px!important}.welcome07 .story08{padding:18px 16px}.welcome07 .story08 h1{font-size:31px}.welcome07 .story08 p{font-size:14px;line-height:1.75}.welcome07 .author08{padding:12px!important}.welcome07>a{font-size:11px;padding:8px 10px;overflow-wrap:anywhere}.about-grid07>div>img{aspect-ratio:1.9/1;border-radius:12px}.about-grid07 .story08 h1{font-size:32px}.profile09 .teacher-banner{height:165px!important;padding:14px!important}.profile09 .teacher-profile-body{padding:0 18px 18px!important}.identity09{display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px;align-items:end;padding-bottom:16px}.profile09 .identity09 .teacher-avatar{width:86px!important;height:86px!important;min-width:86px!important;min-height:86px!important;border-width:4px!important;margin-top:-30px!important;font-size:40px!important}.identity-text09{padding-top:10px}.identity-text09 h1{font-size:21px;margin-bottom:4px}.identity-text09 p{font-size:12px;line-height:1.5}.identity09>.button{grid-column:1/-1;width:100%;margin:2px 0 0;min-height:42px}.profile-summary09{font-size:13px}.photo-tools09{grid-template-columns:1fr;gap:20px;padding:14px}.photo-tools09 .coveractions07{flex-direction:row;align-items:center}.photo-tools09 select{width:100%;max-width:100%;flex:1;min-width:120px}.editor-footer09{display:grid;grid-template-columns:1fr}.editor-footer09 .button{width:100%!important}.account09{padding:16px 18px!important}.account09 .sectionhead07{flex-direction:row;align-items:center;gap:12px}.account09 .sectionhead07 .button{font-size:12px;padding:8px 10px}.password-fold09 #password07 .form-grid{grid-template-columns:1fr}.profile09 .form-grid{grid-template-columns:1fr}.calframe07 .calendar-scroll{max-height:62dvh!important}}
#viewTeacherProfile .profile09 .identity09 .teacher-avatar{margin:-42px 0 0!important;position:relative!important}.brand-block:focus-visible{outline-offset:1px!important;outline-width:1px!important}.profile09 .teacher-banner[data-cover-kind09=theme]{background-size:auto 100%!important;background-repeat:no-repeat!important;background-position:right center!important}.profile09 .teacher-banner[data-cover-kind09=photo]{background-size:cover!important}
@media(max-width:820px){#viewTeacherProfile .profile09 .identity09 .teacher-avatar{margin:-30px 0 0!important}}
