/* Native report shell. The mount owns this marker for its lifetime. */
#main#main#main [data-clh1-shell] > .welcome,
#main#main#main [data-clh1-shell] > .learning-tabs {
  display: none !important;
}
#main#main#main .report-desk6[data-clh1-shell],
#main#main#main [data-clh1-shell] > .learning-pane[data-report-tab6="overview"] {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: none !important;
  overflow: visible !important;
  gap: 0 !important;
}
#main#main#main [data-clh1-shell] [data-learning-history-host] {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  color-scheme: light;
}
/* Recreate the supplied overview's local paper surface in the site's dark theme. */
html[data-theme="dark"] #main#main#main [data-clh1-shell] {
  color: #101322;
  background: #f7f7f4;
}
@media screen and (min-width: 900px) {
  /* A narrow content column can stack even while the desktop navigation is open. */
  #main [data-clh1-shell] [data-learning-history-host] {
    overflow-x: hidden;
    overflow-y: auto;
  }
  body[data-view="report"] .shell[data-clh1-layout] {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
  }
  body[data-view="report"] .shell[data-clh1-layout] > #main#main#main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    flex: 1 1 0% !important;
    min-height: 0 !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  body[data-view="report"] .shell[data-clh1-layout] > #main#main#main > .page {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
@media screen and (max-width: 899px) {
  body[data-view="report"] .shell[data-clh1-layout] {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
  }
  body[data-view="report"] .shell[data-clh1-layout] > #main#main#main {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    height: auto !important;
    overflow-y: auto !important;
  }
  body[data-view="report"] .shell[data-clh1-layout] > #main#main#main > .page {
    flex: 0 0 auto !important;
    height: auto !important;
    max-height: none !important;
  }
  #main#main#main .report-desk6[data-clh1-shell],
  #main#main#main [data-clh1-shell] > .learning-pane[data-report-tab6="overview"],
  #main#main#main [data-clh1-shell] [data-learning-history-host] {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    flex: none !important;
  }
}

/* A square remains usable in embedded browsers that predate aspect-ratio. */
@supports not (aspect-ratio: 1) {
  #main [data-learning-history-host] .clh1-day { padding: 0; border: 0; }
  #main [data-learning-history-host] .clh1-day::before { content: ""; display: block; padding-top: 100%; }
}

/* Shared student report heading and controls, outside each panel's zoom and animation. */
@media screen {
  body[data-view="report"] .shell[data-clh2-frame] {
    display:flex !important; flex-direction:column !important;
    height:100vh !important; height:100dvh !important; min-height:0 !important;
  }
  body[data-view="report"] .shell[data-clh2-frame] > #main#main#main {
    flex:1 1 0% !important; height:auto !important; min-height:0 !important;
    overflow-x:hidden !important; overflow-y:auto !important; scrollbar-gutter:stable;
  }
  #main#main#main .report-desk6[data-clh2-tabs] {
    display:grid !important;
    grid-template-columns:max-content minmax(0,1fr) !important;
    grid-template-rows: auto 44px minmax(0,1fr) !important;
    justify-content:stretch !important; align-content:stretch !important;
    min-width:0 !important; min-height:0 !important; width:100% !important;
    padding:0 !important; margin:0 !important; column-gap:10px !important; row-gap:12px !important;
    position:relative;
  }
  #main#main#main .report-desk6[data-clh2-tabs] > .welcome {
    display:flex !important; align-items:center !important; justify-content:space-between !important;
    flex-wrap:nowrap !important; grid-area:1 / 1 / 2 / -1 !important; gap:8px !important;
    position:static !important; margin:0 !important; padding:0 !important;
    height:60px !important; min-height:60px !important; box-sizing:border-box !important;
    background:transparent !important; border:0 !important; box-shadow:none !important;
    animation:none !important; transform:none !important;
  }
  #main#main#main [data-clh2-tabs] > .welcome h1 {
    font-size:26px !important; line-height:35px !important; margin:0 !important;
  }
  #main#main#main [data-clh2-tabs] > .welcome p {
    line-height:20px !important; font-size:13.5px !important; margin:4px 0 0 !important;
  }
  #main#main#main [data-clh2-tabs] > .welcome [data-go="insights"] {
    display:inline-flex !important; position:static !important; flex:none;
    align-items:center; justify-content:center; min-height:40px; margin:0 !important;
  }
  #main#main#main .report-desk6[data-clh2-tabs] > .learning-tabs {
    --clh-tab-bg:#edeff3; --clh-tab-text:#46516a; --clh-tab-selected:#2f64ed; --clh-tab-on:#fff;
    grid-area:2 / 1 !important; justify-self:start !important; align-self:center !important;
    display:grid !important; grid-template-columns:84px 108px 108px !important;
    box-sizing:border-box !important; width:max-content !important; max-width:100% !important;
    height:44px !important; min-height:44px !important; gap:0 !important; padding:4px !important;
    margin:0 !important; border:0 !important; border-radius:14px !important; position:static !important;
    background:var(--clh-tab-bg) !important; box-shadow:none !important; overflow:visible !important;
    animation:none !important; transform:none !important;
  }
  #main#main#main [data-clh2-tabs] > .learning-tabs > button[data-learning-tab] {
    box-sizing:border-box !important; width:100% !important; min-width:0 !important;
    height:36px !important; min-height:36px !important; display:flex !important;
    justify-content:center !important; align-items:center !important; gap:5px !important;
    padding:0 3px !important; margin:0 !important; border:0 !important; border-radius:10px !important;
    font-family:inherit !important; font-size:13.5px !important; font-weight:750 !important;
    letter-spacing:normal !important; line-height:1.3 !important; white-space:nowrap !important;
    color:var(--clh-tab-text) !important; background:transparent !important; box-shadow:none !important;
    transform:none !important; animation:none !important;
  }
  #main#main#main [data-clh2-tabs] > .learning-tabs > button[data-learning-tab][aria-selected="true"] {
    color:var(--clh-tab-on) !important; background:var(--clh-tab-selected) !important;
    box-shadow:0 3px 7px -5px var(--clh-tab-selected) !important;
  }
  #main#main#main [data-clh2-tabs] > .learning-tabs > button::after,
  #main#main#main [data-clh2-tabs] > .learning-tabs::after {display:none !important}
  #main#main#main [data-clh2-tabs] > .learning-tabs button:focus-visible {outline:2px solid var(--clh-tab-selected) !important;outline-offset:2px}
  #main [data-clh2-tabs] [data-clh2-count] {
    display:inline-flex; justify-content:center; align-items:center; box-sizing:border-box;
    min-width:17px; height:17px; padding:0 4px; border-radius:12px;
    background:#c62e40; color:#fff; font:700 11px/1 sans-serif;
  }
  #main [data-clh2-tabs] [data-clh2-count][hidden], #main [data-clh2-tabs] > .clh2-last[hidden] {display:none !important}
  #main#main#main [data-clh2-tabs] > .clh2-last {
    grid-area:2 / 2 !important; display:block; text-align:right; align-self:center;
    min-width:0; font-size:12.5px; line-height:18px; color:inherit;
  }
  #main#main#main .report-desk6[data-clh2-tabs] > .learning-pane {
    grid-area:3 / 1 / 4 / -1 !important; align-self:stretch !important; width:100% !important;
    min-width:0 !important; min-height:0 !important; padding:0 !important; margin:0 !important;
  }
  #main#main#main [data-clh2-tabs] .clh1 > .clh1-ph,
  #main#main#main [data-clh2-tabs] .clh1 > .clh1-bar,
  #main#main#main [data-clh2-tabs] .cogo-parent-report-r1 > .ph,
  #main#main#main [data-clh2-tabs] .cogo-parent-report-r1 .bar > .ptabs {display:none !important}
  #main [data-clh2-tabs] .clh1 {grid-template-rows:auto minmax(0,1fr)}
  #main#main#main [data-clh2-tabs] .rp.cogo-parent-report-r1 {
    grid-template-rows:auto minmax(0,1fr); padding:0 !important;
  }
  #main#main#main [data-clh2-tabs] .cogo-parent-report-r1 > .bar {justify-content:flex-end}
  html[data-theme="dark"] #main#main#main .report-desk6[data-clh2-tabs] > .learning-tabs {
    --clh-tab-bg:#263149; --clh-tab-text:#d0d8e9; --clh-tab-selected:#4863c9; --clh-tab-on:#fff;
  }
}
@media screen and (min-width:900px) {
  body[data-view="report"] .shell[data-clh2-frame] > #main#main#main {
    display:grid !important; grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:minmax(0,1fr) auto !important;
  }
  body[data-view="report"] .shell[data-clh2-frame] > #main#main#main > .page {
    display:flex !important; flex-direction:column !important; height:100% !important;
    min-height:0 !important; max-height:none !important; overflow:visible !important;
  }
  #main#main#main .report-desk6[data-clh2-tabs] {height:100% !important}
  #main#main#main .report-desk6[data-clh2-tabs] > .learning-pane {
    height:100% !important; overflow:auto !important;
  }
}
@media screen and (max-width:899px) {
  body[data-view="report"] .shell[data-clh2-frame] > #main#main#main > .page {
    display:block !important; height:auto !important; min-height:0 !important; max-height:none !important;
  }
  #main#main#main .report-desk6[data-clh2-tabs] {
    grid-template-columns:minmax(0,1fr) !important; grid-template-rows:auto 44px auto auto !important;
    height:auto !important; gap:8px !important;
  }
  #main#main#main .report-desk6[data-clh2-tabs] > .learning-tabs {
    width:100% !important; grid-template-columns:1fr 1.18fr 1.2fr !important;
  }
  #main#main#main [data-clh2-tabs] > .welcome h1 {font-size:22px !important}
  #main#main#main [data-clh2-tabs] > .welcome p {font-size:12px !important}
  #main#main#main [data-clh2-tabs] > .welcome [data-go="insights"] {max-width:41%; font-size:12px; white-space:normal}
  #main#main#main [data-clh2-tabs] > .clh2-last {grid-area:3 / 1 !important}
  #main#main#main .report-desk6[data-clh2-tabs] > .learning-pane {
    grid-area:4 / 1 !important; height:auto !important; overflow:visible !important;
  }
}
