/* Assessment results */
.assess-results { scroll-margin-top: 20px; }
.assess-results .bg-wrapper { padding: 70px 0 80px; }

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.assess-results .org { display: flex; align-items: center; gap: 20px; min-width: 0; }
.assess-results .org img,
.assess-results .org .mono {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #fff;
  object-fit: contain;
  padding: 10px;
  flex: none;
  box-shadow: 0 10px 30px -12px rgba(20, 18, 63, 0.25);
}
.assess-results .org .mono {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--m-blue);
}
.assess-results .eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--m-blue);
}
.assess-results .org h2 { font-size: 44px; line-height: 1.1; margin: 2px 0 4px; }
.assess-results .org p { margin: 0; font-size: 17px; color: rgba(0, 0, 0, 0.55); display: flex; align-items: center; gap: 10px; }
.assess-results .org .sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.shimmer-text {
  background: linear-gradient(90deg, #14123f 30%, #9c99ff 50%, #14123f 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: m-shimmer 1.6s linear infinite;
}
.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(20, 18, 63, 0.18);
  background: #fff;
  color: var(--m-navy);
  border-radius: 40px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.ghost-btn:hover { border-color: var(--m-blue); color: var(--m-blue); }

/* Stat strip */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--m-navy);
  background: linear-gradient(120deg, #17145c, #14123f 60%, #1f1b8a);
  border-radius: 24px;
  margin-bottom: 30px;
  overflow: hidden;
}
.stat { padding: 24px 28px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 40px; line-height: 1.1; font-weight: 600; color: #fff; }
.stat span { font-size: 15px; color: rgba(255, 255, 255, 0.65); }
.stat-skel {
  display: block;
  width: 56px;
  height: 36px;
  margin: 4px 0 4px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  background-size: 200% 100%;
  animation: m-shimmer 1.4s linear infinite;
}

/* Cards */
.result-card {
  background: #fff;
  border-radius: 26px;
  padding: 30px 32px;
  box-shadow: 0 1px 0 rgba(20, 18, 63, 0.04), 0 20px 40px -30px rgba(20, 18, 63, 0.35);
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.result-card h4 { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; margin: 0; }
.result-card h4 .bi {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 16px;
  color: var(--m-blue);
  background: #eeeeff;
}
.result-card .muted { color: rgba(0, 0, 0, 0.5); font-size: 16px; }
.result-card .small { font-size: 14px; }
.result-card .tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  padding: 3px 12px;
  background: #eef0fb;
  color: var(--m-navy);
  white-space: nowrap;
}
.result-card .tag.good { background: #e3f6ea; color: #1d6b3a; }
.result-card .tag.warn { background: #fff1dc; color: #8a5300; }
.result-card .tag.bad { background: #fde7e8; color: #a61b22; }
.sub-head {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
  margin: 22px 0 6px;
  padding-top: 18px;
  border-top: 1px solid #ececf6;
}

.skeleton { display: grid; gap: 12px; padding: 6px 0; }
.skeleton span {
  display: block;
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f0f0f8, #e2e2f2, #f0f0f8);
  background-size: 200% 100%;
  animation: m-shimmer 1.4s linear infinite;
}
@keyframes m-shimmer { to { background-position: -200% 0; } }

/* Locations */
.state-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.state-pills span {
  font-size: 13px;
  font-weight: 600;
  color: var(--m-navy);
  background: #f2f2fb;
  border-radius: 20px;
  padding: 3px 10px;
}
.state-pills b { color: var(--m-blue); margin-left: 2px; }
.loc-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.map-wrap {
  position: relative;
  background: radial-gradient(80% 80% at 50% 40%, #f4f4ff, #fafaff);
  border: 1px solid #ececf6;
  border-radius: 20px;
  padding: 14px;
}
.map-note {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  font-size: 13px;
  color: var(--m-blue);
  background: #fff;
  border-radius: 20px;
  padding: 4px 12px;
  box-shadow: 0 6px 16px -8px rgba(20, 18, 63, 0.3);
  white-space: nowrap;
}
.us-map { display: block; width: 100%; height: auto; }
.us-map .states path { fill: #e4e4f3; transition: fill 0.4s; }
.us-map .states path.on { fill: #c9c7ff; }
.us-map .borders { fill: none; stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.us-map .nation { fill: none; stroke: #c9c9e3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.us-map .pin { fill: var(--m-blue); stroke: #fff; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.us-map .pulse {
  fill: var(--m-blue);
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: m-pulse 2.4s ease-out infinite;
}
.us-map.is-loading .states path { animation: m-breathe 1.6s ease-in-out infinite; }
@keyframes m-pulse {
  0% { transform: scale(0.4); opacity: 0.45; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes m-breathe { 50% { fill: #ededf8; } }

.loc-list { max-height: 330px; overflow-y: auto; padding-right: 6px; }
.loc-list ul li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #f0f0f7;
}
.loc-list ul li:first-child { border-top: 0; padding-top: 2px; }
.loc-list strong { display: block; font-size: 16px; color: var(--m-navy); line-height: 1.3; }
.loc-list li span { display: block; font-size: 14px; color: rgba(0, 0, 0, 0.5); line-height: 1.4; }
.loc-list li .times { color: var(--m-blue); }
.loc-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  flex: none;
  background: var(--m-blue);
  box-shadow: 0 0 0 3px #e6e5ff;
}
.loc-dot.off { background: #c9c9e3; box-shadow: 0 0 0 3px #f0f0f7; }

/* Checks */
.checks { display: grid; gap: 14px; }
.check { display: flex; gap: 14px; }
.check-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  font-size: 15px;
}
.check.good .check-icon { background: #e3f6ea; color: #1d6b3a; }
.check.warn .check-icon { background: #fff1dc; color: #8a5300; }
.check.bad .check-icon { background: #fde7e8; color: #a61b22; }
.check > div { flex: 1; min-width: 0; }
.check-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.check-head strong { font-size: 16px; color: var(--m-navy); }
.check p { margin: 3px 0 0; font-size: 14px; line-height: 1.45; color: rgba(0, 0, 0, 0.55); }

/* Apps */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.app-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: #fbfbfe;
  border: 1px solid #e6e6f2;
  border-radius: 16px;
  padding: 12px 40px 12px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--m-navy);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.app-chip:hover { border-color: #b9b7ff; transform: translateY(-1px); }
.app-chip .app-name { line-height: 1.25; }
.app-chip .found {
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--m-blue);
  border-radius: 10px;
  padding: 1px 8px;
}
.app-chip .pick {
  position: absolute;
  right: 14px;
  font-size: 18px;
  color: #d9d9ea;
  transition: color 0.2s;
}
.app-chip[aria-pressed="true"] { background: #fff; border-color: var(--m-blue); box-shadow: 0 0 0 1px var(--m-blue) inset; }
.app-chip[aria-pressed="true"] .pick { color: var(--m-blue); }
.app-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
  flex: none;
  background: #fff;
}
.app-logo.mono {
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--m-blue);
  background: #eeeeff;
}

.stack-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #f0f0f7;
}
.stack-list li:first-child { border-top: 0; padding-top: 0; }
.stack-main { flex: 1; min-width: 0; }
.stack-main strong { display: block; font-size: 16px; color: var(--m-navy); }
.stack-main span { display: block; font-size: 14px; color: rgba(0, 0, 0, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.links-note { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: #f5f5ff; }
.links-note p { margin: 0; font-size: 14px; color: var(--m-navy); display: flex; gap: 8px; align-items: baseline; }
.links-note p + p { margin-top: 6px; }
.links-note .bi { color: var(--m-blue); }

.overlap-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fafaff;
  border: 1px solid #f0f0f7;
}
.overlap-list li + li { margin-top: 8px; }
.overlap-list .job { font-size: 15px; font-weight: 500; color: var(--m-navy); }
.overlap-list .logos { display: flex; flex: none; }
.overlap-list .logos > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #fafaff;
  box-shadow: 0 2px 6px rgba(20, 18, 63, 0.12);
  margin-left: -8px;
}
.overlap-list .logos .app-logo { width: 22px; height: 22px; border-radius: 6px; }

/* Next step */
.next-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border-radius: 26px;
  padding: 36px 40px;
  color: #fff;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(76, 72, 255, 0.6), transparent 70%),
    linear-gradient(140deg, #1b1863, #0f0d3d);
}
.next-card h3 { color: #fff; font-size: 30px; margin: 0 0 8px; }
.next-card p { margin: 0; max-width: 620px; color: rgba(255, 255, 255, 0.75); font-size: 17px; }
.next-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.next-actions .btn-twenty { display: inline-flex; align-items: center; gap: 10px; }
.next-actions .btn-twenty.disabled { opacity: 0.5; pointer-events: none; }
.next-actions .text-link { color: #c9c7ff; font-weight: 500; border-bottom: 1px solid rgba(201, 199, 255, 0.4); }
.next-actions .text-link:hover { color: #fff; }

/* Benefits under "What changes" */
.benefit-list { display: grid; gap: 12px; }
.benefit-list li { display: flex; gap: 12px; align-items: center; font-size: 18px; color: var(--m-navy); }
.benefit-list .bi { font-size: 22px; color: #14123f; }

/* New assessment styles */
.assessment-form input,
.assessment-form select,
.instant-insight-form input,
.instant-insight-form select {
  height: 56px;
  padding: 0 16px;
  border: 1px solid #dcdcec;
  border-radius: 10px;
  font-size: 17px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.assessment-form input:focus,
.assessment-form select:focus,
.instant-insight-form input:focus,
.instant-insight-form select:focus {
  outline: 0;
  border-color: var(--m-blue);
  box-shadow: 0 0 0 4px rgba(47, 43, 255, 0.12);
}

.tool-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tool-btn {
  padding: 12px 20px;
  border: 2px solid #dcdcec;
  border-radius: 30px;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  color: #14123f;
  cursor: pointer;
  transition: all 0.2s;
}

.tool-btn:hover {
  border-color: var(--m-blue);
  background: rgba(47, 43, 255, 0.05);
}

.tool-btn.selected {
  border-color: var(--m-blue);
  background: var(--m-blue);
  color: #fff;
}

.answer-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  margin-bottom: 16px;
  border: 2px solid #e5e5f0;
  border-radius: 16px;
  background: #fff;
  font-size: 18px;
  font-weight: 500;
  color: #14123f;
  cursor: pointer;
  transition: all 0.2s;
}

.answer-btn:hover {
  border-color: var(--m-blue);
  background: rgba(47, 43, 255, 0.03);
  transform: translateX(4px);
}

.answer-btn.na-btn {
  border-style: dashed;
  color: #666;
}

.progress-fill {
  background: var(--m-blue);
  height: 8px;
  border-radius: 8px;
  transition: width 0.3s;
}

@media (max-width: 1199px) {
  .loc-layout { grid-template-columns: 1fr; }
  .loc-list { max-height: none; }
}
@media (max-width: 767px) {
  .assess-results .bg-wrapper { padding: 40px 0 50px; }
  .assess-results .org img,
  .assess-results .org .mono { width: 58px; height: 58px; border-radius: 16px; }
  .assess-results .org h2 { font-size: 28px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 20px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .stat strong { font-size: 30px; }
  .result-card { padding: 24px 20px; border-radius: 22px; }
  .app-grid { grid-template-columns: 1fr 1fr; }
  .next-card { padding: 28px 24px; }
  .next-card h3 { font-size: 24px; }
  .assessment-form,
  .instant-insight-form { padding: 30px 20px !important; }
  .tool-buttons { gap: 8px; }
  .tool-btn { padding: 10px 16px; font-size: 15px; }
  .answer-btn { padding: 16px 20px; font-size: 16px; }
}
