/* Zone d'envoi de la médiation — interface conversationnelle v0.10.6 */
.ky-case-reply{gap:14px!important;margin-top:18px!important;padding:0!important;overflow:hidden;border:1px solid #dce2dc!important;border-radius:18px!important;background:#fff!important;box-shadow:0 14px 38px rgba(28,46,37,.09)!important}.ky-compose-head{display:flex;align-items:center;gap:12px;padding:16px 18px;background:linear-gradient(135deg,#1b3026,#365343);color:#fff}.ky-compose-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;border-radius:11px;background:#e3f0aa;color:#1b3026;font-size:18px;font-weight:900}.ky-compose-head>div{display:grid;gap:2px}.ky-compose-head>div>b{font-size:15px}.ky-compose-head>div>small{color:#d1ddd7;font-size:11px}.ky-compose-head>i{display:flex;align-items:center;gap:6px;margin-left:auto;padding:6px 9px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.08);font-size:10px;font-style:normal;white-space:nowrap}.ky-compose-head>i>span{width:7px;height:7px;border-radius:50%;background:#b9dc68;box-shadow:0 0 0 4px rgba(185,220,104,.12)}
.ky-compose-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:0 18px}.ky-compose-controls label>span,.ky-compose-message>span{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#59675f}.ky-compose-controls select{padding:11px 12px!important;background:#f8faf7!important}.ky-compose-shortcuts{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:0 18px}.ky-compose-shortcuts>span{margin-right:3px;color:#748079;font-size:11px;font-weight:800}.ky-compose-shortcuts button{border:1px solid #dce2db;border-radius:999px;padding:7px 10px;background:#f7f9f5;color:#31443a;font:inherit;font-size:11px;font-weight:800;cursor:pointer;transition:.18s}.ky-compose-shortcuts button:hover,.ky-compose-shortcuts button.is-active{border-color:#d38368;background:#fff0ea;color:#9e371f;transform:translateY(-1px)}
.ky-link-party{margin:0 18px;padding:10px 12px;border:1px solid #e5e7e1;border-radius:11px;background:#fafbf8}.ky-link-party summary{cursor:pointer;color:#536159;font-size:11px;font-weight:800}.ky-link-party label{margin-top:12px}.ky-compose-message{padding:0 18px}.ky-compose-message>div{position:relative}.ky-compose-message textarea{min-height:118px;padding:14px 15px 29px!important;border-color:#d7ddd7!important;background:#fbfcfa!important;line-height:1.5;resize:vertical}.ky-compose-message textarea:focus{background:#fff!important}.ky-compose-message div>small{position:absolute;right:11px;bottom:9px;color:#929994;font-size:9px}
.ky-compose-upload{position:relative;display:flex!important;grid-template-columns:none!important;align-items:center;gap:11px;margin:0 18px;padding:11px 12px;border:1px dashed #bdc8bf;border-radius:12px;background:#f5f8f3;cursor:pointer;transition:.18s}.ky-compose-upload:hover{border-color:#79937f;background:#eff5ec}.ky-compose-upload input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}.ky-upload-symbol{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#e5eed4;color:#38503f;font-size:20px}.ky-compose-upload>span:nth-of-type(2){display:grid;gap:2px}.ky-compose-upload b{font-size:12px}.ky-compose-upload small{color:#768079;font-size:10px}.ky-compose-upload em{margin-left:auto;padding:7px 10px;border-radius:9px;background:#fff;color:#34463c;font-size:10px;font-style:normal;font-weight:900;box-shadow:0 3px 10px rgba(31,48,39,.06)}
.ky-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 18px;border-top:1px solid #e8ebe6;background:#fafbf8}.ky-compose-footer>small{color:#6e7972;font-size:10px}.ky-compose-footer .ky-button{min-width:178px;justify-content:center;padding:11px 16px;box-shadow:0 8px 20px rgba(196,75,41,.2)}
@media(max-width:700px){.ky-compose-head{align-items:flex-start;flex-wrap:wrap}.ky-compose-head>i{margin-left:48px}.ky-compose-controls{grid-template-columns:1fr!important}.ky-compose-footer{align-items:stretch;flex-direction:column}.ky-compose-footer .ky-button{width:100%}.ky-compose-shortcuts button{flex:1 1 calc(50% - 7px)}.ky-compose-upload em{display:none}}

/* DARK MODE */
html.ky-site-dark .ky-case-reply{border-color:#2c3631!important;background:#171d1a!important;box-shadow:0 14px 38px rgba(0,0,0,.22)!important}
html.ky-site-dark .ky-compose-head{background:linear-gradient(135deg,#09100c,#1f2723)}
html.ky-site-dark .ky-compose-head>div>small{color:#909c95}
html.ky-site-dark .ky-compose-head>i{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.06)}
html.ky-site-dark .ky-compose-controls label>span,html.ky-site-dark .ky-compose-message>span{color:#909c95}
html.ky-site-dark .ky-compose-controls select{background:#1f2723!important;border-color:#3b4741;color:#ecf1ee}
html.ky-site-dark .ky-compose-shortcuts button{border-color:#3b4741;background:#1f2723;color:#b4c0b9}
html.ky-site-dark .ky-compose-shortcuts button:hover,html.ky-site-dark .ky-compose-shortcuts button.is-active{border-color:#b84c1e;background:#3a2418;color:#ffb08a}
html.ky-site-dark .ky-compose-shortcuts>span{color:#909c95}
html.ky-site-dark .ky-link-party{border-color:#2c3631;background:#1f2723}
html.ky-site-dark .ky-link-party summary{color:#909c95}
html.ky-site-dark .ky-compose-message textarea{border-color:#3b4741!important;background:#1f2723!important;color:#ecf1ee}
html.ky-site-dark .ky-compose-message textarea:focus{background:#28312c!important}
html.ky-site-dark .ky-compose-message div>small{color:#909c95}
html.ky-site-dark .ky-compose-upload{border-color:#3b4741;background:#1f2723}
html.ky-site-dark .ky-compose-upload:hover{border-color:#46524b;background:#28312c}
html.ky-site-dark .ky-upload-symbol{background:#173326;color:#6fd39c}
html.ky-site-dark .ky-compose-upload small{color:#909c95}
html.ky-site-dark .ky-compose-upload em{background:#28312c;color:#b4c0b9;box-shadow:0 3px 10px rgba(0,0,0,.15)}
html.ky-site-dark .ky-compose-footer{border-top-color:#2c3631;background:#1f2723}
html.ky-site-dark .ky-compose-footer>small{color:#909c95}
