/* The third column: the free security check. A white card like the first look beside it;
   the one dark block is the risk score. */

.rail {
  display: flex; flex-direction: column; min-height: 0; min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.rail__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 6px 18px 14px; }
.rail__kicker { margin: 10px 0 4px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }


/* ---------- Ready: what we'll check, by source ---------- */


/* ---------- Live: the feed writes itself out ---------- */

@keyframes caret { 50% { opacity: 0; } }

/* ---------- Summary: worth handling soon ---------- */

.tag {
  display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: var(--radius-pill);
  background: var(--gold-soft); color: var(--gold-text);
  font-size: 11px; font-style: normal; font-weight: 600; line-height: 1.6; vertical-align: 1px;
}

/* ---------- Results: the score, area by area ---------- */

.areas__key { display: flex; align-items: baseline; gap: 14px; margin: 10px 0 2px; }
.areas__key .rail__kicker { flex: 1; margin: 0; }
.areas__scale { font-size: 11.5px; color: var(--muted); }

.areas { list-style: none; margin: 0; padding: 0; }
/* Each area: its name and the gain, then two labeled meters on light tracks. */
.area {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.area:last-child { border-bottom: 0; }
.area__name { color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.area__delta { font: 600 12px/1.4 var(--mono); color: var(--green); font-variant-numeric: tabular-nums; }
.meter { grid-column: 1 / -1; display: grid; grid-template-columns: 58px minmax(0, 1fr) 28px; align-items: center; gap: 10px; }
.meter__label { font-size: 11.5px; color: var(--muted); }
.meter__track { position: relative; height: 10px; border-radius: 5px; background: #EDEFEA; overflow: hidden; }
.meter__val { font: 12px/1 var(--mono); color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.meter__val--new { color: var(--green); font-weight: 600; }
.bar {
  display: block; height: 100%; border-radius: 5px; background: var(--ink);
  transform-origin: left center; animation: grow .8s cubic-bezier(.2, .7, .2, 1) both;
}
.bar--low { background: var(--gold); }
.bar--mid { background: #8A919C; }
.bar--good, .bar--new { background: var(--green); }
.meter + .meter .bar { animation-delay: .15s; }
@keyframes grow { from { transform: scaleX(0); } }
.rail__method { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: var(--fs-sm); }
.rail__method .ico--i { width: 15px; height: 15px; color: var(--muted); }

/* ---------- The score card: the one dark block ---------- */

.score {
  flex: none; margin: 0 14px 14px; padding: 12px 0 0; border-radius: var(--radius-sm);
  background: var(--navy); color: #C9CDD4;
}
.score--top { margin: 14px 14px 0; }
.score__head { display: flex; align-items: center; gap: 6px; padding: 0 16px; }
.score__title { margin: 0; color: #fff; font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; }
.score__info {
  display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: #B9BFC9;
}
.score__info:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.score__info:focus-visible { outline-color: #fff; }
.score__info .ico--i { width: 15px; height: 15px; }
.score__sample { margin-left: auto; font-size: 11px; color: #9AA1AD; }

.score__halves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.score__half { display: flex; flex-direction: column; padding: 6px 16px 13px; min-width: 0; }
.score__half + .score__half { border-left: 1px solid rgba(255, 255, 255, .1); }
.score__label { font-size: var(--fs-xs); color: #B9BFC9; }
.score__num { font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.score__num--today { color: #E9B45C; }
.score__num--new { color: #7FCB9C; }
/* "After your check" and "Calculating" sit where the number will land, at the same height. */
.score__slot { display: flex; align-items: center; min-height: 37px; color: #fff; font-size: var(--fs-md); font-weight: 600; }
.score__band, .score__sub { font-size: var(--fs-xs); line-height: 1.4; }
.score__sub { color: #fff; font-weight: 600; }
.score__calc { display: block; height: 3px; margin: 7px 0 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.score__calc i { display: block; height: 100%; background: #E9B45C; opacity: .75; transform: scaleX(0); transform-origin: left center; }

/* ---------- The call team: who you'll talk to, with experience that matches your results ---------- */












.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 0 7px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600; line-height: 1.75; white-space: nowrap;
}

/* Waiting: a quiet dashed outline. Matched: green, with a small check. */
.badge { border: 1px dashed var(--line-strong); color: var(--faint); transition: background-color .35s, color .35s, border-color .35s; }
.badge .ico { width: 0; height: 11px; opacity: 0; transition: width .25s, opacity .25s; }
.badge.is-on { border: 1px solid transparent; background: var(--green-soft); color: var(--green); }
.badge.is-on .ico { width: 11px; opacity: 1; }
.badge.is-new { animation: badge-pop .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes badge-pop { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: none; } }





/* Laptop-height windows: the same layout, a little tighter, so more of the list shows. */
@media (min-width: 1181px) and (max-height: 820px) {
  
  
  .area { padding: 9px 0; row-gap: 5px; }
  .meter__track { height: 8px; }
  .score__num { font-size: 30px; }
  .score__slot { min-height: 33px; }
  .score__half { padding-bottom: 11px; }
}

@media (max-width: 1180px) {
  .rail__body { overflow: visible; }
}

/* When the list is longer than the column, fade its last lines instead of cutting them off. */
@media (min-width: 1181px) {
  .rail__body { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); padding-bottom: 22px; }
}

/* Calmer "soon" rows: title and severity on one line, the new site's answer under it. */

/* ---------- Your results: the score leads, the areas use the width, the team is one quiet row ---------- */

.hub { display: block; padding: 16px 22px 20px; -webkit-mask-image: none; mask-image: none; }
.hub .score { margin: 0 0 4px; }
.hub__areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.hub__areas .area { padding: 9px 0; row-gap: 4px; }
.hub__areas .meter__track { height: 8px; }
.hub__areas .area:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
.hub__areas .area:last-child:nth-child(odd) { border-bottom: 0; }
.areas__scale .link { font-size: inherit; }

.crew { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.crew__head { margin: 0 0 10px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.crew__people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.crew__people li { display: flex; align-items: center; gap: 9px; min-width: 0; }
.crew__people img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--surface), 0 1px 3px rgba(44, 51, 64, .2); }
.crew__people strong { display: block; font-size: var(--fs-sm); color: var(--ink); line-height: 1.25; }
.crew__people span span { display: block; font-size: var(--fs-xs); color: var(--muted); }
.crew__skills { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 0; }
@media (max-width: 1180px) {
  .hub__areas { grid-template-columns: 1fr; }
}


/* Unknown until answered: a dashed, empty track and a quiet "Not seen yet". Never red, never zero. */
.area__range { font: 600 12px/1.4 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }




/* Answered: green for what's known, a light green stretch for what the skipped questions could add. */



/* The estimate: its own line, never mixed into the outside view. */






/* "Fill in the rest": one quiet card, the whole of it clickable. */








/* An area the scan couldn't check: quiet, never scored as zero or as the overall. */
.area--skipped .area__name, .area--skipped .area__range { color: var(--muted); font-weight: 500; }
.area--skipped .area__range { font-size: var(--fs-xs); }
.area__note { grid-column: 1 / -1; font-size: var(--fs-xs); line-height: 1.45; color: var(--muted); }

/* Why the score is held down: one small line under the band, in the same quiet tone. */
.score__cap { margin-top: 3px; font-size: var(--fs-xs); line-height: 1.4; color: #E9B45C; }

/* The optional card on Your results. */




/* ---------- The risk score: one main number ---------- */
.score--full { margin: 0 0 4px; padding: 16px 18px 14px; }
.score--full .score__head { padding: 0; }
.score__status { margin-left: auto; padding: 1px 9px; border-radius: var(--radius-pill); background: rgba(127, 203, 156, .16); color: #A9DDBC; font-size: var(--fs-xs); font-weight: 600; }

.score__main { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.score__big { font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }

.score__of { font-size: var(--fs-sm); color: #9AA1AD; }
.score__caption { margin: 8px 0 0; max-width: 44em; font-size: var(--fs-sm); line-height: 1.5; color: #C9CDD4; }
























.score__new { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-xs); color: #C9CDD4; }
.score__new strong { color: #7FCB9C; font-size: var(--fs-sm); }
.score--full .score__cap { margin-top: 1px; }











