
.c4-page{
  width:min(1460px,calc(100% - 48px));
  margin:0 auto;
  padding:42px 0 72px;
  color:#e9f4ff;
}

.c4-page *{
  box-sizing:border-box;
}


/* Header */

.topbar{
  min-height:74px;
  display:flex;
  align-items:center;
  gap:28px;
  padding:0 28px;
}

.topbar .brand{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:11px;
  min-width:210px;
  text-decoration:none;
}

.topbar .brand-mark-wrap{
  flex:0 0 42px;
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:11px;
}

.topbar .brand-mark{
  display:block;
  width:42px !important;
  height:42px !important;
  max-width:42px !important;
  object-fit:cover;
}

.topbar .brand>span:last-child{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}

.topbar .brand b{
  font-size:16px;
  white-space:nowrap;
}

.topbar .brand small{
  margin-top:4px;
  font-size:9px;
  white-space:nowrap;
}

.topbar .nav{
  flex:1 1 auto;
  display:flex;
  justify-content:center;
  min-width:0;
}

.topbar .worker-health{
  flex:0 0 auto;
  min-width:205px;
  max-width:220px;
  text-align:right;
}

.topbar .worker-health small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}


/* Shared panel */

.c4-landing-hero>div,
.c4-landing-hero>aside,
.c4-direct-hero>div,
.c4-direct-hero>aside,
.c4-controls,
.c4-match-card,
.c4-method,
.c4-provider-score,
.c4-winner-card,
.c4-status-grid article,
.c4-breakdown,
.c4-table-card{
  border:1px solid rgba(90,142,184,.24);
  background:
    linear-gradient(
      145deg,
      rgba(14,35,55,.94),
      rgba(7,20,34,.97)
    );
  box-shadow:
    0 22px 55px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.025);
}


.c4-kicker{
  margin-bottom:12px;
  color:#68e6e0;
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
}


/* Landing */

.c4-landing-hero,
.c4-direct-hero{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(310px,.7fr);
  gap:20px;
}

.c4-landing-hero>div,
.c4-direct-hero>div{
  position:relative;
  overflow:hidden;
  padding:46px;
  border-radius:22px;
}

.c4-landing-hero h1,
.c4-direct-hero h1{
  max-width:850px;
  margin:0;
  font-size:clamp(38px,4.6vw,66px);
  line-height:1.03;
  letter-spacing:-.045em;
}

.c4-landing-hero h1 span,
.c4-direct-hero h1 span{
  color:#75ebe5;
}

.c4-landing-hero>div>p,
.c4-direct-hero>div>p{
  max-width:830px;
  margin:22px 0 0;
  color:#a7bbcd;
  font-size:16px;
  line-height:1.7;
}

.c4-trust{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:28px;
}

.c4-trust span{
  padding:8px 11px;
  border:1px solid rgba(87,155,193,.22);
  border-radius:999px;
  background:#081927;
  color:#9eb4c6;
  font-size:11px;
}

.c4-landing-hero>aside,
.c4-direct-hero>aside{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:31px;
  border-radius:22px;
}

.c4-landing-hero>aside small{
  color:#65ddd7;
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
}

.c4-landing-hero>aside strong{
  margin-top:16px;
  font-size:22px;
  line-height:1.4;
}

.c4-landing-hero>aside p{
  margin:14px 0;
  color:#7f9aaf;
  font-size:12px;
  line-height:1.65;
}

.c4-landing-hero>aside a,
.c4-method .c4-section-head a{
  color:#6ee8e1;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
}


.c4-compare-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:14px;
  margin-top:18px;
}

.c4-match-card{
  display:block;
  min-height:260px;
  padding:25px;
  border-radius:17px;
  color:inherit;
  text-decoration:none;
  transition:.18s ease;
}

.c4-match-card:hover{
  transform:translateY(-2px);
  border-color:rgba(76,225,217,.45);
}

.c4-match-card.featured{
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(58,225,215,.12),
      transparent 43%
    ),
    linear-gradient(
      145deg,
      rgba(14,35,55,.97),
      rgba(7,20,34,.98)
    );
}

.c4-card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.c4-card-top span{
  color:#65e0da;
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
}

.c4-card-top strong{
  color:#63e9a7;
  font-size:9px;
}

.c4-vs-title{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:15px;
  margin-top:28px;
}

.c4-vs-title>div:last-child{
  text-align:right;
}

.c4-vs-title small{
  color:#718fa5;
}

.c4-vs-title h2{
  margin:4px 0 0;
  font-size:22px;
}

.c4-vs-title>b{
  color:#56ddd7;
  font-size:12px;
}

.c4-match-card>h2{
  margin:30px 0 0;
  font-size:22px;
}

.c4-match-card>p{
  margin:20px 0;
  color:#718da2;
  font-size:12px;
  line-height:1.65;
}

.c4-open{
  color:#6ce8e1;
  font-size:11px;
  font-weight:800;
}


/* controls */

.c4-controls{
  display:grid;
  grid-template-columns:
    minmax(220px,1.35fr)
    repeat(3,minmax(150px,.72fr))
    auto;
  gap:12px;
  align-items:end;
  margin-top:20px;
  padding:18px;
  border-radius:16px;
}

.c4-control{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.c4-control label{
  color:#86a0b6;
  font-size:11px;
  font-weight:700;
}

.c4-control small{
  color:#58728a;
  font-size:10px;
}

.c4-control select{
  min-height:44px;
  padding:0 38px 0 13px;
  border:1px solid #1f3d56;
  border-radius:9px;
  outline:none;
  background:#071724;
  color:#e5f2fc;
  font:inherit;
}

.c4-control select:focus{
  border-color:#39dcd6;
  box-shadow:0 0 0 3px rgba(57,220,214,.08);
}

.c4-update{
  min-height:44px;
  padding:0 19px;
  border:1px solid rgba(67,230,221,.5);
  border-radius:9px;
  background:linear-gradient(180deg,#153e54,#102f43);
  color:#c8fffb;
  font-weight:800;
  cursor:pointer;
}

.c4-update:disabled{
  opacity:.6;
  cursor:wait;
}

.c4-warning{
  margin-top:14px;
  padding:14px 16px;
  border:1px solid rgba(255,179,71,.35);
  border-radius:11px;
  background:rgba(106,65,16,.22);
  color:#ffd99d;
}


/* direct hero */

.c4-live{
  display:flex;
  align-items:center;
  gap:8px;
  color:#6e8ca3;
  font-size:10px;
  font-weight:800;
  letter-spacing:.11em;
}

.c4-live i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#38e598;
  box-shadow:0 0 12px rgba(56,229,152,.65);
}

.c4-direct-hero>aside>strong{
  margin-top:23px;
  color:#76ebe4;
  font-size:30px;
  line-height:1.15;
}

.c4-direct-hero>aside>span{
  margin-top:10px;
  color:#8ca5b9;
  font-size:12px;
  line-height:1.5;
}

.c4-hero-h2h{
  margin-top:24px;
  padding:13px;
  border:1px solid #19364a;
  border-radius:10px;
  background:#071724;
  color:#a9becd;
  font-size:11px;
}


/* scores */

.c4-score-grid{
  display:grid;
  grid-template-columns:1fr .75fr 1fr;
  gap:13px;
  margin-top:17px;
}

.c4-provider-score,
.c4-winner-card{
  min-height:230px;
  padding:24px;
  border-radius:16px;
}

.c4-provider-score{
  position:relative;
  overflow:hidden;
}

.c4-provider-score:after{
  content:"";
  position:absolute;
  top:-90px;
  right:-90px;
  width:210px;
  height:210px;
  border-radius:50%;
  background:rgba(52,221,214,.07);
}

.c4-provider-label{
  color:#6ee6df;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}

.c4-provider-score h2{
  margin:10px 0 23px;
  font-size:20px;
}

.c4-provider-score>strong{
  display:block;
  color:#77eee7;
  font-size:46px;
  line-height:1;
  letter-spacing:-.05em;
}

.c4-provider-score>span{
  display:block;
  margin-top:6px;
  color:#69869d;
  font-size:10px;
}

.c4-provider-score p{
  margin:19px 0 0;
  color:#718da1;
  font-size:11px;
}

.c4-winner-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
}

.c4-winner-card>small{
  color:#718ba0;
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
}

.c4-winner-card>strong{
  margin-top:15px;
  font-size:25px;
}

.c4-winner-card>span{
  margin-top:8px;
  color:#7f99ad;
  font-size:10px;
  line-height:1.5;
}

.c4-h2h{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid #1a3549;
  color:#8ca7b9;
  font-size:10px;
}


/* status */

.c4-status-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1.3fr;
  gap:12px;
  margin-top:14px;
}

.c4-status-grid article{
  min-height:125px;
  padding:20px;
  border-radius:15px;
}

.c4-status-grid small{
  color:#7590a7;
  font-size:11px;
}

.c4-status-grid strong{
  display:block;
  margin:8px 0 7px;
  font-size:24px;
}

.c4-status-grid span{
  color:#607d94;
  font-size:10px;
  line-height:1.5;
}

.status-ready{
  color:#55eda0 !important;
}

.status-withheld{
  color:#ffc667 !important;
}


/* sections */

.c4-breakdown,
.c4-table-card,
.c4-method{
  margin-top:18px;
  padding:25px;
  border-radius:18px;
}

.c4-section-head{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-start;
  margin-bottom:21px;
}

.c4-section-head h2{
  margin:0;
  font-size:23px;
  letter-spacing:-.025em;
}

.c4-section-head p{
  max-width:760px;
  margin:8px 0 0;
  color:#7895aa;
  font-size:12px;
  line-height:1.6;
}

.c4-qc{
  padding:6px 9px;
  border:1px solid rgba(59,218,146,.25);
  border-radius:999px;
  background:rgba(29,119,77,.16);
  color:#63e9a4;
  font-size:9px;
  font-weight:800;
}


/* metrics */

.c4-metric-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:11px;
}

.c4-metric-grid>article{
  padding:17px;
  border:1px solid #19364a;
  border-radius:12px;
  background:#081927;
}

.c4-metric-grid>article>small{
  color:#6b879c;
  font-size:10px;
}

.c4-side-values{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin-top:14px;
}

.c4-side-values div{
  padding:10px;
  border:1px solid rgba(39,75,99,.65);
  border-radius:9px;
  background:#071724;
}

.c4-side-values span{
  display:block;
  color:#607c91;
  font-size:8px;
}

.c4-side-values strong{
  display:block;
  margin-top:5px;
  font-size:13px;
}


/* table */

.c4-table-scroll{
  overflow:auto;
}

.c4-table{
  width:100%;
  min-width:980px;
  border-collapse:collapse;
}

.c4-table th{
  padding:11px 12px;
  border-bottom:1px solid #1b374c;
  color:#6f8ca3;
  text-align:left;
  font-size:9px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.c4-table td{
  padding:15px 12px;
  border-bottom:1px solid rgba(37,66,86,.55);
  color:#adc0d0;
  font-size:12px;
}

.c4-table tbody tr:hover{
  background:rgba(25,66,89,.14);
}

.c4-table tbody tr.low-confidence{
  opacity:.58;
}

.c4-raw-note{
  display:block;
  margin-top:3px;
  color:#607c92;
  font-size:9px;
}

.c4-eligibility{
  display:inline-flex;
  padding:5px 8px;
  border-radius:999px;
  font-size:9px;
  font-weight:800;
}

.c4-eligibility.eligible{
  background:rgba(37,139,91,.17);
  color:#59e99f;
}

.c4-eligibility.collecting{
  background:rgba(161,112,26,.17);
  color:#ffd16c;
}

.c4-win{
  color:#6de8e1;
  font-weight:800;
}

.c4-empty{
  padding:28px !important;
  text-align:center !important;
  color:#708ba0 !important;
}


/* methodology */

.c4-method-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:20px;
}

.c4-method-grid article{
  padding:17px;
  border:1px solid #1a364b;
  border-radius:12px;
  background:#081927;
}

.c4-method-grid article>span{
  color:#51dcd7;
  font-size:10px;
  font-weight:900;
}

.c4-method-grid h3{
  margin:11px 0 7px;
  font-size:14px;
}

.c4-method-grid p{
  margin:0;
  color:#7692a7;
  font-size:11px;
  line-height:1.6;
}


@media(max-width:1100px){

  .topbar{
    gap:14px;
    padding-left:18px;
    padding-right:18px;
  }

  .topbar .brand{
    min-width:auto;
  }

  .topbar .brand small,
  .topbar .worker-health{
    display:none;
  }

  .c4-landing-hero,
  .c4-direct-hero{
    grid-template-columns:1fr;
  }

  .c4-compare-grid{
    grid-template-columns:1fr;
  }

  .c4-controls{
    grid-template-columns:1fr 1fr;
  }

  .c4-update{
    grid-column:1/-1;
  }

  .c4-metric-grid,
  .c4-method-grid{
    grid-template-columns:1fr 1fr;
  }

}


@media(max-width:720px){

  .c4-page{
    width:min(100% - 24px,1460px);
    padding-top:20px;
  }

  .c4-landing-hero>div,
  .c4-direct-hero>div{
    padding:27px 22px;
  }

  .c4-landing-hero h1,
  .c4-direct-hero h1{
    font-size:38px;
  }

  .c4-controls,
  .c4-score-grid,
  .c4-status-grid,
  .c4-metric-grid,
  .c4-method-grid{
    grid-template-columns:1fr;
  }

  .c4-update{
    grid-column:auto;
  }

  .c4-section-head{
    display:block;
  }

}

/* Compare worker header fix v5.0.1 */

#worker-health{
  position:static !important;
  display:grid !important;
  grid-template-columns:8px max-content !important;
  grid-template-areas:
    "dot state"
    ". time" !important;
  align-items:center !important;
  justify-content:end !important;
  column-gap:8px !important;
  row-gap:2px !important;

  min-width:225px !important;
  max-width:260px !important;
  height:auto !important;

  margin:0 !important;
  padding:0 !important;
  text-align:right !important;
}

#worker-health > i{
  grid-area:dot !important;
  position:static !important;
  display:block !important;
  width:8px !important;
  height:8px !important;
  margin:0 !important;
}

#worker-health > span{
  grid-area:state !important;
  position:static !important;
  display:block !important;
  margin:0 !important;

  white-space:nowrap !important;
  line-height:1.2 !important;
  font-size:11px !important;
}

#worker-health > small{
  grid-area:time !important;
  position:static !important;
  display:block !important;

  width:auto !important;
  max-width:none !important;
  margin:0 !important;

  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;

  color:#607d94 !important;
  font-size:9px !important;
  line-height:1.2 !important;
}

