/* Compact match detail/editor/review. One vocabulary across every match entry. */
.result-sides-35{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.result-side-35{min-width:0;margin:0;padding:10px;border:1px solid #3A3A3A;border-radius:8px;background:#202020;color:#F2F2F2}
.result-side-35 legend{display:flex;align-items:center;gap:7px;max-width:100%;padding:0 4px;line-height:1.45;color:#F2F2F2}
.result-side-35 legend strong{min-width:0;font-size:13px;font-weight:650;line-height:1.45;color:inherit;overflow-wrap:anywhere}
.result-side-marker-35{display:inline-block;flex:0 0 5px;width:5px;height:17px;border-radius:999px;background:#FF4D60}
.result-side-blue-35 .result-side-marker-35{background:#4096FF}
.result-metric-grid-35{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 9px;padding-top:3px}
.result-metric-grid-35>.result-stat-35{display:flex;align-items:center;gap:6px;min-width:0;margin:0;padding:4px 0;font:inherit;font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums;color:inherit}
.result-stat-35 b{min-width:0;margin-left:auto;font-size:13px;font-weight:650;overflow-wrap:anywhere}
.result-metric-icon-35{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;color:inherit;vertical-align:middle}
.result-metric-glyph-35{box-sizing:border-box;display:grid;place-items:center;width:19px;height:19px;border:1px solid currentColor;border-radius:50%;font:650 11px/1 'MiSans VF',sans-serif}
.result-metric-icon-35 svg{display:block;box-sizing:border-box;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.result-metric-card-35{display:block;width:9px;height:14px;border-radius:3px;background:#E8C44F}
.result-metric-card-35.is-red{background:#F36B78}
.result-side-35 .result-stat-35 input{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:30px;min-height:30px;margin:0;padding:3px 4px;border:1px solid #404040;border-radius:5px;background:#171717;color:inherit;font:inherit;font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums;text-align:center;box-shadow:none}
.result-side-35 .result-stat-35 input[readonly]{background:transparent;border-color:transparent;font-weight:650;cursor:default}
.result-side-35 .result-stat-35 input:disabled{opacity:1;color:inherit;-webkit-text-fill-color:currentColor;cursor:default}
.result-side-35 .result-stat-35 input::-webkit-inner-spin-button{margin:0}
.result-side-35 .manual-total-action{display:grid;place-items:center;flex:0 0 20px;width:20px;height:26px;min-height:26px;margin:0;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;box-shadow:none}
.result-side-35 .manual-total-action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}
.result-card-meta-35{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 14px;margin:0 0 12px;font-size:12px;line-height:1.5;color:inherit}
.result-actual-time-35{display:inline-flex;align-items:center;gap:6px;min-width:0;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums;color:inherit}
.result-actual-time-35 .result-metric-icon-35{width:17px;height:17px;flex-basis:17px}.result-actual-time-35 svg{width:17px;height:17px}
.result-visually-hidden-35{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.result-extra-edit-35,.result-edit-history{margin-top:12px;font-size:12px;line-height:1.5}.result-extra-edit-35>summary,.result-edit-history>summary{cursor:pointer;color:inherit;padding:4px 0}
.result-shared-edit-35{display:grid;gap:9px;margin-top:8px}.result-shared-edit-35>label{display:grid;gap:5px;margin:0;font-size:12px}.result-shared-edit-35 textarea{width:100%;min-width:0;min-height:44px;box-sizing:border-box;resize:vertical;font:inherit;font-size:12px;line-height:1.5}
.result-comparison-35{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;align-items:start}
.result-detail-card-35{min-width:0;padding:12px;border:1px solid #3A3A3A;border-radius:8px;background:#1D1D1D;color:#F2F2F2;font:500 13px/1.5 'MiSans VF',sans-serif}
.result-detail-card-35>h3{margin:0 0 8px;font-size:13px;font-weight:650}.result-detail-card-35 .result-sides-35{gap:9px}.result-detail-card-35 .result-side-35{padding:8px}.result-definition-35{font-size:12px;line-height:1.5;margin:0 0 8px;overflow-wrap:anywhere}
.result-detail-changed-35{color:#ff6b75!important;font-weight:700!important}
.result-shared-note-35,.result-shared-reason-35{margin-top:10px;padding-top:8px;border-top:1px solid #3A3A3A;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.result-shared-note-35>p,.result-shared-reason-35>p{margin:0;white-space:pre-wrap}
.result-impact-35{margin-top:12px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.result-impact-35 h3{font-size:13px;margin:0 0 5px}.result-impact-35 ul{margin:0;padding-left:20px}
.result-review-dialog-35{width:min(1120px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:1px solid #3A3A3A;border-radius:9px;background:#1D1D1D;color:#F2F2F2}
.result-review-body-35{box-sizing:border-box;padding:14px;max-height:calc(100dvh - 160px);overflow:auto;min-height:0}.result-review-dialog-35>.dialog-head,.result-review-dialog-35>footer{padding:12px 16px;background:inherit;color:inherit}.result-review-dialog-35>footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;border-top:1px solid #3A3A3A}.result-review-dialog-35 button{font:inherit;min-height:38px;margin:0}.result-review-dialog-35 [hidden]{display:none!important}.result-review-dialog-35 [data-review-feedback]{margin:10px 0 0;min-height:1.5em;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.result-second-confirm-35{margin-top:14px;padding:12px;border:1px solid #00b99a;border-radius:6px}.result-second-confirm-35 h3{font-size:16px;margin:0 0 5px}.result-second-confirm-35 p{margin:0;font-size:14px}.result-review-dialog-35 :is(button,input,textarea):focus-visible{outline:2px solid #00e5be;outline-offset:3px}
/* Override the former full-size manual editor, including its inherited legend colors. */
html body.event-console-page:has(#master-sidebar)>dialog.remote-dialog.master-manual-dialog .result-side-35{border-inline-start:1px solid #3A3A3A!important}
html body.event-console-page:has(#master-sidebar)>dialog.remote-dialog.master-manual-dialog .result-side-35 :is(legend,legend strong){color:#F2F2F2!important;font-size:13px!important}
html body.event-console-page:has(#master-sidebar)>dialog.remote-dialog.master-manual-dialog .result-sides-35{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html body.event-console-page:has(#master-sidebar)>dialog.remote-dialog.master-manual-dialog .result-stat-35 input{height:30px;min-height:30px;padding:3px 4px;text-align:center;border-width:1px;font-size:13px!important}
html body.event-console-page:has(#master-sidebar)>dialog.remote-dialog.master-manual-dialog .result-stat-35 input[readonly]{background:transparent!important;border-color:transparent!important;border-inline-start:0!important}
html body.event-console-page:has(#master-sidebar)>dialog.remote-dialog.master-manual-dialog .manual-total-action{width:20px;height:26px;min-height:26px;padding:0;margin:0;background:transparent!important;border:0!important;box-shadow:none!important}
html body.event-console-page:has(#master-sidebar)>dialog.remote-dialog.master-manual-dialog .manual-status-label{max-width:150px;margin:0}
html body.event-console-page:has(#master-sidebar)>dialog.remote-dialog.master-manual-dialog .manual-status-label select{height:32px;min-height:32px;margin:0;padding:3px 8px;font-size:12px}
html body.event-console-page:has(#master-sidebar)>dialog.remote-dialog.master-manual-dialog .manual-topline p{margin:0 0 8px;font-size:12px}
html body.viewer-body #match-dialog .result-detail-card-35{padding:0;border:0;background:transparent;color:#F2F2F2}
html body.viewer-body #match-dialog .result-side-35 legend strong{font-size:13px;color:#F2F2F2}
@media(max-width:700px){.result-comparison-35{grid-template-columns:minmax(0,1fr)}.result-review-body-35{padding:12px}.result-metric-grid-35{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}.result-side-35{padding:8px}.result-sides-35{gap:9px}}
@media(max-width:380px){.result-sides-35{grid-template-columns:minmax(0,1fr)}html body.event-console-page:has(#master-sidebar)>dialog.remote-dialog.master-manual-dialog .result-sides-35{grid-template-columns:minmax(0,1fr)}}
@media(max-height:560px){.result-review-dialog-35{max-height:calc(100dvh - 12px)}.result-review-body-35{max-height:calc(100dvh - 130px)}.result-review-dialog-35>.dialog-head,.result-review-dialog-35>footer{padding:8px 12px}}
/* 54: receipt-bound submission feedback; animation has no effect on timing. */
.result-review-dialog-35 [data-review-feedback][aria-busy="true"]{display:flex;align-items:center;gap:.5rem;min-height:1.5em}
.result-submit-spinner-54{display:inline-block;flex:0 0 auto;width:.9em;height:.9em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:result-submit-spin-54 .8s linear infinite}
.result-review-dialog-35 .result-feedback-ignore-54{padding:.15em .35em;min-height:0;background:none;border:0;box-shadow:none;color:inherit;text-decoration:underline;text-underline-offset:.2em;cursor:pointer}
@keyframes result-submit-spin-54{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.result-submit-spinner-54{animation:none;border-right-color:currentColor;opacity:.65}}
.result-side-35 .result-stat-35 input[type=number]{appearance:textfield;-moz-appearance:textfield}
.result-side-35 .result-stat-35 input[type=number]::-webkit-inner-spin-button,.result-side-35 .result-stat-35 input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.result-team-history-35{display:grid;gap:12px;min-width:0}
.result-team-history-row-35{padding-bottom:12px;border-bottom:1px solid #3A3A3A;cursor:pointer}.result-team-history-row-35:last-child{padding-bottom:0;border-bottom:0}
html body.viewer-body #match-dialog .result-history-entry-35{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:30px;padding:0 0 8px;margin:0;border:0;box-shadow:none;background:transparent;color:#F2F2F2;font:650 12px/1.5 'MiSans VF',sans-serif;text-align:left;overflow-wrap:anywhere}
.result-history-entry-35>span{flex:none;font-size:18px;line-height:1}.result-history-empty-35{font-size:13px;color:inherit}

/* Keep compact score controls inside each metric cell despite legacy input flex bases. */
.master-manual-dialog .result-metric-grid-35{grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr))}
.master-manual-dialog .result-metric-grid-35>.manual-field-Score{display:grid;grid-template-columns:20px minmax(0,1fr) 20px;gap:6px}

/* 127: shared readable two-row statistics, confirmed winner and quiet notes. */
html body .result-sides-35 .result-metric-grid-35{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding-top:6px}
html body .result-metric-row-35{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:12px;min-width:0}
html body .result-metric-row-35>.result-stat-35{display:flex;align-items:center;gap:7px;min-width:0;margin:0;padding:5px 0;font:700 16px/1.5 'MiSans VF',sans-serif;font-variant-numeric:tabular-nums;color:inherit}
html body .result-metric-row-35>.result-stat-35>b{font-size:16px;font-weight:700}
html body .result-metric-extra-35{grid-auto-flow:row;grid-template-columns:minmax(0,1fr);max-width:calc((100% - 36px)/4)}
html body .result-metric-row-35 .result-metric-icon-35{width:24px;height:24px;flex-basis:24px}
html body .result-metric-row-35 .result-metric-glyph-35{width:23px;height:23px;font-size:14px;font-weight:700}
html body .result-metric-row-35 .result-metric-icon-35 svg{width:24px;height:24px}
html body .result-metric-row-35 .result-stat-35 input{height:36px;min-height:36px;padding:4px;font-size:16px;font-weight:700;flex:1 1 0;min-width:0}
html body .result-side-35 legend strong,html body.viewer-body #match-dialog .result-side-35 legend strong{font-size:16px;font-weight:700}
html body.event-console-page:is(:has(#master-sidebar),.checkin-workspace)>dialog.remote-dialog.master-manual-dialog .result-side-35 :is(legend,legend strong){font-size:16px!important;font-weight:700;color:#F2F2F2!important}
html body.event-console-page:is(:has(#master-sidebar),.checkin-workspace)>dialog.remote-dialog.master-manual-dialog .result-metric-row-35 .result-stat-35 input{height:36px;min-height:36px;font-size:16px!important}
html body .master-manual-dialog .result-metric-row-35>.manual-field-Score{display:grid;grid-template-columns:24px minmax(0,1fr) 20px;gap:4px}
html body .result-side-35.is-winner,html body .result-detail-card-35 .result-side-35.is-winner,
html body.event-console-page:is(:has(#master-sidebar),.checkin-workspace)>dialog.remote-dialog.master-manual-dialog .result-sides-35>.result-side-35.is-winner{background:#145C4F!important;border-color:#258C76!important;color:#F2F2F2!important}
html body .result-side-35.is-winner legend{padding:1px 7px;border-radius:5px;background:#145C4F;color:#F2F2F2}
html body .result-card-meta-35,html body .result-actual-time-35{font-size:16px;font-weight:650}
html body .result-card-meta-35{gap:10px 18px;margin-bottom:16px}
html body .result-status-badge-127:empty{display:none}
html body .result-card-meta-35>[data-detail-value=status],html body .result-status-badge-127{padding:3px 8px;border:1px solid #555;border-radius:5px;font-size:15px;font-weight:700}
html body.event-console-page:is(:has(#master-sidebar),.checkin-workspace)>dialog.remote-dialog.master-manual-dialog .manual-status-label{max-width:170px}
html body.event-console-page:is(:has(#master-sidebar),.checkin-workspace)>dialog.remote-dialog.master-manual-dialog .manual-status-label select{height:36px;min-height:36px;font-size:16px!important}
html body .result-definition-35,html body .master-manual-dialog .manual-topline [data-manual-match-label]{font-size:18px!important;font-weight:700;line-height:1.5}
html body .result-notes-35,html body .result-shared-note-35{margin-top:14px;padding:0;border:0;font-size:15px;line-height:1.6}
html body .result-extra-edit-35{margin:0;font-size:15px}
html body .result-extra-edit-35>summary{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin:0;padding:0;list-style:none;cursor:pointer}
html body .result-extra-edit-35>summary::-webkit-details-marker{display:none}
html body .result-note-icon-35{display:block;box-sizing:border-box;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
html body .result-shared-note-35>.result-note-icon-35{margin-bottom:4px}
html body .result-note-preview-35{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.6}
html body .result-shared-edit-35{margin:8px 0;font-size:15px}
html body .result-shared-edit-35 :is(label,textarea){font-size:15px}
html body .result-notes-35 [hidden],html body .result-extra-edit-35 [hidden],html body [data-result-feedback][hidden],html body [data-manual-lock-note][hidden]{display:none!important}
html body .result-extra-edit-35>summary:focus-visible{outline:2px solid #00D6B5;outline-offset:3px;border-radius:4px}
@media(max-width:700px){html body .result-metric-row-35{gap:7px}html body .result-metric-row-35>.result-stat-35{gap:4px;font-size:14px}html body .result-metric-row-35 .result-metric-icon-35{width:20px;height:20px;flex-basis:20px}html body .result-metric-row-35 .result-metric-glyph-35{width:19px;height:19px;font-size:12px}html body .result-metric-row-35>.result-stat-35>b{font-size:14px}html body .result-metric-row-35 .result-metric-icon-35 svg{width:20px;height:20px}html body .master-manual-dialog .result-metric-row-35>.manual-field-Score{grid-template-columns:20px minmax(0,1fr) 16px;gap:2px}}

/* Shared, read-only attendance: no status tint before a submitted check-in. */
.result-participant-roster-35{margin-top:12px;padding-top:8px;border-top:1px solid #ffffff24;min-width:0}
.result-participant-summary-35{display:flex;justify-content:flex-end;min-height:20px;color:#a9adab;font-size:12px;font-variant-numeric:tabular-nums}
.result-participant-scroll-35{max-height:144px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.result-participant-roster-35 table{width:100%;border-collapse:collapse;table-layout:fixed;background:transparent}
.result-participant-roster-35 tr,.result-participant-roster-35 td{background:transparent!important}
.result-participant-roster-35 td{padding:6px 4px;border:0;vertical-align:middle;text-align:left;font-size:14px;font-weight:700;overflow-wrap:anywhere}
.result-participant-roster-35 td:first-child{width:34%;padding-left:0}
.result-member-name-35{display:inline-block;max-width:100%;padding:3px 6px;border-radius:7px;font-weight:700;line-height:1.45;overflow-wrap:anywhere}
.result-member-name-35.is-present{background:var(--accent,#00cdb2);color:#101615}
.result-member-name-35.is-absent{color:#777d7b;background:#303332}
@media(prefers-reduced-motion:no-preference){.result-member-name-35{transition:background-color .16s ease,color .16s ease}}

.result-participant-summary-35>span{display:inline-flex;align-items:center;gap:5px}
.result-participant-summary-35 .team-header-glyph,.result-participant-summary-35 svg{display:block;width:18px;height:18px}

/*132R02: keep shared roster colors independent of legacy table hover/zebra rules. */
html body .result-participant-roster-35 [data-attendance-state]{background:transparent!important;color:#f2f2f2!important}
html body .result-participant-roster-35 [data-attendance-state=present]{color:var(--accent,#00cdb2)!important}
html body .result-participant-roster-35 [data-attendance-state=absent]{color:#777d7b!important}
html body.viewer-body #match-dialog .result-participant-roster-35 td{background:transparent!important;color:#f2f2f2!important}
html body.viewer-body #match-dialog.viewer-dialog{width:min(1040px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important}
html body .result-participant-scroll-35{max-height:min(38dvh,320px)}
