/* KlymmoPro V219 — large form-only preview, isolated to the Formulaire section. */
.minisite-editor-modal .minisite-editor-section.active.kp219-form-section{max-width:1220px!important}
@media(min-width:1190px){
 .minisite-editor-modal .minisite-editor-section.active.kp219-form-section.kp-v18-split{
   grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr)!important;
   column-gap:18px!important;
 }
 .minisite-editor-modal .kp219-form-section>.kp-v13-inline-preview{
   position:sticky!important;top:10px!important;align-self:start!important;
   grid-column:2!important;min-width:0!important;max-height:calc(100dvh - 215px)!important;
 }
}
.kp219-form-section .kp219-form-preview{overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.kp219-form-preview .kp219-form-panel{max-height:min(710px,calc(100dvh - 220px));min-height:440px;}
.kp219-form-panel{display:flex;flex-direction:column;overflow:hidden;background:#eef4f5;border:1px solid #cbdde2;border-radius:18px;color:#133148;box-shadow:0 15px 38px rgba(16,48,63,.10)}
.kp219-form-panel-head{flex-shrink:0;display:flex;gap:10px;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e0e8ec;padding:12px 15px}
.kp219-form-panel-head strong{font-size:14px;display:block;line-height:1.3}.kp219-form-panel-head small{display:block;margin-top:3px;font-size:11px;color:#718595}
.kp219-form-panel-head .kp219-expand{border:1px solid #bbd6da;color:#08786f;background:#ecf8f6;border-radius:11px;padding:10px 12px;font-weight:850;cursor:pointer;flex:0 0 auto;font-size:12px}
.kp219-mode-tabs{display:flex;gap:5px;padding:9px 13px;background:#f9fbfb;border-bottom:1px solid #dce6e8}
.kp219-mode-tabs button{flex:1;border:1px solid #d8e4e8;background:white;border-radius:9px;padding:9px 6px;cursor:pointer;font-weight:850;color:#526e7b;font-size:12px}
.kp219-mode-tabs button.active{background:#0e314f;border-color:#0e314f;color:#fff}
.kp219-form-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px 14px;background:linear-gradient(150deg,#dce9ed,#eff5f5)}
.kp219-form-panel-foot{padding:10px 13px;background:#fff;border-top:1px solid #dce5e9;color:#58707f;font-size:10px;line-height:1.4;flex:0 0 auto}
.kp219-form-card{margin:0 auto;background:#fff;border:1px solid #d6e3e8;border-radius:20px;padding:22px;max-width:575px;box-shadow:0 16px 36px rgba(19,55,75,.09);box-sizing:border-box}
.kp219-preview-only{background:#fff4d7;border-radius:9px;padding:9px 10px;color:#825f10;letter-spacing:.05em;font-weight:900;font-size:10px;margin-bottom:12px}
.kp219-form-card h4{font:400 clamp(27px,2.3vw,37px)/1.06 Georgia,'Times New Roman',serif;margin:0 0 8px;color:#123047}
.kp219-form-subtitle{margin:0 0 18px!important;color:#6f8390!important;font-size:13px!important;line-height:1.55!important}
.kp219-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:14px}
.kp219-field{display:flex;flex-direction:column;min-width:0;gap:6px}.kp219-field.full{grid-column:1/-1}
.kp219-field>label{font-size:12px;font-weight:800;color:#516c7d}.kp219-required{color:#d38300}
.kp219-field input,.kp219-field select,.kp219-field textarea{min-width:0;box-sizing:border-box;width:100%;border:1px solid #d3e1e6;background:#fff;border-radius:11px;padding:12px 11px;color:#15364f;font-size:13px;font-family:inherit}
.kp219-field input:focus,.kp219-field select:focus,.kp219-field textarea:focus{outline:2px solid #5fcabf;outline-offset:0}
.kp219-field textarea{resize:vertical;min-height:94px}
.kp219-checks{display:flex;gap:8px;flex-wrap:wrap}.kp219-checks label{border:1px solid #d1dfe4;border-radius:999px;padding:9px 11px;display:flex;align-items:center;gap:8px;font-weight:750;font-size:12px;color:#4b6878;cursor:pointer;background:#fff}
.kp219-checks input,.kp219-consent input{width:17px;height:17px;accent-color:#078e82;flex-shrink:0}
.kp219-consent{grid-column:1/-1;display:flex;align-items:flex-start;gap:8px;color:#536c7a;font-size:12px;line-height:1.5;cursor:pointer}
.kp219-privacy{grid-column:1/-1;background:#eff9f6;border:1px solid #cfeae5;border-radius:11px;padding:11px 12px;font-size:11px;color:#476774;line-height:1.5}
.kp219-demo-submit{grid-column:1/-1;background:#103452;color:white;border:0;border-radius:14px;padding:14px;font-size:15px;font-weight:900;cursor:pointer}
.kp219-no-send{grid-column:1/-1;font-size:12px;color:#0c726a;font-weight:700}
.kp219-review-note{border:1px solid #f0d5a3;border-radius:15px;padding:13px 15px;margin-bottom:14px;background:#fffaf0;color:#705328;font-size:12px;line-height:1.5}
.kp219-review-note strong{font-size:13px;color:#705019}.kp219-review-note p{margin:5px 0!important;font-size:12px!important;color:#705328!important}.kp219-review-note button{border:1px solid #d9c6a2;border-radius:9px;background:#fff;color:#72531a;padding:8px 10px;margin-top:5px;font-weight:850;cursor:pointer}
.kp219-form-dialog{position:fixed;z-index:450000;inset:0;display:grid;place-items:center;padding:18px;background:rgba(6,26,43,.78);backdrop-filter:blur(8px)}
.kp219-full-panel{width:min(760px,96vw);height:min(92dvh,960px);max-height:92dvh;box-shadow:0 35px 95px #0006;border-radius:24px}
.kp219-full-panel .kp219-form-scroll{padding:20px}
.kp219-full-panel .kp219-form-card{max-width:610px}
@media(max-width:1189px){
 .kp219-form-section .kp219-form-preview{position:static!important;max-height:none!important}
 .kp219-form-preview .kp219-form-panel{height:530px;max-height:none;min-height:0}
}
@media(max-width:620px){
 .kp219-form-dialog{padding:0}
 .kp219-full-panel{width:100%;height:100dvh;max-height:100dvh;border-radius:0}
 .kp219-form-card{padding:16px;border-radius:16px}
 .kp219-form-grid{grid-template-columns:1fr}
 .kp219-field.full,.kp219-consent,.kp219-privacy,.kp219-demo-submit{grid-column:1}
 .kp219-form-panel-head{flex-wrap:wrap}
 .kp219-form-panel-head .kp219-expand{margin-left:auto}
}
