/* RRGI · one algorithm (algorithm.html): its head's buttons, the review form, how it developed (the tree is
   algo-tree.css's) and the result's facts. On site.css and assess.css. */

.head .marks { margin-top: 12px; }
.head-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.block > h2 { margin-bottom: 12px; }
.block > h3, #started-here > h3 { font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin: 28px 0 8px; }
.interests { margin: 0; padding-left: 20px; color: var(--text-2); }
.interests li, .reasons li { overflow-wrap: anywhere; }
.reasons { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 15px; display: grid; gap: 6px; }
.review-form { margin: 16px 0 0; }
.review-form textarea { resize: vertical; }
.review-form .note:empty { display: none; }
.tag.questioned { color: var(--warn); }
.versions > li.current { border-left: 3px solid var(--accent); padding-left: 12px; }
#development { scroll-margin-top: 16px; }
/* arriving at …#development, the keyboard's place is its heading (algorithm.js arrive); a heading is not a control */
#development-h:focus { outline: none; }
.forks-line { margin: 0 0 12px; font-weight: 500; color: var(--text); }
.development-tree { min-width: 0; }
.other-lines { margin: 16px 0 0; overflow-wrap: anywhere; }
.result-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 20px; margin: 0 0 16px; }
.result-facts dt { font: 500 11px/1.9 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.result-facts dd { margin: 0; overflow-wrap: anywhere; }
.fingerprint { font-size: 13px; }
.how-to-check { margin: 0; }

@media (max-width: 560px) {
  .result-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .result-facts dd { margin-bottom: 10px; }
}
.waiting { color: var(--text-2); margin: 0; }
/* its results (revision 2, plan §13.7): Run it over a view, a run made here, the published results, earlier ones */
.run-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin: 0 0 16px; }
.run-view-field { flex: 0 1 22rem; min-width: 0; }
.run-view-field select { width: 100%; }
.live-block { border-left: 3px solid var(--warn); }
.result-line { margin: 0 0 12px; overflow-wrap: anywhere; }
.result-line.live { color: var(--text); font-weight: 500; }
.publish-line { margin: 16px 0 0; }
.papers-note { margin: 12px 0 0; }
.earlier { margin: 8px 0 0; }
.earlier > summary { cursor: pointer; color: var(--text-2); }
.earlier[open] > summary { color: var(--accent); }

/* printed, how it developed is its rows in words, each whole on one page: the drawing beside them is one piece laid
   over the rows on screen, and a page break between rows would set it off from them (algos-pages-review LATER 8) */
@media print {
  #development .tree-lines { display: none; }
  /* the legend speaks of the words, not of a drawing not printed (algos-pages-rereview NEW 3) */
  #development .tree-key { display: none; }
  #development .tree-key-print { display: block; }
  #development .tree-rows { padding-left: 0; }
  #development .tree-row { height: auto; break-inside: avoid; }
  #development .tree-link { padding: 4px 0; }
  #development .tree-text { display: block; -webkit-line-clamp: none; line-clamp: none; overflow: visible; }
}
