/* Le carnet de projet : scoped to the editable request form. */
body.dt-page:has(.dt-notebook){background:#fbfaf6}
body.dt-page #dt-main.dt-notebook{max-width:860px;margin:40px auto;padding:0 24px 48px}
.dt-notebook .dt-intro{display:flex;align-items:center;gap:24px;margin-bottom:28px}
.dt-notebook .dt-intro>div:first-child{flex:1;min-width:0}
.dt-notebook .dt-intro h1{font-size:clamp(30px,4vw,42px);color:#294c3e;letter-spacing:-.025em}
.dt-notebook .dt-intro p{max-width:60ch;color:#565e52;line-height:1.65;margin:0}
.dt-notebook .dt-eyebrow{margin:0 0 12px;color:#6b654c;font-size:11px;letter-spacing:.09em}
.dt-notebook .dt-sketch{width:148px;flex:none;background:#f4e5cb;border-radius:46% 54% 40% 60%;color:#385447;transform:rotate(3deg)}
.dt-notebook .dt-sketch svg{width:100%;display:block}
body[data-refonte-page] .dt-notebook .dt-steps{gap:8px;margin:0 0 20px}
body[data-refonte-page] .dt-notebook .dt-steps span{background:transparent;padding:12px 6px;border-radius:0;border-bottom:3px solid #e4e4d9;font-size:14px;color:#68715e}
body[data-refonte-page] .dt-notebook .dt-steps span[aria-current=step]{color:#294c3e;background:transparent;border-color:#bc672f;font-weight:600}
.dt-notebook #dt-form{background:#fff;border:1px solid #e5e5d9;border-radius:24px;padding:32px;box-shadow:0 10px 32px #294c3e06}
.dt-notebook .dt-section-title{display:flex;gap:14px;align-items:flex-start;margin-bottom:28px}
.dt-notebook .dt-section-title h2{font-size:27px;color:#294c3e;margin:0 0 8px}
.dt-notebook .dt-section-title p{color:#68715e;font-size:14px;margin:0}
.dt-notebook .dt-number{display:grid;place-items:center;background:#f7dfc6;color:#70452a;width:38px;height:38px;border-radius:12px;flex:none;font-family:Fredoka,sans-serif;font-size:20px}
.dt-notebook .dt-fields{gap:24px}
.dt-notebook .dt-fields label,.dt-notebook .dt-location>label{font-size:15px;font-weight:600;display:grid;gap:8px}
.dt-notebook .dt-fields small{font-weight:400}
body[data-refonte-page] .dt-notebook :is(input:not([type=checkbox]):not([type=radio]),textarea){border-color:#c8cec2;background:#fffefb;border-radius:12px;padding:13px 14px}
.dt-notebook textarea{min-height:110px}
.dt-notebook input::placeholder,.dt-notebook textarea::placeholder{color:#74786d;opacity:1}
.dt-notebook .dt-choices{padding:0;border:0;margin:0;min-width:0;display:flex;gap:9px;flex-wrap:wrap}
.dt-notebook .dt-choices legend{margin-bottom:12px;font-size:15px;font-weight:600}
.dt-notebook .dt-choices label{position:relative;display:flex;min-width:0;font-weight:400}
.dt-notebook .dt-choices input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}
.dt-notebook .dt-choices label span{display:flex;align-items:center;min-height:46px;padding:10px 16px;border:1px solid #d7ddcf;border-radius:24px;cursor:pointer;background:#fff;color:#46513e;font-size:14px}
.dt-notebook .dt-choices input:checked+span{background:#eaf0e2;border-color:#516b43;color:#294c3e;box-shadow:inset 0 0 0 1px #516b43}
.dt-notebook .dt-choices input:focus-visible+span{outline:2px solid #294c3e;outline-offset:3px}
.dt-notebook .dt-period{margin:28px 0}
.dt-notebook .dt-check{font-weight:400!important;font-size:14px!important;align-items:center;margin:12px 0}
.dt-notebook .dt-check input{accent-color:#3f624c}
.dt-notebook .dt-extra{border:1px solid #e3e6dc;border-radius:12px;padding:4px 16px;background:#fafbf7}
.dt-notebook .dt-extra summary{cursor:pointer;min-height:48px;padding:12px 0;font-size:14px;font-weight:500}
.dt-notebook .dt-extra summary small{margin-left:8px}
.dt-notebook .dt-extra label{margin:8px 0 14px}
.dt-notebook .dt-privacy{font-size:13px;color:#626b59;line-height:1.6;margin:24px 0 0;padding-left:14px;border-left:3px solid #d7dfcc}
.dt-notebook .dt-actions{justify-content:space-between;margin-bottom:0;gap:12px}
.dt-notebook .dt-actions .dt-primary{margin-left:auto;background:#294c3e!important;color:#fff!important;border-color:#294c3e!important;padding:13px 24px!important}
.dt-notebook .dt-upload{padding:24px;background:#f4efe4;border:1px dashed #b8aa8a;border-radius:18px}
.dt-notebook .dt-upload h3{color:#4f5744;font-size:23px;max-width:28ch}
.dt-notebook .dt-upload p{font-size:14px;color:#656552}
.dt-notebook .dt-upload label{font-weight:600;font-size:14px;display:grid;gap:10px}
.dt-notebook .dt-upload label small{font-weight:400}
.dt-notebook .dt-upload input[type=file]{background:#fff!important;font-size:13px!important;padding:8px!important;border:0!important}
.dt-notebook input::file-selector-button{border:0;background:#e5eadb;border-radius:18px;padding:10px 14px;margin-right:8px;color:#294c3e;cursor:pointer}
.dt-notebook .dt-budget-choice{border-top:1px solid #e8e8df;padding-top:22px}
.dt-notebook .dt-budget-choice legend{padding-top:18px}
.dt-notebook .dt-budget-choice legend small{font-weight:400;margin-left:8px}
.dt-notebook .dt-recap-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}
.dt-notebook .dt-recap-head h3{font-size:20px;margin:0;color:#294c3e}
.dt-notebook #dt-recap dl{background:#f7f8f3;padding:8px 18px;border-radius:16px}
.dt-notebook #dt-recap dl>div:last-child{border:0}
.dt-notebook .dt-location{position:relative}
.dt-notebook .dt-location>input{margin-top:8px}
.dt-notebook .dt-location>small{display:block;margin-top:8px}
.dt-page #dt-main.dt-notebook .dt-text-button{padding:8px 0;min-height:44px;background:transparent;border:0;text-align:left;text-decoration:underline;font-size:13px;justify-content:flex-start;color:#425d3f}
.dt-notebook #dt-manual{margin-top:12px}
.dt-notebook #dt-communes{position:absolute;z-index:10;top:82px;left:0;right:0;max-height:260px;overflow:auto;margin:0;padding:6px;background:white;border:1px solid #b4c2a9;border-radius:12px;box-shadow:0 12px 26px #294c3e20;list-style:none}
.dt-notebook #dt-communes li{padding:12px;min-height:44px;cursor:pointer;border-radius:8px;font-size:15px}
.dt-notebook #dt-communes li:hover,.dt-notebook #dt-communes li[aria-selected=true]{background:#eaf0e2}
@media(max-width:600px){
 body.dt-page #dt-main.dt-notebook{margin:24px auto;padding:0 16px 32px}
 .dt-notebook .dt-intro{gap:10px;align-items:flex-start;margin-bottom:20px}
 .dt-notebook .dt-sketch{width:74px;margin-top:26px}
 .dt-notebook .dt-intro h1{font-size:30px;line-height:1.12}
 .dt-notebook .dt-intro p{font-size:14px}
 .dt-notebook .dt-eyebrow{font-size:10px;letter-spacing:.05em}
 body[data-refonte-page] .dt-notebook .dt-steps span{font-size:12px;padding:10px 0}
 .dt-notebook #dt-form{padding:22px 18px;border-radius:20px}
 .dt-notebook .dt-section-title{gap:10px;margin-bottom:22px}
 .dt-notebook .dt-section-title h2{font-size:23px}
 .dt-notebook .dt-number{width:30px;height:30px;font-size:17px;border-radius:10px}
 .dt-notebook .dt-fields{gap:22px}
 .dt-notebook .dt-choices{gap:8px}
 .dt-notebook .dt-choices label span{padding:10px 13px;font-size:13px}
 .dt-notebook .dt-upload{padding:18px}
 .dt-notebook .dt-upload h3{font-size:21px}
 .dt-notebook .dt-recap-head{align-items:flex-start;flex-direction:column;gap:6px}
 .dt-notebook .dt-actions{flex-direction:column-reverse}
 .dt-notebook .dt-actions>*{width:100%}
}

/* Remplacer une photo existante sans modifier le reste de la demande. */
.dt-photo-management{margin:16px 0}.dt-photo-management>p{font-size:13px;color:#625c55}.dt-photo-managed{min-width:0}.dt-photo-managed img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px}.dt-replace-label{display:block;margin:8px 0 12px;font-size:12px;font-weight:600;color:#3b513f;cursor:pointer}.dt-page .dt-photo-managed .dt-replace-label input[type=file]{display:block;width:100%;font-size:11px;min-height:0;margin-top:5px;padding:4px;background:#fff}
