/* Only refinements. Existing On En Parle branding, globe, hero, typography and logos are untouched. */
.v83-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:18px;margin-top:20px;align-items:start}
.v83-grid>.v83-card,.v83-grid>div>.v83-card{margin-bottom:18px}
.v83-card{margin-top:18px}.v83-card h3{margin-bottom:12px}.v83-pills{display:flex;flex-wrap:wrap;gap:8px}
.v83-badge{display:inline-flex;border:1px solid rgba(100,140,175,.36);border-radius:100px;padding:6px 11px;font-size:.76rem;font-weight:700;white-space:nowrap}
.v83-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 2px;border-bottom:1px solid rgba(140,160,185,.2)}
.v83-row:last-child{border-bottom:0}.v83-row>div:first-child{min-width:0;overflow-wrap:anywhere;flex:1}.v83-row .small{margin:.35em 0;white-space:normal}
.v83-row button{flex-shrink:0}.v83-list{margin:10px 0 20px}.v83-formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.v83-formgrid .label:last-child{grid-column:1/-1}.v83-message{min-height:1.5em;color:#178568;font-weight:600}
.v83-card form{padding:12px 0}.v83-card form[hidden]{display:none}.v83-card button,.v83-card select,.v83-card input{max-width:100%}
.v83-card textarea{resize:vertical;min-height:85px}.v83-card .actions{flex-wrap:wrap}.v83-card p{overflow-wrap:anywhere}
.v83-task-state,.v83-cue-state{min-width:145px;max-width:200px}.v83-card h2{margin-top:18px}
@media(max-width:750px){.v83-grid{display:block}.v83-row{align-items:flex-start;flex-wrap:wrap}.v83-task-state,.v83-cue-state{width:100%;max-width:none}}

/* PRESENCE V8.3 : styles discrets, respect de la charte existante. */
.v83-presence-panel{border:1px solid rgba(100,137,175,.26);border-radius:12px;padding:16px 18px;margin:12px 0 22px;background:rgba(13,44,74,.045)}
.v83-presence-summary{display:flex;gap:12px;flex-wrap:wrap;margin:9px 0}
.v83-presence-summary>span{padding:7px 11px;border-radius:999px;border:1px solid rgba(114,140,166,.2);font-weight:700;font-size:.88rem}
.v83-live-online,.v83-presence-online{color:#107948}
.v83-live-offline,.v83-presence-offline{color:#5b6474}
.v83-live-disabled,.v83-presence-disabled{color:#9a512e}
.v83-presence-info{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:8px}
.v83-presence-info span{font-size:.85rem;font-weight:700;padding:4px 8px;border-radius:8px;background:rgba(139,159,180,.11)}
.v83-presence-info small{font-size:.77rem;opacity:.75}

/* V8.4 : synthese D1 et conducteur, couleurs ON EN PARLE conservees. */
.v84-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:12px;margin:22px 0 6px}
.v84-stat{padding:17px 16px;border:1px solid #dce5ee;border-radius:15px;background:#fff;display:flex;flex-direction:column;gap:7px;min-height:96px}
.v84-stat strong{font-size:1.75rem;line-height:1;color:#08243d}.v84-stat span{font-weight:600;font-size:.82rem;color:#687d91}
.v84-edit-entry,.v84-edit-cue{white-space:nowrap}
#v84CuePrint .v83-row{break-inside:avoid}
#v83CueForm .actions,#v83EntryForm .actions{margin-top:12px}
@media(max-width:700px){.v84-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{
  body:has(#v84CuePrint) .sidebar,body:has(#v84CuePrint) .topbar,body:has(#v84CuePrint) #v83ProdList,body:has(#v84CuePrint) #v83ProdForm,body:has(#v84CuePrint) #v83Message,body:has(#v84CuePrint) #v83CueForm,body:has(#v84CuePrint) #v83TaskForm,body:has(#v84CuePrint) .v83-task-state,body:has(#v84CuePrint) .v83-cue-state,body:has(#v84CuePrint) .v84-edit-cue,body:has(#v84CuePrint) #v84PrintCue,body:has(#v84CuePrint) #v84ExportCue{display:none!important}
  body:has(#v84CuePrint) .layout{display:block!important}body:has(#v84CuePrint) .work,body:has(#v84CuePrint) .content{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
  body:has(#v84CuePrint) .v83-card:not(:has(#v84CuePrint)){display:none!important}
  body:has(#v84CuePrint) .v83-card:has(#v84CuePrint){box-shadow:none!important;border:0!important;color:#111!important}
}

/* MASTER V8.5 : composants additionnels; mise en page/logo/globe d'origine inchanges. */
.v85-section{margin-top:22px}.v85-section>.v83-card{border-left:3px solid #a72232}
.v85-section #v85ProductionPicker{min-height:42px}
.v85-section .v83-formgrid .label{min-width:0}.v85-section .v83-formgrid textarea{min-height:108px}
.v85-brief-summary{padding:17px 0;border-bottom:1px solid #e0e7ee;overflow-wrap:anywhere}
.v85-brief-summary>.v83-badge{margin-left:12px}
.v85-brief-summary p,.v85-field-preview p{margin:6px 0;font-size:.9rem;white-space:pre-wrap;overflow-wrap:anywhere}
.v85-field-preview{flex-basis:100%;padding:12px;background:rgba(37,80,122,.045);border-radius:9px}
#v85BriefList .v83-row{flex-wrap:wrap}
#v85BriefList .actions{display:flex;gap:7px;flex-wrap:wrap}

/* MASTER V8.6 — corbeille, conserve exactement les couleurs et cadres existants */
.v86-danger,.v86-trash{border:1px solid #bd4f58;color:#c02432;background:#fff;cursor:pointer}
.v86-danger:hover,.v86-trash:hover{background:#fff2f2}
.v86-trash:disabled{opacity:.5;cursor:wait}
