/* The security strip along the bottom of every screen, as in the original mockup: what the site
   runs on today (cream) beside the new site (navy), joined by the round arrow. */

.strip {
  display: grid; grid-template-columns: minmax(0, 1fr) 0 minmax(320px, 26%);
  border-top: 1px solid var(--line);
}
.strip__today { background: var(--cream); padding: 14px 34px 16px var(--gutter); min-width: 0; }
.strip__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.strip__head strong { color: var(--ink); font-size: var(--fs-md); }
.strip__sub { font-size: var(--fs-xs); color: var(--muted); }
.strip__head .pill, .strip__go { margin-left: auto; }
.strip__go { font-size: var(--fs-sm); font-weight: 600; }
.strip__empty {
  margin: 0; padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm);
  font-size: var(--fs-sm); color: var(--muted);
}
.strip__body { display: flex; align-items: center; gap: 28px; min-height: 54px; }

/* During the check: 19 segments fill as each check lands, and one line says what we just found. */
.strip__live { flex: 1; min-width: 0; }
.segs { display: grid; grid-template-columns: repeat(19, minmax(0, 1fr)); gap: 4px; }
.seg { height: 8px; border-radius: 3px; background: #E7E9E4; transition: background-color .35s; }
.seg.is-active { background: #C9CED6; }
.seg.is-ok { background: var(--green); }
.seg.is-warn { background: var(--gold); }
.seg.is-info { background: #9BA2AC; }
.ticker { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: var(--fs-sm); color: var(--text); min-width: 0; }
.ticker .ico { width: 15px; height: 15px; }
.ticker__group { flex: none; color: var(--ink); font-weight: 600; }
.ticker__group:not(:empty)::after { content: " ·"; color: var(--faint); font-weight: 400; }
.ticker__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker.is-new .ticker__text { animation: rise .3s ease both; }

/* The score, today. */
.strip__score { flex: none; display: flex; flex-direction: column; gap: 2px; padding-left: 24px; border-left: 1px solid var(--line); min-width: 150px; }
.strip__body > .strip__score:first-child { padding-left: 0; border-left: 0; }
.strip__label { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: var(--muted); }
.strip__info { display: inline-grid; place-items: center; padding: 0; border: 0; background: none; color: var(--muted); }
.strip__info .ico--i { width: 14px; height: 14px; }
.strip__info:hover { color: var(--ink); }
.strip__scorerow { display: flex; align-items: baseline; gap: 8px; }
.strip__num { font-size: 30px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.strip__num--today { color: var(--gold-text); }
.strip__band { font-size: var(--fs-xs); color: var(--muted); }
.strip__calc { font-size: var(--fs-md); font-weight: 600; color: var(--ink); line-height: 1.9; }

/* After the check: how many of each severity, and the calm totals. */
.strip__found { flex: 1; min-width: 0; padding-left: 24px; border-left: 1px solid var(--line); }
.strip__sevs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.strip__counts { margin: 7px 0 0; font-size: var(--fs-xs); color: var(--muted); }

.strip__arrow {
  position: relative; z-index: 1; align-self: center; justify-self: center;
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--surface); color: var(--ink); border: 1.5px solid var(--navy);
}

/* The new site: nothing to exploit. */
.strip__new { background: var(--navy); color: #C9CDD4; padding: 14px var(--gutter) 16px 34px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.strip__kicker { font-size: var(--fs-xs); color: #AEB4BE; }
.strip__newrow { display: flex; align-items: center; gap: 14px; }
.strip__num--new { color: #7FCB9C; font-size: 34px; }
.strip__title { display: block; color: #fff; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
.strip__new .strip__sub { display: block; color: #C9CDD4; }
.strip__extra { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-size: var(--fs-xs); font-weight: 600; color: #fff; animation: rise .35s ease both; }
.strip__extra .ico { width: 15px; height: 15px; }
.strip__extra .ico--check circle { fill: #5FA67A; }

@media (max-width: 900px) {
  .strip { grid-template-columns: 1fr; }
  .strip__arrow { display: none; }
  .strip__today, .strip__new { padding: 16px; }
  .strip__head { flex-wrap: wrap; }
  .strip__body { flex-wrap: wrap; gap: 14px; }
  .strip__score, .strip__found { padding-left: 0; border-left: 0; }
}

/* Not shown (before a check, and on Your site's security): the page gets the room. */
.strip[hidden] { display: none; }

/* ---------- The slim bar: one line, the same cream-to-navy, and the whole of it opens Your results ---------- */
.strip--slim { display: block; }
.slim {
  display: grid; grid-template-columns: minmax(0, 1fr) 0 minmax(0, 26%); min-width: 0; min-height: 44px;
  color: inherit; text-decoration: none; cursor: pointer;
}
.slim__today, .slim__new { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; padding: 0 var(--gutter); white-space: nowrap; }
.slim__new { overflow: hidden; }
.slim__go { overflow: hidden; text-overflow: ellipsis; }
.slim__today { background: var(--cream); }
.slim__new { position: relative; background: var(--navy); color: #C9CDD4; padding-left: 28px; }
.slim__label { font-size: var(--fs-xs); color: var(--muted); }
.slim__new .slim__label { color: #B9BFC9; }
.slim__num { font-size: 20px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.slim__num--today { color: var(--gold-text); }
.slim__num--new { color: #7FCB9C; }
.slim__band { font-size: var(--fs-sm); color: var(--text); }
.slim .sev { margin-left: 4px; }
.slim__extra { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: #fff; }
.slim__extra .ico { width: 12px; height: 12px; }
.slim__go { margin-left: auto; font-size: var(--fs-sm); font-weight: 600; color: #fff; }
.slim__arrow {
  position: relative; z-index: 1; align-self: center; justify-self: center;
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink);
}
.slim:hover .slim__go, .slim:focus-visible .slim__go { text-decoration: underline; text-underline-offset: 3px; }
.slim:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
@media (max-width: 900px) {
  .slim { grid-template-columns: 1fr; }
  .slim__today, .slim__new { min-height: 40px; padding: 0 16px; }
  .slim__new { padding-left: 16px; }
  .slim__arrow { display: none; }
}

/* Narrow laptops: the extra "Email protected" note gives way so the line never overflows. */
@media (max-width: 1180px) { .slim__extra { display: none; } }
