/* © Pascal Evrard / Agence afondlacom’ */
:root{color-scheme:light;--ink:#101827;--muted:#465671;--line:#d5ddea;--accent:#245fca;--surface:#eff1f3;--radius:14px}*{box-sizing:border-box}body{margin:0;background:var(--surface);color:var(--ink);font:15px/1.6 Arial,sans-serif}a{color:var(--accent)}header{display:flex;align-items:center;gap:28px;padding:20px 4%;background:white;border-bottom:1px solid var(--line);flex-wrap:wrap}header>a:last-child{margin-left:auto}nav{display:flex;gap:16px;flex-wrap:wrap}nav a{text-decoration:none;font-size:14px}.brand{font-size:25px;font-weight:800;letter-spacing:-1.2px;text-decoration:none;color:var(--ink)}.brand span{color:var(--accent)}main{max-width:1440px;margin:auto;padding:28px 4% 60px}.page-title{display:flex;align-items:center;gap:18px;margin-bottom:24px}h1{font-size:30px;letter-spacing:-1px;line-height:1.2}h2{font-size:23px;line-height:1.3}h3{font-size:18px}.badge,.eyebrow{font-size:12px;color:var(--accent);background:#eaf1ff;border-radius:30px;padding:6px 12px}.panel,.cards article,details{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin:18px 0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.cards article{margin:0;padding:28px}.metric{display:block;font-size:42px;letter-spacing:-2px}.split{display:grid;grid-template-columns:1fr 1fr;gap:24px}.split>.panel{min-width:0}.notice{padding:16px 20px;background:#eaf1ff;border-left:4px solid var(--accent);white-space:pre-wrap;overflow-wrap:anywhere}.error{padding:12px;background:#fff0f0;color:#a0182d}.org-name{font-weight:bold;color:var(--muted)}button,.button{border:0;border-radius:8px;background:var(--accent);color:white;padding:11px 17px;display:inline-block;cursor:pointer;text-decoration:none;font:600 14px/1.4 Arial,sans-serif}button:hover,.button:hover{background:#174aa9}button:disabled{opacity:.5;cursor:wait}.subtle{background:#eaf1ff;color:var(--accent)}label{display:block;margin:14px 0;font-size:14px;font-weight:600}input,select,textarea{width:100%;border:1px solid #b5c6e0;background:white;border-radius:7px;padding:10px;color:var(--ink);font:15px/1.4 Arial,sans-serif;display:block;margin-top:6px}input[type=checkbox]{display:inline-block;width:auto;margin:0 8px 0 0}input[type=color]{height:44px;padding:4px}textarea{resize:vertical}fieldset{border:1px solid var(--line);border-radius:10px;margin:16px 0;padding:10px 16px}legend{font-size:13px;color:var(--muted)}form+form{margin-top:16px}.auth{max-width:550px;margin:30px auto;background:white;border:1px solid var(--line);padding:30px;border-radius:20px}.mfa-qr{display:block;max-width:100%;height:auto}.secret{font-family:monospace;font-size:21px;overflow-wrap:anywhere;background:var(--surface);padding:15px}summary{font-weight:600;cursor:pointer}details[open]>summary{margin-bottom:20px}.table-wrap{overflow-x:auto;margin:20px 0}table{width:100%;border-collapse:collapse;background:white;font-size:13px}th,td{text-align:left;padding:14px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#eaf1ff;white-space:nowrap}td form{min-width:140px}td form input{font-size:13px}td button{font-size:12px}footer{padding:30px 4%;border-top:1px solid var(--line);font-size:12px;color:var(--muted);background:white}footer a{margin-left:15px}.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:7%;padding:45px 0 60px}.hero h2{font-size:clamp(40px,5vw,72px);letter-spacing:-3px;line-height:1.06;margin:25px 0}.hero p{max-width:490px;color:var(--muted);font-size:18px}.hero-art{background:linear-gradient(135deg,#d5ddea,#eaf1ff);border-radius:28px;padding:40px;text-align:center}.hero-art>p{font-size:12px;margin:10px auto}.paper{background:white;padding:28px;border-radius:12px;box-shadow:0 20px 40px #11234e20;transform:rotate(-3deg);max-width:380px;margin:auto}.paper-brand{font-size:12px;letter-spacing:3px;font-weight:bold}.paper-photo{height:130px;background:linear-gradient(145deg,#5074ad,#d5ddea);margin:24px 0;border-radius:8px}.paper p{font-size:13px}.reservation{padding:20px;text-align:center;background:white;border:1px solid var(--line);border-radius:12px}.price{font-size:32px;font-weight:bold}.legal-link{display:inline-block;margin:20px 20px 0 0}.prose{max-width:800px;background:white;padding:30px;border-radius:15px}.editor-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:16px 0}.editor-toolbar input{max-width:350px;margin:0}.editor-toolbar span{font-size:12px;color:var(--muted)}.editor-grid{display:grid;grid-template-columns:180px minmax(220px,1fr) 280px;gap:18px;align-items:start}.editor-grid .panel{padding:16px}.editor-grid h2{font-size:17px}#block-library{display:grid;gap:8px}#block-library button{background:#eaf1ff;color:var(--accent);text-align:left;font-size:12px}.block{padding:18px;border:1px solid var(--line);background:white;border-radius:8px;margin:10px 0;cursor:grab;overflow-wrap:anywhere}.block.selected{outline:2px solid var(--accent)}.block small{display:block;color:var(--muted)}.block-actions{display:flex;gap:8px;margin-top:10px}.block-actions button{padding:5px 9px;font-size:12px}.block-child{margin:10px;padding:10px;border-left:3px solid #adc1df}.child-tools{display:flex;gap:6px;flex-wrap:wrap}.child-tools button{padding:4px 7px;font-size:11px}#preview,.campaign-preview{display:block;border:1px solid var(--line);width:100%;height:700px;background:white;margin:20px auto}#preview.mobile{width:375px;max-width:100%}#stats-chart{display:block;max-width:100%;height:auto}#campaign-stats{display:flex;gap:20px;flex-wrap:wrap}#campaign-stats p{font-size:13px}pre{white-space:pre-wrap;overflow-wrap:anywhere}small{color:var(--muted)}:focus-visible{outline:3px solid #5074ad;outline-offset:3px}/* Je présente les aperçus réels dans des cartes indépendantes et adaptées aux petits écrans. */
.library-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 8px}.library-intro h2{margin:0 0 8px}.library-intro p{margin:0;color:var(--muted);max-width:760px}.library-intro .badge{flex-shrink:0}.library-filters{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:10px 0 28px}.library-filters label{flex:1 1 200px;margin:0}.library-filters label:first-of-type{flex-grow:2}.library-filters>a{align-self:center;font-size:13px}.template-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:24px}.template-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:white;min-width:0;box-shadow:0 6px 24px #10182706}.template-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid var(--line)}.template-kind{color:var(--accent);font-size:12px;font-weight:700}.template-preview{height:300px;position:relative;overflow:hidden;background:#eaf1ff;border-bottom:1px solid var(--line)}.template-preview iframe{position:absolute;top:18px;left:50%;margin-left:-138px;width:600px;height:850px;border:0;transform:scale(.46);transform-origin:top left;pointer-events:none;background:white;box-shadow:0 4px 16px #10182718}.template-card-content{padding:20px}.template-card-content h3{font-size:21px;line-height:1.25;margin:0 0 6px;overflow-wrap:anywhere}.template-card-date{color:var(--muted);font-size:12px;margin:0 0 18px}.template-card-actions{display:flex;flex-wrap:wrap;gap:8px}.template-card-actions .button{font-size:13px;padding:10px 12px}.template-card-tools{padding:12px 0 0;border:0;border-radius:0;margin:14px 0 0;border-top:1px solid var(--line)}.template-card-tools summary{font-size:13px;color:var(--muted)}.template-card-tools[open]>summary{margin-bottom:12px}.template-card-tools label{font-size:13px}.template-card-tools button{font-size:13px}.template-empty{height:300px;background:#eaf1ff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;text-align:center;border-bottom:1px solid var(--line)}.template-empty p{font-size:13px;color:var(--muted);margin:0;max-width:220px}.template-empty-sheet{width:78px;height:100px;border:2px dashed #adc1df;border-radius:6px;background:white}.library-pagination{justify-content:center;align-items:center;margin-top:28px}.library-pagination span{font-size:14px;color:var(--muted)}
@media(max-width:360px){.template-preview iframe{transform:scale(.38);margin-left:-114px}.template-preview,.template-empty{height:260px}.library-intro{align-items:flex-start;flex-direction:column}}
@media(max-width:1000px){.editor-grid{grid-template-columns:150px minmax(180px,1fr)}.editor-grid>aside:last-child{grid-column:1/-1}.hero h2{font-size:46px}}@media(max-width:700px){main{padding:22px 5%}.page-title{display:block}h1{font-size:26px}header{gap:15px}nav{order:3;font-size:12px;width:100%;gap:12px}.cards,.split,.hero{grid-template-columns:1fr}.hero{padding:10px 0 25px;gap:25px}.hero h2{font-size:44px}.hero-art{padding:24px}.editor-grid{grid-template-columns:1fr}.editor-grid>aside:last-child{grid-column:auto}#block-library{grid-template-columns:repeat(3,1fr)}.panel{padding:18px}.editor-toolbar button{padding:9px}.auth{padding:22px}.cards{gap:12px}.table-wrap{margin-left:-5%;margin-right:-5%}.hero-art .paper{transform:none}}
/* © Pascal Evrard / Agence afondlacom’ : éditeur visuel responsive. */
body[data-page="editor"]{font-family:Arial,sans-serif}body[data-page="editor"] main{max-width:1500px;padding:24px}body[data-page="editor"] .page-title{margin-bottom:18px}.studio{background:#fff;border:2px solid #245fca;border-radius:26px;overflow:hidden;margin:24px 0 32px;box-shadow:0 12px 38px #11234e0d;font:15px Arial,sans-serif;color:#101827}.studio button,.studio input,.studio select,.studio textarea{font-family:Arial,sans-serif;font-size:14px}.studio button{min-height:44px;border:1px solid #d5ddea;background:#fff;color:#11234e;padding:10px 14px;border-radius:8px;cursor:pointer}.studio button:hover{background:#eaf1ff;border-color:#5074ad}.studio button:focus-visible,.studio input:focus-visible,.studio textarea:focus-visible,.studio select:focus-visible{outline:3px solid #5074ad;outline-offset:2px}.studio-top{padding:22px 24px;display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid #d5ddea}.studio-mark{font-weight:700;font-size:22px;color:#245fca}.studio-caption{display:block;font-size:10px;letter-spacing:2px;margin-top:5px;color:#465671}.studio #save-state{font-size:13px;max-width:470px;line-height:1.5}.studio .editor-toolbar{display:flex;gap:8px;padding:14px 22px;margin:0;background:#fff;border-bottom:1px solid #eaf1ff;flex-wrap:wrap}.studio #doc-name{flex:1;min-width:180px;margin:0;border:1px solid #d5ddea;min-height:44px}.studio #save{background:#245fca;color:#fff;border-color:#245fca}.studio-layout{display:grid;grid-template-columns:360px minmax(0,1fr)}.studio-sidebar{padding:20px 16px;border-right:1px solid #eaf1ff;min-width:0;background:#fff}.studio-tabs{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:0;border-bottom:1px solid #eee}.studio-tabs button{border:0;border-radius:0;background:transparent;font-size:13px;padding:12px 4px;line-height:1.3}.studio-tabs button[aria-pressed="true"]{color:#245fca;border-bottom:2px solid #245fca;font-weight:700}.studio-help{font-size:13px;color:#465671;line-height:1.6;margin:18px 2px}.studio #block-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.studio .studio-tile{display:flex;flex-direction:column;justify-content:center;gap:14px;align-items:center;position:relative;padding:28px 5px 16px;min-height:118px;border:1px solid #d5ddea;box-shadow:0 2px 3px #11234e0c;border-radius:9px;line-height:1.3;color:#11234e;font-size:12px;cursor:grab;overflow-wrap:anywhere}.studio-tile:before{content:'⠿';position:absolute;top:5px;color:#536886;font-size:18px}.studio-tile-icon{font:30px Arial,sans-serif;color:#465671;line-height:1.1}.studio #properties h3{font-size:20px;margin:22px 0}.studio #properties label,.studio #sidebar-panel label{display:block;font-size:13px;color:#465671;margin:16px 0}.studio #properties input,.studio #properties select,.studio #properties textarea,.studio #sidebar-panel input{width:100%;box-sizing:border-box;border:1px solid #d5ddea;min-height:44px;border-radius:7px;padding:10px;margin-top:7px;background:#fff;color:#101827}.studio #properties input[type="color"],.studio #sidebar-panel input[type="color"]{padding:4px}.studio #properties textarea{min-height:125px;resize:vertical;line-height:1.5}.studio-column-tools{display:flex;flex-wrap:wrap;gap:6px}.studio-column-tools button{font-size:12px;padding:8px}.studio-stage{min-width:0;padding:18px 24px 28px;background:#f5f8ff;display:flex;flex-direction:column;align-items:center}.studio-devices{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px;justify-content:center}.studio-devices button{font-size:12px;padding:8px 12px}.studio-selected-tools{display:flex;gap:5px;flex-wrap:wrap;align-items:center;max-width:680px;margin-bottom:12px}.studio-selected-tools button{min-height:36px;font-size:11px;padding:6px 9px}.studio-selected-tools span{font-weight:bold;color:#245fca;margin-right:7px}.studio #preview{display:block;border:0;width:100%;max-width:680px;background:#fff;min-height:400px;margin:0 auto;border-radius:8px;box-shadow:0 5px 24px #11234e09}.studio #preview.mobile{max-width:375px}.studio .studio-add{display:block;width:100%;max-width:680px;margin-top:16px;padding:22px;border:1px dashed #5074ad;background:transparent;color:#465671}.studio #weight{font-size:11px;color:#465671;text-align:center;margin:16px 0 0}.studio [hidden]{display:none!important}.studio-preview .studio-sidebar{display:none}.studio-preview .studio-layout{grid-template-columns:minmax(0,1fr)}.studio-preview #selection-tools,.studio-preview #append-block{display:none!important}body[data-page="editor"]>.split{margin-top:20px}@media(min-width:1250px){.studio-layout{grid-template-columns:410px minmax(0,1fr)}.studio .studio-tile{min-height:135px}.studio-stage{padding:20px 34px 32px}}@media(max-width:850px){body[data-page="editor"] main{padding:16px}.studio-layout{grid-template-columns:280px minmax(0,1fr)}.studio-sidebar{padding:12px}.studio-stage{padding:14px 10px}.studio .studio-tile{min-height:104px;font-size:11px}.studio-tabs button{font-size:11px}.studio-top{padding:16px}.studio-caption{font-size:9px}}@media(max-width:640px){body[data-page="editor"] main{padding:10px}.studio{border-radius:16px;margin-top:16px}.studio-layout{display:flex;flex-direction:column}.studio-top{align-items:flex-start;flex-direction:column;gap:10px}.studio #save-state{font-size:12px}.studio .editor-toolbar{padding:12px}.studio #doc-name{flex-basis:100%;min-width:0}.studio .editor-toolbar button{flex:1;font-size:12px;padding:9px 7px}.studio-sidebar{border-right:0;border-bottom:1px solid #eee;padding:12px}.studio-tabs button{font-size:13px}.studio #block-library{grid-template-columns:repeat(3,minmax(0,1fr))}.studio .studio-tile{min-height:94px;font-size:12px;gap:8px}.studio-stage{padding:16px 8px}.studio #preview{width:100%}.studio-devices{width:100%}.studio-devices button{flex:1;padding:9px 5px}.studio-column-tools button{flex:1}.studio-selected-tools{padding:0 8px}.studio #properties textarea{min-height:110px}}
.studio #block-library .studio-tile{background:#fff;text-align:center;color:#11234e}.studio #block-library .studio-tile:hover{background:#f5f8ff;color:#245fca}.studio-saved-row{display:flex;gap:8px;align-items:center;margin:14px 0}.studio-saved-row>.studio-tile{flex:1}.studio #properties>select{margin:10px 0}.studio #properties>.studio-back{width:100%;text-align:left}
/* Je donne la priorité à l'adresse produit plutôt qu'à l'adresse technique de l'image. */
.studio .product-importer{padding:16px;background:#f5f8ff;border:1px solid #d5ddea;border-radius:12px;margin:18px 0}.studio .product-importer h4{margin:0;font-size:15px}.studio .product-importer>button{width:100%;background:#245fca;color:#fff}.studio .product-importer p{font-size:12px;line-height:1.5}.studio .product-importer strong{display:block;margin-top:10px}.studio .product-import-thumb{display:block;max-width:100%;max-height:180px;object-fit:contain;background:#fff;margin:16px auto 8px}.studio #properties details{padding:12px;margin:18px 0;font-size:12px}.studio #properties details label{margin-bottom:0}
/* Les réglages et le contenu disposent de défilements indépendants. */
.studio-layout{height:70vh;height:70dvh;min-height:420px;overflow:hidden;align-items:stretch}.studio-sidebar,.studio-stage{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.studio-stage{display:block}.studio-devices{position:sticky;top:0;z-index:2;background:#f5f8ff;padding:8px 0;margin-top:-8px}.studio-selected-tools{position:relative;margin-left:auto;margin-right:auto}.studio-expanded-body{overflow:hidden}.studio.studio-expanded{position:fixed;inset:8px;z-index:1000;margin:0;border-radius:18px;display:flex;flex-direction:column}.studio-expanded .studio-top,.studio-expanded .editor-toolbar{flex-shrink:0}.studio-expanded .studio-layout{flex:1;height:auto;min-height:0}.studio-dimensions{padding:14px;background:#f5f8ff;border:1px solid #d5ddea;border-radius:10px;margin-bottom:20px}.studio-dimensions h4{margin:0 0 14px;font-size:14px}.studio-dimensions h4:not(:first-child){margin-top:20px}.studio #properties .studio-size-control{margin:13px 0}.studio-size-inputs{display:grid;grid-template-columns:minmax(40px,1fr) 70px 20px;align-items:center;gap:8px}.studio #properties .studio-size-inputs input[type=range]{padding:0;border:0;background:transparent;min-height:32px;accent-color:#245fca}.studio #properties .studio-size-inputs input[type=number]{padding:7px;min-height:36px;margin-top:0;font-size:13px}.studio-size-inputs>span{font-size:11px;color:#465671}.studio-align-tools{display:flex;gap:6px;margin-top:16px}.studio-align-tools button{flex:1;padding:8px 4px;font-size:12px}.studio #expand-editor{background:#eaf1ff;color:#245fca;border-color:#d5ddea}@media(max-width:640px){.studio-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:44% 56%;height:78vh;height:78dvh;min-height:460px}.studio-stage{grid-row:1;border-bottom:2px solid #d5ddea;padding:8px}.studio-sidebar{grid-row:2;border:0}.studio-devices{padding:4px 0;margin-top:0;gap:4px}.studio-devices button{min-height:36px;padding:6px 3px;font-size:11px}.studio-selected-tools{margin:0 auto 6px;gap:3px}.studio-selected-tools button{min-height:32px}.studio.studio-expanded{inset:0;border-radius:0}.studio-expanded .studio-top{padding:8px 12px}.studio-expanded .studio-caption{display:none}.studio-expanded .editor-toolbar{padding:8px}.studio-expanded #doc-name{min-height:36px}.studio-preview .studio-layout{grid-template-rows:minmax(0,1fr)}.studio-preview .studio-stage{grid-row:1}.studio-size-inputs{grid-template-columns:minmax(40px,1fr) 76px 22px}}
/* Pictogrammes vectoriels explicites, avec libellés permanents. */
.studio .studio-icon{width:32px;height:32px;display:block;flex-shrink:0;color:inherit}.studio .studio-tile .studio-tile-icon{width:36px;height:36px;color:#465671}.studio .studio-tile:before{content:none}.studio .studio-tile .studio-grip{position:absolute;width:25px;height:25px;top:2px;left:calc(50% - 12.5px);color:#536886}.studio .studio-tile-label{font-size:12px;font-weight:400;color:#11234e;line-height:1.35}.studio #block-library .studio-tile:hover .studio-tile-icon{color:#245fca}.studio-tabs button{display:flex;align-items:center;justify-content:center;gap:6px}.studio-tabs .studio-tab-icon{width:17px;height:17px;color:inherit}@media(max-width:850px){.studio-tabs button{gap:4px}.studio-tabs .studio-tab-icon{width:15px;height:15px}}@media(max-width:640px){.studio .studio-tile .studio-tile-icon{width:30px;height:30px}.studio-tabs button{gap:6px}}
/* Historique compact, règle de conservation et suppression explicite. */
.history-manager>p{font-size:13px;color:var(--muted)}.history-list{padding:14px;margin-top:18px}.history-list>summary{font-size:14px}.history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.history-row:last-child{border-bottom:0}.history-row p{margin:0;font-size:13px}.history-row p span{font-size:12px;color:var(--muted)}.history-actions{display:flex;gap:6px;flex-wrap:wrap}.history-actions form,.history-actions form+form{margin:0}.history-actions button{padding:8px 10px;font-size:12px;min-height:40px}.history-clear button,.history-actions form:last-child button{background:#fff0f0;color:#a0182d}.history-actions form:first-child button{background:#eaf1ff;color:#245fca}@media(max-width:640px){.history-row{align-items:flex-start;flex-direction:column}.history-actions{width:100%}.history-actions form{flex:1}.history-actions button{width:100%}}
/* Barre compacte : format d'affichage et actions contextuelles séparés visuellement. */
.studio .studio-devices{justify-content:space-between;align-items:center;gap:12px;max-width:680px;margin-left:auto;margin-right:auto;padding:6px 0 10px;margin-bottom:4px;flex-wrap:nowrap}.studio-display-switch{display:flex;gap:2px;background:#eaf1ff;padding:3px;border-radius:10px;border:1px solid #d5ddea}.studio .studio-devices button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:500;min-height:38px;padding:8px 12px;white-space:nowrap}.studio .studio-display-switch button{border:0;background:transparent;color:#465671;border-radius:7px;box-shadow:none}.studio .studio-display-switch button[aria-pressed="true"]{background:white;color:#245fca;box-shadow:0 1px 4px #11234e1c;font-weight:700}.studio-devices .studio-icon{width:18px;height:18px}.studio #preview-toggle{background:#fff;border:1px solid #b5c6e0;min-width:100px}.studio #preview-toggle[aria-pressed="true"]{background:#245fca;color:#fff;border-color:#245fca}.studio .studio-selected-tools{position:sticky;top:57px;z-index:2;width:fit-content;max-width:100%;margin:0 auto 12px;padding:4px 6px 4px 12px;border:1px solid #d5ddea;border-radius:10px;background:#fff;box-shadow:0 3px 12px #11234e0b;gap:3px;align-items:center;flex-wrap:nowrap}.studio #selected-label{font-size:12px;color:#465671;font-weight:500;margin-right:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio .studio-selected-tools .studio-icon-action{display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;padding:7px;background:transparent;border:0;border-radius:7px;flex-shrink:0}.studio .studio-selected-tools .studio-icon{width:20px;height:20px;color:#465671}.studio .studio-selected-tools .studio-icon-action:hover{background:#eaf1ff}.studio #delete-block{border-left:1px solid #eaf1ff;border-radius:0 7px 7px 0;margin-left:4px}.studio #delete-block .studio-icon{color:#a0182d}.studio #delete-block:hover{background:#fff0f0}.studio-preview .studio-selected-tools{display:none!important}@media(max-width:640px){.studio .studio-devices{width:100%;gap:8px;margin-top:0;padding:4px 0 8px}.studio .studio-devices button{flex:none;min-height:40px;padding:8px 12px}.studio-device-label{display:none}.studio .studio-display-switch button{min-width:44px}.studio .studio-selected-tools{top:57px;margin-bottom:8px;padding:3px 5px;gap:1px}.studio #selected-label{font-size:11px;margin-right:4px;max-width:65px}.studio .studio-selected-tools .studio-icon-action{width:38px;height:40px;min-height:40px}.studio .studio-selected-tools .studio-icon{width:19px;height:19px}}
/* Parcours chronologique : une seule étape visible à la fois. */
.editor-workflow{margin:22px 0}.workflow-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;border:1px solid #d5ddea;background:#eaf1ff;border-radius:13px}.workflow-tabs button{min-height:48px;padding:12px 14px;border-radius:9px;background:transparent;color:#465671;font:600 14px/1.4 Arial,sans-serif;border:1px solid transparent}.workflow-tabs button:hover{background:#f5f8ff;color:#245fca}.workflow-tabs button[aria-selected="true"]{background:#fff;color:#245fca;border-color:#d5ddea;box-shadow:0 2px 7px #11234e14}.workflow-tabs button:focus-visible{outline:3px solid #5074ad;outline-offset:2px}.workflow-panel[hidden]{display:none!important}.workflow-panel>.studio{margin-top:12px}.workflow-panel>.panel{margin:14px 0;max-width:850px}.workflow-panel>.panel h2{margin-top:0}.workflow-panel>.panel>form{max-width:650px}.workflow-navigation{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;margin:16px 0}.workflow-navigation button{min-height:44px;background:#245fca;color:#fff}.workflow-navigation button:first-child:not(:only-child){background:#eaf1ff;color:#245fca}#workflow-status{font-size:13px;color:#465671;margin:8px 0}#workflow-status:empty{display:none}@media(max-width:640px){.workflow-tabs{gap:3px;padding:4px}.workflow-tabs button{padding:10px 5px;font-size:12px;min-height:54px}.workflow-navigation button{width:100%}.workflow-panel>.panel{padding:18px}}
/* Navigation intégrée au cadre de l'éditeur, toujours disponible en haut. */
.editor-workflow{border:2px solid #245fca;border-radius:20px;background:#fff;isolation:isolate}.workflow-header{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:30;background:#fff;padding:12px;border-bottom:1px solid #d5ddea;border-radius:18px 18px 0 0;box-shadow:0 3px 10px #11234e08}.workflow-header .workflow-tabs{flex:1;min-width:0;border:0;border-radius:10px}.workflow-header #expand-editor{min-height:44px;white-space:nowrap;background:#eaf1ff;color:#245fca;border:1px solid #d5ddea;font-size:12px}.editor-workflow>.workflow-panel{padding:0 12px 12px}.workflow-panel>.studio{border:0;border-radius:0;box-shadow:none;margin:0}.workflow-panel>.studio .studio-top{padding:14px 16px}.workflow-panel>.studio .studio-layout{height:67vh;height:67dvh}.editor-workflow>#workflow-status{margin:10px 16px}.editor-workflow>#workflow-status:empty{display:none}.editor-workflow.workflow-expanded{position:fixed;inset:8px;z-index:1000;margin:0;display:flex;flex-direction:column;border-radius:18px}.workflow-expanded>.workflow-header{position:relative;top:auto;flex-shrink:0}.workflow-expanded>.workflow-panel:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto}.workflow-expanded>#step-compose{overflow:hidden}.workflow-expanded .studio.studio-expanded{position:static;inset:auto;z-index:auto;flex:1;min-height:0;margin:0;display:flex;flex-direction:column;border-radius:0}.workflow-expanded .studio .studio-layout{height:auto;flex:1;min-height:0}.workflow-expanded #step-test>.panel,.workflow-expanded #step-library>.panel{width:100%;margin:14px auto}.workflow-expanded .workflow-tabs button{min-height:44px}@media(max-width:640px){.workflow-header{padding:7px;gap:6px;flex-wrap:wrap}.workflow-header .workflow-tabs{flex-basis:100%}.workflow-header #expand-editor{min-height:34px;padding:6px 10px;margin-left:auto}.editor-workflow>.workflow-panel{padding:0 6px 8px}.workflow-panel>.studio .studio-layout{height:72vh;height:72dvh}.workflow-expanded .studio .studio-layout{height:auto}.editor-workflow.workflow-expanded{inset:0;border-radius:0}.workflow-tabs button{font-size:11px;padding:8px 3px}}
/* Trois onglets clairement matérialisés : les non sélectionnés restent des boutons visibles. */
.workflow-header .workflow-tabs{background:#eaf1ff;gap:8px;padding:5px}.workflow-header .workflow-tabs button{background:#fff;border:1px solid #6686ba;color:#11234e;opacity:1;box-shadow:none;cursor:pointer;font-weight:700}.workflow-header .workflow-tabs button:hover{background:#eaf1ff;border-color:#245fca;color:#11234e}.workflow-header .workflow-tabs button[aria-selected="true"]{background:#245fca;border-color:#245fca;color:#fff;box-shadow:0 2px 5px #11234e24}.workflow-header .workflow-tabs button[aria-selected="true"]:hover{background:#174aa9;color:#fff}.workflow-header .workflow-tabs button:focus-visible{outline:3px solid #11234e;outline-offset:3px}@media(max-width:640px){.workflow-header .workflow-tabs{gap:5px;padding:3px}.workflow-header .workflow-tabs button{padding:9px 4px}}

/* Identité commune : la même gamme prune sur les pages publiques et privées. */
:root{--ink:#101827;--muted:#465671;--line:#d5ddea;--accent:#245fca;--surface:#eff1f3;--accent-hover:#174aa9;--accent-soft:#eaf1ff}
body{accent-color:var(--accent)}a:hover{color:var(--accent-hover)}header nav a{color:var(--accent);padding:5px 0}header nav a:hover{color:var(--accent-hover);text-decoration:underline;text-underline-offset:5px}.brand{color:var(--ink)}.brand span{color:var(--accent)}.badge,.eyebrow{color:var(--accent);background:var(--accent-soft)}button:focus-visible,.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#5074ad}input:focus,select:focus,textarea:focus{border-color:#245fca}.notice{color:#11234e;background:var(--accent-soft);border-left-color:var(--accent)}th{background:var(--accent-soft);color:#11234e}.org-name,legend{color:var(--muted)}.subtle{background:var(--accent-soft);color:var(--accent)}button:disabled{opacity:.65}.auth,.panel,.cards article,details{border-color:var(--line)}::selection{background:#dce8ff;color:#101827}
.button:hover{color:#fff}.button.subtle:hover{background:#dce8ff;color:#174aa9}
/* Signature de l'agence et aide en langage courant. */
.brand-identity{display:flex;flex-direction:column;gap:3px;flex-shrink:0}.agency-credit{font:11px/1.45 Arial,sans-serif;color:var(--muted);max-width:260px}.agency-credit strong{color:var(--accent);font-weight:700}.agency-footer{font-size:13px;color:#11234e;margin:0 0 10px}.site-help-toggle,.workflow-header .site-help-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;white-space:nowrap;background:#eaf1ff;border:1px solid #b5c6e0;border-radius:8px;color:#245fca;font-size:13px}.site-help-toggle[aria-pressed="true"]{background:#245fca;color:#fff;border-color:#245fca}.cs-help-tooltip{position:fixed;z-index:5000;box-sizing:border-box;padding:14px 16px;border:1px solid #b5c6e0;border-radius:10px;background:#11234e;color:#fff;box-shadow:0 5px 20px #10182726;font:14px/1.6 Arial,sans-serif;max-width:calc(100vw - 24px);overflow-wrap:break-word;pointer-events:none}.cs-help-tooltip[hidden],.cs-help-status[hidden]{display:none!important}.cs-help-status{position:fixed;z-index:4500;bottom:12px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 24px);width:620px;background:#fff;color:#11234e;border:2px solid #245fca;border-radius:10px;padding:12px 16px;font:13px/1.5 Arial,sans-serif;box-shadow:0 4px 20px #10182720;pointer-events:none}.cs-help-trigger,.studio button.cs-help-trigger{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;flex-shrink:0;width:25px;height:25px;min-height:25px;padding:0;margin:0 0 0 7px;border:1px solid #6686ba;border-radius:50%;background:#eaf1ff;color:#245fca;font:bold 13px/1 Arial,sans-serif;cursor:help}.cs-help-trigger:hover,.studio button.cs-help-trigger:hover{background:#dce8ff;color:#11234e}.cs-help-trigger:focus-visible{outline:3px solid #5074ad;outline-offset:2px}.cs-help-mode [data-help]{cursor:help!important}.cs-help-mode [data-help]:hover{outline:2px dashed #245fca;outline-offset:2px}@media(max-width:640px){.agency-credit{font-size:10px;max-width:240px}.site-help-toggle{min-height:40px}.workflow-header .site-help-toggle{min-height:34px;font-size:12px;margin-left:auto}.workflow-header #expand-editor{margin-left:0}.cs-help-tooltip{font-size:13px;padding:12px 14px}.cs-help-status{font-size:12px;padding:10px 12px;bottom:8px}}
.cs-help-mode .studio #preview{pointer-events:none}
@media(max-width:640px){.cs-help-trigger,.studio button.cs-help-trigger{width:32px;height:32px;min-height:32px;font-size:14px}}

/* Jauge du poids HTML. © Pascal Evrard / Agence afondlacom’ */
.editor-toolbar{flex-wrap:wrap}.newsletter-gauge{margin-left:auto;flex:0 1 300px;min-width:240px;padding:10px 14px;background:#eaf1ff;border:2px solid #6686ba;border-radius:12px;line-height:1.4}.gauge-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;color:#11234e}.gauge-heading #gauge-percent{font-size:23px;white-space:nowrap}.gauge-track{height:16px;overflow:hidden;border:1px solid #b5c6e0;border-radius:20px;background:#fff;margin:5px 0}.gauge-track span{display:block;height:100%;width:0;background:#245fca;border-radius:20px;transition:width .2s}.gauge-detail{font-size:12px;color:#11234e}.newsletter-gauge[data-level="near"]{background:#fff5df;border-color:#94610b}.newsletter-gauge[data-level="near"] .gauge-track span{background:#94610b}.newsletter-gauge[data-level="over"]{background:#fff0f0;border-color:#b42339}.newsletter-gauge[data-level="over"] .gauge-track span{background:#b42339}.newsletter-gauge[data-level="over"] .gauge-detail,.newsletter-gauge[data-level="over"] #gauge-percent{color:#a0182d;font-weight:700}@media(max-width:640px){.editor-toolbar .newsletter-gauge{flex-basis:100%;min-width:0;width:100%;margin-left:0}}
