.lm-video-list{display:grid;gap:18px}.lm-video-card{border:1px solid #e2e8f0;border-radius:16px;padding:14px;background:#fff}.lm-video-card video,.lm-oembed iframe{width:100%;max-width:100%;border:0;border-radius:12px;aspect-ratio:16/9;background:#111}.lm-oembed{position:relative;overflow:hidden;border-radius:12px}.lm-score-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.lm-score-grid span{padding:9px 11px;border:1px solid #e2e8f0;border-radius:10px;display:flex;justify-content:space-between}.lm-classroom-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px}.lm-whiteboard-card canvas{width:100%;height:auto;aspect-ratio:24/13;border:1px solid #cbd5e1;border-radius:12px;background:#fff;touch-action:none;cursor:crosshair}.lm-class-files{list-style:none;padding:0;display:grid;gap:8px}.lm-class-files li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #eee;padding:8px 0}.lm-class-files .is-danger,.lm-checkout-consent .required{color:#b42318}.lm-consent-box{padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.lm-feedback.is-error{border-color:#f2b8b5;background:#fff5f5}@media(max-width:760px){.lm-classroom-grid{grid-template-columns:1fr}.lm-score-grid{grid-template-columns:1fr}}


/* 5.7.1 — student-visible teacher availability */
.lm-student-availability{margin-top:24px}
.lm-student-availability-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.lm-availability-teacher-card{border:1px solid var(--lm-border,#dce4ef);border-radius:16px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:14px}
.lm-availability-teacher-card header{display:flex;gap:12px;align-items:center}
.lm-availability-teacher-card header>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.lm-availability-teacher-card header strong{font-size:1.05rem}
.lm-availability-teacher-card header small,.lm-availability-teacher-card header span{color:#64748b;font-size:.86rem}
.lm-availability-slot-list{display:flex;flex-wrap:wrap;gap:8px}
.lm-availability-slot{display:inline-flex;align-items:center;padding:8px 10px;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;text-decoration:none;color:inherit;font-size:.88rem;transition:.18s ease}
.lm-availability-slot:hover,.lm-availability-slot:focus{border-color:#2563eb;background:#eff6ff;transform:translateY(-1px)}
.lm-availability-status{margin:10px 0 14px;padding:10px 12px;border-radius:12px;display:flex;flex-direction:column;gap:2px}
.lm-availability-status.is-visible{background:#ecfdf5;border:1px solid #a7f3d0}
.lm-availability-status.is-hidden{background:#fff7ed;border:1px solid #fed7aa}
.lm-availability-status small{color:#64748b}
@media(max-width:640px){.lm-student-availability-grid{grid-template-columns:1fr}.lm-availability-slot{width:100%;justify-content:center}}
.lm-whiteboard-livebar{display:flex;align-items:center;gap:7px;margin:0 0 10px;padding:8px 10px;border:1px solid #dbeafe;border-radius:10px;background:#f8fbff;font-size:13px}.lm-live-dot{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.14);flex:0 0 auto}.lm-whiteboard-livebar [data-lm-board-status]{color:#475569}.lm-whiteboard-livebar [data-lm-board-status].is-syncing{color:#1d4ed8}.lm-whiteboard-livebar [data-lm-board-status].is-error{color:#b42318}.lm-whiteboard-card form .lm-help{margin-inline-start:8px;font-size:12px;color:#64748b}

.lm-whiteboard-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 10px}.lm-board-tool{appearance:none;border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:9px;padding:8px 12px;cursor:pointer;font:inherit}.lm-board-tool:hover{background:#f8fafc}.lm-board-tool.is-active{background:#0f172a;color:#fff;border-color:#0f172a}.lm-whiteboard-stage{position:relative;width:100%}.lm-whiteboard-stage canvas{display:block}.lm-whiteboard-card canvas.is-text-mode{cursor:text}.lm-board-text-editor{position:absolute;z-index:5;min-width:150px;max-width:360px;min-height:46px;resize:both;padding:7px 9px;border:2px solid #2563eb;border-radius:8px;background:rgba(255,255,255,.97);color:#111827;font:24px/1.35 Tahoma,Arial,sans-serif;box-shadow:0 8px 24px rgba(15,23,42,.14);outline:none;direction:inherit;text-align:start}.lm-whiteboard-toolbar .lm-help{font-size:12px;color:#64748b}

/* 5.8.14 — teacher professional profile, trials, reviews and progress reports */
.lm-teacher-card__meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0}.lm-rating-inline,.lm-review-stars{font-weight:800;color:#92400e}.lm-badge--trial{background:#fff7ed!important;color:#9a3412!important;border:1px solid #fed7aa!important}.lm-rating-summary{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.lm-rating-summary strong{font-size:1.25rem}.lm-rating-summary span{font-size:.84rem;color:#64748b}.lm-specialty-chips{margin:12px 0}.lm-chip--accent{background:#eef2ff;border-color:#c7d2fe;color:#3730a3}.lm-teacher-qualifications{margin-top:16px;padding-top:14px;border-top:1px solid #e2e8f0}.lm-teacher-qualifications h3{margin:0 0 8px}.lm-teacher-video video,.lm-teacher-video iframe{display:block;width:100%;max-width:820px;aspect-ratio:16/9;border-radius:14px;background:#0f172a;border:0}.lm-review-list{display:grid;gap:12px}.lm-review{border:1px solid #e2e8f0;border-radius:14px;padding:14px;background:#fff}.lm-review>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.lm-review p{margin:10px 0}.lm-review small{color:#64748b}.lm-trial-note{margin-top:16px}.lm-teacher-stat-grid,.lm-skill-grid,.lm-skill-input-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lm-teacher-stat-grid>div,.lm-skill-grid>div{border:1px solid #e2e8f0;border-radius:12px;padding:12px;background:#f8fafc;display:flex;flex-direction:column;gap:4px}.lm-teacher-stat-grid small,.lm-skill-grid small{color:#64748b}.lm-teacher-stat-grid strong,.lm-skill-grid strong{font-size:1.1rem}.lm-progress-report,.lm-review-form{margin-top:12px;border-top:1px dashed #cbd5e1;padding-top:10px}.lm-progress-report summary,.lm-review-form summary{cursor:pointer;font-weight:800}.lm-progress-report>.lm-skill-grid{margin-top:12px}.lm-teacher-banking-card input[dir="ltr"]{text-align:left}.lm-trial-settings .lm-check{margin-bottom:12px}@media(max-width:760px){.lm-teacher-stat-grid,.lm-skill-grid,.lm-skill-input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lm-rating-summary{align-items:flex-start}.lm-review>div:first-child{align-items:flex-start;flex-direction:column}}@media(max-width:480px){.lm-teacher-stat-grid,.lm-skill-grid,.lm-skill-input-grid{grid-template-columns:1fr}}


/* 5.8.30 — bank-style customer credit statement */
.lm-credit-history--bank{margin-top:18px;border:1px solid #dbe4ef;border-radius:16px;background:#fff;overflow:hidden}
.lm-credit-history--bank>summary{cursor:pointer;padding:14px 18px;font-weight:800;color:#14213d;background:#f7f9fc;border-bottom:1px solid #e7edf5;list-style:none}
.lm-credit-history--bank>summary::-webkit-details-marker{display:none}
.lm-credit-history--bank>summary::before{content:"▾";display:inline-block;margin-left:8px;color:#2457c5}
.lm-credit-history--bank:not([open])>summary::before{content:"◂"}
.lm-credit-ledger-help{margin:14px 18px 10px;padding:10px 12px;border-radius:10px;background:#f7f9fc;color:#526071;font-size:13px;line-height:1.8}
.lm-credit-ledger-wrap{margin:0 18px 18px;border:1px solid #e2e8f0;border-radius:12px;overflow:auto;background:#fff}
.lm-credit-ledger-table{width:100%;min-width:920px;border-collapse:separate;border-spacing:0;margin:0}
.lm-credit-ledger-table thead th{position:sticky;top:0;z-index:1;background:#16233a;color:#fff;font-weight:800;text-align:center;padding:12px 10px;border:0;white-space:nowrap}
.lm-credit-ledger-table tbody td{padding:12px 10px;border-bottom:1px solid #e9eef5;vertical-align:middle;background:#fff}
.lm-credit-ledger-table tbody tr:last-child td{border-bottom:0}
.lm-credit-ledger-table tbody tr:hover td{background:#f8fbff}
.lm-credit-ledger-table .lm-credit-col-row{width:58px;text-align:center;color:#64748b}
.lm-credit-ledger-table thead .lm-credit-col-row{color:#fff}
.lm-credit-ledger-table .lm-credit-date{white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums}
.lm-credit-ledger-table .lm-credit-description{min-width:280px;line-height:1.75}
.lm-credit-ledger-table .lm-credit-money{white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}
.lm-credit-ledger-table .lm-credit-debit{color:#b42318}
.lm-credit-ledger-table .lm-credit-credit{color:#067647}
.lm-credit-ledger-table .lm-credit-balance{color:#14213d}
.lm-credit-ledger-table .lm-credit-currency{white-space:nowrap;text-align:center}
.lm-credit-row--debit td:first-child{box-shadow:inset -3px 0 0 #f04438}
.lm-credit-row--credit td:first-child{box-shadow:inset -3px 0 0 #12b76a}
@media (max-width:782px){
  .lm-credit-ledger-wrap{margin:0 10px 12px;border:0;overflow:visible}
  .lm-credit-ledger-table{min-width:0;border-collapse:separate;border-spacing:0 10px}
  .lm-credit-ledger-table thead{display:none}
  .lm-credit-ledger-table,.lm-credit-ledger-table tbody,.lm-credit-ledger-table tr,.lm-credit-ledger-table td{display:block;width:100%}
  .lm-credit-ledger-table tbody tr{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#fff}
  .lm-credit-ledger-table tbody td{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;padding:9px 12px;text-align:right!important;border-bottom:1px dashed #edf1f6;box-sizing:border-box}
  .lm-credit-ledger-table tbody td::before{content:attr(data-label);font-weight:800;color:#64748b}
  .lm-credit-ledger-table tbody td:last-child{border-bottom:0}
  .lm-credit-ledger-table .lm-credit-money,.lm-credit-ledger-table .lm-credit-date{direction:rtl}
  .lm-credit-ledger-table .lm-credit-col-row{display:none}
  .lm-credit-ledger-help{margin:12px 10px}
}

/* 5.8.31 — responsive bank ledger inside narrow My Account columns */
.lm-credit-ledger-wrap{
  container-type:inline-size;
  overflow:hidden;
}
.lm-credit-ledger-table{
  min-width:0;
  table-layout:fixed;
}
.lm-credit-ledger-table th,.lm-credit-ledger-table td{box-sizing:border-box}
.lm-credit-ledger-table .lm-credit-col-row{width:6%}
.lm-credit-ledger-table .lm-credit-date{width:17%;font-size:.9em}
.lm-credit-ledger-table .lm-credit-description{width:31%;min-width:0;overflow-wrap:anywhere;word-break:normal}
.lm-credit-ledger-table .lm-credit-debit,
.lm-credit-ledger-table .lm-credit-credit{width:12%}
.lm-credit-ledger-table .lm-credit-balance{width:14%}
.lm-credit-ledger-table .lm-credit-currency{width:8%;white-space:normal;line-height:1.45}

@container (max-width: 820px){
  .lm-credit-ledger-table{font-size:12.5px}
  .lm-credit-ledger-table .lm-credit-col-row,
  .lm-credit-ledger-table th.lm-credit-col-row{display:none}
  .lm-credit-ledger-table .lm-credit-currency,
  .lm-credit-ledger-table th:last-child{display:none}
  .lm-credit-ledger-table .lm-credit-date{width:17%}
  .lm-credit-ledger-table .lm-credit-description{width:35%;line-height:1.65}
  .lm-credit-ledger-table .lm-credit-debit,
  .lm-credit-ledger-table .lm-credit-credit{width:14%}
  .lm-credit-ledger-table .lm-credit-balance{width:20%}
  .lm-credit-ledger-table thead th{padding:10px 6px}
  .lm-credit-ledger-table tbody td{padding:10px 6px}
  .lm-credit-ledger-table .lm-credit-money{white-space:normal;line-height:1.45}
}

@container (max-width: 610px){
  .lm-credit-ledger-wrap{border:0;overflow:visible;margin-inline:10px}
  .lm-credit-ledger-table{display:block;width:100%;border-collapse:separate;border-spacing:0 10px;font-size:13px}
  .lm-credit-ledger-table thead{display:none}
  .lm-credit-ledger-table tbody{display:grid;gap:10px}
  .lm-credit-ledger-table tbody tr{display:block;width:100%;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#fff}
  .lm-credit-ledger-table tbody td,
  .lm-credit-ledger-table tbody td.lm-credit-date,
  .lm-credit-ledger-table tbody td.lm-credit-description,
  .lm-credit-ledger-table tbody td.lm-credit-money,
  .lm-credit-ledger-table tbody td.lm-credit-currency{
    display:grid!important;
    grid-template-columns:105px minmax(0,1fr);
    width:100%!important;
    gap:10px;
    padding:9px 12px;
    text-align:right!important;
    border-bottom:1px dashed #edf1f6;
    direction:rtl;
  }
  .lm-credit-ledger-table tbody td::before{content:attr(data-label);font-weight:800;color:#64748b}
  .lm-credit-ledger-table tbody td:last-child{border-bottom:0}
  .lm-credit-ledger-table tbody td.lm-credit-col-row{display:none!important}
  .lm-credit-ledger-table tbody td.lm-credit-currency{display:grid!important}
}

/* 5.8.35 - Complete paginated credit history */
.lm-credit-history-count{font-weight:700;color:#64748b;font-size:.88em}
.lm-credit-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 18px 18px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}
.lm-credit-pagination__status{color:#526071;font-size:13px}
.lm-credit-pagination__buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lm-credit-page-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;text-decoration:none;font-weight:800;color:#163a6b}
.lm-credit-page-btn:hover{background:#eef5ff;border-color:#9bb7dc}
.lm-credit-page-current{font-size:13px;font-weight:800;color:#334155;padding:0 4px}
@media (max-width:720px){.lm-credit-pagination{margin:0 10px 12px}.lm-credit-pagination,.lm-credit-pagination__buttons{justify-content:center}.lm-credit-pagination__status{width:100%;text-align:center}}

/* 6.3.1 teacher intro + teaching sample video studio */
.lm-teacher-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.lm-teacher-video-grid>.lm-card{margin:0}.lm-teacher-video-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:16px 0}.lm-teacher-video-editor{border:1px solid #dbe4f0;border-radius:16px;padding:16px;background:#f8fafc}.lm-teacher-video-editor h3{margin:0 0 6px}.lm-teacher-video-preview{margin-top:14px;border-top:1px dashed #cbd5e1;padding-top:12px}.lm-teacher-video-preview>strong{display:block;margin-bottom:8px}.lm-teacher-video-preview video,.lm-teacher-video-preview iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#0f172a}@media(max-width:860px){.lm-teacher-video-grid,.lm-teacher-video-editor-grid{grid-template-columns:1fr}}
