#cc-prediction-box table{
  width:100%;
  border-collapse:collapse;
}

#cc-prediction-box th,
#cc-prediction-box td{
  padding:8px 10px;
  text-align:center;
  border:1px solid var(--cc-border);
}

.cc-prediction-program-filter{
  margin-top:18px;
}

.cc-prediction-mock-chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.cc-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  border:1px solid var(--cc-border);
  background:#f8fafc;
}

.cc-chip--muted{
  background:#f3f4f6;
  color:#374151;
}

.cc-chip--m{
  background:#eef2ff;
  border-color:#c7d2fe;
  color:#3730a3;
}

.cc-chip--s{
  background:#ecfeff;
  border-color:#a5f3fc;
  color:#155e75;
}

.cc-chip--c{
  background:#fef3c7;
  border-color:#fde68a;
  color:#92400e;
}

.cc-prediction-mock-points{
  border:1px solid var(--cc-border);
  border-radius:12px;
  padding:12px;
  background:#f8fafc;
}

.cc-prediction-mock-points__row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px;
}

.cc-prediction-mock-points__label{
  color:#6b7280;
  font-size:13px;
}

.cc-prediction-mock-points__divider{
  height:1px;
  background:#e5e7eb;
  margin:8px 0;
}

.cc-prediction-mock-points__formula{
  font-weight:700;
  text-align:right;
}

#cc-top-programs-table table{
  width:100%;
  border-collapse:collapse;
}

#cc-top-programs-table th,
#cc-top-programs-table td{
  padding:8px 10px;
  border:1px solid var(--cc-border);
  text-align:center;
}

.cc-favorite-btn{
  width:34px;
  height:34px;
  min-width:34px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid #111827;
  background:#fff;
  color:#111827;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  font-weight:700;
  transition:background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}

.cc-favorite-btn:hover{
  background:#111827;
  color:#fff;
  border-color:#111827;
}

.cc-favorite-btn.is-active{
  background:#111827;
  color:#fff;
  border-color:#111827;
}

.cc-favorite-btn.is-active:hover{
  background:#fff;
  color:#111827;
}

.cc-favorite-preview-btn{
  height:34px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid #111827;
  background:#111827;
  color:#fff;
  cursor:pointer;
  font-size:13px;
  font-weight:700;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}

.cc-favorite-btn:focus,
.cc-favorite-btn:active{
  outline:none;
  box-shadow:none;
}

.cc-favorite-preview-btn:hover{
  background:#fff;
  color:#111827;
  border-color:#111827;
}

.cc-favorite-preview-btn:disabled{
  background:#e5e7eb;
  color:#9ca3af;
  border-color:#d1d5db;
  cursor:not-allowed;
}

#cc-top-programs-table table{
  width:100%;
  border-collapse:collapse;
}

#cc-top-programs-table th,
#cc-top-programs-table td{
  padding:8px 10px;
  border:1px solid var(--cc-border);
  text-align:center;
}

.cc-top-programs-vertical-scroll{
  max-height:320px;
  overflow-y:auto;
  overflow-x:hidden;
  border:1px solid var(--cc-border);
  border-radius:12px;
  background:#fff;
}

.cc-top-programs-vertical-scroll table{
  width:100%;
  border-collapse:collapse;
  margin-top:0;
}

.cc-top-programs-vertical-scroll thead th{
  position:sticky;
  top:0;
  z-index:1;
  background:#f3f4f6;
}

.cc-top-programs-vertical-scroll th,
.cc-top-programs-vertical-scroll td{
  padding:8px 10px;
  text-align:left;
  vertical-align:middle;
  border:1px solid var(--cc-border);
  font-size:14px;
}

.cc-top-programs-vertical-scroll::-webkit-scrollbar{
  width:8px;
}

.cc-top-programs-vertical-scroll::-webkit-scrollbar-thumb{
  background:#d1d5db;
  border-radius:6px;
}


@media (max-width:900px){

  .cc-prediction-mock-chips{
    flex-direction:column;
    align-items:flex-start;
  }

  .cc-prediction-mock-points__row{
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
  }

  .cc-prediction-mock-points__formula{
    text-align:left;
  }
}

/* 1 */

#cc-prediction-auto td.cc-prediction-cell--expected,
#cc-prediction-auto thead th:nth-child(3){
  background:#f8fafc;
  box-shadow:inset 2px 0 0 #cbd5e1, inset -2px 0 0 #cbd5e1;
}

#cc-prediction-auto thead th:nth-child(3){
  border-top:2px solid #cbd5e1;
}

#cc-prediction-auto #cc-prediction-table-body tr:last-child td.cc-prediction-cell--expected,
#cc-prediction-auto #cc-prediction-table-body tr:last-child td:nth-child(3){
  border-bottom:2px solid #cbd5e1;
}

#cc-prediction-auto.cc-prediction-auto--improved td.cc-prediction-cell--expected,
#cc-prediction-auto.cc-prediction-auto--improved thead th:nth-child(3){
  background:#f0fdf4;
  box-shadow:inset 2px 0 0 #86efac, inset -2px 0 0 #86efac;
}

#cc-prediction-auto.cc-prediction-auto--improved thead th:nth-child(3){
  border-top:2px solid #86efac;
}

#cc-prediction-auto.cc-prediction-auto--improved #cc-prediction-table-body tr:last-child td.cc-prediction-cell--expected,
#cc-prediction-auto.cc-prediction-auto--improved #cc-prediction-table-body tr:last-child td:nth-child(3){
  border-bottom:2px solid #86efac;
}
/* 2 */

.cc-prediction-cell--m{
  color:#3730a3;
  font-weight:800;
}

.cc-prediction-cell--s{
  color:#155e75;
  font-weight:800;
}

.cc-prediction-cell--c{
  color:#92400e;
  font-weight:800;
}

.cc-prediction-points-row td{
  background:#fafafa;
  font-weight:800;
}

/* 3*/

.cc-prediction-mock-chips--rich{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.cc-chip--points{
  background:#eef6ff;
  border-color:#bfdbfe;
  color:#1e3a8a;
}

.cc-chip--total{
  background:#ecfdf5;
  border-color:#a7f3d0;
  color:#065f46;
}

.cc-chip--operator{
  background:transparent;
  border:none;
  padding:0 2px;
  font-size:18px;
  font-weight:900;
  color:#475569;
}

/* 4 */

.cc-prediction-total-note{
  margin-top:8px;
  font-size:22px;
  font-weight:800;
  line-height:1.35;
  color:var(--cc-text);
}

.cc-prediction-total-note strong{
  font-weight:900;
}

/* 5*/
.cc-prediction-mock-points{
  display:none;
}

@media (max-width:900px){
  .cc-prediction-mock-chips--rich{
    align-items:flex-start;
  }

  .cc-chip--operator{
    display:inline-flex;
  }

  .cc-prediction-total-note{
    font-size:18px;
  }
}

.cc-chip--text{
  background:transparent;
  border:none;
  padding:0 4px;
  font-weight:600;
  color:#374151;
}

.cc-prediction-header-row{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  flex-wrap:wrap;
}

.cc-prediction-points-badges{
  display:flex;
  align-items:center;
}

.cc-prediction-badge-improved{
  background:#dcfce7;
  border:1px solid #bbf7d0;
  color:#166534;
}

.cc-top-programs-header-row{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  flex-wrap:wrap;
}

.cc-top-programs-header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin-left:auto;
  flex:0 0 auto;
}

#cc-prediction-header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin-left:auto;
  flex:0 0 auto;
}

.cc-prediction-mode-toggle{
  height:36px;
  padding:0 12px;
  font-size:13px;
  flex:0 0 auto;
}

.cc-prediction-mode-toggle:disabled{
  background:#e5e7eb !important;
  color:#6b7280 !important;
  border-color:#d1d5db !important;
  box-shadow:none !important;
  cursor:not-allowed !important;
  filter:none !important;
}

@media (max-width:900px){
  .cc-prediction-header-row{
    align-items:flex-start;
    flex-direction:column;
  }

  #cc-prediction-header-actions{
    width:100%;
    justify-content:flex-start;
    margin-left:0;
  }

    .cc-top-programs-header-row{
    align-items:flex-start;
    flex-direction:column;
  }

  .cc-top-programs-header-actions{
    width:100%;
    justify-content:flex-start;
    margin-left:0;
  }
}
.cc-prediction-mode-toggle:disabled{
  background:#e5e7eb !important;
  color:#6b7280 !important;
  border-color:#d1d5db !important;
  box-shadow:none !important;
  cursor:not-allowed !important;
  filter:none !important;
}

.cc-prediction-mode-toggle.is-active{
  background:#111827;
  color:#fff;
  border-color:#111827;
}

.cc-prediction-mode-toggle.is-active:hover{
  background:#fff;
  color:#111827;
  border-color:#111827;
}

.cc-prediction-mode-toggle.is-active{
  background:#111827;
  color:#fff;
  border-color:#111827;
}

.cc-app .cc-prediction-mode-toggle.is-active:hover,
.cc-app .cc-prediction-mode-toggle.is-active:focus:hover,
.cc-app .cc-prediction-mode-toggle.is-active:focus-visible:hover,
.cc-app .cc-prediction-mode-toggle.is-active:active:hover{
  background:#fff !important;
  color:#111827 !important;
  border-color:#111827 !important;
}

.cc-app .cc-prediction-mode-toggle.is-active:focus,
.cc-app .cc-prediction-mode-toggle.is-active:focus-visible,
.cc-app .cc-prediction-mode-toggle.is-active:active{
  box-shadow:none !important;
  outline:none !important;
}

.cc-app #cc-prediction-mode-toggle.is-active:hover,
.cc-app #cc-prediction-mode-toggle.is-active:focus:hover,
.cc-app #cc-prediction-mode-toggle.is-active:focus-visible:hover,
.cc-app #cc-prediction-mode-toggle.is-active:active:hover{
  background:#fff !important;
  color:#111827 !important;
  border-color:#111827 !important;
}

.cc-app #cc-prediction-mode-toggle:not(:disabled):hover,
.cc-app #cc-prediction-mode-toggle:not(:disabled):focus:hover,
.cc-app #cc-prediction-mode-toggle:not(:disabled):focus-visible:hover,
.cc-app #cc-prediction-mode-toggle:not(:disabled):active:hover{
  background:#fff !important;
  color:#111827 !important;
  border-color:#111827 !important;
}