#profiler-dialog { width: min(1320px, 96vw); max-width: none; max-height: 92dvh; }
#profile-summary { white-space: pre-line; overflow-wrap: anywhere; }
.profile-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.profile-wide { grid-column:1/-1; }
.profile-grid section,.profile-live { min-width:0; padding:10px; border:1px solid var(--line); border-radius:6px; background:var(--panel); }
.profile-grid section > div { overflow:auto; max-height:40dvh; }
.profile-live { margin-bottom:12px; }
.profile-live h3,.profile-live p { margin:0 0 5px; }
.profile-grid th { position:sticky; top:0; background:var(--raised,var(--panel)); }
.profile-grid table { width:100%; border-collapse:collapse; font-size:12px; }
.profile-grid th,.profile-grid td { text-align:left; padding:6px; border-bottom:1px solid var(--border,#394553); overflow-wrap:anywhere; }
.profile-pagination { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.profile-grid h3 { margin:8px 0; }
#profile-note { font-size:12px; }
@media(max-width:700px) { #profiler-dialog{width:calc(100vw - 16px);padding:12px}.profile-grid { grid-template-columns:minmax(0,1fr); } }
