/* Login page â€” approved black-hole design. Scoped to .lp-* so the app shell is untouched. */
.login-space{margin:0;min-height:100vh;background:radial-gradient(ellipse at top right,var(--c-accent-wash),transparent 60%),var(--c-panel-2)}
.login-space footer{display:none}
.login-space main{display:grid;place-items:center;min-height:100vh;min-height:100dvh;padding:clamp(8px,2.2vh,24px) 24px}
.lp-card{--navy:var(--c-text);--violet:var(--c-accent);--violet-ring:var(--c-accent);--soft:var(--c-soft);
  display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);width:100%;max-width:1180px;
  background:var(--c-panel);border:1px solid var(--c-accent-wash);border-radius:28px;overflow:hidden;box-shadow:0 24px 80px color-mix(in srgb,var(--c-accent) 12%,transparent)}
.lp-form-col{padding:clamp(20px,4vh,44px) clamp(28px,3.6vw,52px) clamp(16px,3vh,32px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.lp-logo{display:block;width:min(clamp(150px,25vh,250px),70%);height:auto;margin:0 auto clamp(10px,2.6vh,28px)}
/* Deliberate two-line lockup under the centred logo: "Welcome to the" / "Delivery Space." (kept together). */
.lp-title{margin:0;font-size:clamp(28px,min(3.6vw,5.4vh),46px);line-height:1.08;letter-spacing:-.02em;color:var(--navy);font-weight:800;text-align:center;text-wrap:balance}
.lp-title .lp-keep{white-space:nowrap}
.lp-sub{margin:clamp(6px,1.4vh,14px) 0 clamp(12px,2.6vh,24px);font-size:clamp(15px,2.1vh,17px);line-height:1.4;color:var(--soft);text-align:center;text-wrap:balance}
.lp-form{display:block}
.lp-field{margin-bottom:clamp(8px,1.7vh,16px)}
.lp-field label{display:block;margin-bottom:clamp(4px,.8vh,7px);font-size:14px;font-weight:600;color:var(--c-accent)}
.lp-input{display:block;width:100%;min-height:clamp(44px,6.2vh,52px);padding:8px 16px;font:inherit;font-size:16px;color:var(--navy);background:var(--c-panel);border:1.5px solid var(--c-accent-wash);border-radius:12px;transition:border-color .15s,box-shadow .15s}
.lp-input:focus{outline:2px solid transparent;border-color:var(--violet-ring);box-shadow:0 0 0 4px color-mix(in srgb,var(--c-accent) 25%,transparent)}
.lp-input[aria-invalid=true]{border-color:var(--c-danger)}
.lp-pw{position:relative}
.lp-input-pw{padding-right:60px}
.lp-input-pw::-ms-reveal,.lp-input-pw::-ms-clear{display:none}
.lp-eye{position:absolute;top:50%;right:6px;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--c-accent);cursor:pointer}
.lp-eye[hidden]{display:none}
.lp-eye:hover{background:var(--c-accent-wash);color:var(--navy)}
.lp-eye:focus-visible{outline:3px solid var(--violet);outline-offset:1px;background:var(--c-accent-wash)}
.lp-eye .lp-eye-shut,.lp-eye[aria-pressed=true] .lp-eye-open{display:none}
.lp-eye[aria-pressed=true] .lp-eye-shut{display:block}
.lp-submit{display:block;width:100%;min-height:clamp(44px,6.4vh,54px);margin-top:clamp(12px,2.4vh,22px);padding:10px 20px;font:inherit;font-size:17px;font-weight:700;color:#fff;background:var(--violet);border:0;border-radius:12px;cursor:pointer;box-shadow:0 8px 20px color-mix(in srgb,var(--c-accent) 27%,transparent);transition:background .15s}
.lp-submit:hover{background:var(--c-cta)}
.lp-submit:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
.lp-access{margin:clamp(10px,1.8vh,18px) 0 0;text-align:center;font-size:14px;color:var(--soft)}
.lp-error{display:flex;gap:10px;align-items:flex-start;margin-bottom:18px;padding:12px 14px;border:1.5px solid var(--c-danger);border-radius:12px;background:var(--c-danger-wash);color:var(--c-danger);font-size:14px;line-height:1.4}
.lp-error p{margin:0}
.lp-error-icon{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--c-danger);color:#fff;font-weight:800;font-size:13px}
/* Illustration column */
.lp-art-col{position:relative;display:flex;flex-direction:column;min-width:0;background:linear-gradient(180deg,var(--c-accent-wash),var(--c-accent-wash))}
.lp-art{position:relative;flex:1;min-height:0;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12%),linear-gradient(180deg,#000 95%,transparent);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent 0,#000 12%),linear-gradient(180deg,#000 95%,transparent);mask-composite:intersect}
.lp-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
/* Brand strip: below the whole card, quiet and secondary */
.lp-page{width:100%;max-width:1180px}
.lp-page .lp-card{max-width:none}
.lp-brands{margin:clamp(8px,2vh,20px) 0 0;padding:clamp(8px,1.6vh,18px) 28px clamp(8px,1.8vh,20px);background:color-mix(in srgb,var(--c-panel) 72%,transparent);border:1px solid var(--c-accent-wash);border-radius:22px}
.lp-brands-label{margin:0 0 clamp(5px,1.2vh,12px);text-align:center;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--c-soft)}
/* Equal slots, optically tuned artwork caps in login.html. Keep intrinsic ratios.
   The dark chips include only 3px/4px padding; Commune already has its own background. */
.lp-brand-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:20px 20px}
.lp-brand-list li{display:flex;align-items:center;justify-content:center;margin:0;min-width:0;flex:0 0 calc((100% - 140px)/8);height:38px}
.lp-brand-list img{display:block;width:var(--bw);height:auto;max-width:100%;max-height:var(--bh);object-fit:contain}
.lp-brand-list img.lp-chip{box-sizing:content-box;border-radius:5px;background:var(--c-ink-fill);padding:3px 4px;max-width:min(calc(100% - 8px),calc(var(--bw) - 8px));max-height:calc(var(--bh) - 6px)}
.lp-brand-list img[src$="20-commune.png"]{box-sizing:border-box;padding:0;max-width:min(100%,var(--bw));max-height:var(--bh)}
@media(min-width:861px) and (max-height:780px){
  .lp-brand-list{gap:14px 20px}.lp-brand-list li{height:30px}
  .lp-brand-list img{max-height:min(30px,var(--bh))}
  .lp-brands-label{font-size:10px}.lp-page{max-width:1240px}
  .lp-brands{padding-top:8px;padding-bottom:9px}
}
@media(max-width:860px){
  .login-space main{padding:16px 12px;place-items:start center}
  .lp-card{grid-template-columns:1fr;max-width:560px;border-radius:22px}
  .lp-form-col{padding:28px 22px 24px}
  .lp-logo{width:min(220px,64%);margin-bottom:22px}
  .lp-title{font-size:clamp(24px,8vw,34px)}
  .lp-sub{font-size:16px;margin-bottom:20px}
  .lp-art{flex:none;height:min(64vw,350px);min-height:0;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 6%),linear-gradient(180deg,#000 96%,transparent);mask-image:linear-gradient(90deg,transparent 0,#000 6%),linear-gradient(180deg,#000 96%,transparent)}
  .lp-art img{object-position:50% 45%}
  .lp-brands{margin-top:12px;padding:12px 8px 14px;border-radius:18px}
  .lp-brands-label{margin-bottom:8px}
  .lp-brand-list{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:20px 8px;justify-items:center}
  .lp-brand-list li{grid-column:span 2;width:100%;height:38px}
  .lp-brand-list li:nth-child(21){grid-column:3/span 2}
  .lp-brand-list li:nth-child(22){grid-column:5/span 2}
  .lp-brand-list li:nth-child(23){grid-column:7/span 2}
  .lp-brand-list img{width:var(--mobile-w);height:auto;max-width:100%;max-height:var(--mobile-h)}
  .lp-brand-list img.lp-chip{max-width:min(calc(100% - 8px),calc(var(--mobile-w) - 8px));max-height:calc(var(--mobile-h) - 6px)}
  .lp-brand-list img[src$="20-commune.png"]{max-width:min(100%,var(--mobile-w));max-height:var(--mobile-h)}
}
@media(max-width:430px){
  .lp-form-col{padding:24px 18px 20px}
  .lp-input,.lp-submit{min-height:48px}
}
@media(prefers-reduced-motion:reduce){.lp-input,.lp-submit{transition:none}}
/* At the shortest approved desktop height, trade column inset for row breathing room. Artwork caps stay unchanged. */
@media(min-width:861px) and (max-height:740px){.lp-form-col{padding-top:18px;padding-bottom:14px}}
@media(forced-colors:active){.lp-eye:focus-visible,.lp-input:focus{outline:3px solid Highlight}}
