/* Lot P6 — thème du portail public (proposition A « Guichet unique ») : identité Suivi de dossier. */
.pt{--v:#006B3C;--v2:#00502D;--vc:#E8F3EC;--o:#F77F00;--oc:#FEF0DC;--t:#1A2420;--g:#5B655F;--b:#EAE7DE;--f:#F4F1EA;font-family:'IBM Plex Sans',system-ui,sans-serif;color:var(--t)}
.pt *{box-sizing:border-box}
.pt-c{max-width:1180px;margin:0 auto;padding:0 24px}
.pt-entete{background:var(--v);color:#fff}
.pt-entete .pt-c{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
.pt-logo{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}
.pt-logo img{width:56px;height:56px;border-radius:10px;background:#fff;padding:3px;object-fit:contain}
.pt-logo strong{display:block;font-size:16px;letter-spacing:.4px}
.pt-logo span{display:block;font-size:11px;color:#CFE5D7;font-family:'IBM Plex Mono',monospace;letter-spacing:1px}
.pt-nav{margin-left:auto;display:flex;gap:4px;flex-wrap:wrap;align-items:center}
.pt-nav a{color:#fff;text-decoration:none;padding:10px 12px;font-size:14px;font-weight:600;border-radius:8px}
.pt-nav a:hover,.pt-nav a.on{background:rgba(255,255,255,.12)}
.pt-nav a.pt-compte{background:var(--o);padding:10px 16px;font-weight:700}
.pt-tricolore{height:4px;display:flex}.pt-tricolore i{flex:1}
.pt-alertes{background:var(--oc);border-bottom:1px solid #F5D6A8;display:flex;align-items:center;height:46px;overflow:hidden}
.pt-alertes b{flex-shrink:0;height:100%;display:flex;align-items:center;gap:8px;padding:0 16px;background:#C2410C;color:#fff;font-size:13px;letter-spacing:.5px}
.pt-defile{flex:1;min-width:0;overflow:hidden}
.pt-defile-in{display:inline-flex;white-space:nowrap;animation:pt-defile 40s linear infinite}
.pt-alertes:hover .pt-defile-in,.pt-alertes.arret .pt-defile-in{animation-play-state:paused}
.pt-defile-in span{padding:0 40px;font-size:14px}
.pt-defile-in a{color:#9A3412;font-weight:700}
.pt-alertes button{flex-shrink:0;margin:0 8px;min-width:44px;height:34px;border:1px solid #F5D6A8;background:#fff;border-radius:8px;font:inherit;font-size:13px;font-weight:600;color:#9A3412;cursor:pointer}
@keyframes pt-defile{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.pt-defile-in{animation:none}}
.pt-banniere{padding-top:18px}
.pt-banniere img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--b)}
.pt-titre{font-family:'Newsreader',Georgia,serif;font-weight:500;letter-spacing:-.3px}
.pt-pied{background:var(--t);color:#CFD6D1;margin-top:0}
.pt-pied .pt-c{padding-top:30px;padding-bottom:30px;display:flex;gap:24px;flex-wrap:wrap;justify-content:space-between;font-size:13px}
.pt-pied a{color:#CFD6D1}
.pt-pied nav{display:flex;gap:16px;flex-wrap:wrap}
/* Accueil */
.pt-hero{display:flex;gap:32px;flex-wrap:wrap;align-items:flex-end;padding-top:44px;padding-bottom:28px}
.pt-hero h1{margin:0;font-size:44px;line-height:1.1;flex:1 1 460px}
.pt-hero p{margin:16px 0 0;font-size:17px;line-height:1.6;color:var(--g)}
.pt-suivi{flex:1 1 400px;background:#fff;border:1px solid var(--b);border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:10px}
.pt-suivi label{font-size:13px;font-weight:600;color:#3A433D}
.pt-suivi input{padding:13px 14px;border:1px solid #DAD7CD;border-radius:9px;font:inherit;font-size:15px;background:#FCFBF7}
.pt-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border:0;border-radius:9px;background:var(--v);color:#fff;font:inherit;font-size:15px;font-weight:700;text-decoration:none;cursor:pointer}
.pt-btn:hover{background:var(--v2);color:#fff}
.pt-btn--o{background:var(--o)}.pt-btn--o:hover{background:#D96E00}
.pt-tuiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pt-tuile{text-decoration:none;color:var(--t);background:#fff;border:1px solid var(--b);border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:8px;min-height:150px;transition:border-color .15s,box-shadow .15s}
.pt-tuile:hover{border-color:var(--v);box-shadow:0 8px 22px -14px rgba(0,107,60,.45);color:var(--t)}
.pt-tuile strong{font-size:16px}
.pt-tuile span{font-size:13.5px;color:var(--g);line-height:1.5}
.pt-tuile small{margin-top:auto;font-size:11px;font-family:'IBM Plex Mono',monospace;color:var(--v);letter-spacing:.5px}
.pt-tuile.bientot{background:#FBF9F4;border-style:dashed}
.pt-section{padding-top:40px;padding-bottom:40px}
.pt-section h2{margin:0 0 16px;font-size:30px}
.pt-diapo{border-radius:18px;padding:40px;display:flex;gap:28px;align-items:center;flex-wrap:wrap;color:#fff;min-height:320px;background:var(--v)}
.pt-diapo h2{color:#fff;font-size:38px;margin:8px 0 12px}
.pt-diapo p{margin:0;font-size:16px;line-height:1.6;color:#E8F3EC;max-width:620px}
.pt-diapo img{margin-left:auto;width:360px;max-width:100%;border-radius:14px;object-fit:cover}
.pt-diapo .pt-etiq{font-size:12px;font-family:'IBM Plex Mono',monospace;letter-spacing:1.5px;color:#FBE9C9}
.pt-diapo-nav{margin-top:14px;display:flex;gap:10px;justify-content:center;align-items:center}
.pt-diapo-nav button{width:44px;height:44px;border-radius:50%;border:1px solid #DAD7CD;background:#fff;cursor:pointer;font-size:18px}
.pt-diapo-nav .pt-point{width:12px;height:12px;min-width:0;padding:0;border:0;border-radius:6px;background:#DAD7CD}
.pt-diapo-nav .pt-point.on{width:28px;background:var(--v)}
.pt-actus{display:flex;gap:16px;flex-wrap:wrap}
.pt-actu-une{flex:2 1 460px;min-width:0;background:#fff;border:1px solid var(--b);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.pt-actu-une img{width:100%;height:220px;object-fit:cover}
.pt-actu-une>div{padding:20px;display:flex;flex-direction:column;gap:8px}
.pt-actu-liste{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:10px}
.pt-actu{text-decoration:none;color:var(--t);background:#fff;border:1px solid var(--b);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:4px}
.pt-actu:hover{border-color:var(--v);color:var(--t)}
.pt-meta{font-size:11px;font-family:'IBM Plex Mono',monospace;color:#B45309;letter-spacing:1px}
.pt-partage{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:13px;color:var(--g)}
.pt-partage a,.pt-partage button{text-decoration:none;border:1px solid #DAD7CD;background:#fff;border-radius:999px;padding:8px 12px;font:inherit;font-size:13px;font-weight:600;color:var(--t);cursor:pointer}
.pt-contacts{background:var(--v);color:#fff}
.pt-contacts h2{color:#fff}
.pt-contacts-grille{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.pt-contact{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:6px;color:#fff;text-decoration:none;min-height:110px}
.pt-contact span{font-size:13px;color:#CFE5D7}
.pt-contact strong{font-size:16px;overflow-wrap:anywhere}
.pt-etapes{background:#fff;border-top:1px solid var(--b);border-bottom:1px solid var(--b)}
.pt-etapes .pt-c{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding-top:32px;padding-bottom:32px}
.pt-etapes small{font-size:11px;font-family:'IBM Plex Mono',monospace;color:#B45309;letter-spacing:1px}
.pt-etapes strong{display:block;font-size:17px;margin:6px 0}
.pt-etapes span{font-size:14px;color:var(--g);line-height:1.6}
@media (max-width:980px){.pt-tuiles,.pt-contacts-grille{grid-template-columns:repeat(2,minmax(0,1fr))}.pt-hero h1{font-size:34px}}
@media (max-width:620px){.pt-tuiles,.pt-contacts-grille,.pt-etapes .pt-c{grid-template-columns:1fr}.pt-nav{margin-left:0}.pt-diapo{padding:24px}.pt-diapo h2{font-size:28px}}
.pt-vitrine{display:block;width:100%;height:auto;border-radius:16px;border:1px solid var(--b);box-shadow:0 18px 40px -26px rgba(26,36,32,.45)}
/* ── Lot P7 : pages intérieures du portail (composants du thème BAOBAB) ── */
.pt-page{max-width:1180px;margin:0 auto;padding:32px 24px 56px}
.pt-page--etroit{max-width:560px}
.pt-page--moyen{max-width:880px}
.pt-retour{display:inline-flex;align-items:center;gap:6px;color:var(--v);font-weight:700;font-size:14px;text-decoration:none;margin-bottom:14px}
.pt-retour:hover{text-decoration:underline;color:var(--v2)}
.pt-h1{font-family:'Newsreader',Georgia,serif;font-weight:500;font-size:36px;line-height:1.12;letter-spacing:-.3px;margin:0 0 8px;color:var(--t)}
.pt-intro{font-size:16px;line-height:1.6;color:var(--g);margin:0 0 22px}
.pt-centre{text-align:center}
.pt-info{background:var(--vc);color:#0F3D26;border-radius:12px;padding:14px 18px;margin:0 0 20px;font-size:14.5px;line-height:1.55}
.pt-info a{color:var(--v);font-weight:700}
.pt-msg-err{background:#FDECEA;color:#9B1C1C;border-radius:12px;padding:14px 18px;margin:0 0 18px;font-weight:600}
.pt-msg-err ul{margin:6px 0 0 18px;font-weight:500}
.pt-msg-ok{background:var(--vc);color:var(--v2);border-radius:12px;padding:14px 18px;margin:0 0 18px;font-weight:600}
.pt-carte{background:#fff;border:1px solid var(--b);border-radius:16px;padding:26px}
.pt-carte+.pt-carte{margin-top:16px}
.pt-sec{padding:22px 0;border-top:1px solid #F0EDE6}
.pt-sec:first-of-type{border-top:0;padding-top:4px}
.pt-sec-t{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--v);margin:0 0 14px}
.pt-grille2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pt-champ{display:flex;flex-direction:column;gap:6px;min-width:0}
.pt-champ--plein{grid-column:1 / -1}
.pt [hidden]{display:none!important}
.pt-label{font-size:13.5px;font-weight:600;color:#3A433D}
.pt-req{color:#B23B2E}
.pt-opt{font-size:12px;font-weight:500;color:var(--g)}
.pt-in{width:100%;padding:12px 14px;border:1px solid #DAD7CD;border-radius:9px;background:#FCFBF7;font:inherit;font-size:15px;color:var(--t)}
.pt-in:focus{outline:2px solid #BFE0CB;border-color:var(--v);background:#fff}
.pt-in[readonly],.pt-in:disabled{background:#F4F1EA;color:var(--g)}
textarea.pt-in{min-height:120px;resize:vertical}
.pt-aide{font-size:12.5px;color:var(--g)}
.pt-tel{display:flex;gap:6px}.pt-tel select{width:92px;flex-shrink:0}
.pt-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:20px}
.pt-btn--l{background:#fff;color:var(--v);border:1.5px solid var(--v)}.pt-btn--l:hover{background:var(--vc);color:var(--v2)}
.pt-btn--plein{width:100%}
.pt-btn[disabled]{opacity:.6}
.pt-mdp{position:relative}.pt-mdp .pt-in{padding-right:76px}
.pt-mdp button{position:absolute;right:6px;top:50%;transform:translateY(-50%);min-width:44px;height:36px;border:0;background:none;cursor:pointer;color:var(--v);font:inherit;font-size:12.5px;font-weight:700}
.pt-choix{display:flex;gap:10px;flex-wrap:wrap}
.pt-choix label{flex:1 1 120px;border:1.5px solid #DAD7CD;border-radius:10px;padding:12px;text-align:center;cursor:pointer;background:#fff;font-weight:600}
.pt-choix label:has(input:checked){border-color:var(--v);background:var(--vc);color:var(--v2)}
.pt-sep{display:flex;align-items:center;gap:12px;color:var(--g);font-size:13px;margin:20px 0}
.pt-sep::before,.pt-sep::after{content:"";flex:1;height:1px;background:var(--b)}
.pt-pastille{width:64px;height:64px;border-radius:50%;background:var(--vc);color:var(--v);display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.pt-natures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.pt-nature{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--b);border-radius:14px;padding:18px;text-decoration:none;color:var(--t);transition:border-color .15s,box-shadow .15s;min-height:84px}
.pt-nature:hover{border-color:var(--v);box-shadow:0 8px 22px -14px rgba(0,107,60,.45);color:var(--t)}
.pt-nature span:first-child{width:48px;height:48px;border-radius:12px;background:var(--vc);display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}
.pt-nature strong{flex:1;font-size:15px;line-height:1.35}
.pt-tx{background:#FCFBF7;border:1px solid var(--b);border-radius:12px;padding:14px;margin-bottom:10px}
.pt-tx-t{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:14px}
.pt-tx-g{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.3fr;gap:10px}
.pt-tx-suppr{border:0;background:#FDECEA;color:#B23B2E;border-radius:999px;padding:6px 12px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.pt-tx-total{display:flex;justify-content:space-between;gap:12px;background:var(--vc);color:var(--v2);border-radius:10px;padding:10px 14px;font-size:14px}
.pt-verrou{opacity:.55}
.pt-succes{text-align:center;padding:40px 26px}
.pt-succes-num{display:inline-block;margin:18px 0 6px;font-family:'IBM Plex Mono',monospace;font-size:24px;font-weight:600;color:var(--v);background:var(--vc);border-radius:12px;padding:10px 20px}
.pt-filtres{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}
.pt-filtre{border:1.5px solid #DAD7CD;background:#fff;color:var(--t);border-radius:999px;padding:8px 14px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.pt-filtre.on{background:var(--v);border-color:var(--v);color:#fff}
.pt-faq-cat{margin-bottom:26px}
.pt-faq-cat h2{font-size:22px;margin:0 0 10px}
.pt-faq{background:#fff;border:1px solid var(--b);border-radius:12px;margin-bottom:8px}
.pt-faq summary{list-style:none;cursor:pointer;padding:16px 18px;font-weight:600;display:flex;justify-content:space-between;gap:12px}
.pt-faq summary::-webkit-details-marker{display:none}
.pt-faq summary::after{content:"+";color:var(--v);font-size:20px;line-height:1}
.pt-faq[open] summary::after{content:"-"}
.pt-faq div{padding:0 18px 16px;color:#3A433D;line-height:1.65}
.pt-compte{display:flex;gap:24px;flex-wrap:wrap;align-items:flex-start}
.pt-compte-nav{flex:1 1 260px;max-width:300px;background:#fff;border:1px solid var(--b);border-radius:16px;padding:18px}
.pt-compte-main{flex:999 1 560px;min-width:0}
.pt-profil{display:flex;gap:12px;align-items:center;padding-bottom:14px;border-bottom:1px solid #F0EDE6;margin-bottom:10px}
.pt-avatar{width:48px;height:48px;border-radius:50%;background:var(--vc);color:var(--v);display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}
.pt-profil small{display:block;color:var(--g);font-size:12.5px;overflow-wrap:anywhere}
.pt-cnav a,.pt-cnav button,.pt-cnav span.bientot{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 12px;border-radius:9px;color:var(--t);text-decoration:none;font:inherit;font-size:14.5px;font-weight:600;background:none;border:0;cursor:pointer;text-align:left}
.pt-cnav a:hover,.pt-cnav button:hover{background:var(--f)}
.pt-cnav a.on{background:var(--vc);color:var(--v2)}
.pt-cnav hr{border:0;border-top:1px solid #F0EDE6;margin:8px 0}
.pt-cnav span.bientot{color:var(--g);font-weight:500;cursor:default}
.pt-cnav em{font-style:normal;font-size:11px;font-family:'IBM Plex Mono',monospace;color:var(--g)}
.pt-pastille-n{background:var(--o);color:#fff;border-radius:999px;padding:1px 8px;font-size:12px}
.pt-chiffres{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 22px}
.pt-chiffre{background:#fff;border:1px solid var(--b);border-radius:14px;padding:16px 18px}
.pt-chiffre b{display:block;font-size:28px;font-weight:700}
.pt-chiffre span{font-size:13.5px;color:var(--g)}
.pt-ligne{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--b);border-radius:12px;padding:14px 16px;margin-bottom:8px;text-decoration:none;color:var(--t)}
.pt-ligne:hover{border-color:var(--v);color:var(--t)}
.pt-ligne-corps{flex:1;min-width:0}
.pt-ligne-corps strong{display:block}
.pt-ligne-corps span{font-size:13px;color:var(--g)}
.pt-statut{display:inline-block;border-radius:999px;padding:4px 12px;font-size:13px;font-weight:700;white-space:nowrap}
.pt-nonlu{width:10px;height:10px;border-radius:50%;background:var(--o);flex-shrink:0}
.pt-vide{text-align:center;padding:36px 20px;background:#fff;border:1px dashed #DAD7CD;border-radius:14px;color:var(--g)}
.pt-fil{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid var(--b);border-radius:16px;padding:20px}
.pt-bulle{max-width:82%;border-radius:14px;padding:12px 16px;line-height:1.6}
.pt-bulle small{display:block;font-size:12px;color:var(--g);margin-bottom:4px}
.pt-bulle--usager{align-self:flex-end;background:var(--oc)}
.pt-bulle--tresor{align-self:flex-start;background:var(--vc)}
.pt-bulle a{color:var(--v);font-weight:700}
.pt-tete-ligne{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
@media (max-width:820px){.pt-grille2,.pt-tx-g,.pt-natures,.pt-chiffres{grid-template-columns:1fr}.pt-compte-nav{max-width:none}.pt-h1{font-size:30px}}
@media print{.pt-entete,.pt-alertes,.pt-pied,.pt-retour,.pt-actions{display:none!important}body{background:#fff!important}}

/* Lot CH1 : chat live */
.pt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pt-chat{position:fixed;right:20px;bottom:20px;z-index:60}
.pt-chat-fab{position:relative;width:76px;height:76px;border-radius:50%;border:3px solid #fff;background:var(--o);color:#fff;font-size:34px;cursor:pointer;box-shadow:0 12px 30px -8px rgba(247,127,0,.75)}
.pt-chat-fab:hover{background:#D96E00;transform:scale(1.05)}
.pt-chat-fab::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:3px solid var(--o);opacity:0;animation:pt-chat-halo 2.4s ease-out infinite}
.pt-chat-fab[aria-expanded="true"]::after{animation:none}
@keyframes pt-chat-halo{0%{transform:scale(.9);opacity:.7}100%{transform:scale(1.35);opacity:0}}
@media (prefers-reduced-motion:reduce){.pt-chat-fab::after{animation:none}}
.pt-chat-badge{position:absolute;top:-4px;right:-4px;min-width:24px;height:24px;padding:0 6px;border-radius:12px;background:#C0392B;color:#fff;font-size:12px;font-weight:700;line-height:22px}
.pt-chat-fenetre{position:absolute;right:0;bottom:92px;width:370px;max-width:calc(100vw - 32px);height:540px;max-height:calc(100vh - 110px);background:#fff;border-radius:16px;box-shadow:0 24px 60px -20px rgba(0,0,0,.35);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--b)}
.pt-chat-tete{display:flex;align-items:center;gap:10px;padding:14px 16px;background:var(--v);color:#fff}
.pt-chat-tete small{display:block;font-size:12px;opacity:.85}
.pt-chat-avatar{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;font-size:19px}
.pt-chat-point{display:inline-block;width:8px;height:8px;border-radius:50%;background:#7EE2A8;margin-right:4px}
.pt-chat-x{margin-left:auto;background:none;border:0;color:#fff;font-size:18px;cursor:pointer}
.pt-chat-corps{padding:16px;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:6px}
.pt-chat-intro{font-size:13.5px;color:var(--g);margin:0 0 6px;line-height:1.5}
.pt-chat-err{background:#FDECEA;color:#9B1C1C;border-radius:8px;padding:8px 10px;font-size:13px;margin:0}
.pt-chat-corps .pt-btn{margin-top:8px}
.pt-chat-conv{flex:1;display:flex;flex-direction:column;min-height:0}
.pt-chat-ref{font-family:'IBM Plex Mono',monospace;font-size:11.5px;color:var(--g);padding:6px 14px;background:var(--f)}
.pt-chat-fil{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px;background:#FBFAF6}
.pt-chat-msg{max-width:82%;padding:9px 12px;border-radius:14px;font-size:14px;line-height:1.45;white-space:pre-wrap;word-wrap:break-word}
.pt-chat-msg small{display:block;font-size:11px;color:var(--g);margin-bottom:2px}
.pt-chat-msg--visiteur{align-self:flex-end;background:var(--oc);border-bottom-right-radius:4px}
.pt-chat-msg--agent{align-self:flex-start;background:var(--vc);border-bottom-left-radius:4px}
.pt-chat-msg--systeme{align-self:center;background:none;color:var(--g);font-size:12.5px;text-align:center}
.pt-chat-saisie{display:flex;gap:8px;padding:10px;border-top:1px solid var(--b)}
.pt-chat-saisie .pt-in{flex:1;resize:none;min-height:0}
.pt-chat-saisie .pt-btn{padding:0 16px}
.pt-chat-fin{background:none;border:0;color:var(--g);font-size:12.5px;text-decoration:underline;cursor:pointer;padding:0 0 8px}
.pt-chat-avis{padding:12px 14px;border-top:1px solid var(--b);display:flex;flex-direction:column;gap:8px}
.pt-chat-avis p{margin:0;font-size:14px}
.pt-chat-notes{display:flex;gap:6px}
.pt-chat-notes button{flex:1;font-size:24px;padding:6px 0;border:1.5px solid var(--b);border-radius:10px;background:#fff;cursor:pointer}
.pt-chat-notes button[aria-checked="true"]{border-color:var(--v);background:var(--vc)}
.pt-chat-nouvelle{margin:0 14px 10px}
.pt-chat-joindre{background:none;border:1.5px solid var(--b);border-radius:10px;width:40px;font-size:18px;cursor:pointer;flex-shrink:0}
.pt-chat-joindre:disabled{opacity:.5;cursor:wait}
.pt-chat-pj{display:block;margin-top:6px;font-weight:600;color:var(--v);word-break:break-all}
.pt-chat-pj img{max-width:200px;max-height:160px;border-radius:8px;display:block}
.pt-chat-pied{font-size:11px;color:var(--g);text-align:center;padding:6px;border-top:1px solid var(--b)}
@media print{.pt-chat{display:none}}

/* Correctif 29/10 : bouton « Se déconnecter » de l'en-tête (usager connecté) */
.pt-sortie{background:none;border:1.5px solid rgba(255,255,255,.7);color:#fff;border-radius:10px;padding:8px 14px;font:inherit;font-weight:700;font-size:14px;cursor:pointer;margin-left:8px}
.pt-sortie:hover{background:rgba(255,255,255,.12)}
