/* heat-toggle.css - bottom heat as a switch row in the batch drawer (#673).
   --v2-* tokens only. The switch is the shared .toggle-switch from settings-drawer.css.
   Mockup: docs/design/mockups/heat-toggle-673.html (variant A). */

.heat-row-host { margin-top: var(--v2-space-sm); }

.heat-row { border-bottom: 1px solid var(--v2-border-soft); }
.heat-row__main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: var(--v2-space-sm) 0;
}
.heat-row__icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--v2-bg-secondary);
  color: var(--v2-text-secondary);
}
.heat-row__icon--on {
  background: var(--v2-heat-warmth-bg);
  color: var(--v2-heat-warmth);
}
.heat-row__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.heat-row__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.heat-row__name {
  font-family: var(--v2-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--v2-text-primary);
}
.heat-row__state {
  font-family: var(--v2-font-body);
  font-size: 13px;
  line-height: 1.35;
  color: var(--v2-text-secondary);
}
.heat-row__state--on {
  color: var(--v2-heat-warmth);
  font-weight: 500;
}
.heat-row__date {
  display: inline-flex;
  align-items: center;
  min-height: var(--v2-space-touch);
  margin: -12px 0;
  padding: 0 2px;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  color: var(--v2-heat-warmth);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.heat-row__tip {
  margin: 0;
  padding: 0 0 var(--v2-space-sm) 44px;
  font-family: var(--v2-font-body);
  font-size: 12px;
  line-height: 1.4;
  color: var(--v2-text-secondary);
}
.heat-row .toggle-switch[aria-busy="true"] { pointer-events: none; }
.heat-row .toggle-switch:disabled { opacity: 0.5; cursor: default; }
