:root{color:#e5e8eb;background:#121417;font-family:Manrope,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0}button,input{font:inherit}button:hover{cursor:pointer}.app-shell{box-sizing:border-box;display:flex;justify-content:center;min-height:100vh;padding:1.25rem 1.5rem 2rem;background:#121417}.practice-layout{display:grid;grid-template-rows:auto 1fr auto;width:min(92vw,1040px);min-height:calc(100vh - 3.25rem);gap:1.5rem}.practice-header{display:flex;align-items:center;justify-content:space-between;width:100%;gap:1.5rem;transition:opacity .22s ease}.practice-layout.is-typing .practice-header{opacity:.18}.practice-layout.is-typing .practice-header:hover,.practice-layout.is-typing .practice-header:focus-within{opacity:1}.logo{display:flex;align-items:center;gap:.6rem;font-weight:700;letter-spacing:.01em}.logo-icon{display:grid;width:1.75rem;height:1.75rem;place-items:center;border-radius:.4rem;background:#2194f2;color:#fff;font-weight:800;font-size:.95rem}.header-right{display:flex;align-items:center;gap:.75rem}.mode-controls{display:flex;gap:.25rem;padding:.2rem;border-radius:999px;background:#ffffff0a}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:.4rem;height:2.1rem;padding:0 .95rem;color:#fff;background:#2194f2;font-weight:600;transition:background .12s ease,color .12s ease,opacity .12s ease}.btn.primary{background:#2194f2;color:#fff}.btn.secondary{background:#ffffff14;color:#e5e8eb}.btn.secondary:hover{background:#ffffff24}.btn.ghost{background:transparent;color:#e5e8eb99;height:auto;padding:.4rem .85rem;border-radius:999px}.btn.ghost:hover{color:#e5e8eb}.btn.link{background:transparent;color:#e5e8eba6;height:auto;padding:.25rem .5rem;font-weight:500}.btn.link:hover{color:#e5e8eb}.mode-controls .btn{height:auto;padding:.4rem .95rem;border-radius:999px}.btn:disabled{cursor:not-allowed;opacity:.55}.account-control{position:relative;display:flex;align-items:center}.account-info{display:flex;align-items:center;gap:.5rem;color:#e5e8ebc7;font-size:.95rem}.account-name{max-width:12rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-popover{position:absolute;top:calc(100% + .5rem);right:0;z-index:10;width:min(20rem,80vw);padding:1rem;border-radius:.6rem;background:#1c2126;box-shadow:0 16px 40px #00000073}.practice-main{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:1.5rem}.audio-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;width:100%;gap:1rem;padding:0;background:transparent}.audio-controls audio{width:min(28rem,100%);height:2.25rem}.audio-unavailable{display:flex;flex-direction:column;align-items:center;width:100%;gap:.75rem;text-align:center}.audio-unavailable-headline{margin:0;font-size:1.15rem;font-weight:600;color:#e5e8eb}.audio-unavailable-hint{margin:0;max-width:32rem;color:#e5e8eba6;font-size:.95rem;line-height:1.5}.typing-area{display:flex;flex-direction:column;align-items:stretch;width:100%;border:0;padding:0;background:transparent;cursor:text;outline:none}.typing-area.complete{cursor:default}.char-count{margin:0 0 .5rem;text-align:center;font-size:.85rem;font-variant-numeric:tabular-nums;letter-spacing:.04em;color:#e5e8eb73}.quote-display{width:100%;margin:0;padding:.5rem 0;color:#4d4f52;font-size:clamp(1.7rem,2.6vw,2.3rem);font-weight:500;line-height:1.5;text-align:center;word-spacing:.05em}.quote-display .word{display:inline-block;white-space:nowrap}.quote-display span.correct{color:#e5e8eb}.quote-display span.incorrect{color:#f44336}.quote-display span.extra{color:#7a2a2a}.quote-display span.pending{color:#4d4f52}.caret{display:inline;position:relative}.caret:before{content:"";position:absolute;left:0;top:50%;width:.08em;height:1em;background:#2194f2;border-radius:.04em;transform:translate(-50%,-50%);animation:caret-blink 1s ease-in-out infinite;will-change:opacity;pointer-events:none}@keyframes caret-blink{0%,to{opacity:1}50%{opacity:0}}.quote-display.audio{overflow-wrap:anywhere}.results{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:1.5rem}.results-title{margin:0;font-size:1.5rem;font-weight:700;letter-spacing:-.01em}.metadata{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.5rem}.metadata-item{display:flex;flex-direction:column;gap:.35rem;padding:.85rem 1rem;border-radius:.5rem;background:#ffffff0a}.metadata-item p{margin:0}.metadata-item p:first-child{color:#e5e8eb8c;font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.metadata-item p:last-child{font-size:1.4rem;font-weight:700}.source-reveal{margin:0;padding:.75rem 0;color:#e5e8ebc7;font-size:1.05rem;line-height:1.6}.results-actions{display:flex;flex-wrap:wrap;gap:.6rem}.auth-panel{display:grid;width:100%;max-width:26rem;gap:.5rem;padding:0;background:transparent}.auth-panel p{margin:0 0 .25rem;color:#e5e8ebb3;font-size:.95rem}.auth-panel input{box-sizing:border-box;width:100%;border:1px solid rgba(255,255,255,.08);border-radius:.4rem;padding:.6rem .75rem;color:#e5e8eb;background:#ffffff08;outline:none;transition:border-color .12s ease}.auth-panel input:focus{border-color:#2194f2}.auth-actions{display:flex;gap:.5rem}.auth-actions .btn{flex:1;height:2.25rem}.status-line{margin:0;text-align:center;font-size:.85rem;color:#e5e8eb80}@media (max-width: 760px){.practice-header{flex-wrap:wrap;gap:.75rem}.header-right{flex-wrap:wrap}.account-popover{right:auto;left:0;width:min(20rem,90vw)}}
