/* KORDA — Colocation et Séjour : compteurs, boutons, interrupteurs (V118) */
html body #p-kind-fields,html body #m-kind-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:0 0 16px;align-items:start}
html body .k165-fs{margin:0!important;min-width:0}
html body #p-kind-fields>#p-cd,html body #m-kind-fields>#m-cd{grid-column:1/-1;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
html body .k165-fs#p-cd>legend,html body .k165-fs#m-cd>legend{display:none}
html body .k165-fs[style*="display: none"]{display:none!important}
.k165-body{display:block}
.k165-lb{display:block;font-size:13px;font-weight:500;color:var(--muted,#6a6a6a);margin:14px 0 7px}
.k165-s{margin:0 0 12px;color:var(--muted,#6a6a6a);font-size:12.5px;line-height:1.45}
.k165-r{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line,#f0ede7)}
.k165-body>.k165-r:first-child,.k165-sub>.k165-r:first-of-type{border-top:0}
.k165-r b{font-weight:500;font-size:14px}.k165-r small{display:block;color:var(--muted,#6a6a6a);font-size:12px;font-weight:400}
.k165-st{display:flex;align-items:center;gap:10px;flex:none}
.k165-st button{width:30px;height:30px;border-radius:50%;border:1px solid var(--line,#d6d2ca);background:transparent;color:inherit;font-size:16px;line-height:1;cursor:pointer;padding:0}
.k165-st button:hover:not(:disabled){border-color:currentColor}.k165-st button:disabled{opacity:.35;cursor:default}
.k165-st span{min-width:22px;text-align:center;font-weight:600}
.k165-ch{display:flex;flex-wrap:wrap;gap:7px}
.k165-ch button{font:inherit;font-size:13px;padding:7px 13px;border-radius:999px;border:1px solid var(--line,#d6d2ca);background:transparent;color:inherit;cursor:pointer}
.k165-ch button:hover{border-color:currentColor}.k165-ch button.on{background:#0F2A3D;color:#fff;border-color:#0F2A3D}
.k165-sg{display:flex;border:1px solid var(--line,#d6d2ca);border-radius:999px;padding:2px;background:rgba(0,0,0,.035);flex:none}
.k165-sg button{font:inherit;font-size:12.5px;border:0;background:transparent;padding:5px 11px;border-radius:999px;cursor:pointer;color:inherit;white-space:nowrap}
.k165-sg button.on{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.18);color:#222;font-weight:600}
.k165-sw{width:42px;height:24px;border-radius:99px;background:#d6d2ca;position:relative;border:0;cursor:pointer;flex:none;padding:0;transition:background .2s}
.k165-sw::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .2s}
.k165-sw.on{background:#14756C}.k165-sw.on::after{left:21px}
.k165-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.k165-f{margin-top:12px}.k165-two>.k165-f{margin-top:0}
.k165-gap{margin-top:12px}
.k165-g4{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.k165-sub{background:var(--white,#fff);border:1px solid var(--line,#ebe8e1);border-radius:16px;padding:18px 20px 20px;min-width:0;transition:box-shadow .2s}
.k165-sub:hover{box-shadow:0 6px 16px rgba(0,0,0,.08)}
.k165-sub h4{margin:0 0 14px;font-size:16px;font-weight:600}
.k165-wide{grid-column:1/-1}
.k165-orig[hidden]{display:none!important}
html[data-theme="dark"] .k165-sub{background:#15232D;border-color:rgba(255,255,255,.10)}
html[data-theme="dark"] .k165-sg{background:rgba(255,255,255,.05)}
html[data-theme="dark"] .k165-ch button.on{background:#E8EEF1;color:#0F2A3D;border-color:#E8EEF1}
html[data-theme="dark"] .k165-sw{background:#3a4d59}html[data-theme="dark"] .k165-sw.on{background:#14756C}
@media(max-width:900px){html body #p-kind-fields,html body #m-kind-fields,.k165-g4{grid-template-columns:minmax(0,1fr)}.k165-two{grid-template-columns:1fr 1fr}}
html body:not(#_x):not(#_y):not(#_z) :is(#form-publier,#form-modifier) fieldset.k165-fs:is(#p-cd,#m-cd){background:transparent!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}
html body:not(#_x):not(#_y):not(#_z) :is(#form-publier,#form-modifier) fieldset.k165-fs:is(#p-cd,#m-cd)>legend{display:none!important}
html body:not(#_x):not(#_y):not(#_z) :is(#form-publier,#form-modifier) fieldset.k165-fs:is(#p-co1,#p-co2,#m-co1,#m-co2){margin:0!important}
.k165-gap .k165-r{flex-direction:column;align-items:flex-start;gap:8px}
.k165-gap .k165-sg{flex-wrap:wrap;border-radius:18px;max-width:100%}

/* Séjour : chaque carte garde sa hauteur naturelle (plus de grand vide sous « Tarifs » quand la carte voisine est plus haute) */
html body .k165-g4{align-items:start}

/* Paires de champs : si un libellé passe sur deux lignes (mobile), les deux champs restent alignés sur la même ligne */
html body .k165-two{align-items:end}
