/* ASSISTANT RÉALISATEUR V7.2.5.144 — BIBLE et couleur des fiches latérales. */
#figuration-screen .ar144-workspace,
#locations-screen .ar144-workspace{display:block;min-width:0;}
#figuration-screen .ar144-workspace.ar144-active,
#locations-screen .ar144-workspace.ar144-active{
 display:grid;grid-template-columns:minmax(0,44%) minmax(0,56%);gap:12px;align-items:start;
}
#figuration-screen .ar144-workspace >.v722-people-panel,
#locations-screen .ar144-workspace >.location-panel{min-width:0;margin:0;}
#figuration-screen .ar144-inspector-panel,
#locations-screen .ar144-inspector-panel{
 box-sizing:border-box;min-width:0;min-height:420px;
 height:var(--ar144-height,calc(100dvh - var(--ar141-nav-bottom,100px) - 95px));
 max-height:calc(100dvh - var(--ar141-nav-bottom,100px) - 18px);
 position:sticky;top:calc(var(--ar141-nav-bottom,100px) + 10px);
 border-radius:11px;overflow:hidden;
}
.ar144-inspector-panel[hidden]{display:none!important;}
/* Dans la liste de gauche, réserver la place au nom, à la fonction et au bouton. */
#figuration-screen .ar144-active .v722-directory-table,
#locations-screen .ar144-active .location-table{
 width:100%!important;min-width:0!important;table-layout:auto!important;
}
#figuration-screen .ar144-active .v722-directory-table th,
#figuration-screen .ar144-active .v722-directory-table td,
#locations-screen .ar144-active .location-table th,
#locations-screen .ar144-active .location-table td{
 padding:8px 5px!important;font-size:11px!important;min-width:0;
}
#figuration-screen .ar144-active .v722-directory-table th:nth-child(n+4):nth-child(-n+6),
#figuration-screen .ar144-active .v722-directory-table td:nth-child(n+4):nth-child(-n+6),
#locations-screen .ar144-active .location-table th:nth-child(n+3):nth-child(-n+5),
#locations-screen .ar144-active .location-table td:nth-child(n+3):nth-child(-n+5){display:none!important;}
#figuration-screen .ar144-active .v722-directory-table td,
#locations-screen .ar144-active .location-table td{overflow-wrap:anywhere;white-space:normal!important;}
#figuration-screen .ar144-active .v722-directory-table th:nth-child(-n+2),
#figuration-screen .ar144-active .v722-directory-table td:nth-child(-n+2){white-space:normal!important;width:auto!important;}
/* Les dialogues existants ont toujours leurs vrais champs, événements et boutons. */
body.ar144-fig-open.ar141-editor-open::before,
body.ar144-location-open.ar141-editor-open::before{display:none!important;}
body.ar144-fig-open #figuration-screen #ar144-fig-panel #fig-person-dialog.ar141-docked[open],
body.ar144-location-open #locations-screen #ar144-location-panel #location-dialog.ar141-docked[open]{
 display:block!important;position:relative!important;inset:auto!important;
 left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
 width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;
 min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;
 transform:none!important;z-index:auto!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;overflow:hidden!important;
}
body.ar144-fig-open #figuration-screen #fig-person-dialog>form,
body.ar144-location-open #locations-screen #location-dialog>form{
 height:100%!important;max-height:none!important;min-height:0!important;
 display:flex!important;flex-direction:column!important;overflow:hidden!important;
}
body.ar144-fig-open #figuration-screen #fig-person-dialog .ar-form-scroll,
body.ar144-location-open #locations-screen #location-dialog .location-dialog-content{
 flex:1 1 auto;min-height:0;overflow-y:auto!important;overflow-x:hidden;
 overscroll-behavior:contain;padding:12px!important;
}
body.ar144-fig-open #figuration-screen #fig-person-dialog .v72-dialog-head,
body.ar144-location-open #locations-screen #location-dialog .location-dialog-head{
 flex:0 0 auto;padding:12px 14px!important;
}
body.ar144-fig-open #figuration-screen #fig-person-dialog .v72-dialog-head h2,
body.ar144-location-open #locations-screen #location-dialog .location-dialog-head h2{font-size:17px;}
body.ar144-fig-open #figuration-screen #fig-person-dialog .v72-actions,
body.ar144-location-open #locations-screen #location-dialog .location-dialog-actions{
 flex:0 0 auto;display:flex;gap:6px;flex-wrap:wrap;align-items:center;
 padding:10px 12px!important;
}
body.ar144-fig-open #figuration-screen #fig-person-dialog .v72-actions button,
body.ar144-location-open #locations-screen #location-dialog .location-dialog-actions button{
 font-size:11px;padding:7px 8px;white-space:normal;
}
body.ar144-location-open #locations-screen #location-dialog .location-panel-grid{
 display:flex!important;flex-direction:column!important;gap:11px;
}
body.ar144-location-open #locations-screen #location-dialog .location-panel-grid > *{width:100%;min-width:0;box-sizing:border-box;}
body.ar144-location-open #locations-screen #location-dialog .location-attach-catalog{
 grid-template-columns:minmax(0,1fr);}
/* Palette sobre : gris ardoise chaud, accents champagne, sans nuire aux statuts. */
#crew-screen #crew-side-panel,
#figuration-screen #ar144-fig-panel,
#locations-screen #ar144-location-panel{
 background:#2c3039!important;
 border:1px solid #9e896e!important;
 box-shadow:inset 3px 0 0 #c3a16c,0 12px 30px #030a13a3!important;
}
body.ar143-crew-open #crew-screen #crew-side-panel #crew-dialog.ar141-docked[open],
body.ar144-fig-open #figuration-screen #fig-person-dialog.ar141-docked[open],
body.ar144-location-open #locations-screen #location-dialog.ar141-docked[open]{background:#2c3039!important;color:#e8edf3!important;}
body.ar143-crew-open #crew-screen #crew-dialog .crew-dialog-head,
body.ar144-fig-open #figuration-screen #fig-person-dialog .v72-dialog-head,
body.ar144-location-open #locations-screen #location-dialog .location-dialog-head{
 background:#373a42!important;border-bottom:1px solid #7e7469!important;
}
body.ar143-crew-open #crew-screen #crew-dialog .crew-dialog-actions,
body.ar144-fig-open #figuration-screen #fig-person-dialog .v72-actions,
body.ar144-location-open #locations-screen #location-dialog .location-dialog-actions{
 background:#35383f!important;border-top:1px solid #7e7469!important;
}
body.ar143-crew-open #crew-screen #crew-dialog .eyebrow,
body.ar144-fig-open #figuration-screen #fig-person-dialog .eyebrow,
body.ar144-location-open #locations-screen #location-dialog .eyebrow{color:#e1c18e!important;}
body.ar143-crew-open #crew-screen #crew-dialog label,
body.ar144-fig-open #figuration-screen #fig-person-dialog label,
body.ar144-location-open #locations-screen #location-dialog label{color:#e1e5eb;}
body.ar144-location-open #locations-screen #location-dialog .location-bible-side{background:#313944;border-color:#6f7781;}
body.ar144-location-open #locations-screen #location-dialog .location-decor-side{background:#343a43;}
body.ar144-location-open #locations-screen #location-dialog .location-section-banner{background:#504b43;color:#f5e8d5;}
body.ar143-crew-open #crew-screen #crew-dialog input:not([type=checkbox]):not([type=radio]),
body.ar144-fig-open #figuration-screen #fig-person-dialog input:not([type=checkbox]):not([type=radio]),
body.ar144-location-open #locations-screen #location-dialog input:not([type=checkbox]):not([type=radio]),
body.ar143-crew-open #crew-screen #crew-dialog textarea,
body.ar144-fig-open #figuration-screen #fig-person-dialog textarea,
body.ar144-location-open #locations-screen #location-dialog textarea{
 border-color:#67717c;background:#253242;color:#f2f5f8;
}
body.ar144-fig-open #figuration-screen #fig-person-dialog .v722-card-subsection{border-color:#7d746a;}
@media(max-width:1080px){
 #figuration-screen .ar144-workspace.ar144-active,
 #locations-screen .ar144-workspace.ar144-active{grid-template-columns:minmax(0,1fr);}
 #figuration-screen .ar144-inspector-panel,
 #locations-screen .ar144-inspector-panel{height:min(75dvh,740px);max-height:none;min-height:410px;position:relative;top:auto;}
}
@media(max-width:640px){
 body.ar144-fig-open #figuration-screen #fig-person-dialog .v72-form-grid,
 body.ar144-location-open #locations-screen #location-dialog .location-fields,
 body.ar144-location-open #locations-screen #location-dialog .location-decor-edit-grid{grid-template-columns:minmax(0,1fr)!important;}
 body.ar144-fig-open #figuration-screen #fig-person-dialog .v72-actions button,
 body.ar144-location-open #locations-screen #location-dialog .location-dialog-actions button{font-size:10px;padding:6px;}
}
@media print{#figuration-screen #ar144-fig-panel,#locations-screen #ar144-location-panel{display:none!important;}}
/* Couleurs des surfaces internes et focus : cohérence des trois inspecteurs. */
body.ar143-crew-open #crew-screen #crew-dialog .ar-form-scroll,
body.ar144-fig-open #figuration-screen #fig-person-dialog .ar-form-scroll,
body.ar144-location-open #locations-screen #location-dialog .location-dialog-content{background:#2c3039!important;}
body.ar143-crew-open #crew-screen #crew-dialog input:focus-visible,
body.ar144-fig-open #figuration-screen #fig-person-dialog input:focus-visible,
body.ar144-location-open #locations-screen #location-dialog input:focus-visible,
body.ar143-crew-open #crew-screen #crew-dialog textarea:focus-visible,
body.ar144-fig-open #figuration-screen #fig-person-dialog textarea:focus-visible,
body.ar144-location-open #locations-screen #location-dialog textarea:focus-visible{outline:2px solid #d4b786;outline-offset:1px;}
