/* IBM Plex - SIL Open Font License 1.1 (fonts/LICENSE-OFL.txt), servi localement : aucune ressource tierce. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/transfer/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/transfer/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/transfer/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/transfer/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("/transfer/fonts/plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("/transfer/fonts/plex-mono-500.woff2") format("woff2"); }

:root {
  /* Palette CyberHunter (thème sombre unique, comme le reste du site). */
  --ground: #080b10;
  --surface: #111823;
  --surface-sunk: #0d121a;
  --track: #151e2b;
  --ink: #f1f5f9;
  --ink-2: #c3cad6;
  --muted: #929eaf;
  --dim: #7a889c;
  --line: #202b3a;
  --line-soft: #1a2433;
  --field: #2b3a4f;
  --dash: #2b3a4f;
  --accent: #4f7dff;
  /* Accent lisible en texte et en icônes sur fond sombre. */
  --accent-text: #8fb0ff;
  --accent-soft: #14213f;
  --on-accent: #ffffff;
  --accent-btn: #446cdb;
  --accent-btn-hover: #4166d1;
  --field-border: #566781;
  --empty: #1a2433;
  --danger: #f97066;
  --danger-line: #3a1a1f;
  --warn-bg: #1a160d;
  --warn-ink: #f5b942;
  --panel: #0d121a;
  --panel-ink: #929eaf;
  --panel-muted: #7a889c;
  --panel-ok: #32d583;
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, .85);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-accent { color: var(--accent-text); }

a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

h1, h2, p, ol, ul, dl, dd, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }

/* ------------------------------------------------------------------ Structure */

/* Même gabarit que le reste du site (Tailwind max-w-6xl + px-4 / sm:px-6). */
.wrap { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 24px; }
main.wrap { flex: 1; padding-top: 40px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  main.wrap { padding-top: 32px; padding-bottom: 32px; }
}

/* En-tête et pied de page : mêmes que le reste de CyberHunter (sans JavaScript). */
.ch-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(8, 11, 16, .92); backdrop-filter: blur(10px); }
.ch-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -.01em; flex: none; }
.brand:hover { color: var(--ink); opacity: .9; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-accent { color: var(--accent); }
.site-nav { min-width: 0; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav ul { gap: 22px; }
.site-nav a { display: block; padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }
.open-app { margin-left: auto; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 8px; background: var(--accent-btn); color: var(--on-accent); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.open-app:hover { background: var(--accent-btn-hover); }
.nav-panel .open-app { margin: 8px 0 0; justify-content: center; height: 44px; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
/* Groupe « Email » : menu déroulant natif (<details>), refermé par app.js au clic dehors ou avec Échap. */
.nav-group { position: relative; }
.nav-group > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; padding: 8px 9px; border-radius: 6px; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary:hover, .nav-group[open] > summary { color: var(--ink); background: var(--track); }
.nav-group > summary svg { fill: currentColor; transition: transform .15s; }
.nav-group[open] > summary svg { transform: rotate(180deg); }
.nav-group > ul { position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; width: 256px; list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .4); }
.nav-group > ul a { display: block; padding: 10px 12px; border-radius: 8px; white-space: normal; }
.nav-group > ul a b { display: block; font-size: 14px; font-weight: 400; color: var(--ink); }
.nav-group > ul a span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.ch-header .wrap > .site-nav { margin-left: 8px; }
.social { display: flex; align-items: center; gap: 2px; flex: none; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); text-decoration: none; transition: background-color .15s, color .15s; }
.social-btn:hover { background: var(--track); color: var(--accent-text); }
.social-li:hover { color: #0a66c2; }
svg.glyph-fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Menu mobile : même seuil (1280 px) et même panneau que le burger du reste du site. */
.nav-menu { display: none; }
.nav-burger { list-style: none; width: 40px; height: 40px; margin-right: -4px; border-radius: 8px; display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.nav-burger::-webkit-details-marker { display: none; }
.nav-burger:hover { background: var(--track); }
.nav-burger svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-menu .icon-close, .nav-menu[open] .icon-open { display: none; }
.nav-menu[open] .icon-close { display: block; }
.nav-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; max-height: min(70vh, 28rem); overflow-y: auto; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5); clip-path: inset(0 0 -100vmax 0); }
/* L'en-tête a un backdrop-filter, qui empêche position: fixed de couvrir la page : le fond
   assombri est une ombre du panneau, coupée au-dessus de lui. app.js referme le menu au clic dehors. */
.nav-panel ul { list-style: none; margin: 0; padding: 12px 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.nav-panel a { display: block; padding: 12px; border-radius: 8px; font-size: 16px; color: var(--muted); text-decoration: none; }
.nav-panel a:hover { background: var(--track); color: var(--ink); }
.nav-panel a[aria-current="page"] { background: var(--track); color: var(--ink); font-weight: 500; box-shadow: inset 2px 0 0 var(--accent); }
.nav-panel .nav-panel-h { padding: 12px 12px 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.nav-panel a.nested { padding-left: 24px; }
@media (max-width: 639px) { .ch-header > .wrap > .open-app { display: none; } }
@media (max-width: 767px) {
  .site-nav { display: none; }
  .nav-menu { display: block; margin-left: auto; }
  .ch-header .wrap { gap: 12px 8px; }
}

/* Fil d'Ariane : même rendu que ToolBreadcrumb sur les autres pages outils. */
.crumb-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; margin-bottom: 0; }
.crumbs { font: 12.5px/1.4 var(--mono); color: var(--dim); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--field); }
.crumbs .cur { color: var(--accent-text); }
.account-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 13.5px; line-height: 18px; }
.account-nav a { color: var(--ink-2); text-decoration: none; padding: 0; }
.account-nav a:hover, .account-nav a[aria-current="page"] { color: var(--ink); }
.account-nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.account-email { color: var(--dim); font: 13px/1.4 var(--mono); max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-btn { padding: 0; border: 0; background: none; color: var(--ink-2); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
@media (max-width: 640px) { .account-email { display: none; } }

.footer { border-top: 1px solid var(--line); background: #090c10; }
.footer-inner { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.footer-brand { flex: 2 1 260px; }
.footer-brand p { margin-top: 12px; max-width: 40ch; font-size: 14.5px; color: var(--dim); }
.footer-col { flex: 1 1 160px; }
.footer-col p { font: 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.footer-col ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-crypto { border-top: 1px solid #141a22; }
.footer-crypto .wrap { padding-top: 18px; padding-bottom: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font: 12px/1.5 var(--mono); color: var(--dim); }
.footer-crypto .tags { display: flex; flex-wrap: wrap; gap: 6px 18px; }

.view { width: 100%; }
.narrow { max-width: 760px; margin: 0 auto; }
.narrow-sm { max-width: 600px; margin: 0 auto; }
/* Page d'envoi : même en-tête et même « console » que les autres pages outils de CyberHunter. */
.send-layout { display: flex; flex-direction: column; }
.tool-hero { padding-top: 1px; }
.tool-pill { display: inline-block; padding: 4px 10px; border: 1px solid var(--field); border-radius: 999px; font: 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tool-title { margin-top: 16px; max-width: 24ch; font-size: clamp(32px, 4.2vw, 46px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; }
.tool-lead { margin-top: 14px; max-width: 64ch; font-size: 17px; line-height: 1.65; color: var(--muted); }
.tool-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tool-tags span { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font: 12px/1.5 var(--mono); }

.console { margin-top: 32px; border: 1px solid #1f2833; border-radius: 14px; overflow: hidden; background: var(--surface-sunk); box-shadow: var(--shadow); }
.cbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #0c1118; }
.cbar-l { display: flex; align-items: center; gap: 10px; }
.cdot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ctitle { font: 12.5px/1.4 var(--mono); color: var(--ink); }
.cmeta { font: 12px/1.4 var(--mono); color: var(--dim); }
.cbody { padding: clamp(16px, 3vw, 24px); }
.send-grid { display: flex; flex-direction: column; gap: 16px; }
.send-card { min-width: 0; box-shadow: none; }
.send-trust { min-width: 0; display: flex; flex-direction: column; gap: 12px; }

.stack, .stack-sm, .stack-lg { display: flex; flex-direction: column; }
.stack-sm { gap: 10px; }
.stack { gap: 20px; }
.stack-lg { gap: 24px; }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.wrap-row { flex-wrap: wrap; align-items: center; }
.min0 { min-width: 0; }
.grow { flex: 1; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.wrap-anywhere { overflow-wrap: anywhere; }
.truncate { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ------------------------------------------------------------------ Typographie */

.eyebrow { font: 500 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.display { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.display-sm { font-size: clamp(26px, 4vw, 32px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.lead { font-size: 18px; color: var(--muted); max-width: 56ch; }
.title { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.card-title { font-size: 20px; line-height: 1.3; font-weight: 600; }
.subtitle { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.label, .field > label, .field > legend { font-size: 14px; font-weight: 600; }
.muted { color: var(--muted); }
.normal { font-weight: 400; }
.strong { font-weight: 600; }
.small { font-size: 14px; }
.help { font-size: 13px; color: var(--muted); }
.mono-label { font: 13px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.big-num { font: 500 28px/1 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ Accueil */

.guarantees { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.guarantees li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.guarantees .icon { width: 22px; height: 22px; margin-top: 1px; }
.guarantees strong { display: block; font-weight: 600; }
.guarantees .muted { font-size: 14.5px; }

.server-view { background: var(--panel); color: var(--panel-ink); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; font: 13px/1.8 var(--mono); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 2px 24px; }
.server-view-title { grid-column: 1 / -1; color: var(--panel-muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.server-view-row { display: flex; gap: 12px; min-width: 0; }
.server-view-row > span:first-child { color: var(--panel-muted); width: 72px; flex: none; }
.server-view .ok { color: var(--panel-ok); }

/* ------------------------------------------------------------------ Cartes */

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: var(--shadow); }
.card-outline { border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; }
@media (max-width: 640px) { .card { padding: 22px; } .card-outline { padding: 20px 22px; } }

/* ------------------------------------------------------------------ Formulaire */

.drop {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 40px 20px;
  border: 1.5px dashed var(--dash); border-radius: 12px;
  background: var(--surface-sunk);
  text-align: center; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.drop:hover, .drop.over, .drop:focus-within { border-color: var(--accent); background: var(--accent-soft); }
.drop.has-file { border-style: solid; border-color: var(--accent); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.drop-icon .icon { width: 22px; height: 22px; }
.drop-title { font-weight: 600; overflow-wrap: anywhere; }
.drop-hint { font-size: 14px; color: var(--muted); }
.drop-link { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field > legend { padding: 0; margin-bottom: 10px; }

.segmented { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 4px; background: var(--track); border-radius: 10px; }
.segmented label { position: relative; }
.segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: grid; place-items: center; height: 40px; border-radius: 7px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.segmented input:hover + span { color: var(--ink); }
.segmented input:checked + span { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(16, 21, 28, .14); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

input[type="password"], input[type="text"], input[type="email"] {
  width: 100%; min-width: 0; height: 48px; padding: 0 14px;
  font: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--field-border); border-radius: 10px;
}
input[type="password"]:focus, input[type="text"]:focus, input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
input::placeholder { color: var(--muted); }
.input-row { display: flex; gap: 8px; }

/* ------------------------------------------------------------------ Boutons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  font: 500 15px/1 var(--sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--field); border-radius: 10px;
  cursor: pointer; text-decoration: none;
  transition: background-color .15s, border-color .15s, opacity .15s;
}
.btn:disabled { opacity: .6; cursor: wait; }
.btn-lg { min-height: 52px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn-primary { background: var(--accent-btn); border-color: var(--accent-btn); color: var(--on-accent); font-weight: 600; }
.btn-primary:hover:not(:disabled) { background: var(--accent-btn-hover); border-color: var(--accent-btn-hover); }
.btn-secondary:hover:not(:disabled) { border-color: var(--ink-2); }
.btn-danger { color: var(--danger); border-color: var(--danger-line); }
.btn-danger:hover:not(:disabled) { border-color: var(--danger); }
.icon-btn {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  color: var(--ink); background: var(--surface); border: 1px solid var(--field); border-radius: 10px; cursor: pointer;
}
.icon-btn[aria-pressed="true"] { color: var(--accent-text); border-color: var(--accent); }
.actions-between { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }

/* ------------------------------------------------------------------ Progression */

.file-head { display: flex; gap: 16px; align-items: center; }
.file-icon { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--track); display: grid; place-items: center; }
.file-icon .icon { width: 24px; height: 24px; }
.file-icon-accent { background: var(--accent-soft); color: var(--accent-text); }

.bar { height: 8px; border-radius: 4px; background: var(--empty); overflow: hidden; }
.bar-fill { width: 0; height: 100%; border-radius: 4px; background: var(--accent); transition: width .2s ease-out; }

.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend .cell { width: 10px; height: 10px; border-radius: 2px; }

.blocks { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 5px; }
.cell { display: block; aspect-ratio: 1; border-radius: 3px; background: var(--empty); transition: background-color .2s; }
.cell.is-active { background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent); }
.cell.is-done { background: var(--accent); }
@media (max-width: 480px) { .blocks { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; } }

.steps { list-style: none; padding: 0; border-top: 1px solid var(--line-soft); }
.step { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
.step:last-child { border-bottom: 0; }
.step-label { flex: 1; }
.step-meta { font: 12px/1.4 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.step-dot { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid var(--field); display: grid; place-items: center; position: relative; }
.step-dot svg { width: 14px; height: 14px; stroke-width: 3; color: var(--on-accent); opacity: 0; }
.step.is-active { color: var(--ink); }
.step.is-active .step-label { font-weight: 600; }
.step.is-active .step-dot { border-color: var(--accent); }
.step.is-active .step-dot::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.step.is-done { color: var(--ink); }
.step.is-done .step-dot { border-color: var(--accent); background: var(--accent); }
.step.is-done .step-dot svg { opacity: 1; }

.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); }
.checklist li { display: flex; align-items: center; gap: 10px; }
.checklist svg { width: 18px; height: 18px; stroke-width: 2.5; color: var(--field); }
.checklist .is-done { color: var(--ink); }
.checklist .is-done svg { color: var(--accent-text); }

/* ------------------------------------------------------------------ Résultat */

.status-head { display: flex; gap: 14px; align-items: flex-start; }
.status-dot { width: 40px; height: 40px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.status-dot svg { width: 20px; height: 20px; stroke-width: 3; }
.status-dot.is-neutral { background: var(--track); color: var(--muted); }

.link-row { display: flex; flex-wrap: wrap; gap: 8px; }
.link-row .btn { min-height: 52px; font-size: 16px; }
.link-box {
  flex: 1 1 360px; min-width: 0; padding: 14px 16px;
  border: 1px solid var(--field); border-radius: 10px; background: var(--surface-sunk);
  font: 14px/1.6 var(--mono); overflow-wrap: anywhere; user-select: all;
}
.link-box.is-revoked { text-decoration: line-through; color: var(--muted); }
.link-key { color: var(--accent-text); font-weight: 500; }
.note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.note .icon { margin-top: 2px; }

.facts { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.facts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts > div { background: var(--surface); padding: 14px 16px; min-width: 0; }
.facts dt { font: 12px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-weight: 600; }
@media (max-width: 560px) { .facts-3 { grid-template-columns: 1fr; } }

.two-step { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.two-step > div { display: flex; gap: 12px; align-items: flex-start; }
.two-step strong { display: block; font-weight: 600; }
.two-step .muted { font-size: 15px; }
.num { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font: 13px/1 var(--mono); display: grid; place-items: center; }
@media (max-width: 560px) { .two-step { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Réception */

.locked-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.locked-head .muted { max-width: 400px; }
.lock-badge { width: 64px; height: 64px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.lock-badge svg { width: 28px; height: 28px; }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.alert .icon { margin-top: 2px; }
.alert-warn { background: var(--warn-bg); color: var(--warn-ink); }
.alert-error { width: 100%; max-width: 760px; margin: 0 auto; border: 1px solid var(--danger-line); color: var(--danger); background: var(--surface); font-weight: 500; }

.unavailable { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding-top: 40px; }
.clock-badge { width: 72px; height: 72px; border-radius: 50%; border: 2px dashed var(--dash); color: var(--muted); display: grid; place-items: center; }
.clock-badge svg { width: 30px; height: 30px; }
.reasons { list-style: none; width: 100%; margin-top: 8px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.reasons li { display: flex; gap: 12px; align-items: flex-start; }
.reasons li > span { font: 13px/1.5 var(--mono); color: var(--muted); margin-top: 2px; }
.reasons li.is-likely { font-weight: 600; }
.reasons li.is-likely > span { color: var(--accent-text); }

/* ------------------------------------------------------------------ Comptes */

.code-input { font-family: var(--mono); font-size: 20px !important; letter-spacing: .3em; text-align: center; }
.totp-setup { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-sunk); }
.qr { width: 172px; height: 172px; flex: none; padding: 10px; background: #ffffff; border-radius: 8px; }
.qr svg { display: block; width: 100%; height: 100%; }
.qr svg rect { fill: #10151c; stroke: none; }
.totp-setup > .stack-sm { flex: 1 1 200px; }
.secret-code { display: block; padding: 10px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font: 500 14px/1.6 var(--mono); letter-spacing: .08em; overflow-wrap: anywhere; user-select: all; }

.manage-block { padding: 16px; border-radius: 12px; background: var(--surface-sunk); border: 1px solid var(--line-soft); }
.link-box-sm { font-size: 12px; color: var(--ink-2); flex-basis: 300px; }

/* ------------------------------------------------------------------ Mes envois */

.transfer-list { padding: 8px 28px; }
.transfers { list-style: none; padding: 0; }
.transfer { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 8px 20px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.transfer:last-child { border-bottom: 0; }
.transfer-main { display: flex; flex-direction: column; }
.transfer-name { font-weight: 600; color: var(--ink); text-decoration: none; }
a.transfer-name:hover { color: var(--accent-text); }
.transfer-name.is-unknown { color: var(--muted); font-weight: 500; }
.transfer-downloads { color: var(--muted); min-width: 64px; text-align: right; }
.empty { padding: 32px 0; }
.more { padding: 16px 0 12px; }
@media (max-width: 640px) {
  .transfer-list { padding: 4px 22px; }
  .transfer { grid-template-columns: minmax(0, 1fr) auto; }
  .transfer-downloads { text-align: left; }
}

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; background: var(--track); color: var(--ink-2); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-active { background: var(--accent-soft); color: var(--accent-text); }
.badge-progress { background: var(--warn-bg); color: var(--warn-ink); }
.badge-done { background: var(--ink); color: var(--ground); }

.timeline { list-style: none; padding: 0; display: flex; flex-direction: column; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 14px 20px; font-size: 15px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--field); }
.timeline li.is-accent::before { background: var(--accent); border-color: var(--accent); }
.timeline time { display: block; font: 12px/1.5 var(--mono); color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ------------------------------------------------------------------ Présentation (About / FAQ / Keep going) */

.seo { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 96px); margin-top: clamp(48px, 7vw, 80px); }
.eyebrow-ch { font: 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.eyebrow-ch .idx { color: var(--accent-text); }
.sec-title { margin-top: 12px; font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
.grid2 { margin-top: 32px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .grid2 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.panel .ph { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel .ph h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.panel > p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.ico { width: 36px; height: 36px; flex: none; border-radius: 9px; display: grid; place-items: center; border: 1px solid #22303a; background: #0e1830; color: var(--accent-text); }
.ico svg { stroke-width: 1.5; }
.plist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.plist .chk { margin-top: 3px; flex: none; color: #5b8def; }
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.steps-row li { padding: 16px; border: 1px solid var(--line-soft); border-radius: 10px; background: #090c11; }
.steps-row .sn { font: 13px/1.4 var(--mono); color: var(--accent-text); }
.steps-row p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 20px; }
.faq[open] { border-color: #1e2a44; }
.faq summary { list-style: none; cursor: pointer; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { flex: none; font: 400 20px/1 var(--mono); color: var(--dim); transition: transform .18s; }
.faq[open] .chev { transform: rotate(45deg); color: var(--accent-text); }
.faq > p { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.rel { margin-top: 28px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.relc { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; transition: border-color .18s, background-color .18s; }
.relc:hover { border-color: #2e3a49; background: #0f141b; }
.relc .rp { font: 12px/1.4 var(--mono); color: var(--dim); }
.relc .rl { font-size: 15.5px; font-weight: 600; color: var(--ink); }

/* Bloc « dernières actus » injecté au démarrage (mêmes cartes que les pages Astro). */
.latest-news { margin-block: 8px 72px; }
.latest-news .ln-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.latest-news h2 { margin: 0; font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.latest-news .ln-head a { font-family: var(--mono); font-size: 13px; color: var(--accent-text); text-decoration: none; }
.ln-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ln-card { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; }
.ln-card:hover { border-color: var(--field); }
.ln-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.ln-title { font-size: 15.5px; font-weight: 650; line-height: 1.35; color: var(--ink); }
.ln-sum { font-size: 13.5px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ln-cves { margin-top: auto; font-family: var(--mono); font-size: 11.5px; color: var(--accent-text); }
.ln-video { border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; color: var(--muted); }
.sev { display: inline-flex; border: 1px solid; border-radius: 6px; padding: 0 6px; font-weight: 500; }
.sev-critical { color: #fecaca; border-color: rgba(239, 68, 68, .55); background: rgba(239, 68, 68, .12); }
.sev-high { color: #fed7aa; border-color: rgba(249, 115, 22, .55); background: rgba(249, 115, 22, .12); }
.sev-medium { color: #fde68a; border-color: rgba(245, 158, 11, .5); background: rgba(245, 158, 11, .1); }
.sev-low { color: #bfdbfe; border-color: rgba(59, 130, 246, .5); background: rgba(59, 130, 246, .1); }

/* CyberHunter design system (H4): same breadcrumb, section labels, titles, cards and footer as the main site. */
.crumbs { font: 13px/1.4 var(--sans); color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs .sep { color: var(--dim); }
.crumbs .cur { color: var(--ink); font-weight: 500; }
.tool-title { font-size: clamp(24px, 2.8vw, 30px); line-height: 1.15; letter-spacing: -.02em; max-width: 30ch; }
.tool-title .brand-accent { color: inherit; }
.eyebrow-ch { font: 600 12px/1.4 var(--sans); letter-spacing: .08em; color: var(--dim); }
.eyebrow-ch .idx { display: none; }
.sec-title { font-size: clamp(22px, 2.4vw, 26px); line-height: 1.2; letter-spacing: -.02em; }
.relc { border-radius: 10px; transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.relc:hover { border-color: #2b3a4f; background: var(--track); transform: translateY(-1px); }
.footer { background: var(--surface-sunk); }
.footer-col p { font: 600 12px/1.4 var(--sans); letter-spacing: .08em; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .relc:hover { transform: none; }
}
