.adb-person-filters{display:flex;align-items:end;flex-wrap:wrap;gap:24px;margin:24px 0 32px}
.adb-person-filters label{display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:700;min-width:150px}
.adb-person-filters select{min-height:44px;padding:8px 30px 8px 0;background-color:transparent}
.adb-person-filters .a74-select-trigger{font-size:16px!important;font-weight:400!important;min-height:44px}
.adb-person-summary{min-width:1200px;table-layout:fixed;margin-bottom:0}
.adb-person-summary th,.adb-person-summary td,.adb-person-summary th:first-child,.adb-person-summary td:first-child{text-align:center;width:auto;padding:16px 16px}
.adb-person-summary thead th{white-space:normal;vertical-align:top}
.adb-person-summary .adb-column-control{align-items:center;white-space:normal;gap:8px;min-width:0}
.adb-person-summary .adb-column-control>span{text-align:center;min-height:48px}
.adb-person-summary select{min-height:44px;padding:6px 28px 6px 0;background-color:transparent;max-width:100%}
.adb-person-summary td strong{display:block;font-size:36px;font-weight:500;color:var(--adb-accent);line-height:1.3}
.adb-person-summary td small{display:block;font-size:12px;color:var(--adb-muted);margin-top:8px;line-height:1.6}
.adb-person-summary+.adb-note{margin-top:16px}
@media(max-width:600px){.adb-person-filters{gap:16px;width:100%}.adb-person-filters label{min-width:0;flex:1 1 44%}.adb-person-filters label:nth-of-type(3){flex-basis:100%}.adb-person-filters button[type=submit]{width:100%}.adb-person-summary{min-width:1200px}.adb-person-summary td strong{font-size:32px}}

.adb-person-summary .adb-person-column-title,.adb-person-summary .adb-column-control>span{display:flex;align-items:flex-start;justify-content:center;min-height:48px;line-height:1.6;text-align:center;width:100%}
.adb-person-summary td{vertical-align:top}
.adb-person-summary td strong{font-size:32px;white-space:nowrap;text-align:center}
.adb-person-summary .adb-column-control .a74-select-trigger{justify-content:center;text-align:center;width:auto;min-width:0}
.adb-person-summary .adb-column-control .a74-select-trigger>span{text-align:center}

.adb-person-summary .adb-column-control>select,.adb-person-summary .adb-column-control>.a74-select-trigger{align-self:center!important;margin-left:auto;margin-right:auto}

.adb-person-summary .adb-person-column-title,.adb-person-summary .adb-column-control>span{display:block;white-space:normal!important;overflow-wrap:normal}

/* Compact mobile profile: paired labels and values, all metrics within the screen. */
.adb-rating-limit{margin:6px 0 16px}
@media(max-width:767px){
 .adb-person-filters{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,.9fr) minmax(0,1.4fr);gap:10px 12px;width:100%;margin:18px 0 24px}
 .adb-person-filters>label{min-width:0;gap:2px}
 .adb-person-filters>label:nth-of-type(3){grid-column:auto}
 body .adb-person-filters button.a74-select-trigger{max-width:100%;white-space:normal;height:auto;gap:8px}
 body .adb-person-filters button.a74-select-trigger>span{min-width:0;overflow-wrap:anywhere}

 .adb-person-summary-wrap{overflow:visible}
 .adb-person-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0;gap:0 12px}
 .adb-person-summary thead,.adb-person-summary tbody,.adb-person-summary tr{display:contents}
 .adb-person-summary thead th,.adb-person-summary tbody td{min-width:0;width:auto!important;text-align:left!important;padding:8px 10px;overflow-wrap:anywhere}
 .adb-person-summary thead th{font-size:12px;background:var(--adb-paper);border:0}
 .adb-person-summary tbody td{padding-top:6px;padding-bottom:14px;border-bottom:1px solid var(--adb-line)}
 .adb-person-summary tr>:nth-child(odd){grid-column:1}
 .adb-person-summary tr>:nth-child(even){grid-column:2}
 .adb-person-summary thead th:nth-child(-n+2){grid-row:1}
 .adb-person-summary tbody td:nth-child(-n+2){grid-row:2}
 .adb-person-summary thead th:nth-child(n+3):nth-child(-n+4){grid-row:3}
 .adb-person-summary tbody td:nth-child(n+3):nth-child(-n+4){grid-row:4}
 .adb-person-summary thead th:nth-child(n+5){grid-row:5}
 .adb-person-summary tbody td:nth-child(n+5){grid-row:6}
 .adb-person-summary .adb-person-column-title,.adb-person-summary .adb-column-control>span{min-height:0;text-align:left;line-height:1.5}
 .adb-person-summary .adb-column-control{align-items:flex-start;gap:2px}
 .adb-person-summary .adb-column-control>select,.adb-person-summary .adb-column-control>.a74-select-trigger{align-self:flex-start!important;margin:0}
 body .adb-person-summary .adb-column-control>.a74-select-trigger{font-size:12px;min-height:44px;height:auto;justify-content:flex-start}
 .adb-person-summary td strong{font-size:20px;line-height:1.3;text-align:left;font-variant-numeric:tabular-nums}
 .adb-person-summary td small{font-size:11px;line-height:1.5;margin-top:4px}
}

.adb-person-record .adb-record-event{color:var(--adb-accent);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}

@media(max-width:767px){.adb-person-filters>label{font-size:13px;white-space:normal}}

@media(max-width:767px){.adb-person-filters{align-items:start}}

/* Rating selection in the complete performance history. */
.adb-history tbody tr.adb-history-counted{--adb-history-background:#edf6ee}
.adb-history tbody tr.adb-history-excluded{--adb-history-background:#faeeee}
.adb-history tbody tr:is(.adb-history-counted,.adb-history-excluded),
.adb-history tbody tr:is(.adb-history-counted,.adb-history-excluded)>:is(th,td){background-color:var(--adb-history-background)}

.adb-class-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:14px}
.adb-class-heading>h2{margin:0;min-width:0}
.adb-class-return{margin:0;font-size:18px;line-height:1.4;text-align:right;white-space:nowrap;flex:none}
.adb-class-return a{display:inline-block;padding:8px 0;color:var(--adb-accent);text-decoration:none}
@media(max-width:767px){.adb-class-heading{gap:12px}.adb-class-heading>h2{font-size:22px}.adb-class-return{font-size:13px}}
@media(max-width:360px){.adb-class-heading{gap:8px}.adb-class-heading>h2{font-size:18px}.adb-class-return{font-size:12px}}

.adb-main .adb-class-return a,.adb-main .adb-class-return a:hover,.adb-main .adb-class-return a:focus{text-decoration:none}

/* Profile details share one line; notes use the entire content column. */
.adb-main .adb-person-details{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 18px}
.adb-main .adb-note{max-width:none;width:100%}
