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

.dq-dv__grid {
  display: grid;
  grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
  gap: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.dq-dv__field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var( --dq-muted, #616b78 );
}
.dq-dv__field input,
.dq-dv__field select {
  width: 100%;
  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-dv__field input:focus,
.dq-dv__field select:focus {
  outline: 2px solid var( --dq-accent, #0066cc );
  outline-offset: 1px;
}
.dq-dv__inline {
  display: flex;
  gap: 0.5rem;
}
.dq-dv__inline input { flex: 1 1 auto; }
.dq-dv__inline select { flex: 0 0 5.5rem; }

.dq-dv__out {
  border-top: 2px solid var( --dq-line, #e2e7ed );
  padding-top: 1rem;
}
.dq-dv__rows {
  margin: 0;
  font-size: 0.95rem;
}
.dq-dv__rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var( --dq-line, #eef1f4 );
}
.dq-dv__rows div:last-child { border-bottom: 0; }
.dq-dv__rows dt {
  margin: 0;
  color: var( --dq-muted, #616b78 );
}
.dq-dv__rows dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var( --dq-ink, #12161b );
}
/* Emphasise the per-day/month/year rows a touch. */
.dq-dv__rows div:nth-last-child(-n+3) dd {
  color: var( --dq-accent, #0066cc );
}
.dq-dv__hint {
  margin: 0;
  color: var( --dq-muted, #616b78 );
  font-size: 0.92rem;
}

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