/* Competitor-desk shared chrome (Calculator.net–style sections) */
.desk-panel {
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 0 0 22px;
  overflow: hidden;
}
.desk-panel-h {
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  box-shadow: inset 0 -3px 0 #ff6b1a;
}
.desk-panel-b { padding: 14px 16px 16px; background: #f7f7f7; }
.desk-row {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 8px 12px;
  align-items: center;
  margin: 0 0 10px;
}
.desk-row label { font-size: 14px; font-weight: 600; color: #333; margin: 0; }
.desk-ctl { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.desk-ctl input[type="number"],
.desk-ctl input[type="text"],
.desk-ctl select {
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 6px 8px;
  min-width: 90px;
  background: #fff;
}
.desk-ctl .affix { font-size: 13px; color: #555; }
.desk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.desk-actions .btn-primary {
  background: linear-gradient(135deg, #ffb067 0%, #ff6b1a 48%, #ff4d00 100%) !important;
  border: 0 !important;
  font-weight: 700;
  padding: 8px 18px;
  box-shadow: 0 4px 14px rgba(255, 107, 26, 0.45);
}
.desk-actions .btn-secondary {
  background: #888 !important;
  color: #fff !important;
  border: 0 !important;
}
.desk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 12px;
  border-bottom: 2px solid #1a1a1a;
}
.desk-tabs button {
  border: 1px solid #ddd;
  border-bottom: 0;
  background: #f3f3f3;
  color: #1a1a1a;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
  margin-right: 2px;
  border-radius: 4px 4px 0 0;
}
.desk-tabs button.on {
  background: linear-gradient(135deg, #ffb067 0%, #ff6b1a 48%, #ff4d00 100%);
  color: #fff;
  border-color: #ff6b1a;
  box-shadow: 0 4px 12px rgba(255, 107, 26, 0.4);
}
.desk-hint { font-size: 13px; color: #555; margin: 0 0 12px; }
.desk-result {
  background: #fff;
  border: 1px solid #ccd;
  border-radius: 4px;
  padding: 12px 14px;
  margin-top: 12px;
}
.desk-result .big {
  font-size: 22px;
  font-weight: 800;
  color: #1b5e20;
  margin: 0 0 8px;
}
.desk-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 22px;
}
.desk-related a {
  background: #1a1a1a !important;
  color: #fff !important;
  padding: 7px 12px !important;
  border-radius: 3px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.bmi-gauge {
  width: min(280px, 100%);
  height: 140px;
  margin: 8px 0 12px;
  position: relative;
}
.bmi-gauge svg { width: 100%; height: 100%; }
.ohm-diagram {
  float: right;
  width: 140px;
  height: 120px;
  margin: 0 0 12px 12px;
  border: 1px solid #ccc;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-align: center;
  color: #333;
}
.wc-chart-wrap { overflow-x: auto; margin: 12px 0; }
.wc-chart {
  border-collapse: collapse;
  font-size: 10px;
}
.wc-chart th, .wc-chart td {
  border: 1px solid #90caf9;
  padding: 3px 4px;
  text-align: center;
  min-width: 28px;
}
.wc-chart th { background: #e3f2fd; }
/* Tap tempo */
.tap-pro { text-align: center; padding: 8px 4px 4px; }
.tap-pro .tap-hint { font-size: 14px; color: #555; margin: 0 0 16px; }
.tap-pad {
  width: min(100%, 220px);
  height: 220px;
  border-radius: 50%;
  border: 0;
  background: #ff6b1a;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 0 #1b5e20;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}
.tap-pad:active { transform: translateY(4px); box-shadow: 0 4px 0 #1b5e20; }
.tap-bpm-big {
  font-size: 56px;
  font-weight: 800;
  color: #1b5e20;
  line-height: 1.1;
  margin: 0 0 4px;
}
.tap-meta { font-size: 13px; color: #666; margin-bottom: 14px; }
.roi-bar { fill: #1a1a1a; }
.roi-bar-profit { fill: #ff6b1a; }
@media (max-width: 640px) {
  .desk-row { grid-template-columns: 1fr; }
  .ohm-diagram { float: none; margin: 0 0 12px; }
  .tap-bpm-big { font-size: 42px; }
}
