*{box-sizing:border-box}html,body{margin:0;height:100%;font:14px system-ui,sans-serif;color:#172d43;background:#fff}body{display:flex;flex-direction:column}header{padding:10px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #dbe3e9}header h1{margin:0;font-size:16px;line-height:1.4;overflow-wrap:anywhere;white-space:pre-wrap}nav{display:flex;gap:6px;align-items:center;flex-shrink:0}button,a{font:inherit}button{background:#f3f6f8;border:1px solid #c9d5de;border-radius:5px;padding:5px 9px;cursor:pointer}a{color:#21618e}#graph{flex:1;min-height:180px}#details{padding:10px 14px;background:#f3f6f8;white-space:pre-wrap;overflow:auto;max-height:25%;min-height:45px}@media(max-width:500px){header{flex-direction:column;align-items:flex-start}}

#details h2{font-size:16px;margin:0 0 6px}#details p{margin:6px 0}#details .panel-close{float:right;margin-left:10px}.status-badges{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.badge{display:inline-block;padding:4px 9px;border-radius:5px;font-weight:700}.badge.pep{background:#c22;color:white}.badge.poi{background:#ffdf00;color:#222}.badge.agent{background:#800020;color:white}.badge.company{background:#dbeafa;color:#172d43}.profile-link{display:inline-block;background:#21618e;color:#fff;text-decoration:none;padding:7px 12px;border-radius:5px;margin-top:7px}
