.seller-shell {
  max-width: 1180px;
  margin: auto;
  padding: 28px 18px 70px;
  display: grid;
  gap: 20px;
}
.seller-hero,
.seller-card {
  background: #fff;
  border: 1px solid #b8e2df;
  border-radius: 20px;
  padding: 22px;
}
.seller-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.seller-card h2 {
  margin-top: 0;
}
.license-row,
.owned-course {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid #d7ecea;
  border-radius: 14px;
  margin: 10px 0;
}
.license-row div,
.owned-course div {
  display: grid;
  gap: 5px;
}
.license-row small,
.owned-course small {
  color: #52706e;
}
.owned-course img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}
.owned-course div {
  flex: 1;
}
.pill {
  background: #eef8f7;
  border-radius: 99px;
  padding: 7px 12px;
}
.seller-form,
.seller-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.seller-form label,
.seller-grid label {
  display: grid;
  gap: 7px;
}
.seller-form input,
.seller-form textarea {
  width: 100%;
}
.span2 {
  grid-column: 1/-1;
}
.seller-form fieldset {
  border: 1px solid #cce5e3;
  border-radius: 14px;
  padding: 15px;
}
.seller-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.seller-summary > div {
  display: grid;
  background: #e8f8f6;
  border-radius: 14px;
  padding: 16px;
  min-width: 180px;
}
.seller-summary b {
  font-size: 1.5rem;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 12px;
  border-bottom: 1px solid #dceae9;
  text-align: left;
}
@media (max-width: 700px) {
  .seller-hero,
  .license-row,
  .owned-course {
    align-items: flex-start;
    flex-direction: column;
  }
  .seller-form,
  .seller-grid {
    grid-template-columns: 1fr;
  }
  .span2 {
    grid-column: auto;
  }
}
.platform-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}
.platform-tags label {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px;
  padding: 9px;
  border: 1px solid #c8e6e3;
  border-radius: 10px;
  background: #f7fffe;
}
.platform-tags input {
  width: auto !important;
}
.account-lock-warning,
.course-cover-rule {
  padding: 13px;
  border-radius: 12px;
  background: #fff3d8;
  color: #684d08;
  line-height: 1.65;
}
.payment-profile-summary {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid #b9dfdc;
  border-radius: 13px;
  background: #effaf9;
}
.review-note {
  padding: 9px;
  border-radius: 9px;
  background: #fff0d3;
  color: #704e00;
}
@media (max-width: 700px) {
  .platform-tags {
    grid-template-columns: 1fr 1fr;
  }
}
.seller-basket-actions {
  display: flex !important;
  flex: 0 0 auto !important;
  gap: 7px;
}
.seller-basket-actions a,
.seller-basket-actions button {
  padding: 8px 10px;
  border: 1px solid #078e87;
  border-radius: 8px;
  background: #fff;
  color: #075f5a;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.seller-basket-actions button {
  border-color: #c33;
  color: #a00;
}
.seller-shell,
.seller-shell * {
  box-sizing: border-box;
}
.seller-card,
.seller-card form,
.seller-card label,
.seller-card div {
  min-width: 0;
}
.seller-form input,
.seller-form textarea,
.seller-form select,
.seller-grid input,
.seller-grid textarea,
.seller-grid select {
  max-width: 100%;
  box-sizing: border-box;
  font: inherit;
}
.seller-form input[type="file"] {
  overflow: hidden;
}
.seller-card h1,
.seller-card h2,
.seller-card p,
.owned-course b,
.license-row b {
  overflow-wrap: anywhere;
}
.table-wrap {
  max-width: 100%;
  overscroll-behavior-inline: contain;
}
.table-wrap table {
  min-width: 680px;
}
.table-wrap:focus {
  outline: 3px solid #0abab544;
}
@media (max-width: 700px) {
  .seller-shell {
    width: 100%;
    padding: 12px 9px 64px;
  }
  .seller-hero,
  .seller-card {
    padding: 15px;
    border-radius: 15px;
  }
  .seller-hero .primary,
  .seller-form > .primary {
    width: 100%;
    min-height: 44px;
    text-align: center;
  }
  .seller-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .seller-summary > div {
    min-width: 0;
    padding: 12px;
  }
  .seller-summary > button {
    min-height: 44px;
  }
  .license-row,
  .owned-course {
    width: 100%;
  }
  .owned-course img {
    width: 64px;
    height: 64px;
  }
  .seller-basket-actions {
    display: grid !important;
    width: 100%;
  }
  .seller-basket-actions a,
  .seller-basket-actions button {
    min-height: 42px;
    text-align: center;
  }
  .platform-tags {
    grid-template-columns: 1fr 1fr;
  }
  .table-wrap {
    padding-bottom: 5px;
  }
  .seller-form fieldset {
    min-width: 0;
    margin: 0;
  }
  .account-lock-warning,
  .course-cover-rule {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 360px) {
  .seller-summary,
  .platform-tags {
    grid-template-columns: 1fr;
  }
  .seller-file-list span {
    align-items: flex-start;
    flex-direction: column;
  }
}
.vision5-credit-summary {
  border-color: #80d9d4;
  background: #fff;
}
.seller-section-number {
  margin: 0 0 5px;
  color: #087d77;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.seller-overview-card {
  background: linear-gradient(135deg, #ffffff 0%, #eafaf8 100%);
}
.seller-create-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 20px;
}
.seller-create-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.seller-table-total {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #e9faf8;
  color: #075f5b;
}
.seller-table-total b {
  font-size: 1.25rem;
}
.seller-slip-link {
  color: #087d77;
  font-weight: 900;
}
.seller-no-slip {
  color: #637b79;
}
@media (max-width: 700px) {
  .seller-create-actions {
    display: grid;
  }
  .seller-create-actions > * {
    width: 100%;
    min-height: 44px;
  }
}
.vision5-credit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.vision5-credit-grid > article {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid #8edbd6;
  border-radius: 14px;
  background: #e9faf8;
}
.vision5-credit-grid > article:focus-within {
  border-color: #08aaa4;
  box-shadow: 0 0 0 4px rgba(8,170,164,.15);
}
.vision5-credit-grid b {
  font-size: 24px;
  color: #076a65;
}
.vision5-credit-grid button {
  margin-top: 8px;
  min-height: 44px;
  border: 1px solid #08aaa4;
  border-radius: 10px;
  background: #fff;
  color: #076a65;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.vision5-credit-grid button:hover,
.vision5-credit-grid button:focus-visible {
  background: #08aaa4;
  color: #fff;
  outline: none;
}
.course-plan-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}
.course-plan-card-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #08aaa4;
  border-radius: 10px;
  background: #087d77;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}
.course-create-page .seller-shell {
  max-width: 920px;
}
.course-create-page #createPanel {
  margin-top: 24px;
}
.course-create-page .seller-hero,
#createCourseBasket[hidden],
.course-create-page label[hidden] {
  display: none !important;
}
.course-create-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 18px;
  color: #076a65;
  font-weight: 900;
  text-decoration: none;
}
.course-plan-page-head {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid #8edbd6;
  border-radius: 16px;
  background: #e9faf8;
}
.course-plan-page-head small {
  color: #08756f;
  font-weight: 900;
}
.course-plan-page-head h1 {
  margin: 4px 0 8px;
}
.course-plan-page-head p {
  margin: 0;
}
.course-plan-head-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: -12px 0 24px;
}
.course-plan-head-actions .course-step-action {
  margin-top: 0;
}
.course-plan-flow {
  margin: 0 0 24px;
}
.course-step-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid #087d77;
  border-radius: 10px;
  background: #087d77;
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
@media (max-width: 700px) {
  .course-plan-head-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .course-plan-head-actions > * {
    width: 100%;
  }
}
.course-plan-condition {
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 1px solid #e4c66b;
  border-radius: 14px;
  background: #fff7dc;
}
.course-plan-condition p {
  margin: 6px 0 0;
}
.course-rights-stepper {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 8px;
  margin-bottom: 20px;
}
.course-rights-stepper span {
  display: grid;
  gap: 5px;
  min-height: 76px;
  align-content: center;
  padding: 10px 7px;
  border: 1px solid #8edbd6;
  border-radius: 12px;
  background: #effbf9;
  color: #075f5b;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}
.course-rights-stepper b {
  width: 26px;
  height: 26px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #087d77;
  color: #fff;
}
.course-rights-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid #8edbd6;
  border-radius: 14px;
  background: #e9faf8;
}
.course-rights-section h2 { margin: 3px 0 7px; }
.course-rights-section b { display:block; font-size: 26px; color:#076a65; }
.course-create-page [data-step]::before {
  content: "ขั้นที่ " attr(data-step);
  display: block;
  margin-bottom: 5px;
  color: #087d77;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}
.course-rights-readiness ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.course-rights-readiness li {
  padding: 12px 14px;
  border: 1px solid #cce5e3;
  border-radius: 10px;
  background: #f7fffe;
}
@media (max-width:700px) {
  .course-rights-stepper { grid-template-columns: 1fr 1fr; }
  .course-rights-section { align-items:stretch; flex-direction:column; }
  .course-rights-readiness ul { grid-template-columns:1fr; }
}
.course-create-page #paymentProfilePanel,
.course-create-page #slipApiPanel {
  margin: 0 0 20px;
  padding: 20px;
  border: 1px solid #8edbd6;
  box-shadow: none;
}
.seller-course-plan {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #def7f4;
  color: #076a65;
  font-size: 12px;
  font-weight: 900;
}
.slip-auto-toggle {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #8edbd6;
  border-radius: 14px;
  background: #e9faf8;
  font-weight: 900;
}
.slip-auto-toggle input {
  width: 22px !important;
  height: 22px;
}
.seller-form select {
  min-height: 46px;
  background: #fff;
  color: #063d3b;
}
.topbar nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
}
.topbar nav a[aria-current="page"] {
  background: #e8faf8;
  border: 2px solid #0abab5;
  color: #063d3b;
}
@media (max-width: 700px) {
  .vision5-credit-grid {
    grid-template-columns: 1fr;
  }
  .topbar nav a {
    min-height: 46px;
  }
}
.seller-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(0, 250px));
  justify-content: start;
  gap: 18px;
}
.seller-course-card {
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid #9bded9 !important;
  border-radius: 16px !important;
  background: #fff;
}
.seller-course-card > img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: #fff;
  border-bottom: 1px solid #aeb9bd;
}
.seller-course-card-body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
}
.seller-course-card h3 {
  margin: 0;
  color: #063d3b;
  font-size: 19px;
}
.seller-course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: #526d6b;
}
.seller-course-meta b {
  color: #d52232;
}
.seller-course-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.seller-course-ep,
.seller-course-status {
  width: max-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8faf8;
  color: #075f5b;
  font-weight: 800;
}
.seller-course-status[data-status="approved"] {
  background: #e6f8ed;
  color: #176b37;
}
.seller-course-status[data-status="changes_requested"] {
  background: #fff0f0;
  color: #a12028;
}
.seller-course-status[data-status="pending"] {
  background: #fff7dd;
  color: #765300;
}
.seller-course-card .seller-basket-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding: 0 16px 16px;
}
.seller-course-card .seller-basket-actions > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #0abab5;
  border-radius: 11px;
  background: #fff;
  color: #063d3b;
  font-weight: 900;
  text-decoration: none;
}
.seller-course-card .seller-basket-actions .seller-basket-primary {
  grid-column: 1/-1;
  background: #0abab5;
  color: #063d3b;
}
.seller-course-card .seller-basket-actions button:disabled {
  border-color: #cbd8d7;
  background: #edf3f2;
  color: #687b79;
  cursor: not-allowed;
}
.seller-course-empty {
  grid-column: 1/-1;
  padding: 24px;
  text-align: center;
  border: 1px dashed #82d8d3;
  border-radius: 14px;
  background: #f4fdfc;
}
.seller-course-empty p {
  margin-bottom: 0;
}
.slip-mode-switch {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px 16px;
  border: 1px solid #82d8d3;
  border-radius: 16px;
  background: #f3fdfc;
  cursor: pointer;
}
.slip-mode-switch span {
  display: grid;
  gap: 3px;
}
.slip-mode-switch small {
  font-weight: 600;
  color: #52706e;
}
.slip-mode-switch input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
}
.slip-mode-switch i {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: #b7c9c7;
  transition: 0.18s;
}
.slip-mode-switch i:after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px #063d3b33;
  transition: 0.18s;
}
.slip-mode-switch input:checked + i {
  background: #0abab5;
}
.slip-mode-switch input:checked + i:after {
  transform: translateX(26px);
}
.slip-mode-switch:has(input:focus-visible) {
  outline: 3px solid #075f5b;
  outline-offset: 3px;
}
.course-cover-upload {
  align-self: start;
}
.course-basket-form {
  align-items: start;
}
.course-basket-form > label {
  align-content: start;
}
.course-basket-form .course-cover-upload {
  grid-column: 1;
  grid-row: 1 / span 3;
}
.course-basket-form .course-basket-title {
  grid-column: 2;
  grid-row: 1;
}
.course-basket-form .course-basket-teacher {
  grid-column: 2;
  grid-row: 2;
}
.course-basket-form .course-basket-summary {
  grid-column: 2;
  grid-row: 3;
}
.course-cover-preview {
  display: grid;
  gap: 8px;
  width: 250px;
  max-width: 100%;
  margin: 10px 0 0;
}
.course-cover-preview[hidden] {
  display: none;
}
.course-cover-preview img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: 290px;
  object-fit: contain;
  border: 1px solid #8edbd6;
  border-radius: 14px;
  background: #fff;
}
.course-cover-preview figcaption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.course-cover-preview button {
  min-height: 44px;
  border: 1px solid #0abab5;
  border-radius: 10px;
  background: #fff;
  color: #063d3b;
  font-weight: 900;
}
.course-cover-preview button:last-child {
  border-color: #e88383;
  color: #9b2026;
}
.upload-image-preview {
  display: grid;
  gap: 8px;
  width: min(100%, 320px);
  margin: 10px 0 0;
  padding: 10px;
  border: 1px solid #8edbd6;
  border-radius: 14px;
  background: #fff;
}
.upload-image-preview[hidden] {
  display: none;
}
.upload-image-preview img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: contain;
  border-radius: 10px;
  background: #effaf9;
}
.upload-image-preview--document img {
  height: 180px;
}
.upload-image-preview figcaption {
  overflow-wrap: anywhere;
  color: #315b59;
  font-size: 13px;
  font-weight: 700;
}
.seller-lesson-workspace {
  display: grid;
  gap: 14px;
}
.seller-lesson-workspace.seller-lesson-embedded {
  margin: 28px 0 0;
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid #a9e0dd;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.seller-lesson-workspace[hidden] {
  display: none;
}
.company-course-workspace .course-payment-choice {
  gap: 10px;
  padding: 14px;
  border-color: #9bd9d4;
  background: #f8fffe;
}
.company-course-workspace .course-payment-choice legend {
  padding: 0 7px;
  color: #075f5b;
  font-weight: 900;
}
.seller-form .course-payment-choice > label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  justify-content: initial;
  gap: 12px;
  min-height: 72px;
  padding: 13px 15px;
  border: 1px solid #c5e2df;
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.seller-form .course-payment-choice > label:hover {
  border-color: #35bdb5;
  background: #f0fffd;
  transform: translateY(-1px);
}
.seller-form .course-payment-choice > label:has(input:checked) {
  border-color: #07958d;
  background: linear-gradient(135deg, #e3fbf8, #f7fffe);
  box-shadow: 0 0 0 2px #0abab526, 0 7px 18px #087d7614;
}
.seller-form .course-payment-choice input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0;
  border: 2px solid #7faaa6;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}
.seller-form .course-payment-choice input[type="radio"]:checked {
  border-color: #078b84;
  background: #0abab5;
}
.seller-form .course-payment-choice > label:has(input:focus-visible) {
  outline: 3px solid #ffc94d;
  outline-offset: 2px;
}
.seller-form .course-payment-choice > label > span {
  display: grid;
  gap: 4px;
  text-align: left;
}
.seller-form .course-payment-choice b {
  color: #063d3b;
  font-size: 15px;
  line-height: 1.3;
}
.seller-form .course-payment-choice small {
  color: #526d69;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: normal;
  word-break: keep-all;
}
.company-course-final-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.company-course-final-actions .vds-btn {
  width: 100%;
  min-height: 50px;
}
.admin-course-actions {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 72px;
  align-items: stretch;
  gap: 8px;
}
.admin-course-actions button {
  min-height: 46px;
}
.admin-course-actions .admin-course-delete {
  border-color: #e06464;
  background: #fff5f5;
  color: #a72028;
}
.admin-course-actions .admin-course-delete:hover {
  background: #ffe4e4;
}
@media (max-width: 620px) {
  .company-course-final-actions {
    grid-template-columns: 1fr;
  }
  .admin-course-item {
    grid-template-columns: 1fr;
  }
}
.seller-lesson-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.seller-lesson-head h2 {
  margin: 3px 0;
}
.seller-lesson-head > div:last-child {
  display: flex;
  gap: 8px;
}
.seller-lesson-head button {
  min-height: 46px;
  padding: 10px 15px;
}
.seller-lesson-editor {
  margin: 0;
  padding: 18px;
  border: 1px solid #8edbd6;
  border-radius: 16px;
  background: #f4fdfc;
}
.company-lesson-blocks {
  display: grid;
  gap: 12px;
}
.company-lesson-block {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #8edbd6;
  border-radius: 16px;
  background: #f4fdfc;
}
.company-lesson-block > img,
.company-lesson-file-mark {
  width: 150px;
  height: 105px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #bce8e5;
}
.company-lesson-file-mark {
  display: grid;
  place-items: center;
  color: #087e79;
  font-weight: 900;
}
.company-lesson-block__body {
  display: grid;
  gap: 5px;
}
.company-lesson-block__body p {
  margin: 0;
  white-space: pre-wrap;
}
.company-lesson-block__actions {
  display: grid;
  gap: 8px;
}
.company-lesson-block__actions button {
  min-height: 42px;
}
.company-lesson-block__actions button:last-child {
  border-color: #e88383;
  color: #9b2026;
}
.company-lesson-empty {
  margin: 0;
  padding: 14px;
  border: 1px dashed #8edbd6;
  border-radius: 14px;
}
.seller-lesson-editor[hidden] {
  display: none !important;
}
.seller-lesson-editor.is-editing {
  outline: 3px solid #0abab5;
  outline-offset: 3px;
}
.saved-upload-status{display:block;margin-top:7px;padding:8px 10px;border-radius:9px;background:#dcf8ec;color:#14613d;font-weight:800}.saved-upload-status[hidden]{display:none}
.pending-lesson-error{margin:0;padding:10px 12px;border:1px solid #e05252;border-radius:10px;background:#fff0f0;color:#a51f1f;font-weight:900}
.company-pending-lesson-full{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.pending-lesson-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.pending-lesson-heading h3{margin:0}.pending-lesson-heading button{padding:10px 16px;border:1px solid #e03131;border-radius:12px;background:#fff;color:#b42323;font-weight:800}.pending-lesson-field{display:grid;align-content:start;gap:7px;min-height:72px;padding:12px;border:1px solid #bce8e5;border-radius:12px;background:#fff;font-weight:700;color:#315b59}.pending-lesson-field input,.pending-lesson-field textarea{width:100%;box-sizing:border-box}.pending-lesson-field small{font-weight:700;color:#075f5a;overflow-wrap:anywhere}.pending-lesson-preview{width:min(240px,100%);max-height:180px;object-fit:contain;border:1px solid #bce8e5;border-radius:10px;background:#f8ffff}@media(max-width:700px){.company-pending-lesson-full{grid-template-columns:1fr}.company-pending-lesson-full .span2{grid-column:1}}
.seller-lesson-list {
  display: grid;
  gap: 10px;
}
.seller-ep {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #c4e7e4;
  border-radius: 14px;
  background: #fff;
}
.seller-ep-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #dff8f5;
  color: #075f5b;
  font-size: 18px;
  font-weight: 900;
}
.seller-ep small {
  display: block;
  margin-top: 4px;
  color: #587270;
}
.seller-ep p {
  margin: 6px 0;
}
.seller-ep-actions {
  display: flex;
  gap: 7px;
}
.seller-ep-actions button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #0abab5;
  border-radius: 10px;
  background: #fff;
  color: #063d3b;
  font-weight: 900;
}
.seller-ep-actions button:last-child {
  border-color: #ee8b8b;
  color: #9d2027;
}
@media (max-width: 700px) {
  .slip-mode-switch {
    min-height: 72px;
  }
  .seller-course-grid {
    grid-template-columns: 1fr;
  }
  .seller-course-card {
    width: 100%;
  }
  .seller-course-card > img {
    width: 100%;
    height: min(78vw, 320px);
    min-height: 230px;
  }
  .seller-course-card .seller-basket-actions > * {
    min-height: 48px;
  }
  .seller-lesson-head {
    align-items: stretch;
    flex-direction: column;
  }
  .seller-lesson-head > div:last-child {
    display: grid;
    grid-template-columns: 1fr;
  }
  .seller-lesson-head button {
    width: 100%;
    min-height: 48px;
  }
  .seller-ep {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .seller-ep-actions {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .seller-ep-actions button {
    min-height: 48px;
  }
  .seller-lesson-editor {
    padding: 14px;
  }
  .company-lesson-block {
    grid-template-columns: 90px minmax(0, 1fr);
  }
  .company-lesson-block > img,
  .company-lesson-file-mark {
    width: 90px;
    height: 90px;
  }
  .company-lesson-block__actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
  .course-cover-preview figcaption {
    grid-template-columns: 1fr;
  }
  .course-basket-form .course-cover-upload,
  .course-basket-form .course-basket-title,
  .course-basket-form .course-basket-teacher,
  .course-basket-form .course-basket-summary {
    grid-column: 1;
    grid-row: auto;
  }
}
.seller-api-link {
  display: grid;
  gap: 6px;
}
.seller-api-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--vd-primary, #0abab5);
  border-radius: 12px;
  background: #fff;
  color: #075f5b;
  font-weight: 800;
  text-decoration: none;
}
.seller-api-link a:hover {
  background: #e8faf8;
}
.seller-api-link small {
  color: #456b69;
}
.course-shared-setting-note{padding:12px 14px;border:1px solid #83cdc8;border-radius:12px;background:#effbf9;color:#075f5a;font-weight:800}
.course-plan-payment-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.course-plan-payment-rules p{display:grid;gap:5px;margin:0;padding:12px;border:1px solid #9bded9;border-radius:12px;background:#effcfb}.course-plan-payment-rules span{font-size:.9rem;color:#315b59}@media(max-width:720px){.course-plan-payment-rules{grid-template-columns:1fr}}
.seller-send-review{width:100%;margin-top:14px}.seller-send-review+ p{text-align:center;color:#456b69;font-weight:700}.course-create-page #sellerLessonManager,.course-create-page #publishPanel{margin-bottom:20px}.course-credit-guard{display:grid;grid-template-columns:1fr auto;gap:4px 16px;margin:0 0 18px;padding:16px 18px;border:1px solid #e0c263;border-radius:14px;background:#fff7dc}.course-credit-guard small,.course-credit-guard span{grid-column:1}.course-credit-guard b{grid-column:2;grid-row:1/3;align-self:center;font-size:28px;color:#075f5a}.course-credit-guard[data-ready="false"]{border-color:#df8d8d;background:#fff0f0}.course-credit-guard[data-ready="false"] b{color:#b32323}
.course-credit-actions{display:grid;grid-template-columns:1fr;gap:8px;min-width:220px}.course-credit-actions button,.course-credit-actions a{width:100%;box-sizing:border-box;text-align:center}.course-credit-actions button:disabled{cursor:not-allowed;opacity:.62}
.course-sales-dashboard{margin-top:20px}.course-sales-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:12px;align-items:end;margin:16px 0}.course-sales-filter label{display:grid;gap:6px;font-weight:800}.course-sales-filter input,.course-sales-filter button{min-height:46px;box-sizing:border-box}.course-sales-filter button{padding:10px 18px;border:0;border-radius:11px;background:#0abab5;color:#fff;font-weight:900;cursor:pointer}.course-sales-range{color:#456b69;font-weight:700}.course-sales-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.course-sales-summary article{display:grid;gap:6px;padding:14px;border:1px solid #9bded9;border-radius:12px;background:#effcfb}.course-sales-summary b{font-size:1.25rem;color:#075f5a}.course-sales-table-wrap{overflow-x:auto;border:1px solid #b8dedb;border-radius:12px}.course-sales-rows{min-width:820px}.course-sales-row{display:grid;grid-template-columns:1.2fr 1.1fr 1.6fr .8fr .8fr;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #d8ecea}.course-sales-row:last-child{border-bottom:0}.course-sales-head{background:#e5f8f6;color:#075f5a}.course-sales-empty,.course-sales-note{padding:18px;text-align:center;color:#456b69}@media(max-width:700px){.course-sales-filter{grid-template-columns:1fr}.course-sales-summary{grid-template-columns:1fr 1fr}}
.course-center-owned{margin-top:20px}.course-center-owned-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.course-center-owned-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;padding:12px;border:1px solid #82d2cd;border-radius:14px;background:#f5fffe;color:#073d3b;text-decoration:none;transition:transform .15s,box-shadow .15s}.course-center-owned-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px #075f5a20}.course-center-owned-card img{width:92px;height:112px;object-fit:cover;border-radius:10px;background:#e5f8f6}.course-center-owned-card>span{display:grid;align-content:start;gap:5px;min-width:0}.course-center-owned-card small{color:#08756f;font-weight:800}.course-center-owned-card b{font-size:1.05rem}.course-center-owned-card em{width:max-content;padding:4px 8px;border-radius:999px;background:#fff1cf;color:#805a00;font-style:normal;font-size:.78rem;font-weight:900}.course-center-owned-card em[data-status="approved"]{background:#daf7e5;color:#14652f}.course-center-owned-card em[data-status="changes_requested"]{background:#ffe0e0;color:#9b2424}.course-center-owned-card span span{color:#456b69;font-size:.84rem}.course-center-owned-card strong{color:#9b2424;font-size:.82rem}@media(max-width:700px){.course-center-owned-grid{grid-template-columns:1fr}.course-center-owned-card{grid-template-columns:76px minmax(0,1fr)}.course-center-owned-card img{width:76px;height:96px}}
