

#pdr-driving-prototype{--p-bg:light-dark(#fbfaf5,#112730);--p-panel:light-dark(#fff,#193540);--p-ink:light-dark(#052f53,#ecf4f7);--p-text:light-dark(#17272e,#ecf4f7);--p-line:light-dark(#dae5df,#3b5860);--p-soft:light-dark(#eef7e5,#294432);--p-green:light-dark(#2d8317,#a6e479);--p-green-text:light-dark(#fff,#142d0c);--p-bad:light-dark(#fff0eb,#452f32);--p-bad-text:light-dark(#9b2727,#ffc0b8);padding:12px 0;font-family:Manrope,system-ui,sans-serif;color:var(--p-text)}
#pdr-driving-prototype *{box-sizing:border-box}#pdr-driving-prototype .p-app{max-width:660px;margin:auto;background:var(--p-bg);border:1px solid var(--p-line);border-radius:24px;overflow:hidden;box-shadow:0 12px 40px #001c3215}
#pdr-driving-prototype .p-head{padding:15px 20px;background:light-dark(#246575,#173e4c);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px}#pdr-driving-prototype .p-brand{font-size:20px;font-weight:850;letter-spacing:-.05em}#pdr-driving-prototype .p-brand span{color:#b8ef85}#pdr-driving-prototype .p-counter{font-size:12px;text-align:right}
#pdr-driving-prototype .p-scene{position:relative;background:#65745b}#pdr-driving-prototype canvas{display:block;width:100%;height:auto;aspect-ratio:600/560}#pdr-driving-prototype .p-state{position:absolute;top:12px;left:12px;max-width:calc(100% - 100px);padding:7px 11px;border-radius:20px;background:var(--p-panel);color:var(--p-ink);font-size:12px;font-weight:750;box-shadow:0 3px 12px #0002}#pdr-driving-prototype .p-pause{position:absolute;right:12px;top:12px;min-height:40px;min-width:44px;border:0;border-radius:12px;background:var(--p-panel);color:var(--p-ink);font:750 12px system-ui;padding:8px}
#pdr-driving-prototype .p-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#06263438}#pdr-driving-prototype .p-start{background:var(--p-panel);color:var(--p-ink);padding:22px;max-width:85%;border-radius:20px;text-align:center;box-shadow:0 10px 40px #0003}#pdr-driving-prototype .p-start strong{display:block;font-size:21px;margin-bottom:8px}#pdr-driving-prototype .p-start p{font-size:14px;line-height:1.5;margin:0 0 16px}
#pdr-driving-prototype .p-body{padding:20px;background:var(--p-panel)}#pdr-driving-prototype h2{font-size:23px;line-height:1.3;font-weight:800;color:var(--p-ink);margin:0 0 8px}#pdr-driving-prototype .p-hint{font-size:14px;line-height:1.5;margin:0 0 15px}#pdr-driving-prototype .p-options{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}#pdr-driving-prototype .p-options.actions{grid-template-columns:1fr}
#pdr-driving-prototype button{touch-action:manipulation}#pdr-driving-prototype .p-option{position:relative;border:1px solid var(--p-line);border-radius:13px;padding:12px 8px;min-height:64px;background:var(--p-panel);color:var(--p-ink);font:700 14px system-ui;line-height:1.35}#pdr-driving-prototype .p-option[aria-pressed=true]{border-color:var(--p-green);background:var(--p-soft)}#pdr-driving-prototype .p-option:disabled{opacity:.8}#pdr-driving-prototype .p-dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--car-color);margin-right:5px}#pdr-driving-prototype .p-rank{display:inline-grid;place-items:center;width:22px;height:22px;background:var(--p-green);color:var(--p-green-text);border-radius:50%;margin-left:4px;font-size:12px}#pdr-driving-prototype .p-selection{font-size:14px;color:var(--p-ink);text-align:center;min-height:22px;margin:12px 0}
#pdr-driving-prototype .p-buttons{display:flex;gap:8px;flex-wrap:wrap}#pdr-driving-prototype .p-primary,#pdr-driving-prototype .p-secondary{border-radius:12px;min-height:46px;padding:12px 15px;font:750 14px system-ui}#pdr-driving-prototype .p-primary{flex:1;border:1px solid var(--p-green);background:var(--p-green);color:var(--p-green-text)}#pdr-driving-prototype .p-primary:disabled{background:light-dark(#e7eceb,#31474e);border-color:transparent;color:light-dark(#53676d,#b4c6cc)}#pdr-driving-prototype .p-secondary{border:1px solid var(--p-line);background:var(--p-panel);color:var(--p-ink)}#pdr-driving-prototype .p-feedback{padding:14px 15px;margin:0 0 14px;border-radius:14px;background:var(--p-soft);color:var(--p-ink);font-size:14px;line-height:1.55}#pdr-driving-prototype .p-feedback strong{display:block;margin-bottom:5px}#pdr-driving-prototype .p-feedback.error{background:var(--p-bad);color:var(--p-bad-text)}#pdr-driving-prototype .p-feedback a{color:inherit;text-decoration:underline}#pdr-driving-prototype .p-note{margin:14px 0 0;text-align:center;font-size:12px;line-height:1.4}#pdr-driving-prototype [hidden]{display:none!important}
@media(max-width:420px){#pdr-driving-prototype .p-body{padding:17px 14px}#pdr-driving-prototype h2{font-size:20px}#pdr-driving-prototype .p-head{padding:13px 15px}}

#pdr-driving-prototype .p-head{padding-right:100px;min-height:72px}
#pdr-driving-prototype .p-options{grid-template-columns:repeat(2,minmax(0,1fr))}
#pdr-driving-prototype .p-options.actions{grid-template-columns:1fr}
#pdr-driving-prototype .p-option{min-height:52px;overflow-wrap:anywhere}
#pdr-driving-prototype .p-selection{margin:10px 0}
#pdr-driving-prototype .p-hint{color:var(--p-text)}
#pdr-driving-prototype .p-buttons{margin-top:12px}
#pdr-driving-prototype .p-feedback{margin:16px 0 14px}
#pdr-driving-prototype .p-option .p-rank{vertical-align:middle}
#pdr-driving-prototype .p-brand{white-space:nowrap}
#pdr-driving-prototype .p-scene{padding-top:60px;background:var(--p-panel,var(--p-bg))}
#pdr-driving-prototype .p-scene>.p-state,#pdr-driving-prototype .p-scene>.p-pause{top:8px}
#pdr-driving-prototype .p-explanation{margin-top:8px;border-top:1px solid var(--p-line)}
#pdr-driving-prototype .p-explanation>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 0;list-style:none;font-weight:750;color:inherit}
#pdr-driving-prototype .p-explanation>summary::-webkit-details-marker{display:none}
#pdr-driving-prototype .p-explanation>summary::after{content:'⌄';flex:none}
#pdr-driving-prototype .p-explanation[open]>summary::after{transform:rotate(180deg)}
#pdr-driving-prototype .p-explanation-copy{display:block;white-space:pre-line;margin-top:6px}
#pdr-driving-prototype .p-explanation-rules{display:block;margin-top:8px}
@media(max-width:420px){#pdr-driving-prototype .p-head{padding:12px 100px 12px 14px}}
@media(max-width:360px){#pdr-driving-prototype .p-start{padding:18px}#pdr-driving-prototype .p-head{gap:8px;padding-left:12px}#pdr-driving-prototype .p-brand{font-size:18px}#pdr-driving-prototype .p-primary,#pdr-driving-prototype .p-secondary{padding:11px 12px}}
@media(max-width:480px){#pdr-driving-prototype .p-option{min-height:48px;padding:8px;font-size:13px;line-height:1.25;border-radius:11px}#pdr-driving-prototype .p-dot{width:10px;height:10px;margin-right:4px;vertical-align:middle}#pdr-driving-prototype .p-rank{width:18px;height:18px;font-size:11px}#pdr-driving-prototype .p-primary,#pdr-driving-prototype .p-secondary{min-height:44px;padding:9px 10px;font-size:13px}}

/* Site integration: isolated page styles; shared header, menu and tariffs untouched. */
.trainer-preview-page{color-scheme:light}
.trainer-preview-main{position:relative;padding:32px 0 56px;overflow:hidden}
.trainer-preview-main>.site-container{position:relative;z-index:1}
.trainer-preview-intro{text-align:center;max-width:760px;margin:0 auto 24px}
.trainer-preview-tag{display:inline-block;padding:6px 12px;border-radius:20px;background:#edf6e6;color:#246b1a;font-size:12px;font-weight:700}
.trainer-preview-intro h1{color:#052f53;font-size:clamp(25px,4vw,40px);line-height:1.2;margin:14px 0 12px;letter-spacing:-.03em}
.trainer-preview-intro p{margin:0;color:#17272e;font-size:15px;line-height:1.6}
#pdr-driving-prototype{padding:0;scroll-margin-top:90px}
#pdr-driving-prototype .p-app{max-width:760px;background:#fff}
#pdr-driving-prototype button{font-family:Manrope,system-ui,sans-serif;cursor:pointer}
#pdr-driving-prototype button:disabled{cursor:default}
#pdr-driving-prototype .p-scene{border-bottom:1px solid var(--p-line)}
#pdr-driving-prototype .p-scene canvas{width:80%;margin-inline:auto}
#pdr-driving-prototype .p-selection{overflow-wrap:anywhere}
#pdr-driving-prototype .p-pause{max-width:100px}
#pdr-driving-prototype .p-theory-reference{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;color:inherit;font-weight:700;padding-block:3px;overflow-wrap:anywhere}
#pdr-driving-prototype .p-theory-reference:hover{text-decoration-thickness:2px}
#pdr-driving-prototype .p-theory-reference:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}
#pdr-driving-prototype .p-explanation-signs{display:block;margin-top:8px}
@media(max-width:600px){.trainer-preview-main{padding:22px 0 32px}.trainer-preview-main>.site-container{width:100%;padding:0 10px}.trainer-preview-intro{padding:0 8px;margin-bottom:18px}.trainer-preview-intro p{font-size:14px}#pdr-driving-prototype .p-app{border-radius:18px}#pdr-driving-prototype .p-body{padding:16px 12px}#pdr-driving-prototype .p-start{padding:18px 14px}#pdr-driving-prototype .p-start strong{font-size:18px}#pdr-driving-prototype .p-selection{font-size:12px}#pdr-driving-prototype .p-buttons{gap:8px}#pdr-driving-prototype .p-secondary{flex:1}}

#pdr-driving-prototype .p-free-counter{font-size:12px;color:var(--p-text);margin:0 0 10px}
#pdr-driving-prototype .p-access-error{color:#a22626;font-size:13px;line-height:1.5;margin:12px 0 0}
#pdr-driving-prototype.p-locked .p-scene{min-height:570px;padding:26px 16px;display:grid;place-items:center;isolation:isolate;overflow:hidden;background:var(--p-bg)}
#pdr-driving-prototype.p-locked canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(8px);opacity:.55;pointer-events:none;z-index:-1}
#pdr-driving-prototype .p-paywall{width:100%;max-width:420px;padding:24px;background:var(--p-panel);border:1px solid var(--p-line);border-radius:22px;box-shadow:0 14px 50px #052f532b;text-align:center}
#pdr-driving-prototype .p-paywall-lock{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 16px;border-radius:15px;background:var(--p-soft);color:var(--p-green)}
#pdr-driving-prototype .p-paywall-heading{font-size:24px;line-height:1.3;margin:0 0 12px}
#pdr-driving-prototype .p-paywall p{font-size:14px;line-height:1.65;margin:0 0 20px;color:var(--p-text)}
#pdr-driving-prototype .p-paywall .p-primary,#pdr-driving-prototype .p-paywall .p-secondary{display:flex;align-items:center;justify-content:center;min-height:46px;text-decoration:none;font-weight:800}
#pdr-driving-prototype .p-paywall-gift{margin:20px 0 16px;padding:17px 14px;border-radius:14px;background:var(--p-soft);border:1px solid var(--p-line)}
#pdr-driving-prototype .p-paywall-gift strong{display:block;font-size:15px;line-height:1.5;color:var(--p-ink);margin:0 0 6px}
#pdr-driving-prototype .p-paywall-gift p{font-size:13px;margin-bottom:14px}
#pdr-driving-prototype .p-paywall-gift .p-secondary{border-color:var(--p-green)}
#pdr-driving-prototype .p-paywall .p-paywall-login{font-size:12px;margin-bottom:8px}
#pdr-driving-prototype .p-paywall-login a{font-weight:800;color:var(--p-ink);text-underline-offset:3px}
#pdr-driving-prototype .p-paywall-text-button{display:block;margin:4px auto 0;padding:8px 4px;border:0;background:none;color:var(--p-ink);font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
@media(max-width:440px){#pdr-driving-prototype.p-locked .p-scene{padding:22px 12px}#pdr-driving-prototype .p-paywall{padding:22px 16px;border-radius:18px}#pdr-driving-prototype .p-paywall-heading{font-size:22px}#pdr-driving-prototype .p-paywall-gift strong{font-size:14px}}

#pdr-driving-prototype.p-intro .p-scene{position:relative;display:grid;place-items:center;min-height:410px;padding:34px 20px;background:radial-gradient(ellipse at 75% 15%,#e1f2d4,transparent 65%),#f6f9f2}
#pdr-driving-prototype.p-intro .p-scene canvas{position:absolute;opacity:0;pointer-events:none}
#pdr-driving-prototype.p-intro .p-overlay{position:relative;inset:auto;width:100%;padding:0;background:none;backdrop-filter:none}
#pdr-driving-prototype .p-start{max-width:440px;margin:auto;text-align:center}
#pdr-driving-prototype .p-start-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 20px;border-radius:22px;background:#e5f1db;color:#2d7d19;border:1px solid #c9dfb7}
#pdr-driving-prototype .p-start strong{display:block;font-size:26px;line-height:1.25;color:#052f53}
#pdr-driving-prototype .p-start p{margin:14px auto 10px;max-width:330px;color:#111;font-size:15px;line-height:1.6}
#pdr-driving-prototype .p-start-note{display:block;margin:0 0 24px;color:#111;font-size:12px;line-height:1.6}
#pdr-driving-prototype .p-start .p-primary{min-height:46px;width:100%;max-width:300px;margin:0 auto;background:#052f53;border-color:#052f53;color:#fff}
@media(max-width:600px){#pdr-driving-prototype.p-intro .p-scene{min-height:390px;padding:24px 12px}#pdr-driving-prototype .p-start{padding:12px 4px}#pdr-driving-prototype .p-start strong{font-size:23px}#pdr-driving-prototype .p-start p{font-size:14px}}
