/* SeLoger · espace propriétaire sur ordinateur (Figma 31:1035 tableau, 163:126874 filtre ouvert, 32:1539 fiche).
   Mêmes jetons et composants que la démo mobile ; seule la mise en page change. */
.dk{position:relative;width:1280px;height:720px;background:var(--page);border-radius:12px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.35);display:flex;flex-direction:column}
html.embedded body{padding:0;background:transparent;display:block}
html.embedded .dk{border-radius:0;box-shadow:none}

/* En-tête du site */
.dk-head{flex:none;display:flex;align-items:center;gap:24px;height:64px;padding:0 80px;border-bottom:1px solid var(--sep)}
.dk-head .logo{width:84px;height:auto}
.dk-head nav{margin-left:auto;display:flex;gap:24px;font-size:14px;line-height:20px;font-weight:500}
.dk-head nav button{min-height:44px}
.dk-scroll{flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-width:none}
.dk-scroll::-webkit-scrollbar{display:none}
.dk-in{padding:36px 80px 40px}
.dk-back{display:inline-flex;align-items:center;gap:4px;min-height:32px;font-size:14px;line-height:20px;font-weight:500}
.dk-in h1{margin-top:12px;font-size:40px;line-height:48px;font-weight:700;letter-spacing:-.01em}
.dk-sub{margin-top:8px;font-size:16px;line-height:24px;color:var(--texte-2)}

/* Onglets */
.dk-tabs{display:flex;gap:32px;margin-top:28px;border-bottom:1px solid var(--sep)}
.dk-tabs button{position:relative;padding:12px 0 14px;font-size:16px;line-height:24px;color:var(--texte-2)}
.dk-tabs button[aria-selected=true]{color:var(--texte);font-weight:500}
.dk-tabs button[aria-selected=true]::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--texte)}

/* Filtres : un menu par critère, aucun tri */
.dk-filters{position:relative;display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.dk-f{position:relative}
.dk-fb{display:inline-flex;align-items:center;gap:24px;height:56px;padding:0 16px;border:1px solid var(--bord-champ);border-radius:12px;font-size:18px;line-height:24px;color:var(--texte-2);transition:border-color .15s}
.dk-fb.on{color:var(--texte);border-color:var(--texte)}
.dk-fb[aria-expanded=true]{border:2px solid var(--texte);padding:0 15px;color:var(--texte)}
.dk-pop{position:absolute;z-index:20;top:64px;left:0;width:300px;padding:16px;border:1px solid var(--sep);border-radius:12px;background:var(--page);box-shadow:var(--ombre-forte);animation:dkPop .18s var(--sortie)}
@keyframes dkPop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.dk-pop .check-row{min-height:32px}
.dk-pop-n{margin:-4px 0 8px;font-size:12px;line-height:16px;color:var(--texte-2)}
.dk-pop-f{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.dk-pop-f .lnk{font-size:14px;text-decoration:underline;min-height:44px}
.dk-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}
.dk-count{font-size:14px;line-height:20px;color:var(--texte-2)}
.dk-bar .check-row{min-height:32px}

/* Tableau : colonnes sans tri, ordre d'arrivée */
.dk-table{width:100%;margin-top:12px;border-collapse:collapse;font-size:14px;line-height:20px}
.dk-table th{height:40px;padding:0 16px 0 0;background:var(--subtil);text-align:left;font-size:12px;line-height:16px;font-weight:400;color:var(--texte-2)}
.dk-table th:first-child,.dk-table td:first-child{padding-left:16px}
.dk-table td{height:64px;padding:8px 16px 8px 0;border-bottom:1px solid var(--sep);vertical-align:middle}
.dk-table tr.is-new td{animation:dkNew 1.6s var(--sortie)}
@keyframes dkNew{0%{background:var(--rouge-50)}100%{background:transparent}}
.dk-name{display:flex;align-items:center;gap:8px;font-size:16px;line-height:24px;font-weight:700;text-align:left}
.dk-name .dot{width:7px;height:7px;border-radius:50%;background:var(--rouge);flex:none}
.dk-name+.badge-dc{margin-top:4px}
.dk-msg{max-width:236px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dk-dash{color:var(--texte-off)}
.dk-act{display:flex;gap:12px;justify-content:flex-end}
.dk-act .hit.on{color:var(--rouge)}
.dk-more{margin-top:16px;font-size:14px;color:var(--texte-2)}
.dk-vide{padding:32px 16px;color:var(--texte-2)}

/* Fiche candidat : contenu à gauche, actions à droite */
.dk-fiche{display:grid;grid-template-columns:680px 360px;justify-content:space-between;gap:40px;align-items:start}
.dk-fiche .ident{display:grid;gap:8px}
.dk-fiche .ident-h{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.dk-fiche h1{margin-top:12px}
.dk-fiche .recu{font-size:12px;color:var(--texte-2)}
.dk-fiche .coords{font-size:14px;line-height:20px}
.dk-fiche .tags{display:flex;flex-wrap:wrap;gap:8px}
.dk-fiche .fsec{margin-top:32px}
.dk-fiche .fsec h2{font-size:18px;line-height:24px;font-weight:700;margin-bottom:12px}
.dk-side{position:sticky;top:0;display:grid;gap:12px;padding-top:48px}
.dk-side .btn.on{background:var(--page);color:var(--rouge);border-color:var(--rouge)}

/* Message éphémère */
.dk .toast{left:auto;right:80px;bottom:24px;width:400px}

/* Repère d'une étape envoyée par la page projet */
.dk-hint{position:absolute;z-index:40;border:3px solid var(--rouge);border-radius:12px;pointer-events:none;animation:dkHint 1.1s var(--sortie) 3 both}
@keyframes dkHint{0%{opacity:0;transform:scale(1.08)}40%{opacity:1;transform:none}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.dk-pop,.dk-table tr.is-new td{animation:none}.dk-hint{animation:dkHintR 2s both}@keyframes dkHintR{0%,80%{opacity:1}100%{opacity:0}}}

/* Filtres et compteur collés en haut au défilement (Raph 24/10) : on filtre où que l'on soit dans la liste */
.dk-sticky{position:sticky;top:0;z-index:10;margin:0 -80px;padding:0 80px 12px;background:var(--page);transition:box-shadow .2s}
.dk-sticky.is-stuck{box-shadow:0 6px 12px -6px rgba(0,0,0,.18)}
.dk-sticky .dk-filters{margin-top:0;padding-top:24px}
.dk-sticky+.dk-table{margin-top:0}
.dk-sticky~.dk-table th{position:sticky;top:var(--sticky-h,0px);z-index:5}

/* Robustesse (audit 25/10) */
.dk-fiche .coords,.dk-fiche .ident p{overflow-wrap:anywhere;min-width:0}
.dk-fiche .ident-h{flex-wrap:wrap}
.dk-fiche .recu{flex:none;white-space:nowrap}
.dk-name{align-items:flex-start}
.dk-name .dot{margin-top:9px}
.dk-dash{color:var(--texte-2)}
.dk .toast span{min-width:0;overflow-wrap:anywhere}

/* Caméra de la page projet (?guided=1) : la zone utile de chaque étape est grossie */
html.cam body{overflow:hidden}
html.cam .dk{transform-origin:0 0;transition:transform .8s cubic-bezier(.65,0,.35,1)}
@media (prefers-reduced-motion:reduce){html.cam .dk{transition:none}}

/* Hero (audit 26/10, point 2) : la ligne de Léa entre, reste surlignée, et le compteur passe de 10 à 11 */
.dk-n{display:inline-block}
.dk-n.bump{animation:dkBump .6s var(--ressort,cubic-bezier(.34,1.56,.64,1));color:var(--rouge)}
@keyframes dkBump{0%{transform:scale(1)}40%{transform:scale(1.45)}100%{transform:scale(1)}}
html.hero-mode .dk-table tr.is-new td{animation:dkIn .5s var(--sortie) both,dkNewLong 3.2s ease-out both}
@keyframes dkIn{from{opacity:0;transform:translateY(-10px)}}
@keyframes dkNewLong{0%,55%{background:var(--rouge-50)}100%{background:transparent}}
@media (prefers-reduced-motion:reduce){.dk-n.bump,html.hero-mode .dk-table tr.is-new td{animation:none}}
