.learning-video-view {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 24px;
}
.learning-video-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 12px;
  padding: 0;
}
.learning-video-toolbar h2 {
  margin: 1px 0 2px;
}
.learning-video-toolbar p {
  margin: 0;
  color: #49685e;
}
.learning-video-shell {
  background: #fff;
  border: 1px solid #abc8bb;
  border-radius: 15px;
  overflow: hidden;
}
.learning-video-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
  background: #e5f0eb;
  border-bottom: 1px solid #abc8bb;
}
.learning-video-tabs button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #f1f7f4;
  color: #164d3e;
  font-weight: 800;
  text-align: left;
}
.learning-video-tabs button b {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background: #cce1d8;
}
.learning-video-tabs button.active {
  background: #fff;
  border-color: #428976;
  box-shadow: 0 2px 8px #173d3114;
}
.learning-video-tabs button.active b,
.learning-video-tabs button.done b {
  background: #176b53;
  color: #fff;
}
.learning-video-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  min-height: 390px;
}
.learning-video-work {
  padding: 22px 24px;
}
.learning-video-panel {
  max-width: 850px;
}
.learning-video-panel h3 {
  margin: 0 0 6px;
  font-size: 23px;
}
.learning-video-panel > p {
  margin: 0 0 18px;
  color: #527066;
}
.learning-video-panel label {
  display: grid;
  gap: 7px;
  margin: 13px 0;
  font-weight: 700;
}
.learning-video-style-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
  padding: 0;
  border: 0;
}
.learning-video-style-choice legend {
  grid-column: 1/-1;
  margin-bottom: 3px;
  font-weight: 800;
}
.learning-video-style-choice label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 13px;
  border: 1px solid #9db9ad;
  border-radius: 10px;
  background: #f8fbfa;
  cursor: pointer;
}
.learning-video-style-choice label:has(input:checked) {
  border-color: #267eb0;
  background: #eef7fc;
  box-shadow: 0 0 0 2px #267eb025;
}
.learning-video-style-choice input {
  width: auto;
  min-height: auto;
  margin: 3px 0 0;
}
.learning-video-style-choice span,
.learning-video-style-choice small {
  display: block;
}
.learning-video-style-choice small {
  margin-top: 5px;
  color: #4d6a60;
  font-weight: 500;
  line-height: 1.35;
}
.learning-video-price-parts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}
.learning-video-price-parts span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: #365a4f;
  font-size: 13px;
}
.learning-video-panel select,
.learning-video-panel input {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  border: 1px solid #99b6aa;
  border-radius: 9px;
  padding: 10px 12px;
  background: #fff;
  font: inherit;
}
.learning-video-range{margin:14px 0 4px;padding:12px 14px;border:1px solid #bfd1dc;border-radius:10px;background:#f7fbfd;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.learning-video-range.hidden{display:none}
.learning-video-range legend{padding:0 6px;font-weight:800;color:#173f57}
.learning-video-range>label{display:flex;align-items:center;gap:7px;margin:0}
.learning-video-range>label input{width:auto;margin:0}
.learning-video-range-fields{display:flex;gap:10px;flex-basis:100%}
.learning-video-range-fields.hidden{display:none}
.learning-video-range-fields label{margin:0;max-width:170px}
.learning-video-range-fields input{margin-top:5px}
.learning-video-panel-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}
.learning-video-panel-actions .right {
  margin-left: auto;
}
.learning-video-side {
  padding: 18px;
  background: #f6faf8;
  border-left: 1px solid #c5d8cf;
}
.learning-video-side > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.learning-video-side > header h3 {
  margin: 2px 0;
}
.learning-video-side > header span {
  background: #dcece5;
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 800;
}
.learning-video-quote {
  padding: 15px;
  border-left: 4px solid #267eb0;
  background: #eef7fc;
  border-radius: 7px;
  line-height: 1.55;
}
.learning-video-consent {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  font-weight: 500 !important;
}
.learning-video-consent input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}
.learning-video-item {
  background: #fff;
  border: 1px solid #b9d0c6;
  border-radius: 12px;
  padding: 14px;
  margin-top: 12px;
}
.learning-video-item h4 {
  margin: 0 0 4px;
}
.learning-video-item video {
  display: block;
  width: 100%;
  margin: 12px 0;
  border-radius: 8px;
  background: #102f42;
}
.learning-video-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.learning-video-actions a,
.learning-video-actions button {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #8eaea0;
  border-radius: 8px;
  background: #fff;
  color: #174e3f;
  font-weight: 700;
  text-decoration: none;
}
.learning-video-progress {
  height: 8px;
  border-radius: 999px;
  background: #dce8e3;
  overflow: hidden;
  margin-top: 10px;
}
.learning-video-progress i {
  display: block;
  height: 100%;
  background: #267eb0;
}
.learning-video-coverage {
  color: #176b53;
  font-weight: 800;
}
.learning-video-error {
  color: #982f2f;
}
.learning-video-hint {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f2f6f4;
  color: #49685e;
}
@media (max-width: 900px) {
  .learning-video-view {
    width: calc(100% - 20px);
  }
  .learning-video-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .learning-video-toolbar > div {
    width: 100%;
  }
  .learning-video-toolbar h2 {
    overflow-wrap: anywhere;
  }
  .learning-video-tabs {
    grid-template-columns: 1fr;
  }
  .learning-video-tabs button {
    min-height: 44px;
  }
  .learning-video-body {
    grid-template-columns: 1fr;
  }
  .learning-video-side {
    border-left: 0;
    border-top: 1px solid #c5d8cf;
  }
  .learning-video-work {
    padding: 18px;
  }
  .learning-video-style-choice {
    grid-template-columns: 1fr;
  }
}
