/**
 * Runway & Burn Rate Calculator styles.
 *
 * Visual styling only. The responsive outer width (breaking out of the
 * narrow prose column on desktop, full width on mobile) is handled once
 * for all calculators by the shared .dq-calc rule in dq-enhancements.css.
 */

.dq-runway__grid {
  display: grid;
  grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.dq-runway__field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var( --dq-muted, #616b78 );
}
.dq-runway__field input {
  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-runway__field input:focus {
  outline: 2px solid var( --dq-accent, #0066cc );
  outline-offset: 1px;
}
.dq-runway__headline {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  color: var( --dq-ink, #12161b );
}
.dq-runway__sub {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var( --dq-muted, #616b78 );
}
.dq-runway__rows {
  margin: 0;
  font-size: 0.92rem;
}
.dq-runway__rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-top: 1px solid var( --dq-line, #e2e7ed );
}
.dq-runway__rows span:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var( --dq-ink, #12161b );
}
.dq-runway__flag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dq-runway__flag--danger { background: #fdecec; color: #a11b1b; }
.dq-runway__flag--warn   { background: #fdf4e3; color: #8a5a08; }
.dq-runway__flag--ok     { background: #e9f6ec; color: #1b6b32; }
.dq-runway__note {
  margin: 1.5rem 0 0;
  padding: 0.9rem 1rem;
  background: var( --dq-surface-alt, #f6f8fa );
  border-left: 3px solid var( --dq-line, #e2e7ed );
  font-size: 0.85rem;
  line-height: 1.6;
  color: var( --dq-muted, #616b78 );
}

/* Two-up grid collapses to a single column on small screens. */
@media ( max-width: 560px ) {
  .dq-runway__grid { grid-template-columns: 1fr; }
}
