/* Academy base styles and responsive behavior. Typography tokens follow below. */
:root {
  --ink: #183236;
  --muted: #6f7f7d;
  --teal: #167a69;
  --teal-light: #e5f1ec;
  --paper: #f6f7f3;
  --line: #dce3dd;
  --white: #fff;
  --font: Helvetica,'Helvetica Neue',Arial,sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
}
button, a, input {
  font: inherit;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0px;
}
button:disabled {
  cursor: default;
}
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: rgb(207, 143, 54) solid 3px;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.5;
}
h1, h2, h3, p {
  margin-top: 0px;
}
h1 {
  font-size: 38px;
  letter-spacing: -1.4px;
  line-height: 1.3;
  margin-bottom: 13px;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.5px;
  line-height: 1.45;
}
h3 {
  font-size: 19px;
  margin-bottom: 7px;
}
p {
  color: rgb(83, 103, 99);
}
.skip {
  position: fixed;
  top: -70px;
  z-index: 30;
  padding: 10px;
  background: white;
}
.skip:focus {
  top: 0px;
}
.sidebar {
  width: 236px;
  position: fixed;
  bottom: 0px;
  background: rgb(255, 255, 255);
  border-right: 1px solid var(--line);
  padding: 32px 24px 16px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-weight: 400;
  font-size: 15px;
  margin-top: 6px;
}
.workspace-label {
  font-size: 15px;
  color: var(--muted);
  margin: 52px 0px 14px;
}
.workspace-label span {
  display: block;
  font-size: 15px;
  letter-spacing: 1.8px;
  margin-top: 2px;
}
nav a {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 5px;
  font-size: 15px;
  margin-bottom: 7px;
}
nav a small {
  display: block;
  width: 100%;
  margin-left: 25px;
  font-size: 15px;
  color: var(--muted);
  margin-top: -8px;
}
nav a.active {
  background: var(--teal-light);
  color: var(--teal);
}
nav a > span {
  font-size: 19px;
  line-height: 1;
}
.account {
  background: transparent;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 16px 0px 0px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}
.account > span:nth-child(2) {
  margin-left: 0;
}
.avatar {
  height: 33px;
  width: 33px;
  border-radius: 50%;
  background: rgb(238, 234, 221);
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-size: 16px;
}
.account small {
  display: block;
  font-size: 15px;
  color: var(--muted);
}
.page {
  margin-left: 236px;
}
.topbar {
  height: 74px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 48px;
  background: rgb(249, 250, 247);
}
.breadcrumb {
  font-size: 15px;
  color: rgb(124, 137, 128);
}
.breadcrumb > span:first-child {
  padding: 0px 13px;
  color: rgb(187, 196, 185);
}
.breadcrumb #crumb {
  color: var(--ink);
}
.mobile-brand {
  display: none;
}
main {
  max-width: 1260px;
  margin: auto;
  padding: 46px 48px 58px;
}
.eyebrow {
  font-size: 15px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 2.2px;
  display: block;
  margin-bottom: 12px;
}
.primary {
  background: var(--teal);
  color: rgb(255, 255, 255);
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  justify-content: center;
}
.primary:hover {
  background: rgb(17, 100, 84);
}
.secondary {
  padding: 11px 18px;
  background: rgb(255, 255, 255);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  font-size: 15px;
}
.secondary:hover {
  border-color: rgb(147, 172, 156);
  background: rgb(244, 247, 242);
}
.section-head {
  margin: 36px 0px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-head h2 {
  font-size: 19px;
  margin: 0px;
}
.section-head h2 small {
  font-size: 15px;
  font-weight: 400;
  margin-left: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}
.section-head > span {
  font-size: 15px;
  color: var(--muted);
}
.topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.topic {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 20px 19px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 186px;
  text-align: left;
  color: var(--ink);
}
button.topic:hover {
  border-color: rgb(111, 167, 147);
  box-shadow: rgba(30, 67, 49, 0.035) 0px 4px 16px;
}
.topic .icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 7px;
  margin-bottom: 17px;
}
.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.topic h3 {
  font-size: 15px;
  margin: 0px 0px 2px;
}
.topic small {
  font-size: 15px;
  color: var(--muted);
}
.topic-status {
  font-size: 15px;
  margin-top: 15px;
  color: var(--teal);
}
.topic-status::before {
  content: "●";
  font-size: 7px;
  margin-right: 5px;
}
.topic .arrow {
  position: absolute;
  right: 16px;
  top: 21px;
  color: rgb(132, 166, 148);
}
.topic.upcoming {
  background: rgb(240, 242, 237);
  color: rgb(126, 137, 128);
  border-style: dashed;
}
.topic.upcoming .icon {
  color: rgb(140, 151, 142);
  background: rgb(230, 234, 227);
}
.topic.upcoming small {
  color: rgb(119, 132, 119);
}
.topic.upcoming .topic-status {
  color: rgb(124, 136, 123);
}
.topic.upcoming .topic-status::before {
  content: "○";
}
footer {
  padding: 20px 48px;
  border-top: 1px solid var(--line);
  color: rgb(131, 144, 134);
  font-size: 15px;
  letter-spacing: 1.3px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer span {
  font-size: 15px;
  letter-spacing: 0px;
}
footer span:last-child {
  margin-left: auto;
}
.map-header {
  margin-bottom: 28px;
}
.map-header p {
  font-size: 15px;
}
.lesson-wrap {
  max-width: 860px;
  margin: auto;
}
.lesson-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}
.lesson-top button {
  background: none;
  color: var(--muted);
  padding: 4px 0px;
}
.progress-track {
  display: flex;
  gap: 5px;
  margin-bottom: 27px;
}
.progress-track span {
  height: 3px;
  flex: 1 1 0%;
  background: rgb(218, 225, 215);
}
.progress-track span.seen {
  background: var(--teal);
}
.lesson-heading {
  font-size: 29px;
  margin-bottom: 8px;
}
.lesson-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 25px;
}
.lesson-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 325px;
}
.lesson-panel h2 {
  font-size: 23px;
}
.lesson-panel p {
  font-size: 15px;
  line-height: 1.95;
}
.lesson-panel .lead {
  font-size: 18px;
  color: var(--ink);
}
.callout {
  padding: 17px 20px;
  background: rgb(239, 244, 238);
  border-left: 3px solid rgb(135, 179, 150);
  font-size: 15px;
  line-height: 1.8;
  color: rgb(82, 108, 89);
  margin: 20px 0px;
}
.lesson-actions {
  display: flex;
  justify-content: space-between;
  margin: 22px 0px 14px;
}
.save-rule {
  font-size: 15px;
  text-align: center;
  color: var(--muted);
}
.roles {
  display: grid;
  gap: 12px;
}
.role {
  background: rgb(244, 247, 242);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 22px 12px;
  text-align: center;
  color: var(--ink);
}
.role[aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--teal-light);
}
.role .role-number {
  display: block;
  font: 26px var(--font);
  color: rgb(122, 165, 143);
  margin-bottom: 7px;
}
.role b {
  display: block;
  font-size: 15px;
}
.role small {
  display: block;
  font-size: 15px;
  color: var(--muted);
  margin-top: 5px;
}
.role-detail {
  margin-top: 20px;
  padding: 20px;
  background: rgb(247, 248, 244);
  border-radius: 6px;
  min-height: 106px;
}
.role-detail p {
  font-size: 15px;
  margin: 0px;
}
.diagram {
  width: 100%;
  max-height: 260px;
  display: block;
}
.sim-stage {
  position: relative;
  background: rgb(243, 247, 240);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 20px 14px;
  text-align: center;
}
.sim-stage svg {
  width: 100%;
  max-height: 235px;
}
.sim-status {
  min-height: 28px;
  margin: 16px 0px !important;
  color: var(--teal) !important;
  font-size: 15px;
}
.sim-stage.running .box-move {
  animation: 4.8s ease-in-out 0s 1 normal forwards running boxTrip;
}
.sim-stage.running .sensor-glow {
  animation: 4.8s ease 0s 1 normal forwards running sensorBlink;
}
.sim-stage.running .pusher {
  animation: 4.8s ease 0s 1 normal forwards running push;
}
@keyframes boxTrip {
  0% {
    transform: translateX(0px);
  }
  40% {
    transform: translateX(150px);
  }
  65% {
    transform: translateX(150px);
  }
  85%, 100% {
    transform: translate(150px, -75px);
    opacity: 0.35;
  }
}
@keyframes sensorBlink {
  0%, 35%, 75%, 100% {
    fill: rgb(184, 203, 192);
  }
  40%, 65% {
    fill: rgb(228, 184, 105);
  }
}
@keyframes push {
  0%, 58%, 100% {
    transform: translateY(0px);
  }
  75% {
    transform: translateY(-40px);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition: none !important;
  }
}
.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.product-tabs button {
  border: 1px solid var(--line);
  background: rgb(248, 249, 245);
  color: var(--ink);
  border-radius: 5px;
  padding: 9px 12px;
  text-align: left;
  font-size: 15px;
}
.product-tabs button[aria-pressed="true"] {
  background: var(--teal-light);
  border-color: rgb(135, 179, 150);
  color: var(--teal);
}
.product-tabs small {
  display: block;
  font-size: 15px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.product-card .product-title {
  background: rgb(241, 245, 238);
  padding: 20px 24px;
}
.product-title h3 {
  margin: 0px;
}
.product-title small {
  color: var(--teal);
}
.product-body {
  padding: 23px;
}
.product-body dl {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 13px 15px;
  font-size: 15px;
  margin: 0px;
}
.product-body dt {
  color: var(--muted);
}
.product-body dd {
  margin: 0px;
}
.quiz-count {
  font-size: 15px;
  color: var(--teal);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.choices {
  display: grid;
  gap: 10px;
}
.choice {
  border: 1px solid var(--line);
  background: rgb(251, 252, 249);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px;
  font-size: 15px;
  color: var(--ink);
}
.choice .letter {
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 15px;
  color: var(--muted);
}
.choice.selected {
  background: rgb(247, 238, 229);
  border-color: rgb(183, 141, 97);
}
.choice.correct {
  background: var(--teal-light);
  border-color: rgb(135, 179, 150);
}
.feedback {
  padding: 15px 17px;
  background: rgb(241, 244, 236);
  margin-top: 15px;
  border-radius: 5px;
  font-size: 15px;
}
.feedback p {
  font-size: 15px;
  margin: 4px 0px 0px;
}
.quiz-next {
  margin-top: 16px;
}
.vocab {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.vocab th, .vocab td {
  text-align: left;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
}
.vocab th {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.completion {
  text-align: center;
  max-width: 640px;
  margin: 30px auto;
}
.complete-mark {
  height: 74px;
  width: 74px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 36px;
  display: grid;
  place-items: center;
  margin: 0px auto 24px;
}
.completion p {
  font-size: 15px;
}
.completion .vocab {
  margin: 25px 0px;
  text-align: left;
}
.local-note {
  color: var(--muted);
  font-size: 15px;
}
.error {
  background: rgb(255, 240, 231);
  color: rgb(128, 83, 46);
  padding: 14px;
  border-radius: 5px;
  font-size: 15px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 460px;
  width: calc(100% - 32px);
  padding: 34px;
  box-shadow: rgba(21, 44, 51, 0.2) 0px 30px 100px;
  color: var(--ink);
}
dialog::backdrop {
  background: rgba(16, 42, 46, 0.4);
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin-top: 8px;
}
dialog p {
  font-size: 15px;
  line-height: 1.9;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.source-note {
  font-size: 15px;
  margin-top: 24px !important;
}
.source-note a {
  text-decoration: underline;
}
.toast {
  font-size: 15px;
  padding: 12px;
  background: rgb(234, 240, 231);
  margin-top: 16px;
  color: rgb(72, 97, 74);
}
@media (min-width: 1500px) {
  main {
    padding-top: 60px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 200px;
    padding: 28px 18px;
  }
  .page {
    margin-left: 200px;
  }
  main {
    padding: 32px;
  }
  .topbar {
    padding: 0px 32px;
  }
  .topics {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 740px) {
  .sidebar {
    display: none;
  }
  .page {
    margin-left: 0px;
  }
  .topbar {
    height: 62px;
    padding: 0px 20px;
  }
  .mobile-brand {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.8px;
  }
  .mobile-brand b {
    font-weight: 400;
    font-size: 15px;
  }
  .breadcrumb {
    display: none;
  }
  main {
    padding: 28px 20px 36px;
    min-height: calc(-165px + 100vh);
  }
  h1 {
    font-size: 29px;
    letter-spacing: -0.8px;
  }
  .eyebrow {
    font-size: 15px;
    letter-spacing: 1.8px;
  }
  .section-head {
    margin-top: 28px;
  }
  .section-head h2 {
    font-size: 17px;
  }
  .section-head h2 small {
    font-size: 15px;
    margin-left: 8px;
  }
  .section-head > span {
    font-size: 15px;
  }
  .topics {
    gap: 10px;
  }
  .topic {
    padding: 17px 14px;
    min-height: 177px;
  }
  .topic h3 {
    font-size: 15px;
  }
  .topic small {
    font-size: 15px;
  }
  footer {
    padding: 18px 20px;
    gap: 6px;
  }
  footer span:last-child {
    margin-left: 0px;
    width: 100%;
  }
  .lesson-heading {
    font-size: 24px;
  }
  .lesson-panel {
    padding: 22px 18px;
    min-height: 300px;
  }
  .lesson-panel h2 {
    font-size: 20px;
  }
  .lesson-panel p {
    font-size: 15px;
  }
  .lesson-panel .lead {
    font-size: 16px;
  }
  .roles {
    gap: 6px;
  }
  .role {
    padding: 17px 7px;
  }
  .role b {
    font-size: 15px;
  }
  .role small {
    font-size: 15px;
  }
  .role-detail {
    padding: 15px;
  }
  .product-tabs button {
    flex: 1 1 0%;
    padding: 9px 6px;
    font-size: 15px;
  }
  .product-tabs small {
    font-size: 15px;
  }
  .product-body {
    padding: 18px;
  }
  .product-body dl {
    grid-template-columns: 65px 1fr;
    gap: 12px 10px;
    font-size: 15px;
  }
  .product-title {
    padding: 16px !important;
  }
  .lesson-actions .primary, .lesson-actions .secondary {
    padding: 12px 16px;
    font-size: 15px;
  }
  .vocab {
    font-size: 15px;
  }
  .vocab th, .vocab td {
    padding: 12px 5px;
  }
  .save-rule {
    font-size: 15px;
  }
  .sim-stage {
    padding: 12px 6px;
  }
  .completion {
    margin-top: 10px;
  }
  .completion h1 {
    font-size: 28px;
  }
  dialog {
    padding: 28px;
  }
  .source-note {
    font-size: 15px;
  }
}
main:focus {
  outline: none;
}
.role, .sim-stage, .save-rule, .completion {
  text-align: left;
}
.completion .complete-mark {
  margin: 0px 0px 24px;
}
.completion .dialog-actions {
  justify-content: flex-start;
}
.lesson-heading {
  letter-spacing: -0.6px;
}
.pilot-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: rgb(255, 255, 255);
}
.pilot-number {
  color: rgb(129, 164, 142);
}
.pilot-feedback {
  text-align: left;
  margin-top: 28px;
  padding: 24px;
  background: rgb(237, 243, 235);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.pilot-feedback h2 {
  font-size: 20px;
}
.pilot-feedback ol {
  padding-left: 20px;
  font-size: 15px;
  color: rgb(83, 103, 99);
}
.pilot-feedback li {
  margin-bottom: 9px;
}
@media (max-width: 740px) {
  .section-head {
    align-items: flex-start;
    gap: 12px;
  }
  .section-head > span {
    max-width: 130px;
    text-align: right;
  }
  .product-tabs button {
    min-width: 0px;
    overflow-wrap: anywhere;
  }
  .role {
    min-width: 0px;
    overflow-wrap: anywhere;
  }
  .lesson-actions {
    gap: 12px;
  }
  .lesson-actions button {
    min-width: 0px;
  }
  .pilot-feedback {
    padding: 18px;
  }
}
.learning-layout {
  display: grid;
  grid-template-columns: minmax(0px, 1fr) 290px;
  align-items: start;
  max-width: 1600px;
  margin: auto;
}
.learning-layout main {
  width: 100%;
  min-width: 0px;
  padding: 38px 30px;
}
#notebook-panel {
  position: sticky;
  top: 22px;
  margin: 38px 20px 30px 0px;
  background: rgb(255, 255, 255);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 20px;
  max-height: calc(-45px + 100vh);
  overflow: auto;
}
#notebook-panel .section-head {
  margin: 0px 0px 10px;
}
#notebook-panel h2 {
  font-size: 20px;
}
#notebook-panel p, #notebook-panel a {
  font-size: 15px;
}
#notebook-panel textarea {
  height: 260px;
}
#close-notes {
  display: none;
}
#mobile-notes {
  display: none;
}
textarea, input {
  font-family: var(--font);
  color: var(--ink);
  border: 1px solid rgb(156, 175, 159);
  border-radius: 4px;
  background: rgb(251, 252, 250);
  padding: 12px;
  width: 100%;
  font-size: 18px;
  line-height: 1.6;
}
textarea {
  resize: vertical;
  min-height: 160px;
}
textarea:focus, input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
#note-status {
  font-size: 15px;
  color: var(--teal);
  margin: 12px 0px;
}
#note-conflict button {
  padding: 8px;
  margin: 4px;
  background: var(--teal-light);
  color: var(--ink);
}
.lesson-panel p, .lesson-panel .lead, .lesson-panel .callout, .lesson-panel .choice, .lesson-panel .feedback, .lesson-panel .feedback p, .lesson-panel .product-body dl, .lesson-panel .vocab, .lesson-panel .vocab th, .lesson-panel .product-tabs button, .lesson-panel .role b, .lesson-panel .sim-status {
  font-size: 20px;
  line-height: 1.7;
}
.lesson-panel .role small, .lesson-panel .product-tabs small {
  font-size: 16px;
}
.lesson-panel .product-body dl {
  grid-template-columns: 110px minmax(0px, 1fr);
}
.lesson-panel .local-note {
  font-size: 15px;
}
.lesson-panel .vocab th, .lesson-panel .vocab td {
  overflow-wrap: anywhere;
}
.lesson-panel .vocab {
  table-layout: fixed;
}
.lesson-panel .product-tabs {
  flex-wrap: wrap;
}
.lesson-panel .product-tabs button {
  min-width: 140px;
}
.lesson-panel {
  padding: 28px;
}
.role {
  min-width: 0px;
}
.roles {
  grid-template-columns: repeat(3, minmax(0px, 1fr));
}
.role b {
  overflow-wrap: anywhere;
}
.concept-figure {
  margin: 24px 0px;
  padding: 20px;
  background: rgb(241, 245, 238);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.concept-figure svg {
  display: block;
  width: 100%;
  max-width: 390px;
  height: auto;
  margin: 0px auto 10px;
  max-height: 230px;
}
.concept-figure svg text {
  fill: var(--ink);
  stroke: none;
  font-family: var(--font);
}
.concept-figure figcaption {
  font-size: 16px;
  line-height: 1.6;
}
.concept-figure small {
  display: block;
  font-size: 15px;
  color: var(--muted);
  margin-top: 6px;
}
.account-page, .notebook-page {
  max-width: 860px;
}
.account-page p, .notebook-page p {
  font-size: 18px;
}
.account-page form {
  max-width: 420px;
  margin: 28px 0px;
}
.account-page label {
  display: block;
  margin: 18px 0px;
}
.account-page input {
  display: block;
  margin-top: 6px;
}
#full-notes {
  min-height: 440px;
  font-size: 20px;
}
@media (max-width: 1250px) {
  .learning-layout {
    grid-template-columns: minmax(0px, 1fr);
  }
  #notebook-panel {
    display: none;
    position: fixed;
    z-index: 25;
    right: 12px;
    top: 75px;
    width: min(340px, -24px + 100vw);
    margin: 0px;
    box-shadow: rgba(24, 50, 54, 0.2) 0px 12px 60px;
  }
  body.notes-open #notebook-panel {
    display: block;
  }
  #close-notes {
    display: block;
    background: none;
    font-size: 24px;
  }
  #mobile-notes {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    background: var(--teal);
    color: rgb(255, 255, 255);
    border-radius: 5px;
    padding: 12px 18px;
    box-shadow: rgba(24, 50, 54, 0.2) 0px 3px 15px;
  }
  footer {
    padding-bottom: 80px;
  }
}
@media (min-width: 1251px) {
  .topics {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 740px) {
  .learning-layout main {
    padding: 26px 16px;
  }
  .lesson-panel {
    padding: 22px 16px;
  }
  .lesson-panel .product-body {
    padding: 16px;
  }
  .lesson-panel .product-body dl {
    display: block;
  }
  .product-body dt {
    margin-top: 16px;
    font-weight: 700;
  }
  .product-body dd {
    margin: 0px;
  }
  .roles {
    grid-template-columns: 1fr;
  }
  .role {
    padding: 12px 16px;
    text-align: left;
  }
  .lesson-panel .vocab {
    font-size: 17px;
  }
  .lesson-panel .vocab th {
    font-size: 16px;
  }
  .lesson-panel .vocab th, .lesson-panel .vocab td {
    padding: 12px 5px;
  }
  .lesson-actions {
    gap: 8px;
  }
  .lesson-actions .primary {
    max-width: 65%;
  }
  .concept-figure {
    padding: 12px;
  }
}
.module-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 16px;
}
.module-card {
  text-align: left;
  background: rgb(255, 255, 255);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}
.module-card h3 {
  font-size: 21px;
  line-height: 1.35;
  margin: 12px 0px;
}
.module-card p {
  font-size: 15px;
}
.module-card > span:last-child {
  font-size: 15px;
  color: var(--teal);
}
.module-meter {
  height: 5px;
  background: rgb(234, 240, 233);
  margin: 15px 0px;
}
.module-meter span {
  display: block;
  background: var(--teal);
  height: 100%;
}
.pilot-number {
  min-width: 40px;
  font-size: 15px;
  line-height: 1.4 !important;
}
.planned-lesson {
  padding: 20px;
  border: 1px solid var(--line);
  opacity: 0.6;
  margin-top: 10px;
}
.planned-lesson span {
  font-size: 15px;
}
.teaching-figure {
  margin: 26px 0px;
  border: 1px solid var(--line);
  background: rgb(255, 255, 255);
  border-radius: 7px;
  overflow: hidden;
}
.image-open {
  position: relative;
  display: block;
  background: rgb(247, 244, 238);
  width: 100%;
  padding: 0px;
  text-align: left;
}
.image-open img {
  display: block;
  width: 100%;
  height: auto;
}
.zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: var(--ink);
  color: rgb(255, 255, 255);
  font-size: 15px;
  padding: 7px 11px;
  border-radius: 4px;
}
.teaching-figure figcaption {
  padding: 20px;
}
.teaching-figure figcaption h3 {
  font-size: 21px;
}
.teaching-figure ol {
  padding-left: 23px;
  margin: 12px 0px;
}
.teaching-figure li {
  font-size: 18px;
  line-height: 1.7;
  margin: 10px 0px;
}
.teaching-figure small {
  display: block;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.image-details {
  padding: 0px 20px 20px;
}
.image-details summary {
  cursor: pointer;
  color: var(--teal);
  font-size: 16px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 12px;
  margin-top: 15px;
}
.detail-grid button {
  padding: 0px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: left;
  color: var(--ink);
  font-size: 15px;
}
.detail-grid button > span:last-child {
  display: block;
  padding: 9px;
}
.detail-crop {
  position: relative;
  display: block;
  overflow: hidden;
}
.detail-crop img {
  position: absolute;
  max-width: none;
  object-fit: fill;
}
.product-body .teaching-figure {
  margin-top: 0px;
}
.product-body dl {
  margin-top: 24px;
}
#image-viewer {
  width: calc(-36px + 100vw);
  max-width: 1500px;
  padding: 20px;
  border-radius: 7px;
  max-height: 95vh;
}
#image-viewer header {
  display: flex;
  gap: 15px;
  align-items: center;
}
#image-viewer h2 {
  font-size: 21px;
  margin: 0px;
}
#image-close {
  background: none;
  font-size: 28px;
  color: var(--ink);
}
.image-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 15px 0px;
}
.image-tools button {
  background: var(--teal-light);
  color: var(--ink);
  border-radius: 4px;
  padding: 8px 15px;
}
.image-scroll {
  max-height: 65vh;
  overflow: auto;
  background: rgb(247, 244, 238);
  touch-action: pan-x pan-y pinch-zoom;
}
.image-scroll img {
  max-width: none;
  height: auto;
  display: block;
}
#image-description {
  font-size: 16px;
  line-height: 1.6;
  margin: 16px 0px 0px;
}
@media (max-width: 740px) {
  .module-cards {
    grid-template-columns: 1fr;
  }
  .module-card {
    padding: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .teaching-figure figcaption {
    padding: 16px;
  }
  .teaching-figure li {
    font-size: 18px;
  }
  #image-viewer {
    padding: 12px;
    width: calc(-16px + 100vw);
  }
  #image-viewer h2 {
    font-size: 18px;
  }
  .image-scroll {
    max-height: 60vh;
  }
  .image-tools {
    gap: 8px;
    font-size: 15px;
  }
  .image-tools button {
    padding: 8px 12px;
  }
}
.cycle-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0px;
}
.cycle-steps span {
  padding: 12px;
  border: 1px solid var(--line);
  font-size: 16px;
}
.cycle-steps .active {
  background: rgb(216, 234, 216);
  border-color: rgb(52, 90, 71);
  font-weight: bold;
}
.sim-stage .teaching-figure {
  margin: 0px;
}
.teaching-figure small a {
  text-decoration: underline;
}
.learning-module {
  margin: 30px 0px;
}
.learning-module h3 {
  font-size: 21px;
  margin: 0px;
}
.learning-module .section-head {
  align-items: baseline;
  gap: 12px;
}
.lesson-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.lesson-row-main {
  flex: 1 1 0%;
  min-width: 0px;
}
.lesson-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lesson-link {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: none;
}
.lesson-link:hover {
  text-decoration: underline;
}
.lesson-row-main > small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
}
.lesson-state {
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
}
.lesson-state.is-complete {
  color: var(--teal);
  font-weight: bold;
}
.lesson-star {
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  min-width: 44px;
  min-height: 44px;
  padding: 3px;
  border: 1px solid transparent;
  line-height: 1;
}
.lesson-star.is-starred {
  color: var(--teal);
}
.lesson-star:disabled {
  opacity: 0.5;
  cursor: wait;
}
.star-control {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  flex-shrink: 1;
  min-width: 44px;
  max-width: 180px;
}
.star-error {
  font-size: 15px;
  color: rgb(154, 54, 43);
  white-space: normal;
}
.lesson-bookmark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0px;
  font-size: 16px;
}
.lesson-bookmark .lesson-state {
  margin-left: auto;
}
@media (max-width: 700px) {
  .lesson-row {
    padding: 16px 6px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .lesson-row .pilot-number {
    width: 42px;
    font-size: 15px;
    flex-shrink: 0;
  }
  .lesson-row-main {
    flex-basis: calc(100% - 60px);
  }
  .lesson-row > .lesson-state {
    margin-left: 52px;
  }
  .lesson-title-line {
    align-items: flex-start;
  }
  .lesson-link {
    font-size: 18px;
  }
  .learning-module .section-head {
    flex-wrap: wrap;
  }
  .lesson-bookmark {
    flex-wrap: wrap;
  }
  .lesson-bookmark .lesson-state {
    margin-left: 0px;
  }
}
:root {
  --star-orange: #F37021;
  --star-orange-light: #fff0e4;
}
.lesson-star, .lesson-star.is-starred {
  color: var(--star-orange);
}
.lesson-star:hover, .lesson-star:focus-visible {
  background: var(--star-orange-light);
  border-color: var(--star-orange);
  outline-color: var(--star-orange);
}
#member-menu {
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  min-height: 0px;
}
#member-menu .account {
  width: 100%;
}
#sidebar-login {
  margin-top: 38px;
}
#sign-in-panel h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
}
#sign-in-panel label {
  display: block;
  font-size: 15px;
  margin: 16px 0px;
}
#sign-in-panel input {
  display: block;
  width: 100%;
  min-width: 0px;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
}
#sign-in-panel .primary {
  width: 100%;
}
.login-help {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 18px;
}
#signin-error {
  font-size: 15px;
  color: rgb(154, 54, 43);
  margin-top: 12px;
}
body:not(.signed-in) #member-menu, body:not(.signed-in) #notebook-panel, body:not(.signed-in) #mobile-notes {
  display: none;
}
body:not(.signed-in) .learning-layout {
  grid-template-columns: minmax(0px, 1fr);
}
body:not(.signed-in) .topbar {
  display: none;
}
.auth-loading #member-menu, .auth-loading #sidebar-login, .auth-loading #notebook-panel, .auth-loading #mobile-notes {
  display: none !important;
}
.guest-intro {
  max-width: 760px;
  margin-bottom: 44px;
}
.guest-intro h1 {
  font-size: 42px;
  line-height: 1.25;
}
.guest-intro p {
  font-size: 19px;
  max-width: 700px;
}
.topic-exploration {
  margin-bottom: 30px;
}
.topic-exploration .topics {
  grid-template-columns: repeat(2, minmax(0px, 1fr));
}
.available-topic {
  grid-column: 1 / -1;
  padding: 28px;
  gap: 8px;
}
.available-topic h3 {
  font-size: 25px;
}
.available-topic p {
  font-size: 17px;
  max-width: 720px;
}
.available-topic .primary {
  align-self: flex-start;
}
.topic-exploration .section-head {
  gap: 16px;
  flex-wrap: wrap;
}
.learning-path-head {
  margin-top: 0px;
}
.learning-path-head h1 {
  font-size: 29px;
  margin: 0px;
}
.learning-home .topbar {
  display: flex;
}
#menu-toggle, #nav-scrim {
  display: none;
}
#mobile-login {
  margin-top: 38px;
}
body.signed-in #sidebar-login {
  display: none;
}
.learning-home main {
  padding-top: 32px;
}
#sign-in-panel {
  scroll-margin-top: 85px;
}
@media (max-width: 900px) {
  .page {
    margin-left: 0px;
  }
  .topbar {
    height: 62px;
    padding: 0px 20px;
    justify-content: flex-start;
    gap: 14px;
  }
  .topbar .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: block;
    font-size: 15px;
    letter-spacing: 1.8px;
  }
  body.signed-in .topbar {
    display: flex;
    position: sticky;
    top: 0px;
    z-index: 12;
    background: var(--paper);
  }
  body:not(.signed-in) .topbar {
    display: flex;
  }
  .sidebar {
    display: none;
  }
  .sidebar #sidebar-login {
    display: none;
  }
  body.signed-in.nav-open .sidebar {
    display: flex;
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    width: 260px;
    z-index: 40;
    overflow: auto;
    box-shadow: rgba(24, 50, 54, 0.267) 0px 0px 40px;
  }
  body.signed-in #menu-toggle {
    display: block;
    background: transparent;
    color: var(--ink);
    font-size: 24px;
    min-width: 44px;
    min-height: 44px;
    padding: 0px;
  }
  body.signed-in.nav-open #nav-scrim {
    display: block;
    position: fixed;
    inset: 0px;
    background: rgba(24, 50, 54, 0.4);
    z-index: 35;
    width: 100%;
    height: 100%;
  }
  body.nav-open {
    overflow: hidden;
  }
  .guest-intro h1 {
    font-size: 33px;
  }
  .guest-intro p {
    font-size: 18px;
  }
  .topic-exploration .topics {
    grid-template-columns: 1fr;
  }
  .available-topic {
    grid-column: auto;
    padding: 22px;
  }
  .learning-path-head {
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
  }
  .learning-path-head h1 {
    font-size: 27px;
  }
  #mobile-login #sign-in-panel {
    padding: 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 7px;
  }
  .guest-intro {
    margin-bottom: 28px;
  }
  body:not(.signed-in) main {
    padding-top: 26px;
  }
}
.sidebar {
  top: 0px;
}
.academy-mark {
  display: block;
  width: 52px;
  height: 44px;
  flex-shrink: 0;
}
.brand {
  gap: 12px;
}
.brand small {
  letter-spacing: 3px;
}
.nav-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
nav a {
  gap: 12px;
  min-height: 46px;
}
#member-menu .account {
  margin-top: auto;
}
.account-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;
}
main {
  min-height: calc(-134px + 100vh);
}
.learning-home main {
  min-height: calc(-60px + 100vh);
}
#mobile-notes {
  align-items: center;
  gap: 8px;
}
#menu-toggle .nav-icon {
  width: 22px;
  height: 22px;
  margin: auto;
}
@media (max-width: 900px) {
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    letter-spacing: 1.4px;
  }
  .mobile-brand .academy-mark {
    width: 34px;
    height: 27px;
  }
  .mobile-brand > span {
    white-space: nowrap;
  }
  .mobile-brand b {
    font-weight: 400;
  }
  #mobile-notes {
    display: flex;
  }
  body:not(.signed-in) #mobile-notes {
    display: none;
  }
  .learning-home main {
    min-height: calc(-122px + 100vh);
  }
}
@media (max-width: 1250px) {
  body.signed-in #mobile-notes {
    display: flex;
  }
}
/* Shared readable typography and moderate density; no mobile microtype. */
:root {
  --muted: #586b68;
  --text-ui: 16px;
  --text-support: 15px;
  --text-brand: 14px;
  --line-ui: 1.5;
  --space-section: 24px;
}
body { font-size: var(--text-ui); line-height: var(--line-ui); }
h1, h2, h3 { font-weight: 700; }
p { margin-bottom: 16px; }
button, input, textarea { font-family: var(--font); }
button { font-size: var(--text-ui); line-height: 1.5; }
button:not(.image-open):not([data-image]), nav a { min-height: 44px; }
.sidebar { width: 236px; padding: 24px 20px 16px; }
.page { margin-left: 236px; }
.brand small { font-size: var(--text-brand); line-height: 1; letter-spacing: 2px; margin-top: 0; }
.workspace-label { font-size: var(--text-support); line-height: 1.4; margin: 24px 0 10px; }
.workspace-label span { font-size: var(--text-support); letter-spacing: 1px; margin-top: 3px; }
nav a { font-size: var(--text-ui); font-weight: 400; line-height: 1.4; gap: 10px; padding: 10px 12px; margin-bottom: 3px; }
nav a.active { font-weight: 700; }
.account { font-size: var(--text-ui); line-height: 1.4; padding-top: 12px; }
.account > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.account small { font-size: var(--text-support); line-height: 1.4; margin-top: 3px; }
.topbar { height: 60px; padding: 0 24px; }
.breadcrumb { font-size: var(--text-support); color: var(--muted); line-height: 1.4; }
.breadcrumb > span:first-child { padding: 0 10px; }
.learning-layout main { padding: 30px 24px; }
.learning-home main { padding-top: 28px; }
.section-head { margin: 28px 0 14px; gap: 12px; }
.section-head > span, .section-head h2 small { font-size: var(--text-support); font-weight: 400; line-height: 1.5; max-width: none; }
.eyebrow { font-size: var(--text-support); font-weight: 400; line-height: 1.4; letter-spacing: .08em; margin-bottom: 10px; }
.primary, .secondary, .lesson-actions .primary, .lesson-actions .secondary { font-size: var(--text-ui); line-height: 1.5; padding: 10px 16px; }
.primary { font-weight: 700; }
.secondary { font-weight: 400; }
.learning-module { margin: var(--space-section) 0; }
.learning-path-head { margin-top: 0; }
.lesson-row { padding: 16px; gap: 14px; }
.lesson-row-main > small, .lesson-state, .pilot-number, .star-error { font-size: var(--text-support); line-height: 1.5; font-weight: 400; }
.pilot-number { color: var(--muted); }
.lesson-state.is-complete { font-weight: 400; }
.lesson-row-main > small { margin-top: 4px; }
.module-cards { gap: 14px; }
.module-card { padding: 20px; }
.module-card h3 { margin: 10px 0; }
.module-card p, .module-card > span:last-child { font-size: var(--text-support); line-height: 1.5; }
.module-meter { margin: 12px 0; }
.map-header { margin-bottom: 24px; }
.map-header p { font-size: var(--text-ui); line-height: 1.5; }
.guest-intro { margin-bottom: 32px; }
.topic-exploration { margin-bottom: 24px; }
.available-topic { padding: 24px; }
.topic { padding: 16px; min-height: 0; }
.topic .icon { margin-bottom: 12px; }
.topic small, .topic-status { font-size: var(--text-support); line-height: 1.5; }
.topic.upcoming { opacity: 1; color: var(--muted); }
.topic.upcoming small, .topic.upcoming .topic-status { color: var(--muted); }
.topic.upcoming .icon { opacity: .65; }
#sidebar-login { margin-top: 30px; }
#sign-in-panel label { font-size: var(--text-ui); line-height: 1.5; margin: 14px 0; }
.login-help, #signin-error { font-size: var(--text-support); line-height: 1.5; }
.login-help { margin-top: 16px; }
#notebook-panel { top: 18px; margin: 30px 16px 24px 0; padding: 16px; }
#notebook-panel p, #notebook-panel a { font-size: var(--text-ui); line-height: 1.5; }
#notebook-panel textarea { height: 220px; }
#notebook-panel #note-status { font-size: var(--text-support); line-height: 1.5; margin: 10px 0; }
#note-conflict button { font-size: var(--text-ui); }
.account-actions { margin-top: 20px; }
.lesson-top { flex-wrap: wrap; align-items: center; margin-bottom: 16px; font-size: var(--text-support); line-height: 1.5; }
.lesson-top button { font-size: var(--text-ui); }
.progress-track { margin-bottom: 20px; }
.lesson-subtitle { font-size: var(--text-support); line-height: 1.5; margin-bottom: 20px; }
.lesson-panel { padding: 24px; }
.lesson-panel p, .lesson-panel .lead, .lesson-panel .callout, .lesson-panel .choice,
.lesson-panel .feedback, .lesson-panel .feedback p, .lesson-panel .product-body dl,
.lesson-panel .product-tabs button, .lesson-panel .role b, .lesson-panel .sim-status {
  font-size: 20px;
  line-height: 1.7;
}
.lesson-panel .local-note, .local-note, .source-note, .save-rule, .quiz-count { font-size: var(--text-support); line-height: 1.5; }
.callout { padding: 14px 16px; margin: 16px 0; }
.role-detail { margin-top: 16px; padding: 16px; }
.product-card .product-title { padding: 16px 20px; }
.product-body { padding: 20px; }
.lesson-actions { margin: 18px 0 12px; gap: 12px; flex-wrap: wrap; }
.teaching-figure { margin: 20px 0; }
.teaching-figure figcaption { padding: 16px; }
.teaching-figure li { line-height: 1.5; margin: 8px 0; }
.teaching-figure small { font-size: var(--text-support); line-height: 1.5; }
.image-details { padding: 0 16px 16px; }
.zoom-hint, .detail-grid button { font-size: var(--text-support); line-height: 1.5; }
.detail-grid { margin-top: 12px; }
.image-tools { gap: 10px; }
.image-tools button { font-size: var(--text-ui); }
#image-description { line-height: 1.5; }
.vocab th { font-weight: 700; }
.completion .local-note, .pilot-feedback ol { font-size: var(--text-support); line-height: 1.5; }
dialog { padding: 28px; }
dialog p { font-size: var(--text-ui); line-height: 1.5; }
footer, footer span { font-size: var(--text-brand); line-height: 1.5; color: var(--muted); }
footer { padding: 16px 24px; gap: 12px; letter-spacing: .06em; }
@media (max-width: 1250px) {
  #notebook-panel { margin: 0; top: 68px; }
  #mobile-notes { bottom: 64px; }
}
@media (max-width: 900px) {
  .page { margin-left: 0; }
  .topbar { height: 56px; padding: 0 16px; gap: 10px; }
  .mobile-brand { font-size: var(--text-ui); }
  .mobile-brand b { font-size: var(--text-brand); }
  .learning-layout main, body:not(.signed-in) main { padding: 24px 16px; }
  .learning-home main { padding-top: 24px; }
  #mobile-login { margin-top: 30px; }
  #mobile-login #sign-in-panel { padding: 20px; }
  .available-topic { padding: 20px; }
  .guest-intro { margin-bottom: 24px; }
}
@media (max-width: 740px) {
  .lesson-row { padding: 16px 8px; gap: 10px; }
  .lesson-row .pilot-number { font-size: var(--text-support); }
  .section-head > span { max-width: none; text-align: left; }
  .lesson-panel { padding: 22px 16px; }
  .lesson-panel .product-body { padding: 16px; }
  .lesson-actions .primary { max-width: none; flex: 1 1 180px; }
  .lesson-actions .secondary { flex: 0 1 auto; }
  .lesson-actions button { white-space: normal; }
  #image-viewer { padding: 12px; }
  .image-tools { gap: 8px; flex-wrap: wrap; }
  footer { padding-left: 16px; padding-right: 16px; }
}
/* Small semantic elements must not fall back to the browser's microtype. */
small { font-size: var(--text-support); line-height: 1.5; }
.brand small, footer, footer span, .mobile-brand b { font-size: var(--text-brand); }
.role .role-number { color: var(--muted); }

/* Consistent page location and a quiet, compact footer. */
.workspace-label { margin-top: 18px; }
.workspace-label span { margin-top: 0; }
footer { justify-content: center; padding: 10px 24px; gap: 0; text-align: center; }
.learning-home main { min-height: auto; }
@media (max-width: 740px) {
  footer { padding: 10px 16px; }
}

/* One footer height on short and long pages; fill spare space above it. */
.page { display: flex; flex-direction: column; min-height: 100vh; }
.topbar { flex-shrink: 0; }
.learning-layout { flex: 1; width: 100%; margin: 0 auto; }
.learning-layout main, .learning-home main { min-height: 0; margin: 0 auto; }
footer { height: 55px; min-height: 55px; flex: 0 0 55px; padding: 0 16px; align-items: center; justify-content: center; }

/* Compact two-line wordmark, centered against the book. */
.brand { align-items: center; line-height: 1; }
.brand > span { display: flex; flex-direction: column; gap: 1px; }

/* Fixed end-of-content spacing; account keeps its intentionally quiet canvas. */
.account small { white-space: nowrap; overflow-wrap: normal; }
.account .avatar { flex-shrink: 0; }
.page { min-height: 0; }
.learning-layout { flex: 0 0 auto; padding-bottom: 44px; }
.learning-layout main { padding-bottom: 0; }
.learning-layout main > :last-child,
.learning-layout main > :last-child > :last-child { margin-bottom: 0; }
#notebook-panel { margin-bottom: 0; }
#mobile-login:empty { display: none; }
.account-view .page { min-height: 100vh; }
.account-view .learning-layout { flex: 1; }
