/* Shivoham Shastr LMS v1.0 — curriculum, clean editors and public course tabs. */
.sh-v2-heading,.sh-v2-title-row{display:flex;justify-content:space-between;align-items:center;gap:14px;min-width:0;flex-wrap:wrap}
.sh-v2-heading{margin:0 0 20px}.sh-v2-heading h2{font-size:clamp(18px,2vw,24px);font-weight:600;letter-spacing:-.03em;color:#361131;margin:0;overflow-wrap:anywhere}
.sh-v2-heading .btn,.sh-v2-title-row .btn{display:inline-flex;align-items:center;gap:7px}.sh-v2-heading svg,.sh-v2-title-row svg{width:16px;height:16px}
.sh-v2-editor,.sh-v2-module-grid{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(285px,.75fr);gap:18px;align-items:start;min-width:0}
.sh-v2-editor-main,.sh-v2-editor-aside{display:grid;gap:17px;min-width:0}.sh-v2-section{padding:22px;min-width:0;box-shadow:0 10px 38px rgba(64,19,53,.045);border:1px solid #ebe4ec;border-radius:17px;background:#fff}
.sh-v2-section>h3,.sh-v2-title-row h3{font-size:14px;font-weight:600;color:#4a003c;margin:0 0 19px;line-height:1.5}.sh-v2-title-row{margin-bottom:16px}.sh-v2-title-row h3{margin:0}
.sh-v2-section .field{min-width:0}.sh-v2-section .field label{font-size:11px;font-weight:500;color:#514258}.sh-v2-section .field input,.sh-v2-section .field textarea,.sh-v2-section .field select{min-width:0;width:100%;font-size:12px;line-height:1.5;padding:11px 12px;min-height:42px;border-color:#e4dfeb}
.sh-v2-section .field textarea{min-height:90px}.sh-v2-section .form-grid{gap:16px}.sh-v2-section .toggle-line{font-size:12px;padding:8px 0;line-height:1.5}
.sh-v2-section .toggle-line input{min-height:auto}.sh-v2-section .sh-v2-image-preview{display:block;margin-top:10px;max-width:270px;width:100%;max-height:160px;object-fit:cover;border-radius:11px;border:1px solid #e5dfe8}
.sh-v2-save{width:100%;min-height:46px;font-size:12px;display:flex;align-items:center;justify-content:center;gap:9px}.sh-v2-save svg{width:17px;height:17px}
.sh-v2-faq-items,.sh-v2-questions{display:grid;gap:14px}.sh-v2-faq-row,.sh-v2-question{padding:17px;border:1px solid #eae4ec;background:#fdfbfe;border-radius:13px;display:grid;gap:12px;min-width:0}
.sh-v2-faq-row .sh-v2-title-row,.sh-v2-question .sh-v2-title-row{margin:0}.sh-v2-faq-row b,.sh-v2-question b{font-size:11px;color:#4a003c}.sh-v2-close{background:#f9edf5;border:0;color:#75205e;width:29px;height:29px;border-radius:8px;cursor:pointer;display:grid;place-items:center;font-size:20px}.sh-v2-close svg{width:15px;height:15px}
.sh-v2-module-links{display:flex;gap:9px;flex-wrap:wrap;padding:13px 0}.sh-v2-module-links>a{border:1px solid #efe4ef;border-radius:9px;padding:10px 12px;display:inline-flex;align-items:center;gap:8px;color:#531447;font-size:11px;text-decoration:none;font-weight:500;background:#fff}.sh-v2-module-links svg{width:15px;height:15px}
.sh-v2-module-name{padding:11px 0;border-bottom:1px solid #eee8ef;display:flex;align-items:center;gap:9px;color:#49364c;font-size:12px}.sh-v2-module-name svg{height:16px;width:16px}
.sh-v2-module-edit{display:flex;align-items:center;gap:10px;border-bottom:1px solid #f1eaf1;padding:13px 0;min-width:0;flex-wrap:wrap}.sh-v2-inline-form{display:grid;grid-template-columns:minmax(100px,1fr) 70px auto;align-items:center;gap:8px;flex:1 1 300px;min-width:0}.sh-v2-inline-form input,.sh-v2-stacked input{border:1px solid #e3dfe8;border-radius:9px;padding:10px;min-width:0;font-family:inherit;font-size:12px}.sh-v2-inline-form input[type=number]{max-width:70px}.sh-v2-module-actions{display:flex;gap:6px}.sh-v2-module-actions form{margin:0}.sh-v2-stacked{display:grid;gap:16px}
.sh-v2-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sh-v2-empty{padding:28px;text-align:center;color:#978a98;font-size:12px}
.sh-v2-pill{display:inline-flex;align-items:center;justify-content:center;max-width:100%;border-radius:20px;padding:5px 11px;font-size:10px;line-height:1.2;font-weight:600;white-space:nowrap}.sh-v2-pill.is-free{color:#167649;background:#e2f8ec}.sh-v2-pill.is-paid{color:#76420e;background:#fff1da}
.sh-v2-detail .sh-detail-intro{margin-bottom:16px}.sh-v2-detail .sh-detail-meta-grid{margin-bottom:20px}.sh-v2-tabs{display:flex;gap:6px;min-width:0;border-bottom:1px solid #e9dfeb;margin-bottom:21px;overflow-x:auto;scrollbar-width:thin}.sh-v2-tabs button{flex:0 0 auto;border:0;background:transparent;padding:12px 18px 15px;color:#8b7e8b;font:600 12px Poppins,system-ui,sans-serif;cursor:pointer;border-bottom:3px solid transparent;transition:background .2s,color .2s;white-space:nowrap}.sh-v2-tabs button:hover{background:#fdf5fc}.sh-v2-tabs button.active{border-color:var(--wine,#4a003c);color:var(--wine,#4a003c)}
.sh-v2-tab-panel[hidden]{display:none!important}.sh-v2-short-copy{font-weight:500;color:#3e2d44!important;font-size:13px;line-height:1.9;margin-bottom:12px}.sh-v2-panel-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;gap:12px}.sh-v2-panel-title h2{margin:0;font-size:17px;font-weight:600;color:#35203c}.sh-v2-panel-title span{font-size:11px;color:#998797}.sh-v2-module-heading{display:flex;align-items:center;gap:10px;margin:22px 0 11px;color:#54134b;font-size:13px;font-weight:600}.sh-v2-module-heading svg{height:16px;width:16px}
.sh-v2-lesson{display:flex;align-items:center;gap:13px;min-width:0;padding:13px;border:1px solid #ede7ef;border-radius:12px;background:#fff;margin-bottom:8px;text-decoration:none!important;color:#44364c!important;transition:box-shadow .15s,transform .15s}.sh-v2-lesson:hover{box-shadow:0 10px 24px #3c0a2914;transform:translateY(-1px)}.sh-v2-lesson-icon{width:39px;height:39px;flex:0 0 39px;background:#f8eefa;color:#5f1551;border-radius:11px;display:grid;place-items:center}.sh-v2-lesson-icon svg{width:19px;height:19px}.sh-v2-lesson-copy{display:grid;min-width:0;flex:1 1 auto;gap:4px}.sh-v2-lesson-copy strong{color:#372439;font-weight:600;font-size:12px;overflow-wrap:anywhere}.sh-v2-lesson-copy small{color:#8c808d;font-size:10px}.sh-v2-lesson-end{width:17px;height:17px;flex:0 0 17px;color:#958899}.sh-v2-lesson.is-locked .sh-v2-lesson-icon{background:#faf3e9;color:#ab7b38}
.sh-v2-detail .sh-detail-purchase-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:9px}.sh-v2-detail .sh-detail-purchase-price strong{font-size:25px}.sh-v2-detail .sh-detail-purchase-inner{padding:19px}
.sh-v2-modal[hidden]{display:none}.sh-v2-modal{position:fixed;inset:0;z-index:15000;display:grid;place-items:center;padding:16px}.sh-v2-modal-backdrop{position:absolute;inset:0;background:#160a18a8;backdrop-filter:blur(4px)}.sh-v2-modal-card{position:relative;z-index:1;width:min(390px,100%);border-radius:20px;background:#fff;padding:35px 30px;box-shadow:0 30px 70px #0005;display:grid;gap:11px;text-align:center}.sh-v2-modal-card h2{color:#4a003c;margin:0;font-size:20px}.sh-v2-modal-card p{font-size:12px;color:#7e7180;line-height:1.6;margin:0 0 7px}.sh-v2-modal-card .btn{justify-content:center;min-height:42px}.sh-v2-modal-icon{margin:auto;background:#faeff8;color:#63145a;border-radius:14px;width:48px;height:48px;display:grid;place-items:center}.sh-v2-modal-icon svg{width:22px}.sh-v2-modal-card>.sh-v2-close{position:absolute;right:13px;top:12px}.sh-v2-dialog-open{overflow:hidden}
.sh-v2-minihead{display:flex;align-items:center;gap:11px;flex-wrap:wrap;font-size:12px;color:#7c697a;margin-bottom:15px}.sh-v2-free-player{max-width:1000px;padding:22px}.sh-v2-video-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:13px;background:#251425}.sh-v2-video-frame iframe{border:0;width:100%;height:100%;position:absolute;inset:0}.sh-v2-pdf-frame{height:min(75vh,720px)}.sh-v2-pdf-frame iframe{border:0;width:100%;height:100%}
.sh-v2-test-page{max-width:900px}.sh-v2-student-question{border:1px solid #e7e1eb;border-radius:13px;padding:17px;margin:0 0 16px;min-width:0}.sh-v2-student-question legend{font-size:13px;font-weight:600;line-height:1.7;color:#36283b;padding:0 8px;white-space:normal}.sh-v2-answer{display:flex;gap:11px;padding:12px;border:1px solid #e9e3ea;border-radius:10px;margin:8px 0;cursor:pointer;font-size:12px;color:#4b3a50}.sh-v2-answer:has(input:checked){border-color:#955b87;background:#fdf6fc}.sh-v2-answer input{accent-color:#4a003c}.sh-v2-result{padding:30px;text-align:center}.sh-v2-result svg{width:40px;height:40px;color:#239668}.sh-v2-result h3{font-size:40px;margin:12px 0 6px;color:#4a003c}.sh-v2-result p{font-size:13px;color:#746979;margin:0 0 15px}
/* Protect long course titles, dates, action icons and form fields against overlap. */
.sh-v2-heading>*,.sh-v2-editor>*,.sh-v2-editor .panel,.sh-v2-detail .sh-detail-left,.sh-v2-detail .sh-detail-right{min-width:0}.sh-v2-editor input,.sh-v2-editor select,.sh-v2-editor textarea{max-width:100%;box-sizing:border-box}
@media(max-width:1080px){.sh-v2-editor,.sh-v2-module-grid{grid-template-columns:minmax(0,1.1fr) minmax(245px,.8fr)}.sh-v2-section{padding:17px}}
@media(max-width:860px){.sh-v2-editor,.sh-v2-module-grid{grid-template-columns:1fr}.sh-v2-editor-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-v2-editor-aside>.sh-v2-save{grid-column:1/-1}.sh-v2-detail .sh-detail-layout{grid-template-columns:1fr}.sh-v2-detail .sh-detail-purchase{position:static}}
@media(max-width:620px){.sh-v2-heading h2{font-size:18px}.sh-v2-section{padding:15px}.sh-v2-section .form-grid,.sh-v2-option-grid,.sh-v2-editor-aside{grid-template-columns:1fr}.sh-v2-inline-form{grid-template-columns:minmax(0,1fr) 60px auto}.sh-v2-module-actions{width:100%;justify-content:flex-end}.sh-v2-detail .sh-detail-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-v2-tabs button{padding:12px 13px;font-size:11px}.sh-v2-lesson{padding:10px;gap:8px}.sh-v2-lesson-icon{width:34px;height:34px;flex-basis:34px}.sh-v2-lesson-copy strong{font-size:11px}.sh-v2-pill{font-size:9px;padding:5px 8px}.sh-v2-lesson-end{display:none}.sh-v2-modal-card{padding:28px 20px}}
@media(prefers-reduced-motion:reduce){.sh-v2-lesson,.sh-v2-tabs button{transition:none}}
.sh-v2-student-course{max-width:1120px;margin:0 auto}.sh-v2-student-course .sh-v2-tabs{margin-bottom:20px}.sh-v2-student-course .sh-v2-tab-panel{max-width:990px}.sh-v2-course-hero{max-height:300px;border-radius:17px;overflow:hidden;margin-bottom:20px;background:#ede0e9}.sh-v2-course-hero img{width:100%;max-height:300px;aspect-ratio:16/5;object-fit:cover;display:block}.sh-v2-student-course .sh-detail-panel{max-width:100%}

/* Bunny encoding is not the same as upload completion. Non-playable lessons. */
.sh-v2-lesson.is-processing,.sh-v2-lesson.is-processing:hover{cursor:default;box-shadow:none;transform:none;background:#fcfafc;border-style:dashed}
.sh-v2-pill.is-processing{color:#6c4263;background:#f3e7f2}
.sh-video-status-refresh{margin-inline-start:auto}.sh-video-status-refresh button{display:inline-flex;align-items:center;gap:6px}.sh-video-status-refresh svg{width:15px;height:15px}
@media(max-width:620px){.sh-video-status-refresh{margin-inline-start:0}}
