/*
  Dienpinigių tvarka: extra styles for dienpinigiu-tvarka.html, dienpinigiai.html (calculator) and
  dienpinigiai-app.html (wizard). Loaded after assets/site.css (and assets/app.css on the calculator and the wizard).
*/

/* Wizard: four steps instead of seven */
.progress--4 ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 720px) { .progress--4 .progress__label { display: block; font-size: .72rem; } }

.pd-thanks { margin-top: 16px; }
.pd-dests { display: grid; gap: 12px; }
.pd-dest__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 10px; }
.pd-dest__foot .inline-confirm { flex-basis: 100%; }
.pd-live { margin: 0; color: var(--primary); font-weight: 600; font-size: .92rem; min-width: 0; overflow-wrap: anywhere; }
.pd-live:empty { display: none; }
.pd-langs { background: var(--primary-soft); border: 1px solid #bcd0e6; border-radius: var(--radius); padding: 12px 14px; margin: 0 0 16px; }
.pd-langs legend { padding: 0; }
.pd-langs .check span { min-width: 0; overflow-wrap: anywhere; }

/* Calculator */
.calc { margin: 8px 0 18px; }
.calc .radios { margin-bottom: 16px; }
.calc .form-grid { margin-bottom: 8px; }
@media (min-width: 640px) { .calc .radios { grid-template-columns: repeat(2, minmax(0, 1fr)); } .calc .radios legend { grid-column: 1 / -1; } }
.calc__checks { display: grid; gap: 2px; margin-top: 6px; }
.calc-result { margin: 0 0 24px; }
.calc-sum {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;
  margin: 0 0 10px;
}
.calc-sum > div {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 12px; min-width: 0;
}
.calc-sum dt { color: var(--muted); font-size: .86rem; line-height: 1.3; }
.calc-sum dd { margin: 4px 0 0; font-size: 1.25rem; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.calc-sum .calc-sum__main { background: var(--cta-soft); border-color: #b5d8b7; }
.calc-sum .calc-sum__main dd { color: var(--cta-dark); }
.calc-breakdown { color: var(--muted); font-size: .92rem; margin: 0 0 10px; }
.calc-notes { margin: 0; padding-left: 20px; font-size: .95rem; }
.calc-notes li { margin-bottom: 6px; }

/* Wizard: a little more air above the sub-headings of a step */
.step-body > .sub { margin-top: 28px; }

/* Landing page: the price cards sit in the narrower article column */
.pd-rules th:first-child { min-width: 140px; }
.article .pricing { margin-top: 20px; }
.article .price-card__tag { white-space: nowrap; }
.article .price-card .btn { white-space: nowrap; padding-left: 10px; padding-right: 10px; }
