/* .784 shared TD density. Existing routes and hidden states remain authoritative. */
html body.pb784-compact-td #pbEventRosterPanel,
html body.pb784-compact-td #teamRegistrationPanel,
html body.pb784-compact-td :is(#dePayouts,#sePayouts,#chipPrize),
html body.pb784-compact-td[data-pb435-management="payouts"] #rrWorkspace{padding:12px!important;min-width:0}
html body.pb784-compact-td :is(#pbEventRosterPanel,#teamRegistrationPanel,#dePayouts,#sePayouts,#chipPrize) :is(h2,h3),
html body.pb784-compact-td[data-pb435-management="payouts"] #rrWorkspace :is(h2,h3){font-size:1.05rem;line-height:1.3;margin:5px 0!important}
html body.pb784-compact-td :is(#pbEventRosterPanel,#teamRegistrationPanel,#dePayouts,#sePayouts,#chipPrize) p,
html body.pb784-compact-td[data-pb435-management="payouts"] #rrWorkspace p{font-size:.85rem;line-height:1.35;margin:5px 0!important}
html body.pb784-compact-td :is(#pbEventRosterPanel,#teamRegistrationPanel,#dePayouts,#sePayouts,#chipPrize,#rosterTable) table,
html body.pb784-compact-td[data-pb435-live="history"] #chipLive table,
html body.pb784-compact-td[data-pb435-management="payouts"] #rrWorkspace table{width:100%;border-collapse:collapse;font-size:.85rem}
html body.pb784-compact-td :is(#pbEventRosterPanel,#teamRegistrationPanel,#dePayouts,#sePayouts,#chipPrize,#rosterTable) :is(th,td),
html body.pb784-compact-td[data-pb435-live="history"] #chipLive :is(th,td),
html body.pb784-compact-td[data-pb435-management="payouts"] #rrWorkspace :is(th,td){padding:5px 8px!important;line-height:1.3;border-bottom:1px solid #294055;overflow-wrap:anywhere}
html body.pb784-compact-td :is(#pbEventRosterPanel,#teamRegistrationPanel,#dePayouts,#sePayouts,#chipPrize,#rosterTable) th,
html body.pb784-compact-td[data-pb435-live="history"] #chipLive th,
html body.pb784-compact-td[data-pb435-management="payouts"] #rrWorkspace th{background:#173047;color:#c8dff2}
html body.pb784-compact-td :is(#pbEventRosterPanel,#teamRegistrationPanel,#dePayouts,#sePayouts,#chipPrize,#rosterTable) tbody tr:nth-child(even),
html body.pb784-compact-td[data-pb435-live="history"] #chipLive tr:nth-child(even){background:#102132}
html body.pb784-compact-td :is(#pbEventRosterPanel,#teamRegistrationPanel,#dePayouts,#sePayouts,#chipPrize) :is(button,select,input:not([type=checkbox])){font-size:.85rem;padding:6px 10px;min-height:36px}
html body.pb784-compact-td :is(#pbEventRosterPanel,#teamRegistrationPanel) .actions{margin:6px 0;gap:6px}
html body.pb784-compact-td #pbEventRosterPanel>.sectiontitle{margin:0!important;gap:8px}
html body.pb784-compact-td #pbEventRosterPanel .tablewrap{margin-top:8px!important}
html body.pb784-compact-td .pb784-editor-disclosure{margin:7px 0;border:1px solid #30485f;border-radius:8px;background:#102132;padding:0 10px}
html body.pb784-compact-td .pb784-editor-disclosure>summary{cursor:pointer;min-height:44px;padding:11px 0;color:#d0e7fa;font-size:.9rem;font-weight:700}
html body.pb784-compact-td .pb784-editor-disclosure[open]{padding-bottom:10px}
html body.pb784-compact-td .pb784-editor-disclosure :is(input,select){max-width:100%}
html body.pb784-compact-td .pb784-editor-disclosure:focus-within{outline:2px solid #57a7e5;outline-offset:2px}
/* Existing standard-DE audit dialog stays an audit, not invented match metadata. */
html body.pb784-compact-td #pb712Dialog :is(th,td){padding:6px 8px;line-height:1.35;font-size:.85rem}
html body.pb784-compact-td #pb712Dialog td p{margin:5px 0}
@media(max-width:760px), (orientation:landscape) and (max-height:600px) and (pointer:coarse){
 html body.pb784-compact-td :is(#pbEventRosterPanel,#teamRegistrationPanel,#dePayouts,#sePayouts,#chipPrize) :is(button,select,input:not([type=checkbox])){min-height:44px}
 html body.pb784-compact-td :is(#pbEventRosterPanel,#teamRegistrationPanel,#dePayouts,#sePayouts,#chipPrize,#rosterTable) :is(th,td){padding:5px!important;font-size:.8rem}
 html body.pb784-compact-td :is(#pbEventRosterPanel,#teamRegistrationPanel) td input[type=checkbox]{width:22px;height:22px;margin:11px}
 html body.pb784-compact-td #pbEventRosterPanel th label{font-size:.75rem}
}
@media(max-width:760px){
 html body.pb784-compact-td #pbEventRosterPanel table{table-layout:fixed}
 html body.pb784-compact-td #pbEventRosterPanel th:first-child{width:30%}
 html body.pb784-compact-td #pbEventRosterPanel th:nth-child(2){width:12%}
 html body.pb784-compact-td #pbEventRosterPanel th:nth-child(3),html body.pb784-compact-td #pbEventRosterPanel th:nth-child(4){width:17%}
 html body.pb784-compact-td #pbEventRosterPanel th:last-child{width:24%}
 html body.pb784-compact-td #pbEventRosterPanel td button{max-width:100%;white-space:normal;padding:4px!important}
 html body.pb784-compact-td #pbEventRosterPanel td input[type=checkbox]{margin:11px 0}
}
/* Cup's existing History link opens score records, rather than a separate history engine. */
html body.pb784-compact-td #scoreMatches table{width:100%;border-collapse:collapse;font-size:.85rem}
html body.pb784-compact-td #scoreMatches :is(th,td){padding:6px 8px!important;line-height:1.35;overflow-wrap:anywhere}
html body.pb784-compact-td #scoreMatches th{background:#173047;color:#c8dff2}
html body.pb784-compact-td #scoreMatches tr:nth-child(even){background:#102132}
