/* The opt-in BASIC layout for local lesson detail and Finder. */
.tnet21[data-lb-shell-prototype] {
  container-name: lb-shell;
  --lb-shell-nav-mode: expanded;
  --lb-shell-width: 1280px;
  --lb-shell-gutter: 12px;
  --lb-shell-navigation: 200px;
  --lb-shell-drawer: 200px;
  --lb-shell-rail: 324px;
  --lb-shell-ink: #101633;
  --lb-shell-blue: #0755f2;
  --lb-shell-border: #dfe7f1;
  padding-top: 0;
  background: #f2f6fb;
  font-family: Manrope, Arial, sans-serif;
}

.tnet21[data-lb-shell-prototype] :is(.tnet21-header, .tnet21-frame--right) {
  display: grid;
  grid-template-columns: var(--lb-shell-navigation) minmax(0, 1fr) var(--lb-shell-rail);
  gap: var(--lb-shell-gutter);
  width: 100%;
  max-width: var(--lb-shell-width);
  margin-inline: auto;
  padding-inline: var(--lb-shell-gutter);
}

.tnet21[data-lb-shell-prototype] .tnet21-header {
  position: relative;
  inset: auto;
  z-index: 20;
  align-items: center;
  min-height: 0;
  padding-block: 10px 24px;
  pointer-events: auto;
}

.tnet21[data-lb-shell-prototype][data-tnet21-navigation-posture="basic"] .tnet21-header > .tnet21-brand {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: 182px;
  min-width: 120px;
  max-width: none;
}

.tnet21[data-lb-shell-prototype] .tnet21-brand img { width: 100%; }
.tnet21[data-lb-shell-prototype] .tnet21-identity-rail__brand { display: none; }

.tnet21[data-lb-shell-prototype] .tnet21-header-controls {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  justify-content: flex-end;
  width: 100%;
  min-width: 0;
  margin: 0;
  gap: 9px;
}

.tnet21[data-lb-shell-prototype] .tnet21-header :is(.tnet21-utility, .tnet21-nav-toggle) {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.tnet21[data-lb-shell-prototype] .tnet21-header .tnet21-utility .tnet21-icon { width: 22px; height: 22px; }
.tnet21[data-lb-shell-prototype] .tnet21-header .tnet21-guest-action { height: 38px; }

.tnet21[data-lb-shell-prototype] .tnet21-header .tnet21-creation {
  height: 38px;
  gap: 6px;
  border-radius: 8px;
  font-weight: 700;
  background: var(--lb-shell-blue);
}

.tnet21[data-lb-shell-prototype] .tnet21-header [data-tnet21-popover-trigger="user"]:has(img) {
  display: flex;
  gap: 9px;
  width: 54px;
  padding: 0;
  border: 0;
  background: transparent;
}

.tnet21[data-lb-shell-prototype] .tnet21-header [data-tnet21-popover-trigger="user"] img {
  width: 38px;
  height: 38px;
}

.tnet21[data-lb-shell-prototype] .tnet21-header [data-tnet21-popover-trigger="user"]:has(img)::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border: solid var(--lb-shell-ink);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.tnet21[data-lb-shell-prototype] .tnet21-header .tnet21-product-form {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.tnet21[data-lb-shell-prototype] .lb-finder {
  --lb-control-height: 38px;
  --lb-finder-font-size: 14px;
  grid-template-columns: minmax(0, 247fr) minmax(130px, 145fr) minmax(130px, 138fr) minmax(72px, 87fr);
  gap: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

.tnet21[data-lb-shell-prototype] .lb-finder :is(.lb-finder-keyword, .lb-finder-select, .lb-finder-submit) {
  grid-column: auto;
}

.tnet21[data-lb-shell-prototype] .lb-finder-field {
  border-color: #d3dceb;
  border-radius: 8px;
  font-family: inherit;
}

.tnet21[data-lb-shell-prototype] .lb-finder-field :is(input, select, .lb-menu-current) {
  font-family: inherit;
  font-size: var(--lb-finder-font-size);
  font-weight: 400;
}

.tnet21[data-lb-shell-prototype] .lb-finder .lb-finder-submit {
  border-radius: 8px;
  background: var(--lb-shell-blue);
  font-family: inherit;
  font-weight: 500;
}

.tnet21[data-lb-shell-prototype] .tnet21-main { grid-area: 1 / 2; max-width: none; width: 100%; }
.tnet21[data-lb-shell-prototype] .tnet21-right {
  display: block;
  grid-area: 1 / 3;
  justify-self: start;
  width: min(100%, var(--lb-shell-rail));
  max-width: var(--lb-shell-rail);
  container-type: inline-size;
}

.tnet21[data-lb-shell-prototype] [data-slot="right"] { display: grid; gap: 12px; }
.tnet21[data-lb-shell-prototype] :is(.lb-rail-card, .lb-finder-ad, .lb-finder-related) {
  border-radius: 9px;
  background: #fff;
}
.tnet21[data-lb-shell-prototype] :is(.lb-rail-ad, .lb-finder-ad, .lb-finder-related) {
  border: 0;
  box-shadow: inset 0 0 0 1px var(--lb-shell-border);
}
.tnet21[data-lb-shell-prototype] :is(.lb-rail-ad, .lb-finder-ad) { padding: 12px; }
.tnet21[data-lb-shell-prototype] :is(.lb-ad-placement, .lb-future-primary-ad) { width: 300px; height: 250px; }

@container (width < 324px) {
  .tnet21[data-lb-shell-prototype] :is(.lb-rail-ad, .lb-finder-ad) { display: none; }
}

.tnet21[data-lb-shell-prototype] .tnet21-identity-rail { margin: 0; padding: 0; z-index: 12; }
.tnet21[data-lb-shell-prototype] .tnet21-rail .tnet21-row { min-height: 43px; }
.tnet21[data-lb-shell-prototype] .tnet21-rail .tnet21-row-content {
  padding: 7px 12px;
  color: var(--lb-shell-ink);
  font-size: 16px;
}
.tnet21[data-lb-shell-prototype] .tnet21-rail .tnet21-row--product-current .tnet21-row-content {
  color: var(--lb-shell-blue);
  font-weight: 700;
}
.tnet21[data-lb-shell-prototype] .tnet21-rail .tnet21-nav-icon { color: #233761; }
.tnet21[data-lb-shell-prototype] .tnet21-rail .tnet21-nav-icon--outline { opacity: 1; }
.tnet21[data-lb-shell-prototype] .tnet21-rail .tnet21-row--product-current .tnet21-nav-icon--local { color: var(--lb-shell-blue); }
.tnet21[data-lb-shell-prototype] .lb-compact-toggle { display: none; }

@media (920px <= width < 1101px) {
  .tnet21[data-lb-shell-prototype]:not([data-lb-shell-refined]) {
    --lb-shell-nav-mode: compact;
    --lb-shell-navigation: 64px;
  }
  .tnet21[data-lb-shell-prototype]:not([data-lb-shell-refined]) .tnet21-header .tnet21-product-form {
    grid-column: 2 / -1;
    grid-row: 2;
    max-width: 708px;
  }
}

@container lb-shell style(--lb-shell-nav-mode: compact) {
  .tnet21[data-lb-shell-prototype] .tnet21-identity-rail { top: 12px; }
  .tnet21[data-lb-shell-prototype] .tnet21-identity-rail .tnet21-rail {
    position: relative;
    width: var(--lb-shell-navigation);
    padding: 4px;
    border-radius: 9px;
  }

  .tnet21[data-lb-shell-prototype].lb-compact-open .tnet21-identity-rail .tnet21-rail {
    width: var(--lb-shell-drawer);
    background: #f2f6fb;
    box-shadow: 0 8px 22px rgb(12 36 93 / 23%);
  }

  .tnet21[data-lb-shell-prototype] .lb-compact-toggle {
    display: grid;
    place-items: center;
    width: 56px;
    height: 40px;
    margin-bottom: 4px;
    padding: 0;
    border: 1px solid var(--lb-shell-border);
    border-radius: 8px;
    background: #fff;
    color: var(--lb-shell-ink);
  }
  .tnet21[data-lb-shell-prototype] .lb-compact-toggle[aria-expanded="false"] .lb-compact-toggle-close,
  .tnet21[data-lb-shell-prototype] .lb-compact-toggle[aria-expanded="true"] .lb-compact-toggle-open {
    display: none;
  }

  .tnet21[data-lb-shell-prototype] .tnet21-rail :is(.tnet21-row-content, .lb-compact-toggle):focus-visible {
    outline-offset: -3px;
  }

  .tnet21[data-lb-shell-prototype]:not(.lb-compact-open) .tnet21-rail .tnet21-row-content {
    justify-content: center;
    padding-inline: 0;
  }

  /* Leave link labels in the accessibility tree. */
  .tnet21[data-lb-shell-prototype]:not(.lb-compact-open) .tnet21-rail .tnet21-row-content > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (width < 920px) {
  .tnet21[data-lb-shell-prototype]:not([data-lb-shell-refined]) { --lb-shell-nav-mode: drawer; }
}

@container lb-shell style(--lb-shell-nav-mode: drawer) {
  .tnet21[data-lb-shell-prototype] .tnet21-header { grid-template-columns: minmax(0, 1fr) max-content; padding-bottom: 18px; }
  .tnet21[data-lb-shell-prototype] .tnet21-header-controls { grid-column: 2; width: auto; }
  .tnet21[data-lb-shell-prototype] .tnet21-header .tnet21-product-form { grid-column: 1 / -1; grid-row: 2; }

  .tnet21[data-lb-shell-prototype] .tnet21-frame--right { grid-template-columns: minmax(0, 1fr); }
  .tnet21[data-lb-shell-prototype] .tnet21-main { grid-area: 1 / 1; }
  .tnet21[data-lb-shell-prototype] .tnet21-right { grid-area: 2 / 1; justify-self: center; }

  .tnet21[data-lb-shell-prototype] .tnet21-identity-rail { display: contents; }
  .tnet21[data-lb-shell-prototype] .tnet21-nav-toggle { display: grid; }
  .tnet21[data-lb-shell-prototype] .tnet21-rail {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    width: min(310px, calc(100vw - 36px));
    padding: 12px 16px 24px;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    background: #f2f6fb;
  }
  .tnet21[data-lb-shell-prototype].tnet21-nav-open .tnet21-rail { visibility: visible; pointer-events: auto; }
  .tnet21[data-lb-shell-prototype] .tnet21-backdrop:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgb(12 36 93 / 22%);
  }
  .tnet21[data-lb-shell-prototype] .tnet21-nav-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 0 0 12px auto;
    border: 1px solid var(--lb-shell-border);
    border-radius: 8px;
    background: #fff;
  }
}

@media (max-width: 760px) {
  .tnet21[data-lb-shell-prototype][data-tnet21-navigation-posture="basic"] .tnet21-header > .tnet21-brand { width: 150px; }
  .tnet21[data-lb-shell-prototype] .tnet21-header .tnet21-creation { display: inline-flex; flex: none; }
  .tnet21[data-lb-shell-prototype] .lb-finder {
    --lb-control-height: 44px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 76px;
  }
  .tnet21[data-lb-shell-prototype] .lb-finder .lb-finder-keyword { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
  /* Leave room for the full signed-in utility group, including a bell
     when the notification provider is available. */
  .tnet21[data-lb-shell-prototype] .tnet21-header:has(.tnet21-creation) .tnet21-header-controls { grid-column: 1 / -1; grid-row: 2; }
  .tnet21[data-lb-shell-prototype] .tnet21-header:has(.tnet21-creation) .tnet21-product-form { grid-row: 3; }
}

@media (max-width: 440px) {
  .tnet21[data-lb-shell-prototype][data-tnet21-navigation-posture="basic"] .tnet21-header > .tnet21-brand { width: 120px; }
  .tnet21[data-lb-shell-prototype] .tnet21-header-controls,
  .tnet21[data-lb-shell-prototype] .tnet21-utilities { gap: 4px; }
  .tnet21[data-lb-shell-prototype] .lb-finder {
    --lb-finder-font-size: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 54px;
    gap: 5px;
  }
}

@media (max-width: 360px) {
  .tnet21[data-lb-shell-prototype] .lb-finder {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px;
    gap: 4px;
  }
  .tnet21[data-lb-shell-prototype] .lb-finder-select { padding-inline: 5px; gap: 4px; }
  .tnet21[data-lb-shell-prototype] .lb-finder-field > svg { width: 14px; height: 14px; flex-basis: 14px; }
  .tnet21[data-lb-shell-prototype] .lb-menu-trigger { gap: 3px; }
  .tnet21[data-lb-shell-prototype] .lb-menu-trigger::after {
    width: 12px;
    flex-basis: 12px;
    background-size: 12px;
  }
  .tnet21[data-lb-shell-prototype] .lb-finder .lb-finder-submit { padding-inline: 6px; }
}
