/* Not every dollar is a sale: Lachie's wedding DJ business (Cash, Level 1).
   Builds on profit-and-loss.css and sales-price-quantity.css (speed round). */

/* Bank statement tables: amount column right, verdict column left and wrapping */
.ned-statement td.why{text-align:left;white-space:normal;font-weight:600;color:var(--muted);font-size:14px;line-height:1.45}
.ned-statement td.why strong{color:var(--green)}
.ned-statement td.why em{font-style:normal;color:var(--ink);font-weight:800}
.ned-statement thead th{background:var(--wash);font-size:12px;letter-spacing:.06em;text-transform:uppercase;font-weight:800;color:var(--muted)}
.ned-statement thead th.num{text-align:right}
.ned-statement tr.yes>*{background:var(--goodbg)}
.ned-statement .bottom>*{border-top:2px solid var(--ink);font-weight:900}

/* Cash vs profit at the end of the worked example */
.ned-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}
.ned-two div{border-radius:14px;padding:16px 18px;background:#fff;border:2px solid var(--line)}
.ned-two .profit{border-color:var(--green);background:var(--goodbg)}
.ned-two b{display:block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.ned-two strong{display:block;font-size:clamp(26px,4vw,34px);font-weight:900;font-variant-numeric:tabular-nums;margin:4px 0}
.ned-two span{font-size:14px;color:var(--muted)}

/* Speed round: three pile buttons a line */
.ned-tags{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px;max-width:560px}
.ned-tags .pl-option{text-align:center;padding:12px 8px}
.ned-tags.four{grid-template-columns:repeat(2,minmax(0,1fr));max-width:460px}

/* In / Out labels on statement lines */
.ned-dir{display:inline-block;min-width:34px;margin-right:6px;padding:1px 7px;border-radius:6px;background:var(--goodbg);color:var(--green);font-size:11px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;text-align:center}
.ned-dir.out{background:var(--amberbg);color:var(--amber)}

/* Where the money came from, and the three piles on the result screen */
.ned-split{margin:12px 0 0;padding-left:22px}
.ned-split li+li{margin-top:8px}

/* A line above the first practice question */
.ned-note{margin:-6px 0 14px}

/* Quick reminder above the intro */
.ned-reminder{margin:0 0 22px;border:2px solid var(--line);border-radius:14px;background:#fff;padding:12px 16px;font-size:15px}
.ned-reminder summary{font-weight:800;cursor:pointer}
.ned-reminder p{margin-top:10px}

@media(max-width:560px){
  .ned-tags{grid-template-columns:1fr;max-width:280px}
  .ned-two{grid-template-columns:1fr}
  .ned-statement th,.ned-statement td{padding:10px 10px}
  .ned-statement td.why{font-size:13px}
}
