:root{--coral:#d77561;--coral-dark:#bf5f4c;--coral-pale:#f9ede9;--sage:#9aa995;--sage-dark:#728872;--sage-pale:#edf2ea;--ink:#30302f;--ink2:#51524e;--muted:#8d8c87;--bg:#f7f6f2;--surface:#fff;--line:#e8e6e0;--shadow:0 13px 45px rgba(60,45,35,.055);--font:'Avenir Next',Avenir,'Helvetica Neue',Arial,sans-serif}
*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}body{margin:0;font-family:var(--font);color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font-family:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}a{color:inherit}h1,h2,h3,h4,p{margin:0}h1{font-size:clamp(33px,3.15vw,51px);line-height:1.13;letter-spacing:-1.7px;font-weight:600}h2{font-size:27px;line-height:1.2;letter-spacing:-.8px;font-weight:600}h3{font-size:18px;line-height:1.3;letter-spacing:-.2px;font-weight:600}p{line-height:1.65}small{font-size:11px}.app-shell{min-height:100vh;display:grid;grid-template-columns:254px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:31px 17px 23px;z-index:5}.brand{display:flex;gap:12px;align-items:center;margin:0 11px 40px}.brand-monogram{font-size:39px;letter-spacing:-4px;line-height:1;font-weight:750}.brand-monogram span{color:var(--coral)}.brand-small{letter-spacing:2.3px;font-size:9px;font-weight:750;line-height:1.6;color:#454541}.side-label{font-size:9px;letter-spacing:2px;font-weight:750;color:#ada69f;padding:0 15px;margin-bottom:12px}.nav-group-title{padding:26px 14px 8px;text-transform:uppercase;color:#ada69f;font-size:9px;font-weight:800;letter-spacing:1.7px}.nav-item{display:flex;align-items:center;width:100%;text-align:left;border:0;background:transparent;color:#65645f;border-radius:10px;gap:13px;padding:12px 15px;font-size:12.5px;font-weight:650;margin:1px 0;transition:.17s}.nav-item:hover{background:#f7f4f0;color:var(--ink)}.nav-item.active{background:var(--coral-pale);color:#af5545}.nav-item .nav-icon{width:20px;font-size:17px;text-align:center;font-weight:400}.nav-count{margin-left:auto;font-size:10px;color:#a6a09a}.sidebar-bottom{margin-top:auto;padding:20px 14px 0;border-top:1px solid var(--line);display:grid;gap:12px}.sidebar-bottom small{font-size:9px;letter-spacing:1px;color:#b1aaa3}.sidebar-bottom-mark{font-size:9px;letter-spacing:.55px;color:#9b9b92;display:flex;align-items:center;gap:7px}.dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex-shrink:0}.dot.sage{background:#88a88b}.main-shell{min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.86);display:flex;align-items:center;justify-content:space-between;padding:0 39px;gap:16px;position:sticky;top:0;z-index:4;backdrop-filter:blur(14px)}.top-left,.top-actions{display:flex;gap:17px;align-items:center}.top-eyebrow{color:#b3a7a0;font-size:9px;font-weight:800;letter-spacing:1.6px}.top-line{height:15px;width:1px;background:#ddd9d1}.top-left #topContext{color:#65655f;font-weight:650;font-size:12px}.top-actions{gap:10px}.save-badge{display:flex;align-items:center;gap:7px;font-size:10px;color:#a1a29b;padding-right:10px}.btn{border:1px solid transparent;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 16px;line-height:1.2;font-size:12px;font-weight:700;transition:transform .15s,background .15s,box-shadow .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--coral);color:#fff;box-shadow:0 7px 18px rgba(215,117,97,.17)}.btn-primary:hover{background:var(--coral-dark)}.btn-quiet{background:#fff;border-color:#e9e5df;color:#55504d}.btn-sage{background:var(--sage-pale);color:#59765d}.btn-outline-coral{background:#fff;border-color:#edc7bc;color:#b8604f}.btn-light{background:#fff;color:var(--ink)}.btn-danger{border-color:#efd3ce;background:#fff4f1;color:#a74d42}.btn-small{font-size:11px;padding:9px 12px;border-radius:8px}.icon-button{background:transparent;border:0;color:inherit;padding:6px;cursor:pointer}.hamburger{display:none}.view{padding:38px 43px 85px;max-width:1760px;margin:auto;min-height:calc(100vh - 78px)}.eyebrow{color:var(--coral);font-size:10px;font-weight:800;letter-spacing:2px;text-transform:uppercase}.muted{color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:24px}.section-heading h1{margin-top:7px}.section-heading .desc{color:#898883;margin-top:10px;max-width:690px}.hero{min-height:400px;border-radius:17px;overflow:hidden;background:#e9ddd2;position:relative;box-shadow:var(--shadow);display:grid;grid-template-columns:45% 55%;margin-bottom:33px}.hero-copy{padding:47px 42px;background:linear-gradient(111deg,#f7eee5,#f6e8de);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:17px;position:relative;z-index:1}.hero-copy .eyebrow{letter-spacing:2.5px}.hero-copy h1{font-size:clamp(36px,3.3vw,53px)}.hero-copy p{max-width:430px;color:#77716e}.hero-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}.hero-images{height:100%;position:relative;display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px;padding:7px;min-height:400px;background:#f1e9e3}.hero-images img{width:100%;height:100%;object-fit:cover;display:block}.hero-images img:nth-child(2){transform:translateY(-15px);height:calc(100% + 30px)}.hero-tag{position:absolute;bottom:22px;right:19px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-radius:5px;padding:10px 14px;letter-spacing:1.4px;color:#746861;font-weight:750;font-size:10px}.cards3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.feature-card,.surface{background:var(--surface);border:1px solid #ece9e3;border-radius:13px;box-shadow:var(--shadow)}.feature-card{padding:24px 23px;min-height:160px}.feature-number{font-size:12px;letter-spacing:1.2px;font-weight:750;color:var(--coral);margin-bottom:18px}.feature-card h3{margin-bottom:7px}.feature-card p{color:#8b8983;font-size:12px;line-height:1.75}.section-block{margin:37px 0 24px;display:flex;align-items:baseline;justify-content:space-between;gap:15px}.section-block small{color:var(--muted)}.projects-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:19px}.project-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;cursor:pointer;transition:.2s;box-shadow:var(--shadow)}.project-card:hover{transform:translateY(-3px);box-shadow:0 15px 38px rgba(60,45,35,.12)}.project-photo{height:175px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;overflow:hidden;background:var(--coral-pale)}.project-photo img{width:100%;height:175px;object-fit:cover}.project-info{padding:19px 20px 22px;display:grid;gap:8px}.project-info small{color:var(--muted)}.project-info h3{font-size:18px}.project-meta{display:flex;justify-content:space-between;align-items:center}.tag{display:inline-flex;padding:5px 9px;border-radius:5px;background:#f1f4ee;color:#6a8a70;letter-spacing:.4px;font-size:10px;font-weight:800}.tag.coral{background:#f9eee9;color:#c27762}.tag.gray{background:#f2f1ee;color:#99918a}.blank-project{display:flex;align-items:center;justify-content:center;flex-direction:column;background:#faf8f5;border:2px dashed #dbd7ce;border-radius:13px;min-height:259px;cursor:pointer;text-align:center;color:var(--coral)}.blank-project .plus{font-size:42px;font-weight:200;line-height:1;margin-bottom:9px}.blank-project span{color:#726e69;font-size:13px}.workspace-title{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:22px}.workspace-title h1{font-size:34px;margin:8px 0}.workspace-title .desc{max-width:690px;color:#8c8a83}.work-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.72fr);gap:22px;align-items:start}.editor,.reference-pane{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);overflow:hidden}.panel-top{display:flex;align-items:center;justify-content:space-between;padding:20px 23px;border-bottom:1px solid var(--line);gap:15px}.panel-top .kicker{color:var(--coral);font-size:10px;font-weight:800;letter-spacing:1.2px}.panel-top h3{font-size:16px;margin-top:3px}.panel-body{padding:23px}.reference-pane{position:sticky;top:100px}.reference-pane .panel-top{background:#edf1e9}.ref-note{padding:18px 23px;color:#85877e;font-size:12px;line-height:1.65}.field{display:flex;flex-direction:column;gap:8px;margin:0 0 19px}.field label,.labelish{font-size:11px;font-weight:750;color:#6e6b66;letter-spacing:.2px}.field input,.field textarea,.field select,.inline-input{border:1px solid #e7e3dc;border-radius:8px;background:#fff;color:var(--ink);outline:none;padding:12px 13px;font-size:13px;line-height:1.55;width:100%;transition:.16s}.field textarea{min-height:96px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus,.inline-input:focus{border-color:#e9ab9d;box-shadow:0 0 0 3px rgba(215,117,97,.095)}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field-hint{font-size:11px;color:#aaa39c}.field-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.separator{height:1px;background:var(--line);margin:22px 0}.image-drop{padding:22px;border:1.5px dashed #d5d7cc;border-radius:10px;background:#f8faf6;text-align:center;cursor:pointer;transition:.18s;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}.image-drop:hover,.image-drop.dragging{background:#f0f4ed;border-color:#97b294}.drop-icon{font-size:26px;color:var(--sage-dark)}.image-drop strong{font-size:12px;color:#5f7561}.image-drop small{color:#9fa59a;font-size:11px}.image-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(116px,1fr));gap:12px;margin-top:17px}.image-tile{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#fff;position:relative}.image-tile img{height:148px;width:100%;object-fit:cover;display:block;background:#edeae6}.image-tile button.remove-image{position:absolute;right:5px;top:5px;width:24px;height:24px;border-radius:50%;border:0;background:#fff;color:#ba5a4d;box-shadow:0 2px 7px #0002;font-size:17px}.image-tile .image-caption{font-size:10px;color:#87827c;padding:8px 8px;line-height:1.4;min-height:38px;cursor:pointer}.reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 18px 20px}.reference-photo{margin:0;position:relative;overflow:hidden;border-radius:7px;background:#e7ebe5}.reference-photo img{height:150px;width:100%;object-fit:cover;display:block}.reference-photo figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#151515ac);font-size:10px;color:#fff;padding:19px 8px 8px}.info-box{padding:16px;background:#f5f7f3;border-left:3px solid var(--sage);border-radius:6px;font-size:12px;line-height:1.7;color:#657466;margin:0 0 20px}.tip{color:#86847e;font-size:11px;line-height:1.7;margin-top:10px}.mood-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.mood-card{padding:0;border:1px solid #e9e6de;overflow:hidden;border-radius:9px;background:#fff;cursor:pointer;position:relative;text-align:left;transition:.15s}.mood-card:hover{transform:translateY(-1px);box-shadow:0 8px 20px #0001}.mood-card.selected{border:2px solid var(--coral)}.mood-card img{height:135px;width:100%;object-fit:cover;display:block;background:#e8e9e5}.mood-card .mood-text{padding:12px;display:grid;gap:5px}.mood-card strong{font-size:12px}.mood-card small{color:#98948d;line-height:1.5}.mood-check{position:absolute;right:7px;top:7px;width:21px;height:21px;background:var(--coral);color:#fff;border-radius:50%;font-size:12px;display:grid;place-items:center}.mood-chip-wrap{display:flex;flex-wrap:wrap;gap:7px}.mood-chip{border:1px solid #d7ddd5;border-radius:20px;padding:7px 12px;background:#fff;color:#6d866e;font-size:11px;font-weight:700;cursor:pointer}.mood-chip.active{background:var(--sage-dark);color:#fff;border-color:var(--sage-dark)}.mood-chip:hover{border-color:var(--sage-dark)}.step-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.step-tab{padding:9px 13px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:11px;color:#8b8985;cursor:pointer;font-weight:700}.step-tab.active{background:var(--coral-pale);color:var(--coral-dark);border-color:#edd0c7}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.library-card{padding:22px;border:1px solid var(--line);background:white;border-radius:12px;display:flex;flex-direction:column;gap:11px;box-shadow:var(--shadow)}.library-card h3{font-size:17px}.library-card p{font-size:12px;color:#8b877f}.library-card button{align-self:flex-start}.library-list{margin-top:13px}.library-row{border-top:1px solid var(--line);padding:14px 0;display:flex;justify-content:space-between;gap:14px;align-items:center}.library-row:first-child{border-top:0}.library-row strong{display:block;font-size:12px;margin-bottom:5px}.library-row small{color:var(--muted)}.library-actions{display:flex;gap:6px;flex-shrink:0}.image-preview{display:flex;align-items:center;gap:13px}.image-preview img{width:66px;height:64px;object-fit:cover;border-radius:6px}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:22px}.gallery-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff;box-shadow:var(--shadow);cursor:pointer}.gallery-cover{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;height:180px}.gallery-cover img{object-fit:cover;width:100%;height:180px}.gallery-body{padding:22px}.gallery-body p{font-size:12px;color:#85837d;margin-top:6px}.gallery-body small{color:#aaa7a1}.results-pair{border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-bottom:16px}.results-images{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#fff}.results-images>div{background:#f4f2ee;min-height:150px;position:relative}.results-images img{width:100%;height:225px;object-fit:cover;display:block}.results-images span{position:absolute;bottom:8px;left:8px;padding:5px 8px;border-radius:4px;font-weight:800;font-size:9px;letter-spacing:.7px;background:#fffd}.results-caption{padding:14px 16px;font-size:11px;color:#77716d;display:flex;justify-content:space-between;gap:14px}.planning-table{width:100%;border-collapse:collapse}.planning-table th{text-align:left;background:#f8f6f3;font-size:10px;color:#8e857f;letter-spacing:1px;padding:12px}.planning-table td{border-top:1px solid var(--line);padding:6px}.planning-table input{border:1px solid #ece9e1;border-radius:6px;width:100%;padding:10px;font-size:11px}.stat-banner{background:var(--sage-pale);padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-radius:10px;border:1px solid #e1e9de;margin-bottom:22px;color:#67806d;font-size:12px;line-height:1.6}.switch-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.switch{appearance:none;display:inline-block;flex-shrink:0;width:44px;height:24px;border-radius:30px;border:0;background:#d6d4d0;cursor:pointer;position:relative;transition:.2s}.switch:before{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 3px #0002}.switch:checked{background:var(--coral)}.switch:checked:before{left:23px}.notice{font-size:11px;color:#9b9085;line-height:1.7}.modal-root:empty{display:none}.modal-root{position:fixed;z-index:15;inset:0;background:rgba(33,31,27,.55);display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(6px)}.modal{max-height:min(88vh,920px);overflow:auto;background:#fff;border-radius:15px;box-shadow:0 25px 90px #0003;width:min(680px,100%)}.modal.medium{width:min(550px,100%)}.modal-head{padding:24px 27px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;align-items:center}.modal-head h2{font-size:22px}.modal-body{padding:25px 27px}.modal-foot{padding:16px 27px 24px;display:flex;justify-content:flex-end;gap:10px}.template-option{border:1px solid var(--line);border-radius:9px;text-align:left;padding:16px;display:grid;gap:5px;cursor:pointer;margin-bottom:9px;transition:.15s}.template-option:hover{border-color:#dd9b8b;background:var(--coral-pale)}.template-option strong{font-size:14px}.template-option span{font-size:11px;color:var(--muted)}.ToastHost{position:fixed;right:25px;bottom:22px;background:#333833;color:white;border-radius:9px;padding:14px 19px;font-size:12px;z-index:25;box-shadow:0 10px 32px #0003}.empty-state{text-align:center;background:#fff;border:1px dashed #d7d4ce;border-radius:10px;padding:45px 30px;color:#99918a}.empty-state h3{color:#55514b;margin:6px 0}.pill-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.label-badge{font-size:9px;color:#bb7a69;letter-spacing:1px;text-transform:uppercase;font-weight:800}.wide-action{display:flex;justify-content:space-between;align-items:center;gap:14px}.app-footer{font-size:10px;color:#b3ada4;margin-top:40px;letter-spacing:.2px}.hidden{display:none!important}#printRoot{display:none}
@media(max-width:1250px){.app-shell{grid-template-columns:216px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.view{padding:32px 28px 75px}.topbar{padding:0 25px}.top-eyebrow,.top-line{display:none}.work-layout{grid-template-columns:minmax(0,1fr) 300px}.mood-library{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy{padding:34px}}
@media(max-width:980px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:250px;transform:translateX(-110%);box-shadow:0 0 20px #0002;transition:.2s}.sidebar.open{transform:translateX(0)}.hamburger{display:block}.work-layout{grid-template-columns:minmax(0,1fr)}.reference-pane{position:static}.reference-grid{grid-template-columns:repeat(4,1fr)}.hero{grid-template-columns:1fr 1fr}.topbar{padding:0 21px}.save-badge{display:none}}
@media(max-width:670px){.view{padding:25px 16px 70px}.topbar{height:66px;padding:0 12px}.top-actions{gap:4px}.top-actions .btn-quiet{display:none}.btn{padding:10px 11px;font-size:11px}.hero{grid-template-columns:1fr}.hero-images{min-height:220px;max-height:220px}.hero-copy{padding:34px 26px}.hero-copy h1{font-size:36px}.cards3,.admin-grid{grid-template-columns:1fr}.feature-card{min-height:unset}.reference-grid{grid-template-columns:repeat(2,1fr)}.field-grid{grid-template-columns:1fr}.mood-library{grid-template-columns:repeat(2,1fr)}.workspace-title h1{font-size:28px}.section-heading h1{font-size:33px}.results-images img{height:155px}}
@media print{ @page{size:A4 portrait;margin:13mm}body{background:#fff;color:#222}#app,.modal-root,.ToastHost{display:none!important}#printRoot{display:block!important;width:100%;font-family:'Avenir Next',Avenir,Helvetica,Arial,sans-serif;font-size:10pt}.pdf-cover{break-after:page;min-height:242mm;display:flex;flex-direction:column;justify-content:space-between}.pdf-cover .pdf-title{font-size:35pt;font-weight:600;line-height:1.05;margin:16mm 0 7mm}.pdf-cover .pdf-sub{color:#b86d5a;text-transform:uppercase;letter-spacing:2pt;font-size:10pt}.pdf-cover .pdf-collage{display:grid;grid-template-columns:repeat(3,1fr);height:130mm;gap:3mm;overflow:hidden}.pdf-cover img{width:100%;height:130mm;object-fit:cover}.pdf-section{break-before:page;page-break-before:always}.pdf-section h2{font-size:23pt;border-bottom:2px solid #d77561;padding-bottom:5mm;margin:0 0 6mm}.pdf-section .pdf-intro{font-size:10pt;color:#777;margin-bottom:8mm}.pdf-section p{white-space:pre-wrap;font-size:10pt}.pdf-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4mm;margin-top:6mm}.pdf-image{break-inside:avoid;page-break-inside:avoid}.pdf-image img{width:100%;height:62mm;object-fit:cover}.pdf-image figcaption{font-size:8pt;color:#666;margin-top:2mm}.pdf-label{font-size:8pt;font-weight:bold;text-transform:uppercase;color:#cf755d;letter-spacing:1pt;margin:4mm 0 2mm}.pdf-table{border-collapse:collapse;width:100%;margin-top:6mm}.pdf-table td,.pdf-table th{padding:3mm;border:1px solid #ddd;text-align:left}.pdf-moods{margin-top:6mm}.pdf-moods span{display:inline-block;padding:2mm 4mm;margin-right:2mm;border:1px solid #b2c3ad;border-radius:14px}.pdf-footer{color:#999;font-size:7pt;border-top:1px solid #ddd;padding-top:4mm;margin-top:15mm}}

/* LMA · Générateur d'annonces de casting */
.casting-select{width:100%;border:1px solid var(--line);border-radius:9px;padding:13px 15px;background:#fff;color:var(--ink);font-family:'Avenir Next',Avenir,Helvetica,Arial,sans-serif;font-size:13px;min-height:48px}.casting-textarea{min-height:345px;line-height:1.8;letter-spacing:.08px;background:#fffdfb}.cast-variables{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.cast-variables code{font-family:ui-monospace,monospace;font-size:12px;padding:7px 9px;color:#976251;background:#faeee9;border-radius:5px}

/* LMA 1.0.2 — Atelier visuel / typographie lisible */
body{font-size:16px;line-height:1.5}
.btn{font-size:14px;min-height:40px}
.btn-small{font-size:13px;min-height:34px}
.nav-item{font-size:14px;min-height:42px}
.nav-group-title,.side-label{font-size:12px}
.topbar,.top-actions,.top-left{font-size:14px}
.field label,.labelish{font-size:14px;line-height:1.4}
.field input,.field textarea,.field select,.inline-input,.casting-select{font-size:16px;line-height:1.6}
.eyebrow,.kicker{font-size:12px;letter-spacing:1.35px}
.desc,.notice,.ref-note,.tip,.gallery-body p,.feature-card p{font-size:14px;line-height:1.7}
.tag,.label-badge{font-size:12px}
.panel-top h3,.panel-body h3{font-size:19px}
.workspace-title h1,.section-heading h1{font-size:40px}
.app-footer{font-size:12px}
.mood-chip,.mood-card strong,.step-tab,.image-caption{font-size:14px}
.library-row strong{font-size:15px}
.library-row small{font-size:13px}
.save-badge{font-size:13px}
.project-overview{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(290px,.72fr);gap:0;background:#fff;border-radius:16px;box-shadow:var(--shadow);overflow:hidden;border:1px solid var(--line);min-height:455px}
.project-collage{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:5px;background:#e6ded8;position:relative;min-height:420px}
.project-collage-item{margin:0;min-width:0;min-height:0;overflow:hidden}
.project-collage-item.featured{grid-column:span 2;grid-row:span 2}
.project-collage-item img{width:100%;height:100%;object-fit:cover;display:block}
.project-collage-label{position:absolute;bottom:16px;left:17px;background:#fff;box-shadow:0 7px 25px #0002;color:#af5948;padding:11px 15px;font-size:13px;font-weight:800;border-radius:6px;max-width:calc(100% - 34px)}
.project-overview-sidebar{padding:30px;display:flex;flex-direction:column;gap:13px}
.project-overview-sidebar h2{font-size:29px;line-height:1.12;margin:4px 0}
.project-overview-sidebar p{font-size:15px;color:#77736e;line-height:1.65}
.project-stats{display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:16px}
.project-stats span{font-size:13px;color:#79756f}.project-stats strong{display:block;font-size:24px;color:var(--coral)}
.project-links{display:grid;gap:7px;margin-top:auto}.project-links button{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);background:#fff;padding:12px 14px;border-radius:8px;color:#4d4b47;font-size:15px;font-weight:650;text-align:left}.project-links button:hover{background:var(--coral-pale);border-color:#e5c3b8}
.visual-promo{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.8fr) auto;align-items:center;gap:23px;margin:25px 0;border-radius:14px;padding:22px;background:var(--sage-pale);border:1px solid #dfe7db;cursor:pointer}
.visual-promo h2{font-size:24px;margin:6px 0}.visual-promo p{font-size:14px;color:#6e7f6a;margin-bottom:12px}.visual-promo-cover{height:145px;display:flex;gap:5px;overflow:hidden;border-radius:8px}.visual-promo-cover img{height:100%;min-width:0;flex:1;width:33%;object-fit:cover}
.project-settings{background:#fff;border:1px solid var(--line);border-radius:13px;margin-top:24px;padding:26px;display:grid;gap:17px;box-shadow:var(--shadow)}.project-settings h2{font-size:23px}.project-settings .field{margin-bottom:9px}
.day-strip{display:flex;gap:8px;align-items:center;overflow-x:auto;padding-bottom:12px;margin-bottom:12px}
.day-chip{border-radius:9px;background:#fff;border:1px solid var(--line);padding:12px 20px;min-width:130px;display:grid;text-align:left;gap:2px;color:#64615b;font-size:16px;font-weight:800}.day-chip small{font-size:12px;color:#a39e97;font-weight:500}.day-chip.active{background:var(--coral);color:#fff;border-color:var(--coral)}.day-chip.active small{color:#ffeded}
.set-strip{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:25px}
.set-tab{border:1px solid #e5e2db;box-shadow:0 2px 12px #00000005;background:#fff;border-radius:10px;padding:11px 15px;display:flex;gap:12px;align-items:center;min-width:190px;max-width:320px;text-align:left;color:var(--ink)}.set-tab.active{border-color:var(--coral);background:var(--coral-pale)}.set-tab-number{color:var(--coral);font-size:19px;font-weight:800}.set-tab strong{display:block;font-size:14px}.set-tab small{display:block;font-size:12px;color:#8b837d;line-height:1.3}.set-tab-count{font-size:11px;color:#a29a92;margin-left:auto;white-space:nowrap}
.set-heading{margin:0 0 17px}.set-heading h2{font-size:29px;margin:4px 0 0}.set-heading p{font-size:15px;color:#837c75}
.set-editor-layout{display:grid;grid-template-columns:minmax(310px,.39fr) minmax(0,.61fr);gap:18px;align-items:start}.set-controls,.set-visual{border:1px solid var(--line);background:#fff;border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
.set-controls-head{padding:21px 22px 16px;display:flex;justify-content:space-between;align-items:center;gap:7px;border-bottom:1px solid var(--line)}.set-controls-head h3{font-size:21px}
.set-fields{padding:20px 22px 8px}.set-fields .field{margin-bottom:15px}.set-fields .field textarea{min-height:72px}.set-fields .field-grid{gap:10px}
.set-mood-section{border-top:1px solid var(--line);padding:21px 22px}.set-mood-section h3,.mood-reference-strip h3{font-size:20px;margin:5px 0}.set-mood-section p{font-size:14px;color:#827b75;line-height:1.6;margin:10px 0 14px}
.set-mood-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.set-mood-tile{border:2px solid #ebe7df;background:#fff;border-radius:9px;overflow:hidden;display:flex;flex-direction:column;position:relative;padding:0;text-align:left;min-width:0}.set-mood-tile.active{border-color:var(--coral);background:var(--coral-pale)}.set-mood-tile>img,.set-mood-tile .no-mood-img{height:115px;width:100%;object-fit:cover;background:#eef0e9}.set-mood-tile>span:nth-last-child(2){font-size:13px;font-weight:700;color:#52504a;padding:10px 9px}.set-mood-tick{position:absolute;right:5px;top:5px;background:var(--coral);color:white;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;font-size:16px;font-weight:800}
.set-visual-lead{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:25px 25px 20px}.set-visual-lead h3{font-size:27px;margin:7px 0 5px}.set-visual-lead p{font-size:15px;color:#8c8880}
.visual-board{margin:0 19px 20px;background:#faf8f5;border:2px dashed #e2c2b8;border-radius:13px;min-height:370px;overflow:hidden}.visual-board.dragging{background:#fbeeea;border-color:var(--coral)}.visual-board-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px}.visual-board-header h3{font-size:20px;margin-top:5px}.board-actions{display:flex;gap:8px;flex-wrap:wrap}
.visual-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 15px 15px}.sortable-photo{margin:0;background:#fff;min-width:0;border-radius:8px;overflow:hidden;cursor:grab;box-shadow:0 2px 8px #00000010;border:1px solid #e3e0d9}.sortable-photo.dragging{opacity:.5;outline:3px dashed var(--coral)}.sortable-photo img{display:block;width:100%;height:220px;object-fit:cover}.sortable-photo figcaption{display:flex;justify-content:space-between;gap:5px;padding:10px 10px 8px;color:#65605b;font-size:13px;line-height:1.4;min-height:49px}.sortable-photo figcaption span{cursor:text;min-width:0;flex:1}.sortable-photo .tile-delete{flex-shrink:0;border:0;background:#f5eae6;color:#ad5947;width:26px;height:26px;border-radius:5px;font-size:18px}
.visual-photo-grid .sortable-photo:first-child{grid-column:span 2;grid-row:span 2}.visual-photo-grid .sortable-photo:first-child img{height:490px}.board-bottom-note{border-top:1px solid #ede2dc;background:#fffdfc;padding:13px 17px;color:#877d75;font-size:13px}
.board-placeholder{text-align:center;padding:65px 18px 75px;display:flex;flex-direction:column;align-items:center;gap:13px}.board-placeholder h3{font-size:22px}.board-placeholder p{font-size:15px;color:#8d8278}.big-plus{width:80px;height:80px;border-radius:50%;background:var(--coral-pale);color:var(--coral);font-size:44px;display:grid;place-items:center}
.mood-reference-strip{padding:22px 23px;border-top:1px solid var(--line)}.mood-reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.mood-reference-grid article{border:1px solid #e6e5df;border-radius:9px;overflow:hidden}.mood-reference-grid img{width:100%;height:185px;object-fit:cover;display:block}.mood-reference-grid article>div{padding:12px}.mood-reference-grid strong{font-size:16px}.mood-reference-grid p{font-size:13px;line-height:1.5;color:#777;margin-top:5px}
.inspiration-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}.inspiration-pages{padding:20px 12px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.inspiration-pages>.eyebrow,.inspiration-pages>.notice{margin:0 11px 10px;display:block}
.inspiration-page-item{display:flex;align-items:center;gap:10px;width:100%;border:1px solid transparent;border-radius:8px;padding:12px 9px;background:#fff;color:#5b5854;text-align:left}.inspiration-page-item.active{background:var(--coral-pale);border-color:#efd4ca}.inspiration-page-item strong{font-size:14px;display:block}.inspiration-page-item small{font-size:12px;color:#9b9189;display:block}.page-number{font-size:18px;color:var(--coral);font-weight:800}.drag-handle{margin-left:auto;font-size:20px;color:#aa9f94}.inspiration-page-item.dragging{opacity:.5}
.inspiration-content{background:#fff;border-radius:13px;border:1px solid var(--line);box-shadow:var(--shadow);padding:22px}.inspiration-content-top{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;margin-bottom:15px}.inspiration-content .visual-board{margin:18px 0 0}.image-tiles .sortable-photo img{height:165px}.image-tiles .sortable-photo{cursor:grab}.image-tiles .sortable-photo figcaption{font-size:13px}
.pdf-set{break-inside:avoid;page-break-inside:avoid;border-top:1px solid #ddd;padding:5mm 0;margin:4mm 0}.pdf-set h3{font-size:16pt;color:#ba654e}.pdf-set .pdf-image{margin:0}
@media(max-width:1450px){.set-editor-layout{grid-template-columns:minmax(305px,.43fr) minmax(0,.57fr)}.visual-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.visual-photo-grid .sortable-photo:first-child{grid-column:span 2;grid-row:auto}.visual-photo-grid .sortable-photo:first-child img{height:350px}}
@media(max-width:1100px){.set-editor-layout{grid-template-columns:1fr}.set-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.set-fields .field-grid{grid-column:span 2}.set-mood-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.visual-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.visual-photo-grid .sortable-photo:first-child{grid-column:span 2;grid-row:span 2}.visual-photo-grid .sortable-photo:first-child img{height:490px}.project-overview{grid-template-columns:1fr}.project-collage{height:380px}.visual-promo{grid-template-columns:1fr auto}.visual-promo-cover{display:none}}
@media(max-width:720px){.view{padding:24px 17px 80px}.workspace-title h1,.section-heading h1{font-size:32px}.set-fields{grid-template-columns:1fr}.set-fields .field-grid{grid-column:span 1}.set-mood-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.set-visual-lead{padding:21px 17px}.visual-board{margin:0 10px 15px}.visual-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.visual-photo-grid .sortable-photo:first-child{grid-column:span 2;grid-row:auto}.visual-photo-grid .sortable-photo:first-child img{height:320px}.sortable-photo img{height:175px}.mood-reference-grid{grid-template-columns:1fr 1fr}.inspiration-layout{grid-template-columns:1fr}.inspiration-pages{display:flex;overflow-x:auto;gap:7px;padding:12px}.inspiration-pages>.eyebrow,.inspiration-pages>.notice{display:none}.inspiration-page-item{min-width:175px}.inspiration-content-top{grid-template-columns:1fr}.project-collage{height:290px}.project-overview-sidebar{padding:22px}.project-settings{padding:20px}}

/* LMA 1.0.3 — guide contextuel escamotable : toute la largeur est consacrée au moodboard */
.work-layout.guide-free{display:block}
.work-layout.guide-free>.editor{width:100%}
.btn-guide{background:var(--sage-pale);color:#496b54;border:1px solid #cbd9ca;font-size:15px;padding:12px 17px;white-space:nowrap}
.btn-guide:hover{background:#dfe9dc;border-color:#a9bea7}
.modal.guide-modal{width:min(1100px,96vw);max-height:91vh;display:flex;flex-direction:column}
.guide-modal .modal-head{background:#f0f4ed;flex:0 0 auto}
.guide-modal .modal-head h2{font-size:25px}
.guide-modal .modal-body{overflow-y:auto;min-height:0;padding:25px 30px}
.guide-modal .modal-foot{flex:0 0 auto;border-top:1px solid var(--line);background:#fff}
.guide-intro{max-width:950px;padding-bottom:20px}
.guide-intro p{font-size:17px;line-height:1.65;color:#4e504c;margin-top:13px}
.guide-intro .guide-context{color:#59735d}
.guide-intro .guide-caption{font-size:14px;color:#88877f}
.guide-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.guide-photo{margin:0;border-radius:10px;overflow:hidden;position:relative;background:#e7e7e1}
.guide-photo img{display:block;width:100%;height:235px;object-fit:cover}
.guide-photo figcaption{padding:9px 10px;font-size:12px;letter-spacing:.25px;color:#68736a;background:#f3f5f0;font-weight:700}
.guide-selected{border-top:1px solid #e5e8e2;margin:0 0 21px;padding-top:20px}
.guide-selected h3{margin-bottom:14px;font-size:21px}
.guide-mood-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.guide-mood-list article{display:flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}
.guide-mood-list img{width:125px;height:138px;object-fit:cover;flex-shrink:0}
.guide-mood-list article>div{padding:13px}
.guide-mood-list p{font-size:14px;margin-top:6px;line-height:1.5;color:#686963}
@media(max-width:900px){.guide-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.guide-photo img{height:180px}}
@media(max-width:600px){.guide-modal .modal-body{padding:18px}.guide-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-photo img{height:158px}.guide-mood-list{grid-template-columns:1fr}.guide-intro p{font-size:15px}}

/* 1.0.4 — Identité : aucune création de logo ni monogramme. */
.brand-text-only .brand-small{font-size:16px;line-height:1.4;letter-spacing:1.3px;color:#6b594f;font-weight:800}

/* 1.0.4 — Photographies : proportions natives, jamais de recadrage automatique.
   Les tirages verticaux, horizontaux, carrés et panoramiques conservent leurs dimensions relatives. */
.visual-photo-grid{display:block;columns:2;column-gap:12px;padding:0 16px 16px}
.visual-photo-grid .sortable-photo,.visual-photo-grid .sortable-photo:first-child{display:inline-block;width:100%;margin:0 0 12px;break-inside:avoid;page-break-inside:avoid;grid-column:auto;grid-row:auto;vertical-align:top}
.visual-photo-grid .sortable-photo img,.visual-photo-grid .sortable-photo:first-child img,
.image-tiles .sortable-photo img,.image-tile img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
.image-tiles{align-items:start}
.mood-reference-grid img,.guide-photo img,.guide-mood-list img,.reference-photo img,
.mood-card img,.set-mood-tile>img,.image-preview img,
.results-images img,.gallery-cover img,.gallery-card img{height:auto;max-height:none;object-fit:contain;aspect-ratio:auto}
.guide-photo-grid{align-items:start}
.guide-photo-grid .guide-photo{break-inside:avoid}
.guide-photo-grid .guide-photo img{width:100%;height:auto}
.guide-mood-list img{width:125px;height:auto;align-self:start}
.project-collage-item img,.project-photo img,.visual-promo-cover img,.hero-images img,
.pdf-cover img,.pdf-image img{object-fit:contain}
.pdf-image img{width:100%;height:auto;max-height:245mm}
.pdf-cover img{height:130mm;width:100%;object-fit:contain}
@media(max-width:720px){.visual-photo-grid{columns:2}.visual-photo-grid .sortable-photo:first-child,.visual-photo-grid .sortable-photo{width:100%}}
@media(max-width:440px){.visual-photo-grid{columns:1}}

.app-copyright{padding:22px 42px 30px;border-top:1px solid #e8e2db;text-align:center;color:#867d77;font-size:13px;letter-spacing:.15px}

/* LMA 1.0.4 — Lisibilité sur grand écran, Avenir Next, photos intégrales. */
body{font-size:17px}
small,.sidebar-bottom small,.sidebar-bottom-mark,.side-label,.nav-group-title{font-size:13px}
.nav-item{font-size:16px;line-height:1.35;padding:13px 13px}
.nav-group-title{font-size:12px}
.top-eyebrow,.top-left #topContext,.save-badge{font-size:14px}
.btn{font-size:15px;padding:12px 17px}
.btn-small{font-size:14px;padding:10px 13px}
.eyebrow,.field label,.labelish,.panel-top .kicker,.tag,.hero-tag{font-size:13px}
.field input,.field textarea,.field select,.inline-input{font-size:16px}
.desc,.notice,.ref-note,.tip,.gallery-body p,.feature-card p{font-size:16px}
.project-overview-sidebar p,.set-mood-section p{font-size:16px}
.sortable-photo figcaption,.image-tiles .sortable-photo figcaption{font-size:15px;min-height:54px}
.sortable-photo .tile-delete{min-width:34px;width:34px;height:34px;font-size:22px}
.set-mood-tile>span:nth-last-child(2){font-size:15px}
.set-tab strong,.inspiration-page-item strong{font-size:16px}
.set-tab small,.inspiration-page-item small{font-size:14px}
.visual-photo-grid img,.visual-photo-grid .sortable-photo:first-child img,.image-tiles img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important}
.set-mood-tile>img,.mood-card img,.mood-reference-grid img,.guide-photo img,.guide-mood-list img,.reference-photo img,.project-photo img,.project-collage-item img,.visual-promo-cover img,.hero-images img,.gallery-card img,.gallery-cover img{object-fit:contain!important;aspect-ratio:auto!important}
.set-mood-tile>img,.mood-card img,.mood-reference-grid img,.guide-photo img,.guide-mood-list img,.reference-photo img{height:auto!important}
/* Print: the actual image ratio is used, with no cropped contact-sheet tile. */
@media print{
.pdf-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5mm;align-items:start}
.pdf-image{break-inside:avoid;page-break-inside:avoid;margin:0!important}
.pdf-image img,.pdf-cover img{width:100%;height:auto!important;max-height:220mm;object-fit:contain!important;aspect-ratio:auto}
.pdf-cover .pdf-collage{height:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.pdf-cover{min-height:0}
}

/* 1.0.6 — Atelier de qualification des moods ; ratios originaux */
.mood-workbench{padding:23px;border:1px solid #e5c9be;border-radius:14px;background:#fffbf9;margin:0 0 28px;box-shadow:0 4px 16px #00000008}
.mood-work-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap;margin-bottom:19px}
.mood-work-head h3{font-size:22px;margin:7px 0 8px;color:#554d49}.mood-work-head p{font-size:15px;line-height:1.55;color:#776f69;max-width:620px}
.mood-batch-drop{border:2px dashed #d77561;border-radius:12px;min-height:155px;display:flex;align-items:center;justify-content:center;gap:15px;padding:22px;background:#fff;cursor:pointer;transition:background .15s}
.mood-batch-drop:hover,.mood-batch-drop.dragging{background:#fff0eb;border-color:#b85542}
.mood-batch-drop:focus-visible{outline:3px solid #79947b;outline-offset:3px}
.mood-batch-symbol{color:#d77561;font-size:40px;line-height:1}
.mood-batch-drop strong{display:block;font-size:19px;color:#5e4a42;margin-bottom:6px}.mood-batch-drop small{display:block;font-size:14px;line-height:1.5;color:#766e69}
.mood-drafts-summary{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:22px 0 12px;font-size:15px}.mood-drafts-summary span{font-size:13px;color:#7e756f}
.mood-drafts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:16px}
.mood-draft-card{border:1px solid #e4dfda;border-radius:12px;background:#fff;overflow:hidden;display:flex;flex-direction:column}
.mood-draft-photo{background:#f5f3ef;position:relative;padding:10px;min-height:140px;display:flex;align-items:center;justify-content:center}
.mood-draft-photo img{max-width:100%;width:auto;height:auto;max-height:255px;display:block;object-fit:contain}
.mood-draft-blank{font-size:14px;color:#a7a19b;padding:30px;text-align:center}
.mood-draft-remove{position:absolute;right:9px;top:9px;border:0;border-radius:30px;background:#fff;color:#9e4230;font-size:24px;font-weight:700;cursor:pointer;box-shadow:0 1px 8px #0003;width:36px;height:36px}
.mood-draft-info{padding:13px;display:flex;flex-direction:column;gap:10px;flex:1}.mood-draft-info strong{font-size:15px;overflow-wrap:anywhere}.mood-draft-info .btn{margin-top:auto;align-self:flex-start}
.mood-work-empty{padding:13px 0 2px;font-size:14px;color:#8c817b}.mood-available{background:#fff;border:1px solid #e9e6de;border-radius:10px;overflow:hidden;display:flex;flex-direction:column}.mood-available .mood-card{border:0;width:100%;flex:1}.mood-available:has(.selected){outline:2px solid #d77561}.mood-edit-shortcut{margin:0 11px 10px!important;align-self:flex-start;font-size:14px!important}
.mood-modal-intro{font-size:15px;line-height:1.55;margin:0 0 18px;color:#786f68}
@media(max-width:700px){.mood-workbench{padding:15px}.mood-drafts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mood-work-head h3{font-size:20px}}

/* Qualification par lots — 1.0.6 */
.mood-step-indicator{background:#f9ebe5;color:#a74a38;font-size:15px;font-weight:750;letter-spacing:.04em;display:inline-block;padding:9px 13px;border-radius:9px;margin-bottom:13px}
.mood-wizard-modal .modal-body{overflow:auto}.mood-wizard-modal .modal-foot{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.mood-wizard-modal .image-preview img{max-width:100%;max-height:290px;width:auto;height:auto;object-fit:contain}
.mood-drafts-summary{flex-wrap:wrap}.mood-drafts-summary .btn{margin-left:auto}

/* LMA 1.0.7 — Inspirations : catégories > pages > photos */
.inspiration-layout{grid-template-columns:minmax(325px,27%) minmax(0,1fr);gap:22px}
.inspiration-pages{padding:17px 12px;max-height:calc(100vh - 170px);overflow:auto;position:sticky;top:24px}
.inspiration-sidebar-intro{padding:7px 9px 12px}
.inspiration-sidebar-intro .notice{font-size:14px;line-height:1.6;margin-top:9px}
.inspiration-groups{display:flex;flex-direction:column;gap:9px}
.inspiration-group{border:1px solid #e4ded7;border-radius:12px;overflow:hidden;background:#faf9f6}
.inspiration-group.dragging{outline:2px dashed var(--sage);background:#eef3eb}
.inspiration-group-header{display:flex;align-items:center;gap:4px;padding:7px 5px 7px 8px;background:#f4f5ef;border-bottom:1px solid #e4e8de;cursor:grab}
.inspiration-group-toggle{display:flex;align-items:center;gap:8px;flex:1;min-width:0;color:#455849;border:0;background:none;text-align:left;padding:10px 7px;font:700 16px 'Avenir Next',Avenir,sans-serif;cursor:pointer}
.inspiration-caret{color:var(--coral);font-size:18px;width:17px;flex-shrink:0}
.inspiration-group-name{overflow-wrap:anywhere;line-height:1.25}
.inspiration-group-count{font-size:13px;font-weight:750;color:#607e62;background:#e4e9df;padding:3px 8px;border-radius:40px;margin-left:auto;flex-shrink:0}
.inspiration-group-control{font-size:22px;min-width:33px;height:33px;border:0;border-radius:7px;background:#fff;color:#687f6b;cursor:pointer}
.inspiration-group-control:hover{background:#dfeada}
.inspiration-group-drag{font-size:20px;color:#9aa99b;padding:0 7px;cursor:grab;user-select:none}
.inspiration-group-pages{padding:8px;display:flex;flex-direction:column;gap:4px;background:white}
.inspiration-group-pages .inspiration-page-item{padding:12px 9px;border-radius:8px}
.inspiration-group-pages .inspiration-page-item:hover{background:#f6f2ee}
.inspiration-group-pages .inspiration-page-item.active{background:var(--coral-pale)}
.inspiration-page-label{min-width:0;flex:1}
.inspiration-page-label strong{font-size:16px;line-height:1.32}
.inspiration-page-label small{font-size:14px;margin-top:4px}
.inspiration-group-foot{padding:6px 14px 9px;color:#898d80;font-size:12px;text-align:right;background:#f4f5ef}
.inspiration-group-empty{padding:12px;color:#999;font-size:14px}
.pdf-category{margin-top:15mm!important;padding:4mm 0!important;border-top:2px solid #d77561;color:#5c6e60}
@media(max-width:940px){.inspiration-layout{grid-template-columns:minmax(260px,34%) minmax(0,1fr)}}
@media(max-width:720px){.inspiration-layout{display:block}.inspiration-pages{position:static;max-height:320px;display:block;overflow:auto;margin-bottom:16px}.inspiration-groups{display:flex;flex-direction:column}.inspiration-page-item{min-width:0}}

/* 1.0.8 · Fusion de pages d'inspiration ; la mise en page reste visuelle. */
.inspiration-page-merge-target{font-size:12px;line-height:1.25;color:#a75240;background:#fff3ee;border:1px dashed #da9e90;border-radius:7px;padding:7px;max-width:81px;text-align:center;flex-shrink:0;transition:.15s}
.inspiration-page-merge-target.dragging,.inspiration-merge-drop.dragging{background:#ffe6dc;border:2px solid #d77561;color:#984736;box-shadow:0 0 0 4px #d7756122}
.inspiration-page-item.inspiration-page-merged{border:1px solid #e9c3b5;background:#fff7f3}
.inspiration-page-merged .inspiration-page-label small{color:#a95642;font-weight:750}
.inspiration-page-merged .page-number{color:#bd836f}
.inspiration-merge-drop{margin:16px 0 17px;min-height:88px;border:2px dashed #e7b5a6;border-radius:12px;background:#fffbf8;color:#8f5346;padding:18px 20px;display:flex;align-items:center;gap:24px;transition:.17s}
.inspiration-merge-drop strong{font-size:17px;max-width:200px;flex-shrink:0}
.inspiration-merge-drop span{font-size:15px;line-height:1.5;color:#856f64}
.inspiration-merged-warning{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px;background:#fff2eb;border:1px solid #ecc1b2;border-radius:12px;margin-bottom:22px}
.inspiration-merged-warning strong{font-size:19px;color:#984c3c}.inspiration-merged-warning p{font-size:15px;line-height:1.5;margin-top:7px;color:#825e53}
.merged-cleanup{margin-top:16px;max-width:100%;white-space:normal;text-align:left;font-size:14px}
@media(max-width:900px){.inspiration-merge-drop{display:block}.inspiration-merge-drop strong{display:block;margin-bottom:6px}.inspiration-merged-warning{flex-direction:column;align-items:flex-start}}

.merged-image-notes{display:block;margin-top:5px;font-size:12px;line-height:1.35;color:#a35b4d;font-weight:500}

/* LMA 1.0.9 — identité de la fiche sélectionnée dans la catégorie */
.inspiration-current-page{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;margin-bottom:23px;border-left:4px solid var(--coral);border-radius:9px;background:#faf3ef}
.inspiration-current-page h2{font-size:23px;line-height:1.22;margin-top:5px;letter-spacing:-.35px;overflow-wrap:anywhere}
.inspiration-current-category{font-size:13px;font-weight:800;color:#ad5b4c;letter-spacing:.45px}
.inspiration-current-count{font-size:14px;font-weight:700;color:#6f806f;white-space:nowrap}
.inspiration-page-item.active{outline:2px solid var(--coral);outline-offset:-2px}

/* La liste sticky reste sous la barre haute de 78px, pas derrière elle. */
@media(min-width:721px){.inspiration-pages{top:94px;max-height:calc(100vh - 115px)}}

/* LMA 1.0.10 — Cible de déplacement d’une photo vers une autre page. */
.inspiration-page-item.photo-drop-target{background:#e9f3e8!important;border:2px solid #729a72!important;box-shadow:0 0 0 3px #729a7233;outline:none;position:relative}
.inspiration-page-item.photo-drop-target .inspiration-page-label small{color:#426e46;font-weight:700}
.inspiration-page-item.photo-drop-target .inspiration-page-label small::before{content:"Déposer la photo ici · ";}


/* LMA 1.0.12 — Repère très visible sous le pointeur pendant le glisser-déposer.
   Le marquage n'intercepte aucun événement de souris ou de drop. */
.lma-drag-marker{position:fixed;left:-100px;top:-100px;z-index:2147483647;pointer-events:none;display:flex;align-items:center;gap:7px;white-space:nowrap;opacity:0;transform:translate(-20px,-20px);transition:opacity .08s;filter:drop-shadow(0 2px 2px rgba(0,0,0,.4))}
.lma-drag-marker.is-visible{opacity:1}
.lma-drag-marker-cross{display:grid;place-items:center;width:38px;height:38px;border:3px solid #fff;outline:2px solid #212121;border-radius:50%;background:#d4197d;color:#fff;font:900 25px/1 Arial,sans-serif;box-shadow:0 0 0 2px #d4197d}
.lma-drag-marker-label{font:800 11px/1.2 'Avenir Next',Avenir,sans-serif;letter-spacing:.55px;padding:8px 10px;border:2px solid #fff;border-radius:7px;background:#242424;color:#fff;box-shadow:0 0 0 1px #111}
.lma-drag-marker.can-drop .lma-drag-marker-cross{background:#256f3d;box-shadow:0 0 0 2px #256f3d}
.lma-drag-marker.can-drop .lma-drag-marker-label{background:#256f3d}
.lma-is-dragging [data-sort-page],.lma-is-dragging [data-sort-photo],.lma-is-dragging [data-merge-inspiration]{cursor:crosshair!important}

/* 1.0.13 — couverture éditoriale de la fiche de shooting */
.shooting-story{margin:24px 0 32px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:30px clamp(20px,3.2vw,48px);box-shadow:var(--shadow);display:grid;gap:25px}
.shooting-story-kicker{font-size:10px;font-weight:750;letter-spacing:2px;color:var(--coral)}
.shooting-story-heading{display:block;font-size:12px;font-weight:800;letter-spacing:1.7px;color:var(--coral);margin-bottom:9px}
.shooting-story textarea{display:block;width:100%;resize:vertical;box-sizing:border-box;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink);font:inherit;line-height:1.65;padding:7px 9px;min-height:54px;transition:background .15s,border .15s}
.shooting-story textarea:hover{background:#faf8f5}.shooting-story textarea:focus{background:#fff;border-color:#dca596;outline:2px solid #f5e7e2}
.shooting-story-side textarea{font-size:16px;line-height:1.6}
.shooting-story-brief{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 0}
.shooting-quote{display:grid;grid-template-columns:30px minmax(0,1fr) 30px;gap:5px;align-items:start}
.shooting-quote textarea{font-size:clamp(23px,2.65vw,36px);font-family:'Avenir Next',Avenir,sans-serif;font-weight:500;font-style:italic;letter-spacing:-.55px;line-height:1.5;min-height:150px;overflow:hidden}
.shooting-quote-open,.shooting-quote-close{font-family:Georgia,serif;font-size:50px;line-height:1;color:var(--coral);opacity:.8}.shooting-quote-close{align-self:end;text-align:right}
.shooting-story-note{margin:20px 37px 0}.shooting-story-note label{display:block;color:#8b867f;font-size:10px;font-weight:750;letter-spacing:1.2px}.shooting-story-note textarea{font-size:14px;color:#6d6963;font-style:italic;margin-top:6px}
@media(max-width:740px){.shooting-story{padding:22px 15px}.shooting-quote{grid-template-columns:20px minmax(0,1fr) 20px}.shooting-quote-open,.shooting-quote-close{font-size:32px}.shooting-quote textarea{font-size:22px}.shooting-story-note{margin-left:24px;margin-right:24px}}


/* LMA 1.0.14 — MOSAÏQUE DES CADRAGES, subdivisions indépendantes. */
.framing-mosaic-section{padding:26px clamp(17px,3vw,36px);background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);margin-bottom:30px}
.framing-mosaic-top{display:flex;justify-content:space-between;gap:18px;align-items:start;margin-bottom:24px}
.framing-mosaic-top h2{font-size:clamp(24px,3vw,35px);margin:6px 0 8px;letter-spacing:-.6px}
.framing-mosaic-top p{font-size:15px;color:#78756f;max-width:700px}
.framing-mosaic-top>strong{white-space:nowrap;color:var(--coral);font-size:13px;letter-spacing:.07em}
.framing-mosaic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.framing-mosaic-board{background:#faf9f7;border:1px solid #e9e4df;border-radius:12px;padding:17px;min-width:0;break-inside:avoid}
.framing-mosaic-heading{display:flex;justify-content:space-between;align-items:baseline;gap:13px;border-bottom:1px solid #e8e0dc;padding:0 0 12px;margin-bottom:12px}
.framing-mosaic-heading h3{font-size:17px;line-height:1.25;color:#353c33;letter-spacing:.03em;text-transform:uppercase;overflow-wrap:anywhere;margin:0}
.framing-mosaic-heading span{font-size:11px;font-weight:700;color:#aa6b57;white-space:nowrap}
.framing-mosaic-description{font-size:13px;color:#706b65;white-space:pre-wrap;line-height:1.45;margin:0 0 12px}
.framing-mosaic-photos{columns:2;column-gap:10px}
.framing-mosaic-photos figure{margin:0 0 10px;break-inside:avoid;page-break-inside:avoid;min-width:0;background:#fff}
.framing-mosaic-photos img{display:block;width:100%;height:auto;object-fit:contain;max-width:100%;border-radius:4px}
.framing-mosaic-photos figcaption{color:#777;font-size:12px;line-height:1.3;padding:6px 5px;overflow-wrap:anywhere}
.framing-mosaic-empty{padding:20px 12px;color:#93918b;font-size:14px;text-align:center;border:1px dashed #ddd4ca;border-radius:8px}
.framing-editors-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:24px 0 16px}
.framing-editors-top h2{font-size:23px;margin:0}
.framing-board-editors{display:grid;gap:24px}
.framing-board-editor{background:#fff;border:1px solid #ece5df;border-radius:14px;padding:23px clamp(15px,2.2vw,31px);box-shadow:var(--shadow);min-width:0}
.framing-board-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.framing-editor-heading{display:flex;align-items:end;gap:18px;justify-content:space-between}
.framing-editor-heading .field{flex:1;min-width:0}
.framing-board-editor .visual-board{margin-top:18px}
.framing-board-editor .field>label{font-size:11px;letter-spacing:.075em;color:#b36453}
@media(max-width:760px){.framing-mosaic-grid{grid-template-columns:1fr}.framing-editor-heading{align-items:stretch;flex-direction:column}.framing-mosaic-top{display:block}.framing-mosaic-top>strong{display:inline-block;margin-top:12px}}

/* LMA 1.0.15 — Page de garde du shooting entièrement personnalisable. */
.cover-heading-fields{flex:1 1 480px;min-width:220px;display:flex;flex-direction:column;gap:8px}
.cover-edit-text{display:block;min-width:0;width:100%;border:1px solid transparent;border-radius:6px;padding:4px 6px;margin-left:-6px;background:transparent;color:inherit;font:inherit;line-height:inherit;transition:background .15s,border-color .15s}
.cover-edit-text:hover{background:#fff9f6;border-color:#edddd5}
.cover-edit-text:focus{background:#fff;outline:2px solid #e7a695;border-color:transparent}
.cover-edit-eyebrow{font-size:11px;letter-spacing:1.5px;color:var(--coral);font-weight:800;text-transform:uppercase}
.cover-edit-main-title{font-size:clamp(31px,3vw,45px);font-weight:650;letter-spacing:-1.3px;line-height:1.2}
.cover-edit-subline{display:flex;flex-wrap:wrap;gap:6px 14px}
.cover-edit-subline input{color:#77756e;font-size:14px;flex:1 1 160px}
.project-collage.cover-custom-collage{display:flex;flex-direction:column;gap:0;min-height:420px;background:#f7f4ef;overflow:hidden}
.cover-gallery-actions{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 15px;background:#fff;border-bottom:1px solid var(--line)}
.cover-gallery-actions strong{font-size:10px;color:var(--coral);font-weight:800;letter-spacing:1.2px}
.cover-gallery-actions>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.cover-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(180px,1fr);gap:5px;padding:5px;min-height:330px;align-content:start}
.cover-edit-photo{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:180px;border:1px solid #ece7e1;border-radius:4px;background:#efebe6;cursor:grab;overflow:hidden}
.cover-edit-photo:active{cursor:grabbing}
.cover-edit-photo.featured{grid-column:span 2;grid-row:span 2}
.cover-edit-photo img,.project-collage-item.cover-edit-photo img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain!important;flex:1 1 auto;min-height:0}
.cover-edit-photo .cover-photo-caption{width:100%;padding:6px 8px 30px;color:#77716b;font-size:11px;line-height:1.4;text-align:center;background:#fff;overflow-wrap:anywhere}
.cover-photo-tools{display:flex;gap:2px;align-items:center;justify-content:center;position:absolute;bottom:0;left:0;right:0;padding:4px;background:#ffffffed;border-top:1px solid #e7e1dc;z-index:2}
.cover-photo-tools button{border:0;border-radius:4px;color:#7f5347;background:#fff4ef;padding:4px 6px;font:inherit;font-size:10px;font-weight:700;cursor:pointer}
.cover-photo-tools button:hover{color:#fff;background:var(--coral)}
.cover-gallery-empty{grid-column:1/-1;min-height:290px;display:grid;place-items:center;padding:25px;text-align:center;color:#a58977;font-size:14px;border:2px dashed #e5c8b9;border-radius:7px}
.cover-collage-footer{display:flex;align-items:center;gap:4px;justify-content:space-between;flex-wrap:wrap;background:#fff;padding:11px 16px;color:#ae6658;font-size:11px;font-weight:750}
.cover-collage-footer .cover-edit-text{width:min(70%,300px);font-size:11px;color:#ae6658;font-weight:750}
.project-overview-sidebar .cover-edit-side-title{font-size:clamp(23px,2.5vw,29px);line-height:1.15;font-weight:650;letter-spacing:-.5px}
.project-overview-sidebar .cover-edit-side-description{min-height:100px;resize:vertical;font-size:15px;line-height:1.65;color:#77736e}
.cover-editor-hint{margin-top:9px;color:#827b73;font-size:12px}
.shooting-story input.shooting-story-kicker{font-size:10px;font-weight:750;letter-spacing:2px;color:var(--coral)}
@media(max-width:740px){.cover-gallery-grid{grid-auto-rows:minmax(150px,auto)}.cover-edit-photo{min-height:140px}.cover-edit-photo.featured{grid-column:span 2;grid-row:auto}.cover-gallery-actions{padding:11px}.cover-edit-main-title{font-size:30px}.cover-photo-tools{flex-wrap:wrap}.cover-gallery-actions .btn{padding:7px 8px}}
@media(max-width:440px){.cover-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cover-edit-photo.featured{grid-column:span 2}}

/* LMA 1.0.16 · Dépôt direct sur une fiche mood, sans retoucher les autres champs. */
.mood-drop-card,#moodModalPreview[data-drop="mood-modal"]{position:relative;transition:outline-color .12s ease,background-color .12s ease}
.mood-drop-card.dragging,#moodModalPreview[data-drop="mood-modal"].dragging{
 outline:4px dashed var(--coral,#e37472)!important;outline-offset:-4px;
 background:#fff5f0;box-shadow:inset 0 0 0 500px #f6e6df33;
}
.mood-drop-card.dragging::after,#moodModalPreview[data-drop="mood-modal"].dragging::after{
 content:"DÉPOSER LA PHOTO ICI";position:absolute;inset:10px;z-index:10;
 background:#272321db;color:#fff;display:flex;align-items:center;justify-content:center;
 text-align:center;padding:16px;pointer-events:none;font-weight:800;letter-spacing:.04em;
 border-radius:9px;font-size:13px;
}
.mood-drop-card .image-preview img,.mood-drop-card .mood-draft-photo img{pointer-events:none}

/* LMA · correctif typographique : 1.0.17.1 — classes existantes inchangées */
.app-version-top{font-family:var(--font);font-weight:500;display:inline-flex;align-items:center;border:1px solid #deb1a5;border-radius:6px;background:#fff0eb;color:#a6503c;padding:5px 9px;font-size:12px;letter-spacing:.3px;white-space:nowrap}
.copyright-detail{display:block;max-width:980px;margin:8px auto 0;font-size:11px;line-height:1.5;color:#99928c}
.home-live-text{font-family:var(--font);border:1px solid transparent;background:transparent;box-shadow:none;outline:0;color:inherit;font:inherit;line-height:inherit;letter-spacing:inherit;max-width:100%;min-width:0;resize:vertical;padding:2px 3px;border-radius:4px}
.home-live-text:hover{border-color:#e4c1b6;background:#ffffff77}
.home-live-text:focus{background:#fff;border-color:var(--coral);outline:2px solid #e5a58e55}
.home-intro-eyebrow{display:block;width:100%;font-size:12px;letter-spacing:1.3px;color:var(--coral);font-weight:600}
.home-intro-title{display:block;width:min(660px,100%);font-size:clamp(32px,3.1vw,44px);font-weight:600;line-height:1.15;letter-spacing:-1.3px}
.home-intro-description{display:block;width:min(650px,100%);min-height:56px;font-size:15px;color:#77716e;line-height:1.55}
.home-hero-eyebrow{width:100%;font-size:11px;font-weight:600;letter-spacing:1.5px;color:#ab6454}
.home-hero-title{width:100%;font-size:clamp(34px,3.3vw,52px);font-weight:600;line-height:1.12;letter-spacing:-1.8px;min-height:128px;resize:vertical}
.home-hero-description{width:100%;min-height:92px;color:#77716e;font-size:15px;line-height:1.65}
.home-image-mosaic{isolation:isolate;overflow:hidden;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:none!important;align-items:stretch}
.home-mosaic-item{margin:0;position:relative;min-width:0;overflow:hidden;cursor:grab;display:block;min-height:380px}
.home-mosaic-item img,.home-image-mosaic .home-mosaic-item img{width:100%;height:100%;max-height:450px;object-fit:contain!important;transform:none!important;display:block}
.home-mosaic-item.dragging,.home-mosaic-item:has(.dragging){opacity:.55}
.home-image-tools{position:absolute;left:0;right:0;bottom:0;display:flex;gap:3px;align-items:center;justify-content:center;background:#fffed;padding:4px;opacity:.1;transition:opacity .16s;z-index:2}
.home-mosaic-item:hover .home-image-tools,.home-mosaic-item:focus-within .home-image-tools{opacity:1}
.home-image-tools button,.card-photo-toolbar button{border:0;background:#fff8f4;color:#9a4f40;padding:5px 7px;border-radius:4px;font-size:11px;font-weight:600;cursor:pointer}
.home-image-tools button:hover,.card-photo-toolbar button:hover{background:var(--coral);color:white}
.home-image-mosaic .home-gallery-bar{position:absolute;top:11px;right:11px;z-index:4}
.home-image-mosaic .hero-tag{z-index:3;max-width:80%;min-width:180px}
.home-image-mosaic .home-hero-tag{width:100%;font-size:10px;font-weight:600;letter-spacing:.8px}
.home-feature-title{width:100%;display:block;font-size:18px;font-weight:600;margin-bottom:7px}
.home-feature-desc{display:block;width:100%;font-size:13px;color:#8b8983;min-height:88px;line-height:1.65}
.feature-card>.home-live-text.feature-number{width:100%;display:block;margin-bottom:18px}
.home-projects-heading{font-size:24px;font-weight:600;width:100%;min-width:160px}
/* Ratio 5:4 horizontal sur TOUTES les cartes; seul le recadrage de carte est volontaire */
.project-card{cursor:default}
.project-photo{height:auto!important;aspect-ratio:5 / 4;position:relative;min-height:0!important;grid-template-columns:repeat(3,minmax(0,1fr))}
.project-photo img{height:100%!important;width:100%!important;min-height:0!important;object-fit:cover!important;max-height:unset!important}
.project-photo.has-custom-card{display:block}
.project-photo .card-custom-image{width:100%;height:100%;display:block;object-fit:cover!important}
.project-photo .card-blank-art{grid-column:span 3;display:grid;place-items:center;color:#9a776b;font-size:14px}
.card-photo-toolbar{position:absolute;display:flex;justify-content:center;flex-wrap:wrap;gap:5px;bottom:7px;left:6px;right:6px;z-index:4;opacity:.16;transition:opacity .15s}
.project-card:hover .card-photo-toolbar,.card-photo-toolbar:focus-within{opacity:1}
.card-crop-controls{position:absolute;z-index:5;top:8px;left:8px;right:8px;border-radius:7px;background:#fffef6f0;padding:9px 11px;display:grid;gap:6px;box-shadow:0 2px 15px #0003}
.card-crop-controls label{display:flex;gap:8px;align-items:center;font-size:11px;font-weight:600;color:#6c5347}
.card-crop-controls input{width:100%;accent-color:var(--coral)}
.home-card-title{font-size:18px;font-weight:600;width:100%}
.home-card-subtitle{font-size:13px;color:#8b8983;width:100%}
.home-card-place{font-size:12px;color:#8b8983;text-align:right;max-width:50%}
.home-card-open{justify-self:start;margin-top:4px}
.home-image-mosaic.dragging,.home-mosaic-item.dragging,.project-photo.dragging,.cover-edit-photo.dragging{outline:4px solid var(--coral)!important;outline-offset:-4px;background:#ffe9df!important}
@media(max-width:740px){.home-hero-title{font-size:36px;min-height:100px}.home-mosaic-item{min-height:210px}.home-projects-heading{font-size:22px}.home-image-mosaic .home-gallery-bar{top:3px;right:3px}.home-image-tools{opacity:1}}

/* LMA 1.0.17.2 — Ajustement ciblé de la mosaïque de couverture (aucune autre planche affectée) */
.project-overview.cover-resizable{grid-template-columns:minmax(0,var(--cover-left,59fr)) 12px minmax(0,var(--cover-right,41fr));}
.cover-resize-handle{position:relative;align-self:stretch;min-width:12px;background:#eee5df;border-left:1px solid #dfd2ca;border-right:1px solid #dfd2ca;cursor:col-resize;touch-action:none;display:flex;align-items:center;justify-content:center;z-index:2;color:#a96351;user-select:none;}
.cover-resize-handle span{display:flex;align-items:center;justify-content:center;width:9px;height:55px;border-radius:9px;background:#d5a99d;color:#fff;font-size:18px;line-height:1;pointer-events:none;}
.cover-resize-handle:hover,.cover-resize-handle:focus-visible{background:#e8c1b7;outline:2px solid #b86551;outline-offset:-2px}
body.cover-resizing-active,body.cover-resizing-active *{cursor:col-resize!important;user-select:none!important;}
.cover-resizable .cover-gallery-grid{grid-auto-rows:clamp(170px,19vw,250px);align-items:stretch;}
.cover-resizable .cover-edit-photo{display:block;min-height:0;position:relative;overflow:hidden;}
.cover-resizable .cover-edit-photo img,.cover-resizable .project-collage-item.cover-edit-photo img{display:block;position:absolute;inset:0;width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;object-fit:cover!important;object-position:center center;}
/* Pas de bandeau blanc sous les photos : légende discrète superposée au survol. */
.cover-resizable .cover-photo-caption{position:absolute;left:0;right:0;bottom:30px;width:100%;padding:12px 8px 5px;margin:0;color:#fff;background:linear-gradient(transparent,#000a);opacity:0;pointer-events:none;z-index:1;line-height:1.35;transition:opacity .15s;}
.cover-resizable .cover-edit-photo:hover .cover-photo-caption,.cover-resizable .cover-edit-photo:focus-within .cover-photo-caption{opacity:1;}
.cover-resizable .cover-photo-tools{background:linear-gradient(transparent,#0008);border-top:0;opacity:.85;}
.cover-resizable .cover-edit-photo:hover .cover-photo-tools,.cover-resizable .cover-edit-photo:focus-within .cover-photo-tools{opacity:1;}
@media(max-width:1100px){.project-overview.cover-resizable{grid-template-columns:minmax(0,1fr)}.cover-resize-handle{display:none}.cover-resizable .cover-gallery-grid{grid-auto-rows:minmax(160px,220px)}}
@media(max-width:620px){.cover-resizable .cover-gallery-grid{grid-auto-rows:170px}}
/* Deux titres de la VUE D’ENSEMBLE : point corail final visible uniquement hors édition. */
.home-dotted-title{display:block;white-space:pre-wrap;overflow-wrap:anywhere;resize:none;}
.home-dotted-title .home-dotted-text{display:inline;outline:0;white-space:pre-wrap;overflow-wrap:anywhere;}
.home-dotted-title::after{content:".";display:inline;color:var(--coral);font:inherit;letter-spacing:inherit;}
.home-dotted-title:focus-within::after{visibility:hidden;}

/* LMA 1.0.17.3 — Restitution des photographies sans recadrage ni habillage.
   Exception explicite : les miniatures des CARTES de projet restent au ratio 5:4. */

/* Aucune ombre, dans aucune vue, y compris au survol. */
*,*::before,*::after{box-shadow:none!important;text-shadow:none!important}
.lma-drag-marker{filter:none!important}
:root{--shadow:none}

/* Fiche du projet : véritable mosaïque de tirages, à proportions natives. */
.project-overview.cover-resizable .project-collage.cover-custom-collage{
  position:relative;display:block;min-height:0;overflow:visible;background:transparent;
}
.project-overview.cover-resizable .cover-gallery-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-rows:auto!important;gap:8px;align-items:start;
  min-height:0;padding:0;align-content:start;
}
.project-overview.cover-resizable .cover-edit-photo,
.project-overview.cover-resizable .cover-edit-photo.featured{
  display:block!important;width:100%;height:auto!important;min-height:0!important;
  margin:0;padding:0;break-inside:avoid;page-break-inside:avoid;
  vertical-align:top;border:0;border-radius:0;background:transparent;overflow:hidden;
  grid-row:auto!important;grid-column:auto!important;
}
.project-overview.cover-resizable .cover-edit-photo img,
.project-overview.cover-resizable .project-collage-item.cover-edit-photo img{
  position:static!important;inset:auto!important;display:block!important;
  width:100%!important;height:auto!important;min-height:0!important;
  max-height:none!important;max-width:100%!important;
  object-fit:contain!important;aspect-ratio:auto!important;
  object-position:center center!important;transform:none!important;
}
/* Zéro texte, outil ou fond superposé au repos. Survol/focus uniquement. */
.project-overview.cover-resizable .cover-photo-caption{
  position:absolute;bottom:0;left:0;right:auto;width:auto;max-width:100%;
  display:block;padding:5px 9px;margin:0;color:#30302f;
  background:#fffffff2!important;opacity:0!important;visibility:hidden;
  pointer-events:none;line-height:1.35;z-index:3;
  transition:none!important;
}
.project-overview.cover-resizable .cover-photo-tools{
  position:absolute;top:6px;right:6px;bottom:auto;left:auto;display:flex;width:auto;
  border:0;background:#fffffff2!important;padding:3px;gap:3px;
  opacity:0!important;visibility:hidden;pointer-events:none;z-index:4;
  transition:none!important;
}
.project-overview.cover-resizable .cover-edit-photo:hover .cover-photo-caption,
.project-overview.cover-resizable .cover-edit-photo:focus-within .cover-photo-caption,
.project-overview.cover-resizable .cover-edit-photo:hover .cover-photo-tools,
.project-overview.cover-resizable .cover-edit-photo:focus-within .cover-photo-tools{
  opacity:1!important;visibility:visible;pointer-events:auto;
}
/* Barre d'édition de la couverture : invisible pendant la consultation. */
.project-overview.cover-resizable .cover-gallery-actions{
  position:absolute;top:0;left:0;right:0;z-index:7;
  opacity:0;visibility:hidden;pointer-events:none;
  background:#fffffff2;border:0;
}
.project-overview.cover-resizable .cover-collage-footer{
  position:absolute;bottom:0;left:0;right:0;z-index:5;
  opacity:0;visibility:hidden;pointer-events:none;background:#fffffff2;
}
.project-overview.cover-resizable .cover-custom-collage:hover .cover-gallery-actions,
.project-overview.cover-resizable .cover-custom-collage:focus-within .cover-gallery-actions,
.project-overview.cover-resizable .cover-custom-collage:hover .cover-collage-footer,
.project-overview.cover-resizable .cover-custom-collage:focus-within .cover-collage-footer{
  opacity:1;visibility:visible;pointer-events:auto;
}
/* Toutes les autres planches photographiques : légende et suppression au survol. */
.sortable-photo,.image-tile,.guide-photo{position:relative;border:0!important;background:transparent!important;border-radius:0!important}
.sortable-photo img,.visual-photo-grid .sortable-photo img,
.image-tiles .sortable-photo img,.image-tile img{
  display:block;width:100%!important;height:auto!important;max-width:100%!important;
  max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important;
}
.sortable-photo figcaption{
  position:absolute;left:0;right:0;bottom:0;display:flex;
  align-items:center;justify-content:space-between;
  width:100%;margin:0;padding:5px 7px!important;min-height:0!important;
  background:#fffffff2!important;color:#383838;
  opacity:0;visibility:hidden;pointer-events:none;z-index:2;
  transition:none!important;
}
.sortable-photo:hover figcaption,.sortable-photo:focus-within figcaption{
  opacity:1;visibility:visible;pointer-events:auto;
}
.image-tile .image-caption,.guide-photo figcaption{
  position:absolute;left:0;right:0;bottom:0;
  padding:5px 7px!important;background:#fffffff2!important;
  opacity:0;visibility:hidden;pointer-events:none;
}
.image-tile:hover .image-caption,.image-tile:focus-within .image-caption,
.guide-photo:hover figcaption,.guide-photo:focus-within figcaption{
  opacity:1;visibility:visible;pointer-events:auto;
}
.image-tile button.remove-image{opacity:0;visibility:hidden;pointer-events:none}
.image-tile:hover button.remove-image,.image-tile:focus-within button.remove-image{
  opacity:1;visibility:visible;pointer-events:auto;
}
/* Mosaïque de la page d'accueil : commandes au survol, jamais en permanence. */
.home-image-tools,.card-photo-toolbar{opacity:0!important;visibility:hidden;pointer-events:none;
  background:#fffffff2!important}
.home-mosaic-item:hover .home-image-tools,.home-mosaic-item:focus-within .home-image-tools,
.project-card:hover .card-photo-toolbar,.project-card:focus-within .card-photo-toolbar{
  opacity:1!important;visibility:visible;pointer-events:auto;
}
/* Les seules images volontairement cadrées restent les CARTES de projet 5:4. */
.project-photo img,.project-photo .card-custom-image{object-fit:cover!important}
@media(max-width:740px){
 .project-overview.cover-resizable .cover-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:440px){
 .project-overview.cover-resizable .cover-gallery-grid{grid-template-columns:1fr!important}
}
/* Les outils de la mosaïque d'accueil ne recouvrent jamais les photos au repos. */
.home-image-mosaic .hero-tag,.home-image-mosaic .home-gallery-bar{
 opacity:0;visibility:hidden;pointer-events:none;
}
.home-image-mosaic:hover .hero-tag,.home-image-mosaic:focus-within .hero-tag,
.home-image-mosaic:hover .home-gallery-bar,.home-image-mosaic:focus-within .home-gallery-bar{
 opacity:1;visibility:visible;pointer-events:auto;
}
/* Les mosaïques de cadrages ne présentent que les photos, hors survol. */
.framing-mosaic-photos figure{position:relative}
.framing-mosaic-photos figcaption{
 position:absolute;bottom:0;left:0;right:0;padding:5px 7px;
 opacity:0;visibility:hidden;pointer-events:none;
 background:#fffffff2!important;
}
.framing-mosaic-photos figure:hover figcaption,.framing-mosaic-photos figure:focus-within figcaption{
 opacity:1;visibility:visible;pointer-events:auto;
}
.cover-editor-hint{display:none}

/* LMA 1.0.17.4 — BRIEF COURT, distinct du BRIEF complet : aucune modification photographique */
.project-overview-sidebar .cover-short-brief{display:flex;flex-direction:column;gap:6px;margin:4px 0 2px;}
.project-overview-sidebar .cover-short-brief label{font:600 11px/1.35 'Avenir Next',Avenir,sans-serif;letter-spacing:.08em;color:var(--coral);}
.project-overview-sidebar .cover-edit-short-brief{display:block;width:100%;min-height:95px;max-height:210px;box-sizing:border-box;resize:vertical;font:400 16px/1.55 'Avenir Next',Avenir,sans-serif;color:var(--ink);background:transparent;border:1px solid transparent;border-radius:5px;padding:5px 0;}
.project-overview-sidebar .cover-edit-short-brief:focus{border-color:var(--coral);outline:1px solid var(--coral);padding-left:6px;}
.project-overview-sidebar .cover-edit-short-brief::placeholder{color:#96918c;}

/* LMA 1.0.18 — Présentation standard dans toutes les rubriques générales.
   Zéro recadrage imposé, zéro ombre, édition à côté des vraies planches. */
.lma-standard-layout{display:grid;grid-template-columns:minmax(290px,.82fr) minmax(360px,1.5fr);gap:14px;align-items:start;margin-top:20px;}
.lma-standard-editor,.lma-standard-visual{min-width:0;background:var(--white,#fff);border:1px solid var(--line,#e9e4df);border-radius:12px;box-shadow:none!important;}
.lma-standard-editor .panel-body{padding:20px;}
.lma-standard-visual .visual-board{border:0!important;box-shadow:none!important;margin:0!important;}
.lma-standard-visual .visual-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px;padding:8px;}
.lma-standard-visual .sortable-photo{min-width:0;position:relative;margin:0!important;box-shadow:none!important;border:0!important;background:transparent!important;}
.lma-standard-visual .sortable-photo img{display:block;max-width:100%;width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;box-shadow:none!important;filter:none!important;}
.lma-standard-visual .sortable-photo figcaption{position:absolute!important;left:0;right:0;bottom:0;display:flex;gap:5px;align-items:center;padding:5px 6px!important;background:rgba(255,255,255,.96)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;box-shadow:none!important;filter:none!important;}
.lma-standard-visual .sortable-photo:hover figcaption,.lma-standard-visual .sortable-photo:focus-within figcaption{opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
.lma-standard-visual .visual-board-header,.lma-standard-visual .board-bottom-note{box-shadow:none!important;}
.lma-standard-editor *,.lma-standard-visual *{text-shadow:none!important;}
.lma-standard-layout h2,.lma-standard-layout h3,.lma-standard-layout strong{font-family:'Avenir Next',Avenir,sans-serif;font-weight:600;}
@media(max-width:980px){.lma-standard-layout{grid-template-columns:1fr;}}
/* Résultats : vrai affichage par set, photographies naturelles, commandes au survol. */
.lma-results-tools{border:1px solid var(--line,#e9e4df);border-radius:12px;padding:18px;box-shadow:none!important;display:grid;gap:16px;}
.lma-results-drop-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.lma-results-filters{display:flex;gap:8px;flex-wrap:wrap;margin:19px 0;}
.lma-results-group{margin:25px 0 38px;}
.lma-results-heading{margin-bottom:12px;}
.lma-results-heading h2{font-weight:600;font-family:'Avenir Next',Avenir,sans-serif;}
.lma-results-mosaic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start;}
.lma-result-card{border:1px solid var(--line,#e9e4df);background:#fff;border-radius:9px;overflow:hidden;min-width:0;box-shadow:none!important;}
.lma-result-visual{position:relative;min-width:0;}
.lma-result-visual img{display:block;width:100%;height:auto!important;object-fit:contain!important;box-shadow:none!important;}
.lma-result-controls{position:absolute;bottom:0;left:0;right:0;display:flex;gap:5px;background:rgba(255,255,255,.97);padding:7px;opacity:0;visibility:hidden;pointer-events:none;box-shadow:none!important;}
.lma-result-visual:hover .lma-result-controls,.lma-result-visual:focus-within .lma-result-controls{opacity:1;visibility:visible;pointer-events:auto;}
.lma-result-controls button{font-family:'Avenir Next',Avenir,sans-serif;font-weight:500;box-shadow:none!important;}
.lma-result-edit{padding:12px;display:grid;gap:9px;}
.lma-result-edit .field{margin:0;}
.lma-result-before img{display:block;width:auto;max-width:100%;max-height:180px;height:auto;object-fit:contain;}
.lma-video-visual video{display:block;width:100%;height:auto;max-height:360px;background:#fff;}
.lma-video-missing{padding:26px 12px;color:var(--muted);} 
@media(max-width:1100px){.lma-results-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){.lma-results-mosaic,.lma-results-drop-row{grid-template-columns:1fr;}}

/* Absence totale d'ombres dans LMA, sans altérer les caractéristiques des images. */
#app, #app *, .modal, .modal *{box-shadow:none!important;text-shadow:none!important;}
.framing-board-editor.lma-standard-layout{padding:0;border:0;background:transparent;}
.framing-board-editor.lma-standard-layout .lma-standard-editor{padding:15px;}
.framing-board-editor.lma-standard-layout .lma-standard-visual{padding:0;}

/* En consultation, les planches RÉSULTATS ne montrent que les médias.
   Réglages accessibles au survol ou à la sélection au clavier. */
.lma-result-card{position:relative;overflow:visible;box-shadow:none!important;}
.lma-result-edit{position:absolute;top:100%;left:0;right:0;z-index:30;background:#fff;border:1px solid var(--line,#e9e4df);border-top:0;opacity:0;visibility:hidden;pointer-events:none;box-shadow:none!important;}
.lma-result-card:hover .lma-result-edit,.lma-result-card:focus-within .lma-result-edit{opacity:1;visibility:visible;pointer-events:auto;}
@media(hover:none){.lma-result-card:focus .lma-result-edit,.lma-result-card:focus-within .lma-result-edit{opacity:1;visibility:visible;pointer-events:auto;}}

/* 1.0.18.1 — CASTING : une fiche photographique indépendante par modèle. */
.casting-model-list{display:flex;flex-direction:column;gap:22px;margin:20px 0}
.casting-model-card{border:1px solid var(--line,#e8e4df);border-radius:14px;overflow:hidden;background:var(--paper,#fff);box-shadow:none!important}
.casting-model-card .lma-standard-layout{margin:0;border:0;border-radius:0;box-shadow:none!important}
.casting-model-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 21px;border-bottom:1px solid var(--line,#e8e4df)}
.casting-model-heading h2{font-size:21px;font-weight:550;margin:4px 0 0;letter-spacing:-.01em}
.casting-legacy{border:1px solid var(--line,#e8e4df);border-radius:14px;padding:18px;margin:20px 0;box-shadow:none!important}
.casting-legacy .visual-board{box-shadow:none!important}
@media(max-width:820px){.casting-model-heading{align-items:flex-start;flex-direction:column}}


/* LMA 1.0.19 — Organisation des rubriques sous chaque SET. Avenir Next hérité ; aucune ombre. */
.lma-set-full-sheet{display:block;background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-top:14px}
.lma-set-cover{padding:22px 24px 10px;border-bottom:1px solid var(--line)}
.lma-set-cover-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.lma-set-cover-top h2{font-size:25px;font-weight:550;margin:6px 0 15px}
.lma-set-head-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:10px 0 24px}
.lma-set-overview-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}
.lma-set-overview-title h3,.lma-set-flow h3{font-size:16px;font-weight:550;letter-spacing:.035em;margin:0}
.lma-set-overview-title span{color:var(--muted);font-size:12px}
.lma-set-global-prompt{margin:15px 0}
.lma-set-board{position:relative;min-width:0;min-height:110px;border:1px solid var(--line);background:#fff;border-radius:7px;overflow:visible}
.lma-set-photo-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;align-items:start;gap:8px;padding:8px!important;columns:auto!important}
.lma-set-photo-grid>.sortable-photo,.lma-set-photo-grid>.sortable-photo:first-child{display:block!important;min-width:0!important;width:100%!important;margin:0!important;grid-column:auto!important;grid-row:auto!important;break-inside:avoid}
.lma-set-photo-grid .sortable-photo img,.lma-set-photo-grid .sortable-photo:first-child img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important}
.lma-set-board-actions{position:absolute;top:8px;right:8px;z-index:3;display:flex;gap:6px;background:#fff;padding:5px;border-radius:6px;opacity:0;visibility:hidden;pointer-events:none}
.lma-set-board:hover .lma-set-board-actions,.lma-set-board:focus-within .lma-set-board-actions{opacity:1;visibility:visible;pointer-events:auto}
.lma-set-drop-hint{min-height:100px;display:flex;align-items:center;justify-content:center;gap:8px;color:#88847d;font-size:13px}
.lma-set-drop-hint strong{font-weight:500;color:var(--coral);font-size:24px}
.lma-set-part{border-top:1px solid var(--line);padding:22px 24px 28px;scroll-margin-top:90px}
.lma-set-part-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.lma-set-part-title h3{font-size:18px;font-weight:600;margin:0;letter-spacing:.02em}
.lma-set-part-columns{display:grid;grid-template-columns:minmax(275px,38%) minmax(0,62%);gap:20px;align-items:start}
.lma-set-part-editor{min-width:0;display:flex;flex-direction:column;gap:12px}
.lma-set-part-visual{min-width:0}
.lma-set-part-editor .field textarea{font-size:15px;line-height:1.5}
.lma-set-status{font-family:inherit;font-size:13px;font-weight:500;border:1px solid var(--line);border-radius:6px;padding:7px 10px}
.lma-set-status.status-todo,.lma-flow-link.status-todo{background:#d98575;color:#fff}
.lma-set-status.status-done,.lma-flow-link.status-done{background:#9db5a3;color:#213526}
.lma-set-status.status-na,.lma-flow-link.status-na{background:#ebebeb;color:#777}
.lma-set-flow{padding:18px 24px 26px}
.lma-set-flow-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin-top:12px}
.lma-flow-link{display:flex;flex-direction:column;gap:5px;text-decoration:none;border-radius:6px;padding:10px 12px;font-size:12px;font-weight:550;min-height:50px}
.lma-flow-link small{font-size:11px;opacity:.9}
.lma-set-selected-moods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}
.lma-set-selected-moods figure{margin:0;min-width:0;position:relative}
.lma-set-selected-moods img{display:block;width:100%;height:auto;object-fit:contain}
.lma-set-selected-moods figcaption{font-size:12px;color:var(--muted);margin-top:4px}
.lma-set-mood-picks .set-mood-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.lma-sort-handle{font-size:17px;color:var(--coral);padding:0 6px;align-self:center}
.lma-sortable-sets .set-tab.dragging,.day-chip.dragging{outline:2px dashed var(--coral);background:#fcf6f3}
.lma-set-legacy{margin-top:24px;border:1px solid var(--line);border-radius:9px;padding:14px 18px;background:#fff}
.lma-set-legacy summary{cursor:pointer;font-size:13px;font-weight:550;color:var(--ink)}
.lma-set-legacy>p{font-size:13px;color:var(--muted)}
.lma-legacy-item{padding:12px 0;border-top:1px solid var(--line)}
.lma-legacy-item h4{font-size:15px;font-weight:550}
.export-set-part{margin-top:20px;border-top:1px solid var(--line);padding-top:13px}
.export-set-part h4{font-size:16px;font-weight:550}
#app .lma-set-full-sheet *,#app .lma-set-full-sheet{box-shadow:none!important;text-shadow:none!important}
.lma-missing-media{font-size:12px;color:var(--coral);padding:12px}
@media(max-width:900px){.lma-set-part-columns{grid-template-columns:1fr}.lma-set-head-fields{grid-template-columns:1fr}}
@media(max-width:600px){.lma-set-part{padding:18px 12px}.lma-set-cover{padding:15px 12px}.lma-set-flow{padding:16px 12px}.lma-set-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(hover:none){.lma-set-board-actions{opacity:1;visibility:visible;pointer-events:auto;position:static;justify-content:flex-end}}

/* LMA 1.0.19.1 — In Progress ; confirmation photographique compacte. */
.lma-set-status.status-progress,.lma-flow-link.status-progress{background:#f2dcbf;color:#5b4226}
.lma-flow-link a{color:inherit;text-decoration:none;font-weight:550}
.lma-flow-status{width:100%;max-width:100%;font:inherit;font-size:11px;font-weight:500;border:1px solid rgba(70,70,60,.2);border-radius:5px;padding:5px 6px;color:inherit;background:rgba(255,255,255,.7);cursor:pointer}
.delete-modal{width:min(590px,100%);max-height:min(90dvh,720px);display:flex;flex-direction:column;overflow:hidden;box-shadow:none}
.delete-modal .modal-head{flex-shrink:0;padding:17px 22px 14px}
.delete-modal .modal-head h2{font-size:20px}
.delete-modal .modal-body{padding:17px 22px;overflow-y:auto;min-height:0}
.delete-modal .modal-foot{flex-shrink:0;display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;padding:14px 22px;border-top:1px solid var(--line)}
.delete-image-detail{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:16px}
.delete-image-detail img{display:block;max-width:112px;max-height:112px;width:auto;height:auto;object-fit:contain;object-position:center;box-shadow:none!important;border-radius:0}
.delete-image-detail p{margin:0;line-height:1.4;font-size:13px}
.delete-image-detail ul{margin:8px 0 0;padding-left:17px;line-height:1.45;font-size:11px;color:var(--muted)}
.delete-image-rights{font-size:11px;line-height:1.5;color:var(--muted);margin-top:13px}
@media(max-width:520px){.delete-modal .modal-foot{justify-content:stretch}.delete-modal .modal-foot .btn{flex:1}.delete-image-detail{grid-template-columns:85px minmax(0,1fr)}.delete-image-detail img{max-height:90px;max-width:85px}}

/* 1.0.19.3 — Listes des moodboards affichés et masqués */
.home-projects-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.home-card-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:13px}
.home-readonly-text{display:block;white-space:pre-wrap;overflow-wrap:anywhere;cursor:default;resize:none}
.home-no-projects{padding:22px;color:var(--muted);grid-column:1/-1}
@media(max-width:740px){.home-projects-tools{justify-content:flex-start}}

/* 1.0.20.0 — CADRAGES : une seule mosaïque, plans et réglages à gauche. */
.lma-framing-plan-list{display:flex;flex-direction:column;gap:6px;margin:0 0 18px;max-height:260px;overflow-y:auto}
.lma-framing-plan{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:11px 12px;border:1px solid var(--line);background:#faf9f7;color:var(--ink);text-align:left;border-radius:8px;font:inherit;cursor:pointer}
.lma-framing-plan.active{border-color:var(--coral);background:var(--coral-pale);font-weight:600}
.lma-framing-plan small{flex-shrink:0;color:var(--coral);font-size:12px}
.lma-framing-layout .panel-body{display:flex;flex-direction:column;gap:12px}
.lma-framing-layout .visual-board{margin:0}
/* Les plans de cadrage du SET restent à gauche de sa mosaïque. */
.lma-framing-sources{border-top:1px solid var(--line);padding-top:14px;margin-top:5px;min-width:0}
.lma-framing-sources>.tip{font-size:12px;margin:7px 0 12px}
.lma-frame-source-group{border:1px solid var(--line);border-radius:8px;margin-bottom:7px;background:#fff;min-width:0}
.lma-frame-source-group>summary{display:flex;align-items:center;gap:8px;padding:9px;cursor:pointer;list-style:none;min-width:0}
.lma-frame-source-group>summary::-webkit-details-marker{display:none}
.lma-frame-source-group>summary::before{content:'▸';font-size:11px;color:var(--coral)}
.lma-frame-source-group[open]>summary::before{content:'▾'}
.lma-frame-source-group summary strong{font-size:13px;flex:1;min-width:0;overflow-wrap:anywhere}
.lma-frame-source-group summary small{color:var(--muted);font-size:11px}
.lma-frame-source-group summary .btn{flex-shrink:0;padding:5px 8px}
.lma-frame-drag-group{font-weight:bold;cursor:grab;color:var(--coral);font-size:19px;line-height:1;padding:4px;user-select:none}
.lma-frame-source-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px;border-top:1px solid var(--line);max-height:300px;overflow-y:auto}
.lma-frame-source-photo{position:relative;min-width:0;margin:0;cursor:grab;border-radius:6px;overflow:hidden;border:1px solid var(--line)}
.lma-frame-source-photo img{display:block;width:100%;height:90px;object-fit:contain;background:#faf9f7}
.lma-frame-add-one{position:absolute;bottom:3px;right:3px;border:0;border-radius:4px;width:26px;height:26px;background:var(--coral);color:#fff;font-size:20px;line-height:1;cursor:pointer}
.lma-frame-source-photo:hover{outline:1px solid var(--coral)}
.lma-set-part-visual .lma-set-board[data-drop$=":framing"].dragging{outline:3px solid var(--coral);outline-offset:2px}
@media(max-width:420px){.lma-frame-source-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 1.0.20.0 — Uniformisation des écrans d'édition : paramètres à gauche, images à droite. */
@media(min-width:1101px){
 .project-overview.cover-resizable{grid-template-columns:minmax(0,var(--cover-right,41fr)) 12px minmax(0,var(--cover-left,59fr));}
 .project-overview.cover-resizable .project-overview-sidebar{grid-column:1;grid-row:1;min-width:0}
 .project-overview.cover-resizable .cover-resize-handle{grid-column:2;grid-row:1}
 .project-overview.cover-resizable .project-collage.cover-custom-collage{grid-column:3;grid-row:1;min-width:0}
}
.lma-inspiration-workspace{grid-template-columns:minmax(230px,0.8fr) minmax(300px,1.5fr);margin:0;gap:14px;align-items:start}
.lma-inspiration-workspace .lma-standard-editor{padding:0}
.lma-inspiration-workspace .lma-standard-visual .visual-board{margin:0}
.lma-inspiration-workspace .inspiration-content-top{grid-template-columns:1fr;align-items:stretch}
.lma-results-layout{grid-template-columns:minmax(290px,.82fr) minmax(360px,1.5fr)}
.lma-results-layout .lma-results-tools{padding:14px}
.lma-results-layout .lma-results-drop-row{grid-template-columns:1fr}
.lma-results-layout .lma-results-filters{margin:12px 10px 18px}
.lma-results-layout .lma-results-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 10px 14px}
.lma-results-layout .lma-results-heading{margin:15px 10px}
@media(max-width:1180px){.lma-inspiration-workspace,.lma-results-layout{grid-template-columns:1fr}}

/* LMA Web — contrôle d'accès affiché avant l'atelier */
.app-shell[hidden], .web-gate[hidden], #webGateLogin[hidden] {display:none!important}
.web-gate {max-width:580px;margin:12vh auto;padding:40px 32px;background:#fff;border:1px solid #eee6df;border-radius:18px;box-shadow:0 12px 40px #0001;font-family:'Avenir Next',Avenir,Arial,sans-serif}
.web-gate h1 {font-size:26px;letter-spacing:.02em}.web-gate p{line-height:1.6}
#webGateLogin{display:inline-block;border-radius:8px;padding:12px 18px;background:#ca705e;color:#fff;font-weight:700;text-decoration:none}

/* 1.0.20.1 — Libellés éditables des deux boutons de la page d’accueil. */
.hero-cta-label-editors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}
.hero-cta-label-editors label{display:block;min-width:0;color:#908981;font-size:10px;line-height:1.4}
.hero-cta-label-editors input{display:block;width:100%;margin-top:3px;line-height:1.4;font-size:12px;background:#ffffff99;border:1px solid #ddc8c0;border-radius:5px;padding:6px 8px}
.hero-cta-label-editors input:focus{background:#fff;border-color:var(--coral);outline:2px solid #e5a58e55}
@media(max-width:520px){.hero-cta-label-editors{grid-template-columns:1fr}}

