/* All styles scoped to the portal, no interference with Elite Work. */
.ecl4-shell,.ecl4-shell *{box-sizing:border-box}.ecl4-shell{--ink:#3d4659;--sky:#619dcb;position:relative;isolation:isolate;display:grid;grid-template-columns:52% 48%;width:100%;max-width:1600px;min-height:720px;margin:0 auto;overflow:hidden;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:#e5eef6}
.ecl4-shell:before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--ecl4-bg,linear-gradient(120deg,#edf6fc 0%,#c4d9e8 65%,#6d92b0 100%));background-repeat:no-repeat;background-size:100% 100%;background-position:center}
.ecl4-shell:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(248,251,255,.96) 0%,rgba(248,251,255,.92) 33%,rgba(248,251,255,.60) 44%,rgba(248,251,255,0) 61%);pointer-events:none}
.ecl4-left{padding:45px 5% 60px 10%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.ecl4-brand{width:100%;max-width:390px;min-height:130px;display:flex;align-items:center;justify-content:center;margin:0 0 30px}.ecl4-brand img{max-width:100%;max-height:165px;width:auto;height:auto;object-fit:contain}.ecl4-brand-fallback{text-align:center;font-size:28px;letter-spacing:.18em;font-weight:700;color:#34485f}.ecl4-brand-fallback small{display:block;font-size:13px;letter-spacing:.16em;margin-top:12px}.ecl4-left h1{font-size:clamp(43px,4.3vw,70px);font-weight:500;letter-spacing:-.04em;line-height:1.08;margin:0;color:#3e4658}.ecl4-left h1 span{color:#619dcc}.ecl4-rule{width:85px;height:4px;background:#6da6ce;border-radius:4px;margin:28px 0}.ecl4-description{max-width:565px;font-size:clamp(18px,1.5vw,23px);line-height:1.48;margin:0 0 40px}.ecl4-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;width:100%;max-width:575px}.ecl4-features>div{min-height:130px;padding:15px 8px;background:rgba(255,255,255,.73);border:1px solid #d7e1eb;border-radius:19px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:15px;line-height:1.25}.ecl4-features svg{width:34px;height:34px;stroke:#2d4260;stroke-width:1.8;fill:none}
.ecl4-right{padding:45px 8% 45px 4%;display:flex;align-items:center;justify-content:center}.ecl4-card{width:100%;max-width:575px;padding:42px 42px 30px;background:rgba(255,255,255,.98);border-radius:30px;box-shadow:0 16px 45px rgba(20,47,72,.13)}.ecl4-card h2{font-size:clamp(32px,3.1vw,46px);line-height:1.15;font-weight:650;letter-spacing:-.025em;color:#3b4457;margin:0 0 12px}.ecl4-subtitle{font-size:18px;margin:0 0 30px;line-height:1.35}.ecl4-form{margin:0}.ecl4-input{width:100%;height:62px;border:1px solid #d3dae3;border-radius:16px;background:#fff;display:flex;align-items:center;gap:14px;padding:0 18px;margin:0 0 17px}.ecl4-input svg{width:25px;height:25px;flex:none;fill:none;stroke:#59677e;stroke-width:1.7}.ecl4-input input{border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;font-size:17px!important;width:100%;height:100%;color:#253a52;padding:0!important}.ecl4-utilities{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;margin:2px 0 25px}.ecl4-utilities label{display:flex;align-items:center;gap:5px;white-space:nowrap}.ecl4-utilities a{color:#548ebc;text-decoration:none}.ecl4-submit{width:100%;min-height:62px;display:flex;justify-content:center;align-items:center;gap:28px;background:#0c3157!important;border:0!important;border-radius:15px!important;color:white!important;font-size:19px!important;font-weight:600!important;text-decoration:none!important;cursor:pointer}.ecl4-submit:hover{background:#204a70!important}.ecl4-separator{display:flex;align-items:center;gap:16px;margin:24px 0;color:#69778b;font-size:16px}.ecl4-separator:before,.ecl4-separator:after{content:"";height:1px;background:#dce3eb;flex:1}.ecl4-google{width:100%;min-height:56px}.ecl4-google .nsl-container{width:100%!important;margin:0!important;text-align:center!important}.ecl4-google .nsl-container-buttons{width:100%!important;align-items:stretch!important}.ecl4-google .nsl-button{width:100%!important;max-width:none!important;min-height:56px!important;border:1px solid #e2e6eb!important;border-radius:15px!important;box-shadow:0 7px 20px rgba(19,48,76,.08)!important;justify-content:center!important}.ecl4-google .nsl-button-label-container{font-size:17px!important;font-weight:600!important}.ecl4-secure{display:flex;align-items:center;justify-content:center;gap:9px;font-size:14px;margin:28px 0 0}.ecl4-secure svg{width:23px;height:23px;stroke:#344e6d;stroke-width:1.8;fill:none}.ecl4-alert{padding:15px 17px;background:#edf3f8;border-radius:12px;line-height:1.45}
@media(max-width:1000px){.ecl4-shell{grid-template-columns:1fr;min-height:0}.ecl4-shell:before{background-size:cover}.ecl4-shell:after{background:linear-gradient(180deg,rgba(248,251,255,.94) 0%,rgba(248,251,255,.7) 55%,rgba(248,251,255,.1) 100%)}.ecl4-left{padding:38px 6% 20px}.ecl4-brand{margin-bottom:20px;min-height:70px;justify-content:flex-start}.ecl4-brand img{max-height:120px}.ecl4-description{max-width:700px}.ecl4-features{max-width:700px}.ecl4-right{padding:30px 6% 55px}.ecl4-card{max-width:650px}}
@media(max-width:560px){.ecl4-left{padding:24px 5% 10px}.ecl4-brand img{max-height:95px}.ecl4-left h1{font-size:43px}.ecl4-rule{margin:19px 0}.ecl4-description{font-size:17px;margin-bottom:23px}.ecl4-features{gap:7px}.ecl4-features>div{min-height:104px;font-size:11px;padding:10px 4px;border-radius:12px}.ecl4-features svg{width:25px;height:25px}.ecl4-right{padding:22px 4% 36px}.ecl4-card{padding:29px 22px;border-radius:23px}.ecl4-card h2{font-size:33px}.ecl4-subtitle{font-size:16px}.ecl4-utilities{font-size:12px}}

/* V0.5: proportions closer to approved 1536x864 reference */
.ecl4-shell{max-width:none;min-height:100vh;min-height:100svh;grid-template-columns:52% 48%;background:#dce8f4}
.ecl4-shell:before{background-size:cover;background-position:center center}
.ecl4-left{padding:24px 5% 30px 11%;justify-content:center}
.ecl4-brand{max-width:var(--ecl4-logo-width,310px);min-height:0;margin:0 0 34px;align-self:center;width:100%}
.ecl4-brand img{width:100%;height:auto;max-height:200px;object-fit:contain}
.ecl4-left h1{font-size:clamp(38px,3.65vw,60px);font-weight:500}
.ecl4-rule{margin:20px 0 20px;width:76px}
.ecl4-description{font-size:clamp(16px,1.35vw,21px);max-width:520px;margin-bottom:32px}
.ecl4-features{max-width:550px;gap:12px}.ecl4-features>div{min-height:108px;padding:12px 6px;border-radius:16px;font-size:13px;gap:7px}.ecl4-features svg{width:29px;height:29px}
.ecl4-right{padding:24px 8% 24px 4%;align-items:center}.ecl4-card{max-width:540px;padding:34px 38px 28px;border-radius:27px}
.ecl4-card h2{font-size:clamp(31px,2.9vw,43px);font-weight:750!important;margin-bottom:10px}.ecl4-subtitle{font-size:17px;margin-bottom:23px}
.ecl4-input{height:55px;margin-bottom:13px;border-radius:14px}.ecl4-input input{font-size:16px!important}.ecl4-utilities{margin:0 0 19px}.ecl4-submit{min-height:57px}.ecl4-separator{margin:19px 0}.ecl4-google .nsl-button{min-height:55px!important}.ecl4-secure{margin-top:22px}
.ecl4-google .nsl-button-label-container{font-family:Arial,Helvetica,sans-serif!important;color:#143252!important;font-size:17px!important;font-weight:650!important}
body:has(.ecl4-shell){margin:0!important;background:#dce8f4!important}body:has(.ecl4-shell) .ecl4-shell{margin-bottom:0!important}
@media(max-width:1000px){.ecl4-shell{grid-template-columns:1fr;min-height:100svh}.ecl4-left{padding:32px 6% 10px}.ecl4-brand{align-self:flex-start;max-width:min(var(--ecl4-logo-width,310px),90%)}.ecl4-right{padding:18px 6% 40px}.ecl4-card{max-width:600px}}
@media(max-width:560px){.ecl4-left{padding:22px 5% 10px}.ecl4-brand{margin-bottom:20px}.ecl4-brand img{max-height:125px}.ecl4-left h1{font-size:40px}.ecl4-description{font-size:16px;margin-bottom:22px}.ecl4-features>div{min-height:96px;font-size:11px}.ecl4-right{padding:18px 4% 35px}.ecl4-card{padding:26px 21px}.ecl4-card h2{font-size:31px}}
/* V0.5.1 — Titre de connexion plus léger, sans changer la mise en page. */
.ecl4-card h2{font-weight:500!important}

/* V0.5.2 — titre léger et bouton Google cohérent avec le formulaire */
.ecl4-shell .ecl4-right .ecl4-card h2{font-family:Arial,Helvetica,sans-serif!important;font-weight:400!important;letter-spacing:-.035em!important;text-shadow:none!important}
.ecl4-shell .ecl4-google,.ecl4-shell .ecl4-google .nsl-container,.ecl4-shell .ecl4-google .nsl-container-buttons{width:100%!important;max-width:100%!important}
.ecl4-shell .ecl4-google .nsl-container-buttons{display:flex!important;flex-direction:column!important;align-items:stretch!important}
.ecl4-shell .ecl4-google .nsl-button{box-sizing:border-box!important;display:flex!important;width:100%!important;max-width:100%!important;min-height:57px!important;background:#fff!important;border:1px solid #d9e1eb!important;border-radius:15px!important;box-shadow:0 5px 16px rgba(17,45,75,.09)!important;overflow:hidden!important;align-items:center!important;justify-content:center!important;transition:box-shadow .2s ease,border-color .2s ease!important}
.ecl4-shell .ecl4-google .nsl-button:hover{border-color:#a9c3d9!important;box-shadow:0 7px 22px rgba(17,45,75,.14)!important}
.ecl4-shell .ecl4-google .nsl-button-label-container{flex:0 1 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 12px!important;color:#153554!important;font-family:Arial,Helvetica,sans-serif!important;font-size:16px!important;font-weight:500!important;line-height:1.3!important;white-space:nowrap!important}
.ecl4-shell .ecl4-google .nsl-button-svg-container{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 26px!important;margin-right:2px!important;padding:0!important}
.ecl4-shell .ecl4-google .nsl-button-svg-container svg{width:23px!important;height:23px!important}
@media(max-width:560px){.ecl4-shell .ecl4-right .ecl4-card h2{font-weight:400!important}.ecl4-shell .ecl4-google .nsl-button-label-container{font-size:14px!important}}

/* Elite Client V0.6: final refinements; override theme typography. */
.ecl4-shell .ecl4-right .ecl4-card h2{font-family:Arial,Helvetica,sans-serif!important;font-weight:300!important;font-synthesis:none!important;letter-spacing:-.045em!important;font-size:clamp(29px,2.85vw,42px)!important;line-height:1.16!important;text-shadow:none!important;}
.ecl4-shell .ecl4-google .nsl-container-buttons a,.ecl4-shell .ecl4-google .nsl-button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;background:#fff!important;border:1px solid #e1e7ef!important;border-radius:16px!important;box-shadow:0 7px 18px rgba(17,44,78,.10)!important;text-decoration:none!important;min-height:56px!important;}
.ecl4-shell .ecl4-google .nsl-button-label-container{font-weight:400!important;font-size:16px!important;letter-spacing:0!important;color:#143252!important;}
.ecl4-shell .ecl4-google .nsl-button-svg-container{margin-right:10px!important;}
.ecl4-shell .ecl4-google .nsl-button:hover{box-shadow:0 9px 22px rgba(17,44,78,.16)!important;border-color:#a8c4dd!important;}
@media(max-width:560px){.ecl4-shell .ecl4-right .ecl4-card h2{font-size:31px!important;}}

/* V0.7 — partie gauche structurée comme Elite Work, identité Client préservée */
.ecl4-shell{grid-template-columns:55% 45%;min-height:100vh;min-height:100svh}
.ecl4-left{
  justify-content:flex-start!important;
  align-items:flex-start!important;
  padding:clamp(28px,4vh,55px) 7% 65px 11%!important;
  min-width:0;
}
.ecl4-brand{
  align-self:center!important;
  flex:0 0 auto;
  max-width:var(--ecl4-logo-width,310px)!important;
  min-height:0!important;
  margin:0 0 clamp(56px,9vh,112px)!important;
  justify-content:center!important;
}
.ecl4-brand img{max-height:175px!important;object-fit:contain}
.ecl4-left h1{
  margin:0!important;
  font-size:clamp(39px,3.8vw,61px)!important;
  line-height:1.12!important;
  font-weight:400!important;
  letter-spacing:-.035em!important;
}
.ecl4-rule{margin:22px 0!important;background:#6da6ce!important;width:76px!important;height:4px!important}
.ecl4-description{
  max-width:490px!important;
  font-size:clamp(17px,1.4vw,21px)!important;
  line-height:1.5!important;
  margin:0!important;
}
.ecl4-features{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));
 width:100%;max-width:550px;margin-top:32px;gap:12px
}
.ecl4-features>div{min-height:105px}
.ecl4-left h1{font-size:clamp(33px,3.25vw,52px)!important}
@media(max-width:560px){
 .ecl4-features{gap:7px;margin-top:22px}
 .ecl4-features>div{min-height:94px;font-size:11px}
 .ecl4-left h1{font-size:35px!important}
}
.ecl4-right{padding:28px 8% 28px 2%!important}
.ecl4-card{max-width:540px}
@media(max-width:1000px){
 .ecl4-shell{grid-template-columns:1fr}
 .ecl4-left{padding:30px 7% 20px!important}
 .ecl4-brand{margin:0 auto 35px!important}
 .ecl4-right{padding:20px 6% 42px!important}
}
@media(max-width:560px){
 .ecl4-left{padding:25px 6% 14px!important}
 .ecl4-brand{margin:0 auto 25px!important}
 .ecl4-brand img{max-height:120px!important}
 .ecl4-left h1{font-size:40px!important}
 .ecl4-description{font-size:16px!important}
 .ecl4-right{padding:18px 5% 35px!important}
}

/* Message public de refus d'accès — version finale */
.ecl4-alert strong{display:block;color:#233e5b;font-size:18px;font-weight:600;margin-bottom:8px}
.ecl4-alert p{margin:0 0 10px}.ecl4-alert p:last-child{margin-bottom:0}
.ecl4-switch-account{display:flex;justify-content:center;align-items:center;gap:10px;min-height:48px;margin-top:16px;padding:10px 15px;border:1px solid #cbd8e5;border-radius:12px;background:#fff;color:#163b60!important;text-decoration:none!important;font-weight:600;text-align:center}
.ecl4-switch-account:hover{background:#f3f7fa}


/* Elite Client Login v1.0 — Mobile premium layout, desktop untouched. */
@media screen and (max-width:767px) {
  .ecl4-shell {display:flex!important;flex-direction:column!important;min-height:100svh!important;width:100%!important;max-width:100%!important;overflow-x:clip!important;grid-template-columns:none!important;}
  .ecl4-shell:after {background:linear-gradient(180deg,rgba(250,253,255,.95) 0%,rgba(245,250,255,.86) 43%,rgba(238,247,255,.72) 100%)!important;}
  .ecl4-left {width:100%!important;max-width:520px!important;box-sizing:border-box!important;margin:0 auto!important;padding:calc(22px + env(safe-area-inset-top,0px)) 18px 8px!important;align-items:center!important;justify-content:flex-start!important;text-align:center!important;}
  .ecl4-brand {width:100%!important;max-width:150px!important;min-height:0!important;margin:0 auto 15px!important;align-self:center!important;justify-content:center!important;}
  .ecl4-brand img {width:100%!important;max-height:112px!important;height:auto!important;object-fit:contain!important;}
  .ecl4-brand-fallback {font-size:17px!important;}
  .ecl4-left h1 {font-size:clamp(26px,7.3vw,34px)!important;line-height:1.17!important;letter-spacing:-.03em!important;margin:0!important;text-align:center!important;max-width:460px!important;}
  .ecl4-left h1 br {display:none!important;}
  .ecl4-left h1 span {display:block!important;}
  .ecl4-rule {width:70px!important;height:4px!important;margin:10px auto!important;}
  .ecl4-description {font-size:clamp(12px,3.5vw,14px)!important;line-height:1.43!important;max-width:380px!important;margin:0 auto!important;text-align:center!important;}
  .ecl4-features {width:100%!important;max-width:440px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:14px auto 0!important;}
  .ecl4-features>div {min-height:72px!important;padding:8px 4px!important;border-radius:13px!important;gap:5px!important;font-size:clamp(9px,2.65vw,11px)!important;line-height:1.22!important;background:rgba(255,255,255,.79)!important;}
  .ecl4-features svg {width:23px!important;height:23px!important;}
  .ecl4-right {width:100%!important;max-width:520px!important;box-sizing:border-box!important;margin:0 auto!important;padding:14px 16px calc(28px + env(safe-area-inset-bottom,0px))!important;align-items:stretch!important;}
  .ecl4-card {box-sizing:border-box!important;width:100%!important;max-width:none!important;border-radius:23px!important;padding:22px 20px 19px!important;box-shadow:0 12px 36px rgba(17,49,78,.13)!important;background:rgba(255,255,255,.97)!important;}
  .ecl4-shell .ecl4-right .ecl4-card h2 {font-size:clamp(25px,6.8vw,30px)!important;line-height:1.16!important;margin:0 0 7px!important;}
  .ecl4-subtitle {font-size:13px!important;line-height:1.4!important;margin:0 0 14px!important;}
  .ecl4-input {box-sizing:border-box!important;height:52px!important;margin-bottom:10px!important;border-radius:13px!important;padding:0 14px!important;gap:11px!important;}
  .ecl4-input svg {width:22px!important;height:22px!important;}
  .ecl4-input input {min-width:0!important;font-size:16px!important;}
  .ecl4-utilities {gap:8px!important;margin:3px 0 14px!important;font-size:12px!important;flex-wrap:wrap!important;}
  .ecl4-utilities label {white-space:normal!important;}
  .ecl4-submit {min-height:52px!important;font-size:16px!important;border-radius:13px!important;}
  .ecl4-separator {margin:12px 0!important;font-size:13px!important;}
  .ecl4-shell .ecl4-google .nsl-button {min-height:52px!important;border-radius:13px!important;}
  .ecl4-shell .ecl4-google .nsl-button-label-container {font-size:14px!important;}
  .ecl4-secure {font-size:12px!important;margin:14px 0 0!important;}
  .ecl4-secure svg {width:18px!important;height:18px!important;}
}
@media screen and (max-width:359px) {
  .ecl4-left {padding-left:12px!important;padding-right:12px!important;}
  .ecl4-right {padding-left:12px!important;padding-right:12px!important;}
  .ecl4-card {padding:18px 14px!important;}
  .ecl4-left h1 {font-size:25px!important;}
  .ecl4-features>div {font-size:9px!important;}
  .ecl4-utilities {font-size:11px!important;}
}
