/* Test de niveau bureautique — complète plaquette.css et espace.css */
.sfc-plq .tn-pret{margin:14px 0}
.sfc-espace .tn-wrap{max-width:900px}
.sfc-espace .tn-back{margin-top:14px}

/* Questions */
.sfc-espace .tn-form{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px 24px;display:grid;gap:14px}
.sfc-espace .tn-q{display:grid;gap:12px;min-width:0}
.sfc-espace .tn-q+.tn-q{border-top:1px dashed var(--line);padding-top:18px}
.sfc-espace .tn-qt{font-size:19px;font-weight:bold;color:var(--ink);line-height:1.35;margin:4px 0 0}
.sfc-espace .tn-qhead{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.sfc-espace .tn-tag{background:var(--tint);border-radius:999px;padding:2px 10px;font-size:12.5px;font-weight:bold;color:var(--ink)}
.sfc-espace .tn-bar{height:8px;border-radius:99px;background:var(--line);overflow:hidden;display:none}
.sfc-espace .tn-bar span{display:block;height:100%;background:var(--orange);border-radius:99px;transition:width .3s}
.sfc-espace .tn-ill{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px;overflow-x:auto}
.tn-grid{border-collapse:collapse;font-family:Consolas,"Courier New",monospace;font-size:13.5px;background:#fff}
.tn-grid th,.tn-grid td{border:1px solid #c9d3cc;padding:6px 10px;text-align:left;white-space:nowrap}
.tn-grid th,.tn-grid td.rn{background:#e9f0eb;color:#30443a;font-weight:bold}
.sfc-espace .tn-choices{display:grid;gap:8px}
.sfc-espace .tn-ch{display:flex;gap:10px;align-items:center;border:2px solid var(--line);border-radius:10px;padding:12px 14px;cursor:pointer;font-weight:bold;color:var(--ink);background:var(--surface)}
.sfc-espace .tn-ch:hover{border-color:#f6b56b}
.sfc-espace .tn-ch:has(input:checked){border-color:var(--orange);background:#fff7ec}
.sfc-espace .tn-ch input,.sfc-espace .tn-dk input{accent-color:var(--orange);width:18px;height:18px;flex:none}
.sfc-espace .tn-dk{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:14.5px;cursor:pointer;padding:4px 2px}
.sfc-espace .tn-nav{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center}
.sfc-espace .tn-prev{font:inherit;font-weight:bold;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px 18px;cursor:pointer;color:var(--ink)}
.sfc-espace .tn-nav .submit{margin-left:auto}
.sfc-espace .tn-js .tn-q{display:none}
.sfc-espace .tn-js .tn-q.on{display:grid}
.sfc-espace .tn-js .tn-bar{display:block}
.sfc-espace .tn-js .tn-q+.tn-q{border-top:0;padding-top:0}

/* Résultat */
.sfc-espace .tn-res{background:var(--surface);border:2px solid var(--orange);border-radius:14px;padding:22px 24px;display:grid;gap:14px}
.sfc-espace .tn-res h3{margin:0;font-size:22px;color:var(--ink)}
.sfc-espace .tn-res p{margin:0}
.sfc-espace .tn-scale{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;border-radius:10px;overflow:hidden}
.sfc-espace .tn-scale div{background:#e8eef3;text-align:center;padding:10px 4px;color:var(--muted);font-size:14px}
.sfc-espace .tn-scale div.ok{background:#fde3c3}
.sfc-espace .tn-scale div.on{background:var(--orange);color:#1a0f00}
.sfc-espace .tn-scale b{display:block}
.sfc-espace .tn-scale small{display:block;font-size:12px;margin-top:2px}
.sfc-espace .tn-themes{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:10px 28px}
.sfc-espace .tn-th span{display:block;font-size:14px;color:var(--ink);margin-bottom:4px}
.sfc-espace .tn-th i{display:block;height:7px;border-radius:99px;background:var(--line);overflow:hidden}
.sfc-espace .tn-th em{display:block;height:100%;border-radius:99px}
.sfc-espace .tn-th i.g em{background:#1e7a4f}
.sfc-espace .tn-th i.m em{background:#d98b1d}
.sfc-espace .tn-th i.b em{background:#b4541b}
.tn-cons,.tn-devis{display:flex;gap:14px;align-items:center;flex-wrap:wrap;background:#e3f4ea;border-radius:12px;padding:14px 18px}
.tn-cons .ic,.tn-devis .ic{font-size:28px}
.tn-cons>div,.tn-devis>div{flex:1;min-width:220px}
.tn-cons b,.tn-devis b{color:#1e7a4f;font-size:16px}
.tn-cons p,.tn-devis p{margin:2px 0 0;font-size:14.5px}
.tn-cons .submit,.tn-devis .submit{text-decoration:none;white-space:nowrap}
.sfc-espace .tn-note{font-size:13.5px}

/* Page collaborateurs */
.sfc-espace .tn-collab{gap:14px}
.sfc-espace .tn-tablewrap{overflow-x:auto}
.sfc-espace .tn-table{width:100%;border-collapse:collapse;font-size:14.5px}
.sfc-espace .tn-table th{text-align:left;font-weight:normal;color:var(--muted);font-size:13px;padding:6px 8px;border-bottom:1px solid var(--line)}
.sfc-espace .tn-table td{padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:middle}
.sfc-espace .tn-table tbody:empty::after{content:"Aucun collaborateur invité pour le moment.";display:block;padding:10px 8px;color:var(--muted)}
.tn-pill{display:inline-block;border-radius:999px;padding:3px 10px;font-size:12.5px;font-weight:bold;background:#e8eef3;color:#4f6474;white-space:nowrap}
.tn-pill.ok{background:#e3f4ea;color:#1e7a4f}
.tn-pill.wait{background:#fff1df;color:#b85e00}
.tn-link{background:none;border:0;padding:0;font:inherit;font-size:13.5px;color:var(--ink);text-decoration:underline;cursor:pointer}
.sfc-espace .tn-add{display:grid;gap:10px;border-top:1px dashed var(--line);padding-top:14px}
.sfc-espace .tn-add h3{font-size:16px}
.sfc-espace .tn-rows{display:grid;gap:8px}
.sfc-espace .tn-row{display:grid;grid-template-columns:1fr 1fr 1.4fr auto;gap:8px}
.sfc-espace .tn-row input,.sfc-espace .tn-row select,.sfc-espace .tn-paste textarea{font:inherit;font-size:15px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);width:100%;min-width:0}
.sfc-espace .tn-add-btns{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.sfc-espace .tn-add-btns .submit{margin-left:auto}
.tn-btn2{font:inherit;font-weight:bold;font-size:14.5px;background:var(--surface,#fff);border:1px solid var(--line,#d9e1e7);border-radius:8px;padding:10px 14px;cursor:pointer;color:var(--ink,#002b46)}
.sfc-espace .tn-paste{display:grid;gap:8px;background:var(--tint);border-radius:10px;padding:12px}
.sfc-espace .tn-paste label{font-size:14px}
.sfc-espace .tn-split{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:10px}
.sfc-espace .tn-split-it{border:2px solid var(--line);border-radius:12px;padding:12px;text-align:center;background:var(--surface)}
.sfc-espace .tn-split-it.on{border-color:var(--orange);background:#fff7ec}
.sfc-espace .tn-split-it.wait{background:#e8eef3;border-color:#e8eef3}
.sfc-espace .tn-split-it b{display:block;font-size:24px;color:var(--ink)}
.sfc-espace .tn-split-it span{font-size:14px;color:var(--muted)}
.sfc-espace .tn-rgpd{font-size:13px}
@media (max-width:700px){
	.sfc-espace .tn-row{grid-template-columns:1fr 1fr}
	.sfc-espace .tn-row input[type=email]{grid-column:1/-1}
	.sfc-espace .tn-scale small{display:none}
	.sfc-espace .tn-form,.sfc-espace .tn-res{padding:16px}
	.sfc-espace .tn-nav .submit,.sfc-espace .tn-prev{flex:1}
}
.sfc-espace [hidden],.sfc-plq .tn-pret [hidden]{display:none!important}

/* Test d'orientation */
.sfc-plq .or-ban,.sfc-plq .or-pre{display:flex;gap:16px;align-items:center;flex-wrap:wrap;border:2px dashed var(--orange);background:#fff7ec;border-radius:14px;padding:14px 18px;margin:0 0 16px}
.sfc-plq .or-pre{border-style:solid;border-color:#9fd3b5;background:#e3f4ea;margin:12px 0 16px}
.sfc-plq .or-ban .ic,.sfc-plq .or-pre .ic{font-size:30px}
.sfc-plq .or-ban>div,.sfc-plq .or-pre>div{flex:1;min-width:240px}
.sfc-plq .or-ban b,.sfc-plq .or-pre b{display:block;color:var(--ink);font-size:17px}
.sfc-plq .or-ban p,.sfc-plq .or-pre p{margin:2px 0 0;color:var(--muted);font-size:14.5px}
.sfc-plq .or-ban a{background:var(--orange);color:#1a0f00!important;font-weight:bold;border-radius:8px;padding:11px 16px;text-decoration:none!important;white-space:nowrap}
.sfc-plq .or-pre a{color:var(--ink);font-weight:bold;font-size:14.5px}
@media (max-width:640px){.sfc-plq .or-ban a{width:100%;text-align:center}}
.sfc-espace .or-steps{display:flex;gap:6px}
.sfc-espace .or-steps span{flex:1;font-size:12.5px;color:var(--muted);border-top:4px solid var(--line);padding-top:6px}
.sfc-espace .or-steps span.on{border-color:var(--orange);color:var(--ink);font-weight:bold}
.sfc-espace .or-steps span.ok{border-color:#f6b56b}
.sfc-espace .or-sit{background:var(--tint);border-radius:10px;padding:12px 16px;font-size:15.5px;color:var(--ink);border-left:4px solid var(--orange);line-height:1.5}
.sfc-espace .or-cnt{margin:-6px 0 0;font-size:13.5px;color:var(--muted)}
.sfc-espace .or-chips{display:flex;flex-wrap:wrap;gap:8px}
.sfc-espace .or-chip{display:flex;gap:9px;align-items:center;border:2px solid var(--line);border-radius:999px;padding:9px 16px;font-weight:bold;color:var(--ink);background:var(--surface);cursor:pointer;font-size:14.5px}
.sfc-espace .or-chip:has(input:checked){border-color:var(--orange);background:#fff7ec}
.sfc-espace .or-chip input{accent-color:var(--orange);width:17px;height:17px}
.sfc-espace .or-chip.off{opacity:.45}
.sfc-espace .or-aff{display:grid;gap:12px}
.sfc-espace .or-af{display:grid;grid-template-columns:minmax(0,260px) 1fr 52px;gap:12px;align-items:center}
.sfc-espace .or-af b{font-size:15px;color:var(--ink)}
.sfc-espace .or-af small{display:block;color:var(--muted);font-weight:normal;font-size:12.5px}
.sfc-espace .or-af i{height:12px;border-radius:99px;background:var(--line);overflow:hidden;display:block}
.sfc-espace .or-af em{display:block;height:100%;border-radius:99px;background:var(--orange)}
.sfc-espace .or-af.lo em{background:#9fb3c2}
.sfc-espace .or-af span{font-weight:bold;color:var(--ink)}
.sfc-espace .or-why{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:10px}
.sfc-espace .or-why div{background:var(--tint);border-radius:10px;padding:10px 14px;font-size:14.5px}
.sfc-espace .or-why b{display:block;font-size:12.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:2px}
.sfc-espace .or-parc{border:1px dashed #9fb3c2;border-radius:12px;padding:12px 16px;font-size:14.5px;color:var(--ink)}
@media (max-width:640px){.sfc-espace .or-af{grid-template-columns:1fr 48px}.sfc-espace .or-af b{grid-column:1/-1}}
