/* Pages sitecheck / smscheck / mailcheck — tokens du thème tsnew */
.check-page .legal-body { max-width: 920px; }
.check-lead { font-size: 1.05rem; color: var(--text-body); }
.check-page .info-block p { margin-bottom: .5rem; }
.check-page .info-block p:last-child { margin-bottom: 0; }
.check-form.info-block { margin: 1.25rem 0; }
.check-form .form-label {
  color: #1e293b;
  font-size: .85rem;
  font-weight: 600;
}
.legal-body .check-form .form-control,
.legal-body .check-form .form-control:focus,
.legal-body .check-form .form-control:hover {
  background: #fff;
  border: 1px solid #c5d4e8;
  color: #1e293b;
  -webkit-text-fill-color: #1e293b;
  caret-color: #1e293b;
  padding: 12px 14px;
  border-radius: 8px;
}
.legal-body .check-form .form-control::placeholder {
  color: #64748b;
  -webkit-text-fill-color: #64748b;
  opacity: 1;
}
.legal-body .check-form .form-control:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
}
.legal-body .check-form .form-control:-webkit-autofill,
.legal-body .check-form .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #1e293b;
  box-shadow: 0 0 0 1000px #fff inset;
  caret-color: #1e293b;
}
.check-form textarea.form-control { min-height: 180px; font-family: ui-monospace, monospace; font-size: .92rem; }
.check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 1rem;
}
.check-actions .btn { margin-top: 0; }
.check-page .btn-outline-cta {
  color: #1e293b !important;
  background: #fff;
  border: 1px solid #6366f1;
}
.check-page .btn-outline-cta:hover {
  color: #fff !important;
  background: #6366f1;
  border-color: #6366f1;
}
.check-error {
  background: #fef2f2;
  color: #991b1b;
  padding: 12px 14px;
  margin-bottom: 1rem;
}
.check-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.check-score-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-dark);
}
.check-score-num small { font-size: 1rem; color: var(--text-muted); }
.check-score-trend {
  display: inline-block;
  margin-left: .35rem;
  font-size: 1rem;
  font-weight: 700;
  vertical-align: middle;
}
.check-score-trend.up { color: #166534; }
.check-score-trend.down { color: #991b1b; }
.check-score-rank {
  margin: .35rem 0 0;
  font-size: .92rem;
  color: #334155;
}
.check-score.tone-ok .check-score-num { color: var(--green); }
.check-score.tone-mid .check-score-num { color: var(--orange); }
.check-score.tone-bad .check-score-num { color: #dc2626; }
.check-verdict {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.check-verdict.tone-ok { color: var(--green); }
.check-verdict.tone-mid { color: var(--orange); }
.check-verdict.tone-bad { color: #dc2626; }
.check-cats { display: grid; gap: 8px; margin: 1rem 0 1.5rem; }
.check-cat {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: .9rem;
}
.check-cat-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}
.check-cat-bar > span {
  display: block;
  height: 100%;
  background: var(--accent2);
}
.check-cat-ok {
  font-size: .78rem;
  font-weight: 600;
  color: #166534;
}
.check-score-impact-total {
  margin: .45rem 0 0;
  font-size: .92rem;
  font-weight: 700;
}
.check-finding {
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: #fff;
  scroll-margin-top: 5.75rem;
}
.check-finding:target,
.check-finding:has(:target) {
  background: #f5f3ff;
  box-shadow: 0 0 0 2px #a5b4fc;
}
.check-finding.high { border-left: 3px solid #dc2626; }
.check-finding.medium { border-left: 3px solid var(--orange); }
.check-finding.low { border-left: 3px solid #64748b; }
.check-finding.high + .check-finding.medium,
.check-finding.medium + .check-finding.low {
  margin-top: 1.15rem;
}
.check-finding h4 { font-size: 1rem; margin: 0; }
.check-finding-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: 4px;
}
.check-finding-meta {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex: 0 0 auto;
}
.check-pts {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
  font-weight: 700;
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  padding: .12rem .4rem;
  white-space: nowrap;
}
.check-pts.is-zero {
  color: #64748b;
  background: #f8fafc;
  border-color: #e2e8f0;
  font-weight: 600;
}
.check-score-impact-lead {
  margin: .75rem 0 .35rem;
  font-size: .88rem;
  color: #475569;
}
.check-score-impact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem;
}
.check-score-impact li {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  font-size: .92rem;
}
.check-score-impact a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
}
.check-score-impact a:hover { color: #4f46e5; }
.check-sev {
  flex: 0 0 auto;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.check-finding.high .check-sev { color: #dc2626; }
.check-finding.medium .check-sev { color: var(--orange); }
.check-finding.low .check-sev { color: #64748b; }
.check-finding p { margin: 0; color: var(--text-body); font-size: .92rem; }
.check-part {
  font-size: 1.05rem;
  margin: 1.1rem 0 .5rem;
  color: var(--text-body);
}
.check-proof {
  margin-top: .45rem !important;
  font-size: .86rem !important;
  color: var(--text-muted);
}
.check-signals { margin: 0; padding-left: 1.1rem; }
.check-signals li { margin-bottom: .35rem; }
.check-vantage {
  font-size: .85rem;
  color: var(--text-muted);
  margin: .35rem 0 0;
}
.check-vantage-opt {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: .75rem 0 0;
  font-size: .88rem;
  color: #334155;
  cursor: pointer;
}
.check-vantage-opt input[type="checkbox"] {
  margin-top: .2rem;
  flex: 0 0 auto;
}
.check-vantage-bar {
  margin: .6rem 0 0;
  padding: .7rem .85rem;
  background: #f8fafc;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  font-size: .85rem;
  color: #334155;
}
.check-vantage-bar p { margin: 0 0 .5rem; }
.check-vantage-bar p:last-child { margin-bottom: 0; }
.check-vantage-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin: .35rem 0;
}
.check-switch {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
  color: inherit;
}
.check-switch-knob {
  width: 2.4rem;
  height: 1.3rem;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  display: inline-block;
  transition: background .15s ease;
}
.check-switch-knob::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .2);
  transition: left .15s ease;
}
.check-switch.is-on .check-switch-knob {
  background: #4f46e5;
}
.check-switch.is-on .check-switch-knob::after {
  left: 1.05rem;
}
.check-switch-label {
  font-weight: 600;
  font-size: .8rem;
}
.check-vantage-scores {
  font-size: .82rem;
  color: var(--text-muted);
}
.check-keep {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.check-keep a { color: var(--accent2); }
.legal-body .check-upgrade .form-control,
.legal-body .check-upgrade .form-control:focus {
  background: #fff;
  border: 1px solid #c5d4e8;
  color: #1e293b;
  -webkit-text-fill-color: #1e293b;
  caret-color: #1e293b;
  padding: 12px 14px;
  border-radius: 8px;
}
.check-dns {
  display: grid;
  gap: .35rem;
  margin: .75rem 0;
  font-size: .92rem;
}
.check-dns code {
  display: inline-block;
  background: #fff;
  border: 1px solid #c5d4e8;
  padding: 2px 8px;
  border-radius: 6px;
  color: #1e293b;
  word-break: break-all;
}
.check-fix { margin-top: .55rem; color: #1e293b; }
.check-fix .check-jump,
.check-fix-expert .check-jump,
.check-finding-back .check-jump { margin-top: .15rem; }
.check-finding-back { margin-top: .5rem !important; }
.check-fix-expert {
  margin-top: .55rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: .65rem .8rem;
}
.check-fix-expert strong {
  display: block;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #334155;
}
.check-fix-expert pre {
  margin: .4rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .8rem;
  line-height: 1.4;
  white-space: pre-wrap;
  color: #0f172a;
}
.check-upgrade .form-label { color: #1e293b; font-weight: 600; }
.check-upgrade {
  margin: 1.25rem 0 1.75rem;
}
.check-upgrade .btn-primary-cta {
  min-width: 12rem;
}
.check-machine { margin: 1rem 0 1.5rem; }
.check-role-headline {
  margin: .35rem 0 .2rem;
  color: #1e293b;
  font-size: 1.05rem;
}
.check-os-why {
  margin: 0 0 .45rem;
  color: #475569;
  font-size: .88rem;
}
.check-roles {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .35rem 0 1rem;
}
.check-roles-public { margin: .2rem 0 .55rem; }
.check-role {
  background: #eef2ff;
  color: #312e81;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .85rem;
}
.check-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin: .5rem 0 1.1rem;
}
.check-table th,
.check-table td {
  text-align: left;
  padding: .4rem .5rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}
.check-table th {
  color: #475569;
  font-weight: 600;
}
.check-age {
  display: inline-block;
  font-weight: 600;
  font-size: .82rem;
  padding: .1rem .5rem;
  border-radius: 999px;
}
.check-age.age-current { background: #dcfce7; color: #166534; }
.check-age.age-lagging { background: #e0e7ff; color: #3730a3; }
.check-age.age-aging { background: #ffedd5; color: #9a3412; }
.check-age.age-obsolete { background: #fee2e2; color: #991b1b; }
.check-age.age-unknown { background: #e2e8f0; color: #475569; }
.check-age-detail {
  display: block;
  font-weight: 400;
  color: #64748b;
  font-size: .82rem;
  margin-top: .15rem;
}
.check-domain-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .7rem;
  align-items: stretch;
  margin: .75rem 0 .5rem;
}
.check-domain-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: .7rem .85rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.check-domain-card .k {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}
.check-domain-card .v {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}
.check-domain-card .s {
  font-size: .8rem;
  color: #64748b;
}
.check-domain-card.same { background: #f0fdf4; border-color: #86efac; }
.check-domain-card.away { background: #fff7ed; border-color: #fdba74; }
.check-domain-vs {
  align-self: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #64748b;
}
.check-domain-hint { font-weight: 600; color: #1e293b; }
@media (max-width: 640px) {
  .check-domain-split { grid-template-columns: 1fr; }
  .check-domain-vs { display: none; }
}
.check-flag {
  display: inline-block;
  font-weight: 600;
  font-size: .78rem;
  padding: .12rem .45rem;
  border-radius: 999px;
}
.check-flag-good { background: #dcfce7; color: #166534; }
.check-flag-bad { background: #fee2e2; color: #991b1b; }
.check-law-note td {
  color: #9a3412;
  background: #fff7ed;
  font-size: .85rem;
}
.check-law-disclaimer {
  font-size: .82rem;
  color: #64748b;
}
.check-estate-meta { font-weight: 500; color: #64748b; font-size: .9rem; }
.check-mutu-count {
  display: inline-block;
  font-size: 1.05rem;
  color: #1e293b;
  margin-right: .25rem;
}
.check-wait-neighbors {
  margin: .45rem 0 0;
  color: #1e293b;
  font-weight: 600;
}
.check-estate-filter {
  display: block;
  margin: .75rem 0 .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: #1e293b;
}
.check-estate-table code { font-size: .85rem; }
.check-estate-table .check-age-detail { display: block; }
.check-progress-summary { margin: .35rem 0 0; font-size: .92rem; color: #1e293b; }
.check-progress-counts { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 0; }
.check-progress-counts .check-flag { background: #e2e8f0; color: #334155; }
tr.estate-hidden, li.estate-hidden { display: none; }
.check-estate-discover { margin-top: 1rem; }
.estate-discover-same_seed td:last-child { color: #166534; }
.estate-discover-same_asn td:last-child { color: #a16207; }
.estate-discover-out_of_scope td:last-child { color: #64748b; }

.check-wait {
  margin: 1.25rem 0;
  padding: 1.1rem 1.2rem;
  background: #f8fafc;
  border: 1px solid #c5d4e8;
  border-radius: 10px;
}
.check-wait-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .35rem;
}
.check-wait-title {
  font-size: 1.15rem;
  margin: 0;
  color: #1e293b;
}
.check-wait-spinner {
  width: 1.35rem;
  height: 1.35rem;
  border: 3px solid #c7d2fe;
  border-top-color: #4f46e5;
  border-radius: 50%;
  animation: check-wait-spin .8s linear infinite;
  flex-shrink: 0;
}
@keyframes check-wait-spin { to { transform: rotate(360deg); } }
.check-wait-phase { margin: .25rem 0 .6rem; color: #334155; }
.check-wait-bar {
  height: 10px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}
.check-wait-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #22c55e);
  border-radius: 99px;
  transition: width .4s ease;
}
.check-wait-eta, .check-wait-mass, .check-wait-note {
  margin: .55rem 0 0;
  color: #475569;
  font-size: .95rem;
}
.check-wait-mail { margin-top: 1rem; }
.check-wait-mail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.check-wait-mail-row .form-control { flex: 1 1 220px; }
.check-wait-mail-ok { color: #166534; margin-top: .5rem; }
.check-form.is-scanning .btn-primary-cta { pointer-events: none; opacity: .65; }

.check-roadmap-jump { margin: .5rem 0 0; }
.check-roadmap-jump a { font-weight: 600; }
.check-roadmap { margin-top: 2rem; scroll-margin-top: 5.75rem; }
.check-roadmap-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: .85rem 0 1rem;
}
.check-roadmap-filter {
  border: 1px solid #c5d4e8;
  background: #fff;
  color: #1e293b;
  border-radius: 99px;
  padding: .35rem .75rem;
  font-size: .88rem;
  cursor: pointer;
}
.check-roadmap-filter span {
  display: inline-block;
  min-width: 1.2em;
  margin-left: .2rem;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.check-roadmap-filter.is-on {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}
.check-roadmap-filter.is-on span { color: #e0e7ff; }
.check-roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: roadmap;
}
.check-roadmap-item {
  display: grid;
  grid-template-columns: 2rem 7.5rem 6.5rem 4.5rem 1fr auto;
  gap: .35rem 12px;
  align-items: baseline;
  padding: .65rem 0;
  border-bottom: 1px solid #e2e8f0;
  counter-increment: roadmap;
  scroll-margin-top: 5.75rem;
}
.check-roadmap-item:target {
  background: #eef2ff;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 8px;
}
.check-roadmap-item.roadmap-hidden {
  display: none;
  counter-increment: none;
}
.check-roadmap-n::before {
  content: counter(roadmap);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #64748b;
}
.check-roadmap-role {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #4338ca;
  background: #eef2ff;
  border-radius: 6px;
  padding: .15rem .45rem;
}
.check-roadmap-item[data-role="mail"] .check-roadmap-role { color: #9a3412; background: #ffedd5; }
.check-roadmap-item[data-role="web"] .check-roadmap-role { color: #1d4ed8; background: #dbeafe; }
.check-roadmap-item[data-role="db"] .check-roadmap-role { color: #a21caf; background: #fae8ff; }
.check-roadmap-item[data-role="machine"] .check-roadmap-role { color: #0f766e; background: #ccfbf1; }
.check-roadmap-item[data-role="site"] .check-roadmap-role { color: #334155; background: #e2e8f0; }
.check-roadmap-sev { font-size: .82rem; font-weight: 700; }
.check-roadmap-item.high .check-roadmap-sev { color: #dc2626; }
.check-roadmap-item.medium .check-roadmap-sev { color: #c2410c; }
.check-roadmap-item.low .check-roadmap-sev { color: #64748b; }
.check-roadmap-title { font-weight: 600; color: #1e293b; grid-column: 4; }
.check-roadmap-item > .check-jump { grid-column: 5; grid-row: 1; justify-self: end; }
.check-roadmap-action {
  grid-column: 4 / 6;
  font-size: .88rem;
  color: #475569;
}
.check-jump {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  font-size: .78rem;
  font-weight: 600;
  color: #4338ca;
  text-decoration: none;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  border-radius: 99px;
  padding: .15rem .6rem;
  white-space: nowrap;
  line-height: 1.3;
}
.check-jump:hover,
.check-jump:focus-visible {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}
.check-jump-up::before { content: "↑ "; }
.check-jump-down::before { content: "↓ "; }
.check-fix,
.check-fix-expert {
  scroll-margin-top: 5.75rem;
}
.check-roadmap-empty { margin: .75rem 0 0; color: #64748b; }
@media (max-width: 720px) {
  .check-roadmap-item {
    grid-template-columns: 2rem auto 1fr auto;
  }
  .check-roadmap-role { grid-column: 2; grid-row: 1; }
  .check-roadmap-sev { grid-column: 3; grid-row: 1; }
  .check-roadmap-item .check-pts { grid-column: 4; grid-row: 1; }
  .check-roadmap-title { grid-column: 2 / 4; grid-row: 2; }
  .check-roadmap-item > .check-jump { grid-column: 4; grid-row: 2; }
  .check-roadmap-action { grid-column: 2 / 5; }
}
