/* A quiet library workspace. Decorative shelves stop where classroom data begins. */
.teacher-bar{background:#fffdf7;color:#23493e;border-bottom:1px solid #ddd5c3;padding:12px 24px;gap:12px}
.teacher-space-label{font-size:10px;letter-spacing:.13em;color:#776c51;font-weight:750;margin-right:14px}
.teacher-nav{display:flex;align-items:center;gap:4px;background:#f1eee4;padding:4px;border-radius:12px}
.teacher-nav .ap-link{padding:9px 17px;font-size:13px}.teacher-nav .current{background:#234e42;color:#fffdf4}.teacher-nav .current:hover{background:#2d6152}
.teacher-bar .signout{font-size:12px;font-weight:600;color:#52665c}
.teacher-home,.classroom-page,.teacher-book-page,.teacher-library.library-page{background:#f7f3e9;color:#243e34}
.teacher-home .wrap,.classroom-page .wrap,.teacher-book-page .wrap{max-width:1200px;padding-top:32px}
.teacher-home .h-kick,.classroom-page .h-kick,.teacher-book-page .h-kick,.teacher-library .h-kick{font-size:11px;letter-spacing:.12em;color:#75603a}
.teacher-home h1,.classroom-page .t-head h1,.teacher-book-page h1,.teacher-library .library-heading h1{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em;font-weight:700;color:#23493d}
.teacher-home .btn,.classroom-page .btn,.teacher-book-page .btn,.teacher-library .btn{border-radius:10px;font-size:14px}
.teacher-home .btn.dark,.classroom-page .btn.dark,.teacher-book-page .btn.dark,.teacher-library .btn.dark{box-shadow:0 2px 0 #14382e}
.teacher-home .btn.ghost,.classroom-page .btn.ghost,.teacher-book-page .btn.ghost,.teacher-library .btn.ghost{background:#fffdf7}
.teacher-home a:focus-visible,.teacher-library a:focus-visible,.teacher-bar a:focus-visible,.classroom-page a:focus-visible{outline:3px solid #b88020;outline-offset:5px}

/* Book jackets retain a title when an image is unavailable. */
.teacher-jacket{position:relative;aspect-ratio:174/226;width:125px;flex:none;background:linear-gradient(135deg,#356557,#17392f);color:#fff2cf;border-radius:3px 7px 6px 3px;box-shadow:-6px 10px 16px #091d2370,2px 0 #d3c5a7,4px 1px #f5ebd3;isolation:isolate}
.teacher-jacket>span{display:block;padding:20px 14px;font:bold 21px/1.1 Georgia,serif;overflow-wrap:anywhere}
.teacher-jacket img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;box-shadow:none}
.teacher-jacket img[hidden]{display:none}
.teacher-jacket:after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:1;background:linear-gradient(90deg,#fff2,transparent 3%,#0004 4%,transparent 7%,transparent 97%,#fff3)}
.teacher-book-spines{display:flex;align-items:flex-end;justify-content:center;gap:5px;height:135px;width:125px;max-width:100%}
.teacher-book-spines i{height:100%;width:26px;border-radius:4px 4px 1px 1px;background:linear-gradient(90deg,#ffffff20,transparent 25%,#0002),#497b6c;box-shadow:2px 2px 4px #0004;position:relative}
.teacher-book-spines i:before,.teacher-book-spines i:after{content:'';position:absolute;left:5px;right:5px;height:2px;background:#e5ce8e70;top:14px}.teacher-book-spines i:after{top:auto;bottom:15px}
.teacher-book-spines i:nth-child(2){height:82%;background-color:#aa7d48}.teacher-book-spines i:nth-child(3){height:93%;background-color:#765e7d}.teacher-book-spines i:nth-child(4){height:72%;background-color:#b6674e}

/* The home page introduces books without hiding the classes below. */
.teacher-welcome{display:grid;grid-template-columns:minmax(0,1fr) 390px;align-items:center;gap:40px;padding:24px 32px 28px 8px;margin-bottom:28px;border-bottom:1px solid #ded6c3}
.teacher-welcome h1{font-size:49px;margin:12px 0 16px}.teacher-welcome p{font-size:16px;line-height:1.7;color:#5c6b5f;margin:0 0 23px}
.welcome-bookcase{align-self:end;position:relative;display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse at 50% 0,#467060,#1c4035 80%);border:1px solid #536a50;border-bottom:0;border-radius:100px 100px 5px 5px;padding:22px 25px 0;box-shadow:inset 0 0 0 8px #c3b58b12;min-width:0}
.bookcase-plaque{font:700 10px/1.3 Georgia,serif;letter-spacing:.15em;color:#e0cd9b;margin:6px 0 20px}
.welcome-books{display:flex;gap:22px;align-items:flex-end;justify-content:center;width:100%}.welcome-books .teacher-jacket{width:89px;transform:rotate(-5deg);transform-origin:bottom center}.welcome-books .teacher-jacket:nth-child(2){width:103px;transform:rotate(0);z-index:1}.welcome-books .teacher-jacket:nth-child(3){transform:rotate(5deg)}.welcome-books .teacher-jacket>span{font-size:15px;padding:12px 8px}
.welcome-ledge{width:calc(100% + 74px);height:20px;border-radius:2px;background:linear-gradient(#c39b62 0,#b18a54 15%,#805b35 20%,#a67b4d 80%,#62452a 100%);box-shadow:0 6px 10px #3e2b2120;position:relative}
.class-shelf-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:28px 0 18px}.class-shelf-heading h2{font:700 27px/1.2 Georgia,serif}.class-shelf-heading>span{font-size:12px;color:#637265}
.teacher-class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:32px}
.teacher-class-card{display:flex;flex-direction:column;color:#243e34;text-decoration:none;background:#fffdf7;border:1px solid #d7d0be;border-radius:16px;overflow:hidden;transition:border-color .16s,box-shadow .16s}
.teacher-class-card:hover{border-color:#56836c;box-shadow:0 6px 22px #284c3510}
.class-card-heading{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:22px 24px 18px}.class-card-heading h2{font:700 26px/1.2 Georgia,serif;margin-top:7px;overflow-wrap:anywhere}.class-card-heading>div{min-width:0}
.class-access-label{font-size:10px;font-weight:700;white-space:nowrap;color:#4d6956;background:#eaf0e7;border:1px solid #d5e0cf;border-radius:20px;padding:6px 9px}
.class-card-reading{display:grid;grid-template-columns:153px minmax(0,1fr);gap:22px;align-items:center;padding:0 24px 22px;flex:1}.class-card-reading h3{font:700 23px/1.22 Georgia,serif;margin:9px 0;color:#294d3e;overflow-wrap:anywhere}.class-card-reading p{font-size:13px;color:#617063;line-height:1.6;margin:8px 0 0}.class-card-reading .h-kick{font-size:9px}
.class-card-shelf{min-height:183px;border-radius:7px 7px 1px 1px;background:radial-gradient(ellipse at 50% 0,#486e57,#274535);display:flex;align-items:flex-end;justify-content:center;padding:18px 12px 17px;position:relative}.class-card-shelf:after{content:'';position:absolute;bottom:0;left:0;right:0;height:17px;background:linear-gradient(#c19a65,#ae8352 20%,#795738 24%,#956e43 85%,#5d422a)}.class-card-shelf .teacher-jacket{width:111px}.class-card-shelf .teacher-jacket>span{font-size:18px}
.class-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e2ddcf;padding:15px 24px;font-size:12px;color:#657365;background:#f7f7ee}.class-card-footer b{color:#285c47;font-size:12px}
.new-library-class{border:1px dashed #b9c6ad;border-radius:16px;padding:25px 28px;background:#f0f2e7;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.class-add-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #b7c3ab;border-radius:50%;color:#477052;font-size:24px;margin-bottom:14px}
.new-library-class h2{font:700 25px/1.2 Georgia,serif}.new-library-class p{font-size:13px;color:#62715e;margin:9px 0 17px}.new-library-class label{font-size:12px;font-weight:700;color:#52694f}.new-library-class .nickin{width:100%;text-align:left;font-size:15px;padding:11px 12px;margin-top:7px;border:1px solid #bbc9b2;border-radius:8px;background:#fffef8;min-width:0}.new-library-class .seatsel{margin:12px 0}.new-library-class .seatsel input{width:70px;font-size:14px;padding:6px 9px;border-radius:6px;border:1px solid #bbc9b2;background:#fffef8;color:#243e34;margin-left:9px}
.teacher-home .school-access.approved{background:#eef1e8;border-color:#d7ddcd}.teacher-home .school-access.approved h2{font-size:19px}.teacher-home .school-access.approved p{font-size:13px}

/* Teachers browse the same wood shelves, on a lighter page. */
.teacher-library .library-heading{margin-top:10px;align-items:center}.teacher-library .library-heading h1{font-size:43px}.teacher-library .library-heading p{color:#627164;max-width:680px;line-height:1.65}.teacher-library .library-heading>a{flex-shrink:0}
.teacher-library-note{display:flex;gap:22px;flex-wrap:wrap;margin:0 0 24px;border-top:1px solid #ded6c5;border-bottom:1px solid #ded6c5;padding:15px 0;color:#536c58;font-size:12px}.teacher-library-note span{display:flex;align-items:center;gap:9px}.teacher-library-note span:before{content:'✦';color:#9a793a;font-size:13px}
.teacher-library .search-books{background:#fffef9;border-color:#c8cdbd;color:#55715e}.teacher-library .search-books input{color:#263f32}.teacher-library .search-books input::placeholder{color:#6f796b}.teacher-library .genre-select{color:#5f705f}.teacher-library .genre-select select{background:#fffef9;border-color:#c8cdbd;color:#294735}
.teacher-library .library-tabs button{color:#52694f}.teacher-library .library-tabs button.on{background:#285440;color:#fff9e9}.teacher-library .library-tabs button:hover:not(.on){background:#ebeede;border-color:#bec9ad}.teacher-library .library-count{color:#68755f}
.teacher-library .shelf-heading h2{color:#284c39;font-family:Georgia,serif;font-size:27px}.teacher-library .shelf-heading h2 small{color:#6f795f}.teacher-library .shelf-heading p{color:#69755f}.teacher-library .shelf-arrows button{color:#2c583f;background:#fffcf3;border-color:#bcc8ad}.teacher-library .shelf-arrows button:disabled{opacity:.4}
.teacher-library .wood-shelf{background:linear-gradient(to bottom,transparent 0,transparent calc(var(--book-h) + 24px),#bc945e calc(var(--book-h) + 24px),#916e45 calc(var(--book-h) + 27px),#795635 calc(var(--book-h) + 42px),#5d4128 calc(var(--book-h) + 46px),#f7f3e9 calc(var(--book-h) + 50px)),repeating-linear-gradient(90deg,transparent 0,transparent 203px,#0d080630 204px,#f2cc8a08 205px,transparent 206px),linear-gradient(180deg,#302318,#694f32 32%,#3b2b1c 68%);box-shadow:inset 0 1px #9b7a50;scrollbar-color:#9b805b #e9e2d2;padding-bottom:16px}
.teacher-library .book-name{color:#2b4d39;font-size:14px}.teacher-library .book-name:hover{color:#815d20}.teacher-library .book-state,.teacher-library .member-preview .book-state{color:#67745f}.teacher-library .teacher-shelf-link{display:inline-flex;align-items:center;font-size:12px;font-weight:750;text-decoration:none;color:#265b40;background:#e6ecde;border:1px solid #ccd6bf;border-radius:7px;padding:8px 10px;margin-top:4px;min-height:36px}.teacher-library .teacher-shelf-link:hover{background:#d8e4ce}
.teacher-library .library-empty{border-color:#b8c5a8}.teacher-library .library-empty p{color:#62715b}
.teacher-library .teacher-shelf-link{gap:5px}

/* The assigned book anchors the class page; counts remain literal and readable. */
.classroom-page .t-head h1{font-size:38px}.classroom-page .t-head{padding-bottom:5px}
.class-assignment.featured-reading{display:grid;grid-template-columns:215px minmax(0,1fr);gap:28px;padding:26px 30px 20px;background:#fffdf6;border-color:#d8d3c1;box-shadow:0 3px 0 #ece5d4;align-items:center}
.featured-bookstand,.teacher-preview-bookstand{position:relative;display:flex;flex-direction:column;align-items:center;align-self:stretch;justify-content:center;background:radial-gradient(ellipse at 50% 0,#4c6e57,#244433);border-radius:68px 68px 6px 6px;padding:23px 20px 38px;min-width:0}
.featured-bookstand:after,.teacher-preview-bookstand:after{content:'';position:absolute;left:0;right:0;bottom:31px;height:15px;background:linear-gradient(#c69e66,#ae8550 17%,#80603b 22%,#997247 85%,#674729)}
.featured-bookstand>span,.teacher-preview-bookstand>span{position:absolute;bottom:11px;font-size:8px;letter-spacing:.1em;font-weight:750;color:#e3d4ad;text-align:center;padding:0 8px}
.featured-bookstand .teacher-jacket{width:135px}.featured-bookstand>a{display:block;text-decoration:none}.featured-bookstand .teacher-book-spines{height:165px;margin-bottom:8px}
.featured-reading-copy{min-width:0}.featured-reading h2{font:700 36px/1.13 Georgia,serif;letter-spacing:-.02em;margin:11px 0 12px;color:#234c39}.featured-reading .featured-hook{font-size:14px;line-height:1.65;color:#596b59;margin:0 0 13px;max-width:640px}.featured-reading .featured-instructions{font-size:12px;color:#6b775f}.featured-reading .class-actions{margin-bottom:0}.featured-reading .class-actions .linkbtn{font-size:12px;color:#66705e}
.assignment-progress{grid-column:1/-1;border-top:1px solid #e2decd;padding-top:3px}.featured-reading .assignment-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px 0}.assignment-stat{font-size:12px;color:#65715c;display:flex;align-items:baseline;gap:5px}.assignment-stat b{color:#365740;font-size:25px}.assignment-stat.finished b{color:#24714f}.featured-reading small{font-size:11px;color:#718068;max-width:none}
.classroom-page .workspace-controls{margin-top:28px}.classroom-page .workspace-controls nav,.classroom-page .time-filters{background:#fffdf6;border-color:#d5d9c7}.classroom-page .workspace-controls nav button{font-size:13px}.classroom-page .workspace-summary span{background:#fffef9}.classroom-page .inbox-assignment-note{background:#ecefe3;border:1px solid #d3ddc6;border-radius:10px;padding:15px 18px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}.classroom-page .inbox-assignment-note .linkbtn{margin-left:auto}
.teacher-book-hero{background:#fffdf6;border:1px solid #ded6c3;border-radius:18px;padding:28px 32px;gap:36px}.teacher-preview-bookstand{width:215px;min-height:250px;flex:none}.teacher-preview-bookstand .teacher-jacket{width:145px}.teacher-book-hero>div:last-child{min-width:0}.teacher-book-hero h1{font-size:42px}.teacher-book-hero p{font-size:15px}.teacher-book-hero .workspace-note{font-size:12px;margin-bottom:0}
.teacher-question-heading h2{font:700 27px/1.2 Georgia,serif;color:#2b4c38}

/* The story picker and assignment dialog share the teacher palette. */
.orthos-dialog.teacher-dialog{background:#fffdf6;color:#294735;border-color:#c6c7ae;box-shadow:0 22px 90px #112d3160}
.teacher-dialog::backdrop{background:#132b28ae}.teacher-dialog .dialog-close{color:#315c42;background:#e9eee1}.teacher-dialog .h-kick{color:#81652c}.teacher-dialog h2{font-family:Georgia,serif;color:#244a35}.teacher-dialog p,.teacher-dialog .assignment-dialog p{color:#586c55}.teacher-dialog .version-note{border-color:#d6dfc8}.teacher-dialog .version-note span{color:#66775d}.teacher-dialog .btn{font-size:14px;border-radius:10px}.teacher-dialog .peek-cover img{box-shadow:6px 10px 23px #27443630}.teacher-dialog .peek-actions .btn{font-size:12px}

@media(max-width:1000px){.teacher-space-label{display:none}.teacher-welcome{grid-template-columns:minmax(0,1fr) 300px;gap:25px;padding-right:12px}.welcome-bookcase{padding-inline:16px}.welcome-books{gap:14px}.welcome-books .teacher-jacket{width:71px}.welcome-books .teacher-jacket:nth-child(2){width:86px}.welcome-ledge{width:calc(100% + 48px)}.class-card-reading{grid-template-columns:117px minmax(0,1fr);gap:17px;padding-inline:19px}.class-card-shelf{min-height:159px}.class-card-shelf .teacher-jacket{width:89px}.class-card-heading{padding-inline:19px}.class-card-heading h2{font-size:24px}.class-access-label{font-size:9px}.class-card-footer{padding-inline:19px}.teacher-class-grid{gap:18px}.teacher-book-hero{gap:25px}.class-assignment.featured-reading{gap:23px;grid-template-columns:185px minmax(0,1fr)}}
@media(max-width:720px){.teacher-bar{padding:9px 16px;gap:9px}.teacher-bar .ap-brand{font-size:14px;margin-right:auto}.teacher-bar .ap-sp{display:none}.teacher-nav{order:3;flex:1}.teacher-nav .ap-link{flex:1;text-align:center;padding:8px 12px;font-size:12px}.teacher-bar .signout{order:4;margin-left:auto;padding-inline:8px}.teacher-home .wrap,.classroom-page .wrap,.teacher-book-page .wrap{padding-top:23px}.teacher-welcome{grid-template-columns:minmax(0,1fr) 220px;gap:18px;padding:8px 9px 26px 0}.teacher-welcome h1{font-size:36px}.teacher-welcome p{font-size:13px}.teacher-welcome .btn{font-size:12px;padding:12px 14px}.teacher-welcome .h-kick{font-size:9px}.welcome-books{gap:10px}.welcome-books .teacher-jacket{width:52px}.welcome-books .teacher-jacket:nth-child(2){width:65px}.welcome-bookcase{padding:22px 13px 0}.bookcase-plaque{font-size:8px;letter-spacing:.1em}.welcome-books .teacher-jacket>span{font-size:11px;padding:8px 4px}.welcome-ledge{width:calc(100% + 40px);height:15px}.teacher-class-grid{grid-template-columns:1fr}.class-card-reading{grid-template-columns:128px minmax(0,1fr)}.class-card-shelf .teacher-jacket{width:98px}.class-card-reading h3{font-size:25px}.class-card-heading h2{font-size:27px}.new-library-class{padding:22px}.class-add-icon{display:none}.class-shelf-heading h2{font-size:24px}.class-shelf-heading{gap:10px}.class-shelf-heading>span{font-size:11px}.teacher-library .library-heading h1{font-size:33px}.teacher-library .library-heading{align-items:flex-start}.teacher-library .library-heading>a{display:none}.teacher-library-note{gap:11px;font-size:11px;flex-direction:column}.teacher-library .shelf-heading h2{font-size:23px}.teacher-library .teacher-shelf-link{font-size:11px;padding:8px}.teacher-library .book-name{font-size:13px}.class-assignment.featured-reading{grid-template-columns:140px minmax(0,1fr);padding:22px 20px 18px;gap:20px}.featured-bookstand{padding:20px 12px 38px;border-radius:50px 50px 6px 6px;align-self:start}.featured-bookstand .teacher-jacket{width:99px}.featured-bookstand>span{font-size:7px}.featured-reading h2{font-size:29px}.featured-reading .featured-hook{font-size:13px}.featured-reading .class-actions{grid-column:1/-1;gap:9px}.teacher-book-hero{padding:22px;gap:22px}.teacher-preview-bookstand{width:140px;min-height:203px;padding:20px 12px 38px;border-radius:50px 50px 6px 6px;align-self:start}.teacher-preview-bookstand .teacher-jacket{width:103px}.teacher-preview-bookstand>span{font-size:7px}.teacher-book-hero h1{font-size:32px}.teacher-book-hero .class-actions .btn{font-size:12px;padding:12px 14px}}
@media(max-width:500px){.teacher-welcome{grid-template-columns:minmax(0,1fr) 115px;gap:15px;align-items:center}.teacher-welcome h1{font-size:34px;margin:12px 0}.teacher-welcome p{font-size:13px;margin-bottom:19px}.teacher-welcome .h-kick{font-size:8px;line-height:1.6;max-width:190px}.welcome-bookcase{border-radius:55px 55px 4px 4px;padding:25px 10px 0;align-self:center}.welcome-books .teacher-jacket{display:none}.welcome-books .teacher-jacket:first-child{display:block;width:76px;transform:rotate(-3deg)}.welcome-books .teacher-jacket>span{font-size:14px;padding:12px 8px}.bookcase-plaque{display:none}.welcome-ledge{width:calc(100% + 34px);height:12px}.class-shelf-heading{align-items:flex-start;flex-direction:column;gap:7px}.class-card-reading{grid-template-columns:106px minmax(0,1fr);gap:17px;padding:0 18px 20px}.class-card-heading{gap:9px;padding:20px 18px 18px}.class-card-heading h2{font-size:25px}.class-card-shelf{min-height:148px}.class-card-shelf .teacher-jacket{width:79px}.class-card-shelf .teacher-jacket>span{font-size:14px;padding:12px 7px}.class-card-reading h3{font-size:23px}.class-card-reading p{font-size:12px}.class-card-footer{padding:14px 18px;gap:10px;font-size:10px}.class-card-footer b{font-size:11px}.class-access-label{white-space:normal;max-width:78px;text-align:center;line-height:1.5}.classroom-page .t-head h1{font-size:33px}.class-assignment.featured-reading{grid-template-columns:1fr;gap:20px;padding:22px 18px 16px}.featured-bookstand{width:100%;min-height:0;flex-direction:row;border-radius:12px 12px 3px 3px;padding:20px 20px 34px;background:radial-gradient(ellipse at 50% 0,#55745c,#294432)}.featured-bookstand .teacher-jacket{width:110px}.featured-bookstand>span{font-size:8px}.featured-bookstand .teacher-book-spines{height:104px}.featured-reading .featured-hook{font-size:13px}.featured-reading h2{font-size:31px}.featured-reading .class-actions .btn{font-size:12px;padding:11px 13px}.featured-reading .assignment-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px}.assignment-stat b{font-size:23px}.teacher-book-hero{flex-direction:column;padding:22px 20px}.teacher-preview-bookstand{width:100%;min-height:0;border-radius:12px 12px 3px 3px;padding-top:20px}.teacher-preview-bookstand .teacher-jacket{width:120px}.teacher-preview-bookstand>span{font-size:8px}.teacher-book-hero h1{font-size:34px}.teacher-question-heading h2{font-size:23px}.teacher-question-heading span{font-size:10px;padding:6px 8px}.teacher-library .library-heading h1{font-size:32px}.teacher-library .library-heading p{font-size:13px}.teacher-library .search-books input{font-size:16px}.classroom-page .inbox-assignment-note .linkbtn{margin-left:0}}
@media(max-width:720px){.teacher-bar .ap-brand{flex:1;min-width:0}.teacher-bar .signout{order:0;flex:none;margin-left:0}.teacher-nav{order:3;flex-basis:100%;width:100%}.teacher-nav .ap-link{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.teacher-class-card{transition:none}}
