/* 설정 › 운영 › 설계 도면 and the drawing marks of the attachment, event and person screens (drawing-policy.js,
   T24-10). The form's lines are the shared .lx-setrow and tables .lx-t; only what is this screen's own is here: a
   classification's action beside its meaning, a drawing number format's name and expression on one line with what
   devices compile (or why it is refused) under it, and a classification's block in a detail. */

/* 분류별 조치: badge, meaning, the action's segments; on a phone the segments go under the meaning. */
.dwg-policy .dwg-actions .lx-tr{align-items:center}
@media (max-width:640px){
  .dwg-policy .dwg-actions .lx-tr{grid-template-columns:minmax(0,1fr)}
}

/* A format: its name (short), its expression (the rest of the line), and 빼기; one under the other on a phone. */
.dwg-policy .dwg-pattern{display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr) auto;gap:8px;align-items:center}
.dwg-policy .dwg-pattern-expression{font-family:var(--ds-mono,ui-monospace,SFMono-Regular,Menlo,monospace)}
.dwg-policy .dwg-pattern-under{grid-column:1 / -1;margin:0;overflow-wrap:anywhere}
@media (max-width:640px){
  .dwg-policy .dwg-pattern{grid-template-columns:minmax(0,1fr) auto}
  .dwg-policy .dwg-pattern-expression{grid-column:1 / -1;grid-row:2}
  .dwg-policy .dwg-pattern-under{grid-row:3}
}

/* A classification in a detail: its badge, then a line each for the signals found, undecided and not checked. */
.dwg-mark{display:flex;flex-direction:column;gap:6px;padding:12px 0;border-top:1px solid var(--ds-line)}
.dwg-mark .lx-h3{font-size:13px;font-weight:600}
.dwg-mark-line{display:grid;grid-template-columns:minmax(0,140px) minmax(0,1fr);gap:4px 12px;font-size:13px;line-height:1.5}
.dwg-mark-line > span:last-child{overflow-wrap:anywhere}
@media (max-width:640px){
  .dwg-mark-line{grid-template-columns:minmax(0,1fr)}
}

/* Phase 4 (fork A): 도면 폴더 분류's state stands over its 위험 경로 보기 link at the line's right end, not crowded beside
   it; the expression rules fold sits a line's room under the card's sentence. Layout only. */
.dwg-policy [data-drawing-field="paths"]>.lx-row{flex-direction:column;align-items:flex-end;gap:var(--sp-1);text-align:right}
.dwg-policy [data-drawing-patterns-subset]{margin:var(--sp-1) 0 var(--sp-3)}
