.ptml{--lab-ink:#f8f0e9;--lab-dark:#251827;--lab-secondary:#bcacbd;--lab-accent:#eac59c;--lab-coral:#f1847f;--lab-border:rgba(255,255,255,.14);color:var(--lab-ink);font-family:inherit;max-width:1120px;margin:1.5rem auto 3rem;line-height:1.5}
.ptml *{box-sizing:border-box}.ptml button,.ptml a{font:inherit}.ptml button{cursor:pointer}.ptml button:disabled{opacity:.47;cursor:not-allowed}.ptml button:focus-visible,.ptml a:focus-visible{outline:3px solid #efab77;outline-offset:3px}
.ptml-hero{border-radius:22px 22px 0 0;background:radial-gradient(ellipse at 85% 12%,rgba(202,94,91,.36),transparent 55%),linear-gradient(135deg,#281a2b,#17111c);padding:clamp(1.4rem,4vw,3rem);border:1px solid var(--lab-border);border-bottom:none}.ptml-kicker{font-size:.74rem!important;letter-spacing:.19em!important;font-weight:800;color:var(--lab-accent);margin:0 0 .8rem!important}.ptml-hero h2{font-size:clamp(1.8rem,5vw,3rem)!important;line-height:1.1;margin:0 0 1rem!important;color:white!important}.ptml-hero p:not(.ptml-kicker){max-width:750px;color:#e5d6dc;margin:0!important;font-size:1.06rem}.ptml-summary{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}.ptml-summary span{border:1px solid var(--lab-border);border-radius:50px;padding:.5rem .9rem;font-size:.82rem;color:#ead4cc}
.ptml-app,.ptml-gate{background:#231824;border:1px solid var(--lab-border);border-top:none;border-radius:0 0 22px 22px;padding:clamp(1.1rem,3vw,2rem)}.ptml-gate{text-align:center;padding:3rem 1.5rem}.ptml-gate h3{color:white!important;font-size:1.45rem!important}.ptml-gate p{max-width:640px;margin:0 auto 1.4rem!important;color:#d9c7d5}.ptml-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.8rem}.ptml-btn{display:inline-flex!important;align-items:center;justify-content:center;min-height:43px;padding:.65rem 1.2rem!important;border-radius:12px!important;text-decoration:none!important;font-weight:750!important;font-size:.88rem!important}.ptml-primary{background:var(--lab-accent)!important;color:#291829!important;border:1px solid var(--lab-accent)!important}.ptml-outline{background:transparent!important;color:#f5e8ec!important;border:1px solid var(--lab-border)!important}
.ptml-dashboard{background:#352439;border:1px solid var(--lab-border);border-radius:17px;padding:1.15rem 1.4rem}.ptml-dash-header{display:flex;justify-content:space-between;align-items:center}.ptml-dash-header strong{font-size:1rem;color:#fff}.ptml-dash-header p{color:var(--lab-secondary);font-size:.82rem;margin:.2rem 0 0!important}.ptml-percent{font-size:1.5rem;font-weight:850;color:var(--lab-accent)}.ptml-meter{border-radius:30px;background:#5b475d;height:9px;overflow:hidden;margin:1rem 0}.ptml-meter span{display:block;height:100%;background:linear-gradient(90deg,#eb9b81,#f3d59d);border-radius:30px}.ptml-stats{display:flex;justify-content:space-between;gap:.7rem;flex-wrap:wrap;font-size:.81rem;color:#d9c7db}.ptml-stats strong{color:#fff;margin-left:.3rem}
.ptml-tabs{display:flex;gap:.7rem;margin:1.6rem 0 1rem}.ptml-tabs button{flex:1;border:1px solid var(--lab-border);background:#302135;color:#ecdde5;border-radius:12px;padding:.9rem .5rem!important;font-weight:750;font-size:.95rem}.ptml-tabs button[aria-selected=true]{background:var(--lab-accent);color:#2c1b2a}
.ptml-body{display:grid;grid-template-columns:minmax(185px,.38fr) minmax(0,1fr);gap:1rem;align-items:start}.ptml-list{display:flex;flex-direction:column;gap:.3rem;padding:.55rem;background:#2e2031;border:1px solid var(--lab-border);border-radius:15px}.ptml-entry{display:flex;align-items:center;text-align:left;gap:.7rem;width:100%;border:0!important;border-radius:9px!important;padding:.65rem .6rem!important;color:#e2d4df!important;background:transparent!important;font-size:.83rem!important;line-height:1.3!important}.ptml-entry.ptml-selected{background:#624452!important;color:#fff!important}.ptml-number{font-variant-numeric:tabular-nums;color:var(--lab-accent);font-weight:800;font-size:.78rem;min-width:1.4rem}
.ptml-lesson{padding:clamp(1.15rem,3vw,1.8rem);background:#352439;border:1px solid var(--lab-border);border-radius:15px}.ptml-overline{color:var(--lab-accent);letter-spacing:.11em;font-weight:800;font-size:.69rem}.ptml-passed{letter-spacing:0;margin-left:.5rem;color:#a2e5b7}.ptml-lesson h3{color:#fff!important;font-size:clamp(1.35rem,3vw,1.7rem)!important;margin:.65rem 0 .6rem!important}.ptml-lesson p{color:#e6d9e2!important;font-size:.97rem!important;margin:0 0 1rem!important}.ptml-example{background:#27192b;border-left:3px solid var(--lab-accent);border-radius:6px;padding:.85rem 1rem;display:grid;gap:.32rem}.ptml-example span{font-size:.64rem;font-weight:750;letter-spacing:.13em;color:var(--lab-secondary)}.ptml-example strong{font-size:.95rem;color:#f9e7d6}.ptml-sound{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin:1.15rem 0}.ptml-play{background:#f0c69c!important;color:#291a28!important;border:none!important;border-radius:10px!important;padding:.6rem 1rem!important;font-weight:800!important}.ptml-sound span{color:#c4b5c1;font-size:.76rem}.ptml-question{margin-top:1.25rem;padding-top:1.2rem;border-top:1px solid var(--lab-border)}.ptml-question h4{color:#fff!important;font-size:1.07rem!important;margin:0 0 .9rem!important}.ptml-options{display:grid;gap:.55rem}.ptml-options button{display:block;text-align:left;padding:.65rem .8rem!important;background:#48344a!important;border:1px solid #69516b!important;color:#fff!important;border-radius:9px!important;font-weight:550!important;font-size:.92rem!important}.ptml-options button:not(:disabled):hover{background:#654a65!important}.ptml-feedback{margin:.9rem 0!important;padding:.8rem .9rem;border:1px solid var(--lab-border);border-radius:9px;background:#2a1d2c;font-size:.84rem;color:#d2bfd0}.ptml-correct{background:#1d4231;color:#d4ffe6;border-color:#4b9268}.ptml-try{background:#4b2d29;color:#ffe2d9;border-color:#875046}.ptml-lesson-nav{display:flex;justify-content:space-between;gap:.6rem;margin-top:1.1rem}
.ptml-keyboard-panel{margin-top:1.2rem;background:#2d1e30;padding:1.2rem;border:1px solid var(--lab-border);border-radius:15px}.ptml-keyboard-panel h3{color:white!important;margin:0 0 .25rem!important;font-size:1.13rem!important}.ptml-keyboard-panel p{color:#d1c0cf!important;margin:0 0 1rem!important;font-size:.84rem!important}.ptml-keys{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.24rem;max-width:650px}.ptml-keys button{background:#f2e7db!important;color:#34243a!important;border:1px solid #baadb7!important;border-radius:4px 4px 12px 12px!important;height:90px;font-weight:750!important;font-size:.77rem!important;display:flex;align-items:end;justify-content:center;padding-bottom:.8rem!important}.ptml-keys button:active{background:#f2c38f!important}.ptml-small{color:#bcaabc!important;font-size:.75rem!important;margin:1.25rem 0 0!important}.ptml-error{background:#563433;color:white;padding:1rem;border-radius:10px}.ptml-status{color:#d0bdcf;padding:2rem}
@media(max-width:750px){.ptml-body{grid-template-columns:1fr}.ptml-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:240px;overflow-y:auto;gap:.2rem}.ptml-entry{font-size:.76rem!important}.ptml-overline{letter-spacing:.06em}.ptml-keys button{height:76px}.ptml-tabs button{font-size:.82rem!important}}
@media(max-width:410px){.ptml-list{grid-template-columns:1fr 1fr}.ptml-summary span{font-size:.73rem}.ptml-keys{gap:1px}.ptml-keys button{font-size:.69rem!important;padding:0 0 .65rem!important}.ptml-app{padding:.9rem}.ptml-lesson{padding:1rem}.ptml-lesson-nav .ptml-btn{font-size:.78rem!important;padding:.55rem!important}}
@media(prefers-reduced-motion:reduce){.ptml *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
