@import url("../guide.css");

/* Fig. 1: the example statement, set as the document it is. Each line opens to say what it is,
   and the reading order beside it lights the line it is talking about. */
.statement .figure__frame { padding: clamp(16px, 2vw, 28px) clamp(18px, 2.4vw, 34px) clamp(10px, 1.4vw, 18px); }
.statement__title { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--charcoal); color: var(--stone); }
.statement__lines { margin-top: 0; border-bottom: 0; }
.statement__lines .row:first-child { border-top: 0; }
.statement__lines .row__head { grid-template-columns: minmax(0, 1fr) auto 1.4em; gap: 0 14px; padding: 12px 0; font: 400 clamp(16px, 1.2vw, 18px)/1.3 var(--sans); letter-spacing: 0; }
.statement__lines .row__head output { font: 400 clamp(18px, 1.4vw, 21px)/1.2 var(--serif); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.statement__lines .row__head::after { justify-self: end; font-size: 17px; }
.statement__lines .row__more > div { font-size: 16px; }
.statement__lines .row__more p { font-size: 15px; max-width: 46ch; }
.statement__lines .row[data-line="net"] { border-top: 1px solid var(--charcoal); }
.statement__lines .row[data-line="net"] .row__head span { font-weight: 600; }
.statement__lines .row[data-line="net"] .row__head output { color: var(--brass); font-size: clamp(22px, 1.9vw, 28px); }
.statement__lines .row { transition: background-color 300ms var(--ease); }
.statement__lines .row.is-lit { background: var(--linen); }
.statement__lines .row.is-lit .row__head span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
