/* Hydre — « CV par l'IA » (cvtry.js) : accueil public (DA Nuit) et fenêtre de Documents (thèmes clair et sombre).
   Couleurs du thème courant (--fg, --surface, --line…) ; indigo de la DA Nuit pour l'action principale. */
.hct{--hct-fg:var(--fg,#EEF1FA);--hct-mut:var(--muted,#A9B1CC);--hct-line:var(--line,#262E58);--hct-surf:var(--surface,#0A1020);--hct-bg:var(--bg,#070B16);--hct-acc:var(--accent,var(--c3,#7C7AF8));
  display:flex;flex-wrap:wrap;border-radius:22px;border:1px solid color-mix(in srgb,var(--hct-acc) 28%,var(--hct-line));background:var(--hct-surf);color:var(--hct-fg);overflow:hidden;text-align:left;font:15px/1.5 'Geist','Inter',system-ui,sans-serif}
.hct *{box-sizing:border-box}
.hct-vh{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0)}
.hct-main{flex:999 1 480px;min-width:0;padding:26px;display:flex;flex-direction:column;gap:18px}
.hct-side{flex:1 1 300px;min-width:0;padding:26px;display:flex;align-items:center;justify-content:center;border-left:1px solid var(--hct-line);background:radial-gradient(120% 100% at 100% 0%,color-mix(in srgb,var(--hct-acc) 14%,transparent),transparent 60%),color-mix(in srgb,var(--hct-surf) 88%,var(--hct-bg))}
.hct-full .hct-main{flex-basis:100%}
.hct-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.hct-steps{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.hct-steps li{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;border-radius:99px;border:1px solid var(--hct-line);font-size:13.5px;font-weight:600;color:var(--hct-mut)}
.hct-steps li span{width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;font:600 11px 'Geist Mono',ui-monospace,monospace;background:color-mix(in srgb,var(--hct-fg) 8%,transparent)}
.hct-steps li.on{color:var(--hct-fg);border-color:color-mix(in srgb,var(--hct-acc) 60%,var(--hct-line))}
.hct-steps li.on span{background:linear-gradient(180deg,#7B79F8,#5E5BEF);color:#fff}
.hct-steps li.past span{background:color-mix(in srgb,#34D399 18%,transparent);color:var(--c2,#34D399)}
.hct-count{display:inline-flex;align-items:center;gap:8px;font:500 12.5px 'Geist Mono',ui-monospace,monospace;color:var(--hct-mut)}
.hct-dots{display:flex;gap:5px}.hct-dots i{width:9px;height:9px;border-radius:50%;background:#22D3EE}.hct-dots i.used{background:var(--hct-line)}
.hct-body{display:flex;flex-direction:column;gap:16px}
.hct-col{display:flex;flex-direction:column;gap:12px}
.hct-seg{display:flex;gap:5px;padding:5px;border-radius:13px;border:1px solid var(--hct-line);background:var(--hct-bg)}
.hct-seg button{flex:1;min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--hct-mut);font:600 14.5px 'Geist','Inter',sans-serif;cursor:pointer}
.hct-seg button.on{background:color-mix(in srgb,var(--hct-acc) 22%,var(--hct-surf));color:var(--hct-fg);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--hct-acc) 55%,transparent)}
.hct-fld{display:flex;flex-direction:column;gap:7px}
.hct-fld label{font-weight:600;font-size:14.5px}
.hct-fld small,.hct-mut{color:var(--hct-mut);font-size:13.5px}
.hct textarea{width:100%;background:var(--hct-bg);color:var(--hct-fg);border:1px solid var(--hct-line);border-radius:13px;padding:12px 14px;font:15px/1.5 'Geist','Inter',sans-serif;resize:vertical}
.hct textarea:focus-visible,.hct button:focus-visible,.hct a:focus-visible,.hct-drop:focus-within{outline:2px solid var(--hct-acc);outline-offset:2px}
.hct-drop{display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 18px;border-radius:16px;border:1.5px dashed color-mix(in srgb,var(--hct-acc) 50%,var(--hct-line));background:var(--hct-bg);cursor:pointer;text-align:center}
.hct-drop.over{background:color-mix(in srgb,var(--hct-acc) 10%,var(--hct-bg))}
.hct-drop small{color:var(--hct-mut)}
.hct-ic{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hct-drop .hct-ic{width:30px;height:30px;color:var(--hct-acc)}
.hct-file{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:13px;border:1px solid var(--hct-line);background:var(--hct-bg)}
.hct-fic{width:28px;height:36px;border-radius:5px;background:#F8F9FC;box-shadow:inset 0 6px 0 #6E6CF6;flex:none}
.hct-fn{flex:1;min-width:0;display:flex;flex-direction:column}.hct-fn b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hct-fn small{color:var(--hct-mut);font-size:13px}
.hct-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px}
.hct-card{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;padding:15px;min-height:112px;border-radius:16px;border:1.5px solid var(--hct-line);background:var(--hct-bg);color:var(--hct-fg);font-family:'Geist','Inter',sans-serif;cursor:pointer}
.hct-card .hct-ic{color:var(--hct-acc)}.hct-card b{font-size:15.5px}.hct-card span{font-size:13.5px;color:var(--hct-mut)}
.hct-card.on{border-color:var(--hct-acc);background:linear-gradient(160deg,color-mix(in srgb,var(--hct-acc) 18%,transparent),var(--hct-bg) 80%)}
.hct-chips{display:flex;flex-wrap:wrap;gap:8px}
.hct-chips button{min-height:44px;padding:0 14px;border-radius:99px;border:1px solid var(--hct-line);background:transparent;color:var(--hct-mut);font:600 13.5px 'Geist','Inter',sans-serif;cursor:pointer}
.hct-chips button.on{border-color:var(--hct-acc);background:color-mix(in srgb,var(--hct-acc) 18%,transparent);color:var(--hct-fg)}
.hct-act{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center}
.hct-act.end{justify-content:flex-end}.hct-act.center{justify-content:center}
.hct-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border-radius:13px;font:600 15px 'Geist','Inter',sans-serif;text-decoration:none;cursor:pointer;border:1px solid transparent}
.hct-btn .hct-ic{width:17px;height:17px}
.hct-prim{border:0;background:linear-gradient(180deg,#7B79F8,#5E5BEF);color:#fff;box-shadow:0 10px 26px -12px rgba(110,108,246,.8)}
.hct-prim:hover{filter:brightness(1.08);color:#fff}
.hct-ghost{border-color:var(--hct-line);background:transparent;color:var(--hct-fg)}
.hct-ghost:hover{border-color:color-mix(in srgb,var(--hct-acc) 55%,var(--hct-line));color:var(--hct-fg)}
.hct-sm{min-height:44px;padding:0 14px;font-size:14px}
.hct-link{border:0;background:none;color:var(--hct-acc);text-decoration:underline;padding:0 8px}
.hct-err{margin:0;min-height:0;color:var(--c1,#FF6B81);font-weight:600}.hct-err:empty{display:none}
.hct-foot{padding-top:14px;border-top:1px solid var(--hct-line);color:var(--hct-mut);font-size:13px}
.hct-busy{display:flex;flex-direction:column;align-items:center;gap:12px;padding:30px 10px;text-align:center}
.hct-wait{margin:0;font-weight:600}
.hct-spin{width:38px;height:38px;border-radius:50%;border:3px solid color-mix(in srgb,var(--hct-acc) 25%,transparent);border-top-color:var(--hct-acc);animation:hctSpin .9s linear infinite}
@keyframes hctSpin{to{transform:rotate(360deg)}}
.hct-ok{align-self:flex-start;padding:4px 10px;border-radius:99px;background:color-mix(in srgb,#34D399 14%,transparent);color:var(--c2,#34D399);font:500 12.5px 'Geist Mono',ui-monospace,monospace}
.hct h3{margin:0;font:600 24px/1.15 'Geist','Inter',sans-serif;letter-spacing:-.02em}
.hct-body>p,.hct-wall p{margin:0}
.hct-wall{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:20px 6px}
.hct-wall p{max-width:34em}
.hct-lock{width:58px;height:58px;border-radius:50%;background:color-mix(in srgb,var(--hct-acc) 16%,transparent);display:grid;place-items:center;color:var(--hct-acc)}.hct-lock .hct-ic{width:28px;height:28px}
.hct-pv{display:block;width:100%;max-width:300px;height:auto;border-radius:6px;box-shadow:0 30px 60px -24px rgba(0,0,0,.7);background:#fff}
.hct-ph{width:100%;max-width:260px;aspect-ratio:210/297;border-radius:8px;border:1.5px dashed var(--hct-line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--hct-mut);font-size:14px;text-align:center;padding:16px}
.hct-ph .hct-ic{width:34px;height:34px;color:var(--hct-acc)}
@media (max-width:620px){.hct-main,.hct-side{padding:18px}.hct-side{border-left:0;border-top:1px solid var(--hct-line)}.hct-act .hct-btn{flex:1 1 auto}}
@media (prefers-reduced-motion:reduce){.hct-spin{animation-duration:3s}}
/* fenêtre de Documents */
.hct-ov{position:fixed;inset:0;z-index:2000;background:rgba(5,8,16,.78);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:flex-start;justify-content:center;padding:max(16px,4vh) 16px;overflow:auto}
.hct-dlg{width:min(980px,100%);display:flex;flex-direction:column;gap:12px}
.hct-dlg-h{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff}
.hct-dlg-h h2{margin:0;font:600 20px 'Geist','Inter',sans-serif}
.hct-x{width:44px;height:44px;border-radius:12px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;display:grid;place-items:center;cursor:pointer}
/* page d'accueil (DA Nuit) : section, bouton du haut, carte de tarif */
.hln-try .hln-sh h2 br{display:inline}
.hln-trybtn{border-color:color-mix(in srgb,#6E6CF6 55%,var(--line,#262E58))!important;background:color-mix(in srgb,#6E6CF6 12%,transparent)!important}
.hln-trybtn .hct-ic{width:17px;height:17px;color:#A5B4FF}
.hln-new{display:inline-block;width:7px;height:7px;border-radius:50%;background:#22D3EE;margin-left:7px;vertical-align:middle}
.hln-plan.hln-plantry{border-color:color-mix(in srgb,#6E6CF6 45%,var(--line,#1C2440));background:color-mix(in srgb,#6E6CF6 7%,transparent)}
.hln-plan .hln-tag{margin-left:8px;padding:2px 8px;border-radius:99px;background:color-mix(in srgb,#22D3EE 14%,transparent);color:#67E8F9;font:600 10.5px 'Geist Mono',monospace;letter-spacing:.06em;vertical-align:middle}
@media (prefers-color-scheme:light){:root:not([data-theme="dark"]) .hln-plan .hln-tag{color:#0E7490}}
:root[data-theme="light"] .hln-plan .hln-tag{color:#0E7490}

/* photo de la personne (étape « Ton contenu ») */
.hct-thumb{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none;border:1px solid var(--hct-line)}
.hct-addph{align-self:flex-start}

/* zones de texte longues : compteur et hauteur confortable */
.hct-fh{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.hct-cnt{font:500 12px 'Geist Mono',ui-monospace,monospace;color:var(--hct-mut);white-space:nowrap}.hct-cnt.near{color:var(--c1,#FF6B81)}
.hct textarea{min-height:92px}

/* identité : prénom, nom, e-mail, code */
.hct input[type=text],.hct input[type=email]{width:100%;min-height:46px;background:var(--hct-bg);color:var(--hct-fg);border:1px solid var(--hct-line);border-radius:13px;padding:0 14px;font:15px 'Geist','Inter',sans-serif}
.hct input:focus-visible{outline:2px solid var(--hct-acc);outline-offset:2px}
.hct-row2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px}
.hct .hct-code{max-width:220px;font:600 24px/1 'Geist Mono',ui-monospace,monospace;letter-spacing:.4em;text-align:center}
.hct-who{margin:0;font-size:13.5px;color:var(--hct-mut)}.hct-who .hct-link{min-height:44px;padding:0 4px;font-size:13.5px}
/* V2a C8 : ce que l'IA a écrit et qui ne figure pas dans le parcours donné */
.hct-flags{padding:10px 12px;border-radius:10px;background:color-mix(in srgb,#d97706 14%,transparent);font-size:13.5px;text-align:left}
.hct-flags ul{margin:4px 0 0;padding-left:18px}
