/* Outils gratuits (SPF, DKIM, DMARC, MX, en-têtes) : chargé seulement sur les pages qui en ont besoin (1.18.35) */
/* ---------- Outils gratuits (1.18.15) ---------- */
.pt{max-width:980px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:32px;padding:30px;box-shadow:var(--sh)}
.sec.cream .pt,.sec.lav .pt{border-color:transparent}
.pt-form{display:flex;gap:10px;flex-wrap:wrap}
.pt-in{flex:1 1 320px;position:relative;display:flex;align-items:center}.pt-in svg{position:absolute;left:18px;width:20px;height:20px;color:var(--muted);pointer-events:none}
.pt-in input,.pt-sel,.pt-f input,.pt-f select,.pt-f textarea{width:100%;font:inherit;font-size:16px;color:var(--ink);background:#fff;border:1.5px solid var(--line);border-radius:16px;padding:15px 18px;outline:0;transition:border-color .15s,box-shadow .15s}
.pt-in input{padding-left:48px;font-size:17px;font-weight:600}
.pt-sel{flex:0 1 200px;font-size:15px}
.pt-in input:focus,.pt-sel:focus,.pt-f input:focus,.pt-f select:focus,.pt-f textarea:focus{border-color:var(--v);box-shadow:0 0 0 4px var(--v-l)}
.pt-f textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13.5px;line-height:1.5;resize:vertical;min-height:180px}
.pt .btn[disabled]{opacity:.6;cursor:wait}
.pt-out{margin-top:6px;opacity:0;transform:translateY(10px);transition:opacity .45s,transform .45s}.pt-out.in{opacity:1;transform:none}
.pt-load{display:flex;align-items:center;gap:12px;padding:26px 6px;color:var(--muted);font-weight:600}.pt-out:has(.pt-load){opacity:1;transform:none}
.pt-load i{width:22px;height:22px;border-radius:50%;border:3px solid var(--v-l);border-top-color:var(--v);animation:ptspin .8s linear infinite}
@keyframes ptspin{to{transform:rotate(1turn)}}
.pt-err{display:flex;gap:10px;align-items:flex-start;margin-top:18px;background:#fdf1f0;color:#a3291f;border-radius:16px;padding:14px 16px;font-weight:600}.pt-err svg{width:20px;height:20px;flex:none}
.pt-res{margin-top:22px;display:flex;flex-direction:column;gap:14px}
.pt-head{display:flex;align-items:center;gap:22px;padding:6px 4px 10px}
.pt-gauge{position:relative;width:120px;height:120px;flex:none}.pt-gauge svg{width:100%;height:100%;transform:rotate(-90deg)}
.pt-gauge circle{fill:none;stroke-width:11}.pt-gauge .tr{stroke:#f0ebf7}.pt-gauge .ar{stroke:var(--c);stroke-linecap:round;stroke-dasharray:0 var(--C);transition:stroke-dasharray 1.4s cubic-bezier(.2,.7,.2,1)}
.pt-gauge[style*="--v"] .ar{stroke-dasharray:calc(var(--C) * var(--v) / 100) var(--C)}
.pt-gauge>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.pt-gauge b{font-size:2.6rem;font-weight:800;line-height:1;color:var(--c)}.pt-gauge small{font-size:13px;color:var(--muted);font-weight:600;margin-top:2px}
.pt-k{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}
.pt-head-t h3{margin:2px 0 2px;font-size:1.5rem;word-break:break-all}.pt-head-t p{margin:0;font-weight:700}
.pt-mxic{width:64px;height:64px;border-radius:20px;display:flex;align-items:center;justify-content:center;flex:none}.pt-mxic svg{width:30px;height:30px}.pt-mxic.ok{background:#e7f7ef;color:#0e8f55}.pt-mxic.warn{background:#fff4e2;color:#c26a00}
.pt-secs{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pt-secs .pt-sec:last-child:nth-child(odd){grid-column:1/-1}
.pt-sec{border:1px solid var(--line);border-radius:22px;padding:18px 20px;border-top:4px solid #cfc6dd}
.pt-sec.ok{border-top-color:#12a067}.pt-sec.warn{border-top-color:#e8a10c}.pt-sec.bad{border-top-color:#e0453a}.pt-sec.info{border-top-color:#b9a3dd}
.pt-sec header{display:flex;align-items:center;gap:9px;margin-bottom:10px}.pt-sec h4{margin:0;font-size:1.05rem;color:var(--ink)}
.pt-ic{display:inline-flex;width:22px;height:22px;flex:none}.pt-ic svg{width:100%;height:100%}
.pt-sec.ok header .pt-ic,.pt-items li.ok .pt-ic,.pt-chip.ok .pt-ic{color:#12a067}.pt-sec.warn header .pt-ic,.pt-items li.warn .pt-ic,.pt-chip.warn .pt-ic{color:#d48a00}.pt-sec.bad header .pt-ic,.pt-items li.bad .pt-ic,.pt-chip.bad .pt-ic{color:#e0453a}.pt-items li.info .pt-ic,.pt-chip.info .pt-ic{color:#8c7bb0}
.pt-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.pt-items li{display:flex;gap:9px;font-size:15px;line-height:1.5;color:var(--ink2)}.pt-items li .pt-ic{width:19px;height:19px;margin-top:2px}
.pt-recs{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.pt-rec,.pt-row{display:flex;align-items:flex-start;gap:8px}
.pt code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;background:#f6f3fb;border-radius:10px;padding:8px 10px;color:#3b2a66;word-break:break-all;flex:1;line-height:1.5}
.pt-copy{flex:none;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:7px 10px;font:inherit;font-size:13px;font-weight:700;color:var(--ink2);cursor:pointer}.pt-copy svg{width:15px;height:15px}.pt-copy:hover{border-color:var(--v);color:var(--v)}.pt-copy.ok{background:#e7f7ef;border-color:#9bdcbc;color:#0e8f55}
.pt-fix{margin:12px 0 0;font-size:14.5px;background:var(--v-ll);border-radius:12px;padding:10px 12px;color:var(--ink2)}
.pt-link{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-weight:700;color:var(--v);text-decoration:none;font-size:14.5px}.pt-link svg{width:16px;height:16px;transition:transform .15s}.pt-link:hover svg{transform:translateX(3px)}
.pt-sec .pt-link{margin-right:16px}
.pt-table{overflow-x:auto}.pt-table table{width:100%;border-collapse:collapse;font-size:14.5px}.pt-table th,.pt-table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}.pt-table th{color:var(--muted);font-weight:700;white-space:nowrap;width:1%}
.pt-table td code{display:inline-block}.pt-tag{display:inline-block;margin-left:8px;background:var(--v-l);color:var(--v-dd);border-radius:999px;padding:2px 9px;font-size:12px;font-weight:700}
.pt-muted{color:var(--muted)}.small{font-size:13.5px}
.pt-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:18px;background:linear-gradient(135deg,var(--ink),#3a2470);color:#e4dcf5;border-radius:22px;padding:20px 24px}
.pt-cta b{display:block;color:#fff;font-size:1.1rem}.pt-cta span{font-size:14.5px}
/* générateur */
.pt-gen-g{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;align-items:start}
.pt-f{display:flex;flex-direction:column;gap:7px;margin:0 0 16px;border:0;padding:0}.pt-f>span,.pt-f legend{font-weight:700;font-size:14.5px;color:var(--ink)}.pt-f small{color:var(--muted);font-size:13px}
.pt-f output{float:right;color:var(--v);font-weight:800}.pt-f input[type=range]{padding:0;border:0;box-shadow:none;accent-color:var(--v)}
.pt-radio{display:flex;gap:12px;align-items:flex-start;border:1.5px solid var(--line);border-radius:16px;padding:12px 14px;cursor:pointer;margin-bottom:8px;transition:border-color .15s,background .15s}
.pt-radio input{margin-top:4px;accent-color:var(--v)}.pt-radio b{display:block;color:var(--ink);font-size:15px}.pt-radio small{color:var(--muted);font-size:13.5px}.pt-radio.on{border-color:var(--v);background:var(--v-ll)}
.pt-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pt-adv{border:1px solid var(--line);border-radius:16px;padding:12px 14px;margin-top:4px}.pt-adv summary{cursor:pointer;font-weight:700;color:var(--ink)}.pt-adv[open] summary{margin-bottom:14px}
.pt-gen-o{position:sticky;top:110px;background:var(--ink);color:#d8d0ec;border-radius:24px;padding:22px}
.pt-gen-o .pt-k{color:#a99bc9}.pt-gen-o dl{margin:12px 0 14px;display:grid;grid-template-columns:auto 1fr;gap:10px 12px;align-items:start}.pt-gen-o dt{font-size:13px;font-weight:700;color:#a99bc9;padding-top:8px}.pt-gen-o dd{margin:0}
.pt-gen-o code{background:#261a44;color:#fff}.pt-gen-o .pt-copy{background:#261a44;border-color:#3b2a66;color:#d8d0ec}.pt-gen-o .pt-muted{color:#a99bc9}
.pt-warn{display:flex;gap:8px;align-items:flex-start;background:rgba(232,161,12,.14);color:#ffd28a;border-radius:12px;padding:10px 12px;font-size:14px;margin:0 0 10px}.pt-warn svg{width:18px;height:18px;flex:none}
.pt-plan{margin-top:14px;border-top:1px solid #34275a;padding-top:12px}.pt-plan b{color:#fff}.pt-plan ol{margin:8px 0 0;padding-left:20px;font-size:14px;line-height:1.55}
.pt-gen-o .pt-link{color:#c7a8f5}
/* en-têtes */
.pt-hdr-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pt-private{display:inline-flex;align-items:center;gap:6px;color:#0e8f55;font-size:14px;font-weight:600;margin-left:auto}.pt-private svg{width:17px;height:17px}
.pt-how{margin-top:12px}.pt-how ul{margin:0;padding-left:18px;font-size:14.5px;color:var(--ink2)}
.pt-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.pt-chip{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:16px;padding:12px 14px}.pt-chip b{color:var(--ink)}.pt-chip em{margin-left:auto;font-style:normal;font-weight:700;font-size:14px}
.pt-chip.ok em{color:#0e8f55}.pt-chip.bad em{color:#c2352b}.pt-chip.warn em{color:#b87500}.pt-chip.info em{color:var(--muted)}
.pt-route{list-style:none;margin:0;padding:0;position:relative}.pt-route li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px dashed var(--line)}.pt-route li:last-child{border-bottom:0}
.pt-hop{width:28px;height:28px;border-radius:50%;background:var(--v-l);color:var(--v-dd);font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;flex:none}
.pt-route b{display:block;color:var(--ink);font-size:14.5px;word-break:break-all}.pt-route small{color:var(--muted);font-size:13px;word-break:break-all}.pt-route div{flex:1;min-width:0}
.pt-route em{font-style:normal;font-weight:700;font-size:13px;color:#0e8f55;background:#e7f7ef;border-radius:999px;padding:3px 9px;white-space:nowrap}.pt-route em.slow{color:#b87500;background:#fff4e2}
@media (max-width:860px){.pt{padding:20px;border-radius:24px}.pt-secs,.pt-gen-g,.pt-chips{grid-template-columns:1fr}.pt-gen-o{position:static}.pt-head{gap:14px}.pt-gauge{width:96px;height:96px}.pt-private{margin-left:0}.pt-sel{flex:1 1 100%}}
.pt-warn[hidden],.pt-cta[hidden]{display:none}
.pt-radio input{width:auto;flex:none;padding:0;border:0;box-shadow:none;margin-top:5px}.pt-radio>span{flex:1;min-width:0}

/* champs alignés (1.18.30) */
.pt-form{align-items:flex-end}.pt-in input,.pt-sel,.pt-form>.btn{height:56px;box-sizing:border-box}
.pt-f select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6480' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px}
.pt-f input,.pt-f select{min-height:52px;box-sizing:border-box}
