.sgl-contact-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.sgl-legacy-view[hidden]{display:none!important}.sgl-legacy-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.sgl-legacy-summary article{display:flex;align-items:center;gap:11px;min-height:76px;padding:12px 15px;border:2px solid #acd2ef;border-radius:17px;background:linear-gradient(145deg,#fff,#eef8ff);box-shadow:0 5px 0 #c7ddea}.sgl-legacy-summary i{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:linear-gradient(#27c5ff,#0873e8);box-shadow:0 4px 0 #0750a2;color:#fff}.sgl-legacy-summary span{display:grid;color:#647b91;font-size:11px}.sgl-legacy-summary strong{color:#071d3a;font-size:24px}.sgl-legacy-summary .is-overdue i{background:linear-gradient(#ff806c,#e3344f);box-shadow:0 4px 0 #9d2134}.sgl-legacy-list{display:grid;gap:13px;padding-bottom:28px}.sgl-legacy-card{display:grid;grid-template-columns:1.1fr 1fr .8fr 1.25fr auto;align-items:center;gap:14px;padding:15px 16px;border:2px solid #78bced;border-radius:18px;background:linear-gradient(145deg,#fff,#f1f8ff);box-shadow:0 6px 0 #c4ddeb,0 13px 22px rgba(14,61,103,.1);animation:sglLegacyIn .3s ease both}.sgl-legacy-person{display:flex;align-items:center;gap:10px;min-width:0}.sgl-legacy-person>span{display:grid;place-items:center;flex:0 0 46px;height:46px;border:3px solid #42b8ff;border-radius:50%;background:#0c4178;color:#fff;font-size:19px;font-weight:900}.sgl-legacy-person div,.sgl-legacy-contact,.sgl-legacy-history,.sgl-legacy-notes{display:grid;gap:4px;min-width:0}.sgl-legacy-person strong{color:#071c38}.sgl-legacy-person small,.sgl-legacy-contact span,.sgl-legacy-history small,.sgl-legacy-notes small{color:#617991;font-size:11px}.sgl-legacy-contact a,.sgl-legacy-actions a{color:#0874d9;text-decoration:none}.sgl-legacy-contact i,.sgl-legacy-notes i{width:18px;color:#0b82e8}.sgl-legacy-history{grid-template-columns:auto auto}.sgl-legacy-history b{padding:5px 8px;border-radius:8px;background:#e1f1ff;color:#075da9;font-size:10px}.sgl-legacy-history small{grid-column:1/-1}.sgl-legacy-notes p{display:-webkit-box;margin:0;color:#344f69;font-size:11px;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sgl-legacy-actions{display:grid;gap:7px}.sgl-legacy-actions a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 11px;border-radius:10px;background:linear-gradient(#159bf3,#0871db);box-shadow:0 3px 0 #064890;color:#fff;font-size:11px;font-weight:800;white-space:nowrap}.sgl-legacy-actions a:first-child{background:linear-gradient(#28cf6b,#10a74d);box-shadow:0 3px 0 #087132}.sgl-legacy-empty{display:grid;place-items:center;gap:9px;min-height:230px;padding:30px;border:2px dashed #6fbce9;border-radius:20px;background:#f4faff;text-align:center;color:#5d7389}.sgl-legacy-empty i{font-size:40px;color:#0879e5}.sgl-legacy-empty strong{color:#0a203c;font-size:17px}.sgl-legacy-empty button{padding:9px 14px;border:0;border-radius:10px;background:#0878e5;color:#fff;font-weight:800}@keyframes sglLegacyIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@media(max-width:1250px){.sgl-contact-tabs{grid-template-columns:repeat(2,1fr)}.sgl-legacy-card{grid-template-columns:1fr 1fr}.sgl-legacy-actions{grid-template-columns:1fr 1fr}.sgl-legacy-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.sgl-contact-tabs,.sgl-legacy-summary,.sgl-legacy-card{grid-template-columns:1fr}.sgl-legacy-actions{grid-template-columns:1fr}}
