/* 위협 통제 › 위험 경로 (security-paths.js, T23-36 · U136 ⑤⑥): the 위협 통제 reference's 위험 경로 tab. The parts are
   the shared ones (click-parts.css: .lx-lhead · .lx-banner · .lx-scard · .lx-ltools · .lx-fdd · .lx-lcard · the 520px
   drawer and its .lx-dr-* · .lx-vchain · .lx-cklist · .lx-dkv); this sheet places them and colors this screen's own
   two marks (the severity chip, the gaps count) with tokens only. */

/* The band: its words and the conditions it lacks on one line, 수집 설정 at its right end. */
.rpl .rpl-band .lx-banner-tx{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2) var(--sp-3)}
.rpl .rpl-band .lx-banner-tx>b{cursor:help}
.rpl .rpl-band>.lx-btn{flex:none;background:var(--surface);text-decoration:none}

/* The tools row: the box, the three filters, the chips standing and 모두 지우기, then the order at the right end. */
.rpl .rpl-find input{flex:1;min-width:0;height:100%;border:0;background:transparent;outline:0}
.rpl .rpl-notes{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-1) var(--sp-2);margin:0}
.rpl .rpl-notes>.ck-i{width:var(--icon);height:var(--icon);color:var(--muted)}

/* The table: one grid its rows share; on a window narrower than its columns it scrolls sideways inside its card
   (the reference at 768). */
.rpl .rpl-card{overflow-x:auto}
.rpl .rpl-t{--lx-cols:minmax(210px,2.3fr) minmax(180px,2fr) minmax(140px,1.5fr) 72px 104px 84px 52px 84px 20px;min-width:1040px}
.rpl .rpl-t>.lx-tr{display:grid;align-items:center}
.rpl .rpl-t [role="cell"]{min-width:0}
.rpl .rpl-t .lx-mcell-t{max-width:100%}
.rpl .rpl-tg{display:flex;align-items:center;gap:var(--sp-2);min-width:0}
.rpl .rpl-tg>.lx-tag:first-child{display:inline-block;min-width:0;max-width:100%;overflow:hidden;line-height:var(--chip-h);text-overflow:ellipsis;white-space:nowrap}
.rpl .rpl-tg>.lx-tag-more{flex:none}
.rpl .rpl-t [data-col="people"] .lx-mcell-t{font-weight:var(--fw-regular)}
.rpl .rpl-nobody{color:var(--muted)}
.rpl .rpl-gaps{color:var(--st-review-fg);font-weight:var(--fw-semibold)}
.rpl .rpl-gaps[data-rpl-gaps="0"]{color:var(--faint);font-weight:var(--fw-regular)}
.rpl .rpl-t [data-col="paths"] b{font-weight:var(--fw-bold);font-variant-numeric:tabular-nums}
.rpl .rpl-t [data-col="first"]{color:var(--muted);white-space:nowrap}
.rpl .rpl-t [data-col="go"]{display:flex;justify-content:flex-end}

/* A state: its dot and word (the list and the drawer's head). */
.rpl-st{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}

/* A severity as the reference's chip: 긴급 filled, 높음 the unmanaged ground, 중간 the review ground, 낮음 grey. The chip also
   carries the shared .lx-sevc asked of click-parts.css (U136 common part); these four lines go once it lands. */
.rpl-sev{display:inline-flex;align-items:center;height:var(--chip-h);padding:0 8px;border-radius:var(--r-sm);background:var(--divider-soft);color:var(--ink-3);font-size:var(--fs-2xs);font-weight:var(--fw-semibold);white-space:nowrap}
.rpl-sev[data-sev="critical"]{background:var(--danger-ink);color:var(--surface)}
.rpl-sev[data-sev="high"]{background:var(--st-unmanaged-bg);color:var(--st-unmanaged-fg)}
.rpl-sev[data-sev="medium"]{background:var(--st-review-bg);color:var(--st-review-fg)}

/* The drawer (on the body, so not under .rpl). */
.rpl-dr .rpl-dr-marks{margin-top:var(--sp-2);gap:6px}
.rpl-dr .rpl-dr-st{background:var(--divider-soft)}
.rpl-dr .lx-dr-acts>.lx-btn{text-decoration:none}
.rpl-dr .lx-dr-stat>b[data-tone="warn"]{color:var(--st-review-fg)}
.rpl-dr .lx-dr-stat>b>.lx-na{color:var(--faint);font-weight:var(--fw-regular)}
.rpl-dr .rpl-chain .lx-tags{margin-top:var(--sp-1)}
.rpl-dr .rpl-paths{margin-top:var(--sp-3)}
.rpl-dr .rpl-paths>.lx-rel{text-decoration:none}
.rpl-dr .lx-cki-i.rpl-cki-q{color:var(--st-review)}
.rpl-dr .rpl-cki-st{flex:none;margin-left:auto;color:var(--st-review-fg);font-size:var(--fs-xs);font-weight:var(--fw-semibold)}
.rpl-dr .rpl-cki-st[data-state="met"]{color:var(--st-managed-fg)}
.rpl-dr .rpl-cki-st[data-state="unmet"]{color:var(--muted)}
/* 경로: the representative path's step cards (lx-rel) one under another, the relation on the line between two */
.rpl-dr .rpl-route{display:flex;flex-direction:column}
.rpl-dr .rpl-route>.lx-rel .lx-rel-s{margin:0 0 2px}
.rpl-dr .rpl-hop{position:relative;padding:var(--sp-2) 0 var(--sp-2) calc(var(--sp-3) * 2 + var(--icon-btn) / 2);color:var(--ink-2);font-size:var(--fs-xs)}
.rpl-dr .rpl-hop::before{content:"";position:absolute;top:0;bottom:0;left:calc(var(--sp-3) + var(--icon-btn) / 2);width:2px;background:var(--divider)}
.rpl-dr .rpl-paths-fold{margin-top:var(--sp-3)}
.rpl-dr [data-rpl-path-sec] .lx-dr-sec-h>.lx-lk{font-size:var(--fs-xs)}
.rpl-dr .rpl-pills{display:flex;flex-wrap:wrap;gap:var(--sp-2)}
.rpl-dr .rpl-pill{text-decoration:none}
.rpl-dr .rpl-links{display:flex;flex-wrap:wrap;gap:var(--sp-2) var(--sp-4);margin:var(--sp-3) 0 0}
