.al-tools-app.al-tool-shell--heater-size {
  --al-heater-heat-level: 8%;
  --al-heater-delta-level: 0%;
  --al-heater-heat-opacity: 0.18;
  --al-heater-heat-scale: 0.74;
  --al-heater-warm: #9a6a15;
  --al-heater-hot: #9a3e35;
  --al-heater-water: #78bde8;
  --al-heater-water-deep: #3d83b5;
}

.al-tools-app.al-tool-shell--heater-size .al-heater-card,
.al-tools-app.al-tool-shell--heater-size .al-heater-preview {
  position: relative;
}

.al-tools-app.al-tool-shell--heater-size .al-heater-unit-row {
  display: grid;
  gap: var(--al-tool-space-4);
}

.al-tools-app.al-tool-shell--heater-size .al-heater-preview {
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.al-tools-app.al-tool-shell--heater-size .al-heater-preview__stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--al-tool-space-4);
  min-height: 316px;
  place-items: center;
  padding: var(--al-tool-space-5) var(--al-tool-space-6) var(--al-tool-space-4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(243, 247, 245, 0.66)),
    linear-gradient(135deg, rgba(47, 111, 159, 0.08), rgba(154, 106, 21, 0.06));
}

.al-tools-app.al-tool-shell--heater-size .al-tool-preview__head,
.al-tools-app.al-tool-shell--heater-size .al-heater-preview__caption {
  position: relative;
  z-index: 1;
}

.al-tools-app.al-tool-shell--heater-size .al-heater-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--al-tool-space-2);
  min-height: 42px;
  max-width: 100%;
  padding: var(--al-tool-space-2) var(--al-tool-space-4);
  border: 1px solid rgba(47, 111, 159, 0.12);
  border-radius: var(--al-tool-radius-pill);
  background: rgba(255, 255, 255, 0.76);
  color: var(--al-tool-color-blue);
  font-size: 0.86rem;
  font-weight: 760;
  box-shadow: 0 10px 22px rgba(16, 32, 25, 0.055);
  transition:
    border-color var(--al-tool-transition-med),
    color var(--al-tool-transition-med),
    box-shadow var(--al-tool-transition-med);
}

.al-tools-app.al-tool-shell--heater-size .al-heater-status-pill[data-heater-preview-level="ok"] {
  color: var(--al-tool-color-ok);
  border-color: rgba(46, 122, 82, 0.16);
}

.al-tools-app.al-tool-shell--heater-size .al-heater-status-pill[data-heater-preview-level="warn"] {
  color: var(--al-tool-color-warn);
  border-color: rgba(169, 112, 18, 0.18);
}

.al-tools-app.al-tool-shell--heater-size .al-heater-status-pill[data-heater-preview-level="danger"] {
  color: var(--al-tool-color-danger);
  border-color: rgba(156, 61, 51, 0.18);
}

.al-tools-app.al-tool-shell--heater-size .al-heater-tank {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  border: 1px solid rgba(47, 111, 159, 0.22);
  border-radius: calc(var(--al-tool-radius-lg) + 3px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0.42) 78%, rgba(255, 255, 255, 0.68)),
    linear-gradient(180deg, rgba(250, 254, 255, 0.96), rgba(231, 243, 247, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.76),
    inset 0 -18px 34px rgba(47, 111, 159, 0.08),
    0 22px 38px rgba(16, 32, 25, 0.1);
}

.al-tools-app.al-tool-shell--heater-size .al-heater-tank__water {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 72%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0) 18%),
    linear-gradient(180deg, rgba(120, 189, 232, 0.88), rgba(61, 131, 181, 0.86));
}

.al-tools-app.al-tool-shell--heater-size .al-heater-tank__heater {
  position: absolute;
  right: 11%;
  bottom: 12%;
  z-index: 3;
  width: 22px;
  height: 62%;
  border: 1px solid rgba(16, 32, 25, 0.18);
  border-radius: var(--al-tool-radius-pill);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.12) 48%, rgba(16, 32, 25, 0.08)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 22px rgba(16, 32, 25, 0.12);
}

.al-tools-app.al-tool-shell--heater-size .al-heater-tank__heater span {
  position: absolute;
  inset-inline: 5px;
  bottom: 7px;
  height: max(10px, var(--al-heater-heat-level));
  border-radius: var(--al-tool-radius-pill);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, var(--al-heater-warm), var(--al-heater-hot));
  transition: height var(--al-tool-transition-slow);
}

.al-tools-app.al-tool-shell--heater-size .al-heater-tank__heat {
  position: absolute;
  right: 7%;
  bottom: 11%;
  z-index: 2;
  width: 30%;
  height: 68%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(154, 106, 21, 0.18), rgba(154, 106, 21, 0) 66%);
  opacity: var(--al-heater-heat-opacity);
  transform: scale(var(--al-heater-heat-scale));
  transition:
    opacity var(--al-tool-transition-slow),
    transform var(--al-tool-transition-slow);
}

.al-tools-app.al-tool-shell--heater-size .al-heater-tank__rim {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 16px 0 24px rgba(255, 255, 255, 0.18),
    inset -14px 0 22px rgba(16, 32, 25, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.al-tools-app.al-tool-shell--heater-size .al-heater-preview__caption {
  width: fit-content;
  max-width: calc(100% - var(--al-tool-space-8));
  margin: 0 auto var(--al-tool-space-4);
  padding: var(--al-tool-space-2) var(--al-tool-space-3);
  border: 1px solid rgba(16, 32, 25, 0.065);
  border-radius: var(--al-tool-radius-pill);
  background: rgba(255, 255, 255, 0.68);
  color: rgba(38, 52, 46, 0.78);
  font-size: 0.84rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 8px 18px rgba(16, 32, 25, 0.045);
}

.al-tools-app.al-tool-shell--heater-size .al-heater-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--al-tool-space-3);
  margin-top: var(--al-tool-space-2);
}

.al-tools-app.al-tool-shell--heater-size .al-heater-detail-grid div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.al-tools-app.al-tool-shell--heater-size .al-heater-detail-grid dt {
  color: var(--al-tool-color-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.al-tools-app.al-tool-shell--heater-size .al-heater-detail-grid dd {
  margin: 0;
  color: var(--al-tool-color-ink);
  font-size: 0.96rem;
  font-weight: 760;
}

@media (min-width: 640px) {
  .al-tools-app.al-tool-shell--heater-size .al-heater-unit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .al-tools-app.al-tool-shell--heater-size .al-heater-preview__stage {
    min-height: 250px;
    padding: var(--al-tool-space-4);
  }

  .al-tools-app.al-tool-shell--heater-size .al-heater-preview__caption {
    max-width: calc(100% - var(--al-tool-space-6));
    margin-bottom: var(--al-tool-space-3);
    font-size: 0.8rem;
  }

  .al-tools-app.al-tool-shell--heater-size .al-heater-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-tools-app.al-tool-shell--heater-size .al-heater-status-pill,
  .al-tools-app.al-tool-shell--heater-size .al-heater-tank__heater span,
  .al-tools-app.al-tool-shell--heater-size .al-heater-tank__heat {
    transition-duration: 1ms;
  }
}
