/* Panel chrome around the paper sheets. */
.cx-editor-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;align-items:flex-end;margin-bottom:1rem}
.cx-editor-bar h1{font-size:1.45rem;font-weight:700;margin:.15rem 0}.cx-editor-bar p{color:#64748b;max-width:46rem;font-size:.9rem}
.cx-editor-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.cx-side select{border:1px solid #cbd5e1;border-radius:.5rem;padding:.35rem .5rem;margin-left:.3rem;background:#fff}
.cx-tabs{display:inline-flex;border:1px solid #cbd5e1;border-radius:.6rem;overflow:hidden}
.cx-tabs button{padding:.45rem .8rem;font-size:.85rem;background:#fff}.cx-tabs button.on{background:#183e7a;color:#fff}
.cx-paper{overflow-x:auto;padding:1rem 0;background:#e9edf2;border-radius:1rem}
.cx-modal{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:60;display:flex;align-items:center;justify-content:center;padding:1rem}
.cx-modal-card{background:#fff;border-radius:1rem;padding:1.4rem;max-width:56rem;width:100%;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.cx-modal-card h2{font-size:1.25rem;font-weight:700;display:flex;justify-content:space-between}
.cx-pads{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0}
.cx-pad{height:11rem;border:2px dashed #94a3b8;border-radius:.6rem;margin:.4rem 0;overflow:hidden}
.cx-confirm{display:flex;gap:.5rem;align-items:center;font-size:.9rem}
.cx-modal-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1rem}
@media (max-width:640px){.cx-pads{grid-template-columns:1fr}}
[x-cloak]{display:none!important}
/* Dossier */
.cx-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem;margin:1rem 0}
.cx-step{border-radius:.8rem;padding:.7rem .8rem;background:#f1f5f9;color:#64748b;font-size:.82rem;position:relative}
.cx-step b{display:block;color:#0f172a;font-size:.9rem}.cx-step.done{background:#e7f3ee}.cx-step.done b::before{content:"✓ ";color:#1d6b55}
.cx-step.now{background:#183e7a;color:#dbe5f5}.cx-step.now b{color:#fff}
.cx-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:1rem}
.cx-card{background:#fff;border-radius:1rem;padding:1.1rem;box-shadow:0 1px 3px rgba(15,23,42,.08);margin-bottom:1rem}
.cx-card h2{font-weight:700;font-size:1.02rem;margin-bottom:.6rem}
.cx-kv{display:grid;grid-template-columns:auto 1fr;gap:.3rem .9rem;font-size:.88rem}.cx-kv dt{color:#64748b}.cx-kv dd{font-weight:600}
.cx-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.5rem}
.cx-photos a{display:block;border-radius:.6rem;overflow:hidden;aspect-ratio:4/3;background:#f1f5f9;position:relative}
.cx-photos img{width:100%;height:100%;object-fit:cover}.cx-photos span{position:absolute;left:.3rem;bottom:.3rem;background:rgba(0,0,0,.6);color:#fff;font-size:.7rem;padding:.05rem .35rem;border-radius:.3rem}
.cx-timeline{list-style:none;margin:0;padding:0;font-size:.85rem}.cx-timeline li{border-left:2px solid #cbd5e1;padding:0 0 .8rem .8rem;position:relative}
.cx-timeline li::before{content:"";position:absolute;left:-6px;top:.25rem;width:10px;height:10px;border-radius:50%;background:#183e7a}
.cx-timeline small{color:#64748b;display:block}
.cx-docs{display:flex;flex-wrap:wrap;gap:.5rem}
.cx-thumb{transform-origin:top left}
@media (max-width:1100px){.cx-grid{grid-template-columns:1fr}.cx-steps{grid-template-columns:repeat(2,1fr)}}
