
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Segoe UI',system-ui,sans-serif;background:#f5f7ff;color:#1a1a2e;min-height:100vh;display:flex;flex-direction:column;padding-top:100px}
header{background:#191a2e;border-bottom:2px solid #252640;padding:0 28px;min-height:100px;display:flex;align-items:center;gap:11px;position:fixed;top:0;left:0;right:0;z-index:100;box-shadow:0 3px 18px rgba(25,26,46,.5)}
header h1{font-size:20px;font-weight:900;letter-spacing:-.5px;color:#fff}
header h1 span{color:#00BB77}

.lang-sw{position:relative;margin-left:auto}
.lang-sw-btn{display:flex;align-items:center;gap:6px;background:#edfaf4;border:2px solid transparent;border-radius:8px;padding:5px 10px;cursor:pointer;font-size:13px;font-weight:900;color:#191a2e;transition:all .18s;letter-spacing:.3px}
.lang-sw-btn:hover{border-color:#00BB77}
.lang-sw-btn .chev{width:12px;height:12px;stroke:#191a2e;stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}
.lang-sw.open .lang-sw-btn .chev{transform:rotate(180deg)}
.lang-dd{position:absolute;top:calc(100% + 6px);right:0;background:#fff;border-radius:10px;box-shadow:0 10px 30px rgba(20,25,50,.18);border:1px solid #e4e9f7;padding:5px;min-width:170px;display:flex;flex-direction:column;gap:2px;opacity:0;visibility:hidden;transform:translateY(-6px);transition:all .15s;z-index:200}
.lang-sw.open .lang-dd{opacity:1;visibility:visible;transform:translateY(0)}
.lang-btn{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:7px;border:none;background:transparent;font-size:13px;font-weight:800;cursor:pointer;color:#444;transition:all .15s;text-align:left;width:100%;letter-spacing:.2px;white-space:nowrap}
.lang-btn:hover{background:#f4f6fb}
.lang-btn.active{background:#edfaf4;color:#00BB77}
.lang-btn{padding:5px 12px;border-radius:8px;border:2px solid transparent;background:transparent;font-size:13px;font-weight:900;cursor:pointer;color:#aaa;transition:all .18s;display:flex;align-items:center;gap:4px;letter-spacing:.3px}
.lang-btn.active{background:#00BB77;color:#fff;border-radius:8px;box-shadow:0 3px 10px rgba(0,0,0,.3);border:2px solid #00BB77;font-weight:900;letter-spacing:.3px}.lang-btn:hover{background:rgba(255,255,255,.1);color:#ddd;border-color:transparent}



.tab:hover{color:#00BB77}.tab.active{color:#00BB77;border-bottom-color:#00BB77}
.tab.active .tab-icon{background:rgba(0,187,119,.18)}
.tab.active .tab-icon svg{stroke:#00BB77}
.tab:hover{color:#00BB77}
.tab:hover .tab-icon{background:rgba(0,187,119,.15)}
.tab:hover .tab-icon svg{stroke:#00BB77}
/* AD */
.ad-zone{background:#fafbff;border:1.5px dashed #c8d2f0;border-radius:10px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column}
.ad-label{position:absolute;top:5px;left:8px;font-size:9px;font-weight:800;color:#c5cde8;text-transform:uppercase;letter-spacing:.8px}
.ad-nbadge{position:absolute;top:5px;right:8px;font-size:9px;color:#c5cde8;background:#e6f9f2;padding:2px 6px;border-radius:4px;font-weight:700}
.ad-placeholder{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px}
.ad-size{font-size:12px;font-weight:800;color:#d0d7f0}.ad-hint{font-size:10px;color:#c5cde8;text-align:center}
.ad-top-wrap{background:#fff;border-bottom:1px solid #e4e9f7;padding:9px 20px;display:flex;justify-content:center}
.ad-zone.ad-leader{width:100%;max-width:728px;min-height:90px;height:auto}
.ad-rect-wrap{float:right;margin:0 0 14px 18px;width:300px;flex-shrink:0}
.ad-rect{width:300px;height:250px}
.ad-inline-wrap{margin:22px 0 0;display:flex;justify-content:center}
.ad-rect-inline{width:336px;min-height:280px;height:auto}
.ad-footer-bar{background:#fff;border-top:1px solid #e4e9f7;padding:10px 20px;display:flex;justify-content:center}
/* MAIN */
main{max-width:960px;margin:26px auto;padding:0 20px;width:100%}.site-wrapper{display:flex;align-items:flex-start;gap:24px;max-width:1300px;margin:0 auto;padding:0 20px}.site-content{flex:1;min-width:0}.ad-sidebar{width:300px;flex-shrink:0;position:sticky;top:90px}.ad-halfpage{width:300px;min-height:600px;height:auto;background:#fff;border:1px solid #e4e9f7;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#b0bbff;font-size:12px;font-weight:700;overflow:hidden}.ad-halfpage-inner{width:300px;min-height:600px;height:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#f8f9ff 0%,#eef1ff 100%);border-radius:11px}@media(max-width:1100px){.ad-sidebar{display:none}}
.ad-mobile-rect{display:none;width:336px;max-width:100%;min-height:280px;height:auto;margin:20px auto;background:#fff;border:1px solid #e4e9f7;border-radius:12px;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#b0bbff;font-size:12px;font-weight:700;overflow:hidden}.ad-mobile-rect-inner{width:336px;max-width:100%;min-height:280px;height:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#f8f9ff 0%,#eef1ff 100%);border-radius:11px}@media(max-width:1100px){.ad-mobile-rect{display:flex}}
.section-title{font-size:20px;font-weight:900;margin-bottom:5px;letter-spacing:-.4px}
.section-sub{color:#8b94b3;font-size:12.5px;margin-bottom:22px}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,135px),1fr));gap:10px;margin-bottom:20px}
.card{background:#fff;border:2px solid #e4e9f7;border-radius:12px;padding:15px 10px;cursor:pointer;transition:all .18s;text-align:center;user-select:none}
.card:hover{border-color:#80ddb8;transform:translateY(-2px);box-shadow:0 4px 14px #00BB7714}
.card.selected{border-color:#00BB77;background:#edfaf4;box-shadow:0 0 0 3px #00BB771a}
.card-icon{font-size:22px;margin-bottom:8px;display:flex;align-items:center;justify-content:center;min-height:30px}.card-title{font-size:11.5px;font-weight:800}.card-sub{font-size:10px;color:#8b94b3;margin-top:3px}
.dropzone{border:2px dashed #c5cde8;border-radius:12px;padding:34px 20px;text-align:center;cursor:pointer;transition:all .18s;background:#fff}
.dropzone:hover,.dropzone.drag-over{border-color:#00BB77;background:#edfaf4}
.dropzone-icon{font-size:32px;margin-bottom:8px}.dropzone-title{font-weight:800;font-size:14px;margin-bottom:4px}.dropzone-sub{font-size:12px;color:#8b94b3}
input[type="file"]{display:none}
.file-list{margin-top:10px;display:flex;flex-direction:column;gap:6px}
.file-item{background:#fff;border:1px solid #e4e9f7;border-radius:9px;padding:8px 12px;display:flex;align-items:center;gap:8px;font-size:12px}
.fi-icon{font-size:16px;flex-shrink:0}.fi-name{flex:1;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fi-size{color:#fff;font-size:11px;flex-shrink:0}
.fi-rm{background:none;border:none;cursor:pointer;color:#c5cde8;font-size:13px;padding:2px 5px;border-radius:5px;transition:all .15s;flex-shrink:0}
.fi-rm:hover{color:#e63946;background:#fff0f1}
.fi-dl{display:inline-flex;align-items:center;gap:5px;background:#00BB77;border:none;color:#fff;font-size:11.5px;font-weight:800;padding:7px 12px;border-radius:8px;cursor:pointer;text-decoration:none;flex-shrink:0;transition:background .16s}.fi-dl:hover{background:#009955}.fi-dl svg{width:13px;height:13px;flex-shrink:0}
.fi-dl:hover{background:#00BB77;color:#fff}
.btn{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;border-radius:9px;font-size:13px;font-weight:800;cursor:pointer;border:none;transition:all .18s}
.btn-primary{background:#00BB77;color:#fff}.btn-primary:hover{background:#009955;transform:translateY(-1px);box-shadow:0 4px 12px #00BB7744}
.btn-primary:disabled{background:#a5b4fc;cursor:not-allowed;transform:none;box-shadow:none}
.btn-secondary{background:#edfaf4;color:#00BB77;border:1.5px solid #80ddb8}.btn-secondary:hover{background:#00BB77;color:#fff;border-color:#00BB77}
.btn-row{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap;align-items:center}
.dl-wrap{margin-top:12px}.dl-card{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e4e9f7;border-radius:14px;padding:11px 13px;box-shadow:0 10px 28px -14px rgba(25,26,46,.35);animation:dlPop .45s cubic-bezier(.16,1,.3,1) both}.dl-chip{flex:none;width:44px;height:44px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;letter-spacing:.02em}.dl-card-txt{flex:1;min-width:0}.dl-card-name{font-size:13.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dl-card-meta{font-size:11.5px;color:#8b94b3;font-weight:600;margin-top:2px;display:flex;align-items:center;gap:6px}.dl-card-ready{color:#00BB77;display:inline-flex;align-items:center;gap:4px}.dl-card-ready::before{content:"";width:6px;height:6px;border-radius:50%;background:#00BB77;flex:none}.dl-card-btn{flex:none;display:inline-flex;align-items:center;gap:7px;padding:11px 17px;border-radius:11px;background:#00BB77;color:#fff;font-size:13px;font-weight:800;text-decoration:none;transition:all .16s;white-space:nowrap}.dl-card-btn:hover{background:#009955;transform:translateY(-1px);box-shadow:0 6px 16px -6px rgba(0,187,119,.6)}.dl-card-btn svg{width:17px;height:17px;stroke:#fff;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}@keyframes dlPop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@media (max-width:480px){.dl-card{flex-wrap:wrap}.dl-card-btn{width:100%;justify-content:center}}@media (prefers-reduced-motion:reduce){.dl-card{animation:none}}
.alert{padding:10px 13px;border-radius:9px;font-size:12.5px;font-weight:600;margin-top:10px;display:flex;align-items:center;gap:8px}
.alert-info{background:#e6f9f2;color:#00BB77}.alert-success{background:#e8f5e9;color:#1b5e20}
.alert-error{background:#fff0f1;color:#c62828}.alert-warning{background:#fff8e1;color:#e65100}
.spinner{display:inline-block;width:13px;height:13px;border:2.5px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .55s linear infinite;flex-shrink:0}
@keyframes spin{to{transform:rotate(360deg)}}
.panel{display:none}.panel.active{display:block}
.merge-list{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.merge-item{background:#fff;border:1px solid #e4e9f7;border-radius:9px;padding:8px 12px;display:flex;align-items:center;gap:8px;font-size:12px}
.merge-num{width:19px;height:19px;border-radius:5px;background:#e6f9f2;color:#00BB77;font-size:10px;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.split-opts{display:flex;gap:8px;margin-top:9px;flex-wrap:wrap}
.split-opt{padding:8px 13px;border-radius:9px;border:2px solid #e4e9f7;background:#fff;font-size:12px;cursor:pointer;font-weight:700;transition:all .18s;color:#8b94b3}
.split-opt:hover{border-color:#80ddb8;color:#00BB77}.split-opt.active{border-color:#00BB77;background:#edfaf4;color:#00BB77}
.pages-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,92px),1fr));gap:8px;margin-top:10px}
.pthumb{border:2.5px solid #e4e9f7;border-radius:9px;overflow:hidden;cursor:pointer;transition:all .18s;position:relative;background:#fff}
.pthumb:hover{border-color:#80ddb8}.pthumb.selected{border-color:#00BB77}
.pthumb canvas{width:100%;height:auto;display:block}
.pthumb-lbl{text-align:center;font-size:10px;padding:4px;font-weight:700;color:#8b94b3}
.pthumb.selected .pthumb-lbl{color:#00BB77}
.pchk{position:absolute;top:4px;right:4px;width:16px;height:16px;border-radius:50%;background:#00BB77;color:#fff;font-size:9px;display:none;align-items:center;justify-content:center;font-weight:900}
.pthumb.selected .pchk{display:flex}
.rot-angle-badge{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);background:#00BB77;color:#fff;font-size:9px;font-weight:900;padding:2px 6px;border-radius:10px;pointer-events:none;white-space:nowrap}
.rot-pg-btn{width:100%;border:none;background:#e6f9f2;color:#00BB77;font-size:10.5px;font-weight:800;padding:4px;cursor:pointer;transition:all .15s}
.rot-pg-btn:hover{background:#00BB77;color:#fff}
.pthumb.del-marked{border-color:#e63946 !important}
.del-overlay{position:absolute;inset:0;display:none;align-items:center;justify-content:center;background:rgba(230,57,70,.22);font-size:30px;font-weight:900;color:#e63946;pointer-events:none}
.pthumb.del-marked .del-overlay{display:flex}.pthumb.del-marked .pthumb-lbl{color:#e63946}
.sel-row{display:flex;gap:10px;margin-top:8px}
.lbtn{background:none;border:none;color:#00BB77;font-size:12px;cursor:pointer;font-weight:700;padding:0}
.lbtn:hover{text-decoration:underline}
.divider{height:1px;background:#e4e9f7;margin:16px 0}
.merge-hdr{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px}
.merge-hdr span{font-weight:800;font-size:13px}

.inp-row{display:flex;align-items:center;gap:10px;margin-top:12px}
.inp-row label{font-size:13px;font-weight:700;white-space:nowrap;color:#555}
.inp-row input{flex:1;padding:8px 12px;border-radius:8px;border:1.5px solid #e4e9f7;font-size:13px;font-weight:600;outline:none;transition:border .18s}
.inp-row input:focus{border-color:#00BB77}
.zip-ctitle{font-weight:800;font-size:13.5px;margin-bottom:9px;margin-top:17px}
.zip-file-item{background:#fff;border:1px solid #e4e9f7;border-radius:9px;padding:8px 12px;display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:5px}
/* EDIT PDF */
.edit-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:#fff;border:1px solid #e4e9f7;border-radius:12px 12px 0 0;padding:11px 14px}
.edit-nav{display:flex;align-items:center;gap:6px}
#edit-pg-info{font-size:13px;font-weight:800;min-width:75px;text-align:center;color:#1a1a2e}
.edit-tools{display:flex;gap:5px}
.edit-tool{padding:7px 12px;border-radius:8px;border:2px solid #e4e9f7;background:#fff;font-size:12px;font-weight:800;cursor:pointer;color:#8b94b3;transition:all .18s;display:flex;align-items:center;gap:5px}
.edit-tool:hover{border-color:#80ddb8;color:#00BB77}
.edit-tool.active{border-color:#00BB77;background:#edfaf4;color:#00BB77}
.edit-opts{display:flex;align-items:center;gap:7px}
.edit-opts label{font-size:11px;font-weight:700;color:#8b94b3}
#edit-color{width:28px;height:28px;border:2px solid #e4e9f7;border-radius:6px;cursor:pointer;padding:0;background:none}
#edit-fsize{width:75px;accent-color:#00BB77}
#edit-fsize-val{font-size:11px;font-weight:800;color:#555;min-width:28px}
.edit-actions{display:flex;gap:5px;margin-left:auto}
.edit-viewer{background:#6b7280;padding:18px;border-radius:0 0 12px 12px;overflow:auto;text-align:center}
#edit-wrap{position:relative;display:inline-block;box-shadow:0 6px 24px rgba(0,0,0,.35);border-radius:2px}
#edit-bg{display:block}
#edit-ov{position:absolute;top:0;left:0;cursor:crosshair}
.edit-text-inp{position:absolute;border:1.5px dashed #00BB77;outline:none;padding:2px 4px;min-width:80px;border-radius:4px;z-index:5;background:rgba(255,255,255,.88);font-family:Arial,sans-serif}
.sign-modal-bg{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:200;display:flex;align-items:center;justify-content:center}
.sign-panel{background:#fff;border-radius:14px;padding:22px;width:500px;max-width:95vw;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.sign-panel h3{font-size:16px;font-weight:900;margin-bottom:10px}
.sign-panel p{font-size:12px;color:#8b94b3;margin-bottom:10px}
#sign-cv{display:block;border-radius:8px;cursor:crosshair;touch-action:none;background:#fafbff;border:2px solid #e4e9f7}
/* Color presets */
.color-presets{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.cdot{width:19px;height:19px;border-radius:50%;cursor:pointer;border:2.5px solid transparent;transition:all .15s;flex-shrink:0}
.cdot:hover{transform:scale(1.22)}
.cdot.selected{box-shadow:0 0 0 2px #fff,0 0 0 3.5px #00BB77;transform:scale(1.1)}
.cdot-light{border-color:#d1d5db !important}
.sz-btn{width:24px;height:24px;border-radius:6px;border:1.5px solid #80ddb8;background:#edfaf4;color:#00BB77;font-size:16px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0;line-height:1;transition:all .15s}
.sz-btn:hover{background:#00BB77;color:#fff;border-color:#00BB77}
/* Legal pages */
html{scroll-behavior:smooth}
.page-content{max-width:760px;margin:0 auto;line-height:1.8}
.legal-toc{background:#f8f9ff;border:1.5px solid #e4e9f7;border-radius:14px;padding:18px 22px;margin:0 0 30px}
.legal-toc-title{font-size:11px;font-weight:900;color:#8b94b3;letter-spacing:.6px;text-transform:uppercase;margin-bottom:12px}
.legal-toc ol{list-style:none;padding:0;margin:0;display:grid;gap:2px}
.legal-toc a{display:flex;align-items:baseline;gap:10px;font-size:13.5px;font-weight:600;color:#1a1a2e;text-decoration:none;padding:6px 8px;border-radius:8px;transition:background .15s,color .15s}
.legal-toc a:hover{background:#eef9f4;color:#00BB77}
.legal-toc a .toc-num{color:#00BB77;font-weight:900;min-width:16px;font-size:12.5px}
.page-content h2{font-size:16.5px;font-weight:900;margin:34px 0 12px;color:#1a1a2e;padding:2px 0 2px 15px;border-left:4px solid #00BB77;scroll-margin-top:110px;line-height:1.3}
.page-content h2:first-of-type{margin-top:6px}
.page-content p,.page-content li{font-size:13.5px;color:#4a4f66;margin-bottom:10px}
.page-content ul{padding-left:0;margin:0 0 16px;list-style:none}
.page-content ul li{position:relative;padding-left:24px}
.page-content ul li::before{content:'';position:absolute;left:2px;top:7px;width:6px;height:6px;border-radius:50%;background:#00BB77}
.page-content strong{color:#1a1a2e;font-weight:800}
.page-content a{color:#00BB77;text-decoration:none;font-weight:600;border-bottom:1.5px solid rgba(0,187,119,.35)}
.page-content a:hover{border-bottom-color:#00BB77}
.legal-callout{background:linear-gradient(135deg,#fff9ec 0%,#fff4e0 100%);border:1.5px solid #ffe3ad;border-left:4px solid #f0a500;border-radius:12px;padding:14px 18px;margin:16px 0;font-size:13.5px;color:#6b4e00}
.legal-callout strong{color:#4d3800}
.legal-badge{background:#e6f9f2;color:#00BB77;font-size:11.5px;padding:4px 12px;border-radius:20px;font-weight:700;margin-bottom:22px;display:inline-flex;align-items:center;gap:6px}
.legal-info{background:#f8f9ff;border:1.5px solid #e4e9f7;border-radius:10px;padding:14px 16px;margin-bottom:16px;font-size:13px;color:#555}
/* Cookie */
#cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#1a1a2e;color:#fff;padding:13px 22px;display:flex;align-items:center;gap:14px;z-index:999;flex-wrap:wrap;box-shadow:0 -4px 18px rgba(0,0,0,.4)}
#cookie-banner p{font-size:12.5px;flex:1;margin:0;min-width:220px;line-height:1.6}
#cookie-banner a{color:#00BB77;font-weight:700}
.cbtn-ok{padding:8px 16px;border-radius:7px;background:#00BB77;color:#fff;border:none;font-weight:800;cursor:pointer;font-size:12.5px;white-space:nowrap}
.cbtn-no{padding:8px 16px;border-radius:7px;background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.2);font-weight:700;cursor:pointer;font-size:12.5px;white-space:nowrap}
@media(max-width:640px){.ad-rect-wrap{float:none;width:100%;margin:0 0 14px}.edit-actions{margin-left:0}}
.tools-menu-btn{display:none;align-items:center;gap:7px;padding:7px 14px;background:rgba(255,255,255,.1);border:1.5px solid rgba(255,255,255,.2);border-radius:9px;color:#fff;font-size:12px;font-weight:700;cursor:pointer;flex-shrink:0;position:relative}
.tools-menu-btn svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tools-menu-btn .chev{stroke:rgba(255,255,255,.6);transition:transform .2s}
.tools-menu-btn.open .chev{transform:rotate(180deg)}
.tools-dropdown{display:none;position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);background:#1e1f3a;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:6px;width:230px;box-shadow:0 8px 32px rgba(0,0,0,.4);z-index:1000}
.tools-dropdown.open{display:block}
.dd-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:8px;font-size:13px;font-weight:600;color:rgba(255,255,255,.75);cursor:pointer;text-align:left;width:100%;border:none;background:none}
.dd-item:hover{background:rgba(255,255,255,.08)}
.dd-item.active{color:#00BB77;background:rgba(0,187,119,.12)}
.dd-ic{width:32px;height:32px;background:rgba(255,255,255,.08);border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.dd-item.active .dd-ic{background:rgba(0,187,119,.18)}
.dd-ic svg{width:16px;height:16px;stroke:rgba(255,255,255,.6);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dd-item.active .dd-ic svg{stroke:#00BB77}
.nav-center{display:none;flex:1;justify-content:center;align-items:center}
header.compact .tabs{display:none!important}
header.compact .nav-center{display:flex!important}


.tabs{display:flex;flex-direction:row;align-items:flex-start;flex:1;gap:0;overflow:visible;border-bottom:none}


.submenu-item{display:flex;align-items:center;padding:9px 12px;border-radius:8px;font-size:13px;font-weight:600;color:rgba(255,255,255,.75);cursor:pointer;border:none;background:none;width:100%;text-align:left;transition:background .15s}
.submenu-item:hover{background:rgba(255,255,255,.08);color:#fff}
.submenu-item.active{color:#00BB77;background:rgba(0,187,119,.12)}


.tabs{display:flex;align-items:stretch;flex:1;gap:0}
.tab-group{position:relative;display:flex}
.tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:0 18px;font-size:14px;font-weight:600;color:rgba(255,255,255,.55);border:none;border-bottom:3px solid transparent;background:none;cursor:pointer;white-space:nowrap;transition:all .18s}
.tab .tab-icon{background:rgba(255,255,255,.1);border-radius:8px;padding:7px 10px;display:flex;transition:all .18s}
.tab .tab-icon svg{width:22px;height:22px;stroke:rgba(255,255,255,.55);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:all .18s}
.tab.active,.tab.open{color:#00BB77;border-bottom-color:#00BB77}
.tab.active .tab-icon,.tab.open .tab-icon{background:rgba(0,187,119,.18)}
.tab.active .tab-icon svg,.tab.open .tab-icon svg{stroke:#00BB77}
.tab:hover{color:#00BB77}
.tab:hover .tab-icon{background:rgba(0,187,119,.15)}
.tab:hover .tab-icon svg{stroke:#00BB77}
.submenu{display:none;position:fixed;top:100px;left:0;right:0;width:100%;background:#fff;border:none;border-top:1px solid #e9edf7;border-radius:0;padding:0;z-index:200;box-shadow:0 18px 44px rgba(20,30,80,.14)}.submenu.open{display:block;animation:smIn .16s ease}@keyframes smIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.mega-inner{max-width:1380px;margin:0 auto;padding:24px 20px 28px;display:flex;flex-wrap:wrap;gap:6px 18px;align-items:flex-start;justify-content:center}.submenu .mega-col{display:flex;flex-direction:column;gap:1px;flex:0 0 200px;width:200px;min-width:200px;max-width:200px;border:none!important;margin:0!important;padding:0 2px!important}.submenu .mega-col+.mega-col{border-left:none!important;padding-left:2px!important}.submenu .sub-cat{color:#9aa3c0;font-size:10.5px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;padding:4px 10px 9px;white-space:normal}.submenu .sub-item{color:#39426a;padding:9px 10px;border-radius:9px;font-size:13px;font-weight:600}.submenu .sub-item:hover{background:#eef4ff;color:#009955}.submenu .sub-ic{width:30px;height:30px;background:#f2f6fd;border-radius:8px}.submenu .sub-ic svg{width:16px;height:16px;stroke:#6b7596}.submenu .sub-item:hover .sub-ic{background:rgba(0,187,119,.14)}.submenu .sub-item:hover .sub-ic svg{stroke:#009955}
.submenu.open{display:block}
.tools-submenu{left:50%;transform:translateX(-50%)}
.sub-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:8px;font-size:13px;font-weight:600;color:rgba(255,255,255,.75);cursor:pointer;width:100%;text-align:left;background:none;border:none;transition:background .15s}
.sub-item:hover{background:rgba(255,255,255,.08);color:#fff}
.sub-item.active{color:#00BB77;background:rgba(0,187,119,.12)}
.sub-ic{width:28px;height:28px;background:rgba(255,255,255,.08);border-radius:7px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sub-ic svg{width:15px;height:15px;stroke:rgba(255,255,255,.6);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sub-item.active .sub-ic{background:rgba(0,187,119,.18)}
.sub-item.active .sub-ic svg{stroke:#00BB77}
.sub-group-label{font-size:10px;font-weight:700;letter-spacing:1px;color:rgba(255,255,255,.35);padding:8px 12px 4px;text-transform:uppercase}
.tools-btn{display:flex;align-items:center;gap:7px;padding:7px 14px;background:rgba(255,255,255,.1);border:1.5px solid rgba(255,255,255,.2);border-radius:9px;color:#fff;font-size:12px;font-weight:700;cursor:pointer}
.tools-btn .tab-icon svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tools-btn .chev{transition:transform .2s}
.tools-btn.open .chev{transform:rotate(180deg)}
.nav-center{display:none;flex:1;justify-content:center;align-items:center}
header.compact .tabs{display:none!important}
header.compact .nav-center{display:flex!important}

.tools-mega{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);margin-top:8px;background:#fff;border:1px solid #e9edf7;border-radius:12px;padding:14px;box-shadow:0 18px 44px rgba(20,30,80,.16);flex-direction:row;gap:10px;width:auto;min-width:auto;z-index:200}
.tools-mega.open{display:flex}
.mega-col{display:flex;flex-direction:column;gap:2px;flex:0 0 200px;width:200px;min-width:200px;max-width:200px}
.mega-col+.mega-col{border-left:1px solid rgba(255,255,255,.08);padding-left:10px}
.col-title{font-size:11px;font-weight:800;letter-spacing:.5px;color:#00BB77;padding:4px 10px 8px;text-transform:uppercase;display:flex;align-items:center;gap:6px}
.col-title svg{width:14px;height:14px;stroke:#00BB77;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.grp-label{font-size:9px;font-weight:700;letter-spacing:1px;color:rgba(255,255,255,.35);padding:6px 10px 3px;text-transform:uppercase}

.hero-section{background:linear-gradient(135deg,#191a2e 0%,#232450 100%);padding:56px 32px 64px;text-align:center;position:relative;overflow:hidden;border-radius:18px;margin-bottom:48px}
.hero-section::before{content:'';position:absolute;top:-50%;right:-10%;width:400px;height:400px;background:radial-gradient(circle,rgba(0,187,119,.15) 0%,transparent 70%)}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(0,187,119,.15);border:1px solid rgba(0,187,119,.4);color:#00BB77;font-size:14px;font-weight:700;padding:7px 16px;border-radius:20px;margin-bottom:20px;position:relative}
.hero-title{font-size:40px;font-weight:900;color:#fff;letter-spacing:-1.5px;line-height:1.1;margin-bottom:16px;position:relative}
.hero-title .grn{color:#00BB77}
.hero-desc{font-size:16px;color:rgba(255,255,255,.7);max-width:560px;margin:0 auto 28px;line-height:1.6;position:relative}
.hero-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;position:relative}
.btn-primary{background:#00BB77;color:#fff;font-size:14px;font-weight:800;padding:13px 26px;border-radius:10px;border:none;cursor:pointer;transition:all .2s}
.btn-primary:hover{background:#009955}
.btn-ghost{background:rgba(255,255,255,.08);color:#fff;font-size:14px;font-weight:700;padding:13px 26px;border-radius:10px;border:1px solid rgba(255,255,255,.2);cursor:pointer;transition:all .2s}
.btn-ghost:hover{background:rgba(255,255,255,.15)}
.hero-stats{display:flex;gap:32px;justify-content:center;margin-top:36px;position:relative}
.stat-num{font-size:26px;font-weight:900;color:#fff}
.stat-lbl{font-size:11px;color:rgba(255,255,255,.5);font-weight:600}
.vitrine-section{padding:0 0 48px}
.vitrine-head{text-align:center;margin-bottom:32px}
.vitrine-head .eyebrow{font-size:12px;font-weight:800;color:#00BB77;letter-spacing:1px;text-transform:uppercase}
.vitrine-head h2{font-size:28px;font-weight:900;letter-spacing:-.5px;margin:8px 0}
.vitrine-head p{color:#8b94b3;font-size:14px}
.vitrine-tools-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.vitrine-card{background:#fff;border:1.5px solid #e4e9f7;border-radius:14px;padding:22px 18px;cursor:pointer;transition:all .2s;position:relative}
.vitrine-card:hover{border-color:#00BB77;transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,187,119,.12)}
.vc-popular{position:absolute;top:12px;right:12px;background:#fff3e0;color:#e65100;font-size:9px;font-weight:800;padding:3px 8px;border-radius:10px}
.vc-ic{width:48px;height:48px;background:#e6f9f2;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.vc-ic svg{width:24px;height:24px;stroke:#00BB77;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vitrine-card h3{font-size:15px;font-weight:800;margin-bottom:5px}
.vitrine-card p{font-size:12px;color:#8b94b3;line-height:1.5}
.features-section{background:#fff;border-radius:18px;padding:48px 32px}
.vitrine-feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:900px;margin:0 auto}
.vitrine-feat{text-align:center}
.vf-ic{width:56px;height:56px;background:#e6f9f2;border-radius:14px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.vf-ic svg{width:28px;height:28px}
.vitrine-feat h3{font-size:16px;font-weight:800;margin-bottom:8px}
.vitrine-feat p{font-size:13px;color:#8b94b3;line-height:1.6}
.cta-banner{background:linear-gradient(135deg,#00BB77 0%,#009955 100%);border-radius:18px;padding:40px;text-align:center}
.cta-banner h2{font-size:26px;font-weight:900;color:#fff;margin-bottom:10px}
.cta-banner p{font-size:14px;color:rgba(255,255,255,.85);margin-bottom:22px}
.cta-banner button{background:#fff;color:#00BB77;font-size:14px;font-weight:800;padding:13px 30px;border-radius:10px;border:none;cursor:pointer;transition:all .2s}
.cta-banner button:hover{transform:scale(1.04)}
@media(max-width:900px){.vitrine-tools-grid{grid-template-columns:repeat(2,1fr)}.vitrine-feat-grid{grid-template-columns:1fr}.hero-title{font-size:30px}}
.faq-home-wrap{background:#f7f8fc;border-radius:16px;padding:40px 28px;margin:0 0 32px}
.faq-home-eyebrow{font-size:12px;font-weight:800;color:#00BB77;letter-spacing:1px;text-transform:uppercase;text-align:center;margin-bottom:6px}
.faq-home-title{font-size:26px;font-weight:800;color:#191a2e;text-align:center;margin-bottom:28px}
.faq-home-list{max-width:680px;margin:0 auto}
.faq-home-item{background:#fff;border:1px solid #e4e9f7;border-radius:12px;margin-bottom:10px;overflow:hidden}
.faq-home-q{padding:16px 18px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;gap:12px;-webkit-tap-highlight-color:transparent}
.faq-home-q span:first-child{font-size:14px;font-weight:700;color:#191a2e}
.faq-home-ic{width:22px;height:22px;border-radius:50%;background:#f4f6fb;color:#8b94b3;display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0;transition:background .15s,color .15s}
.faq-home-item.open .faq-home-ic{background:#e6f9f2;color:#00BB77}
.faq-home-a{max-height:0;overflow:hidden;transition:max-height .25s ease}
.faq-home-a-inner{padding:0 18px 16px;font-size:13px;color:#6b7280;line-height:1.6}
@media(max-width:600px){.faq-home-wrap{padding:28px 16px}.faq-home-title{font-size:21px}}

.at-columns{display:block}
.at-cat-title{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:900;color:#191a2e;margin:36px 0 16px;padding-bottom:10px;border-bottom:2px solid #e4e9f7}
.at-cat-title:first-child{margin-top:0}
.at-cat-title svg{width:20px;height:20px;stroke:#00BB77;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.at-cat-title span{display:inline}
.at-subgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px 28px}
.at-subgroup-label{font-size:11px;font-weight:800;letter-spacing:1px;color:#8b94b3;text-transform:uppercase;margin-bottom:10px}
.at-grid{display:flex;flex-direction:column;gap:4px}
.at-card{display:flex;align-items:center;gap:12px;background:#fff;border:1.5px solid transparent;border-radius:12px;padding:11px 12px;cursor:pointer;transition:all .15s}
.at-card:hover{border-color:#e4e9f7;background:#f8faff}
.at-card-body{min-width:0;flex:1}
.at-card-t{font-size:14px;font-weight:700;color:#191a2e;margin:0 0 2px}
.at-card-d{font-size:12.5px;color:#8b94b3;line-height:1.35;margin:0}
.at-chev{width:16px;height:16px;stroke:#c3cae0;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.at-ic{width:38px;height:38px;background:#e6f9f2;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.at-ic svg{width:19px;height:19px;stroke:#00875a;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.at-subgrid{grid-template-columns:1fr}}

.tool-page-head{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.tp-icon{width:52px;height:52px;background:#e6f9f2;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tp-icon svg{width:26px;height:26px;stroke:#00BB77;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.content-block{background:#fff;border-radius:14px;padding:24px;margin-bottom:18px;border:1px solid #e4e9f7}
.cb-title{font-size:18px;font-weight:800;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.cb-title::before{content:'';width:4px;height:18px;background:#00BB77;border-radius:3px;flex-shrink:0}
.cb-text{font-size:13.5px;color:#4a5168;line-height:1.75;margin-bottom:12px}
.cb-illus{width:100%;height:170px;background:linear-gradient(135deg,#e6f9f2 0%,#f0f4ff 100%);border-radius:12px;display:flex;align-items:center;justify-content:center;margin:14px 0}
.cb-illus svg{width:84px;height:84px;opacity:.85;stroke:#00BB77;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.cb-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:14px 0}
.cb-step{text-align:center;padding:16px 10px;background:#f8faff;border-radius:12px}
.cb-step-num{width:32px;height:32px;background:#00BB77;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;margin:0 auto 10px}
.cb-step-t{font-size:12.5px;font-weight:700;margin-bottom:4px}
.cb-step-d{font-size:11px;color:#8b94b3;line-height:1.4}
.cb-feat{display:flex;gap:12px;margin:10px 0;align-items:flex-start}
.cb-check{width:22px;height:22px;background:#e6f9f2;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cb-check svg{width:13px;height:13px;stroke:#00BB77;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.cb-feat-txt{font-size:13px;color:#4a5168;line-height:1.5}
.faq-item{border-bottom:1px solid #eef1f8;padding:14px 0}
.faq-item:last-child{border-bottom:none}
.faq-q{font-size:13.5px;font-weight:700;margin-bottom:6px;color:#191a2e}
.faq-a{font-size:12.5px;color:#6b7280;line-height:1.6}
@media(max-width:640px){.cb-steps{grid-template-columns:1fr}}

.org-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,110px),1fr));gap:12px;margin-top:8px}
.org-thumb{position:relative;border:1.5px solid #e4e9f7;border-radius:10px;overflow:hidden;background:#f5f7ff;display:flex;flex-direction:column;align-items:center}
.org-thumb img{width:100%;height:auto;display:block}
.org-lbl{font-size:10px;font-weight:700;color:#8b94b3;padding:4px 0}
.org-ctrl{display:flex;gap:4px;padding:0 0 6px}
.org-ctrl button{width:28px;height:24px;border:1px solid #e4e9f7;background:#fff;border-radius:6px;cursor:pointer;font-size:13px;font-weight:800;color:#00BB77;transition:all .15s}
.org-ctrl button:hover:not(:disabled){background:#e6f9f2;border-color:#00BB77}
.org-ctrl button:disabled{opacity:.3;cursor:not-allowed}

.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,255px),1fr));gap:18px;max-width:920px;margin:10px auto 0}
.blog-card{background:#fff;border:1px solid #e4e9f7;border-radius:14px;padding:18px;cursor:pointer;transition:all .18s;display:flex;flex-direction:column;gap:8px;text-align:left}
.blog-card:hover{border-color:#00BB77;box-shadow:0 12px 30px -16px rgba(0,187,119,.45);transform:translateY(-2px)}
.blog-card-cat{font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#00BB77}
.blog-card-title{font-size:15px;font-weight:800;line-height:1.32;color:#1a1a2e}
.blog-card-excerpt{font-size:12.5px;color:#8b94b3;line-height:1.55;flex:1}
.blog-card-more{font-size:12px;font-weight:800;color:#00BB77}
.blog-article{max-width:720px;margin:0 auto}
.blog-article-meta{font-size:11.5px;color:#8b94b3;font-weight:700;letter-spacing:.03em;text-transform:uppercase;margin-bottom:8px;text-align:center}
.blog-back{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:800;color:#00BB77;cursor:pointer;margin-bottom:6px;background:none;border:none;padding:6px 0}
.blog-back:hover{color:#009955}
.page-content p{font-size:13.5px;color:#444;margin:0 0 13px;line-height:1.78}
.page-content p strong{color:#1a1a2e}
.blog-cta{background:#e6f9f2;border:1.5px solid #b8ecd8;border-radius:13px;padding:16px 18px;margin:22px 0 6px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.blog-cta-txt{font-size:13px;font-weight:700;color:#1a1a2e;flex:1;min-width:180px}
.blog-cta a{background:#00BB77;color:#fff;padding:10px 18px;border-radius:10px;font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap;transition:all .16s}
.blog-cta a:hover{background:#009955;transform:translateY(-1px)}
.blog-hero{max-width:720px;margin:10px auto 4px;border-radius:16px;overflow:hidden;border:1px solid #e4e9f7;box-shadow:0 8px 24px -16px rgba(25,26,46,.3)}.blog-hero svg{display:block;width:100%;height:auto}
.blog-card-thumb{margin:-18px -18px 14px;height:118px;border-radius:14px 14px 0 0;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#eef2ff}
.nav-center .tab-group+.tab-group{margin-left:8px}

/* ===================== RESPONSIVE / MOBILE ===================== */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas{max-width:100%}
/* Tablets and below: shrink the tall desktop header */
@media(max-width:768px){
  header{padding:0 16px!important;min-height:68px!important;gap:9px!important}
  header h1{font-size:18px}
  header>div:first-child{margin-right:10px!important}
  .nav-center{flex:0 1 auto!important}
  .tools-btn{padding:7px 11px;font-size:12px;gap:6px}
  .lang-btn{padding:5px 10px;font-size:12px}
}
/* Phones */
@media(max-width:560px){
  header{padding:0 12px!important;min-height:60px!important;gap:7px!important}
  header h1{font-size:16px}
  header>div:first-child{margin-right:7px!important;gap:7px!important}
  header>div:first-child svg{width:30px;height:30px}
  .nav-center .tab-group+.tab-group{margin-left:6px}
  .tools-btn{padding:6px 9px;font-size:11.5px;gap:5px}
  .tools-btn .tab-icon svg{width:15px;height:15px}
  .tools-btn .chev{width:12px!important;height:12px!important}
  .lang-sw-btn{padding:4px 8px;font-size:11.5px;gap:4px}
  .lang-sw-btn svg{width:15px!important;height:15px!important}
  main{padding:0 14px}
  .site-wrapper{padding:0 14px;gap:14px}
}
/* Small phones */
@media(max-width:410px){
  header{padding:0 9px!important;min-height:56px!important;gap:6px!important}
  header h1{display:none}                 /* keep the logo icon only */
  header>div:first-child{margin-right:5px!important}
  header>div:first-child svg{width:28px;height:28px}
  .tools-btn{padding:6px 8px;font-size:11px;gap:4px}
  .nav-center .tab-group+.tab-group{margin-left:5px}
  .lang-sw-btn{padding:4px 6px;font-size:11px;gap:3px}
  .lang-sw-btn svg{width:14px!important;height:14px!important}
  main{padding:0 12px;margin:18px auto}
  .site-wrapper{padding:0 12px}
}
/* Very small phones */
@media(max-width:340px){
  header{gap:5px!important;padding:0 7px!important}
  .tools-btn{padding:5px 7px;font-size:10.5px}
  .tools-btn .chev{display:none}          /* drop chevron to save space */
  .lang-sw-btn{padding:4px 5px;font-size:10.5px}
}
@media(max-width:560px){.blog-grid{grid-template-columns:1fr}}@media(max-width:880px) and (min-width:561px){.blog-grid{grid-template-columns:repeat(2,1fr)}}
.ad-rect,.ad-rect-inline,.ad-halfpage,.ad-halfpage-inner,.sign-panel,.ad-sidebar,.ad-rect-wrap,.ad-mobile-rect,.ad-mobile-rect-inner{max-width:100%}.ad-zone{max-width:100%}
body>*{min-width:0}.site-wrapper{min-width:0;width:100%}.site-content{min-width:0}main{min-width:0}.ad-rect-inline{width:100%!important;max-width:336px!important;margin-left:auto;margin-right:auto}

/* ===== Mega-menu "Outils" responsive (compact / mobile) ===== */
@media(max-width:720px){
  .tools-mega{
    position:fixed!important;top:72px!important;left:8px!important;right:8px!important;
    transform:none!important;margin-top:0!important;
    width:auto!important;max-width:none!important;min-width:0!important;
    flex-direction:column!important;gap:2px;
    max-height:calc(100vh - 84px);overflow-y:auto;-webkit-overflow-scrolling:touch;
  }
  .tools-mega .mega-col{min-width:0!important;width:100%}
  .tools-mega .mega-col+.mega-col{border-top:1px solid #eef1f9;margin-top:4px;padding-top:4px}
  .tools-mega .col-title{padding-top:9px}
  .tools-mega .sub-item{padding:11px 12px}
}
@media(max-width:560px){.tools-mega{top:64px!important;max-height:calc(100vh - 76px)}}
@media(max-width:410px){.tools-mega{top:58px!important;max-height:calc(100vh - 70px)}}
.btn-rotate{display:inline-flex;align-items:center;gap:8px;background:#e6f9f2;color:#00BB77;border:1.5px solid #b8ecd8;border-radius:11px;padding:11px 22px;font-size:14px;font-weight:800;cursor:pointer;transition:all .16s}.btn-rotate:hover{background:#00BB77;color:#fff;border-color:#00BB77}
.rotpdf-cell{background:#fff;border:1.5px solid #e4e9f7;border-radius:11px;padding:10px;cursor:pointer;transition:all .16s;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;user-select:none}.rotpdf-cell:hover{border-color:#00BB77;box-shadow:0 6px 18px -10px rgba(0,187,119,.4)}.rotpdf-cell.rotated{border-color:#00BB77;background:#f3fdf9}.rotpdf-cvwrap{height:128px;display:flex;align-items:center;justify-content:center;overflow:visible;width:100%}.rotpdf-cvwrap canvas{max-height:104px;max-width:96%;border:1px solid #eef1f8;border-radius:4px}.rotpdf-badge{position:absolute;top:7px;right:7px;background:#00BB77;color:#fff;font-size:10.5px;font-weight:800;padding:2px 7px;border-radius:20px;opacity:.55}.rotpdf-cell.rotated .rotpdf-badge{opacity:1}.rotpdf-lbl{font-size:11px;color:#8b94b3;font-weight:700}
.split-flow{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:6px}.split-page{display:flex;flex-direction:column;align-items:center;gap:4px;background:#fff;border:1.5px solid #e4e9f7;border-radius:9px;padding:7px}.split-page-cv{height:90px;display:flex;align-items:center;justify-content:center;overflow:hidden}.split-page-cv canvas{max-height:84px;max-width:70px;border:1px solid #eef1f8;border-radius:3px}.split-page-lbl{font-size:10.5px;color:#8b94b3;font-weight:700}.split-cut{width:30px;align-self:stretch;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;flex-shrink:0}.split-cut-line{position:absolute;top:8px;bottom:8px;width:2px;background:#e4e9f7;border-radius:2px;transition:all .15s}.split-cut-btn{position:relative;z-index:1;width:24px;height:24px;border-radius:50%;background:#eef1f8;color:#8b94b3;display:flex;align-items:center;justify-content:center;font-size:12px;transition:all .15s}.split-cut:hover .split-cut-btn{background:#ffe2dc;color:#e8503a}.split-cut:hover .split-cut-line{background:#f3b6aa}.split-cut.active .split-cut-line{background:#e8503a;width:3px}.split-cut.active .split-cut-btn{background:#e8503a;color:#fff;transform:scale(1.08)}.split-summary{margin-top:12px;font-size:13px;font-weight:800;color:#00BB77;background:#e6f9f2;border-radius:9px;padding:9px 14px;display:inline-block}

/* ===== Timestamp Unix converter (ts-) ===== */
.ts-now-card{background:linear-gradient(135deg,#0f1230,#1a1f4a);border-radius:16px;padding:26px 28px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.ts-now-label{font-size:12.5px;letter-spacing:.5px;color:#9aa6e0;font-weight:700;text-transform:uppercase;display:flex;align-items:center;gap:7px}
.ts-now-dot{width:9px;height:9px;border-radius:50%;background:#37e29a;animation:ts-pulse 1.6s infinite}
@keyframes ts-pulse{0%{box-shadow:0 0 0 0 rgba(55,226,154,.55)}70%{box-shadow:0 0 0 9px rgba(55,226,154,0)}100%{box-shadow:0 0 0 0 rgba(55,226,154,0)}}
.ts-now-num{font-family:'Consolas','Courier New',monospace;font-size:40px;font-weight:800;letter-spacing:1px;margin-top:6px;color:#fff;word-break:break-all}
.ts-now-date{color:#aab3e8;font-size:13.5px;margin-top:4px}
.ts-copy-btn{display:inline-flex;align-items:center;gap:7px;background:#00BB77;color:#fff;border:none;padding:11px 18px;border-radius:11px;font-size:13.5px;font-weight:800;cursor:pointer;font-family:inherit}
.ts-copy-btn:hover{background:#009955}
.ts-copy-btn svg{width:15px;height:15px}
.ts-conv-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.ts-conv{background:#fff;border:1px solid #e4e9f7;border-radius:16px;padding:22px 22px 24px;min-width:0}
.ts-conv-h{font-size:15.5px;font-weight:800;display:flex;align-items:center;gap:9px;margin-bottom:14px;color:#1a1a2e}
.ts-lbl{font-size:12px;font-weight:700;color:#8b94b3;margin-bottom:5px;display:block}
.ts-fld{width:100%;border:1.5px solid #e4e9f7;border-radius:10px;padding:11px 13px;font-size:14px;font-family:inherit;color:#1a1a2e;background:#fff;outline:none}
.ts-fld:focus{border-color:#00BB77;box-shadow:0 0 0 3px #e6f9f2}
.ts-out{margin-top:16px;border-top:1px dashed #e4e9f7;padding-top:14px;display:flex;flex-direction:column;gap:12px}
.ts-out-row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.ts-out-k{font-size:13px;color:#8b94b3;font-weight:700;flex-shrink:0}
.ts-out-v{font-size:16.5px;font-weight:800;font-family:'Consolas','Courier New',monospace;text-align:right;word-break:break-all;color:#1a1a2e}
.ts-mini-copy{border:none;background:#e6f9f2;color:#00BB77;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:800;cursor:pointer;font-family:inherit}
.ts-mini-copy:hover{background:#d6f5e9}
.ts-btn{width:100%;margin-top:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#00BB77;color:#fff;border:none;padding:12px 18px;border-radius:11px;font-size:14px;font-weight:800;cursor:pointer;font-family:inherit}
.ts-btn:hover{background:#009955}
.ts-btn svg{width:16px;height:16px}
.ts-block{background:#fff;border:1px solid #e4e9f7;border-radius:16px;padding:26px 28px;margin-top:22px}
.ts-block h2{font-size:19px;font-weight:800;display:flex;align-items:center;gap:10px;margin-bottom:6px;color:#1a1a2e}
.ts-block h2::before{content:"";width:5px;height:20px;background:#00BB77;border-radius:3px;flex-shrink:0}
.ts-block p{color:#4a5170;font-size:14.5px;margin-top:8px;line-height:1.6}
.ts-illus{display:flex;justify-content:center;margin:18px 0 6px;max-width:100%;overflow:hidden}
.ts-illus svg{max-width:100%;height:auto}
.ts-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}
.ts-fact{background:#fafbff;border:1px solid #e4e9f7;border-radius:12px;padding:16px;text-align:center}
.ts-fact-n{font-size:20px;font-weight:800;color:#00BB77;font-family:'Consolas',monospace}
.ts-fact-t{font-size:12.5px;color:#8b94b3;margin-top:3px}
.ts-adv-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}
.ts-adv{display:flex;gap:12px;align-items:flex-start;background:#fafbff;border:1px solid #e4e9f7;border-radius:12px;padding:14px 16px}
.ts-adv-ic{font-size:22px;flex-shrink:0;line-height:1.2}
.ts-adv b{font-size:14px;display:block;color:#1a1a2e}
.ts-adv span{color:#8b94b3;font-size:12.5px;display:block;margin-top:2px}
.ts-callout{display:flex;gap:13px;align-items:flex-start;background:#fff7ed;border:1px solid #f6dcae;border-radius:12px;padding:15px 17px;margin-top:18px}
.ts-callout svg{width:22px;height:22px;color:#f6a821;flex-shrink:0;margin-top:1px}
.ts-callout p{font-size:13.5px;color:#7a5b1e;margin:0;line-height:1.55}
.ts-callout b{color:#5e4410}
@media(max-width:780px){.ts-conv-grid{grid-template-columns:1fr}.ts-adv-grid{grid-template-columns:1fr}.ts-facts{grid-template-columns:1fr}.ts-now-num{font-size:30px}}


/* Mega-menu Convertir (4 colonnes) */


.sub-cat{font-size:10px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;color:#7e88aa;padding:7px 12px 4px;white-space:nowrap}
h1.section-title{margin-top:0}

/* Mega-menu Éditer (2 colonnes) */




/* ===== Signer un PDF (sg-) ===== */
.sg-grid{display:grid;grid-template-columns:1fr 330px;gap:18px;margin-top:16px}
.sg-canvas-wrap{border:1px solid #e4e9f7;border-radius:12px;background:#eef1f8;display:flex;justify-content:center;align-items:flex-start;padding:12px;min-width:0}
#sg-page{max-width:100%;height:auto;cursor:crosshair;box-shadow:0 3px 14px rgba(0,0,0,.14);border-radius:3px;background:#fff}
.sg-bar{display:flex;align-items:center;gap:10px;margin-bottom:8px;flex-wrap:wrap}
.sg-pgbtn{border:1px solid #e4e9f7;background:#fff;border-radius:8px;width:34px;height:34px;font-weight:800;font-size:17px;cursor:pointer;font-family:inherit;color:#1a1a2e;line-height:1}
.sg-pgbtn:hover{background:#e6f9f2;border-color:#00BB77;color:#009955}
.sg-pglbl{font-size:13px;font-weight:700;color:#1a1a2e}
.sg-hint{font-size:12px;color:#8b94b3}
.sg-panel{display:flex;flex-direction:column;gap:10px}
.sg-lbl{font-size:12.5px;font-weight:800;color:#1a1a2e}
.sg-pad{border:2px dashed #c7cfe6;border-radius:10px;background:#fff;width:100%;height:auto;touch-action:none;cursor:crosshair;display:block}
.sg-row{display:flex;align-items:center;gap:8px}
.sg-mini{border:1px solid #e4e9f7;background:#fff;border-radius:8px;padding:7px 12px;font-weight:700;cursor:pointer;font-family:inherit;font-size:12.5px;color:#1a1a2e}
.sg-mode-btn{flex:1;border:1.5px solid #e4e9f7;background:#fff;border-radius:9px;padding:9px 10px;font-weight:800;cursor:pointer;font-family:inherit;font-size:12.5px;color:#8b94b3;transition:all .15s}.sg-mode-btn.active{border-color:#00BB77;background:#f3fdf9;color:#00BB77}
.sg-mini:hover{background:#f0f3fb;border-color:#c7cfe6}
.sg-apply{margin-top:2px;background:#00BB77;color:#fff;border:none;border-radius:11px;padding:13px;font-size:14px;font-weight:800;cursor:pointer;font-family:inherit}
.sg-apply:hover{background:#009955}
.sg-range{width:100%;accent-color:#00BB77}
@media(max-width:780px){.sg-grid{grid-template-columns:1fr}}
.cr-box{position:absolute;border:2px solid #00BB77;box-shadow:0 0 0 9999px rgba(0,0,0,.45);cursor:move;box-sizing:border-box;touch-action:none}.cr-h{position:absolute;width:15px;height:15px;background:#fff;border:2px solid #00BB77;border-radius:50%;box-sizing:border-box;touch-action:none}.tadaa-ov{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;z-index:99999;overflow:visible}.tadaa-wwrap{position:absolute;left:0;top:0;transform:translate(-50%,-50%);white-space:nowrap}.tadaa-glow{position:absolute;left:0;top:0;width:34vmin;height:34vmin;margin:-17vmin 0 0 -17vmin;border-radius:50%;background:radial-gradient(circle,rgba(0,187,119,.40),rgba(0,187,119,.14) 45%,transparent 70%);animation:tdGlow 1.4s ease-out forwards}@keyframes tdGlow{0%{transform:scale(.2);opacity:0}30%{opacity:1}100%{transform:scale(1.6);opacity:0}}.tadaa-word{font-family:'Segoe UI',sans-serif;font-size:clamp(46px,10vw,118px);font-weight:600;letter-spacing:normal;line-height:1.1;background:linear-gradient(115deg,#00d488,#00BB77,#009955,#00BB77,#00d488);background-size:280% 280%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;filter:drop-shadow(0 5px 16px rgba(0,187,119,.32)) drop-shadow(0 1px 2px rgba(0,0,0,.22));animation:tdPop .55s cubic-bezier(.18,1.5,.4,1) both,tdShim 1.7s linear both,tdOut .55s ease 1.55s forwards}@keyframes tdPop{0%{transform:scale(.2) rotate(-14deg);opacity:0}55%{transform:scale(1.18) rotate(5deg);opacity:1}100%{transform:scale(1) rotate(0)}}@keyframes tdShim{0%{background-position:0% 50%}100%{background-position:280% 50%}}@keyframes tdOut{to{transform:scale(1.35) translateY(-26px);opacity:0;filter:blur(7px)}}.tadaa-sp{position:absolute;left:0;top:0;margin:-.5em 0 0 -.5em;font-size:clamp(15px,2.6vw,26px);animation:tdSp .95s ease-out forwards;will-change:transform,opacity}@keyframes tdSp{0%{transform:translate(0,0) scale(0) rotate(0);opacity:0}25%{opacity:1}100%{transform:translate(var(--dx),var(--dy)) scale(1.15) rotate(var(--rot));opacity:0}}@media (prefers-reduced-motion:reduce){.tadaa-word{animation:tdPop .3s both,tdOut .4s ease 1s forwards}.tadaa-sp,.tadaa-glow{display:none}}.rd-rect{position:absolute;background:rgba(12,12,18,.82);border:1.5px solid #0a0a0a;border-radius:2px;cursor:crosshair;box-sizing:border-box}.rd-rect.rd-draft{background:rgba(12,12,18,.5);border-style:dashed}.rd-del{position:absolute;top:-9px;right:-9px;width:18px;height:18px;background:#ff4d6a;color:#fff;border-radius:50%;font-size:13px;font-weight:800;line-height:17px;text-align:center;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.35)}

.seo-inline{margin:32px 16px 0;padding:24px;background:#f8fafc;border-radius:10px;border:1px solid #e2e8f0}
.seo-inline h2{font-size:1.15rem;color:#0f172a;margin:0 0 10px;border-left:4px solid #22c55e;padding-left:10px}
.seo-inline h3{font-size:.9rem;color:#374151;margin:16px 0 6px;font-weight:600}
.seo-inline p{font-size:.875rem;color:#475569;line-height:1.65;margin-bottom:10px}
.seo-inline ol,.seo-inline ul{margin:6px 0 10px 20px}
.seo-inline li{font-size:.875rem;color:#475569;margin-bottom:4px;line-height:1.5}
.seo-inline dl{margin:6px 0}
.seo-inline dt{font-size:.875rem;font-weight:600;color:#1e293b;margin-top:10px}
.seo-inline dd{font-size:.875rem;color:#475569;margin-left:14px;line-height:1.5}
@media(max-width:600px){.seo-inline{margin:20px 8px 0;padding:16px}}
/* Footer : grille responsive (5 colonnes fixes cassaient l'affichage mobile,
   la colonne "Assistance" étant tronquée ou masquée selon la langue) */
@media(max-width:768px){.footer-grid{grid-template-columns:1fr 1fr !important}}
@media(max-width:460px){.footer-grid{grid-template-columns:1fr !important}}
