.course-cover-section {
  padding: 1rem 0 2rem;
}
@media(max-width:760px){}
.course-cover-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(0, 230, 118, 0.15);
}
@keyframes score-marquee-scroll {
  to { transform: translateX(-50%); }
}
.trial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.trial-item { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.trial-item h3 { margin: 1rem 1rem .25rem; font-size: 1.05rem; }
.trial-item > p { margin: 0 1rem 1.25rem; color: var(--text-muted); font-size: .9rem; }
.product-mockup-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.product-mockup-grid article { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.product-mockup-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-mockup-grid h3 { margin: 1rem 1rem .35rem; font-size: 1.1rem; }
.product-mockup-grid p { margin: 0 1rem 1.25rem; color: var(--text-muted); font-size: .9rem; }
.legacy-orders-table { min-width: 860px; }
.order-status { display: inline-block; padding: .25rem .55rem; border-radius: 4px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.order-status-pending_account { background: #fff3cd; color: #6a5000; }
.order-status-account_created { background: #e7f0ff; color: #163a70; }
.order-status-credentials_sent { background: #e5f8e9; color: #126923; }
.order-actions { display: flex; gap: .4rem; white-space: nowrap; }
.order-actions form { margin: 0; }
.order-actions .lms-cta-btn { padding: .45rem .65rem; font-size: .78rem; }
@media (max-width: 760px) {.sales-check-grid, .trial-grid, .sales-form-grid { grid-template-columns: 1fr; }
.product-mockup-grid { grid-template-columns: 1fr; }}
.home-trust-page { color: #111820; background: #fff; }
.home-wide { width: min(100% - 3rem,1180px); margin-inline: auto; }
.home-trust-hero { min-height: min(680px,76vh); overflow: hidden; background: #071a32; }
.home-trust-hero-inner { width: min(100%,1440px); min-height: min(680px,76vh); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(430px,.88fr); align-items: stretch; }
.home-trust-copy { z-index: 1; align-self: center; width: 100%; max-width: none; padding: 3.5rem 2.5rem 3.5rem clamp(2rem,9vw,8.125rem); }
.home-trust-copy .eyebrow { color: #77ee89; }
.home-trust-copy h1 { max-width: 720px; margin: .5rem 0 1.25rem; color: #fff; font-size: clamp(2.65rem,4vw,4rem); line-height: 1.14; }
.home-trust-copy h1 span { color: #54e76a; }
.home-trust-copy > p:not(.eyebrow) { max-width: 650px; color: #d9e3ee; font-size: 1.15rem; line-height: 1.75; }
.home-trust-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.home-trust-actions > a:last-child { min-height: 48px; display: inline-flex; align-items: center; padding: .65rem 1rem; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.home-trust-portrait { position: relative; width: 100%; height: 100%; min-height: min(680px,76vh); overflow: hidden; padding: 0; border: 0; background: #102842; cursor: pointer; }
.home-trust-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 20%; transition: opacity .28s ease,transform .35s ease; }
.home-trust-portrait-base { opacity: 1; }
.home-trust-portrait-smile { opacity: 0; }
.home-trust-portrait.is-smiling .home-trust-portrait-base,.home-trust-portrait:focus-visible .home-trust-portrait-base { opacity: 0; }
.home-trust-portrait.is-smiling .home-trust-portrait-smile,.home-trust-portrait:focus-visible .home-trust-portrait-smile { opacity: 1; }
.home-trust-portrait.is-smiling img,.home-trust-portrait:focus-visible img { transform: scale(1.012); }
.home-trust-portrait:focus-visible { z-index: 2; outline: 3px solid #77ee89; outline-offset: -5px; }
@media (hover:hover) {.home-trust-portrait:hover .home-trust-portrait-base { opacity: 0; }
.home-trust-portrait:hover .home-trust-portrait-smile { opacity: 1; }
.home-trust-portrait:hover img { transform: scale(1.012); }}
.home-trust-stats { border-bottom: 1px solid #dfe3e8; background: #fff; }
.home-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.home-stat-grid > div { min-height: 112px; display: grid; align-content: center; gap: .2rem; padding: 1.25rem; border-right: 1px solid #dfe3e8; text-align: center; }
.home-stat-grid > div:last-child { border-right: 0; }
.home-stat-grid strong { color: #163a70; font: 700 1.25rem var(--font-heading); }
.home-stat-grid span { color: #5e6470; font-size: .84rem; }
.home-course-focus,.home-about-mob,.home-speaker-work,.home-cases,.home-free-trial,.home-steps,.home-company { padding: 5rem 0; }
.home-course-focus { background: #f4f5f7; }
.home-course-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); align-items: center; gap: 3.5rem; }
.home-course-layout > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; box-shadow: 0 18px 44px rgba(7,26,50,.14); }
.home-course-layout h2,.home-about-layout h2,.home-heading h2,.home-trial-layout h2,.home-company h2 { margin: .35rem 0 1rem; color: #163a70; font-size: clamp(1.8rem,3vw,2.55rem); }
.home-course-layout ul { padding-left: 1.25rem; }
.home-course-layout li { margin-bottom: .45rem; }
.home-course-price { display: flex; align-items: baseline; gap: .8rem; margin: 1.25rem 0; }
.home-course-price s { color: #6b7280; }
.home-course-price strong { color: #147c27; font: 700 2.35rem var(--font-heading); }
.home-about-mob { background: #fff; }
.home-about-layout { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); align-items: center; gap: 3.5rem; }
.home-about-photo img { width: 100%; aspect-ratio: 3/2; display: block; object-fit: cover; border-radius: 8px; }
.home-about-layout p { color: #39475a; line-height: 1.8; }
.home-about-education { display: grid; gap: .15rem; margin-top: 1.25rem; padding: 1rem 1.2rem; border-left: 4px solid #32d74b; background: #f4f5f7; }
.home-about-education strong { color: #163a70; }
.home-speaker-work { background: #071a32; color: #fff; }
.home-speaker-work .home-heading h2 { color: #fff; }
.home-speaker-work .home-heading > p:last-child { color: #c7d2df; }
.home-speaker-work .eyebrow { color: #77ee89; }
.home-heading { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.home-heading > p:last-child { color: #5e6470; }
.home-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.home-work-grid article { min-height: 185px; display: grid; grid-template-columns: 230px 1fr; overflow: hidden; border: 1px solid #32465f; border-radius: 8px; background: #102842; }
.home-work-grid img { width: 230px; height: 100%; object-fit: cover; }
.home-work-grid article > div { align-self: center; padding: 1.25rem; }
.home-work-grid strong { color: #fff; font: 700 1.05rem var(--font-heading); }
.home-work-grid p { margin: .45rem 0 0; color: #c7d2df; }
.home-work-more { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.25rem; padding: 1rem 1.2rem; border-left: 4px solid #32d74b; background: #102842; color: #c7d2df; }
.home-work-more a { flex: 0 0 auto; color: #77ee89; font-weight: 700; }
.home-cases { background: #f4f5f7; }
.home-case-tabs,.home-trial-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.home-case-tabs button,.home-trial-buttons button { min-height: 44px; padding: .6rem 1rem; border: 1px solid #aebbc9; border-radius: 6px; background: #fff; color: #163a70; font: 600 .9rem var(--font-heading); cursor: pointer; }
.home-case-tabs button[aria-selected="true"],.home-trial-buttons button[aria-selected="true"] { border-color: #163a70; background: #163a70; color: #fff; }
.home-case-stage { max-width: 1050px; margin: 0 auto; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 15px 36px rgba(7,26,50,.12); }
.home-case-stage img { width: 100%; aspect-ratio: 16/9; display: block; object-fit: cover; }
.home-result-note { margin: .8rem 0 0; color: #6b7280; font-size: .76rem; text-align: center; }
.home-all-reviews { width: min(100%,540px); min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.25rem auto 0; padding: .85rem 1rem .85rem 1.2rem; border: 1px solid #b8c7d8; border-left: 4px solid #32d74b; border-radius: 6px; background: #fff; color: #163a70; box-shadow: 0 8px 22px rgba(22,58,112,.08); transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.home-all-reviews:hover,.home-all-reviews:focus-visible { color: #163a70; border-color: #32d74b; transform: translateY(-3px); box-shadow: 0 13px 28px rgba(22,58,112,.14); outline: 0; }
.home-all-reviews span { min-width: 0; display: grid; gap: .12rem; }
.home-all-reviews strong { font: 700 1rem var(--font-heading); }
.home-all-reviews small { color: #5e6470; font-size: .78rem; }
.home-all-reviews b { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 50%; background: #163a70; color: #fff; font-size: 1.15rem; }
.home-free-trial { background: #fff; }
.home-trial-layout { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); align-items: center; gap: 3.5rem; }
.home-trial-buttons { justify-content: flex-start; margin-top: 1.25rem; }
.home-trial-player { aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: #071a32; box-shadow: 0 15px 36px rgba(7,26,50,.14); }
.home-trial-player button { position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.home-trial-player img,.home-trial-player iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.home-trial-player button span { position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; display: grid; place-items: center; padding-left: 4px; border-radius: 50%; background: #32d74b; color: #071a32; font-size: 1.6rem; transform: translate(-50%,-50%); box-shadow: 0 8px 25px rgba(0,0,0,.28); }
.home-steps { background: #eef2f7; text-align: center; }
.home-steps ol { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; margin: 0 0 1.5rem; padding: 0; list-style: none; text-align: left; }
.home-steps li { min-height: 180px; padding: 1.25rem; border-top: 4px solid #32d74b; border-radius: 6px; background: #fff; }
.home-steps li > strong { display: block; color: #147c27; font: 700 1.6rem var(--font-heading); }
.home-steps li span { display: grid; gap: .3rem; color: #5e6470; }
.home-steps li b { color: #163a70; font-family: var(--font-heading); }
.home-company { background: #071a32; color: #d7e0ea; }
.home-company-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
.home-company h2 { color: #fff; }
.home-company .eyebrow { color: #77ee89; }
.home-company p > strong { color: #77ee89; }
.home-contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.home-contact-links a { --contact-color:#32d74b; min-width: 0; min-height: 76px; display: grid; grid-template-columns: 42px minmax(0,1fr) 20px; align-items: center; gap: .75rem; padding: .7rem .75rem; border: 1px solid #38506b; border-radius: 7px; background: #0c223c; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.12); transition: transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease; }
.home-contact-links a:hover,.home-contact-links a:focus-visible { border-color: var(--contact-color); background: #112d4d; color: #fff; transform: translateY(-3px); box-shadow: 0 13px 28px rgba(0,0,0,.2); outline: 0; }
.home-contact-links a > span:nth-child(2) { min-width: 0; display: grid; gap: .08rem; }
.home-contact-links a strong { overflow-wrap: anywhere; color: #fff; font: 600 .93rem var(--font-heading); }
.home-contact-links a small { color: #aebfd1; font-size: .71rem; line-height: 1.35; }
.home-contact-links a > b { color: #8397ae; font: 400 1.6rem/1 var(--font); transition: color .18s ease,transform .18s ease; }
.home-contact-links a:hover > b,.home-contact-links a:focus-visible > b { color: var(--contact-color); transform: translateX(2px); }
.contact-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--contact-color); color: #fff; font: 700 1.05rem var(--font-heading); box-shadow: 0 0 0 4px rgba(255,255,255,.055); transition: transform .18s ease; }
.home-contact-links a:hover .contact-icon,.home-contact-links a:focus-visible .contact-icon { transform: scale(1.06); }
.contact-phone { --contact-color:#32d74b !important; }
.contact-line { --contact-color:#06c755 !important; }
.contact-email { --contact-color:#4285f4 !important; }
.contact-facebook { --contact-color:#1877f2 !important; }
.contact-youtube { --contact-color:#ff0033 !important; }
.contact-tiktok { --contact-color:#111 !important; }
.contact-icon-line { font-size: .63rem; }
.contact-icon-facebook { font: 700 1.45rem Arial,sans-serif; }
@media (max-width: 900px) {.home-trust-hero,.home-trust-hero-inner { min-height: 650px; }
.home-trust-hero-inner { grid-template-columns: 1.05fr .95fr; }
.home-trust-hero-inner > img { height: 650px; }
.home-stat-grid { grid-template-columns: 1fr 1fr; }
.home-stat-grid > div:nth-child(2) { border-right: 0; }
.home-stat-grid > div:nth-child(-n/**/+2) { border-bottom: 1px solid #dfe3e8; }
.home-course-layout,.home-about-layout,.home-trial-layout { gap: 2rem; }
.home-work-grid article { grid-template-columns: 170px 1fr; }
.home-work-grid img { width: 170px; }
.home-steps ol { grid-template-columns: 1fr 1fr; }
.home-company-layout { grid-template-columns: 1fr; gap: 2rem; }}
@media (max-width: 700px) {.home-wide { width: min(100% - 2rem,1180px); }
.home-trust-hero { min-height: 0; }
.home-trust-hero-inner { min-height: 0; display: flex; flex-direction: column-reverse; }
.home-trust-portrait { width: 100%; height: min(100vw,420px); min-height: 0; }
.home-trust-portrait img { object-position: center 18%; }
.home-trust-copy { max-width: none; padding: 1.5rem 1rem 2.2rem; }
.home-trust-copy h1 { font-size: 2.25rem; }
.home-trust-copy > p:not(.eyebrow) { font-size: 1rem; }
.home-trust-actions { align-items: stretch; flex-direction: column; text-align: center; }
.home-trust-actions > a:last-child { justify-content: center; }
.home-stat-grid > div { min-height: 95px; padding: .8rem .35rem; }
.home-stat-grid strong { font-size: 1rem; }
.home-stat-grid span { font-size: .72rem; }
.home-course-focus,.home-about-mob,.home-speaker-work,.home-cases,.home-free-trial,.home-steps,.home-company { padding: 3.25rem 0; }
.home-course-layout,.home-about-layout,.home-trial-layout,.home-company-layout { grid-template-columns: 1fr; }
.home-course-layout { gap: 1.5rem; }
.home-about-layout { display: flex; flex-direction: column-reverse; gap: 1.5rem; }
.home-work-grid { display: flex; gap: .75rem; margin-inline: -1rem; padding: 0 1rem .5rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.home-work-grid article { min-height: 330px; flex: 0 0 min(82vw,330px); display: block; scroll-snap-align: start; }
.home-work-grid img { width: 100%; height: 180px; }
.home-work-more { align-items: flex-start; flex-direction: column; }
.home-case-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.home-case-tabs button { padding-inline: .4rem; font-size: .78rem; }
.home-case-stage { margin-inline: -1rem; border-radius: 0; box-shadow: none; }
.home-case-stage img { aspect-ratio: 16/9; }
.home-all-reviews { min-height: 68px; margin-top: 1rem; padding: .75rem .8rem .75rem 1rem; }
.home-all-reviews strong { font-size: .92rem; }
.home-all-reviews small { font-size: .72rem; }
.home-trial-layout { gap: 1.5rem; }
.home-trial-buttons { display: grid; grid-template-columns: 1fr 1fr; }
.home-steps ol { grid-template-columns: 1fr; }
.home-steps li { min-height: 0; display: grid; grid-template-columns: 48px 1fr; gap: .5rem; }
.home-contact-links { grid-template-columns: 1fr; }}
.nav-cart { min-width: 58px; height: 40px; padding: 0 .65rem; display: grid; place-items: center; font-size: .82rem; font-weight: 600; color: var(--text-bright); border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.account-shell, .commerce-shell { min-height: 68vh; padding: 3.5rem 0 5rem; background: #f4f5f7; }
.account-card { max-width: 480px; margin: 0 auto; text-align: left; }
.account-card h1 { font-size: 1.8rem; margin-bottom: .35rem; }
.stack-form, .checkout-form { display: grid; gap: 1rem; }
.stack-form label, .checkout-form > label, .form-grid label { display: grid; gap: .4rem; color: #111; font-weight: 600; }
.stack-form input, .checkout-form input, .profile-form input[type="tel"], .profile-form input[type="password"] { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid #aeb8c5; border-radius: 6px; background: #fff; color: #111; font: inherit; }
.stack-form input:focus, .checkout-form input:focus { outline: 3px solid rgba(50,215,75,.2); border-color: #147c27; }
.auth-text-link, .continue-link { display: inline-block; margin-top: 1rem; color: #163a70; text-decoration: underline; }
.form-error, .form-success, .test-mode-banner { padding: .9rem 1rem; border-radius: 6px; margin: 0 auto 1.25rem; }
.form-error { background: #fff0f0; border: 1px solid #cf4a4a; color: #8c1d1d; }
.form-success { background: #e8f8eb; border: 1px solid #70bc7d; color: #126923; }
.test-mode-banner { max-width: 760px; background: #fff7d6; border: 1px solid #e1bb38; color: #5d4700; text-align: center; }
.commerce-container { max-width: 1080px; }
.commerce-heading { max-width: 680px; margin: 0 auto 2rem; text-align: center; }
.commerce-heading h1 { margin: 0 0 .5rem; font-size: 2.2rem; }
.commerce-heading p:last-child { color: var(--text-muted); }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; }
.cart-items, .checkout-form, .order-summary, .empty-cart { background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.cart-item { display: grid; grid-template-columns: 160px minmax(0,1fr) 36px; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 160px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }
.cart-item h2 { font-size: 1.05rem; margin: 0 0 .25rem; }
.cart-item p { color: var(--text-muted); font-size: .88rem; margin: 0 0 .5rem; }
.icon-remove { width: 32px; height: 32px; border: 0; background: transparent; color: #7a2630; font-size: 1.6rem; cursor: pointer; }
.order-summary { padding: 1.25rem; position: sticky; top: 88px; }
.order-summary h2 { font-size: 1.2rem; margin-top: 0; }
.order-summary .lms-cta-btn { width: 100%; margin-top: 1rem; }
.summary-item, .summary-total, .thankyou-items > div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.summary-item span { max-width: 65%; }
.summary-total { font-size: 1.1rem; border-bottom: 0; border-top: 2px solid #163a70; margin-top: .5rem; }
.order-summary p { color: var(--text-muted); font-size: .82rem; margin-bottom: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check-row { display: grid !important; grid-template-columns: 22px 1fr; gap: .65rem !important; align-items: start; color: var(--text-muted) !important; font-size: .88rem; font-weight: 400 !important; }
.check-row input { width: 20px !important; min-height: 20px !important; height: 20px; margin-top: .15rem; accent-color: #147c27; }
.empty-cart { padding: 3rem 1.5rem; text-align: center; }
.course-card-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: .5rem; }
.course-card-actions form, .course-card-actions button { width: 100%; height: 100%; }
.thankyou-items { margin: 1.25rem 0; text-align: left; }
.thank-you-card { margin: 5rem auto; background: #fff !important; border: 1px solid var(--border) !important; color: #111 !important; box-shadow: 0 14px 44px rgba(22,58,112,.12) !important; }
.thank-you-card h2, .thank-you-card strong { color: #163a70 !important; }
.thank-you-card p { color: #5e6470 !important; }
.legal-page { padding: 4rem 0; }
.legal-page .container { max-width: 780px; }
.legal-page h1 { text-align: center; }
.legal-page h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal-updated { text-align: center; color: var(--text-muted); }
.cookie-consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 9999; max-width: 680px; margin: auto; background: #fff; border: 1px solid #c9d0da; border-radius: 8px; padding: 1rem 1.25rem; box-shadow: 0 12px 40px rgba(17,17,17,.22); }
.cookie-consent[hidden] { display: none; }
.cookie-consent strong { color: #111; }
.cookie-consent p { margin: .35rem 0 .8rem; color: #5e6470; font-size: .88rem; }
.cookie-actions { display: flex; justify-content: flex-end; gap: .5rem; }
@media (max-width: 760px) {.cart-layout, .checkout-layout { grid-template-columns: 1fr; }
.order-summary { position: static; }
.commerce-shell { padding-top: 2.5rem; }
.commerce-heading h1 { font-size: 1.7rem; }
.form-grid { grid-template-columns: 1fr; }
.cart-item { grid-template-columns: 100px minmax(0,1fr) 32px; }
.cart-item img { width: 100px; }
.course-card-actions { grid-template-columns: 1fr; }
.cookie-actions { flex-direction: column-reverse; }
.cookie-actions .lms-cta-btn { width: 100%; }}
@media (max-width: 640px) {}
.info-section { padding: 5rem 0; }
.info-section-muted { background: var(--bg-surface); }
.eyebrow {
  color: var(--accent-dim);
  font-family: "Kanit", "Sarabun", sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: .5rem;
}
.info-section h2 { color: var(--text-bright); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.steps-grid > div { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }
.steps-grid strong { color: var(--accent-dim); font-size: 1.5rem; }
.steps-grid h3 { color: var(--text-bright); margin-top: .75rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.contact-links a { color: var(--text-bright); font-weight: 600; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-inner span { color: var(--text-muted); }
@media (max-width: 900px) {.nav-links { gap: .8rem; }
.nav-links a { font-size: .75rem; }}
@media (max-width: 640px) {.nav-logo span { display: none; }
.steps-grid { grid-template-columns: 1fr; }
.info-section { padding: 3.5rem 0; }}
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.course-card:hover {
  transform: translateY(-3px);
  border-color: rgba(50, 215, 75, 0.55);
}
.course-card-cover {
  aspect-ratio: 16 / 9;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.course-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.course-card-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-card-cover-placeholder {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.55;
}
.course-card-cover-placeholder img {
  width: 80px;
  height: 80px;
  opacity: 0.7;
  object-fit: contain;
}
.course-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-card-body h3 {
  color: var(--text-bright);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.35;
  text-wrap: balance;
}
.course-card-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
  flex: 1;
}
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}
.course-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.course-card-price .amount {
  font-family: "Kanit", "Sarabun", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
}
.course-card-price .currency {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.course-card-price .old-price {
  font-size: 1rem;
  color: #5e6470;
  opacity: 1;
  text-decoration: line-through;
}
.course-description { line-height: 1.8; }
.course-description h3 { margin: 2rem 0 .65rem; font-size: 1.15rem; }
.course-description ul { margin-top: .5rem; }
.course-card-price .old-price { display: block; }
.course-card .lms-cta-btn {
  padding: 0.65rem 1.2rem;
  font-size: 0.95rem;
}
.course-card .lms-cta-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.4);
}
.course-card-soon {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.course-card-enrolled {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.course-card-enrolled-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.course-card-review-link {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dashed var(--text-muted);
  align-self: flex-start;
}
.course-card-review-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.menu-paper-head, .bill-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.menu-paper-head h2 { margin: .25rem 0 0; color: #163a70; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.menu-stamp { flex: 0 0 auto; padding: .45rem .7rem; border: 2px solid #147c27; color: #147c27; font: 700 .78rem var(--font-heading); white-space: nowrap; word-break: keep-all; transform: rotate(-3deg); }
.menu-paper-note { margin: .75rem 0 1.25rem; color: #5e6470; }
.menu-group { padding: 1rem; border: 1px solid #e0e5eb; border-radius: 8px; background: #fbfcfd; }
.menu-group-heading { display: flex; align-items: center; gap: .75rem; margin-bottom: .8rem; padding-bottom: .7rem; border-bottom: 1px dashed #cbd4df; }
.menu-part-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #163a70; color: #32d74b; font: 700 1.25rem var(--font-heading); }
.menu-group-heading h3 { margin: 0; color: #163a70; font: 700 1.25rem var(--font-heading); }
.menu-group-heading span:not(.menu-part-icon) { color: #6b7280; font-size: .78rem; }
.menu-items { display: grid; gap: .65rem; }
.menu-item-card { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: .7rem; min-height: 66px; padding: .7rem .8rem; border: 1px solid #e0e5eb; border-radius: 6px; background: #fff; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.menu-item-card:hover { border-color: #32d74b; box-shadow: 0 4px 12px rgba(22,58,112,.08); transform: translateY(-1px); }
.menu-item-card input { position: absolute; opacity: 0; pointer-events: none; }
.menu-item-check { position: relative; display: block; width: 24px; height: 24px; border: 2px solid #a6b0bc; border-radius: 4px; }
.menu-item-check::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border-right: 2px solid #071225; border-bottom: 2px solid #071225; opacity: 0; transform: rotate(45deg); }
.menu-item-card input:checked ~ .menu-item-check { border-color: #147c27; background: #32d74b; }
.menu-item-card input:checked ~ .menu-item-check::after { opacity: 1; }
.menu-item-card input:focus-visible ~ .menu-item-check { outline: 3px solid rgba(50,215,75,.35); outline-offset: 2px; }
.menu-item-main { display: grid; gap: .2rem; min-width: 0; }
.menu-item-main strong { color: #163a70; font-size: .93rem; line-height: 1.35; }
.menu-item-main small { color: #5e6470; font-size: .8rem; line-height: 1.35; }
.menu-item-meta { display: grid; justify-items: end; gap: .2rem; white-space: nowrap; }
.menu-item-meta b { color: #147c27; font-size: .75rem; }
.menu-item-meta em { color: #163a70; font: 700 1rem var(--font-heading); font-style: normal; }
.menu-time { color: #147c27; font-weight: 700; }
.menu-check { position: relative; display: inline-grid; place-items: center; width: 30px; height: 30px; cursor: pointer; }
.menu-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.menu-check span { width: 22px; height: 22px; border: 2px solid #8793a2; border-radius: 4px; background: #fff; }
.menu-check input:checked + span { border-color: #147c27; background: #32d74b; box-shadow: inset 0 0 0 4px #fff; }
.menu-check input:focus-visible + span { outline: 3px solid rgba(50,215,75,.35); outline-offset: 2px; }
.bill-top { padding-bottom: .9rem; border-bottom: 1px dashed #b9c2cf; color: #5e6470; font-size: .82rem; }
.bill-empty { color: #5e6470; font-size: .9rem; }
.bill-items { min-height: 1rem; margin: 0; padding: 0; list-style: none; }
.bill-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: .35rem; padding: .55rem 0; border-bottom: 1px solid #edf0f3; font-size: .78rem; }
.bill-items li small { color: #5e6470; line-height: 1.35; }
.bill-items li b { color: #147c27; font-size: .75rem; }
.bill-total { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; color: #5e6470; font-size: .9rem; }
.bill-total strong { color: #163a70; }
.bill-price { margin-top: .45rem; padding-top: .8rem; border-top: 1px solid #d5dbe3; }
.bill-price strong { color: #147c27; font: 700 1.65rem var(--font-heading); }
.line-order-btn { width: 100%; margin-top: 1.25rem; }
.line-order-btn:disabled { cursor: not-allowed; opacity: .45; }
.bill-note { margin: .8rem 0 0; color: #6b7280; font-size: .75rem; line-height: 1.55; }
.bill-note strong { color: #163a70; }
@keyframes private-hero-drift { from { transform: scale(1.01); } to { transform: scale(1.045) translateX(-.5%); } }
@media (prefers-reduced-motion: reduce) {}
@media (max-width: 800px) {.menu-group { padding: .75rem; }
.menu-paper-head { align-items: center; }
.menu-stamp { padding: .4rem .55rem; font-size: .72rem; }
.menu-item-card { grid-template-columns: 28px minmax(0,1fr); }
.menu-item-meta { grid-column: 2; grid-template-columns: auto auto; justify-content: start; justify-items: start; gap: .6rem; }}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 640px) {}
.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}
.star-input label { cursor: pointer; }
.star-input input { display: none; }
.star-input .star {
  font-size: 1.8rem;
  color: #444;
  transition: color 0.15s;
}
.star-input label:hover .star,
.star-input label:hover ~ label .star,
.star-input input:checked ~ label .star,
.star-input label:has(input:checked) .star {
  color: #9a6400;
}
.star-input input:checked + .star { color: #9a6400; }
.star-input-ltr {
  flex-direction: row;
}
.star-input-ltr .star { color: #444; }
.star-input-ltr label:has(input:checked) .star,
.star-input-ltr label:has(~ label input:checked) .star {
  color: #9a6400;
}
.star-input-ltr label:hover .star,
.star-input-ltr label:has(~ label:hover) .star {
  color: #9a6400;
}
.pending-badge {
  background: #f7b500;
  color: #000;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.reorder-btn {
  background: #1c1c1c;
  border: 1px solid #333;
  color: var(--text-muted);
  border-radius: 6px;
  width: 2rem;
  height: 2rem;
  font-size: 0.8rem;
  cursor: pointer;
  line-height: 1;
}
.reorder-btn:hover { color: #fff; border-color: var(--accent); }
.shipment-state{display:grid;gap:.2rem;min-width:150px}
.shipment-state strong{color:#111}
.shipment-state a{font-weight:700}
.shipment-admin-card{scroll-margin-top:1rem}
.shipment-admin-card h3{margin:0 0 .35rem}
.shipment-admin-card>p{margin:.2rem 0}
.shipment-admin-form{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(220px,1.2fr);gap:.7rem;margin-top:1rem}
.shipment-admin-form label{display:grid;gap:.35rem;color:#111;font-size:.85rem;font-weight:700}
.shipment-admin-form input{width:100%;min-height:44px;padding:.6rem .75rem;border:1px solid #aeb8c5;background:#fff;color:#111;font:inherit}
.shipment-admin-actions{grid-column:1/-1;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.shipment-email-ok{color:#147c27;font-weight:700}
.shipment-email-failed{color:#a52a2a;font-weight:700}
@media(max-width:700px){.shipment-admin-form{grid-template-columns:1fr}
.shipment-admin-actions{grid-column:1}
.shipment-admin-actions .lms-cta-btn{width:100%;text-align:center}}
@media(max-width:900px){}
@media(max-width:600px){}
@media(max-width:700px){}
@media (max-width: 700px) {}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: #131313;
  border: 1px solid #232323;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-label .hint {
  text-transform: none;
  font-size: 0.7rem;
  opacity: 0.7;
}
.stat-value {
  font-family: "Kanit", "Sarabun", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-value-revenue {
  background: linear-gradient(135deg, #fff, #00e676, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-sub {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
.course-block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  cursor: pointer;
  list-style: none;
}
.course-block-head::-webkit-details-marker { display: none; }
.course-block-head > div:first-child h3::before {
  content: "▸";
  display: inline-block;
  margin-right: 0.5rem;
  color: var(--accent);
  transition: transform 0.15s ease;
}
.course-block-head h3 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.course-block-meta { color: var(--text-muted); margin: 0; font-size: 0.9rem; }
.course-block-actions { display: flex; gap: 0.5rem; }
.course-block-actions .lms-cta-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
.progress-bar {
  position: relative;
  background: #0d0d0d;
  border-radius: 4px;
  height: 22px;
  overflow: hidden;
  border: 1px solid #232323;
}
.progress-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, #00b853 0%, #00e676 100%);
  transition: width 0.3s;
}
.progress-bar-text {
  position: relative;
  display: block;
  text-align: center;
  line-height: 22px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
@media (max-width: 700px) {}
.nav-inner {
  max-width: none;
  padding: 0 2rem;
}
@media (max-width: 600px) {.nav-inner { padding: 0 1rem; }}
.nav-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-links { margin-left: auto; }
.nav-end { margin-left: 2rem; }
.nav-user-li { display: flex; align-items: center; }
.nav-user-menu {
  position: relative;
  list-style: none;
}
.nav-user-menu summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  outline: none;
}
.nav-user-menu summary::-webkit-details-marker { display: none; }
.nav-user-menu summary::marker { display: none; content: ""; }
.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-user-menu[open] .nav-avatar,
.nav-user-menu summary:hover .nav-avatar {
  border-color: var(--accent);
}
.nav-avatar-fallback {
  font-family: "Kanit", "Sarabun", sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  background: #163a70 !important;
}
.nav-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 220px;
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 0.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 200;
}
.nav-user-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 12px;
  width: 12px;
  height: 12px;
  background: #161616;
  border-left: 1px solid #2a2a2a;
  border-top: 1px solid #2a2a2a;
  transform: rotate(45deg);
}
.nav-user-dropdown .nav-user-email {
  margin: 0;
  padding: 0.5rem 0.75rem 0.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-user-dropdown .nav-user-sub {
  margin: 0;
  padding: 0 0.75rem 0.5rem;
  font-size: 0.78rem;
  color: #b8bec8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-user-dropdown hr {
  border: none;
  border-top: 1px solid #232323;
  margin: 0.5rem 0;
}
.nav-user-dropdown a,
.nav-user-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.75rem !important;
  color: #d4d4d4 !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  background: none;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  font-family: inherit !important;
}
.nav-user-dropdown a:hover,
.nav-user-dropdown button:hover {
  background: rgba(0, 230, 118, 0.1);
  color: var(--accent) !important;
}
.nav-user-dropdown form { margin: 0; }
@media (max-width: 600px) {.nav-user-dropdown { right: -0.5rem; }}
.nav-links button {
  color: var(--text-muted) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  font-family: var(--font) !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-links button:hover {
  color: var(--accent) !important;
}
.lms-hero {
  padding: 5rem 0 3rem;
  text-align: center;
}
@media (max-width: 600px) {.lms-hero:has(.hero-welcome-wrap) { padding-top: 1.5rem; }
.hero-welcome-wrap { padding-top: 1rem; }}
.hero-welcome-wrap {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 4rem 1.5rem 0;
  text-align: center;
}
.hero-welcome {
  font-family: "Kanit", "Sarabun", sans-serif !important;
  font-size: clamp(3rem, 8vw, 7rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0 0 0.75rem;
  text-align: center;
}
.hero-welcome .line-1,
.hero-welcome .line-2 {
  display: block;
}
.hero-welcome .line-1 {
  color: #ffffff;
  font-size: 0.85em;
  letter-spacing: 0.02em;
}
.hero-welcome .line-2 {
  font-size: 1em;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #00e676 0%, #36ffb0 35%, #00b853 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-by {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 0 2.5rem;
  letter-spacing: 1.5px;
}
.hero-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  margin: 0 auto 2rem;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 230, 118, 0.25);
}
.hero-headline {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.35;
  max-width: 820px;
  margin: 0 auto 2.5rem;
  font-weight: 700;
}
.hero-headline .accent-text {
  color: var(--accent);
}
.hero-body {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.85;
  font-size: 1.05rem;
  color: #d4d4d4;
}
.hero-body p { margin: 0 0 1.25rem; }
.hero-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.hero-body ul li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}
.hero-body ul li::before {
  content: "▸";
  color: var(--accent);
  position: absolute;
  left: 0;
}
.hero-cta {
  text-align: center;
  margin: 2.5rem 0;
}
.hero-ps {
  max-width: 640px;
  margin: 2.5rem auto 0;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
  text-align: center;
  padding: 1.25rem;
  border-top: 1px dashed #2a2a2a;
}
.lms-hero .badge {
  display: inline-block;
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}
.lms-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.lms-hero p.sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.lms-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  background: #161616;
  border: 1px solid #2a2a2a;
  padding: 1rem 1.75rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.lms-price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}
.lms-price .currency {
  font-size: 1rem;
  color: var(--text-muted);
}
.lms-price .note {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.25rem;
}
.lms-cta-btn,
button,
.auth-card button,
.newsletter-form button,
input[type="submit"] {
  font-family: "Kanit", "Sarabun", sans-serif;
  letter-spacing: 0.3px;
}
.lms-cta-btn {
  display: inline-block;
  background: #32d74b;
  color: #0a0a0a;
  padding: 1.1rem 2.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.lms-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.25);
}
.lms-cta-btn.outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.stat-card,
.admin-course-block,
.admin-review-group,
.admin-review-card,
.video-wrap .placeholder {
  --text: #f4f5f7;
  --text-muted: #b8bec8;
  --text-bright: #ffffff;
  --accent: #32d74b;
  --accent-dim: #7ee88f;
}
.stat-card,
.admin-course-block,
.admin-review-group,
.admin-review-card {
  color: #f4f5f7;
}
.stat-card .stat-label,
.stat-card .stat-sub,
.admin-course-block .course-block-meta,
.admin-course-block .admin-table th,
.admin-course-block .admin-table .muted,
.admin-review-group .muted,
.admin-review-card .muted,
.video-wrap .placeholder p {
  color: #b8bec8;
}
.stat-label .hint {
  opacity: 1;
}
.lms-section {
  padding: 3.5rem 0;
}
.lms-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}
.lms-section p.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.curriculum {
  display: grid;
  gap: 0.85rem;
  max-width: 760px;
  margin: 0 auto;
}
.curriculum-item {
  background: #161616;
  border: 1px solid #232323;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.curriculum-item .num {
  background: rgba(0, 230, 118, 0.1);
  color: var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.curriculum-item .num.danger {
  background: rgba(255, 75, 75, 0.12);
  color: #ff4b4b;
}
.course-summary {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #d4d4d4;
}
.instructor-block {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.instructor-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--accent);
  box-shadow: 0 10px 40px rgba(0, 230, 118, 0.2);
}
.instructor-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}
.instructor-block p {
  color: var(--text-muted);
  margin: 0;
}
.curriculum-item .body h4 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}
.curriculum-item .body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.curriculum-item .preview-tag {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
}
.curriculum-item-clickable {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.curriculum-item-clickable:hover {
  border-color: rgba(0, 230, 118, 0.5);
  background: rgba(0, 230, 118, 0.04);
}
.curriculum-item-clickable:hover .preview-tag {
  background: rgba(0, 230, 118, 0.25);
}
.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  background: #161616;
  border: 1px solid #232323;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 0.85rem;
}
.faq-item h4 {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 1.05rem;
}
.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.player-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  max-width: 1280px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}
@media (max-width: 900px) {.player-layout {
    grid-template-columns: 1fr;
  }}
.player-main .video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.player-main .video-wrap iframe,
.player-main .video-wrap video,
.player-main .video-wrap .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.player-main .video-wrap video {
  object-fit: contain;
  background: #000;
}
.video-wrap .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: #111;
  flex-direction: column;
  gap: 0.5rem;
}
.lesson-text {
  background: #131313;
  border: 1px solid #232323;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  color: var(--text);
  line-height: 1.8;
}
.lesson-text h1, .lesson-text h2, .lesson-text h3 { margin: 1.2rem 0 0.6rem; }
.lesson-text p { margin: 0 0 1rem; }
.lesson-text ul, .lesson-text ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.lesson-text li { margin-bottom: 0.4rem; }
.lesson-text a { color: var(--accent, #00e676); }
.lesson-text a.lms-cta-btn { color: #0a0a0a; }
.lesson-resources { margin-top: 1.5rem; }
.lesson-prompt { margin: 0 0 1.5rem; background: #0d0d0d; border: 1px solid #2a2a2a; border-radius: 10px; overflow: hidden; }
.lesson-prompt-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.9rem; border-bottom: 1px solid #1f1f1f; }
.lesson-prompt-label { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }
.lesson-prompt-copy { flex: none; font: inherit; font-size: 0.85rem; cursor: pointer; white-space: nowrap; padding: 0.35rem 0.85rem; border-radius: 8px; border: 1px solid #2f2f2f; background: #1a1a1a; color: var(--text); }
.lesson-prompt-copy:hover { border-color: var(--accent); color: var(--accent); }
.lesson-prompt-copy.copied { border-color: var(--accent); background: var(--accent); color: #0a0a0a; }
.lesson-prompt pre { margin: 0; padding: 1rem 1.1rem; white-space: pre-wrap; word-break: break-word; line-height: 1.7; font-family: inherit; color: #e8e8e8; }
.lesson-prompt .var { color: #ff5252; font-weight: 600; }
.course-overview { padding: 2.5rem 0 4rem; }
.course-overview-title { margin: 0 0 1.5rem; text-align: center; }
.course-overview-cover { border-radius: 14px; overflow: hidden; border: 1px solid #232323; margin-bottom: 1.5rem; }
.course-overview-cover img { width: 100%; display: block; }
.course-overview-meta { display: flex; flex-direction: column; gap: 0.6rem; background: #101827; border: 1px solid #26364c; border-radius: 8px; padding: 1.1rem 1.5rem; margin-bottom: 1rem; }
.course-overview-meta .meta-item { display: flex; flex-direction: row; align-items: center; gap: 0.6rem; }
.course-overview-meta .meta-icon { color: #91f3a0; font-size: 1.1rem; line-height: 1; }
.course-overview-meta .meta-value { color: #f7fbff; font-weight: 600; }
.course-overview-progress { margin: 0 0 1.5rem; }
.course-overview-progress .progress-label { color: var(--accent); font-weight: 600; margin-bottom: 0.5rem; }
.course-overview-progress .progress-track { height: 8px; background: #232323; border-radius: 999px; overflow: hidden; }
.course-overview-progress .progress-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width 0.4s ease; }
.course-overview-heading { margin: 1.5rem 0 1rem; }
.course-overview-lessons { display: flex; flex-direction: column; gap: 0.5rem; }
.overview-lesson { min-height: 66px; display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.1rem; background: #101318; border: 1px solid #29303a; border-radius: 8px; color: #fff; text-decoration: none; box-shadow: 0 5px 14px rgba(7,18,37,.07); transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.overview-lesson:hover,.overview-lesson:focus-visible { transform: translateY(-2px); border-color: #54e76a; background: #16201b; box-shadow: 0 9px 22px rgba(7,18,37,.14); outline: 0; }
.overview-lesson .num { min-width: 30px; color: #91f3a0; font-variant-numeric: tabular-nums; font-size: 0.9rem; font-weight: 700; }
.overview-lesson .title { min-width: 0; flex: 1; color: #fff; font-weight: 600; line-height: 1.45; }
.overview-lesson:not(.completed)::after { content: "›"; color: #8f9baa; font-size: 1.4rem; line-height: 1; }
.overview-lesson.completed { border-color: #32d74b; background: #11271a; }
.overview-lesson.completed .num { color: #b9f7c3; }
.overview-lesson .done { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 50%; background: #32d74b; color: #071225; font-weight: 800; box-shadow: 0 0 0 4px rgba(50,215,75,.12); }
.lesson-info {
  margin-top: 1.5rem;
}
.lesson-info h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}
.lesson-info p.desc {
  color: var(--text-muted);
}
.lesson-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  height: max-content;
}
.lesson-sidebar h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-bright);
  margin: 0 0 1rem;
  padding: 0 0.5rem;
}
.lesson-link {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.25rem;
  border: 1px solid transparent;
}
.lesson-link:hover {
  background: var(--bg-surface);
}
.lesson-link.active {
  background: rgba(50, 215, 75, 0.1);
  border-color: rgba(36, 184, 59, 0.55);
}
.lesson-link .num {
  color: var(--text-bright);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.lesson-link.active .num {
  color: var(--accent);
}
.lesson-link .title {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #163a70;
  font-weight: 600;
}
.lesson-link .completed {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #32d74b;
  color: #071225;
  font-weight: 800;
  margin-left: auto;
  flex-shrink: 0;
}
.lesson-link.completed { border-color: #70cf80; background: #eefaf0; }
.lesson-link.completed .title { color: #126923; }
.lesson-link.locked {
  opacity: 0.55;
}
.lesson-sidebar-review {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: rgba(0, 230, 118, 0.05);
  color: var(--accent);
  border: 1px dashed rgba(0, 230, 118, 0.3);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}
.lesson-sidebar-review:hover {
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.5);
  border-style: solid;
}
.lesson-link .lock,
.lesson-link .free-tag {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.75rem;
}
.lesson-link .free-tag {
  background: rgba(50, 215, 75, 0.16);
  color: #16852a;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.preview-cta {
  margin-top: 2rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.08) 0%, rgba(0, 230, 118, 0.02) 100%);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 12px;
  text-align: center;
}
.preview-cta-text {
  margin: 0 0 1.25rem;
  color: #d4d4d4;
  font-size: 1.05rem;
}
.preview-cta-text strong {
  color: var(--accent);
}
.auth-card {
  max-width: 420px;
  margin: 5rem auto;
  padding: 2.5rem 2rem;
  background: #161616;
  border: 1px solid #232323;
  border-radius: 12px;
  text-align: center;
  color: #ffffff;
}
.auth-card h1,
.auth-card h2,
.auth-card h3,
.auth-card label {
  color: #ffffff;
}
.auth-card h2 {
  margin: 0 0 0.5rem;
}
.auth-card p {
  color: #d4d9e2;
  margin-bottom: 2rem;
}
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"],
.auth-card input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid #aeb8c5;
  border-radius: 8px;
  color: #111111;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
}
.auth-card input::placeholder {
  color: #5e6470;
  opacity: 1;
}
.auth-card input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(50, 215, 75, 0.22);
}
.auth-card .auth-text-link,
.auth-card a:not(.lms-cta-btn) {
  color: #7ee88f;
}
.auth-card button {
  width: 100%;
}
.auth-card .sent {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--accent);
  padding: 1rem;
  border-radius: 8px;
}
.auth-card .resend-link {
  width: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: underline;
  padding: 0;
  cursor: pointer;
}
.auth-card .resend-link:hover { color: var(--accent); }
.purchase-box {
  position: sticky;
  bottom: 1.5rem;
  background: linear-gradient(to top, #0a0a0a 60%, rgba(10, 10, 10, 0));
  padding: 1.5rem 0 0.5rem;
  text-align: center;
  z-index: 50;
}
.line-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: #fff;
  text-decoration: none;
  font-family: "Kanit", "Sarabun", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}
.line-fab:hover { transform: translateY(-2px); color: #fff; }
.hero-lead {
  max-width: 46rem;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}
.lesson-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.lesson-list-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.lesson-list-num {
  color: var(--text-muted);
  font-size: 0.9rem;
  min-width: 1.5rem;
}
.lesson-list-title { flex: 1; }
.lesson-preview-tag {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
}
.lesson-preview-tag:hover { text-decoration: underline; }
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--accent); }
@media(max-width:760px){}
@media (max-width: 700px) {}
.dome-quote-avatar { width: 42px; height: 42px; flex: 0 0 42px; display: block; overflow: hidden; border: 2px solid #54e76a; border-radius: 50%; background: #0c1c35; }
.dome-quote-avatar img { width: 400%; max-width: none; transform: translateX(-37.5%); }
@media (max-width: 900px) {}
@media (max-width: 760px) {}
@media (prefers-reduced-motion: reduce) {.home-trust-portrait img { transition: none; }}
@media (max-width: 760px) {}
@media (max-width: 760px) {}
