/* Présentation seulement : les valeurs et les actions viennent des vues existantes. */
.lp-toolbar{position:sticky;top:0;z-index:14;padding:8px 0 10px;background:var(--theme-surface,#fcfdfb)}
.lp-toolbar .h20-tabs{margin:0 0 8px}
.lp-filter-toggle{display:block;width:100%;min-height:48px;font-size:17px;font-weight:650}
.lp-filter-toggle[aria-expanded="true"]{background:var(--brand-soft)}
.lp-filter-closed{display:none!important}
.phone-sheet .lp-filter-closed{display:block!important}
.lp-toolbar .phone-filter-bar{padding:0;display:none}
.lp-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:12px;padding:12px 0}
.lp-card{min-width:0;border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:14px}
.lp-card-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px}
.lp-card-main{min-width:0;display:flex;flex-direction:column;gap:6px}
.lp-card-id{align-self:flex-start;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;overflow-wrap:normal!important;border-bottom:1px solid currentColor;text-decoration:none!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:clamp(10px,2.8vw,13px);letter-spacing:-.035em;line-height:1.35;padding:0!important}
.lp-card-status{max-width:104px;min-width:0;text-align:center;line-height:1.2;white-space:normal}
.lp-card-person{display:flex;align-items:center;gap:7px;margin-top:0;min-height:25px;padding:0;border:0;background:transparent;text-align:left;font:inherit;font-size:13px;color:var(--brand);cursor:pointer}
.lp-card-person .lp-avatar{position:relative;display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:50%;background:var(--brand-soft);font-size:10px;overflow:hidden}
.lp-card-person .lp-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lp-card-person span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lp-card-city{font-size:13px;color:var(--muted);line-height:1.35}
.lp-card-address{margin:1px 0 0;min-height:18px;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.lp-card-address a{text-decoration:underline}
.lp-card-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}
.lp-card-metrics>div{display:flex;flex-direction:column;justify-content:space-between;gap:3px;min-width:0;min-height:57px;padding:8px;border:1px solid var(--line);border-radius:10px}
.lp-card-metrics small{font-size:11px;line-height:1.25;color:var(--muted)}
.lp-card-metrics strong{font-size:16px;font-weight:650;overflow-wrap:anywhere}
.lp-card-extra{margin-top:8px;font-size:12px;color:var(--muted)}
.lp-card-extra summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
.lp-card-extra dl{display:grid;grid-template-columns:1fr auto;gap:4px;margin:0}
.lp-card-extra dd{margin:0;text-align:right}
.lp-toolbar .h20-tab{min-height:48px}
.h20-workspace .sl-card .m162-history-head{align-items:start}
.h20-workspace .sl-card .sl-meta{margin-top:5px}
.h20-workspace .sl-card .m162-history-dossier{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:500;letter-spacing:-.035em;white-space:nowrap;overflow-wrap:normal}
@media(max-width:600px), (orientation:landscape) and (max-height:600px) and (hover:none) and (pointer:coarse){
 .lp-toolbar{top:calc(60px + env(safe-area-inset-top));padding:5px 0 8px}
 .lp-toolbar .phone-filter-bar{display:flex;flex-wrap:nowrap;width:100%}
 .lp-toolbar .phone-filter-bar .ui-scoring-refresh{flex:0 0 auto}
 .lp-toolbar .phone-filter-open{flex:1;min-width:0;justify-content:center;font-size:17px}
 .lp-toolbar .phone-filter-summary{display:none}
 .lp-filter-toggle{display:none}
 .lp-cards{grid-template-columns:minmax(0,1fr);padding:10px 0}
 .lp-card{padding:13px}
 .lp-card-id{font-size:clamp(10px,2.8vw,12px)}
 .lp-card-status{max-width:90px;font-size:11px}
}
