.isols-widget,
.isols-dashboard {
  max-width: 920px;
  margin: 0 auto;
  color: #1f2937;
  font-family: inherit;
}

/* Keep the logged-out dashboard notice centered inside desktop theme builders.
 * Mobile continues to use its existing layout without any override. */
@media (min-width: 641px) {
  .elementor-widget-shortcode:has(.isols-logged-out-dashboard-notice),
  .wp-block-shortcode:has(.isols-logged-out-dashboard-notice) {
    --container-widget-width: 100% !important;
    --container-widget-flex-grow: 0 !important;
    align-self: stretch !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .isols-widget.isols-logged-out-dashboard-notice {
    width: calc(100% - 32px);
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
  }
}

/* Cutie Pie 0.3.12: compact normal learner-dashboard summary. */
.isols-learner-dashboard-home .isols-dashboard-available-minutes {
  color: #334155;
  font-weight: 700;
}

.isols-learner-dashboard-home .isols-learner-dashboard-primary-actions {
  width: min(100%, 520px);
  padding: 16px;
}

.isols-learner-dashboard-home .isols-learner-dashboard-primary-actions .isols-actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

@media (max-width: 560px) {
  .isols-learner-dashboard-home .isols-learner-dashboard-primary-actions {
    width: 100%;
    padding: 12px;
  }

  .isols-learner-dashboard-home .isols-learner-dashboard-primary-actions .isols-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Cutie Pie Stage 3: compact one-time learner self-booking flow. */
.isols-booking-path-selector {
  margin-bottom: 20px;
}

.isols-booking-method-nav,
.isols-booking-navigation {
  margin: 0 0 18px;
}

.isols-booking-method-nav a,
.isols-booking-navigation a {
  color: #0f766e;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.isols-booking-path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.isols-booking-path-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 116px;
  padding: 18px;
  border: 2px solid #d9e2ec;
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  text-decoration: none;
}

.isols-booking-path-card:hover,
.isols-booking-path-card:focus,
.isols-booking-path-card.is-selected {
  border-color: #0f8b83;
  background: #eefaf8;
  color: #1f2937;
}

.isols-booking-path-card strong {
  font-size: 1.08rem;
}

.isols-booking-path-card span {
  line-height: 1.5;
}

.isols-cutie-pie-self-booking .isols-cutie-pie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.isols-cutie-pie-search-form {
  max-width: 760px;
}

.isols-cutie-pie-teacher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 300px));
  gap: 14px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 1242px;
  margin: 16px auto;
}

.isols-cutie-pie-teacher-card,
.isols-cutie-pie-class-summary,
.isols-cutie-pie-approved-profile {
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  background: #fff;
  padding: 18px;
}

.isols-cutie-pie-teacher-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
  height: 100%;
  padding: 12px;
  box-sizing: border-box;
}

.isols-cutie-pie-teacher-card h3 {
  margin: 10px 0 3px;
  font-size: 1.05rem;
}

.isols-cutie-pie-teacher-card p {
  margin: 3px 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.isols-cutie-pie-teacher-card .isols-cutie-pie-teacher-photo {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 12px;
  background: #f1f5f9;
}

.isols-cutie-pie-teacher-card .isols-cutie-pie-teacher-photo img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.isols-cutie-pie-teacher-intro {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  line-height: 1.4;
}

.isols-cutie-pie-teacher-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.isols-cutie-pie-teacher-card-actions .isols-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  box-sizing: border-box;
  font-size: 0.875rem;
  line-height: 1.25;
  text-align: center;
}

.isols-cutie-pie-teacher-photo img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 12px;
}

.isols-cutie-pie-review {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) 1fr;
  gap: 10px 18px;
  margin: 18px 0;
  max-width: 760px;
}

.isols-cutie-pie-review dt {
  font-weight: 700;
}

.isols-cutie-pie-review dd {
  margin: 0;
}

.isols-cutie-pie-help-form {
  margin-top: 18px;
}

.isols-cutie-pie-review-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: 760px;
}

.isols-cutie-pie-review-actions form,
.isols-cutie-pie-help-form.is-compact {
  margin: 0;
}

.isols-cutie-pie-success {
  max-width: 760px;
}

@media (max-width: 640px) {
  .isols-cutie-pie-teacher-grid {
    grid-template-columns: minmax(0, 300px);
    max-width: 300px;
    gap: 12px;
  }

  .isols-cutie-pie-review {
    grid-template-columns: 1fr;
  }

  .isols-cutie-pie-review-actions,
  .isols-cutie-pie-review-actions form,
  .isols-cutie-pie-review-actions .isols-button {
    width: 100%;
    box-sizing: border-box;
  }

  .isols-cutie-pie-review-actions .isols-button {
    text-align: center;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .isols-cutie-pie-teacher-grid {
    max-width: 614px;
  }
}

@media (max-width: 360px) {
  .isols-cutie-pie-teacher-card-actions {
    grid-template-columns: 1fr;
  }
}

/* 1.0.449: Refined teacher-area desktop visual hierarchy. */
@media (min-width: 1024px) {
  .isols-teacher-area-shell .isols-teacher-area-sidebar {
    border-color: #e2e8f0;
    padding: 14px 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.035);
  }

  .isols-teacher-area-shell .isols-teacher-area-nav {
    gap: 3px;
  }

  .isols-teacher-area-shell .isols-teacher-area-link {
    border: 1px solid transparent;
    border-left: 3px solid transparent;
    border-radius: 7px;
    padding: 9px 11px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
  }

  .isols-teacher-area-shell .isols-teacher-area-link:hover,
  .isols-teacher-area-shell .isols-teacher-area-link:focus {
    border-color: #e2e8f0;
    border-left-color: #99d8d2;
    background: #f8fafc;
    color: #115e59;
  }

  .isols-teacher-area-shell .isols-teacher-area-link.is-active,
  .isols-teacher-area-shell .isols-teacher-area-link[aria-current="page"] {
    border-color: #ccebe7;
    border-left-color: #0f766e;
    background: #ecf8f6;
    color: #115e59;
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-area-logout {
    margin-top: 12px;
    border-top-color: #e2e8f0;
    padding: 12px 10px 2px;
    color: #475569;
    font-size: 0.925rem;
    font-weight: 500;
  }

  .isols-teacher-area-shell .isols-teacher-area-content {
    line-height: 1.55;
  }

  .isols-teacher-area-shell .isols-dashboard-header h2,
  .isols-teacher-area-shell .isols-dashboard-header h3,
  .isols-teacher-area-shell .isols-step h3,
  .isols-teacher-area-shell .isols-widget h3 {
    font-weight: 600;
    line-height: 1.3;
  }

  .isols-teacher-area-shell .isols-dashboard-header p,
  .isols-teacher-area-shell .isols-step p,
  .isols-teacher-area-shell .isols-widget p {
    line-height: 1.55;
  }

  .isols-teacher-area-shell .isols-step,
  .isols-teacher-area-shell .isols-widget,
  .isols-teacher-area-shell .isols-dashboard-accordion,
  .isols-teacher-area-shell .isols-schedule-date-group,
  .isols-teacher-area-shell .isols-history-section,
  .isols-teacher-area-shell .isols-history-date-group,
  .isols-teacher-area-shell .isols-history-card,
  .isols-teacher-area-shell .isols-upcoming-class-card {
    border-color: #e2e8f0;
    box-shadow: none;
  }

  .isols-teacher-area-shell .isols-step,
  .isols-teacher-area-shell .isols-widget {
    padding: 18px;
  }

  .isols-teacher-area-shell .isols-upcoming-class-card {
    border-width: 1px;
  }

  .isols-teacher-area-shell .isols-step-current {
    border-color: #cbd5e1;
    box-shadow: none;
  }

  .isols-teacher-area-shell .isols-teacher-dashboard .isols-teacher-next-action {
    border-color: #b7ded9;
    border-left: 4px solid #0f766e;
    background: #fbfefd;
  }

  .isols-teacher-area-shell .isols-teacher-dashboard .isols-dashboard-header h2 {
    margin-bottom: 4px;
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-teacher-dashboard .isols-dashboard-accordion > summary {
    background: #fbfcfd;
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-button,
  .isols-teacher-area-shell .isols-link-button,
  .isols-teacher-area-shell button,
  .isols-teacher-area-shell input[type="button"],
  .isols-teacher-area-shell input[type="submit"],
  .isols-teacher-area-shell input[type="reset"] {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-alert-success {
    border-left-width: 3px;
    font-weight: 400;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-sections,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-date-groups,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-card-list {
    gap: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-section > summary,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-date-group > summary,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-subsection > summary {
    gap: 12px;
    padding: 14px 16px;
    background: #fbfcfd;
    font-weight: 600;
    line-height: 1.4;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-section > summary > span:first-child,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-date-group > summary > span:first-child,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-subsection > summary > span:first-child {
    min-width: 0;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-record-count {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-section > summary::after,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-date-group > summary::after,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-subsection > summary::after {
    flex: 0 0 auto;
    color: #0f766e;
    font-weight: 500;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-section-body,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-date-group > .isols-history-card-list {
    padding: 0 16px 16px;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-card {
    padding: 16px;
    background: #ffffff;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-booking-details {
    gap: 10px 24px;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-booking-details dt {
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.025em;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-booking-details dd,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-note,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-alert-success,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-alert-success p {
    font-weight: 400;
    line-height: 1.5;
  }
}

/* 1.0.444: Teacher Schedule and Class History mobile presentation. */
@media (max-width: 720px) {
  .isols-teacher-area-shell .isols-teacher-schedule-page,
  .isols-teacher-area-shell .isols-teacher-history-page {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-dashboard-header p,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-dashboard-header p {
    font-weight: 400;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-schedule-date-groups,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-sections,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-date-groups,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-card-list {
    gap: 12px;
    min-width: 0;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-schedule-date-group,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-section,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-date-group {
    overflow: visible;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-schedule-date-group > summary,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-section > summary,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-date-group > summary {
    min-height: 44px;
    padding: 10px 4px;
    border-bottom: 1px solid #dbe4ee;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-schedule-date-group > summary::after,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-section > summary::after,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-date-group > summary::after {
    flex: 0 0 auto;
    font-size: 20px;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-record-count {
    font-weight: 500;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-schedule-date-group > .isols-upcoming-class-list,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-section-body,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-date-group > .isols-history-card-list {
    min-width: 0;
    padding: 10px 0 14px;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-upcoming-class-list {
    gap: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-upcoming-class-card {
    min-width: 0;
    padding: 14px;
    border-width: 1px;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-upcoming-class-card h3,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-card h3 {
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-booking-details,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-booking-details {
    gap: 8px;
    min-width: 0;
    margin-bottom: 14px;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-booking-details dt,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-booking-details dt {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-booking-details dd,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-booking-details dd {
    min-width: 0;
    font-weight: 400;
    overflow-wrap: anywhere;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-card {
    min-width: 0;
    padding: 14px;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-history-card .isols-class-outcome-action {
    min-width: 0;
    margin-top: 12px;
    padding: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-outcome-choice > summary,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-outcome-question legend {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-teacher-history-page .isols-outcome-form,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-outcome-question,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-outcome-form label {
    min-width: 0;
    max-width: 100%;
  }

  .isols-teacher-area-shell .isols-teacher-schedule-page .isols-button,
  .isols-teacher-area-shell .isols-teacher-schedule-page a.isols-button,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-button,
  .isols-teacher-area-shell .isols-teacher-history-page a.isols-button {
    max-width: 100%;
    min-height: 44px;
    font-weight: 600;
    white-space: normal;
    box-sizing: border-box;
  }
}

/* 1.0.443: Suppress only the duplicate sidebar Logout in the teacher mobile menu. */
@media (max-width: 720px) {
  .isols-teacher-area-shell
  .isols-teacher-area-sidebar
  .isols-teacher-mobile-menu-content
  > .isols-area-logout {
    display: none !important;
  }
}

/* 1.0.441: Teacher Profile and Availability mobile presentation. */
@media (max-width: 720px) {
  .isols-teacher-area-shell .isols-teacher-profile-page,
  .isols-teacher-area-shell .isols-teacher-availability-page {
    min-width: 0;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-dashboard-header,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-dashboard-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-dashboard-header p,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-dashboard-header p,
  .isols-teacher-area-shell .isols-teacher-profile-page .isols-profile-request-meta,
  .isols-teacher-area-shell .isols-teacher-profile-page small,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-time-zone-converter-result span,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-block-details dd {
    font-weight: 400;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-step,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-step {
    margin-bottom: 12px;
    padding: 14px;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-step h3,
  .isols-teacher-area-shell .isols-teacher-profile-page .isols-widget h3,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-step h3,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-block-card h3,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-block-details dt,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-slot-browser-label,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-slot-status {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-dashboard-accordion {
    margin: 12px 0;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-dashboard-accordion > summary {
    min-height: 44px;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-accordion-action {
    font-size: 13px;
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-widget {
    padding: 14px;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-form,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-timezone-form,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-time-zone-converter-form,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-buffer-form,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-add-form,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-row-form {
    min-width: 0;
    gap: 10px;
    margin-top: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-form label,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-timezone-form label,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-time-zone-converter-form label,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-buffer-form label,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-add-form label,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-row-form label {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page input:not([type="hidden"]):not([type="checkbox"]),
  .isols-teacher-area-shell .isols-teacher-profile-page select,
  .isols-teacher-area-shell .isols-teacher-profile-page textarea,
  .isols-teacher-area-shell .isols-teacher-availability-page input:not([type="hidden"]):not([type="checkbox"]),
  .isols-teacher-area-shell .isols-teacher-availability-page select,
  .isols-teacher-area-shell .isols-teacher-availability-page textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 400;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page textarea {
    min-height: 112px;
    line-height: 1.45;
    resize: vertical;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page input[type="file"] {
    height: auto;
    padding: 6px;
    white-space: normal;
    overflow: hidden;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-teacher-photo-preview {
    width: min(140px, 45vw);
    max-width: 100%;
    height: auto;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-file-clear-control,
  .isols-teacher-area-shell .isols-teacher-profile-page .isols-file-input-status,
  .isols-teacher-area-shell .isols-teacher-profile-page .isols-file-selection-name {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-file-input-status,
  .isols-teacher-area-shell .isols-teacher-profile-page .isols-file-selection-name {
    font-weight: 400;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-advice {
    margin: 0 0 12px;
    padding: 10px 12px;
    font-weight: 600;
    line-height: 1.4;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-checkbox {
    min-height: 44px;
    align-items: flex-start;
    padding: 8px 0;
    font-weight: 600;
    line-height: 1.4;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-checkbox input[type="checkbox"] {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin-top: 1px;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-button,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-button,
  .isols-teacher-area-shell .isols-teacher-availability-page button {
    min-height: 44px;
    font-weight: 600;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-teacher-profile-editor .isols-form > .isols-button[type="submit"] {
    width: 100%;
    font-weight: 700;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page > .isols-alert {
    margin-bottom: 10px;
    padding: 10px 12px;
    font-weight: 600;
    line-height: 1.4;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-timezone-form,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-time-zone-converter-form,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-form-row,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-row-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-autocomplete,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-autocomplete-menu {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-autocomplete-menu {
    max-height: min(230px, 45vh);
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-autocomplete-option {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    box-sizing: border-box;
    font-weight: 400;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-autocomplete-option strong,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-autocomplete-group {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-time-zone-converter-result {
    margin-top: 12px;
    padding: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-time-zone-converter-result strong {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-buffer-form {
    align-items: stretch;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-buffer-form label {
    width: 100%;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-add-form > .isols-button[type="submit"] {
    width: 100%;
    font-weight: 700;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-slot-date-tabs {
    gap: 6px;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-slot-date-button {
    min-height: 44px;
    padding: 8px 12px;
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-table,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-table tbody,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-table tr,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-table td {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-table td {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-block-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 12px;
    padding: 12px;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-block-details {
    gap: 6px;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-block-details dd,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-slot-status {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-edit-button,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-row-form .isols-button {
    width: auto;
    min-height: 44px;
    padding: 8px 13px;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-edit-button {
    display: inline-flex;
    align-items: center;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-block-side {
    justify-content: flex-start;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
  }
}

/* Learner Dashboard mobile density (1.0.433). Other learner pages start at 721px defaults. */
@media (max-width: 720px) {
  body:has(.isols-learner-dashboard-home) .entry-title,
  body:has(.isols-learner-dashboard-home) .page-title,
  body:has(.isols-learner-dashboard-home) h1.entry-title {
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: clamp(1.85rem, 9vw, 2.25rem);
    font-weight: 650;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  body:has(.isols-learner-dashboard-home) .isols-learner-area-shell {
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 28px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .isols-learner-dashboard-home {
    min-width: 0;
    padding-top: 0;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .isols-learner-dashboard-home .isols-dashboard-header {
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .isols-learner-dashboard-home .isols-dashboard-header h2 {
    margin-bottom: 3px;
    font-size: 1.45rem;
    font-weight: 650;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .isols-learner-dashboard-home .isols-dashboard-header p {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .isols-learner-dashboard-home .isols-advice {
    margin-bottom: 10px;
    padding: 9px 11px;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.38;
    overflow-wrap: anywhere;
  }

  .isols-learner-dashboard-home .isols-alert {
    margin: 10px 0;
    padding: 10px 12px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .isols-learner-dashboard-home .isols-step {
    margin-bottom: 10px;
    padding: 14px;
  }

  .isols-learner-dashboard-home .isols-step h3 {
    margin: 2px 0 6px;
    font-size: 1.1rem;
    font-weight: 650;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .isols-learner-dashboard-home .isols-step p,
  .isols-learner-dashboard-home .isols-action-box p {
    font-size: 0.95rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .isols-learner-dashboard-home .isols-step-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .isols-learner-dashboard-home .isols-actions {
    gap: 8px;
    max-width: 100%;
    margin-top: 12px;
  }

  .isols-learner-dashboard-home .isols-guidance-label {
    font-size: 0.72rem;
    font-weight: 700;
  }

  .isols-learner-dashboard-home .isols-action-box {
    gap: 8px;
    max-width: 100%;
    margin-top: 10px;
    padding: 11px;
    font-weight: 650;
    line-height: 1.4;
  }

  .isols-learner-dashboard-home .isols-button,
  .isols-learner-dashboard-home button,
  .isols-learner-dashboard-home summary {
    min-height: 44px;
  }

  .isols-learner-dashboard-home .isols-button {
    max-width: 100%;
    padding: 9px 14px;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .isols-learner-dashboard-home .isols-inline-form,
  .isols-learner-dashboard-home .isols-notice-actions {
    max-width: 100%;
  }

  .isols-learner-dashboard-home .isols-status-meta {
    gap: 6px;
    margin-top: 9px;
  }

  .isols-learner-dashboard-home .isols-status-meta span,
  .isols-learner-dashboard-home .isols-badge {
    max-width: 100%;
    font-size: 0.78rem;
    font-weight: 650;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .isols-learner-dashboard-home .isols-evaluation-intro {
    margin-top: 9px !important;
    font-weight: 600;
    line-height: 1.45;
  }

  .isols-learner-dashboard-home .isols-evaluation-messages {
    gap: 8px;
    margin-top: 10px;
  }

  .isols-learner-dashboard-home .isols-evaluation-message {
    padding: 9px 11px;
  }

  .isols-learner-dashboard-home .isols-evaluation-message h4 {
    margin-bottom: 4px;
    font-size: 0.92rem;
    font-weight: 650;
  }

  .isols-learner-dashboard-home .isols-evaluation-message p {
    line-height: 1.45;
  }

  .isols-learner-dashboard-home .isols-dashboard-accordion {
    margin-bottom: 10px;
  }

  .isols-learner-dashboard-home .isols-dashboard-accordion > summary {
    gap: 10px;
    padding: 11px 13px;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .isols-learner-dashboard-home .isols-accordion-action {
    flex: 0 1 auto;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: right;
    white-space: normal;
  }
}

.isols-outcome-choice,
.isols-safety-report-panel {
    margin-top: 14px;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    background: #fff;
}

.isols-outcome-choice > summary,
.isols-safety-report-panel > summary {
    padding: 16px 18px;
    font-weight: 700;
    cursor: pointer;
}

.isols-outcome-form {
    padding: 0 18px 18px;
}

.isols-outcome-question {
    margin: 16px 0;
    padding: 14px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
}

.isols-outcome-question legend {
    font-weight: 700;
}

.isols-outcome-question label {
    display: inline-block;
    margin: 8px 14px 0 0;
}

.isols-safety-report-panel > .isols-step {
    margin: 0;
    border: 0;
    border-top: 1px solid #d9e2ec;
    border-radius: 0 0 10px 10px;
}

.isols-class-outcome-action {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #d8e1eb;
  border-radius: 10px;
  background: #f7f9fc;
}

.isols-outcome-form label,
.isols-outcome-form textarea {
    display: block;
    width: 100%;
}

.isols-technical-problem-options {
    border: 0;
    margin: 16px 0;
    padding: 0;
}

.isols-technical-problem-options legend {
    font-weight: 700;
    margin-bottom: 8px;
}

.isols-outcome-form .isols-technical-problem-option {
    align-items: flex-start;
    display: flex;
    gap: 8px;
    margin: 8px 0;
    width: auto;
}

.isols-outcome-form .isols-technical-problem-option input[type="radio"] {
    flex: 0 0 auto;
    margin-top: 0.25em;
    width: auto;
}

.isols-outcome-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.isols-wallet-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.isols-wallet-total {
  padding: 18px;
  border: 1px solid #d8e1eb;
  border-radius: 10px;
  background: #fff;
}

.isols-wallet-total span,
.isols-wallet-total strong {
  display: block;
}

.isols-wallet-total strong {
  margin-top: 8px;
  font-size: 24px;
}

@media (max-width: 760px) {
  .isols-wallet-summary { grid-template-columns: 1fr 1fr; }
  .isols-outcome-buttons { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .isols-wallet-summary { grid-template-columns: 1fr; }
}

.isols-message-composer {
  margin: 18px 0;
  border: 1px solid #d9e2ec;
  border-radius: 12px;
  background: #fff;
}

.isols-message-composer > summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  color: #25364d;
}

.isols-message-composer > .isols-step {
  margin: 0;
  border: 0;
  border-top: 1px solid #e4ebf2;
  border-radius: 0 0 12px 12px;
}

.isols-thread-list,
.isols-thread-messages {
  display: grid;
  gap: 12px;
}

.isols-thread-card {
  display: block;
  padding: 0;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.isols-thread-card.is-active { border-color: #16877d; }
.isols-thread-card.is-unread { border-color: #16877d; background: #f5fbfa; }
.isols-thread-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}
.isols-thread-summary::-webkit-details-marker { display: none; }
.isols-thread-card h4,
.isols-thread-card p { margin: 0 0 6px; }
.isols-thread-card-actions { display: flex; align-items: center; gap: 10px; }
.isols-thread-toggle-label { color: #33445e; font-weight: 700; white-space: nowrap; }
.isols-thread-card .is-hide-label { display: none; }
.isols-thread-card[open] .is-view-label { display: none; }
.isols-thread-card[open] .is-hide-label { display: inline; }
.isols-open-thread { margin: 0; padding: 20px 16px 16px; border-top: 1px solid #d9e2ec; }
.isols-conversation-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.isols-conversation-workspace.has-class-actions {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}
.isols-conversation-pane,
.isols-class-action-pane {
  min-width: 0;
  scroll-margin-top: 24px;
}
.isols-conversation-heading h4 { margin-top: 0; }
.isols-thread-messages {
  height: clamp(280px, 48vh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
  align-content: start;
  padding: 12px;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  background: #fff;
  scrollbar-gutter: stable;
}
.isols-thread-messages:focus-visible {
  outline: 3px solid #16877d;
  outline-offset: 2px;
}
.isols-class-action-pane { align-self: start; }
.isols-class-action-pane .isols-class-change-agreement { margin: 0; }
.isols-thread-message { max-width: 82%; padding: 14px; border-radius: 10px; background: #f3f6f9; }
.isols-thread-message:not(.is-mine) { justify-self: start; }
.isols-thread-message.is-mine { justify-self: end; background: #e3f4f1; }
.isols-thread-context { padding: 10px 12px; border-radius: 8px; background: #f3f6f9; }
.isols-class-change-agreement { margin: 24px 0 0; padding: 18px 16px; border: 1px solid #cbd9e6; border-radius: 10px; background: #f8fafc; }
.isols-class-change-agreement h4 { margin: 0 0 10px; }
.isols-class-change-agreement p:last-child { margin-bottom: 0; }
.isols-class-change-proposal-form { gap: 12px; }
.isols-class-change-proposal-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 320px));
  gap: 14px;
  align-items: end;
}
.isols-class-change-proposal-row label {
  width: 100%;
}
.isols-class-change-proposal-actions {
  margin: 2px 0 0;
}
.isols-thread-reply-form { margin-top: 18px; }
.isols-message-feedback { margin: 10px 0 0; font-weight: 700; }
.isols-message-feedback.is-success { color: #0f766e; }
.isols-message-feedback.is-error { color: #b91c1c; }

@media (max-width: 720px) {
  .isols-thread-summary,
  .isols-thread-card-actions { align-items: stretch; flex-direction: column; }
  .isols-thread-message { max-width: 100%; }
  .isols-conversation-workspace.has-class-actions { grid-template-columns: minmax(0, 1fr); }
  .isols-thread-messages { height: clamp(260px, 46vh, 420px); padding: 10px; }
  .isols-class-change-proposal-row { grid-template-columns: 1fr; }
}

/* SHO Materials Center (V1). Scoped to the plugin so theme and Elementor styles stay isolated. */
.isols-materials-hub {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.isols-materials-door {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 160px;
    padding: 24px;
    border: 1px solid #d7e1ec;
    border-radius: 14px;
    background: #fff;
    color: #1f2937;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.06);
}

.isols-materials-door:hover,
.isols-materials-door:focus-visible {
    border-color: #14877d;
    color: #1f2937;
    transform: translateY(-2px);
}

.isols-materials-door strong {
    color: #0f766e;
    font-size: 1.35rem;
}

.isols-materials-door span {
    line-height: 1.55;
}

.isols-materials-back {
    margin: 0 0 18px;
}

.isols-materials-back a {
    color: #0f766e;
    font-weight: 700;
}

.isols-sho-teacher-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 22px 0;
}

.isols-sho-form {
    display: grid;
    gap: 16px;
}

.isols-sho-form > h4 {
    margin: 8px 0 0;
}

.isols-sho-delivery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.isols-sho-delivery-actions .isols-button-secondary {
    background: #34445c;
}

.isols-sho-auto-selected {
    padding: 13px 15px;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    background: #f6f9fc;
}

.isols-sho-task-list {
    display: grid;
    gap: 16px;
}

.isols-sho-task-block {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 18px;
    border: 1px solid #d7e1ec;
    border-radius: 12px;
    background: #f8fafc;
}

.isols-sho-remove-task {
    justify-self: end;
    border: 0;
    background: transparent;
    color: #b42318;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.isols-sho-add-task {
    justify-self: start;
}

.isols-sho-form label,
.isols-sho-form label > span {
    display: block;
}

.isols-sho-form label > span {
    margin-bottom: 7px;
    font-weight: 700;
}

.isols-sho-form input:not([type="checkbox"]):not([type="radio"]),
.isols-sho-form select,
.isols-sho-form textarea,
.isols-sho-share-result input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.isols-sho-card-list {
    display: grid;
    gap: 18px;
}

.isols-materials-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
}

.isols-sho-class-body {
    display: grid;
    gap: 18px;
}

.isols-sho-class-body > .isols-sho-card {
    margin: 0;
    background: #f8fafc;
}

.isols-sho-flow-section {
    margin-top: 20px;
}

.isols-sho-flow-section > h4:first-child {
    margin-top: 0;
}

.isols-sho-panel {
    border: 1px solid #cbd9e6;
    border-radius: 14px;
    padding: clamp(16px, 2vw, 22px);
}

.isols-sho-received-panel {
    border-left: 5px solid #287ca8;
    background: #f5fbff;
}

.isols-sho-upload-panel {
    margin-top: 26px;
    border-left: 5px solid #13877d;
    background: #f4fbf9;
}

.isols-sho-assignment-actions {
    margin-top: 18px;
}

.isols-sho-primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    align-items: start;
    gap: 12px;
}

.isols-sho-primary-actions .isols-sho-reply-disclosure[open] {
    grid-column: 1 / -1;
}

.isols-sho-upload-disclosure {
    margin-top: 12px;
}

.isols-sho-action-toggle {
    cursor: pointer;
    list-style: none;
}

.isols-sho-action-toggle::-webkit-details-marker {
    display: none;
}

.isols-sho-action-panel {
    margin-top: 12px;
    border: 1px solid #cbd9e6;
    border-radius: 14px;
    padding: clamp(16px, 2vw, 22px);
}

.isols-sho-question-panel {
    border-left: 5px solid #334155;
    background: #f8fafc;
}

.isols-sho-action-panel.isols-sho-upload-panel {
    margin-top: 12px;
}

.isols-sho-reference-fields {
    margin-top: 18px;
}

.isols-sho-upload-question,
.isols-sho-submission-form,
.isols-sho-upload-history {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #c7d9d5;
}

.isols-sho-upload-question > h5:first-child,
.isols-sho-upload-history > h5:first-child {
    margin-top: 0;
}

.isols-sho-download-action {
    margin: 0;
}

.isols-sho-card {
    border: 1px solid #d7e1ec;
    border-radius: 14px;
    background: #fff;
    padding: 22px;
}

.isols-sho-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.isols-sho-card-heading h3,
.isols-sho-card-heading h4 {
    margin: 5px 0 0;
}

.isols-sho-class-group > .isols-sho-card-heading {
    position: relative;
    padding-right: 42px;
    cursor: pointer;
    list-style: none;
}

.isols-sho-class-group > .isols-sho-card-heading::-webkit-details-marker {
    display: none;
}

.isols-sho-class-group > .isols-sho-card-heading::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #13877d;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.isols-sho-class-group[open] > .isols-sho-card-heading::after {
    content: "\2212";
}

.isols-sho-class-date {
    color: #b42318;
}

.isols-sho-class-latest {
    color: #16877d;
    font-weight: 700;
}

.isols-sho-assignment-section + .isols-sho-assignment-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #d7e1ec;
}

.isols-sho-assignment-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.isols-sho-assignment-heading h3,
.isols-sho-assignment-heading h4,
.isols-sho-reference-instruction h4 {
    margin: 0;
}

.isols-sho-reference-instruction {
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 10px;
    background: #f6f9fc;
}

.isols-sho-history-section {
    margin-top: 24px;
    border: 1px solid #d7e1ec;
    border-radius: 14px;
    background: #fff;
}

.isols-sho-history-section > summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    color: #172033;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.isols-sho-history-section > summary::-webkit-details-marker {
    display: none;
}

.isols-sho-history-section > summary::after {
    content: "+";
    margin-left: auto;
    color: #13877d;
    font-size: 24px;
    line-height: 1;
}

.isols-sho-history-section[open] > summary::after {
    content: "\2212";
}

.isols-sho-history-section-body {
    padding: 0 22px 22px;
}

.isols-sho-latest-communication {
    margin: 18px 0;
    padding: 18px;
    border: 1px solid #b8ddd8;
    border-left: 4px solid #13877d;
    border-radius: 12px;
    background: #f3fbf9;
}

.isols-sho-latest-communication h4 {
    margin-top: 0;
}

.isols-sho-conversation-list {
    display: grid;
    gap: 12px;
}

.isols-sho-message {
    min-width: 0;
    padding: 14px;
    border-radius: 10px;
    background: #fff;
}

.isols-sho-message-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4px;
    margin: 0 0 6px;
}

.isols-sho-message-text {
    margin: 0;
    overflow-wrap: anywhere;
}

.isols-sho-review-message {
    border-left: 4px solid #13877d;
}

.isols-sho-review-status {
    margin: 0 0 8px;
    color: #0f766e;
    overflow-wrap: anywhere;
}

.isols-sho-previous-conversation {
    margin: 18px 0;
    border: 1px solid #d7e1ec;
    border-radius: 10px;
    background: #f8fafc;
}

.isols-sho-previous-conversation > summary {
    padding: 14px 16px;
    color: #334155;
    font-weight: 800;
    cursor: pointer;
}

.isols-sho-previous-conversation > .isols-sho-conversation-list {
    padding: 0 16px 16px;
}

.isols-tap-card .isols-sho-card-heading h3 {
    margin: 0;
}

.isols-tap-card > p:last-child {
    margin-bottom: 0;
}

.isols-tap-teacher-list .isols-class-progress-table textarea {
    min-width: 220px;
}

.isols-sho-instructions,
.isols-sho-rules,
.isols-sho-submission {
    margin-top: 16px;
    padding: 16px;
    border-radius: 10px;
    background: #f6f9fc;
}

.isols-sho-rules {
    border-left: 4px solid #16877d;
}

.isols-sho-declaration {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
}

.isols-sho-declaration input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.isols-sho-declaration span {
    margin: 0 !important;
}

.isols-form label.isols-sho-confirmation {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    align-items: start;
    column-gap: 10px;
}

.isols-sho-confirmation input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 2px 0 0;
}

.isols-sho-confirmation span { margin: 0 !important; }
.isols-sho-accordion > summary { cursor: pointer; list-style-position: outside; }
.isols-sho-accordion-body { padding-top: 14px; }
.isols-sho-accordion.is-unread { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,.12); }
.isols-sho-late { color: #b42318; }

.isols-sho-previous-eligibility-note {
    margin-top: 8px;
    color: #b42318;
    font-weight: 700;
}

.isols-status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    background: #dcf8e7;
    color: #176b3a;
    font-weight: 700;
    white-space: nowrap;
}

.isols-communication-only > .isols-step + .isols-step {
    margin-top: 22px;
}

.isols-communication-only .isols-teacher-message-workspace {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #dbe4ee;
}

@media (max-width: 720px) {
    .isols-materials-hub {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .isols-materials-door {
        min-height: 0;
        padding: 18px;
    }

    .isols-sho-teacher-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .isols-sho-card {
        padding: 16px;
    }

    .isols-sho-card-heading {
        display: block;
    }

    .isols-sho-card-heading .isols-status-badge {
        margin-top: 12px;
        white-space: normal;
    }

    .isols-sho-assignment-heading {
        display: block;
    }

    .isols-sho-assignment-heading .isols-status-badge {
        margin-top: 12px;
        white-space: normal;
    }

    .isols-sho-form .isols-button,
    .isols-sho-card .isols-button {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .isols-sho-primary-actions {
        grid-template-columns: 1fr;
    }

    .isols-sho-primary-actions .isols-sho-reply-disclosure[open] {
        grid-column: auto;
    }

    .isols-sho-delivery-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .isols-sho-task-block {
        padding: 14px;
    }

    .isols-sho-add-task {
        width: 100%;
    }
}

.isols-dashboard {
  padding-top: 4px;
}

.isols-learner-area-shell,
.isols-teacher-area-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1180px;
  margin: 32px auto 48px;
  padding: 0 24px;
  box-sizing: border-box;
  color: #1f2937;
  font-family: inherit;
}

/*
 * Elementor can calculate a zero container-widget width for a shortcode
 * widget even when its visible parent has room. Keep learner-shell widgets
 * attached to the full width of that parent without affecting other widgets.
 */
.elementor-widget-shortcode:has(.isols-learner-area-shell) {
  --container-widget-width: 100% !important;
  --container-widget-flex-grow: 0 !important;
  align-self: stretch !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.isols-learner-area-shell .isols-dashboard,
.isols-teacher-area-shell .isols-dashboard {
  max-width: none;
  margin: 0;
}

@media (min-width: 721px) {
  .entry-content:has(.isols-learner-area-shell),
  .entry-content:has(.isols-teacher-area-shell) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .isols-learner-area-shell,
  .isols-teacher-area-shell {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .isols-learner-area-shell .isols-learner-booking-page,
  .isols-learner-area-shell .isols-learner-booking-page .isols-dashboard-header,
  .isols-learner-area-shell .isols-learner-booking-page .isols-learner-onboarding-panel,
  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-panel,
  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-form,
  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-options,
  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-option,
  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-grid,
  .isols-learner-area-shell .isols-learner-booking-page .isols-learner-timezone,
  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-history {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
}

/*
 * Tablet / compact desktop learner shell.
 * Keep the full desktop sidebar from squeezing the learner content column.
 * The existing mobile rules below still control spacing at 720px and under.
 */
@media (min-width: 721px) and (max-width: 1023px) {
  .isols-learner-area-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .isols-learner-area-sidebar {
    position: static;
    padding: 14px;
    border-radius: 12px;
  }

  .isols-learner-area-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .isols-learner-area-link {
    flex: 1 1 180px;
    padding: 10px 12px;
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-form {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-form > label {
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-options {
    width: 100%;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
  }

  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-option {
    width: 100%;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
  }

  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-form textarea {
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-form > .isols-button[type="submit"] {
    justify-self: center;
    width: 100%;
    max-width: 340px;
  }
}

.isols-learner-area-sidebar,
.isols-teacher-area-sidebar {
  align-self: start;
  position: sticky;
  top: 24px;
  border: 1px solid #dbe4ee;
  border-radius: 14px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.isols-learner-area-title,
.isols-teacher-area-title {
  margin-bottom: 14px;
  color: #172033;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.isols-learner-area-nav,
.isols-teacher-area-nav {
  display: grid;
  gap: 10px;
}

.isols-learner-area-link,
.isols-teacher-area-link {
  display: block;
  border-radius: 10px;
  padding: 12px 14px;
  color: #334155;
  font-weight: 800;
  text-decoration: none;
}

.isols-learner-area-link:hover,
.isols-learner-area-link:focus,
.isols-teacher-area-link:hover,
.isols-teacher-area-link:focus {
  background: #f1f5f9;
  color: #0f766e;
  text-decoration: none;
}

.isols-learner-area-link.is-active,
.isols-teacher-area-link.is-active {
  background: #0f766e;
  color: #ffffff;
}

.isols-area-logout {
  display: block;
  margin-top: 16px;
  padding: 14px 14px 0;
  border-top: 1px solid #dbe4ee;
  color: #334155;
  font-weight: 800;
  text-decoration: none;
}

.isols-area-logout:hover,
.isols-area-logout:focus {
  color: #0f766e;
  text-decoration: underline;
}

.isols-learner-area-content,
.isols-teacher-area-content {
  min-width: 0;
  width: 100%;
}

.isols-learner-mobile-menu-toggle {
  display: none;
}

.isols-learner-mobile-heading-row,
.isols-learner-mobile-page-title,
.isols-learner-mobile-language,
.isols-learner-mobile-logout {
  display: none;
}

.isols-teacher-mobile-heading-row,
.isols-teacher-mobile-page-title,
.isols-teacher-mobile-logout,
.isols-teacher-mobile-menu-toggle {
  display: none;
}

.isols-learner-desktop-language {
  display: contents;
}

.entry-title,
.page-title,
h1.entry-title {
  margin-top: 10px;
  margin-bottom: 18px;
  line-height: 1.15;
}

.isols-widget {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
}

.isols-policy-link {
  margin: -8px 0 14px;
  font-size: 0.9em;
}

body:has(.isols-privacy-policy) .entry-title,
body:has(.isols-privacy-policy) .page-title,
body:has(.isols-privacy-policy) h1.entry-title {
  display: none;
}

.isols-teacher-application-widget {
  margin-top: 24px;
}

.isols-teacher-method-test-widget {
  margin-top: 32px;
}

body:has(.isols-teacher-application-widget) .entry-title,
body:has(.isols-teacher-application-widget) .page-title,
body:has(.isols-teacher-application-widget) h1.entry-title {
  margin-top: 28px;
}

body:has(.isols-teacher-method-test-widget) .entry-title,
body:has(.isols-teacher-method-test-widget) .page-title,
body:has(.isols-teacher-method-test-widget) h1.entry-title {
  margin-top: 40px;
}

.isols-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.isols-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.isols-form input:not([type="radio"]):not([type="checkbox"]),
.isols-form select,
.isols-form textarea {
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
}

.isols-form textarea {
  resize: vertical;
}

.isols-dob-fields {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr;
  gap: 10px;
}

.isols-form fieldset {
  display: grid;
  gap: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 16px;
}

.isols-radio {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.isols-radio input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 50%;
}

.isols-radio span {
  flex: 1 1 auto;
  min-width: 0;
}

.isols-choice-list {
  display: grid;
  gap: 10px;
}

.isols-choice-list .isols-radio {
  align-items: flex-start;
  margin: 0;
  width: 100%;
}

.isols-question-block legend {
  color: #1e3a5f;
  line-height: 1.35;
}

.isols-question-block legend strong {
  color: #1e3a5f;
}

.isols-test-option {
  display: grid !important;
  grid-template-columns: 32px 18px minmax(0, 1fr) !important;
  align-items: flex-start;
  column-gap: 10px;
  row-gap: 0;
  color: #111827;
}

.isols-test-option input[type="radio"] {
  grid-column: 2;
}

.isols-option-letter {
  grid-column: 1;
  flex: none !important;
  color: #111827;
  font-weight: 800;
  line-height: 1.45;
}

.isols-option-text {
  grid-column: 3;
  min-width: 0;
  color: #111827;
  font-weight: 700;
  line-height: 1.45;
}

.isols-onboarding-request {
  max-width: 760px;
}

.isols-request-summary {
  display: grid;
  gap: 6px;
  margin: 16px 0;
  border-left: 4px solid #0f766e;
  border-radius: 6px;
  padding: 12px 14px;
  background: #f0fdfa;
}

.isols-request-summary p {
  margin: 0;
}

.isols-form legend {
  padding: 0 6px;
  font-weight: 700;
}

.isols-checkbox {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.isols-checkbox input {
  min-height: auto;
  margin-top: 3px;
}

.isols-hidden {
  display: none !important;
}

.isols-age-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  color: #475569;
  font-weight: 700;
}

.isols-age-note span {
  color: #64748b;
}

.isols-age-note strong {
  border-radius: 999px;
  padding: 5px 10px;
  background: #e0f2fe;
  color: #075985;
}

.isols-autocomplete {
  position: relative;
}

.isols-autocomplete[data-isols-timezone-selector]::after {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #64748b;
  content: "\2304";
  pointer-events: none;
  transform: translateY(-55%);
}

.isols-autocomplete[data-isols-timezone-selector] input[type="text"] {
  padding-right: 40px;
}

.isols-autocomplete-menu {
  position: absolute;
  z-index: 100;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 230px;
  overflow-y: auto;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.isols-autocomplete-option {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  padding: 8px 12px;
  background: #ffffff;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
}

.isols-autocomplete-option:hover,
.isols-autocomplete-option:focus,
.isols-autocomplete-option.is-active {
  background: #eff6ff;
}

.isols-autocomplete-option span {
  font-weight: 700;
}

.isols-autocomplete-option small {
  color: #64748b;
  font-size: 12px;
}

.isols-autocomplete-group {
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid #dbe4ee;
  padding: 6px 12px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.isols-autocomplete-empty {
  padding: 12px 13px;
  color: #64748b;
}

.isols-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  background: #0f766e;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.isols-button:hover,
.isols-button:focus {
  color: #ffffff;
  background: #115e59;
}

.isols-button-secondary {
  background: #334155;
}

.isols-button-secondary:hover,
.isols-button-secondary:focus {
  background: #1e293b;
}

.isols-button-disabled {
  border: 1px solid #cbd5e1;
  background: #e2e8f0;
  color: #475569;
  cursor: not-allowed;
  box-shadow: none;
}

.isols-button-disabled:hover,
.isols-button-disabled:focus {
  background: #e2e8f0;
  color: #475569;
}

.isols-button-highlight {
  background: #0f766e;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}

.isols-button-highlight:hover,
.isols-button-highlight:focus {
  background: #115e59;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.24);
}

.isols-alert {
  border-radius: 6px;
  padding: 12px 14px;
  margin: 14px 0;
}

.isols-alert-error {
  background: #fee2e2;
  color: #991b1b;
}

.isols-alert-warning {
  border-left: 5px solid #d97706;
  background: #fffbeb;
  color: #78350f;
}

.isols-overdue-class-confirmation h3 {
  margin-top: 0;
}

.isols-overdue-class-confirmation__class + .isols-overdue-class-confirmation__class {
  border-top: 1px solid #f1d39a;
  margin-top: 16px;
  padding-top: 16px;
}

.isols-alert-success {
  border-left: 5px solid #16a34a;
  background: #ecfdf5;
  color: #14532d;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.isols-alert .isols-button {
  margin-top: 4px;
}

.isols-form-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.isols-form-links a {
  color: #0f766e;
  font-weight: 700;
}

.isols-field-error {
  color: #b91c1c;
  font-weight: 700;
}

.isols-dashboard-header {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
}

.isols-dashboard-header h2 {
  margin: 0 0 6px;
  color: #111827;
  line-height: 1.2;
}

.isols-dashboard-header p {
  margin: 0;
  color: #334155;
}

.isols-dashboard-header .isols-button {
  flex: 0 0 auto;
}

.isols-learner-booking-page .isols-booking-back-link {
  min-height: 34px;
  margin-left: auto;
  border: 1px solid #cbd5e1;
  padding: 6px 11px;
  background: #ffffff;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.isols-learner-booking-page .isols-booking-back-link:hover,
.isols-learner-booking-page .isols-booking-back-link:focus {
  border-color: #94a3b8;
  background: #f8fafc;
  color: #1e293b;
}

.isols-dashboard-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.isols-advice {
  margin: 0 0 16px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 13px 15px;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 700;
  line-height: 1.45;
}

.isols-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.isols-step {
  display: block;
  margin-bottom: 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
}

.isols-step h3 {
  margin: 4px 0 8px;
  color: #111827;
  font-weight: 800;
  line-height: 1.25;
}

.isols-step p {
  margin: 0;
}

.isols-step .isols-help-text {
  margin-top: 10px;
  color: #475569;
  font-weight: 700;
}

.isols-action-box {
  display: grid;
  justify-items: start;
  gap: 10px;
  max-width: 620px;
  margin-top: 14px;
  border: 1px solid #99f6e4;
  border-radius: 8px;
  padding: 14px;
  background: #f0fdfa;
  color: #134e4a;
  font-weight: 800;
  line-height: 1.45;
}

.isols-action-box p {
  margin: 0;
}

.isols-status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.isols-status-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e0f2fe;
  color: #075985;
  font-size: 13px;
  font-weight: 800;
}

.isols-level {
  margin-top: 8px !important;
  color: #134e4a;
  font-weight: 800;
}

.isols-evaluation-intro {
  margin-top: 12px !important;
  color: #334155;
  font-weight: 700;
  line-height: 1.55;
}

.isols-evaluation-messages {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.isols-evaluation-message {
  border-left: 4px solid #0f766e;
  border-radius: 6px;
  padding: 11px 13px;
  background: #f8fafc;
}

.isols-evaluation-message h4 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.isols-evaluation-message p {
  color: #334155;
  line-height: 1.55;
}

.isols-evaluation-opening {
  border-left-color: #2563eb;
  background: #eff6ff;
}

.isols-evaluation-opening p {
  color: #1e3a8a;
  font-weight: 700;
}

.isols-step-current {
  border-color: #0f766e;
  box-shadow: 0 0 0 1px #0f766e inset;
}

.isols-step-complete {
  border-color: #16a34a;
}

/* Visible feature map; access is enforced by the same server-side stage helper. */
.isols-learner-persistent-nav .isols-learner-area-locked {
  display: block !important;
  color: #64748b !important;
  background: transparent !important;
  cursor: default;
  text-decoration: none;
  pointer-events: none;
}
.isols-learner-persistent-nav .isols-learner-area-locked::before {
  content: none !important;
}
@media (max-width: 720px) {
  .isols-learner-area-shell.isols-learner-persistent-nav .isols-learner-area-nav {
    grid-template-columns: minmax(0, 1fr);
  }
}
.isols-learner-area-shell.isols-learner-persistent-nav .isols-learner-area-sidebar .isols-learner-mobile-menu-content > .isols-area-logout {
  display: block !important;
  color: #475569 !important;
  background: transparent !important;
}

.isols-step-locked {
  opacity: 0.68;
}

.isols-step-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.isols-actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px 12px;
  margin-top: 16px;
}

.isols-guidance-label {
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

.isols-action-note {
  display: inline-flex;
  align-items: center;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.isols-profile-request-meta {
  margin-top: 10px !important;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.isols-inline-form {
  margin: 0;
}

.isols-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 5px 11px;
  background: #dcfce7;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
}

.isols-badge-muted {
  border: 1px solid #cbd5e1;
  background: #e2e8f0;
  color: #1f2937;
}

.isols-minutes {
  margin-top: 10px !important;
  color: #475569;
  font-weight: 700;
}

.isols-dashboard-accordion {
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}

.isols-dashboard-accordion > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  color: #172033;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.isols-dashboard-accordion > summary::-webkit-details-marker {
  display: none;
}

.isols-dashboard-accordion > summary::after {
  content: "+";
  color: #0f766e;
  font-size: 24px;
  line-height: 1;
}

.isols-dashboard-accordion[open] > summary::after {
  content: "\2212";
}

.isols-dashboard-accordion .isols-step {
  margin: 0;
  border-width: 1px 0 0;
  border-radius: 0;
  box-shadow: none;
}

.isols-accordion-action {
  margin-left: auto;
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
}

.isols-teacher-dashboard .isols-widget {
  margin-top: 18px;
}

.isols-teacher-profile-editor {
  margin-top: 16px;
}

.isols-teacher-profile-editor .isols-widget {
  max-width: none;
  margin: 0;
  border: 0;
  border-top: 1px solid #e2e8f0;
  border-radius: 0;
}

.isols-teacher-profile-editor .isols-widget h3 {
  margin-top: 0;
}

.isols-teacher-communication {
  margin-top: 18px;
}

.isols-teacher-support-section,
.isols-teacher-support-form,
.isols-teacher-support-history {
  min-width: 0;
}

.isols-teacher-support-form input,
.isols-teacher-support-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.isols-teacher-support-history {
  margin-top: 20px;
}

.isols-teacher-assigned-messaging-heading {
  margin-top: 22px;
}

.isols-email-message-section,
.isols-email-message-form,
.isols-email-message-history,
.isols-message-recipient-unavailable {
  min-width: 0;
}

.isols-email-message-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.isols-email-message-form input,
.isols-email-message-form textarea,
.isols-email-message-form input[type="file"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.isols-email-message-form input[readonly],
.isols-email-message-form input:disabled,
.isols-email-message-form textarea:disabled {
  background: #f1f5f9;
  color: #64748b;
}

.isols-email-message-form button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.isols-email-message-history {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.isols-email-message-history > h4 {
  margin: 0;
}

.isols-assigned-learner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.isols-assigned-learner-card {
  display: grid;
  gap: 4px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
}

.isols-assigned-learner-card strong {
  color: #172033;
  font-size: 17px;
}

.isols-assigned-learner-card span:last-child {
  color: #475569;
  overflow-wrap: anywhere;
}

.isols-form-grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.isols-message-record-list {
  display: grid;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  padding: 18px 20px;
}

.isols-message-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.isols-message-record h4 {
  margin: 4px 0 8px;
  color: #172033;
  font-size: 18px;
}

.isols-message-record p {
  margin: 0;
  color: #334155;
  line-height: 1.6;
}

.isols-message-record dl {
  display: grid;
  gap: 3px;
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.isols-message-record dt {
  color: #64748b;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
}

.isols-message-record dd {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}

.isols-class-progress-form {
  display: grid;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  padding: 18px 20px;
}

.isols-class-progress-context {
  display: grid;
  grid-template-columns: minmax(120px, 150px) minmax(120px, 150px);
  gap: 14px;
}

.isols-class-progress-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.isols-class-progress-table th,
.isols-class-progress-table td {
  border: 1px solid #dbe4ee;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.isols-class-progress-table thead th {
  background: #f8fafc;
  color: #172033;
  font-weight: 800;
}

.isols-class-progress-table tbody th {
  width: 24%;
  color: #172033;
  font-weight: 800;
}

.isols-class-progress-table input {
  width: 100%;
  min-height: 42px;
}

.isols-class-progress-locked-list {
  display: grid;
  gap: 12px;
  border-top: 1px solid #e2e8f0;
  padding: 0 20px 18px;
}

.isols-class-progress-locked {
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
}

.isols-class-progress-locked h4 {
  margin: 4px 0 8px;
  color: #172033;
}

.isols-class-progress-locked p {
  margin: 0 0 8px;
  color: #334155;
  line-height: 1.6;
}

.isols-teacher-learner-panels {
  display: grid;
  gap: 16px;
}

.isols-teacher-learner-panel > summary {
  align-items: center;
}

.isols-teacher-material-center {
  display: grid;
  gap: 10px;
}

.isols-teacher-material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.isols-teacher-material-item {
  display: grid;
  align-content: space-between;
  gap: 10px;
  min-height: 132px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.isols-teacher-material-item h4 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 18px;
}

.isols-teacher-material-item p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.isols-teacher-material-form {
  display: grid;
  gap: 14px;
}

.isols-form-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.isols-availability-add-form {
  display: grid;
  gap: 12px;
}

.isols-buffer-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
}

.isols-buffer-form label {
  width: min(100%, 280px);
}

.isols-availability-timezone-section {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  padding-bottom: 16px;
  overflow: visible;
  position: relative;
  z-index: 5;
}

.isols-availability-timezone-section h3,
.isols-availability-timezone-section p {
  margin: 0;
}

.isols-availability-timezone-section p {
  color: #475569;
}

.isols-availability-timezone-form {
  display: grid;
  grid-template-columns: minmax(240px, 560px) auto;
  gap: 10px;
  align-items: end;
  justify-content: start;
}

.isols-availability-timezone-form > label,
.isols-availability-timezone-form .isols-autocomplete {
  width: 100%;
  min-width: 0;
}

.isols-availability-timezone-form .isols-autocomplete[data-isols-timezone-selector] input[type="text"] {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.isols-availability-timezone-form .isols-autocomplete-menu {
  width: 100%;
  box-sizing: border-box;
}

.isols-timezone-note {
  display: block;
  color: #64748b;
  line-height: 1.4;
}

.isols-availability-form-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(130px, 0.8fr) minmax(150px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
}

.isols-availability-table-wrap {
  overflow-x: auto;
}

.isols-slot-browser {
  display: grid;
  gap: 14px;
}

.isols-slot-browser-label {
  margin: 0;
  color: #172033;
  font-weight: 800;
}

.isols-slot-date-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.isols-slot-date-button {
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 14px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.isols-slot-date-button:hover,
.isols-slot-date-button:focus-visible {
  border-color: #0f766e;
  outline: none;
}

.isols-slot-date-button.is-active {
  border-color: #0f766e;
  background: #0f766e;
  color: #fff;
}

.isols-slot-date-panel[hidden] {
  display: none;
}

.isols-slot-date-panel h4 {
  margin: 0 0 10px;
  color: #172033;
}

.isols-availability-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.isols-availability-table th,
.isols-availability-table td {
  border: 1px solid #dbe4ee;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

.isols-availability-table th {
  background: #f8fafc;
  color: #172033;
  font-weight: 800;
}

.isols-availability-block-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.isols-availability-block-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.isols-availability-view {
  display: grid;
  gap: 12px;
}

.isols-availability-view[hidden] {
  display: none;
}

.isols-availability-block-heading {
  color: #172033;
  font-size: 1.02rem;
}

.isols-availability-block-details {
  display: grid;
  gap: 8px;
  margin: 0;
}

.isols-availability-block-details > div,
.isols-availability-block-field {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.isols-availability-block-details dt,
.isols-availability-block-field > span,
.isols-availability-row-form label > span {
  color: #526174;
  font-weight: 800;
}

.isols-availability-block-details dd {
  margin: 0;
  color: #172033;
  font-weight: 700;
}

.isols-availability-row-form {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(120px, 0.8fr) minmax(150px, 0.8fr);
  gap: 12px;
  align-items: end;
}

.isols-availability-row-form label {
  display: grid;
  gap: 6px;
}

.isols-availability-block-field,
.isols-availability-save-row {
  grid-column: 1 / -1;
}

.isols-availability-block-side {
  display: flex;
  justify-content: flex-end;
}

.isols-button.isols-availability-edit-button {
  align-self: start;
  justify-self: start;
  width: auto;
  min-height: 34px;
  height: auto;
  padding: 7px 13px;
  line-height: 1.1;
}

.isols-availability-cancel-form {
  margin: 0;
}

.isols-availability-legacy-hint {
  margin: 0 0 4px;
  font-size: 0.9em;
  color: #526174;
}

.isols-slot-status {
  color: #0f766e;
  font-weight: 800;
}

.isols-material-accordion {
  overflow: hidden;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #fff;
}

.isols-class-joining-row {
  display: grid;
  grid-template-columns: minmax(120px, 140px) minmax(120px, 140px) minmax(260px, 1fr);
  gap: 12px 14px;
  align-items: start;
}

.isols-class-joining-row label {
  min-width: 0;
}

.isols-class-joining-row label > span {
  min-height: 24px;
  line-height: 1.2;
}

.isols-class-joining-row textarea {
  min-height: 70px;
}

.isols-class-joining-save {
  grid-column: 3;
  justify-self: start;
  margin-bottom: 0;
  white-space: nowrap;
}

.isols-material-accordion > summary,
.isols-material-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: #172033;
  font-weight: 800;
}

.isols-material-accordion > summary {
  padding: 16px 18px;
  background: #f8fafc;
}

.isols-material-list {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #e2e8f0;
}

.isols-material-item {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.isols-material-item > summary {
  padding: 12px 14px;
}

.isols-material-item[open] > summary {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.isols-material-item-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.isols-material-instruction-label {
  color: #172033;
  font-weight: 800;
}

.isols-material-item-body textarea {
  min-height: 150px;
  resize: vertical;
}

.isols-sho-timing-options {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 13px 14px;
  background: #f8fafc;
}

.isols-sho-timing-options legend {
  padding: 0 4px;
  color: #172033;
  font-weight: 800;
}

.isols-task-send-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.isols-inline-success {
  color: #14532d;
  font-weight: 800;
}

.isols-general-material-box {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-top: 1px solid #e2e8f0;
}

.isols-general-material-box textarea {
  min-height: 150px;
  resize: vertical;
}

.isols-general-material-box input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

@media (max-width: 720px) {
  .isols-email-message-section,
  .isols-message-recipient-unavailable {
    padding: 14px;
  }

  .isols-email-message-form .isols-button,
  .isols-teacher-support-form .isols-button,
  .isols-teacher-general-message-form .isols-button {
    width: 100%;
    max-width: 100%;
  }

  .isols-teacher-general-message-form input[type="file"] {
    max-width: 100%;
    box-sizing: border-box;
  }
}

.isols-sho-submission-list {
  display: grid;
  gap: 14px;
}

.isols-sho-submission-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.isols-sho-submission-card h4 {
  margin: 4px 0 8px;
  color: #172033;
}

.isols-review-form {
  display: grid;
  gap: 10px;
}

.isols-review-form textarea {
  min-height: 112px;
  resize: vertical;
}

.isols-muted {
  color: #64748b;
  font-size: 14px;
}

.isols-button-compact {
  width: fit-content;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
}

.isols-teacher-photo-preview {
  width: 180px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.isols-teacher-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.isols-teacher-public-profile {
  max-width: 920px;
  margin: 0 auto;
  color: #1f2937;
}

.isols-teacher-profile-hero {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  border-bottom: 4px solid #0f766e;
  padding: 24px;
  background: #f0fdfa;
}

.isols-teacher-profile-hero h2 {
  margin: 5px 0 4px;
  color: #0f172a;
  font-size: 32px;
  line-height: 1.2;
}

.isols-teacher-profile-hero p {
  line-height: 1.6;
}

.isols-teacher-profile-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
}

.isols-teacher-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.isols-teacher-country {
  margin: 0 0 10px;
  color: #0f766e;
  font-weight: 800;
}

.isols-teacher-profile-section {
  margin-top: 16px;
  border-left: 4px solid #0f766e;
  padding: 18px 20px;
  background: #f8fafc;
}

.isols-teacher-profile-section h3 {
  margin: 0 0 8px;
  color: #0f172a;
}

.isols-teacher-profile-section p {
  margin: 0;
  line-height: 1.65;
}

.isols-learner-teacher-card,
.isols-learner-onboarding-panel {
  margin-top: 14px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
}

.isols-learner-teacher-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.isols-learner-teacher-photo img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.isols-learner-teacher-card h4,
.isols-learner-onboarding-panel h4,
.isols-learner-message-card h4 {
  margin: 2px 0 6px;
  color: #172033;
}

.isols-learner-teacher-card p,
.isols-learner-onboarding-panel p,
.isols-learner-message-card p {
  margin: 0 0 8px;
  color: #334155;
  line-height: 1.55;
}

.isols-learner-message-list {
  display: grid;
  gap: 10px;
}

.isols-learner-slot-times {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.isols-learner-slot-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 13px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-weight: 800;
  opacity: 1;
}

.isols-learner-slot-time:disabled {
  cursor: default;
  opacity: 1;
}

.isols-learner-message-list {
  border-top: 1px solid #e2e8f0;
  padding: 16px 18px;
}

.isols-learner-message-card {
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.isols-class-request-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.isols-learner-timezone {
  display: grid;
  gap: 10px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.isols-learner-timezone-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.isols-learner-timezone-summary > div {
  display: grid;
  gap: 3px;
}

.isols-learner-timezone-summary strong {
  color: #172033;
}

.isols-learner-timezone-summary span {
  color: #475569;
}

.isols-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #0f766e;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
}

.isols-timezone-mismatch {
  border-left: 4px solid #d97706;
  border-radius: 6px;
  padding: 12px;
  background: #fffbeb;
}

.isols-timezone-mismatch p {
  margin: 0 0 10px;
  color: #78350f;
}

.isols-timezone-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.isols-learner-timezone-selector {
  display: flex;
  align-items: end;
  gap: 10px;
  max-width: 700px;
}

.isols-learner-timezone-selector label {
  flex: 1;
  min-width: 0;
}

.isols-learner-timezone-selector .isols-autocomplete,
.isols-learner-timezone-selector .isols-autocomplete input {
  width: 100%;
  box-sizing: border-box;
}

.isols-class-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.isols-class-request-options {
  display: grid;
  gap: 14px;
}

.isols-class-request-option {
  margin: 0;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
}

.isols-class-request-option legend {
  padding: 0 6px;
  color: #172033;
  font-weight: 800;
}

.isols-class-request-shared {
  margin-top: 2px;
}

.isols-class-request-panel .isols-status-meta {
  margin-top: 12px;
}

.isols-class-request-history {
  margin-top: 18px;
}

.isols-confirmed-class-mirror,
.isols-class-request-history-section {
  margin-top: 18px;
}

.isols-confirmed-class-mirror-card .isols-booking-details {
  margin-bottom: 0;
}

.isols-upcoming-class-list {
  display: grid;
  gap: 18px;
}

.isols-history-month-selector {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #f8fafc;
}

.isols-history-month-selector label {
  display: grid;
  gap: 6px;
  min-width: min(100%, 260px);
  color: #172033;
  font-weight: 800;
}

.isols-history-month-selector select {
  width: 100%;
  min-height: 44px;
  padding: 8px 36px 8px 12px;
  border: 1px solid #aebdca;
  border-radius: 8px;
  background: #fff;
  color: #172033;
}

.isols-history-empty {
  margin: 0;
  padding: 22px;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  text-align: center;
}

.isols-schedule-date-groups,
.isols-history-sections,
.isols-history-date-groups,
.isols-history-card-list {
  display: grid;
  gap: 16px;
}

.isols-schedule-date-group,
.isols-history-section,
.isols-history-date-group {
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.isols-schedule-date-group > summary,
.isols-history-section > summary,
.isols-history-date-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: #172033;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.isols-history-section > summary {
  color: #b42318;
}

.isols-history-date-group > summary {
  color: #172033;
}

.isols-schedule-date-group > summary::-webkit-details-marker,
.isols-history-section > summary::-webkit-details-marker,
.isols-history-date-group > summary::-webkit-details-marker {
  display: none;
}

.isols-schedule-date-group > summary::after,
.isols-history-section > summary::after,
.isols-history-date-group > summary::after {
  content: "+";
  margin-left: auto;
  color: #13877d;
  font-size: 22px;
}

.isols-schedule-date-group[open] > summary::after,
.isols-history-section[open] > summary::after,
.isols-history-date-group[open] > summary::after {
  content: "\2212";
}

.isols-record-count {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.isols-schedule-date-group > .isols-upcoming-class-list,
.isols-history-section-body,
.isols-history-date-group > .isols-history-card-list {
  padding: 0 18px 18px;
}

.isols-history-subsections {
  display: grid;
  gap: 12px;
}

.isols-history-subsection > summary {
  padding: 14px 16px;
  color: #172033;
}

.isols-history-card {
  padding: 18px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #f8fafc;
}

.isols-history-card .isols-booking-details {
  margin-bottom: 0;
}

.isols-history-note {
  grid-column: 1 / -1;
}

.isols-upcoming-class-card {
  border: 2px solid #13877d;
  border-radius: 10px;
  padding: 22px;
  background: #fff;
}

.isols-upcoming-class-card h3 {
  margin: 0 0 16px;
}

.isols-booking-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0 0 18px;
}

.isols-booking-details > div {
  min-width: 0;
}

.isols-booking-details dt {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.isols-booking-details dd {
  margin: 3px 0 0;
  color: #172033;
  font-weight: 700;
}

.isols-upcoming-class-card.is-ongoing [data-isols-class-status] {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
}

.isols-upcoming-class-card.is-ongoing [data-isols-class-status]::before {
  background: #13877d;
  border-radius: 50%;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 0.55rem;
  opacity: 1;
  transform: scale(1);
  transform-origin: center;
  width: 0.55rem;
}

@media (prefers-reduced-motion: no-preference) {
  .isols-upcoming-class-card.is-ongoing [data-isols-class-status]::before {
    animation: isols-ongoing-status-pulse 2s ease-in-out infinite;
  }
}

@keyframes isols-ongoing-status-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.86);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.isols-booking-details .isols-teacher-profile-separator {
  margin: 0 4px;
  font-weight: 400;
}

.isols-booking-details .isols-teacher-profile-link {
  font-size: 1em;
  font-weight: 600;
}

.isols-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.isols-sho-latest-action {
  color: #b42318;
}

.isols-next-class-tap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 18px 0;
}

.isols-next-class-tap p {
  margin: 0;
}

.isols-meeting-access {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin: 0 0 18px;
}

.isols-meeting-access p {
  margin: 0;
}

.isols-meeting-instructions {
  white-space: normal;
}

.isols-cancellation-form {
  margin-top: 14px;
}

.isols-booking-actions .isols-cancellation-form {
  margin-top: 0;
}

.isols-cancellation-form > summary {
  display: inline-flex;
  list-style: none;
  cursor: pointer;
}

.isols-cancellation-form > summary::-webkit-details-marker {
  display: none;
}

.isols-cancellation-form form {
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #f8fafc;
}

.isols-cancellation-form h4,
.isols-cancellation-form p {
  margin: 0;
}

.isols-cancellation-form .isols-cancellation-policy {
  padding: 14px 16px;
  border-left: 4px solid #0f8b83;
  border-radius: 6px;
  background: #eefaf8;
  color: #1f2937;
  line-height: 1.55;
}

.isols-cancellation-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.isols-cancellation-form select,
.isols-cancellation-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.isols-cancellation-form button[type="submit"] {
  justify-content: center;
}

.isols-cancellation-closed {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  color: #64748b;
}

.isols-request-history-list {
  display: grid;
  gap: 12px;
}

.isols-request-history-card {
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.isols-request-history-heading,
.isols-request-history-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.isols-request-history-actions {
  justify-content: flex-start;
  margin-top: 12px;
}

.isols-request-history-actions form {
  margin: 0;
}

.isols-cancelled-request-history {
  margin-top: 14px;
  border-top: 1px solid #dbe4ee;
  padding-top: 12px;
}

.isols-cancelled-request-history summary {
  color: #475569;
  cursor: pointer;
  font-weight: 800;
}

.isols-cancelled-request-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.isols-time-zone-converter-form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(150px, 0.7fr) minmax(130px, 0.6fr) minmax(0, 1.4fr) auto;
  gap: 14px;
  align-items: end;
}

.isols-time-zone-converter-form > label {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-weight: 700;
}

.isols-time-zone-converter-result {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #99d5ce;
  border-radius: 8px;
  background: #effbf9;
}

.isols-time-zone-converter-result span {
  color: #475569;
}

.isols-time-zone-converter-result strong {
  font-size: 20px;
}

.isols-cancelled-request-row {
  display: grid;
  grid-template-columns: minmax(110px, auto) minmax(120px, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
}

body.isols-cutie-pie-dashboard-booking .site-header,
body.isols-cutie-pie-dashboard-booking #masthead,
body.isols-cutie-pie-dashboard-booking header.wp-block-template-part,
body.isols-cutie-pie-dashboard-booking .site-footer,
body.isols-cutie-pie-dashboard-booking #colophon,
body.isols-cutie-pie-dashboard-booking footer.wp-block-template-part {
  display: none !important;
}

@media (max-width: 720px) {
  body.isols-learner-area-page h1.hostinger-ai-page-title.wp-block-post-title {
    display: none;
  }

  body.isols-learner-area-page .entry-title,
  body.isols-learner-area-page .page-title,
  body.isols-learner-area-page h1.entry-title,
  body:has(.isols-learner-area-shell) .entry-title,
  body:has(.isols-learner-area-shell) .page-title,
  body:has(.isols-learner-area-shell) h1.entry-title {
    display: none;
  }

  .isols-learner-area-shell .isols-learner-mobile-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-column: 1 / -1;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .isols-learner-area-shell .isols-learner-mobile-page-title {
    display: block;
    min-width: 0;
    margin: 0;
    color: #111827;
    font-size: clamp(1.5rem, 6vw, 1.75rem);
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .isols-learner-area-shell .isols-learner-mobile-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #94a3b8;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .isols-learner-area-shell .isols-learner-mobile-logout:hover {
    border-color: #64748b;
    color: #0f766e;
    text-decoration: underline;
  }

  .isols-learner-area-shell .isols-learner-mobile-logout:focus,
  .isols-learner-area-shell .isols-learner-mobile-logout:focus-visible {
    outline: 3px solid #0f766e;
    outline-offset: 2px;
  }

  .isols-learner-area-shell .isols-learner-mobile-language {
    display: block;
    grid-column: 1 / -1;
    min-width: 0;
  }

  .isols-learner-area-shell .isols-learner-mobile-language .isols-language-selector {
    align-items: stretch;
    display: grid;
    gap: 6px;
    margin: 0;
  }

  .isols-learner-area-shell .isols-learner-mobile-language .isols-language-selector label {
    color: #172033;
  }

  .isols-learner-area-shell .isols-learner-mobile-language .isols-language-selector select,
  .isols-learner-area-shell .isols-learner-mobile-language .isols-language-selector .isols-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }

  .isols-learner-area-shell .isols-learner-mobile-language .isols-language-selector select:focus-visible,
  .isols-learner-area-shell .isols-learner-mobile-language .isols-language-selector .isols-button:focus-visible {
    outline: 3px solid #0f766e;
    outline-offset: 2px;
  }

  .isols-learner-area-shell .isols-learner-desktop-language {
    display: none;
  }

  .isols-learner-area-shell
  .isols-learner-area-sidebar
  .isols-learner-mobile-menu-content
  > .isols-area-logout {
    display: none !important;
  }

  .isols-learner-area-shell .isols-upcoming-classes-page > .isols-dashboard-header h2,
  .isols-learner-area-shell .isols-learner-payments-page > .isols-dashboard-header h2 {
    display: none;
  }

  .isols-learner-area-shell .isols-learner-booking-page > .isols-dashboard-header > div:first-child {
    display: none;
  }

  .isols-learner-area-shell .isols-tap-card .isols-button {
    width: auto;
    max-width: 100%;
  }

  .isols-learner-area-shell .isols-tap-card .isols-button.isols-button-compact {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    padding: 7px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
  }

  .isols-learner-area-shell,
  .isols-teacher-area-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    max-width: none;
    margin: 20px 0 36px;
    padding: 0 16px;
  }

  .isols-learner-area-shell {
    gap: 12px;
  }

  .isols-learner-area-sidebar,
  .isols-teacher-area-sidebar {
    position: static;
    padding: 14px;
    border-radius: 12px;
  }

  .isols-learner-area-nav,
  .isols-teacher-area-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .isols-learner-area-link,
  .isols-teacher-area-link {
    flex: 1 1 140px;
    padding: 10px 12px;
    text-align: center;
  }

  .isols-widget {
    padding: 18px;
  }

  .isols-dashboard-header {
    flex-direction: column;
  }

  .isols-learner-booking-page .isols-dashboard-header {
    align-items: stretch;
  }

  .isols-learner-booking-page .isols-booking-back-link {
    align-self: flex-end;
    margin-left: 0;
  }

  .isols-dob-fields {
    grid-template-columns: 1fr;
  }

  .isols-form-grid-three,
  .isols-form-grid-two,
  .isols-time-zone-converter-form,
  .isols-availability-timezone-form,
  .isols-availability-form-row,
  .isols-availability-block-card,
  .isols-availability-row-form,
  .isols-learner-teacher-card,
  .isols-teacher-material-grid,
  .isols-class-joining-row,
  .isols-class-progress-context,
  .isols-sho-submission-card,
  .isols-message-record {
    grid-template-columns: 1fr;
  }

  .isols-class-request-grid {
    grid-template-columns: 1fr;
  }

  .isols-booking-details {
    grid-template-columns: 1fr;
  }

  .isols-upcoming-class-card,
  .isols-cancellation-form form {
    padding: 14px;
  }

  .isols-cancelled-request-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .isols-availability-block-details > div,
  .isols-availability-block-field {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .isols-availability-block-side {
    justify-content: flex-start;
  }

  .isols-learner-timezone-summary,
  .isols-learner-timezone-selector {
    align-items: stretch;
    flex-direction: column;
  }

  .isols-class-progress-table {
    table-layout: auto;
  }

  .isols-class-joining-save {
    grid-column: auto;
  }

  .isols-teacher-profile-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .isols-teacher-profile-photo {
    max-width: 220px;
  }

  .isols-teacher-profile-hero h2 {
    font-size: 26px;
  }
}

[data-isols-sho-modified-upload][hidden] {
    display: none !important;
}

/* Teacher lesson-plan resources and class reports. */
.isols-lesson-number-grid,
.isols-lesson-level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.isols-lesson-number-grid .is-active,
.isols-lesson-level-grid .is-active {
    outline: 3px solid rgba(31, 96, 128, .24);
}

.isols-lesson-viewer iframe {
    width: 100%;
    min-height: 720px;
    border: 1px solid #d9e0e7;
    border-radius: 10px;
    background: #f5f7f9;
}

.isols-lesson-booking-list,
.isols-saved-lesson-report {
    display: grid;
    gap: 14px;
}

.isols-lesson-booking-choice {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(220px, 2fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #d9e0e7;
    border-radius: 10px;
}

.isols-lesson-entry,
.isols-saved-lesson-entry,
.isols-previous-lesson-entry,
.isols-lesson-history-report {
    margin: 14px 0;
    padding: 14px;
    border: 1px solid #d9e0e7;
    border-radius: 12px;
    background: #fff;
}

.isols-lesson-entry {
    position: relative;
}

.isols-lesson-entry-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.isols-lesson-status-choice,
.isols-lesson-continue-fields {
    margin-top: 16px;
    padding: 12px;
    border: 1px solid #d9e0e7;
    border-radius: 8px;
}

.isols-lesson-status-choice legend {
    padding: 0 6px;
    font-weight: 700;
}

.isols-lesson-status-choice label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 7px 0;
}

.isols-remove-unsaved-lesson {
    float: right;
    margin: 0 0 10px 12px;
}

.isols-lesson-report-center [hidden] {
    display: none !important;
}

.isols-lesson-continue-fields h4 {
    margin-top: 0;
}

.isols-lesson-continuation-reminder {
    background: #f5f9fb;
    border-left: 4px solid #1f6080;
}

.isols-lesson-continuation-reminder p:last-child {
    margin-bottom: 0;
}

.isols-previous-lesson-date {
    margin: 0 0 10px;
    color: #526274;
}

.isols-lesson-entry-version {
    margin: 12px 0;
    padding: 14px;
    border-left: 4px solid #1f6080;
    background: #f5f9fb;
}

.isols-lesson-correction {
    margin-top: 14px;
}

.isols-lesson-booking-panel {
    margin: 14px 0;
    padding: 12px;
    border: 1px solid #d9e0e7;
    border-radius: 8px;
    background: #f8fafc;
}

.isols-next-class-preparation-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.isols-lesson-history {
    margin-top: 22px;
}

.isols-lesson-purpose-options {
    display: grid;
    gap: 10px;
    margin: 16px 0;
    padding: 0;
    border: 0;
}

.isols-lesson-purpose-options label {
    display: block;
    padding: 12px 14px;
    border: 1px solid #d9e0e7;
    border-radius: 8px;
    background: #fff;
}

.isols-lesson-purpose-detail {
    margin: 14px 0;
    padding: 14px;
    border-left: 4px solid #1f6080;
    background: #f5f9fb;
}

.isols-lesson-purpose-detail[hidden] {
    display: none !important;
}

.isols-lesson-access-card-note {
    margin: 10px 0 0;
    font-size: .92em;
    color: #425466;
}

.isols-accountable-lesson-viewer [data-isols-access-status] {
    display: inline-block;
    margin-left: 10px;
}

@media (max-width: 720px) {
    .isols-lesson-entry-columns,
    .isols-lesson-booking-choice {
        grid-template-columns: 1fr;
    }

    .isols-lesson-viewer iframe {
        min-height: 520px;
    }
}
.isols-live-attendance {
  margin: 1rem 0;
}

.isols-live-attendance[hidden] {
  display: none !important;
}

.isols-attendance-confirmation {
  align-items: flex-start;
  display: flex;
  gap: 0.6rem;
  margin: 1rem 0;
}

.isols-attendance-confirmation input {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.isols-language-selector {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.isols-language-selector label {
  display: grid;
  gap: 5px;
  margin: 0;
}

.isols-language-selector select {
  min-width: 170px;
}

.isols-learner-area-sidebar .isols-language-selector {
  align-items: stretch;
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding: 11px;
  border-radius: 10px;
  background: #b42318;
  box-shadow: 0 6px 14px rgba(180, 35, 24, 0.16);
  color: #ffffff;
}

.isols-learner-area-sidebar .isols-language-selector label {
  gap: 6px;
  color: #ffffff;
  font-weight: 800;
}

.isols-learner-area-sidebar .isols-language-selector__heading {
  font-size: 0.92rem;
  line-height: 1.3;
}

.isols-learner-area-sidebar .isols-language-selector select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid #ffffff;
  border-radius: 8px;
  background: #ffffff;
  color: #172033;
}

.isols-learner-area-sidebar .isols-language-selector noscript {
  display: block;
}

.isols-learner-area-sidebar .isols-language-selector .isols-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #991b1b;
}

.isols-learner-area-sidebar .isols-language-selector .isols-button:hover,
.isols-learner-area-sidebar .isols-language-selector .isols-button:focus {
  border-color: #fee2e2;
  background: #fff7f6;
  color: #7f1d1d;
}

.isols-learner-area-sidebar .isols-language-selector select:focus-visible,
.isols-learner-area-sidebar .isols-language-selector .isols-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* Learner mobile typography hierarchy (1.0.434). */
@media (max-width: 720px) {
  .isols-learner-area-shell,
  .isols-learner-area-shell p,
  .isols-learner-area-shell li,
  .isols-learner-area-shell dd,
  .isols-learner-area-shell .isols-help-text,
  .isols-learner-area-shell .isols-muted,
  .isols-learner-area-shell .isols-advice,
  .isols-learner-area-shell .isols-evaluation-intro,
  .isols-learner-area-shell .isols-evaluation-opening p,
  .isols-learner-area-shell .isols-minutes,
  .isols-learner-area-shell .isols-message-record dd,
  .isols-learner-area-shell .isols-booking-details dd,
  .isols-learner-area-shell .isols-record-count,
  .isols-learner-area-shell .isols-sho-message-meta,
  .isols-learner-area-shell .isols-sho-message-text,
  .isols-learner-area-shell .isols-alert p,
  .isols-learner-area-shell .isols-timezone-mismatch p {
    font-weight: 400;
  }

  .isols-learner-area-shell .isols-learner-area-link,
  .isols-learner-area-shell .isols-area-logout,
  .isols-learner-area-shell .isols-learner-mobile-menu-label > span,
  .isols-learner-area-shell .isols-learner-mobile-menu-label > strong,
  .isols-learner-area-shell .isols-language-selector label,
  .isols-learner-area-shell label,
  .isols-learner-area-shell legend,
  .isols-learner-area-shell h3,
  .isols-learner-area-shell h4,
  .isols-learner-area-shell h5,
  .isols-learner-area-shell summary,
  .isols-learner-area-shell button,
  .isols-learner-area-shell .isols-button,
  .isols-learner-area-shell .isols-link-button,
  .isols-learner-area-shell .isols-materials-back a,
  .isols-learner-area-shell .isols-step-label,
  .isols-learner-area-shell .isols-guidance-label,
  .isols-learner-area-shell .isols-action-box,
  .isols-learner-area-shell .isols-action-note,
  .isols-learner-area-shell .isols-level,
  .isols-learner-area-shell .isols-status-meta span,
  .isols-learner-area-shell .isols-badge,
  .isols-learner-area-shell .isols-status-badge,
  .isols-learner-area-shell .isols-accordion-action,
  .isols-learner-area-shell .isols-field-error,
  .isols-learner-area-shell .isols-message-feedback,
  .isols-learner-area-shell .isols-autocomplete-option span,
  .isols-learner-area-shell .isols-autocomplete-group,
  .isols-learner-area-shell .isols-history-month-selector label,
  .isols-learner-area-shell .isols-booking-details dt,
  .isols-learner-area-shell .isols-sho-form label > span,
  .isols-learner-area-shell .isols-sho-class-latest,
  .isols-learner-area-shell .isols-sho-previous-eligibility-note {
    font-weight: 600;
  }

  .isols-learner-area-shell h2,
  .isols-learner-area-shell .isols-button-highlight,
  .isols-learner-area-shell .isols-alert-error h3,
  .isols-learner-area-shell .isols-alert-error h4,
  .isols-learner-area-shell .isols-alert-error h5,
  .isols-learner-area-shell .isols-alert-warning h3,
  .isols-learner-area-shell .isols-alert-warning h4,
  .isols-learner-area-shell .isols-alert-warning h5 {
    font-weight: 700;
  }

  .isols-learner-area-shell input,
  .isols-learner-area-shell select,
  .isols-learner-area-shell textarea,
  .isols-learner-area-shell option {
    font-weight: 400;
  }

  .isols-learner-area-shell .isols-alert-success,
  .isols-learner-area-shell .isols-inline-success,
  .isols-learner-area-shell input[type="button"],
  .isols-learner-area-shell input[type="reset"],
  .isols-learner-area-shell input[type="submit"] {
    font-weight: 600;
  }

  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-form label,
  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-form legend,
  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-option legend,
  .isols-learner-area-shell .isols-learner-booking-page .isols-learner-timezone-summary strong,
  .isols-learner-area-shell .isols-learner-booking-page .isols-link-button,
  .isols-learner-area-shell .isols-learner-booking-page .isols-booking-back-link,
  .isols-learner-area-shell .isols-learner-booking-page .isols-button,
  .isols-learner-area-shell .isols-learner-booking-page summary,
  .isols-learner-area-shell .isols-learner-booking-page .isols-booking-details dt,
  .isols-learner-area-shell .isols-learner-booking-page .isols-field-error {
    font-weight: 600;
  }

  .isols-learner-area-shell .isols-learner-booking-page input,
  .isols-learner-area-shell .isols-learner-booking-page select,
  .isols-learner-area-shell .isols-learner-booking-page textarea,
  .isols-learner-area-shell .isols-learner-booking-page option,
  .isols-learner-area-shell .isols-learner-booking-page .isols-learner-timezone-summary span,
  .isols-learner-area-shell .isols-learner-booking-page .isols-booking-details dd,
  .isols-learner-area-shell .isols-learner-booking-page .isols-record-count,
  .isols-learner-area-shell .isols-learner-booking-page .isols-alert p {
    font-weight: 400;
  }

  .isols-learner-area-shell .isols-learner-booking-page .isols-button-highlight,
  .isols-learner-area-shell .isols-learner-booking-page .isols-class-request-form > .isols-button[type="submit"] {
    font-weight: 700;
  }
}

/*
 * Mobile class-outcome forms can sit inside several history accordions and
 * cards. Reduce only those repeated horizontal insets so the shared learner
 * and teacher forms retain the available viewport width.
 */
@media (max-width: 720px) {
  body.isols-teacher-shell-page h1.hostinger-ai-page-title.wp-block-post-title {
    display: none;
  }

  .isols-teacher-area-shell .isols-teacher-mobile-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-column: 1 / -1;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .isols-teacher-area-shell .isols-teacher-mobile-page-title {
    display: block;
    min-width: 0;
    margin: 0;
    color: #111827;
    font-size: clamp(1.5rem, 6vw, 1.75rem);
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: break-word;
  }

  .isols-teacher-area-shell .isols-teacher-mobile-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #94a3b8;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-mobile-logout:hover {
    border-color: #64748b;
    color: #0f766e;
    text-decoration: underline;
  }

  .isols-teacher-area-shell .isols-teacher-mobile-logout:focus,
  .isols-teacher-area-shell .isols-teacher-mobile-logout:focus-visible {
    outline: 3px solid #0f766e;
    outline-offset: 2px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page > .isols-dashboard-header h2 {
    display: none;
  }

  .isols-learner-area-sidebar .isols-area-logout {
    text-align: center;
  }

  .isols-learner-area-sidebar {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .isols-learner-area-sidebar.isols-mobile-menu-ready .isols-learner-mobile-menu-toggle {
    display: flex;
  }

  .isols-learner-mobile-menu-toggle {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 12px;
    background: #f8fafc;
    color: #172033;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
  }

  .isols-learner-mobile-menu-toggle:hover,
  .isols-learner-mobile-menu-toggle[aria-expanded="true"] {
    border-color: #94a3b8;
    background: #f1f5f9;
  }

  .isols-learner-mobile-menu-toggle:focus,
  .isols-learner-mobile-menu-toggle:focus-visible {
    outline: 3px solid #0f766e;
    outline-offset: 2px;
  }

  .isols-learner-mobile-menu-label {
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
  }

  .isols-learner-mobile-menu-icon {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, 2px);
    transition: transform 160ms ease;
  }

  .isols-learner-mobile-menu-toggle[aria-expanded="true"] .isols-learner-mobile-menu-icon {
    transform: rotate(225deg) translate(-2px, 2px);
  }

  .isols-learner-mobile-menu-content[hidden] {
    display: none !important;
  }

  .isols-mobile-menu-ready .isols-learner-mobile-menu-content:not([hidden]) {
    width: 100%;
    margin-top: 12px;
  }

  .isols-learner-area-shell .isols-learner-area-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 6px;
    width: 100%;
  }

  .isols-learner-area-shell .isols-learner-area-link {
    position: relative;
    display: grid;
    grid-template-columns: 5px minmax(0, 1fr);
    column-gap: 8px;
    align-content: center;
    align-items: start;
    flex: none;
    min-width: 0;
    min-height: 52px;
    padding: 7px 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: left;
    word-break: normal;
    overflow-wrap: normal;
    line-height: 1.3;
    box-sizing: border-box;
  }

  .isols-learner-area-shell .isols-learner-area-link::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-top: calc((1.3em - 5px) / 2);
    border-radius: 50%;
    background: currentColor;
  }

  .isols-learner-area-shell .isols-learner-area-link.is-active {
    background: #f0fdfa;
    color: #0f766e;
    box-shadow: inset 0 0 0 1px #99d8d2;
  }

  .isols-learner-area-shell .isols-learner-area-link:focus-visible,
  .isols-mobile-menu-ready .isols-learner-area-link:focus,
  .isols-mobile-menu-ready .isols-learner-area-link:focus-visible,
  .isols-mobile-menu-ready .isols-area-logout:focus,
  .isols-mobile-menu-ready .isols-area-logout:focus-visible {
    outline: 3px solid #0f766e;
    outline-offset: 2px;
  }

  .isols-mobile-menu-ready .isols-area-logout {
    min-height: 44px;
    box-sizing: border-box;
  }

  .isols-mobile-menu-ready .isols-language-selector select,
  .isols-mobile-menu-ready .isols-language-selector .isols-button {
    min-height: 44px;
  }

  .isols-teacher-area-sidebar {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .isols-teacher-area-sidebar.isols-mobile-menu-ready .isols-teacher-mobile-menu-toggle {
    display: flex;
  }

  .isols-teacher-mobile-menu-toggle {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 12px;
    background: #f8fafc;
    color: #172033;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
  }

  .isols-teacher-mobile-menu-toggle:hover,
  .isols-teacher-mobile-menu-toggle[aria-expanded="true"] {
    border-color: #94a3b8;
    background: #f1f5f9;
  }

  .isols-teacher-mobile-menu-toggle:focus,
  .isols-teacher-mobile-menu-toggle:focus-visible {
    outline: 3px solid #0f766e;
    outline-offset: 2px;
  }

  .isols-teacher-mobile-menu-label {
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
  }

  .isols-teacher-mobile-menu-icon {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, 2px);
    transition: transform 160ms ease;
  }

  .isols-teacher-mobile-menu-toggle[aria-expanded="true"] .isols-teacher-mobile-menu-icon {
    transform: rotate(225deg) translate(-2px, 2px);
  }

  .isols-teacher-mobile-menu-content[hidden] {
    display: none !important;
  }

  .isols-teacher-area-sidebar.isols-mobile-menu-ready .isols-teacher-mobile-menu-content:not([hidden]) {
    width: 100%;
    margin-top: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-area-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 6px;
    width: 100%;
  }

  .isols-teacher-area-shell .isols-teacher-area-link {
    position: relative;
    display: grid;
    grid-template-columns: 5px minmax(0, 1fr);
    column-gap: 8px;
    align-content: center;
    align-items: start;
    flex: none;
    min-width: 0;
    min-height: 52px;
    padding: 7px 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: left;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.3;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-area-link::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-top: calc((1.3em - 5px) / 2);
    border-radius: 50%;
    background: currentColor;
  }

  .isols-teacher-area-shell .isols-teacher-area-link.is-active {
    background: #f0fdfa;
    color: #0f766e;
    box-shadow: inset 0 0 0 1px #99d8d2;
  }

  .isols-teacher-area-shell .isols-teacher-area-link:focus,
  .isols-teacher-area-shell .isols-teacher-area-link:focus-visible,
  .isols-teacher-area-sidebar.isols-mobile-menu-ready .isols-area-logout:focus,
  .isols-teacher-area-sidebar.isols-mobile-menu-ready .isols-area-logout:focus-visible {
    outline: 3px solid #0f766e;
    outline-offset: 2px;
  }

  .isols-teacher-area-sidebar .isols-area-logout {
    display: none;
  }

  .elementor-widget-shortcode:has(.isols-teacher-area-shell) {
    --container-widget-width: 100% !important;
    --container-widget-flex-grow: 0 !important;
    align-self: stretch !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  :where(.isols-learner-history-page, .isols-teacher-history-page)
  .isols-history-section-body:has(.isols-outcome-form) {
    padding-left: 8px;
    padding-right: 8px;
  }

  .isols-learner-history-page
  .isols-history-subsection
  > .isols-history-section-body:has(.isols-outcome-form) {
    padding-left: 0;
    padding-right: 0;
  }

  :where(.isols-learner-history-page, .isols-teacher-history-page)
  .isols-history-date-group:has(.isols-outcome-form)
  > .isols-history-card-list {
    padding-left: 8px;
    padding-right: 8px;
  }

  :where(.isols-learner-history-page, .isols-teacher-history-page)
  .isols-history-card:has(.isols-outcome-form) {
    padding-left: 8px;
    padding-right: 8px;
  }

  .isols-dashboard .isols-class-outcome-action {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    text-align: left;
  }

  .isols-dashboard .isols-outcome-choice,
  .isols-dashboard .isols-outcome-form,
  .isols-dashboard .isols-outcome-question {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    text-align: left;
  }

  .isols-dashboard .isols-outcome-form {
    padding-left: 0;
    padding-right: 0;
  }

  .isols-dashboard .isols-outcome-question {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* 1.0.445: Consistent teacher-area mobile typography hierarchy. */
@media (max-width: 720px) {
  .isols-teacher-area-shell,
  .isols-teacher-area-shell p,
  .isols-teacher-area-shell dd,
  .isols-teacher-area-shell small,
  .isols-teacher-area-shell input:not([type="button"]):not([type="submit"]):not([type="reset"]),
  .isols-teacher-area-shell select,
  .isols-teacher-area-shell textarea,
  .isols-teacher-area-shell .isols-muted,
  .isols-teacher-area-shell .isols-profile-request-meta,
  .isols-teacher-area-shell .isols-file-input-status,
  .isols-teacher-area-shell .isols-file-selection-name,
  .isols-teacher-area-shell .isols-booking-details dd,
  .isols-teacher-area-shell .isols-availability-block-details dd,
  .isols-teacher-area-shell .isols-sho-class-latest,
  .isols-teacher-area-shell .isols-sho-previous-eligibility-note,
  .isols-teacher-area-shell .isols-teacher-country,
  .isols-teacher-area-shell .isols-minutes,
  .isols-teacher-area-shell .isols-alert p,
  .isols-teacher-area-shell .isols-notice p,
  .isols-teacher-area-shell .isols-step .isols-help-text,
  .isols-teacher-area-shell .isols-advice {
    font-weight: 400;
  }

  .isols-teacher-area-shell h2,
  .isols-teacher-area-shell h3,
  .isols-teacher-area-shell h4,
  .isols-teacher-area-shell h5,
  .isols-teacher-area-shell strong,
  .isols-teacher-area-shell label,
  .isols-teacher-area-shell legend,
  .isols-teacher-area-shell summary,
  .isols-teacher-area-shell dt,
  .isols-teacher-area-shell th,
  .isols-teacher-area-shell button,
  .isols-teacher-area-shell input[type="button"],
  .isols-teacher-area-shell input[type="submit"],
  .isols-teacher-area-shell input[type="reset"],
  .isols-teacher-area-shell .isols-button,
  .isols-teacher-area-shell .isols-link-button,
  .isols-teacher-area-shell .isols-teacher-area-link,
  .isols-teacher-area-shell .isols-teacher-mobile-menu-label,
  .isols-teacher-area-shell .isols-teacher-mobile-logout,
  .isols-teacher-area-shell .isols-area-logout,
  .isols-teacher-area-shell .isols-step-label,
  .isols-teacher-area-shell .isols-badge,
  .isols-teacher-area-shell .isols-status-badge,
  .isols-teacher-area-shell .isols-record-count,
  .isols-teacher-area-shell .isols-slot-status,
  .isols-teacher-area-shell .isols-message-feedback,
  .isols-teacher-area-shell .isols-field-error,
  .isols-teacher-area-shell .isols-alert-success,
  .isols-teacher-area-shell .isols-inline-success,
  .isols-teacher-area-shell .isols-status-meta span,
  .isols-teacher-area-shell .isols-wallet-total span,
  .isols-teacher-area-shell .isols-wallet-total strong {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-form label,
  .isols-teacher-area-shell .isols-form legend,
  .isols-teacher-area-shell .isols-cancellation-form label,
  .isols-teacher-area-shell .isols-history-month-selector label,
  .isols-teacher-area-shell .isols-outcome-question legend,
  .isols-teacher-area-shell .isols-technical-problem-options legend,
  .isols-teacher-area-shell .isols-lesson-status-choice legend,
  .isols-teacher-area-shell .isols-sho-timing-options legend,
  .isols-teacher-area-shell .isols-material-instruction-label,
  .isols-teacher-area-shell .isols-sho-form label > span,
  .isols-teacher-area-shell .isols-availability-block-details dt,
  .isols-teacher-area-shell .isols-availability-block-field > span,
  .isols-teacher-area-shell .isols-availability-row-form label > span,
  .isols-teacher-area-shell .isols-message-record dt,
  .isols-teacher-area-shell .isols-booking-details dt,
  .isols-teacher-area-shell .isols-class-progress-table thead th,
  .isols-teacher-area-shell .isols-class-progress-table tbody th,
  .isols-teacher-area-shell .isols-availability-table th {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-step h3,
  .isols-teacher-area-shell .isols-widget h3,
  .isols-teacher-area-shell .isols-upcoming-class-card h3,
  .isols-teacher-area-shell .isols-history-card h3,
  .isols-teacher-area-shell .isols-materials-door strong,
  .isols-teacher-area-shell .isols-dashboard-accordion > summary,
  .isols-teacher-area-shell .isols-message-composer > summary,
  .isols-teacher-area-shell .isols-outcome-choice > summary,
  .isols-teacher-area-shell .isols-safety-report-panel > summary,
  .isols-teacher-area-shell .isols-material-accordion > summary,
  .isols-teacher-area-shell .isols-material-item > summary,
  .isols-teacher-area-shell .isols-sho-history-section > summary,
  .isols-teacher-area-shell .isols-sho-previous-conversation > summary,
  .isols-teacher-area-shell .isols-schedule-date-group > summary,
  .isols-teacher-area-shell .isols-history-section > summary,
  .isols-teacher-area-shell .isols-history-date-group > summary,
  .isols-teacher-area-shell .isols-accordion-action,
  .isols-teacher-area-shell .isols-thread-toggle-label,
  .isols-teacher-area-shell .isols-autocomplete-option span,
  .isols-teacher-area-shell .isols-autocomplete-option strong,
  .isols-teacher-area-shell .isols-autocomplete-group,
  .isols-teacher-area-shell .isols-slot-browser-label,
  .isols-teacher-area-shell .isols-slot-date-button,
  .isols-teacher-area-shell .isols-sho-remove-task,
  .isols-teacher-area-shell .isols-materials-back a,
  .isols-teacher-area-shell .isols-sho-class-group > .isols-sho-card-heading::after {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-teacher-profile-page .isols-teacher-profile-editor .isols-form > .isols-button[type="submit"],
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-add-form > .isols-button[type="submit"] {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-teacher-mobile-page-title,
  .isols-teacher-area-shell .isols-alert-error h2,
  .isols-teacher-area-shell .isols-alert-error h3,
  .isols-teacher-area-shell .isols-alert-error h4,
  .isols-teacher-area-shell .isols-alert-error h5,
  .isols-teacher-area-shell .isols-alert-warning h2,
  .isols-teacher-area-shell .isols-alert-warning h3,
  .isols-teacher-area-shell .isols-alert-warning h4,
  .isols-teacher-area-shell .isols-alert-warning h5,
  .isols-teacher-area-shell .isols-safety-report-panel h2,
  .isols-teacher-area-shell .isols-safety-report-panel h3,
  .isols-teacher-area-shell .isols-safety-report-panel h4 {
    font-weight: 700;
  }
}

/* 0.3.5: center only the public/non-learner Book a Class access notice. */
.elementor-widget-shortcode:has(.isols-cutie-pie-access-notice),
.wp-block-shortcode:has(.isols-cutie-pie-access-notice) {
  --container-widget-width: 100% !important;
  --container-widget-flex-grow: 0 !important;
  align-self: stretch !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.isols-widget.isols-cutie-pie-access-notice {
  width: calc(100% - 32px);
  max-width: 820px;
  margin: 32px auto 48px;
  box-sizing: border-box;
}

.isols-cutie-pie-access-notice h2 {
  margin-top: 0;
}

.isols-cutie-pie-access-notice .isols-notice-actions {
  align-items: center;
  margin: 24px 0 0;
}

@media (max-width: 640px) {
  .isols-widget.isols-cutie-pie-access-notice {
    width: calc(100% - 24px);
    margin: 20px auto 32px;
    padding: 20px;
  }

  .isols-cutie-pie-access-notice .isols-notice-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .isols-cutie-pie-access-notice .isols-notice-actions .isols-button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

/* 1.0.451: Purpose-based learner-area desktop font-weight hierarchy. */
@media (min-width: 1024px) {
  .isols-learner-area-shell strong {
    font-weight: inherit;
  }

  .isols-learner-area-shell,
  .isols-learner-area-shell p,
  .isols-learner-area-shell li,
  .isols-learner-area-shell dd,
  .isols-learner-area-shell small,
  .isols-learner-area-shell input:not([type="button"]):not([type="submit"]):not([type="reset"]),
  .isols-learner-area-shell select,
  .isols-learner-area-shell textarea,
  .isols-learner-area-shell option,
  .isols-learner-area-shell .isols-muted,
  .isols-learner-area-shell .isols-help-text,
  .isols-learner-area-shell .isols-advice,
  .isols-learner-area-shell .isols-action-box,
  .isols-learner-area-shell .isols-action-box p,
  .isols-learner-area-shell .isols-action-note,
  .isols-learner-area-shell .isols-profile-request-meta,
  .isols-learner-area-shell .isols-file-input-status,
  .isols-learner-area-shell .isols-file-selection-name,
  .isols-learner-area-shell .isols-booking-details dd,
  .isols-learner-area-shell .isols-message-record dd,
  .isols-learner-area-shell .isols-learner-message-card p,
  .isols-learner-area-shell .isols-thread-card p,
  .isols-learner-area-shell .isols-thread-message p,
  .isols-learner-area-shell .isols-evaluation-intro,
  .isols-learner-area-shell .isols-evaluation-opening p,
  .isols-learner-area-shell .isols-alert p,
  .isols-learner-area-shell .isols-notice p,
  .isols-learner-area-shell .isols-alert-success,
  .isols-learner-area-shell .isols-alert-success p,
  .isols-learner-area-shell .isols-inline-success,
  .isols-learner-area-shell .isols-history-note,
  .isols-learner-area-shell .isols-minutes,
  .isols-learner-area-shell .isols-learner-timezone-summary span,
  .isols-learner-area-shell .isols-outcome-question label,
  .isols-learner-area-shell .isols-technical-problem-option,
  .isols-learner-area-shell .isols-technical-problem-options label,
  .isols-learner-area-shell .isols-lesson-status-choice label,
  .isols-learner-area-shell .isols-sho-timing-options label,
  .isols-learner-area-shell .isols-radio,
  .isols-learner-area-shell .isols-checkbox,
  .isols-learner-area-shell .isols-option-letter,
  .isols-learner-area-shell .isols-option-text {
    font-weight: 400;
  }

  .isols-learner-area-shell label,
  .isols-learner-area-shell legend,
  .isols-learner-area-shell .isols-form label,
  .isols-learner-area-shell .isols-form legend,
  .isols-learner-area-shell .isols-language-selector label,
  .isols-learner-area-shell .isols-learner-timezone-selector label,
  .isols-learner-area-shell .isols-cancellation-form label,
  .isols-learner-area-shell .isols-history-month-selector label,
  .isols-learner-area-shell .isols-filter-form label,
  .isols-learner-area-shell .isols-outcome-question legend,
  .isols-learner-area-shell .isols-technical-problem-options legend,
  .isols-learner-area-shell .isols-lesson-status-choice legend,
  .isols-learner-area-shell .isols-sho-timing-options legend {
    font-weight: 500;
  }

  .isols-learner-area-shell h2,
  .isols-learner-area-shell h3,
  .isols-learner-area-shell h4,
  .isols-learner-area-shell h5,
  .isols-learner-area-shell summary,
  .isols-learner-area-shell dt,
  .isols-learner-area-shell th,
  .isols-learner-area-shell button,
  .isols-learner-area-shell input[type="button"],
  .isols-learner-area-shell input[type="submit"],
  .isols-learner-area-shell input[type="reset"],
  .isols-learner-area-shell .isols-button,
  .isols-learner-area-shell .isols-link-button,
  .isols-learner-area-shell .isols-learner-area-title,
  .isols-learner-area-shell .isols-learner-area-link,
  .isols-learner-area-shell .isols-area-logout,
  .isols-learner-area-shell .isols-form-links a,
  .isols-learner-area-shell .isols-step-label,
  .isols-learner-area-shell .isols-badge,
  .isols-learner-area-shell .isols-status-badge,
  .isols-learner-area-shell .isols-record-count,
  .isols-learner-area-shell .isols-status-meta span,
  .isols-learner-area-shell .isols-slot-status,
  .isols-learner-area-shell .isols-message-feedback,
  .isols-learner-area-shell .isols-field-error,
  .isols-learner-area-shell .isols-message-record dt,
  .isols-learner-area-shell .isols-guidance-label,
  .isols-learner-area-shell .isols-accordion-action,
  .isols-learner-area-shell .isols-slot-browser-label,
  .isols-learner-area-shell .isols-slot-date-button,
  .isols-learner-area-shell .isols-material-instruction-label,
  .isols-learner-area-shell .isols-autocomplete-group,
  .isols-learner-area-shell .isols-autocomplete-option span,
  .isols-learner-area-shell .isols-learner-timezone-summary strong,
  .isols-learner-area-shell .isols-booking-back-link,
  .isols-learner-area-shell .isols-class-request-option legend,
  .isols-learner-area-shell .isols-alert > strong,
  .isols-learner-area-shell .isols-completion-requirement > strong {
    font-weight: 600;
  }

  .isols-learner-area-shell .isols-alert-error h2,
  .isols-learner-area-shell .isols-alert-error h3,
  .isols-learner-area-shell .isols-alert-error h4,
  .isols-learner-area-shell .isols-alert-error h5,
  .isols-learner-area-shell .isols-alert-warning h2,
  .isols-learner-area-shell .isols-alert-warning h3,
  .isols-learner-area-shell .isols-alert-warning h4,
  .isols-learner-area-shell .isols-alert-warning h5,
  .isols-learner-area-shell .isols-safety-report-panel h2,
  .isols-learner-area-shell .isols-safety-report-panel h3,
  .isols-learner-area-shell .isols-safety-report-panel h4 {
    font-weight: 700;
  }
}

/* 1.0.452: Learner desktop sidebar and language-selector refinement. */
@media (min-width: 1024px) {
  .isols-learner-area-shell .isols-learner-area-sidebar {
    border-color: #e2e8f0;
    padding: 14px 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.035);
  }

  .isols-learner-area-shell .isols-learner-area-nav {
    gap: 3px;
  }

  .isols-learner-area-shell .isols-learner-area-link {
    border: 1px solid transparent;
    border-left: 3px solid transparent;
    border-radius: 7px;
    padding: 9px 11px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
  }

  .isols-learner-area-shell .isols-learner-area-link:hover,
  .isols-learner-area-shell .isols-learner-area-link:focus {
    border-color: #e2e8f0;
    border-left-color: #99d8d2;
    background: #f8fafc;
    color: #115e59;
  }

  .isols-learner-area-shell .isols-learner-area-link.is-active,
  .isols-learner-area-shell .isols-learner-area-link[aria-current="page"] {
    border-color: #ccebe7;
    border-left-color: #0f766e;
    background: #ecf8f6;
    color: #115e59;
    font-weight: 600;
  }

  .isols-learner-area-shell .isols-learner-area-link:focus-visible,
  .isols-learner-area-shell .isols-area-logout:focus-visible {
    outline: 3px solid #0f766e;
    outline-offset: 2px;
  }

  .isols-learner-area-shell .isols-area-logout {
    margin-top: 12px;
    border-top-color: #e2e8f0;
    padding: 12px 10px 2px;
    color: #475569;
    font-size: 0.925rem;
    font-weight: 500;
  }

  .isols-learner-area-shell .isols-learner-area-sidebar .isols-language-selector {
    align-items: stretch;
    display: grid;
    gap: 6px;
    margin: 0 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    background: #f8fafc;
    box-shadow: none;
    color: #172033;
  }

  .isols-learner-area-shell .isols-learner-area-sidebar .isols-language-selector label {
    gap: 5px;
    color: #334155;
    font-weight: 500;
  }

  .isols-learner-area-shell .isols-learner-area-sidebar .isols-language-selector select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    color: #172033;
    font-weight: 400;
  }

  .isols-learner-area-shell .isols-learner-area-sidebar .isols-language-selector noscript {
    display: block;
  }

  .isols-learner-area-shell .isols-learner-area-sidebar .isols-language-selector .isols-button {
    width: 100%;
    min-height: 44px;
    border: 1px solid #0f766e;
    background: #ffffff;
    color: #0f766e;
    font-weight: 600;
  }

  .isols-learner-area-shell .isols-learner-area-sidebar .isols-language-selector .isols-button:hover,
  .isols-learner-area-shell .isols-learner-area-sidebar .isols-language-selector .isols-button:focus {
    border-color: #115e59;
    background: #ecf8f6;
    color: #115e59;
  }

  .isols-learner-area-shell .isols-learner-area-sidebar .isols-language-selector select:focus-visible,
  .isols-learner-area-shell .isols-learner-area-sidebar .isols-language-selector .isols-button:focus-visible {
    outline: 3px solid #0f766e;
    outline-offset: 2px;
  }
}

/* 1.0.446: Materials, Wallet and Messages teacher-mobile presentation. */
@media (max-width: 720px) {
  /* Materials Center hub and shared content containment. */
  .isols-teacher-area-shell .isols-teacher-materials-page,
  .isols-teacher-area-shell .isols-teacher-materials-page * {
    min-width: 0;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-materials-hub {
    gap: 10px;
    margin-top: 14px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-materials-door {
    gap: 6px;
    min-height: 88px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.05);
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-materials-door strong {
    font-size: 1.1rem;
    line-height: 1.25;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-materials-door span {
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-materials-back {
    margin-bottom: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-step,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-card {
    padding: 14px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-teacher-grid,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-card-list,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-task-list,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-form {
    gap: 10px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-teacher-grid {
    margin: 14px 0;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-task-block,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-panel,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-action-panel {
    padding: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-flow-section,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-reference-fields {
    margin-top: 14px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-upload-panel,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-upload-question,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-submission-form,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-upload-history {
    margin-top: 14px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-upload-question,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-submission-form,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-upload-history {
    padding-top: 14px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-assignment-section + .isols-sho-assignment-section {
    margin-top: 16px;
    padding-top: 16px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-history-section {
    margin-top: 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-history-section > summary {
    min-height: 44px;
    padding: 10px 0;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-history-section-body {
    padding: 0 0 12px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-latest-communication,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-previous-conversation {
    margin: 12px 0;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-latest-communication,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-message {
    padding: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-previous-conversation > summary {
    min-height: 44px;
    padding: 10px 12px;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-previous-conversation > .isols-sho-conversation-list {
    padding: 0 12px 12px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-material-actions,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-primary-actions,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-delivery-actions,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-next-class-preparation-actions {
    gap: 8px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-button-secondary,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-add-task,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-download-action .isols-button,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-lesson-booking-choice .isols-button {
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    padding: 9px 14px;
    white-space: normal;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page input[type="file"] {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    height: auto;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-file-input-status,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-file-selection-name,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-file-selection-message,
  .isols-teacher-area-shell .isols-teacher-materials-page a {
    overflow-wrap: anywhere;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-class-progress-table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-class-progress-table th,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-class-progress-table td {
    padding: 8px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-tap-teacher-list .isols-class-progress-table textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-lesson-report-center {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-lesson-number-grid,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-lesson-level-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-lesson-booking-list,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-saved-lesson-report {
    gap: 10px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-lesson-booking-choice,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-lesson-entry,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-saved-lesson-entry,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-previous-lesson-entry,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-lesson-history-report,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-lesson-booking-panel {
    margin: 10px 0;
    padding: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-lesson-entry-columns {
    gap: 10px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-lesson-status-choice,
  .isols-teacher-area-shell .isols-teacher-materials-page .isols-lesson-continue-fields {
    margin-top: 12px;
    padding: 10px;
  }

  .isols-teacher-area-shell .isols-teacher-materials-page .isols-teacher-learner-panel > .isols-widget {
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    padding: 14px 0 0;
  }

  /* Teacher Wallet summary and record scanability. */
  .isols-teacher-area-shell .isols-teacher-wallet-page,
  .isols-teacher-area-shell .isols-teacher-wallet-page * {
    min-width: 0;
  }

  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
  }

  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-total {
    padding: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-total span {
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-total strong {
    margin-top: 5px;
    font-size: clamp(1.125rem, 5.5vw, 1.5rem);
    line-height: 1.2;
    white-space: nowrap;
  }

  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-records {
    display: grid;
    gap: 10px;
  }

  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-records .isols-history-card {
    margin: 0;
    padding: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-records .isols-booking-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-records .isols-booking-details > div {
    display: grid;
    grid-template-columns: minmax(84px, 38%) minmax(0, 1fr);
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-records .isols-booking-details > div:first-child {
    padding-top: 0;
  }

  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-records .isols-booking-details > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-records dt,
  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-records dd {
    margin: 0;
    overflow-wrap: anywhere;
  }

  /* Messages: flatten the outer frame while retaining functional thread cards. */
  .isols-teacher-area-shell .isols-teacher-messages-page,
  .isols-teacher-area-shell .isols-teacher-messages-page * {
    min-width: 0;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-conversation-center {
    margin-bottom: 12px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-conversation-center > h3 {
    margin: 0 0 10px;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-list,
  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-messages {
    gap: 8px;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    min-height: 44px;
    padding: 12px;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-card h4,
  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-card p,
  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-message,
  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-context {
    overflow-wrap: anywhere;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-card-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-card-actions .isols-badge {
    flex: 0 0 auto;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-toggle-label {
    margin-left: auto;
    white-space: normal;
    text-align: right;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-open-thread {
    padding: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-message {
    max-width: 92%;
    padding: 10px;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-context {
    padding: 8px 10px;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-reply-form,
  .isols-teacher-area-shell .isols-teacher-messages-page .isols-email-message-form {
    gap: 10px;
    margin-top: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-reply-form textarea,
  .isols-teacher-area-shell .isols-teacher-messages-page .isols-email-message-form textarea {
    width: 100%;
    min-height: 112px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-thread-reply-form .isols-button,
  .isols-teacher-area-shell .isols-teacher-messages-page .isols-email-message-form .isols-button {
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    white-space: normal;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-message-composer {
    margin: 12px 0;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-message-composer > summary {
    min-height: 44px;
    padding: 10px 14px;
    box-sizing: border-box;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-message-composer > .isols-step {
    padding: 14px;
  }

  .isols-teacher-area-shell .isols-teacher-messages-page .isols-teacher-message-workspace {
    margin-top: 12px;
    padding-top: 12px;
  }
}

@media (max-width: 359px) {
  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-summary {
    grid-template-columns: 1fr;
  }
}

/* 1.0.448: Consistent teacher-area desktop typography hierarchy. */
@media (min-width: 1024px) {
  body.isols-teacher-shell-page h1.hostinger-ai-page-title.wp-block-post-title {
    font-size: clamp(2rem, 2.5vw, 2.5rem) !important;
    font-weight: 700;
    line-height: 1.15;
  }

  .isols-teacher-area-shell,
  .isols-teacher-area-shell p,
  .isols-teacher-area-shell li,
  .isols-teacher-area-shell dd,
  .isols-teacher-area-shell small,
  .isols-teacher-area-shell input:not([type="button"]):not([type="submit"]):not([type="reset"]),
  .isols-teacher-area-shell select,
  .isols-teacher-area-shell textarea,
  .isols-teacher-area-shell .isols-muted,
  .isols-teacher-area-shell .isols-profile-request-meta,
  .isols-teacher-area-shell .isols-file-input-status,
  .isols-teacher-area-shell .isols-file-selection-name,
  .isols-teacher-area-shell .isols-booking-details dd,
  .isols-teacher-area-shell .isols-availability-block-details dd,
  .isols-teacher-area-shell .isols-message-record dd,
  .isols-teacher-area-shell .isols-thread-card p,
  .isols-teacher-area-shell .isols-thread-message p,
  .isols-teacher-area-shell .isols-teacher-country,
  .isols-teacher-area-shell .isols-minutes,
  .isols-teacher-area-shell .isols-alert p,
  .isols-teacher-area-shell .isols-notice p,
  .isols-teacher-area-shell .isols-alert-success,
  .isols-teacher-area-shell .isols-alert-success p,
  .isols-teacher-area-shell .isols-inline-success,
  .isols-teacher-area-shell .isols-step .isols-help-text,
  .isols-teacher-area-shell .isols-advice,
  .isols-teacher-area-shell .isols-action-box,
  .isols-teacher-area-shell .isols-action-box p,
  .isols-teacher-area-shell .isols-action-note,
  .isols-teacher-area-shell .isols-evaluation-intro,
  .isols-teacher-area-shell .isols-evaluation-opening p {
    font-weight: 400;
  }

  .isols-teacher-area-shell h2,
  .isols-teacher-area-shell h3,
  .isols-teacher-area-shell h4,
  .isols-teacher-area-shell h5,
  .isols-teacher-area-shell strong,
  .isols-teacher-area-shell label,
  .isols-teacher-area-shell legend,
  .isols-teacher-area-shell summary,
  .isols-teacher-area-shell dt,
  .isols-teacher-area-shell th,
  .isols-teacher-area-shell button,
  .isols-teacher-area-shell input[type="button"],
  .isols-teacher-area-shell input[type="submit"],
  .isols-teacher-area-shell input[type="reset"],
  .isols-teacher-area-shell .isols-button,
  .isols-teacher-area-shell .isols-link-button,
  .isols-teacher-area-shell .isols-teacher-area-link,
  .isols-teacher-area-shell .isols-area-logout,
  .isols-teacher-area-shell .isols-form-links a,
  .isols-teacher-area-shell .isols-step-label,
  .isols-teacher-area-shell .isols-badge,
  .isols-teacher-area-shell .isols-status-badge,
  .isols-teacher-area-shell .isols-record-count,
  .isols-teacher-area-shell .isols-slot-status,
  .isols-teacher-area-shell .isols-message-feedback,
  .isols-teacher-area-shell .isols-field-error,
  .isols-teacher-area-shell .isols-status-meta span,
  .isols-teacher-area-shell .isols-wallet-total span,
  .isols-teacher-area-shell .isols-wallet-total strong,
  .isols-teacher-area-shell .isols-thread-toggle-label,
  .isols-teacher-area-shell .isols-guidance-label,
  .isols-teacher-area-shell .isols-accordion-action,
  .isols-teacher-area-shell .isols-slot-browser-label,
  .isols-teacher-area-shell .isols-slot-date-button,
  .isols-teacher-area-shell .isols-material-instruction-label,
  .isols-teacher-area-shell .isols-sho-class-latest,
  .isols-teacher-area-shell .isols-sho-previous-eligibility-note,
  .isols-teacher-area-shell .isols-sho-remove-task,
  .isols-teacher-area-shell .isols-materials-back a,
  .isols-teacher-area-shell .isols-autocomplete-group,
  .isols-teacher-area-shell .isols-autocomplete-option span {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-form label,
  .isols-teacher-area-shell .isols-form legend,
  .isols-teacher-area-shell .isols-cancellation-form label,
  .isols-teacher-area-shell .isols-history-month-selector label,
  .isols-teacher-area-shell .isols-outcome-question legend,
  .isols-teacher-area-shell .isols-technical-problem-options legend,
  .isols-teacher-area-shell .isols-lesson-status-choice legend,
  .isols-teacher-area-shell .isols-sho-timing-options legend,
  .isols-teacher-area-shell .isols-sho-form label > span,
  .isols-teacher-area-shell .isols-availability-block-details dt,
  .isols-teacher-area-shell .isols-availability-block-field > span,
  .isols-teacher-area-shell .isols-availability-row-form label > span,
  .isols-teacher-area-shell .isols-message-record dt,
  .isols-teacher-area-shell .isols-booking-details dt,
  .isols-teacher-area-shell .isols-class-progress-table thead th,
  .isols-teacher-area-shell .isols-class-progress-table tbody th,
  .isols-teacher-area-shell .isols-availability-table th,
  .isols-teacher-area-shell .isols-time-zone-converter-form > label {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-step h3,
  .isols-teacher-area-shell .isols-widget h3,
  .isols-teacher-area-shell .isols-upcoming-class-card h3,
  .isols-teacher-area-shell .isols-history-card h3,
  .isols-teacher-area-shell .isols-materials-door strong,
  .isols-teacher-area-shell .isols-dashboard-accordion > summary,
  .isols-teacher-area-shell .isols-message-composer > summary,
  .isols-teacher-area-shell .isols-outcome-choice > summary,
  .isols-teacher-area-shell .isols-safety-report-panel > summary,
  .isols-teacher-area-shell .isols-material-accordion > summary,
  .isols-teacher-area-shell .isols-material-item > summary,
  .isols-teacher-area-shell .isols-sho-history-section > summary,
  .isols-teacher-area-shell .isols-sho-previous-conversation > summary,
  .isols-teacher-area-shell .isols-schedule-date-group > summary,
  .isols-teacher-area-shell .isols-history-section > summary,
  .isols-teacher-area-shell .isols-history-date-group > summary,
  .isols-teacher-area-shell .isols-history-subsection > summary,
  .isols-teacher-area-shell .isols-cancelled-request-history summary,
  .isols-teacher-area-shell .isols-sho-class-group > .isols-sho-card-heading::after {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-alert-error h2,
  .isols-teacher-area-shell .isols-alert-error h3,
  .isols-teacher-area-shell .isols-alert-error h4,
  .isols-teacher-area-shell .isols-alert-error h5,
  .isols-teacher-area-shell .isols-alert-error h2 strong,
  .isols-teacher-area-shell .isols-alert-error h3 strong,
  .isols-teacher-area-shell .isols-alert-error h4 strong,
  .isols-teacher-area-shell .isols-alert-error h5 strong,
  .isols-teacher-area-shell .isols-alert-warning h2,
  .isols-teacher-area-shell .isols-alert-warning h3,
  .isols-teacher-area-shell .isols-alert-warning h4,
  .isols-teacher-area-shell .isols-alert-warning h5,
  .isols-teacher-area-shell .isols-alert-warning h2 strong,
  .isols-teacher-area-shell .isols-alert-warning h3 strong,
  .isols-teacher-area-shell .isols-alert-warning h4 strong,
  .isols-teacher-area-shell .isols-alert-warning h5 strong,
  .isols-teacher-area-shell .isols-safety-report-panel h2,
  .isols-teacher-area-shell .isols-safety-report-panel h3,
  .isols-teacher-area-shell .isols-safety-report-panel h4,
  .isols-teacher-area-shell .isols-safety-report-panel h2 strong,
  .isols-teacher-area-shell .isols-safety-report-panel h3 strong,
  .isols-teacher-area-shell .isols-safety-report-panel h4 strong {
    font-weight: 700;
  }
}

/* Keep the lighter 1.0.449 sidebar hierarchy after the 1.0.448 weight normalization. */
@media (min-width: 1024px) {
  .isols-teacher-area-shell .isols-teacher-area-link {
    font-weight: 500;
  }

  .isols-teacher-area-shell .isols-teacher-area-link.is-active,
  .isols-teacher-area-shell .isols-teacher-area-link[aria-current="page"] {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-area-logout,
  .isols-teacher-area-shell .isols-teacher-history-page .isols-record-count {
    font-weight: 500;
  }
}

/* 1.0.450: Purpose-based teacher desktop form-weight hierarchy. */
@media (min-width: 1024px) {
  .isols-teacher-area-shell strong {
    font-weight: inherit;
  }

  .isols-teacher-area-shell p,
  .isols-teacher-area-shell li,
  .isols-teacher-area-shell dd,
  .isols-teacher-area-shell small,
  .isols-teacher-area-shell input:not([type="button"]):not([type="submit"]):not([type="reset"]),
  .isols-teacher-area-shell select,
  .isols-teacher-area-shell textarea,
  .isols-teacher-area-shell option,
  .isols-teacher-area-shell .isols-muted,
  .isols-teacher-area-shell .isols-help-text,
  .isols-teacher-area-shell .isols-profile-request-meta,
  .isols-teacher-area-shell .isols-file-input-status,
  .isols-teacher-area-shell .isols-file-selection-name,
  .isols-teacher-area-shell .isols-booking-details dd,
  .isols-teacher-area-shell .isols-availability-block-details dd,
  .isols-teacher-area-shell .isols-message-record dd,
  .isols-teacher-area-shell .isols-thread-card p,
  .isols-teacher-area-shell .isols-thread-message p,
  .isols-teacher-area-shell .isols-teacher-country,
  .isols-teacher-area-shell .isols-minutes,
  .isols-teacher-area-shell .isols-alert p,
  .isols-teacher-area-shell .isols-notice p,
  .isols-teacher-area-shell .isols-alert-success,
  .isols-teacher-area-shell .isols-alert-success p,
  .isols-teacher-area-shell .isols-inline-success,
  .isols-teacher-area-shell .isols-advice,
  .isols-teacher-area-shell .isols-action-box p,
  .isols-teacher-area-shell .isols-action-note {
    font-weight: 400;
  }

  .isols-teacher-area-shell label,
  .isols-teacher-area-shell .isols-form label,
  .isols-teacher-area-shell .isols-cancellation-form label,
  .isols-teacher-area-shell .isols-history-month-selector label,
  .isols-teacher-area-shell .isols-time-zone-converter-form > label,
  .isols-teacher-area-shell .isols-outcome-question legend,
  .isols-teacher-area-shell .isols-technical-problem-options legend,
  .isols-teacher-area-shell .isols-lesson-status-choice legend,
  .isols-teacher-area-shell .isols-sho-timing-options legend {
    font-weight: 500;
  }

  .isols-teacher-area-shell .isols-outcome-question label,
  .isols-teacher-area-shell .isols-technical-problem-option,
  .isols-teacher-area-shell .isols-technical-problem-options label,
  .isols-teacher-area-shell .isols-lesson-status-choice label,
  .isols-teacher-area-shell .isols-sho-timing-options label,
  .isols-teacher-area-shell .isols-radio,
  .isols-teacher-area-shell .isols-checkbox,
  .isols-teacher-area-shell .isols-outcome-form > label > span {
    font-weight: 400;
  }

  .isols-teacher-area-shell h2,
  .isols-teacher-area-shell h3,
  .isols-teacher-area-shell h4,
  .isols-teacher-area-shell h5,
  .isols-teacher-area-shell summary,
  .isols-teacher-area-shell dt,
  .isols-teacher-area-shell th,
  .isols-teacher-area-shell button,
  .isols-teacher-area-shell input[type="button"],
  .isols-teacher-area-shell input[type="submit"],
  .isols-teacher-area-shell input[type="reset"],
  .isols-teacher-area-shell .isols-button,
  .isols-teacher-area-shell .isols-link-button,
  .isols-teacher-area-shell .isols-step-label,
  .isols-teacher-area-shell .isols-badge,
  .isols-teacher-area-shell .isols-status-badge,
  .isols-teacher-area-shell .isols-slot-status,
  .isols-teacher-area-shell .isols-message-feedback,
  .isols-teacher-area-shell .isols-field-error,
  .isols-teacher-area-shell .isols-status-meta span,
  .isols-teacher-area-shell .isols-wallet-total span,
  .isols-teacher-area-shell .isols-wallet-total strong,
  .isols-teacher-area-shell .isols-thread-toggle-label,
  .isols-teacher-area-shell .isols-guidance-label,
  .isols-teacher-area-shell .isols-accordion-action,
  .isols-teacher-area-shell .isols-slot-browser-label,
  .isols-teacher-area-shell .isols-slot-date-button,
  .isols-teacher-area-shell .isols-material-instruction-label,
  .isols-teacher-area-shell .isols-sho-class-latest,
  .isols-teacher-area-shell .isols-sho-previous-eligibility-note,
  .isols-teacher-area-shell .isols-sho-remove-task,
  .isols-teacher-area-shell .isols-materials-back a,
  .isols-teacher-area-shell .isols-autocomplete-group,
  .isols-teacher-area-shell .isols-autocomplete-option span,
  .isols-teacher-area-shell .isols-alert > strong,
  .isols-teacher-area-shell .isols-completion-requirement > strong {
    font-weight: 600;
  }

  .isols-teacher-area-shell .isols-alert-error h2,
  .isols-teacher-area-shell .isols-alert-error h3,
  .isols-teacher-area-shell .isols-alert-error h4,
  .isols-teacher-area-shell .isols-alert-error h5,
  .isols-teacher-area-shell .isols-alert-warning h2,
  .isols-teacher-area-shell .isols-alert-warning h3,
  .isols-teacher-area-shell .isols-alert-warning h4,
  .isols-teacher-area-shell .isols-alert-warning h5,
  .isols-teacher-area-shell .isols-safety-report-panel h2,
  .isols-teacher-area-shell .isols-safety-report-panel h3,
  .isols-teacher-area-shell .isols-safety-report-panel h4 {
    font-weight: 700;
  }
}
.isols-cutie-pie-request-conflict {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.isols-cutie-pie-request-conflict > p,
.isols-cutie-pie-inline-cancel {
    margin: 0;
}

@media (max-width: 600px) {
    .isols-cutie-pie-request-conflict > p,
    .isols-cutie-pie-inline-cancel,
    .isols-cutie-pie-inline-cancel .isols-button {
        width: 100%;
    }
}

/*
 * Cutie Pie 0.3.17: lighter learner dashboard and learner Upcoming Class cards.
 * These selectors deliberately do not change shared buttons, teacher cards,
 * booking forms, messages, registration, or the standalone SHO/TAP centers.
 */
.isols-learner-dashboard-home {
  color: #1e293b;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.isols-learner-dashboard-home p,
.isols-learner-dashboard-home li,
.isols-learner-dashboard-home dd,
.isols-learner-dashboard-home small,
.isols-learner-dashboard-home .isols-help-text,
.isols-learner-dashboard-home .isols-advice,
.isols-learner-dashboard-home .isols-action-box,
.isols-learner-dashboard-home .isols-action-box p {
  font-weight: 400;
}

.isols-learner-dashboard-home h2,
.isols-learner-dashboard-home h3,
.isols-learner-dashboard-home h4,
.isols-learner-dashboard-home strong,
.isols-learner-dashboard-home .isols-step-label,
.isols-learner-dashboard-home .isols-status-meta span {
  font-weight: 600;
}

.isols-learner-dashboard-home .isols-dashboard-header {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom-color: #e2e8f0;
}

.isols-learner-dashboard-home .isols-dashboard-header h2 {
  margin-bottom: 4px;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
}

.isols-learner-dashboard-home .isols-dashboard-available-minutes {
  color: #475569;
  font-size: 16px;
  font-weight: 400;
}

.isols-learner-dashboard-home .isols-step,
.isols-learner-dashboard-home .isols-widget {
  margin-bottom: 12px;
  padding: 16px;
  border-color: #d7e0ea;
  border-radius: 10px;
  box-shadow: none;
}

.isols-learner-dashboard-home .isols-step-current {
  border-color: #b8d8d4;
  box-shadow: none;
}

.isols-learner-dashboard-home .isols-learner-dashboard-primary-actions,
.isols-learner-dashboard-home .isols-cutie-pie-dashboard-action {
  background: #f8fafc;
}

.isols-learner-dashboard-home .isols-step h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.3;
}

.isols-learner-dashboard-home .isols-step-label {
  color: #64748b;
  font-size: 13px;
}

.isols-learner-dashboard-home .isols-actions {
  gap: 8px;
  margin-top: 12px;
}

.isols-learner-dashboard-home .isols-button {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.isols-learner-dashboard-home .isols-learner-dashboard-book-action {
  border: 1px solid #0f766e;
  background: #0f766e;
  color: #ffffff;
}

.isols-learner-dashboard-home .isols-learner-dashboard-book-action:hover,
.isols-learner-dashboard-home .isols-learner-dashboard-book-action:focus-visible {
  border-color: #115e59;
  background: #115e59;
  color: #ffffff;
}

.isols-learner-dashboard-home .isols-learner-dashboard-buy-action {
  border: 1px solid #9fd8d1;
  background: #eaf7f5;
  color: #0f5f59;
}

.isols-learner-dashboard-home .isols-learner-dashboard-buy-action:hover,
.isols-learner-dashboard-home .isols-learner-dashboard-buy-action:focus-visible {
  border-color: #6fbfb6;
  background: #dff3f0;
  color: #0b514c;
}

.isols-learner-dashboard-home .isols-button:focus-visible,
.isols-learner-upcoming-class-card .isols-button:focus-visible,
.isols-learner-upcoming-class-card summary:focus-visible,
.isols-learner-upcoming-class-card a:focus-visible,
.isols-learner-upcoming-class-card select:focus-visible,
.isols-learner-upcoming-class-card textarea:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.32);
  outline-offset: 2px;
}

.isols-learner-upcoming-class-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px;
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  background: #ffffff;
  color: #1e293b;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.isols-learner-upcoming-class-card h3 {
  order: 1;
  margin: 0 0 12px;
  color: #1e293b;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.isols-learner-upcoming-class-card .isols-learner-class-summary {
  order: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.isols-learner-upcoming-class-card .isols-learner-class-summary dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.isols-learner-upcoming-class-card .isols-learner-class-summary dd {
  margin-top: 2px;
  color: #1e293b;
  font-size: 15px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.isols-learner-upcoming-class-card .isols-learner-class-summary [data-isols-class-status] {
  color: #0f5f59;
  font-weight: 600;
}

.isols-learner-upcoming-class-card .isols-learner-class-attendance {
  order: 3;
}

.isols-learner-upcoming-class-card .isols-learner-class-attendance .isols-outcome-choice > summary,
.isols-learner-upcoming-class-card .isols-learner-class-attendance .isols-button-secondary {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-weight: 600;
}

.isols-learner-upcoming-class-card .isols-learner-class-attendance .isols-outcome-choice > summary:hover,
.isols-learner-upcoming-class-card .isols-learner-class-attendance .isols-outcome-choice > summary:focus-visible,
.isols-learner-upcoming-class-card .isols-learner-class-attendance .isols-button-secondary:hover,
.isols-learner-upcoming-class-card .isols-learner-class-attendance .isols-button-secondary:focus-visible {
  border-color: #94a3b8;
  background: #f8fafc;
  color: #1e293b;
}

.isols-learner-upcoming-class-card .isols-learner-class-meeting {
  order: 4;
  justify-items: start;
  gap: 8px;
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #f8fafc;
}

.isols-learner-upcoming-class-card .isols-learner-class-meeting p,
.isols-learner-upcoming-class-card .isols-learner-class-meeting .isols-help-text {
  color: #475569;
  font-weight: 400;
}

.isols-learner-upcoming-class-card .isols-learner-meeting-platform span {
  margin-right: 4px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.isols-learner-upcoming-class-card .isols-learner-meeting-platform strong {
  color: #1e293b;
  font-weight: 600;
}

.isols-learner-upcoming-class-card .isols-learner-class-preparation {
  order: 5;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #ffffff;
}

.isols-learner-upcoming-class-card .isols-learner-class-preparation p,
.isols-learner-upcoming-class-card .isols-learner-class-preparation dd {
  font-weight: 400;
}

.isols-learner-upcoming-class-card .isols-learner-class-preparation strong {
  font-weight: 600;
}

.isols-learner-upcoming-class-card > .isols-learner-class-management {
  order: 6;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.isols-learner-upcoming-class-card .isols-button {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.isols-learner-upcoming-class-card .isols-learner-class-meeting .isols-button {
  border: 1px solid #0f766e;
  background: #0f766e;
  color: #ffffff;
}

.isols-learner-upcoming-class-card .isols-learner-class-meeting .isols-button:hover,
.isols-learner-upcoming-class-card .isols-learner-class-meeting .isols-button:focus-visible {
  border-color: #115e59;
  background: #115e59;
  color: #ffffff;
}

.isols-learner-upcoming-class-card .isols-learner-action-supportive {
  border: 1px solid #9fd8d1;
  background: #eaf7f5;
  color: #0f5f59;
}

.isols-learner-upcoming-class-card .isols-learner-action-supportive:hover,
.isols-learner-upcoming-class-card .isols-learner-action-supportive:focus-visible {
  border-color: #6fbfb6;
  background: #dff3f0;
  color: #0b514c;
}

.isols-learner-upcoming-class-card .isols-learner-action-neutral {
  order: 1;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.isols-learner-upcoming-class-card .isols-learner-action-neutral:hover,
.isols-learner-upcoming-class-card .isols-learner-action-neutral:focus-visible {
  border-color: #94a3b8;
  background: #f8fafc;
  color: #1e293b;
}

.isols-learner-upcoming-class-card .isols-cancellation-form {
  order: 2;
}

.isols-learner-upcoming-class-card .isols-learner-action-danger {
  border: 1px solid #dc6b6b;
  background: #fff7f7;
  color: #b42318;
  box-shadow: none;
}

.isols-learner-upcoming-class-card .isols-learner-action-danger:hover,
.isols-learner-upcoming-class-card .isols-learner-action-danger:focus-visible {
  border-color: #c2413b;
  background: #feecec;
  color: #912018;
}

.isols-learner-upcoming-class-card .isols-cancellation-form form {
  gap: 12px;
  margin-top: 10px;
  padding: 14px;
  border-color: #e2e8f0;
  background: #f8fafc;
}

.isols-learner-upcoming-class-card .isols-cancellation-form h4,
.isols-learner-upcoming-class-card .isols-cancellation-form label,
.isols-learner-upcoming-class-card .isols-cancellation-form strong {
  font-weight: 600;
}

.isols-learner-upcoming-class-card .isols-cancellation-form p,
.isols-learner-upcoming-class-card .isols-cancellation-policy {
  font-weight: 400;
}

@media (max-width: 720px) {
  .isols-learner-dashboard-home .isols-step,
  .isols-learner-dashboard-home .isols-widget,
  .isols-learner-upcoming-class-card {
    padding: 14px;
  }

  .isols-learner-dashboard-home .isols-button,
  .isols-learner-upcoming-class-card .isols-button,
  .isols-learner-upcoming-class-card summary.isols-button {
    min-height: 44px;
  }

  .isols-learner-upcoming-class-card .isols-learner-class-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .isols-learner-upcoming-class-card > .isols-learner-class-management,
  .isols-learner-upcoming-class-card > .isols-learner-class-management > *,
  .isols-learner-upcoming-class-card > .isols-learner-class-management .isols-button {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .isols-learner-upcoming-class-card .isols-learner-class-meeting .isols-button,
  .isols-learner-upcoming-class-card .isols-learner-class-preparation .isols-button {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .isols-learner-dashboard-home .isols-actions,
  .isols-learner-dashboard-home .isols-actions .isols-button {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .isols-learner-dashboard-home .isols-actions .isols-button {
    text-align: center;
  }

  .isols-learner-upcoming-class-card,
  .isols-learner-upcoming-class-card .isols-learner-class-summary,
  .isols-learner-upcoming-class-card .isols-learner-class-meeting,
  .isols-learner-upcoming-class-card .isols-learner-class-preparation {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/*
 * Cutie Pie 0.3.43: unified learner-area visual system.
 * Presentation only: keep workflow markup, state, permissions, and actions intact.
 */
.isols-learner-area-shell {
  --isols-learner-text: #1e293b;
  --isols-learner-muted: #64748b;
  --isols-learner-border: #d7e0ea;
  --isols-learner-border-soft: #e7edf3;
  --isols-learner-surface: #ffffff;
  --isols-learner-surface-soft: #f8fafc;
  --isols-learner-primary: #0f766e;
  --isols-learner-primary-hover: #115e59;
  --isols-learner-supportive: #e8f5f3;
  --isols-learner-danger: #b42318;
  --isols-learner-danger-soft: #fff1f0;
  color: var(--isols-learner-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.isols-learner-area-shell .isols-learner-area-content,
.isols-learner-area-shell .isols-dashboard,
.isols-learner-area-shell .isols-step,
.isols-learner-area-shell .isols-widget,
.isols-learner-area-shell .isols-sho-card,
.isols-learner-area-shell .isols-history-card,
.isols-learner-area-shell .isols-message-record {
  color: var(--isols-learner-text);
  font-weight: 400;
}

.isols-learner-area-shell p,
.isols-learner-area-shell li,
.isols-learner-area-shell dd,
.isols-learner-area-shell input,
.isols-learner-area-shell select,
.isols-learner-area-shell textarea {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.isols-learner-area-shell h2,
.isols-learner-area-shell h3,
.isols-learner-area-shell h4,
.isols-learner-area-shell h5,
.isols-learner-area-shell label > span,
.isols-learner-area-shell legend,
.isols-learner-area-shell dt,
.isols-learner-area-shell th,
.isols-learner-area-shell summary {
  color: var(--isols-learner-text);
    font-weight: 600;
}

/* Selectable answers inherit the learner form typography, but should not use
 * the stronger weight reserved for questions, legends, and field labels. */
.isols-learner-area-shell .isols-radio > span:not([aria-hidden="true"]),
.isols-learner-area-shell .isols-checkbox > span:not([aria-hidden="true"]),
body.isols-learner-area-page .isols-radio > span:not([aria-hidden="true"]),
body.isols-learner-area-page .isols-checkbox > span:not([aria-hidden="true"]) {
    font-weight: 400;
}

.isols-learner-area-shell .isols-dashboard-header h2 {
  font-size: clamp(24px, 4vw, 28px);
  line-height: 1.2;
}

.isols-learner-area-shell .isols-step > h3,
.isols-learner-area-shell .isols-widget > h3,
.isols-learner-area-shell .isols-learner-onboarding-panel > h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
}

.isols-learner-area-shell h4,
.isols-learner-area-shell h5 {
  font-size: 16px;
  line-height: 1.35;
}

.isols-learner-area-shell .isols-help-text,
.isols-learner-area-shell .isols-step-label,
.isols-learner-area-shell .isols-sho-class-latest,
.isols-learner-area-shell .isols-message-meta,
.isols-learner-area-shell .isols-thread-meta {
  color: var(--isols-learner-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.isols-learner-area-shell .isols-learner-area-sidebar,
.isols-learner-area-shell .isols-step,
.isols-learner-area-shell .isols-widget,
.isols-learner-area-shell .isols-learner-onboarding-panel,
.isols-learner-area-shell .isols-history-section,
.isols-learner-area-shell .isols-history-date-group,
.isols-learner-area-shell .isols-history-card,
.isols-learner-area-shell .isols-message-composer,
.isols-learner-area-shell .isols-conversation-center,
.isols-learner-area-shell .isols-message-record,
.isols-learner-area-shell .isols-sho-card,
.isols-learner-area-shell .isols-sho-history-section,
.isols-learner-area-shell .isols-tap-card {
  border-color: var(--isols-learner-border);
  border-width: 1px;
  border-radius: 10px;
  background: var(--isols-learner-surface);
  box-shadow: none;
}

.isols-learner-area-shell .isols-learner-area-sidebar {
  padding: 16px;
}

.isols-learner-area-shell .isols-dashboard:not(.isols-learner-dashboard-home):not(.isols-upcoming-classes-page) > .isols-step {
  padding: 16px;
}

.isols-learner-area-shell .isols-actions,
.isols-learner-area-shell .isols-button-row,
.isols-learner-area-shell .isols-notice-actions,
.isols-learner-area-shell .isols-sho-primary-actions,
.isols-learner-area-shell .isols-sho-assignment-actions {
  gap: 8px;
}

.isols-learner-area-shell .isols-button,
.isols-learner-area-shell button.isols-button,
.isols-learner-area-shell summary.isols-button {
  display: inline-flex;
  box-sizing: border-box;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--isols-learner-primary);
  border-radius: 7px;
  background: var(--isols-learner-primary);
  color: #ffffff;
  box-shadow: none;
  font-family: inherit;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  appearance: none;
}

.isols-learner-area-shell .isols-button:hover,
.isols-learner-area-shell .isols-button:focus {
  border-color: var(--isols-learner-primary-hover);
  background: var(--isols-learner-primary-hover);
  color: #ffffff;
}

.isols-learner-area-shell .isols-button-secondary,
.isols-learner-area-shell button.isols-button-secondary,
.isols-learner-area-shell summary.isols-button-secondary {
  border-color: #b9deda;
  background: var(--isols-learner-supportive);
  color: #115e59;
}

.isols-learner-area-shell .isols-button-secondary:hover,
.isols-learner-area-shell .isols-button-secondary:focus {
  border-color: #8fc9c3;
  background: #d8eeeb;
  color: #134e4a;
}

.isols-learner-area-shell .isols-learner-action-danger,
.isols-learner-area-shell button.isols-learner-action-danger,
.isols-learner-area-shell summary.isols-learner-action-danger {
  border-color: #f0b8b3;
  background: var(--isols-learner-danger-soft);
  color: var(--isols-learner-danger);
}

.isols-learner-area-shell .isols-button-disabled,
.isols-learner-area-shell .isols-button[disabled],
.isols-learner-area-shell button:disabled {
  border-color: #d7e0ea;
  background: #eef2f6;
  color: #64748b;
  opacity: 0.8;
}

/* Accordion summaries own the surface; their contents use dividers, not more cards. */
.isols-learner-area-shell .isols-history-section > summary,
.isols-learner-area-shell .isols-history-date-group > summary,
.isols-learner-area-shell .isols-message-composer > summary,
.isols-learner-area-shell .isols-sho-history-section > summary,
.isols-learner-area-shell .isols-sho-card > .isols-sho-card-heading {
  min-height: 44px;
  box-sizing: border-box;
  padding: 12px 14px;
  background: var(--isols-learner-surface);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.isols-learner-area-shell .isols-history-section[open] > summary,
.isols-learner-area-shell .isols-history-date-group[open] > summary,
.isols-learner-area-shell .isols-message-composer[open] > summary,
.isols-learner-area-shell .isols-sho-history-section[open] > summary,
.isols-learner-area-shell .isols-sho-card[open] > .isols-sho-card-heading {
  border-bottom: 1px solid var(--isols-learner-border-soft);
}

.isols-learner-area-shell .isols-history-section-body,
.isols-learner-area-shell .isols-history-date-group > .isols-history-card-list,
.isols-learner-area-shell .isols-message-composer > .isols-step,
.isols-learner-area-shell .isols-sho-history-section-body,
.isols-learner-area-shell .isols-sho-accordion-body {
  padding: 14px;
}

/* History and messages retain one record boundary and flatten their inner layers. */
.isols-learner-area-shell .isols-history-date-groups,
.isols-learner-area-shell .isols-history-card-list,
.isols-learner-area-shell .isols-message-record-list,
.isols-learner-area-shell .isols-thread-list {
  gap: 10px;
}

.isols-learner-area-shell .isols-history-section-body > .isols-history-date-groups .isols-history-date-group,
.isols-learner-area-shell .isols-message-composer > .isols-step,
.isols-learner-area-shell .isols-conversation-center {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.isols-learner-area-shell .isols-history-card,
.isols-learner-area-shell .isols-message-record {
  padding: 14px;
}

/* Booking panels use whitespace and dividers instead of nested framed regions. */
.isols-learner-area-shell .isols-learner-booking-page .isols-learner-onboarding-panel {
  padding: 16px;
}

.isols-learner-area-shell .isols-learner-booking-page .isols-learner-onboarding-panel .isols-class-request-panel,
.isols-learner-area-shell .isols-learner-booking-page .isols-learner-onboarding-panel .isols-step,
.isols-learner-area-shell .isols-learner-booking-page .isols-class-request-form .isols-step {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.isols-learner-area-shell .isols-class-request-option {
  border-width: 1px;
  border-color: var(--isols-learner-border);
  border-radius: 8px;
  box-shadow: none;
}

/* SHO/TAP keep one class or file card; workflow content is divided within it. */
.isols-learner-area-shell .isols-sho-intro,
.isols-learner-area-shell .isols-tap-learner-center {
  padding: 16px;
}

.isols-learner-area-shell .isols-sho-learner-current,
.isols-learner-area-shell .isols-sho-learner-history {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.isols-learner-area-shell .isols-sho-card-list {
  gap: 12px;
}

.isols-learner-area-shell .isols-sho-card,
.isols-learner-area-shell .isols-tap-card {
  padding: 0;
}

.isols-learner-area-shell .isols-tap-card {
  padding: 14px;
}

.isols-learner-area-shell .isols-sho-assignment-section + .isols-sho-assignment-section,
.isols-learner-area-shell .isols-sho-flow-section,
.isols-learner-area-shell .isols-sho-assignment-actions,
.isols-learner-area-shell .isols-sho-history-section,
.isols-learner-area-shell .isols-sho-latest-communication,
.isols-learner-area-shell .isols-sho-previous-conversation {
  margin-top: 12px;
  padding-top: 12px;
  border: 0;
  border-top: 1px solid var(--isols-learner-border-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.isols-learner-area-shell .isols-sho-assignment-heading {
  align-items: flex-start;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.isols-learner-area-shell .isols-sho-assignment-heading h3,
.isols-learner-area-shell .isols-sho-assignment-heading h4,
.isols-learner-area-shell .isols-sho-class-date {
  margin: 0;
  color: var(--isols-learner-text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.isols-learner-area-shell .isols-sho-panel,
.isols-learner-area-shell .isols-sho-action-panel,
.isols-learner-area-shell .isols-sho-instructions,
.isols-learner-area-shell .isols-sho-rules,
.isols-learner-area-shell .isols-sho-submission {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.isols-learner-area-shell .isols-sho-panel,
.isols-learner-area-shell .isols-sho-action-panel {
  padding: 0;
}

.isols-learner-area-shell .isols-sho-instructions,
.isols-learner-area-shell .isols-sho-rules,
.isols-learner-area-shell .isols-sho-submission {
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--isols-learner-border-soft);
}

.isols-learner-area-shell .isols-sho-workflow-state {
  margin: 10px 0 12px;
  padding: 12px 14px;
  border: 1px solid #b9deda;
  border-left: 4px solid var(--isols-learner-primary);
  border-radius: 8px;
  background: #f0fdfa;
  color: #134e4a;
  box-shadow: none;
}

.isols-learner-area-shell .isols-sho-workflow-state p {
  margin: 0;
  font-size: 15px;
}

.isols-learner-area-shell .isols-sho-workflow-state p + p {
  margin-top: 4px;
}

.isols-learner-area-shell .isols-status-badge,
.isols-learner-area-shell .isols-status-meta span,
.isols-learner-area-shell .isols-badge,
.isols-learner-area-shell .isols-record-count {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 0;
  border-radius: 999px;
  background: var(--isols-learner-supportive);
  color: #115e59;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.isols-learner-area-shell .isols-alert {
  border-width: 1px;
  border-radius: 8px;
  box-shadow: none;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.isols-learner-area-shell .isols-alert strong {
  font-weight: 600;
}

@media (max-width: 720px) {
  .isols-learner-area-shell {
    gap: 12px;
    padding-inline: 12px;
  }

  .isols-learner-area-shell .isols-learner-area-sidebar,
  .isols-learner-area-shell .isols-dashboard:not(.isols-learner-dashboard-home):not(.isols-upcoming-classes-page) > .isols-step,
  .isols-learner-area-shell .isols-learner-onboarding-panel,
  .isols-learner-area-shell .isols-history-card,
  .isols-learner-area-shell .isols-message-record,
  .isols-learner-area-shell .isols-tap-card {
    padding: 14px;
  }

  .isols-learner-area-shell .isols-history-section-body,
  .isols-learner-area-shell .isols-history-date-group > .isols-history-card-list,
  .isols-learner-area-shell .isols-message-composer > .isols-step,
  .isols-learner-area-shell .isols-sho-history-section-body,
  .isols-learner-area-shell .isols-sho-accordion-body {
    padding: 12px;
  }

  .isols-learner-area-shell .isols-button,
  .isols-learner-area-shell button.isols-button,
  .isols-learner-area-shell summary.isols-button {
    min-height: 44px;
  }

  .isols-learner-area-shell .isols-sho-card > .isols-sho-card-heading {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .isols-learner-area-shell .isols-sho-card-heading > div {
    min-width: 0;
  }

  .isols-learner-area-shell .isols-sho-primary-actions,
  .isols-learner-area-shell .isols-sho-assignment-actions {
    align-items: stretch;
  }
}

@media (max-width: 420px) {
  .isols-learner-area-shell .isols-actions,
  .isols-learner-area-shell .isols-button-row,
  .isols-learner-area-shell .isols-notice-actions,
  .isols-learner-area-shell .isols-sho-primary-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .isols-learner-area-shell .isols-actions > *,
  .isols-learner-area-shell .isols-button-row > *,
  .isols-learner-area-shell .isols-notice-actions > *,
  .isols-learner-area-shell .isols-sho-primary-actions > *,
  .isols-learner-area-shell .isols-actions .isols-button,
  .isols-learner-area-shell .isols-button-row .isols-button,
  .isols-learner-area-shell .isols-notice-actions .isols-button,
  .isols-learner-area-shell .isols-sho-primary-actions .isols-button,
  .isols-learner-area-shell .isols-sho-upload-disclosure > .isols-button {
    width: 100%;
    max-width: none;
  }
}

/* End Cutie Pie 0.3.43 unified learner-area visual system. */

/* 0.3.33: compact unresolved class outcomes on learner and teacher dashboards. */
.isols-dashboard-outcomes {
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid #d8e1eb;
  border-left: 3px solid #13877e;
  border-radius: 10px;
  background: #fff;
}

.isols-dashboard-outcomes__intro {
  padding: 14px 16px 12px;
  border-bottom: 1px solid #e4eaf0;
}

.isols-dashboard-outcomes__intro h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.isols-dashboard-outcomes__intro p {
  margin: 0;
}

.isols-dashboard-outcomes__list {
  display: grid;
}

.isols-dashboard-outcome-row {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e4eaf0;
  border-radius: 0;
  background: #fff;
}

.isols-dashboard-outcome-row:last-child {
  border-bottom: 0;
}

.isols-dashboard-outcome-row > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 20px;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
}

.isols-dashboard-outcome-row > summary::-webkit-details-marker {
  display: none;
}

.isols-dashboard-outcome-row > summary::after {
  content: "+";
  color: #0d756d;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.isols-dashboard-outcome-row[open] > summary::after {
  content: "\2212";
}

.isols-dashboard-outcome-row__class {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 3px 12px;
  align-items: baseline;
}

.isols-dashboard-outcome-row__class strong {
  font-weight: 600;
}

.isols-dashboard-outcome-row__class span {
  color: #526176;
}

.isols-dashboard-outcome-row__status {
  max-width: 240px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e9f7f5;
  color: #0d6f67;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}

.isols-dashboard-outcome-row__body {
  padding: 12px 16px 14px;
  border-top: 1px solid #eef2f6;
}

.isols-dashboard-outcome-row__body > p {
  margin: 0;
}

.isols-dashboard-outcomes .isols-class-outcome-action--compact {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.isols-dashboard-outcomes .isols-class-outcome-action--compact .isols-outcome-choice {
  margin-top: 8px;
}

@media (max-width: 520px) {
  .isols-dashboard-outcomes__intro {
    padding: 12px;
  }

  .isols-dashboard-outcome-row > summary {
    grid-template-columns: minmax(0, 1fr) 20px;
    padding: 11px 12px;
  }

  .isols-dashboard-outcome-row > summary::after {
    grid-column: 2;
    grid-row: 1;
  }

  .isols-dashboard-outcome-row__status {
    grid-column: 1 / -1;
    justify-self: start;
    max-width: 100%;
    text-align: left;
  }

  .isols-dashboard-outcome-row__body {
    padding: 10px 12px 12px;
  }
}

/* Cutie Pie 0.3.24: labeled compact learner time control. */
.isols-learner-booking-page .isols-split-time-control {
  display: inline-flex;
  align-items: stretch;
  width: 100%;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #172033;
}

.isols-learner-booking-page .isols-split-time-control:focus-within {
  border-color: #0f857c;
  outline: 2px solid rgba(15, 133, 124, 0.22);
  outline-offset: 1px;
}

.isols-learner-booking-page .isols-split-time-control select[data-isols-time-part] {
  box-sizing: border-box;
  height: 40px;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: inherit;
  font: inherit;
  font-weight: 400;
  line-height: 1.25;
  padding-block: 0;
  box-shadow: none;
}

.isols-learner-booking-page .isols-split-time-control select[data-isols-time-part]:focus {
  outline: 0;
  box-shadow: none;
}

.isols-learner-booking-page .isols-split-time-control .isols-time-hour {
  flex: 1 1 42%;
  padding-inline: 12px 8px;
}

.isols-learner-booking-page .isols-split-time-control .isols-time-minute {
  flex: 1 1 34%;
  padding-inline: 8px;
}

.isols-learner-booking-page .isols-split-time-control .isols-time-period {
  flex: 1.2 1 38%;
  border-left: 1px solid #e2e8f0;
  padding-inline: 8px 12px;
}

.isols-learner-booking-page .isols-split-time-control .isols-time-separator {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding-inline: 2px;
  color: #5d6b82;
  font-weight: 600;
}

.isols-learner-booking-page .isols-split-time-control.is-disabled {
  background: #f1f5f9;
  color: #64748b;
}

@media (max-width: 720px) {
  .isols-learner-booking-page .isols-split-time-control,
  .isols-learner-booking-page .isols-split-time-control select[data-isols-time-part] {
    height: 44px;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .isols-learner-booking-page .isols-split-time-control select[data-isols-time-part] {
    font-size: 14px;
  }

  .isols-learner-booking-page .isols-split-time-control .isols-time-hour {
    padding-inline: 8px 5px;
  }

  .isols-learner-booking-page .isols-split-time-control .isols-time-minute {
    padding-inline: 5px;
  }

  .isols-learner-booking-page .isols-split-time-control .isols-time-period {
    padding-inline: 5px 8px;
  }
}

/* Cutie Pie 0.3.72: reuse learner split time control on teacher availability. */
.isols-teacher-availability-page .isols-split-time-control {
  display: inline-flex;
  align-items: stretch;
  width: 100%;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #172033;
}

.isols-teacher-availability-page .isols-split-time-control:focus-within {
  border-color: #0f857c;
  outline: 2px solid rgba(15, 133, 124, 0.22);
  outline-offset: 1px;
}

.isols-teacher-availability-page .isols-split-time-control select[data-isols-time-part] {
  box-sizing: border-box;
  height: 40px;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: inherit;
  font: inherit;
  font-weight: 400;
  line-height: 1.25;
  padding-block: 0;
  box-shadow: none;
}

.isols-teacher-availability-page .isols-split-time-control select[data-isols-time-part]:focus {
  outline: 0;
  box-shadow: none;
}

.isols-teacher-availability-page .isols-split-time-control .isols-time-hour {
  flex: 1 1 42%;
  padding-inline: 12px 8px;
}

.isols-teacher-availability-page .isols-split-time-control .isols-time-minute {
  flex: 1 1 34%;
  padding-inline: 8px;
}

.isols-teacher-availability-page .isols-split-time-control .isols-time-period {
  flex: 1.2 1 38%;
  min-width: 70px;
  border-left: 1px solid #e2e8f0;
  padding-inline: 8px 12px;
}

.isols-teacher-availability-page .isols-split-time-control .isols-time-separator {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding-inline: 2px;
  color: #5d6b82;
  font-weight: 600;
}

.isols-teacher-availability-page .isols-split-time-control.is-disabled {
  background: #f1f5f9;
  color: #64748b;
}

@media (max-width: 720px) {
  .isols-teacher-availability-page .isols-split-time-control,
  .isols-teacher-availability-page .isols-split-time-control select[data-isols-time-part] {
    height: 44px;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .isols-teacher-availability-page .isols-split-time-control select[data-isols-time-part] {
    font-size: 14px;
  }

  .isols-teacher-availability-page .isols-split-time-control .isols-time-hour {
    padding-inline: 8px 5px;
  }

  .isols-teacher-availability-page .isols-split-time-control .isols-time-minute {
    padding-inline: 5px;
  }

  .isols-teacher-availability-page .isols-split-time-control .isols-time-period {
    padding-inline: 5px 8px;
  }
}

/* Cutie Pie 0.3.18: lighter teacher-dashboard visual system. */
.isols-teacher-area-shell {
  --isols-teacher-text: #1e293b;
  --isols-teacher-muted: #64748b;
  --isols-teacher-border: #d7e0ea;
  --isols-teacher-border-soft: #e2e8f0;
  --isols-teacher-surface: #ffffff;
  --isols-teacher-surface-soft: #f8fafc;
  --isols-teacher-primary: #0f766e;
  --isols-teacher-primary-hover: #115e59;
  --isols-teacher-supportive: #eaf7f5;
  --isols-teacher-supportive-border: #9fd8d1;
  --isols-teacher-supportive-text: #0f5f59;
  --isols-teacher-danger-surface: #fff7f7;
  --isols-teacher-danger-border: #dc6b6b;
  --isols-teacher-danger-text: #b42318;
  color: var(--isols-teacher-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.isols-teacher-area-shell p,
.isols-teacher-area-shell li,
.isols-teacher-area-shell dd,
.isols-teacher-area-shell small,
.isols-teacher-area-shell input,
.isols-teacher-area-shell select,
.isols-teacher-area-shell textarea,
.isols-teacher-area-shell .isols-help-text,
.isols-teacher-area-shell .isols-muted,
.isols-teacher-area-shell .isols-message-record,
.isols-teacher-area-shell .isols-thread-message {
  font-weight: 400;
}

.isols-teacher-area-shell h2,
.isols-teacher-area-shell h3,
.isols-teacher-area-shell h4,
.isols-teacher-area-shell h5,
.isols-teacher-area-shell label,
.isols-teacher-area-shell legend,
.isols-teacher-area-shell dt,
.isols-teacher-area-shell th,
.isols-teacher-area-shell summary,
.isols-teacher-area-shell .isols-button,
.isols-teacher-area-shell button,
.isols-teacher-area-shell input[type="button"],
.isols-teacher-area-shell input[type="submit"],
.isols-teacher-area-shell input[type="reset"] {
  font-weight: 600;
}

.isols-teacher-area-shell .isols-button,
.isols-teacher-area-shell button.isols-button,
.isols-teacher-area-shell input[type="submit"].isols-button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--isols-teacher-supportive-border);
  border-radius: 7px;
  background: var(--isols-teacher-supportive);
  color: var(--isols-teacher-supportive-text);
  box-shadow: none;
  font-size: 15px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.isols-teacher-area-shell .isols-button:hover,
.isols-teacher-area-shell .isols-button:focus-visible {
  border-color: #6fbfb6;
  background: #dff3f0;
  color: #0b4f4a;
}

.isols-teacher-area-shell .isols-button-secondary,
.isols-teacher-area-shell .isols-teacher-action-neutral {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.isols-teacher-area-shell .isols-button-secondary:hover,
.isols-teacher-area-shell .isols-button-secondary:focus-visible,
.isols-teacher-area-shell .isols-teacher-action-neutral:hover,
.isols-teacher-area-shell .isols-teacher-action-neutral:focus-visible {
  border-color: #94a3b8;
  background: #f8fafc;
  color: #1e293b;
}

.isols-teacher-area-shell .isols-teacher-action-primary,
.isols-teacher-area-shell .isols-teacher-dashboard .isols-teacher-next-action .isols-teacher-action-primary,
.isols-teacher-area-shell .isols-teacher-class-meeting .isols-teacher-action-primary {
  border-color: var(--isols-teacher-primary);
  background: var(--isols-teacher-primary);
  color: #ffffff;
}

.isols-teacher-area-shell .isols-teacher-action-primary:hover,
.isols-teacher-area-shell .isols-teacher-action-primary:focus-visible,
.isols-teacher-area-shell .isols-teacher-dashboard .isols-teacher-next-action .isols-teacher-action-primary:hover,
.isols-teacher-area-shell .isols-teacher-dashboard .isols-teacher-next-action .isols-teacher-action-primary:focus-visible,
.isols-teacher-area-shell .isols-teacher-class-meeting .isols-teacher-action-primary:hover,
.isols-teacher-area-shell .isols-teacher-class-meeting .isols-teacher-action-primary:focus-visible {
  border-color: var(--isols-teacher-primary-hover);
  background: var(--isols-teacher-primary-hover);
  color: #ffffff;
}

.isols-teacher-area-shell .isols-teacher-action-danger,
.isols-teacher-area-shell .isols-availability-cancel-form .isols-button,
.isols-teacher-area-shell .isols-sho-remove-task,
.isols-teacher-area-shell .isols-remove-unsaved-lesson {
  border: 1px solid var(--isols-teacher-danger-border);
  background: var(--isols-teacher-danger-surface);
  color: var(--isols-teacher-danger-text);
  box-shadow: none;
}

.isols-teacher-area-shell .isols-teacher-action-danger:hover,
.isols-teacher-area-shell .isols-teacher-action-danger:focus-visible,
.isols-teacher-area-shell .isols-availability-cancel-form .isols-button:hover,
.isols-teacher-area-shell .isols-availability-cancel-form .isols-button:focus-visible,
.isols-teacher-area-shell .isols-sho-remove-task:hover,
.isols-teacher-area-shell .isols-sho-remove-task:focus-visible,
.isols-teacher-area-shell .isols-remove-unsaved-lesson:hover,
.isols-teacher-area-shell .isols-remove-unsaved-lesson:focus-visible {
  border-color: #c2413b;
  background: #feecec;
  color: #912018;
}

.isols-teacher-area-shell :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.32);
  outline-offset: 2px;
}

.isols-teacher-area-shell .isols-step,
.isols-teacher-area-shell .isols-widget,
.isols-teacher-area-shell .isols-upcoming-class-card,
.isols-teacher-area-shell .isols-history-card,
.isols-teacher-area-shell .isols-availability-block-card,
.isols-teacher-area-shell .isols-message-record,
.isols-teacher-area-shell .isols-thread-card,
.isols-teacher-area-shell .isols-wallet-total,
.isols-teacher-area-shell .isols-lesson-booking-panel {
  border: 1px solid var(--isols-teacher-border);
  border-radius: 10px;
  background: var(--isols-teacher-surface);
  box-shadow: none;
}

.isols-teacher-area-shell .isols-step,
.isols-teacher-area-shell .isols-widget,
.isols-teacher-area-shell .isols-history-card,
.isols-teacher-area-shell .isols-message-record,
.isols-teacher-area-shell .isols-thread-card {
  padding: 16px;
}

.isols-teacher-area-shell .isols-dashboard-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom-color: var(--isols-teacher-border-soft);
}

.isols-teacher-area-shell .isols-dashboard-header h2,
.isols-teacher-area-shell .isols-dashboard-header h3,
.isols-teacher-area-shell .isols-step h3,
.isols-teacher-area-shell .isols-widget h3 {
  margin-top: 0;
  font-weight: 600;
}

.isols-teacher-area-shell .isols-teacher-dashboard .isols-teacher-next-action {
  padding: 16px;
  border: 1px solid #b7ded9;
  border-left: 3px solid var(--isols-teacher-primary);
  background: #fbfefd;
}

.isols-teacher-area-shell .isols-teacher-dashboard .isols-notice-actions {
  margin: 12px 0 0;
}

/* Teacher Next Class and Schedule class cards. */
.isols-teacher-area-shell .isols-teacher-class-card {
  min-width: 0;
  padding: 16px;
  border-width: 1px;
  border-color: var(--isols-teacher-border);
  background: var(--isols-teacher-surface);
}

.isols-teacher-area-shell .isols-teacher-class-card > h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.isols-teacher-area-shell .isols-teacher-class-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--isols-teacher-border-soft);
  border-radius: 8px;
  background: var(--isols-teacher-surface-soft);
}

.isols-teacher-area-shell .isols-teacher-class-summary > div {
  min-width: 0;
}

.isols-teacher-area-shell .isols-teacher-class-summary dt {
  margin: 0 0 2px;
  color: var(--isols-teacher-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-transform: uppercase;
}

.isols-teacher-area-shell .isols-teacher-class-summary dd {
  min-width: 0;
  margin: 0;
  color: var(--isols-teacher-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.isols-teacher-area-shell .isols-teacher-class-summary [data-isols-class-status] {
  color: var(--isols-teacher-primary);
  font-weight: 600;
}

.isols-teacher-area-shell .isols-teacher-class-attendance,
.isols-teacher-area-shell .isols-teacher-class-preparation,
.isols-teacher-area-shell .isols-teacher-class-materials,
.isols-teacher-area-shell .isols-teacher-class-meeting,
.isols-teacher-area-shell .isols-teacher-class-management {
  min-width: 0;
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid var(--isols-teacher-border-soft);
  border-radius: 8px;
  background: var(--isols-teacher-surface-soft);
}

.isols-teacher-area-shell .isols-teacher-section-heading {
  flex: 1 0 100%;
  margin: 0 0 9px;
  color: var(--isols-teacher-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.isols-teacher-area-shell .isols-teacher-class-card .isols-booking-actions,
.isols-teacher-area-shell .isols-teacher-class-card .isols-lesson-booking-actions,
.isols-teacher-area-shell .isols-teacher-class-card .isols-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.isols-teacher-area-shell .isols-teacher-class-card .isols-booking-actions form,
.isols-teacher-area-shell .isols-teacher-class-card .isols-booking-actions p {
  margin: 0;
}

.isols-teacher-area-shell .isols-teacher-class-preparation p,
.isols-teacher-area-shell .isols-teacher-class-materials p,
.isols-teacher-area-shell .isols-teacher-class-meeting p,
.isols-teacher-area-shell .isols-teacher-class-management p {
  margin: 6px 0;
  font-weight: 400;
}

.isols-teacher-area-shell .isols-teacher-class-materials .isols-lesson-booking-panel {
  margin: 8px 0 0;
  padding: 12px;
  background: #ffffff;
}

.isols-teacher-area-shell .isols-teacher-class-materials .isols-next-class-tap {
  margin: 0;
}

.isols-teacher-area-shell .isols-teacher-class-materials .isols-next-class-tap-status {
  color: var(--isols-teacher-muted);
  font-size: 15px;
}

.isols-teacher-area-shell .isols-teacher-class-meeting {
  background: #f2fbf9;
}

.isols-teacher-area-shell .isols-teacher-class-management {
  background: #ffffff;
}

.isols-teacher-area-shell .isols-teacher-class-management .isols-cancellation-closed {
  flex: 1 1 260px;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid var(--isols-teacher-border-soft);
  border-radius: 7px;
  background: var(--isols-teacher-surface-soft);
}

.isols-teacher-area-shell .isols-teacher-class-management .isols-cancellation-form form {
  margin-top: 10px;
  padding: 13px;
  border: 1px solid var(--isols-teacher-border-soft);
  border-radius: 8px;
  background: #ffffff;
}

/* Schedule and availability. */
.isols-teacher-area-shell .isols-teacher-schedule-page .isols-schedule-date-groups,
.isols-teacher-area-shell .isols-teacher-schedule-page .isols-upcoming-class-list {
  gap: 12px;
}

.isols-teacher-area-shell .isols-teacher-schedule-page .isols-schedule-date-group {
  border: 1px solid var(--isols-teacher-border-soft);
  border-radius: 10px;
  box-shadow: none;
}

.isols-teacher-area-shell .isols-teacher-schedule-page .isols-schedule-date-group > summary {
  min-height: 44px;
  padding: 11px 14px;
  background: var(--isols-teacher-surface-soft);
  font-weight: 600;
}

.isols-teacher-area-shell .isols-teacher-availability-page .isols-step,
.isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-block-card {
  padding: 14px;
}

.isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-form-row,
.isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-save-row,
.isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-block-card {
  gap: 10px;
}

.isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-block-details {
  gap: 8px 18px;
}

.isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-edit-button {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-add-form button[type="submit"],
.isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-save-row button[type="submit"],
.isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-timezone-form button[type="submit"] {
  border-color: var(--isols-teacher-primary);
  background: var(--isols-teacher-primary);
  color: #ffffff;
}

/* SHO, TAP and lesson materials. */
.isols-teacher-area-shell .isols-teacher-materials-page .isols-materials-hub {
  gap: 12px;
}

.isols-teacher-area-shell .isols-teacher-materials-page .isols-materials-door,
.isols-teacher-area-shell .isols-teacher-materials-page .isols-material-accordion,
.isols-teacher-area-shell .isols-teacher-materials-page .isols-material-item,
.isols-teacher-area-shell .isols-teacher-materials-page .isols-sho-class-group {
  border-color: var(--isols-teacher-border);
  background: #ffffff;
  box-shadow: none;
}

.isols-teacher-area-shell .isols-teacher-materials-page .isols-materials-door {
  min-height: 0;
  padding: 15px;
}

.isols-teacher-area-shell .isols-teacher-materials-page .isols-materials-door strong {
  font-weight: 600;
}

.isols-teacher-area-shell .isols-teacher-materials-page .isols-materials-door span {
  color: var(--isols-teacher-muted);
  font-weight: 400;
}

.isols-teacher-area-shell .isols-teacher-materials-page .isols-form button[type="submit"].isols-button:not(.isols-sho-remove-task),
.isols-teacher-area-shell .isols-teacher-materials-page form > button[type="submit"].isols-button:not(.isols-sho-remove-task) {
  border-color: var(--isols-teacher-primary);
  background: var(--isols-teacher-primary);
  color: #ffffff;
}

/* Messages and wallet. */
.isols-teacher-area-shell .isols-teacher-messages-page .isols-message-composer,
.isols-teacher-area-shell .isols-teacher-messages-page .isols-conversation-center,
.isols-teacher-area-shell .isols-teacher-messages-page .isols-message-record {
  border-color: var(--isols-teacher-border);
  box-shadow: none;
}

.isols-teacher-area-shell .isols-teacher-messages-page .isols-message-composer > summary {
  min-height: 44px;
  padding: 11px 14px;
  background: var(--isols-teacher-surface-soft);
  font-weight: 600;
}

.isols-teacher-area-shell .isols-teacher-messages-page .isols-step,
.isols-teacher-area-shell .isols-teacher-messages-page .isols-message-record {
  padding: 14px;
}

.isols-teacher-area-shell .isols-teacher-messages-page form .isols-button[type="submit"] {
  border-color: var(--isols-teacher-primary);
  background: var(--isols-teacher-primary);
  color: #ffffff;
}

.isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-summary {
  gap: 12px;
}

.isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-total {
  min-height: 0;
  padding: 14px;
  background: var(--isols-teacher-surface-soft);
}

.isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-total span {
  color: var(--isols-teacher-muted);
  font-size: 13px;
  font-weight: 600;
}

.isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-total strong {
  color: var(--isols-teacher-text);
  font-weight: 600;
}

.isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-records {
  gap: 12px;
}

.isols-teacher-area-shell .isols-teacher-wallet-page .isols-history-card {
  padding: 14px;
}

@media (max-width: 1024px) {
  .isols-teacher-area-shell .isols-teacher-class-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .isols-teacher-area-shell .isols-step,
  .isols-teacher-area-shell .isols-widget,
  .isols-teacher-area-shell .isols-teacher-class-card,
  .isols-teacher-area-shell .isols-history-card,
  .isols-teacher-area-shell .isols-message-record,
  .isols-teacher-area-shell .isols-thread-card {
    padding: 14px;
  }

  .isols-teacher-area-shell .isols-button,
  .isols-teacher-area-shell button,
  .isols-teacher-area-shell input[type="button"],
  .isols-teacher-area-shell input[type="submit"],
  .isols-teacher-area-shell input[type="reset"],
  .isols-teacher-area-shell summary {
    min-height: 44px;
  }

  .isols-teacher-area-shell .isols-teacher-class-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-class-attendance,
  .isols-teacher-area-shell .isols-teacher-class-preparation,
  .isols-teacher-area-shell .isols-teacher-class-materials,
  .isols-teacher-area-shell .isols-teacher-class-meeting,
  .isols-teacher-area-shell .isols-teacher-class-management {
    padding: 12px;
  }

  .isols-teacher-area-shell .isols-teacher-class-card .isols-booking-actions,
  .isols-teacher-area-shell .isols-teacher-class-card .isols-lesson-booking-actions,
  .isols-teacher-area-shell .isols-teacher-class-card .isols-actions {
    align-items: stretch;
  }

  .isols-teacher-area-shell .isols-teacher-class-card .isols-booking-actions > *,
  .isols-teacher-area-shell .isols-teacher-class-card .isols-lesson-booking-actions > *,
  .isols-teacher-area-shell .isols-teacher-class-card .isols-actions > * {
    max-width: 100%;
  }

  .isols-teacher-area-shell .isols-teacher-class-card .isols-button,
  .isols-teacher-area-shell .isols-teacher-class-card summary.isols-button {
    box-sizing: border-box;
    text-align: center;
  }

  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-block-card,
  .isols-teacher-area-shell .isols-teacher-availability-page .isols-availability-form-row,
  .isols-teacher-area-shell .isols-teacher-wallet-page .isols-wallet-summary {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .isols-teacher-area-shell .isols-teacher-class-card .isols-booking-actions,
  .isols-teacher-area-shell .isols-teacher-class-card .isols-booking-actions > *,
  .isols-teacher-area-shell .isols-teacher-class-card .isols-booking-actions .isols-button,
  .isols-teacher-area-shell .isols-teacher-class-card .isols-lesson-booking-actions,
  .isols-teacher-area-shell .isols-teacher-class-card .isols-lesson-booking-actions > *,
  .isols-teacher-area-shell .isols-teacher-class-card .isols-lesson-booking-actions .isols-button,
  .isols-teacher-area-shell .isols-teacher-class-card .isols-actions,
  .isols-teacher-area-shell .isols-teacher-class-card .isols-actions > *,
  .isols-teacher-area-shell .isols-teacher-class-card .isols-actions .isols-button,
  .isols-teacher-area-shell .isols-teacher-class-meeting .isols-button,
  .isols-teacher-area-shell .isols-teacher-dashboard .isols-notice-actions .isols-button {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
}

/* Cutie Pie 0.3.20: shared compact teacher Dashboard and Schedule cards. */
.isols-teacher-compact-class-card.isols-teacher-class-card {
  padding: 14px;
}

/* Cutie Pie 0.3.21: shared compact learner Dashboard and Upcoming Class cards. */
.isols-learner-upcoming-class-card {
  padding: 14px;
}

.isols-learner-upcoming-class-card h3 {
  margin-bottom: 10px;
}

.isols-learner-upcoming-class-card .isols-learner-class-summary {
  gap: 6px 16px;
  padding: 10px 12px;
}

.isols-learner-upcoming-class-card .isols-learner-class-summary dd {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.isols-learner-upcoming-class-card .isols-learner-class-meeting {
  order: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: stretch;
  gap: 6px 12px;
  margin-top: 10px;
  padding: 10px 12px;
  min-width: 0;
}

.isols-learner-upcoming-class-card .isols-learner-class-meeting > * {
  min-width: 0;
  margin: 0;
}

.isols-learner-upcoming-class-card .isols-learner-class-meeting .isols-button {
  justify-self: end;
}

.isols-learner-upcoming-class-card .isols-learner-class-meeting .isols-meeting-instructions {
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
}

.isols-learner-upcoming-class-card .isols-learner-meeting-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 4px 7px;
  min-height: 40px;
  padding-block: 8px;
}

.isols-learner-upcoming-class-card .isols-learner-meeting-label {
  color: #334155;
  font-size: 15px;
  font-weight: 600;
}

.isols-learner-upcoming-class-card .isols-learner-meeting-separator {
  color: #94a3b8;
}

.isols-learner-upcoming-class-card .isols-learner-class-preparation {
  order: 5;
  margin-top: 8px;
  padding: 10px 0 0;
  border: 0;
  border-top: 1px solid #e2e8f0;
  border-radius: 0;
  background: transparent;
}

.isols-learner-upcoming-class-card .isols-learner-class-preparation > :first-child {
  margin-top: 0;
}

.isols-learner-upcoming-class-card .isols-learner-class-preparation > :last-child {
  margin-bottom: 0;
}

.isols-learner-upcoming-class-card .isols-learner-class-action-area {
  order: 6;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.isols-learner-upcoming-class-card .isols-learner-class-action-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  margin: 0;
}

.isols-learner-upcoming-class-card .isols-learner-class-action-row .isols-button {
  display: inline-flex;
  flex: 0 1 auto;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 7px;
  font-family: inherit;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.isols-learner-upcoming-class-card .isols-learner-class-action-row .isols-learner-action-neutral {
  order: 0;
}

.isols-learner-upcoming-class-card .isols-learner-class-action-panel {
  width: 100%;
  margin-top: 10px;
}

.isols-learner-upcoming-class-card .isols-learner-class-action-panel[hidden] {
  display: none !important;
}

.isols-learner-upcoming-class-card .isols-cancellation-form-panel,
.isols-learner-upcoming-class-card .isols-cancellation-form-panel form {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.isols-learner-upcoming-class-card .isols-cancellation-form-panel form {
  margin-top: 0;
}

@media (max-width: 900px) {
  .isols-learner-upcoming-class-card .isols-learner-class-action-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .isols-learner-upcoming-class-card .isols-learner-class-meeting {
    grid-template-columns: minmax(0, 1fr);
  }

  .isols-learner-upcoming-class-card .isols-learner-class-meeting .isols-button {
    width: 100%;
    max-width: none;
    min-height: 44px;
    box-sizing: border-box;
    justify-self: stretch;
  }

  .isols-learner-upcoming-class-card .isols-learner-meeting-empty {
    display: flex;
    flex-wrap: wrap;
    min-height: 44px;
  }

  .isols-learner-upcoming-class-card .isols-learner-meeting-empty .isols-help-text {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .isols-learner-upcoming-class-card .isols-learner-class-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .isols-learner-upcoming-class-card .isols-learner-class-action-row .isols-button {
    width: 100%;
    max-width: none;
    min-height: 44px;
    box-sizing: border-box;
  }
}

.isols-teacher-compact-class-card.isols-teacher-class-card > h3 {
  margin: 0 0 8px;
}

.isols-teacher-compact-class-card .isols-teacher-class-summary {
  gap: 8px 16px;
  padding: 12px;
}

.isols-teacher-compact-class-card .isols-teacher-class-attendance,
.isols-teacher-compact-class-card .isols-teacher-class-preparation,
.isols-teacher-compact-class-card .isols-teacher-class-materials,
.isols-teacher-compact-class-card .isols-teacher-class-meeting,
.isols-teacher-compact-class-card .isols-teacher-class-management {
  margin: 8px 0 0;
  padding: 10px 12px 0;
  border: 0;
  border-top: 1px solid var(--isols-teacher-border-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.isols-teacher-compact-class-card [data-isols-attendance-shell][hidden] {
  display: none !important;
}

.isols-teacher-compact-class-card .isols-teacher-section-heading {
  margin: 0 0 6px;
}

.isols-teacher-compact-class-card.isols-teacher-class-card .isols-booking-actions,
.isols-teacher-compact-class-card.isols-teacher-class-card .isols-lesson-booking-actions,
.isols-teacher-compact-class-card.isols-teacher-class-card .isols-actions,
.isols-teacher-compact-class-card.isols-teacher-class-card .isols-next-class-preparation-actions {
  align-items: stretch;
  gap: 8px;
  margin-top: 6px;
}

.isols-teacher-compact-class-card .isols-button,
.isols-teacher-compact-class-card button.isols-button,
.isols-teacher-compact-class-card summary.isols-button {
  display: inline-flex;
  box-sizing: border-box;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 7px;
  font-family: inherit;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
  appearance: none;
}

.isols-teacher-compact-class-card .isols-teacher-class-preparation .isols-booking-actions > form {
  display: flex;
  align-items: stretch;
  margin: 0;
}

.isols-teacher-compact-class-card .isols-teacher-class-preparation .isols-booking-actions > form > .isols-button {
  width: 100%;
}

.isols-teacher-compact-class-card .isols-teacher-class-preparation p,
.isols-teacher-compact-class-card .isols-teacher-class-materials p,
.isols-teacher-compact-class-card .isols-teacher-class-meeting p,
.isols-teacher-compact-class-card .isols-teacher-class-management p {
  margin: 4px 0;
}

.isols-teacher-compact-class-card.isols-teacher-class-card .isols-teacher-class-materials .isols-lesson-booking-panel {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.isols-teacher-compact-class-card .isols-teacher-class-materials .isols-next-class-tap,
.isols-teacher-compact-class-card .isols-teacher-class-materials .isols-next-class-tap-status {
  margin: 0;
}

.isols-teacher-compact-class-card .isols-teacher-class-meeting {
  margin-bottom: 0;
}

.isols-teacher-compact-class-card .isols-teacher-class-meeting.isols-teacher-meeting-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  padding: 10px 12px 0;
}

.isols-teacher-compact-class-card .isols-teacher-meeting-empty .isols-teacher-section-heading {
  flex: 0 0 auto;
  margin: 0;
}

.isols-teacher-compact-class-card .isols-teacher-meeting-empty .isols-teacher-meeting-separator,
.isols-teacher-compact-class-card .isols-teacher-meeting-empty .isols-help-text {
  margin: 0;
  color: var(--isols-teacher-muted);
  font-size: 15px;
  line-height: 1.4;
}

.isols-teacher-compact-class-card .isols-teacher-class-management {
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.isols-teacher-compact-class-card .isols-teacher-class-management .isols-cancellation-form form {
  margin-top: 8px;
  padding: 12px;
}

@media (max-width: 720px) {
  .isols-teacher-compact-class-card.isols-teacher-class-card {
    padding: 14px;
  }

  .isols-teacher-compact-class-card .isols-teacher-class-attendance,
  .isols-teacher-compact-class-card .isols-teacher-class-preparation,
  .isols-teacher-compact-class-card .isols-teacher-class-materials,
  .isols-teacher-compact-class-card .isols-teacher-class-meeting,
  .isols-teacher-compact-class-card .isols-teacher-class-management {
    padding: 12px 0 0;
  }

  .isols-teacher-compact-class-card .isols-button,
  .isols-teacher-compact-class-card button.isols-button,
  .isols-teacher-compact-class-card summary.isols-button {
    min-height: 44px;
  }

  .isols-teacher-compact-class-card .isols-teacher-class-meeting.isols-teacher-meeting-empty {
    padding: 12px 0 0;
  }
}

@media (max-width: 420px) {
  .isols-teacher-compact-class-card .isols-booking-actions,
  .isols-teacher-compact-class-card .isols-booking-actions > *,
  .isols-teacher-compact-class-card .isols-booking-actions .isols-button,
  .isols-teacher-compact-class-card .isols-next-class-preparation-actions,
  .isols-teacher-compact-class-card .isols-next-class-preparation-actions > *,
  .isols-teacher-compact-class-card .isols-next-class-preparation-actions .isols-button,
  .isols-teacher-compact-class-card .isols-teacher-class-meeting .isols-button {
    width: 100%;
    max-width: none;
  }
}
/* Read-only teacher completion guide; scoped to active completion pages. */
.isols-completion-progress {
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid #dbe5ec;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
}

.isols-completion-progress .isols-completion-progress__intro,
.isols-completion-progress .isols-completion-progress__instruction {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.isols-completion-progress .isols-completion-progress__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 10px;
  padding: 0;
  margin: 12px 0;
  list-style: none;
}

.isols-completion-progress .isols-completion-progress__step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  margin: 0;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: #fff;
}

.isols-completion-progress .isols-completion-progress__step--current {
  border: 2px solid #0f766e;
  padding: 11px;
  background: #ecfdf5;
}

.isols-completion-progress .isols-completion-progress__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.isols-completion-progress .isols-completion-progress__step--current .isols-completion-progress__marker,
.isols-completion-progress .isols-completion-progress__step--complete .isols-completion-progress__marker {
  background: #0f766e;
  color: #fff;
}

.isols-completion-progress .isols-completion-progress__text {
  min-width: 0;
}

.isols-completion-progress .isols-completion-progress__title,
.isols-completion-progress .isols-completion-progress__status {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

.isols-completion-progress .isols-completion-progress__title {
  font-size: 14px;
  font-weight: 600;
}

.isols-completion-progress .isols-completion-progress__status {
  margin-top: 4px;
  color: #475569;
  font-size: 12px;
}

.isols-completion-progress .isols-completion-progress__step--upcoming {
  color: #475569;
  background: #f1f5f9;
}

.isols-completion-progress .isols-completion-progress__step--skipped {
  border-style: dashed;
  background: #f8fafc;
  color: #475569;
}

.isols-completion-progress .isols-completion-progress__step--skipped .isols-completion-progress__marker {
  background: #e2e8f0;
  color: #475569;
}

@media (max-width: 640px) {
  .isols-completion-progress {
    padding: 12px;
  }

  .isols-completion-progress .isols-completion-progress__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}
/* Targeted field feedback, reusing registration's isols-field-error text. */
.isols-teacher-area-shell .isols-teacher-field-invalid,
form[data-isols-learner-feedback] .isols-teacher-field-invalid,
.isols-learner-area-shell .isols-sho-submission-form .isols-teacher-field-invalid {
  outline: 2px solid #b91c1c;
  outline-offset: 3px;
  border-radius: 6px;
  background-color: #fff1f2;
}

.isols-teacher-area-shell .isols-teacher-field-message,
form[data-isols-learner-feedback] .isols-teacher-field-message,
.isols-learner-area-shell .isols-sho-submission-form .isols-teacher-field-message {
  display: block;
  grid-column: 1 / -1;
  flex-basis: 100%;
  width: 100%;
  margin: 8px 0 4px;
  color: #b91c1c;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.isols-teacher-area-shell label.isols-teacher-field-invalid,
form[data-isols-learner-feedback] label.isols-teacher-field-invalid,
.isols-learner-area-shell .isols-sho-submission-form label.isols-teacher-field-invalid,
.isols-teacher-area-shell .isols-sho-relative-time.isols-teacher-field-invalid {
  flex-wrap: wrap;
}

.isols-teacher-area-shell .isols-availability-date-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-column: span 2;
  gap: 10px;
  min-width: 0;
}

@media (max-width: 767px) {
  .isols-teacher-area-shell .isols-availability-date-start {
    grid-template-columns: minmax(0, 1fr);
    grid-column: 1 / -1;
  }
}
