/* css/modules/reg.css: the .reg-* module — split out of css/app.css by #360's sibling stage (#362).
   Load order is core.css, then every modules/*.css alphabetically; rules here
   are in their original relative order, and no selector in this file appears in
   any other (asserted in tests/css-split-check.js). */

/* ---- Record management (NF.Registry) ---------------------------------------
   Behaviour hooks over the existing .card / .table / .btn / .fld / .modal
   vocabulary — there is no separate stylesheet here, the same arrangement the
   LMS `lrn-` classes use. `reg-` was verified unused in all three stylesheets
   before it was taken, and none of these are bare single-word classes: reusing
   one of those silently inherits its layout, which is how a panel once ended up
   as a flex row.
   -------------------------------------------------------------------------- */
.reg-fld{ display:block; margin-bottom:12px }
.reg-help{ display:block; margin-top:5px; color:var(--muted); font-weight:700; font-size:12px; line-height:1.45 }
.reg-help--lock{ color:#8a5a12 }
.reg-id{ margin:0 0 14px; color:var(--muted); font-weight:700; font-size:13px }
.reg-note{ margin:2px 0 0; color:var(--muted-2); font-weight:700; font-size:12px; line-height:1.45 }
/* A refusal from the writer, shown IN the form beside the field it is about —
   a toast slides away while somebody is still reading which field it meant. */
.reg-err{ margin:12px 0 0; padding:10px 12px; border-radius:9px; font-weight:800; font-size:13px;
  color:var(--red); background:rgba(242,60,0,.09); border:1px solid rgba(242,60,0,.28) }
.reg-btns{ white-space:nowrap }
.reg-btns .btn{ margin-left:4px }
.reg-foot{ color:var(--muted); font-weight:700; font-size:13px; margin:10px 2px 0; line-height:1.5 }
/* An archived row stays legible — it is still a record somebody may need to
   read — so this is a muted tint, never a strikethrough or a hidden row. */
.reg-row--arch > td{ background:repeating-linear-gradient(135deg,transparent,transparent 6px,rgba(20,30,60,.035) 6px,rgba(20,30,60,.035) 12px);
  color:var(--muted) }
