/* ============================================================
   Platform Split Calculator
   Used by /blog/indeed-vs-linkedin. Self-contained, no JS required
   to read the questions or the weights: the form itself is the
   visible, crawlable decision table and the script reads its weights
   from the data-in / data-li attributes on each option.
   ============================================================ */

.psc {
  border: 1px solid rgba(19, 99, 198, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, #f6faff 0%, #ffffff 60%);
  padding: 24px 24px 20px;
  margin: 8px 0 28px;
}

.psc-intro {
  font-size: 15px;
  color: #4b6590;
  margin: 0 0 18px;
  line-height: 1.55;
}

.psc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.psc-q {
  border: 1px solid #e3ebf5;
  border-radius: 10px;
  background: #ffffff;
  padding: 14px 16px;
}

.psc-q-title {
  font-size: 14px;
  font-weight: 700;
  color: #102444;
  margin: 0 0 10px;
  line-height: 1.35;
}

.psc-opt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #33507c;
  line-height: 1.45;
  margin-bottom: 7px;
  cursor: pointer;
}

.psc-opt:last-child {
  margin-bottom: 0;
}

.psc-opt input {
  margin-top: 3px;
  flex-shrink: 0;
}

.psc-opt-text {
  flex: 1;
  min-width: 0;
}

.psc-w {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 5px;
  padding: 1px 6px;
  margin-left: 4px;
  white-space: nowrap;
}

.psc-w-in {
  background: #e8f1fd;
  color: #14509b;
}

.psc-w-li {
  background: #eef4ea;
  color: #3d6b2e;
}

.psc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.psc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue, #1363c6);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 11px 22px;
  font-weight: 650;
  font-size: 15px;
  cursor: pointer;
}

.psc-btn:hover {
  background: var(--blue-light, #2b7ce0);
  color: #ffffff;
}

.psc-reset {
  background: none;
  border: none;
  color: #4b6590;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.psc-manual {
  font-size: 13px;
  color: #5b7397;
  margin: 14px 0 0;
  line-height: 1.5;
}

.psc-result {
  margin-top: 18px;
  border: 1px solid rgba(19, 99, 198, 0.22);
  border-radius: 12px;
  background: #ffffff;
  padding: 18px 20px;
}

.psc-result[hidden] {
  display: none;
}

.psc-split {
  font-size: 22px;
  font-weight: 750;
  color: #102444;
  margin: 0 0 12px;
  line-height: 1.3;
}

.psc-bar {
  display: flex;
  height: 16px;
  border-radius: 8px;
  overflow: hidden;
  background: #e3ebf5;
  margin-bottom: 14px;
}

.psc-bar-in {
  background: #1363c6;
}

.psc-bar-li {
  background: #5f8f45;
}

.psc-hours {
  font-size: 15px;
  color: #33507c;
  margin: 0 0 12px;
  line-height: 1.55;
}

.psc-next-title {
  font-size: 14px;
  font-weight: 700;
  color: #102444;
  margin: 0 0 6px;
}

.psc-next {
  margin: 0 0 12px;
  padding-left: 20px;
  font-size: 14px;
  color: #33507c;
  line-height: 1.55;
}

.psc-next li {
  margin-bottom: 5px;
}

.psc-first {
  font-size: 14px;
  color: #102444;
  background: #f0f6ff;
  border-left: 3px solid #1363c6;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .psc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .psc {
    padding: 18px 16px 16px;
  }

  .psc-btn {
    width: 100%;
  }
}
