.getting-started-home {
  display: grid;
  gap: 1.1rem;
}

.getting-started-home[hidden],
.zb-ase[hidden] {
  display: none !important;
}

.zb-ase {
  --ase-purple: #b474ff;
  --ase-green: #8ee523;
  --ase-cyan: #16d9ea;
  --ase-orange: #ff980f;
  --ase-panel: rgba(9, 17, 31, 0.86);
  --ase-text: rgba(245, 248, 255, 0.94);
  --ase-muted: rgba(213, 222, 238, 0.76);
  background:
    radial-gradient(circle at 8% 6%, rgba(180, 116, 255, 0.14), transparent 25rem),
    radial-gradient(circle at 78% 24%, rgba(22, 217, 234, 0.13), transparent 30rem),
    linear-gradient(145deg, #030711 0%, #07101f 48%, #02060f 100%);
  border: 1px solid rgba(196, 211, 230, 0.14);
  border-radius: 22px;
  color: var(--ase-text);
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: clamp(0.85rem, 1.6vw, 1.35rem);
}

.zb-ase * {
  box-sizing: border-box;
}

.zb-ase-topbar {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.zb-ase-tip {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(70, 38, 130, 0.92));
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  padding: 0.44rem 0.72rem;
  text-transform: uppercase;
}

.zb-ase h2,
.zb-ase h3,
.zb-ase h4,
.zb-ase p {
  margin: 0;
}

.zb-ase h2 {
  color: #fff;
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  letter-spacing: 0;
  line-height: 1.05;
}

.zb-ase-topbar p {
  color: rgba(238, 243, 252, 0.84);
  line-height: 1.45;
  margin-top: 0.55rem;
  max-width: 52rem;
}

.zb-ase-close {
  background: rgba(8, 13, 24, 0.72) !important;
  border-color: rgba(226, 232, 240, 0.22) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  flex: 0 0 auto;
}

.zb-ase-diagram {
  display: grid;
  gap: clamp(2.7rem, 5vw, 4.2rem);
  grid-template-columns: minmax(25rem, 1.03fr) minmax(25rem, 0.97fr);
  position: relative;
}

.zb-ase-connectors {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.zb-ase-arrow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}

.zb-ase-arrow.is-purple {
  stroke: var(--ase-purple);
}

.zb-ase-arrow.is-green {
  stroke: var(--ase-green);
}

.zb-ase-arrow.is-cyan {
  stroke: var(--ase-cyan);
}

.zb-ase-arrow.is-orange {
  stroke: var(--ase-orange);
}

.zb-ase-plan,
.zb-ase-explain {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.zb-ase-plan {
  padding-left: 5.8rem;
}

.zb-ase-section-heading {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  min-height: 2rem;
}

.zb-ase-section-heading span {
  border: 2px solid currentColor;
  border-radius: 6px;
  display: inline-flex;
  height: 1.45rem;
  width: 1.45rem;
}

.zb-ase-section-heading h3 {
  color: currentColor;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.zb-ase-section-heading b {
  color: rgba(209, 166, 255, 0.95);
  font-size: 0.9rem;
  margin-left: auto;
}

.zb-ase-section-heading.is-purple {
  color: var(--ase-purple);
}

.zb-ase-section-heading.is-cyan {
  color: var(--ase-cyan);
}

.zb-ase-plan-rail {
  bottom: 4.3rem;
  display: grid;
  grid-template-rows: 1.18fr 1.18fr 0.55fr 0.55fr 0.7fr 0.72fr;
  left: 0.1rem;
  position: absolute;
  row-gap: 0.55rem;
  top: 2.95rem;
  width: 4.4rem;
}

.zb-ase-plan-rail::before {
  background: linear-gradient(var(--ase-purple), var(--ase-purple) 42%, var(--ase-green) 60%, var(--ase-cyan) 76%, var(--ase-orange));
  content: "";
  left: 50%;
  position: absolute;
  top: 1.6rem;
  bottom: 1.4rem;
  width: 2px;
}

.zb-ase-plan-rail span {
  align-self: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid currentColor;
  border-radius: 8px;
  color: var(--ase-purple);
  display: grid;
  font-size: 0.8rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1.28;
  min-height: 2.7rem;
  padding: 0.45rem 0.35rem;
  place-items: center;
  position: relative;
  text-align: center;
}

.zb-ase-plan-rail span::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 0.7rem;
  position: absolute;
  right: -1.15rem;
  width: 0.7rem;
}

.zb-ase-plan-rail span:nth-child(3),
.zb-ase-plan-rail span:nth-child(4) {
  color: var(--ase-green);
}

.zb-ase-plan-rail span:nth-child(5) {
  color: var(--ase-cyan);
}

.zb-ase-plan-rail span:nth-child(6) {
  color: var(--ase-orange);
}

.zb-ase-plan-card,
.zb-ase-explain-card,
.zb-ase-time-card,
.zb-ase-toolbox,
.zb-ase-rule,
.zb-ase-remember {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.08), transparent 12rem),
    var(--ase-panel);
  border: 1px solid currentColor;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 44px rgba(0, 0, 0, 0.22);
}

.zb-ase-plan-card {
  color: var(--ase-purple);
  display: grid;
  gap: 0.68rem;
  padding: 0.84rem 1rem 0;
}

.zb-ase-plan-card.is-green {
  color: var(--ase-green);
  min-height: 5.2rem;
  padding-bottom: 0.85rem;
}

.zb-ase-plan-card.is-cyan {
  color: var(--ase-cyan);
  min-height: 5.4rem;
  padding-bottom: 0.85rem;
}

.zb-ase-plan-card.is-orange {
  color: var(--ase-orange);
  min-height: 5.4rem;
  padding-bottom: 0.85rem;
}

.zb-ase-card-title {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  justify-content: space-between;
}

.zb-ase-card-title span {
  color: currentColor;
  font-size: 0.98rem;
  font-weight: 950;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.zb-ase-card-title b {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  color: var(--ase-text);
  flex: 0 0 auto;
  font-size: 0.78rem;
  padding: 0.24rem 0.42rem;
}

.zb-ase-plan-card ol {
  color: var(--ase-text);
  counter-reset: ase-item;
  display: grid;
  gap: 0.48rem;
  list-style: none;
  margin: 0;
  padding: 0 0 0.15rem;
}

.zb-ase-plan-card li {
  align-items: start;
  counter-increment: ase-item;
  display: grid;
  gap: 0.58rem;
  grid-template-columns: 1.35rem minmax(0, 1fr);
}

.zb-ase-plan-card li::before {
  background: currentColor;
  border-radius: 999px;
  color: #fff;
  content: counter(ase-item);
  display: inline-grid;
  font-size: 0.72rem;
  font-weight: 900;
  height: 1.1rem;
  place-items: center;
  width: 1.1rem;
}

.zb-ase-plan-card li span {
  color: rgba(246, 249, 255, 0.95);
  font-size: 0.86rem;
}

.zb-ase-plan-card li small {
  color: rgba(213, 222, 238, 0.66);
  display: block;
  font-size: 0.78rem;
  line-height: 1.25;
}

.zb-ase-plan-card li b {
  color: rgba(246, 249, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
}

.zb-ase-plan-card p {
  border-top: 1px solid rgba(196, 211, 230, 0.18);
  color: var(--ase-text);
  font-size: 0.9rem;
  line-height: 1.45;
  padding-top: 0.6rem;
}

.zb-ase-plan-card > p strong {
  color: currentColor;
}

.zb-ase-explain-card {
  color: var(--ase-purple);
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
}

.zb-ase-explain-card.is-green {
  color: var(--ase-green);
}

.zb-ase-explain-card.is-cyan {
  color: var(--ase-cyan);
}

.zb-ase-explain-card.is-orange {
  color: var(--ase-orange);
}

.zb-ase-explain-card h4 {
  color: currentColor;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zb-ase-explain-card p {
  color: rgba(246, 249, 255, 0.86);
  font-size: 0.88rem;
  line-height: 1.45;
}

.zb-ase-loop-explain {
  background:
    radial-gradient(circle at 4% 16%, rgba(180, 116, 255, 0.18), transparent 13rem),
    linear-gradient(145deg, rgba(24, 18, 48, 0.9), rgba(9, 17, 31, 0.9));
  gap: 0.85rem;
  padding: 1.05rem;
}

.zb-ase-loop-heading {
  align-items: center;
  display: flex;
  gap: 0.82rem;
}

.zb-ase-loop-mark {
  background: rgba(180, 116, 255, 0.18);
  border-radius: 999px;
  color: var(--ase-purple);
  flex: 0 0 auto;
  height: 2.35rem;
  padding: 0.42rem;
  width: 2.35rem;
}

.zb-ase-loop-mark path,
.zb-ase-loop-week svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.zb-ase-loop-heading h4 {
  color: rgba(243, 223, 255, 0.98);
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
}

.zb-ase-loop-heading strong {
  color: rgba(211, 166, 255, 0.94);
  display: block;
  font-size: 0.84rem;
  line-height: 1.25;
  margin-top: 0.22rem;
}

.zb-ase-loop-week {
  background: rgba(5, 10, 21, 0.42);
  border: 1px solid rgba(196, 181, 253, 0.16);
  border-radius: 7px;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 0.1rem;
  padding: 0.65rem;
}

.zb-ase-loop-week span {
  align-items: center;
  display: grid;
  gap: 0.42rem;
  justify-items: center;
  min-width: 0;
}

.zb-ase-loop-week b {
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.7rem;
  font-weight: 800;
}

.zb-ase-loop-week i {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-style: normal;
  height: 1.55rem;
  justify-content: center;
  width: 1.55rem;
}

.zb-ase-loop-week i.is-purple {
  background: rgba(180, 116, 255, 0.24);
  color: var(--ase-purple);
}

.zb-ase-loop-week i.is-alt {
  background: rgba(37, 99, 235, 0.26);
  color: #60a5fa;
}

.zb-ase-loop-week i.is-empty {
  background: transparent;
  color: rgba(226, 232, 240, 0.68);
  font-size: 1rem;
  font-weight: 900;
}

.zb-ase-loop-week svg {
  height: 1rem;
  width: 1rem;
}

.zb-ase-mini-flow {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
}

.zb-ase-mini-flow > div,
.zb-ase-token-row span,
.zb-ase-key-row span,
.zb-ase-review-row span {
  background: rgba(5, 10, 21, 0.52);
  border: 1px solid color-mix(in srgb, currentColor 60%, transparent);
  border-radius: 7px;
}

.zb-ase-mini-flow > div {
  display: grid;
  gap: 0.32rem;
  padding: 0.7rem;
}

.zb-ase-mini-flow b {
  color: color-mix(in srgb, currentColor 82%, #fff);
  font-size: 0.78rem;
}

.zb-ase-mini-flow span {
  color: rgba(246, 249, 255, 0.88);
  font-size: 0.78rem;
  white-space: nowrap;
}

.zb-ase-token-row,
.zb-ase-key-row,
.zb-ase-review-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.zb-ase-token-row span,
.zb-ase-key-row span,
.zb-ase-review-row span {
  color: rgba(246, 249, 255, 0.92);
  display: inline-grid;
  font-size: 0.78rem;
  min-height: 2.3rem;
  min-width: 3.2rem;
  padding: 0.35rem 0.42rem;
  place-items: center;
  text-align: center;
}

.zb-ase-token-row i {
  background: currentColor;
  height: 2px;
  width: 1.4rem;
}

.zb-ase-key-row span {
  min-width: 2.5rem;
}

.zb-ase-key-row span:nth-child(-n + 3)::after {
  color: var(--ase-green);
  content: "check";
  display: block;
  font-size: 0.62rem;
  line-height: 1;
}

.zb-ase-key-row .is-next {
  background: rgba(22, 217, 234, 0.12);
  box-shadow: 0 0 0 1px rgba(22, 217, 234, 0.46);
}

.zb-ase-review-row b {
  color: currentColor;
  font-size: 0.76rem;
}

.zb-ase-time-card {
  align-items: center;
  color: rgba(196, 181, 253, 0.92);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 0.82rem 1rem;
}

.zb-ase-time-card > span {
  border: 3px solid currentColor;
  border-radius: 999px;
  height: 2.05rem;
  position: relative;
  width: 2.05rem;
}

.zb-ase-time-card > span::before,
.zb-ase-time-card > span::after {
  background: currentColor;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform-origin: left center;
}

.zb-ase-time-card > span::before {
  height: 2px;
  transform: rotate(0deg);
  width: 0.65rem;
}

.zb-ase-time-card > span::after {
  height: 2px;
  transform: rotate(-90deg);
  width: 0.9rem;
}

.zb-ase-time-card strong {
  color: var(--ase-text);
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.zb-ase-time-card p {
  color: var(--ase-muted);
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.zb-ase-time-card b {
  color: var(--ase-purple);
  font-size: 0.92rem;
}

#guidanceModalBackdrop.is-advanced-scheduling-example-modal {
  align-items: stretch !important;
  overflow: hidden !important;
  padding: clamp(0.55rem, 1.2vw, 1rem) !important;
}

#guidanceModalBackdrop.is-advanced-scheduling-example-modal .modal-card.guidance-modal-card {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  height: min(94vh, 66rem) !important;
  max-height: 94vh !important;
  max-width: min(108rem, 98vw) !important;
  overflow: hidden !important;
  width: min(108rem, 98vw) !important;
}

#guidanceModalBackdrop.is-advanced-scheduling-example-modal .guidance-modal-body {
  max-height: none !important;
  min-height: 0 !important;
  overflow: auto !important;
  padding: 0.9rem !important;
  scrollbar-gutter: stable;
}

#guidanceModalBackdrop.is-advanced-scheduling-example-modal .guidance-modal-actions {
  margin-top: 0 !important;
}

.advanced-scheduling-example-modal .zb-ase {
  border-radius: 18px;
  min-width: min(74rem, 100%);
}

.advanced-scheduling-example-modal .zb-ase-topbar {
  align-items: center;
}

.zb-ase-bottom {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.85fr 1fr;
}

.zb-ase-toolbox,
.zb-ase-rule,
.zb-ase-remember {
  color: rgba(127, 123, 255, 0.96);
  padding: 0.85rem;
}

.zb-ase-toolbox h3,
.zb-ase-rule h3 {
  color: currentColor;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  margin-bottom: 0.75rem;
  text-align: center;
  text-transform: uppercase;
}

.zb-ase-toolbox > div {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.zb-ase-toolbox article {
  background: rgba(5, 10, 21, 0.58);
  border: 1px solid rgba(196, 211, 230, 0.16);
  border-radius: 7px;
  display: grid;
  gap: 0.45rem;
  min-height: 8.7rem;
  padding: 0.72rem;
  text-align: center;
}

.zb-ase-toolbox article span {
  border: 3px solid currentColor;
  border-radius: 7px;
  height: 2rem;
  justify-self: center;
  width: 2rem;
}

.zb-ase-toolbox .is-purple,
.zb-ase-rule .is-purple {
  color: var(--ase-purple);
}

.zb-ase-toolbox .is-green,
.zb-ase-rule .is-green {
  color: var(--ase-green);
}

.zb-ase-toolbox .is-cyan,
.zb-ase-rule .is-cyan {
  color: var(--ase-cyan);
}

.zb-ase-toolbox .is-orange,
.zb-ase-rule .is-orange {
  color: var(--ase-orange);
}

.zb-ase-toolbox strong {
  color: var(--ase-text);
  font-size: 0.82rem;
}

.zb-ase-toolbox p {
  color: var(--ase-muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.zb-ase-rule {
  align-content: start;
  display: grid;
}

.zb-ase-rule p {
  color: var(--ase-text);
  display: grid;
  font-size: 0.82rem;
  gap: 0.1rem 0.6rem;
  grid-template-columns: auto minmax(0, 1fr);
  line-height: 1.35;
  margin: 0 0 0.7rem;
}

.zb-ase-rule p b {
  background: currentColor;
  border-radius: 999px;
  display: inline-block;
  height: 1.45rem;
  margin-top: 0.1rem;
  width: 1.45rem;
}

.zb-ase-rule p span {
  color: currentColor;
  grid-column: 2;
}

.zb-ase-remember {
  color: rgba(180, 116, 255, 0.92);
  font-size: 0.88rem;
  line-height: 1.45;
  padding: 0.6rem 0.8rem;
}

.zb-ase-remember strong {
  color: currentColor;
  letter-spacing: 0.06em;
  margin-right: 1rem;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .zb-ase-diagram,
  .zb-ase-bottom {
    grid-template-columns: 1fr;
  }

  .zb-ase-connectors {
    display: none;
  }

  .zb-ase-plan {
    padding-left: 5.4rem;
  }

  .zb-ase-toolbox > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .zb-ase {
    border-radius: 16px;
    padding: 0.72rem;
  }

  .zb-ase-topbar {
    display: grid;
  }

  .zb-ase-close {
    justify-self: start;
  }

  .zb-ase-plan {
    padding-left: 0;
  }

  .zb-ase-plan-rail {
    display: none;
  }

  .zb-ase-mini-flow,
  .zb-ase-toolbox > div {
    grid-template-columns: 1fr;
  }

  .zb-ase-time-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .zb-ase-time-card b {
    grid-column: 2;
  }
}

/* Alpha guide capstone: integrated Advanced Scheduling lesson. */
.zb-ase {
  --ase-purple: #7c3aed;
  --ase-green: #0d9488;
  --ase-cyan: #0891b2;
  --ase-orange: #d97706;
  --ase-blue: #2563eb;
  --ase-panel: rgba(255, 255, 255, 0.76);
  --ase-panel-strong: rgba(255, 255, 255, 0.92);
  --ase-ink: #082033;
  --ase-text: rgba(8, 32, 51, 0.94);
  --ase-muted: rgba(33, 75, 91, 0.76);
  background:
    radial-gradient(circle at 6% 0%, rgba(13, 148, 136, 0.18), transparent 22rem),
    radial-gradient(circle at 84% 18%, rgba(125, 211, 252, 0.22), transparent 28rem),
    linear-gradient(145deg, rgba(240, 253, 250, 0.96), rgba(224, 242, 254, 0.9));
  border-color: rgba(13, 148, 136, 0.22);
  border-radius: 24px;
  box-shadow: 0 24px 58px rgba(8, 47, 73, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  color: var(--ase-text);
  gap: clamp(1rem, 2vw, 1.35rem);
  padding: clamp(1rem, 2.2vw, 1.55rem);
}

.zb-ase-topbar {
  align-items: start;
  background:
    radial-gradient(circle at 10% 0%, rgba(13, 148, 136, 0.2), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(207, 250, 254, 0.78));
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  padding: clamp(1.15rem, 2.6vw, 1.8rem);
}

.zb-ase-tip {
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.22);
  color: #0f766e;
}

.zb-ase h2 {
  color: var(--ase-ink);
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

.zb-ase-topbar p {
  color: var(--ase-muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  max-width: 62rem;
}

.zb-ase-close {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(15, 118, 110, 0.24) !important;
  color: #0f766e !important;
  -webkit-text-fill-color: #0f766e !important;
}

.zb-ase-capstone {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(24rem, 0.9fr) minmax(28rem, 1.1fr);
}

.zb-ase-schedule-panel,
.zb-ase-concepts-panel,
.zb-ase-toolbox,
.zb-ase-rules,
.zb-ase-build {
  background: var(--ase-panel);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.68);
  display: grid;
  gap: 0.95rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.zb-ase-section-heading {
  color: #0f766e;
}

.zb-ase-section-heading.is-purple {
  color: var(--ase-purple);
}

.zb-ase-section-heading.is-cyan {
  color: var(--ase-cyan);
}

.zb-ase-section-heading.is-green {
  color: var(--ase-green);
}

.zb-ase-section-heading.is-orange {
  color: var(--ase-orange);
}

.zb-ase-section-heading span {
  background: color-mix(in srgb, currentColor 12%, white);
  border-color: color-mix(in srgb, currentColor 44%, transparent);
}

.zb-ase-schedule-summary {
  background:
    radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.16), transparent 10rem),
    rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 18px;
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
}

.zb-ase-schedule-summary strong {
  color: var(--ase-ink);
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
  line-height: 1.12;
}

.zb-ase-schedule-summary p {
  color: var(--ase-muted);
  font-size: 0.98rem;
  line-height: 1.42;
}

.zb-ase-schedule-stack {
  counter-reset: ase-schedule;
  display: grid;
  gap: 0.68rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zb-ase-schedule-stack li {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), color-mix(in srgb, var(--ase-card-color, var(--ase-green)) 10%, white));
  border: 1px solid color-mix(in srgb, var(--ase-card-color, var(--ase-green)) 22%, transparent);
  border-radius: 18px;
  display: grid;
  gap: 0.72rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 5.3rem;
  padding: 0.78rem 0.88rem;
}

.zb-ase-schedule-stack li > span {
  align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ase-card-color, var(--ase-green)) 86%, #082033), var(--ase-card-color, var(--ase-green)));
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 900;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.zb-ase-schedule-stack strong {
  color: var(--ase-ink);
  display: block;
  font-size: 1.02rem;
  line-height: 1.14;
}

.zb-ase-schedule-stack p {
  color: var(--ase-muted);
  font-size: 0.9rem;
  line-height: 1.34;
  margin-top: 0.16rem;
}

.zb-ase-schedule-stack b {
  background: color-mix(in srgb, var(--ase-card-color, var(--ase-green)) 13%, white);
  border: 1px solid color-mix(in srgb, var(--ase-card-color, var(--ase-green)) 24%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--ase-card-color, var(--ase-green)) 72%, #082033);
  font-size: 0.82rem;
  line-height: 1;
  padding: 0.48rem 0.62rem;
  white-space: nowrap;
}

.zb-ase-schedule-stack .is-daily,
.zb-ase-concept-grid .is-daily {
  --ase-card-color: var(--ase-purple);
}

.zb-ase-schedule-stack .is-rotation,
.zb-ase-concept-grid .is-rotation {
  --ase-card-color: var(--ase-blue);
}

.zb-ase-schedule-stack .is-keepfresh,
.zb-ase-concept-grid .is-keepfresh {
  --ase-card-color: var(--ase-green);
}

.zb-ase-schedule-stack .is-key,
.zb-ase-concept-grid .is-key {
  --ase-card-color: var(--ase-cyan);
}

.zb-ase-schedule-stack .is-playlist,
.zb-ase-concept-grid .is-playlist {
  --ase-card-color: #a855f7;
}

.zb-ase-schedule-stack .is-review,
.zb-ase-concept-grid .is-review {
  --ase-card-color: var(--ase-orange);
}

.zb-ase-concept-grid {
  display: grid;
  gap: 0.72rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zb-ase-concept-grid article,
.zb-ase-tool-grid article,
.zb-ase-rule-grid article {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.74), transparent 7rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), color-mix(in srgb, var(--ase-card-color, var(--ase-green)) 9%, white));
  border: 1px solid color-mix(in srgb, var(--ase-card-color, var(--ase-green)) 20%, transparent);
  border-radius: 18px;
  display: grid;
  gap: 0.42rem;
  min-height: 10rem;
  padding: 0.9rem;
}

.zb-ase-concept-grid article > span,
.zb-ase-tool-grid span {
  color: color-mix(in srgb, var(--ase-card-color, var(--ase-green)) 70%, #082033);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.zb-ase-concept-grid strong,
.zb-ase-tool-grid strong,
.zb-ase-rule-grid strong,
.zb-ase-build h3 {
  color: var(--ase-ink);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  line-height: 1.12;
}

.zb-ase-concept-grid p,
.zb-ase-rule-grid p,
.zb-ase-build p {
  color: var(--ase-muted);
  font-size: 0.94rem;
  line-height: 1.42;
}

.zb-ase-concept-grid button {
  align-self: end;
  justify-self: start;
  margin-top: 0.2rem;
}

.zb-ase-concept-grid b {
  align-self: end;
  background: rgba(8, 32, 51, 0.06);
  border: 1px solid rgba(8, 32, 51, 0.08);
  border-radius: 999px;
  color: rgba(33, 75, 91, 0.72);
  font-size: 0.74rem;
  font-weight: 900;
  justify-self: start;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 0.42rem 0.62rem;
  text-transform: uppercase;
}

.zb-ase-toolbox > .zb-ase-tool-grid,
.zb-ase-rule-grid {
  display: grid;
  gap: 0.72rem;
}

.zb-ase-toolbox > .zb-ase-section-heading {
  display: flex;
  grid-template-columns: none;
}

.zb-ase-toolbox > .zb-ase-tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zb-ase-toolbox .zb-ase-tool-grid article {
  --ase-card-color: var(--ase-green);
  align-content: center;
  min-height: 7.5rem;
  text-align: left;
}

.zb-ase-toolbox .zb-ase-tool-grid article:nth-child(1) {
  --ase-card-color: var(--ase-purple);
}

.zb-ase-toolbox .zb-ase-tool-grid article:nth-child(3) {
  --ase-card-color: var(--ase-blue);
}

.zb-ase-toolbox .zb-ase-tool-grid article:nth-child(4) {
  --ase-card-color: var(--ase-orange);
}

.zb-ase-toolbox .zb-ase-tool-grid article:nth-child(5) {
  --ase-card-color: var(--ase-cyan);
}

.zb-ase-toolbox .zb-ase-tool-grid article:nth-child(6) {
  --ase-card-color: #a855f7;
}

.zb-ase-toolbox .zb-ase-tool-grid strong {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

.zb-ase-toolbox .zb-ase-tool-grid span {
  background: color-mix(in srgb, var(--ase-card-color) 12%, white);
  border: 1px solid color-mix(in srgb, var(--ase-card-color) 24%, transparent);
  border-radius: 999px;
  height: auto;
  justify-self: start;
  line-height: 1;
  padding: 0.48rem 0.62rem;
  width: auto;
}

.zb-ase-rule-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.zb-ase-rule-grid article {
  min-height: 9.2rem;
}

.zb-ase-build {
  align-items: center;
  background:
    radial-gradient(circle at 8% 0%, rgba(13, 148, 136, 0.18), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(204, 251, 241, 0.82));
  grid-template-columns: minmax(0, 1fr) auto;
}

.zb-ase-build .zb-ase-tip {
  margin-bottom: 0.58rem;
}

.zb-ase-build h3 {
  font-size: clamp(1.28rem, 2.2vw, 1.86rem);
  max-width: 56rem;
}

.zb-ase-build p {
  font-size: 1rem;
  margin-top: 0.48rem;
  max-width: 52rem;
}

.zb-ase-build button {
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.18);
  white-space: nowrap;
}

.advanced-scheduling-example-modal .zb-ase {
  min-width: min(84rem, 100%);
}

@media (max-width: 1180px) {
  .zb-ase-capstone,
  .zb-ase-build {
    grid-template-columns: 1fr;
  }

  .zb-ase-concept-grid,
  .zb-ase-toolbox > .zb-ase-tool-grid,
  .zb-ase-rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zb-ase-build button {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .zb-ase-topbar {
    gap: 1rem;
  }

  .zb-ase-close {
    justify-self: stretch;
  }

  .zb-ase-concept-grid,
  .zb-ase-toolbox > .zb-ase-tool-grid,
  .zb-ase-rule-grid {
    grid-template-columns: 1fr;
  }

  .zb-ase-schedule-stack li {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .zb-ase-schedule-stack b {
    grid-column: 2;
    justify-self: start;
  }

  .zb-ase-build button {
    justify-self: stretch;
    white-space: normal;
  }
}

/* Restore the original diagram-first lesson while keeping the modern Guide polish. */
.zb-ase-diagram {
  align-items: start;
  gap: clamp(2.2rem, 4vw, 3.4rem);
  grid-template-columns: minmax(26rem, 0.98fr) minmax(25rem, 1.02fr);
}

.zb-ase-connectors {
  overflow: visible;
  z-index: 5;
}

.zb-ase-arrow {
  stroke-width: 2.4px;
}

.zb-ase-plan,
.zb-ase-explain {
  gap: 0.9rem;
}

.zb-ase-plan {
  padding-left: 5.7rem;
}

.zb-ase-plan-rail {
  bottom: 2.6rem;
  grid-template-rows: 1.15fr 1.15fr 0.62fr 0.62fr 0.66fr 0.66fr;
  top: 3rem;
  z-index: 3;
}

.zb-ase-plan-rail::before {
  background: linear-gradient(var(--ase-purple), var(--ase-purple) 43%, var(--ase-green) 63%, var(--ase-cyan) 79%, var(--ase-orange));
  bottom: var(--ase-rail-line-bottom, 1.1rem);
  top: var(--ase-rail-line-top, 1.6rem);
}

.zb-ase-plan-rail span {
  background: rgba(255, 255, 255, 0.86);
  left: 0;
  box-shadow: 0 10px 24px rgba(8, 47, 73, 0.08);
  color: var(--ase-purple);
  position: absolute;
  top: var(--ase-rail-marker-y, 50%);
  transform: translateY(-50%);
  width: 100%;
}

.zb-ase-plan-card,
.zb-ase-explain-card,
.zb-ase-toolbox,
.zb-ase-rule,
.zb-ase-remember {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.72), transparent 10rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), color-mix(in srgb, currentColor 8%, white));
  border-color: color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.zb-ase-plan-card {
  gap: 0.62rem;
  padding: 0.9rem 1rem;
  position: relative;
  z-index: 2;
}

.zb-ase-plan-card[data-zb-ase-source="spaced-repetition"]::after {
  background: currentColor;
  border-radius: 999px;
  box-shadow: 0 5px 12px color-mix(in srgb, currentColor 18%, transparent);
  content: "";
  height: 3px;
  left: calc(100% - 1px);
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--ase-right-backbone-link-width, 1.7rem);
}

.zb-ase-plan-card ol {
  gap: 0.52rem;
}

.zb-ase-plan-card li {
  gap: 0.62rem;
  grid-template-columns: 1.3rem minmax(0, 1fr);
}

.zb-ase-plan-card li::before {
  color: #ffffff;
}

.zb-ase-plan-card li span {
  color: var(--ase-ink);
  font-size: 0.92rem;
  font-weight: 760;
}

.zb-ase-plan-card li small {
  color: var(--ase-muted);
  font-size: 0.8rem;
  margin-top: 0.12rem;
}

.zb-ase-plan-card p {
  border-color: rgba(8, 47, 73, 0.12);
  color: var(--ase-muted);
  font-size: 0.92rem;
}

.zb-ase-plan-card > p strong {
  color: color-mix(in srgb, currentColor 76%, #082033);
}

.zb-ase-card-title b {
  background: color-mix(in srgb, currentColor 12%, white);
  border-color: color-mix(in srgb, currentColor 24%, transparent);
  color: color-mix(in srgb, currentColor 72%, #082033);
}

.zb-ase-explain-card {
  gap: 0.78rem;
  min-height: 10.8rem;
  padding: 1rem;
}

.zb-ase-explain-card h4,
.zb-ase-explain-card .zb-ase-loop-heading h4 {
  color: currentColor;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zb-ase-explain-card p {
  color: var(--ase-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.zb-ase-loop-explain {
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--ase-purple) 14%, transparent), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), color-mix(in srgb, var(--ase-purple) 8%, white));
}

.zb-ase-loop-heading strong {
  color: color-mix(in srgb, currentColor 72%, #082033);
}

.zb-ase-loop-mark {
  background: color-mix(in srgb, currentColor 13%, white);
  color: currentColor;
}

.zb-ase-interleave-session {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 14px;
  display: grid;
  gap: 0.58rem;
  padding: 0.72rem;
}

.zb-ase-interleave-session > b,
.zb-ase-interleave-label {
  color: color-mix(in srgb, currentColor 72%, #082033);
  display: block;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.zb-ase-session-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.42rem;
}

.zb-ase-session-flow span {
  background: color-mix(in srgb, currentColor 9%, white);
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 12px;
  color: currentColor;
  display: grid;
  gap: 0.16rem;
  min-width: 0;
  padding: 0.52rem 0.58rem;
  position: relative;
}

.zb-ase-session-flow span:not(:last-of-type)::after {
  border-right: 2px solid color-mix(in srgb, currentColor 38%, transparent);
  border-top: 2px solid color-mix(in srgb, currentColor 38%, transparent);
  content: "";
  height: 0.34rem;
  position: absolute;
  right: -0.31rem;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 0.34rem;
  z-index: 2;
}

.zb-ase-session-flow span.is-switch {
  color: var(--ase-green);
}

.zb-ase-session-flow span strong {
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.08;
  text-transform: uppercase;
}

.zb-ase-session-flow span small {
  color: var(--ase-muted);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.18;
}

.zb-ase-session-flow i {
  display: none;
}

.zb-ase-interleave-week {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 14px;
  display: grid;
  gap: 0.48rem;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: 0.72rem;
}

.zb-ase-interleave-week span {
  display: grid;
  gap: 0.42rem;
  justify-items: center;
  min-width: 0;
}

.zb-ase-interleave-week b {
  color: var(--ase-muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.zb-ase-interleave-week i {
  align-items: center;
  background: color-mix(in srgb, currentColor 13%, white);
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 999px;
  color: currentColor;
  display: inline-flex;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
  height: 1.72rem;
  justify-content: center;
  width: 1.72rem;
}

.zb-ase-interleave-week i.is-empty {
  color: var(--ase-muted);
  font-size: 0.64rem;
  width: auto;
  padding: 0 0.42rem;
}

.zb-ase-token-row span,
.zb-ase-key-row span,
.zb-ase-review-row span {
  background: rgba(255, 255, 255, 0.64);
  color: var(--ase-ink);
  font-weight: 820;
}

.zb-ase-token-row i {
  background: currentColor;
}

.zb-ase-key-row span:nth-child(-n + 3)::after {
  color: var(--ase-green);
  content: "done";
  font-weight: 900;
}

.zb-ase-key-row .is-next {
  background: color-mix(in srgb, var(--ase-cyan) 12%, white);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ase-cyan) 46%, transparent);
}

.zb-ase-review-row b {
  color: currentColor;
}

.zb-ase-explain-card button {
  justify-self: start;
}

.zb-ase-planned-badge {
  background: rgba(8, 32, 51, 0.06);
  border: 1px solid rgba(8, 32, 51, 0.08);
  border-radius: 999px;
  color: rgba(33, 75, 91, 0.72);
  font-size: 0.74rem;
  font-weight: 900;
  justify-self: start;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 0.42rem 0.62rem;
  text-transform: uppercase;
}

.zb-ase-bottom {
  grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.8fr);
}

.zb-ase-toolbox,
.zb-ase-rule {
  padding: clamp(1rem, 2vw, 1.25rem);
}

.zb-ase-toolbox h3,
.zb-ase-rule h3 {
  margin-bottom: 0;
  text-align: left;
}

.zb-ase-rule {
  color: var(--ase-orange);
  gap: 0.7rem;
}

.zb-ase-rule p {
  color: var(--ase-text);
  font-size: 0.9rem;
  margin: 0;
}

.zb-ase-rule p span {
  color: color-mix(in srgb, currentColor 74%, #082033);
  font-weight: 850;
}

.zb-ase-remember {
  color: var(--ase-green);
  font-size: 0.94rem;
  padding: 0.9rem 1rem;
}

.zb-ase-remember strong {
  color: currentColor;
}

@media (max-width: 1180px) {
  .zb-ase-diagram,
  .zb-ase-bottom {
    grid-template-columns: 1fr;
  }

  .zb-ase-plan {
    padding-left: 5.2rem;
  }
}

@media (max-width: 760px) {
  .zb-ase-plan {
    padding-left: 0;
  }

  .zb-ase-card-title {
    align-items: start;
    display: grid;
  }

  .zb-ase-interleave-week {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .zb-ase-session-flow {
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zb-ase-session-flow span:not(:last-of-type)::after {
    display: none;
  }

  .zb-ase-bottom {
    grid-template-columns: 1fr;
  }
}
