.reports-tips-backdrop {position:fixed;inset:0;z-index:950;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(10,14,30,.5)}
.reports-tips-dialog {box-sizing:border-box;display:flex;flex-direction:column;min-width:0;width:min(1200px,100%);max-height:82vh;max-height:82dvh;overflow:hidden;border:1px solid var(--line,#dce3ff);border-radius:16px;background:var(--panel,#fff);color:var(--text,#13182f);box-shadow:0 20px 50px #0a0e1e52;font:13px/1.5 Inter,system-ui,-apple-system,sans-serif}
.reports-tips-dialog * {box-sizing:border-box}
.reports-tips-dialog header {display:flex;align-items:flex-start;gap:12px;padding:18px 20px 14px;border-bottom:1px solid var(--line,#dce3ff)}
.reports-tips-dialog header>div {min-width:0;flex:1}
.reports-tips-dialog h2 {margin:0 0 6px;font:800 18px/1.3 Inter,system-ui,-apple-system,sans-serif;color:inherit}
.reports-tips-dialog p {margin:0;color:var(--muted,#667091);overflow-wrap:anywhere}
.reports-tips-dialog button {font-family:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.reports-tips-dialog button:disabled {opacity:.45;cursor:not-allowed}
.reports-tips-dialog header>button {flex:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;min-width:30px;min-height:30px;padding:0;border:1px solid var(--line,#dce3ff);border-radius:8px;background:transparent;color:var(--muted,#667091);font-size:18px;line-height:1}
.reports-tips-range {display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.reports-tips-range span {padding:4px 10px;border:1px solid var(--line,#dce3ff);border-radius:20px;background:var(--panel-alt,#eef1ff);color:var(--text,#13182f);font-size:12px;font-weight:600}
.reports-tips-summary {padding:14px 20px;font-weight:600;color:var(--muted,#667091)}
.reports-tips-error {padding:12px 20px;color:var(--danger,#b4233b)}
.reports-tips-table-wrap {min-height:0;overflow:auto;overscroll-behavior:contain;flex:1;border-top:1px solid var(--line,#dce3ff)}
.reports-tips-dialog table {width:100%;min-width:720px;border-collapse:collapse;text-align:left}
.reports-tips-dialog th,.reports-tips-dialog td {padding:10px 20px;vertical-align:top}
.reports-tips-dialog th {position:sticky;top:0;background:var(--panel,#fff);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--muted,#667091);border-bottom:1px solid var(--line,#dce3ff);z-index:1}
.reports-tips-dialog td {font-size:13px;color:var(--text,#13182f);border-top:1px solid var(--line-soft,#e6ebff)}
.reports-tips-dialog tbody tr:hover td {background:var(--panel-alt,#eef1ff)}
.reports-tips-dialog td:nth-child(3) {min-width:200px;max-width:320px;overflow-wrap:anywhere}
.reports-tips-dialog td:last-child {white-space:nowrap}
.reports-tips-dialog a {color:var(--accent,#4d5bff);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.reports-tips-dialog small {display:block;font-size:11px;color:var(--muted,#667091);white-space:nowrap}
.reports-tips-dialog footer {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 20px;border-top:1px solid var(--line,#dce3ff);color:var(--muted,#667091);font-size:12px}
.reports-tips-dialog footer>div {display:flex;gap:8px}
.reports-tips-dialog footer button {padding:6px 12px;border:1px solid var(--line,#dce3ff);border-radius:7px;background:var(--panel,#fff);color:var(--text,#13182f)}
.reports-tips-dialog :is(button,a,[tabindex]):focus-visible {outline:2px solid var(--accent,#4d5bff);outline-offset:2px}
@media(max-width:600px){.reports-tips-backdrop{padding:10px}.reports-tips-dialog{max-height:94vh;max-height:94dvh;border-radius:12px}.reports-tips-dialog header{padding:16px}.reports-tips-summary,.reports-tips-dialog footer{padding:12px 16px}.reports-tips-dialog header p{font-size:12px}}

@media(max-width:600px){
 .reports-tips-dialog table,.reports-tips-dialog tbody {display:block;min-width:0;width:100%}
 .reports-tips-dialog thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .reports-tips-dialog tbody tr {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:16px;border-bottom:1px solid var(--line,#dce3ff)}
 .reports-tips-dialog td {display:block;min-width:0;max-width:none;padding:0;border:0;overflow-wrap:anywhere}
 .reports-tips-dialog td:nth-child(3) {min-width:0;max-width:none}
 .reports-tips-dialog td:nth-child(1) {grid-column:1;grid-row:1}
 .reports-tips-dialog td:last-child {grid-column:2;grid-row:1;text-align:right}
 .reports-tips-dialog td:nth-child(2),.reports-tips-dialog td:nth-child(3),.reports-tips-dialog td:nth-child(4) {grid-column:1/-1}
 .reports-tips-dialog td[data-label]::before {content:attr(data-label);display:block;font-size:11px;color:var(--muted,#667091)}
 .reports-tips-dialog td[colspan] {grid-column:1/-1}
}
html[data-theme="dark"] .reports-tips-backdrop {
 --panel:#111b33;--panel-alt:#16213f;--text:#e8efff;--muted:#a8b8de;--line:#2a3861;--line-soft:#1c2a4d;--accent:#89a1ff;--accent-contrast:#0a1224;
}

.reports-tips-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 20px;background:var(--panel-alt,#eef1ff)}
.reports-tips-toolbar .reports-tips-summary {min-width:0;padding:0}
.reports-tips-toolbar>button {margin:0;flex-shrink:0;padding:8px 14px;border-radius:8px;border-color:var(--accent,#4d5bff);background:var(--accent,#4d5bff);color:var(--accent-contrast,#fff)}
html[data-theme="dark"] .reports-tips-backdrop {background:rgba(2,6,18,.72)}
html[data-theme="dark"] .reports-tips-dialog {box-shadow:0 20px 50px rgba(0,0,0,.5)}
@media(max-width:600px){.reports-tips-toolbar{padding:10px 16px;gap:8px}.reports-tips-toolbar .reports-tips-summary{padding:0}.reports-tips-toolbar>button{margin:0}}

@media(max-width:768px){.reports-tips-dialog{max-height:86vh;max-height:86dvh}}
@media(max-width:640px){.reports-tips-dialog header>button{width:40px;height:40px;min-width:40px;min-height:40px}.reports-tips-dialog button{min-height:40px}}
@media(max-width:390px){.reports-tips-backdrop{padding:0;align-items:flex-end}.reports-tips-dialog{max-height:92vh;max-height:92dvh;border-radius:16px 16px 0 0}.reports-tips-dialog header,.reports-tips-toolbar,.reports-tips-dialog footer{padding-left:14px;padding-right:14px}}
