:root{--navy:#08193e;--text:#10234a;--muted:#6c7fa1;--blue:#0759fa;--blue2:#2484ff;--red:#ff0929;--stroke:#e5edf8;--subtle:#f4f8ff;--white:#fff;--shadow:0 8px 28px rgba(49,94,162,.045);font-synthesis:none}
*{box-sizing:border-box}html{height:100%;scroll-behavior:smooth}body.sg7{margin:0;font-family:'Inter','Segoe UI',Arial,sans-serif;color:var(--text);background:#f2f7ff;font-size:13px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}button,select,a,input,textarea{outline-offset:3px}svg{flex-shrink:0}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #93bdff}button{border:0}.sg7-icon{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;flex-shrink:0}.sg7-icon svg{display:block}.sg7-brand{display:flex;align-items:center;gap:11px}.sg7-brand img{object-fit:contain;flex:none}.sg7-brand b{display:block;font-size:21px;letter-spacing:-1.05px;font-weight:800;color:#07275f;white-space:nowrap}.sg7-brand em{font-style:normal;color:#ff0d28}.sg7-brand small{display:block;font-size:11px;font-weight:600;color:#294064;letter-spacing:-.14px;margin-top:2px}.sg7-alert,.sg7-success{border-radius:11px;display:flex;align-items:center;gap:9px;line-height:1.5;padding:12px 15px;background:#fff0f2;color:#b71e36;border:1px solid #ffcad4}.sg7-success{background:#ebfff6;border-color:#b0f0d2;color:#08684b}.sg7-global{margin:10px 16px 0}
/* Connexion à deux panneaux */
.sg7-login{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,60%) minmax(430px,40%);background:#f1f7ff}.sg7-hero{isolation:isolate;position:relative;min-height:900px;overflow:hidden;padding:57px 5.2% 26px 7.7%;background:linear-gradient(123deg,#fff 4%,#f7fbff 30%,#d9eaff 75%,#b9d6ff 100%);border-radius:0 0 34px 0}.sg7-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 14% 30%,rgba(255,255,255,.95),transparent 55%);z-index:-1}.sg7-hero-glow{position:absolute;right:-11%;top:-21%;width:60%;height:80%;transform:rotate(-20deg);background:linear-gradient(125deg,#e5f1ff99,#6b9fff40);z-index:-1}.sg7-hero-stripes{position:absolute;right:0;top:0;display:flex;gap:7px;width:165px;height:90px;transform:skew(-34deg) translateX(22px);z-index:4}.sg7-hero-stripes:before,.sg7-hero-stripes:after{content:"";height:100%;width:36px;background:var(--red)}.sg7-hero-stripes:after{background:#0755c9;width:42px}.sg7-hero-brand{position:relative;z-index:3}.sg7-hero-brand b{font-size:26px}.sg7-hero-brand small{font-size:12px}.sg7-hero-copy{position:relative;z-index:3;width:min(490px,55%);margin-top:76px}.sg7-hero-copy h1{font-size:clamp(30px,2.9vw,44px);line-height:1.15;letter-spacing:-2.25px;margin:0 0 20px;color:#061744;font-weight:800}.sg7-hero-copy h1 strong{color:#0b62fc}.sg7-hero-copy>p{max-width:460px;font-size:15px;line-height:1.7;color:#48618c;margin:0 0 28px}.sg7-selling-points{display:flex;flex-direction:column;gap:16px}.sg7-selling-points>div{display:flex;align-items:center;gap:17px;min-height:63px}.sg7-feature-icon{width:58px;height:58px;border-radius:19px;display:flex;align-items:center;justify-content:center;flex:none}.sg7-feature-icon.blue{color:#0f61f1;background:linear-gradient(145deg,#e7f2ff,#d9eaff)}.sg7-feature-icon.rose{color:#f51030;background:linear-gradient(145deg,#ffeef3,#ffe4e9)}.sg7-selling-points b{display:block;color:#0a1c3f;font-size:14px;line-height:1.4}.sg7-selling-points small{display:block;color:#536f99;font-size:12px;margin-top:4px;line-height:1.45}.sg7-server-art{position:absolute;top:11%;right:-1%;height:64%;width:51%;z-index:1;mask-image:linear-gradient(to right,transparent 0%,#000 28%,#000 100%);pointer-events:none}.sg7-server-art:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#d6e7fe 0%,transparent 23%);opacity:.65}.sg7-server-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(1.11)}.sg7-hero-services{position:relative;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:29px;min-height:120px;align-items:center;background:#f5f9ffbb;backdrop-filter:blur(18px);border:1px solid #fff;border-radius:17px;box-shadow:0 14px 38px #7aa6e629;padding:16px 10px}.sg7-hero-services>div{text-align:center;border-right:1px solid #d5e2f3;display:flex;flex-direction:column;align-items:center;gap:5px}.sg7-hero-services>div:last-child{border:0}.sg7-stat-icon{color:#0966fb}.sg7-hero-services b{font-size:15px;letter-spacing:-.35px;color:#091a42}.sg7-hero-services small{color:#6a81a4;font-size:11px}.sg7-hero-footer{display:flex;gap:9px;align-items:center;justify-content:center;position:relative;z-index:3;margin-top:20px;font-size:12px;font-weight:600}.sg7-hero-footer img{object-fit:contain}.sg7-hero-footer small{display:block;font-size:11px;font-weight:400;color:#5f779b;margin-top:4px}
.sg7-login-right{min-width:0;display:flex;align-items:center;justify-content:center;position:relative;padding:80px 6% 43px;background:radial-gradient(ellipse at 40% 14%,#eaf4ff 3%,#f3f8ff 65%)}.sg7-login-tools{position:absolute;top:27px;right:8%;display:flex;align-items:center;gap:14px}.sg7-circle-btn{height:41px;width:41px;border-radius:50%;background:#e8f1fc;color:#102e65;display:flex;align-items:center;justify-content:center}.sg7-language{height:43px;border-radius:14px;padding:0 13px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dbe6f5;font-weight:600;box-shadow:0 3px 15px #31589908}.sg7-login-card{border:1px solid #eef3fa;border-radius:26px;box-shadow:0 20px 70px #6b92cd0c;background:#fff;width:100%;max-width:574px;min-height:738px;padding:68px 45px 32px;display:flex;flex-direction:column}.sg7-login-card-brand{justify-content:center;margin:0 0 44px}.sg7-login-card-brand b{font-size:27px}.sg7-login-card-brand small{font-size:14px;font-weight:500}.sg7-login-intro{text-align:center;margin-bottom:30px}.sg7-login-intro h2{font-size:24px;letter-spacing:-.8px;margin:0 0 10px;font-weight:800;color:#0a1d45}.sg7-login-intro p{font-size:14px;margin:0;color:#60779d}.sg7-field-label{font-size:13px;font-weight:700;color:#0b1b3d;display:block;margin-bottom:11px}.sg7-input-label-row{display:flex;justify-content:space-between;align-items:center;margin-top:25px}.sg7-input-label-row a{font-size:12px;color:#0964ff;font-weight:600;margin-bottom:11px}.sg7-input-group{height:56px;border:1px solid #d8e3f3;border-radius:12px;display:flex;align-items:center;gap:14px;padding:0 16px;color:#557198;box-shadow:inset 0 1px 2px #a7b8d515;transition:border-color .2s,box-shadow .2s}.sg7-input-group:focus-within{border-color:#4489fd;box-shadow:0 0 0 4px #1e66f811}.sg7-input-group input{min-width:0;width:100%;color:#112b57;border:0;outline:0;background:none;height:100%;font-size:13px}.sg7-input-group input::placeholder{color:#8396b3}.sg7-password-toggle{display:flex;padding:4px;background:none;color:#516990}.sg7-remember{margin-top:22px;display:flex;gap:11px;align-items:flex-start;cursor:pointer}.sg7-remember input{height:18px;width:18px;margin:1px 0 0;accent-color:#126bff}.sg7-remember b{font-weight:600;display:block;font-size:13px}.sg7-remember small{font-size:11px;color:#8092af;display:block;margin-top:4px}.sg7-login-submit,.sg7-send-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(110deg,#3a8cff,#0754f8 46%,#0866ff);color:#fff;font-weight:700;box-shadow:0 6px 15px #1c66fc21;border-radius:11px;transition:transform .2s,box-shadow .2s}.sg7-login-submit:hover,.sg7-send-btn:hover{transform:translateY(-1px);box-shadow:0 9px 22px #1c66fc40}.sg7-login-submit{height:54px;margin-top:29px;font-size:16px}.sg7-login-separator{margin:33px 0 25px;display:flex;align-items:center;gap:13px;color:#8797b0;justify-content:center;font-size:11px;white-space:nowrap}.sg7-login-separator:before,.sg7-login-separator:after{content:"";height:1px;background:#dde6f1;flex:1}.sg7-login-shorcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sg7-login-shorcuts>*{min-height:85px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(#fff,#f7faff);border:1px solid #e5edf8;border-radius:12px;color:#1c67ed;font-size:11px}.sg7-login-shorcuts span:not(.sg7-icon){color:#5d7195}.sg7-login-shorcuts a:hover{background:#e8f1ff}.sg7-login-foot{position:absolute;bottom:16px;color:#8195ae;font-size:10px;text-align:center}.is-login.sg7-dark .sg7-login-card{background:#10244a}
/* Espace de messagerie */
.sg7.is-mail{height:100vh;height:100dvh;overflow:hidden}.sg7-shell{height:100%;display:grid;grid-template-columns:268px minmax(0,1fr);background:#f1f6fe}.sg7-sidebar{background:linear-gradient(112deg,#fff,#f6faff 67%,#e7f0ff);border-right:1px solid #e6eefb;min-height:0;display:flex;flex-direction:column;padding:10px 16px 17px 18px;overflow-y:auto}.sg7-sidebar-logo{gap:7px;height:57px;margin:0 0 14px 1px}.sg7-sidebar-logo b{font-size:18px}.sg7-sidebar-logo small{font-size:10px}.sg7-new-btn{display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(110deg,#ff0a2a,#ff0639);color:#fff;font-size:13px;font-weight:700;height:43px;border-radius:10px;box-shadow:0 8px 17px #ff17351a;margin:0 3px 20px}.sg7-new-btn:hover{filter:brightness(1.05)}.sg7-primary-nav{display:flex;flex-direction:column;gap:4px;padding-bottom:14px;border-bottom:1px solid #e5eefa}.sg7-nav-link{display:flex;align-items:center;gap:14px;color:#0e244b;min-width:0;border-radius:9px;padding:11px 13px;font-weight:600;transition:background .17s,color .17s}.sg7-nav-link:hover{background:#e7f1ff}.sg7-nav-link.active{background:#e4efff;color:#072d7a;position:relative}.sg7-nav-link.active:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:4px;background:#0866ff}.sg7-nav-link span:nth-child(2){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sg7-badge{font-size:10px;border-radius:7px;min-width:20px;height:20px;padding:3px 5px;display:flex;align-items:center;justify-content:center;background:#dae7f8;color:#194d9a}.sg7-badge.red{background:#ff062e;color:#fff}.sg7-folder-heading{display:flex;align-items:center;justify-content:space-between;padding:13px 4px 8px 17px}.sg7-folder-heading>b{font-size:12px}.sg7-icon-btn{color:#132f5c;background:transparent;display:inline-flex;align-items:center;justify-content:center;flex:none;width:35px;height:35px;border-radius:11px}.sg7-icon-btn:hover{background:#e1edff}.sg7-custom-folders{display:flex;flex-direction:column;gap:1px}.sg7-custom-folders .sg7-nav-link{padding:9px 13px;font-size:12px;gap:14px;font-weight:500;flex:1}.sg7-folder-swatch{height:15px;width:16px;flex:none;clip-path:polygon(0 16%,35% 16%,46% 28%,100% 28%,100% 100%,0 100%);border-radius:3px}.sg7-folder-entry{display:flex;align-items:center;min-width:0}.sg7-folder-entry form{opacity:0}.sg7-folder-entry:hover form,.sg7-folder-entry:focus-within form{opacity:1}.sg7-folder-entry form button{width:22px;height:28px;display:grid;place-items:center;border-radius:5px;background:transparent;color:#8392a9}.sg7-folder-entry form button:hover{background:#ffdce4;color:#de2144}.sg7-folder-add{display:flex;gap:5px;margin:4px 7px}.sg7-folder-add[hidden]{display:none}.sg7-folder-add input{width:calc(100% - 36px);min-width:0;padding:7px 9px;border:1px solid #bed4f5;border-radius:7px}.sg7-folder-add button{border-radius:7px;background:#085ff2;color:white;width:33px;display:grid;place-items:center}.sg7-create-hint{background:none;display:flex;align-items:center;gap:12px;padding:12px 15px;color:#486184;font-size:12px;text-align:left}.sg7-sidebar-end{margin-top:auto;padding-top:15px}.sg7-storage-card{display:flex;align-items:center;gap:11px;background:#e4efff;border-radius:13px;padding:14px 12px;margin:0 3px 8px}.sg7-storage-card>span{color:#0059bf;background:#fff;width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center}.sg7-storage-card>div{flex:1}.sg7-storage-card small{display:block;font-size:10px;color:#647fa5}.sg7-storage-card b{font-size:11px}.sg7-storage-card i{height:6px;background:#c7daf3;display:block;margin-top:9px;border-radius:8px}.sg7-storage-card i span{display:block;height:100%;width:60%;background:#0963f9;border-radius:inherit}.sg7-logout{display:flex;align-items:center;gap:13px;background:none;width:100%;padding:11px 13px;color:#52698c;font-weight:600;text-align:left}.sg7-logout:hover{color:#f42646}.sg7-content{min-width:0;height:100%;display:flex;flex-direction:column;overflow:hidden}.sg7-header{position:relative;height:74px;min-height:74px;display:flex;gap:20px;align-items:center;padding:0 29px 0 35px;background:linear-gradient(115deg,#f4f8ff,#fff);overflow:hidden}.sg7-header-search{position:relative;z-index:2;display:flex;align-items:center;gap:13px;height:43px;min-width:210px;width:min(548px,46%);color:#0c2449;padding:0 14px;border:1px solid #dce7f5;background:#edf3fb;border-radius:26px}.sg7-header-search input{border:0;outline:0;background:none;flex:1;min-width:0;color:#1d3153;font-size:12px}.sg7-header-search input::placeholder{color:#94a3b9}.sg7-header-search kbd{font-family:inherit;border-radius:6px;background:#dae6f8;padding:5px 6px;font-size:11px;color:#687fa2;white-space:nowrap}.sg7-header-ribbons{position:absolute;left:58%;top:-17px;display:flex;gap:5px;transform:skew(-33deg);height:100px}.sg7-header-ribbons i,.sg7-header-ribbons b{height:100%;width:39px;background:#fa042f}.sg7-header-ribbons b{background:#0b4fba}.sg7-header-actions{margin-left:auto;z-index:2;display:flex;align-items:center;gap:14px}.sg7-round{background:#eff5ff;border-radius:50%;height:41px;width:41px}.sg7-profile-circle{height:44px;width:44px;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0b63e0,#073b9e);font-size:19px;font-weight:700;margin-left:5px}.sg7-header-profile{display:flex;flex-direction:column;gap:4px;min-width:0}.sg7-header-profile b{white-space:nowrap;font-size:12px}.sg7-header-profile small{white-space:nowrap;color:#667c9f;font-size:10px;max-width:150px;overflow:hidden;text-overflow:ellipsis}.sg7-mobile-menu{display:none}
/* Mail 3 colonnes */
.sg7-mail-grid{display:grid;grid-template-columns:minmax(300px,388px) minmax(360px,1fr) minmax(245px,304px);gap:12px;min-width:0;flex:1;overflow:hidden;padding:0 12px 16px 0;min-height:0}.sg7-list-panel,.sg7-message-card,.sg7-reply-card,.sg7-detail-card{background:#fff;border-radius:16px;box-shadow:var(--shadow);border:1px solid #ecf2fb}.sg7-list-panel{display:flex;flex-direction:column;overflow:hidden;min-height:0}.sg7-list-tabs{height:44px;display:flex;align-items:stretch;gap:13px;justify-content:space-evenly;border-bottom:1px solid #eff3fa;padding:0 12px}.sg7-list-tabs>a{display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;padding:0 3px;font-size:11px;font-weight:700;position:relative}.sg7-list-tabs>a.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#ff1c43}.sg7-list-tabs b{border-radius:6px;background:#0866ff;color:white;padding:3px 6px;font-size:10px}.sg7-list-tools{display:flex;align-items:center;justify-content:space-between;min-height:34px;padding:0 16px;font-size:10px;color:#7283a1}.sg7-list-tools>span{display:flex;align-items:center;gap:4px}.sg7-list-tools b{color:#263655}.sg7-list-tools a{color:#2e5fb1}.sg7-list-name{display:flex;justify-content:space-between;padding:3px 16px 11px;font-size:11px;color:#667994}.sg7-list-name span{font-weight:700;color:#26467b}.sg7-list-name small{font-size:10px}.sg7-message-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}.sg7-message-row{display:flex;align-items:center;gap:9px;min-height:75px;padding:10px 12px 10px 13px;border-bottom:1px solid #eef3fa;transition:background .16s;position:relative}.sg7-message-row:hover{background:#f5f9ff}.sg7-message-row.selected{background:#eaf3ff}.sg7-message-row.selected:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#0a66ff}.sg7-message-row.unread .sg7-row-content>b,.sg7-message-row.unread .sg7-row-content>span{font-weight:800}.sg7-row-dot{width:23px;color:#acc0dc;display:flex;flex:none}.sg7-sender-avatar{height:41px;width:41px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none;font-weight:800;font-size:16px;color:#152a4f;background:#f7dca7}.sg7-sender-avatar.tint-0,.sg7-contact-avatar.tint-0{background:#ffdda1}.sg7-sender-avatar.tint-1,.sg7-contact-avatar.tint-1{background:#ff8e96;color:#202746}.sg7-sender-avatar.tint-2,.sg7-contact-avatar.tint-2{background:#0db29f;color:white}.sg7-sender-avatar.tint-3,.sg7-contact-avatar.tint-3{background:#94bbff}.sg7-sender-avatar.tint-4,.sg7-contact-avatar.tint-4{background:#d1b4ff}.sg7-sender-avatar.tint-5,.sg7-contact-avatar.tint-5{background:#10aaf0;color:white}.sg7-sender-avatar.tint-6,.sg7-contact-avatar.tint-6{background:#ff263e;color:white}.sg7-sender-avatar.tint-7,.sg7-contact-avatar.tint-7{background:#152d63;color:white}.sg7-row-content{display:flex;flex-direction:column;flex:1;min-width:0;gap:4px}.sg7-row-content>b,.sg7-row-content>span,.sg7-row-content>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sg7-row-content>b{font-size:11px;font-weight:700;color:#152344}.sg7-row-content>span{font-size:11px;color:#233557}.sg7-row-content>small{font-size:10px;color:#788aa5}.sg7-row-meta{flex:none;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;font-size:10px;color:#8193b0}.sg7-row-meta .sg7-icon{color:#a7b8d0}.sg7-list-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#8b9eb9;text-align:center;padding:40px}.sg7-list-empty>b{color:#2a4270;font-size:14px}.sg7-list-empty>small{font-size:11px;line-height:1.6}.sg7-list-footer{min-height:37px;display:flex;justify-content:space-between;align-items:center;padding:0 15px;font-size:10px;color:#7890b0;border-top:1px solid #edf3f8}.sg7-list-footer>span:last-child{display:flex;gap:15px;align-items:center;font-size:13px}.sg7-list-footer b{display:grid;place-items:center;background:#dbe9ff;color:#075bf9;border-radius:7px;height:28px;width:27px;font-size:11px}.sg7-reader-column{display:flex;flex-direction:column;gap:12px;min-width:0;overflow-y:auto;overflow-x:hidden;min-height:0}.sg7-message-card{min-height:420px;display:flex;flex-direction:column;overflow:hidden;flex-shrink:0}.sg7-reader-bar{display:flex;align-items:center;gap:12px;padding:0 16px;height:53px;min-height:53px;border-bottom:1px solid #edf2fa;white-space:nowrap;overflow-x:auto}.sg7-reader-bar>a,.sg7-reader-bar form>button{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;background:none;color:#132b56;white-space:nowrap}.sg7-reader-bar>a:hover,.sg7-reader-bar form>button:hover{color:#0b65ed}.sg7-reader-bar form{display:flex;align-items:center}.sg7-reader-bar .sg7-move-form{gap:4px;min-width:130px}.sg7-move-form select{max-width:106px;min-width:0;border:0;background:transparent;font-size:11px;font-weight:700;color:#183864;cursor:pointer}.sg7-move-form>button{padding:4px!important}.sg7-reader-inner{padding:26px 22px 25px}.sg7-subject{display:flex;align-items:center;gap:12px;min-width:0}.sg7-subject h2{font-size:20px;margin:0;color:#111e39;letter-spacing:-.6px;overflow-wrap:anywhere}.sg7-folder-tag{display:inline-flex;align-items:center;color:#667899;background:#eef3fa;border-radius:16px;padding:4px 9px;font-size:10px}.sg7-reading-sender{display:flex;align-items:center;gap:13px;margin-top:26px}.sg7-sender-avatar.big{height:47px;width:47px}.sg7-reading-sender>span:nth-child(2){display:flex;flex-direction:column;gap:6px;min-width:0}.sg7-reading-sender b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg7-reading-sender small{color:#637ba0;font-size:11px;overflow:hidden;text-overflow:ellipsis}.sg7-reading-sender time{font-size:10px;color:#7286a8;margin-left:auto;white-space:nowrap}.sg7-message-body{font-size:14px;line-height:1.8;color:#1d335d;white-space:normal;overflow-wrap:anywhere;margin:29px 0 31px;min-height:58px}.sg7-attached-block>b{font-size:11px}.sg7-attached-block>div{margin-top:12px;display:flex;flex-wrap:wrap;gap:10px}.sg7-attached-block a{border:1px solid #d9e5f5;border-radius:11px;padding:11px 13px;display:flex;gap:11px;align-items:center;max-width:300px;min-width:190px}.sg7-attached-block a>.sg7-icon:first-child,.sg7-file-detail a>.sg7-icon:first-child{color:#ff293a}.sg7-attached-block a span:nth-child(2),.sg7-file-detail a span:nth-child(2){display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.sg7-attached-block a span:nth-child(2) b,.sg7-file-detail a span:nth-child(2) b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sg7-attached-block a span:nth-child(2) small,.sg7-file-detail a span:nth-child(2) small{font-size:10px;color:#6d84a6}.sg7-attached-block a>.sg7-icon:last-child{color:#244c92}.sg7-message-replies{display:flex;gap:8px;margin-top:26px;flex-wrap:wrap}.sg7-message-replies a{border:1px solid #dce8f6;border-radius:10px;display:inline-flex;align-items:center;gap:9px;padding:11px 12px;font-weight:600;font-size:11px;white-space:nowrap}.sg7-message-replies a .sg7-icon{color:#075fff}.sg7-message-replies a:hover{background:#f2f7ff}.sg7-nothing-selected{min-height:390px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#7f94b6;gap:13px;text-align:center;padding:40px}.sg7-nothing-selected h2{color:#142c59;margin:0}.sg7-nothing-selected p{margin:0 0 10px}.sg7-nothing-selected .sg7-send-btn{padding:13px 19px}
.sg7-reply-card{min-height:326px;flex:none}.sg7-reply-head{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #e8eff9}.sg7-reply-head b{display:flex;align-items:center;gap:8px;font-size:12px}.sg7-reply-head a{color:#24416b}.sg7-reply-card form{padding:0 22px 19px}.sg7-reply-to{height:54px;display:flex;gap:14px;align-items:center;border-bottom:1px solid #e6edf8;font-size:11px}.sg7-reply-to label{font-weight:700}.sg7-reply-to input{min-width:0;flex:1;border:0;color:#274773;background:#edf4ff;padding:7px 10px;border-radius:18px;outline:0}.sg7-reply-to a{color:#0065fa;font-weight:700}.sg7-reply-toolbar{height:37px;display:flex;align-items:center;gap:10px;font-size:11px;color:#7184a3;border-bottom:1px solid #e7eff8}.sg7-reply-card textarea{width:100%;height:110px;resize:vertical;border:1px solid #e0e9f6;border-radius:0 0 9px 9px;padding:13px 14px;font-size:12px;line-height:1.6;outline:0;display:block}.sg7-reply-card textarea:focus{border-color:#8bb9fc}.sg7-reply-actions{display:flex;align-items:center;justify-content:flex-end;gap:15px;padding-top:13px}.sg7-reply-actions>label:first-child{margin-right:auto;border:1px solid #e0eaf7;padding:11px;display:flex;border-radius:9px;color:#1c468d;cursor:pointer}.sg7-signature-label{display:flex;gap:4px;font-size:11px;color:#7385a2;white-space:nowrap;align-items:center}.sg7-signature-label input{accent-color:#085ff0}.sg7-reply-actions .sg7-send-btn{padding:12px 21px;font-size:11px}
/* Détails latéraux */
.sg7-details-column{min-width:0;display:flex;flex-direction:column;gap:9px;overflow-y:auto;min-height:0}.sg7-detail-card{padding:17px 17px;border-radius:14px}.sg7-contact-card{display:flex;align-items:center;flex-direction:column;min-height:251px}.sg7-contact-avatar{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;margin:5px 0 16px}.sg7-contact-card>b{max-width:100%;overflow-wrap:anywhere;font-size:13px;text-align:center}.sg7-contact-card>small{color:#7186a8;font-size:11px;margin-top:8px;max-width:100%;overflow-wrap:anywhere}.sg7-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%;margin-top:17px}.sg7-contact-grid a{display:flex;align-items:center;flex-direction:column;gap:7px;text-align:center;font-size:10px;line-height:1.4;font-weight:700}.sg7-contact-grid a>span{height:44px;width:44px;border-radius:50%;color:#0864ff;background:#e7f0ff;display:flex;align-items:center;justify-content:center}.sg7-contact-grid a>span.rose{color:#ff062c;background:#ffebf1}.sg7-detail-card h3{font-size:12px;margin:0 0 13px;display:flex;align-items:center;gap:7px}.sg7-file-detail{min-height:89px}.sg7-file-detail h3 i{font-style:normal;color:#0468ff;background:#e5efff;font-size:10px;padding:3px 7px;border-radius:9px}.sg7-file-detail>a{display:flex;align-items:center;gap:8px;margin-top:9px}.sg7-file-detail>a>.sg7-icon:last-child{color:#1e427a}.sg7-file-detail p{font-size:10px;color:#8193ad;margin:0}.sg7-meta-card>div{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;margin:11px 0;font-size:10px}.sg7-meta-card>div>span{display:flex;align-items:center;gap:7px;color:#8191ab}.sg7-meta-card>div>span .sg7-icon{color:#234679}.sg7-meta-card>div>b{text-align:right;font-weight:600;overflow-wrap:anywhere;max-width:62%}.sg7-appearance>h3{margin-bottom:12px}.sg7-appearance>b{font-size:10px}.sg7-segments{display:flex;gap:5px;margin:9px 0 14px}.sg7-segments button{padding:6px 7px;flex:1;font-size:10px;color:#7385a0;background:#f7f9fd;border:1px solid #dee8f4;border-radius:7px;white-space:nowrap}.sg7-segments button.selected{background:#e6f1ff;border-color:#0962fe;color:#0864f7;font-weight:700}.sg7-appearance>a{font-size:11px;color:#0366fa;font-weight:700}
/* Nouveau message + réglages : véritable défilement sans couper le bouton envoyer */
.sg7-page-wrap{overflow-y:auto;min-height:0;padding:29px clamp(15px,5%,70px) 60px;width:100%;flex:1;scrollbar-gutter:stable}.sg7-page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:15px}.sg7-page-head p{font-size:10px;color:#0763fd;font-weight:800;letter-spacing:1.4px;margin:0 0 9px}.sg7-page-head h1{font-size:25px;letter-spacing:-.8px;margin:0 0 8px}.sg7-page-head span{font-size:12px;color:#7286a4}.sg7-outline{border:1px solid #dce6f5;border-radius:11px;background:#fff;padding:12px 16px;display:flex;align-items:center;gap:9px;font-weight:700;font-size:12px}.sg7-compose-card,.sg7-settings-card{max-width:1020px;background:#fff;border:1px solid #e6eef9;border-radius:18px;box-shadow:var(--shadow);padding:23px 30px}.sg7-compose-line{display:flex;align-items:center;gap:15px;border-bottom:1px solid #edf2f8;min-height:51px}.sg7-compose-line label{font-size:12px;font-weight:700;width:48px;color:#20365a}.sg7-compose-line input{border:0;outline:0;flex:1;height:51px;min-width:0}.sg7-compose-line input::placeholder{color:#97a8c0}.sg7-text-toolbar{margin-top:13px;display:flex;align-items:center;justify-content:space-between;background:#f8fbff;border:1px solid #e6eef8;border-radius:10px 10px 0 0;padding:12px 15px;color:#214779;font-size:12px}.sg7-text-toolbar span{display:flex;align-items:center;gap:8px}.sg7-text-toolbar .sg7-toolbar-hint{color:#a4b2c6;font-size:11px}.sg7-compose-textarea{display:block;width:100%;height:230px;min-height:160px;max-height:470px;resize:vertical;border:1px solid #e6eef8;border-top:0;border-radius:0 0 10px 10px;padding:18px;line-height:1.7;outline:0;color:#1d3154}.sg7-compose-textarea:focus{border-color:#81b1ff}.sg7-compose-options{display:flex;flex-wrap:wrap;gap:14px 24px;margin:19px 0;padding-bottom:19px;border-bottom:1px solid #eaf0fa}.sg7-compose-options label{font-size:11px;display:flex;align-items:center;gap:7px;color:#466184}.sg7-compose-options input{accent-color:#0963ff}.sg7-compose-footer{display:flex;gap:13px;align-items:center;flex-wrap:wrap;padding-bottom:4px}.sg7-attachment-label{border:1px solid #dde8f6;border-radius:9px;display:flex;align-items:center;gap:9px;padding:12px 14px;cursor:pointer;color:#17457f;font-weight:700;font-size:12px}.sg7-attachment-label input{display:none}.sg7-attachment-label small{font-weight:400;font-size:10px;color:#8c9bb4}.sg7-picked-files{font-size:11px;color:#576b8e;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sg7-compose-footer .sg7-send-btn{margin-left:auto;padding:14px 26px}.sg7-settings-card{padding:25px 30px;margin-bottom:14px;display:flex;flex-direction:column;gap:14px}.sg7-settings-card h2{display:flex;align-items:center;gap:9px;font-size:17px;margin:0}.sg7-settings-card p{margin:0;color:#657d9c;font-size:12px;line-height:1.7}.sg7-settings-card textarea{resize:vertical;border:1px solid #dce7f7;border-radius:9px;padding:16px;min-height:100px;max-width:750px}.sg7-settings-card label{display:flex;gap:9px;align-items:center;color:#345172}.sg7-settings-card hr{border:0;border-top:1px solid #e9eff8;width:100%}.sg7-settings-card .sg7-send-btn{width:max-content;padding:14px 18px}.sg7-text-link{color:#0964fa;font-size:12px;font-weight:700}
/* États et transitions */
.sg7-list-panel::-webkit-scrollbar,.sg7-message-scroll::-webkit-scrollbar,.sg7-reader-column::-webkit-scrollbar,.sg7-details-column::-webkit-scrollbar,.sg7-sidebar::-webkit-scrollbar,.sg7-page-wrap::-webkit-scrollbar{width:6px}.sg7-message-scroll::-webkit-scrollbar-thumb,.sg7-reader-column::-webkit-scrollbar-thumb,.sg7-details-column::-webkit-scrollbar-thumb,.sg7-page-wrap::-webkit-scrollbar-thumb{background:#cfdbed;border-radius:8px}.sg7-message-row[hidden]{display:none!important}.sg7.density-compact .sg7-message-row{min-height:56px;padding-top:6px;padding-bottom:6px}.sg7.density-large .sg7-message-row{min-height:96px}.sg7.is-mail .sg7-message-card,.sg7.is-mail .sg7-reply-card,.sg7.is-mail .sg7-detail-card{animation:sg7-rise .32s both}@keyframes sg7-rise{from{opacity:.65;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.sg7-hero-brand,.sg7-hero-copy,.sg7-login-card{animation:sg7-appear .65s both}@keyframes sg7-appear{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}.sg7-server-art{animation:sg7-breathe 9s ease-in-out infinite alternate}@keyframes sg7-breathe{from{transform:translateY(0)}to{transform:translateY(-11px)}}.sg7-backdrop[hidden]{display:none}
/* Mode sombre */
body.sg7.dark{--text:#eff6ff;--stroke:#293b5e;--muted:#a6bad4;--subtle:#162848;--white:#152746;background:#091a34;color:#eaf3ff}body.sg7.dark .sg7-shell,body.sg7.dark .sg7-header{background:#091a34}body.sg7.dark .sg7-sidebar{background:#102241;border-color:#2c4269}body.sg7.dark .sg7-nav-link,body.sg7.dark .sg7-header-profile b{color:#d3e3f6}body.sg7.dark .sg7-nav-link.active{color:#b4d3ff;background:#183969}body.sg7.dark .sg7-list-panel,body.sg7.dark .sg7-message-card,body.sg7.dark .sg7-reply-card,body.sg7.dark .sg7-detail-card,body.sg7.dark .sg7-compose-card,body.sg7.dark .sg7-settings-card,body.sg7.dark .sg7-login-card{background:#112440;color:#ecf4ff;border-color:#293c5b}body.sg7.dark .sg7-message-row{border-color:#263958}body.sg7.dark .sg7-message-row.selected{background:#193b6d}body.sg7.dark .sg7-row-content>b,body.sg7.dark .sg7-row-content>span,body.sg7.dark .sg7-subject h2,body.sg7.dark .sg7-reading-sender b,body.sg7.dark .sg7-nav-link,body.sg7.dark .sg7-reader-bar a,body.sg7.dark .sg7-reader-bar button,body.sg7.dark .sg7-login-intro h2,body.sg7.dark .sg7-field-label,body.sg7.dark .sg7-brand b{color:#e6f0ff}body.sg7.dark .sg7-header-search,body.sg7.dark .sg7-reply-to input,body.sg7.dark .sg7-text-toolbar{background:#1a355b;border-color:#3a5478;color:#fff}body.sg7.dark input,body.sg7.dark textarea,body.sg7.dark select{color:#eef5ff;background:transparent}body.sg7.dark .sg7-input-group{border-color:#34537b}body.sg7.dark .sg7-message-body{color:#d5e0f1}body.sg7.dark .sg7-login-right{background:#091a34}body.sg7.dark .sg7-hero{background:linear-gradient(120deg,#172a4d,#213f70)}body.sg7.dark .sg7-hero-copy h1,body.sg7.dark .sg7-selling-points b{color:#eff6ff}body.sg7.dark .sg7-hero-services{background:#112947c7}body.sg7.dark .sg7-hero-services b{color:#fff}body.sg7.dark .sg7-hero-footer{color:#c6dcf7}body.sg7.dark .sg7-hero-copy p{color:#c5daf6}body.sg7.dark .sg7-login-shorcuts>*{background:#172f52;border-color:#2c4870}
@media(max-width:1420px){.sg7-shell{grid-template-columns:230px minmax(0,1fr)}.sg7-sidebar{padding-left:12px;padding-right:12px}.sg7-sidebar-logo b{font-size:16px}.sg7-mail-grid{grid-template-columns:minmax(285px,350px) minmax(340px,1fr) minmax(220px,275px);gap:9px;padding-right:9px}.sg7-reader-bar{gap:9px}.sg7-header-ribbons{left:56%}.sg7-login-card{padding:54px 30px}.sg7-hero-copy{width:56%}}
@media(max-width:1170px){.sg7-mail-grid{grid-template-columns:minmax(282px,350px) minmax(350px,1fr)}.sg7-details-column{display:none}.sg7-header-ribbons{display:none}.sg7-hero{padding-left:5%}.sg7-hero-copy{width:61%;margin-top:52px}.sg7-hero-copy h1{font-size:32px}.sg7-server-art{width:52%;right:-8%}.sg7-hero-services{margin-top:22px}.sg7-login{grid-template-columns:minmax(0,55%) minmax(405px,45%)}.sg7-login-card{padding:45px 28px;min-height:695px}.sg7-login-card-brand b{font-size:23px}}
@media(max-width:870px){.sg7-login{display:flex;flex-direction:column}.sg7-hero{min-height:390px;padding:28px 6% 30px}.sg7-hero-copy{width:60%;margin-top:32px}.sg7-hero-copy h1{font-size:31px}.sg7-hero-copy>p{font-size:12px}.sg7-selling-points{display:none}.sg7-server-art{width:42%;top:7%;height:78%;right:1%;mask-image:linear-gradient(to right,transparent,#000 22%)}.sg7-hero-services,.sg7-hero-footer{display:none}.sg7-login-right{padding:42px 18px 30px}.sg7-login-tools{top:12px;right:20px}.sg7-login-card{margin:16px auto 22px;max-width:560px;min-height:600px}.sg7-login-foot{bottom:8px}.sg7-shell{grid-template-columns:80px minmax(0,1fr)}.sg7-sidebar{padding:10px 7px}.sg7-sidebar-logo{justify-content:center}.sg7-sidebar-logo>span,.sg7-new-btn{font-size:0}.sg7-sidebar-logo img{width:50px}.sg7-new-btn{padding:0;min-width:0}.sg7-nav-link{justify-content:center;padding:12px 0}.sg7-nav-link>span:nth-child(2),.sg7-folder-heading b,.sg7-custom-folders,.sg7-sidebar-end .sg7-storage-card,.sg7-sidebar-end .sg7-nav-link,.sg7-logout{display:none}.sg7-folder-heading{justify-content:center;padding:10px 0}.sg7-mail-grid{grid-template-columns:minmax(265px,340px) minmax(300px,1fr)}.sg7-header{padding:0 14px}}
@media(max-width:650px){.sg7.is-mail{overflow:hidden}.sg7-shell{display:block}.sg7-sidebar{position:fixed;z-index:30;left:0;top:0;bottom:0;width:250px;transform:translateX(-103%);transition:transform .2s}.sg7-sidebar.show{transform:translateX(0)}.sg7-sidebar-logo>span,.sg7-nav-link>span:nth-child(2),.sg7-folder-heading b,.sg7-custom-folders,.sg7-sidebar-end .sg7-storage-card,.sg7-sidebar-end .sg7-nav-link,.sg7-logout{display:flex}.sg7-sidebar-logo{justify-content:flex-start}.sg7-new-btn{font-size:12px}.sg7-nav-link{justify-content:flex-start;padding:11px 13px}.sg7-folder-heading{justify-content:space-between}.sg7-custom-folders{flex-direction:column}.sg7-content{height:100%}.sg7-mobile-menu{display:inline-flex}.sg7-header{height:63px;min-height:63px;gap:7px;padding:0 12px}.sg7-header-search{width:100%;min-width:0}.sg7-header-search kbd{display:none}.sg7-header-actions{gap:3px}.sg7-header-actions>a,.sg7-header-profile{display:none}.sg7-profile-circle{width:34px;height:34px;font-size:15px;margin:0}.sg7-header-actions .sg7-round{height:34px;width:34px}.sg7-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:25;background:#0b1a3e78}.sg7-mail-grid{grid-template-columns:minmax(0,1fr);padding:0 8px 8px;overflow:auto;display:flex;flex-direction:column}.sg7-list-panel{min-height:235px;max-height:42%;flex-shrink:0}.sg7-reader-column{overflow:visible;flex-shrink:0;min-height:0}.sg7-message-card{min-height:280px}.sg7-message-replies a{padding:9px 10px}.sg7-reader-bar{overflow-x:auto}.sg7-list-tabs{justify-content:space-around}.sg7-page-wrap{padding:20px 11px 45px}.sg7-compose-card,.sg7-settings-card{padding:16px}.sg7-toolbar-hint{display:none!important}.sg7-compose-textarea{height:185px}.sg7-attachment-label small{display:none}.sg7-compose-footer .sg7-send-btn{margin-left:0}.sg7-login-card-brand b{font-size:21px}.sg7-login-card{padding:40px 25px 25px}.sg7-login-intro h2{font-size:21px}}
@media(max-width:430px){.sg7-hero{min-height:322px}.sg7-hero-brand b{font-size:19px}.sg7-hero-brand small{font-size:10px}.sg7-hero-copy{width:75%}.sg7-hero-copy h1{font-size:27px}.sg7-hero-copy>p{font-size:11px}.sg7-server-art{right:-16%;width:52%;opacity:.65}.sg7-login-shorcuts{gap:5px}.sg7-login-shorcuts>*{font-size:9px}.sg7-remember small{font-size:10px}.sg7-login-card{padding:32px 18px 25px}.sg7-login-tools{top:10px}.sg7-reading-sender time{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Réglages : catégories visibles, explications courtes, actions faciles à repérer */
.sg7-settings-new .sg7-page-head{max-width:1120px;margin-left:auto;margin-right:auto;margin-bottom:18px}
.sg7-settings-new .sg7-page-head>div>span{display:block;max-width:620px;line-height:1.6}
.sg7-settings-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:1120px;margin:0 auto 10px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.sg7-settings-tabs a{min-width:0;min-height:66px;justify-content:flex-start;gap:11px;padding:10px 12px;border:1px solid #dce5ef;border-radius:10px;background:#fff;color:#29415e;text-align:left;white-space:normal}
.sg7-settings-tabs a:hover{border-color:#b7ccec;background:#f8fbff;color:#0759df}
.sg7-settings-tabs a.active{border-color:#8cb8f5;border-bottom:1px solid #8cb8f5;background:#eff6ff;color:#0759df}
.sg7-settings-tab-icon{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:9px;background:#edf4ff;color:#1766d2}
.sg7-settings-tabs a.active .sg7-settings-tab-icon{background:#dceaff;color:#0759df}
.sg7-settings-tab-copy{display:flex;flex-direction:column;min-width:0;gap:3px}
.sg7-settings-tab-copy b{font-size:12px;line-height:1.3}
.sg7-settings-tab-copy small{font-size:10px;line-height:1.35;color:#71839a;font-weight:500}
.sg7-settings-body{max-width:1120px;margin:0 auto 45px;padding:24px 25px 36px;border:1px solid #e2e9f1;border-radius:12px;background:#fff;box-shadow:0 6px 22px #18375e09}
.sg7-settings-title{margin-bottom:17px}
.sg7-settings-title h2{font-size:19px;line-height:1.35;color:#173454}
.sg7-settings-title p{max-width:760px;font-size:12px;line-height:1.65;color:#6d7f93}
.sg7-settings-new .sg7-settings-card{border-color:#e1e8f0;border-radius:9px;margin:12px 0 17px;padding:0 18px}
.sg7-setting-row{grid-template-columns:minmax(210px,32%) minmax(0,1fr);gap:24px;padding:19px 2px}
.sg7-setting-row h3,.sg7-settings-card h3{font-size:12px;line-height:1.45;color:#203b5b}
.sg7-setting-row p,.sg7-settings-new .sg7-settings-card p{font-size:11px;line-height:1.6;color:#708197}
.sg7-settings-input,.sg7-settings-select,.sg7-settings-textarea{border-radius:7px;padding:10px 11px;font-size:12px}
.sg7-settings-submit{padding:14px 0 18px}
.sg7-settings-new .sg7-send-btn{min-height:39px;padding:10px 17px;border-radius:7px}
.sg7-settings-kicker{font-size:9px;letter-spacing:1px}
body.sg7.dark .sg7-settings-tabs a{background:#172b47;border-color:#304762}
body.sg7.dark .sg7-settings-tabs a.active{background:#1b3658;border-color:#4f83c8}
body.sg7.dark .sg7-settings-tab-icon{background:#203b5c;color:#9fc4ff}
body.sg7.dark .sg7-settings-tab-copy small{color:#a6bad4}
body.sg7.dark .sg7-settings-body{border-color:#2c4260;box-shadow:none}
body.sg7.dark .sg7-settings-title h2{color:#e6f0ff}
@media(max-width:880px){.sg7-settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.sg7-settings-body{padding:20px 17px 30px}}
@media(max-width:560px){.sg7-settings-tabs{grid-template-columns:1fr;gap:6px}.sg7-settings-tabs a{min-height:52px;padding:8px 10px}.sg7-settings-tab-icon{width:30px;height:30px}.sg7-setting-row{grid-template-columns:1fr;gap:10px}.sg7-settings-body{padding:17px 12px 24px}.sg7-settings-new .sg7-page-head{align-items:flex-start}.sg7-settings-new .sg7-page-head .sg7-outline{padding:9px;font-size:10px}}

/* Navigation and toolbar icons stay visible and aligned across screen sizes. */
.sg7-nav-link{display:flex;align-items:center;gap:12px}
.sg7-nav-link>.sg7-icon{width:20px;height:20px;color:#607b9e}
.sg7-nav-link.active>.sg7-icon{color:#075fff}
.sg7-new-btn>.sg7-icon,.sg7-header-actions .sg7-icon,.sg7-icon-btn .sg7-icon{display:inline-flex;align-items:center;justify-content:center}
.sg7-folder-heading>.sg7-icon-btn{width:38px;height:38px;border:1px solid #dce7f5;border-radius:10px;background:#fff;color:#1b64c7}
.sg7-header-actions .sg7-round{width:42px;height:42px;border:1px solid #e0e9f4;background:#fff;color:#163d72}
body.sg7.dark .sg7-folder-heading>.sg7-icon-btn,body.sg7.dark .sg7-header-actions .sg7-round{background:#172d4d;border-color:#304766;color:#d8e8ff}

/* Connexion claire, sans panneau sombre ni bande décorative. */
body.sg7.is-login .sg7-hero{background:radial-gradient(ellipse at 76% 18%,#fff 0,transparent 38%),linear-gradient(145deg,#f5f9ff 0%,#eaf3ff 57%,#dceaff 100%)!important;color:#173759!important}
body.sg7.is-login .sg7-hero-stripes{display:none!important}
body.sg7.is-login .sg7-hero-brand b,body.sg7.is-login .sg7-hero-copy h1,body.sg7.is-login .sg7-selling-points b,body.sg7.is-login .sg7-hero-footer{color:#173759!important}
body.sg7.is-login .sg7-hero-copy h1 strong{color:#1769d3!important}
body.sg7.is-login .sg7-hero-copy>p,body.sg7.is-login .sg7-selling-points small,body.sg7.is-login .sg7-hero-footer small{color:#627b9a!important}
body.sg7.is-login .sg7-hero-services{background:#ffffffc9!important;border-color:#dce7f5!important;box-shadow:0 12px 30px #3e689014!important}
body.sg7.is-login .sg7-hero-services b{color:#173759!important}

/* Mise en page inspirée de la référence SmartGaulle fournie. */
body.sg7.is-mail .sg7-shell{grid-template-columns:280px minmax(0,1fr)!important;background:#eef5ff!important}
body.sg7.is-mail .sg7-sidebar{position:relative;background:radial-gradient(ellipse 115% 35% at 45% 110%,#c4e2ff 0 59%,transparent 60%),linear-gradient(180deg,#f8fbff 0%,#f1f7ff 100%)!important;border-right:1px solid #dce8f7!important;padding:18px 14px 18px!important;color:#132d55!important}
body.sg7.is-mail .sg7-sidebar-logo{height:58px!important;margin:0 0 20px 5px!important;gap:10px!important}
body.sg7.is-mail .sg7-sidebar-logo b{font-size:20px!important;color:#102a56!important}
body.sg7.is-mail .sg7-sidebar-logo small{font-size:11px!important;color:#60789b!important}
body.sg7.is-mail .sg7-new-btn{height:52px!important;margin:0 2px 19px!important;border-radius:12px!important;background:linear-gradient(110deg,#1484ff,#0860e8)!important;box-shadow:0 8px 18px #1768df2a!important;font-size:14px!important}
body.sg7.is-mail .sg7-primary-nav{gap:3px!important;padding-bottom:14px!important;border-color:#d9e6f5!important}
body.sg7.is-mail .sg7-nav-link{min-height:43px!important;padding:10px 13px!important;border-radius:11px!important;gap:12px!important;color:#213b62!important;font-size:13px!important}
body.sg7.is-mail .sg7-nav-link>.sg7-icon{width:22px;height:22px;color:#304c75!important}
body.sg7.is-mail .sg7-nav-link:hover{background:#eaf3ff!important}
body.sg7.is-mail .sg7-nav-link.active{background:linear-gradient(100deg,#dcecff,#e9f3ff)!important;color:#075fe4!important;box-shadow:inset 3px 0 #0875ff!important}
body.sg7.is-mail .sg7-nav-link.active>.sg7-icon{color:#0868ea!important}
body.sg7.is-mail .sg7-folder-heading{padding:18px 4px 8px 18px!important;color:#536985!important}
body.sg7.is-mail .sg7-folder-heading>.sg7-icon-btn{width:34px;height:34px;border:0!important;border-radius:9px!important;background:transparent!important;color:#173d70!important}
body.sg7.is-mail .sg7-custom-folders .sg7-nav-link{min-height:38px!important}
body.sg7.is-mail .sg7-storage-card{background:#ffffffbd!important;border:1px solid #dbe8f7!important;border-radius:14px!important;padding:13px!important}
body.sg7.is-mail .sg7-header{height:78px!important;min-height:78px!important;padding:0 22px!important;gap:17px!important;background:#f8fbff!important;border-bottom:1px solid #dfebf8!important}
body.sg7.is-mail .sg7-header-ribbons{display:none!important}
body.sg7.is-mail .sg7-header-search{width:min(500px,38vw)!important;height:47px!important;border:0!important;border-radius:14px!important;background:#eaf2fc!important;box-shadow:none!important;color:#183d6a!important}
body.sg7.is-mail .sg7-header-search input{font-size:13px!important}
body.sg7.is-mail .sg7-header-search kbd{background:#fff;color:#5d7291}
.sg7-app-nav{display:flex;align-self:stretch;align-items:stretch;gap:5px;margin-left:auto;z-index:2}
.sg7-app-nav a{min-width:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 12px 5px;border-bottom:3px solid transparent;color:#596d8c;font-size:11px;font-weight:600;white-space:nowrap}
.sg7-app-nav a .sg7-icon{color:#30496f}
.sg7-app-nav a:hover{background:#eef5ff;color:#075fd9}
.sg7-app-nav a.active{border-color:#0871fa;color:#075fd9}
.sg7-app-nav a.active .sg7-icon{color:#0871fa}
body.sg7.is-mail .sg7-header-actions{gap:8px!important;margin-left:0!important}
body.sg7.is-mail .sg7-header-actions .sg7-round{width:39px!important;height:39px!important;border-radius:12px!important;background:#fff!important;border:1px solid #e1eaf5!important;color:#21436e!important}
body.sg7.is-mail .sg7-mail-grid{grid-template-columns:minmax(340px,min(32vw,500px)) minmax(0,1fr)!important;gap:10px!important;padding:12px 12px 16px!important;background:#edf4fc!important}
body.sg7.is-mail .sg7-details-column{display:none!important}
body.sg7.is-mail .sg7-list-panel,body.sg7.is-mail .sg7-message-card,body.sg7.is-mail .sg7-reply-card{border:1px solid #e1eaf5!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 20px #193d670a!important}
body.sg7.is-mail .sg7-list-tabs{height:48px!important;border-color:#e8eef6!important}
body.sg7.is-mail .sg7-list-tabs>a{font-size:12px!important;color:#61748f!important}
body.sg7.is-mail .sg7-list-tabs>a.active{color:#075fd9!important;border-color:#0871fa!important}
body.sg7.is-mail .sg7-list-tools{height:43px!important;padding:0 16px!important;color:#667c98!important}
body.sg7.is-mail .sg7-list-name{padding:13px 17px!important;color:#122c55!important;border-color:#ebf0f6!important}
body.sg7.is-mail .sg7-list-name>span{font-size:18px!important;font-weight:800!important}
body.sg7.is-mail .sg7-list-name small{font-size:12px!important;color:#7184a0!important}
body.sg7.is-mail .sg7-message-row{min-height:82px!important;padding:11px 13px!important;gap:11px!important;border-color:#edf2f8!important}
body.sg7.is-mail .sg7-message-row:hover{background:#f5f9ff!important}
body.sg7.is-mail .sg7-message-row.selected{background:#e7f1ff!important;box-shadow:inset 3px 0 #1473f5!important}
body.sg7.is-mail .sg7-sender-avatar{width:50px!important;height:50px!important;font-size:17px!important}
body.sg7.is-mail .sg7-row-content{gap:5px!important}
body.sg7.is-mail .sg7-row-content>b{font-size:13px!important;color:#142c53!important}
body.sg7.is-mail .sg7-row-content>span{font-size:13px!important;color:#213c63!important}
body.sg7.is-mail .sg7-row-content>small{font-size:12px!important;color:#6c7f9c!important}
body.sg7.is-mail .sg7-reader-bar{height:61px!important;min-height:61px!important;padding:0 20px!important;gap:5px!important;background:#fff!important}
body.sg7.is-mail .sg7-reader-bar>a,body.sg7.is-mail .sg7-reader-bar>form button{display:inline-flex;align-items:center;gap:8px;padding:9px 11px;border-radius:9px;color:#213c63!important;font-size:12px!important}
body.sg7.is-mail .sg7-reader-bar>a:hover,body.sg7.is-mail .sg7-reader-bar>form button:hover{background:#edf5ff!important;color:#075fd9!important}
body.sg7.is-mail .sg7-reader-inner{padding:22px 25px 26px!important}
body.sg7.is-mail .sg7-subject h2{font-size:21px!important;color:#101d39!important}
body.sg7.is-mail .sg7-reading-sender{padding:14px 0 19px!important}
body.sg7.is-mail .sg7-reading-sender .sg7-sender-avatar{width:56px!important;height:56px!important;font-size:22px!important}
body.sg7.is-mail .sg7-reading-sender b{font-size:14px!important}
body.sg7.is-mail .sg7-reading-sender small,body.sg7.is-mail .sg7-reading-sender time{font-size:12px!important}
body.sg7.is-mail .sg7-message-body{color:#213759!important}
body.sg7.is-mail .sg7-attached-block a{border-radius:12px!important;background:#fbfdff!important}
@media(max-width:1180px){.sg7-app-nav a{min-width:58px;padding-left:7px;padding-right:7px}.sg7-app-nav a span{font-size:10px}body.sg7.is-mail .sg7-header{gap:8px!important}body.sg7.is-mail .sg7-header-search{width:min(410px,34vw)!important}}
@media(max-width:870px){body.sg7.is-mail .sg7-shell{grid-template-columns:76px minmax(0,1fr)!important}.sg7-app-nav{display:none}}
@media(max-width:650px){body.sg7.is-mail .sg7-shell{display:block!important}.sg7-app-nav{display:none}body.sg7.is-mail .sg7-mail-grid{display:flex!important;flex-direction:column!important;padding:8px!important}.sg7-list-panel{min-height:280px}}

/* Connexion grand format : composition plein écran de la référence. */
body.sg7.is-login .sg7-login{display:block!important;position:relative;min-height:100vh;min-height:100dvh;overflow:hidden;background:linear-gradient(145deg,#edf5ff,#fff 52%,#e5f0ff)!important}
body.sg7.is-login .sg7-login-wave{position:absolute;left:0;right:0;bottom:0;height:31vh;min-height:190px;z-index:2;pointer-events:none}
body.sg7.is-login .sg7-login-wave svg{width:100%;height:100%;display:block}
body.sg7.is-login .sg7-hero{position:relative;width:100%;height:100vh;height:100dvh;min-height:740px;padding:0!important;overflow:hidden;border:0!important;border-radius:0!important;background:radial-gradient(ellipse at 52% 17%,#ffffff 0,#f1f7ff 54%,#dbeaff 100%)!important}
body.sg7.is-login .sg7-hero:before{background:linear-gradient(90deg,#ffffff25,transparent 55%)}
body.sg7.is-login .sg7-hero-glow,body.sg7.is-login .sg7-hero-brand,body.sg7.is-login .sg7-hero-footer,body.sg7.is-login .sg7-selling-points{display:none!important}
body.sg7.is-login .sg7-hero-stripes{display:flex!important;right:0;top:0;width:100px;height:75px;z-index:4;opacity:.95}
body.sg7.is-login .sg7-hero-copy{position:absolute;left:7.5vw;top:14vh;width:310px;max-width:30vw;margin:0!important;z-index:3}
body.sg7.is-login .sg7-hero-copy h1{font-size:15px!important;line-height:2.05!important;letter-spacing:3px!important;font-weight:700!important;margin:0!important;color:#142d53!important}
body.sg7.is-login .sg7-hero-copy>p{display:none!important}
body.sg7.is-login .sg7-server-art{top:2vh;right:-1.5vw;width:43vw;height:88vh;z-index:1;mask-image:linear-gradient(to right,transparent 0%,#000 15%,#000 100%)}
body.sg7.is-login .sg7-server-art:after{display:none}
body.sg7.is-login .sg7-server-art img{object-fit:contain;object-position:right center;filter:saturate(1.05)}
body.sg7.is-login .sg7-hero-services{position:absolute;left:17.5vw;right:17.5vw;bottom:7vh;z-index:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:85px;margin:0!important;padding:10px 14px!important;border:1px solid #ffffffc9!important;border-radius:16px!important;background:#ffffffc9!important;box-shadow:0 10px 30px #3e689014!important;backdrop-filter:blur(14px)}
body.sg7.is-login .sg7-hero-services>div{padding:7px 10px}
body.sg7.is-login .sg7-hero-services>div:last-child{display:none}
body.sg7.is-login .sg7-hero-services .sg7-stat-icon{color:#075fd5}
body.sg7.is-login .sg7-login-right{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;padding:70px 16px 48px!important;background:transparent!important;pointer-events:none}
body.sg7.is-login .sg7-login-tools{position:absolute;top:25px;right:3vw;z-index:6;pointer-events:auto}
body.sg7.is-login .sg7-login-tools .sg7-circle-btn{display:none}
body.sg7.is-login .sg7-language{height:42px;border-radius:24px;padding:0 16px;background:#ffffffeb;border:1px solid #dce8f6;color:#142b50;box-shadow:0 5px 18px #214a7912}
body.sg7.is-login .sg7-language>span:not(.sg7-language-flag){display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e8f1ff;color:#1256b5;font-size:9px;font-weight:800}
.sg7-language .sg7-language-flag{display:block;width:22px;height:15px;flex:none;border-radius:2px;box-shadow:0 1px 3px #102b501f}
.sg7-hero-services .sg7-trust-flag img{display:block;width:30px;height:20px;object-fit:cover;border-radius:2px;box-shadow:0 1px 3px #102b5025}
body.sg7.is-login .sg7-login-card{width:min(520px,calc(100vw - 32px));max-width:520px;min-height:0;margin:auto;padding:30px 40px 28px!important;gap:0;border:1px solid #ffffff!important;border-radius:20px!important;background:#ffffffeb!important;box-shadow:0 24px 70px #224d7d1c!important;backdrop-filter:blur(18px);pointer-events:auto}
body.sg7.is-login .sg7-login-card-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;margin:0 0 12px!important}
body.sg7.is-login .sg7-login-card-brand img{width:76px;height:76px;object-fit:contain}
body.sg7.is-login .sg7-login-card-brand b{font-size:29px!important;line-height:1.15;color:#10214c!important;letter-spacing:-1px}
body.sg7.is-login .sg7-login-card-brand strong{margin-top:4px;font-size:23px;line-height:1.2;color:#10214c}
body.sg7.is-login .sg7-login-intro{margin:8px 0 22px!important;text-align:center}
body.sg7.is-login .sg7-login-intro h2{font-size:14px!important;font-weight:500!important;color:#687e9f!important;letter-spacing:0!important;margin:0!important}
body.sg7.is-login .sg7-login-card>.sg7-field-label{margin:0 0 7px!important;font-size:12px!important}
body.sg7.is-login .sg7-input-group{height:52px!important;border-radius:10px!important;background:#fff!important}
body.sg7.is-login .sg7-input-label-row{margin-top:16px!important}
body.sg7.is-login .sg7-remember{margin-top:14px!important}
body.sg7.is-login .sg7-login-submit{width:100%;height:54px;margin-top:20px!important;border-radius:9px!important;background:linear-gradient(110deg,#0868eb,#064dbd)!important;box-shadow:0 7px 16px #1459b52a!important}
body.sg7.is-login .sg7-login-separator{margin:18px 0 14px!important}
body.sg7.is-login .sg7-login-shorcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.sg7.is-login .sg7-login-shorcuts>*{min-height:52px;border-radius:10px;background:#fff!important;border:1px solid #e1eaf5!important;color:#5f7391!important}
body.sg7.is-login .sg7-login-shorcuts .sg7-icon{color:#1769d3}
body.sg7.is-login .sg7-login-foot{position:absolute;left:0;right:0;bottom:14px;z-index:6;text-align:center;color:#7388a6!important;pointer-events:auto}
@media(max-width:1000px){body.sg7.is-login .sg7-hero-copy{left:4vw;top:10vh;width:250px;max-width:25vw}body.sg7.is-login .sg7-server-art{right:-10vw;width:50vw;opacity:.8}body.sg7.is-login .sg7-hero-services{left:5vw;right:5vw}}
@media(max-width:700px){body.sg7.is-login .sg7-hero{min-height:100vh!important;height:100vh;height:100dvh}body.sg7.is-login .sg7-hero-copy{display:none!important}body.sg7.is-login .sg7-server-art{right:-25vw;top:5vh;width:75vw;height:65vh;opacity:.38}body.sg7.is-login .sg7-hero-services{display:none!important}body.sg7.is-login .sg7-login-right{padding:60px 14px 45px!important}body.sg7.is-login .sg7-login-card{padding:27px 23px 23px!important}body.sg7.is-login .sg7-login-card-brand img{width:62px;height:62px}body.sg7.is-login .sg7-login-card-brand b{font-size:25px!important}body.sg7.is-login .sg7-login-card-brand strong{font-size:20px}body.sg7.is-login .sg7-login-foot{font-size:10px}}

/* Details fidèles à la maquette : filtres en pastilles, lignes aérées, accents bleu SmartGaulle. */
body.sg7.is-mail .sg7-sidebar{background:radial-gradient(ellipse 126% 38% at 30% 108%,#b8dcff 0 55%,transparent 56%),linear-gradient(180deg,#f7fbff,#eff6ff)!important}
body.sg7.is-mail .sg7-primary-nav{border:0;padding-bottom:9px}
body.sg7.is-mail .sg7-nav-link.active{background:#e5f0ff!important;color:#005ee8!important;box-shadow:inset 4px 0 #ed243b!important}
body.sg7.is-mail .sg7-nav-link.active:before{display:none!important}
body.sg7.is-mail .sg7-new-btn{background:linear-gradient(110deg,#1685ff,#0759e7)!important}
body.sg7.is-mail .sg7-list-tabs{height:58px!important;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:0 15px!important;border-bottom:0!important}
body.sg7.is-mail .sg7-list-tabs>a{height:37px;display:inline-flex;align-items:center;gap:6px;padding:0 15px;border:0!important;border-radius:22px;color:#324c73!important;background:#f0f5fc!important;white-space:nowrap}
body.sg7.is-mail .sg7-list-tabs>a.active{background:#0866eb!important;color:#fff!important;box-shadow:0 3px 9px #0e67dc22}
body.sg7.is-mail .sg7-list-tabs>a>b{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#ffffff30;color:inherit}
body.sg7.is-mail .sg7-list-tools{height:40px!important}
body.sg7.is-mail .sg7-list-name{padding-top:10px!important;padding-bottom:8px!important}
body.sg7.is-mail .sg7-list-name>span{font-size:21px!important}
body.sg7.is-mail .sg7-message-row{min-height:91px!important;padding:11px 13px!important}
body.sg7.is-mail .sg7-message-row.selected{background:#e8f2ff!important;box-shadow:inset 3px 0 #1175f8!important}
body.sg7.is-mail .sg7-row-dot{width:24px;height:24px;display:grid;place-items:center;color:#196bdf}
body.sg7.is-mail .sg7-row-dot svg{width:18px;height:18px}
body.sg7.is-mail .sg7-sender-avatar{width:56px!important;height:56px!important;font-size:18px!important}
body.sg7.is-mail .sg7-row-content>b,body.sg7.is-mail .sg7-row-content>span{font-size:13px!important}
body.sg7.is-mail .sg7-reader-bar{justify-content:flex-start;gap:4px!important;overflow-x:auto}
body.sg7.is-mail .sg7-reader-bar>a,body.sg7.is-mail .sg7-reader-bar>form button{padding:9px 10px!important;font-size:12px!important}
body.sg7.is-mail .sg7-subject{align-items:center;gap:10px}
body.sg7.is-mail .sg7-subject h2{font-size:23px!important;letter-spacing:-.55px}
body.sg7.is-mail .sg7-folder-tag{border-radius:18px!important;background:#eaf3ff!important;color:#345782!important}
body.sg7.is-mail .sg7-reading-sender .sg7-sender-avatar{width:58px!important;height:58px!important}
body.sg7.is-mail .sg7-attached-block{padding-top:12px!important}
body.sg7.is-mail .sg7-attached-block>b{font-size:13px!important}
body.sg7.is-mail .sg7-attached-block a{min-width:0;max-width:410px;border-radius:12px!important;background:#fff!important}
body.sg7.is-mail .sg7-list-footer{min-height:42px!important}
@media(max-width:1180px){body.sg7.is-mail .sg7-mail-grid{grid-template-columns:minmax(300px,39%) minmax(0,1fr)!important}.sg7-app-nav a{min-width:58px}.sg7-app-nav a span{font-size:10px}}
@media(max-width:870px){body.sg7.is-mail .sg7-mail-grid{grid-template-columns:minmax(260px,40%) minmax(0,1fr)!important}.sg7-app-nav{display:none}}
@media(max-width:650px){body.sg7.is-mail .sg7-mail-grid{display:flex!important;flex-direction:column!important}.sg7-list-tabs{overflow-x:auto;justify-content:flex-start!important}.sg7-list-tabs>a{padding:0 10px!important;font-size:10px!important}}

/* Corrections mesurées sur le rendu navigateur de la page de connexion. */
body.sg7.is-login .sg7-login-wave{z-index:2!important;height:30vh!important}
body.sg7.is-login .sg7-hero{z-index:auto!important;isolation:auto!important}
body.sg7.is-login .sg7-hero-services{z-index:4!important;bottom:6.5vh!important;min-height:78px!important}
body.sg7.is-login .sg7-login-card{position:relative!important;z-index:10!important;isolation:isolate!important;opacity:1!important;align-self:flex-start!important;margin:10vh auto 0!important;min-height:720px!important;padding:30px 40px 26px!important;background:#fff!important;background-color:#fff!important;backdrop-filter:none!important;box-shadow:0 20px 60px #244c7618!important}
.sg7-login-trap{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;}
.sg7-recaptcha-wrap{display:flex;justify-content:center;align-items:center;width:100%;margin:16px auto 3px;}
body.sg7.is-login .sg7-login-right{align-items:flex-start!important;padding-top:0!important}
body.sg7.is-login .sg7-server-art{top:3vh!important;right:-2vw!important;width:42vw!important;height:86vh!important;opacity:.94}
@media(max-width:700px){body.sg7.is-login .sg7-login-card{min-height:0!important;margin:4vh auto 0!important}}
body.sg7.is-login .sg7-login{background:#edf5ff url('/assets/sg7-login-background.png') center center/cover no-repeat!important}
body.sg7.is-login .sg7-hero{background:transparent!important}
body.sg7.is-login .sg7-login-wave,body.sg7.is-login .sg7-server-art{display:none!important}

/* Ajustements de composition selon la maquette fournie. */
body.sg7.is-mail .sg7-app-nav{margin-left:0!important;flex-shrink:0!important;gap:2px!important}
body.sg7.is-mail .sg7-app-nav>a,body.sg7.is-mail .sg7-app-nav>.sg7-app-nav-disabled{min-width:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 8px 5px;border-bottom:3px solid transparent;font-size:11px;white-space:nowrap}
body.sg7.is-mail .sg7-app-nav>.sg7-app-nav-disabled{color:#8a99ae;opacity:.72;cursor:default}
body.sg7.is-mail .sg7-app-nav>.sg7-app-nav-disabled .sg7-icon{color:#8292a9}
body.sg7.is-mail .sg7-header-actions{margin-left:auto!important;flex-shrink:0}
body.sg7.is-mail .sg7-list-name{order:1;display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:14px 17px 8px!important}
body.sg7.is-mail .sg7-list-name>span{font-size:22px!important;line-height:1.25}
body.sg7.is-mail .sg7-list-name>small{font-size:14px!important}
body.sg7.is-mail .sg7-list-tabs{order:2}
body.sg7.is-mail .sg7-list-tools{order:3}
body.sg7.is-mail .sg7-message-scroll{order:4}
body.sg7.is-mail .sg7-list-footer{order:5}
body.sg7.is-mail,body.sg7.is-mail *:not(svg):not(path){font-family:Inter,'Segoe UI',Arial,sans-serif!important}
@media(max-width:1180px){body.sg7.is-mail .sg7-app-nav>a,body.sg7.is-mail .sg7-app-nav>.sg7-app-nav-disabled{min-width:54px;padding-left:5px;padding-right:5px}body.sg7.is-mail .sg7-app-nav span{font-size:10px}}

/* Maquette demandée : navigation latérale, liste centrale et lecture à droite. */
body.sg7.is-mail .sg7-shell{grid-template-columns:clamp(270px,20.5vw,296px) minmax(0,1fr)!important;background:#f3f8ff!important}
body.sg7.is-mail .sg7-header{height:82px!important;min-height:82px!important;padding:0 24px!important;gap:20px!important;background:linear-gradient(105deg,#f5f9ff,#fff)!important}
body.sg7.is-mail .sg7-header-search{width:min(515px,42vw)!important;height:50px!important;border-radius:15px!important;background:#eaf2fc!important}
body.sg7.is-mail .sg7-app-nav{display:none!important}
body.sg7.is-mail .sg7-header-actions{margin-left:auto!important;gap:13px!important}
body.sg7.is-mail .sg7-header-actions .sg7-round{width:42px!important;height:42px!important;border-radius:50%!important;border:0!important;background:transparent!important}
body.sg7.is-mail .sg7-profile-circle{width:48px!important;height:48px!important;border-radius:50%!important}
body.sg7.is-mail .sg7-sidebar{padding:12px 14px 17px 17px!important;background:radial-gradient(ellipse 125% 37% at 20% 105%,#b8dcff 0 52%,transparent 53%),linear-gradient(180deg,#f8fbff,#eff6ff)!important}
body.sg7.is-mail .sg7-sidebar-logo{height:60px!important;margin:0 0 20px 4px!important}
body.sg7.is-mail .sg7-new-btn{height:54px!important;margin:0 0 18px!important;border-radius:12px!important;font-size:15px!important}
body.sg7.is-mail .sg7-primary-nav{gap:3px!important}
body.sg7.is-mail .sg7-nav-link{min-height:43px!important;padding:10px 14px!important;border-radius:10px!important;font-size:14px!important}
body.sg7.is-mail .sg7-folder-heading{padding:15px 4px 8px 17px!important}
body.sg7.is-mail .sg7-custom-folders .sg7-nav-link{min-height:41px!important;padding:8px 14px!important;font-size:14px!important}
body.sg7.is-mail .sg7-storage-card{margin-top:16px!important;padding:15px!important;background:#ffffffdc!important;border:1px solid #e0ebfa!important}
body.sg7.is-mail .sg7-mail-grid{grid-template-columns:minmax(420px,37vw) minmax(0,1fr)!important;gap:8px!important;padding:0 12px 14px 0!important;background:#f3f8ff!important}
body.sg7.is-mail .sg7-list-panel,body.sg7.is-mail .sg7-message-card{border:1px solid #e5effb!important;border-radius:17px!important;box-shadow:0 8px 24px #2550850b!important}
body.sg7.is-mail .sg7-list-name{padding:17px 20px 9px!important}
body.sg7.is-mail .sg7-list-name>span{font-size:22px!important;color:#101c49!important}
body.sg7.is-mail .sg7-list-name>small{font-size:15px!important;color:#60799f!important}
body.sg7.is-mail .sg7-list-tabs{height:54px!important;gap:9px!important;padding:0 17px!important}
body.sg7.is-mail .sg7-list-tabs>a{height:37px!important;padding:0 14px!important;font-size:13px!important}
body.sg7.is-mail .sg7-list-tools{min-height:38px!important;padding:0 17px!important;font-size:12px!important}
body.sg7.is-mail .sg7-message-row{min-height:98px!important;padding:12px 15px!important;gap:12px!important}
body.sg7.is-mail .sg7-sender-avatar{width:58px!important;height:58px!important;font-size:19px!important}
body.sg7.is-mail .sg7-row-content>b{font-size:14px!important}
body.sg7.is-mail .sg7-row-content>span{font-size:14px!important}
body.sg7.is-mail .sg7-row-content>small{font-size:13px!important}
body.sg7.is-mail .sg7-reader-bar{height:66px!important;min-height:66px!important;padding:0 17px!important;gap:5px!important}
body.sg7.is-mail .sg7-reader-bar>a,body.sg7.is-mail .sg7-reader-bar>form button{padding:10px 12px!important;font-size:13px!important}
body.sg7.is-mail .sg7-reader-inner{padding:20px 22px!important}
body.sg7.is-mail .sg7-subject h2{font-size:23px!important}
body.sg7.is-mail .sg7-reading-sender{margin:0 0 17px!important}
body.sg7.is-mail .sg7-message-html{border-radius:14px!important}
@media(max-width:1180px){body.sg7.is-mail .sg7-shell{grid-template-columns:255px minmax(0,1fr)!important}body.sg7.is-mail .sg7-mail-grid{grid-template-columns:minmax(365px,42%) minmax(0,1fr)!important}}
@media(max-width:870px){body.sg7.is-mail .sg7-shell{grid-template-columns:76px minmax(0,1fr)!important}body.sg7.is-mail .sg7-mail-grid{grid-template-columns:minmax(260px,40%) minmax(0,1fr)!important}}

/* Fond SmartGaulle visible derrière la messagerie connectée, comme sur la référence. */
body.sg7.is-mail .sg7-shell{background:#eef5ff url('/assets/sg7-mail-background.png') center center/cover fixed no-repeat!important}
body.sg7.is-mail .sg7-sidebar{background:linear-gradient(180deg,#ffffffd9,#f4f8ffe0)!important;backdrop-filter:blur(10px)}
body.sg7.is-mail .sg7-content{background:transparent!important}
body.sg7.is-mail .sg7-header{background:#ffffffc9!important;backdrop-filter:blur(12px)}
body.sg7.is-mail .sg7-mail-grid{background:transparent!important}
body.sg7.is-mail .sg7-list-panel,body.sg7.is-mail .sg7-message-card{background:#ffffffdf!important;backdrop-filter:blur(12px)}
body.sg7.is-mail .sg7-list-tabs{background:#ffffff75!important}
body.sg7.is-mail .sg7-reader-bar{background:#ffffffa8!important}
body.sg7.is-mail .sg7-apps-shortcut{display:inline-flex!important}
@media(prefers-reduced-transparency:reduce){body.sg7.is-mail .sg7-sidebar,body.sg7.is-mail .sg7-header,body.sg7.is-mail .sg7-list-panel,body.sg7.is-mail .sg7-message-card{backdrop-filter:none!important;background-color:#fff!important}}
/* Transparence renforcée : le fond doit se voir derrière les colonnes, pas seulement aux bords. */
body.sg7.is-mail .sg7-sidebar{background:#ffffff72!important;backdrop-filter:blur(5px)!important}
body.sg7.is-mail .sg7-header{background:#ffffff70!important;backdrop-filter:blur(5px)!important}
body.sg7.is-mail .sg7-list-panel{background:#ffffff78!important;backdrop-filter:blur(6px)!important}
body.sg7.is-mail .sg7-message-card{background:#ffffff85!important;backdrop-filter:blur(6px)!important}
body.sg7.is-mail .sg7-list-tabs{background:#ffffff4d!important}
body.sg7.is-mail .sg7-reader-bar{background:#ffffff66!important}
body.sg7.is-mail .sg7-list-tools,body.sg7.is-mail .sg7-list-name{background:transparent!important}
body.sg7.is-mail .sg7-message-scroll{background:transparent!important}
body.sg7.is-mail .sg7-message-row{background:transparent!important}
body.sg7.is-mail .sg7-message-row:hover{background:#ffffff55!important}
body.sg7.is-mail .sg7-message-row.selected{background:#d8eaffbd!important}
body.sg7.is-mail .sg7-reader-inner{background:transparent!important}
@media(prefers-reduced-transparency:reduce){body.sg7.is-mail .sg7-sidebar,body.sg7.is-mail .sg7-header,body.sg7.is-mail .sg7-list-panel,body.sg7.is-mail .sg7-message-card{background-color:#ffffffdd!important}}
/* Nouvelle déclinaison du fond : Paris à gauche, monogramme au centre, serveurs à droite. */
body.sg7.is-mail .sg7-shell{background-image:url('/assets/sg7-mail-background.png?v=2')!important}

/* Présentation claire des dossiers IMAP dans Paramètres > Libellés et dossiers. */
.sg7-settings-new .sg7-label-list{display:flex;flex-direction:column;gap:8px;margin:18px 0 4px}
.sg7-settings-new .sg7-label-row{display:grid;grid-template-columns:28px minmax(180px,1fr) auto auto;align-items:center;gap:12px;min-height:58px;padding:10px 14px;border:1px solid #e4ecf7;border-radius:12px;background:linear-gradient(105deg,#fff,#f8fbff);color:#18345a;transition:border-color .16s,box-shadow .16s,transform .16s}
.sg7-settings-new .sg7-label-row:hover{border-color:#b8d2f6;box-shadow:0 5px 14px #275d9a12;transform:translateY(-1px)}
.sg7-settings-new .sg7-label-marker{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#eaf3ff;color:#1765cc}
.sg7-settings-new .sg7-label-row>b{min-width:0;overflow-wrap:anywhere;font-size:13px;font-weight:700;color:#152c4f}
.sg7-settings-new .sg7-label-row .sg7-pill{justify-self:end;padding:5px 10px;border-radius:20px;background:#edf4ff;color:#587397;font-size:10px;font-weight:700;white-space:nowrap}
.sg7-settings-new .sg7-label-row>a{padding:7px 11px;border-radius:8px;background:#edf5ff;color:#075fd9;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap}
.sg7-settings-new .sg7-label-row>a:hover{background:#dcecff}
.sg7-settings-new .sg7-label-row form{margin:0}
.sg7-settings-new .sg7-label-row .sg7-delete-small{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #f2d8df;border-radius:8px;background:#fff7f8;color:#bd2c46;font-size:11px;white-space:nowrap}
.sg7-settings-new .sg7-setting-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:13px;border-bottom:1px solid #e7edf6}
.sg7-settings-new .sg7-setting-section-head h3{margin:0;font-size:17px;color:#142b50}
.sg7-settings-new .sg7-setting-section-head>span{padding:6px 10px;border-radius:18px;background:#f0f5fc;color:#70819b;font-size:11px;white-space:nowrap}
@media(max-width:560px){.sg7-settings-new .sg7-label-row{grid-template-columns:28px minmax(0,1fr) auto;gap:8px;padding:9px}.sg7-settings-new .sg7-label-row form{grid-column:2/-1;justify-self:start}.sg7-settings-new .sg7-label-row .sg7-delete-small{font-size:10px}.sg7-settings-new .sg7-setting-section-head{align-items:flex-start;flex-direction:column}}

/* Typographie Quicksand unifiée et finitions des paramètres. */
body.sg7,body.sg7 *:not(svg):not(path){font-family:'Quicksand',sans-serif!important}
body.sg7 button,body.sg7 input,body.sg7 textarea,body.sg7 select{font-family:'Quicksand',sans-serif!important}
.sg7-settings-new .sg7-settings-body{max-width:1180px;padding:28px 30px 38px;border:1px solid #dce8f7;border-radius:18px;background:#ffffffeb;box-shadow:0 16px 42px #173a6412;backdrop-filter:blur(12px)}
.sg7-settings-new .sg7-settings-title h2{font-size:23px;letter-spacing:-.35px;color:#132b51}
.sg7-settings-new .sg7-settings-title p{font-size:14px;line-height:1.65;color:#667d9d}
.sg7-settings-new .sg7-settings-card{border:1px solid #e1eaf5;border-radius:14px;margin:14px 0 18px;padding:20px 22px;background:#ffffffeb;box-shadow:0 5px 20px #214b7909}
.sg7-settings-new .sg7-setting-row{grid-template-columns:minmax(220px,34%) minmax(0,1fr);gap:26px;padding:20px 2px;border-bottom:1px solid #edf2f8}
.sg7-settings-new .sg7-setting-row:last-child{border-bottom:0}
.sg7-settings-new .sg7-setting-row h3,.sg7-settings-new .sg7-settings-card>h3{font-size:15px;line-height:1.45;color:#18365e}
.sg7-settings-new .sg7-setting-row p,.sg7-settings-new .sg7-settings-card p{font-size:13px;line-height:1.65;color:#71839d}
.sg7-settings-new .sg7-settings-input,.sg7-settings-new .sg7-settings-select,.sg7-settings-new .sg7-settings-textarea{width:100%;min-height:44px;padding:10px 13px;border:1px solid #cfdced;border-radius:10px;background:#fff;color:#1b3459;font-size:14px;box-shadow:0 1px 2px #10294a08;outline:none;transition:border-color .15s,box-shadow .15s}
.sg7-settings-new .sg7-settings-input:focus,.sg7-settings-new .sg7-settings-select:focus,.sg7-settings-new .sg7-settings-textarea:focus{border-color:#3980ee;box-shadow:0 0 0 3px #1970e51a}
.sg7-settings-new .sg7-settings-tabs a{min-height:72px;border-radius:13px;background:#ffffffea;box-shadow:0 3px 12px #214b7908}
.sg7-settings-new .sg7-settings-tabs a b{font-size:13px}
.sg7-settings-new .sg7-settings-tabs a small{font-size:11px;line-height:1.4}
.sg7-settings-new .sg7-filter-form{display:grid;gap:14px}
.sg7-settings-new .sg7-filter-form>h3{margin:0 0 2px;font-size:16px}
.sg7-settings-new .sg7-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}
.sg7-settings-new .sg7-filter-grid label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#365274;font-size:13px;font-weight:700}
.sg7-settings-new .sg7-filter-grid [hidden]{display:none!important}
.sg7-settings-new .sg7-filter-form>.sg7-send-btn{justify-self:start;min-height:44px;border-radius:10px;padding:0 18px}
.sg7-settings-new .sg7-label-row{min-height:62px}
.sg7-settings-new .sg7-label-row>b{font-size:14px}
.sg7-settings-new .sg7-label-row>small{color:#6f83a0;font-size:12px}
.sg7-settings-new .sg7-page-head h1{font-size:30px;letter-spacing:-.6px}
.sg7-settings-new .sg7-page-head>div>span{font-size:14px}
@media(max-width:700px){.sg7-settings-new .sg7-settings-body{padding:20px 15px 26px}.sg7-settings-new .sg7-filter-grid{grid-template-columns:1fr}.sg7-settings-new .sg7-setting-row{grid-template-columns:1fr;gap:10px}.sg7-settings-new .sg7-settings-card{padding:16px}}

.sg7-signature-editor-wrap{display:flex;flex-direction:column;gap:10px;min-width:0}
.sg7-signature-editor-wrap .sg7-rich-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:8px;border:1px solid #dce7f5;border-radius:11px;background:#f8fbff}
.sg7-signature-editor-wrap .sg7-rich-toolbar select{max-width:130px;height:34px;border:1px solid #dce4f0;border-radius:7px;background:#fff;color:#18365e;font-size:12px}
.sg7-signature-editor-wrap .sg7-rich-editor{min-height:150px;max-height:360px;overflow:auto;padding:14px 16px;border:1px solid #cfdced;border-radius:10px;background:#fff;color:#1d3456;font-size:14px;line-height:1.6;outline:none}
.sg7-signature-editor-wrap .sg7-rich-editor:focus{border-color:#3980ee;box-shadow:0 0 0 3px #1970e51a}
.sg7-signature-editor-wrap .sg7-rich-editor:empty:before{content:attr(data-placeholder);color:#94a4b9;pointer-events:none}

/* Code source HTML facultatif pour la signature, sans exposer le textarea dans l’éditeur normal. */
.sg7-rich-active .sg7-rich-source{display:none!important}
.sg7-rich-form .sg7-rich-editor[hidden],.sg7-rich-form .sg7-rich-source[hidden]{display:none!important}
.sg7-rich-active.sg7-source-mode .sg7-rich-editor{display:none!important}
.sg7-rich-active.sg7-source-mode .sg7-rich-source{display:block!important;min-height:180px;font-family:Consolas,'Courier New',monospace!important;font-size:13px!important;line-height:1.5}
.sg7-signature-editor-wrap .sg7-source-toggle{align-self:flex-end;padding:7px 11px;border:1px solid #d6e3f4;border-radius:8px;background:#f4f8ff;color:#315780;font-size:12px;font-weight:700;cursor:pointer}
.sg7-signature-editor-wrap .sg7-source-toggle:hover{border-color:#9ebde7;background:#eaf3ff}
/* QuickSand partout dans l’interface, tout en conservant les polices choisies dans le corps des e-mails. */
body.sg7,body.sg7 :not(.sg7-rich-editor):not(.sg7-rich-editor *){font-family:'Quicksand',sans-serif!important}
body.sg7 input,body.sg7 textarea,body.sg7 select,body.sg7 button{font-family:'Quicksand',sans-serif!important}

/* Éditeur de rédaction complet : grande zone de saisie et barre d’outils lisible. */
.sg7-compose-page>.sg7-page-head,.sg7-compose-page>.sg7-compose-card{max-width:1280px;margin-left:auto;margin-right:auto}
.sg7-compose-page>.sg7-page-head{margin-bottom:20px}
.sg7-compose-form{width:100%;padding:25px 32px 22px!important;background:#ffffffed!important;border-color:#dfe9f6!important;box-shadow:0 18px 48px #1b477416!important;backdrop-filter:blur(12px)}
.sg7-compose-form .sg7-compose-line{min-height:54px;gap:16px;border-bottom:1px solid #e7eef7}
.sg7-compose-form .sg7-compose-line label{width:54px;flex:none;font-size:13px;color:#294568}
.sg7-compose-form .sg7-compose-line input{height:53px;font-size:14px;color:#172f51;background:transparent}
.sg7-compose-form .sg7-compose-line input:focus{box-shadow:inset 0 -2px #4389ed}
.sg7-compose-form .sg7-compose-line input::placeholder{color:#99a9bd}
.sg7-compose-form>.sg7-rich-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:15px;padding:8px 10px;border:1px solid #dbe6f4;border-radius:11px 11px 0 0;background:#f6f9fe;color:#25466f}
.sg7-compose-form .sg7-rich-toolbar select{height:34px;max-width:145px;padding:0 8px;border:1px solid #d6e1ef;border-radius:7px;background:#fff;color:#263f61;font-size:12px}
.sg7-compose-form .sg7-rich-toolbar button{display:inline-grid;place-items:center;min-width:31px;height:32px;padding:0 7px;border:1px solid transparent;border-radius:7px;background:transparent;color:#304e73;font-size:13px;cursor:pointer}
.sg7-compose-form .sg7-rich-toolbar button:hover{border-color:#d5e3f5;background:#e9f2ff;color:#075fd9}
.sg7-compose-form .sg7-rich-toolbar .sg7-toolbar-divider{height:23px;width:1px;background:#dce5f0;margin:0 3px}
.sg7-compose-form .sg7-rich-color{display:inline-flex;align-items:center;gap:4px;padding:3px 5px;border:1px solid #e2e9f2;border-radius:7px;background:#fff}
.sg7-compose-form .sg7-rich-color input{width:23px;height:22px;padding:0;border:0;background:transparent}
.sg7-compose-form .sg7-rich-editor-main{display:block;width:100%;min-height:360px;max-height:650px;overflow:auto;padding:20px 22px;border:1px solid #dbe6f4;border-top:0;border-radius:0 0 12px 12px;background:#fff;color:#203754;font-size:14px;line-height:1.65;outline:none;overflow-wrap:anywhere}
.sg7-compose-form .sg7-rich-editor-main:focus{border-color:#85ace0;box-shadow:0 0 0 3px #2d73d90d}
.sg7-compose-form .sg7-rich-editor-main:empty:before{content:attr(data-placeholder);color:#a0aec1;pointer-events:none}
.sg7-compose-form .sg7-rich-editor-main[data-signature-only="1"]:before{content:attr(data-placeholder);display:block;color:#a0aec1;pointer-events:none}
.sg7-draft-attachments{flex:1 1 100%;min-width:160px;color:#617590;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.sg7-compose-form .sg7-compose-options{gap:12px 22px;margin:15px 0;padding:14px 2px 17px;border-bottom:1px solid #e8eef6}
.sg7-compose-form .sg7-compose-options label{font-size:12px;color:#456080}
.sg7-compose-form .sg7-attachment-label{min-height:45px;border-radius:10px;background:#f9fbff}
.sg7-compose-form .sg7-compose-footer .sg7-send-btn{min-height:48px;border-radius:10px;padding:0 24px}
.sg7-compose-form .sg7-draft-status{margin-left:auto;font-size:12px;color:#7085a0}
.sg7-compose-form .sg7-draft-status[data-state="saved"]{color:#16845b}
.sg7-compose-form .sg7-draft-status[data-state="error"]{color:#c3344e}
.sg7-compose-form .sg7-picked-files{max-width:min(360px,35vw)}
@media(max-width:700px){.sg7-compose-page>.sg7-page-head,.sg7-compose-page>.sg7-compose-card{max-width:none}.sg7-compose-form{padding:15px!important}.sg7-compose-form .sg7-compose-line{gap:8px}.sg7-compose-form .sg7-compose-line label{width:38px}.sg7-compose-form .sg7-rich-editor-main{min-height:260px;padding:14px}.sg7-compose-form .sg7-rich-toolbar select{max-width:112px}.sg7-compose-form .sg7-compose-options{gap:10px;align-items:flex-start;flex-direction:column}}
body.sg7.is-mail .sg7-help-card{display:flex;align-items:center;gap:10px;margin:0 3px 9px;padding:11px 12px;border:1px solid #d9e6f7;border-radius:12px;background:linear-gradient(135deg,#fff,#f4f8ff);color:#17345e;text-decoration:none;transition:border-color .18s,background .18s,transform .18s}
body.sg7.is-mail .sg7-help-card:hover{border-color:#9bbcf0;background:#fff;transform:translateY(-1px)}
body.sg7.is-mail .sg7-help-card>span:first-child{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;background:#eaf2ff;color:#1765d8}
body.sg7.is-mail .sg7-help-card>span:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
body.sg7.is-mail .sg7-help-card b{font-size:11px;font-weight:700}
body.sg7.is-mail .sg7-help-card small{font-size:10px;color:#7185a2}
body.sg7.is-mail .sg7-help-card>.sg7-icon{color:#8396b1}

/* SmartGaulle Mail: mobile/PWA layout and safe-area support */
.sg7-mobile-bottom-nav{display:none}
body.sg7.is-login .sg7-install-app-link{display:flex;align-items:center;justify-content:center;gap:8px;margin:13px auto 0;color:#245992;font-size:11px;font-weight:700;text-decoration:none}
body.sg7.is-login .sg7-install-app-link:hover{color:#075bd8;text-decoration:underline}
@media(max-width:870px){body.sg7.is-mail .sg7-help-card{display:none!important}}
@media(max-width:650px){
 body.sg7.is-mail{height:100vh;height:100dvh;overflow:hidden;padding:env(safe-area-inset-top) 0 0}
 body.sg7.is-mail .sg7-shell{height:calc(100vh - env(safe-area-inset-top));height:calc(100dvh - env(safe-area-inset-top));min-height:0;overflow:hidden}
 body.sg7.is-mail .sg7-sidebar{padding:calc(12px + env(safe-area-inset-top)) 14px calc(15px + env(safe-area-inset-bottom));overscroll-behavior:contain}
 body.sg7.is-mail .sg7-sidebar.show .sg7-help-card{display:flex!important}
 body.sg7.is-mail .sg7-content{height:100%;min-height:0;overflow:hidden;padding-bottom:0}
 body.sg7.is-mail .sg7-header{height:58px!important;min-height:58px!important;padding:0 10px!important;gap:6px!important;flex:none}
 body.sg7.is-mail .sg7-header-search{height:41px!important;flex:1;width:auto!important;min-width:0!important;padding:0 10px!important;gap:8px!important}
 body.sg7.is-mail .sg7-header-search input{font-size:12px!important}
 body.sg7.is-mail .sg7-mobile-menu{display:inline-flex!important;width:34px;height:38px;flex:none}
 body.sg7.is-mail .sg7-header-actions .sg7-round{width:34px;height:34px}
 body.sg7.is-mail .sg7-profile-circle{display:none!important}
 body.sg7.is-mail .sg7-mail-grid{display:flex!important;flex:1;flex-direction:column!important;min-height:0;height:auto;overflow-y:auto!important;overscroll-behavior:contain;padding:8px 8px 84px!important;gap:9px!important}
 body.sg7.is-mail .sg7-list-panel{width:100%;min-height:220px;max-height:44%;flex:0 0 auto;border-radius:13px}
 body.sg7.is-mail .sg7-reader-column{width:100%;min-height:300px;overflow:visible!important;flex:1 0 auto;gap:9px}
 body.sg7.is-mail .sg7-mail-grid.list-only .sg7-list-panel{min-height:0;max-height:none;flex:1 1 auto}
 body.sg7.is-mail .sg7-mail-grid.list-only .sg7-reader-column{display:none}
 body.sg7.is-mail .sg7-mail-grid.has-selection .sg7-list-panel{display:none}
 body.sg7.is-mail .sg7-mail-grid.has-selection .sg7-reader-column{display:flex;width:100%;min-height:0;flex:1 1 auto;overflow-y:auto!important}
 body.sg7.is-mail .sg7-mobile-back-list{display:none!important}
 body.sg7.is-mail .sg7-mail-grid.has-selection .sg7-mobile-back-list{display:inline-flex!important;align-items:center;gap:4px;margin-right:4px;padding:7px 8px!important;border-right:1px solid #e4ebf4;border-radius:0!important;color:#1558aa!important;font-weight:700}
 body.sg7.is-mail .sg7-mobile-back-list .sg7-icon{transform:rotate(180deg)}
 body.sg7.is-mail .sg7-message-card{min-height:300px;border-radius:13px}
 body.sg7.is-mail .sg7-reader-bar{position:sticky;top:0;z-index:3;gap:6px;padding:0 9px;height:48px;min-height:48px}
 body.sg7.is-mail .sg7-reader-bar>a,body.sg7.is-mail .sg7-reader-bar form>button{gap:5px;padding:0 7px;font-size:11px}
 body.sg7.is-mail .sg7-message-head{padding:14px 13px}
 body.sg7.is-mail .sg7-message-body{padding:12px!important;overflow-wrap:anywhere}
 body.sg7.is-mail .sg7-message-body iframe{width:100%!important;max-width:100%!important}
 body.sg7.is-mail .sg7-list-tabs{height:42px;gap:5px;padding:0 5px;overflow-x:auto;justify-content:flex-start!important}
 body.sg7.is-mail .sg7-list-tabs>a{flex:0 0 auto;padding:0 10px!important;font-size:11px!important}
 body.sg7.is-mail .sg7-list-toolbar{padding:6px 11px;min-height:42px}
 body.sg7.is-mail .sg7-message-row{min-height:68px;padding:9px 10px;gap:9px}
 body.sg7.is-mail .sg7-page-wrap{min-height:0;padding:18px 12px calc(100px + env(safe-area-inset-bottom))!important;overscroll-behavior:contain}
 body.sg7.is-mail .sg7-mobile-bottom-nav{position:fixed;z-index:24;left:0;right:0;bottom:0;display:flex;align-items:stretch;justify-content:space-around;min-height:calc(62px + env(safe-area-inset-bottom));padding:5px 4px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #dce6f2;background:#ffffffed;backdrop-filter:blur(14px);box-shadow:0 -7px 24px #1b3c6610}
 body.sg7.is-mail .sg7-mobile-bottom-nav a{display:flex;flex:1;min-width:0;min-height:48px;align-items:center;justify-content:center;flex-direction:column;gap:3px;border-radius:10px;color:#667b98;text-decoration:none;font-size:9px;font-weight:700}
 body.sg7.is-mail .sg7-mobile-bottom-nav a.active{color:#075bd8;background:#edf4ff}
 body.sg7.is-mail .sg7-mobile-bottom-nav a.compose{color:#fff;background:#075bd8;border-radius:13px;margin:0 3px}
 body.sg7.is-mail .sg7-mobile-bottom-nav .sg7-icon{width:19px;height:19px}
 body.sg7.is-mail .sg7-folder-entry form{opacity:1}
 body.sg7.is-mail .sg7-compose-footer{gap:9px;flex-wrap:wrap}
 body.sg7.is-mail .sg7-compose-footer .sg7-send-btn{min-height:46px}
 body.sg7.is-mail .sg7-compose-form .sg7-compose-line input{min-width:0}
 body.sg7.is-mail .sg7-rich-toolbar{overflow-x:auto;flex-wrap:nowrap;overscroll-behavior-x:contain}
 body.sg7.is-mail .sg7-settings-new .sg7-settings-tabs{overflow-x:auto;flex-wrap:nowrap}
}
@media(max-width:380px){body.sg7.is-mail .sg7-header-actions .sg7-round{display:none!important}body.sg7.is-mail .sg7-list-tabs>a{padding:0 7px!important;font-size:10px!important}body.sg7.is-mail .sg7-mobile-bottom-nav a{font-size:8px}}
@media(prefers-reduced-motion:reduce){body.sg7.is-mail .sg7-sidebar{transition:none!important}}
