/* Decision dialog illustrations (24 Nov) · markup dlg-illus.js (window.LG). Layout after the approved Send positions / Log a post
   dialogs: 64px pixel art left, 16px semibold title, one 13px impact line with the number in bold; Private note on the house
   focus (soft lilac ring, no ink border); footer Cancel (text) · 32px action. Loaded last. */
#dlg.dlg--lg .lg-h { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5) var(--space-4) 0 var(--space-5); }
#dlg.dlg--lg .lg-h > div { flex: 1; min-width: 0; }
#dlg.dlg--lg .lg-h h2 { font-size: var(--font-size-16, 16px); font-weight: var(--font-weight-semibold); line-height: 1.3; overflow-wrap: anywhere; }
#dlg.dlg--lg .lg-h p { margin: 4px 0 0; font-size: var(--font-size-13); line-height: 1.45; color: var(--color-text-secondary); }
#dlg.dlg--lg .lg-h p b { font-weight: var(--font-weight-semibold); color: var(--color-text-primary); }
#dlg.dlg--lg .lg-h .dlg__x { align-self: flex-start; }

/* The art: 32×32 at exactly 2×, crisp */
#dlg .lg-ill { flex: none; display: block; width: 64px; height: 64px; image-rendering: pixelated; user-select: none; -webkit-user-drag: none;
  transform-origin: 50% 60%; animation: lg-pop 180ms cubic-bezier(0.23, 1, 0.32, 1) both; }
@keyframes lg-pop { from { opacity: 0; transform: scale(.9); } }
#dlg.is-instant .lg-ill { animation: none; }   /* opened from the keyboard: no motion (dialog.js) */
@media (prefers-reduced-motion: reduce) { #dlg .lg-ill { animation: none; } }

/* Change status keeps its body; the header loses the photo for the art */
#dlg.dlg--lg.dlg--status .lg-h p { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: 6px; font-size: var(--font-size-12); color: var(--color-text-tertiary); }
#dlg.dlg--lg.dlg--status .lg-h .st { height: 18px; padding: 0 6px; font-size: var(--font-size-11); }
/* False report: the art replaces the chart-card png in the Log-a-post grid header */
#dlg.dlg--lg.dlg--fr .lp-h { grid-template-columns: 64px minmax(0, 1fr) auto; }

/* Private note: house focus, a soft lilac ring instead of the ink border */
#dlg.dlg--lg .lg-note { margin-top: var(--space-4); }
#dlg.dlg--lg .dlg__b > .lg-note:first-child { margin-top: 0; }
#dlg.dlg--lg .lg-note label { font-size: var(--font-size-12); font-weight: var(--font-weight-medium); color: var(--color-text-secondary); }
#dlg.dlg--lg .field textarea { width: 100%; min-height: 72px; resize: vertical; border: 1px solid var(--color-border-default); border-radius: var(--radius-sm); box-shadow: none; }
#dlg.dlg--lg .field textarea::placeholder { color: var(--color-text-tertiary); }
#dlg.dlg--lg .field textarea:focus, #dlg.dlg--lg .field select:focus-visible, #dlg.dlg--lg .field input:focus { outline: none; border-color: var(--color-lilac-300); box-shadow: 0 0 0 3px var(--color-lilac-100); }

/* Footer: Cancel as text, the action 32px */
#dlg.dlg--lg .dlg__f .b { height: 32px; }
#dlg.dlg--lg .dlg__f .b--ghost:not(.dlg__x) { padding: 0 10px; color: var(--color-text-secondary); }
@media (hover: hover) and (pointer: fine) { #dlg.dlg--lg .dlg__f .b--ghost:not(.dlg__x):hover { color: var(--color-text-primary); } }

@media (max-width: 560px) {
  #dlg.dlg--lg .lg-h { gap: var(--space-3); padding: var(--space-4) var(--space-3) 0 var(--space-4); }
  #dlg.dlg--lg.dlg--fr .lp-h { grid-template-columns: 64px minmax(0, 1fr) auto; }
  #dlg.dlg--lg .field textarea { font-size: 16px; }   /* no iOS zoom on focus */
}

/* 26 Nov · Change status dialog: the "now → becomes" line used the legacy solid .st.g-* pills (pill radius, white dot).
   House tags: radius-xs, no dot on standing tags; only final states (Disqualified, Suspended) stay solid. Certified = calm accent. */
#dlg.dlg--status .lg-h .st, #dlg.dlg--status .dlg-imp .st { border-radius: var(--radius-xs); gap: 0; }
#dlg.dlg--status .lg-h .st::before, #dlg.dlg--status .dlg-imp .st::before { display: none; }
#dlg.dlg--status .st.g-cert { background: var(--color-lilac-100); color: var(--color-lilac-700); }
#dlg.dlg--status .dlg-imp .st { height: 18px; padding: 0 6px; font-size: var(--font-size-11); font-weight: var(--font-weight-medium); }
