/* Notebook rows, editor marks and stage navigation. */
@font-face { font-family: "JetBrains Mono"; src: url("./fonts/jetbrains-mono-latin-400.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "JetBrains Mono"; src: url("./fonts/jetbrains-mono-latin-600.woff2") format("woff2"); font-weight: 600 700; font-display: block; }

html:is(.rows-page, [data-course-kind="lab"]) { --rows-mono: "JetBrains Mono", var(--remi-font); }
html:is(.rows-page, [data-course-kind="lab"]) .lab-cell, html:is(.rows-page, [data-course-kind="lab"]) .lab-toolbar { --lab-mono: var(--rows-mono); }

/* Page frame: no book sidebar; the full width for the rows. The frame rules hold from the first paint: the chapter's
   front matter (lab-css) links course-theme.css, notebook.css and this file in the page head, and they key on the page's
   kind (html[data-course-kind="lab"], same specificity as html.rows-page) besides the class rows.js adds (PI 2026-11-11
   17:4x "실험/실습 페이지 누르면 이전 내용이 나오다가 로딩이 다 끝나야 새 페이지가 나오는데 처음부터 좀 깔끔하게 띄울순 없어?").
   Until rows.js has built the rows (html.rows-ready, set by notebook.js when mountRows settles), the toolbar, the shell's
   page rows (.ptop above, .page-nav below; the toolbar is put in above .ptop, so .ptop would jump) and the article keep
   their place but stay hidden, so the student sees the bar, then the notebook at once, never the 교재 form. visibility, not display: the editors and the line bands are measured while hidden. If a
   script never arrives, the text shows after 8 s (the cold load measured 1.7-2.4 s; 8 s leaves a slow classroom network
   over three times that before the page falls back to plain text). */
html[data-course-kind="lab"]:not(.rows-ready) main :is(.lab-toolbar, .ptop, article, .page-nav) { visibility: hidden; animation: rows-fail-open 0s linear 8s forwards; }
@keyframes rows-fail-open { to { visibility: visible; } }
@media screen and (min-width: 901px) {
  html:is(.rows-page, [data-course-kind="lab"]) .book-layout { grid-template-columns: minmax(0, 1fr); max-width: none; }
  html:is(.rows-page, [data-course-kind="lab"]) .book-sidebar { display: none; }
}
html:is(.rows-page, [data-course-kind="lab"]) main { padding: 0 48px 160px; background: var(--paper); }
html:is(.rows-page, [data-course-kind="lab"]) main .reading-width { max-width: none; }
html:is(.rows-page, [data-course-kind="lab"]) article { font-family: var(--remi-font); font-size: 20px; line-height: 1.75; color: var(--ink); }
html:is(.rows-page, [data-course-kind="lab"]) .source-note:has(ul:empty) { display: none; }
html:is(.rows-page, [data-course-kind="lab"]) code { font-family: var(--rows-mono); }

/* Top bar: the notebook toolbar with the stage pills and the ipynb button as its last line. */
html:is(.rows-page, [data-course-kind="lab"]) .lab-toolbar { background: var(--paper); margin: 0 -48px 24px; padding: 8px 48px; font-size: 15px; border-bottom: 1px solid var(--line); }
html:is(.rows-page, [data-course-kind="lab"]) .lab-toolbar button { font-size: 15px; }
/* The stage pills and the ipynb button: a row of their own after the toolbar (rows.js), in the toolbar's look; it sticks
   under the toolbar at 1120 px and wider and scrolls with the page below that: at 761-1119 the bar
   is 133 px, and the bar and what sticks under it stay within a quarter of an 800 px window. */
html:is(.rows-page, [data-course-kind="lab"]) .lab-toolbar:has(+ .rows-bar) { margin-bottom: 0; }
.rows-bar { display: flex; align-items: center; gap: 10px; background: var(--paper); margin: 0 -48px 24px; padding: 8px 48px; border-bottom: 1px solid var(--line); }
@media (min-width: 1120px) {
  .rows-bar { position: sticky; top: calc(var(--course-bar-h, 0px) + var(--lab-toolbar-h, 48px)); z-index: 5; }
}
/* At 761-1119 px the toolbar keeps one line: its notice (the save summary) sits between the Python state and the actions,
   cut with an ellipsis, instead of a line of its own. Phones keep the wrapping toolbar. */
@media (min-width: 761px) and (max-width: 1119px) {
  html:is(.rows-page, [data-course-kind="lab"]) .lab-toolbar { flex-wrap: nowrap; }
  html:is(.rows-page, [data-course-kind="lab"]) .lab-toolbar .lab-notice { flex: 1 1 0; min-width: 0; order: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html:is(.rows-page, [data-course-kind="lab"]) .lab-toolbar .lab-actions { order: 2; flex-wrap: nowrap; }
}
.rows-pills { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; flex: 1; }

.rows-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--control-line); border-radius: var(--radius); padding: 2px 10px;
  font-size: 16px; line-height: 1.5; color: var(--control-ink); background: var(--paper); white-space: nowrap; text-decoration: none; font-variant-numeric: tabular-nums; }
.rows-pill b { font-weight: 700; }
.rows-pill.done { background: var(--tint); color: var(--link-ink); }
.rows-pill.done b { color: var(--positive); }
/* Ran with nothing to check yet (ok null, e.g. 바꿔 보기 before a value changed): the done tint, a dashed border, no ✓. */
.rows-pill.ran { background: var(--tint); color: var(--link-ink); border-style: dashed; }
.rows-pill.fail b { color: var(--red); }
.rows-pill.stale { border-color: var(--amber); background: var(--warn-bg); color: var(--warn-ink); }
.rows-pill.cur { background: var(--go-t); border-color: var(--go); color: var(--go-2); font-weight: 700; }
.rows-pill.cur b { color: inherit; }
.rows-ipynb { flex: none; border: 1px solid var(--control-line) !important; border-radius: var(--radius) !important; background: var(--paper) !important;
  color: var(--control-ink) !important; font-weight: 650; padding: 4px 14px !important; cursor: pointer; }

/* Page head */
.rows-top > h1 { font-size: 36px; margin: 6px 0 4px; letter-spacing: -.03em; }
.rows-top > .lead { font-size: 21px; line-height: 1.75; max-width: 1400px; margin: 10px 0 30px; }
.rows-chain { display: flex; align-items: stretch; gap: 28px; margin: 16px 0 40px; counter-reset: stage; }
.rows-box { position: relative; flex: 1; border: 1px solid var(--control-line); border-radius: var(--radius-box); padding: 8px; background: var(--panel);
  text-align: center; counter-increment: stage; }
.rows-box::before { content: counter(stage); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--positive);
  color: var(--paper); font-weight: 700; font-size: 17px; margin-bottom: 2px; }
.rows-box + .rows-box::after { content: "→"; position: absolute; left: -24px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 22px; }
.rows-box b { display: block; font-size: 21px; }
.rows-box span { font-size: 16px; color: var(--muted); }
.rows-box-alt { border-color: var(--purple); }
.rows-box-alt::before { background: var(--purple); }
.rows-how { display: grid; grid-template-columns: 640px minmax(0, 1fr); gap: 64px; align-items: start; }
.rows-how h3 { margin: 0 0 8px; font-size: 22px; }
.rows-how ol { margin: 0; padding-left: 26px; font-size: 19px; line-height: 1.7; }
.rows-how ol li { margin-bottom: 12px; }
/* Tables: the book's (bold ink head over the --rule line, --line between rows, no fills). */
.rows-how table, .rows-table { border-collapse: collapse; font-size: 18px; width: 100%; color: var(--ink); }
.rows-how th, .rows-table th { font-weight: 650; color: var(--ink); background: none; text-align: left; border-bottom: 1px solid var(--rule); padding: 8px 12px; font-size: 17px; }
.rows-how td, .rows-table td { border-bottom: 1px solid var(--line); padding: 8px 12px; }
.rows-table td.n { text-align: right; font-variant-numeric: tabular-nums; }
.rows-table caption { caption-side: top; text-align: left; font-size: 17px; font-weight: 650; color: var(--muted); padding-bottom: 6px; }
/* Line marks: the line the student writes (the experiment screen's driving line, --tint with a --blue bar) and the value to
   change (the task cards' linked line, --warn-bg with an --amber bar); the legend spans in the page text take the same. */
.rows-legend-write, .rows-legend-change { display: inline-block; width: 18px; height: 14px; vertical-align: -1px; }
.rows-legend-write, .rows-band-w { background: var(--go-t); box-shadow: inset 4px 0 0 var(--go); }
.rows-legend-change, .rows-band-k { background: var(--warn-bg); box-shadow: inset 4px 0 0 var(--amber); }

/* Row frame: the book's figure rule above each stage. */
.rows-row { border-top: 2px solid var(--figure-rule); margin-top: 96px; padding-top: 10px; scroll-margin-top: calc(var(--rows-bar-h, 110px) + 8px); }
.rows-head { display: flex; align-items: center; gap: 16px; min-height: 54px; margin: 14px 0 8px; }
.rows-head h2 { font-size: 28px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }
/* Cell badge: the experiment screen's pill (.exp-pill): --positive; a find or change step --purple, the goal --blue. */
.rows-badge { background: var(--positive); color: var(--paper); font-weight: 700; font-size: 20px; padding: 3px 13px; border-radius: var(--radius); white-space: nowrap; }
.rows-kind-find .rows-badge, .rows-kind-change .rows-badge { background: var(--purple); }
.rows-kind-goal .rows-badge { background: var(--blue); }
.rows-min { color: var(--muted); font-size: 18px; white-space: nowrap; }
.rows-explain { display: grid; grid-template-columns: minmax(0, 1180px) 480px; justify-content: space-between; gap: 64px; margin: 16px 0 48px; }
.rows-points > ol { margin: 0; padding-left: 28px; font-size: 19.5px; line-height: 1.75; }
.rows-points > ol > li { margin: 0 0 14px; }
.rows-points > ol > li::marker { font-weight: 700; color: var(--link-ink); }
.rows-points > p { font-size: 19.5px; margin: 0 0 14px; }
/* A table between the points: the lab tables' values (web-design D:ddd885 via course-theme.css: body 16 px, head 17 px / 650),
   the book's rules between rows only, first column left (as .task-background > table). */
.rows-points > table { margin: 4px 0 20px 28px; border-collapse: collapse; font-size: 16px; color: var(--ink); }
.rows-points > table th, .rows-points > table td { border: 1px solid transparent; border-bottom-color: var(--line); padding: 6px 14px; text-align: center; }
.rows-points > table th { font-size: 17px; font-weight: 650; border-bottom-color: var(--rule); }
.rows-points > table td:first-child, .rows-points > table th:first-child { text-align: left; }
/* 참고자료: the task cards' read box (.task-read). */
.rows-read { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-box); padding: 18px 24px; font-size: 17px; line-height: 1.7; align-self: start; }
.rows-read h4 { margin: 0 0 4px; font-size: 16px; color: var(--muted); }
.rows-read ul { margin: 0; padding-left: 0; list-style: none; }
.rows-read li { margin: 6px 0; }
.rows-read a { font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* Code | result */
.rows-pair { display: grid; grid-template-columns: 780px minmax(0, 1fr); gap: 56px; align-items: start; }
.rows-left, .rows-right { min-width: 0; }
/* The cell: the notebook cell's bar (--surface) and editor (--code) colours, the book's border and radius. */
.rows-cell.lab-cell { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--code); }
.rows-cell .lab-cell-bar { gap: 12px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 16px; font-size: 16px; color: var(--muted); }
.rows-cell .lab-cell-name { font-family: inherit; color: var(--muted); }
.rows-cell .lab-count, .rows-cell .lab-spacer, .rows-cell .lab-flag { display: none; }
.rows-cell .lab-reset { font-size: 15px; border: 1px solid var(--control-line); border-radius: var(--radius); background: var(--paper); color: var(--control-ink); }

.rows-page .lab-toolbar button.lab-primary:not(:disabled),
.rows-page .lab-toolbar button.lab-primary:hover:not(:disabled),
.rows-page .rows-cell button.lab-run:not(:disabled), .rows-run {
  border: 1px solid var(--go); background: var(--paper); color: var(--go-2);
}
.rows-cell .lab-run, .rows-run { margin-left: auto;
  font-weight: 650; border-radius: var(--radius); padding: 5px 16px; font-size: 17px; cursor: pointer; }
.rows-run { margin-left: 0; }
.rows-page .rows-cell button.lab-run[data-current-run]:enabled,
.rows-run[data-current-run]:enabled { background: var(--go); color: var(--paper); }
.rows-page :is(.rows-row, .lab-toolbar) button:disabled {
  background: var(--wash); border: 1px solid var(--line); color: var(--ink-2); opacity: 1; cursor: default;
}
.rows-kbd { font-size: 16px; color: var(--muted); border: 1px solid var(--control-line); border-radius: var(--radius); padding: 1px 6px; background: var(--paper); }
.rows-cell .lab-editor { position: relative; background: var(--code); }
.rows-cell .lab-editor .lab-lines, .rows-cell .lab-editor textarea { font: 16px/30px var(--rows-mono); letter-spacing: 0; padding-top: 16px; padding-bottom: 16px; }
.rows-cell .lab-editor .lab-lines { min-width: 44px; padding-right: 14px; color: var(--ink-2); border-right: 0; position: relative; z-index: 1; }
.rows-cell .lab-editor textarea { position: relative; z-index: 1; color: var(--ink); }
.rows-bands { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.rows-band { position: absolute; left: 0; right: 0; }
.rows-no-w, .rows-no-k { color: var(--ink-2); font-weight: 700; }
/* Check line: a white card with a 4 px left bar (.exp-card), the label in the bar's colour. */
.rows-check { margin: 22px 0 0; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--positive); border-radius: var(--radius-box);
  padding: 12px 18px; font-size: 18px; line-height: 1.6; color: var(--ink); }
.rows-check[hidden] { display: none; }
.rows-check.fail { border-left-color: var(--red); }
.rows-check.note { border-left-color: var(--rule); }
.rows-check-lab { font-weight: 700; margin-right: 8px; color: var(--positive); }
.rows-check.fail .rows-check-lab { color: var(--red); }
.rows-check.note .rows-check-lab { color: var(--muted); }
.rows-check code { font-size: 16px; }
/* Hints: the task cards' hint buttons and text (.task-hint, .task-hint-text). */
.rows-hints { margin-top: 16px; font-size: 16px; color: var(--muted); }
.rows-hint-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rows-hint { border: 1px solid var(--control-line); border-radius: var(--radius); padding: 3px 12px; background: var(--paper); font-size: 16px; color: var(--control-ink); cursor: pointer; }
.rows-hint.open { border-color: var(--orange); color: var(--orange); }
.rows-hint-text { margin-top: 10px; padding: 12px 16px; background: var(--panel); border-radius: var(--radius-box); font-size: 18px; line-height: 1.6; color: var(--ink); }
.rows-hint-text code, .rows-points code, .rows-read code { font-size: max(15px, .88em); }
/* 해석 box: a white card with a --purple left bar; typed fields as the theme's (.exp-in, .exp-card textarea). */
.rows-ask { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--purple); border-radius: var(--radius-box); padding: 14px 20px; }
.rows-q { margin: 0; font-size: 18px; line-height: 1.5; }
.rows-q b { color: var(--purple); margin-right: 6px; }
.rows-ask textarea { display: block; box-sizing: border-box; width: 100%; margin-top: 12px; min-height: 72px; border: 1px solid var(--control-line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font: 17px/1.6 var(--remi-font); padding: 6px 12px; resize: vertical; }
.rows-ask textarea::placeholder { color: var(--faint); }
/* interpret {text: false}: a question that asks only for its field has no text box (rows.js keeps it in the DOM). */
.rows-ask textarea[hidden] { display: none; }
.rows-answer { display: flex; gap: 12px; align-items: center; font-size: 19px; margin-top: 10px; }
/* A number field's reason for refusing what was typed, under the field (rows.js whyLine; PI class note 2026-11-10 (d)). */
.rows-refuse { margin: 6px 0 0; font-size: 17px; color: var(--red); }
.rows-refuse[hidden] { display: none; }
.rows-field[aria-invalid="true"] { border-color: var(--red); }
.rows-field { border: 1px solid var(--control-line); border-radius: var(--radius); padding: 3px 12px; width: 110px; text-align: right; font: 700 19px var(--remi-font);
  font-variant-numeric: tabular-nums; background: var(--paper); color: var(--ink); }
.rows-action { margin-top: 16px; }
.rows-record-title { margin: 0 0 6px; font-size: 22px; }
.rows-goal { margin-top: 20px; }

.rows-outbar { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--muted); min-height: 34px; }
.rows-st { margin-left: auto; }
/* Stale mark: the theme's warning colours (.task-check.warn). */
.rows-stale { color: var(--warn-ink); background: var(--warn-bg); border: 1px solid var(--amber); border-radius: var(--radius); padding: 2px 10px; }
.rows-stale[hidden] { display: none; }
.rows-placeholder { color: var(--muted); font-size: 17px; margin: 10px 0; }
.rows-placeholder[hidden] { display: none; }
.rows-right .lab-pane { display: block !important; position: static !important; width: auto !important; }
.rows-right .lab-output { font-size: 17px; border-top: 0; padding: 0; }
.rows-right .lab-stream, .rows-right .lab-value { font: 16px/1.6 var(--rows-mono); }
.rows-right .lab-plot { margin: 8px 0 18px; }
/* Figure cap: PI 2026-11-10 03:1x KST on the 실험 1, 2 publish issue, "괜찮은거같다 진행" (lecture/CLAUDE.md figure
   rule 13): a figure at most 960 px wide and 540 px high on the 1920×1080 screen, a square plot at most 540 px a side;
   the values the 실험 pages use (exp.js FIG_MAX). A plot draws at its frame's width; the height is its own (every rows
   plot asks for 430 px or less; a square plot's data area is at most 400 px). Pinned by tests/rows-figcap.browser.mjs. */
.rows-row .lab-plot { max-width: 960px; }
.rows-row .lab-plot-equal { max-width: 540px; }
/* Fable review P2 (out-fable-review.md): no PNG or 기록에 넣기 buttons on the plots of these pages. The readout line
   (lab/plot's hint, then the values under the cursor) and 전체 보기 stay: PI 2026-11-10 11:3x KST class notes, "그래프
   확대축소 원래있던거" (lecture/CLAUDE.md rule 13 (b)); rows.js zoomForm gives the plots the zoom. The PNG button is
   the one with a title. Text no smaller than the page's small text (16 px). */
.rows-right .lab-plot-tools button[title], .rows-right .lab-record-add { display: none !important; }
.rows-right .lab-plot-readout, .rows-right .lab-plot-tools button { font-size: 16px; }
.rows-right .lab-plot-tools button { min-height: 32px; padding: 3px 12px; }
.rows-right .lab-table table { font-size: 18px; }
.rows-right .lab-table th, .rows-right .lab-table td { padding: 6px 12px; }
.rows-row.rows-is-stale .rows-right { opacity: .72; }
.rows-pair-text { display: none; }

/* The result column sits outside the cell: it carries the cell's --lab-* tokens (lab/plot reads its colours from them),
   here from the theme (--plot-grid #d8e2e5 at a7fee697). The minor grid takes --shade: the theme has no minor-grid token. */
html.rows-page .rows-right {
  --lab-bg: var(--paper); --lab-ink: var(--ink); --lab-muted: var(--muted); --lab-line: var(--line);
  --lab-grid: var(--plot-grid); --lab-gridMinor: var(--shade); --lab-axis: var(--plot-axis); --lab-surface: var(--surface); --lab-code: var(--code);
  --lab-accent: var(--link); --lab-i: var(--blue); --lab-q: var(--orange); --lab-mag: var(--ink); --lab-complex: var(--purple);
  --lab-ref: var(--positive); --lab-phase: var(--purple); --lab-select: var(--select);
  --lab-ok: var(--positive); --lab-busy: var(--amber); --lab-bad: var(--red); --lab-warn-bg: var(--warn-bg); --lab-mono: var(--rows-mono);
}

@media (max-width: 1500px) {
  .rows-pair { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rows-explain { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rows-how { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 900px) {
  html:is(.rows-page, [data-course-kind="lab"]) main { padding: 0 16px 80px; }
  html:is(.rows-page, [data-course-kind="lab"]) .lab-toolbar { margin: 0 -16px 16px; padding: 8px 16px; }
  .rows-bar { margin: 0 -16px 16px; padding: 8px 16px; }
  .rows-chain { flex-direction: column; gap: 10px; }
  .rows-box + .rows-box::after { display: none; }
}

/* Marks (ROWS[id].marks): one line per item under the result, its options as the experiment screen's segmented
   buttons (.exp-seg: --control-line, the chosen one --tint with a --blue border); the verdicts beside them. */
.rows-marks { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--purple); border-radius: var(--radius-box); padding: 14px 20px; }
.rows-marks[hidden] { display: none; }
.rows-mark-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 8px 28px; }
.rows-mark { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 17px; }
.rows-mark-opts { display: inline-flex; }
.rows-mark-opt { padding: 2px 12px; border: 1px solid var(--control-line); background: var(--paper); color: var(--ink); font-size: 16px; cursor: pointer; margin-left: -1px; white-space: nowrap; }
.rows-mark-opt:first-child { border-radius: var(--radius) 0 0 var(--radius); margin-left: 0; }
.rows-mark-opt:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.rows-mark-opt[aria-pressed="true"] { background: var(--tint); border-color: var(--blue); color: var(--link-ink); font-weight: 700; position: relative; }
.rows-mark-opt:disabled { cursor: default; }
.rows-marks .rows-action { display: flex; align-items: center; gap: 14px; }
.rows-marks-count { font-size: 16px; color: var(--muted); }
.rows-marks-out { margin-top: 12px; }

/* Narrow screens (900 px and less; phones at 390 and 320 px): nothing reaches past the right edge. signals-and-systems'
   look at the live pages (2026-11-10 05:08 KST) found all four pages scrolling sideways at 390 and 320 px; the places
   (tests/rows-phone.browser.mjs): tables of the explanations, the page head and the run records (up to 778 px wide),
   the 실습 2 butterfly figure (660 px, fixed size), the 약 N분 mark of a stage head, the goal's unit, the 3-6 marks
   (330 px columns). A wide table, and the butterfly figure, scroll inside their own box at their own size (scaled to a
   390 px column the figure's labels were about 6 px, Fable review 2026-11-10 P2-1); the head,
   the answer line and the marks wrap when they do not fit. Layout only; above 900 px nothing here applies. */
@media (max-width: 900px) {
  html.rows-page article table { display: block; max-width: 100%; overflow-x: auto; }
  .rows-points > table { margin-left: 0; }
  .rows-points .task-svg { max-width: 100%; overflow-x: auto; }
  /* The heading takes the room left beside the badge; 약 N분 goes to the next line only when it does not fit. */
  .rows-head { flex-wrap: wrap; }
  .rows-head h2 { flex: 1 1 0; }
  .rows-answer { flex-wrap: wrap; }
  .rows-mark-list { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
  .rows-mark { flex-wrap: wrap; }
}
