:root{--scrm-bg:#f7f3ec;--scrm-panel:#fffdf8;--scrm-panel-2:#fbf7ef;--scrm-text:#24232d;--scrm-muted:#7d7368;--scrm-line:#e9dfd1;--scrm-gold:#b8892f;--scrm-gold-2:#d8b25d;--scrm-red:#c84d4f;--scrm-green:#3c9566;--scrm-shadow:0 18px 55px rgba(65,48,22,.09);--scrm-soft:0 8px 24px rgba(65,48,22,.055)}
body.scrm-front-body{overflow-x:hidden!important;background:var(--scrm-bg)!important;color:var(--scrm-text)!important}.scrm-front-shell{background:var(--scrm-bg)!important}.scrm-front-shell>.scrm-app,.scrm-front-shell>.wrap,.scrm-front-shell .scrm-main:not(.scrm-v2-main){display:none!important}
.scrm-v2-app{min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(115deg,#f8f3eb 0%,#fffaf1 45%,#f7f2ea 100%);color:var(--scrm-text);font-size:14px;line-height:1.45}.scrm-v2-app *{box-sizing:border-box}.scrm-v2-sidebar{position:sticky;top:0;height:100vh;padding:28px 22px;display:flex;flex-direction:column;border-right:1px solid rgba(176,139,45,.14);background:rgba(255,251,244,.56);backdrop-filter:blur(18px)}.scrm-v2-logo{text-align:center;margin:2px 0 34px;font-family:Georgia,serif}.scrm-v2-logo strong{display:block;font-size:27px;font-weight:400;font-style:italic;letter-spacing:-.03em}.scrm-v2-logo span{font:700 10px/1 Inter,sans-serif;letter-spacing:.28em;color:var(--scrm-gold)}.scrm-v2-sidebar nav{display:flex;flex-direction:column;gap:6px}.scrm-v2-sidebar a{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:14px;color:#665d54;text-decoration:none;font-weight:650;font-size:14px;transition:.16s ease}.scrm-v2-sidebar a .dashicons{font-size:17px;width:17px;height:17px;color:#9a8d7e}.scrm-v2-sidebar a:hover,.scrm-v2-sidebar a.active{background:#efe3d3;color:#9b6d1f}.scrm-v2-sidebar a.active .dashicons{color:#9b6d1f}.scrm-v2-user{margin-top:auto;display:flex;align-items:center;gap:10px;padding:12px;border-radius:16px;background:rgba(255,255,255,.45)}.scrm-v2-user strong{display:block;font-size:13px}.scrm-v2-user small{display:block;color:var(--scrm-muted);font-size:12px}.scrm-v2-avatar{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#ecd9ba;color:#8c6424;font-weight:750;flex:0 0 34px}.scrm-v2-main{min-width:0;padding:0 38px 48px}.scrm-v2-topbar{height:84px;display:flex;align-items:center;justify-content:space-between;gap:18px}.scrm-v2-actions{display:flex;gap:12px;align-items:center}.scrm-v2-btn{border:1px solid rgba(176,139,45,.25);background:rgba(255,253,248,.72);color:#7b5a22;border-radius:14px;padding:10px 15px;font-weight:720;font-size:13px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;box-shadow:var(--scrm-soft);cursor:pointer;text-decoration:none;transition:.16s ease}.scrm-v2-btn span{font-weight:750}.scrm-v2-btn:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(65,48,22,.09)}.scrm-v2-btn.primary{background:linear-gradient(180deg,#cfa04a,#b98329);color:#fff;border-color:rgba(156,104,32,.32);text-shadow:0 1px 0 rgba(0,0,0,.08)}.scrm-v2-btn.ghost{background:rgba(255,253,248,.78);color:#835f25}.scrm-v2-btn.small{min-height:34px;padding:7px 12px;border-radius:12px;font-size:12px}.scrm-v2-btn.danger{color:#b94848;border-color:rgba(185,72,72,.25)}.scrm-v2-title{display:flex;align-items:flex-end;justify-content:space-between;margin:0 0 26px}.scrm-v2-title h1{font-family:Georgia,"Times New Roman",serif;font-size:42px;line-height:1.02;font-weight:400;letter-spacing:-.055em;margin:0;color:#25232b}.scrm-v2-title p{margin:10px 0 0;color:var(--scrm-muted);font-size:15px}.scrm-v2-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.scrm-v2-stats div,.scrm-v2-card{background:rgba(255,253,248,.82);border:1px solid rgba(176,139,45,.14);border-radius:24px;box-shadow:var(--scrm-shadow)}.scrm-v2-stats div{padding:23px 24px}.scrm-v2-stats b{display:block;font-family:Georgia,serif;font-size:31px;font-weight:500;line-height:1;margin-bottom:8px}.scrm-v2-stats span{font-weight:700;color:#71685f}.scrm-v2-grid{display:grid;gap:22px;margin-bottom:22px}.scrm-v2-grid.two{grid-template-columns:1fr 1fr}.scrm-v2-grid.project{grid-template-columns:minmax(280px,.8fr) minmax(420px,1.4fr);align-items:start}.scrm-v2-grid.client{grid-template-columns:330px 1fr;align-items:start}.scrm-v2-grid.production{grid-template-columns:1fr}.scrm-v2-card{padding:24px}.scrm-v2-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.scrm-v2-card h2{font-family:Georgia,serif;font-size:24px;font-weight:400;letter-spacing:-.035em;margin:0}.scrm-v2-card a{color:#856327;text-decoration:none;font-weight:700}.scrm-v2-count{min-width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e2bd62;color:#fff;font-weight:800}.scrm-v2-list{display:flex;flex-direction:column}.scrm-v2-task-row,.scrm-v2-session-row{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:15px 2px;border-bottom:1px solid var(--scrm-line);text-decoration:none;color:inherit}.scrm-v2-session-row{grid-template-columns:auto minmax(0,1fr) auto}.scrm-v2-task-row:last-child,.scrm-v2-session-row:last-child{border-bottom:0}.scrm-v2-check{display:inline-flex;align-items:center;justify-content:center;position:relative;width:30px;height:30px;flex:0 0 30px}.scrm-v2-check input{position:absolute!important;opacity:0!important;pointer-events:none!important}.scrm-v2-check span{width:25px;height:25px;border:2px solid #d4c6b5;border-radius:8px;background:#fffdf8;display:block;transition:.14s ease;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}.scrm-v2-check input:checked+span{background:#b8892f;border-color:#b8892f}.scrm-v2-check input:checked+span:after{content:"✓";display:block;text-align:center;color:#fff;font-weight:900;line-height:21px;font-size:15px}.scrm-v2-select,.scrm-v2-prod-select{width:18px!important;height:18px!important;accent-color:#b8892f}.scrm-v2-row-main{min-width:0}.scrm-v2-row-main strong,.scrm-v2-session-row strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;line-height:1.25}.scrm-v2-row-main small,.scrm-v2-session-row small{display:block;color:var(--scrm-muted);font-size:13px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scrm-v2-due{color:var(--scrm-red);font-weight:800;text-align:right;min-width:88px}.scrm-v2-empty{color:var(--scrm-muted);margin:0;padding:16px 0}.scrm-v2-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800;background:#f3eadb;color:#8a6227;white-space:nowrap}.scrm-v2-badge.is_confirme,.scrm-v2-badge.is-confirmé{background:#ddf7ed;color:#23865a}.scrm-v2-badge.is_en_attente,.scrm-v2-badge.is-demande_recue{background:#fff1d4;color:#a17324}.scrm-v2-badge.is_livraison,.scrm-v2-badge.is_livre{background:#e7f6dc;color:#4f8b35}.scrm-v2-pipeline,.scrm-v2-prod-pipeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.scrm-v2-pipeline div,.scrm-v2-prod-pipeline div{padding:13px;border:1px solid rgba(176,139,45,.15);border-radius:16px;background:rgba(255,250,243,.6)}.scrm-v2-pipeline span{display:block;width:10px;height:10px;border-radius:50%;background:#d9b45c;margin-bottom:8px}.scrm-v2-pipeline strong,.scrm-v2-prod-pipeline strong{display:block;font-size:12px;color:#675c50}.scrm-v2-pipeline b,.scrm-v2-prod-pipeline b{font-size:22px;font-family:Georgia,serif}.scrm-v2-project-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.scrm-v2-project-card{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid rgba(176,139,45,.14);border-radius:18px;background:rgba(255,250,243,.58);text-decoration:none;color:inherit}.scrm-v2-project-card strong{font-size:14px}.scrm-v2-project-card small{color:var(--scrm-muted)}.scrm-v2-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap}.scrm-v2-toolbar input[type="search"],.scrm-v2-toolbar input:not([type]){min-width:250px;flex:1}.scrm-v2-table{width:100%;border-collapse:separate;border-spacing:0}.scrm-v2-table th{text-align:left;font-size:12px;color:#8a7d6e;font-weight:800;padding:0 12px 12px}.scrm-v2-table td{padding:14px 12px;border-top:1px solid var(--scrm-line);vertical-align:middle}.scrm-v2-table tr:hover td{background:rgba(184,137,47,.035)}.scrm-v2-link{font-weight:800;color:#8a6428;text-decoration:none}.scrm-v2-dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:9px 14px;margin:0}.scrm-v2-dl dt{font-size:12px;color:#8a7d6e;font-weight:800}.scrm-v2-dl dd{margin:0;font-weight:650;min-width:0}.scrm-v2-back{display:inline-flex;margin:0 0 18px;color:#9a702a;text-decoration:none;font-weight:800}.scrm-v2-settings{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px}.scrm-v2-settings nav{display:flex;flex-direction:column;gap:8px}.scrm-v2-settings nav button{border:0;background:transparent;text-align:left;border-radius:14px;padding:12px 14px;font-weight:800;color:#62584e;cursor:pointer}.scrm-v2-settings nav button.active{background:#efe3d3;color:#9b6d1f}.scrm-v2-inline-check{display:inline-flex;align-items:center;gap:8px;font-weight:750;color:#5d5146}.scrm-v2-inline-check input{accent-color:#b8892f}.scrm-v2-modal{position:fixed;inset:0;background:rgba(32,28,24,.42);backdrop-filter:blur(4px);display:none;align-items:flex-start;justify-content:center;padding:28px;z-index:999999}.scrm-v2-modal.open{display:flex}.scrm-v2-modal-box{width:min(680px,94vw);max-height:calc(100vh - 56px);overflow:auto;background:#fffdf8;border:1px solid rgba(176,139,45,.18);border-radius:28px;box-shadow:0 28px 90px rgba(29,22,12,.22);padding:30px;position:relative}.scrm-v2-modal-box.project{width:min(1040px,94vw)}.scrm-v2-modal-close{position:absolute;right:18px;top:18px;width:38px;height:38px;border-radius:14px;border:1px solid rgba(176,139,45,.25);background:#fffaf2;color:#9b6d1f;font-size:24px;line-height:1;cursor:pointer}.scrm-v2-modal h2{font-family:Georgia,serif;font-weight:400;font-size:38px;line-height:1;margin:0 0 8px;letter-spacing:-.05em}.scrm-v2-modal p{color:var(--scrm-muted);margin:0 0 22px}.scrm-v2-modal section{border:1px solid rgba(176,139,45,.13);border-radius:22px;background:#fbf7ef;padding:20px;margin:0 0 16px}.scrm-v2-modal h3{margin:0 0 16px;font-size:16px;color:#4e453d}.scrm-v2-form-grid{display:grid;gap:14px;margin-bottom:14px}.scrm-v2-form-grid.two{grid-template-columns:1fr 1fr}.scrm-v2-form-grid.participant{grid-template-columns:1fr 1fr 44px}.scrm-v2-modal label{display:block;font-weight:800;color:#51473d;font-size:13px;margin-bottom:12px}.scrm-v2-modal input,.scrm-v2-modal select,.scrm-v2-modal textarea,.scrm-v2-toolbar input{width:100%;border:1px solid #dfd2c0;border-radius:14px;background:#fffefb;color:#282630;padding:12px 13px;font-size:14px;outline:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.92)}.scrm-v2-modal textarea{resize:vertical}.scrm-v2-choice{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:14px}.scrm-v2-choice label{display:flex;align-items:center;gap:8px;margin:0}.scrm-v2-choice input{width:auto}.scrm-v2-client-results{display:none;max-height:230px;overflow:auto;margin-top:8px;border:1px solid rgba(176,139,45,.16);border-radius:16px;background:#fffaf3;padding:7px}.scrm-v2-client-results.open{display:block}.scrm-v2-client-results button{display:block;width:100%;text-align:left;border:0;background:transparent;border-radius:12px;padding:10px 12px;cursor:pointer}.scrm-v2-client-results button:hover,.scrm-v2-client-results button.active{background:rgba(184,137,47,.11)}.scrm-v2-client-results strong,.scrm-v2-client-results small{display:block}.scrm-v2-client-results small{color:var(--scrm-muted)}.scrm-v2-modal footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.scrm-v2-toast{position:fixed;right:22px;bottom:22px;background:#2d2a25;color:#fff;border-radius:16px;padding:13px 16px;box-shadow:0 18px 45px rgba(0,0,0,.2);z-index:1000000;font-weight:750}.scrm-v2-toast.error{background:#a73535}
@media(max-width:1080px){.scrm-v2-app{grid-template-columns:82px minmax(0,1fr)}.scrm-v2-sidebar{padding:20px 12px}.scrm-v2-logo span,.scrm-v2-sidebar a:not(.active){font-size:0}.scrm-v2-sidebar a{justify-content:center}.scrm-v2-sidebar a.active{font-size:0}.scrm-v2-user div{display:none}.scrm-v2-main{padding:0 22px 36px}.scrm-v2-stats{grid-template-columns:repeat(2,1fr)}.scrm-v2-grid.two,.scrm-v2-grid.project,.scrm-v2-grid.client{grid-template-columns:1fr}}@media(max-width:720px){.scrm-v2-app{display:block}.scrm-v2-sidebar{position:static;height:auto;display:block}.scrm-v2-sidebar nav{display:grid;grid-template-columns:repeat(3,1fr)}.scrm-v2-main{padding:0 14px 28px}.scrm-v2-topbar{height:auto;padding:14px 0}.scrm-v2-actions{width:100%;justify-content:space-between}.scrm-v2-title h1{font-size:34px}.scrm-v2-stats{grid-template-columns:1fr}.scrm-v2-card{padding:18px}.scrm-v2-task-row{grid-template-columns:auto minmax(0,1fr);gap:10px}.scrm-v2-task-row>.scrm-v2-select{grid-row:1}.scrm-v2-task-row>.scrm-v2-check{grid-column:1}.scrm-v2-due{grid-column:2;text-align:left}.scrm-v2-form-grid.two,.scrm-v2-form-grid.participant{grid-template-columns:1fr}.scrm-v2-table{font-size:12px}.scrm-v2-table th:nth-child(3),.scrm-v2-table td:nth-child(3),.scrm-v2-table th:nth-child(4),.scrm-v2-table td:nth-child(4){display:none}}

/* Studio CRM V2.4.0 — module finishing */
.scrm-v2-form-stack{display:flex;flex-direction:column;gap:14px}.scrm-v2-form-stack label{font-size:13px;font-weight:750;color:#544a40}.scrm-v2-form-stack input,.scrm-v2-form-stack select,.scrm-v2-form-stack textarea{width:100%;border:1px solid #dfd2c0;border-radius:14px;background:#fffefb;color:#282630;padding:12px 13px;font-size:14px;outline:none}.scrm-v2-data-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--scrm-line)}.scrm-v2-data-row:last-child{border-bottom:0}.scrm-v2-data-row strong{display:block;font-size:14px}.scrm-v2-data-row small{display:block;color:var(--scrm-muted);font-size:12px;margin-top:3px}.scrm-v2-mini-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:16px}.scrm-v2-mini-list>div{border:1px solid rgba(176,139,45,.13);background:rgba(255,250,243,.55);border-radius:16px;padding:12px}.scrm-v2-mini-list strong{display:block;font-size:13px}.scrm-v2-mini-list small{display:block;color:var(--scrm-muted);font-size:12px;margin-top:4px}.scrm-v2-table td small{display:block;color:var(--scrm-muted);font-size:12px;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scrm-v2-btn.danger{background:#fff1ef;color:#a43f36;border-color:#efc6c0}.scrm-v2-btn.ghost{background:#fffaf3;color:#7b633b;border:1px solid rgba(176,139,45,.2)}

/* Studio CRM V2.5.0 — polish + functional corrections */
.scrm-v2-topbar{height:70px;}
.scrm-v2-actions .scrm-v2-btn{box-shadow:none;background:rgba(255,253,248,.68);border-color:rgba(184,137,47,.22);font-weight:650;letter-spacing:-.01em;}
.scrm-v2-actions .scrm-v2-btn.primary{background:rgba(184,137,47,.12);color:#76551f;border-color:rgba(184,137,47,.26);text-shadow:none;}
.scrm-v2-actions .scrm-v2-btn.ghost{background:rgba(255,253,248,.7);}
.scrm-v2-card{padding:26px;}
.scrm-v2-grid.client{display:none!important;}
.scrm-v2-client-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:24px;align-items:start;}
.scrm-v2-client-aside{display:flex;flex-direction:column;gap:24px;}
.scrm-v2-client-projects{min-height:100%;}
.scrm-v2-client-projects .scrm-v2-project-card{margin-bottom:12px;}
.scrm-v2-help{font-size:12px;color:var(--scrm-muted);font-weight:600;}
.scrm-v2-toolbar-check{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#675c50;}
.scrm-v2-toolbar-check input,
.scrm-v2-inline-check input,
.scrm-v2-select,
.scrm-v2-prod-select{appearance:none!important;-webkit-appearance:none!important;width:20px!important;height:20px!important;border:1.7px solid #d2c4b2!important;border-radius:7px!important;background:linear-gradient(180deg,#fffefa,#fbf6ec)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 3px 9px rgba(64,45,20,.04)!important;display:inline-grid!important;place-content:center!important;margin:0!important;vertical-align:middle!important;}
.scrm-v2-toolbar-check input:checked,
.scrm-v2-inline-check input:checked,
.scrm-v2-select:checked,
.scrm-v2-prod-select:checked{background:#b8892f!important;border-color:#b8892f!important;}
.scrm-v2-toolbar-check input:checked:after,
.scrm-v2-inline-check input:checked:after,
.scrm-v2-select:checked:after,
.scrm-v2-prod-select:checked:after{content:"✓";color:#fff;font-size:14px;line-height:1;font-weight:900;}
.scrm-v2-check{width:34px;height:34px;}
.scrm-v2-check span{width:28px;height:28px;border:1.8px solid #d2c4b2;border-radius:9px;background:linear-gradient(180deg,#fffefa,#fbf6ec);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 4px 12px rgba(64,45,20,.04);}
.scrm-v2-check input:checked+span{background:#b8892f;border-color:#b8892f;}
.scrm-v2-check input:checked+span:after{line-height:25px;font-size:16px;}
.scrm-v2-task-row{grid-template-columns:auto minmax(0,1fr) auto;}
.scrm-v2-task-row > .scrm-v2-select + .scrm-v2-check{margin-left:2px;}
.scrm-v2-list .scrm-v2-task-row:has(.scrm-v2-select){grid-template-columns:auto auto minmax(0,1fr) auto;}
.scrm-v2-settings .scrm-v2-mini-list{display:flex;flex-direction:column;gap:10px;margin-top:18px;}
.scrm-v2-settings .scrm-v2-mini-list>div{padding:14px 16px;border:1px solid rgba(184,137,47,.14);border-radius:16px;background:rgba(255,250,243,.62);}
.scrm-v2-settings .scrm-v2-mini-list strong{display:block;font-size:14px;}
.scrm-v2-settings .scrm-v2-mini-list small{display:block;color:var(--scrm-muted);font-size:12px;margin-top:3px;}
@media(max-width:1000px){.scrm-v2-client-layout{grid-template-columns:1fr}.scrm-v2-client-projects{min-height:auto}}

/* Studio CRM V2.6.0 — production rebuild + next phase */
.scrm-v2-production-page{display:grid;gap:22px;margin-bottom:28px;}
.scrm-v2-production-pipeline .scrm-v2-prod-pipeline{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;}
.scrm-v2-prod-stage{appearance:none;border:1px solid rgba(184,137,47,.16);background:rgba(255,250,243,.72);border-radius:18px;padding:15px 16px;min-height:82px;text-align:left;cursor:pointer;transition:.16s ease;color:var(--scrm-text);box-shadow:none;}
.scrm-v2-prod-stage:hover,.scrm-v2-prod-stage.active{background:#fff7e8;border-color:rgba(184,137,47,.36);transform:translateY(-1px)}
.scrm-v2-prod-stage span{display:block;font-size:12px;font-weight:750;color:#6f6458;margin-bottom:8px;}
.scrm-v2-prod-stage strong{display:block;font-family:Georgia,serif;font-size:25px;font-weight:500;line-height:1;color:#24232d;}
.scrm-v2-production-actions>header{align-items:flex-start;}
.scrm-v2-production-actions>header p{margin:6px 0 0;color:var(--scrm-muted);font-size:13px;}
.scrm-v2-prod-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0 18px;margin-bottom:4px;border-bottom:1px solid var(--scrm-line);}
.scrm-v2-prod-list{display:flex;flex-direction:column;}
.scrm-v2-prod-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto 42px;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--scrm-line);}
.scrm-v2-prod-row:last-child{border-bottom:0;}
.scrm-v2-prod-content{min-width:0;}
.scrm-v2-prod-content strong{display:block;font-size:14px;line-height:1.3;color:#24232d;font-weight:720;white-space:normal;overflow:visible;text-overflow:clip;}
.scrm-v2-prod-content small{display:block;color:var(--scrm-muted);font-size:12px;margin-top:4px;white-space:normal;}
.scrm-v2-prod-meta{display:flex;align-items:center;gap:10px;justify-content:flex-end;min-width:190px;}
.scrm-v2-prod-meta>span{font-size:13px;color:var(--scrm-red);font-weight:750;white-space:nowrap;}
.scrm-v2-icon-btn{width:38px;height:38px;border-radius:13px;border:1px solid rgba(184,137,47,.22);background:#fffaf3;color:#8a6428;font-weight:850;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:.16s ease;}
.scrm-v2-icon-btn:hover{background:#b8892f;color:#fff;border-color:#b8892f;transform:translateY(-1px)}
.scrm-v2-check-label{display:inline-flex;align-items:center;gap:9px;font-weight:750;color:#62584e;cursor:pointer;}
.scrm-v2-check-label input{position:absolute;opacity:0;pointer-events:none;}
.scrm-v2-check-label>span{width:22px;height:22px;border:1.7px solid #d2c4b2;border-radius:7px;background:linear-gradient(180deg,#fffefa,#fbf6ec);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 3px 9px rgba(64,45,20,.04);display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;}
.scrm-v2-check-label input:checked+span{background:#b8892f;border-color:#b8892f;}
.scrm-v2-check-label input:checked+span:after{content:"✓";color:#fff;font-size:14px;line-height:1;font-weight:900;}
.scrm-v2-check-label.select-only{gap:0;}
.scrm-v2-check-label.select-only>span{width:22px;height:22px;}
.scrm-v2-production-orders .scrm-v2-table td{padding-top:13px;padding-bottom:13px;}
.scrm-v2-activity-card{grid-column:1/-1;}
.scrm-v2-timeline{display:flex;flex-direction:column;gap:12px;}
.scrm-v2-timeline>div{display:grid;grid-template-columns:14px minmax(0,1fr);gap:12px;align-items:start;padding:0 0 12px;border-bottom:1px solid var(--scrm-line);}
.scrm-v2-timeline>div:last-child{border-bottom:0;padding-bottom:0;}
.scrm-v2-timeline span{width:9px;height:9px;border-radius:50%;background:#d8b25d;margin-top:6px;box-shadow:0 0 0 5px rgba(216,178,93,.12);}
.scrm-v2-timeline strong{font-size:13px;font-weight:760;}
.scrm-v2-timeline small{display:block;color:var(--scrm-muted);font-size:12px;margin-top:3px;}
@media(max-width:1180px){.scrm-v2-production-pipeline .scrm-v2-prod-pipeline{grid-template-columns:repeat(3,minmax(0,1fr));}.scrm-v2-prod-row{grid-template-columns:34px minmax(0,1fr) 42px;}.scrm-v2-prod-meta{grid-column:2/3;justify-content:flex-start;min-width:0;}.scrm-v2-icon-btn{grid-column:3;grid-row:1/3;}}
@media(max-width:720px){.scrm-v2-production-pipeline .scrm-v2-prod-pipeline{grid-template-columns:1fr 1fr;}.scrm-v2-prod-row{grid-template-columns:30px minmax(0,1fr);gap:12px}.scrm-v2-prod-meta{grid-column:2;flex-wrap:wrap}.scrm-v2-icon-btn{grid-column:2;grid-row:auto;justify-self:start}.scrm-v2-prod-stage{min-height:70px}}

/* Studio CRM V2.7.0 — grosse phase Production : commandes d'abord */
.scrm-v2-production-orders.is-main{order:2;}
.scrm-v2-production-actions{order:3;}
.scrm-v2-production-pipeline{order:1;}
.scrm-v2-production-orders.is-main>header p{margin:6px 0 0;color:var(--scrm-muted);font-size:13px;}
.scrm-v2-prod-order-list{display:flex;flex-direction:column;gap:10px;}
.scrm-v2-prod-order-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 16px;border:1px solid rgba(184,137,47,.12);border-radius:18px;background:rgba(255,250,243,.58);transition:.16s ease;}
.scrm-v2-prod-order-row:hover{background:#fff8eb;border-color:rgba(184,137,47,.28);transform:translateY(-1px);}
.scrm-v2-prod-order-main{display:flex;align-items:center;gap:12px;min-width:0;}
.scrm-v2-prod-order-main>div{min-width:0;}
.scrm-v2-prod-order-main strong{display:block;font-size:14px;font-weight:760;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.scrm-v2-prod-order-main small{display:block;color:var(--scrm-muted);font-size:12px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.scrm-v2-prod-order-meta{display:flex;align-items:center;justify-content:flex-end;gap:10px;white-space:nowrap;}
.scrm-v2-prod-order-meta small{font-size:12px;color:#8a7d6e;font-weight:700;}
.scrm-v2-prod-content em{display:block;color:#9a8d7e;font-size:12px;font-style:normal;margin-top:3px;}
.scrm-v2-production-page .scrm-v2-card{margin-bottom:0;}
@media(max-width:900px){.scrm-v2-prod-order-row{grid-template-columns:1fr}.scrm-v2-prod-order-meta{justify-content:flex-start}.scrm-v2-prod-order-main strong,.scrm-v2-prod-order-main small{white-space:normal}}

/* Studio CRM V2.8.0 — production details + bigger phase */
.scrm-v2-prod-order-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 18px;border:1px solid rgba(176,139,45,.13);border-radius:18px;background:rgba(255,250,243,.65);color:inherit;text-decoration:none;transition:.16s ease;}
.scrm-v2-prod-order-row+.scrm-v2-prod-order-row{margin-top:10px;}
.scrm-v2-prod-order-row:hover{transform:translateY(-1px);border-color:rgba(184,137,47,.34);box-shadow:0 14px 36px rgba(63,45,22,.08);background:#fffdf9;}
.scrm-v2-prod-order-main{display:flex;align-items:center;gap:12px;min-width:0;}
.scrm-v2-prod-order-main>div{min-width:0;}
.scrm-v2-prod-order-main strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.scrm-v2-prod-order-main small{display:block;color:var(--scrm-muted);font-size:13px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.scrm-v2-prod-order-meta{display:flex;align-items:center;gap:10px;white-space:nowrap;}
.scrm-v2-prod-order-meta small{color:var(--scrm-muted);font-weight:700;font-size:12px;}
.scrm-v2-open-arrow{width:28px;height:28px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#f4eadb;color:#9a702a;font-size:22px;line-height:1;}
.scrm-v2-prod-detail-grid{margin-bottom:22px;}
.scrm-v2-dl.wide{grid-template-columns:130px minmax(0,1fr);}
.scrm-v2-note{margin-top:18px;padding:14px 16px;border-radius:16px;background:rgba(245,235,219,.58);border:1px solid rgba(176,139,45,.12);}
.scrm-v2-note strong{display:block;margin-bottom:6px;}
.scrm-v2-note p{margin:0;color:var(--scrm-muted);line-height:1.55;}
.scrm-v2-status-form{margin-top:18px;padding-top:18px;border-top:1px solid var(--scrm-line);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;}
.scrm-v2-status-form label{display:block;font-size:13px;font-weight:800;color:#5c5147;}
.scrm-v2-status-form select{margin-top:7px;width:100%;border:1px solid #dfd2c0;border-radius:14px;background:#fffefb;padding:11px 12px;font-weight:750;}
.scrm-v2-action-stack{display:flex;flex-direction:column;gap:10px;align-items:flex-start;}
.scrm-v2-action-stack .scrm-v2-btn{justify-content:center;min-width:190px;text-decoration:none;}
.scrm-v2-prod-list.compact .scrm-v2-prod-row{grid-template-columns:32px minmax(0,1fr) auto 42px;padding:12px 0;}
@media(max-width:900px){.scrm-v2-prod-order-row{grid-template-columns:1fr}.scrm-v2-prod-order-meta{justify-content:space-between}.scrm-v2-status-form{grid-template-columns:1fr}.scrm-v2-prod-detail-grid{grid-template-columns:1fr!important;}}

/* Studio CRM V2.9.0 — corrections fiche production + fiche projet */
.scrm-v2-status-form{
  background:transparent!important;
  border:0!important;
  border-top:1px solid var(--scrm-line)!important;
  border-radius:0!important;
  padding:16px 0 0!important;
  margin-top:18px!important;
  box-shadow:none!important;
}
.scrm-v2-status-form label{margin:0!important;}
.scrm-v2-status-form select{
  height:44px!important;
  border-radius:12px!important;
  font-size:14px!important;
  font-weight:650!important;
}
.scrm-v2-form-stack textarea,
#scrmV2StandaloneBody,
#scrmV2EmailBody{
  font-weight:500!important;
  font-size:14px!important;
  line-height:1.55!important;
}
.scrm-v2-inline-check{
  margin-top:14px;
}
.scrm-v2-inline-check input[type="checkbox"]{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:24px!important;
  height:24px!important;
  flex:0 0 24px!important;
  border:1.7px solid #d2c4b2!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#fffefa,#fbf6ec)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 4px 12px rgba(64,45,20,.04)!important;
  display:inline-grid!important;
  place-content:center!important;
}
.scrm-v2-inline-check input[type="checkbox"]:checked{
  background:#b8892f!important;
  border-color:#b8892f!important;
}
.scrm-v2-inline-check input[type="checkbox"]:checked:after{
  content:"✓";
  color:#fff;
  font-size:15px;
  font-weight:900;
  line-height:1;
}
.scrm-v2-project .scrm-v2-task-row{
  grid-template-columns:auto minmax(0,1fr) auto!important;
}
.scrm-v2-project .scrm-v2-task-row>.scrm-v2-select{
  display:none!important;
}

/* Studio CRM V2.10.0 — correction profonde tâches + fiche production + phases UI */
.scrm-v2-prod-status-strip{
  display:flex!important;
  align-items:end!important;
  gap:14px!important;
  padding:0 0 18px!important;
  margin:0 0 22px!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid rgba(176,139,45,.18)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.scrm-v2-prod-status-strip>div{min-width:180px;}
.scrm-v2-prod-status-strip strong{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#8a7d6e;font-weight:800;margin-bottom:3px;}
.scrm-v2-prod-status-strip span{display:block;font-family:Georgia,serif;font-size:26px;line-height:1;color:#25232b;letter-spacing:-.04em;}
.scrm-v2-prod-status-strip label{display:flex;flex-direction:column;gap:7px;min-width:230px;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#8a7d6e;font-weight:800;}
.scrm-v2-prod-status-strip select{height:38px;border:1px solid #dfd2c0;border-radius:12px;background:#fffdf8;padding:0 12px;font-size:13px;font-weight:650;color:#2f2d2a;}
.scrm-v2-status-form{display:none!important;}
.scrm-v2-task-row{grid-template-columns:auto minmax(0,1fr) auto!important;}
.scrm-v2-task-row>.scrm-v2-select{display:none!important;}
.scrm-v2-task-row .scrm-v2-check{width:28px;height:28px;}
.scrm-v2-task-row .scrm-v2-check span{width:24px;height:24px;border-radius:8px;}
.scrm-v2-task-row .scrm-v2-check input:checked+span:after{line-height:20px;}
.scrm-v2-prod-row{grid-template-columns:32px minmax(0,1fr) auto 38px!important;}
.scrm-v2-prod-row .scrm-v2-prod-select{display:none!important;}
.scrm-v2-check-label.select-only{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;}
.scrm-v2-check-label.select-only span{width:24px;height:24px;border-radius:8px;}
.scrm-v2-mini-list div,.scrm-v2-data-row{align-items:center;}
.scrm-v2-card{overflow:visible;}
@media(max-width:800px){.scrm-v2-prod-status-strip{align-items:stretch!important;flex-direction:column!important}.scrm-v2-prod-status-strip label{min-width:0;width:100%}}

/* Phase 1 V2.10 — dashboard plus respirant */
.scrm-v2-stats div{min-height:104px;display:flex;flex-direction:column;justify-content:center;}
.scrm-v2-list .scrm-v2-task-row:first-child{padding-top:4px;}
.scrm-v2-card>header h2{line-height:1.1;}

/* Phase 2 V2.10 — tableaux et listes homogènes */
.scrm-v2-table tbody tr td:first-child strong{font-weight:720;}
.scrm-v2-table td,.scrm-v2-data-row small,.scrm-v2-mini-list small{line-height:1.35;}
.scrm-v2-prod-order-row,.scrm-v2-prod-row{transition:background .15s ease, transform .15s ease;}
.scrm-v2-prod-order-row:hover,.scrm-v2-prod-row:hover{background:rgba(184,137,47,.045);}

/* Phase 3 V2.10 — modales plus propres */
.scrm-v2-modal-box.project section{background:rgba(255,250,243,.55);border:1px solid rgba(176,139,45,.12);border-radius:20px;padding:18px;margin-bottom:16px;}
.scrm-v2-modal-box.project section h3{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#8a7d6e;font-weight:850;margin:0 0 14px;}
.scrm-v2-modal-box.project{width:min(920px,96vw)!important;}

/* Studio CRM V2.11.0 — tâches réparées + module projet complet */
.scrm-v2-task-row{grid-template-columns:auto minmax(0,1fr) auto auto!important;gap:14px!important;align-items:center!important;}
.scrm-v2-task-row .scrm-v2-check{width:28px;height:28px;flex:0 0 28px;}
.scrm-v2-task-row .scrm-v2-check span{width:23px;height:23px;border-radius:8px;}
.scrm-v2-task-row.is-done{opacity:.62;}
.scrm-v2-task-row.is-done .scrm-v2-row-main strong{text-decoration:line-through;text-decoration-thickness:1px;text-decoration-color:rgba(36,35,45,.35);}
.scrm-v2-task-meta{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:190px;}
.scrm-v2-task-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;background:#f3eadb;color:#80622f;white-space:nowrap;}
.scrm-v2-task-status.is-done,.scrm-v2-task-status.is-termine,.scrm-v2-task-status.is-termine{background:#e4f5e9;color:#327451;}
.scrm-v2-task-status.is-en_cours{background:#e8f0fb;color:#446d99;}
.scrm-v2-task-row .scrm-v2-icon-btn.task{width:34px;height:34px;border-radius:12px;font-size:16px;}
.scrm-v2-toolbar.compact{margin-bottom:10px;padding-bottom:12px;border-bottom:1px solid var(--scrm-line);}
.scrm-v2-toolbar .scrm-v2-check-label input{position:absolute!important;opacity:0!important;pointer-events:none!important;}
.scrm-v2-project-dashboard{display:flex;flex-direction:column;gap:22px;}
.scrm-v2-project-hero{padding:26px 28px;}
.scrm-v2-project-hero header p{margin:6px 0 0;color:var(--scrm-muted);font-size:13px;}
.scrm-v2-project-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:12px;}
.scrm-v2-project-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:20px;padding-top:18px;border-top:1px solid var(--scrm-line);}
.scrm-v2-project-actions label{display:flex;flex-direction:column;gap:7px;min-width:220px;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#8a7d6e;font-weight:800;}
.scrm-v2-project-actions select{height:38px;border:1px solid #dfd2c0;border-radius:12px;background:#fffdf8;padding:0 12px;font-size:13px;font-weight:650;color:#2f2d2a;}
.scrm-v2-project-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:22px;align-items:start;}
.scrm-v2-project-side{display:flex;flex-direction:column;gap:22px;}
.scrm-v2-project-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.scrm-v2-mini-list .scrm-v2-empty{padding:0;}
@media(max-width:1050px){.scrm-v2-project-summary-grid,.scrm-v2-project-columns,.scrm-v2-project-modules{grid-template-columns:1fr}.scrm-v2-task-meta{min-width:0;flex-wrap:wrap}.scrm-v2-task-row{grid-template-columns:auto minmax(0,1fr) auto!important}.scrm-v2-task-row .scrm-v2-icon-btn.task{grid-column:3;grid-row:1/3}.scrm-v2-task-meta{grid-column:2;justify-content:flex-start}}

/* Studio CRM V2.12.0 — correction dates tâches + fiche projet enrichie */
.scrm-v2-due{color:#7a7167;font-weight:750;white-space:nowrap;}
.scrm-v2-due.is-late{color:#c44f54;}
.scrm-v2-project-full .scrm-v2-project-hero{border-left:3px solid rgba(184,137,47,.32);}
.scrm-v2-project-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 2px;}
.scrm-v2-project-tabs a{text-decoration:none;color:#8a672a;background:rgba(255,253,249,.82);border:1px solid rgba(212,195,170,.72);border-radius:999px;padding:8px 12px;font-size:12px;font-weight:760;box-shadow:0 8px 22px rgba(49,35,18,.035);}
.scrm-v2-project-tabs a:hover{background:#fff;border-color:rgba(184,137,47,.38);}
.scrm-v2-project-main-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.78fr);gap:22px;align-items:start;}
.scrm-v2-project-full .scrm-v2-project-modules{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}
.scrm-v2-form-stack{display:flex;flex-direction:column;gap:12px;}
.scrm-v2-form-stack label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#74685d;font-weight:800;}
.scrm-v2-form-stack input,.scrm-v2-form-stack select,.scrm-v2-form-stack textarea{margin-top:7px;width:100%;border:1px solid #dfd2c0;border-radius:14px;background:#fffefb;padding:11px 12px;font-size:14px;font-weight:600;color:#292733;box-sizing:border-box;}
.scrm-v2-form-stack textarea{text-transform:none;letter-spacing:0;font-weight:500;line-height:1.55;resize:vertical;}
.scrm-v2-mini-link{display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;color:inherit;padding:12px 0;border-bottom:1px solid var(--scrm-line);}
.scrm-v2-mini-link:last-child{border-bottom:0;}
.scrm-v2-mini-link strong{font-size:14px;}
.scrm-v2-mini-link small{color:#8a672a;background:#f5ecdc;border-radius:999px;padding:5px 9px;font-weight:780;font-size:11px;}
.scrm-v2-project-full #project-history{scroll-margin-top:24px;}
.scrm-v2-project-full #project-tasks,.scrm-v2-project-full #project-communication,.scrm-v2-project-full #project-docs,.scrm-v2-project-full #project-gallery,.scrm-v2-project-full #project-production{scroll-margin-top:24px;}
@media(max-width:1100px){.scrm-v2-project-main-grid,.scrm-v2-project-full .scrm-v2-project-modules{grid-template-columns:1fr;}}

/* Studio CRM V2.13.0 — projet : nettoyage navigation, actions par carte, checkbox WhatsApp native */
.scrm-v2-project-tabs,
/* v2.18.2 : carte communication visible */
#project-communication{display:block!important;}
.scrm-v2-card-actions{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.scrm-v2-project-side .scrm-v2-card>header,
.scrm-v2-project-modules .scrm-v2-card>header{align-items:center;}
.scrm-v2-project-modules{align-items:start;}
.scrm-v2-inline-check{gap:10px;font-weight:650;color:#5d5146;}
.scrm-v2-inline-check input[type="checkbox"]{
  appearance:auto!important;
  -webkit-appearance:checkbox!important;
  position:static!important;
  opacity:1!important;
  pointer-events:auto!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  border-radius:4px!important;
  box-shadow:none!important;
  accent-color:#b8892f;
}
.scrm-v2-inline-check input[type="checkbox"]:after{content:none!important;display:none!important;}
.scrm-v2-modal-box label.scrm-v2-inline-check{display:flex;margin:14px 0 4px;}
.scrm-v2-project-main-grid{margin-bottom:22px;}
.scrm-v2-project-modules .scrm-v2-empty{padding:0;color:#7d7368;}
.scrm-v2-modal form[data-v2-project-form] .participant{align-items:center;}


.scrm-v2-task-row{
display:flex;
align-items:center;
gap:12px;
}

.scrm-v2-task-remove{
border:none;
background:transparent;
font-size:20px;
line-height:1;
opacity:.45;
cursor:pointer;
transition:.2s ease;
padding:4px 8px;
}

.scrm-v2-task-remove:hover{
opacity:1;
transform:scale(1.08);
}

.modern-check span{
border-radius:999px;
}

/* V2.13.4 — fiche projet sans trous + colonnes stables */
.scrm-v2-project-noholes{align-items:start!important;}
.scrm-v2-project-left,.scrm-v2-project-side{display:flex!important;flex-direction:column!important;gap:22px!important;min-width:0!important;}
.scrm-v2-project-noholes #project-docs,.scrm-v2-project-noholes #project-gallery,.scrm-v2-project-noholes #project-production,.scrm-v2-project-noholes #project-history{min-width:0!important;}
.scrm-v2-project-noholes .scrm-v2-card{width:100%!important;}
.scrm-v2-project-full .scrm-v2-project-modules{display:none!important;}
@media(max-width:1100px){.scrm-v2-project-noholes{grid-template-columns:1fr!important;}.scrm-v2-project-left,.scrm-v2-project-side{gap:18px!important;}}

/* V2.13.5 — marges fiche projet + workflows visibles */
.scrm-v2-project-dashboard{gap:24px!important;}
.scrm-v2-project-main-grid.scrm-v2-project-noholes{
  display:grid!important;
  grid-template-columns:minmax(0,1.42fr) minmax(320px,.9fr)!important;
  column-gap:24px!important;
  row-gap:24px!important;
  align-items:start!important;
}
.scrm-v2-project-left,
.scrm-v2-project-side{
  display:flex!important;
  flex-direction:column!important;
  gap:24px!important;
  min-width:0!important;
}
.scrm-v2-project-left > *,
.scrm-v2-project-side > *{
  margin:0!important;
}
.scrm-v2-project-left > div,
.scrm-v2-project-side > div{
  width:100%!important;
}
.scrm-v2-project-noholes .scrm-v2-card{
  width:100%!important;
  margin:0!important;
}
#project-tasks .scrm-v2-card-actions{gap:10px;}
@media(max-width:1100px){
  .scrm-v2-project-main-grid.scrm-v2-project-noholes{grid-template-columns:1fr!important;gap:20px!important;}
  .scrm-v2-project-left,.scrm-v2-project-side{gap:20px!important;}
}


/* Studio CRM 2.16.0 — reset propre tâches/projet */
.scrm-v2-task-row .scrm-v2-check{cursor:pointer!important;pointer-events:auto!important;position:relative;z-index:5;}
.scrm-v2-task-row .scrm-v2-check span{pointer-events:none!important;}
.scrm-v2-task-row .scrm-v2-check input{cursor:pointer!important;}
.scrm-v2-project-left,.scrm-v2-project-side{display:flex!important;flex-direction:column!important;gap:20px!important;}
.scrm-v2-project-main-grid{gap:20px!important;}

/* Studio CRM V2.16.1 — Workflows DB propres */
.scrm-v2-grid.project,.scrm-v2-grid.two,.scrm-v2-dashboard,.scrm-v2-page,.scrm-v2-project-main-grid{gap:20px!important}
.scrm-v2-card{margin-bottom:20px}
.scrm-v2-wf-page[data-mode="list"],.scrm-v2-wf-page[data-mode="edit"]{display:block!important;max-width:1280px;margin:0 auto;}
.scrm-v2-wf-list-card,.scrm-v2-wf-editor{min-width:0!important;overflow:hidden!important;}
.scrm-v2-wf-list-card header,.scrm-v2-wf-editor header{align-items:flex-start!important;gap:18px!important;}
.scrm-v2-wf-list-card header p,.scrm-v2-wf-editor header p{margin:5px 0 0;color:var(--scrm-muted,#6d7780);font-size:13px;}
.scrm-v2-wf-list-card[hidden],.scrm-v2-wf-editor[hidden]{display:none!important;}
.scrm-v2-wf-table{width:100%;border-collapse:collapse;margin-top:16px;table-layout:fixed!important;}
.scrm-v2-wf-table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;text-align:left;color:#69717a;padding:13px 14px;background:#f7f8fa;}
.scrm-v2-wf-table td{padding:18px 14px;border-bottom:1px solid rgba(44,39,33,.06);font-weight:650;color:#3c4248;vertical-align:middle!important;}
.scrm-v2-wf-table tr:nth-child(even) td{background:#fafbfc;}
.scrm-v2-wf-table th:first-child,.scrm-v2-wf-table td:first-child{width:185px!important;white-space:nowrap!important;}
.scrm-v2-wf-table th:nth-child(3),.scrm-v2-wf-table td:nth-child(3){width:220px!important;}
.scrm-v2-wf-table button{appearance:none;border:0;background:transparent;color:#6d7780;font-size:17px;width:34px;height:34px;border-radius:10px;cursor:pointer;margin-right:10px;}
.scrm-v2-wf-table button:hover{background:#fff1d6;color:#90651f;}
.scrm-v2-wf-board{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:20px!important;margin-top:22px;align-items:start;}
.scrm-v2-wf-col{border:1px solid rgba(44,39,33,.08);border-radius:18px;background:#fff;box-shadow:0 10px 25px rgba(30,24,17,.05);padding:16px;min-width:0;}
.scrm-v2-wf-col-head{margin-bottom:14px;}
.scrm-v2-wf-col-head h3{margin:0;color:#747474;text-transform:uppercase;font-size:16px;line-height:1.15;font-weight:850;}
.scrm-v2-wf-steps{display:flex;flex-direction:column;gap:16px;margin-bottom:14px;}
.scrm-v2-wf-step{position:relative;border:1px solid rgba(40,40,40,.1);border-left:4px solid #ee9bc0;border-radius:12px;background:#fff;padding:15px 14px 55px;min-height:118px;}
.scrm-v2-wf-step:nth-child(3n+1){border-left-color:#9ff0a8;}.scrm-v2-wf-step:nth-child(3n+2){border-left-color:#eb5e9c;}.scrm-v2-wf-step:nth-child(3n){border-left-color:#ff9700;}
.scrm-v2-wf-step input{width:100%;border:0!important;background:transparent!important;color:#777;font-weight:650;font-size:14px;outline:none;box-shadow:none!important;padding:5px 0!important;}
.scrm-v2-wf-step>input{font-size:15px;margin-bottom:18px;}
.scrm-v2-wf-step>div{display:grid;grid-template-columns:1fr 90px;gap:8px;align-items:center;}
.scrm-v2-wf-step>div input:last-child{text-align:right;}
.scrm-v2-wf-step button{position:absolute;right:14px;bottom:14px;border:1px solid #ff4456;background:#fff;color:#ff4456;border-radius:9px;width:34px;height:34px;cursor:pointer;}
.scrm-v2-wf-editor .scrm-v2-card-actions{display:flex!important;gap:12px!important;flex-wrap:wrap!important;justify-content:flex-end!important;}
@media(max-width:1200px){.scrm-v2-wf-board{grid-template-columns:repeat(2,minmax(260px,1fr))!important;}}
@media(max-width:780px){.scrm-v2-wf-board{grid-template-columns:1fr!important;}.scrm-v2-wf-table th:nth-child(3),.scrm-v2-wf-table td:nth-child(3){display:none!important;}.scrm-v2-wf-list-card header,.scrm-v2-wf-editor header{display:block!important}.scrm-v2-wf-list-card header .scrm-v2-btn,.scrm-v2-wf-editor header .scrm-v2-card-actions{margin-top:14px;}}


/* V2.16.5 — édition tâche + checkbox fiable */
.scrm-v2-task-row .scrm-v2-check,
.scrm-v2-task-row .scrm-v2-check span,
.scrm-v2-task-row .scrm-v2-check input[data-complete-task]{cursor:pointer!important;}
.scrm-v2-task-row .scrm-v2-task-edit{
  border:1px solid rgba(176,139,45,.26);
  background:#fffaf2;
  border-radius:16px;
  width:38px;
  height:38px;
  font-size:17px;
  line-height:1;
  opacity:.75;
  cursor:pointer;
  color:#8a6428;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.scrm-v2-task-row .scrm-v2-task-edit:hover{opacity:1;transform:scale(1.04);}
.scrm-v2-task-row.is-done{opacity:.72;}
.scrm-v2-task-row.is-done .scrm-v2-row-main strong{text-decoration:line-through;}


/* Studio CRM 2.16.6 — Phase A UI states */
.scrm-v2-card.is-loading,
.scrm-v2-task-row.is-loading { opacity: .72; pointer-events: none; }
.scrm-v2-task-row.is-done .scrm-v2-row-main strong { text-decoration: line-through; opacity: .62; }
.scrm-v2-empty { border: 1px dashed rgba(40,32,24,.16); border-radius: 18px; padding: 18px; background: rgba(255,255,255,.56); color: rgba(40,32,24,.68); }

/* Studio CRM 2.16.9 — actions inline rendez-vous / paiements */
.scrm-v2-mini-link{display:flex;align-items:center;justify-content:space-between;gap:12px}
.scrm-v2-mini-link>div:first-child{min-width:0}
.scrm-v2-row-actions{display:flex;align-items:center;gap:6px;flex-shrink:0;opacity:.75}
.scrm-v2-mini-link:hover .scrm-v2-row-actions{opacity:1}
.scrm-v2-btn.tiny{font-size:11px;padding:4px 8px;border-radius:999px;line-height:1.2}
.scrm-v2-btn.danger{color:#9f2a2a;border-color:rgba(159,42,42,.22);background:rgba(159,42,42,.05)}
.scrm-v2-btn.danger:hover{background:rgba(159,42,42,.1)}
@media(max-width:680px){.scrm-v2-mini-link{align-items:flex-start}.scrm-v2-row-actions{flex-direction:column;align-items:flex-end}}

/* 2.17.0 — vrai agenda calendrier */
.scrm-v2-agenda-page{display:flex;flex-direction:column;gap:18px}.scrm-v2170-agenda-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px}.scrm-v2170-agenda-title{display:flex;flex-direction:column;gap:4px}.scrm-v2170-agenda-title strong{font-size:20px;color:#1d2433}.scrm-v2170-agenda-title small{color:#7f7669}.scrm-v2170-agenda-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.scrm-v2170-view-tabs{display:flex;align-items:center;gap:4px;background:#f4ecdf;border:1px solid rgba(151,111,53,.16);border-radius:999px;padding:4px}.scrm-v2170-view-tab{padding:8px 12px;border-radius:999px;text-decoration:none;color:#8a672d;font-weight:700;font-size:13px}.scrm-v2170-view-tab.active{background:#fff;box-shadow:0 8px 18px rgba(51,34,14,.08);color:#1d2433}.scrm-v2170-calendar-card{overflow:hidden;padding:0}.scrm-v2170-week-grid{display:grid;grid-template-columns:72px repeat(7,minmax(120px,1fr));overflow:auto}.scrm-v2170-hour-spacer,.scrm-v2170-day-head,.scrm-v2170-hour,.scrm-v2170-slot{border-bottom:1px solid rgba(151,111,53,.12);border-right:1px solid rgba(151,111,53,.10)}.scrm-v2170-day-head{position:sticky;top:0;z-index:2;background:#fffaf3;padding:14px 10px;display:flex;flex-direction:column;gap:2px}.scrm-v2170-day-head strong{font-size:14px;color:#1d2433}.scrm-v2170-day-head span{font-size:12px;color:#8a672d}.scrm-v2170-hour{padding:10px 8px;color:#8d8275;font-size:12px;background:#fffaf3;text-align:right;min-height:72px}.scrm-v2170-slot{min-height:72px;padding:6px;background:rgba(255,255,255,.55)}.scrm-v2170-slot:hover,.scrm-v2170-day-slot:hover{background:#fff7ea}.scrm-v2170-event{display:flex;flex-direction:column;gap:2px;padding:7px 9px;margin-bottom:5px;border-radius:12px;background:#f4e7d1;border:1px solid rgba(151,111,53,.16);color:#6f501d;text-decoration:none;box-shadow:0 6px 16px rgba(51,34,14,.06)}.scrm-v2170-event.is-appointment{background:#eef0ff;color:#3a3f7d}.scrm-v2170-event strong{font-size:11px}.scrm-v2170-event span{font-weight:800;font-size:12px;line-height:1.2}.scrm-v2170-event small{font-size:11px;opacity:.78}.scrm-v2170-day-view{display:flex;flex-direction:column}.scrm-v2170-day-line{display:grid;grid-template-columns:72px 1fr;border-bottom:1px solid rgba(151,111,53,.10)}.scrm-v2170-day-slot{min-height:76px;padding:8px}.scrm-v2170-month-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));overflow:auto}.scrm-v2170-month-head{padding:12px;background:#fffaf3;border-bottom:1px solid rgba(151,111,53,.12);font-weight:800;color:#8a672d}.scrm-v2170-month-cell{min-height:128px;padding:10px;border-right:1px solid rgba(151,111,53,.10);border-bottom:1px solid rgba(151,111,53,.10);background:rgba(255,255,255,.58)}.scrm-v2170-month-cell.off{opacity:.45;background:#fbf6ee}.scrm-v2170-month-date{font-weight:900;color:#1d2433;margin-bottom:8px}.scrm-v2170-month-cell .scrm-v2170-event{padding:6px 7px}.scrm-v2170-month-cell .scrm-v2170-event strong{display:none}.scrm-v2170-month-cell .scrm-v2170-event span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scrm-v2170-more{color:#8d8275;font-weight:700}.scrm-v2170-list{display:flex;flex-direction:column;padding:12px 18px 18px}.scrm-v2170-list h3{font-size:15px;color:#8a672d;margin:14px 0 8px}.scrm-v2170-event-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid rgba(151,111,53,.12);text-decoration:none;color:inherit}.scrm-v2170-event-row>div{flex:1;display:flex;flex-direction:column;gap:3px}.scrm-v2170-event-row strong{color:#1d2433}.scrm-v2170-event-row small{color:#7f7669}@media(max-width:900px){.scrm-v2170-agenda-toolbar{align-items:flex-start;flex-direction:column}.scrm-v2170-week-grid{grid-template-columns:58px repeat(7,145px)}.scrm-v2170-month-grid{grid-template-columns:repeat(7,135px)}}

/* V2.17.3 — builder devis/factures pro en modale */
.scrm-v2-modal-wide .scrm-v2-modal-box{width:min(1040px, calc(100vw - 40px));max-width:1040px;}
.scrm-v2-billing-builder .scrm-v2-billing-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:18px 0 10px;}
.scrm-v2-billing-builder .scrm-v2-billing-head h3{margin:0;font-size:16px;}
.scrm-v2-billing-lines{display:grid;gap:10px;margin-bottom:14px;}
.scrm-v2-billing-line{display:grid;grid-template-columns:130px 220px minmax(180px,1fr) 90px 110px 42px;gap:8px;align-items:center;padding:10px;border:1px solid rgba(140,105,45,.18);border-radius:16px;background:rgba(255,255,255,.62);}
.scrm-v2-billing-line select,.scrm-v2-billing-line input{min-width:0;}
.scrm-v2-billing-total{display:flex;align-items:center;justify-content:space-between;margin:10px 0 18px;padding:14px 16px;border-radius:18px;background:rgba(176,139,45,.09);border:1px solid rgba(176,139,45,.16);}
.scrm-v2-billing-total strong{font-size:22px;color:#7a5a18;}
@media(max-width:900px){.scrm-v2-billing-line{grid-template-columns:1fr 1fr}.scrm-v2-billing-line [data-remove-billing-line]{grid-column:1/-1}}

/* V2.18.2 — email secondaire manuel */
.scrm-v2-secondary-email-box{margin:-4px 0 10px;padding:12px;border:1px dashed rgba(176,139,45,.28);border-radius:14px;background:rgba(255,250,243,.64)}
.scrm-v2-secondary-email-box[hidden]{display:none!important;}


/* v2.18.7 — édition rapide lieu/contact */
.scrm-v2-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:6px;border:1px solid rgba(132,96,38,.22);border-radius:999px;background:#fffaf0;color:#8a6424;font-weight:800;line-height:1;cursor:pointer;vertical-align:middle;box-shadow:0 4px 12px rgba(60,38,12,.05)}
.scrm-v2-icon-btn:hover{background:#f4ead7;transform:translateY(-1px)}
.scrm-v2-help{margin:.35rem 0 1rem;color:#7e766b;font-size:.9rem;line-height:1.35}

/* v2.19.2 — lignes devis/facture type Henrri : nom, description, quantité, prix */
.scrm-v2-billing-line{
  display:grid !important;
  grid-template-columns:52px minmax(360px,1fr) 220px !important;
  gap:18px !important;
  align-items:start !important;
  padding:18px !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 10px 32px rgba(24,24,24,.06) !important;
}
.scrm-v2-billing-line-tools{display:flex;align-items:flex-start;justify-content:center;padding-top:28px;}
.scrm-v2-billing-line-main{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.scrm-v2-billing-line-main label:nth-child(3){grid-column:1/-1;}
.scrm-v2-billing-line-side{display:grid;gap:12px;}
.scrm-v2-billing-line label{display:grid;gap:6px;font-size:13px;font-weight:700;color:#6f5a35;}
.scrm-v2-billing-line textarea{width:100%;min-height:118px;resize:vertical;border:1px solid rgba(140,105,45,.18);border-radius:14px;padding:12px;background:#fff;color:#2e2a24;font:inherit;}
.scrm-v2-line-total{padding:12px 14px;border-radius:14px;background:#eaf8eb;border-left:4px solid #38a35a;}
.scrm-v2-line-total span{display:block;font-size:12px;font-weight:700;color:#6b6b6b;margin-bottom:4px;}
.scrm-v2-line-total strong{font-size:18px;color:#4fae60;}
@media(max-width:900px){
  .scrm-v2-billing-line{grid-template-columns:1fr !important;}
  .scrm-v2-billing-line-tools{justify-content:flex-end;padding-top:0;}
  .scrm-v2-billing-line-main{grid-template-columns:1fr;}
}

.scrm-v2-attachment-preview{display:flex;align-items:center;gap:10px;margin:10px 0 14px;padding:12px 14px;border:1px solid rgba(176,139,45,.28);background:linear-gradient(180deg,#fffaf0,#fbf5ea);border-radius:16px;color:#252733}
.scrm-v2-attachment-preview[hidden]{display:none!important}
.scrm-v2-attachment-preview .dashicons{color:#9b742d}
.scrm-v2-attachment-preview strong{display:block;font-size:13px}
.scrm-v2-attachment-preview small{display:block;color:#7b7065;margin-top:2px}

/* Studio CRM V2.20.4 — Agenda drag & drop */
.scrm-v2170-event[draggable="true"],
.scrm-v2170-event-row[draggable="true"]{cursor:grab; user-select:none;}
.scrm-v2170-event.is-dragging,
.scrm-v2170-event-row.is-dragging{opacity:.45; cursor:grabbing; transform:scale(.98);}
.scrm-v2170-slot.is-drop-target,
.scrm-v2170-day-slot.is-drop-target,
.scrm-v2170-month-cell.is-drop-target{outline:2px dashed rgba(176,139,45,.65); outline-offset:-6px; background:rgba(176,139,45,.08);}
.scrm-v2170-slot.is-saving,
.scrm-v2170-day-slot.is-saving,
.scrm-v2170-month-cell.is-saving{opacity:.65;}

/* 2.20.6 — Agenda inspiré Google Calendar */
.scrm-v2206-google-calendar{padding:0;overflow:hidden;background:#fff;border-color:#e5e7eb;box-shadow:0 10px 30px rgba(31,41,55,.05)}
.scrm-v2206-week-grid{display:grid;grid-template-columns:64px repeat(7,minmax(132px,1fr));grid-template-rows:64px minmax(900px,calc((23 - 8)*64px));overflow:auto;max-height:calc(100vh - 250px);background:#fff}
.scrm-v2206-day-grid{display:grid;grid-template-columns:64px 1fr;grid-template-rows:64px minmax(900px,calc((23 - 8)*64px));overflow:auto;max-height:calc(100vh - 250px);background:#fff}
.scrm-v2206-time-head{position:sticky;top:0;z-index:6;background:#fff;border-right:1px solid #edf0f3;border-bottom:1px solid #edf0f3}
.scrm-v2206-day-head{position:sticky;top:0;z-index:5;background:#fff;border-right:1px solid #edf0f3;border-bottom:1px solid #edf0f3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#5f6368;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}.scrm-v2206-day-head span{font-size:11px;text-transform:uppercase;letter-spacing:.03em;font-weight:600}.scrm-v2206-day-head strong{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:500;color:#202124}.scrm-v2206-day-head.is-today strong{background:#1a73e8;color:#fff}.scrm-v2206-time-gutter{grid-column:1;grid-row:2;position:sticky;left:0;z-index:4;background:#fff;border-right:1px solid #edf0f3}.scrm-v2206-hour-label{height:64px;box-sizing:border-box;padding:0 8px 0 0;transform:translateY(-8px);text-align:right;color:#70757a;font:500 11px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}.scrm-v2206-hour-label:first-child{color:transparent}.scrm-v2206-day-column{position:relative;grid-row:2;min-height:calc((23 - 8)*64px);background:#fff;border-right:1px solid #edf0f3}.scrm-v2206-day-column.is-today{background:#fcfdff}.scrm-v2206-day-column.is-drop-target{background:#f1f6ff}.scrm-v2206-hour-line{height:64px;box-sizing:border-box;border-bottom:1px solid #edf0f3;position:relative}.scrm-v2206-hour-line:before,.scrm-v2206-hour-line:after{content:"";position:absolute;left:0;right:0;border-top:1px solid rgba(237,240,243,.55)}.scrm-v2206-hour-line:before{top:25%}.scrm-v2206-hour-line:after{top:50%;box-shadow:0 16px 0 rgba(237,240,243,.55)}.scrm-v2206-event{position:absolute;z-index:2;box-sizing:border-box;padding:5px 7px;border-radius:6px;background:#d7e7ff;border-left:4px solid #1a73e8;color:#174ea6;text-decoration:none;overflow:hidden;box-shadow:0 1px 2px rgba(60,64,67,.18);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;cursor:grab;transition:box-shadow .15s ease,transform .15s ease,opacity .15s ease}.scrm-v2206-event:hover{box-shadow:0 2px 8px rgba(60,64,67,.25);transform:translateY(-1px);text-decoration:none}.scrm-v2206-event.is-dragging{opacity:.55}.scrm-v2206-event.is-project{background:#e8f0fe;border-left-color:#1a73e8;color:#174ea6}.scrm-v2206-event.is-appointment{background:#fce8e6;border-left-color:#d93025;color:#7f1d1d}.scrm-v2206-event.is-google{background:#e6f4ea;border-left-color:#188038;color:#137333}.scrm-v2206-event-title{display:block;font-size:12px;font-weight:700;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scrm-v2206-event-meta,.scrm-v2206-event-location{display:block;margin-top:2px;font-size:11px;line-height:1.15;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}.scrm-v2206-event[style*="height:3"] .scrm-v2206-event-location,.scrm-v2206-event[style*="height:4"] .scrm-v2206-event-location{display:none}.scrm-v2170-agenda-toolbar{box-shadow:none;background:transparent;border:0;padding:10px 4px 14px}.scrm-v2170-calendar-card .scrm-v2170-week-grid,.scrm-v2170-calendar-card .scrm-v2170-day-view{display:none}@media(max-width:900px){.scrm-v2206-week-grid{grid-template-columns:52px repeat(7,150px)}.scrm-v2206-day-grid{grid-template-columns:52px minmax(420px,1fr)}.scrm-v2206-time-gutter{left:0}.scrm-v2206-event-title{font-size:11px}.scrm-v2206-event-meta{font-size:10px}}

/* 2.21.0 — Réservation en ligne : réglages par séance */
.scrm-booking-rules-section{background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(250,247,240,.72));border-radius:24px;border:1px solid rgba(176,139,45,.16)}
.scrm-booking-rules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;align-items:end;margin-top:18px}.scrm-booking-rules-grid .scrm-field select,.scrm-booking-rules-grid .scrm-field input{width:100%;border:1px solid rgba(44,38,32,.14);border-radius:16px;background:#fff;padding:13px 14px;font-weight:650;color:#40362d;box-shadow:inset 0 1px 2px rgba(40,30,20,.04)}.scrm-booking-rules-grid .scrm-switchline-wide{grid-column:1/-1;justify-content:flex-start;gap:12px}.scrm-booking-rules-grid .scrm-max-day-field{max-width:360px}.scrm-booking-front-v1253 .scrm-service-choice{cursor:pointer}.scrm-booking-front-v1253 .scrm-booking-loading,.scrm-booking-front-v1253 .scrm-slot-empty{padding:18px;border-radius:18px;background:rgba(255,255,255,.62);color:#756a60}@media(max-width:760px){.scrm-booking-rules-grid{grid-template-columns:1fr}}

/* 2.21.2 — Disponibilités maîtrisées */
.scrm-smart-booking-box{margin-top:18px;padding:18px;border-radius:22px;background:rgba(176,139,45,.07);border:1px solid rgba(176,139,45,.16)}
.scrm-smart-booking-box .muted{margin:8px 0 14px;color:#74675a;font-size:13px;line-height:1.45}
.scrm-smart-booking-box .scrm-booking-rules-grid{margin-top:12px}

/* 2.21.5 — champ horaires préférés éditable + lisible */
.scrm-booking-rules-grid .scrm-field-wide{grid-column:1/-1;}
.scrm-booking-rules-grid .scrm-preferred-times-field textarea{
  width:100%;
  min-height:56px;
  resize:vertical;
  border:1px solid rgba(44,38,32,.14);
  border-radius:16px;
  background:#fff;
  padding:13px 14px;
  font-weight:650;
  color:#40362d;
  box-shadow:inset 0 1px 2px rgba(40,30,20,.04);
  pointer-events:auto;
  user-select:text;
}

/* Studio CRM 2.21.8 — Réservation projet */
.scrm-project-booking-settings{margin-top:28px;padding:22px;border-radius:28px;background:linear-gradient(145deg,#fffdf8,#f7f0e6);border:1px solid rgba(176,139,45,.16);box-shadow:0 14px 35px rgba(70,50,25,.06)}
.scrm-project-booking-settings h3{margin:0 0 6px;font-size:24px;color:#3f342b}
.scrm-project-booking-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}
.scrm-project-booking-type{padding:18px;border-radius:24px;background:rgba(255,255,255,.72);border:1px solid rgba(80,60,40,.10)}
.scrm-project-booking-type h4{margin:0 0 14px;font-size:17px;color:#483d32}
.scrm-project-booking-type label{display:grid;gap:6px;margin:0 0 12px;font-weight:800;color:#5d5146}
.scrm-project-booking-type input{width:100%;min-height:44px;border-radius:15px;border:1px solid rgba(80,60,40,.14);background:#fff;padding:10px 12px;box-sizing:border-box}
.scrm-project-booking-type small{font-size:12px;color:#7b7065;font-weight:600}
@media(max-width:980px){.scrm-project-booking-settings-grid{grid-template-columns:1fr}}


/* Studio CRM V2.21.15 — Suivi post-séance drag & drop */
.scrm-v2-stat-link{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid rgba(176,139,45,.18);border-radius:24px;padding:20px;box-shadow:0 14px 35px rgba(50,35,20,.05);transition:.18s ease}
.scrm-v2-stat-link:hover{transform:translateY(-1px);box-shadow:0 18px 42px rgba(50,35,20,.08)}
.scrm-v2-stat-link b{display:block;font-size:30px;color:#2f2923}.scrm-v2-stat-link span{display:block;font-weight:800;color:#6f5a35}.scrm-v2-stat-link small{display:block;margin-top:4px;color:#8a8074;font-size:12px}
.scrm-v2-post-focus{margin:0 0 22px}.scrm-v2-post-focus .scrm-v2-post-board-col{max-width:none}
.scrm-v2-post-board{display:grid;grid-template-columns:repeat(5,minmax(240px,1fr));gap:16px;align-items:start;margin:0 0 24px;overflow-x:auto;padding-bottom:8px}
.scrm-v2-post-board-col{min-width:240px;background:linear-gradient(180deg,#fffdf8,#fbf6ee);border:1px solid rgba(176,139,45,.16);border-radius:24px;padding:14px;box-shadow:0 14px 34px rgba(70,50,25,.05)}
.scrm-v2-post-board-col header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.scrm-v2-post-board-col h2{font-size:16px;margin:0;color:#3f342b}.scrm-v2-board-hint{margin:0 0 12px;color:#7b7065;font-size:13px;line-height:1.35}
.scrm-v2-post-board-list{display:grid;gap:10px;min-height:54px}.scrm-v2-post-board-card{display:block;text-decoration:none;color:#302820;background:#fff;border:1px solid rgba(75,60,40,.10);border-radius:18px;padding:12px 13px;box-shadow:0 8px 20px rgba(45,33,20,.045);cursor:grab;transition:.16s ease}.scrm-v2-post-board-card:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(45,33,20,.08);text-decoration:none}.scrm-v2-post-board-card.is-dragging{opacity:.45;cursor:grabbing}.scrm-v2-post-board-card strong{display:block;font-size:14px;margin-bottom:4px}.scrm-v2-post-board-card span,.scrm-v2-post-board-card small{display:block;color:#7c7165;font-size:12px;line-height:1.35}.scrm-v2-post-board-card em{display:block;margin-top:8px;padding:7px 9px;border-radius:12px;background:#fff4d8;color:#7a560a;font-style:normal;font-size:12px;font-weight:800}.scrm-v2-post-board-col.is-drop-target{outline:2px dashed rgba(176,139,45,.65);outline-offset:4px;background:#fff8ea}.scrm-v2-post-dashboard.compact{margin-top:12px}
@media(max-width:1200px){.scrm-v2-post-board{grid-template-columns:repeat(3,minmax(240px,1fr))}}@media(max-width:760px){.scrm-v2-post-board{display:flex}.scrm-v2-post-board-col{min-width:82vw}}

/* Studio CRM V2.21.16 — dashboard suivi */
.scrm-v2-dashboard-follow .scrm-v2-post-warn{display:block;margin-top:6px;color:#8a5b00;font-weight:800}.scrm-v2-post-board-card.has-warning{border-color:rgba(176,139,45,.45);background:#fffaf0}


/* Studio CRM V2.21.25 — Suivi post-séance : ergonomie compacte */
.scrm-v2-post-summary{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:12px;margin:8px 0 18px}
.scrm-v2-post-summary>div{background:linear-gradient(180deg,#fffdf8,#fbf6ee);border:1px solid rgba(176,139,45,.16);border-radius:20px;padding:13px 15px;box-shadow:0 10px 24px rgba(70,50,25,.045)}
.scrm-v2-post-summary strong{display:block;font-size:26px;line-height:1;color:#b08b2d;margin-bottom:5px;font-family:inherit}.scrm-v2-post-summary span{display:block;font-size:12px;color:#746a60;font-weight:700;line-height:1.25}
.scrm-v2-post-focus{display:none!important}.scrm-v2-post-board-wrap{width:100%;overflow-x:auto;overflow-y:hidden;padding:2px 0 18px;margin:0 0 18px;scrollbar-color:rgba(176,139,45,.45) rgba(176,139,45,.09);scrollbar-width:thin}
.scrm-v2-post-board{display:flex!important;grid-template-columns:none!important;gap:14px;align-items:stretch;margin:0;overflow:visible!important;padding:0 4px 8px;min-width:max-content}
.scrm-v2-post-board-col{flex:0 0 292px;min-width:292px;max-width:292px;min-height:360px;max-height:68vh;display:flex;flex-direction:column;border-radius:22px;padding:13px;background:rgba(255,253,248,.84);backdrop-filter:blur(4px)}
.scrm-v2-post-board-col:first-child{border-color:rgba(176,139,45,.34);background:linear-gradient(180deg,#fff9e8,#fffdf8)}
.scrm-v2-post-board-col header{position:sticky;top:0;z-index:2;background:inherit;border-radius:16px;padding:2px 0 8px;margin-bottom:4px}.scrm-v2-post-board-col h2{font-size:22px!important;line-height:1.05;letter-spacing:-.02em;max-width:215px}.scrm-v2-post-board-col .scrm-v2-count{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:999px;background:#dfbd4d;color:#fff;font-weight:900;font-size:14px;box-shadow:0 8px 18px rgba(176,139,45,.18)}
.scrm-v2-board-hint{font-size:12px;margin:0 0 9px;min-height:30px}.scrm-v2-post-board-list{display:flex;flex-direction:column;gap:9px;min-height:120px;overflow-y:auto;padding:2px 2px 4px;margin-right:-4px;padding-right:4px}.scrm-v2-post-board-list::-webkit-scrollbar{width:7px}.scrm-v2-post-board-list::-webkit-scrollbar-thumb{background:rgba(176,139,45,.32);border-radius:20px}.scrm-v2-post-board-list::-webkit-scrollbar-track{background:rgba(176,139,45,.07);border-radius:20px}
.scrm-v2-post-board-card{border-radius:16px;padding:11px 12px;box-shadow:0 8px 18px rgba(45,33,20,.045);cursor:grab}.scrm-v2-post-board-card strong{font-size:13px;line-height:1.25;margin-bottom:5px}.scrm-v2-post-board-card span,.scrm-v2-post-board-card small{font-size:11.5px;line-height:1.32}.scrm-v2-post-board-card em{font-size:11.5px;line-height:1.2;margin-top:7px;padding:6px 8px}.scrm-v2-post-board-card.has-warning{box-shadow:inset 0 0 0 1px rgba(176,139,45,.22),0 8px 20px rgba(45,33,20,.05)}
.scrm-v2-empty{border-radius:14px!important;padding:14px!important;font-size:12px!important;text-align:center;background:rgba(255,255,255,.55)!important}.scrm-v2-post-board-col.is-drop-target{outline:2px solid rgba(176,139,45,.62);outline-offset:3px;transform:translateY(-1px)}
@media(max-width:1100px){.scrm-v2-post-summary{grid-template-columns:repeat(3,minmax(130px,1fr))}.scrm-v2-post-board-col{flex-basis:280px;min-width:280px;max-width:280px}}
@media(max-width:760px){.scrm-v2-post-summary{grid-template-columns:repeat(2,minmax(120px,1fr))}.scrm-v2-post-board-col{flex-basis:84vw;min-width:84vw;max-width:84vw;max-height:70vh}}


/* Studio CRM V2.21.26 — Suivi post-séance : déplacement rapide */
.scrm-v2-post-board-wrap{padding-bottom:14px}
.scrm-v2-post-board{gap:10px!important}
.scrm-v2-post-board-col{flex-basis:258px!important;min-width:258px!important;max-width:258px!important;max-height:72vh!important}
.scrm-v2-post-board-col h2{font-size:18px!important;max-width:184px!important}
.scrm-v2-post-board-card{display:block!important;padding:0!important;overflow:hidden;cursor:grab}
.scrm-v2-post-card-main{display:block;padding:11px 12px 8px;text-decoration:none;color:inherit}
.scrm-v2-post-card-main:hover{text-decoration:none}
.scrm-v2-post-card-actions{border-top:1px solid rgba(75,60,40,.08);padding:8px 10px 10px;background:rgba(250,246,238,.65)}
.scrm-v2-post-card-actions label{display:block;font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;font-weight:900;color:#8a7b68;margin:0 0 5px}
.scrm-v2-post-status-select{width:100%;min-height:34px;border:1px solid rgba(176,139,45,.24);border-radius:12px;background:#fffdf8;color:#3f342b;font-size:12px;font-weight:750;padding:6px 9px;outline:none}
.scrm-v2-post-status-select:focus{border-color:rgba(176,139,45,.65);box-shadow:0 0 0 3px rgba(176,139,45,.10)}
@media(max-width:760px){.scrm-v2-post-board-col{flex-basis:82vw!important;min-width:82vw!important;max-width:82vw!important}}


/* Studio CRM V2.21.27 — Suivi post-séance : cartes compactes et action visible */
.scrm-v2-post-board-col{flex-basis:250px!important;min-width:250px!important;max-width:250px!important}
.scrm-v2-post-card-compact{display:flex!important;flex-direction:column!important;min-height:auto!important;overflow:visible!important}
.scrm-v2-post-card-compact .scrm-v2-post-card-main{padding:10px 11px 7px!important;min-width:0!important}
.scrm-v2-post-card-compact strong{display:block!important;font-size:13px!important;line-height:1.2!important;margin:0 0 4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.scrm-v2-post-card-compact span{display:block!important;font-size:11.5px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#7c7165!important}
.scrm-v2-post-card-compact small{display:block!important;margin-top:4px!important;font-size:11px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#8a7b68!important}
.scrm-v2-post-card-compact em{display:inline-flex!important;margin-top:7px!important;padding:4px 7px!important;border-radius:999px!important;font-size:10.5px!important;line-height:1!important;max-width:max-content!important}
.scrm-v2-post-card-compact .scrm-v2-post-card-actions{padding:7px 9px 9px!important;background:rgba(250,246,238,.55)!important;display:block!important;flex:0 0 auto!important}
.scrm-v2-post-card-compact .scrm-v2-post-card-actions label{display:none!important}
.scrm-v2-post-card-compact .scrm-v2-post-status-select{display:block!important;width:100%!important;min-height:31px!important;height:31px!important;font-size:11.5px!important;border-radius:11px!important;padding:4px 8px!important}
.scrm-v2-post-board-list{gap:8px!important}
@media(max-width:760px){.scrm-v2-post-board-col{flex-basis:82vw!important;min-width:82vw!important;max-width:82vw!important}}

/* Studio CRM V2.21.30 — recherche rapide menu + suivi dashboard minimal */
.scrm-v2-quick-search{position:relative;margin:12px 14px 14px;z-index:30}
.scrm-v2-quick-search input{width:100%;height:38px;border-radius:14px;border:1px solid rgba(176,139,45,.22);background:rgba(255,253,248,.82);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 8px 18px rgba(45,33,20,.035);padding:0 12px;font-size:12.5px;color:#332b25;outline:none}
.scrm-v2-quick-search input:focus{border-color:rgba(176,139,45,.55);box-shadow:0 0 0 3px rgba(176,139,45,.10)}
.scrm-v2-quick-results{display:none;position:absolute;top:44px;left:0;right:0;max-height:360px;overflow:auto;background:#fffdf8;border:1px solid rgba(176,139,45,.20);border-radius:16px;box-shadow:0 18px 45px rgba(45,33,20,.16);padding:6px;z-index:999}
.scrm-v2-quick-search.is-open .scrm-v2-quick-results{display:block}
.scrm-v2-quick-results a{display:none;text-decoration:none;color:#302820;padding:9px 10px;border-radius:12px;margin:1px 0;background:transparent}
.scrm-v2-quick-results a:hover{background:rgba(176,139,45,.10);text-decoration:none}
.scrm-v2-quick-results strong{display:block;font-size:12.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scrm-v2-quick-results small{display:block;margin-top:3px;font-size:11px;color:#817466;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scrm-v2-quick-empty{display:none;margin:4px;padding:10px;border-radius:12px;background:rgba(176,139,45,.07);font-size:12px;color:#7d705f;text-align:center}
.scrm-v2-dashboard-follow-mini{margin:18px 0 20px!important}
.scrm-v2-dashboard-follow-mini header{align-items:center}
.scrm-v2-follow-mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:2px 0 12px}
.scrm-v2-follow-mini-stats span{display:flex;align-items:baseline;gap:8px;border-radius:16px;background:rgba(176,139,45,.08);padding:10px 12px;font-size:12px;color:#7a6b5a}
.scrm-v2-follow-mini-stats b{font-size:22px;color:#b08b2d;line-height:1}
.scrm-v2-follow-mini-list{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:8px}
.scrm-v2-follow-mini-list a{display:block;text-decoration:none;color:inherit;border:1px solid rgba(75,60,40,.08);background:rgba(255,255,255,.62);border-radius:14px;padding:9px 10px;min-width:0}
.scrm-v2-follow-mini-list a:hover{border-color:rgba(176,139,45,.32);box-shadow:0 8px 20px rgba(45,33,20,.05)}
.scrm-v2-follow-mini-list strong,.scrm-v2-follow-mini-list small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scrm-v2-follow-mini-list strong{font-size:12.5px;line-height:1.25}.scrm-v2-follow-mini-list small{font-size:11px;color:#7f7263;margin-top:3px}
@media(max-width:1100px){.scrm-v2-follow-mini-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.scrm-v2-follow-mini-list,.scrm-v2-follow-mini-stats{grid-template-columns:1fr}.scrm-v2-quick-search{margin:10px 10px 12px}}

/* Studio CRM V2.21.31 — tunnel séance dashboard actionnable */
.scrm-v2-dashboard-follow-action{margin:18px 0 22px!important}
.scrm-v2-dashboard-follow-action header h2{margin-bottom:4px!important}
.scrm-v2-dashboard-follow-action header p{margin:0!important;color:#7f756b;font-size:13px}
.scrm-v2-dashboard-follow-action .scrm-v2-follow-mini-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.scrm-v2-dashboard-follow-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.scrm-v2-dashboard-follow-row{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:10px;align-items:center;border:1px solid rgba(75,60,40,.08);background:rgba(255,255,255,.62);border-radius:15px;padding:9px 10px;min-width:0}
.scrm-v2-dashboard-follow-row a{text-decoration:none;color:inherit;min-width:0;display:block}
.scrm-v2-dashboard-follow-row strong,.scrm-v2-dashboard-follow-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scrm-v2-dashboard-follow-row strong{font-size:13px;line-height:1.2}.scrm-v2-dashboard-follow-row small{font-size:11.5px;color:#7f7263;margin-top:3px}
.scrm-v2-dashboard-follow-row select{width:100%;height:34px;border-radius:12px;border:1px solid rgba(176,139,45,.22);background:#f8f2e4;color:#6f5720;font-size:12px;font-weight:700;padding:4px 8px;min-width:0}
.scrm-v2-post-board-col{flex-basis:295px!important;min-width:295px!important;max-width:295px!important}
@media(max-width:1100px){.scrm-v2-dashboard-follow-rows{grid-template-columns:1fr}.scrm-v2-dashboard-follow-action .scrm-v2-follow-mini-stats{grid-template-columns:1fr!important}}
@media(max-width:760px){.scrm-v2-dashboard-follow-row{grid-template-columns:1fr}.scrm-v2-post-board-col{flex-basis:82vw!important;min-width:82vw!important;max-width:82vw!important}}

/* V2.21.32 — Tunnel vertical par phases */
.scrm-v2-phase-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 220px auto auto;gap:10px;align-items:center;margin:0 0 16px!important;padding:14px!important}
.scrm-v2-phase-toolbar input,.scrm-v2-phase-toolbar select{height:38px;border-radius:14px;border:1px solid rgba(176,139,45,.22);background:#fffdf8;padding:0 12px;color:#3d332b;min-width:0}
.scrm-v2-phase-stack{display:grid;gap:14px;margin-bottom:24px}
.scrm-v2-phase-card{background:linear-gradient(180deg,#fffdf8,#fbf6ee);border:1px solid rgba(176,139,45,.16);border-radius:24px;padding:16px;box-shadow:0 14px 34px rgba(70,50,25,.05)}
.scrm-v2-phase-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.scrm-v2-phase-card h2{font-size:22px!important;line-height:1.05;margin:0!important;color:#302820}.scrm-v2-phase-card header p{margin:5px 0 0;color:#7c7165;font-size:13px}.scrm-v2-phase-card .scrm-v2-count{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border-radius:999px;background:#dfbd4d;color:#fff;font-weight:900}
.scrm-v2-phase-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;align-items:start}.scrm-v2-phase-row{min-width:0}.scrm-v2-phase-row .scrm-v2-post-board-card{height:100%;cursor:default}.scrm-v2-phase-row .scrm-v2-post-card-main strong{font-size:13px}.scrm-v2-phase-row .scrm-v2-post-card-main span,.scrm-v2-phase-row .scrm-v2-post-card-main small{font-size:11.5px}.scrm-v2-phase-row[hidden]{display:none!important}
.scrm-v2-phase-card.is-filter-empty .scrm-v2-phase-list:after{content:'Aucun projet avec ce filtre.';display:block;border:1px dashed rgba(75,60,40,.16);border-radius:14px;padding:14px;text-align:center;color:#7b7065;background:rgba(255,255,255,.55);font-size:12px}
.scrm-v2-quick-results.is-ajax a{display:block!important}.scrm-v2-quick-results.is-ajax .scrm-v2-quick-empty{display:block;margin:8px;color:#817466;font-size:12px}.scrm-v2-quick-search.is-loading input{background-image:linear-gradient(90deg,rgba(176,139,45,.06),rgba(176,139,45,.16),rgba(176,139,45,.06));background-size:220% 100%;animation:scrmSearchPulse 1s linear infinite}@keyframes scrmSearchPulse{to{background-position:-220% 0}}
@media(max-width:900px){.scrm-v2-phase-toolbar{grid-template-columns:1fr}.scrm-v2-phase-list{grid-template-columns:1fr}.scrm-v2-phase-card h2{font-size:18px!important}}


/* Studio CRM V2.21.34 — ergonomie menu + tunnel dashboard + fiche projet allégée */
.scrm-v2-sidebar{overflow-y:auto!important;overflow-x:visible!important;scrollbar-width:thin;}
.scrm-v2-sidebar nav{padding-bottom:14px;}
.scrm-v2-quick-search{flex:0 0 auto;}
.scrm-v2-post-session-compact .scrm-v2-post-quick-row{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;}
.scrm-v2-post-session-compact label{min-width:260px;max-width:420px;flex:1;font-weight:800;color:#51473d;}
.scrm-v2-post-session-compact select{width:100%;height:42px;border:1px solid #dfd2c0;border-radius:14px;background:#fffefb;padding:0 12px;margin-top:6px;}
.scrm-v2-dashboard-tunnel{margin-top:22px;}
.scrm-v2-dashboard-tunnel-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:start;}
.scrm-v2-dashboard-tunnel-phase{border:1px solid rgba(176,139,45,.15);border-radius:18px;background:rgba(255,250,243,.58);padding:12px;min-width:0;}
.scrm-v2-dashboard-tunnel-phase h3{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px;font-size:13px;color:#655343;text-transform:none;}
.scrm-v2-dashboard-tunnel-phase h3 span{display:inline-flex;min-width:24px;height:24px;border-radius:999px;align-items:center;justify-content:center;background:#e2bd62;color:#fff;font-weight:900;font-size:12px;}
.scrm-v2-dashboard-tunnel-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:10px;border-radius:14px;background:#fffdf8;border:1px solid rgba(176,139,45,.12);margin-bottom:8px;}
.scrm-v2-dashboard-tunnel-row a{text-decoration:none;color:inherit;min-width:0;}
.scrm-v2-dashboard-tunnel-row strong,.scrm-v2-dashboard-tunnel-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.scrm-v2-dashboard-tunnel-row strong{font-size:12.5px;}.scrm-v2-dashboard-tunnel-row small{font-size:11px;color:#7b7065;margin-top:2px;}
.scrm-v2-dashboard-tunnel-row select{width:100%;height:32px;border-radius:11px;border:1px solid rgba(176,139,45,.22);background:#fff;padding:0 8px;font-size:11.5px;color:#6a5025;}
@media(max-width:1350px){.scrm-v2-dashboard-tunnel-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){.scrm-v2-dashboard-tunnel-grid{grid-template-columns:1fr;}.scrm-v2-post-session-compact .scrm-v2-post-quick-row{display:block;}.scrm-v2-post-session-compact .scrm-v2-card-actions{margin-top:12px;}}

/* Studio CRM 2.21.42 — templates emails RDV privés */
.scrm-booking-email-templates{margin-top:18px;border:1px solid rgba(176,138,74,.22);background:#fffaf3;border-radius:14px;padding:14px}
.scrm-booking-email-templates summary{cursor:pointer;font-weight:700;color:#6f5730}
.scrm-booking-email-templates code{display:inline-block;margin:2px 3px;padding:3px 6px;border-radius:999px;background:#f6efe3;color:#7c6235;font-size:11px}
.scrm-booking-email-template{margin-top:16px;padding-top:14px;border-top:1px solid rgba(176,138,74,.16)}
.scrm-booking-email-template h5{margin:0 0 10px;font-size:14px;color:#2c2721}
.scrm-booking-email-template textarea{min-height:150px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:13px;line-height:1.5}
.scrm-booking-email-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.scrm-booking-email-preview{margin:22px 0;padding:18px;border:1px solid rgba(176,138,74,.24);background:#fff;border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.04)}
.scrm-booking-email-preview h4{margin:0 0 10px}.scrm-booking-email-preview-body{border-top:1px solid #eee2d4;margin-top:12px;padding-top:12px}


/* Studio CRM 2.21.43 — panneau visible Emails RDV */
.scrm-project-booking-email-settings{margin-top:0}
.scrm-booking-vars{margin:16px 0 20px;padding:14px 16px;border:1px solid rgba(176,138,74,.22);background:#fffaf3;border-radius:12px}
.scrm-booking-vars strong{display:block;margin-bottom:8px;color:#5f4726}
.scrm-booking-vars p{margin:0;line-height:1.9}
.scrm-booking-vars code{display:inline-block;margin:2px 3px;padding:3px 7px;border-radius:999px;background:#f4eadb;color:#7c6235;font-size:11px;font-weight:700}
.scrm-project-booking-email-grid{display:grid;grid-template-columns:1fr;gap:18px;margin-top:18px}
.scrm-project-booking-email-card{padding:18px;border-radius:18px;background:#fff;border:1px solid rgba(80,60,40,.10);box-shadow:0 10px 28px rgba(70,50,25,.035)}
.scrm-project-booking-email-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;border-bottom:1px solid rgba(80,60,40,.08);padding-bottom:12px}
.scrm-project-booking-email-card>header h4{margin:0;font-size:18px;color:#3f342b}
.scrm-project-booking-email-card>header span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#9a7a43;background:#faf4ea;border:1px solid rgba(176,138,74,.18);padding:5px 8px;border-radius:999px}
.scrm-booking-email-template{margin:12px 0;padding:14px;border:1px solid rgba(176,138,74,.18);border-radius:14px;background:#fffdf9}
.scrm-booking-email-template summary{cursor:pointer;font-weight:800;color:#6f5730;margin-bottom:12px}
.scrm-booking-email-template label{display:grid;gap:6px;margin:10px 0;font-weight:700;color:#5d5146}
.scrm-booking-email-template input:not([type="checkbox"]),.scrm-booking-email-template textarea{width:100%;border:1px solid rgba(80,60,40,.15);border-radius:12px;background:#fff;padding:10px 12px;box-sizing:border-box}
.scrm-booking-email-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.scrm-booking-email-preview{margin-top:18px;padding:18px;border-radius:14px;background:#fff;border:1px solid rgba(176,138,74,.22)}
@media(min-width:1180px){.scrm-project-booking-email-grid{grid-template-columns:1fr 1fr}}


/* ==========================================================
   Studio CRM 2.21.57 — Premium design system réellement appliqué à l'interface V2
   Ciblage volontairement large sur .scrm-v2-* : couche esthétique uniquement.
   ========================================================== */
:root{
  --scrm-premium-bg:#F7F3EC;
  --scrm-premium-sidebar:#F3EEE6;
  --scrm-premium-surface:#FFFFFF;
  --scrm-premium-surface-soft:#FAF8F4;
  --scrm-premium-text:#1F1D1A;
  --scrm-premium-muted:#746F67;
  --scrm-premium-discreet:#A39A8F;
  --scrm-premium-gold:#B58A3A;
  --scrm-premium-gold-hover:#9E742D;
  --scrm-premium-gold-soft:#E7D6B8;
  --scrm-premium-border:#E7DFD4;
  --scrm-premium-line:#EEE7DD;
  --scrm-premium-success:#2FA66A;
  --scrm-premium-success-bg:#EAF6EF;
  --scrm-premium-warning:#D49A2A;
  --scrm-premium-warning-bg:#FFF5DE;
  --scrm-premium-danger:#D65D54;
  --scrm-premium-danger-bg:#FCEBE9;
  --scrm-premium-shadow:0 12px 30px rgba(50,40,28,.04);
  --scrm-premium-radius:10px;
  --scrm-premium-radius-small:6px;
}
html body .scrm-v2-app{
  grid-template-columns:180px minmax(0,1fr) !important;
  min-height:100vh !important;
  background:var(--scrm-premium-bg) !important;
  color:var(--scrm-premium-text) !important;
  font-family:Inter, "Helvetica Neue", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size:14px !important;
  line-height:1.45 !important;
}
html body .scrm-v2-app *{box-sizing:border-box;}
html body .scrm-v2-sidebar{
  width:180px !important;
  padding:24px 16px !important;
  background:var(--scrm-premium-sidebar) !important;
  border-right:1px solid var(--scrm-premium-border) !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}
html body .scrm-v2-logo{margin:0 0 22px !important;text-align:left !important;font-family:Inter,system-ui,sans-serif !important;}
html body .scrm-v2-logo strong{font-family:Inter,system-ui,sans-serif !important;font-size:18px !important;font-style:normal !important;font-weight:650 !important;letter-spacing:-.02em !important;color:var(--scrm-premium-text) !important;}
html body .scrm-v2-logo span{font-size:10px !important;letter-spacing:.16em !important;color:var(--scrm-premium-gold) !important;}
html body .scrm-v2-sidebar nav{gap:6px !important;}
html body .scrm-v2-sidebar a{
  height:34px !important;
  min-height:34px !important;
  padding:0 10px !important;
  border-radius:var(--scrm-premium-radius-small) !important;
  color:#3A342D !important;
  font-size:13px !important;
  font-weight:550 !important;
  gap:10px !important;
  border:1px solid transparent !important;
  box-shadow:none !important;
  transition:all .18s ease !important;
}
html body .scrm-v2-sidebar a .dashicons{font-size:16px !important;width:16px !important;height:16px !important;color:#7D746A !important;}
html body .scrm-v2-sidebar a:hover,
html body .scrm-v2-sidebar a.active{background:#EFE4D2 !important;color:var(--scrm-premium-gold) !important;border-color:#EADCC4 !important;}
html body .scrm-v2-sidebar a.active .dashicons{color:var(--scrm-premium-gold) !important;}
html body .scrm-v2-user{border-radius:var(--scrm-premium-radius) !important;background:rgba(255,255,255,.48) !important;border:1px solid rgba(231,223,212,.8) !important;padding:10px !important;}
html body .scrm-v2-avatar{background:#EFE4D2 !important;color:var(--scrm-premium-gold) !important;}
html body .scrm-v2-main{padding:28px 32px 48px !important;min-width:0 !important;}
html body .scrm-v2-topbar{height:auto !important;margin-bottom:24px !important;}
html body .scrm-v2-title{margin:0 0 22px !important;align-items:center !important;}
html body .scrm-v2-title h1,
html body .scrm-v2-modal h2{
  font-family:Inter,system-ui,sans-serif !important;
  font-size:24px !important;
  font-weight:520 !important;
  line-height:1.18 !important;
  letter-spacing:-.02em !important;
  color:var(--scrm-premium-text) !important;
}
html body .scrm-v2-title p,
html body .scrm-v2-card p,
html body .scrm-v2-card small,
html body .scrm-v2-row-main small,
html body .scrm-v2-session-row small{color:var(--scrm-premium-muted) !important;}
html body .scrm-v2-card,
html body .scrm-v2-stats div,
html body .scrm-v2-modal-box,
html body .scrm-v2-settings nav,
html body .scrm-v2-template-editor,
html body .scrm-v2-template-list{
  background:var(--scrm-premium-surface) !important;
  border:1px solid var(--scrm-premium-border) !important;
  border-radius:var(--scrm-premium-radius) !important;
  box-shadow:var(--scrm-premium-shadow) !important;
}
html body .scrm-v2-card{padding:18px !important;}
html body .scrm-v2-card > header{margin-bottom:12px !important;}
html body .scrm-v2-card h2{font-family:Inter,system-ui,sans-serif !important;font-size:16px !important;font-weight:650 !important;letter-spacing:-.01em !important;color:var(--scrm-premium-text) !important;}
html body .scrm-v2-grid{gap:18px !important;margin-bottom:18px !important;}
html body .scrm-v2-stats{gap:16px !important;margin-bottom:18px !important;}
html body .scrm-v2-stats div{padding:16px !important;}
html body .scrm-v2-stats b{font-family:Inter,system-ui,sans-serif !important;font-size:26px !important;font-weight:520 !important;color:var(--scrm-premium-text) !important;}
html body .scrm-v2-stats span{font-size:12px !important;color:var(--scrm-premium-muted) !important;font-weight:550 !important;}
html body .scrm-v2-btn,
html body .scrm-v2-modal button,
html body .scrm-v2-card button,
html body .scrm-btn,
html body button.scrm-btn{
  border-radius:var(--scrm-premium-radius-small) !important;
  min-height:34px !important;
  height:auto !important;
  padding:8px 14px !important;
  font-size:12px !important;
  font-weight:600 !important;
  box-shadow:none !important;
  transform:none !important;
  transition:all .18s ease !important;
}
html body .scrm-v2-btn.primary,
html body .scrm-v2-btn.gold,
html body .scrm-btn.gold,
html body .scrm-v2-card button[type="submit"],
html body .scrm-v2-modal button[type="submit"]{background:var(--scrm-premium-gold) !important;color:#fff !important;border:1px solid var(--scrm-premium-gold) !important;text-shadow:none !important;}
html body .scrm-v2-btn.primary:hover,
html body .scrm-v2-btn.gold:hover,
html body .scrm-btn.gold:hover{background:var(--scrm-premium-gold-hover) !important;border-color:var(--scrm-premium-gold-hover) !important;}
html body .scrm-v2-btn:not(.primary):not(.gold):not(.danger),
html body .scrm-v2-card button:not([type="submit"]):not(.danger){background:#fff !important;color:#3A342D !important;border:1px solid #E1D6C7 !important;}
html body .scrm-v2-btn:not(.primary):not(.gold):not(.danger):hover,
html body .scrm-v2-card button:not([type="submit"]):not(.danger):hover{background:var(--scrm-premium-surface-soft) !important;color:var(--scrm-premium-gold) !important;border-color:var(--scrm-premium-gold-soft) !important;}
html body .scrm-v2-btn.danger,
html body button.danger{background:var(--scrm-premium-danger-bg) !important;color:var(--scrm-premium-danger) !important;border-color:#F1C7C3 !important;}
html body .scrm-v2-app input,
html body .scrm-v2-app select,
html body .scrm-v2-app textarea{
  background:#fff !important;
  border:1px solid var(--scrm-premium-border) !important;
  border-radius:var(--scrm-premium-radius-small) !important;
  color:var(--scrm-premium-text) !important;
  font-size:12px !important;
  min-height:34px !important;
  padding:8px 12px !important;
  box-shadow:none !important;
}
html body .scrm-v2-app textarea{min-height:96px !important;line-height:1.5 !important;}
html body .scrm-v2-app input:focus,
html body .scrm-v2-app select:focus,
html body .scrm-v2-app textarea:focus{outline:none !important;border-color:var(--scrm-premium-gold) !important;box-shadow:0 0 0 3px rgba(181,138,58,.12) !important;}
html body .scrm-v2-table{width:100% !important;border-collapse:collapse !important;background:#fff !important;border-radius:var(--scrm-premium-radius) !important;overflow:hidden !important;}
html body .scrm-v2-table th{font-size:11px !important;font-weight:600 !important;color:var(--scrm-premium-muted) !important;text-align:left !important;padding:10px 12px !important;border-bottom:1px solid var(--scrm-premium-border) !important;text-transform:none !important;letter-spacing:0 !important;}
html body .scrm-v2-table td{font-size:12px !important;color:var(--scrm-premium-text) !important;padding:12px !important;border-top:0 !important;border-bottom:1px solid var(--scrm-premium-line) !important;}
html body .scrm-v2-table tr:hover td{background:var(--scrm-premium-surface-soft) !important;}
html body .scrm-v2-badge,
html body .scrm-v2-status,
html body [class*="scrm-v2-badge"]{display:inline-flex !important;align-items:center !important;min-height:22px !important;padding:2px 9px !important;border-radius:999px !important;font-size:11px !important;font-weight:600 !important;border:0 !important;line-height:1.2 !important;background:var(--scrm-premium-warning-bg) !important;color:var(--scrm-premium-warning) !important;}
html body .scrm-v2-badge.is_confirme,
html body .scrm-v2-badge.is-confirmé,
html body .scrm-v2-badge.is_livre,
html body .scrm-v2-badge.is_livraison{background:var(--scrm-premium-success-bg) !important;color:var(--scrm-premium-success) !important;}
html body .scrm-v2-badge.is_selection,
html body .scrm-v2-badge.is_retard,
html body .scrm-v2-badge.is_en_retard{background:var(--scrm-premium-danger-bg) !important;color:var(--scrm-premium-danger) !important;}
html body .scrm-v2-tabs,
html body .scrm-v2-tabbar{display:flex !important;gap:24px !important;border-bottom:1px solid var(--scrm-premium-border) !important;background:transparent !important;}
html body .scrm-v2-tab,
html body .scrm-v2-tabs a{padding:12px 0 !important;font-size:12px !important;color:var(--scrm-premium-muted) !important;border:0 !important;background:transparent !important;text-decoration:none !important;}
html body .scrm-v2-tab.active,
html body .scrm-v2-tabs a.active{color:var(--scrm-premium-gold) !important;border-bottom:2px solid var(--scrm-premium-gold) !important;}
html body .scrm-v2-project-card,
html body .scrm-v2-pipeline div,
html body .scrm-v2-prod-pipeline div,
html body .scrm-v2-task-row,
html body .scrm-v2-session-row{border-color:var(--scrm-premium-line) !important;}
html body .scrm-v2-project-card,
html body .scrm-v2-pipeline div,
html body .scrm-v2-prod-pipeline div{background:var(--scrm-premium-surface-soft) !important;border-radius:var(--scrm-premium-radius) !important;box-shadow:none !important;}
html body .scrm-v2-settings{grid-template-columns:220px minmax(0,1fr) !important;gap:18px !important;align-items:start !important;max-width:100% !important;}
html body .scrm-v2-settings nav{position:sticky !important;top:24px !important;padding:8px !important;gap:6px !important;overflow:auto !important;max-height:calc(100vh - 48px) !important;}
html body .scrm-v2-settings nav button{min-height:38px !important;border:1px solid transparent !important;background:transparent !important;border-radius:var(--scrm-premium-radius-small) !important;padding:0 10px !important;color:#3A342D !important;font-size:13px !important;font-weight:550 !important;box-shadow:none !important;}
html body .scrm-v2-settings nav button:hover,
html body .scrm-v2-settings nav button.active{background:#EFE4D2 !important;color:var(--scrm-premium-gold) !important;border-color:#EADCC4 !important;}
html body .scrm-v2-settings [data-settings-panel]{min-width:0 !important;overflow:visible !important;}
html body .scrm-booking-services-list{display:flex !important;flex-direction:column !important;gap:10px !important;max-width:100% !important;}
html body .scrm-booking-service-row{
  display:block !important;
  max-width:100% !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid var(--scrm-premium-border) !important;
  border-radius:var(--scrm-premium-radius) !important;
  box-shadow:var(--scrm-premium-shadow) !important;
  padding:14px !important;
}
html body .scrm-booking-service-row:not(.is-open):not(:first-child) > :not(.scrm-service-editor-head){display:none !important;}
html body .scrm-booking-service-row .scrm-service-editor-head{display:grid !important;grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(88px,.45fr)) !important;gap:10px !important;align-items:end !important;cursor:pointer !important;}
html body .scrm-booking-service-row .scrm-service-editor-section,
html body .scrm-booking-service-row .scrm-section-fields{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr)) !important;gap:10px !important;margin-top:12px !important;}
html body .scrm-booking-service-row label{min-width:0 !important;}
html body .scrm-booking-service-row input,
html body .scrm-booking-service-row select,
html body .scrm-booking-service-row textarea{width:100% !important;max-width:100% !important;}
html body .scrm-smart-booking-box{grid-column:1/-1 !important;background:var(--scrm-premium-surface-soft) !important;border:1px solid var(--scrm-premium-line) !important;border-radius:var(--scrm-premium-radius) !important;padding:12px !important;}
html body .scrm-switchline{display:flex !important;align-items:center !important;gap:9px !important;font-size:12px !important;color:#4B433A !important;}
html body .scrm-switchline input{width:16px !important;min-height:16px !important;accent-color:var(--scrm-premium-gold) !important;}
html body .scrm-template-row,
html body .template-row,
html body [data-template-id]{border:1px solid var(--scrm-premium-border) !important;border-radius:var(--scrm-premium-radius) !important;background:#fff !important;margin-bottom:10px !important;padding:14px !important;box-shadow:none !important;}
html body .scrm-template-row:hover,
html body .template-row:hover,
html body [data-template-id]:hover{background:var(--scrm-premium-surface-soft) !important;border-color:var(--scrm-premium-gold-soft) !important;}
@media(max-width:1000px){
  html body .scrm-v2-app{display:block !important;padding-bottom:74px !important;}
  html body .scrm-v2-sidebar{position:fixed !important;left:0 !important;right:0 !important;bottom:0 !important;top:auto !important;height:64px !important;width:100% !important;z-index:9999 !important;border-right:0 !important;border-top:1px solid var(--scrm-premium-border) !important;padding:8px 10px !important;overflow-x:auto !important;}
  html body .scrm-v2-logo,.scrm-v2-user{display:none !important;}
  html body .scrm-v2-sidebar nav{display:flex !important;flex-direction:row !important;gap:6px !important;min-width:max-content !important;}
  html body .scrm-v2-sidebar a{height:42px !important;min-width:74px !important;justify-content:center !important;font-size:11px !important;padding:0 8px !important;}
  html body .scrm-v2-main{padding:20px 14px !important;}
  html body .scrm-v2-grid.two,
  html body .scrm-v2-grid.project,
  html body .scrm-v2-grid.client,
  html body .scrm-v2-stats,
  html body .scrm-v2-settings{grid-template-columns:1fr !important;}
  html body .scrm-v2-settings nav{position:static !important;max-height:none !important;}
  html body .scrm-booking-service-row .scrm-service-editor-head{grid-template-columns:1fr 1fr !important;}
  html body .scrm-v2-table thead{display:none !important;}
  html body .scrm-v2-table,.scrm-v2-table tbody,.scrm-v2-table tr,.scrm-v2-table td{display:block !important;width:100% !important;}
  html body .scrm-v2-table tr{background:#fff !important;border:1px solid var(--scrm-premium-border) !important;border-radius:var(--scrm-premium-radius) !important;margin-bottom:10px !important;box-shadow:var(--scrm-premium-shadow) !important;}
}


/* Studio CRM 2.21.64 — Dashboard tâches : polices plus calmes sans modifier le moteur de tâches */
.crm1134-card.crm1134-tasks .crm1134-card-title h2,
.crm1134-tasks .crm1134-card-title h2{font-size:22px!important;line-height:1.18!important;letter-spacing:-.01em!important;}
.crm1134-card.crm1134-tasks .crm1134-card-title h2 b,
.crm1134-tasks .crm1134-card-title h2 b{width:32px!important;height:32px!important;min-width:32px!important;font-size:14px!important;}
.crm1134-card.crm1134-tasks .crm1134-task,
.crm1134-tasks .crm1134-task{min-height:64px!important;padding:10px 0!important;column-gap:14px!important;}
.crm1134-card.crm1134-tasks .crm1134-task-body strong,
.crm1134-tasks .crm1134-task-body strong{font-size:16px!important;line-height:1.22!important;font-weight:650!important;}
.crm1134-card.crm1134-tasks .crm1134-task-body span,
.crm1134-tasks .crm1134-task-body span{font-size:13px!important;line-height:1.25!important;}
.crm1134-card.crm1134-tasks .crm1134-task time,
.crm1134-tasks .crm1134-task time{font-size:14px!important;}
.scrm-v2-card [data-dashboard-tasks-list] .scrm-v2-task-row{min-height:58px!important;padding:10px 0!important;}
.scrm-v2-card [data-dashboard-tasks-list] .scrm-v2-row-main strong{font-size:15px!important;line-height:1.25!important;}
.scrm-v2-card [data-dashboard-tasks-list] .scrm-v2-row-main small,
.scrm-v2-card [data-dashboard-tasks-list] .scrm-v2-task-meta{font-size:12.5px!important;}
.scrm-v2-card [data-dashboard-tasks-count]{width:32px!important;height:32px!important;min-width:32px!important;font-size:14px!important;}
