@media screen {
  body[data-hornet-page="tooltime"]:not(.board-view) {
    --launcher-paper: #FFFDF8;
    --launcher-orange: #D96A1D;
    --launcher-honey: #FFF4D6;
    --launcher-ink: #2F2A24;
    background: #F7F1E7;
    padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
  }

  body[data-hornet-page="tooltime"]:not(.board-view) .tooltime-masthead {
    padding-top: env(safe-area-inset-top);
  }

  body[data-hornet-page="tooltime"]:not(.board-view) .tooltime-masthead > .tooltime-brand-strip {
    margin-top: 8px;
    padding-block: 6px;
  }

  .tooltime-brand-strip #tooltime-title {
    font-size: clamp(1.45rem, 4.5vw, 2.15rem);
  }

  .tooltime-brand-strip img {
    width: clamp(42px, 8vw, 62px);
  }

  body[data-hornet-page="tooltime"].lesson-slides-active main {
    margin-top: 8px;
  }

  body[data-hornet-page="tooltime"] .google-slide-lesson > header,
  body[data-hornet-page="tooltime"] .google-slide-lesson .today-slides:not(:fullscreen, .slides-expanded) {
    background: var(--launcher-paper);
    padding: clamp(12px, 2vw, 22px);
    box-shadow: none;
  }

  body[data-hornet-page="tooltime"] .google-slide-lesson > header {
    border-radius: 16px 16px 0 0;
    border-bottom: 0;
    margin: 0;
    padding-bottom: 4px;
  }

  body[data-hornet-page="tooltime"] .google-slide-lesson .today-slides:not(:fullscreen, .slides-expanded) {
    border-radius: 0 0 16px 16px;
    border-top: 0;
    margin-top: 0;
    padding-top: 6px;
  }

  .google-slide-lesson > header .google-lesson-meta {
    margin: 0;
    padding: 0;
    font-size: .88rem;
    text-transform: uppercase;
    letter-spacing: .055em;
  }

  .google-slide-lesson > header p.selected-lesson-title {
    margin: 4px 0 10px;
    font: 600 .98rem/1.25 "Source Sans 3", Arial, sans-serif;
  }

  .google-slide-lesson > header .lesson-learning-goal {
    color: var(--launcher-ink);
    font: 700 clamp(1.4rem, 4.25vw, 2.2rem)/1.15 Georgia, serif;
    margin: 0;
  }

  .google-slide-lesson > header .launcher-week {
    padding: 0;
    margin: 5px 0 10px;
    color: #514b40;
    font-size: .95rem;
    line-height: 1.25;
  }

  .launcher-week:empty { display: none; }

  .google-slide-lesson > header .lesson-grade-switch {
    display: inline-grid;
    grid-template-columns: repeat(4, minmax(44px, 1fr));
    gap: 6px;
    width: min(245px, 100%);
    vertical-align: middle;
  }

  .lesson-grade-switch button {
    min-height: 44px;
    padding: 0 4px;
    border: 1px solid #DEC583;
    border-radius: 8px;
    background: var(--launcher-honey);
    color: var(--launcher-ink);
    font: 700 1.19rem/1 "Source Sans 3", Arial, sans-serif;
    cursor: pointer;
  }

  .lesson-grade-switch button[aria-pressed="true"] {
    color: white;
    background: var(--launcher-orange);
    border-color: #9D4716;
  }

  .google-slide-lesson > header .change-lesson {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    margin: 0 0 0 6px;
  }

  .google-slide-lesson > header .change-lesson[open] {
    display: block;
    margin: 5px 0 0;
  }

  .google-slide-lesson > header .change-lesson > summary {
    box-sizing: border-box;
    width: max-content;
    padding: 10px 6px;
    font-size: .98rem;
  }

  .google-slide-lesson .change-lesson :is(.home-grade-buttons, .grade-band-label, label:has(> #grade)) {
    display: none !important;
  }

  .google-slide-lesson .today-slides .slides-toolbar {
    display: flex;
    gap: 7px;
    margin: 0;
  }

  .google-slide-lesson .today-slides .present-primary {
    flex: 1 0 100%;
    justify-content: center;
    background: var(--launcher-orange);
    color: white;
    border-color: #9D4716;
    font-size: 1.2rem;
    font-weight: 700;
    min-height: 48px;
  }

  .google-slide-lesson .today-slides .present-primary:hover { background: #A74F18; }

  .google-slide-lesson .today-slides .slides-fallback {
    flex: 0 1 auto;
    justify-content: center;
    min-height: 44px;
    padding: 4px 10px;
    border: 1px solid #B98963;
    border-radius: 8px;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 650;
  }

  .lesson-slide-preview {
    position: relative;
    max-width: 980px;
    margin-inline: auto;
  }

  .lesson-slide-preview [role="status"] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 12px;
    text-align: center;
    pointer-events: none;
    background: var(--launcher-honey);
    color: var(--launcher-ink);
    border-radius: 8px;
  }

  .lesson-slide-preview [hidden] { display: none; }

  .google-slide-lesson .today-slides:is(:fullscreen, .slides-expanded) .lesson-slide-preview {
    max-width: none;
  }

  .google-slide-lesson .launcher-notes {
    padding: 0 14px;
    margin: 0 0 12px;
    border: 1px solid #DED0B7;
    border-radius: 12px;
    background: var(--launcher-paper);
  }

  .launcher-notes > summary {
    font-size: 1rem;
    min-height: 44px;
    padding: 10px 0;
  }

  .launcher-notes > p {
    margin: 0 0 10px;
    font-size: 1rem;
  }

  .launcher-question { font-weight: 700; }

  @media (max-width: 420px) {
    .tooltime-brand-strip p { display: none; }
    .google-slide-lesson > header .change-lesson {
      display: block;
      margin-left: 0;
    }
  }
}

@media screen and (max-width: 600px) {
  body[data-hornet-page="tooltime"] .google-slide-lesson.daily-routine {
    padding: 0 !important;
  }

  body[data-hornet-page="tooltime"] .google-slide-lesson .today-slides .slides-fallback {
    flex: 0 1 auto;
    width: auto;
  }
}

@media screen and (max-width: 360px) {
  body[data-hornet-page="tooltime"] .tooltime-navigation {
    padding-inline: 8px;
    column-gap: 8px;
  }

  body[data-hornet-page="tooltime"] .tooltime-navigation :is(.brand, nav a) {
    font-size: .9rem;
  }
}

@media screen {
  .google-slide-lesson > header .launcher-goal-caption {
    margin: 0 0 3px;
    color: #594f42;
    font: 700 .86rem/1.2 "Source Sans 3", Arial, sans-serif;
  }
}
