/* Les mêmes contrôles sur toutes les fiches et tous les thèmes. */
.chloe-voice-global,.chloe-voice-field{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--ux-line,#e2d2c6);background:var(--ux-surface,#fffdfb);color:var(--ux-accent,#875a48);border-radius:9px;cursor:pointer;font:700 11px/1.4 Mulish,Arial,sans-serif}
.chloe-voice-global{min-height:36px;padding:7px 11px;white-space:nowrap;flex:none}
.chloe-voice-global svg,.chloe-voice-field svg,#chloe-voice-start svg{width:18px;height:18px;flex:none}
.agency-private .chloe-voice-wrap{display:block;position:relative;min-width:0;max-width:100%;width:100%;flex:1 1 auto;box-sizing:border-box}
.agency-private .chloe-voice-wrap>input,.agency-private .chloe-voice-wrap>textarea{width:100%!important;box-sizing:border-box;padding-right:43px!important}
.agency-private .chloe-voice-field{position:absolute;right:3px;top:3px;width:29px;height:27px;min-height:27px!important;padding:4px!important;z-index:1;border-color:transparent;background:var(--ux-tint,#f8f0e9)}
.agency-private .chloe-voice-multiline .chloe-voice-field{top:7px;right:7px}
.agency-private .agency-table-filters .chloe-voice-wrap{width:180px;max-width:100%}
.chloe-voice-field:hover,.chloe-voice-global:hover{background:var(--ux-soft,#f1dfd1)}
.chloe-voice-field:disabled{opacity:.4;cursor:default}
.chloe-voice-global:focus-visible,.chloe-voice-field:focus-visible,.chloe-voice-dialog :is(button,textarea):focus-visible{outline:3px solid var(--ux-focus,#79503e);outline-offset:2px}
.chloe-voice-dialog{box-sizing:border-box;width:min(660px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--ux-line,#e2d2c6);border-radius:20px;overflow:auto;background:var(--ux-surface,#fffdfb);color:var(--ux-ink,#403932);font:14px/1.6 Mulish,Arial,sans-serif;box-shadow:0 22px 80px #38251c33}
.chloe-voice-dialog *{box-sizing:border-box}
.chloe-voice-dialog::backdrop{background:#30251e66;backdrop-filter:blur(3px)}
.chloe-voice-dialog header{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:22px 24px;border-bottom:1px solid var(--ux-line,#e2d2c6)}
.chloe-voice-dialog h2{font:500 23px/1.3 Poppins,Arial,sans-serif;margin:0;letter-spacing:-.03em}
.chloe-voice-eyebrow{margin:0 0 6px;color:var(--ux-muted,#75665d);font-size:10px;letter-spacing:.12em;font-weight:800}
.chloe-voice-close{width:40px;height:40px;flex:none;border:1px solid var(--ux-line,#e2d2c6);border-radius:50%;background:var(--ux-tint,#f8f0e9);color:inherit;font-size:25px;cursor:pointer}
.chloe-voice-content{padding:20px 24px}.chloe-voice-content>p:first-child{margin-top:0}
.chloe-voice-privacy,.chloe-voice-hint{font-size:11px;color:var(--ux-muted,#75665d);line-height:1.7}
.chloe-voice-support{padding:10px 12px;background:var(--ux-tint,#f8f0e9);border-radius:8px;font-size:12px}
.chloe-voice-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0}
.chloe-voice-controls button,.chloe-voice-actions button,.chloe-voice-examples button{font:700 12px/1.4 Mulish,Arial,sans-serif;border:1px solid var(--ux-line,#e2d2c6);background:var(--ux-surface,#fffdfb);color:var(--ux-accent,#875a48);border-radius:8px;padding:8px 11px;cursor:pointer;min-height:36px}
#chloe-voice-start{display:inline-flex;align-items:center;gap:6px}.chloe-voice-controls button:disabled{opacity:.45;cursor:default}
#chloe-voice-status{width:100%;font-size:12px;line-height:1.6;color:var(--ux-muted,#75665d);margin-top:5px}
.chloe-voice-dialog[data-listening] #chloe-voice-status{color:var(--ux-accent,#875a48);font-weight:800}
.chloe-voice-dialog[data-listening] #chloe-voice-status:before{content:'●';margin-right:7px}
.chloe-voice-dialog label{display:block;font-size:12px;font-weight:800;margin-bottom:7px}
#chloe-voice-text{width:100%;padding:12px;border:1px solid var(--ux-line,#e2d2c6);border-radius:10px;font:15px/1.7 Mulish,Arial,sans-serif;background:var(--ux-surface,#fffdfb);color:inherit;resize:vertical;min-height:120px}
.chloe-voice-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
#chloe-voice-apply{background:var(--ux-accent,#875a48);border-color:var(--ux-accent,#875a48);color:white}
.chloe-voice-examples{display:flex;flex-wrap:wrap;gap:6px}.chloe-voice-examples button{font-size:11px;min-height:30px;padding:5px 8px}
@media(max-width:700px){.chloe-voice-global{min-height:44px}.chloe-voice-dialog header,.chloe-voice-content{padding:17px}.chloe-voice-dialog h2{font-size:21px}.chloe-voice-controls button,.chloe-voice-actions button,.chloe-voice-examples button{min-height:44px}#chloe-voice-text{font-size:16px}.agency-private .chloe-voice-field{width:36px;height:34px;min-height:34px!important}.agency-private .agency-table-filters .chloe-voice-wrap{width:100%}.chloe-voice-actions{flex-wrap:wrap}.chloe-voice-actions button{flex:1}}
