/* Case study steps (spec 4.5), from case-final.html. Cards are white with a thin grey border; the question is the
   step heading; feedback is light grey with a navy rule (red rule for "Not quite."); the data table becomes cards
   at phone width (no sideways scroll, rule A8). */
.frame-body .card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 12px 0; }
.frame-body .card h2 { font-size: 20px; color: var(--navy); margin: 0 0 10px; line-height: 1.3; }
.frame-body .card p { margin: 0 0 10px; } .frame-body .card p:last-child { margin-bottom: 0; }
.frame-body ul.plain { margin: 0; padding-left: 22px; } .frame-body ul.plain li { margin: 4px 0; }
.case-cap { margin: 12px 0 6px; }
.case-table { display: grid; gap: 6px; margin: 0 0 8px; }
.case-table .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; background: var(--grey); border-radius: var(--r); padding: 8px 12px; }
.case-table .cell small { display: block; font-size: 12px; color: var(--muted); } .case-table .cell span { font-variant-numeric: tabular-nums; }
.choices { display: grid; gap: 8px; margin-top: 8px; }
.choices .choice { width: 100%; text-align: left; padding: 12px 14px; }
.choices .fb { display: none; background: var(--fill); border-left: 4px solid var(--navy); border-radius: 0 var(--r) var(--r) 0; padding: 10px 14px; font-size: 15px; } .choices .fb.show { display: block; } .choices .fb.weak { border-left-color: var(--red); }
.keypt { background: var(--fill); border-left: 4px solid var(--navy); border-radius: 0 var(--r) var(--r) 0; padding: 12px 16px; }
.frame-body details summary { color: var(--navy); cursor: pointer; }
.frame-body textarea.in { height: auto; min-height: 100px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.small { font-size: 14px; } .muted { color: var(--muted); }
