/* One format = current stats + published trend. Scoped to profile cards only. */
#profileFormats.profile-formats-compact,#sharedProfileFormats.profile-formats-compact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start;padding:18px}
.profile-formats-compact .profile-format-compact{min-width:0;border:1px solid var(--line);border-radius:14px;background:#0b1118;padding:14px}
.profile-format-compact h3{font-size:.98rem;line-height:1.3;margin:4px 0 0}
.profile-format-compact .eyebrow{font-size:.63rem;letter-spacing:.09em}
.profile-format-compact .profile-format-top{gap:8px}
.profile-format-compact .profile-format-stats,.profile-format-compact .shared-format-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:12px}
.profile-format-compact .shared-format-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.profile-format-compact .profile-format-stats>div,.profile-format-compact .shared-format-stats>div{min-width:0;padding:7px 3px;border:0;border-radius:0;background:none}
.profile-format-compact .profile-format-stats span,.profile-format-compact .shared-format-stats span{display:block;min-height:28px;font-size:.62rem;line-height:1.25;color:var(--muted)}
.profile-format-compact .profile-format-stats strong,.profile-format-compact .shared-format-stats strong{display:block;font-size:.84rem;margin-top:2px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.profile-format-history{border-top:1px solid var(--line);margin-top:8px;padding-top:10px;min-width:0}
.profile-history-caption,.profile-history-dates{display:flex;justify-content:space-between;gap:8px;font-size:.63rem;color:var(--muted);flex-wrap:wrap}
.profile-history-caption b{font-variant-numeric:tabular-nums}
.profile-history-chart{margin:5px 0 3px}.profile-history-chart svg{display:block;width:100%;height:76px}
.profile-history-guide{stroke:rgba(255,255,255,.065);stroke-width:1;vector-effect:non-scaling-stroke}
.profile-history-area{fill:var(--accent);opacity:.05}.profile-history-line{fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.profile-history-point{fill:#0b1118;stroke:var(--accent);stroke-width:2;vector-effect:non-scaling-stroke}.profile-history-point.latest{fill:var(--accent)}
.profile-format-history .up{color:var(--good)}.profile-format-history .down{color:var(--danger)}
.profile-history-details{margin-top:10px;font-size:.7rem}.profile-history-details summary,.profile-history-retry{cursor:pointer;color:var(--muted);min-height:30px;padding:6px 0;line-height:1.4}
.profile-history-details summary:hover,.profile-history-retry:hover{color:var(--accent)}.profile-history-details summary:focus-visible,.profile-history-retry:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.profile-history-details dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:6px 0 10px}.profile-history-details dt{color:var(--muted);font-size:.65rem}.profile-history-details dd{margin:3px 0 0;font-weight:750;font-variant-numeric:tabular-nums}
.profile-history-note{font-size:.69rem;line-height:1.5;color:var(--muted);margin:5px 0}
.profile-history-table-wrap{overflow-x:auto}.profile-history-details table{border-collapse:collapse;width:100%;font-size:.64rem;text-align:left}.profile-history-details caption{text-align:left;color:var(--muted);padding:5px 0}.profile-history-details th,.profile-history-details td{padding:5px 2px;border-bottom:1px solid var(--line)}
.profile-history-retry{background:none;border:0;text-decoration:underline}
@media(max-width:1100px){#profileFormats.profile-formats-compact,#sharedProfileFormats.profile-formats-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#profileFormats.profile-formats-compact,#sharedProfileFormats.profile-formats-compact{grid-template-columns:1fr;padding:14px}.profile-history-details summary,.profile-history-retry{min-height:40px}.profile-format-compact .profile-format-stats strong{font-size:.88rem}}
