/* UTEC English Live Scoring v1.1.034 — public Qualification result clarity.
   Isolated from Admin/Judge, tie handling, and provisional scores.
   A result class is added by public.js ONLY when selection.ready=true.
*/
body:has(.public-main) .qualification-summary.v1034-complete {
  display:flex;align-items:center;justify-content:space-between;gap:10px 22px;flex-wrap:wrap;
  padding:12px 16px;min-height:55px;
  background:linear-gradient(105deg,#eefbf5 0%,#e6f8f4 72%,#eaf6ff 100%);
  border-bottom:1px solid #c7ebdf;color:#083c39;
}
.v1034-summary-title{display:flex;align-items:center;flex-wrap:wrap;gap:9px 13px;font-size:13px;line-height:1.45;color:#173a44}
.v1034-summary-title strong{font-size:14px;font-weight:850;color:#11254f;white-space:nowrap}
.v1034-finish-icon{width:28px;height:28px;border-radius:9px;display:inline-grid;place-items:center;background:#d5f7e0;color:#078745;font-size:20px;font-weight:900}
.v1034-summary-sep{height:18px;width:1px;background:#8dbbb2;flex:none}
.v1034-summary-legend{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-left:auto}
.v1034-summary-legend>span{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:5px 13px;border-radius:99px;font-size:11px;font-weight:850;white-space:nowrap;border:1px solid transparent;box-shadow:0 1px 3px #0f376011}
.v1034-legend-pass{background:#daf7e6;color:#086c34;border-color:#a7e8c1!important}
.v1034-legend-fail{background:#ffe4e7;color:#a92337;border-color:#ffc4ce!important}
.v1034-legend-pass>span{color:#079440;font-size:14px}
.v1034-legend-fail>span{color:#e52343;font-size:14px}
/* Paint every cell, not the row: existing table style gives each TD its own background. */
body:has(.public-main) .leader-table.v173-leaderboard tbody tr.v1034-result-qualified>td,
body:has(.public-main) .leader-table.v173-leaderboard tbody tr.v1034-result-qualified:hover>td{
  background:#eafaf0!important;
}
body:has(.public-main) .leader-table.v173-leaderboard tbody tr.v1034-result-rejected>td,
body:has(.public-main) .leader-table.v173-leaderboard tbody tr.v1034-result-rejected:hover>td{
  background:#fff0f2!important;
}
body:has(.public-main) .leader-table.v173-leaderboard tbody tr.v1034-result-qualified>td:first-child{
  box-shadow:inset 6px 0 #0a9946;
}
body:has(.public-main) .leader-table.v173-leaderboard tbody tr.v1034-result-rejected>td:first-child{
  box-shadow:inset 6px 0 #e62748;
}
/* Keep the verdict readable in both text and colour, matching the approved preview. */
body:has(.public-main) .leader-table.v173-leaderboard .q40-status.v1034-badge-qualified,
body:has(.public-main) .leader-table.v173-leaderboard .q40-status.v1034-badge-rejected{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-width:145px;max-width:none;width:max-content;padding:7px 12px;
  white-space:nowrap;font-size:11px;line-height:1.2;font-weight:850;
}
body:has(.public-main) .leader-table.v173-leaderboard .q40-status.v1034-badge-qualified{
  background:linear-gradient(110deg,#068f38,#08782d);color:#fff;
  border:1px solid #087c30;box-shadow:0 2px 4px #006e2818;
}
body:has(.public-main) .leader-table.v173-leaderboard .q40-status.v1034-badge-rejected{
  background:#ffd8df;color:#b61731;
  border:1px solid #ffbfc9;
}
body:has(.public-main) .leader-table.v173-leaderboard .q40-status.v1034-badge-qualified::before,
body:has(.public-main) .leader-table.v173-leaderboard .q40-status.v1034-badge-rejected::before{display:none}
.v1034-verdict-icon{display:inline-grid;place-items:center;flex:none;line-height:1}
.v1034-badge-qualified .v1034-verdict-icon{font-size:14px}
.v1034-badge-rejected .v1034-verdict-icon{width:20px;height:20px;border-radius:50%;background:#ed2446;color:white;font-size:12px;font-weight:900}
@media(max-width:850px){
  .v1034-summary-title{gap:7px;font-size:11px}
  .v1034-summary-title strong{font-size:12px}
  .v1034-summary-legend{margin-left:0}
  body:has(.public-main) .leader-table.v173-leaderboard .q40-status.v1034-badge-qualified,
  body:has(.public-main) .leader-table.v173-leaderboard .q40-status.v1034-badge-rejected{font-size:10px;padding:6px 8px;min-width:128px}
}
@media(prefers-reduced-motion:reduce){body:has(.public-main) .leader-table.v173-leaderboard tbody tr.v1034-result-qualified>td,body:has(.public-main) .leader-table.v173-leaderboard tbody tr.v1034-result-rejected>td{transition:none}}
