.wk-section {
  --wk-violet-ink: #4d459e;
  --wk-green-ink: #197248;
  --wk-lavender: var(--lavender, #eeeafe);
  --wk-soft-line: #e2def3;
  --wk-card-radius: 18px;
  padding-block: clamp(3.5rem, 7vw, 6.6rem);
  background: var(--page, #f8faff);
  color: var(--ink, #182033);
}

.wk-section :is(#wk-title, #wk-route, #wk-next, #wk-project) { scroll-margin-block-start: 6rem; }
.wk-intro { max-width: 48rem; margin: 0 auto clamp(1.5rem, 3.4vw, 3rem); text-align: center; }
.wk-demo, .wk-project-label, .wk-top-brand, .wk-level, .wk-mission-cap, .wk-stat dt, .wk-reward span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.wk-demo {
  color: var(--wk-violet-ink);
  background: var(--wk-lavender);
  border-radius: 999px;
  padding: .36rem .8rem;
  font-size: .81rem;
  font-weight: 700;
}
.wk-demo .ic, .wk-project-label .ic, .wk-mission-cap .ic { width: 1rem; height: 1rem; }
.wk-intro h2 {
  margin: .8rem 0 .7rem;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.06;
  font-weight: 760;
  letter-spacing: -.055em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.wk-intro p, .wk-mission > p, .wk-coach p, .wk-dialog > p {
  color: var(--muted, #64748b);
  line-height: 1.6;
  margin: 0;
}
.wk-intro p { text-wrap: pretty; }
.wk {
  max-width: 68rem;
  margin-inline: auto;
  min-width: 0;
  overflow: clip;
  background: #f7f8fd;
  border: 1px solid #dfe1ee;
  border-radius: 24px;
  box-shadow: 0 18px 55px -30px #4d478450;
}
.wk-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .4rem .8rem;
  padding: .65rem clamp(.8rem, 2.4vw, 1.9rem);
  border-bottom: 1px solid var(--line, #e2e8f0);
  background: var(--surface, #fff);
}
.wk-top-brand { color: #403d63; font-size: .88rem; font-weight: 750; }
.wk-top-brand .ic { color: var(--violet, #635bee); }
.wk-shortcuts { display: flex; flex-wrap: wrap; gap: .2rem; }
.wk-shortcuts a, .wk-home {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: .35rem .65rem;
  border-radius: 10px;
  text-decoration: none;
  color: #626b80;
  font-weight: 650;
  font-size: .82rem;
}
.wk-shortcuts a[aria-current], .wk-shortcuts a:hover { color: var(--wk-violet-ink); background: #f0edff; }
.wk-content { padding: clamp(.7rem, 2.5vw, 1.9rem); }
.wk-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 10rem;
  background: var(--wk-lavender);
  border: 1px solid var(--wk-soft-line);
  border-radius: var(--wk-card-radius);
}
.wk-project-info { position: relative; z-index: 1; padding: clamp(1.05rem, 2.4vw, 2rem); }
.wk-project-label, .wk-mission-cap { font-size: .83rem; font-weight: 740; color: var(--wk-violet-ink); }
.wk-project-info h3 {
  margin: .45rem 0 .8rem;
  color: #262039;
  font-size: clamp(1.4rem, 2.55vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.wk-level {
  padding: .19rem .56rem;
  background: #fff;
  border: 1px solid #d7ccef;
  border-radius: 999px;
  color: var(--wk-violet-ink);
  font-size: .81rem;
  font-weight: 750;
  vertical-align: middle;
}
.wk-level svg { width: 1.05rem; height: 1.05rem; fill: #eee6ff; stroke: #6753ae; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wk-xp { margin-inline-start: .35rem; color: var(--wk-violet-ink); font-size: .81rem; font-weight: 740; }
.wk-map { display: block; width: 100%; max-height: 7.2rem; overflow: visible; color: #927fc7; }
.wk-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin: .8rem 0;
}
.wk-stat, .wk-road, .wk-mission, .wk-coach {
  min-width: 0;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--wk-card-radius);
}
.wk-stat { padding: clamp(.8rem, 1.8vw, 1.35rem); }
.wk-stat dt { color: #535f77; font-size: .85rem; font-weight: 620; }
.wk-stat dt .ic { color: #7063ad; width: 1.05rem; height: 1.05rem; }
.wk-stat dd {
  margin: .42rem 0 0;
  line-height: 1.16;
  color: var(--ink, #182033);
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-weight: 760;
  letter-spacing: -.045em;
}
.wk-stat dd small { font-size: .8rem; font-weight: 600; letter-spacing: normal; color: var(--muted, #64748b); }
.wk-total { grid-column: 1 / -1; }
.wk-total progress {
  display: block;
  width: 100%;
  height: .34rem;
  margin-top: .72rem;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  appearance: none;
  background: #e8eaf3;
  color: var(--violet, #635bee);
}
.wk-total progress::-webkit-progress-bar { background: #e8eaf3; }
.wk-total progress::-webkit-progress-value { background: var(--violet, #635bee); border-radius: 999px; }
.wk-total progress::-moz-progress-bar { background: var(--violet, #635bee); border-radius: 999px; }
.wk-columns { display: grid; gap: .8rem; }
.wk-road, .wk-mission, .wk-coach { padding: clamp(1rem, 2.2vw, 1.65rem); }
.wk-columns h3, .wk-dialog h2 { margin: 0; line-height: 1.2; letter-spacing: -.04em; font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 750; }
.wk-steps { list-style: none; padding: 0; margin: .95rem 0 0; }
.wk-steps li {
  --stop-width: 1.85rem;
  position: relative;
  display: grid;
  grid-template-columns: var(--stop-width) minmax(0, 1fr);
  align-items: center;
  column-gap: .78rem;
  padding: .72rem .58rem;
  color: #59647a;
}
.wk-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  height: 100%;
  left: calc(.58rem + var(--stop-width) / 2);
  border-left: 1.5px dashed #cdd2de;
}
.wk-steps li.wk-finished::before { border-left: 1.5px solid #a1ddba; }
.wk-stop {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--stop-width);
  height: var(--stop-width);
  color: #657187;
  border-radius: 50%;
  background: #f0f2f6;
}
.wk-stop .ic { width: .95rem; height: .95rem; stroke-width: 2; }
.wk-finished .wk-stop { color: var(--wk-green-ink); background: #dcfce7; }
.wk-steps h4 { margin: 0; font-size: .95rem; line-height: 1.38; font-weight: 690; letter-spacing: -.023em; }
.wk-steps p { margin: .15rem 0 0; font-size: .85rem; line-height: 1.46; color: #606d81; }
.wk-steps li.wk-finished { color: var(--ink, #182033); }
.wk-steps li.wk-current { border-radius: 12px; color: var(--wk-violet-ink); background: #f1edff; }
.wk-current .wk-stop { color: #fff; background: var(--violet, #635bee); }
.wk-active-tag { display: inline-block; margin-inline-start: .15rem; font-size: .72rem; background: #e5ddff; border-radius: 7px; padding: .17rem .45rem; font-weight: 720; vertical-align: .08rem; }
.wk-asides { display: grid; align-content: start; gap: .8rem; }
.wk-mission { background: #fdfcff; border-color: #dbd5f2; }
.wk-mission h3 { margin: .55rem 0 .45rem; font-size: clamp(1.35rem, 2.1vw, 1.7rem); }
.wk-mission > p, .wk-coach p { font-size: .94rem; }
.wk-booking-preview {
  display: grid;
  place-items: center;
  margin-block: 1rem;
  padding: 1.05rem;
  background-color: #eeebff;
  background-image: radial-gradient(#c8bce5 .8px, transparent .8px);
  background-size: 10px 10px;
  border-radius: 12px;
}
.wk-booking-paper {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .52rem;
  width: min(100%, 15rem);
  background: #fff;
  border: 1px solid #dbd3ee;
  border-radius: 12px;
  padding: .78rem;
  box-shadow: 2px 5px 0 #d9d0ed;
  transform: rotate(-2deg);
}
.wk-booking-icon, .wk-coach-icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px; color: var(--wk-violet-ink); background: var(--wk-lavender); }
.wk-booking-paper strong, .wk-booking-paper small { display: block; font-size: .79rem; line-height: 1.5; }
.wk-booking-paper small { color: #667086; font-size: .75rem; }
.wk-times { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .3rem; }
.wk-times span { flex: 1 0 auto; text-align: center; border: 1px solid #dcdce8; border-radius: 6px; padding: .25rem .35rem; font-size: .75rem; color: #59617a; }
.wk-times span:nth-child(2) { border-color: #a8a1ee; background: #f2eeff; color: var(--wk-violet-ink); }
.wk-reward { display: flex; flex-wrap: wrap; gap: .55rem .85rem; margin: .25rem 0 .85rem; }
.wk-reward span { gap: .33rem; font-size: .81rem; font-weight: 640; color: #606a7c; }
.wk-reward .ic { width: .95rem; height: .95rem; }
.wk-reward span:last-child { color: #79501b; }
.wk-reward span:last-child .ic { stroke: #a36b10; fill: #ffce54; }
.wk-mission .btn, .wk-dialog .btn { width: 100%; justify-content: center; min-height: 2.8rem; }
.wk-coach { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .72rem; }
.wk-coach-icon { background: #dcf6f1; color: #226f64; }
.wk-coach h3 { font-size: 1.03rem; margin: .15rem 0 .37rem; }
.wk-coach p { font-size: .89rem; }
.wk-home { margin: .5rem 0 -.32rem; text-decoration: underline; text-underline-offset: .2em; }
.wk-dialog {
  color: var(--ink, #182033);
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 20px;
  margin: auto;
  width: min(25rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding: clamp(1.15rem, 3vw, 1.65rem);
  box-shadow: 0 17px 70px #1d1d3e26;
}
.wk-dialog::backdrop { background: #20223f72; }
.wk-dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.05rem; }
.wk-close {
  display: grid;
  place-items: center;
  cursor: pointer;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 10px;
  background: var(--page, #f8faff);
  color: var(--ink, #182033);
}
.wk-dialog h2 { font-size: 1.5rem; }
.wk-dialog > p { font-size: .93rem; margin-top: .5rem; }
.wk-dialog form { display: grid; gap: .95rem; margin-top: 1.15rem; }
.wk-dialog [hidden] { display: none !important; }
.wk-dialog label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 650; }
.wk-dialog input, .wk-dialog select {
  display: block;
  width: 100%;
  padding: .67rem .78rem;
  color: var(--ink, #182033);
  background-color: var(--surface, #fff);
  border: 1px solid #b7c0d2;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  font-weight: 450;
}
.wk-dialog select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23535f77' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: 1rem;
  background-position: right .8rem center;
  background-repeat: no-repeat;
}
.wk-dialog .wk-confirm { margin-top: 1rem; padding: .8rem; color: #195e40; background: #e3f8eb; border-radius: 10px; overflow-wrap: anywhere; }

@media (max-width: 39.99rem) {
  .wk-intro { text-align: left; }
  .wk-banner { display: block; }
  .wk-map { width: 15rem; margin: -1.5rem -.5rem -.4rem auto; }
  .wk-project-info { padding-bottom: 0; max-width: 26rem; }
  .wk-topbar { align-items: flex-start; }
  .wk-steps li { --stop-width: 1.6rem; padding-inline: .28rem; column-gap: .55rem; }
  .wk-steps li:not(:last-child)::before { left: calc(.28rem + var(--stop-width) / 2); }
  .wk-stat dt { gap: .35rem; }
  .wk-stat:not(.wk-total) dt .ic { display: none; }
}
@media (min-width: 40rem) {
  .wk-map { position: absolute; inset: 0 0 0 auto; height: 100%; max-height: none; width: 40%; }
  .wk-project-info { width: 63%; }
  .wk-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wk-total { grid-column: auto; }
}
@media (min-width: 48rem) {
  .wk-columns { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
