/* Approved R01–R10: live HTML composition with reference decorative artwork. */
:root{--jp-green:#00452e;--jp-ink:#003d2a;--jp-gold:#c58b1c;--jp-ivory:#fff3e1;--jp-paper:#fff8ec;--jp-line:#d7c69f}
html,body{background:#f2e9db}
#jp-teacher{padding:0;color:var(--jp-ink)}
#jp-teacher .jp-window{container-type:inline-size;max-width:1024px;min-height:0;border:0;border-radius:0;box-shadow:0 12px 55px #3c2d1c15;background:#fff3e2 url('/assets/scene-paper.svg') center/100% 100%;overflow:hidden}
#jp-teacher .jp-window main{padding:0;min-height:0;background:none}
#jp-teacher .jp-window .jp-top{position:relative;margin:0;padding:0 3cqw;height:clamp(52px,9.8cqw,100px);min-height:0;border:0;border-bottom:1px solid #e8b747;border-radius:0 0 3.2cqw 3.2cqw;background:radial-gradient(ellipse at 45% -80%,#0b6443,transparent 75%),linear-gradient(120deg,#00412c,#003724 70%,#005032);color:#fff3d9;z-index:2}
#jp-teacher .jp-window .jp-home-logo{position:absolute;inset:0;display:block;padding:0;pointer-events:none}
#jp-teacher .jp-window .jp-top > .jp-home-logo .jp-wordmark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font:bold clamp(24px,6cqw,64px)/1.12 Arial,sans-serif;gap:1.2cqw;border-radius:0;pointer-events:auto}
#jp-teacher .jp-window .jp-top > .jp-home-logo .jp-wordmark span{padding:.25cqw .8cqw}
#jp-teacher .jp-window .jp-top > .jp-home-logo .jp-wordmark .jp-physics{border-radius:1.5cqw;background:linear-gradient(115deg,#fff5d8,#f9e6bd);color:#00432d!important;-webkit-text-fill-color:#00432d!important}
#jp-teacher .jp-window .jp-top > .jp-home-logo .jp-atom{position:absolute;right:3cqw;top:50%;transform:translateY(-50%);width:6.5cqw;height:6.5cqw;min-width:30px;min-height:30px;background:transparent;pointer-events:auto}
#jp-teacher .jp-window .jp-top > .jp-home-logo .jp-atom span{width:100%;height:40%;top:30%;left:0;border:1.6px solid #edcc71}
#jp-teacher .jp-window .jp-top > .jp-home-logo .jp-atom::after{width:18%;height:18%;background:#edbf4e;position:absolute;left:41%;top:41%}
#jp-teacher .jp-window :is(.jp-account-actions,.jp-profile){margin-inline-start:auto;position:relative;z-index:1}
#jp-teacher .jp-window .jp-account-actions{gap:3px;max-width:23cqw;justify-content:center}
#jp-teacher .jp-window .jp-account-actions .jp-login{border:1px solid #d6dec19e;padding:2px 7px;font-size:clamp(9px,1.8cqw,16px);min-height:23px;line-height:1.5}
#jp-teacher .jp-window .jp-profile-open{width:clamp(36px,6cqw,60px);height:clamp(36px,6cqw,60px);min-width:0;min-height:0;border-color:#d7e0c4}
#jp-teacher .jp-window .jp-launch{position:relative;isolation:isolate;background:url('/assets/scene-hero.svg') center/100% 100%;height:39cqw;min-height:146px;padding:0;margin:0;border:0;overflow:visible;text-align:center}
#jp-teacher .jp-window .jp-launch::before{display:none}
#jp-teacher .jp-window .jp-copy{position:absolute;inset:0;padding:0;display:block}
#jp-teacher .jp-window .jp-eyebrow{position:absolute;top:2.2cqw;left:50%;transform:translateX(-50%);margin:0;padding:0 3.8cqw;font-weight:800;font-size:clamp(13px,3.7cqw,40px);line-height:1.4;border-radius:5cqw 0 5cqw 0;background:linear-gradient(135deg,#005439,#003a27);color:#f9e5ae;white-space:nowrap;border:.12cqw solid #bd9636}
#jp-teacher .jp-window .jp-eyebrow span{font-size:1em;color:#eac16d;padding:0;border:0}
#jp-teacher .jp-window .jp-copy h1{position:absolute;left:20%;right:20%;top:8.3cqw;font-size:clamp(19px,5.1cqw,53px);font-weight:850;line-height:1.25;margin:0;white-space:nowrap;color:#003c29;letter-spacing:-.08cqw}
#jp-teacher .jp-copy h1::after{content:"";position:absolute;left:17%;right:17%;top:calc(100% + 1.7cqw);height:1cqw;min-height:3px;border-top:.5cqw solid #c28c20;border-radius:50%;transform:rotate(-3deg)}
#jp-teacher .jp-window .jp-curriculum{position:absolute;top:20.8cqw;left:31%;width:42%;max-width:none;margin:0;font-size:clamp(10px,2.9cqw,30px);font-weight:750;line-height:1.45;color:#003c29;text-align:center}
#jp-teacher .jp-window :is(.jp-section-title,.jp-select){gap:2cqw;display:flex;align-items:center;justify-content:center;margin:0 auto 2cqw;font-size:clamp(16px,4.4cqw,46px);line-height:1.25;color:#f8dfa0!important;-webkit-text-fill-color:#f8dfa0!important}
#jp-teacher .jp-window :is(.jp-section-title,.jp-select)>span{display:inline-flex;align-items:center;justify-content:center;gap:1.2cqw;min-height:7cqw;padding:.4cqw 3.6cqw .7cqw;border:1px solid #dfb244;border-radius:6cqw;background:radial-gradient(ellipse at 25% 0,#126443,#003d2a 80%);box-shadow:0 1cqw 1.5cqw #765a1820;font-weight:850;white-space:nowrap}
#jp-teacher .jp-window :is(.jp-section-title,.jp-select) i{font-style:normal;color:#e7bd60;-webkit-text-fill-color:#e7bd60}
#jp-teacher .jp-window :is(.jp-section-title,.jp-select)::before,#jp-teacher .jp-window :is(.jp-section-title,.jp-select)::after{width:19cqw;flex:0 1 19cqw;height:.3cqw;min-height:1px;background:linear-gradient(90deg,#a77a1d,#dfa223);transform:none;border-radius:2px}
#jp-teacher .jp-window .jp-section-title{position:relative;margin-top:-1.8cqw;margin-bottom:2cqw}
#jp-teacher .jp-window .jp-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.2cqw 2.7cqw;margin:0 4.8cqw 4.4cqw}
#jp-teacher .jp-window .jp-services button{position:relative;display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:1.8cqw;height:12.7cqw;min-height:45px;border:.3cqw solid #00402c;border-radius:2.8cqw;padding:1.8cqw 3.2cqw;background:linear-gradient(120deg,#fff9edc9,#fff3e4a8);box-shadow:0 1cqw 1.3cqw #85653925;color:#003b28;font-weight:800;font-size:clamp(11px,3.65cqw,38px);text-align:center;line-height:1.4}
#jp-teacher .jp-window .jp-services button span{flex:1;white-space:nowrap}
#jp-teacher .jp-service-art{display:block;width:12cqw;height:8.7cqw;flex:0 0 12cqw;border-radius:1.9cqw;overflow:hidden}
#jp-teacher .jp-window .jp-select{margin-bottom:2.7cqw}
#jp-teacher .jp-window .jp-grades{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3.5cqw;max-width:none;margin:0 6.8cqw;padding:0}
#jp-teacher .jp-window .jp-grades .jp-grade-book{display:flex;flex-direction:column;align-items:stretch;gap:1.1cqw;border:0;padding:0;background:transparent;box-shadow:none;min-height:0;overflow:visible;min-width:0}
#jp-teacher .jp-book-art{display:block;width:100%;height:auto;aspect-ratio:282/348;filter:drop-shadow(0 .5cqw .5cqw #49391d25)}
#jp-teacher .jp-window .jp-grades strong{display:grid;place-items:center;font-size:clamp(9px,2.8cqw,29px);line-height:1.3;font-weight:800;border:1px solid #e4d2af;border-radius:2.8cqw;background:linear-gradient(#fffaf0,#f8ecda);min-height:5.8cqw;box-shadow:0 .6cqw .8cqw #765a1825;white-space:nowrap;color:#003628}
#jp-teacher .jp-window::after{display:block;height:13.5cqw;min-height:45px;background:url('/assets/scene-footer.svg') center bottom/100% 100%;opacity:1;margin-top:0}
#jp-teacher .jp-window .jp-grade-hero{position:relative;height:40cqw;min-height:145px;isolation:isolate;background:url('/assets/scene-hero.svg') center/100% 100%;display:flex;flex-direction:column;align-items:center;padding-top:3cqw}
#jp-teacher .jp-window .jp-grade-cap{margin:0;display:block;height:10cqw;color:#00432c}
#jp-teacher .jp-grade-cap svg{width:15cqw;height:10cqw;fill:#00432c;stroke:#fff3d9;stroke-width:.7}
#jp-teacher .jp-window .jp-grade-hero .jp-grade-title{position:relative;font-size:clamp(25px,7.1cqw,74px);font-weight:850;line-height:1.2;color:#003d29!important;-webkit-text-fill-color:#003d29!important;margin:2cqw 0 0;z-index:1}
#jp-teacher .jp-grade-title::after{width:32cqw;margin:1.9cqw auto 0;height:1.6cqw;background:transparent;border-top:.6cqw solid #c18a14;border-radius:50%;transform:rotate(-2deg)}
#jp-teacher .jp-grade-title::before{display:none}
#jp-teacher .jp-window [data-screen="grade"]>[data-action="home"]{margin:1.5cqw 4.5cqw;min-height:34px;font-size:clamp(11px,2cqw,16px);position:absolute;z-index:2;top:clamp(53px,9.8cqw,100px);left:auto;right:0;border-radius:2cqw;background:#fff9ebc9}
#jp-teacher .jp-window nav.jp-feature-grid{max-width:none;margin:2cqw 5.2cqw 3.7cqw;gap:3.5cqw 3cqw}
#jp-teacher .jp-window nav.jp-feature-grid button[data-tab],#jp-teacher .jp-window .jp-bag-grid button{display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:1.5cqw .5cqw .4cqw;border:.25cqw solid #00442d;border-radius:4cqw;background:linear-gradient(110deg,#fff8edb0,#fff1dfb0);box-shadow:0 .4cqw 0 #c19329,0 .9cqw 1cqw #765a1830;aspect-ratio:1.22;min-height:0;gap:.2cqw;min-width:0;overflow:hidden}
#jp-teacher .jp-reference-art{display:block;mix-blend-mode:multiply;pointer-events:none;flex:1;min-height:0}
#jp-teacher .jp-stage-art{width:84%;height:24cqw;max-height:24cqw;margin:.3cqw auto .5cqw}
#jp-teacher .jp-window .jp-feature-grid button .jp-card-title{display:block;flex:0 0 auto;width:100%;border-radius:4cqw;background:radial-gradient(ellipse at 30% 0,#0f6340,#003c28 85%);font-size:clamp(12px,4cqw,42px);font-weight:850;color:#fff3db!important;-webkit-text-fill-color:#fff3db!important;line-height:1.4;padding:.8cqw .3cqw 1.1cqw;white-space:nowrap;min-height:0;height:auto}
#jp-teacher .jp-window:has([data-screen="grade"]:not([hidden]))::after{height:22cqw;background-image:url('/assets/stage-footer.svg')}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])){max-width:780px;min-height:100svh;border:1px solid #ddd1ba;border-radius:28px;background:#fff7ed url('/assets/scene-paper.svg') center/100% 100%}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-top{margin:2cqw 2cqw 0;height:21cqw;min-height:80px;border-radius:4cqw 4cqw 45% 3%;border-bottom:.65cqw solid #d4af60;background:radial-gradient(ellipse at 40% 0,#275c3b,#073522)}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-top > .jp-home-logo .jp-wordmark{font-size:clamp(24px,5.6cqw,48px);left:auto;right:7cqw;top:42%;transform:translateY(-50%);flex-direction:column;gap:0;line-height:.96;align-items:flex-start}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-top > .jp-home-logo .jp-wordmark .jp-just{padding:0}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-top > .jp-home-logo .jp-wordmark .jp-physics{padding:0;background:none;color:#eac66a!important;-webkit-text-fill-color:#eac66a!important}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-top > .jp-home-logo .jp-atom{right:36cqw;width:12cqw;height:12cqw;top:40%}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-top > .jp-home-logo .jp-atom span{border-color:#fff7df;border-width:2px}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-top::after{content:"";position:absolute;right:8cqw;bottom:5cqw;width:33cqw;height:3cqw;border-bottom:.8cqw solid #d3b469;border-radius:0 0 50% 50%;pointer-events:none}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-profile{margin-inline-start:4cqw}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-profile-open{background:#7ca37066;border:0}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) [data-screen="grade"]>[data-action="home"],#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-grade-cap{display:none}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-grade-hero{background:none;min-height:0;height:12cqw;padding:3cqw 5cqw 0;align-items:flex-start}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-grade-title{font-size:clamp(23px,6.5cqw,50px);margin:0!important}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-grade-title::after{display:none}
#jp-teacher .jp-window .jp-panel{position:relative;max-width:none;width:auto;margin:0 5cqw;padding:0!important;min-height:57cqw}
#jp-teacher .jp-window .jp-panel>[data-action="grade-menu"]{position:relative;z-index:1;margin:1cqw 0 5cqw;font-size:clamp(12px,3cqw,23px);border:1px solid #bcc7a4;border-radius:4cqw;background:#fff8eb;min-height:42px;box-shadow:0 .3cqw .4cqw #765a1815}
#jp-teacher .jp-inner-art{position:absolute;left:-3cqw;top:-4cqw;width:42cqw;height:30cqw;mix-blend-mode:multiply;pointer-events:none}
#jp-teacher .jp-window [data-panel]>h2{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:2cqw;margin:12cqw 0 10cqw;font-size:clamp(23px,6.4cqw,48px);font-weight:850;line-height:1.5;white-space:nowrap;color:#124c30!important;-webkit-text-fill-color:#124c30!important}
#jp-teacher .jp-window [data-panel]>h2::after{content:"◇";display:grid;place-items:center;order:-1;flex:0 0 11cqw;width:11cqw;height:11cqw;background:linear-gradient(135deg,#286d47,#083a26);border:1px solid #bdc7a2;border-radius:3cqw;color:#e0bd63;-webkit-text-fill-color:#e0bd63;font-size:7cqw}
#jp-teacher .jp-window details{border:1px solid #d9d6bd;border-radius:3cqw;background:#fffaf1c9;margin:3cqw 0;box-shadow:0 .5cqw .8cqw #765a180d}
#jp-teacher .jp-window details>summary{font-size:clamp(14px,4.5cqw,34px);font-weight:800;line-height:1.6;min-height:48px;padding:2cqw 3cqw 2cqw 8cqw;background:linear-gradient(120deg,#2b6744,#0e422c);border-radius:2.5cqw 2.5cqw 0 0}
#jp-teacher .jp-window .jp-lesson details>.jp-lesson-link{position:relative;background:#fffaf3;border:1px solid #d8d3bd;border-radius:2.5cqw;width:calc(100% - 4cqw);margin:2cqw;padding:2.5cqw;font-size:clamp(14px,4cqw,29px);font-weight:750;min-height:55px}
#jp-teacher .jp-window .jp-lesson-link::before{content:"▶";display:grid;place-items:center;min-width:28px;height:29px;border:1px solid #d9bc79;border-radius:9px;color:#185337;background:#f3dc9c;font-size:14px;margin-inline-end:5px}
#jp-teacher .jp-window .jp-free{font-size:clamp(12px,3.2cqw,22px);border:0;border-radius:2cqw;padding:1cqw 2cqw;background:#f9dfa0;color:#897332!important;-webkit-text-fill-color:#897332!important;margin-inline-start:auto}
#jp-teacher .jp-window:has(.jp-panel:not([hidden]))::after{height:43cqw;min-height:120px;opacity:1;background-image:url('/assets/inner-footer-7.svg');background-size:100% 100%;margin-top:5cqw}
#jp-teacher .jp-window:has([data-panel="tests"]:not([hidden]))::after{background-image:url('/assets/inner-footer-8.svg')}
#jp-teacher .jp-window:has([data-panel="bag"]:not([hidden]))::after{background-image:url('/assets/inner-footer-9.svg')}
#jp-teacher .jp-window:has([data-panel="teacher"]:not([hidden]))::after{background-image:none;height:8cqw;min-height:20px}
#jp-teacher .jp-window .jp-quiz-guide{background:#fffaf1;border:1px solid #ddd5bd;border-radius:3cqw;padding:2cqw 3cqw;font-size:clamp(13px,3.3cqw,23px)}
#jp-teacher .jp-window .jp-quiz-start{background:linear-gradient(120deg,#d0ac63,#ba9346);border:0;border-radius:3cqw;box-shadow:0 .8cqw 1cqw #765a1815;font-size:clamp(16px,4.6cqw,34px);font-weight:800;margin-top:4cqw;min-height:50px;position:static}
#jp-teacher .jp-window .jp-quiz-chapter-check{top:3cqw;width:24px;height:24px;background:#fff7ee;border:1px solid #d4c393}
#jp-teacher .jp-window .jp-feature-grid.jp-bag-grid{gap:3cqw;margin:0;max-width:none}
#jp-teacher .jp-window .jp-bag-grid button{aspect-ratio:.9;justify-content:center;gap:4cqw;min-height:175px;background:#fff7e5b0;border-color:#d3c9ad;border-radius:4cqw;box-shadow:0 1cqw 1.1cqw #765a1812}
#jp-teacher .jp-bag-art{width:75%;height:23cqw;max-height:25cqw;flex:0 0 auto}
#jp-teacher .jp-window .jp-bag-grid button .jp-card-title{font-size:clamp(13px,4cqw,30px);width:95%;border-radius:2cqw;padding:1.5cqw .5cqw;white-space:normal}
#jp-teacher .jp-window .jp-teacher-threads{gap:2cqw}
#jp-teacher .jp-window .jp-teacher-threads li{border-color:#ded3b9;background:#fffcf5;padding:3cqw;border-radius:3cqw;font-size:clamp(14px,3.5cqw,24px)}
#jp-teacher .jp-window .jp-teacher-threads li[data-sender="student"]{background:#e7ecd7}
#jp-teacher .jp-window textarea{background:#fffcf5;border:1px solid #dbd1b9;border-radius:3cqw;font-size:16px}
#jp-teacher .jp-window .jp-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:2cqw}
#jp-teacher .jp-window .jp-photo-actions .jp-back{background:#fffaf0;border-color:#d8d0b9;border-radius:3cqw;font-size:14px}
#jp-teacher .jp-window .jp-teacher-form .jp-primary{justify-self:start;min-width:48%;font-size:18px;border-radius:3cqw;background:linear-gradient(110deg,#2f6746,#10462f)}
#jp-teacher .jp-window:has(.jp-test-question:not([hidden])) .jp-grade-hero{display:none}
#jp-teacher .jp-window:has(.jp-test-question:not([hidden])) .jp-inner-art{display:none}
#jp-teacher .jp-window:has(.jp-test-question:not([hidden])) .jp-panel{margin:3cqw 4cqw}
#jp-teacher .jp-window:has(.jp-test-question:not([hidden]))::after{display:none}
#jp-teacher .jp-window .jp-profile-menu{background:#fff3e2}
#jp-teacher .jp-window .jp-profile-content{container-type:inline-size;max-width:780px;min-height:100dvh;padding:0 6cqw 28cqw;gap:0;background:#fff3e2 url('/assets/account-footer.svg') center bottom/100% auto no-repeat;position:relative;isolation:isolate}
#jp-teacher .jp-window .jp-profile-content::before{content:"";position:absolute;inset:15cqw 0 0;z-index:-1;background:radial-gradient(ellipse at top,#fffaf2,transparent 65%);pointer-events:none}
#jp-teacher .jp-window .jp-account-header{margin:0 -6cqw 4cqw;min-height:80px;height:15cqw;border-bottom:.7cqw solid #d5b45e;border-radius:0 0 45% 4%;padding:2cqw 4cqw;position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 40% -50%,#12673f,#003b27 80%)}
#jp-teacher .jp-window .jp-account-header .jp-brand{position:relative;display:flex;align-items:center;justify-content:center}
#jp-teacher .jp-window .jp-account-header .jp-wordmark{font:bold clamp(26px,6.8cqw,50px)/1.2 Arial,sans-serif;overflow:visible;gap:0}
#jp-teacher .jp-window .jp-account-header .jp-wordmark span{padding:0 3px;color:#fff7e6!important;-webkit-text-fill-color:#fff7e6!important;background:none}
#jp-teacher .jp-window .jp-account-header .jp-wordmark::after{content:"";position:absolute;inset:30% -8% -30% 15%;border-bottom:2px solid #d3ae53;border-right:1px solid #d3ae53;transform:rotate(-8deg);border-radius:50%;pointer-events:none}
#jp-teacher .jp-window .jp-account-header .jp-atom{position:absolute;right:10%;top:-30%;transform:scale(.65);background:none;width:38px;height:38px}
#jp-teacher .jp-window .jp-profile-close{position:absolute;right:3cqw;top:50%;transform:translateY(-50%);border:0;background:none;color:#fff8e6;font-size:32px}
#jp-teacher .jp-window .jp-account-emblem{width:17cqw;height:17cqw;max-width:110px;max-height:110px;min-width:60px;min-height:60px;margin:0 auto 1.4cqw;border:.6cqw solid #dfb457;background:linear-gradient(135deg,#fffbee,#f8e9c9);box-shadow:0 1cqw 1.8cqw #75571425}
#jp-teacher .jp-window .jp-account-emblem svg{width:60%;height:60%;color:#00572f}
#jp-teacher .jp-window .jp-profile-content h2{font-size:clamp(25px,6.8cqw,50px);font-weight:850;margin:1cqw 0 4cqw;color:#00412a}
#jp-teacher .jp-window .jp-profile-content h2::after{width:12cqw;height:.55cqw;min-height:2px;margin:2cqw auto;background:linear-gradient(90deg,#f5d17a,#ba861e);border-radius:5px}
#jp-teacher .jp-window .jp-account-list{gap:3.5cqw;margin:3cqw 0 8cqw}
#jp-teacher .jp-window .jp-account-list button{min-height:clamp(66px,15cqw,110px);padding:2cqw 3cqw;gap:2cqw;flex-direction:row;border:1px solid #255d37;border-right:.6cqw solid #d5b461;background:linear-gradient(130deg,#fffbf3,#fff8ed);border-radius:4cqw;box-shadow:0 1.5cqw 2.4cqw #76613b1b;font-size:clamp(16px,4.5cqw,33px);font-weight:800}
#jp-teacher .jp-window .jp-account-list button>span:first-child{flex:1;text-align:right}
#jp-teacher .jp-window .jp-account-list button::after{content:"‹";font:normal 36px/1 Arial;color:#0c5535}
#jp-teacher .jp-window .jp-account-row-icon{order:-1;flex:none;width:10cqw;height:10cqw;min-width:40px;min-height:40px;max-width:70px;max-height:70px;padding:1.5cqw;border-radius:2.5cqw;background:linear-gradient(120deg,#2b833c,#00452a);color:#f2d78c;box-shadow:inset 0 1px 2px #fff4}
#jp-teacher .jp-window .jp-account-row-icon svg{width:100%;height:100%}
#jp-teacher .jp-window .jp-profile-content .jp-primary{background:linear-gradient(120deg,#14643d,#003d28);border-radius:4cqw;font-size:clamp(17px,4.5cqw,30px);font-weight:800;box-shadow:0 .5cqw 1cqw #765a1825}
#jp-teacher .jp-window .jp-profile-content :is(input:not([type=radio]),.jp-gender label){background:#fffbf4;border:1px solid #9cad8d;border-radius:2.6cqw;box-shadow:0 .5cqw .8cqw #765a1810}
#jp-teacher .jp-window .jp-gender label:has(input:checked){background:linear-gradient(120deg,#17633e,#003e27);color:#fdf4df}
#jp-teacher .jp-window .jp-avatar{width:22cqw;height:22cqw;max-width:150px;max-height:150px;min-width:90px;min-height:90px;border:.5cqw solid #d9b259;box-shadow:0 1cqw 2cqw #765a1820}
#jp-teacher .jp-window .jp-logout-dialog{border-radius:5cqw;background:#fff9ed;box-shadow:0 2cqw 4cqw #132b2740;border:1px solid #d3b15d;padding:6cqw}
@media(min-width:1050px){#jp-teacher{padding:18px}#jp-teacher .jp-window{border-radius:24px}}
@media(prefers-reduced-motion:reduce){#jp-teacher *{scroll-behavior:auto!important}}
#jp-teacher .jp-window .jp-services button{font-size:clamp(10px,3cqw,32px);padding-inline:2.5cqw;gap:1cqw}
#jp-teacher .jp-window .jp-account-actions .jp-account-entry{display:flex;align-items:center;justify-content:center;gap:1cqw;border:1px solid #d5dcc0;border-radius:5cqw;font-weight:750;font-size:clamp(13px,3.4cqw,34px);padding:.7cqw 2.3cqw;min-height:35px;background:linear-gradient(120deg,#00422c,#07523644);box-shadow:inset 0 1px 2px #fff4}
#jp-teacher .jp-account-entry svg{width:4cqw;height:4cqw;min-width:18px;min-height:18px}
#jp-teacher .jp-window .jp-entry-dialog{width:min(450px,90vw);border:1px solid #caa54e;border-radius:20px;background:#fff7e7;padding:24px;color:#00432c}
#jp-teacher .jp-entry-dialog::backdrop{background:#14332788}
#jp-teacher .jp-entry-dialog>.jp-primary,#jp-teacher .jp-entry-dialog>.jp-back{display:block;width:100%;margin:12px 0;font-size:17px}
#jp-teacher .jp-window{display:flex;flex-direction:column;background-image:linear-gradient(#fff9ef88,#fff9ef88),url('/assets/scene-paper.svg')}
#jp-teacher .jp-window main{flex:1;width:100%}
#jp-teacher .jp-window::after,#jp-teacher .jp-window .jp-top{flex-shrink:0}
#jp-teacher .jp-window .jp-services button{font-size:clamp(10px,3.3cqw,34px)}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])){background-image:linear-gradient(#fff9efaa,#fff9efaa),url('/assets/scene-paper.svg')}
#jp-teacher .jp-window:has(.jp-panel:not([hidden])) .jp-profile{margin-inline-start:auto;margin-inline-end:2cqw}
#jp-teacher .jp-window .jp-panel>[data-action="grade-menu"]{background:#fff9ed!important;color:#49623e!important;-webkit-text-fill-color:#49623e!important;border-color:#b7c5a0}
#jp-teacher .jp-inner-art{mask-image:radial-gradient(ellipse at 35% 55%,#000 40%,transparent 77%)}
#jp-teacher .jp-window [data-panel]>h2::after{display:none}
#jp-teacher .jp-heading-symbol{display:block;width:11cqw;height:11cqw;flex:0 0 11cqw;border-radius:3cqw;overflow:hidden}
#jp-teacher .jp-window [data-panel]>h2{gap:2cqw}
#jp-teacher .jp-stage-art{mix-blend-mode:normal}
#jp-teacher .jp-window .jp-top{height:clamp(44px,9.8cqw,100px)}
#jp-teacher .jp-window .jp-launch{height:37.2cqw;min-height:0}
#jp-teacher .jp-window .jp-copy h1{top:9.4cqw}
#jp-teacher .jp-window .jp-curriculum{top:22.5cqw}
#jp-teacher .jp-window .jp-section-title>span{min-width:32cqw}
#jp-teacher .jp-window .jp-select>span{min-width:35cqw}
#jp-teacher .jp-select i svg{width:6cqw;height:5cqw;display:block}

#jp-teacher .jp-window .jp-profile-content{background-size:100% 25cqw}
#jp-teacher .jp-window .jp-panel>button.jp-back[data-action="grade-menu"]{color:#49623e!important;-webkit-text-fill-color:#49623e!important;background:#fff9ed!important}
#jp-teacher .jp-window .jp-profile-content .jp-profile-close{display:grid;place-items:center;z-index:4;-webkit-text-fill-color:#fff8e6!important}
#jp-teacher .jp-window .jp-bag-art{width:21cqw;height:23cqw;mix-blend-mode:normal}

/* Let the lower artwork occupy all remaining space on the grade screen. */
#jp-teacher .jp-window:has([data-screen="grade"]:not([hidden])):not(:has(.jp-panel:not([hidden]))){min-height:100svh}
#jp-teacher .jp-window:has([data-screen="grade"]:not([hidden])):not(:has(.jp-panel:not([hidden]))) main{flex:0 0 auto}
#jp-teacher .jp-window:has([data-screen="grade"]:not([hidden])):not(:has(.jp-panel:not([hidden])))::after{flex:1 0 22cqw;height:auto;min-height:22cqw;margin-top:0;background-size:100% 100%;background-position:center bottom}
#jp-teacher .jp-window:has([data-screen="grade"]:not([hidden])):has([data-panel="tests"]:not([hidden])):not(:has(.jp-panel:not([hidden])))::after,
#jp-teacher .jp-window:has([data-screen="grade"]:not([hidden])):has([data-panel="bag"]:not([hidden])):not(:has(.jp-panel:not([hidden])))::after{flex-basis:43cqw;min-height:43cqw}

#jp-teacher .jp-stream-player{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:10px;background:#111}
