/* Daily pair-span workbench. Keep tables scrollable inside a narrow viewport. */
#twoDigitAnalysisWorkbench { min-width: 0; }
#twoDigitAnalysisWorkbench h2 { margin: 0 0 10px; }
#twoDigitAnalysisWorkbench h3 { margin: 0; color: #213952; font-size: 16px; }
#twoDigitAnalysisWorkbench .td2-note, #twoDigitAnalysisWorkbench .td2-coverage { margin: 10px 0; color: #607087; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
#twoDigitAnalysisWorkbench .td2-coverage { padding: 10px 12px; border-radius: 9px; background: #f4f7fa; }
#twoDigitAnalysisWorkbench .td2-coverage:empty { display: none; }
#twoDigitAnalysisWorkbench .td2-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
#twoDigitAnalysisWorkbench label { display: flex; flex-direction: column; gap: 5px; min-width: 150px; color: #475569; font-size: 12px; }
#twoDigitAnalysisWorkbench input, #twoDigitAnalysisWorkbench button { box-sizing: border-box; min-height: 38px; max-width: 100%; padding: 7px 10px; border: 1px solid #dce2ea; border-radius: 8px; background: #fff; color: #25364a; font: inherit; }
#twoDigitAnalysisWorkbench input { width: 160px; }
#twoDigitAnalysisWorkbench button { cursor: pointer; }
#twoDigitAnalysisWorkbench button:disabled { cursor: default; opacity: .45; }
#twoDigitAnalysisWorkbench button:focus-visible { outline: 2px solid #0785b6; outline-offset: 2px; }
#twoDigitAnalysisWorkbench button[data-td2="apply"], #twoDigitAnalysisWorkbench button[aria-pressed="true"] { border-color: #243d59; background: #243d59; color: #fff; }
#twoDigitAnalysisWorkbench .td2-status { margin: 10px 0; color: #12688e; font-size: 12px; }
#twoDigitAnalysisWorkbench .td2-status[data-error="true"] { color: #b42318; }
#twoDigitAnalysisWorkbench .td2-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 14px 0; }
#twoDigitAnalysisWorkbench .td2-fact { min-width: 0; padding: 12px; border: 1px solid #e0e6ec; border-radius: 10px; background: #fafcfe; color: #52657b; font-size: 12px; line-height: 1.6; }
#twoDigitAnalysisWorkbench .td2-fact span, #twoDigitAnalysisWorkbench .td2-fact small { display: block; }
#twoDigitAnalysisWorkbench .td2-fact strong { display: block; overflow-wrap: anywhere; color: #213952; font-size: 22px; font-variant-numeric: tabular-nums; }
#twoDigitAnalysisWorkbench .td2-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
#twoDigitAnalysisWorkbench .td2-heading button, #twoDigitAnalysisWorkbench .td2-filter button { font-size: 12px; }
#twoDigitAnalysisWorkbench .td2-muted { color: #607087; font-size: 12px; }
#twoDigitAnalysisWorkbench .td2-span-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
#twoDigitAnalysisWorkbench .td2-span { text-align: left; min-width: 0; padding: 12px; }
#twoDigitAnalysisWorkbench .td2-span span, #twoDigitAnalysisWorkbench .td2-span small { display: block; line-height: 1.65; }
#twoDigitAnalysisWorkbench .td2-span span { font-size: 14px; font-weight: 700; }
#twoDigitAnalysisWorkbench .td2-span strong { display: block; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
#twoDigitAnalysisWorkbench .td2-span small { font-size: 11px; color: #607087; }
#twoDigitAnalysisWorkbench .td2-span[aria-pressed="true"] small { color: #d1e1ee; }
#twoDigitAnalysisWorkbench .td2-table-wrap { box-sizing: border-box; max-width: 100%; width: 100%; overflow: auto; border: 1px solid #e3e8ef; border-radius: 10px; }
#twoDigitAnalysisWorkbench table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
#twoDigitAnalysisWorkbench .td2-rank-table { min-width: 560px; }
#twoDigitAnalysisWorkbench .td2-detail-table { min-width: 800px; }
#twoDigitAnalysisWorkbench th, #twoDigitAnalysisWorkbench td { padding: 10px 9px; border-bottom: 1px solid #e6ebf1; text-align: left; vertical-align: middle; white-space: nowrap; }
#twoDigitAnalysisWorkbench th { background: #f6f8fb; color: #475a70; }
#twoDigitAnalysisWorkbench td small { display: block; margin-top: 3px; color: #718096; font-size: 10px; }
#twoDigitAnalysisWorkbench .td2-pair { min-width: 46px; padding: 4px 8px; border-color: #d6e5ef; background: #eef7fb; color: #0d5f83; font-size: 17px; font-weight: 800; letter-spacing: .08em; }
#twoDigitAnalysisWorkbench .td2-selected-row { background: #eff7fc; }
#twoDigitAnalysisWorkbench .td2-code { color: #253b53; font-size: 17px; letter-spacing: .08em; }
#twoDigitAnalysisWorkbench .td2-draw-pair { font-weight: 700; letter-spacing: .06em; font-size: 16px; }
#twoDigitAnalysisWorkbench .td2-matched { color: #b42318; }
#twoDigitAnalysisWorkbench .td2-empty { padding: 24px; text-align: center; color: #64748b; }
#twoDigitAnalysisWorkbench .td2-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; font-size: 13px; color: #52657b; }
#twoDigitAnalysisWorkbench .td2-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: #52657b; font-size: 12px; }
@media (max-width: 900px) { #twoDigitAnalysisWorkbench .td2-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { #twoDigitAnalysisWorkbench .td2-span-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } #twoDigitAnalysisWorkbench .td2-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } #twoDigitAnalysisWorkbench .td2-controls label { grid-column: 1 / -1; } #twoDigitAnalysisWorkbench .td2-controls label, #twoDigitAnalysisWorkbench .td2-controls button, #twoDigitAnalysisWorkbench input { width: 100%; min-width: 0; } #twoDigitAnalysisWorkbench .td2-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } #twoDigitAnalysisWorkbench .td2-fact { padding: 9px; } #twoDigitAnalysisWorkbench .td2-fact strong { font-size: 18px; } }
