.keyboard-test-panel{background:linear-gradient(145deg,#fff,#fbfcff);border:1px solid rgba(17,24,39,.08);border-radius:22px;box-shadow:0 22px 60px #11182717;display:flex;flex-direction:column;gap:16px;min-width:0;outline:none;padding:20px}.keyboard-test-panel__actions,.keyboard-test-panel__header,.keyboard-test-panel__heading,.keyboard-test-panel__scroll-hint,.keyboard-test-panel__section-heading,.keyboard-test-panel__toolbar{align-items:center;display:flex}.keyboard-test-panel__header{gap:14px;justify-content:space-between}.keyboard-test-panel__heading{gap:12px;min-width:0}.keyboard-test-panel__heading-icon,.keyboard-test-panel__section-heading>span{color:var(--danger-color);display:grid;flex:0 0 auto;place-items:center}.keyboard-test-panel__heading-icon{background:#ea55551f;border-radius:15px;height:48px;width:48px}.keyboard-test-panel__heading-icon svg{height:28px;width:28px}.keyboard-test-panel__section-heading h3,.keyboard-test-panel__title{color:#111827;font-weight:800;margin:0}.keyboard-test-panel__title{font-size:20px}.keyboard-test-panel__section-heading p,.keyboard-test-panel__subtitle{color:#6b7280;font-size:13px;line-height:1.5;margin:2px 0 0}.keyboard-test-panel__status{align-items:center;background:#f3f4f6;border-radius:999px;color:#4b5563;display:inline-flex;flex:0 0 auto;font-size:11px;font-weight:800;gap:7px;padding:7px 10px}.keyboard-test-panel__status>span{background:#9ca3af;border-radius:50%;height:8px;width:8px}.keyboard-test-panel__status--active{background:#ecfdf3;color:#15803d}.keyboard-test-panel__status--active>span{background:#22c55e;box-shadow:0 0 0 4px #22c55e2e}.keyboard-test-panel__stats{display:grid;gap:10px;grid-template-columns:repeat(4,minmax(0,1fr))}.keyboard-test-panel__stats article{align-items:center;background:#fff;border:1px solid #edf0f4;border-radius:14px;display:flex;gap:10px;min-width:0;padding:12px}.keyboard-test-panel__stats svg{color:#9ca3af;flex:0 0 23px;height:23px;width:23px}.keyboard-test-panel__stats div{display:flex;flex-direction:column;min-width:0}.keyboard-test-panel__stats strong{color:#111827;font-size:17px;font-weight:800}.keyboard-test-panel__stats span{color:#6b7280;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.keyboard-test-panel__stats .keyboard-test-panel__stat--warning{background:#fff7ed;border-color:#fed7aa}.keyboard-test-panel__stat--warning strong,.keyboard-test-panel__stat--warning svg{color:#c2410c}.keyboard-test-panel__toolbar{background:#f4f6f9;border-radius:15px;flex-wrap:wrap;gap:12px;padding:13px}.keyboard-test-panel__progress-copy{align-items:center;color:#6b7280;display:flex;font-size:12px;gap:10px;justify-content:space-between;min-width:150px}.keyboard-test-panel__progress-copy strong{color:#111827;font-size:13px}.keyboard-test-panel__progress{background:#dfe4ea;border-radius:999px;flex:1 1 220px;height:8px;min-width:140px;overflow:hidden}.keyboard-test-panel__progress span{background:linear-gradient(90deg,var(--danger-color),#f59e8b);border-radius:inherit;display:block;height:100%;transition:width .2s ease}.keyboard-test-panel__actions{flex:0 0 auto;flex-wrap:wrap;gap:8px}.keyboard-test-panel__focus-note{background:#fff;border:1px solid #e5e7eb;border-radius:14px;color:#4b5563;display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr);padding:12px 14px}.keyboard-test-panel__focus-note svg{color:#9ca3af;height:22px;width:22px}.keyboard-test-panel__focus-note p{font-size:13px;line-height:1.5;margin:0}.keyboard-test-panel__focus-note strong{color:#111827}.keyboard-test-panel__focus-note--active{background:#f0fdf4;border-color:#bbf7d0}.keyboard-test-panel__focus-note--active svg{color:#16a34a}.keyboard-test-panel__keyboard-scroll{border-radius:18px;min-width:0;outline:none;overflow-x:auto;scrollbar-color:#6b7280 #1f2937;scrollbar-width:thin}.keyboard-test-panel__keyboard-scroll:focus-visible{box-shadow:0 0 0 3px #ea555538}.keyboard-test-panel__keyboard{background:radial-gradient(circle at 50% 0,#293345 0,#111827 64%);border:1px solid hsla(0,0%,100%,.08);border-radius:18px;box-shadow:inset 0 1px #ffffff14;box-sizing:content-box;padding:16px;width:1110px}.keyboard-test-panel__function-row,.keyboard-test-panel__key-row{display:flex;gap:5px}.keyboard-test-panel__function-row{margin-bottom:12px}.keyboard-test-panel__keyboard-body{align-items:end;display:grid;gap:10px;grid-template-columns:740px 160px 190px}.keyboard-test-panel__key-section{display:flex;flex-direction:column;gap:5px}.keyboard-test-panel__key{--keyboard-key-width:1;align-items:center;background:linear-gradient(180deg,#fff,#eef1f5);border:solid #d7dce3;border-radius:8px;border-width:1px 1px 3px;box-shadow:0 2px 4px #00000038;box-sizing:border-box;color:#374151;display:flex;flex:var(--keyboard-key-width) var(--keyboard-key-width) 0;flex-direction:column;font-style:normal;height:48px;justify-content:center;min-width:0;overflow:hidden;position:relative;transition:transform .08s ease,border-color .12s ease,background .12s ease,color .12s ease}.keyboard-test-panel__function-row .keyboard-test-panel__key{flex:0 0 48px;width:48px}.keyboard-test-panel__key b{font-size:11px;font-weight:800;line-height:1.05;text-align:center}.keyboard-test-panel__key small{color:#8b95a5;font-size:8px;line-height:1}.keyboard-test-panel__key em{background:#d1fae5;border-radius:999px;color:#047857;font-size:8px;font-weight:900;height:14px;line-height:14px;min-width:14px;padding:0 3px;position:absolute;right:4px;text-align:center;top:3px}.keyboard-test-panel__key--tested{background:linear-gradient(180deg,#f0fdf4,#dcfce7);border-color:#a7f3d0;color:#166534}.keyboard-test-panel__key--warning{background:linear-gradient(180deg,#fffbeb,#fef3c7);border-color:#f59e0b;color:#92400e}.keyboard-test-panel__key--pressed{background:linear-gradient(145deg,#f97373 0,var(--danger-color) 100%);border-bottom-width:1px;border-color:#ef4444;box-shadow:0 0 0 3px #ea555540,0 6px 18px #ea555547;color:#fff;transform:translateY(2px)}.keyboard-test-panel__key--pressed em,.keyboard-test-panel__key--pressed small{color:#fff}.keyboard-test-panel__key--pressed em{background:#fff3}.keyboard-test-panel__key--long-hold{animation:keyboard-test-long-hold .7s ease-in-out infinite alternate}.keyboard-test-panel__key-gap{flex:0 0 17px;width:17px}.keyboard-test-panel__key-placeholder{flex:1 1 0;height:48px;min-width:0}.keyboard-test-panel__scroll-hint{color:#6b7280;display:none;font-size:11px;gap:7px;margin:-8px 0 0}.keyboard-test-panel__scroll-hint svg{height:18px;width:18px}.keyboard-test-panel__diagnostics-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.keyboard-test-panel__combination,.keyboard-test-panel__events,.keyboard-test-panel__warnings{background:#fff;border:1px solid #e7eaf0;border-radius:16px;display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px}.keyboard-test-panel__section-heading{gap:10px}.keyboard-test-panel__section-heading>span{background:#ea55551a;border-radius:12px;height:38px;width:38px}.keyboard-test-panel__section-heading svg{height:21px;width:21px}.keyboard-test-panel__section-heading h3{font-size:16px}.keyboard-test-panel__current-combination{align-items:center;background:#f4f6f9;border-radius:13px;display:flex;flex-direction:column;gap:4px;justify-content:center;min-height:70px;padding:12px;text-align:center}.keyboard-test-panel__current-combination span{color:#6b7280;font-size:11px;font-weight:700}.keyboard-test-panel__current-combination strong{color:#111827;font-size:16px;overflow-wrap:anywhere}.keyboard-test-panel__current-combination--active{background:#fff1f1;box-shadow:inset 0 0 0 1px #ea555526}.keyboard-test-panel__combination-history,.keyboard-test-panel__event-list,.keyboard-test-panel__warnings ul{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:0;padding:0}.keyboard-test-panel__combination-history li{background:#f3f4f6;border-radius:9px;color:#374151;font-size:11px;font-weight:800;padding:7px 9px}.keyboard-test-panel__event-list{flex-direction:column}.keyboard-test-panel__event-list li{align-items:center;background:#f8fafc;border-radius:9px;display:grid;font-size:11px;gap:8px;grid-template-columns:72px minmax(70px,.8fr) minmax(90px,1fr);min-width:0;padding:7px 9px}.keyboard-test-panel__event-list span{font-weight:800}.keyboard-test-panel__event-kind--down{color:#15803d}.keyboard-test-panel__event-kind--up{color:#2563eb}.keyboard-test-panel__event-kind--repeat{color:#c2410c}.keyboard-test-panel__event-list code,.keyboard-test-panel__event-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.keyboard-test-panel__event-list code{color:#6b7280;font-size:10px}.keyboard-test-panel__empty-list{background:#f8fafc;border-radius:12px;color:#6b7280;font-size:12px;margin:auto 0;padding:14px;text-align:center}.keyboard-test-panel__warnings{background:#fffaf5;border-color:#fed7aa}.keyboard-test-panel__warnings .keyboard-test-panel__section-heading>span{background:#ffedd5;color:#c2410c}.keyboard-test-panel__warnings ul{flex-direction:column;list-style:disc;padding-left:20px}.keyboard-test-panel__warnings li{color:#9a3412;font-size:12px;line-height:1.5}.keyboard-test-panel__live-status{height:1px;overflow:hidden;position:absolute;width:1px;clip:rect(0 0 0 0)}@keyframes keyboard-test-long-hold{0%{box-shadow:0 0 0 2px #f59e0b33}to{box-shadow:0 0 0 5px #f59e0b6b}}@media(max-width:900px){.keyboard-test-panel__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.keyboard-test-panel__diagnostics-grid{grid-template-columns:minmax(0,1fr)}.keyboard-test-panel__scroll-hint{display:flex}}@media(max-width:620px){.keyboard-test-panel{border-radius:18px;gap:13px;padding:14px}.keyboard-test-panel__header{align-items:flex-start;flex-direction:column}.keyboard-test-panel__stats{gap:7px}.keyboard-test-panel__stats article{align-items:flex-start;padding:10px}.keyboard-test-panel__stats span{white-space:normal}.keyboard-test-panel__toolbar{align-items:stretch;flex-direction:column}.keyboard-test-panel__actions,.keyboard-test-panel__actions .UiButton{width:100%}.keyboard-test-panel__event-list li{grid-template-columns:68px minmax(0,1fr)}.keyboard-test-panel__event-list code{grid-column:1/-1}}@media(prefers-reduced-motion:reduce){.keyboard-test-panel__key,.keyboard-test-panel__progress span{transition:none}.keyboard-test-panel__key--long-hold{animation:none}}
