/* Same lesson, another language. Phone first: the article frame is 311 px on a phone and 700 px on a computer. */
h1 { font-size: 1.25rem; }
textarea {
  width: 100%; min-height: 7rem; padding: 10px; font: inherit; font-size: 0.9375rem; line-height: 1.45;
  color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; resize: vertical;
}
input[type="number"] {
  width: 100%; max-width: 12rem; height: 44px; padding: 0 10px; font: inherit; font-size: 1rem;
  color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; background: #fff;
}
input[type="number"]:disabled { color: var(--muted); background: #f3f4f6; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 600; margin-bottom: 6px; }
.langs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.lang { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 0.9375rem; font-weight: 400; }
.lang input { width: 18px; height: 18px; margin: 0; }
.totals { margin-top: 4px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.totals p { margin: 0 0 8px; }
.totals p:last-child { margin-bottom: 0; }
.headline { font-size: 1.0625rem; font-weight: 700; }
.detail { font-size: 0.9375rem; }
.cards { list-style: none; margin: 12px 0 0; padding: 0; }
.card, .none { margin: 0 0 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card p { margin: 0 0 4px; font-size: 0.9375rem; }
.card p:last-child { margin-bottom: 0; }
.card-head { font-weight: 700; font-size: 1rem; }
.but { margin: 4px 0 10px; padding: 10px 12px; border-radius: 8px; background: #fff4e5; color: #7a4100; font-size: 0.9375rem; }
.actions { margin: 0 0 10px; }
.how { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.how summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.how ul { margin: 8px 0 0; padding-left: 1.1rem; }
.how li { margin-bottom: 6px; }
@media (min-width: 600px) {
  h1 { font-size: 1.375rem; }
  .langs { grid-template-columns: 1fr 1fr 1fr; }
}
