/* KORDA V118 — formulaire d'annonce : trois choix, puis deux colonnes (publication particulier / agence, et modification) */
html body :is(#form-publier,#form-modifier){max-width:1120px;font-family:"Figtree","Inter",system-ui,sans-serif}
html body :is(#form-publier,#form-modifier) :is(input,select,textarea,button,label,legend){font-family:inherit}
.k164-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch;margin:0 0 16px}
.k164-c1,.k164-c2{display:flex;flex-direction:column;gap:16px;min-width:0}
html body :is(#form-publier,#form-modifier) .k164-card,html body :is(#form-publier,#form-modifier) .k164-pos{margin:0;min-width:0}
.k164-c1>*:last-child,.k164-c2>*:last-child{flex:1}
.k164-c2>.k164-pos,.k164-c2>.k164-lo,.k164-c2>.k164-ca{display:block}
.k164-ca{padding-top:14px!important;padding-bottom:16px!important}
html body :is(#form-publier,#form-modifier) .k164-bien{display:flex;flex-direction:column}
html body :is(#form-publier,#form-modifier) .k164-bien>.field:last-of-type{flex:1;display:flex;flex-direction:column}
html body :is(#form-publier,#form-modifier) .k164-bien>.field:last-of-type textarea{flex:1;min-height:90px}
.k164-bien,.k164-cm{position:relative}
@media(max-width:900px){.k164-grid{grid-template-columns:minmax(0,1fr)}}
/* mini-barre Type de bien / Projet */
.k164-bar{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line,#dcd8d0);border-radius:999px;background:rgba(0,0,0,.035);padding:3px;margin:2px 0 14px}
.k164-bar.k164-un{grid-template-columns:1fr}
.k164-seg{all:unset;box-sizing:border-box;cursor:pointer;display:block;padding:8px 18px;border-radius:999px;border:1px solid transparent;transition:background .35s cubic-bezier(.22,1,.36,1),border-color .2s}
.k164-seg[hidden]{display:none}
.k164-seg small{display:block;font-size:11px;color:#6a6a6a}
.k164-seg b{display:block;font-size:14px;font-weight:500;color:inherit}
.k164-seg:hover{background:rgba(0,0,0,.04)}
.k164-seg.on{background:#fff;border-color:var(--line,#e4e0d8);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.k164-seg:focus-visible{outline:2px solid #222;outline-offset:1px}
.k164-pop{position:absolute;left:16px;right:auto;width:360px;max-width:calc(100% - 32px);top:96px;transition:left .32s cubic-bezier(.22,1,.36,1),width .32s cubic-bezier(.22,1,.36,1),top .32s cubic-bezier(.22,1,.36,1);animation:k164-in .22s cubic-bezier(.22,1,.36,1);z-index:30;background:#fff;border:1px solid var(--line,#e4e0d8);border-radius:16px;padding:14px;box-shadow:0 8px 24px rgba(0,0,0,.14)}
.k164-pop[hidden]{display:none}
.k164-pl{margin:0 0 8px;font-size:12px;color:#6a6a6a}
.k164-chips{display:flex;flex-wrap:wrap;gap:8px}
.k164-chip{all:unset;box-sizing:border-box;cursor:pointer;height:38px;padding:0 16px;display:inline-flex;align-items:center;border-radius:999px;border:1px solid var(--line,#d6d2ca);font-size:14px;transition:border-color .15s,background .15s}
.k164-chip:hover{border-color:#222}
.k164-chip.on{background:#0F2A3D;border-color:#0F2A3D;color:#fff}
.k164-opt{all:unset;box-sizing:border-box;cursor:pointer;display:block;width:100%;padding:10px 12px;border-radius:10px}
.k164-opt b{display:block;font-size:14px;font-weight:500}.k164-opt span{font-size:12px;color:#6a6a6a}
.k164-opt:hover,.k164-opt.on{background:rgba(0,0,0,.05)}
/* commodités */
.k164-cmb{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:space-between;width:100%;height:44px;padding:0 14px;border:1px solid var(--line,#d6d2ca);border-radius:12px;font-size:14px;background:#fff;transition:border-color .15s,box-shadow .2s}
.k164-cmb:hover{border-color:#222;box-shadow:0 4px 12px rgba(0,0,0,.08)}
.k164-cmb i{font-style:normal;font-size:20px;color:#6a6a6a}
.k164-win{position:absolute;left:0;right:0;top:calc(100% - 6px);z-index:40;padding:0}
.k164-win[hidden]{display:none}
.k164-box{background:#fff;border:1px solid var(--line,#e4e0d8);border-radius:16px;width:100%;max-height:min(440px,70vh);display:flex;flex-direction:column;box-shadow:0 12px 32px rgba(0,0,0,.18)}
.k164-wh{display:flex;align-items:center;justify-content:space-between;padding:10px 14px 10px 18px;border-bottom:1px solid var(--line,#ebebeb)}
.k164-wh b{font-size:16px;font-weight:600}
.k164-x{all:unset;cursor:pointer;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:22px}
.k164-x:hover{background:rgba(0,0,0,.06)}
.k164-wb{padding:12px 16px;overflow:auto}
.k164-wf{padding:10px 16px;border-top:1px solid var(--line,#ebebeb);display:flex;justify-content:flex-end}

/* trois choix d'annonce */
.k164-kinds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:6px 0 0}
.k164-kind{all:unset;box-sizing:border-box;cursor:pointer;display:block;padding:20px;border:1px solid var(--line,#ddd8cf);border-radius:16px;background:#fff;transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease}
.k164-kind b{display:block;font-size:17px;font-weight:600;margin-bottom:4px}
.k164-kind span{font-size:13px;color:#6a6a6a}
.k164-kind:hover{box-shadow:0 6px 16px rgba(0,0,0,.12);transform:translateY(-1px)}
.k164-kind:focus-visible{outline:2px solid #222;outline-offset:2px}
.k164-kind.on{border:1.5px solid #E0703A}
#form-publier[data-k164s="pick"]>:not(#p-kind-box){display:none!important}
#form-publier[data-k164s="pick"] #p-kind-box>:not(.k164-kinds){display:none!important}
#form-publier[data-k164s="form"] #p-kind-box>:not(.k164-chosen){display:none!important}
#form-publier[data-k164s="form"] #p-kind-box{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;margin:0 0 12px!important}
.k164-chosen{display:none;align-items:center;gap:12px}
#form-publier[data-k164s="form"] .k164-chosen{display:flex}
.k164-chosen span{font-size:18px;font-weight:600}
.k164-chosen button{font:inherit;font-size:13px;background:transparent;border:0;padding:0;color:#14756C;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
/* En-tête d'inscription (Étape x sur 3) : inutile une fois dans le formulaire, et jamais dans l'administration Korda */
#blk-publier[data-k102s="form"] #k102-ob,#view-espace.sa #k102-ob{display:none!important}
@media(max-width:700px){.k164-kinds{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.k164-kind,.k164-seg,.k164-cmb{transition:none}.k164-kind:hover{transform:none}}
/* mode sombre */
html[data-theme="dark"] .k164-bar{background:rgba(255,255,255,.05)}
html[data-theme="dark"] :is(.k164-seg.on,.k164-pop,.k164-cmb,.k164-box,.k164-kind){background:#15232D}
html[data-theme="dark"] .k164-seg small,html[data-theme="dark"] :is(.k164-pl,.k164-opt span,.k164-kind span){color:#9fb0ba}
html[data-theme="dark"] :is(.k164-opt:hover,.k164-opt.on,.k164-seg:hover){background:rgba(255,255,255,.07)}

/* Modifier mon annonce : même apparence que Publier */
html body:not(#_x):not(#_y) #view-modifier #form-modifier{--e-ink:#222;--e-mute:#6a6a6a;--e-line:#ebebeb;--e-card:#fff}
html[data-theme="dark"] body:not(#_x):not(#_y) #view-modifier #form-modifier{--e-ink:#E8EEF1;--e-mute:#9DB0BB;--e-line:rgba(255,255,255,.10);--e-card:#15232D}
html body:not(#_x):not(#_y) #view-modifier #form-modifier fieldset{background:var(--e-card)!important;border:1px solid var(--e-line)!important;border-radius:16px!important;padding:18px 20px 20px!important;margin:0!important;box-shadow:none!important}
html body:not(#_x):not(#_y) #view-modifier #form-modifier legend{font-size:16px!important;font-weight:600!important;color:var(--e-ink)!important;padding:0 6px!important;margin-left:-6px!important}
html body:not(#_x):not(#_y) #view-modifier #form-modifier legend::before{display:none!important;content:none!important}
html body:not(#_x):not(#_y) #view-modifier #form-modifier label{font-size:13px!important;font-weight:500!important;color:var(--e-mute)!important}
html body:not(#_x):not(#_y) #view-modifier #form-modifier :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=file]){border:1px solid var(--e-line)!important;border-radius:10px!important;background-color:var(--e-card)!important;color:var(--e-ink)!important;font-size:14px!important;min-height:44px}
html body:not(#_x):not(#_y) #view-modifier #form-modifier textarea{min-height:96px}
html body:not(#_x):not(#_y) #view-modifier #form-modifier select{-webkit-appearance:none;appearance:none;padding-right:34px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23777' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:12px 8px!important}
html body:not(#_x):not(#_y) #view-modifier #form-modifier :is(input,select,textarea):focus{border-color:var(--e-ink)!important;outline:0!important;box-shadow:0 0 0 3px rgba(224,112,58,.18)!important}
html body:not(#_x):not(#_y) #view-modifier .k164-grid{margin-bottom:16px}
html body:not(#_x):not(#_y) #view-modifier #form-modifier .quartier-menu-trigger{min-height:44px;padding:0 14px;font-size:14px;border-radius:10px;border-color:var(--e-line);background:var(--e-card);color:var(--e-ink);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
html body:not(#_x):not(#_y) #view-modifier #form-modifier .quartier-menu-trigger>span:last-child{font-size:0;min-width:14px;width:14px;height:14px;color:transparent;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23777' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") center/12px 8px no-repeat}

/* Publier hors espace annonceur (administration Korda) : même apparence que dans l'espace annonceur */
html body:not(#_x):not(#_y) #form-publier{--e-ink:#222;--e-mute:#6a6a6a;--e-line:#ebebeb;--e-card:#fff}
html[data-theme="dark"] body:not(#_x):not(#_y) #form-publier{--e-ink:#E8EEF1;--e-mute:#9DB0BB;--e-line:rgba(255,255,255,.10);--e-card:#15232D}
html body:not(#_x):not(#_y) #form-publier fieldset{background:var(--e-card)!important;border:1px solid var(--e-line)!important;border-radius:16px!important;padding:18px 20px 20px!important;margin:0!important;box-shadow:none!important}
html body:not(#_x):not(#_y) #form-publier legend{font-size:16px!important;font-weight:600!important;color:var(--e-ink)!important;padding:0 6px!important;margin-left:-6px!important}
html body:not(#_x):not(#_y) #form-publier legend::before{display:none!important;content:none!important}
html body:not(#_x):not(#_y) #form-publier label{font-size:13px!important;font-weight:500!important;color:var(--e-mute)!important}
html body:not(#_x):not(#_y) #form-publier :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=file]){border:1px solid var(--e-line)!important;border-radius:10px!important;background-color:var(--e-card)!important;color:var(--e-ink)!important;font-size:14px!important;min-height:44px}
html body:not(#_x):not(#_y) #form-publier textarea{min-height:96px}
html body:not(#_x):not(#_y) #form-publier select{-webkit-appearance:none;appearance:none;padding-right:34px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23777' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:12px 8px!important}
html body:not(#_x):not(#_y) #form-publier :is(input,select,textarea):focus{border-color:var(--e-ink)!important;outline:0!important;box-shadow:0 0 0 3px rgba(224,112,58,.18)!important}
html body:not(#_x):not(#_y) #form-publier .quartier-menu-trigger{min-height:44px;padding:0 14px;font-size:14px;border-radius:10px;border-color:var(--e-line);background:var(--e-card);color:var(--e-ink);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
html body:not(#_x):not(#_y) #form-publier .quartier-menu-trigger>span:last-child{font-size:0;min-width:14px;width:14px;height:14px;color:transparent;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23777' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") center/12px 8px no-repeat}

/* Touches de couleur de la charte : pastille + pictogramme devant chaque titre de carte */
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-bien>legend::before{content:""!important;display:inline-block!important;vertical-align:middle;width:30px!important;height:30px!important;margin:-4px 10px 0 0!important;border-radius:9px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BF4F1A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center/17px no-repeat,#FCEFE7}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-prix>legend::before{content:""!important;display:inline-block!important;vertical-align:middle;width:30px!important;height:30px!important;margin:-4px 10px 0 0!important;border-radius:9px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BF4F1A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12l-8 8-9-9V4h7z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.2'/%3E%3C/svg%3E") center/17px no-repeat,#FCEFE7}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-cm>legend::before{content:""!important;display:inline-block!important;vertical-align:middle;width:30px!important;height:30px!important;margin:-4px 10px 0 0!important;border-radius:9px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2A3D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 4.6L18.5 9l-4.7 1.4L12 15l-1.8-4.6L5.5 9l4.7-1.4z'/%3E%3Cpath d='M18.5 15l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z'/%3E%3C/svg%3E") center/17px no-repeat,#E8EDF1}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-ca>legend::before{content:""!important;display:inline-block!important;vertical-align:middle;width:30px!important;height:30px!important;margin:-4px 10px 0 0!important;border-radius:9px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314756C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E") center/17px no-repeat,#E6F3F1}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-lo>legend::before{content:""!important;display:inline-block!important;vertical-align:middle;width:30px!important;height:30px!important;margin:-4px 10px 0 0!important;border-radius:9px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314756C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center/17px no-repeat,#E6F3F1}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-pos>legend::before{content:""!important;display:inline-block!important;vertical-align:middle;width:30px!important;height:30px!important;margin:-4px 10px 0 0!important;border-radius:9px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314756C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4L3 6.5v13L9 17l6 2.5 6-2.5v-13L15 7z'/%3E%3Cpath d='M9 4v13M15 7v12.5'/%3E%3C/svg%3E") center/17px no-repeat,#E6F3F1}
.k164-pos>legend::before,.k164-pos>h3::before{content:"";display:inline-block;vertical-align:middle}
html[data-theme="dark"] body :is(#form-publier,#form-modifier) .k164-card>legend::before{filter:brightness(1.3)}

/* polices : les listes commune / quartier prennent la police Figtree des champs du formulaire */
html body:not(#_a):not(#_b) :is(#form-publier,#form-modifier) :is(.quartier-menu-trigger,.quartier-menu-popup,.quartier-menu-flyout,.quartier-menu-item,.quartier-menu-popup *,select,option){font-family:Figtree,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
/* la fenêtre de choix est rattachée à la page (hors formulaire) : même police Figtree */
html body:not(#_a):not(#_b) :is(.quartier-menu-popup,.quartier-menu-flyout) :is(*,button,input){font-family:Figtree,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}

/* espacements : un seul rythme de 16 px entre toutes les cartes du formulaire (colonnes, lignes, sections) */
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) :is(.k164-card,.k164-pos,.k165-sub,.ph-box,.kpub-imm){margin-top:0!important;margin-bottom:0!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) :is(.k164-grid,#p-kind-fields,#m-kind-fields,.k165-g4){margin-top:0!important;margin-bottom:16px!important;gap:16px!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) :is(.ph-box,.kpub-imm){margin-bottom:16px!important}
/* conteneur des champs colocation/séjour : absent quand la rubrique choisie est une annonce classique (il ajoutait un trou) */
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#p-kind-fields,#m-kind-fields):not(:has(>fieldset:not(:disabled):not([hidden]))){display:none!important}
/* le formulaire est une grille : son écart (16 px) fait seul l'espacement entre les blocs, aucune marge en plus */
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier){row-gap:16px!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) :is(.k164-grid,#p-kind-fields,#m-kind-fields,.k165-g4,.ph-box,.kpub-imm){margin-bottom:0!important}

@keyframes k164-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@keyframes k164-fd{from{opacity:.0}to{opacity:1}}
.k164-pop.k164-sw>*{animation:k164-fd .22s ease}
@media(prefers-reduced-motion:reduce){.k164-pop,.k164-pop.k164-sw>*{transition:none;animation:none}}
/* les trois choix de rubrique : même gabarit, texte toujours en haut à gauche */
html body:not(#_a):not(#_b):not(#_c):not(#_d) #form-publier .k164-kinds .k164-kind{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;min-height:92px;text-align:left}
/* une fois la rubrique choisie : une simple ligne compacte, plus de grande carte */
html body:not(#_a):not(#_b):not(#_c):not(#_d) #form-publier[data-k164s="form"] #p-kind-box{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d) #form-publier[data-k164s="form"] .k164-chosen{padding:0!important;min-height:0!important;gap:10px}
html body:not(#_a):not(#_b):not(#_c):not(#_d) #form-publier[data-k164s="form"] .k164-chosen span{display:inline-flex;align-items:center;padding:6px 14px;border-radius:999px;background:#FCEFE7;color:#BF4F1A;font-size:14px;font-weight:600}

/* LISIBILITÉ (jour et nuit, y compris espace admin) : couleurs explicites pour la barre Type de bien / Projet et la fenêtre de choix */
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-seg b{color:#222!important;opacity:1!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-seg small{color:#6a6a6a!important;opacity:1!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-seg.on{background:#fff!important}
html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-seg b{color:#EDF2F4!important}
html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-seg small{color:#A9B8C1!important}
html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-seg.on{background:#243742!important;border-color:rgba(255,255,255,.14)!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .k164-pop .k164-chip{color:#222!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .k164-pop .k164-chip.on{background:#0F2A3D!important;border-color:#0F2A3D!important;color:#fff!important}
html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .k164-pop .k164-chip{color:#EDF2F4!important;border-color:rgba(255,255,255,.18)!important}
html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .k164-pop .k164-chip.on{background:#E0703A!important;border-color:#E0703A!important;color:#fff!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .k164-pop .k164-opt b{color:#222!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .k164-pop .k164-opt span,html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .k164-pop .k164-pl{color:#6a6a6a!important}
html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .k164-pop .k164-opt b{color:#EDF2F4!important}
html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .k164-pop .k164-opt span,html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .k164-pop .k164-pl{color:#A9B8C1!important}

/* barre Type de bien / Projet : la pastille mobile remplit toute sa moitié (plus de 16 px vides à gauche et à droite) */
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-bar{padding:4px!important;gap:0!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(#form-publier,#form-modifier) .k164-seg{width:100%;margin:0!important}

/* icônes des rubriques : une pastille colorée de la charte par rubrique */
.k164-ki{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;margin:0 0 12px;flex:none;font-style:normal}
.k164-ki svg{display:block}
.k164-ki-standard{background:#FCEFE7;color:#BF4F1A}
.k164-ki-colocation{background:#E6F3F1;color:#14756C}
.k164-ki-courte_duree{background:#E8EDF1;color:#0F2A3D}
html[data-theme="dark"] .k164-ki-standard{background:rgba(224,112,58,.18);color:#F0925F}
html[data-theme="dark"] .k164-ki-colocation{background:rgba(20,117,108,.25);color:#52C1B5}
html[data-theme="dark"] .k164-ki-courte_duree{background:rgba(143,178,201,.16);color:#A9C6DA}
.k164-ki-s{width:26px;height:26px;border-radius:8px;margin:0 8px 0 -4px}
.k164-ki-s svg{width:16px;height:16px}
html body:not(#_a):not(#_b):not(#_c):not(#_d) #form-publier[data-k164s="form"] .k164-chosen span{padding:4px 14px 4px 8px}
html body:not(#_a):not(#_b):not(#_c):not(#_d) #form-publier .k164-kinds .k164-kind.on .k164-ki{box-shadow:0 0 0 2px currentColor}
/* administrateur Korda : pas de choix « Particulier / Agence » (il publie au nom de Korda) ; pastille vide jamais affichée */
html body #view-espace.sa .pub-mode{display:none!important}
html body .pub-mode .pub-badge:empty{display:none!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #form-publier[data-k164s="form"] .k164-chosen span{background:transparent!important;color:inherit!important;padding:0!important;font-size:17px;font-weight:600}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #form-publier[data-k164s="form"] .k164-chosen .k164-ki-s{width:32px;height:32px;margin:0 10px 0 0}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #form-publier[data-k164s="form"] .k164-chosen .k164-ki-s svg{width:18px;height:18px}

/* Modifier : meme largeur que Publier */
@media(min-width:1000px){html body #view-modifier .form#form-modifier,html body #view-modifier #form-modifier{max-width:1120px}}
/* Modifier : air au-dessus de Caution et Quartier */
html body #form-modifier .k9-caut{margin-top:16px!important}
html body #form-modifier .field:has(>label[for="m-quartier"]){margin-top:16px!important}
html body #form-modifier .k164-lo>.field:has(>.quartier-menu-wrap){margin-top:16px!important}

/* Publication : classique + Immersion 360° (cases cumulables, rubrique compacte) */
html body #form-publier .kpub-duo{display:grid;gap:8px;padding:18px 20px 16px}
html body #form-publier .kpub-duo>legend{font-size:15px;font-weight:600;padding:0 0 4px}
html body #form-publier .kpub-duo .kpub-r{padding:10px 14px;border-radius:12px;align-items:center;margin:0}
html body #form-publier .kpub-duo .kpub-r input{width:20px;height:20px;margin:0;accent-color:#14756C}
html body #form-publier .kpub-duo .kpub-r b{font-size:14px;font-weight:600}
html body #form-publier .kpub-duo .kpub-r small{font-size:12.5px;margin-top:1px}
html body #form-publier .kpub-duo .kpub-fixe{background:rgba(20,117,108,.06);border-color:rgba(20,117,108,.25);cursor:default}
html body #form-publier .kpub-duo .kpub-opt{font-style:normal;font-weight:500;font-size:11.5px;color:#14756C;background:#E6F3F1;border-radius:999px;padding:2px 8px;margin-left:6px;vertical-align:1px}
html[data-theme="dark"] body #form-publier .kpub-duo .kpub-opt,html[data-theme="dark"] #form-publier .kpub-duo .kpub-opt{background:rgba(20,117,108,.25);color:#7fd6cb}
html body #form-publier .kpub-duo .kg-rules{margin:2px 0 0;font-size:12px;line-height:1.5}

/* Type de publication : meme survol que les cartes de type d'annonce */
html body #form-publier .kpub-duo .kpub-r{transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease}
html body #form-publier .kpub-duo .kpub-r:not(.kpub-fixe):not(.kpub-off):hover{box-shadow:0 6px 16px rgba(0,0,0,.12);transform:translateY(-1px)}
html body #form-publier .kpub-duo .kpub-r:not(.kpub-fixe):has(input:checked){border:1.5px solid #E0703A}
html body #form-publier .kpub-duo .kpub-r:has(input:focus-visible){outline:2px solid #222;outline-offset:2px}
html[data-theme="dark"] body #form-publier .kpub-duo .kpub-r:not(.kpub-fixe):not(.kpub-off):hover,html[data-theme="dark"] #form-publier .kpub-duo .kpub-r:not(.kpub-fixe):not(.kpub-off):hover{box-shadow:0 6px 16px rgba(0,0,0,.45)}
html[data-theme="dark"] #form-publier .kpub-duo .kpub-r:has(input:focus-visible){outline-color:#f2f2f2}
@media(prefers-reduced-motion:reduce){html body #form-publier .kpub-duo .kpub-r{transition:none}html body #form-publier .kpub-duo .kpub-r:hover{transform:none!important}}

/* Type de publication : pastilles rondes, cumulables */
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #form-publier .kpub-duo .kpub-r input[type=checkbox]{-webkit-appearance:none!important;appearance:none!important;width:22px!important;height:22px!important;border:1.5px solid #9aa3a8!important;border-radius:50%!important;background:#fff!important;display:grid!important;place-content:center!important;flex:none!important;cursor:pointer!important;transition:border-color .15s,background .15s!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #form-publier .kpub-duo .kpub-r input[type=checkbox]::before{content:""!important;width:10px!important;height:10px!important;border-radius:50%!important;background:#fff!important;transform:scale(0)!important;transition:transform .15s!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #form-publier .kpub-duo .kpub-r input[type=checkbox]:checked{border-color:#14756C!important;background:#14756C!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #form-publier .kpub-duo .kpub-r input[type=checkbox]:checked::before{transform:scale(1)!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #form-publier .kpub-duo .kpub-r input[type=checkbox]:disabled{cursor:default!important}
html body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #form-publier .kpub-duo .kpub-r.kpub-off input[type=checkbox]{border-color:#c9cfd2!important;background:#f1f3f4!important}
html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #form-publier .kpub-duo .kpub-r input[type=checkbox]{background:#0f1c25!important;border-color:#6d7b85!important}
html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #form-publier .kpub-duo .kpub-r input[type=checkbox]:checked{background:#1b8f84!important;border-color:#1b8f84!important}
html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #form-publier .kpub-duo .kpub-r input[type=checkbox]::before{background:#0f1c25!important}
html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #form-publier .kpub-duo .kpub-r input[type=checkbox]:checked::before{background:#fff!important}

/* Carte « Où se situe votre bien ? » : avant le choix d'une commune, la zone vide se remplit d'un encadré calme au lieu de laisser un grand blanc */
html body:not(#_a):not(#_b):not(#_c) :is(#form-publier,#form-modifier) .k164-c2>.k164-pos{display:flex;flex-direction:column}
html body:not(#_a):not(#_b):not(#_c) :is(#form-publier,#form-modifier) .k164-c2>.k164-pos>.pos-wrap{flex:1;display:flex;flex-direction:column;min-height:0}
html body:not(#_a):not(#_b):not(#_c) :is(#form-publier,#form-modifier) .k164-pos .pos-empty:not([hidden]){flex:1;display:flex;align-items:center;justify-content:center;text-align:center;margin:12px 0 0;padding:24px 20px;min-height:180px;border:1.5px dashed rgba(15,42,61,.18);border-radius:14px;background:rgba(20,117,108,.05);color:#5b6b75;font-size:13.5px;line-height:1.5}
html[data-theme="dark"] body:not(#_a):not(#_b):not(#_c) :is(#form-publier,#form-modifier) .k164-pos .pos-empty:not([hidden]){border-color:rgba(255,255,255,.18);background:rgba(20,117,108,.10);color:#9DB0BB}

/* V132 : fenêtre « Commodités et détails » — cartes et champs lisibles à l'horizontale (2 colonnes au lieu de 3/4 dans une fenêtre étroite) */
.k164-win .amn-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.k164-win .amn-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.k164-win .amn-card{padding:10px 12px;gap:10px}
.k164-win .amn-lb{overflow-wrap:normal;word-break:normal;hyphens:auto;font-size:13px;line-height:1.25}
@media(max-width:560px){.k164-win .amn-grid,.k164-win .amn-facts{grid-template-columns:1fr}}
