/* Knowledge account, helper voices, lesson desktops — added, not a restyle. */
.knowledge-account {
  margin: 0 auto 2rem;
  max-width: 46rem;
  padding: 1.2rem 1.3rem 1rem;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: var(--grad-panel);
}
.knowledge-account h3 { margin: .2rem 0 .8rem; }
.ka-site {
  margin: .9rem 0 1.1rem;
  padding: .75rem .85rem .85rem;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 10px;
}
.ka-site h4 {
  margin: 0 0 .35rem;
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  align-items: baseline;
}
.ka-site-link { font-size: .82rem; font-weight: 500; }
.ka-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.ka-name { font-weight: 650; }
.ka-alias { font-weight: 450; color: var(--muted); font-size: .85rem; }
.ka-meter {
  height: .55rem;
  margin: .35rem 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.ka-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal, #5ee0c5), #c9f27a);
}
.ka-counts, .ka-total, .ka-hint { color: var(--muted); font-size: .92rem; }
.ka-total { margin: .9rem 0 .4rem; }
.ka-total strong, .ka-counts strong { color: var(--text); }
.ka-name-form, .ka-name { display: flex; gap: .5rem; flex-wrap: wrap; align-items: end; margin-top: .6rem; }
.ka-name label { display: flex; flex-direction: column; gap: .25rem; font-size: .82rem; color: var(--muted); }
.ka-name input {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  padding: .45rem .8rem;
}
.lesson-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: .8rem;
}
.lesson-code, .desk-screen {
  margin: 0;
  padding: .8rem;
  overflow: auto;
  border-radius: var(--radius-sm);
  background: #070b16;
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
  line-height: 1.45;
  min-height: 7.5rem;
}
.desk-video { border: 1px solid var(--line-bright); border-radius: var(--radius-sm); overflow: hidden; }
.desk-chrome {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .6rem;
  background: rgba(255, 255, 255, .04);
  font-size: .75rem;
}
.desk-dot {
  width: .55rem; height: .55rem; border-radius: 50%;
  background: #ff5a5a;
  box-shadow: 0 0 0 0 rgba(255, 90, 90, .6);
  animation: desk-rec 1.4s ease-out infinite;
}
@keyframes desk-rec {
  70% { box-shadow: 0 0 0 6px rgba(255, 90, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 90, 0); }
}
.desk-title { flex: 1; color: var(--muted); }
.desk-replay {
  background: none; color: var(--text); border: 1px solid var(--line);
  border-radius: 999px; font: inherit; font-size: .75rem; padding: .15rem .55rem;
}
.desk-caret {
  display: inline-block; width: .45rem; height: 1em; margin-left: 1px;
  background: #c9f27a; vertical-align: text-bottom;
  animation: desk-blink 1s steps(1) infinite;
}
@keyframes desk-blink { 50% { opacity: 0; } }
.explain-me { margin-top: .8rem; }
.explain-slot { margin-top: .6rem; }
.explain-line { margin: .35rem 0; }
@media (max-width: 720px) {
  .lesson-stage { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .desk-dot, .desk-caret { animation: none; }
}
