/* Lesson studio — Figma node 174:3 */

.lsn {
  min-width: 0;
  color: var(--ink, #061321);
  font-family: 'Manrope', 'Vazirmatn', Tahoma, sans-serif;
}

.lsn-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 338px;
  column-gap: 12px;
  row-gap: 8px;
  align-items: stretch;
  min-width: 0;
}

.lsn-bar,
.lsn-side,
.lsn-stage,
.lsn-next,
.lsn-util,
.lsn-gauge,
.lsn-notes,
.lsn-files,
.lsn-about {
  background: rgba(245, 242, 234, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(6, 19, 33, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lsn-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding: 14px 18px 14px 16px;
  border-radius: 18px;
}

.lsn-bar p {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  line-height: 1.4;
  color: #061321;
}

.lsn-bar h1 {
  margin: 2px 0 0;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 1.6px;
  line-height: 1.15;
  color: #061321;
}

.lsn-bar__tag {
  margin: 0;
  flex-shrink: 0;
  text-align: right;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.4;
  color: rgba(6, 19, 33, 0.72);
}

.lsn-side,
.lsn-util {
  border-radius: 18px;
  padding: 16px 12px 18px;
  height: 100%;
}

.lsn-side__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding: 4px 4px 0;
}

.lsn-side__head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.1;
}

.lsn-side__head p {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: rgba(6, 19, 33, 0.82);
}

.lsn-side__meter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 110px;
  padding-top: 4px;
}

.lsn-side__meter strong {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
}

.lsn-side__meter span {
  display: block;
  width: 110px;
  height: 8px;
  border-radius: 4px;
  background: rgba(6, 19, 33, 0.12);
  overflow: hidden;
}

.lsn-side__meter i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: #f0c24b;
}

.lsn-side ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lsn-row {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(245, 242, 234, 0.32);
  color: #061321;
  text-align: left;
  cursor: pointer;
}

.lsn-row.is-now {
  background: rgba(6, 19, 33, 0.9);
  border-color: rgba(240, 194, 75, 0.55);
  box-shadow: inset 4px 0 0 #f0c24b;
  color: #f5f2ea;
}

.lsn-row__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #061321;
}

.lsn-row.is-now .lsn-row__mark {
  background: #f0c24b;
}

.lsn-row__mark .lx-icon {
  width: 18px;
  height: 18px;
}

.lsn-row__copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lsn-row__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.lsn-row__top b {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.lsn-row__top em {
  font-style: normal;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(6, 19, 33, 0.65);
}

.lsn-row.is-now .lsn-row__top em,
.lsn-row.is-now .lsn-row__title {
  color: rgba(245, 242, 234, 0.75);
}

.lsn-row__title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: rgba(6, 19, 33, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lsn-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.lsn-stage {
  border-radius: 18px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lsn-video {
  position: relative;
  height: min(448px, 52vw);
  min-height: 240px;
  border-radius: 14px;
  overflow: hidden;
  background: #061321;
}

.lsn-video__still,
.lsn-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lsn-video.is-ready .lsn-video__still { visibility: hidden; }

.lsn-read {
  padding: 16px 18px 8px;
  color: #061321;
}

.lsn-read__body { font-size: 15px; line-height: 1.55; }
.lsn-read__body h3 {
  margin: 14px 0 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lsn-read__body p { margin: 0 0 8px; }
.lsn-read__body ul { margin: 0 0 8px; padding-left: 18px; }
.lsn-read__body li { margin: 4px 0; }

.lsn-video__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 19, 33, 0.04) 40%, rgba(6, 19, 33, 0.62) 100%);
  pointer-events: none;
}

.lsn-video__play {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: #f0c24b;
  color: #061321;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(6, 19, 33, 0.35);
}

.lsn-video__play .lx-icon { width: 28px; height: 28px; margin-left: 3px; }

.lsn-video__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 36px 14px 12px;
  background: linear-gradient(180deg, rgba(6, 19, 33, 0), rgba(6, 19, 33, 0.88));
  color: #f5f2ea;
}

.lsn-video__mid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 2px;
}

.lsn-video__tools {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.lsn-video__mini,
.lsn-video__tool,
.lsn-video__cc {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #f5f2ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.lsn-video__mini .lx-icon,
.lsn-video__tool .lx-icon { width: 18px; height: 18px; }

.lsn-video__cc {
  width: 28px;
  height: 22px;
  border: 1px solid #f5f2ea;
  border-radius: 5px;
  font: 700 9px/1 'Manrope', sans-serif;
  letter-spacing: 0.4px;
}

.lsn-video__scrub {
  height: 18px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.lsn-video__scrub i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f0c24b var(--fill, 100%), rgba(255, 255, 255, 0.38) var(--fill, 100%));
  width: 100%;
  position: relative;
}

.lsn-video__scrub {
  position: relative;
}

.lsn-video__scrub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.38);
}

.lsn-video__scrub i {
  position: relative;
  z-index: 1;
  background: #f0c24b;
}

.lsn-video__time {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.lsn-about {
  border-radius: 16px;
  padding: 14px 16px 12px;
  background: rgba(245, 242, 234, 0.55);
}

.lsn-about h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.15;
}

.lsn-about p {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: rgba(6, 19, 33, 0.78);
}

.lsn-about footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.lsn-about__mins {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.lsn-about__rule {
  width: 1px;
  height: 22px;
  background: rgba(6, 19, 33, 0.22);
}

.lsn-about__kind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
}

.lsn-about__kind .lx-icon { width: 18px; height: 18px; }

.lsn-about__go {
  margin-inline-start: auto;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: rgba(6, 19, 33, 0.9);
  color: #f5f2ea;
  font: 700 13px/1 'Manrope', sans-serif;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.lsn-about__go .lx-icon { width: 14px; height: 14px; }

.lsn-next {
  min-height: 76px;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lsn-next__file {
  width: 44px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(6, 19, 33, 0.15);
  background: rgba(245, 242, 234, 0.36);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lsn-next__file .lx-icon { width: 20px; height: 20px; }

.lsn-next__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.lsn-next__copy strong {
  font-size: 11px;
  letter-spacing: 0.7px;
}

.lsn-next__copy em {
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(6, 19, 33, 0.7);
}

.lsn-next__rule {
  width: 1px;
  align-self: stretch;
  margin: 4px 0;
  background: rgba(6, 19, 33, 0.2);
}

.lsn-next__jump {
  margin: 0 auto 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
}

.lsn-next__jump b { letter-spacing: 0.4px; }

.lsn-next__jump span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lsn-next__go {
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  border-radius: 50%;
  border: 1px solid rgba(6, 19, 33, 0.18);
  background: rgba(255, 255, 255, 0.45);
  color: #061321;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.lsn-next__go .lx-icon { width: 18px; height: 18px; }

.lsn-util {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(245, 242, 234, 0.48);
}

.lsn-gauge,
.lsn-notes,
.lsn-files {
  border-radius: 18px;
  background: rgba(245, 242, 234, 0.48);
}

.lsn-gauge {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 142px;
  padding: 10px 14px;
}

.lsn-gauge__ring {
  position: relative;
  width: 118px;
  height: 118px;
  flex-shrink: 0;
}

.lsn-gauge__ring svg { width: 100%; height: 100%; }

.lsn-gauge__ring div {
  position: absolute;
  inset: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lsn-gauge__ring strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
}

.lsn-gauge__ring span {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: rgba(6, 19, 33, 0.65);
}

.lsn-gauge__copy {
  min-width: 0;
  flex: 1;
}

.lsn-gauge__copy strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.8px;
}

.lsn-gauge__copy i {
  display: block;
  height: 1px;
  margin: 10px 0;
  background: rgba(6, 19, 33, 0.18);
}

.lsn-gauge__copy p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(6, 19, 33, 0.76);
}

.lsn-notes,
.lsn-files {
  padding: 12px 14px 14px;
}

.lsn-notes header,
.lsn-files header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.lsn-notes h2,
.lsn-files h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.lsn-notes header button,
.lsn-files header button {
  border: 0;
  background: transparent;
  color: #061321;
  font: 700 10px/1 'Manrope', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  min-height: 32px;
}

.lsn-notes__field {
  position: relative;
  display: block;
  min-height: 80px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(245, 242, 234, 0.55);
  box-shadow: inset 3px 0 0 rgba(6, 19, 33, 0.35);
  overflow: hidden;
}

.lsn-notes__field textarea {
  width: 100%;
  min-height: 80px;
  resize: none;
  border: 0;
  background: transparent;
  padding: 12px 64px 12px 16px;
  font: 600 12px/1.4 'Manrope', 'Vazirmatn', sans-serif;
  color: #061321;
}

.lsn-notes__field textarea::placeholder { color: rgba(6, 19, 33, 0.55); }

.lsn-notes__field em {
  position: absolute;
  top: 12px;
  right: 12px;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: rgba(6, 19, 33, 0.55);
}

.lsn-notes__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.lsn-notes__list,
.lsn-notes__add {
  min-height: 44px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lsn-notes__list {
  width: 44px;
  border: 1px solid rgba(6, 19, 33, 0.15);
  background: rgba(245, 242, 234, 0.36);
  color: #061321;
}

.lsn-notes__list .lx-icon { width: 18px; height: 18px; }

.lsn-notes__add {
  border: 0;
  padding: 0 16px 0 10px;
  background: rgba(6, 19, 33, 0.9);
  color: #f5f2ea;
  font: 700 11px/1 'Manrope', sans-serif;
  letter-spacing: 0.7px;
  gap: 8px;
}

.lsn-notes__add .lx-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.lsn-files ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lsn-files li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 6px 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(245, 242, 234, 0.48);
}

.lsn-files__ico .lx-icon { width: 18px; height: 18px; color: #061321; }

.lsn-files li span:nth-child(2) {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lsn-files strong {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lsn-files em {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: rgba(6, 19, 33, 0.55);
}

.lsn-files li button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(6, 19, 33, 0.1);
  background: rgba(255, 255, 255, 0.55);
  color: #061321;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.lsn-files li button .lx-icon { width: 15px; height: 15px; }

@media (max-width: 1180px) {
  .lsn-grid { grid-template-columns: 280px minmax(0, 1fr); }
  .lsn-util { grid-column: 1 / -1; min-height: 0; }
}

@media (max-width: 860px) {
  .lsn-grid { grid-template-columns: 1fr; }
  .lsn-side,
  .lsn-util { min-height: 0; }
  .lsn-bar { align-items: flex-start; }
  .lsn-bar h1 { font-size: 24px; letter-spacing: 0; }
  .lsn-bar__tag { display: none; }
  .lsn-about h2 { font-size: 22px; }
  .lsn-about footer { flex-wrap: wrap; }
  .lsn-about__go { margin-inline-start: 0; }
  .lsn-next { flex-wrap: wrap; }
  .lsn-next__jump { margin: 0; width: 100%; }
  .lsn-video { height: 220px; min-height: 200px; }
  .lsn-video__time { display: none; }
}

.lsn-video__cc.is-on { color: #f0c24b; }
.lsn-video__set { position: relative; }
.lsn-video__menu {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 36px;
  display: flex;
  flex-direction: column;
  min-width: 120px;
  padding: 6px;
  border-radius: 10px;
  background: #061321;
}
.lsn-video__menu button {
  min-height: 36px;
  border: 0;
  background: transparent;
  color: #f5f2ea;
  font: inherit;
  cursor: pointer;
}
.lsn-video__menu button.is-on { color: #f0c24b; }
.lsn-notes__all { margin: 0 0 8px; padding: 0; list-style: none; }
.lsn-notes__all button { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; min-height: 36px; }
.lsn-files a { color: inherit; display: grid; place-items: center; }
