.aqr-profile [hidden] { display: none !important; }
.aqr-recordfilters { display: flex; align-items: end; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; }
.aqr-recordfilters label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.aqr-recordfilters select { min-width: 160px; max-width: 100%; padding: 9px 30px 9px 12px; border: 1px solid #d4dfe3; border-radius: 8px; background: #fff; color: #183b43; font: inherit; }
.aqr-recordfilters [role=status] { padding-bottom: 10px; font-size: 13px; }
.aqr-yearlist { display: grid; gap: 10px; }
.aqr-yeargroup { border: 1px solid #dce5e8; border-radius: 10px; overflow: hidden; }
.aqr-yeargroup summary { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; cursor: pointer; background: #f4f8f8; }
.aqr-yeargroup summary::before { content: '+'; width: 14px; font-weight: 700; }
.aqr-yeargroup[open] summary::before { content: '−'; }
.aqr-yeargroup summary::-webkit-details-marker { display: none; }
.aqr-yeargroup summary>strong { font-size: 20px; }
.aqr-yeargroup summary>span { font-size: 13px; color: #536b73; }
.aqr-yearcontests { margin-left: auto; }
.aqr-yearwork { display: grid; grid-template-columns: minmax(130px, 180px) minmax(0, 1fr) auto; gap: 16px; padding: 17px 20px; align-items: start; border-top: 1px solid #edf1f2; }
.aqr-yearwork>div { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.aqr-yearwork>div:nth-child(2) { display: grid; gap: 5px; }
.aqr-yearwork small { color: #607980; }
.aqr-workscore { font-size: 13px; white-space: nowrap; color: #536b73; }
.aqr-history>summary { cursor: pointer; margin-bottom: 0; }
.aqr-history>summary::after { content: 'View all records +'; color: #536b73; font-size: 13px; }
.aqr-history[open]>summary { margin-bottom: 20px; }
.aqr-history[open]>summary::after { content: 'Collapse −'; }
.aqr-showmore { display: block; margin: 22px auto 0; padding: 11px 22px; background: #173e47; border: 0; border-radius: 8px; color: #fff; cursor: pointer; }
.aqr-profile .aqr-galleryitem { margin: 0; }
.aqr-profile .aqr-galleryitem .aqr-gallerycaption { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; justify-content: stretch; gap: 10px; padding: 15px 16px 17px; text-align: left; }
.aqr-profile .aqr-gallerycaption .aqr-galleryheading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; min-width: 0; }
.aqr-profile .aqr-galleryheading .aqr-gallerycontest { display: block; margin: 0; white-space: nowrap; font-size: 13px; line-height: 1.5; font-weight: 600; }
.aqr-profile .aqr-galleryheading .aqr-galleryplacement { display: block; flex: 0 1 auto; max-width: 100%; margin: 0; padding: 3px 9px; border-radius: 6px; background: #eef8e8; color: #3f7622; font-size: 12px; line-height: 1.5; font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
.aqr-profile .aqr-gallerycaption .aqr-gallerytitle { display: block; margin: 0; padding: 0; min-width: 0; font-size: 15px; line-height: 1.55; font-weight: 600; color: var(--aqr-ink, #333); overflow-wrap: anywhere; }
.aqr-profile .aqr-gallerycaption .aqr-galleryfacts { display: grid; gap: 5px; margin: 0; padding: 0; min-width: 0; }
.aqr-profile .aqr-galleryfacts>div { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: baseline; gap: 10px; }
.aqr-profile .aqr-galleryfacts dt, .aqr-profile .aqr-galleryfacts dd { margin: 0; padding: 0; font-size: 12px; line-height: 1.65; font-weight: 400; }
.aqr-profile .aqr-galleryfacts dt { color: #66777c; }
.aqr-profile .aqr-galleryfacts dd { color: #425d65; min-width: 0; overflow-wrap: anywhere; }
.aqr-profile .aqr-gallerycaption .aqr-galleryachievement { margin: 0; color: #3f7622; font-size: 12px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.aqr-profile .aqr-gallerymedia img { object-fit: contain; }
.aqr-profile .aqr-gallerymissing { background: #edf2f3; min-height: 180px; color: #72858b; }
.aqr-profile :is(summary,button,select,a):focus-visible { outline: 3px solid #298b9d; outline-offset: 3px; }
@media(max-width: 640px) {
    .aqr-recordfilters label { flex: 1; min-width: 120px; }
    .aqr-recordfilters select { min-width: 0; width: 100%; }
    .aqr-yearwork { grid-template-columns: 1fr; gap: 9px; }
    .aqr-yearcontests { margin-left: 30px; flex-basis: 100%; }
    .aqr-history>summary { flex-wrap: wrap; }
}
