/* The observation desks (observations-desk.js): the heading, the picture's host, the list select with Add, the form of
   chips and radios, and the list of rows, on the tutor desk (#trObservations) and the founder's fold (#fdObservations).
   Tokens from primer.css with fallbacks. The picker host is a grid column of minmax(0, 1fr) with min-width 0, so at
   390 px the page never widens and the picture scrolls inside its own box (graph-picture.css, PROBLEMS.md 2026-10-24).
   Every control is at least 44 px tall, the desks' rule. */
.tr-observations, .ob-host { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; max-width: 100%; }
.tr-observations { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line, #dce4df); }
.ob-title { font: 600 17px/1.4 var(--sans, system-ui, sans-serif); margin: 0; }
.ob-picker { min-width: 0; max-width: 100%; }
.ob-no-picture, .ob-empty, .ob-unavailable, .ob-status, .ob-note-line { margin: 0; overflow-wrap: anywhere; }
.ob-fallback { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: end; min-width: 0; }
.ob-pick-label { display: grid; gap: 4px; flex: 1 1 240px; min-width: 0; font: 600 14px/1.4 var(--sans, system-ui, sans-serif); }
.ob-select { width: 100%; min-width: 0; min-height: 44px; font: 15px/1.3 var(--sans, system-ui, sans-serif); padding: 8px 10px; border: 1px solid var(--line-strong, #9fb0a8); border-radius: 8px; background: #fff; color: var(--ink, #173a32); }
.ob-add, .ob-save, .ob-withdraw, .ob-remove { min-height: 44px; }
.ob-form { display: grid; gap: 12px; max-width: 640px; min-width: 0; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ob-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 12px; border: 1px solid var(--line-strong, #9fb0a8); border-radius: 999px; background: var(--paper, #f6f1e7); font: 14px/1.3 var(--sans, system-ui, sans-serif); max-width: 100%; }
.ob-chip > span { overflow-wrap: anywhere; }
.ob-remove { border: 0; background: transparent; color: var(--oxblood, #782d3b); font: 600 13px/1 var(--sans, system-ui, sans-serif); padding: 0 8px; cursor: pointer; border-radius: 999px; }
.ob-remove:hover, .ob-remove:focus-visible { background: color-mix(in srgb, var(--oxblood, #782d3b) 12%, transparent); }
.ob-radios { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ob-radios > legend { font: 600 14px/1.4 var(--sans, system-ui, sans-serif); padding: 0; margin-bottom: 2px; }
.ob-radio { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 15px/1.35 var(--sans, system-ui, sans-serif); letter-spacing: 0; max-width: 100%; }
.ob-radio > input { width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; flex: none; }
.ob-radio > span { overflow-wrap: anywhere; }
.ob-radios[data-ob-misconception] { flex-direction: column; align-items: start; gap: 0; }
.ob-weight { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font: 600 14px/1.4 var(--sans, system-ui, sans-serif); }
.ob-weight input { width: 6em; min-height: 44px; padding: 8px 10px; font: 15px/1.3 var(--sans, system-ui, sans-serif); border: 1px solid var(--line-strong, #9fb0a8); border-radius: 8px; }
.ob-note { display: grid; gap: 4px; font: 600 14px/1.4 var(--sans, system-ui, sans-serif); min-width: 0; }
.ob-note select { width: 100%; min-width: 0; min-height: 44px; font: 15px/1.3 var(--sans, system-ui, sans-serif); padding: 8px 10px; border: 1px solid var(--line-strong, #9fb0a8); border-radius: 8px; background: #fff; }
.ob-save-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-list { display: grid; gap: 0; max-width: 640px; min-width: 0; }
.ob-list-title { font: 600 15px/1.4 var(--sans, system-ui, sans-serif); margin: 6px 0 0; }
.ob-row { padding: 12px 0; border-bottom: 1px solid var(--line, #dce4df); display: grid; gap: 4px; min-width: 0; }
.ob-row > p { margin: 0; overflow-wrap: anywhere; }
.ob-what { font: 15px/1.45 var(--sans, system-ui, sans-serif); }
.ob-row.is-withdrawn .ob-what { color: var(--ink-soft, #53685f); text-decoration: line-through; }
.ob-row.is-withdrawal { padding: 6px 0 10px 16px; }
.ob-withdraw { justify-self: start; }
.ob-children { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-children > button[aria-pressed="true"] { background: var(--ink, #173a32); color: #fff; }
/* The First class strip (first-class-desk.js, M4-B): the checklist of the grade's rows and the rows they rest on, each a press, and the done button. */
.fc-strip { display: grid; gap: 10px; max-width: 640px; min-width: 0; padding: 12px; border: 1px solid var(--line-strong, #9fb0a8); border-radius: 10px; background: var(--paper, #f6f1e7); }
.fc-title { font: 600 15px/1.4 var(--sans, system-ui, sans-serif); margin: 0; }
.fc-rests-title { font: 600 14px/1.4 var(--sans, system-ui, sans-serif); margin: 4px 0 0; }
.fc-lead, .fc-status, .fc-empty { margin: 0; overflow-wrap: anywhere; }
.fc-list, .fc-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; min-width: 0; }
.fc-steps { padding-left: 16px; margin-top: 4px; }
.fc-topic-name { font: 600 14px/1.4 var(--sans, system-ui, sans-serif); }
.fc-row { min-height: 36px; padding: 6px 10px; border: 1px solid var(--line-strong, #9fb0a8); border-radius: 8px; background: #fff; color: var(--ink, #173a32); font: 14px/1.3 var(--sans, system-ui, sans-serif); text-align: left; max-width: 100%; overflow-wrap: anywhere; cursor: pointer; }
.fc-row[aria-pressed="true"] { background: var(--ink, #173a32); color: #fff; }
.fc-row[data-fc-seen] { border-style: dashed; }
.fc-done-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.fc-done { min-height: 44px; }
/* The first class page (first-class.js, M9 IN-F): above the picture on both desks. The question's own rules are
   first-class/question.css, linked beside this file; every control here is 44 px, and nothing widens the page at 390. */
.fcp { display: grid; gap: 8px; min-width: 0; max-width: 760px; padding: 14px 16px; border: 1px solid var(--line-strong, #9fb0a8); border-radius: 12px; background: var(--paper, #f6f1e7); }
.fcp-title { font: 600 17px/1.4 var(--sans, system-ui, sans-serif); margin: 0; }
.fcp-sub { font: 600 15px/1.4 var(--sans, system-ui, sans-serif); margin: 8px 0 0; }
.fcp p { margin: 0; overflow-wrap: anywhere; }
.fcp-pick { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; min-width: 0; }
.fcp-unit { display: grid; gap: 4px; flex: 1 1 260px; min-width: 0; font: 600 14px/1.4 var(--sans, system-ui, sans-serif); }
.fcp-unit select { width: 100%; min-width: 0; min-height: 44px; font: 15px/1.3 var(--sans, system-ui, sans-serif); padding: 8px 10px; border: 1px solid var(--line-strong, #9fb0a8); border-radius: 8px; background: #fff; }
/* button.tool and a.tool outrank the founder page's `.founder :is(.btn, .tool)` at 40 px. */
.fcp button.tool, .fcp a.tool { min-height: 44px; }
.fcp-card { display: inline-flex; align-items: center; }
.fcp-question .fc-question { padding: 8px 0; margin: 0; }
.fcp-why { font: 15px/1.45 var(--sans, system-ui, sans-serif); padding: 8px 12px; border-left: 3px solid var(--ink, #173a32); background: #fff; }
.fcp-why-label { font-weight: 600; }
.fcp-timer { font-variant-numeric: tabular-nums; }
.fcp-tools { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.fcp-queue { margin: 0; padding-left: 22px; display: grid; gap: 4px; font: 15px/1.45 var(--sans, system-ui, sans-serif); }
/* question.js's typed row shares a class name with M4-B's checklist rows above: undo the row's button look there. */
.fcp .fc-typed .fc-row { border: 0; padding: 0; background: none; min-height: 0; cursor: default; }
