/* Nexa — Claude Desktop walkthrough animation
   Stylised desktop chat UI in the Nexa palette. Not a pixel-perfect copy of
   any real app — just the structural shapes (window, sidebar, chat, modal). */

.wt-frame {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
  color: var(--fg, #1C1A17);
  user-select: none;
}

/* Canvas wrapper — scales the fixed mock to fit narrower viewports */
.wt-canvas-outer {
  width: 100%;
  position: relative;
}
.wt-canvas-scale {
  width: 920px;
  transform-origin: top left;
  /* JS sets --wt-scale; CSS fallback is 1 */
  transform: scale(var(--wt-scale, 1));
}
.wt-canvas-spacer {
  /* height matches the scaled canvas so the layout flows correctly */
  width: 100%;
}

/* ── Window chrome ──────────────────────────────────────────── */
.wt-win {
  width: 920px;
  height: 580px;
  background: #FAF7EE;
  border: 1px solid rgba(28, 26, 23, 0.14);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 1px 2px rgba(28, 26, 23, 0.04),
    0 24px 60px -28px rgba(28, 26, 23, 0.22),
    0 8px 24px -12px rgba(28, 26, 23, 0.10);
  display: flex;
  flex-direction: column;
}

.wt-titlebar {
  height: 38px;
  background: linear-gradient(to bottom, #ECE7D7, #E5E0D0);
  border-bottom: 1px solid rgba(28, 26, 23, 0.10);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  flex: none;
}
.wt-lights {
  display: flex;
  gap: 7px;
}
.wt-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
}
.wt-light.red    { background: #E66956; }
.wt-light.yellow { background: #E2B33E; }
.wt-light.green  { background: #58B25E; }

.wt-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-display, "DM Sans", sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: rgba(28, 26, 23, 0.55);
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.wt-title-mark {
  width: 14px;
  height: 14px;
  color: rgba(28, 26, 23, 0.55);
}
.wt-title-actions {
  display: flex;
  gap: 8px;
  color: rgba(28, 26, 23, 0.35);
}

/* ── App body ────────────────────────────────────────────────── */
.wt-body {
  flex: 1;
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 0;
}

.wt-side {
  background: #F2EEDF;
  border-right: 1px solid rgba(28, 26, 23, 0.07);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}
.wt-side-new {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #1C1A17;
  color: #EFEBDF;
  border-radius: 6px;
  font-weight: 500;
  font-size: 12.5px;
}
.wt-side-new svg { color: #EFEBDF; }
.wt-side-section {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9C9789;
  padding: 8px 10px 4px;
}
.wt-side-item {
  padding: 7px 10px;
  border-radius: 5px;
  color: #3C3A33;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12.5px;
}
.wt-side-item.is-active {
  background: rgba(28, 26, 23, 0.06);
  color: #1C1A17;
}
.wt-side-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C8C1AC;
  flex: none;
}
.wt-side-item.is-active .dot { background: #27514A; }

.wt-side-foot {
  margin-top: auto;
  padding: 10px;
  border-top: 1px solid rgba(28, 26, 23, 0.07);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  color: #6E6A5E;
}
.wt-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #27514A;
  color: #EFEBDF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
}

/* ── Main panel ──────────────────────────────────────────────── */
.wt-main {
  background: #FAF7EE;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

/* Scene wrapper — cross-fade between chat-view and settings-view when
   the step crosses a scene boundary. Popovers and modals inside still
   use their own pop-in animations. */
.wt-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  animation: wt-view-in 380ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes wt-view-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Caption caret variant — sized for the larger caption text. */
.wt-caret-cap {
  height: 18px;
  background: currentColor;
  vertical-align: -3px;
}

/* Chat header */
.wt-head {
  padding: 14px 22px;
  border-bottom: 1px solid rgba(28, 26, 23, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
}
.wt-head-l {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: #1C1A17;
}
.wt-head-r {
  display: flex;
  gap: 14px;
  color: rgba(28, 26, 23, 0.4);
}

/* Chat scroll */
.wt-scroll {
  flex: 1;
  overflow: hidden;
  padding: 20px 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}
.wt-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(28, 26, 23, 0.32);
}
.wt-empty-mark {
  width: 44px;
  height: 44px;
  color: rgba(28, 26, 23, 0.20);
}
.wt-empty-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: rgba(28, 26, 23, 0.40);
  letter-spacing: -0.01em;
}

/* Messages */
.wt-msg {
  max-width: 86%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: wt-fade-up 360ms ease both;
}
.wt-msg-user {
  align-self: flex-end;
  align-items: flex-end;
}
.wt-msg-asst {
  align-self: flex-start;
}
.wt-bubble {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  font-family: var(--font-sans);
}
.wt-msg-user .wt-bubble {
  background: #1C1A17;
  color: #EFEBDF;
  border-top-right-radius: 4px;
}
.wt-msg-asst .wt-bubble {
  background: transparent;
  color: #1C1A17;
  padding: 4px 0;
}

/* Tool-call card inside assistant message */
.wt-tool {
  margin-top: 8px;
  background: #F2EEDF;
  border: 1px solid rgba(28, 26, 23, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #3C3A33;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 480px;
  animation: wt-fade-up 360ms ease both;
}
.wt-tool-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #27514A;
  font-weight: 500;
}
.wt-tool-head .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3D7E68;
  box-shadow: 0 0 0 3px rgba(61, 126, 104, 0.18);
}
.wt-tool-name {
  font-size: 12px;
  letter-spacing: 0.02em;
}
.wt-tool-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #6E6A5E;
}
.wt-tool-row .v { color: #1C1A17; }
.wt-tool-ok {
  color: #3D7E68;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* Composer (input bar) */
.wt-composer {
  margin: 12px 20px 18px;
  background: #FFFFFF;
  border: 1px solid rgba(28, 26, 23, 0.14);
  border-radius: 12px;
  padding: 10px 12px 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  box-shadow: 0 1px 0 rgba(28, 26, 23, 0.02);
  position: relative;
}
.wt-comp-input {
  flex: 1;
  font-size: 14px;
  color: #1C1A17;
  font-family: var(--font-sans);
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.wt-comp-placeholder {
  color: rgba(28, 26, 23, 0.32);
}
.wt-caret {
  display: inline-block;
  width: 1.5px;
  height: 16px;
  background: #1C1A17;
  vertical-align: -3px;
  animation: wt-blink 1.05s steps(2, end) infinite;
}
@keyframes wt-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.wt-comp-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6E6A5E;
  background: transparent;
  border: 1px solid transparent;
  position: relative;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.wt-comp-btn.plus { font-size: 18px; }
.wt-comp-btn.send {
  background: #1C1A17;
  color: #EFEBDF;
}

/* Highlight ring for active click target */
.wt-hl {
  position: relative;
}
.wt-hl::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1.5px solid #27514A;
  pointer-events: none;
  animation: wt-pulse 1.6s ease-in-out infinite;
}
.wt-hl::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: rgba(39, 81, 74, 0.10);
  pointer-events: none;
  animation: wt-pulse-fill 1.6s ease-in-out infinite;
}
@keyframes wt-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.08); opacity: 0.35; }
}
@keyframes wt-pulse-fill {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 0.15; }
}

/* ── Popovers (+ menu, submenus, dropdowns) ──────────────────── */
.wt-popover {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid rgba(28, 26, 23, 0.10);
  border-radius: 12px;
  box-shadow:
    0 20px 50px -16px rgba(28, 26, 23, 0.22),
    0 4px 14px -4px rgba(28, 26, 23, 0.10);
  padding: 6px;
  z-index: 5;
  animation: wt-pop-in 220ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.wt-plus-menu  { min-width: 232px; }
.wt-conn-menu  { min-width: 256px; }
.wt-add-dropdown { min-width: 200px; }

.wt-pop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: #1C1A17;
  cursor: default;
  position: relative;
}
.wt-pop-item .ic { color: #6E6A5E; flex: none; }
.wt-pop-item .lab { flex: 1; display: flex; flex-direction: column; }
.wt-pop-item .lab .sub {
  font-size: 11px;
  color: #9C9789;
  margin-top: 1px;
}
.wt-pop-item .chev { color: #B5B0A0; flex: none; }
.wt-pop-item.is-active {
  background: rgba(28, 26, 23, 0.05);
}
.wt-pop-item.is-active .ic { color: #1C1A17; }
.wt-pop-item.is-muted { color: #B5B0A0; }
.wt-pop-item.is-muted .ic { color: #C8C1AC; }
.wt-pop-divider {
  height: 1px;
  background: rgba(28, 26, 23, 0.07);
  margin: 4px 6px;
}

/* Square monochrome icon tile (used in connector menu/list) */
.ic-square {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #F2EEDF;
  color: #3C3A33;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ic-square.ic-ink {
  background: #1C1A17;
  color: #EFEBDF;
}

/* Toggle pill */
.wt-toggle {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  position: relative;
  flex: none;
  transition: background 220ms ease;
}
.wt-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  transition: left 220ms ease, right 220ms ease;
}
.wt-toggle.is-on  { background: #27514A; }
.wt-toggle.is-on::after  { right: 2px; }
.wt-toggle.is-off { background: rgba(28, 26, 23, 0.18); }
.wt-toggle.is-off::after { left: 2px; }

.wt-conn-item .lab { flex: 1; }
.wt-conn-item .ic-square { color: #3C3A33; }

/* ── Settings page (steps 4–7) ───────────────────────────────── */
.wt-page {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
}
.wt-settings {
  flex: 1;
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 0;
}

/* Inner sidebar — connector list with groups */
.wt-settings-side {
  border-right: 1px solid rgba(28, 26, 23, 0.07);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #FAF7EE;
  position: relative;
}
.wt-settings-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 12px;
}
.wt-settings-side-head .title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: #1C1A17;
  letter-spacing: -0.01em;
}
.wt-settings-side-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wt-settings-add {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(28, 26, 23, 0.06);
  color: #1C1A17;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.wt-settings-group {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9C9789;
  padding: 14px 10px 6px;
}
.wt-settings-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #3C3A33;
}
.wt-settings-row .n { flex: 1; }
.wt-settings-row .tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  background: rgba(28, 26, 23, 0.08);
  color: #6E6A5E;
  padding: 2px 6px;
  border-radius: 4px;
}
.wt-settings-row.is-active {
  background: rgba(28, 26, 23, 0.06);
  color: #1C1A17;
}
.wt-settings-row.is-new {
  animation: wt-row-in 480ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  background: rgba(61, 126, 104, 0.10);
}
@keyframes wt-row-in {
  from { opacity: 0; transform: translateY(-4px); background: rgba(61, 126, 104, 0.22); }
  to   { opacity: 1; transform: translateY(0);    background: rgba(61, 126, 104, 0.10); }
}

/* Right detail pane */
.wt-settings-main {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  overflow: hidden;
}
.wt-settings-empty {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: #9C9789;
  padding-bottom: 40px;
}
.wt-settings-empty-mark {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #F2EEDF;
  color: #9C9789;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wt-settings-empty-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: #6E6A5E;
}
.wt-settings-empty-s {
  font-size: 12.5px;
  max-width: 260px;
}

.wt-settings-detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wt-settings-detail-head > div:nth-child(2) { flex: 1; }
.wt-settings-detail-h {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #1C1A17;
}
.wt-settings-detail-u {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #6E6A5E;
  margin-top: 2px;
}
.wt-settings-detail-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #3D7E68;
}
.wt-settings-detail-state .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3D7E68;
  box-shadow: 0 0 0 3px rgba(61, 126, 104, 0.18);
}
.wt-settings-detail-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(28, 26, 23, 0.07);
  padding-top: 10px;
}
.wt-kv {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 10px 0;
  border-bottom: 1px solid rgba(28, 26, 23, 0.05);
  font-size: 13px;
}
.wt-kv .k {
  color: #6E6A5E;
}
.wt-kv .v {
  color: #1C1A17;
}

/* Used inside the settings detail header — small icon tile */
.wt-list-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #EFEBDF;
  color: #1C1A17;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* ── Modal (frames 6-8) ──────────────────────────────────────── */
.wt-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 26, 23, 0.34);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wt-fade 200ms ease both;
}
.wt-modal {
  width: 440px;
  background: #FAF7EE;
  border-radius: 12px;
  border: 1px solid rgba(28, 26, 23, 0.10);
  box-shadow: 0 30px 60px -20px rgba(28, 26, 23, 0.35);
  overflow: hidden;
  animation: wt-modal-in 280ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.wt-modal-head {
  padding: 18px 22px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.wt-modal-h {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: #1C1A17;
  letter-spacing: -0.01em;
}
.wt-modal-s {
  font-size: 12.5px;
  color: #6E6A5E;
  margin-top: 3px;
}
.wt-modal-x {
  color: rgba(28, 26, 23, 0.40);
  font-size: 16px;
}
.wt-modal-body {
  padding: 4px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wt-field-l {
  font-size: 11.5px;
  color: #3C3A33;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.wt-field-input {
  background: #FFFFFF;
  border: 1px solid rgba(28, 26, 23, 0.14);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: #1C1A17;
  font-family: var(--font-mono);
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 1px;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.wt-field-input.is-focus {
  border-color: #27514A;
  box-shadow: 0 0 0 3px rgba(39, 81, 74, 0.12);
}
.wt-field-input.is-text {
  font-family: var(--font-sans);
}
.wt-field-note {
  font-size: 12px;
  color: #9C9789;
  line-height: 1.5;
  margin-top: -2px;
}
.wt-field-placeholder { color: rgba(28, 26, 23, 0.32); }
.wt-modal-foot {
  padding: 14px 22px 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid rgba(28, 26, 23, 0.07);
  background: #F2EEDF;
}
.wt-btn {
  padding: 9px 18px;
  font-size: 13px;
  border-radius: 8px;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: background 200ms ease;
}
.wt-btn-ghost {
  background: transparent;
  color: #3C3A33;
}
.wt-btn-primary {
  background: #1C1A17;
  color: #EFEBDF;
}
.wt-btn-primary.is-success {
  background: #3D7E68;
}

/* Success toast (frame 8) */
.wt-toast {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: #1C1A17;
  color: #EFEBDF;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
  box-shadow: 0 12px 28px -8px rgba(28, 26, 23, 0.40);
  animation: wt-toast-in 320ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.wt-toast-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6EC59A;
  box-shadow: 0 0 0 3px rgba(110, 197, 154, 0.30);
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes wt-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes wt-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes wt-pop-in {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
@keyframes wt-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
@keyframes wt-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Caption + progress ──────────────────────────────────────── */
.wt-caption {
  margin: 36px auto 0;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wt-caption-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9C9789;
}
.wt-caption-line {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1C1A17;
  min-height: 28px;
  transition: opacity 280ms ease;
}

.wt-progress {
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.wt-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.wt-dot {
  width: 28px;
  height: 5px;
  border-radius: 3px;
  background: rgba(28, 26, 23, 0.12);
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: background 220ms ease, width 280ms ease;
}
.wt-dot:hover { background: rgba(28, 26, 23, 0.22); }
.wt-dot.is-done { background: rgba(28, 26, 23, 0.32); }
.wt-dot.is-active {
  background: #1C1A17;
  width: 48px;
}
.wt-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #27514A 0%, #27514A 100%);
  transform-origin: left;
  animation: wt-fill var(--wt-step-ms, 2400ms) linear forwards;
}
@keyframes wt-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.wt-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(28, 26, 23, 0.14);
  background: transparent;
  color: #1C1A17;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
  transition: background 200ms ease;
}
.wt-play:hover { background: rgba(28, 26, 23, 0.04); }
.wt-step-no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6E6A5E;
  letter-spacing: 0.08em;
  min-width: 48px;
  text-align: right;
}
