.ivy-lead{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;background:rgba(5,8,30,.72);padding:16px}
.ivy-lead.is-open{display:flex}
.ivy-lead__box{background:#0d1235;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:12px;width:100%;max-width:560px;max-height:92vh;overflow:auto;padding:32px;position:relative;font-family:inherit}
.ivy-lead__close{position:absolute;top:12px;right:14px;background:none;border:0;color:#fff;font-size:28px;line-height:1;cursor:pointer}
.ivy-lead__steps{display:flex;gap:8px;margin-bottom:20px}
.ivy-lead__steps span{flex:1;height:4px;border-radius:2px;background:rgba(255,255,255,.18)}
.ivy-lead__steps span.on{background:#ff6633}
.ivy-lead h3{font-size:24px;margin:0 0 6px}
.ivy-lead p.sub{color:rgba(255,255,255,.7);margin:0 0 20px;font-size:15px}
.ivy-lead label{display:block;font-size:14px;margin:0 0 14px;color:rgba(255,255,255,.85)}
.ivy-lead input,.ivy-lead select,.ivy-lead textarea{display:block;width:100%;margin-top:6px;padding:10px 12px;border-radius:6px;border:1px solid rgba(255,255,255,.2);background:#060a26;color:#fff;font:inherit;font-size:15px;box-sizing:border-box}
.ivy-lead .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:520px){.ivy-lead .row{grid-template-columns:1fr}.ivy-lead__box{padding:24px 18px}}
.ivy-lead .req{color:#ff6633}
.ivy-lead__err{color:#ff8a8a;font-size:14px;min-height:20px;margin:4px 0 10px}
.ivy-lead__actions{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ivy-lead button.go{background:#ff6633;color:#fff;border:0;border-radius:6px;padding:12px 22px;font:inherit;font-weight:600;cursor:pointer}
.ivy-lead button.go:disabled{opacity:.6;cursor:wait}
.ivy-lead button.link{background:none;border:0;color:rgba(255,255,255,.7);text-decoration:underline;cursor:pointer;font:inherit}

.ivy-lead__choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:520px){.ivy-lead__choices{grid-template-columns:1fr}}
.ivy-lead__choices button{text-align:left;background:#060a26;border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#fff;padding:14px;font:inherit;font-weight:600;cursor:pointer}
.ivy-lead__choices button:hover,.ivy-lead__choices button:focus-visible{border-color:#ff6633;outline:none}
.ivy-lead__choices small{display:block;font-weight:400;font-size:13px;color:rgba(255,255,255,.65);margin-top:4px}
.ivy-lead__partner{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:22px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);font-size:12px;color:rgba(255,255,255,.5);text-decoration:none}.ivy-lead__partner img{height:14px;width:auto;opacity:.75}
.ivy-lead__steps{margin-right:40px}.ivy-lead__close{top:14px;right:14px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%}.ivy-lead__close:hover{background:rgba(255,255,255,.1)}

.ivy-lead__consent{border:0;padding:0;margin:4px 0 12px;display:flex;flex-wrap:wrap;gap:6px 18px}
.ivy-lead__consent legend{font-size:14px;color:rgba(255,255,255,.85);margin-bottom:8px;padding:0;width:100%}
.ivy-lead label.ck{display:flex;align-items:flex-start;gap:8px;margin:0;font-size:14px;cursor:pointer}
.ivy-lead label.ck input{width:16px;height:16px;margin:2px 0 0;flex:none;accent-color:#ff6633}
.ivy-lead__lgpd{font-size:12.5px!important;line-height:1.45;color:rgba(255,255,255,.7)!important;margin-bottom:6px!important}
.ivy-lgpd{position:fixed;left:16px;right:16px;bottom:16px;z-index:9999;max-width:880px;margin:0 auto;background:#0d1235;color:rgba(255,255,255,.85);border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:14px 18px;display:flex;align-items:center;gap:16px;font-size:13px;line-height:1.5;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.ivy-lgpd p{margin:0}
.ivy-lgpd button{flex:none;background:#ff6633;color:#fff;border:0;border-radius:6px;padding:9px 16px;font:inherit;font-weight:600;cursor:pointer}
@media(max-width:600px){.ivy-lgpd{flex-direction:column;align-items:stretch}}

/* Form layout uses the site's semantic palette and remains usable with a keyboard. */
.ivy-lead { --ivy-surface: var(--ps-color-bg-dark-alt); --ivy-input: var(--ps-color-bg-dark); --ivy-text: var(--ps-color-text-on-dark); --ivy-muted: var(--ps-color-navy-6); --ivy-border: var(--ps-color-navy-4); box-sizing:border-box; overscroll-behavior:contain; }
body.ivy-modal-open { overflow:hidden; }
body.ivy-modal-open .ivy-lgpd { visibility:hidden; pointer-events:none; }
.ivy-lead *, .ivy-lead *::before, .ivy-lead *::after { box-sizing:border-box; }
.ivy-lead__box { background:var(--ivy-surface); color:var(--ivy-text); max-height:calc(100dvh - 32px); overscroll-behavior:contain; border-radius:8px; }
.ivy-lead__close { position:sticky; top:0; right:auto; margin-left:auto; margin-bottom:-44px; width:44px; height:44px; z-index:2; background:var(--ivy-surface); color:var(--ivy-text); }
.ivy-lead__steps { margin-right:60px; padding-block:20px; margin-bottom:16px; }
.ivy-lead h3 { line-height:1.3; letter-spacing:0; overflow-wrap:break-word; }
.ivy-lead p.sub { line-height:1.6; }
.ivy-lead input:not([type=checkbox]), .ivy-lead select, .ivy-lead textarea { min-height:48px; min-width:0; font-size:16px; background:var(--ivy-input); color:var(--ivy-text); }
.ivy-lead .row { grid-template-columns:repeat(2,minmax(0,1fr)); }
.ivy-lead .row > label { min-width:0; }
.ivy-lead__choices button { min-width:0; line-height:1.4; background:var(--ivy-input); color:var(--ivy-text); }
.ivy-lead__choices small { line-height:1.5; }
.ivy-lead button.go, .ivy-lead button.link { min-height:48px; line-height:1.4; }
.ivy-lead button.link { padding:10px 12px; }
.ivy-lead__actions { display:grid; grid-template-columns:minmax(0,1fr) auto; }
.ivy-lead button.go { background:var(--ps-color-action-primary); color:var(--ps-color-action-primary-text); white-space:normal; }
.ivy-lead__consent { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.ivy-lead label.ck { min-width:0; min-height:44px; align-items:center; gap:8px; line-height:1.5; }
.ivy-lead label.ck input { width:20px; height:20px; margin:0; accent-color:var(--ps-color-action-primary); }
.ivy-lead label.ivy-lead__lgpd { align-items:flex-start; padding-top:8px; font-size:13px !important; }
.ivy-lead label.ivy-lead__lgpd input { margin-top:2px; }
.ivy-lead__partner { min-height:44px; }
.ivy-lgpd { box-sizing:border-box; border-radius:8px; box-shadow:var(--ps-shadow-m); background:var(--ps-color-bg-dark-alt); color:var(--ps-color-text-on-dark); }
.ivy-lgpd button { min-height:44px; background:var(--ps-color-action-primary); color:var(--ps-color-action-primary-text); }
@media(max-width:600px) {
  .ivy-lead { padding:12px; padding-top:max(12px,env(safe-area-inset-top)); padding-bottom:max(12px,env(safe-area-inset-bottom)); }
  .ivy-lead__box { max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding:16px 20px 20px; }
  .ivy-lead h3 { font-size:22px; }
  .ivy-lead p.sub { font-size:14px; margin-bottom:20px; }
  .ivy-lead .row, .ivy-lead__choices { grid-template-columns:minmax(0,1fr); }
  .ivy-lead__choices { gap:10px; }
  .ivy-lead__choices button { padding:12px 14px; font-size:15px; }
  .ivy-lead__choices small { font-size:12px; }
  .ivy-lead__actions { gap:8px; }
  .ivy-lead button.go { padding:12px 16px; font-size:15px; }
  .ivy-lead__partner { margin-top:16px; }
  .ivy-lgpd { left:12px; right:12px; bottom:max(12px,env(safe-area-inset-bottom)); padding:14px; gap:12px; font-size:12px; line-height:1.5; max-height:45dvh; overflow:auto; }
}
@media(max-width:360px) {
  .ivy-lead__box { padding-inline:16px; }
  .ivy-lead__consent { grid-template-columns:minmax(0,1fr); }
}
