.tp-customer{--tp-red:#b91c2b;--tp-navy:#101828;--tp-muted:#667085;--tp-line:#e7e5e4;--tp-bg:#f7f6f3;max-width:1180px;margin:0 auto;padding:20px 0 48px;color:var(--tp-navy);font-family:inherit}.tp-customer *{box-sizing:border-box}.tp-customer a{text-decoration:none}.tp-customer-head{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:24px;border:1px solid var(--tp-line);border-radius:26px;background:#fff;margin-bottom:18px}.tp-customer-avatar img{width:72px;height:72px;border-radius:22px;object-fit:cover;display:block}.tp-customer-kicker{display:block;font-size:12px;line-height:1.3;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--tp-red);margin-bottom:5px}.tp-customer-identity h2{font-size:30px;line-height:1.1;margin:0 0 5px}.tp-customer-identity p{margin:0;color:var(--tp-muted)}.tp-customer-kpp-badge{padding:9px 13px;border-radius:999px;font-size:13px;font-weight:800;white-space:nowrap}.tp-customer-kpp-badge.is-valid{background:#eaf7ef;color:#157347}.tp-customer-kpp-badge.is-candidate{background:#fff5d7;color:#8a5a00}.tp-customer-kpp-badge.is-expired{background:#feecee;color:#a11227}.tp-customer-kpp-card{position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:20px;align-items:center;border-radius:26px;padding:28px 30px;margin-bottom:18px;border:1px solid}.tp-customer-kpp-card h3{font-size:29px;margin:0 0 8px}.tp-customer-kpp-card p{margin:4px 0 7px}.tp-customer-kpp-card small{color:inherit;opacity:.82}.tp-customer-kpp-card.is-valid{background:#edf9f1;border-color:#cdebd8}.tp-customer-kpp-card.is-candidate{background:#fff9e8;border-color:#f3df9e}.tp-customer-kpp-card.is-expired{background:#fff0f1;border-color:#efc8cc}.tp-customer-kpp-symbol{font-size:48px;font-weight:900;opacity:.10;letter-spacing:-.07em}.tp-customer-kpp-alert{font-weight:800;color:#8a5a00}.tp-customer-kpp-cta{display:inline-flex;margin-top:8px;background:var(--tp-red);color:#fff!important;padding:10px 14px;border-radius:12px;font-weight:800}.tp-customer-next{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #dce5f1;background:#f8fbff;border-radius:22px;padding:22px 24px;margin-bottom:18px}.tp-customer-next h3{margin:0 0 5px;font-size:22px}.tp-customer-next p{margin:0;color:var(--tp-muted)}.tp-customer-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;white-space:nowrap}.tp-customer-status.is-active{background:#eaf7ef;color:#157347}.tp-customer-status.is-muted{background:#f1f2f4;color:#667085}.tp-customer-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 18px}.tp-customer-quick a{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:2px 10px;align-items:center;border:1px solid var(--tp-line);background:#fff;border-radius:20px;padding:18px;color:var(--tp-navy)}.tp-customer-quick a>span{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f3f4f6;font-size:20px}.tp-customer-quick strong{font-size:15px}.tp-customer-quick small{color:var(--tp-muted)}.tp-customer-section{border:1px solid var(--tp-line);border-radius:26px;background:#fff;padding:26px;margin:0 0 18px;scroll-margin-top:30px}.tp-customer-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.tp-customer-section-head h3,.tp-customer-payments h3{font-size:26px;margin:0}.tp-customer-link{font-weight:800;color:var(--tp-red)}.tp-customer-courses{display:grid;gap:12px}.tp-customer-course{border:1px solid var(--tp-line);border-radius:18px;overflow:hidden}.tp-customer-course>summary{list-style:none;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:14px;cursor:pointer}.tp-customer-course>summary::-webkit-details-marker,.tp-customer-lesson>summary::-webkit-details-marker{display:none}.tp-customer-course>summary img,.tp-customer-course-placeholder{width:72px;height:58px;border-radius:12px;object-fit:cover;background:#f3f4f6;display:grid;place-items:center}.tp-customer-course>summary strong{display:block;font-size:17px}.tp-customer-course>summary small{display:block;color:var(--tp-muted);margin-top:3px}.tp-customer-course>summary b,.tp-customer-lesson>summary b{transition:transform .2s}.tp-customer-course[open]>summary b,.tp-customer-lesson[open]>summary b{transform:rotate(180deg)}.tp-customer-course-body{padding:0 16px 16px}.tp-customer-richtext{line-height:1.7;color:#344054}.tp-customer-richtext img{max-width:100%;height:auto}.tp-customer-lesson{border-top:1px solid var(--tp-line)}.tp-customer-lesson>summary{list-style:none;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:10px;padding:14px 2px;cursor:pointer}.tp-customer-lesson>summary>span{width:30px;height:30px;border-radius:10px;background:#f3f4f6;display:grid;place-items:center;font-weight:800}.tp-customer-lesson-body{padding:0 0 18px 42px}.tp-customer-video{position:relative;padding-top:56.25%;overflow:hidden;border-radius:16px;background:#111;margin:0 0 16px}.tp-customer-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.tp-customer-exams,.tp-customer-trainings{display:grid;gap:10px}.tp-customer-exams article,.tp-customer-trainings article{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 16px;border:1px solid var(--tp-line);border-radius:16px}.tp-customer-exams strong,.tp-customer-trainings strong{display:block}.tp-customer-exams small,.tp-customer-trainings small{display:block;color:var(--tp-muted);margin-top:3px}.tp-customer-empty{padding:18px;border-radius:16px;background:#f7f7f6}.tp-customer-empty p{margin-bottom:0;color:var(--tp-muted)}.tp-customer-payments{display:flex;justify-content:space-between;align-items:center;gap:24px}.tp-customer-payments p{max-width:700px;color:var(--tp-muted);margin-bottom:0}.tp-customer-surecart sc-customer-dashboard-button,.tp-customer-surecart a,.tp-customer-surecart button{white-space:nowrap}.tp-customer-muted{color:var(--tp-muted)}.tp-customer-profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tp-customer-profile-form label{display:grid;gap:6px;font-weight:700}.tp-customer-profile-form input{width:100%;border:1px solid #d0d5dd;border-radius:12px;padding:12px 13px;background:#fff}.tp-customer-profile-form label small{font-weight:400;color:var(--tp-muted)}.tp-customer-profile-form button{align-self:end;border:0;border-radius:12px;background:var(--tp-red);color:#fff;padding:13px 18px;font-weight:800;cursor:pointer}.tp-customer-logout{margin-top:18px;padding-top:18px;border-top:1px solid var(--tp-line)}.tp-customer-logout a{color:#a11227;font-weight:800}.tp-customer-success{background:#eaf7ef;color:#157347;padding:12px 14px;border-radius:12px;margin-bottom:14px}.tp-customer-login{max-width:520px;padding:50px 0}.tp-customer-login-card{padding:28px;border:1px solid var(--tp-line);border-radius:26px;background:#fff}.tp-customer-login-card h2{font-size:32px;margin:0 0 8px}.tp-customer-login-card p{color:var(--tp-muted)}.tp-customer-login-card form p{margin:0 0 14px}.tp-customer-login-card label{display:block;font-weight:700;margin-bottom:6px}.tp-customer-login-card input[type=text],.tp-customer-login-card input[type=password]{width:100%;border:1px solid #d0d5dd;border-radius:12px;padding:12px 13px}.tp-customer-login-card input[type=submit]{border:0;border-radius:12px;background:var(--tp-red);color:#fff;padding:12px 18px;font-weight:800;cursor:pointer}.tp-customer-login-card .login-remember label{font-weight:400}.tp-customer-login-card .login-submit{margin-bottom:0}
@media(max-width:820px){.tp-customer{padding-left:14px;padding-right:14px}.tp-customer-head{grid-template-columns:auto 1fr;padding:18px}.tp-customer-kpp-badge{grid-column:1/-1;justify-self:start}.tp-customer-quick{grid-template-columns:repeat(2,1fr)}.tp-customer-profile-form{grid-template-columns:1fr}.tp-customer-payments{display:block}.tp-customer-surecart{margin-top:16px}.tp-customer-kpp-card{padding:22px}.tp-customer-kpp-card h3{font-size:23px}.tp-customer-kpp-symbol{font-size:34px}.tp-customer-section{padding:20px}.tp-customer-section-head{align-items:flex-start}.tp-customer-course>summary img,.tp-customer-course-placeholder{width:58px;height:50px}.tp-customer-lesson-body{padding-left:0}.tp-customer-exams article,.tp-customer-trainings article{align-items:flex-start}.tp-customer-next{align-items:flex-start}}
@media(max-width:520px){.tp-customer-head{gap:12px}.tp-customer-avatar img{width:58px;height:58px;border-radius:18px}.tp-customer-identity h2{font-size:23px}.tp-customer-quick{grid-template-columns:1fr}.tp-customer-kpp-card,.tp-customer-next{display:block}.tp-customer-kpp-symbol{display:none}.tp-customer-next .tp-customer-status{margin-top:12px}.tp-customer-section-head{display:block}.tp-customer-link{display:inline-block;margin-top:8px}.tp-customer-exams article,.tp-customer-trainings article{display:block}.tp-customer-exams .tp-customer-status,.tp-customer-trainings .tp-customer-status{margin-top:10px}.tp-customer-course>summary{grid-template-columns:auto 1fr}.tp-customer-course>summary>b{display:none}}


/* 0.14.7 — zamknięty odtwarzacz lekcji YouTube */
.tp-customer-video.tp-video-locked{padding-top:0;overflow:visible;background:transparent}.tp-customer-video.tp-video-locked .tp-video-stage{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:16px;background:#111}.tp-customer-video.tp-video-locked .tp-video-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none;user-select:none}.tp-customer-video.tp-video-locked .tp-video-shield{position:absolute;inset:0;z-index:2;background:transparent}.tp-customer-video .tp-video-controls{display:flex;flex-wrap:wrap;gap:7px;padding-top:8px}.tp-customer-video .tp-video-controls button{border:1px solid var(--tp-line);border-radius:10px;background:#fff;color:var(--tp-navy);padding:8px 10px;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.tp-customer-video .tp-video-controls button[aria-pressed="true"]{background:#fbecef;border-color:#efb9c2;color:var(--tp-red)}.tp-customer-video-error{padding:12px 14px;border:1px solid #f0c8ce;border-radius:12px;background:#fff3f4;color:#8f1021;font-size:13px;margin-bottom:16px}@media(max-width:520px){.tp-customer-video .tp-video-controls button{flex:1 1 calc(50% - 7px)}}

/* 0.14.8 — niezawodny pełny ekran odtwarzacza (native + fallback PWA/mobile) */
html.tp-video-fullscreen-open,body.tp-video-fullscreen-open{overflow:hidden!important;overscroll-behavior:none}
.tp-customer-video.tp-video-locked.is-tp-fullscreen,.tp-customer-video.tp-video-locked:fullscreen,.tp-customer-video.tp-video-locked:-webkit-full-screen{position:fixed!important;inset:0!important;z-index:2147483000!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;border-radius:0!important;background:#000!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important}
.tp-customer-video.tp-video-locked.is-tp-fullscreen .tp-video-stage,.tp-customer-video.tp-video-locked:fullscreen .tp-video-stage,.tp-customer-video.tp-video-locked:-webkit-full-screen .tp-video-stage{flex:1 1 auto!important;min-height:0!important;width:100%!important;aspect-ratio:auto!important;border-radius:0!important;background:#000!important}
.tp-customer-video.tp-video-locked.is-tp-fullscreen .tp-video-stage iframe,.tp-customer-video.tp-video-locked:fullscreen .tp-video-stage iframe,.tp-customer-video.tp-video-locked:-webkit-full-screen .tp-video-stage iframe{width:100%!important;height:100%!important}
.tp-customer-video.tp-video-locked.is-tp-fullscreen .tp-video-controls,.tp-customer-video.tp-video-locked:fullscreen .tp-video-controls,.tp-customer-video.tp-video-locked:-webkit-full-screen .tp-video-controls{flex:0 0 auto!important;justify-content:center!important;padding:8px 0 0!important;background:#000!important}
.tp-customer-video.tp-video-locked.is-tp-fullscreen .tp-video-controls button,.tp-customer-video.tp-video-locked:fullscreen .tp-video-controls button,.tp-customer-video.tp-video-locked:-webkit-full-screen .tp-video-controls button{background:#fff!important;color:#111!important}
.tp-customer-login-error{margin:0 0 16px;padding:12px 14px;border-radius:12px;background:#fff0f1;border:1px solid #efc8cc;color:#a11227;font-weight:700}.tp-customer-login-card input[required]:invalid{box-shadow:none}
.tp-customer-login-links{margin:14px 0 0!important}.tp-customer-login-links a{color:var(--tp-red);font-weight:800}.tp-customer-login-links a:hover{text-decoration:underline}


/* 0.15.6 — klikane powiększenie zdjęć w treści kursów */
.tp-richtext img.tp-course-zoomable-image,.tp-customer-richtext img.tp-course-zoomable-image{cursor:zoom-in;-webkit-tap-highlight-color:transparent}
.tp-course-image-lightbox[hidden]{display:none!important}
.tp-course-image-lightbox{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;z-index:2147483000;display:flex;align-items:center;justify-content:center;background:rgba(4,8,14,.94);padding:max(58px,calc(env(safe-area-inset-top) + 52px)) max(12px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));box-sizing:border-box;overscroll-behavior:contain;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.tp-course-image-lightbox-stage{width:100%;height:100%;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center}
.tp-course-image-lightbox-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;cursor:zoom-out;box-shadow:0 18px 72px rgba(0,0,0,.45);user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.tp-course-image-lightbox-close{position:absolute;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));z-index:2;width:44px;height:44px;border:1px solid rgba(255,255,255,.24)!important;border-radius:50%!important;background:rgba(255,255,255,.12)!important;color:#fff!important;font:400 31px/1 system-ui,-apple-system,sans-serif!important;display:flex!important;align-items:center;justify-content:center;padding:0!important;cursor:pointer!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html.tp-course-image-lightbox-open,body.tp-course-image-lightbox-open{overflow:hidden!important}
@media(max-width:560px){.tp-course-image-lightbox{padding-left:8px;padding-right:8px}.tp-course-image-lightbox-close{width:42px;height:42px}}
