/* Same page frame, typography and panel borders as the profile page. */
html:has(.ref-page) { height: auto; min-height: 100%; overflow-y: auto; }
body.ref-page { height: auto; min-height: 100vh; overflow: visible; }
.ref-page .pf { max-width: 1240px; margin: 0 auto; padding: 0 12px 28px; }
.ref-page .pf-top { display: flex; align-items: center; gap: 14px; height: 44px; border-bottom: 1px solid var(--rule); margin-bottom: 10px; }
.ref-page .pf-top .brand { text-decoration: none; font: 800 15px/1 var(--display); letter-spacing: .32em; color: #fff; display: flex; align-items: center; gap: 8px; }
.ref-page .pf-top .sp { flex: 1; }
.ref-page .pf-top a.lnk, .ref-page button { font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: none; border: 1px solid var(--rule); padding: 6px 10px; text-decoration: none; cursor: pointer; border-radius: 0; }
.ref-page .pf-top a.lnk:hover, .ref-page button:hover { color: #fff; border-color: #555; }
.ref-page button:disabled { opacity: .5; cursor: wait; }
.ref-page .ref-support { font-size: 12px; overflow-wrap: anywhere; margin: 10px 0 15px; }
.ref-page a { color: var(--pos); }
.ref-page .pagehead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 12px; }
.ref-page h1 { margin: 0 0 6px; color: #fff; font: 800 22px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.ref-page p { margin: 0; }
.ref-page .pagehead p { font-size: 11px; color: var(--ink-2); }
.ref-page .report-actions { display: flex; align-items: center; gap: 10px; }
.ref-page .refresh-note, .ref-page .sub { font-size: 10px; color: var(--ink-3); }
.ref-page .panel { border: 1px solid var(--rule); background: #000; min-width: 0; margin: 10px 0; }
.ref-page .title { display: flex; align-items: center; min-height: 26px; padding: 4px 8px; border-bottom: 1px solid var(--rule); font: 800 10px var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.ref-page .number { color: var(--pos); margin-right: 8px; }
.ref-page .body { padding: 10px; }
.ref-page .linkbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ref-page .url { color: var(--pos); font: 700 13px var(--mono); overflow-wrap: anywhere; min-width: 0; }
.ref-page .pill { color: var(--ink-2); border: 1px solid var(--rule); padding: 2px 6px; font-size: 9px; }
.ref-page .linkbar button { margin-left: auto; }
.ref-page button.primary { background: var(--pos); border-color: var(--pos); color: #000; }
.ref-page .hint, .ref-page .footnote { font-size: 10px; color: var(--ink-3); line-height: 1.6; margin-top: 12px; }
.ref-page .label { font: 600 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ref-page .stats { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border: 1px solid var(--rule); margin: 10px 0; }
.ref-page .stat { min-width: 0; padding: 10px 12px; border-right: 1px solid var(--rule); }
.ref-page .stat:last-child { border: 0; }
.ref-page .value { font: 800 22px var(--display); color: #fff; margin: 5px 0; overflow-wrap: anywhere; }
.ref-page .split { display: grid; grid-template-columns: 2fr 1.35fr; gap: 10px; }
.ref-page .split > .panel { margin: 0; }
.ref-page .charthead { color: var(--ink-3); font-size: 10px; margin-bottom: 8px; }
.ref-page .dot { display: inline-block; width: 7px; height: 7px; background: var(--pos); margin-right: 5px; }
.ref-page .chart { display: block; width: 100%; height: auto; min-height: 140px; }
.ref-page .barrow { display: grid; grid-template-columns: 100px 1fr 35px; gap: 10px; padding: 10px 0; font-size: 11px; }
.ref-page .bar { height: 12px; background: #161616; align-self: center; }
.ref-page .bar span { display: block; height: 100%; background: var(--pos); }
.ref-page .barrow:nth-child(2) .bar span { opacity: .8; }
.ref-page .barrow:nth-child(3) .bar span { opacity: .6; }
.ref-page .barrow:nth-child(4) .bar span { background: var(--ink); }
.ref-page .table { width: 100%; border-collapse: collapse; font-size: 11px; }
.ref-page .table th { color: var(--ink-3); font-size: 9px; text-align: left; font-weight: normal; }
.ref-page .table td, .ref-page .table th { padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.ref-page .table tr:last-child td { border-bottom: 0; }
.ref-page .muted { color: var(--ink-3); }
.ref-page .revenue { margin: 6px 0; }
.ref-page .empty, .ref-page .loading, .ref-page .error { position: static; display: block; padding: 15px 10px; font-size: 11px; color: var(--ink-2); }
.ref-page .error { border: 1px solid var(--rule); color: #e0aaaa; }
.ref-page .nfa-note { text-align: center; padding: 22px 0 0; }
@media(max-width:800px) {
  .ref-page .stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ref-page .stat { border-bottom: 1px solid var(--rule); }
  .ref-page .stat:nth-child(3n) { border-right: 0; }
  .ref-page .split { grid-template-columns: 1fr; }
}
@media(max-width:480px) {
  .ref-page .pf-top { gap: 6px; }
  .ref-page .pf-top .brand { font-size: 12px; letter-spacing: .16em; gap: 4px; }
  .ref-page .pf-top a.lnk { padding: 6px; font-size: 9px; }
  .ref-page .report-actions { flex-direction: column; align-items: flex-end; gap: 5px; }
  .ref-page .stat { padding: 9px 7px; }
  .ref-page .value { font-size: 17px; }
  .ref-page .label { font-size: 8px; letter-spacing: .05em; }
}
