@media screen {
  body.teen-edition,
  body.studio-shell {
    --blue: #4558a3;
    --sky: #eef0f8;
    --bg: #f6f7fa;
    --ink: #25354b;
    --muted: #617086;
    background: var(--bg);
  }
  body.studio-shell[data-theme="simple"] {
    --blue: #4558a3;
    --sky: #eef0f8;
  }
  body.teen-edition #sidebar {
    background: #fff;
  }
  body.teen-edition .brand small {
    font-size: 9px;
    letter-spacing: 1px;
  }
  body.teen-edition .brand-icon {
    background: #eceffa;
    color: #4a5fa5;
    border-radius: 11px;
  }
  body.teen-edition .primary {
    background: var(--blue);
    border-color: var(--blue);
  }
  body.teen-edition .pill {
    font-size: 12px !important;
    border-radius: 6px;
  }
  body.teen-edition .studio-welcome {
    background: #f0f2fa;
    border-color: #e0e5f1;
  }
  body.teen-edition .parent-summary,
  body.teen-edition .studio-profile-hero {
    background: #f0f2f8;
    border-color: #e1e5f0;
  }
  .teen-intro.welcome-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #edf0f9;
    border: 1px solid #dfe4f1;
    border-radius: 18px;
    min-height: 0;
    padding: 30px 34px;
    margin-bottom: 24px;
  }
  .teen-intro h2 {
    font-size: 31px;
    line-height: 1.4;
    color: #273d65;
    letter-spacing: -0.8px;
    margin: 12px 0;
  }
  .teen-intro p {
    font-size: 16px;
    color: #647590;
    margin: 0;
    max-width: 680px;
  }
  .teen-intro-mark {
    display: grid;
    place-items: center;
    flex: 0 0 75px;
    width: 75px;
    height: 75px;
    border-radius: 20px;
    background: #fff;
  }
  .teen-intro-mark > .ui-icon {
    width: 40px;
    height: 40px;
  }
  .teen-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 24px;
  }
  .teen-workspace > .section-title {
    margin-bottom: 20px;
  }
  .teen-focus {
    border: 1px solid #d9dfed;
    border-radius: 18px;
    background: white;
    padding: 26px;
  }
  .teen-focus-heading {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
  }
  .teen-subject {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    color: #65738b;
  }
  .teen-subject .ui-icon {
    width: 19px;
    height: 19px;
  }
  .teen-focus h2 {
    font-size: 28px;
    line-height: 1.4;
    margin: 22px 0 12px;
  }
  .teen-focus p {
    font-size: 18px;
    color: #52647c;
    line-height: 1.7;
  }
  .teen-session-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 15px;
    color: #65738b;
    margin: 20px 0;
  }
  .teen-session-meta .ui-icon {
    width: 19px;
    height: 19px;
  }
  .teen-focus .actions {
    margin: 22px 0 0;
  }
  .teen-list-title {
    margin: 28px 0 18px;
  }
  .teen-list-title > span {
    font-size: 14px;
    color: #64758b;
  }
  .teen-agenda {
    background: white;
    border: 1px solid #e0e6ef;
    border-radius: 16px;
    overflow: hidden;
  }
  .teen-task.day-task {
    display: flex !important;
    gap: 18px;
    padding: 20px !important;
    border: 0;
    border-bottom: 1px solid #edf0f5;
    border-radius: 0;
    margin: 0;
    min-height: 90px;
    box-shadow: none;
    background: white;
    align-items: center;
  }
  .teen-task:last-child {
    border-bottom: 0;
  }
  .teen-task-time {
    flex: 0 0 75px;
    font-size: 16px;
    color: #526782;
    text-align: left;
  }
  .teen-task-time small {
    display: block;
    font-size: 13px;
    color: #8290a2;
    margin-top: 6px;
  }
  .teen-task .day-task-copy {
    min-width: 0;
    flex: 1;
  }
  .teen-task .day-task-copy strong {
    font-size: 18px;
  }
  .teen-task .day-task-copy > span {
    font-size: 13px;
    color: #75829a;
    margin-top: 6px;
  }
  .teen-tools {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 58px;
  }
  .teen-tools > section {
    border: 1px solid #e0e6ef;
    border-radius: 16px;
    background: white;
    padding: 22px;
  }
  .teen-tools h3 {
    font-size: 19px;
    margin: 10px 0;
  }
  .teen-tools p {
    font-size: 15px;
    line-height: 1.8;
    color: #6b7b90;
  }
  .teen-tools button {
    font-size: 14px;
  }
  .teen-empty {
    padding: 26px;
  }
  .teen-edition .welcome-illustration,
  .teen-edition .spark {
    display: none;
  }
  .teen-edition .achievement-garden {
    background: #f0f2f9;
    min-height: 0;
  }
  .teen-edition .achievement-garden h2 {
    font-size: 26px;
  }
  .teen-edition .garden-mark {
    width: 60px;
    height: 60px;
  }
  .teen-edition .thinking-jump {
    background: #eff2f8;
  }
  .teen-edition .thinking-panel {
    background: #fafbfd;
  }
  .teen-edition .skill-phases button[aria-pressed="true"] {
    background: #eef0f8;
    border-color: #6477b7;
  }
  .teen-edition .week-summary {
    background: #eff1f8;
  }
  .teen-edition .weekly-board .week-day.today {
    background: #f5f6fc;
    border-color: #aab7d9;
  }
  .teen-edition .task-edit-toolbar {
    background: #f1f3f9;
  }
  .teen-edition .criteria {
    background: #f2f4f9;
  }
  .teen-edition .timer strong {
    font-size: 46px;
  }
  .teen-edition .reward-art {
    height: 80px;
  }
  .teen-edition .side-bottom {
    background: #f3f5fa;
    border-color: #e0e6ef;
  }
  @media (max-width: 1150px) {
    .teen-workspace {
      grid-template-columns: 1fr;
    }
    .teen-tools {
      display: grid;
      grid-template-columns: 1fr 1fr;
      padding-top: 0;
    }
    .teen-intro h2 {
      font-size: 28px;
    }
  }
  @media (max-width: 760px) {
    .teen-intro.welcome-strip {
      padding: 24px 20px;
      gap: 15px;
    }
    .teen-intro h2 {
      font-size: 25px;
    }
    .teen-intro-mark {
      display: none;
    }
    .teen-intro .eyebrow {
      font-size: 10px;
      line-height: 1.8;
    }
    .teen-focus {
      padding: 22px 18px;
    }
    .teen-focus-heading {
      flex-wrap: wrap;
    }
    .teen-focus h2 {
      font-size: 25px;
    }
    .teen-tools {
      grid-template-columns: 1fr;
    }
    .teen-task.day-task {
      gap: 12px;
      padding: 18px 14px !important;
      flex-wrap: wrap;
    }
    .teen-task-time {
      flex-basis: 65px;
      font-size: 14px;
    }
    .teen-task .day-task-copy {
      flex: 1 1 calc(100% - 90px);
    }
    .teen-task > .pill {
      margin-left: 77px;
    }
    .teen-focus .actions button {
      font-size: 16px;
    }
    .teen-intro p {
      font-size: 16px;
    }
    .teen-workspace .section-title h2 {
      font-size: 22px;
    }
  }
}
@media screen {
  .teen-edition .auth-story {
    background: #edf0f9;
    color: #30466d;
  }
  .teen-edition .auth-story h2 {
    color: #2b4065;
  }
  .teen-edition .auth-garden {
    background: #f9faff;
    border: 1px solid #dbe2f1;
  }
  .teen-edition .auth-mark {
    background: #edf0f9;
  }
  .teen-edition .badge > span {
    font-size: 26px;
  }
}
@media screen {
  .teen-home .studio-metrics .live-day-points {
    display: block;
    background: #fff;
    margin: 0;
    border: 1px solid #e0e6ef;
    box-shadow: none;
  }
  .teen-home .studio-metrics .live-day-points strong {
    font-size: 34px;
  }
  .teen-home .studio-metrics .live-day-points b {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #536b8a;
    margin-top: 7px;
  }
}
@media screen {
  .teen-checkin {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
  }
  .teen-checkin button {
    font-size: 13px;
    padding: 8px 12px;
    min-height: 48px;
  }
  .teen-checkin button[aria-pressed="true"] {
    background: #edf0f9;
    border-color: #a8b7d9;
    color: #40578e;
  }
}
