/* boiling-point-calculator — extracted from inline <style> */
.bp-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  margin-top: 0.75rem;
}
@media (max-width: 575.98px) {
  .bp-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.bp-stat-card {
  background: var(--cluster-surface, #f8f9fa);
  border-radius: 0.75rem;
  padding: 0.75rem 0.875rem;
  text-align: center;
  border: 1px solid var(--evvy-border-color, #dee2e6);
}
.bp-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--evvy-text-secondary, #666);
  margin-bottom: 0.2rem;
}
.bp-stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cluster-dark, #1A237E);
  font-variant-numeric: tabular-nums;
}
.bp-cooking-card {
  background: color-mix(in srgb, var(--cluster-dark, #1A237E) 6%, transparent);
  border-left: 4px solid var(--cluster-dark, #1A237E);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}
.bp-cooking-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--cluster-dark, #1A237E);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bp-cooking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
@media (max-width: 575.98px) {
  .bp-cooking-grid { grid-template-columns: 1fr; }
}
.bp-cooking-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  padding: 0.375rem 0;
}
.bp-cooking-item i {
  color: var(--cluster-dark, #1A237E);
  flex-shrink: 0;
}
.bp-cooking-item strong {
  color: var(--cluster-dark, #1A237E);
}
.bp-ref-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
}
.bp-ref-table thead th {
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--evvy-text-secondary, #666);
  background: var(--cluster-surface, #f8f9fa);
  border-bottom: 2px solid var(--evvy-border-color, #dee2e6);
  text-align: center;
}
.bp-ref-table thead th:first-child { text-align: left; }
.bp-ref-table tbody td {
  padding: 0.4rem 0.75rem;
  border-bottom: 1px solid var(--evvy-border-color, #dee2e6);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.bp-ref-table tbody td:first-child {
  font-weight: 600;
  text-align: left;
  color: var(--evvy-text-secondary, #666);
}
.bp-ref-table tbody tr:hover {
  background: color-mix(in srgb, var(--cluster-dark, #1A237E) 5%, transparent);
}
.bp-ref-table tbody tr.bp-ref-highlight {
  background: color-mix(in srgb, var(--cluster-dark, #1A237E) 10%, transparent);
  font-weight: 700;
}
.bp-substance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
  margin-top: 0.75rem;
}
@media (max-width: 575.98px) {
  .bp-substance-grid { grid-template-columns: 1fr; }
}
.bp-substance-card {
  background: var(--cluster-surface, #f8f9fa);
  border-radius: 0.75rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--evvy-border-color, #dee2e6);
}
.bp-substance-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--cluster-dark, #1A237E);
  margin-bottom: 0.25rem;
}
.bp-substance-bp {
  font-size: 1rem;
  font-weight: 600;
  color: var(--evvy-text, #1e293b);
  font-variant-numeric: tabular-nums;
}
.bp-substance-note {
  font-size: 0.6875rem;
  color: var(--evvy-text-secondary, #666);
  margin-top: 0.15rem;
}
.bp-pressure-cooker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  margin-top: 0.75rem;
}
@media (max-width: 575.98px) {
  .bp-pressure-cooker-grid { grid-template-columns: 1fr; }
}
.bp-pc-card {
  background: var(--cluster-surface, #f8f9fa);
  border-radius: 0.75rem;
  padding: 0.75rem 0.875rem;
  text-align: center;
  border: 1px solid var(--evvy-border-color, #dee2e6);
}
.bp-pc-psi {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--evvy-text-secondary, #666);
  margin-bottom: 0.25rem;
}
.bp-pc-temp {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cluster-dark, #1A237E);
  font-variant-numeric: tabular-nums;
}
.bp-pc-note {
  font-size: 0.6875rem;
  color: var(--evvy-text-secondary, #666);
  margin-top: 0.15rem;
}
.bp-reverse-result {
  text-align: center;
  padding: 1.25rem;
  margin-top: 0.75rem;
  background: color-mix(in srgb, var(--cluster-dark, #1A237E) 6%, transparent);
  border-radius: var(--evvy-radius-lg, 12px);
}
.bp-reverse-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--evvy-text-secondary, #666);
}
.bp-reverse-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cluster-dark, #1A237E);
  margin-top: 0.25rem;
}
.bp-reverse-sub {
  font-size: 0.8125rem;
  color: var(--evvy-text-secondary, #666);
  margin-top: 0.25rem;
}

/* Dark mode */
[data-bs-theme="dark"] .bp-stat-card,
[data-bs-theme="dark"] .bp-substance-card,
[data-bs-theme="dark"] .bp-pc-card {
  background: color-mix(in srgb, var(--cluster-dark, #1A237E) 8%, #1e1e2e);
  border-color: rgba(255,255,255,0.08);
}
[data-bs-theme="dark"] .bp-stat-value,
[data-bs-theme="dark"] .bp-substance-name,
[data-bs-theme="dark"] .bp-pc-temp,
[data-bs-theme="dark"] .bp-cooking-card h4,
[data-bs-theme="dark"] .bp-cooking-item strong,
[data-bs-theme="dark"] .bp-reverse-value {
  color: var(--cluster-text, #ECEDF8);
}
[data-bs-theme="dark"] .bp-cooking-card {
  background: color-mix(in srgb, var(--cluster-dark, #1A237E) 12%, #1e1e2e);
}
[data-bs-theme="dark"] .bp-ref-table thead th {
  background: color-mix(in srgb, var(--cluster-dark, #1A237E) 8%, #1e1e2e);
}
[data-bs-theme="dark"] .bp-ref-table tbody tr:hover {
  background: color-mix(in srgb, var(--cluster-dark) 10%, transparent);
}
[data-bs-theme="dark"] .bp-ref-table tbody tr.bp-ref-highlight {
  background: color-mix(in srgb, var(--cluster-dark) 18%, transparent);
}
[data-bs-theme="dark"] .bp-reverse-result {
  background: color-mix(in srgb, var(--cluster-dark, #1A237E) 12%, #1e1e2e);
}
[data-bs-theme="dark"] .bp-cooking-item i {
  color: var(--cluster-text, #ECEDF8);
}

/* Mobile refinements */
@media (max-width: 575.98px) {
  .bp-stat-value { font-size: 1rem; }
  .bp-ref-table { font-size: 0.75rem; }
  .bp-ref-table thead th,
  .bp-ref-table tbody td { padding: 0.35rem 0.4rem; }
  .bp-pressure-cooker-grid { gap: 0.5rem; }
}
