.ht-shell{padding-top:12px;padding-bottom:38px}.ht-card{background:#fff;border:1px solid #dddcef;border-radius:24px;padding:18px;box-shadow:0 20px 55px rgba(36,31,83,.1)}.ht-head-actions,.ht-actions,.ht-tabs,.ht-pills,.ht-metrics{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ht-expand,.ht-button,.ht-tab,.ht-chip{border:1px solid #dad8ee;border-radius:11px;background:#fff;color:#24213d;font:inherit;font-weight:760;cursor:pointer;padding:9px 12px}.ht-button.primary,.ht-tab.active{color:#fff;background:linear-gradient(135deg,#6657e8,#9a55de);border-color:transparent}.ht-button.danger{color:#9b294b;background:#fff1f5;border-color:#f4cad7}.ht-button:disabled{opacity:.46;cursor:not-allowed}.ht-grid{display:grid;grid-template-columns:minmax(245px,310px) minmax(0,1fr);gap:14px;margin-top:14px}.ht-panel{border:1px solid #e2e0ef;background:#fbfbfe;border-radius:17px;padding:14px}.ht-panel h3{margin:0 0 6px;font-size:1rem}.ht-panel p{margin:0 0 10px;color:#68657d;font-size:.83rem;line-height:1.5}.ht-field{display:grid;gap:5px;margin:10px 0}.ht-field label{font-weight:760;font-size:.78rem;color:#4b4763}.ht-field input,.ht-field select,.ht-field textarea{width:100%;box-sizing:border-box;border:1px solid #d9d7e8;border-radius:10px;background:#fff;padding:9px 10px;color:#24213d;font:inherit}.ht-field textarea{min-height:110px;resize:vertical}.ht-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ht-stage{position:relative;min-height:420px;border-radius:18px;overflow:hidden;background:#151226;color:#fff;border:1px solid #2d2946}.ht-canvas-wrap{display:grid;place-items:center;min-height:340px;padding:12px}.ht-canvas-wrap canvas,.ht-stage>canvas{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:12px;background:#11101d}.ht-metrics{padding:10px 12px;border-bottom:1px solid #302b4d;background:#1e1a35}.ht-metric{min-width:92px;border:1px solid #393358;background:#24203e;border-radius:12px;padding:8px 10px}.ht-metric strong{display:block;color:#fff;font-size:1.05rem}.ht-metric span{color:#aaa5c5;font-size:.67rem}.ht-status{padding:9px 11px;border:1px solid #dedbed;border-radius:11px;background:#fff;color:#5f5b73;font-size:.8rem}.ht-status.good{border-color:#bce8d5;background:#effbf6;color:#146b4a}.ht-status.warn{border-color:#f1d6a7;background:#fff8e8;color:#8a5a05}.ht-log{max-height:170px;overflow:auto;border:1px solid #e1dfed;background:#fff;border-radius:11px;padding:8px;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;color:#4e4a62}.ht-keyboard{display:grid;grid-template-columns:repeat(14,minmax(22px,1fr));gap:5px;padding:16px}.ht-key{display:grid;place-items:center;min-height:36px;border:1px solid #3c365a;border-radius:7px;background:#24203b;color:#d9d7e8;font-size:.68rem}.ht-key.active{background:#7b63ef;border-color:#bcb0ff;color:#fff;box-shadow:0 0 18px rgba(123,99,239,.65)}.ht-playfield{position:relative;min-height:360px;background:radial-gradient(circle at 50% 30%,#302a56,#13111f 68%);touch-action:none}.ht-target{position:absolute;border:4px solid #fff;border-radius:50%;background:#7c65ee;box-shadow:0 0 0 9px rgba(124,101,238,.24);cursor:crosshair}.ht-reaction{display:grid;place-items:center;min-height:360px;text-align:center;padding:25px;cursor:pointer}.ht-reaction.wait{background:#b13e55}.ht-reaction.ready{background:#178c67}.ht-reaction.idle{background:#24203d}.ht-touch{touch-action:none}.ht-video{display:block;width:100%;max-height:480px;object-fit:contain;background:#080711}.ht-video.mirror{transform:scaleX(-1)}.ht-media-stage{position:relative}.ht-media-stage canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.ht-paper{background:#d7d6df;padding:16px;min-height:470px;display:grid;place-items:center}.ht-paper canvas{width:auto;max-width:100%;max-height:560px;background:#fff;box-shadow:0 15px 35px rgba(0,0,0,.24);border-radius:2px}.ht-report{padding:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ht-report article{border:1px solid #37314f;border-radius:12px;padding:11px;background:#211d37}.ht-report small{display:block;color:#a8a4bd;margin-bottom:4px}.ht-report strong{font-size:.9rem;word-break:break-word}.ht-swatch-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.ht-swatch{height:36px;border-radius:9px;border:2px solid #fff;box-shadow:0 0 0 1px #d5d2e4;cursor:pointer}.ht-warning{border:1px solid #ffd5a1;background:#fff7e8;color:#7a4b07;padding:10px;border-radius:11px;font-size:.78rem;line-height:1.45}.ht-device-placeholder{display:grid;place-items:center;min-height:360px;text-align:center;padding:25px}.ht-device-placeholder strong{font-size:1.35rem}.ht-inline-value{font-weight:800;color:#6254df}.ht-card:fullscreen,.ht-card.ht-pseudo-fullscreen{position:fixed;inset:0;z-index:9999;border-radius:0;overflow:auto;background:#f8f8fd}.ht-card:fullscreen .ht-stage,.ht-card.ht-pseudo-fullscreen .ht-stage{min-height:520px}.ht-card:fullscreen .ht-shell,.ht-card.ht-pseudo-fullscreen .ht-shell{max-width:none}@media(max-width:820px){.ht-grid{grid-template-columns:1fr}.ht-stage{min-height:330px}.ht-row{grid-template-columns:1fr}.ht-report{grid-template-columns:1fr}.ht-keyboard{grid-template-columns:repeat(7,minmax(30px,1fr))}.ht-card{padding:12px;border-radius:18px}}@media print{body>*{display:none!important}body .ht-paper,body .ht-paper *{display:block!important}.ht-paper{position:fixed;inset:0;padding:0;background:#fff}.ht-paper canvas{width:100%;height:100%;max-width:none;max-height:none;box-shadow:none}}
