.ao-leadership-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.ao-leadership-section .ao-leadership-heading h3 { margin: 0; min-width: 0; }
.leadership-history-button { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; padding: 0; border: 2px solid var(--black); border-radius: 6px; background: #fff; color: var(--black); font-size: 1.2rem; line-height: 1; }
.leadership-history-button:focus-visible, #leadershipHistoryRetry:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
body.leadership-history-open { overflow: hidden; }
.leadership-history-dialog { width: min(46rem, calc(100vw - 20px)); max-width: calc(100vw - 20px); max-height: 80vh; max-height: 80dvh; margin: auto; padding: 0; border: 2px solid var(--black); border-radius: 10px; background: var(--cream, #fff9e3); color: var(--black); overflow: hidden; }
.leadership-history-dialog[open] { display: flex; flex-direction: column; }
.leadership-history-dialog::backdrop { background: rgba(0,0,0,.58); }
.leadership-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 4px; flex: 0 0 auto; }
.leadership-history-heading h2 { margin: 0; font-size: .88rem; line-height: 1.2; }
.leadership-history-note { margin: 0; padding: 0 10px 7px; color: var(--muted); font-size: .65rem; line-height: 1.25; }
.leadership-history-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; flex: 1 1 auto; background: #fff; }
.leadership-history-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: .72rem; line-height: 1.25; }
.leadership-history-table .history-date-col { width: 24%; }
.leadership-history-table .history-q-col { width: 18%; }
.leadership-history-table .history-pax-col { width: 29%; }
.leadership-history-table th, .leadership-history-table td { padding: 6px 5px; white-space: normal; overflow-wrap: anywhere; text-align: left; vertical-align: top; }
.leadership-history-table th { position: sticky; top: 0; z-index: 1; font-size: .62rem; line-height: 1.15; background: var(--black); color: #fff; }
.leadership-history-table time { white-space: nowrap; font-size: .65rem; font-variant-numeric: tabular-nums; }
.leadership-history-table .empty-cell { text-align: center; padding: 16px 8px; }
.leadership-history-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 24px; padding: 5px 10px; border-top: 1px solid var(--line); font-size: .65rem; color: var(--muted); flex: 0 0 auto; }
#leadershipHistoryRetry { padding: 3px 10px; min-height: 26px; border: 1px solid var(--black); border-radius: 5px; background: #fff; color: var(--black); font-size: .72rem; }
#leadershipHistoryRetry[hidden] { display: none; }
@media(min-width:560px) { .leadership-history-table { font-size: .8rem; } .leadership-history-table th { font-size: .7rem; } .leadership-history-table th, .leadership-history-table td { padding: 6px 10px; } .leadership-history-table time { font-size: .76rem; } }
