.psf-wrap{max-width:960px;margin:32px auto 64px;padding:0 20px;color:#1c2430}
.psf-nav{display:flex;gap:16px;margin-bottom:24px;font-size:14px}
.psf-nav a{color:#0b3a75;text-decoration:none}
.psf-head h1,.psf-wrap h1{font-size:32px;line-height:1.2;margin:0 0 8px}
.psf-kicker{letter-spacing:.08em;text-transform:uppercase;font-size:12px;color:#0b3a75;margin:0}
.psf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.psf-card,.psf-module{background:#fff;border:1px solid #e4e7ee;border-radius:8px;padding:16px 18px}
.psf-card h2{font-size:18px;margin:0 0 8px}
.psf-price{font-weight:700}
.psf-meta{color:#5c677a;font-size:13px}
.psf-button{display:inline-block;background:#0b3a75;color:#fff;border:0;border-radius:6px;padding:10px 16px;text-decoration:none;cursor:pointer}
.psf-prose h1,.psf-prose h2,.psf-prose h3{margin:1.2em 0 .4em}
.psf-prose p,.psf-prose li{line-height:1.6}
.psf-video{width:100%;max-height:420px;background:#111;margin:12px 0}
.psf-quiz fieldset{border:1px solid #e4e7ee;border-radius:8px;margin:0 0 12px;padding:12px}
.psf-quiz label{display:block;margin:6px 0}
.psf-notice{background:#f4f7fb;border-left:3px solid #0b3a75;padding:10px 12px}
.psf-examiner{font-size:18px;border-left:3px solid #c58b2a;padding-left:12px}
.psf-editor textarea{width:100%;font-family:ui-monospace,monospace}
.psf-list{padding-left:18px}
.psf-progress{font-weight:700}

body.psf-lms-page #page-header.header-layout-fixed .page-header-place-holder{min-height:154px}
body.admin-bar.psf-lms-page #page-header.header-layout-fixed .page-header-place-holder{min-height:186px}
body.psf-learn-mode #page-header .page-header-place-holder{min-height:0 !important;height:0 !important}
body.psf-catalog-mode #page-title-bar,
body.psf-course-mode #page-title-bar,
body.psf-learn-mode #page-header,
body.psf-learn-mode .page-header,
body.psf-learn-mode #page-title-bar,
body.psf-learn-mode #page-footer,
body.psf-learn-mode .site-footer{display:none !important}
body.psf-learn-mode,
body.psf-learn-mode #page,
body.psf-learn-mode #page-content,
body.psf-learn-mode .site{background:#171d2b;color:#e7edf7}
body.psf-learn-mode h1,
body.psf-learn-mode h2{color:#fff}

.psf-landing{background:#fff;color:#1c2430}
.psf-landing-grid{max-width:1180px;margin:0 auto;padding:28px 20px 72px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:36px;align-items:start}
.psf-landing-main{grid-column:1;grid-row:1;min-width:0}
.psf-entry{grid-column:2;grid-row:1}
.psf-landing-html .hero-section,.psf-landing-html section{max-width:100%}
.psf-points,.psf-syllabus,.psf-instructor{margin-top:36px}
.psf-points h2,.psf-syllabus h2,.psf-instructor h2{font-size:22px;margin:0 0 12px}
.psf-points ul,.psf-syllabus ul{margin:0;padding-left:18px}
.psf-points li,.psf-syllabus li{margin:6px 0;line-height:1.5}
.psf-module-acc{border-top:1px solid #e6e8ef;padding:10px 0}
.psf-module-acc summary{cursor:pointer;font-weight:700}
.psf-instructor-card{display:flex;gap:16px;align-items:flex-start}
.psf-instructor-card img{border-radius:50%}
.psf-entry{position:sticky;top:110px;background:#fff;border:1px solid #e6e8ef;border-radius:12px;box-shadow:0 12px 32px rgba(16,24,40,.08);overflow:hidden}
.psf-entry-media img{display:block;width:100%;height:auto}
.psf-entry-price{font-size:28px;font-weight:700;margin:0;padding:18px 20px 0}
.psf-entry-body{padding:8px 20px 20px}
.psf-entry-meta{color:#5c677a;font-size:14px}
.psf-includes{list-style:none;padding:0;margin:0 0 16px}
.psf-includes li{padding:6px 0 6px 18px;position:relative;font-size:14px}
.psf-includes li:before{content:"";position:absolute;left:0;top:12px;width:8px;height:8px;border-radius:50%;background:#3d6bff}
.psf-buy,.psf-text-btn{font:inherit}
.psf-buy{display:inline-block;background:#3d6bff;color:#fff !important;border:0;border-radius:6px;padding:12px 18px;text-decoration:none;cursor:pointer;font-weight:700}
.psf-entry .psf-buy,.psf-quiz-actions .psf-buy{display:block;width:100%;text-align:center}
.psf-entry-link{display:block;margin-top:10px;text-align:center;color:#3d6bff}

.psf-player{display:flex;min-height:100vh;background:#171d2b}
.psf-side{width:300px;flex:0 0 300px;background:#141924;border-right:1px solid #2a3142;padding:18px 14px 40px;position:sticky;top:0;height:100vh;overflow:auto}
body.admin-bar.psf-learn-mode .psf-side{top:32px;height:calc(100vh - 32px)}
.psf-side-course{display:block;color:#fff;font-weight:700;text-decoration:none;margin-bottom:8px}
.psf-side-progress{color:#9aa3b5;font-size:13px;margin:0 0 16px}
.psf-side-module{margin:16px 0 6px;color:#c5cedd;font-size:13px;font-weight:700}
.psf-side ul{list-style:none;margin:0;padding:0}
.psf-side li a{display:block;color:#b7c0d0;text-decoration:none;padding:7px 10px;border-radius:6px;font-size:13px}
.psf-side li.is-active a{background:#243049;color:#fff}
.psf-side li.is-done a{color:#8fd0a8}
.psf-stage{flex:1;min-width:0;padding:28px 32px 80px}
.psf-lesson h1{font-size:28px;margin:16px 0}
.psf-player-video{width:100%;max-height:520px;background:#000;border-radius:8px}
.psf-player-frame{position:relative;width:100%;padding-top:56.25%;background:#000;border-radius:8px;overflow:hidden}
.psf-player-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.psf-tabs{display:flex;gap:18px;border-bottom:1px solid #2c3446;margin-bottom:18px}
.psf-tabs a{color:#9aa3b5;text-decoration:none;padding-bottom:8px}
.psf-tabs a.is-active{color:#fff;border-bottom:2px solid #3d6bff}
.psf-lesson-body,.psf-note-form textarea,.psf-comments textarea{color:#d5dbe7}
.psf-note-form textarea,.psf-comments textarea,.psf-editor textarea{width:100%;background:#222838;color:#e7edf7;border:1px solid #343c50;border-radius:8px;padding:10px}
.psf-next{text-align:right;margin-top:24px}
.psf-next button{background:transparent;border:0;color:#8eb0ff;font-size:16px;cursor:pointer}

.psf-quiz-card{max-width:760px;margin:24px auto;background:#222838;border-radius:12px;padding:28px 28px 22px}
.psf-quiz-mark{text-align:center}
.psf-quiz-card h1{text-align:center;margin:8px 0}
.psf-quiz-kicker{text-align:center;color:#9aa3b5;margin-top:0}
.psf-stats,.psf-attempts{width:100%;border-collapse:collapse;margin:18px 0}
.psf-stats th,.psf-attempts th,.psf-stats td,.psf-attempts td{text-align:left;padding:10px 8px;border-bottom:1px solid #343c50}
.psf-stats th,.psf-attempts td span{color:#9aa3b5;font-weight:500}
.psf-attempts td span{display:block;font-size:12px}
.psf-quiz-actions{display:flex;justify-content:flex-end;gap:16px;align-items:center}
.psf-quiz-actions .psf-buy{width:auto}
.psf-text-btn{background:transparent;border:0;color:#8eb0ff;cursor:pointer;text-decoration:none}
.psf-pill{display:inline-block;border-radius:99px;padding:2px 8px;font-size:12px;text-decoration:none}
.psf-pill.is-fail{background:#5a2430;color:#ff8d8d}
.psf-pill.is-pass{background:#1d4a34;color:#8fe3b0}

.psf-attempt{min-height:70vh;display:flex;flex-direction:column}
.psf-attempt-bar{display:flex;justify-content:center;align-items:center;position:relative}
.psf-attempt-bar h1{font-size:18px;margin:0}
.psf-quit{position:absolute;right:0;top:0;background:#222838;color:#d5dbe7;border:1px solid #3a4256;border-radius:6px;padding:6px 12px;text-decoration:none;cursor:pointer}
.psf-attempt-count{text-align:center;color:#9aa3b5}
.psf-qcard{max-width:640px;margin:24px auto;background:#222838;border-radius:12px;padding:22px}
.psf-qtitle{font-size:16px;line-height:1.5}
.psf-choice{display:flex;gap:10px;align-items:flex-start;background:#2b3344;border-radius:8px;padding:10px 12px;margin:8px 0;cursor:pointer}
.psf-qtext{width:100%;background:#2b3344;color:#fff;border:0;border-radius:8px;padding:10px}
.psf-attempt-next{text-align:right;margin-top:16px}

.psf-review{max-width:1080px;margin:0 auto;padding:12px 8px 48px}
.psf-review-top{display:flex;justify-content:space-between;align-items:center}
.psf-review-top .psf-quit{position:static}
.psf-review-score{display:flex;gap:18px;align-items:center;background:#222838;border-radius:12px;padding:16px 18px}
.psf-review-score strong{font-size:36px}
.psf-review-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;margin-top:18px}
.psf-review-nav{margin:0;padding-left:0;list-style:none}
.psf-review-nav li::marker{content:none}
.psf-review-nav a{color:#c5cedd;text-decoration:none}
.psf-review-q{background:#222838;border-radius:12px;padding:16px 18px;margin-bottom:14px}
.psf-review-state.is-fail{color:#ff8d8d}
.psf-review-state.is-pass{color:#8fe3b0}
.psf-review-choice{background:#2b3344;border-radius:8px;padding:8px 12px}
.psf-review-choice.is-correct{background:#1d4a34}
.psf-review-choice.is-wrong{background:#5a2430}
.psf-review-next{text-align:right}
.psf-review details summary{cursor:pointer;color:#9eb6ff}
.psf-review .psf-prose p{margin:0 0 10px}
.psf-review .psf-prose img{max-width:100%;height:auto}

@media (max-width:900px){
  .psf-landing-grid,.psf-player,.psf-review-grid{display:block}
  .psf-landing-main,.psf-entry{grid-column:auto;grid-row:auto}
  .psf-side{position:relative;width:auto;height:auto;top:auto}
  .psf-entry{position:relative;top:auto;margin:0 0 24px}
}

body.psf-catalog-mode .psf-archive{padding:36px 0 72px}
body.psf-catalog-mode .psf-archive > .container > .row{display:flex;align-items:flex-start;gap:30px}
body.psf-catalog-mode .psf-archive .page-sidebar{flex:0 0 270px;max-width:270px}
body.psf-catalog-mode .psf-archive .page-main-content{flex:1;min-width:0}
body.psf-catalog-mode .archive-result-count{font-size:16px;margin-bottom:18px}
body.psf-catalog-mode .filter-checkbox-list{list-style:none;margin:0 0 22px;padding:0}
body.psf-catalog-mode .filter-checkbox-list a{color:#3a4256;text-decoration:none}
body.psf-catalog-mode .filter-checkbox-list li.active a{color:#3d6bff;font-weight:700}
body.psf-catalog-mode .psf-stars{color:#f5b942;letter-spacing:1px}
body.psf-catalog-mode .psf-thumb-fallback{display:block;background:#eef1f6;min-height:160px}
@media (max-width:991px){
  body.psf-catalog-mode .psf-archive > .container > .row{display:block}
  body.psf-catalog-mode .psf-archive .page-sidebar{max-width:none;margin-bottom:24px}
}
