@layer wertigo.features{.typing-result{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;padding:24px;display:grid}.typing-result__main,.typing-result__side{flex-direction:column;gap:14px;min-width:0;display:flex}.typing-result__main{--typing-result-tone:var(--ds-success);border-radius:var(--ds-radius-lg);background:linear-gradient(135deg,var(--ds-success-soft) 0,var(--ds-surface-soft) 100%);padding:22px}.typing-result__main--warning{--typing-result-tone:var(--ds-warning);background:linear-gradient(135deg,var(--ds-warning-soft) 0,var(--ds-surface-soft) 100%)}.typing-result__headline{color:var(--typing-result-tone);font-size:var(--ds-text-2xs);font-weight:var(--ds-weight-bold);letter-spacing:.09em;text-transform:uppercase;margin:0 0 2px}.typing-result__hero{align-items:baseline;gap:10px;display:flex}.typing-result__hero strong{color:var(--typing-result-tone);font-size:clamp(var(--ds-text-3xl) * 1.75,8vw,var(--ds-text-3xl) * 2.5);font-weight:var(--ds-weight-bold);font-variant-numeric:tabular-nums;line-height:.9}.typing-result__hero span{color:var(--ds-ink);font-size:var(--ds-text-xl);font-weight:var(--ds-weight-bold)}.typing-result__words{color:var(--ds-subtle);margin:0}.typing-result__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.typing-result__stat{border-radius:var(--ds-radius-lg);background:var(--ds-surface-soft);grid-template-columns:auto minmax(0,1fr);gap:2px 8px;min-width:0;padding:12px 13px;display:grid}.typing-result__stat svg{width:22px;height:22px;color:var(--ds-brand-hover);grid-row:1/3;align-self:center}.typing-result__stat span{color:var(--ds-subtle);font-size:var(--ds-text-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.typing-result__stat strong{color:var(--ds-ink);font-size:var(--ds-text-lg);font-variant-numeric:tabular-nums}.typing-result__mistakes{color:var(--ds-subtle);font-size:var(--ds-text-sm);flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.typing-result__mistakes ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.typing-result__mistakes li{color:var(--ds-subtle);font-variant-numeric:tabular-nums}.typing-result__mistakes kbd{border:1px solid var(--ds-line);border-radius:var(--ds-radius-sm);background:var(--ds-surface);min-width:1.9em;color:var(--ds-ink);font-family:inherit;font-weight:var(--ds-weight-bold);text-align:center;border-bottom-width:2px;padding:2px 6px;display:inline-block}.typing-result__actions{flex-direction:column;gap:8px;margin-top:auto;display:flex}@media (max-width:1024px){.typing-result{grid-template-columns:minmax(0,1fr)}}@media (max-width:640px){.typing-result{gap:14px;padding:14px}.typing-result__main{padding:18px 16px}}.typing-runner{flex-direction:column;min-width:0;display:flex}.typing-runner__surface{cursor:text;flex-direction:column;align-self:center;width:min(100%,1060px);padding:30px calc(clamp(20px,5vw,70px)) 26px;display:flex}.typing-runner__instruction{text-wrap:balance;color:var(--ds-subtle);font-size:var(--ds-text-sm);font-weight:var(--ds-weight-bold);text-align:center;margin:0 0 18px}.typing-runner__status-dot{vertical-align:1px;background:var(--ds-warning);border-radius:50%;width:8px;height:8px;margin-right:8px;display:inline-block}.typing-runner__surface--focused .typing-runner__status-dot{background:var(--ds-success)}.typing-runner__text{min-height:var(--typing-runner-text-min-height,225px);color:var(--ds-ink);font-size:clamp(var(--ds-text-xl),2vw,var(--ds-text-2xl));font-weight:var(--ds-weight-bold);letter-spacing:.012em;white-space:pre-wrap;line-height:1.85;animation:.22s typing-text-appear}.typing-runner__text--loading{flex-direction:column;gap:22px;padding-top:14px;animation:none;display:flex}.typing-runner__text--loading span{border-radius:var(--ds-radius-sm);background:var(--ds-surface-muted);height:18px}.typing-runner__text--loading span:last-child{width:60%}.typing-runner__character{border-radius:var(--ds-radius-sm)}.typing-runner__character--correct{color:var(--ds-success)}.typing-runner__character--typed-error{color:var(--ds-brand-hover);background:var(--ds-danger-soft);text-decoration:underline;text-decoration-thickness:2px}.typing-runner__character--current{border:2px solid var(--ds-info);background:var(--ds-info);color:var(--ds-on-brand);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:1px 2px}.typing-runner__character--current-error{border-color:var(--ds-brand-hover);background:var(--ds-brand-hover);animation:.2s 2 typing-character-error}.typing-runner__notice{min-height:1.5em;font-size:var(--ds-text-sm);text-align:center;margin:18px 0 0;line-height:1.5}.typing-runner__notice--hint,.typing-runner__notice--muted{color:var(--ds-faint)}@media (hover:none){.typing-runner__notice--hint{visibility:hidden}}.typing-runner__notice--warning{color:var(--ds-warning);font-weight:var(--ds-weight-bold)}.typing-runner__notice--danger{color:var(--ds-brand-strong);font-weight:var(--ds-weight-bold)}.typing-runner__capture{opacity:.01;pointer-events:none;border:0;width:1px;height:1px;padding:0;position:fixed;bottom:0;left:50%}@keyframes typing-character-error{0%,to{transform:translate(0)}40%{transform:translate(-3px)}70%{transform:translate(3px)}}@keyframes typing-text-appear{0%{opacity:.35;transform:translate(18px)}to{opacity:1;transform:translate(0)}}@media (max-width:640px){.typing-runner__surface{padding:20px 16px 18px}.typing-runner__instruction{margin-bottom:12px}.typing-runner__text{min-height:var(--typing-runner-text-min-height,250px);font-size:var(--ds-text-lg);line-height:1.75}}}
