body[data-hornet-page="tooltime"] {
  --tooltime-paper:#fffdf7;
  --tooltime-cream:#faf5e9;
  --tooltime-story:#fdf8ec;
  --tooltime-gold:#dca934;
  --tooltime-rust:#873d16;
  --tooltime-sage:#edf3e7;
  --tooltime-ink:#302d29;
  --tooltime-muted:#594f42;
  --tooltime-line:#ded0b7;
  --tooltime-radius:16px;
  --tooltime-pad:clamp(14px,2.1vw,28px);
  background:#f8f3e7;
  color:var(--tooltime-ink);
}
body[data-hornet-page="tooltime"]:not(.board-view) .tooltime-masthead,
body[data-hornet-page="tooltime"]:not(.board-view) main {
  box-sizing:border-box;
  width:min(100% - 28px,1400px);
  max-width:none;
  margin-inline:auto;
}
body[data-hornet-page="tooltime"].lesson-slides-active main {
  display:block;
  padding:0 0 28px;
  border:0;
  box-shadow:none;
  background:transparent;
  min-width:0;
  margin-top:14px;
}
body[data-hornet-page="tooltime"] .tooltime-navigation {
  box-sizing:border-box;
  max-width:none;
  background:#292825;
  border-bottom:2px solid var(--tooltime-gold);
  color:#fffaf0;
  padding:6px var(--tooltime-pad);
  gap:4px 18px;
}
.tooltime-navigation .brand span {display:flex;align-items:center;gap:9px}
.tooltime-navigation nav a {min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
body[data-hornet-page="tooltime"]:not(.board-view) .tooltime-masthead>.tooltime-brand-strip {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  margin-top:12px;
  padding:12px var(--tooltime-pad);
  background:#faefd6;
  border:1px solid var(--tooltime-line);
  border-radius:var(--tooltime-radius);
}
.tooltime-brand-strip h1 {margin:0;font-size:clamp(2rem,4vw,3.25rem);line-height:1.04;text-wrap:initial}
.tooltime-brand-strip p {margin:5px 0 0;color:var(--tooltime-muted);font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.3}
.tooltime-brand-strip img {display:block;width:clamp(61px,8.5vw,96px);height:auto;object-fit:contain}
body[data-hornet-page="tooltime"] .google-slide-lesson {
  box-sizing:border-box;
  max-width:none;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
body[data-hornet-page="tooltime"] .google-slide-lesson>header,
body[data-hornet-page="tooltime"] .google-slide-lesson .routine-story-first,
body[data-hornet-page="tooltime"] .google-slide-lesson .today-slides,
body[data-hornet-page="tooltime"] .google-slide-lesson .google-completion {
  box-sizing:border-box;
  min-width:0;
  background:var(--tooltime-paper);
  border:1px solid var(--tooltime-line);
  border-radius:var(--tooltime-radius);
  padding:var(--tooltime-pad);
  margin:0 0 14px;
  box-shadow:0 4px 14px #44361909;
}
.google-slide-lesson .selected-lesson-title {
  margin:3px 0 6px;
  font-family:Georgia,serif;
  font-size:clamp(1.42rem,3vw,2.3rem);
  line-height:1.14;
  text-wrap:initial;
}
.google-slide-lesson .google-lesson-meta {color:#475842;font-weight:700;font-size:1rem}
.google-slide-lesson .routine-week {margin:6px 0;color:var(--tooltime-muted)}
.google-slide-lesson .lesson-learning-goal {margin:8px 0;color:#354b31;font-size:clamp(1.1rem,2vw,1.55rem)}
.google-slide-lesson .change-lesson {margin:3px 0 0}
.google-slide-lesson .change-lesson>summary,
.google-slide-lesson .teacher-details>summary {min-height:44px;padding:10px 0;color:var(--tooltime-rust)}
.google-slide-lesson .change-lesson .teaching-picker {min-width:0;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px!important;gap:10px;background:var(--tooltime-cream);border-radius:12px}
.google-slide-lesson .change-lesson .teaching-picker label {min-width:0}
.google-slide-lesson .change-lesson .teaching-picker select {min-width:0;width:100%;min-height:46px;font-size:1rem}
.google-slide-lesson .change-lesson :is(.home-picker-title,.home-day-buttons) {display:none!important}
body[data-hornet-page="tooltime"] .google-slide-lesson .routine-story-first {background:var(--tooltime-story);border-top:3px solid var(--tooltime-gold)}
.google-slide-lesson .routine-story-first .tooltime-story-reminder {margin:0 0 12px;padding:0;background:transparent;border:0}
.google-slide-lesson .routine-story-first .tooltime-story-reminder h2 {margin:0;font-family:Georgia,serif;font-size:clamp(1.25rem,2.4vw,1.85rem)}
.google-slide-lesson .story-reading-time {color:var(--tooltime-muted);font-size:.97rem}
.google-slide-lesson .routine-story-first .tooltime-story {max-width:100%;width:auto;margin-inline:0}
.google-slide-lesson .routine-story-first .tooltime-story>p {margin-inline:0!important;text-align:left}
.google-slide-lesson .routine-story-first .tooltime-story h4 {margin:0 0 10px;font-size:clamp(1.2rem,2.4vw,1.8rem);color:#713a1a;text-align:left}
.google-slide-lesson .routine-story-first .tooltime-story>p,
.google-slide-lesson .routine-story-first .story-follow-up p {
  max-width:68ch;
  font-size:clamp(1.1rem,2vw,1.45rem);
  line-height:1.48;
  margin:0 0 .65em;
}
.google-slide-lesson .routine-story-first .story-follow-up {margin:14px 0 0;padding:12px 16px;background:#f2eddb;border:0;border-radius:10px}
.google-slide-lesson .routine-story-first .story-follow-up h3 {margin:0 0 5px;font-size:1rem}
.google-slide-lesson .routine-story-first .story-follow-up p:last-child {margin-bottom:0}
.google-slide-lesson .routine-story-first .story-book-illustration {width:min(100%,295px);margin:8px 0 14px!important}
@media(min-width:900px) {
  .google-slide-lesson .routine-story-first .story-book-illustration {float:right;margin:0 0 12px 24px!important}
  .google-slide-lesson .routine-story-first .tooltime-story {display:flow-root}
}
.google-slide-lesson .story-book-illustration img {display:block;width:100%;height:auto;object-fit:contain}
body[data-hornet-page="tooltime"] .google-slide-lesson .today-slides {border-top:3px solid var(--tooltime-rust)}
.google-slide-lesson .today-slides iframe {margin:12px auto 0;aspect-ratio:16/9}
.google-slide-lesson .today-slides h2 {font-family:Georgia,serif;font-size:clamp(1.25rem,2.4vw,1.85rem)}
.google-slide-lesson .today-slides .present-primary {background:var(--tooltime-rust);padding:8px 15px;font-size:1.05rem;min-height:46px}
.google-slide-lesson .today-slides .present-primary:hover {background:#682b0e}
body[data-hornet-page="tooltime"] .google-slide-lesson .today-slides:is(:fullscreen,.slides-expanded) {max-width:none;border:none;border-radius:0;margin:0;overflow:auto}
.google-slide-lesson .today-slides:is(:fullscreen,.slides-expanded) iframe {width:min(100%,calc((100dvh - 145px)*16/9));margin-top:10px}
body[data-hornet-page="tooltime"] .google-slide-lesson .google-completion {background:var(--tooltime-sage);border-color:#cbd8c5}
body[data-hornet-page="tooltime"] .google-slide-lesson .google-completion .logging-controls {margin-bottom:12px;max-width:420px}
.google-slide-lesson .google-completion [data-complete]:not(:disabled) {background:#355333}
.google-slide-lesson .google-completion [data-complete]:not(:disabled):hover {background:#294127}
.google-slide-lesson .teacher-details {border:1px solid var(--tooltime-line);border-radius:12px;background:var(--tooltime-paper);padding:0 var(--tooltime-pad)}
.google-slide-lesson .teacher-details:open {padding-bottom:14px}
.google-slide-lesson .teacher-details>summary {font-size:1.05rem}
.google-slide-lesson .teacher-details>.classroom-spotlight {margin:6px 0 12px}
.google-slide-lesson .teacher-details>details {margin-block:6px;min-width:0}
.google-slide-lesson .teacher-details :is(.participation-table,.board-table-wrap) {overflow-x:auto;max-width:100%}
body[data-hornet-page="tooltime"] :is(a,button,summary,select):focus-visible {outline:3px solid #506d42;outline-offset:3px}
@media(max-width:600px) {
  body[data-hornet-page="tooltime"]:not(.board-view) :is(.tooltime-masthead,main) {width:calc(100% - 18px)}
  body[data-hornet-page="tooltime"] .tooltime-navigation nav {gap:14px}
  .google-slide-lesson .today-slides .slides-toolbar {align-items:start}
  .google-slide-lesson .today-slides :is(.present-primary,.slides-fallback) {flex:0 1 auto;text-align:left;justify-content:start}
  .google-slide-lesson .change-lesson .teaching-picker {grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce) {
  body[data-hornet-page="tooltime"],body[data-hornet-page="tooltime"] * {scroll-behavior:auto!important}
}
@media print {.tooltime-brand-strip,.teacher-details {display:none!important}}

.google-slide-lesson .today-slides .story-review-access {
  background:var(--tooltime-cream);
  padding:4px 12px;
  border-radius:8px;
}
.google-slide-lesson .today-slides .story-review-access a {
  color:var(--tooltime-rust);
  font-weight:700;
  padding:0;
}

/* Keep the teaching controls comfortable on touch displays. */
.slides-toolbar button,
.slides-toolbar a,
.change-lesson select {
  min-height: 44px;
}
.tooltime-navigation a {
  min-height: 44px;
  align-content: center;
}
