:root{color-scheme:light;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#2c1d32;background:#f7f3ef;line-height:1.5;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}.masthead{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem clamp(1rem,4vw,2.5rem);background:#2e1a37;color:#fff6fa}.masthead a{color:inherit;text-decoration:none}.brand{font-size:1.25rem;font-weight:750}.brand span{display:block;font-size:.85rem;font-weight:500}.back{padding:.55rem .8rem;border:1px solid #b092b7;border-radius:.5rem}
main{max-width:86rem;margin:auto;padding:1.5rem clamp(1rem,3vw,2rem) 3rem}.page-heading{margin-bottom:1.2rem}.eyebrow{font-size:.76rem;letter-spacing:.1em;font-weight:750;color:#75517e}.page-heading h1{margin:0;font:700 clamp(2.2rem,5vw,3.4rem)/1.1 Georgia,"Times New Roman",serif;letter-spacing:-.035em}.page-heading>p:last-child{max-width:70ch}.workspace{display:grid;grid-template-columns:minmax(16rem,.8fr) minmax(0,2fr);gap:1rem;align-items:start}.editor-stack{display:grid;gap:1rem;min-width:0}.panel{padding:1.25rem;border:1px solid #dfd3dd;border-radius:.8rem;background:#fffdfa;min-width:0}.row{display:flex;justify-content:space-between;align-items:center;gap:1rem}h2{font-size:1.2rem;line-height:1.3;margin:0 0 1rem}.row h2{margin:0}.row{margin-bottom:1rem}h3{font-size:1.05rem}.muted{color:#655369;font-size:.91rem}.badge{font-size:.8rem;padding:.3rem .55rem;background:#efe6f1;color:#67326e;border-radius:.4rem}.recipient-summary{overflow-wrap:anywhere;padding:.8rem;background:#f5eff6;border-radius:.4rem}
button,.button{display:inline-block;min-width:0;min-height:2.7rem;padding:.65rem .85rem;border:1px solid #67326e;border-radius:.5rem;background:#67326e;color:#fff;font:650 1rem/1.2 inherit;cursor:pointer;text-decoration:none;touch-action:manipulation}button{font-family:inherit;font-size:1rem}.quiet{background:#fffdfa;color:#67326e;border-color:#d4c0d7}button:hover:not(:disabled){filter:brightness(.95)}button:disabled{opacity:.55;cursor:default}.form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e5dce7}fieldset{min-width:0;margin:0;padding:0;border:0}label{display:block;font-weight:650;margin:.85rem 0 .3rem}input,select,textarea{width:100%;max-width:100%;min-width:0;min-height:2.7rem;padding:.55rem .65rem;border:1px solid #bfaec2;border-radius:.4rem;background:#fff;color:inherit;font:inherit}textarea{line-height:1.55;resize:vertical}.field-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:1rem}.prospect-list,.draft-list{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.45rem}.prospect-list button,.draft-list button{display:block;width:100%;text-align:left;color:#37213f;background:#f5edf4;border-color:#d7c5d9}.prospect-list button[aria-current=true],.draft-list button[aria-current=true]{border-color:#67326e;box-shadow:inset 4px 0 #67326e}.prospect-list strong,.prospect-list small,.draft-list small{display:block;overflow-wrap:anywhere}.prospect-list small,.draft-list small{font-size:.82rem;font-weight:450;color:#65536a;margin-top:.25rem}.next-date.overdue{color:#8a283b;font-weight:650}.video-selection{margin-top:1.3rem;padding-top:.8rem;border-top:1px solid #e5dce7}.video-selection legend{font-weight:750}.video-row{display:flex;align-items:flex-start;gap:.6rem;border:1px solid #e5dce7;border-radius:.4rem;padding:.65rem;margin:.5rem 0}.video-row .check{flex:1;min-width:0;margin:0}.video-row button{flex:none;font-size:.86rem;min-height:2.4rem;padding:.5rem .65rem}.check{display:flex;align-items:flex-start;gap:.6rem;font-weight:500}.check input{flex:0 0 1.15rem;width:1.15rem;height:1.15rem;min-height:1.15rem;margin:.2rem 0 0;padding:0;accent-color:#67326e}.check small{display:block;color:#655369;font-size:.84rem}.send-review{margin-top:1.4rem;border-top:1px solid #e5dce7;padding-top:.7rem}.send-review>button{margin-top:.8rem}.send-review .check{padding:.75rem;background:#f7eff7;border:1px solid #dfcde2;border-radius:.4rem}#prospection-status{min-height:1.5em;color:#5f3568}#prospection-status[data-error=true]{color:#8a283b}#prepare-draft{margin-top:1rem}dialog{width:min(90vw,52rem);max-height:90dvh;overflow:auto;padding:1.2rem;border:1px solid #c7a8ce;border-radius:.8rem;background:#fffdfa;color:#2c1d32}dialog::backdrop{background:#24122d99}video{display:block;width:100%;max-height:60dvh;background:#22112b;border-radius:.5rem}:focus-visible{outline:3px solid #ae7cbe;outline-offset:3px}noscript{display:block;margin:1rem}
@media(max-width:800px){.workspace{grid-template-columns:1fr}.prospect-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.field-grid{grid-template-columns:1fr}.prospect-list{grid-template-columns:1fr}.panel{padding:1rem}.masthead{align-items:flex-start}.back{max-width:8rem}.row{flex-wrap:wrap}.video-row{flex-wrap:wrap}.video-row .check{flex-basis:100%}.form-actions>button{width:100%}}
.exact-preview{padding:.8rem 1rem;border:1px solid #e0d3e2;border-radius:.5rem;background:#fff}.exact-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:.8rem 0}.contact-source,.contact-search,#official-directories{margin-top:1.2rem;padding-top:.8rem;border-top:1px solid #e5dce7}summary{font-weight:650;cursor:pointer}.lookup-results{list-style:none;padding:0;margin:.65rem 0;display:grid;gap:.6rem}.lookup-results li{padding:.65rem;border:1px solid #e5dce7;border-radius:.4rem;overflow-wrap:anywhere}.lookup-results li>strong,.lookup-results li>small{display:block}.lookup-results button{margin-top:.45rem;font-size:.88rem}.lookup-results a,#directory-links a{overflow-wrap:anywhere}#search-communes{margin-top:.55rem}button,.button{font:inherit;font-weight:650;line-height:1.2}
.prospection-tabs,.prospect-group,.prospect-watch{grid-column:1/-1}
.prospection-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.prospection-tabs button{--ink:#562669;--surface:#f4e8fa;display:flex;align-items:center;gap:.75rem;min-height:4.9rem;padding:.9rem 1rem;border:2px solid transparent;border-radius:.8rem;background:var(--surface);color:var(--ink);text-align:left}
#tab-emplacement{--ink:#105c46;--surface:#ddf4ea}#tab-approvisionnement{--ink:#794312;--surface:#fff0d7}
.prospection-tabs button[aria-selected=true]{border-color:var(--ink);box-shadow:inset 0 -4px var(--ink)}
.prospection-tabs button span{font-size:1.45rem;line-height:1}
.watch-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.9rem;flex-wrap:wrap}
.watch-header h2{margin:0 0 .45rem}.watch-header .badge{display:inline-block;margin:0;background:#eee9ee;color:#503e55;font-weight:700}
.watch-header .badge[data-state=enabled],.watch-header .badge[data-state=running]{background:#dcf3e9;color:#105c46}
#watch-feedback{color:#8a283b}#watch-info{margin-bottom:.6rem}#watch-history h3{margin:1rem 0 .5rem}
#watch-reports details{margin-top:.45rem;padding:.55rem .75rem;border:1px solid #e3d7e1;border-radius:.45rem}
.watch-leads{display:grid;gap:.6rem;padding-left:1.3rem}.watch-leads span,.watch-leads a{display:block;overflow-wrap:anywhere}
@media(max-width:600px){.prospection-tabs{grid-template-columns:1fr;gap:.5rem}.prospection-tabs button{min-height:3rem;padding:.6rem .8rem}}
