
/* ====== Polish 2 — contrôles compacts (primaire > secondaire > tertiaire), densité mobile type SaaS ====== */
/* Contrôles : rayon modéré 10 px, bordure fine, largeur au contenu */
#view-espace:not(.sa):not(#_a) .btn{border-radius:10px;min-height:38px;padding:0 15px;font-size:13px;font-weight:600;letter-spacing:0;width:auto}
#view-espace:not(.sa):not(#_a) .btn.teal{min-height:40px;padding:0 18px;font-size:13.5px;font-weight:650}
#view-espace:not(.sa):not(#_a) .btn.outline{background:transparent;border:1px solid var(--e-line);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--e-title)}
#view-espace:not(.sa):not(#_a) .btn.outline:hover:not(:disabled){background:var(--e-soft);border-color:color-mix(in srgb,var(--e-brand) 35%,var(--e-line))}
#view-espace:not(.sa):not(#_a) .esp-quick,#view-espace:not(.sa):not(#_a) .esp-head-actions,#view-espace:not(.sa):not(#_a) .esp-ann-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#view-espace:not(.sa):not(#_a) :is(.esp-quick,.esp-head-actions,.esp-ann-actions) .btn{flex:0 0 auto;width:auto}
#view-espace:not(.sa):not(#_a) .esp-ann-actions .btn{min-height:34px;padding:0 12px;font-size:12.5px;border-radius:9px}
#view-espace:not(.sa):not(#_a) .esp-ann-actions .btn.teal{background:transparent;border:1px solid color-mix(in srgb,var(--e-brand) 45%,var(--e-line));color:var(--e-brand);font-weight:600}
#view-espace:not(.sa):not(#_a) .esp-ver .btn{min-height:38px}

@media(max-width:800px){
  /* Hiérarchie typographique */
  #view-espace:not(.sa):not(#_a) #esp-titre{font-size:24px;letter-spacing:-.025em;line-height:1.15}
  #view-espace:not(.sa):not(#_a) #esp-kicker{font-size:13px}
  #view-espace:not(.sa):not(#_a) .esp-h{font-size:14.5px;margin-bottom:10px}
  #view-espace:not(.sa):not(#_a) .esp-card{padding:16px}
  #view-espace:not(.sa):not(#_a) .esp-blk:not([hidden])~.esp-blk:not([hidden]){margin-top:22px}
  #view-espace:not(.sa):not(#_a) .esp-layout{gap:12px}
  /* Boutons : compacts, une ligne, largeur au contenu */
  #view-espace:not(.sa):not(#_a) .btn{min-height:36px;padding:0 14px;font-size:13px;white-space:nowrap}
  #view-espace:not(.sa):not(#_a) .btn.teal{min-height:40px;padding:0 18px;font-size:13.5px}
  #view-espace:not(.sa):not(#_a) .btn.outline{min-height:36px}
  #view-espace:not(.sa):not(#_a) .esp-head-actions{flex-direction:row;flex-wrap:wrap;align-items:center;width:auto;gap:8px}
  #view-espace:not(.sa):not(#_a) .esp-head-actions .btn{width:auto;flex:0 0 auto;white-space:nowrap;border-radius:10px}
  #view-espace:not(.sa):not(#_a) .esp-head-actions .btn:last-child{background:transparent;border-color:transparent;color:var(--e-muted);padding:0 6px}
  #view-espace:not(.sa):not(#_a) .esp-quick{width:auto}
  #view-espace:not(.sa):not(#_a) .esp-quick .btn,#view-espace:not(.sa):not(#_a) .esp-quick .btn.teal{flex:0 0 auto}
  #view-espace:not(.sa):not(#_a) .esp-ann-actions .btn{min-height:32px;padding:0 11px;font-size:12.5px}
  /* Mon compte */
  #view-espace:not(.sa):not(#_a) .esp-avatar{width:52px;height:52px;font-size:18px}
  #view-espace:not(.sa):not(#_a) .esp-name{font-size:18px}
  /* Identité agence : bande d'infos en lignes compactes */
  #view-espace:not(.sa):not(#_a) .ag-logo{width:46px;height:46px;font-size:15px;border-radius:12px}
  #view-espace:not(.sa):not(#_a) .esp-resume-t{font-size:18px}
  #view-espace:not(.sa):not(#_a) .ag-info{margin-left:-16px;margin-right:-16px}
  #view-espace:not(.sa):not(#_a) .ag-info>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 16px;border-left:0}
  #view-espace:not(.sa):not(#_a) .ag-info dt{margin:0;font-size:12px}
  #view-espace:not(.sa):not(#_a) .ag-info dd{font-size:13.5px;text-align:right;min-width:0}
  /* Chiffres clés */
  #view-espace:not(.sa):not(#_a) .esp-stat{padding:12px 14px 10px;gap:2px;min-height:0}
  #view-espace:not(.sa):not(#_a) .esp-si{width:26px;height:26px;margin-bottom:4px}
  #view-espace:not(.sa):not(#_a) .esp-si svg{width:14px;height:14px}
  #view-espace:not(.sa):not(#_a) .esp-stat b{font-size:24px;margin-top:2px}
  #view-espace:not(.sa):not(#_a) .esp-stat :is(span,small){font-size:12px}
  /* Lignes d'annonces : vignette + texte, actions dessous */
  #view-espace:not(.sa):not(#_a) .esp-ann{grid-template-columns:84px minmax(0,1fr);column-gap:12px;row-gap:0;padding:14px 0;align-items:start}
  #view-espace:not(.sa):not(#_a) .esp-ann>div:not(.esp-ph){display:contents}
  #view-espace:not(.sa):not(#_a) .esp-ann>.esp-ph{grid-column:1;grid-row:1/span 3;height:68px;border-radius:10px;font-size:11px;text-align:center;padding:4px}
  #view-espace:not(.sa):not(#_a) .esp-ann>div:not(.esp-ph)>*{grid-column:1/-1;min-width:0}
  #view-espace:not(.sa):not(#_a) .esp-ann>div:not(.esp-ph)>:nth-child(-n+3){grid-column:2}
  #view-espace:not(.sa):not(#_a) .esp-ann-top{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
  #view-espace:not(.sa):not(#_a) .esp-ann-title{font-size:15px;line-height:1.25}
  #view-espace:not(.sa):not(#_a) .esp-ann-meta{font-size:12.5px;margin-top:2px}
  #view-espace:not(.sa):not(#_a) .esp-ann-price{font-size:15px;margin-top:2px}
  #view-espace:not(.sa):not(#_a) .esp-ann .esp-eng{margin-top:10px}
  #view-espace:not(.sa):not(#_a) .esp-ann-actions{margin-top:10px}
  /* États vides */
  #view-espace:not(.sa):not(#_a) .esp-empty{padding:22px 16px}
  #view-espace:not(.sa):not(#_a) .esp-empty-ico{width:44px;height:44px;margin-bottom:8px}
  #view-espace:not(.sa):not(#_a) .esp-empty p:first-of-type{font-size:14.5px}
  #view-espace:not(.sa):not(#_a) .esp-act{padding:10px 0;font-size:13.5px}
  /* Pied : sorties discrètes, au contenu */
  #view-espace:not(.sa):not(#_a) .esp-side-foot{justify-content:center;gap:8px;margin-top:4px}
  #view-espace:not(.sa):not(#_a) .esp-side-foot button{flex:0 0 auto;width:auto;min-height:36px;padding:0 14px;font-size:12.5px;gap:8px;border-radius:10px}
  #view-espace:not(.sa):not(#_a) .esp-side-foot .esp-ico{width:16px;height:16px}
  /* Barre basse : légère */
  #view-espace:not(.sa):not(#_a) .esp-menu{padding:4px 6px calc(4px + env(safe-area-inset-bottom));gap:0}
  #view-espace:not(.sa):not(#_a) .esp-menu button{min-height:48px;gap:2px;font-size:10px;line-height:1.1;font-weight:600;border-radius:10px}
  #view-espace:not(.sa):not(#_a) .esp-menu button .esp-ico{width:20px;height:20px}
  body:has(#view-espace.active:not(.sa)) footer{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  /* Header mobile compact */
  body:has(#view-espace.active:not(.sa)) .nav{padding:8px 14px;gap:6px 10px}
  body:has(#view-espace.active:not(.sa)) .brand .mark{width:32px;height:32px}
  body:has(#view-espace.active:not(.sa)) .avatar-btn,body:has(#view-espace.active:not(.sa)) .theme-toggle{width:36px;height:36px}
  body:has(#view-espace.active:not(.sa)) .nav-search,body:has(#view-espace.active:not(.sa)) #tabs button{min-height:38px;height:38px}
  /* Formulaires */
  #view-espace:not(.sa):not(#_a) :is(input:not([type=checkbox]):not([type=radio]),select),#view-espace:not(.sa):not(#_a) .quartier-menu-trigger{min-height:44px}
  #view-espace:not(.sa):not(#_a) fieldset{padding:14px 14px 12px}
}

/* Zones tactiles : contenu visuel compact, zone interactive ≥ 44 px (pseudo-élément invisible qui prolonge le bouton) */
#view-espace:not(.sa):not(#_a) :is(.esp-ann-actions .btn,.esp-quick .btn,.esp-head-actions .btn,.esp-ver .btn,.esp-empty .btn,.esp-side-foot button){overflow:visible;position:relative}
#view-espace:not(.sa):not(#_a) :is(.esp-ann-actions .btn,.esp-quick .btn,.esp-head-actions .btn,.esp-ver .btn,.esp-empty .btn,.esp-side-foot button)::after{content:"";position:absolute;inset:-6px -3px;border-radius:12px}
#view-espace:not(.sa):not(#_a) :is(.esp-ann-actions,.esp-quick,.esp-head-actions){row-gap:12px}
@media(max-width:800px){
  #view-espace:not(.sa):not(#_a) .esp-ann-actions .btn{min-height:32px}
  #view-espace:not(.sa):not(#_a) .esp-ann-actions .btn::after{inset:-6px -3px}
  #view-espace:not(.sa):not(#_a) .esp-side-foot{gap:10px}
}
/* Lisibilité : le titre du bandeau « Vérifier mon agence » (fond sombre) était sombre sur sombre */
#view-espace:not(.sa):not(#_a) .vf-hero h3{color:#fff}

/* ===== Typographie premium — hiérarchie des graisses (couche finale, ne change ni tailles ni logique) =====
   400 = texte courant · 500 = navigation, libellés, actions secondaires · 600 = titres, boutons principaux, identité */
b,strong,th{font-weight:600}
h1,h2,h3,h4,h5,h6{font-weight:600}
:is(.section-title,.auth-brand-body h3,.detail-title,.cta h3,.dadv-nom,.kh-h1,.kh-r,.esp-name,.esp-h,.cf-h,.esp-ann-title,.esp-perf-name,.esp-resume-t,.auth-brand-t,.esp-side-t,.pub-badge){font-weight:600!important}
:is(.kh-r,.kh-soft){font-weight:600!important}
:is(label,.esp-lab,.esp-hello,.pm-hint,.auth-switch){font-weight:500!important}
.auth-switch button{font-weight:600!important}
legend{font-weight:600!important}
.btn{font-weight:500!important}
.btn:is(.teal,.coral,.navy),.kh-btn-p,.auth-form>.btn{font-weight:600!important}
.kh-btn,.kh-btn-s,.btn.outline,button.link,.link{font-weight:500!important}
.ct{font-weight:600!important}
.price{font-weight:600!important}
.meta,small{font-weight:500!important}
:is(.badge,.tag,.esp-b){font-weight:600!important}
/* menu utilisateur : le nom reste l'identité principale, le reste est léger */
.profil-menu-name{font-weight:650!important}
.profil-menu-mail{font-weight:400!important}
.profil-menu button.item,.profil-menu button.item.danger{font-weight:400!important;font-size:13.5px}
.profil-menu .esp-b{font-weight:500!important}
.avatar-btn,.avatar-btn span,.pm-avatar,.esp-avatar{font-weight:600!important}
/* fenêtre « Modifier mon profil » */
.section-title,#profil-overlay .section-title,#view-espace .section-title{font-weight:560!important}
#profil-overlay .btn.outline{font-weight:500!important}
#profil-overlay #pm-photo-btn{font-weight:600!important}
#profil-overlay .pm-photo-act .pm-del{font-weight:400!important}

/* ===== Fenêtre de connexion multicanale : e-mail → Continuer → OU → Google / Apple / Facebook / téléphone ===== */
#auth-overlay .auth-oauth[hidden]{display:none!important}
#auth-overlay{--ah:584px}
@media(max-width:720px){#auth-overlay{--ah:716px}}
#auth-overlay .auth-oauth{gap:9px;margin-top:14px}
#auth-overlay .auth-oauth .google-btn{min-height:44px;padding:0 10px;font-size:13.5px;white-space:nowrap}
#auth-overlay .auth-oauth .google-btn span{overflow:hidden;text-overflow:ellipsis}
@media(max-width:360px){#auth-overlay .auth-oauth .google-btn{font-size:12.5px;gap:9px}}

#auth-overlay .auth-oauth{gap:10px;margin-top:16px}
#auth-overlay .auth-oauth .google-btn{min-height:46px;gap:12px;justify-content:center;font-size:14px;font-weight:500;border-radius:13px}
#auth-overlay .auth-oauth .google-btn svg{width:20px;height:20px}
#auth-overlay .auth-or{margin:0 0 2px;font-size:11.5px;font-weight:500;letter-spacing:.14em}
#auth-overlay #form-connexion[data-etape="debut"] :is(.ac-etape-mdp,.auth-forgot,#ac-submit,#ac-back){display:none}
#auth-overlay #form-connexion:not([data-etape="debut"]) #ac-next{display:none}
#auth-overlay #ac-next::after{content:"→";margin-left:10px;font-weight:600;transition:transform .25s cubic-bezier(.2,.8,.2,1)}
#auth-overlay #ac-next:hover::after{transform:translateX(3px)}
#auth-overlay .auth-retour{align-self:center;margin-top:2px;font-weight:500}
#auth-overlay .ph-row{display:flex;gap:8px}
#auth-overlay .ph-row select{flex:0 0 auto;width:min(46%,168px);min-height:44px;padding:0 10px;border-radius:12px;border:1px solid var(--line);background:#fbfcfb;color:var(--ink);font-size:14px;cursor:pointer;transition:border-color .2s,box-shadow .2s}
#auth-overlay .ph-row select:focus{outline:0;border-color:var(--teal);background:#fff;box-shadow:0 0 0 4px rgba(22,120,111,.14)}
#auth-overlay .ph-row input{flex:1 1 auto;min-width:0}
html[data-theme="dark"] #auth-overlay .ph-row select{background:#15222b;border-color:#40515d;color:#edf2f4}
html[data-theme="dark"] #auth-overlay .ph-row select:focus{background:#1a2a35;border-color:#6fc9bb;box-shadow:0 0 0 4px rgba(111,201,187,.18)}
#auth-overlay #ph-code{letter-spacing:.3em;font-size:18px;text-align:center}
#auth-overlay #ph-code::placeholder{letter-spacing:0;font-size:14px}
#auth-overlay .ph-liens{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:2px}
#auth-overlay .ph-liens .auth-link[hidden]{display:none}
#auth-overlay .ph-liens .auth-link:disabled{opacity:.55;cursor:default;text-decoration:none}
div.kdv-row::after,div.kdv-row::before{display:none!important}

/* Interrupteur ON/OFF — langage visuel unique pour tout réglage activable/désactivable du Super Admin */
.kd-sw{display:inline-flex;align-items:center;gap:10px;background:none;border:0;padding:0;font:inherit;font-size:13px;font-weight:500;color:var(--e-title);cursor:pointer;-webkit-tap-highlight-color:transparent}
.kd-sw-t{position:relative;width:42px;height:24px;border-radius:99px;background:#c9d3d8;flex:none;transition:background .22s cubic-bezier(.3,.7,.4,1)}
.kd-sw-t::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.28);transition:transform .22s cubic-bezier(.3,.7,.4,1),width .16s ease}
html[data-theme="dark"] .kd-sw-t{background:#46586a}
.kd-sw[aria-checked="true"] .kd-sw-t{background:var(--sa-s1,#16786f)}
.kd-sw[aria-checked="true"] .kd-sw-t::after{transform:translateX(18px)}
.kd-sw-l{color:var(--e-muted)}.kd-sw[aria-checked="true"] .kd-sw-l{color:var(--e-title)}
.kd-sw:disabled{opacity:.55;cursor:default}
.kd-sw:active .kd-sw-t::after{width:24px}
.kd-sw[aria-checked="true"]:active .kd-sw-t::after{transform:translateX(14px)}
.kd-sw-sync{cursor:pointer}
.kd-sw-sync .kd-sw-t::after{background:radial-gradient(circle,#9aa8b1 0 2.5px,#fff 3px)}
.kd-sw-sync[aria-checked="true"] .kd-sw-t::after{background:radial-gradient(circle,var(--sa-s1,#16786f) 0 2.5px,#fff 3px)}
.kd-sw:focus-visible .kd-sw-t{outline:2px solid var(--sa-s1,#16786f);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.kd-sw-t,.kd-sw-t::after{transition:none}}
.esp-ann-actions .kd-sw{margin-left:auto;min-height:38px}
@media(pointer:coarse){.esp-ann-actions .kd-sw{min-height:44px}}

/* Gestion des contenus */
.sa-cont-ed{display:block!important;padding:6px 0 18px!important;border-top:0!important}
.sa-cont-ed .field{margin:0 0 12px}
.sa-cont-ed textarea{width:100%;resize:vertical}
.sa-cont-act{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:8px}
.sa-cont-msg{margin:10px 0 0;font-size:13px;line-height:1.45}
.sa-set small.sa-cont-msg{margin-top:6px;font-size:12.5px}
.sa-cont-msg.err{color:#b3261e}.sa-cont-msg.ok{color:var(--sa-ok,#0f5a52)}
html[data-theme="dark"] .sa-cont-msg.err{color:#f2a29b}
.sa-cont-liste{max-height:240px;overflow:auto;border:1px solid var(--e-line);border-radius:12px;padding:2px 12px}
.sa-cont-ck{display:flex;gap:10px;align-items:flex-start;padding:9px 0;font-size:13px;border-top:1px solid var(--e-line);cursor:pointer}
.sa-cont-ck:first-child{border-top:0}
.sa-cont-ck input{margin-top:3px;flex:none}
.sa-cont-ck b{display:block;font-weight:600;color:var(--e-title)}.sa-cont-ck small{display:block;color:var(--e-muted);font-size:12px}

/* ===== KORDA PREMIUM — badge ✦, section d'accueil, espace annonceur, fenêtre de demande, rubrique Super Admin ===== */
.kp-badge{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;line-height:1;font-weight:600;font-variant-caps:all-small-caps;letter-spacing:.13em;padding:5px 10px 5px 8px;border-radius:999px;color:#f3e3b8;background:linear-gradient(135deg,rgba(22,34,44,.86),rgba(34,46,56,.82));border:1px solid rgba(222,190,120,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 2px 8px -3px rgba(0,0,0,.55);white-space:nowrap}
.kp-badge i{font-style:normal;font-variant-caps:normal;color:#e6c780;font-size:11px;letter-spacing:0;line-height:1}
.card .photo .kp-badge{position:absolute;left:12px;top:56px;z-index:2} /* sous l’étiquette « À louer / À vendre » : le panneau de verre du bas de la carte reste dégagé */
.kp-badge.kp-in{color:#7a5b1c;background:linear-gradient(135deg,#fbf3dc,#f3e4b8);border-color:#d9bd7c;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.kp-badge.kp-in i{color:#b78a2c}
html[data-theme="dark"] .kp-badge.kp-in{color:#efd9a0;background:rgba(222,190,120,.14);border-color:rgba(222,190,120,.45)}
html[data-theme="dark"] .kp-badge.kp-in i{color:#e6c780}
.kp-row{margin-top:8px}
.kp-home{margin-bottom:34px}
.kp-home[hidden]{display:none}
.kp-home .kicker{color:#a07a2a}
/* mini-carrousel Premium (accueil) : mêmes proportions que les vignettes de l'introduction (112×76) */
.kp-mini{margin:30px 0 6px}
.kp-mini[hidden]{display:none}
.kp-mini-h{margin:0 0 10px}
.kp-mini-h h2{margin:0;font-size:12.5px;line-height:1.2;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#7a5b1c}
.kp-mini-h h2 i{font-style:normal;margin-right:7px}
html[data-theme="dark"] .kp-mini-h h2{color:#e6c780}
.kp-mc{position:relative;--tw:112px;--th:76px;--tg:10px;--ch:calc(var(--th) + 48px)}
@media(max-width:1024px){.kp-mc{--tw:96px;--th:66px}}
.kp-mc-vp{overflow:hidden;touch-action:pan-y;padding:2px 2px 8px}
.kp-mc-track{position:relative;height:var(--ch)}
.kp-mc-card{position:absolute;left:0;top:0;width:var(--tw);background:none;border:0;padding:0;margin:0;text-align:left;font:inherit;color:inherit;cursor:pointer;min-width:0;opacity:1;transform:translate3d(calc(var(--i,0)*(var(--tw) + var(--tg))),0,0);transition:transform .95s cubic-bezier(.22,1,.36,1),opacity .95s cubic-bezier(.22,1,.36,1);will-change:transform,opacity}
.kp-mc-card[data-st="out"]{opacity:0}
.kp-mc-card[data-st="stage"]{opacity:0;transition:none}
.kp-mc-ph{position:relative;display:block;width:var(--tw);height:var(--th);border-radius:10px;overflow:hidden;background:#16222c;border:1px solid rgba(20,47,67,.2);box-shadow:0 10px 22px -14px rgba(0,0,0,.6)}
html[data-theme="dark"] .kp-mc-ph{border-color:rgba(255,255,255,.3)}
.kp-mc-ph img{width:100%;height:100%;object-fit:cover;display:block;-webkit-user-drag:none;user-select:none}
.kp-mc-star{position:absolute;left:6px;bottom:5px;font-size:10px;line-height:1;color:#ecd08b;text-shadow:0 1px 3px rgba(0,0,0,.75);pointer-events:none}
.kp-mc-t,.kp-mc-p{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kp-mc-t{margin-top:6px;font-size:11.5px;line-height:1.3;color:var(--ink,#1d2b35)}
.kp-mc-p{font-size:11px;line-height:1.3;color:var(--muted,#5f6d76)}
.kp-mc-card:focus-visible .kp-mc-ph{outline:2px solid #c9a24d;outline-offset:2px}
.kp-mc-nav{display:none;position:absolute;top:calc(var(--th)/2 - 11px);width:26px;height:26px;border-radius:50%;border:1px solid var(--line,#e5e9e8);background:var(--white,#fff);color:inherit;font:inherit;font-size:16px;line-height:1;cursor:pointer;box-shadow:0 4px 12px -6px rgba(0,0,0,.5);place-items:center;padding:0;z-index:2}
.kp-mc-prev{left:-8px}.kp-mc-next{right:-8px}
@media(hover:hover) and (pointer:fine){.kp-mc.kp-mc-over .kp-mc-nav{display:grid}}
.is-busy,.btn.is-busy,button.is-busy{cursor:progress!important}
.k-spin{display:inline-block;width:13px;height:13px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:kspin .7s linear infinite}
@keyframes kspin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.k-spin{animation-duration:1.6s}}
.kp-intro-link{color:inherit;text-decoration:underline;text-underline-offset:3px;font-weight:600;opacity:1;cursor:pointer}
.kp-intro-link:hover{color:#a07a2a}
html[data-theme="dark"] .kp-intro-link:hover{color:#e6c780}
@media(max-width:800px){#view-espace .esp-side-foot{flex-wrap:wrap}#view-espace .esp-side-foot button{white-space:normal;flex:1 1 140px}}
html[data-theme="dark"] .kp-home .kicker{color:#e6c780}
/* intro : petit ✦ discret sur chaque vignette (animation et design inchangés) */
#k-intro .kin-th .kin-star{position:absolute;left:6px;bottom:5px;font-size:10px;line-height:1;color:#ecd08b;text-shadow:0 1px 3px rgba(0,0,0,.75);pointer-events:none}
/* espace annonceur */
.kp-line{margin-top:10px;padding:9px 11px;border-radius:10px;border:1px solid var(--e-line,rgba(20,47,67,.12));font-size:12.5px;line-height:1.5;color:var(--e-muted,#5f6d76)}
.kp-line b{color:var(--e-title,inherit);font-weight:600}
.kp-line .kp-sub{display:block;margin-top:2px}
.kp-zone{margin-top:2px}
.kp-zone .kp-acts{margin-top:8px}
.kp-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:7px;background:#9aa5ab}
.kp-dot.submitted{background:#e0b73b}.kp-dot.in_review{background:#e98b3a}.kp-dot.payment_requested{background:#3b82c4}.kp-dot.active{background:#c9a24d;box-shadow:0 0 0 3px rgba(201,162,77,.25)}.kp-dot.rejected{background:#d4504a}.kp-dot.correction_requested{background:#8a63c7}.kp-dot.expired,.kp-dot.cancelled{background:#9aa5ab}
.kp-btn-prem{border-color:#d9bd7c;color:#7a5b1c}
html[data-theme="dark"] .kp-btn-prem{border-color:rgba(222,190,120,.5);color:#efd9a0}
/* fenêtre de demande */
.kp-ov{position:fixed;inset:0;z-index:9800;display:grid;place-items:center;padding:16px;background:rgba(7,12,17,.58)}
.kp-box{width:min(560px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:var(--white,#fff);color:var(--ink,#1d2b35);border-radius:18px;padding:22px;box-shadow:0 30px 70px -20px rgba(0,0,0,.6)}
.kp-box h3{margin:0 0 4px;font-size:19px;letter-spacing:-.02em;color:var(--navy,#142f43)}
html[data-theme="dark"] .kp-box h3{color:var(--ink,#edf2f4)}
.kp-box p{margin:8px 0;font-size:13.5px;line-height:1.55;color:var(--muted,#5f6d76)}
.kp-box .kp-annonce{font-weight:600;color:var(--ink,#1d2b35);font-size:14px}
.kp-box ul.kp-pts{margin:8px 0 4px;padding-left:18px;font-size:13px;line-height:1.55;color:var(--muted,#5f6d76)}
.kp-ph{display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:8px;margin:10px 0}
.kp-pi{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;background:#dce5e1}
.kp-pi img{width:100%;height:100%;object-fit:cover;display:block}
.kp-pi button{position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:50%;border:0;background:rgba(10,18,25,.75);color:#fff;font-size:15px;line-height:1;cursor:pointer}
.kp-pi .kp-ok{position:absolute;left:4px;bottom:4px;font-size:10px;padding:2px 5px;border-radius:6px;background:rgba(22,120,111,.9);color:#fff}
.kp-err{margin:10px 0;padding:9px 11px;border-radius:10px;background:rgba(212,80,74,.12);color:#b3382f;font-size:13px;line-height:1.45}
html[data-theme="dark"] .kp-err{color:#ffb4ac}
.kp-okbox{margin:10px 0;padding:11px 12px;border-radius:10px;background:rgba(22,120,111,.12);color:#0f5a52;font-size:13.5px;line-height:1.5}
html[data-theme="dark"] .kp-okbox{color:#9be0d3}
.kp-act{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.kp-file{display:block;width:100%;font-size:13px;margin:6px 0}
/* Super Admin — rubrique Premium */
.kp-chips{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 4px}
.kp-chips button{font:inherit;font-size:12.5px;padding:6px 11px;border-radius:999px;border:1px solid var(--line,#e5e9e8);background:transparent;color:inherit;cursor:pointer}
.kp-chips button.on{background:var(--navy,#142f43);color:#fff;border-color:transparent}
html[data-theme="dark"] .kp-chips button.on{background:#e6c780;color:#17222b}
.kp-req{list-style:none;margin:0;padding:12px 0;border-top:1px solid var(--line,#e5e9e8)}
.kp-req:first-child{border-top:0}
.kp-req-h{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;flex-wrap:wrap}
.kp-req-h small,.kp-req small{display:block;color:var(--muted,#5f6d76);font-size:12px;line-height:1.5}
.kp-det{margin-top:10px;padding:12px;border-radius:12px;border:1px solid var(--line,#e5e9e8);font-size:13px;line-height:1.55}
.kp-det dl{display:grid;grid-template-columns:max-content 1fr;gap:3px 12px;margin:0 0 8px}
.kp-det dt{color:var(--muted,#5f6d76)}.kp-det dd{margin:0;overflow-wrap:anywhere}
.kp-aph{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;margin:8px 0}
.kp-aph a{display:block;aspect-ratio:1;border-radius:10px;overflow:hidden;background:#dce5e1}
.kp-aph img{width:100%;height:100%;object-fit:cover;display:block}
.kp-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:10px 0}
@media (max-width:480px){.kp-box{padding:16px;border-radius:16px}.kp-det dl{grid-template-columns:1fr}.kp-det dt{margin-top:4px}}
@media (prefers-reduced-motion:reduce){.kp-badge{-webkit-backdrop-filter:none;backdrop-filter:none}}
