.mouse-tool{
	width:100%;
	max-width:800px;
	margin:25px auto;
}
.tool-heading{text-align:center;margin-bottom:18px}
.tool-heading h1{font-size:29px;font-weight:800;margin-bottom:7px}
.tool-heading p{font-size:13px;color:#737373;margin:0}
.tool-box{
  width:100%;height:800px;max-height:none;
  background:#fff;border:1px solid #e5e5e5;border-radius:16px;
  padding:16px;box-shadow:0 8px 28px #0000000d;
  display:flex;flex-direction:column;overflow:hidden
}
.tool-top{
  display:flex;justify-content:space-between;align-items:center;
  gap:8px;margin-bottom:12px
}
.tool-top h2{font-size:17px;font-weight:750;margin:0}
.tool-top p{font-size:11px;color:#777;margin:4px 0 0}
.live{
  background:#ecfdf3;color:#15803d;border-radius:20px;
  padding:6px 10px;font-size:11px;font-weight:bold;white-space:nowrap
}
.columns{
  display:grid;grid-template-columns:1fr 1fr;gap:14px;
  flex:1;min-height:0
}
.column{min-width:0;display:flex;flex-direction:column;gap:12px}
.panel{
  border:1px solid #e8e8e8;border-radius:11px;padding:12px;
  background:#fff;box-shadow:0 3px 10px #00000005
}
.panel h3{font-size:13px;font-weight:750;margin:0 0 10px}
.test-area{
  min-height:205px;flex:1;display:flex;align-items:center;
  justify-content:center;text-align:center;position:relative;
  border:2px dashed #d1d5db;border-radius:12px;
  background-color:#fafafa;
  background-image:radial-gradient(#ddd 1px,transparent 1px);
  background-size:17px 17px;cursor:crosshair;user-select:none;
  overflow:hidden;outline:none
}
.test-area:focus-visible{border-color:#111}
.test-area .emoji{font-size:40px;margin-bottom:8px}
.test-area h3{font-size:15px;font-weight:750;margin-bottom:5px}
.test-area p{font-size:11px;color:#777;margin:0;padding:0 8px}
.button-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.mouse-button{
  text-align:center;border:1px solid #e5e5e5;border-radius:9px;
  padding:10px 3px;background:#fff;min-width:0
}
.mouse-button .symbol{font-size:20px}
.mouse-button strong{display:block;font-size:10px;margin:3px 0 6px}
.status{
  display:inline-block;background:#f3f4f6;color:#777;
  border-radius:20px;padding:4px 6px;font-size:9px;font-weight:bold
}
.mouse-button.passed{background:#f0fdf4;border-color:#bbf7d0}
.mouse-button.passed .status{background:#dcfce7;color:#15803d}
.mouse-button.pressed{background:#171717;color:white}
.mouse-button.pressed .status{background:#444;color:white}
.metric{
  display:flex;justify-content:space-between;gap:8px;
  padding:8px 0;border-bottom:1px solid #f0f0f0;font-size:11px
}
.metric:last-child{border-bottom:0}
.metric span{color:#737373}
.metric b{text-align:right;font-variant-numeric:tabular-nums}
.progress{height:6px;background:#eee}
.progress-bar{background:linear-gradient(135deg,#444,#000)}
.scroll-track{height:6px;background:#eee;border-radius:10px;margin-top:10px;overflow:hidden}
.scroll-fill{height:100%;width:0;background:#111;transition:width .15s}
.activity{
  list-style:none;padding:0;margin:0;max-height:125px;overflow:auto
}
.activity li{
  display:flex;justify-content:space-between;gap:5px;
  padding:7px 0;border-bottom:1px solid #eee;font-size:10px
}
.activity li:last-child{border-bottom:0}
.activity time{color:#888;white-space:nowrap}
.result{
  padding:9px 11px;background:#f8fafc;border:1px solid #e5e7eb;
  border-radius:9px;font-size:11px;line-height:1.5;color:#555;
  margin-top:12px;min-height:37px
}
.actions{display:flex;justify-content:center;gap:9px;margin-top:10px}
.btn-black{
  color:#fff;background:linear-gradient(135deg,#353535,#000);
  border:1px solid #222;border-radius:8px;padding:9px 13px;
  font-size:11px;font-weight:700;box-shadow:0 3px 7px #0002
}
.btn-black:hover{color:#fff;background:linear-gradient(135deg,#222,#000)}
.btn-light-custom{
  background:#fff;border:1px solid #ddd;border-radius:8px;
  padding:9px 13px;font-size:11px;font-weight:700
}
@media(max-width:600px){
  body{padding:15px 8px}
  .tool-box{height:auto;min-height:600px;padding:12px;overflow:visible}
  .columns{grid-template-columns:1fr}
  .test-area{min-height:190px;flex:none}
  .column{gap:10px}
  .activity{max-height:150px}
  .tool-heading h1{font-size:25px}
}