.legal-framework-panel{background:linear-gradient(145deg,#fbfdfc,#fff);border-color:#cfe2d8}.legal-selected-count,.specific-norms-count{display:inline-grid;place-items:center;min-width:34px;height:30px;padding:0 8px;border-radius:999px;background:var(--green-100);color:var(--green-800);font-size:10px;font-weight:900}.legal-selected-area{padding:12px 13px;border:1px solid var(--line);border-radius:13px;background:#fbfdfc}.legal-selected-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}.legal-selected-head>strong{font-size:11px;color:var(--navy-950)}.legal-quick-actions{display:flex;gap:4px;flex-wrap:wrap}.legal-selected-chips{display:flex;flex-wrap:wrap;gap:7px}.legal-selection-chip{border:1px solid #c9dfd4;background:#eef8f3;color:var(--green-800);border-radius:999px;padding:6px 9px;font-size:10px;font-weight:850;min-height:32px}.legal-selection-chip span{font-size:13px;margin-left:3px}.legal-selection-empty{font-size:10px;color:var(--muted)}.legal-library-details{margin-top:12px;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.legal-library-details>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 14px;color:var(--navy-950);font-size:11px;font-weight:850}.legal-library-details>summary::-webkit-details-marker{display:none}.legal-library-details>summary:before{content:'＋';width:24px;height:24px;border-radius:8px;background:#eef6f2;color:var(--green-800);display:grid;place-items:center;flex:0 0 auto}.legal-library-details[open]>summary:before{content:'−'}.legal-library-details>summary span{flex:1}.legal-library-details>summary strong{font-size:10px;color:var(--green-700);font-weight:900}.legal-library-body{padding:0 14px 14px;border-top:1px solid var(--line)}.legal-search{display:block;padding:13px 0}.legal-search>span{font-size:10px;font-weight:850;color:var(--navy-900);margin-bottom:5px}.legal-search input{background:#fbfdfc}.legal-library-groups{display:grid;gap:14px;max-height:620px;overflow:auto;padding-right:3px}.legal-scope{display:grid;gap:11px}.legal-scope-title{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:4px}.legal-scope-title strong{font-size:12px;color:var(--navy-950)}.legal-scope-title span{font-size:10px;color:var(--muted);font-weight:800}.legal-group h4{margin:0 0 7px;font-size:10px;color:#60716a;text-transform:uppercase;letter-spacing:.06em}.legal-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.legal-ref-card{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr) 40px;gap:9px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;transition:.18s ease;min-height:66px}.legal-ref-card:hover{border-color:#b9d6c8;box-shadow:0 6px 18px rgba(15,57,45,.05)}.legal-ref-card.selected{border-color:#a9d2bf;background:#f4fbf7}.legal-ref-card input{position:absolute;opacity:0;pointer-events:none}.legal-ref-check{width:22px;height:22px;border-radius:6px;border:1px solid #c8d9d0;display:grid;place-items:center;font-size:11px;font-weight:900;color:#fff;background:#fff}.legal-ref-card.selected .legal-ref-check{background:var(--green-800);border-color:var(--green-800)}.legal-ref-copy{min-width:0}.legal-ref-copy strong,.legal-ref-copy small{display:block}.legal-ref-copy strong{font-size:11px;color:var(--navy-950);line-height:1.3}.legal-ref-copy small{font-size:10px;color:var(--muted);margin-top:3px;line-height:1.4}.legal-ref-link{width:40px;height:40px;border-radius:9px;display:grid;place-items:center;color:var(--green-700);font-size:14px}.institution-files-block{margin-top:15px;padding-top:14px;border-top:1px solid var(--line)}.specific-norms-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.specific-norms-head h3{font-size:14px;margin:3px 0;color:var(--navy-950)}.institution-files-block>p{font-size:10px;color:var(--muted);line-height:1.5;margin:6px 0 11px}.institution-file-slots{display:grid;gap:8px}.institution-file-slot{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:#fbfdfc;min-height:66px}.institution-file-slot.filled{background:#fff}.institution-slot-number{width:34px;height:34px;border-radius:10px;background:var(--green-100);color:var(--green-800);display:grid;place-items:center;font-size:10px;font-weight:900}.institution-slot-copy{min-width:0}.institution-slot-copy strong,.institution-slot-copy small{display:block}.institution-slot-copy strong{font-size:11px;color:var(--navy-950);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.institution-slot-copy small{font-size:10px;color:var(--muted);margin-top:4px}.institution-slot-actions{display:flex;align-items:center;gap:6px}.institution-file-pick{position:relative;overflow:hidden}.legal-ref-note{font-size:10px!important;color:var(--muted)!important;line-height:1.45!important;margin:12px 0 0!important;padding-top:10px;border-top:1px solid var(--line)}@media(max-width:760px){.legal-selected-head,.specific-norms-head{align-items:flex-start;flex-direction:column}.legal-group-grid{grid-template-columns:1fr}.legal-library-groups{max-height:70vh}.institution-file-slot{grid-template-columns:38px 1fr}.institution-file-pick,.institution-slot-actions{grid-column:1/-1}.institution-slot-actions{justify-content:flex-start}.legal-framework-panel{padding:17px}}@media(max-width:480px){.legal-library-details>summary{align-items:flex-start}.legal-library-details>summary strong{white-space:nowrap}.institution-file-slot{padding:10px}}
