/* 법령·판례 작은 창 (citelaw.js) — 직원 웹·의뢰인 화면 공용 */
.clp { position: fixed; z-index: 70; display: flex; flex-direction: column; max-height: 62vh; background: var(--card, #fff); color: var(--text, #17181c);
  border: 1px solid var(--line-strong, rgba(20,20,30,.14)); border-radius: 14px; box-shadow: 0 14px 44px rgba(0,0,0,.22); font-size: 14.5px; line-height: 1.6; overflow: hidden; }
.clp.sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto !important; max-height: 78vh; max-height: 78dvh; border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom); }
.clp-h { flex: none; display: flex; align-items: flex-start; gap: 8px; padding: 12px 12px 8px 16px; border-bottom: 1px solid var(--line, rgba(20,20,30,.08)); }
.clp-t { flex: 1; min-width: 0; font-weight: 700; font-size: 15.5px; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
.clp-tt { font-weight: 600; color: var(--sub, #5f6168); }
.clp-s { margin-top: 2px; font-weight: 400; font-size: 12.5px; color: var(--sub, #5f6168); }
.clp-x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--sub, #5f6168); font-size: 15px; cursor: pointer; }
.clp-x:hover { background: var(--line, rgba(20,20,30,.08)); }
.clp-b { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 10px 16px 12px; }
.clp-ld { color: var(--sub, #5f6168); padding: 6px 0; }
.clp-ld.sm { font-size: 12.5px; padding: 0 0 6px; }
.clp-err { color: var(--text, #17181c); padding: 4px 0; }
.clp-sel { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; color: var(--sub, #5f6168); }
.clp-sel select { flex: 1; min-width: 0; height: 34px; border: 1px solid var(--line-strong, rgba(20,20,30,.14)); border-radius: 9px; background: transparent; color: var(--text, #17181c); font: inherit; font-size: 13.5px; padding: 0 8px; }
.clp-note { font-size: 13px; background: var(--accent-soft, rgba(47,59,143,.09)); border-radius: 9px; padding: 7px 10px; margin: 0 0 8px; }
.clp-note.warn { background: rgba(214,120,0,.13); }
.clp-note[hidden] { display: none; }
.clp-art p { margin: 0 0 6px; }
.clp-p { margin: 0 0 6px; }
.clp-hang { margin: 0 0 6px; padding: 2px 6px; border-radius: 7px; }
.clp-ho { margin: 2px 0 2px 14px; padding: 1px 6px; border-radius: 6px; }
.clp-mok { margin: 1px 0 1px 14px; }
.clp .hl { background: rgba(255,204,0,.32); box-shadow: inset 3px 0 0 #d4a300; }
.clp .hlp { background: rgba(255,204,0,.1); box-shadow: inset 3px 0 0 rgba(212,163,0,.5); }
.clp .near { box-shadow: inset 3px 0 0 var(--accent, #2f3b8f); background: var(--accent-soft, rgba(47,59,143,.09)); }
.clp-sec { border-top: 1px solid var(--line, rgba(20,20,30,.08)); padding: 6px 0; }
.clp-sec:first-child { border-top: 0; }
.clp-sec > summary { cursor: pointer; font-weight: 650; font-size: 13.5px; color: var(--sub, #5f6168); padding: 3px 0; }
.clp-txt { font-size: 14px; padding-top: 4px; white-space: normal; }
.clp-doc p { margin: 0 0 8px; padding: 2px 6px; border-radius: 6px; }
.clp-f { flex: none; display: flex; align-items: center; gap: 10px; padding: 9px 16px 11px; border-top: 1px solid var(--line, rgba(20,20,30,.08)); }
.clp-f.in { border-top: 0; padding: 8px 0 4px; }
.clp-f .sp { flex: 1; }
.clp-lk { border: 0; background: none; padding: 4px 0; color: var(--accent, #2f3b8f); font: inherit; font-size: 13.5px; font-weight: 650; text-decoration: none; cursor: pointer; }
.clp-btn { border: 0; border-radius: 10px; background: var(--accent, #2f3b8f); color: #fff; padding: 9px 14px; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
