#page-legal{min-width:0;width:100%;color:var(--brand-text,#e8f5ff)}.legal-head{display:flex;align-items:center;gap:16px;padding:22px;border:1px solid #245b7b;border-radius:16px;background:linear-gradient(110deg,#08283f,#07192b);margin-bottom:16px}.legal-head h1{font-size:27px;margin:3px 0 5px}.legal-head p{margin:0;color:#9fbfce;font-size:14px}.legal-head small{letter-spacing:2px;color:#5de4ea;font-size:11px;font-weight:800}.legal-head>.btn{margin-left:auto}.legal-title-icon{width:60px;height:60px;display:grid;place-items:center;background:linear-gradient(145deg,#283a65,#0b2136);border:1px solid #8586eb;border-radius:14px;font-size:34px;color:#c4bcff;flex:none}.legal-counters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.legal-counter{display:flex;align-items:center;gap:14px;padding:20px;background:linear-gradient(120deg,#0b2a40,#051827);border:1px solid #2e5a70;border-radius:14px;color:#e6f4ff;text-align:left;cursor:pointer;min-width:0;transition:transform .18s,border-color .18s}.legal-counter:hover{transform:translateY(-2px)}.legal-counter i{font-style:normal;font-size:29px;width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#ffffff0a}.legal-counter span{font-size:15px;font-weight:700}.legal-counter b{display:block;font-size:32px;margin-top:7px}.legal-counter em{margin-left:auto;font-size:25px;font-style:normal}.legal-counter.notice{border-color:#8f7333}.legal-counter.notice i,.legal-counter.notice b{color:#ffdb7c}.legal-counter.expelled{border-color:#854258}.legal-counter.expelled i,.legal-counter.expelled b{color:#ff8baf}.legal-counter.referred{border-color:#6254a0}.legal-counter.referred i,.legal-counter.referred b{color:#baa5ff}.legal-counter.selected{box-shadow:inset 0 0 0 1px #55d6eb,0 5px 20px #0003}.legal-tools{display:flex;gap:10px;align-items:center;margin:16px 0}.legal-search{flex:1;min-width:120px}.legal-search input{width:100%;padding:13px;background:#061c2b;color:#effaff;border:1px solid #285268;border-radius:9px;font-size:14px;box-sizing:border-box}.legal-list-panel{background:#061b2a;border:1px solid #234d65;border-radius:14px;overflow:hidden}.legal-list-heading{display:flex;justify-content:space-between;align-items:center;padding:18px;border-bottom:1px solid #23465a}.legal-list-heading h2{font-size:19px;margin:0}.legal-list-heading span{font-size:13px;color:#9fc5d6}.legal-empty{padding:54px 24px;text-align:center;color:#a8c9d8;line-height:1.7}.legal-table-scroll{overflow:auto}.legal-list-panel table{border-collapse:collapse;width:100%;font-size:14px}.legal-list-panel th{font-size:11px;letter-spacing:.7px;color:#86b8cf;background:#092638;text-align:left}.legal-list-panel th,.legal-list-panel td{padding:15px;border-bottom:1px solid #163b50;vertical-align:middle}.legal-list-panel td small{display:block;color:#8db0c1;margin-top:6px;font-size:12px}.legal-note{min-width:180px;max-width:340px;overflow-wrap:anywhere;white-space:pre-wrap}.legal-pill{display:inline-block;padding:7px 10px;border-radius:20px;background:#ffffff08;font-size:12px;font-weight:700;white-space:nowrap}.legal-pill.notice{color:#ffe09c;background:#a8842520}.legal-pill.expelled{color:#ff9cb5;background:#9c315420}.legal-pill.referred{color:#c6b4ff;background:#7e46c520}.legal-row-btn{border:1px solid #2d607b;border-radius:7px;padding:8px 10px;margin:2px;background:#0d334a;color:#dceff9;cursor:pointer;font-size:12px}.legal-row-btn.danger{color:#ffa1b4;border-color:#6c3750}.legal-row-btn.view{color:#8ee9ff;border-color:#2b9d98;background:#0a3c4420;font-weight:700}.legal-row-btn.view:hover{background:#0e5560}#lgDialog{width:min(650px,calc(100vw - 30px));max-height:90vh;box-sizing:border-box;overflow:auto;padding:24px;border:1px solid #3683a8;border-radius:16px;background:#071f31;color:#eaf8ff;font-family:inherit}#lgDialog::backdrop{background:#0009;backdrop-filter:blur(4px)}#lgForm header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}#lgForm h2{font-size:22px;margin:0}#lgClose{background:none;border:0;color:#cce7f5;font-size:28px;cursor:pointer}#lgForm label{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;font-size:14px;color:#bdd9e7}#lgForm input,#lgForm select,#lgForm textarea{width:100%;box-sizing:border-box;padding:12px;font-family:inherit;font-size:15px;color:#f0faff;background:#041624;border:1px solid #28556d;border-radius:8px}#lgForm footer{display:flex;gap:10px;margin-top:20px}.legal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.legal-chosen{padding:15px;border:1px solid #2b9d98;border-radius:8px;background:#0a3c4420;color:#6be6d3;margin-bottom:18px}#lgCariResults{display:grid;max-height:220px;overflow:auto;margin-bottom:10px}#lgCariResults button{text-align:left;background:#0a293d;color:#e6f4ff;border:1px solid #214a61;border-radius:7px;padding:12px;cursor:pointer}#lgCariResults small{display:block;color:#94bbd0;margin-top:4px}#lgError{color:#ffb3c4;font-size:14px}[hidden]{display:none!important}@media(max-width:1000px){.legal-counters{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.legal-counter{padding:14px;gap:8px}.legal-counter span{font-size:13px}.legal-head{flex-wrap:wrap}}@media(max-width:640px){.legal-counters{grid-template-columns:1fr}.legal-counter b{display:inline;margin-left:15px;font-size:25px}.legal-counter i{width:36px;height:36px;font-size:24px}.legal-head h1{font-size:23px}.legal-head>.btn{margin:0;width:100%}.legal-tools{flex-wrap:wrap}.legal-search{order:3;flex-basis:100%}.legal-form-grid{grid-template-columns:1fr}.legal-title-icon{width:45px;height:45px}}

.legal-counter.planned{border-color:#227c9e}.legal-counter.planned i,.legal-counter.planned b{color:#78def5}.legal-pill.planned{color:#85e0ff;background:#1a8bb330}.cari-legal-status{margin:14px 0 18px;display:flex;align-items:flex-start;gap:16px;padding:18px 20px;border:1px solid #80682d;border-radius:14px;background:linear-gradient(120deg,#43361e50,#102636);color:#e9f6ff}.cari-legal-status>span{font-size:29px;color:#ffdb76}.cari-legal-status small{font-size:11px;letter-spacing:1px;color:#a9c0cd;font-weight:800}.cari-legal-status b{font-size:19px;color:#ffe097;display:block;margin:4px 0}.cari-legal-status p{font-size:13px;color:#bed3dc;margin:3px 0 0;white-space:pre-wrap}.cari-legal-status.expelled{border-color:#91445b;background:linear-gradient(120deg,#541e3350,#102636)}.cari-legal-status.expelled b{color:#ffa2bb}.cari-legal-status.planned{border-color:#337d99}.cari-legal-status.planned b{color:#86dcf7}.cari-legal-status.referred{border-color:#7461ad}.cari-legal-status.referred b{color:#c9b7ff}
