/**
 * Compression Calculator styles.
 * Outer width handled by the plugin's global .dq-calc-wrap rule.
 */

.dq-cx__grid {
  display: grid;
  grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
  gap: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.dq-cx__field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var( --dq-muted, #616b78 );
}
.dq-cx__field input,
.dq-cx__field select {
  padding: 0.55rem 0.7rem;
  font-size: 1rem;
  color: var( --dq-ink, #12161b );
  border: 1px solid var( --dq-line, #e2e7ed );
  border-radius: var( --dq-radius, 6px );
  background: #fff;
}
.dq-cx__field input:focus,
.dq-cx__field select:focus {
  outline: 2px solid var( --dq-accent, #0066cc );
  outline-offset: 1px;
}
.dq-cx__inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dq-cx__inline input { flex: 1 1 auto; width: 100%; }
.dq-cx__inline select { flex: 0 0 5rem; }
.dq-cx__suffix {
  flex: 0 0 auto;
  font-weight: 600;
  color: var( --dq-muted, #616b78 );
}
.dq-cx__hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var( --dq-muted, #616b78 );
}

.dq-cx__out {
  border-top: 2px solid var( --dq-line, #e2e7ed );
  padding-top: 1rem;
}
.dq-cx__rows { margin: 0; font-size: 0.95rem; }
.dq-cx__rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var( --dq-line, #eef1f4 );
}
.dq-cx__rows div:last-child { border-bottom: 0; }
.dq-cx__rows dt { margin: 0; color: var( --dq-muted, #616b78 ); }
.dq-cx__rows dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var( --dq-ink, #12161b );
}
.dq-cx__rows div.is-accent dd { color: var( --dq-accent, #0066cc ); }

@media ( max-width: 560px ) {
  .dq-cx__grid { grid-template-columns: 1fr; }
}
