@import url("../solve-thermoprops/styles.css");

.psychroprops-note {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--color-primary-softer);
}

.psychroprops-note strong {
  color: var(--primary);
  font-size: 0.86rem;
}

.psychroprops-note span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.psychroprops-result-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.psychro-chart-panel {
  min-width: 0;
}

.psychro-chart-status {
  max-width: 360px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--color-primary-softer);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.psychro-chart-wrap {
  width: 100%;
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
}

.psychro-chart-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 24px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.psychro-chart-svg {
  display: block;
  width: 100%;
  min-width: 980px;
  height: auto;
  background: #ffffff;
}

.psychro-chart-title {
  fill: var(--color-primary-900);
  font-size: 24px;
  font-weight: 800;
}

.psychro-chart-subtitle,
.psychro-chart-meta,
.psychro-chart-axis-label,
.psychro-chart-tick,
.psychro-chart-legend {
  fill: #334155;
  font-weight: 700;
}

.psychro-chart-subtitle,
.psychro-chart-meta,
.psychro-chart-legend {
  font-size: 13px;
}

.psychro-chart-axis-label {
  font-size: 15px;
}

.psychro-chart-tick {
  font-size: 12px;
}

.psychro-grid-line {
  stroke: #d8e0ea;
  stroke-width: 1;
}

.psychro-grid-line--minor {
  stroke: #eef3f8;
}

.psychro-axis {
  stroke: #0f2744;
  stroke-width: 2;
}

.psychro-rh-line {
  fill: none;
  stroke: #2774ae;
  stroke-width: 1.35;
}

.psychro-saturation-line {
  fill: none;
  stroke: #003d73;
  stroke-width: 3;
}

.psychro-wetbulb-line {
  fill: none;
  stroke: #168c52;
  stroke-dasharray: 7 5;
  stroke-width: 1.45;
}

.psychro-enthalpy-line {
  fill: none;
  stroke: #9a5c18;
  stroke-dasharray: 3 5;
  stroke-width: 1.35;
}

.psychro-volume-line {
  fill: none;
  stroke: #7c3aed;
  stroke-dasharray: 10 5 2 5;
  stroke-width: 1.25;
}

.psychro-line-label {
  fill: #334155;
  font-size: 11px;
  font-weight: 800;
}

.psychro-state-point {
  fill: #dc2626;
  stroke: #ffffff;
  stroke-width: 3;
}

.psychro-state-label {
  fill: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .psychroprops-result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .psychro-chart-status {
    width: 100%;
    max-width: none;
  }

  .psychro-chart-svg {
    min-width: 920px;
  }
}
