
/* Home lesson choices follow the teacher's selection order. Lesson styling is unchanged. */
.home-week-choice,#open-lesson{display:none}
body.lesson-home .teaching-picker{
 display:flex;flex-direction:column;align-items:stretch;gap:16px;
 width:100%;max-width:620px;margin:20px auto;
}
body.lesson-home .teaching-picker label{flex:none;min-width:0;width:100%}
body.lesson-home .teaching-picker select{width:100%;min-height:52px}
body.lesson-home .home-week-choice{display:grid}
body.lesson-home #open-lesson{display:block;min-height:52px;background:#f47b20;border:2px solid #b64b00;color:#202429;font-weight:700}
body.lesson-home #open-lesson:hover{background:#ffb66d}
body.lesson-home #weeks,body.lesson-home #lesson{display:none}
@media print{.home-week-choice,#open-lesson{display:none!important}}

/* The homepage is a welcoming launch surface; teaching views retain their layout. */
.tooltime-home-layout{display:contents}
.tooltime-home-welcome,.tooltime-home-resources,.home-grade-buttons{display:none}
body.lesson-home main{display:flex;flex-direction:column;padding-top:24px}
body.lesson-home .tooltime-intro{display:none}
body.lesson-home .tooltime-home-layout{
 display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
 gap:36px;align-items:center;order:0;margin-bottom:18px;
}
body.lesson-home .tooltime-home-welcome{display:flex;flex-direction:column;align-items:flex-start;padding:12px 8px}
body.lesson-home .tooltime-home-welcome h1{font-size:clamp(32px,3.6vw,44px);line-height:1.12;margin:8px 0 14px;max-width:12ch}
body.lesson-home .tooltime-home-welcome p:not(.eyebrow){font-size:20px;max-width:30ch;margin:0;line-height:1.45}
body.lesson-home .tooltime-home-welcome img{width:220px;height:255px;object-fit:contain;align-self:center;margin-top:20px}
body.lesson-home .teaching-picker{
 max-width:none;margin:0;padding:26px;gap:18px;border-radius:20px;
 border:1px solid #ddc99f;border-top:5px solid #f47b20;background:#fffdf5;
 box-shadow:0 8px 24px #59422314;
}
body.lesson-home .teaching-picker label{font-size:18px}
body.lesson-home .teaching-picker select{border:1px solid #b7a57e;background:#fffaf0;border-radius:10px}
body.lesson-home .grade-band-label{display:none!important}
body.lesson-home .home-grade-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:0;padding:0;margin:0;min-width:0}
body.lesson-home .home-grade-buttons legend{padding:0;margin-bottom:8px;font-size:18px;font-weight:700}
body.lesson-home .home-grade-buttons button{font-size:17px;line-height:1.25;min-height:58px;background:#fffaf0;border:1px solid #b7a57e;font-weight:600}
body.lesson-home .home-grade-buttons button[aria-pressed=true]{background:#ffe0ad;border:2px solid #a85413;color:#302415}
body.lesson-home #open-lesson{margin-top:2px;border-radius:10px;font-size:20px}
body.lesson-home #month-goals{order:1;max-width:100%;margin:4px 0 12px;background:#fffdf5;border:1px solid #ddc99f;border-radius:12px;padding:14px 18px}
body.lesson-home .tooltime-home-resources{display:flex;order:2;justify-content:flex-end;font-size:17px;margin:0 0 18px}
body.lesson-home .tooltime-home-resources a{padding:8px 0}
@media(max-width:700px){
 body.lesson-home main{padding:18px 16px 32px}
 body.lesson-home .tooltime-home-layout{grid-template-columns:1fr;gap:18px}
 body.lesson-home .tooltime-home-welcome{flex-direction:row;align-items:center;gap:12px;padding:0}
 body.lesson-home .tooltime-home-welcome h1{font-size:30px;max-width:14ch;margin:4px 0 8px}
 body.lesson-home .tooltime-home-welcome p:not(.eyebrow){font-size:18px}
 body.lesson-home .tooltime-home-welcome .eyebrow{margin:0}
 body.lesson-home .tooltime-home-welcome img{width:85px;height:105px;margin:0;flex:none}
 body.lesson-home .teaching-picker{padding:20px;gap:16px}
}
@media print{.tooltime-home-welcome,.tooltime-home-resources,.home-grade-buttons{display:none!important}}

body.lesson-home .tooltime-navigation a[href="scope-sequence.html"]{display:none}

/* Calm, compact launch page. Every rule is scoped away from classroom lessons. */
.home-picker-title,.home-day-buttons,.home-selection,.home-availability{display:none}
body.lesson-home{background-image:linear-gradient(#fffaf0e8,#fffaf0e8),url('assets/patterns/golden-honeycomb-v5.svg');background-size:auto,108px 124px}
body.lesson-home .tooltime-masthead{max-width:760px;margin:auto}
body.lesson-home .tooltime-navigation{background:transparent;border:0;padding:14px 24px 4px;gap:16px;color:#30363c}
body.lesson-home .tooltime-navigation .brand{font-size:16px;color:#30363c}
body.lesson-home .tooltime-navigation .brand small{display:none}
body.lesson-home .tooltime-navigation .brand b{color:#a7490c}
body.lesson-home .tooltime-navigation nav{display:none}
body.lesson-home .tooltime-navigation .tooltime-link{font-size:16px;color:#654329;margin-left:auto}
body.lesson-home main{max-width:620px;padding:12px 20px 24px;margin:auto}
body.lesson-home .tooltime-home-layout{display:block;width:100%;margin:0 0 12px}
body.lesson-home .tooltime-home-welcome{display:none}
body.lesson-home .teaching-picker{padding:20px 24px;gap:12px;border-radius:18px;border-top:4px solid #ee791b;box-shadow:0 5px 20px #5942230d}
body.lesson-home .home-picker-title{display:block;order:-1;font-size:28px;line-height:1.2;margin:0 0 2px;color:#30363c}
body.lesson-home .teaching-picker label{font-size:17px;gap:5px}
body.lesson-home .teaching-picker select{min-height:46px;padding:9px 12px;font-size:18px}
body.lesson-home .home-grade-buttons legend,body.lesson-home .home-day-buttons legend{font-size:17px;margin-bottom:6px;font-weight:600}
body.lesson-home .home-grade-buttons button{min-height:48px;font-size:17px;padding:9px 12px}
body.lesson-home .home-day-select{display:none}
body.lesson-home .home-day-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;min-width:0;border:0;padding:0;margin:0}
body.lesson-home .home-day-buttons button{min-width:0;min-height:44px;padding:8px 3px;font-size:16px;font-weight:600;border:1px solid #b7a57e;border-radius:9px;background:#fffaf0}
body.lesson-home .home-day-buttons button[aria-pressed=true]{background:#ffe0ad;border:2px solid #a85413;color:#302415}
body.lesson-home .home-selection{display:block;margin:0;padding:8px 0 0;font-size:16px;line-height:1.3;text-align:center;color:#654329}
body.lesson-home .home-availability:not([hidden]){display:block;margin:0;font-size:16px;color:#8a350c}
body.lesson-home #open-lesson{min-height:48px;font-size:19px;margin:0}
body.lesson-home #month-goals{font-size:16px;padding:10px 14px;margin:0 0 6px;border-color:#e7dbc5;background:#fffdf5}
body.lesson-home .tooltime-home-resources{justify-content:center;font-size:16px;margin:0}
body.lesson-home .tooltime-home-resources a{padding:6px}
body.lesson-home .board-toolbar{display:none!important}
@media(max-width:500px){
 body.lesson-home .tooltime-navigation{padding:12px 16px 4px;display:flex;flex-wrap:wrap}
 body.lesson-home .tooltime-navigation .brand span{margin:0}
 body.lesson-home main{padding:12px 14px 28px}
 body.lesson-home .teaching-picker{padding:18px 16px}
 body.lesson-home .home-day-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 body.lesson-home .home-day-buttons button{font-size:17px;padding:10px 5px}
 body.lesson-home .home-grade-buttons{gap:8px}
}

.home-tooltime-brand{display:none}
body.lesson-home .home-tooltime-brand{display:block;width:min(330px,90%);margin:0 auto}
body.lesson-home .home-tooltime-brand img{display:block;width:100%;height:auto;border-radius:10px}

/* Transparent homepage brand; classroom banners and lesson styles stay intact. */
body.lesson-home .home-tooltime-brand{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:12px;width:calc(100% - 40px);max-width:580px;margin:6px auto 0;padding:0;box-sizing:border-box}
body.lesson-home .home-tooltime-brand-copy{min-width:0;text-align:center}
body.lesson-home .home-tooltime-brand .home-tooltime-wordmark{width:min(100%,330px);height:auto;border-radius:0;margin:0 auto;display:block}
body.lesson-home .home-tooltime-purpose{font-size:22px;font-weight:700;line-height:1.2;margin:12px 0 0;color:#30363c}
body.lesson-home .home-tooltime-tagline{font-size:17px;font-weight:400;line-height:1.3;margin:9px 0 0;color:#654329}
body.lesson-home .home-tooltime-brand .home-tooltime-homer{width:150px;height:auto;max-height:180px;object-fit:contain;border-radius:0;display:block}
@media(max-width:600px){
 body.lesson-home .home-tooltime-brand{grid-template-columns:minmax(0,1fr) 108px;gap:10px 12px;max-width:580px;margin-top:8px}
 body.lesson-home .home-tooltime-brand-copy{display:contents}
 body.lesson-home .home-tooltime-brand .home-tooltime-wordmark{grid-column:1;grid-row:1;width:min(100%,330px);align-self:center}
 body.lesson-home .home-tooltime-brand .home-tooltime-homer{grid-column:2;grid-row:1;width:108px;max-height:130px}
 body.lesson-home .home-tooltime-purpose{grid-column:1 / -1;grid-row:2;font-size:21px;text-align:center;margin:2px 0 0}
 body.lesson-home .home-tooltime-tagline{grid-column:1 / -1;grid-row:3;font-size:17px;text-align:center;margin:0}
}
@media(max-width:500px){
 body.lesson-home .home-tooltime-brand{width:calc(100% - 28px);grid-template-columns:minmax(0,1fr) 98px}
 body.lesson-home .home-tooltime-brand .home-tooltime-homer{width:98px;max-height:118px}
}
