:root{--pth-navy:#0b3d59;--pth-navy-deep:#082f44;--pth-blue:#2d65e8;--pth-bg:#f3f6f9;--pth-card:#fff;--pth-text:#152234;--pth-muted:#65758b;--pth-border:#d8e0e8;--pth-green:#10b981;--pth-green-bg:#d1fae5;--pth-red:#ef4444;--pth-red-bg:#fee2e2;--pth-amber:#f59e0b;--pth-amber-bg:#fff9e8}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--pth-bg);color:var(--pth-text);font-size:14px}button,input{font:inherit}.pth-header{background:var(--pth-navy);color:#fff;position:sticky;top:0;z-index:1000;box-shadow:0 2px 10px rgba(0,0,0,.12)}.admin-bar .pth-header{top:32px}.pth-header-inner{max-width:1440px;margin:0 auto;min-height:68px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;padding:0 26px}.pth-brand{color:#fff;text-decoration:none;font-size:22px;font-weight:800;letter-spacing:.25px;white-space:nowrap}.pth-topnav{display:flex;align-items:center;gap:4px;min-width:0}.pth-topnav>a,.pth-test-menu-btn{color:#eaf3f8;background:transparent;border:0;text-decoration:none;font-weight:800;font-size:13px;padding:9px 8px;border-radius:8px;cursor:pointer;text-transform:uppercase;letter-spacing:.35px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.pth-nav-icon{display:inline-flex;width:16px;height:16px;flex:0 0 16px}.pth-nav-icon svg{width:16px;height:16px;display:block}.pth-caret{margin-left:1px}.pth-topnav>a:hover,.pth-test-menu-btn:hover{background:rgba(255,255,255,.10);color:#fff}.pth-topnav>a.is-active{background:#1f6f9a;color:#fff;box-shadow:inset 0 -3px 0 #7dd3fc,0 3px 10px rgba(0,0,0,.14)}.pth-test-menu{position:relative}.pth-test-menu-panel{position:absolute;top:44px;left:0;width:260px;max-height:55vh;overflow:auto;background:#fff;border:1px solid var(--pth-border);border-radius:12px;padding:8px;box-shadow:0 16px 35px rgba(15,23,42,.18)}.pth-test-menu-panel a{display:block;padding:9px 10px;border-radius:8px;text-decoration:none;color:var(--pth-text);font-weight:600}.pth-test-menu-panel a:hover,.pth-test-menu-panel a.is-current{background:#eef4ff;color:var(--pth-blue)}.pth-header-tools{display:flex;align-items:center;gap:11px}.pth-search-wrap{position:relative}.pth-search-toggle{width:36px;height:36px;border:1px solid rgba(255,255,255,.28);border-radius:9px;background:rgba(255,255,255,.08);color:#fff;font-size:23px;line-height:1;cursor:pointer}.pth-search-pop{position:absolute;right:0;top:44px;width:min(340px,70vw);padding:10px;background:#fff;border:1px solid var(--pth-border);border-radius:11px;box-shadow:0 14px 28px rgba(15,23,42,.18)}.pth-search-pop input{width:100%;border:1px solid var(--pth-border);border-radius:8px;padding:10px 12px;outline:none}.pth-lang-switch{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:800}.pth-lang-switch a{color:#b9d3df;text-decoration:none}.pth-lang-switch a.is-active{color:#fff;text-decoration:underline;text-underline-offset:3px}.pth-lang-switch span{opacity:.5}
.pth-exam-shell{max-width:1440px;margin:0 auto;display:grid;grid-template-columns:minmax(0,65fr) minmax(300px,35fr);gap:18px;padding:22px 26px 34px;align-items:start}.pth-main{min-width:0}.pth-current-row{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:10px}.pth-current-test-title{font-size:18px;font-weight:800;color:var(--pth-navy)}.pth-stats{display:flex;gap:14px;background:var(--pth-blue);color:#fff;border-radius:9px;padding:9px 13px;font-size:13px;font-weight:800;box-shadow:0 3px 9px rgba(45,101,232,.16)}.pth-thin-line{height:1px;background:#cdd6e0;margin-bottom:14px}.pth-quiz-card{background:#fff;border:1px solid var(--pth-border);border-radius:10px;padding:20px;margin-bottom:14px;box-shadow:0 2px 6px rgba(15,23,42,.035);transition:.18s}.pth-quiz-card:hover{border-color:#b9c8d8;box-shadow:0 7px 18px rgba(15,23,42,.07)}.pth-quiz-card.is-active{border-color:#9cbaff}.pth-quiz-card.is-filtered{display:none}.pth-section-title{display:inline-block;background:#e9efff;color:var(--pth-blue);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.65px;border-radius:999px;padding:4px 9px;margin-bottom:11px}.pth-question{font-size:17px;line-height:1.42;margin:0 0 14px}.pth-options{display:flex;flex-direction:column;gap:8px}.pth-option{display:flex;width:100%;align-items:center;gap:9px;text-align:left;padding:10px 13px;border:1px solid var(--pth-border);border-radius:7px;background:#fcfdff;color:var(--pth-text);cursor:pointer;transition:.15s;font-size:14px}.pth-option:hover:not(:disabled){background:#f3f7ff;border-color:#9ebcff;transform:translateX(2px)}.pth-option:hover:not(:disabled) .pth-radio{border-color:var(--pth-blue);box-shadow:0 0 0 3px rgba(45,101,232,.09)}.pth-option:disabled{cursor:default}.pth-radio{width:17px;height:17px;border:2px solid #aeb9c7;border-radius:50%;background:#fff;display:inline-grid;place-items:center;flex:0 0 17px;transition:.15s;box-shadow:inset 0 0 0 3px #fff}.pth-option.selected .pth-radio{border-color:var(--pth-blue);background:var(--pth-blue);box-shadow:inset 0 0 0 4px #fff}.pth-letter{font-weight:800;color:var(--pth-muted);min-width:20px}.pth-option-text{min-width:0}.pth-option.correct{background:var(--pth-green-bg);border-color:var(--pth-green);color:#065f46}.pth-option.correct .pth-radio{border-color:var(--pth-green);background:var(--pth-green);box-shadow:inset 0 0 0 4px #fff}.pth-option.incorrect{background:var(--pth-red-bg);border-color:var(--pth-red);color:#991b1b}.pth-option.incorrect .pth-radio{border-color:var(--pth-red);background:var(--pth-red);box-shadow:inset 0 0 0 4px #fff}.pth-feedback{margin-top:12px;border-radius:7px;padding:11px 13px;background:var(--pth-amber-bg);border-left:3px solid var(--pth-amber)}.pth-feedback.is-correct{background:var(--pth-green-bg);border-left-color:var(--pth-green)}.pth-feedback h3{font-size:14px;margin:0 0 5px;color:#b45309}.pth-feedback.is-correct h3{color:#047857}.pth-explanation{font-size:13px;line-height:1.55}.pth-explanation p{margin:.35em 0}
.pth-right{position:sticky;top:90px;background:transparent;border:0;border-left:1px solid var(--pth-border);border-right:1px solid var(--pth-border);padding:0 16px 18px 18px;min-height:420px}.admin-bar .pth-right{top:122px}.pth-panel-title{font-size:14px;font-weight:800;color:var(--pth-navy);letter-spacing:.7px;margin:2px 0 10px;padding-bottom:10px;border-bottom:1px solid var(--pth-border)}.pth-tip-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 50px;gap:12px;align-items:center;border:1px solid #8fbccc;border-radius:12px;padding:14px 14px 13px;margin:0 0 10px;line-height:1.5;color:#334155;font-size:14px;box-shadow:inset 0 -3px 0 rgba(85,184,215,.18),0 5px 14px rgba(15,23,42,.09);overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.pth-tip-card:hover{border-color:#5fa7bf;box-shadow:inset 0 -3px 0 rgba(85,184,215,.28),0 7px 17px rgba(15,23,42,.11)}.pth-tip-memory{background:linear-gradient(135deg,#dceff2 0%,#cfe8ed 100%);border-color:#69aeb9}.pth-tip-trap{background:linear-gradient(135deg,#eff9f5 0%,#e5f4ee 100%);border-color:#8ac8ad}.pth-tip-keyword{background:linear-gradient(135deg,#edf4f9 0%,#e3eef5 100%);border-color:#9bbccc}.pth-tip-copy{min-width:0}.pth-tip-label{font-weight:850;color:#243247;margin-bottom:6px;font-size:13px;letter-spacing:.15px}.pth-card-more{display:inline-block;margin-top:9px;color:#0b4d6c;font-weight:800;text-decoration:none;font-size:12px}.pth-card-more:hover{text-decoration:underline}.pth-card-icon{justify-self:end;align-self:center;width:44px;height:44px;border-radius:11px;display:grid;place-items:center;color:#397a82;opacity:.9}.pth-tip-trap .pth-card-icon{color:#3b8068}.pth-tip-keyword .pth-card-icon{color:#496f88}.pth-card-icon svg,.pth-live-summary-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pth-live-panel{margin-top:0;border:1px solid #7f91dd;border-radius:12px;background:linear-gradient(135deg,#e1e6fb 0%,#d4ddf8 100%);overflow:hidden;box-shadow:inset 0 -3px 0 rgba(102,116,210,.16),0 5px 14px rgba(54,68,170,.13);transition:border-color .16s ease,box-shadow .16s ease}.pth-live-panel:hover{border-color:#6676cf;box-shadow:inset 0 -3px 0 rgba(102,116,210,.24),0 7px 17px rgba(54,68,170,.15)}.pth-live-panel summary{cursor:pointer;padding:13px 14px;font-weight:850;color:#173a67;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}.pth-live-panel summary::-webkit-details-marker{display:none}.pth-live-label{display:inline-flex;align-items:center;gap:8px}.pth-live-caret{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:8px solid #4d5fc1;transition:transform .18s ease;flex:0 0 auto}.pth-live-panel[open] .pth-live-caret{transform:rotate(90deg)}.pth-live-summary-icon{display:grid;place-items:center;width:38px;height:38px;color:#4f61c4;transition:.18s}.pth-live-panel[open] .pth-live-summary-icon{transform:rotate(8deg)}.pth-live-body{border-top:1px solid #cdd5f2;padding:12px 14px;font-size:13px;line-height:1.55;background:rgba(255,255,255,.62)}.pth-live-q{font-weight:700}.pth-live-a{padding:8px 10px;background:#eef8f4;border-left:3px solid var(--pth-green);font-weight:700;color:#065f46}.pth-live-link{display:inline-block;margin-top:8px;color:var(--pth-blue);font-weight:800;text-decoration:none}.pth-social-mini{margin-top:18px;padding-top:14px;border-top:1px solid var(--pth-border)}.pth-social-title{font-size:11px;font-weight:900;letter-spacing:.7px;color:#334155;margin-bottom:9px}.pth-social-row{display:flex;gap:9px;align-items:center}.pth-social-row span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e8eef4;color:#29465a;font-size:12px;font-weight:900}
.pth-main-empty{background:#fff;border:1px solid var(--pth-border);border-radius:10px;padding:30px;text-align:center;color:var(--pth-muted)}.pth-wide-content{max-width:1220px;margin:0 auto;padding:24px 26px 40px}.pth-footer{background:var(--pth-navy-deep);color:#fff}.pth-footer-inner{max-width:1440px;margin:0 auto;min-height:92px;padding:20px 26px;display:grid;grid-template-columns:minmax(220px,1fr) minmax(320px,1.6fr) minmax(220px,1fr);gap:24px;align-items:center}.pth-footer strong{display:block;font-size:19px;margin-bottom:4px}.pth-footer span{color:#8bdcff}.pth-footer-credit{text-align:center;font-size:14px;font-weight:600;color:#e4eef5}.pth-footer-note{text-align:right;font-size:15px;color:#d6e9f4}.pth-mobile-tip,.pth-mobile-drawer{display:none}
@media(max-width:1050px){.pth-header-inner{grid-template-columns:auto 1fr auto;gap:14px}.pth-topnav{gap:2px}.pth-exam-shell{grid-template-columns:minmax(0,62fr) minmax(270px,38fr);padding:18px}.pth-right{padding-left:14px}.pth-mobile-tip{display:none}}
@media(max-width:820px){.admin-bar .pth-header{top:46px}.pth-header-inner{min-height:62px;padding:0 14px;grid-template-columns:1fr auto}.pth-brand{font-size:18px}.pth-topnav{grid-column:1/-1;order:3;overflow-x:auto;padding-bottom:7px}.pth-topnav>a,.pth-test-menu-btn{white-space:nowrap;padding:7px 8px;font-size:13px}.pth-exam-shell{display:block;padding:14px}.pth-right{display:none}.pth-current-row{align-items:stretch;flex-direction:column}.pth-stats{justify-content:space-between}.pth-quiz-card{padding:16px}.pth-question{font-size:16px}.pth-mobile-tip{display:block;position:fixed;right:16px;bottom:16px;z-index:1002;border:0;border-radius:999px;background:var(--pth-blue);color:#fff;font-weight:800;width:44px;height:44px;box-shadow:0 8px 24px rgba(45,101,232,.28)}.pth-mobile-drawer{display:block;position:fixed;right:0;top:0;bottom:0;width:min(380px,92vw);background:#fff;padding:64px 16px 18px;z-index:1100;transform:translateX(105%);transition:.22s;box-shadow:-10px 0 30px rgba(15,23,42,.18);overflow:auto}.pth-mobile-drawer.is-open{transform:translateX(0)}.pth-mobile-drawer .pth-tip-card{padding:12px 13px;margin:0 0 10px}.pth-mobile-drawer .pth-live-panel{margin-top:0}.pth-mobile-drawer .pth-live-panel summary{padding:12px 13px}.pth-mobile-drawer .pth-live-body{padding:12px 13px}.pth-mobile-close{position:absolute;right:14px;top:14px;width:36px;height:36px;border:0;border-radius:50%;background:#eef2f7;font-size:24px;cursor:pointer}.pth-footer-inner{padding:18px 16px;display:block}.pth-footer-credit{text-align:left;margin-top:12px}.pth-footer-note{text-align:left;margin-top:10px}}
@media(max-width:560px){body{font-size:13px}.pth-header-tools{gap:7px}.pth-lang-switch{font-size:11px}.pth-search-toggle{width:34px;height:34px}.pth-quiz-card{padding:14px;margin-bottom:10px}.pth-question{font-size:15px}.pth-option{font-size:13px;padding:10px 11px}.pth-section-title{font-size:10px}.pth-stats{font-size:12px}.pth-current-test-title{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.pth-option:hover:not(:disabled){transform:none}}

/* PTH 1.5.0 — Lesson chapter hub + reference Library */
.pth-lesson-page,.pth-library-page{max-width:1440px;padding-top:22px}
.pth-lesson-hub{display:grid;grid-template-columns:minmax(0,65fr) minmax(300px,35fr);gap:22px;align-items:start}
.pth-lesson-detail{min-width:0}.pth-lesson-detail .pth-lesson{background:#fff;border:1px solid var(--pth-border);border-radius:12px;padding:28px 30px;box-shadow:0 3px 12px rgba(15,23,42,.05)}
.pth-lesson-detail .pth-lesson h1{font-size:28px;line-height:1.22;margin:10px 0 12px;color:var(--pth-navy)}
.pth-lesson-lead{font-size:16px;line-height:1.65;color:#52657a;border-bottom:1px solid var(--pth-border);padding-bottom:16px;margin-bottom:22px}
.pth-lesson-body{font-size:15px;line-height:1.72;color:#26384c}.pth-lesson-body h2{font-size:20px;color:var(--pth-navy);margin:28px 0 10px;padding-top:6px}.pth-lesson-body h3{font-size:17px;margin:22px 0 8px}.pth-lesson-body ul{padding-left:22px}.pth-lesson-body li{margin:6px 0}.pth-lesson-source{margin-top:28px;padding-top:14px;border-top:1px solid var(--pth-border);font-size:12px;color:var(--pth-muted)}
.pth-chapter-list{position:sticky;top:90px;border-left:1px solid var(--pth-border);border-right:1px solid var(--pth-border);padding:0 14px 14px}.admin-bar .pth-chapter-list{top:122px}.pth-chapter-list-head{padding:6px 4px 12px;border-bottom:1px solid var(--pth-border)}.pth-chapter-list-head span{display:block;font-size:11px;font-weight:800;color:var(--pth-blue);letter-spacing:.8px}.pth-chapter-list-head strong{font-size:18px;color:var(--pth-navy)}
.pth-chapter-list>a{display:flex;gap:11px;align-items:flex-start;padding:12px 7px;border-bottom:1px solid var(--pth-border);text-decoration:none;color:var(--pth-text)}.pth-chapter-list>a>span{width:30px;height:30px;border-radius:8px;background:#edf3f8;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:var(--pth-muted);flex:0 0 30px}.pth-chapter-list>a strong{display:block;font-size:14px;line-height:1.3}.pth-chapter-list>a small{display:block;margin-top:4px;color:var(--pth-muted);font-size:11px}.pth-chapter-list>a:hover,.pth-chapter-list>a.is-active{background:#eef5ff}.pth-chapter-list>a.is-active>span{background:var(--pth-blue);color:#fff}.pth-chapter-list>a.is-active strong{color:var(--pth-blue)}
.pth-reference-library .pth-study-hero{margin-bottom:18px}.pth-ref-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:22px}.pth-ref-tabs a{background:#fff;border:1px solid var(--pth-border);border-radius:10px;padding:12px;text-decoration:none;color:var(--pth-text);font-weight:800;box-shadow:0 2px 7px rgba(15,23,42,.04)}.pth-ref-tabs a span{float:right;background:#eef3f8;color:var(--pth-muted);border-radius:999px;padding:2px 7px;font-size:11px}.pth-ref-section{margin:26px 0}.pth-ref-section>h3{font-size:18px;color:var(--pth-navy);padding-bottom:9px;border-bottom:1px solid var(--pth-border)}.pth-ref-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pth-ref-card{background:#fff;border:1px solid var(--pth-border);border-radius:10px;padding:15px;box-shadow:0 3px 10px rgba(15,23,42,.045)}.pth-ref-card small{font-size:10px;font-weight:800;color:var(--pth-blue);text-transform:uppercase;letter-spacing:.5px}.pth-ref-card h4{margin:6px 0 8px;font-size:15px;line-height:1.4}.pth-ref-card div{font-size:13px;line-height:1.55;color:#52657a}.pth-ref-live{background:#f4f1ff}.pth-ref-rules{background:#fff9e8}.pth-ref-tips{background:#fffdfa}.pth-ref-traps{background:#effaf3}.pth-ref-vocabulary{background:#eef6ff}
@media(max-width:900px){.pth-lesson-hub{grid-template-columns:1fr}.pth-chapter-list{position:relative;top:auto!important;order:-1;border:1px solid var(--pth-border);border-radius:10px;background:#fff;max-height:340px;overflow:auto}.pth-ref-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.pth-ref-grid{grid-template-columns:1fr}.pth-lesson-detail .pth-lesson{padding:20px}}
@media(max-width:560px){.pth-ref-tabs{grid-template-columns:1fr}.pth-lesson-detail .pth-lesson h1{font-size:23px}.pth-lesson-body{font-size:14px}}

/* Contact */
.pth-contact-page{max-width:960px;margin:0 auto;padding:38px 26px 54px}.pth-contact-card{background:#fff;border:1px solid var(--pth-border);border-radius:14px;padding:28px 30px;box-shadow:0 8px 24px rgba(15,23,42,.06)}.pth-contact-kicker{font-size:11px;font-weight:900;letter-spacing:1.2px;color:var(--pth-blue);margin-bottom:6px}.pth-contact-card h1{margin:0 0 8px;font-size:28px;color:var(--pth-navy)}.pth-contact-intro{margin:0 0 22px;color:var(--pth-muted);font-size:14px}.pth-contact-form{display:grid;gap:15px}.pth-contact-form label{font-weight:800;font-size:13px;color:var(--pth-text);position:relative}.pth-contact-form input,.pth-contact-form textarea{display:block;width:100%;margin-top:7px;border:1px solid var(--pth-border);border-radius:9px;background:#fbfdff;padding:11px 12px;color:var(--pth-text);outline:none}.pth-contact-form textarea{min-height:120px;resize:vertical;padding-bottom:28px}.pth-contact-form input:focus,.pth-contact-form textarea:focus{border-color:#8fb0ff;box-shadow:0 0 0 3px rgba(45,101,232,.08)}.pth-char-count{position:absolute;right:10px;bottom:9px;color:var(--pth-muted);font-weight:600;font-size:11px}.pth-contact-submit{justify-self:start;border:0;border-radius:9px;background:var(--pth-blue);color:#fff;font-weight:900;padding:11px 20px;cursor:pointer;box-shadow:0 4px 12px rgba(45,101,232,.2)}.pth-contact-submit:hover{filter:brightness(.96)}.pth-contact-alert{margin:0 0 18px;padding:10px 12px;border-radius:8px;font-size:13px;font-weight:700}.pth-contact-alert.success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.pth-contact-alert.error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.pth-honeypot{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:820px){.pth-contact-page{padding:20px 14px 34px}.pth-contact-card{padding:22px 18px}.pth-contact-card h1{font-size:24px}.pth-nav-icon{width:15px;height:15px;flex-basis:15px}.pth-nav-icon svg{width:15px;height:15px}}

/* 1.5.3 navigation + lesson/study layout */
.pth-wide-content{max-width:1440px;margin:0 auto;padding:22px 26px 40px}
.pth-lesson-page,.pth-study-page{max-width:1440px}
.pth-lesson-hub{display:grid!important;grid-template-columns:minmax(0,65fr) minmax(320px,35fr)!important;gap:22px;align-items:start}
.pth-lesson-detail{min-width:0}
.pth-lesson-detail .pth-lesson{background:#fff;border:1px solid var(--pth-border);border-radius:14px;padding:26px 30px;box-shadow:0 4px 14px rgba(15,23,42,.045)}
.pth-chapter-list{position:sticky;top:90px;background:rgba(255,255,255,.62);backdrop-filter:blur(7px);border:1px solid var(--pth-border);border-radius:12px;padding:10px 12px 12px;max-height:calc(100vh - 120px);overflow:auto}.admin-bar .pth-chapter-list{top:122px}
.pth-chapter-list>a{border-radius:9px;margin:3px 0;border-bottom:0}.pth-chapter-list>a.is-active{background:#e8f2ff;box-shadow:inset 3px 0 0 var(--pth-blue)}
.pth-study{max-width:1440px!important;margin:0 auto}.pth-study-hero{margin-bottom:18px}.pth-study-layout{display:grid;grid-template-columns:minmax(0,65fr) minmax(320px,35fr);gap:22px;align-items:start}.pth-study-main{min-width:0}.pth-study-side{position:sticky;top:90px;border-left:1px solid var(--pth-border);padding-left:18px}.admin-bar .pth-study-side{top:122px}.pth-study-side .pth-study-tools{display:grid;grid-template-columns:1fr!important;gap:10px;margin:0 0 14px}.pth-study-side .pth-study-tools button{min-height:54px}.pth-study-side .pth-study-filter{display:block;background:#fff;border:1px solid var(--pth-border);border-radius:10px;padding:14px;margin:0}.pth-study-side .pth-study-filter label{display:flex;justify-content:space-between;align-items:center;gap:10px}.pth-study-side .pth-study-filter select{min-width:130px}.pth-study-side .pth-study-filter>span{display:block;margin-top:10px;color:var(--pth-muted);font-size:12px}.pth-study-side-note{margin-top:12px;padding:12px 0;border-top:1px solid var(--pth-border);color:var(--pth-muted);font-size:12px;line-height:1.5}
.pth-backtop{position:fixed;right:22px;bottom:22px;z-index:1200;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:var(--pth-navy);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;line-height:1;box-shadow:0 8px 20px rgba(15,23,42,.22);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s}.pth-backtop.is-visible{opacity:1;visibility:visible;transform:none}.pth-backtop:hover{background:var(--pth-blue)}
@media(max-width:900px){.pth-lesson-hub,.pth-study-layout{grid-template-columns:1fr!important}.pth-chapter-list,.pth-study-side{position:relative;top:auto!important;order:-1;max-height:none}.pth-study-side{border-left:0;padding-left:0}.pth-study-side .pth-study-tools{grid-template-columns:repeat(3,minmax(0,1fr))!important}.pth-study-side .pth-study-filter{margin-bottom:14px}}
@media(max-width:650px){.pth-study-side .pth-study-tools{grid-template-columns:1fr!important}.pth-backtop{right:14px;bottom:14px}}

@media(max-width:820px){.pth-mobile-drawer .pth-tip-card{grid-template-columns:1fr}.pth-mobile-drawer .pth-card-icon{display:none}.pth-social-mini{display:none}}

/* PTH 1.5.6 — right rail polish */

/* PTH 1.5.7 — correct answer rail hotfix */
.pth-correct-answer{margin:0 0 10px;padding:11px 13px;border:1px solid #4f9f88;border-radius:10px;background:linear-gradient(135deg,#e6f7f1 0%,#d7efe7 100%);box-shadow:inset 0 -3px 0 rgba(16,185,129,.12),0 4px 12px rgba(15,23,42,.07);color:#0f4f43}
.pth-correct-answer[hidden]{display:none!important}
.pth-correct-answer-label{display:block;font-size:10px;font-weight:900;letter-spacing:.85px;color:#28745f;margin-bottom:4px}
.pth-correct-answer strong{display:block;font-size:13px;line-height:1.45;font-weight:900;letter-spacing:.15px;text-transform:uppercase;color:#0b3f36}
.pth-correct-answer-mobile{margin-bottom:12px}
@media(max-width:560px){.pth-correct-answer{padding:10px 11px}.pth-correct-answer strong{font-size:12px}}

/* =========================================================
   PTH 1.6.0 — Premium Lesson System
   Inspired by user-provided CHAPTER1-2.html, adapted to PTH theme.
   ========================================================= */
.pth-premium-lesson{font-family:"Plus Jakarta Sans",Inter,system-ui,sans-serif;color:#0f172a}
.pth-premium-lesson .pth-lesson-hub{display:grid!important;grid-template-columns:minmax(0,65fr) minmax(320px,35fr)!important;gap:24px;align-items:start}
.pth-lesson-premium-main{display:flex;flex-direction:column;gap:20px;min-width:0}
.pth-lesson-syllabus{position:sticky;top:68px;z-index:88;display:flex;align-items:center;gap:16px;margin:-22px -26px 20px;padding:10px 26px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid #dbeafe;box-shadow:0 4px 14px rgba(37,99,235,.04)}
.admin-bar .pth-lesson-syllabus{top:100px}
.pth-lesson-syllabus>span{font-size:11px;letter-spacing:.8px;font-weight:800;color:#2563eb;white-space:nowrap}
.pth-lesson-syllabus>div{display:flex;gap:8px;overflow-x:auto;padding:2px 1px;scrollbar-width:thin}
.pth-lesson-syllabus a{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #dbeafe;border-radius:8px;background:#fbfdff;color:#64748b;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap;transition:.18s ease}
.pth-lesson-syllabus a b{display:inline-flex;padding:1px 5px;border-radius:5px;background:#dbeafe;color:#2563eb;font-size:10px}
.pth-lesson-syllabus a:hover,.pth-lesson-syllabus a.is-current{background:#eff6ff;border-color:#60a5fa;color:#1d4ed8}
.pth-lesson-banner{background:linear-gradient(135deg,#0b2740 0%,#0f3f67 52%,#1d4ed8 100%);color:#fff;border:1px solid rgba(96,165,250,.35);border-radius:16px;padding:30px 32px;box-shadow:0 18px 36px -18px rgba(15,23,42,.45)}
.pth-lesson-banner>span{display:inline-flex;background:rgba(59,130,246,.20);border:1px solid rgba(147,197,253,.42);color:#bfdbfe;padding:5px 10px;border-radius:7px;font-size:11px;font-weight:800;letter-spacing:.65px;text-transform:uppercase;margin-bottom:10px}
.pth-lesson-banner h1{margin:0 0 8px;font-size:30px;line-height:1.2;font-weight:800;letter-spacing:-.5px}
.pth-lesson-banner p{margin:0;color:#cbd5e1;font-size:14px;line-height:1.65;max-width:850px}
.pth-lesson-banner-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.pth-lesson-banner-meta b{font-size:11px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);color:#e2e8f0}
.pth-lesson-card{scroll-margin-top:145px;background:#fff;border:1px solid #dbeafe;border-radius:16px;padding:26px 28px;box-shadow:0 10px 25px -18px rgba(37,99,235,.26),0 7px 12px -12px rgba(15,23,42,.13);transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.pth-lesson-card:hover{border-color:#93c5fd;box-shadow:0 18px 30px -18px rgba(37,99,235,.28),0 10px 16px -14px rgba(15,23,42,.15);transform:translateY(-1px)}
.pth-lesson-card-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.pth-lesson-card-head>span{display:flex;width:34px;height:34px;border-radius:9px;align-items:center;justify-content:center;background:#2563eb;color:#fff;font-size:12px;font-weight:800;flex:0 0 34px;box-shadow:0 5px 12px rgba(37,99,235,.18)}
.pth-lesson-card-head small{display:block;color:#2563eb;font-size:10px;font-weight:800;letter-spacing:.7px;margin-bottom:2px}
.pth-lesson-card-head h2{margin:0;font-size:20px;line-height:1.28;color:#0f172a;font-weight:800}
.pth-lesson-copy{font-size:14px;line-height:1.78;color:#334155}
.pth-lesson-copy p{margin:0 0 14px}.pth-lesson-copy p:last-child{margin-bottom:0}
.pth-lesson-copy h3{font-size:16px;margin:0 0 8px;color:#0f172a}
.pth-lesson-comparison{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}
.pth-compare-box{padding:16px;border-radius:12px;border:1px solid #cbd5e1;background:#f8fafc}
.pth-compare-box.pth-compare-right{background:#f0fdf4;border-color:#86efac}
.pth-compare-box h4{margin:0 0 8px;font-size:14px;font-weight:800;color:#0f172a}
.pth-compare-box ul{margin:0;padding-left:18px;color:#475569;font-size:13px;line-height:1.6}.pth-compare-box li{margin:4px 0}
.pth-lesson-callout{margin-top:14px;padding:15px 16px;border-radius:0 12px 12px 0;border-left:4px solid #2563eb;border-top:1px solid #dbeafe;border-right:1px solid #dbeafe;border-bottom:1px solid #dbeafe;background:#eff6ff;color:#334155;font-size:13px;line-height:1.65}
.pth-lesson-callout>strong{display:block;margin-bottom:4px;font-size:11px;letter-spacing:.7px;color:#1d4ed8}
.pth-callout-memory_tip{background:#fefce8;border-color:#fde68a;border-left-color:#d97706}.pth-callout-memory_tip>strong{color:#b45309}
.pth-callout-exam_trap{background:#fff1f2;border-color:#fecdd3;border-left-color:#e11d48}.pth-callout-exam_trap>strong{color:#be123c}
.pth-callout-summary{background:#f0fdf4;border-color:#bbf7d0;border-left-color:#059669}.pth-callout-summary>strong{color:#047857}
.pth-lesson-callout p{margin:0}
.pth-lesson-quiz{margin-top:16px;padding:18px;border:1px solid #dbeafe;border-radius:12px;background:#f8fafc}
.pth-lesson-quiz-badge{font-size:10px;font-weight:800;letter-spacing:.65px;text-transform:uppercase;color:#2563eb}
.pth-lesson-quiz-question{font-size:14px;font-weight:800;color:#0f172a;margin:6px 0 12px}
.pth-lesson-quiz-options{display:flex;flex-direction:column;gap:7px}
.pth-lesson-quiz-options button{width:100%;text-align:left;padding:10px 12px;border:1px solid #dbeafe;border-radius:8px;background:#fff;color:#334155;font-size:13px;font-weight:700;cursor:pointer;transition:.18s}
.pth-lesson-quiz-options button:hover{border-color:#60a5fa;background:#eff6ff;color:#1d4ed8}
.pth-lesson-quiz-options button.is-correct{background:#ecfdf5;border-color:#10b981;color:#047857}.pth-lesson-quiz-options button.is-wrong{background:#fff1f2;border-color:#ef4444;color:#b91c1c}
.pth-lesson-quiz-feedback{margin-top:10px;padding-top:10px;border-top:1px dashed #cbd5e1;color:#475569;font-size:12px;line-height:1.55}
.pth-premium-lesson .pth-chapter-list{position:sticky;top:90px;border:1px solid #dbe3eb;border-radius:14px;padding:10px 12px;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);box-shadow:0 10px 24px -18px rgba(15,23,42,.35);max-height:calc(100vh - 112px);overflow:auto}
.admin-bar .pth-premium-lesson .pth-chapter-list{top:122px}
.pth-premium-lesson .pth-chapter-list-head{padding:7px 7px 12px;border-bottom:1px solid #e2e8f0}.pth-premium-lesson .pth-chapter-list-head span{font-size:10px;color:#2563eb;font-weight:800;letter-spacing:.8px}.pth-premium-lesson .pth-chapter-list-head strong{display:block;font-size:18px;color:#0f172a;margin-top:2px}
.pth-premium-lesson .pth-chapter-list>a{display:flex;gap:10px;align-items:flex-start;padding:11px 8px;border-radius:9px;text-decoration:none;color:#334155;margin:3px 0;transition:.18s}
.pth-premium-lesson .pth-chapter-list>a:hover{background:#f8fbff}.pth-premium-lesson .pth-chapter-list>a.is-active{background:#eff6ff;box-shadow:inset 3px 0 0 #2563eb}
.pth-premium-lesson .pth-chapter-list>a>span{width:30px;height:30px;border-radius:8px;background:#edf3f8;color:#64748b;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;flex:0 0 30px}.pth-premium-lesson .pth-chapter-list>a.is-active>span{background:#2563eb;color:#fff}
.pth-premium-lesson .pth-chapter-list a strong{display:block;font-size:13px;line-height:1.35}.pth-premium-lesson .pth-chapter-list a small{display:block;font-size:10px;color:#64748b;margin-top:3px}
.pth-chapter-stats{margin-top:12px;padding:12px;border-top:1px solid #e2e8f0}.pth-chapter-stats>span{display:block;font-size:10px;font-weight:800;letter-spacing:.8px;color:#2563eb;margin-bottom:8px}.pth-chapter-stats>div{display:flex;justify-content:space-between;gap:15px;padding:7px 0;border-bottom:1px solid #f1f5f9;font-size:11px;color:#64748b}.pth-chapter-stats strong{color:#0f172a}
.pth-lesson-legacy{padding:26px 28px}.pth-lesson-source{font-size:11px;color:#64748b;margin:0;padding:4px 2px}

@media(max-width:900px){
  .pth-premium-lesson .pth-lesson-hub{grid-template-columns:1fr!important}
  .pth-premium-lesson .pth-chapter-list{position:relative;top:auto!important;order:-1;max-height:320px}
  .pth-lesson-syllabus{top:62px;margin:-22px -18px 18px;padding:9px 18px}.admin-bar .pth-lesson-syllabus{top:108px}
  .pth-lesson-banner{padding:24px}.pth-lesson-banner h1{font-size:26px}.pth-lesson-card{padding:22px}
}
@media(max-width:620px){
  .pth-lesson-syllabus{display:block}.pth-lesson-syllabus>span{display:block;margin-bottom:7px}
  .pth-lesson-comparison{grid-template-columns:1fr}.pth-lesson-card{padding:18px 16px;border-radius:13px}.pth-lesson-card-head h2{font-size:18px}.pth-lesson-banner{padding:20px}.pth-lesson-banner h1{font-size:23px}.pth-lesson-banner p{font-size:13px}
}


/* =========================================================
   PTH 1.6.1 — Lesson navigation polish
   Top = dynamic chapter links. Right rail = collapsible chapter list + section links.
   ========================================================= */
.pth-premium-lesson .pth-chapter-topnav{position:sticky;top:68px;z-index:89;margin:-22px -26px 22px;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-bottom:1px solid #dbeafe;box-shadow:0 4px 14px rgba(37,99,235,.04)}
.admin-bar .pth-premium-lesson .pth-chapter-topnav{top:100px}
.pth-chapter-topnav-inner{max-width:1440px;margin:0 auto;display:flex;gap:7px;overflow-x:auto;padding:10px 26px;scrollbar-width:thin}
.pth-chapter-topnav a{flex:0 0 auto;text-decoration:none;color:#64748b;font-size:13px;font-weight:900;letter-spacing:.35px;padding:7px 10px;border-bottom:3px solid transparent;transition:.18s ease}
.pth-chapter-topnav a:hover{color:#1d4ed8;background:#eff6ff;border-radius:7px 7px 0 0}
.pth-chapter-topnav a.is-active{color:#2563eb;border-bottom-color:#2563eb;background:#f8fbff}

/* old section syllabus is no longer used in 1.6.1 */
.pth-lesson-syllabus{display:none!important}

.pth-premium-lesson .pth-chapter-list{position:sticky;top:90px;display:flex;flex-direction:column;gap:14px;border:0;border-radius:0;padding:0;background:transparent;backdrop-filter:none;box-shadow:none;max-height:calc(100vh - 112px);overflow:auto}
.admin-bar .pth-premium-lesson .pth-chapter-list{top:122px}
.pth-chapter-tools,.pth-section-nav{background:rgba(255,255,255,.94);border:1px solid #dbe3eb;border-radius:14px;box-shadow:0 10px 24px -18px rgba(15,23,42,.35);overflow:hidden}
.pth-chapter-tools>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px;padding:14px 15px;background:#fff}
.pth-chapter-tools>summary::-webkit-details-marker{display:none}
.pth-chapter-tools>summary span{grid-column:1;font-size:10px;color:#2563eb;font-weight:900;letter-spacing:.85px}
.pth-chapter-tools>summary strong{grid-column:1;font-size:20px;color:#0f172a;line-height:1.2}
.pth-chapter-tools>summary b{grid-column:2;grid-row:1/3;display:flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:8px;background:#eff6ff;color:#2563eb;font-size:18px}
.pth-chapter-tools[open]>summary b{font-size:0}.pth-chapter-tools[open]>summary b:after{content:'−';font-size:18px}
.pth-chapter-tools-body{padding:8px 10px 12px;border-top:1px solid #e2e8f0}
.pth-chapter-tools-body>a{display:flex;gap:10px;align-items:flex-start;padding:10px 8px;border-radius:9px;text-decoration:none;color:#334155;margin:3px 0;transition:.18s}
.pth-chapter-tools-body>a:hover{background:#f8fbff}.pth-chapter-tools-body>a.is-active{background:#eff6ff;box-shadow:inset 3px 0 0 #2563eb}
.pth-chapter-tools-body>a>span{width:30px;height:30px;border-radius:8px;background:#edf3f8;color:#64748b;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;flex:0 0 30px}.pth-chapter-tools-body>a.is-active>span{background:#2563eb;color:#fff}
.pth-chapter-tools-body>a strong{display:block;font-size:13px;line-height:1.35}.pth-chapter-tools-body>a small{display:block;font-size:10px;color:#64748b;margin-top:3px}

.pth-section-nav-head{padding:13px 15px;border-bottom:1px solid #e2e8f0;background:#fff}.pth-section-nav-head span{display:block;font-size:10px;letter-spacing:.8px;font-weight:900;color:#2563eb}.pth-section-nav-head strong{display:block;font-size:18px;color:#0f172a;margin-top:2px}
.pth-section-nav-list{display:flex;flex-direction:column;padding:8px 10px 12px;max-height:52vh;overflow:auto}
.pth-section-nav-list a{display:grid;grid-template-columns:auto 1fr;gap:9px;align-items:start;padding:9px 8px;border-radius:8px;color:#475569;text-decoration:none;border-bottom:1px solid #f1f5f9;transition:.18s}
.pth-section-nav-list a:last-child{border-bottom:0}
.pth-section-nav-list a:hover{background:#eff6ff;color:#1d4ed8;transform:translateX(2px)}
.pth-section-nav-list b{display:inline-flex;min-width:38px;justify-content:center;padding:3px 6px;border-radius:6px;background:#dbeafe;color:#2563eb;font-size:10px;font-weight:900}
.pth-section-nav-list span{font-size:12px;line-height:1.35;font-weight:700}

@media(max-width:900px){
  .pth-premium-lesson .pth-chapter-topnav{top:62px;margin:-22px -18px 18px}.admin-bar .pth-premium-lesson .pth-chapter-topnav{top:108px}
  .pth-chapter-topnav-inner{padding:9px 18px}.pth-chapter-topnav a{font-size:12px}
  .pth-premium-lesson .pth-chapter-list{position:relative;top:auto!important;order:-1;max-height:none;overflow:visible}
  .pth-section-nav-list{max-height:300px}
}

/* =========================================================
   PTH 1.6.2 — Seamless Lesson UI polish
   1) Seamless chapter tabs
   2) Collapsible Quick Knowledge Check
   3) Important Keywords accordion + Glossary popup buttons
   ========================================================= */

/* Seamless chapter menu: one connected premium tab strip */
.pth-premium-lesson .pth-chapter-topnav{
  padding:10px 26px 0;
  background:rgba(248,250,252,.98);
  border-bottom:0;
  box-shadow:none;
}
.pth-chapter-topnav-inner{
  max-width:1440px;
  padding:0 14px;
  min-height:58px;
  gap:0;
  overflow-x:auto;
  background:#fff;
  border:1px solid #dbe3eb;
  border-radius:14px;
  box-shadow:0 8px 24px -18px rgba(15,23,42,.35);
  scrollbar-width:thin;
  align-items:stretch;
}
.pth-chapter-topnav a{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:150px;
  padding:15px 20px 14px;
  border:0;
  border-bottom:3px solid transparent;
  border-radius:0;
  color:#64748b;
  background:#fff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.15px;
}
.pth-chapter-topnav a+a:before{
  content:"";
  position:absolute;
  left:0;
  top:16px;
  bottom:16px;
  width:1px;
  background:#e2e8f0;
}
.pth-chapter-topnav a:hover{
  color:#2563eb;
  background:#f8fbff;
  border-radius:0;
  border-bottom-color:#bfdbfe;
}
.pth-chapter-topnav a.is-active{
  color:#2563eb;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border-bottom-color:#2563eb;
  box-shadow:none;
}
.pth-chapter-tab-icon{
  display:inline-flex;
  width:22px;
  height:22px;
  align-items:center;
  justify-content:center;
  color:#64748b;
  font-size:14px;
  line-height:1;
}
.pth-chapter-topnav a.is-active .pth-chapter-tab-icon{color:#2563eb}

/* Quick Knowledge Check accordion */
.pth-lesson-quiz-accordion{
  padding:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #bfdbfe;
  box-shadow:0 10px 24px -18px rgba(37,99,235,.45);
}
.pth-lesson-quiz-accordion>summary{
  list-style:none;
  cursor:pointer;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:15px 16px;
  background:linear-gradient(180deg,#fbfdff 0%,#f8fbff 100%);
  transition:.18s ease;
}
.pth-lesson-quiz-accordion>summary::-webkit-details-marker{display:none}
.pth-lesson-quiz-accordion>summary:hover{background:#eff6ff}
.pth-lesson-quiz-icon{
  display:flex;
  width:36px;height:36px;
  align-items:center;justify-content:center;
  border-radius:50%;
  background:#2563eb;
  color:#fff;
  font-size:18px;
  font-weight:900;
  box-shadow:0 5px 12px rgba(37,99,235,.22);
}
.pth-lesson-quiz-summary-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.pth-lesson-quiz-accordion .pth-lesson-quiz-badge{display:block;margin:0}
.pth-lesson-quiz-accordion .pth-lesson-quiz-question{display:block;margin:0;font-size:14px;line-height:1.4}
.pth-lesson-quiz-toggle{
  display:flex;width:32px;height:32px;align-items:center;justify-content:center;
  border:1px solid #93c5fd;border-radius:50%;background:#fff;color:#2563eb;
  font-size:20px;font-weight:500;line-height:1;
}
.pth-lesson-quiz-accordion[open] .pth-lesson-quiz-toggle{font-size:0}
.pth-lesson-quiz-accordion[open] .pth-lesson-quiz-toggle:after{content:"−";font-size:20px}
.pth-lesson-quiz-body{padding:0 16px 16px;border-top:1px solid #eff6ff}
.pth-lesson-quiz-accordion .pth-lesson-quiz-options{padding-top:12px}
.pth-lesson-quiz-accordion .pth-lesson-quiz-options button{
  display:grid;grid-template-columns:36px 1fr;align-items:center;gap:8px;
  padding:9px 12px;background:#fff;box-shadow:0 2px 7px rgba(15,23,42,.025)
}
.pth-lesson-quiz-accordion .pth-lesson-quiz-options button b{
  display:flex;align-items:center;justify-content:center;width:30px;height:28px;
  border-radius:7px;background:#eff6ff;color:#2563eb;font-size:13px
}
.pth-lesson-quiz-accordion .pth-lesson-quiz-options button span{font-weight:650}

/* Important Keywords sidebar accordion */
.pth-important-keywords{
  background:rgba(255,255,255,.96);
  border:1px solid #dbe3eb;
  border-radius:14px;
  box-shadow:0 10px 24px -18px rgba(15,23,42,.35);
  overflow:hidden;
}
.pth-important-keywords>summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:13px 15px;background:#fff;color:#2563eb;font-size:12px;font-weight:900;
  letter-spacing:.35px;text-transform:uppercase
}
.pth-important-keywords>summary::-webkit-details-marker{display:none}
.pth-important-keywords>summary b{
  display:flex;width:28px;height:28px;align-items:center;justify-content:center;
  border-radius:50%;background:#eff6ff;color:#2563eb;font-size:17px
}
.pth-important-keywords:not([open])>summary b{font-size:0}
.pth-important-keywords:not([open])>summary b:after{content:"+";font-size:17px}
.pth-important-keywords-body{padding:10px 12px 12px;border-top:1px solid #e2e8f0}
.pth-important-keywords-body ul{
  list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px
}
.pth-important-keywords-body li{margin:0;padding:0;min-width:0}
.pth-keyword-chip{
  width:100%;display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center;
  gap:7px!important;text-align:left!important;padding:9px 10px!important;border:1px solid #dbeafe!important;
  border-radius:9px!important;background:#fbfdff!important;color:#334155!important;font-size:11px!important;
  font-weight:750!important;text-decoration:none!important;box-shadow:none!important;line-height:1.3!important
}
.pth-keyword-chip:hover,.pth-keyword-chip:focus{
  color:#1d4ed8!important;background:#eff6ff!important;border-color:#93c5fd!important;
  transform:translateY(-1px)
}
.pth-keyword-chip .pth-keyword-dot{color:#2563eb;font-size:16px;line-height:1}
.pth-keyword-chip i{
  display:flex;width:18px;height:18px;align-items:center;justify-content:center;
  border:1px solid #60a5fa;border-radius:50%;color:#2563eb;font-size:10px;font-style:normal;font-weight:900
}
.pth-keyword-help{margin:10px 2px 0;text-align:center;color:#64748b;font-size:10px}

@media(max-width:900px){
  .pth-premium-lesson .pth-chapter-topnav{padding:8px 18px 0;margin:-22px -18px 18px}
  .pth-chapter-topnav-inner{padding:0 8px;border-radius:12px}
  .pth-chapter-topnav a{min-width:130px;padding:13px 14px 12px;font-size:12px}
}
@media(max-width:620px){
  .pth-important-keywords-body ul{grid-template-columns:1fr}
  .pth-lesson-quiz-accordion>summary{grid-template-columns:auto 1fr auto;padding:12px}
  .pth-lesson-quiz-icon{width:32px;height:32px;font-size:16px}
}


/* =========================================================
   PTH 1.6.4 — viewport-safe rail + roomy cards + quiz pulse
   ========================================================= */

/* Natural document flow by default. This prevents the bottom of the right
   rail from being trapped below the viewport at 100%/125% browser zoom. */
.pth-premium-lesson .pth-chapter-list{
  position:relative;
  top:auto!important;
  max-height:none!important;
  overflow:visible!important;
  gap:20px;
  padding-bottom:38px;
}
.admin-bar .pth-premium-lesson .pth-chapter-list{top:auto!important}

/* Re-enable sticky only when the viewport is tall enough to show the rail
   comfortably without clipping its lower cards. */
@media (min-width:901px) and (min-height:1050px){
  .pth-premium-lesson .pth-chapter-list{
    position:sticky;
    top:124px!important;
  }
  .admin-bar .pth-premium-lesson .pth-chapter-list{top:156px!important}
}

/* Let the page own the scroll; do not create a stiff nested scroll area. */
.pth-section-nav-list{
  max-height:none!important;
  overflow:visible!important;
  padding:12px 14px 26px;
}
.pth-chapter-tools-body{padding:12px 14px 22px}
.pth-important-keywords-body{padding:14px 16px 28px}
.pth-important-keywords-body ul{row-gap:10px;column-gap:10px}
.pth-keyword-help{margin:16px 2px 3px;padding-bottom:2px}
.pth-chapter-tools,.pth-section-nav,.pth-important-keywords{margin-bottom:0}

/* Quick Knowledge Check: stronger blue hierarchy with a subtle attention
   pulse while collapsed. It stops once the learner opens the accordion. */
.pth-lesson-quiz-accordion{
  border-color:#60a5fa;
  background:#f7fbff;
  box-shadow:0 10px 28px -18px rgba(29,78,216,.42);
}
.pth-lesson-quiz-accordion>summary{
  background:linear-gradient(135deg,#eaf3ff 0%,#dbeafe 100%);
  border-left:4px solid #2563eb;
}
.pth-lesson-quiz-accordion>summary:hover{
  background:linear-gradient(135deg,#dbeafe 0%,#cfe4ff 100%);
}
.pth-lesson-quiz-accordion:not([open]){
  animation:pthQuickPulse 2.4s ease-in-out infinite;
}
.pth-lesson-quiz-accordion[open]{animation:none}
.pth-lesson-quiz-accordion .pth-lesson-quiz-badge{color:#1d4ed8;font-weight:900}
.pth-lesson-quiz-toggle{
  border:2px solid #3b82f6;
  color:#1d4ed8;
  background:#fff;
  box-shadow:0 0 0 0 rgba(37,99,235,0);
}
.pth-lesson-quiz-accordion:not([open]) .pth-lesson-quiz-toggle{
  animation:pthQuickTogglePulse 2.4s ease-in-out infinite;
}
.pth-lesson-quiz-accordion[open] .pth-lesson-quiz-toggle{animation:none}

@keyframes pthQuickPulse{
  0%,100%{box-shadow:0 10px 28px -18px rgba(29,78,216,.42),0 0 0 0 rgba(37,99,235,0)}
  50%{box-shadow:0 12px 30px -16px rgba(29,78,216,.52),0 0 0 4px rgba(37,99,235,.09)}
}
@keyframes pthQuickTogglePulse{
  0%,100%{box-shadow:0 0 0 0 rgba(37,99,235,.10)}
  50%{box-shadow:0 0 0 6px rgba(37,99,235,.10)}
}

@media(max-width:900px){
  .pth-premium-lesson .pth-chapter-list{padding-bottom:30px;gap:16px}
  .pth-section-nav-list{padding-bottom:22px}
  .pth-important-keywords-body{padding-bottom:24px}
}
@media(prefers-reduced-motion:reduce){
  .pth-lesson-quiz-accordion:not([open]),
  .pth-lesson-quiz-accordion:not([open]) .pth-lesson-quiz-toggle{animation:none!important}
}

/* PTH 1.6.5 compact Real Example block */
.pth-live-e p{margin:.45em 0}.pth-live-e ul,.pth-live-e ol{margin:.55em 0 .55em 1.2em;padding:0}.pth-live-e li{margin:.3em 0}.pth-live-e strong{color:var(--pth-navy)}.pth-mobile-drawer [data-mobile-live-e] ul,.pth-mobile-drawer [data-mobile-live-e] ol{margin:.55em 0 .55em 1.2em;padding:0}

/* PTH 1.6.6 — SIMTEST-inspired post-answer learning tabs */
.pth-question-learning[hidden]{display:none!important}
.pth-question-learning{margin-top:13px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #dbe4ee;border-radius:11px;background:#fff;overflow:hidden;box-shadow:0 4px 14px rgba(15,23,42,.035)}
.pth-question-learning-panel{display:contents}
.pth-question-learning-panel>summary{grid-row:1;list-style:none;display:flex;align-items:center;gap:8px;min-height:46px;padding:11px 14px;cursor:pointer;color:#0f172a;background:#fff;border-right:1px solid #e2e8f0;font-size:14px;font-weight:800;transition:.16s}
.pth-question-learning-panel:nth-child(1)>summary{grid-column:1}.pth-question-learning-panel:nth-child(2)>summary{grid-column:2}.pth-question-learning-panel:nth-child(3)>summary{grid-column:3;border-right:0}
.pth-question-learning-panel>summary::-webkit-details-marker{display:none}.pth-question-learning-panel>summary::marker{content:""}
.pth-question-learning-panel>summary:hover{background:#f8fbff;color:#1d4ed8}
.pth-question-learning-panel[open]>summary{background:#eff6ff;color:#1d4ed8}
.pth-learning-caret{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:8px solid #2563eb;transition:transform .16s}
.pth-question-learning-panel[open] .pth-learning-caret{transform:rotate(90deg)}
.pth-question-learning-body{grid-column:1/-1;grid-row:2;padding:15px 17px 16px;border-top:1px solid #e2e8f0;color:#475569;font-size:13px;line-height:1.58;background:#fcfdff}
.pth-question-learning-body p{margin:.4em 0}.pth-question-learning-body ul,.pth-question-learning-body ol{margin:.55em 0 .55em 1.25em;padding:0}
.pth-learning-choice{display:grid;grid-template-columns:30px 1fr;gap:8px;padding:8px 0;border-top:1px solid #edf2f7}.pth-learning-choice:first-of-type{margin-top:8px}.pth-learning-choice>b{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eaf2ff;color:#2563eb}
.pth-learning-source-link{color:#2563eb;font-weight:800;text-decoration:none}.pth-learning-source-link:hover{text-decoration:underline}
.pth-question-real-example-content strong{color:#0f3d5e}
@media(max-width:700px){.pth-question-learning{display:block}.pth-question-learning-panel{display:block;border-bottom:1px solid #e2e8f0}.pth-question-learning-panel:last-child{border-bottom:0}.pth-question-learning-panel>summary{border-right:0}.pth-question-learning-body{border-top:1px solid #e2e8f0}}


/* 1.6.10 — Lesson-context language switch.
   One authority: Language Engine ON/OFF. No duplicate top-header switch. */
.pth-lesson-language-card{
  background:rgba(255,255,255,.96);
  border:1px solid #dbe3eb;
  border-radius:14px;
  box-shadow:0 10px 24px -18px rgba(15,23,42,.35);
  overflow:hidden;
}
.pth-lesson-language-head{
  padding:12px 15px 9px;
  border-bottom:1px solid #e2e8f0;
  background:#fff;
}
.pth-lesson-language-head span{
  display:block;
  font-size:10px;
  letter-spacing:.8px;
  font-weight:900;
  color:#2563eb;
}
.pth-lesson-language-head strong{
  display:block;
  margin-top:2px;
  font-size:16px;
  color:#0f172a;
}
.pth-lesson-language-switch{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:11px 12px 12px;
}
.pth-lesson-language-switch a{
  min-width:38px;
  padding:7px 9px;
  border:1px solid #dbe3eb;
  border-radius:8px;
  background:#fff;
  color:#475569;
  text-decoration:none;
  text-align:center;
  font-size:12px;
  font-weight:800;
  line-height:1;
  transition:.16s ease;
}
.pth-lesson-language-switch a:hover{
  border-color:#93c5fd;
  background:#eff6ff;
  color:#1d4ed8;
}
.pth-lesson-language-switch a.is-active{
  border-color:#2563eb;
  background:#2563eb;
  color:#fff;
  box-shadow:0 4px 10px rgba(37,99,235,.18);
}


/* 1.6.11 — one text-only language dropdown in the global header.
   Language visibility comes from Language Engine ON/OFF. */
.pth-lesson-language-card,
.pth-lesson-language-switch{
  display:none!important;
}

.pth-header-lang-dropdown{
  position:relative;
  display:inline-flex;
  align-items:center;
  margin-left:10px;
  z-index:1200;
}
.pth-header-lang-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:58px;
  height:38px;
  padding:0 11px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:9px;
  background:rgba(255,255,255,.06);
  color:#fff;
  font:inherit;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  transition:.16s ease;
}
.pth-header-lang-btn:hover,
.pth-header-lang-dropdown.is-open .pth-header-lang-btn{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.35);
}
.pth-header-lang-arrow{
  font-size:9px;
  opacity:.75;
  transition:transform .16s ease;
}
.pth-header-lang-dropdown.is-open .pth-header-lang-arrow{
  transform:rotate(180deg);
}
.pth-header-lang-menu{
  position:absolute;
  top:calc(100% + 7px);
  right:0;
  min-width:82px;
  margin:0;
  padding:6px;
  list-style:none;
  background:#fff;
  border:1px solid #dbe3eb;
  border-radius:10px;
  box-shadow:0 14px 30px rgba(15,23,42,.18);
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:.16s ease;
}
.pth-header-lang-dropdown.is-open .pth-header-lang-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.pth-header-lang-menu li{
  margin:0;
  padding:0;
}
.pth-header-lang-item{
  display:block;
  padding:8px 10px;
  border-radius:7px;
  color:#334155;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  line-height:1.1;
}
.pth-header-lang-item:hover{
  background:#f1f5f9;
  color:#0f172a;
}
.pth-header-lang-item.is-active{
  background:#eff6ff;
  color:#2563eb;
}

@media (max-width: 760px){
  .pth-header-lang-btn{
    min-width:50px;
    height:36px;
    padding:0 9px;
  }
  .pth-header-lang-menu{
    min-width:72px;
  }
}


/* 1.6.12 — HOME is the default public route */
.pth-home-page{padding-top:28px}
.pth-home-hero{padding:34px 36px;border-radius:18px;background:linear-gradient(120deg,#0b3657,#2458d7);color:#fff;box-shadow:0 16px 34px -24px rgba(15,23,42,.65)}
.pth-home-hero>span{font-size:11px;font-weight:900;letter-spacing:.9px;color:#bfdbfe}
.pth-home-hero h1{margin:8px 0 8px;color:#fff;font-size:34px;line-height:1.15}
.pth-home-hero p{margin:0;max-width:760px;color:#dbeafe;font-size:16px}
.pth-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.pth-home-card{position:relative;display:flex;flex-direction:column;min-height:124px;padding:20px 54px 20px 20px;border:1px solid var(--pth-border);border-radius:14px;background:#fff;color:var(--pth-text);text-decoration:none;box-shadow:0 7px 20px -18px rgba(15,23,42,.45)}
.pth-home-card:hover{border-color:#93c5fd;transform:translateY(-1px)}
.pth-home-card strong{font-size:18px;color:var(--pth-navy)}
.pth-home-card span{margin-top:7px;color:var(--pth-muted);line-height:1.5}
.pth-home-card b{position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:24px;color:var(--pth-blue)}
@media(max-width:700px){.pth-home-grid{grid-template-columns:1fr}.pth-home-hero{padding:26px 24px}.pth-home-hero h1{font-size:28px}}


/* 1.6.14 — dynamic HOME showcase adapted from provided home.html.
   Fitted between the existing header/footer; no full-screen body takeover. */
.pth-home-showcase{
  padding:28px 18px 34px;
  background:linear-gradient(135deg,#0d3b4c 0%,#0a4d52 35%,#0f3d64 70%,#08293d 100%);
}
.pth-home-showcase-wrapper{
  max-width:1240px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,42%) minmax(0,58%);
  gap:24px;
  align-items:stretch;
}
.pth-home-left-panel{
  background:rgba(255,255,255,.97);
  border:1px solid rgba(255,255,255,.45);
  border-radius:20px;
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:22px;
  box-shadow:0 20px 40px rgba(0,0,0,.22);
}
.pth-home-brand-mark{display:flex;align-items:center;gap:12px}
.pth-home-logo-symbol{
  width:42px;height:42px;display:grid;place-items:center;
  background:linear-gradient(135deg,#0d9488,#2563eb);color:#fff;
  font-weight:900;border-radius:8px;clip-path:polygon(50% 0,100% 100%,0 100%);
}
.pth-home-logo-text{font-size:32px;font-weight:900;letter-spacing:-1px;color:#0f172a}
.pth-home-logo-text span{color:#0d9488}
.pth-home-eyebrow{font-size:11px;letter-spacing:.9px;font-weight:900;color:#0d9488}
.pth-home-intro h1{margin:6px 0 8px;font-size:31px;line-height:1.16;color:#0f172a}
.pth-home-intro p{margin:0;color:#475569;line-height:1.6}
.pth-home-feature-list{display:grid;gap:10px}
.pth-home-feature-item{
  display:flex;align-items:center;gap:12px;padding:11px 12px;
  border:1px solid #e2e8f0;border-radius:11px;background:#fff;
  color:#0f172a;text-decoration:none;font-weight:700;
}
.pth-home-feature-item:hover{border-color:#93c5fd;background:#f8fbff}
.pth-home-feature-item strong{color:#0d9488;font-size:18px}
.pth-home-check{
  width:27px;height:27px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#0d9488,#2563eb);color:#fff;font-size:12px;flex:0 0 27px;
}
.pth-home-created-pill{
  margin-top:auto;display:inline-flex;align-items:center;gap:10px;width:max-content;
  max-width:100%;padding:10px 14px;border-radius:999px;background:#0f172a;color:#fff;font-size:13px;
}
.pth-home-created-pill span{color:#cbd5e1}

.pth-home-right-panel{display:flex;flex-direction:column;gap:14px;min-width:0}
.pth-home-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.pth-home-stat-card{
  min-height:92px;padding:14px;border-radius:13px;background:rgba(255,255,255,.97);
  box-shadow:0 10px 24px rgba(0,0,0,.14);display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;
}
.pth-home-stat-card strong{
  font-size:28px;line-height:1;font-weight:900;
  background:linear-gradient(135deg,#0a4d52,#2563eb);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
}
.pth-home-stat-card span{margin-top:6px;font-size:11px;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.4px}
.pth-home-dark-canvas{
  flex:1;background:rgba(15,23,42,.94);border:1px solid rgba(255,255,255,.12);
  border-radius:20px;padding:24px;color:#fff;box-shadow:0 24px 48px -12px rgba(0,0,0,.42);
  display:flex;flex-direction:column;gap:20px;
}
.pth-home-canvas-top{
  display:flex;align-items:center;justify-content:space-between;padding-bottom:13px;
  border-bottom:1px solid rgba(255,255,255,.12)
}
.pth-home-canvas-top span{font-size:13px;font-weight:900;letter-spacing:.5px;color:#5eead4}
.pth-home-canvas-top a{
  padding:8px 12px;border-radius:8px;background:linear-gradient(135deg,#0d9488,#2563eb);
  color:#fff;text-decoration:none;font-size:12px;font-weight:800
}
.pth-home-canvas-tag{font-size:10px;letter-spacing:1.2px;font-weight:900;color:#5eead4}
.pth-home-canvas-copy h2{margin:7px 0 0;font-size:35px;line-height:1.12;color:#f8fafc}
.pth-home-canvas-copy em{color:#5eead4;font-style:italic}
.pth-home-cards-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:auto
}
.pth-home-dashboard-card{
  min-height:128px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;
  gap:12px;padding:15px;border:1px solid rgba(255,255,255,.12);border-radius:13px;
  background:rgba(255,255,255,.055);color:#fff;text-decoration:none
}
.pth-home-dashboard-card:hover{background:rgba(255,255,255,.09);border-color:rgba(94,234,212,.35)}
.pth-home-card-count{
  min-width:42px;height:42px;padding:0 8px;border-radius:10px;display:grid;place-items:center;
  background:rgba(94,234,212,.12);color:#5eead4;font-size:18px;font-weight:900
}
.pth-home-dashboard-card strong{display:block;font-size:15px;color:#fff}
.pth-home-dashboard-card p{margin:4px 0 0;color:#cbd5e1;font-size:12px;line-height:1.45}
.pth-home-dashboard-card b{color:#5eead4;font-size:20px}

@media(max-width:980px){
  .pth-home-showcase-wrapper{grid-template-columns:1fr}
}
@media(max-width:760px){
  .pth-home-showcase{padding:18px 12px 24px}
  .pth-home-left-panel,.pth-home-dark-canvas{padding:20px}
  .pth-home-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pth-home-cards-grid{grid-template-columns:1fr}
  .pth-home-canvas-copy h2{font-size:29px}
}


/* 1.6.16 — KEY WORDS page surface + STUDY mock aligned to LESSON */
.pth-library-page{
  max-width:none!important;
  width:100%;
  padding:26px clamp(16px,4vw,72px) 34px!important;
  background:#eef3f7;
}
.pth-library-page>.pth-keywords-page{
  max-width:1240px!important;
  margin:0 auto;
}

.pth-study-mock{
  padding-top:28px;
  padding-bottom:36px;
}
.pth-study-mock-layout{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(280px,.78fr);
  gap:22px;
  align-items:start;
}
.pth-study-mock-main{display:grid;gap:16px}
.pth-study-mock-hero{
  padding:28px 30px;
  border-radius:18px;
  background:linear-gradient(120deg,#0b3657,#2458d7);
  color:#fff;
  box-shadow:0 16px 32px -24px rgba(15,23,42,.58);
}
.pth-study-mock-hero>span,
.pth-study-mock-sidecard>span{
  display:block;
  font-size:11px;
  letter-spacing:.8px;
  font-weight:900;
  color:#bfdbfe;
}
.pth-study-mock-hero h1{
  margin:6px 0 8px;
  color:#fff;
  font-size:30px;
}
.pth-study-mock-hero p{
  margin:0;
  max-width:760px;
  color:#dbeafe;
  line-height:1.6;
}
.pth-study-mock-card{
  padding:22px 24px;
  border:1px solid #dbe3eb;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 22px -20px rgba(15,23,42,.4);
}
.pth-study-mock-card-head{
  display:flex;
  align-items:center;
  gap:12px;
}
.pth-study-mock-card-head span{
  padding:5px 8px;
  border-radius:7px;
  background:#eff6ff;
  color:#2563eb;
  font-size:10px;
  font-weight:900;
  letter-spacing:.45px;
}
.pth-study-mock-card-head strong{
  font-size:19px;
  color:#0f172a;
}
.pth-study-mock-card p{
  margin:12px 0 14px;
  color:#64748b;
  line-height:1.55;
}
.pth-study-mock-empty{
  padding:13px 14px;
  border:1px dashed #cbd5e1;
  border-radius:10px;
  background:#f8fafc;
  color:#94a3b8;
  font-size:13px;
}
.pth-study-mock-rail{
  position:sticky;
  top:112px;
  display:grid;
  gap:12px;
}
.pth-study-mock-sidecard{
  padding:18px;
  border:1px solid #dbe3eb;
  border-radius:15px;
  background:#fff;
}
.pth-study-mock-sidecard>span{color:#2563eb}
.pth-study-mock-sidecard h2{
  margin:4px 0 7px;
  color:#0f172a;
  font-size:21px;
}
.pth-study-mock-sidecard p{
  margin:0;
  color:#64748b;
  font-size:13px;
  line-height:1.5;
}
.pth-study-mock-navitem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 15px;
  border:1px solid #dbe3eb;
  border-radius:12px;
  background:#fff;
  color:#334155;
}
.pth-study-mock-navitem span{
  min-width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#eff6ff;
  color:#2563eb;
  font-weight:800;
  font-size:12px;
}
@media(max-width:900px){
  .pth-study-mock-layout{grid-template-columns:1fr}
  .pth-study-mock-rail{position:static;order:-1}
}


/* 1.6.17 — HOME canvas label */
.pth-home-canvas-top{
  display:grid!important;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
}
.pth-home-canvas-top>span{
  justify-self:start;
}
.pth-home-canvas-top>a{
  justify-self:end;
}
.pth-home-multi-language{
  justify-self:center;
  color:#ffffff;
  font-size:16px;
  font-weight:900;
  letter-spacing:.9px;
  line-height:1;
  white-space:nowrap;
}
@media(max-width:640px){
  .pth-home-canvas-top{
    grid-template-columns:1fr auto;
    row-gap:10px;
  }
  .pth-home-multi-language{
    grid-column:1 / -1;
    grid-row:2;
    font-size:14px;
  }
}


/* 1.6.18 — TEST route lists active Question Sets when no test is selected */
.pth-test-directory{
  width:100%;
}
.pth-test-directory-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:16px;
  padding:22px 24px;
  border:1px solid #dbe3eb;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 22px -20px rgba(15,23,42,.4);
}
.pth-test-directory-kicker{
  display:block;
  margin-bottom:5px;
  color:#2563eb;
  font-size:11px;
  font-weight:900;
  letter-spacing:.8px;
}
.pth-test-directory-head h1{
  margin:0;
  color:#0f172a;
  font-size:28px;
  line-height:1.15;
}
.pth-test-directory-head p{
  margin:7px 0 0;
  color:#64748b;
  font-size:14px;
}
.pth-test-directory-total{
  flex:0 0 auto;
  padding:7px 10px;
  border:1px solid #cbd5e1;
  border-radius:999px;
  background:#f8fafc;
  color:#475569;
  font-size:12px;
  font-weight:800;
}
.pth-test-directory-grid{
  display:grid;
  gap:12px;
}
.pth-test-directory-card{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  min-height:112px;
  padding:17px 18px;
  border:1px solid #b9ded8;
  border-radius:14px;
  background:#fff;
  box-shadow:0 7px 18px -18px rgba(15,23,42,.45);
}
.pth-test-directory-card:hover{
  border-color:#7fc9bd;
  box-shadow:0 10px 24px -20px rgba(15,76,92,.45);
}
.pth-test-directory-number{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:linear-gradient(135deg,#e8f7f5,#eaf4ff);
  color:#0f766e;
  font-size:18px;
  font-weight:900;
}
.pth-test-directory-copy{
  min-width:0;
}
.pth-test-directory-copy>span{
  display:block;
  color:#64748b;
  font-size:10px;
  font-weight:900;
  letter-spacing:.65px;
}
.pth-test-directory-copy h2{
  margin:4px 0 5px;
  color:#0f172a;
  font-size:18px;
  line-height:1.3;
}
.pth-test-directory-copy p{
  margin:0;
  color:#64748b;
  font-size:13px;
}
.pth-test-directory-start{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:114px;
  height:40px;
  padding:0 14px;
  border-radius:9px;
  background:linear-gradient(135deg,#0d9488,#2563eb);
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}
.pth-test-directory-start:hover{
  color:#fff;
  filter:brightness(1.04);
}
@media(max-width:700px){
  .pth-test-directory-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .pth-test-directory-card{
    grid-template-columns:50px minmax(0,1fr);
  }
  .pth-test-directory-start{
    grid-column:1 / -1;
    width:100%;
  }
}


/* 1.6.19 — TEST landing link + dynamic Question Set dropdown */
.pth-test-menu-combo{
  display:inline-flex;
  align-items:stretch;
}
.pth-test-menu-link{
  color:#eaf3f8;
  background:transparent;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  padding:9px 8px 9px 10px;
  border-radius:8px 0 0 8px;
  text-transform:uppercase;
  letter-spacing:.35px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}
.pth-test-menu-combo .pth-test-menu-btn{
  min-width:26px;
  padding:9px 7px;
  border-radius:0 8px 8px 0;
}
.pth-test-menu-combo:hover .pth-test-menu-link,
.pth-test-menu-combo:hover .pth-test-menu-btn{
  background:rgba(255,255,255,.10);
  color:#fff;
}
.pth-test-menu-link.is-active,
.pth-test-menu-combo .pth-test-menu-btn.is-active{
  background:#1f6f9a;
  color:#fff;
  box-shadow:inset 0 -3px 0 #7dd3fc,0 3px 10px rgba(0,0,0,.14);
}
.pth-test-menu-panel{
  width:320px;
}
.pth-test-menu-panel a{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.pth-test-menu-panel a small{
  color:#64748b;
  font-size:11px;
  font-weight:600;
}
.pth-test-menu-panel a.is-current small,
.pth-test-menu-panel a:hover small{
  color:inherit;
}
@media(max-width:820px){
  .pth-test-menu-link{
    padding:7px 7px 7px 8px;
    font-size:13px;
  }
  .pth-test-menu-combo .pth-test-menu-btn{
    padding:7px 6px;
  }
}


/* 1.6.20 — bilingual Question JSON presentation.
   Change only these CSS rules to restyle Vietnamese; JSON does not need editing. */
.question-vi{
  display:inline;
  margin-left:4px;
  font-style:italic;
  font-weight:500;
  font-size:.95em;
  color:#5f6b7a;
}
.option-vi{
  display:inline;
  margin-left:4px;
  font-style:italic;
  font-weight:500;
  font-size:.95em;
  color:#5f6b7a;
}


/* Live Sample hierarchy */


/* LIVE SAMPLE:
   Card 1 (.pth-live-a) now uses the former neutral/body visual.
   Card 2 (.pth-live-e) is a light-yellow example card. */
.pth-live-a{
  margin:0 0 10px;
  padding:9px 10px;
  background:rgba(255,255,255,.62);
  border:1px solid #cdd5f2;
  border-left:3px solid #7f91dd;
  border-radius:7px;
  font-weight:700;
  color:#334155;
}
.pth-live-e{
  margin-top:8px;
  padding:11px 12px;
  background:#fff8d9;
  border:1px solid #ead990;
  border-left:3px solid #d9b533;
  border-radius:8px;
  color:#334155;
}
.pth-live-e:empty{display:none}
.pth-mobile-drawer [data-mobile-live-a]{
  margin:0 0 10px;
  padding:9px 10px;
  background:rgba(255,255,255,.62);
  border:1px solid #cdd5f2;
  border-left:3px solid #7f91dd;
  border-radius:7px;
  font-weight:700;
  color:#334155;
}
.pth-mobile-drawer [data-mobile-live-e]{
  margin-top:8px;
  padding:11px 12px;
  background:#fff8d9;
  border:1px solid #ead990;
  border-left:3px solid #d9b533;
  border-radius:8px;
}

/* 1.6.22 inline admin edit targets */
.pth-question-number{margin-right:4px}.pth-inline-edit-target{display:inline}


/* 1.6.23 — Lesson typography hot fix */

/* Main Lesson reading body: 14px -> 16px; slightly more line-height */
.pth-premium-lesson .pth-lesson-card,
.pth-premium-lesson .pth-lesson-card p,
.pth-premium-lesson .pth-lesson-card li,
.pth-premium-lesson .pth-lesson-body,
.pth-premium-lesson .pth-lesson-body p,
.pth-premium-lesson .pth-lesson-body li{
  font-size:16px;
  line-height:1.6;
}

/* Lesson section/card title: 18px -> 19px */
.pth-premium-lesson .pth-lesson-card h2{
  font-size:19px;
  line-height:1.35;
}

/* Hero title: ~30px -> 28px */
.pth-premium-lesson .pth-lesson-banner h1{
  font-size:28px;
  line-height:1.2;
}

/* Dynamic Chapter number */
.pth-premium-lesson .pth-lesson-chapter-no{
  margin:0 0 7px;
  font-size:28px;
  line-height:1;
  font-weight:900;
  letter-spacing:.2px;
  color:#fff;
  text-transform:uppercase;
}

/* Hero description follows requested readable body size */
.pth-premium-lesson .pth-lesson-banner > p{
  font-size:16px;
  line-height:1.55;
}

@media (max-width:820px){
  .pth-premium-lesson .pth-lesson-card,
  .pth-premium-lesson .pth-lesson-card p,
  .pth-premium-lesson .pth-lesson-card li,
  .pth-premium-lesson .pth-lesson-body,
  .pth-premium-lesson .pth-lesson-body p,
  .pth-premium-lesson .pth-lesson-body li{
    font-size:16px;
    line-height:1.58;
  }

  .pth-premium-lesson .pth-lesson-card h2{
    font-size:19px;
  }

  .pth-premium-lesson .pth-lesson-banner h1,
  .pth-premium-lesson .pth-lesson-chapter-no{
    font-size:28px;
  }
}


/* 1.6.24 — Old-style Answer Feedback: one compact box + 3 inline tabs */
.pth-answer-feedback{
  margin-top:12px;
  border-radius:9px;
  overflow:hidden;
  border:1px solid #f1d899;
  border-left:4px solid #f59e0b;
  background:#fff9e8;
  box-shadow:0 1px 2px rgba(15,23,42,.03);
}
.pth-answer-feedback.is-incorrect{
  background:#fff9e8;
  border-color:#efd69a;
  border-left-color:#f59e0b;
}
.pth-answer-feedback.is-correct{
  background:#ecfdf5;
  border-color:#9edcc6;
  border-left-color:#10b981;
}
.pth-answer-status{
  padding:12px 14px 9px;
}
.pth-answer-status h3{
  margin:0;
  font-size:16px;
  line-height:1.35;
  font-weight:850;
  color:#b45309;
}
.pth-answer-feedback.is-correct .pth-answer-status h3{
  color:#047857;
}
.pth-answer-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin:0 12px;
  border:1px solid rgba(148,163,184,.38);
  border-radius:7px 7px 0 0;
  overflow:hidden;
  background:rgba(255,255,255,.66);
}
.pth-answer-tab{
  appearance:none;
  border:0;
  border-right:1px solid rgba(148,163,184,.35);
  background:transparent;
  min-height:40px;
  padding:8px 10px;
  font-size:13px;
  line-height:1.2;
  font-weight:800;
  color:#475569;
  cursor:pointer;
}
.pth-answer-tab:last-child{border-right:0}
.pth-answer-tab:hover:not(:disabled){background:rgba(255,255,255,.78);color:#0f172a}
.pth-answer-tab.is-active{
  background:#fff;
  color:#0f172a;
  box-shadow:inset 0 -3px 0 #f59e0b;
}
.pth-answer-feedback.is-correct .pth-answer-tab.is-active{
  box-shadow:inset 0 -3px 0 #10b981;
}
.pth-answer-tab:disabled{
  opacity:.42;
  cursor:default;
}
.pth-answer-panels{
  margin:0 12px 12px;
  border:1px solid rgba(148,163,184,.38);
  border-top:0;
  border-radius:0 0 7px 7px;
  background:rgba(255,255,255,.58);
}
.pth-answer-panel{
  padding:12px 14px;
  font-size:15px;
  line-height:1.58;
  color:#27364b;
}
.pth-answer-panel p{
  margin:.2em 0 .55em;
}
.pth-answer-panel p:last-child{margin-bottom:0}
.pth-answer-panel strong{font-weight:800}
.pth-answer-panel .question-vi,
.pth-answer-panel .option-vi{
  color:#5f6b7a;
}
@media(max-width:700px){
  .pth-answer-tabs{grid-template-columns:1fr}
  .pth-answer-tab{
    border-right:0;
    border-bottom:1px solid rgba(148,163,184,.35);
    text-align:left;
  }
  .pth-answer-tab:last-child{border-bottom:0}
  .pth-answer-tab.is-active{box-shadow:inset 3px 0 0 #f59e0b}
  .pth-answer-feedback.is-correct .pth-answer-tab.is-active{box-shadow:inset 3px 0 0 #10b981}
}


/* 1.6.25 — Study Notes right-rail polish */
.pth-study-notes{
  gap:12px;
}
.pth-study-notes .pth-tip-card,
.pth-study-notes .pth-live-panel{
  margin-bottom:0;
}
.pth-study-notes .pth-tip-card{
  border-radius:10px;
}
.pth-study-notes .pth-live-panel{
  border-radius:10px;
  overflow:hidden;
}
.pth-study-notes .pth-tip-label{
  letter-spacing:.1px;
}


/* 1.6.26 — Auto Translation Layer placement polish */
.pth-quiz-card > .pth-section-title{
  padding-right:42px;
}
.pth-answer-status{
  min-height:38px;
  padding-right:48px;
}
.pth-compare-box > h4,
.pth-lesson-copy > h3{
  padding-right:38px;
}
.pth-lesson-callout{
  padding-right:48px;
}


/* 1.6.27 — no frontend inline editing */
[data-pth-inline-edit="0"]{
  outline:none !important;
  cursor:inherit;
}


/* 1.6.28 — Translation icons on Study Notes cards */
.pth-study-xlate-slot{
  position:absolute;
  top:10px;
  right:52px;
  z-index:9;
  display:block;
}
.pth-study-card-xlate-control{
  display:inline-flex;
}
.pth-tip-card > .pth-translation-layer{
  grid-column:1 / -1;
  width:100%;
  box-sizing:border-box;
  margin:8px 0 0;
}
.pth-tip-card .pth-translation-layer-copy{
  font-size:13px;
  line-height:1.5;
}
@media(max-width:820px){
  .pth-study-xlate-slot{
    top:9px;
    right:10px;
  }
}

/* Contact 1.6.36 — database-backed form + CAPTCHA + social link */
.pth-contact-captcha{max-width:280px;padding:13px 14px;border:1px solid var(--pth-border);border-radius:10px;background:#f8fafc}.pth-contact-captcha label{display:grid;grid-template-columns:1fr 92px;align-items:end;gap:8px 12px}.pth-contact-captcha label>.pth-captcha-question{grid-column:1;font-size:16px;font-weight:900;color:var(--pth-navy);padding:10px 0 3px}.pth-contact-captcha input[type=number]{grid-column:2;grid-row:1/3;margin:0;text-align:center;font-size:17px;font-weight:800}.pth-contact-social{margin-top:22px;padding-top:18px;border-top:1px solid var(--pth-border);display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--pth-muted);font-size:13px;font-weight:700}.pth-contact-social a{display:inline-flex;align-items:center;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;text-decoration:none;border-radius:8px;padding:8px 11px;font-weight:900}.pth-contact-social a:hover{background:#dbeafe}.pth-contact-form textarea{min-height:150px}

/* 1.6.38 — Dictionary compact route */

/* PTH 1.6.40 — Compact Auth + Inline Validation + PTH Reset */
.pth-auth-page{max-width:1440px;margin:0 auto;padding:26px 20px 46px;min-height:calc(100vh - 170px);display:flex;align-items:flex-start;justify-content:center}
.pth-auth-card,.pth-user-card{width:min(620px,100%);background:#fff;border:1px solid #dbe3ec;border-radius:17px;box-shadow:0 10px 30px rgba(15,23,42,.07);padding:26px 28px}
.pth-auth-kicker{font-size:11px;font-weight:800;letter-spacing:1.35px;color:#2563eb;text-transform:uppercase}
.pth-auth-card h1,.pth-user-card h1{margin:4px 0 5px;font:800 29px/1.12 "Plus Jakarta Sans",Inter,sans-serif;color:#0f172a}
.pth-auth-subtitle,.pth-user-head p{margin:0;color:#64748b;font-size:14px}
.pth-auth-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:19px 0 14px;padding:4px;border:1px solid #dbe3ec;border-radius:11px;background:#f8fafc}
.pth-auth-tabs a{text-align:center;text-decoration:none;padding:8px 7px;border-radius:8px;color:#475569;font-weight:800;font-size:12.5px}
.pth-auth-tabs a.is-active{background:#2563eb;color:#fff;box-shadow:0 3px 9px rgba(37,99,235,.20)}
.pth-auth-alert{margin:0 0 13px;padding:10px 12px;border-radius:9px;font-weight:700;font-size:12.5px}
.pth-auth-alert.error{background:#fff1f2;border:1px solid #fecdd3;color:#be123c}
.pth-auth-alert.success{background:#ecfdf5;border:1px solid #a7f3d0;color:#047857}
.pth-auth-form{display:grid;gap:9px}
.pth-auth-field{display:grid;gap:4px;font-weight:760;color:#152234;font-size:13px}
.pth-auth-form input[type=text],.pth-auth-form input[type=email],.pth-auth-form input[type=password]{width:100%;height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:0 11px;background:#fff;outline:none;font-size:14px;color:#0f172a;transition:border-color .15s,box-shadow .15s,background .15s}
.pth-auth-form input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.09)}
.pth-auth-field.has-error input,.pth-auth-field.is-invalid input{border-color:#ef4444;background:#fffafa;box-shadow:0 0 0 1px rgba(239,68,68,.08)}
.pth-auth-field-error{display:block;margin-top:1px;color:#dc2626;font-size:11.5px;font-weight:800;line-height:1.35}
.pth-auth-field-note{display:block;text-align:right;color:#64748b;font-size:10.5px;font-weight:650;line-height:1.25;min-height:0}
.pth-auth-field.has-error .pth-auth-field-note,.pth-auth-field.is-invalid .pth-auth-field-note{color:#94a3b8}
.pth-auth-grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pth-auth-remember{display:flex!important;align-items:center;grid-template-columns:auto 1fr!important;gap:7px!important;font-weight:600!important;font-size:12.5px;margin-top:1px}
.pth-auth-form button,.pth-auth-primary{border:0;border-radius:9px;background:#2563eb;color:#fff;text-decoration:none;padding:10px 16px;font-weight:800;cursor:pointer;text-align:center;font-size:13.5px}
.pth-auth-form button:hover,.pth-auth-primary:hover{background:#1d4ed8;color:#fff}
.pth-auth-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}
.pth-auth-secondary{border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#0f172a;text-decoration:none;padding:9px 14px;font-weight:750;font-size:13px}
.pth-auth-secondary:hover{background:#f8fafc;color:#0f172a}
.pth-auth-logged{text-align:center}
.pth-auth-check{margin:0 auto 10px;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#ecfdf5;border:1px solid #a7f3d0;color:#059669;font-size:26px;font-weight:900}
.pth-auth-logged .pth-auth-actions{justify-content:center}
.pth-reset-card{width:min(500px,100%);text-align:left}
.pth-reset-mark{width:58px;height:58px;border-radius:14px;background:linear-gradient(145deg,#0f4f6d,#2563eb);color:#fff;display:grid;place-items:center;font:800 16px/1 "Plus Jakarta Sans",sans-serif;letter-spacing:.7px;margin:18px auto 14px;box-shadow:0 8px 20px rgba(37,99,235,.18)}
.pth-reset-form{margin-top:8px}
.pth-reset-links{text-align:center;margin-top:14px;font-size:12.5px}.pth-reset-links a{color:#2563eb;font-weight:750;text-decoration:none}.pth-reset-links a:hover{text-decoration:underline}
.pth-user-card{width:min(760px,100%)}
.pth-user-head{display:flex;align-items:center;gap:18px;padding-bottom:20px;border-bottom:1px solid #e2e8f0}
.pth-user-avatar{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#eaf2ff;color:#1d4ed8;font:800 27px/1 "Plus Jakarta Sans",sans-serif}
.pth-user-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:20px}
.pth-user-grid>div{padding:13px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.pth-user-grid span{display:block;font-size:11.5px;color:#64748b;font-weight:700;margin-bottom:3px}.pth-user-grid strong{font-size:13.5px;color:#0f172a}
.pth-nav-user-name{max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:620px){.pth-auth-page{padding:18px 12px 38px}.pth-auth-card,.pth-user-card{padding:20px 16px}.pth-auth-card h1,.pth-user-card h1{font-size:24px}.pth-auth-tabs{grid-template-columns:1fr;margin-top:16px}.pth-auth-grid2,.pth-user-grid{grid-template-columns:1fr}.pth-user-head{align-items:flex-start}.pth-user-avatar{width:56px;height:56px;font-size:22px}.pth-auth-form input[type=text],.pth-auth-form input[type=email],.pth-auth-form input[type=password]{height:42px}.pth-auth-field-note{text-align:left}}

/* PTH 1.6.51 — Magic-link registration + User Control Panel */
.pth-auth-magic-note{padding:10px 12px;border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a;border-radius:9px;font-size:12px;line-height:1.45;font-weight:650}
.pth-account-page .pth-user-card{width:min(840px,100%)}
.pth-account-form{margin-top:18px}
.pth-account-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pth-account-list .pth-auth-field{padding:12px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc}
.pth-account-list .pth-auth-field>span:first-child{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:850;color:#334155}
.pth-account-list .pth-auth-field em{font-style:normal;color:#94a3b8;font-size:10.5px;font-weight:700}
.pth-account-list input,.pth-account-list textarea{background:#fff!important}
.pth-account-list textarea{width:100%;min-height:84px;resize:vertical;border:1px solid #cbd5e1;border-radius:8px;padding:9px 11px;font:14px/1.45 Inter,system-ui,sans-serif;color:#0f172a;outline:none}
.pth-account-list textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.09)}
.pth-account-list input[readonly]{background:#f1f5f9!important;color:#64748b;cursor:not-allowed}
.pth-account-hint{display:block;color:#64748b;font-size:11px;line-height:1.4;font-weight:600}
.pth-account-save{justify-self:start;margin-top:2px}
.pth-password-box{margin-top:18px;border:1px solid #dbe3ec;border-radius:12px;background:#fff;overflow:hidden}
.pth-password-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px;background:#f8fafc}
.pth-password-summary>div{display:grid;gap:2px}.pth-password-summary span{font-size:11.5px;color:#64748b;font-weight:800}.pth-password-summary strong{font-size:17px;letter-spacing:2px;color:#0f172a}.pth-password-summary small{font-size:10.5px;color:#64748b;font-weight:650}
.pth-password-eye{width:40px;height:40px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;cursor:pointer;font-size:17px;display:grid;place-items:center}.pth-password-eye:hover{background:#eff6ff;border-color:#93c5fd}
.pth-password-panel{padding:14px 15px;border-top:1px solid #e2e8f0}.pth-password-panel[hidden]{display:none!important}
.pth-password-actions{display:flex;justify-content:flex-end;gap:9px;align-items:center}.pth-password-actions button[disabled]{opacity:.45;cursor:not-allowed}
.pth-user-meta-row{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:18px;padding:11px 13px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;font-size:11.5px}.pth-user-meta-row b{color:#334155}
@media(max-width:700px){.pth-account-list{grid-template-columns:1fr}.pth-password-summary{align-items:flex-start}.pth-password-actions{justify-content:stretch;flex-direction:column}.pth-password-actions button{width:100%}.pth-user-meta-row{display:grid;grid-template-columns:1fr 1fr}}

/* =========================================================
 * PTH 1.6.61 — FLASH CARDS VISUAL + WHOLE-CARD FLIP HOTFIX
 * Front = warm light-yellow gradient
 * Back  = soft green-to-blue gradient
 * Flash-card typography = +3px over 1.6.60
 * Whole card advertises clickability with pointer cursor
 * ========================================================= */
.pth-flashcards-route .pth-flash-scene,
.pth-flashcards-route .pth-flash-card,
.pth-flashcards-route .pth-flash-face{
  cursor:pointer !important;
}
.pth-flashcards-route .pth-flash-card{
  box-shadow:0 26px 64px rgba(15,23,42,.22),0 10px 24px rgba(15,23,42,.13) !important;
}
.pth-flashcards-route .pth-flash-front{
  background:linear-gradient(145deg,#fffef8 0%,#fff9dc 48%,#fff0b8 100%) !important;
  border-color:#f2d98f !important;
}
.pth-flashcards-route .pth-flash-back{
  background:linear-gradient(145deg,#ecfdf5 0%,#e6f8f3 45%,#e0f2fe 100%) !important;
  border-color:#91d7cf !important;
}

/* +3px: all typography rendered inside the two card faces. */
.pth-flashcards-route .pth-flash-category{font-size:14px !important;}
.pth-flashcards-route .pth-flash-en{font-size:14px !important;}
.pth-flashcards-route .pth-flash-lang{font-size:14px !important;}
.pth-flashcards-route .pth-flash-content>small{font-size:14px !important;}
.pth-flashcards-route .pth-flash-content h2{font-size:35px !important;}
.pth-flashcards-route .pth-flash-content>p{font-size:18px !important;}
.pth-flashcards-route .pth-flash-content h3{font-size:29px !important;}
.pth-flashcards-route .pth-flash-answer{font-size:20px !important;}
.pth-flashcards-route .pth-flash-memory span,
.pth-flashcards-route .pth-flash-trap span{font-size:13px !important;}
.pth-flashcards-route .pth-flash-memory strong,
.pth-flashcards-route .pth-flash-trap strong{font-size:16px !important;}
.pth-flashcards-route .pth-flash-translation{font-size:17px !important;}
.pth-flashcards-route .pth-flash-footer{font-size:15px !important;}
.pth-flashcards-route .pth-flash-flip{font-size:16px !important;}

/* Interactive controls keep their normal hand cursor and must remain visibly controls. */
.pth-flashcards-route .pth-flash-face button,
.pth-flashcards-route .pth-flash-face a,
.pth-flashcards-route .pth-flash-face [role="button"]{cursor:pointer !important;}

@media(max-width:640px){
  .pth-flashcards-route .pth-flash-content h2{font-size:28px !important;}
  .pth-flashcards-route .pth-flash-content h3{font-size:24px !important;}
  .pth-flashcards-route .pth-flash-answer{font-size:18px !important;}
}
