/* Regulatory links (x_reg_001): Pharmacy "Narcotics (MoPH FDA)" card + Settings → Regulatory links. Design tokens only. */
.reg-groups { display: flex; flex-direction: column; gap: 18px; }
.reg-group-h { font-size: 15px; font-weight: 700; color: var(--dept-deep); margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border-soft); }
.reg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.reg-row { padding: 9px 12px; border: 1px solid var(--border-soft); border-radius: 6px; background: var(--white); }
.reg-row.primary { border-color: var(--dept); box-shadow: inset 4px 0 0 var(--dept); background: var(--dept-tint); }
.reg-row.is-note { background: var(--sand); border-style: dashed; }
.reg-row.hidden-row { opacity: .6; }
.reg-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.reg-link { font-weight: 700; color: var(--dept-deep); text-decoration: none; font-size: 15px; }
.reg-link:hover, .reg-link:focus-visible { text-decoration: underline; }
.reg-row.primary .reg-link { font-size: 16px; }
.reg-ext { color: var(--ink-soft); font-weight: 500; }
.reg-note-label { font-weight: 700; color: var(--ink); font-size: 15px; }
.reg-edit { margin-left: auto; }
.reg-other { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.reg-note { font-size: 13.5px; color: var(--ink-body); margin-top: 4px; line-height: 1.45; }
.reg-note.strong { font-weight: 600; }
.reg-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.reg-meta:empty { display: none; }
.reg-due { color: var(--ruby); font-weight: 700; }
.reg-rule { font-size: 13.5px; color: var(--ink-body); background: var(--dept-tint); border-radius: 6px; padding: 10px 12px; margin-bottom: 14px; }
.reg-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.reg-toolbar .tabs { margin: 0; }
.reg-checks { display: flex; flex-direction: column; gap: 8px; justify-content: center; font-size: 14px; }
.reg-roles { margin-top: 12px; font-size: 14px; }
.reg-role-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.reg-role-list label { font-size: 13.5px; }
/* two columns on wide screens; the primary link of a group spans both */
@media (min-width: 1000px) {
  .reg-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .reg-row.primary { grid-column: 1 / -1; }
}
