.jpi {
--b: var(--jp-blue, #10233f);
--t: var(--jp-blue-2, #0b6374);
--bl: var(--jp-blue-light, #eef6fb);
--o: var(--jp-orange, #e95b22);
--ol: var(--jp-orange-light, #fff3ec);
--g: var(--jp-green, #2f8f5b);
--red: #c0392b;
--tx: var(--jp-text, #26384f);
--mu: var(--jp-muted, #52627a);
--line: #d6e2ec;
--r: var(--jp-radius, 22px);
--rs: var(--jp-radius-sm, 14px);
--sh: var(--jp-shadow, 0 16px 42px rgba(16, 35, 63, .10));
--shc: var(--jp-shadow-card, 0 8px 22px rgba(16, 35, 63, .08));
--fh: Montserrat, "Segoe UI", Arial, sans-serif;
--fb: "Source Sans Pro", "Source Sans 3", "Segoe UI", Arial, sans-serif;
--fa: Caveat, cursive;
font-family: var(--fb);
font-size: 17px;
line-height: 1.55;
color: var(--tx);
max-width: 1080px;
margin: 0 auto 64px;
padding: 0 16px;
box-sizing: border-box;
container-type: inline-size;
container-name: jpi;
}
.jpi *, .jpi *::before, .jpi *::after { box-sizing: border-box; }
.jpi [hidden] { display: none !important; }
.jpi p { margin: 0 0 .6em; }
.jpi a { color: var(--o); } .jpi .jpi-h1 { font-family: var(--fh); font-weight: 700; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; color: #fff; margin: 6px 0 8px; }
.jpi .jpi-h2 { font-family: var(--fh); font-weight: 700; font-size: clamp(21px, 2.6vw, 27px); line-height: 1.2; color: var(--b); margin: 2px 0 6px; }
.jpi .jpi-h3 { font-family: var(--fh); font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--b); margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.jpi .jpi-eyebrow { font-family: var(--fh); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--o); }
.jpi .jpi-muted { color: var(--mu); font-size: 15.5px; margin: 0; }
.jpi .jpi-small { font-size: 14px; color: var(--mu); margin-top: 18px; }
.jpi .jpi-center { text-align: center; } .jpi-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--b) 0%, #163a5f 60%, var(--t) 130%); border-radius: var(--r); padding: clamp(28px, 5vw, 48px) clamp(22px, 5vw, 56px); margin: 24px 0 26px; box-shadow: var(--sh); }
.jpi-hero__in { position: relative; z-index: 1; max-width: 640px; }
.jpi-hero .jpi-eyebrow { color: #f6a77f; }
.jpi-tagline { font-family: var(--fa); font-size: clamp(22px, 2.6vw, 28px); color: #ffd8c4; margin: 0 !important; line-height: 1.2; }
.jpi-hero__deco span { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); animation: jpi-orbit 14s linear infinite; }
.jpi-hero__deco span:nth-child(1) { width: 260px; height: 260px; right: -60px; top: -90px; border-color: rgba(233, 91, 34, .45); border-style: dashed; }
.jpi-hero__deco span:nth-child(2) { width: 150px; height: 150px; right: 120px; bottom: -70px; background: rgba(255, 255, 255, .05); animation-duration: 9s; }
.jpi-hero__deco span:nth-child(3) { width: 14px; height: 14px; right: 90px; top: 40px; background: var(--o); border: 0; animation: jpi-float 4s ease-in-out infinite; }
@keyframes jpi-orbit { to { transform: rotate(360deg); } } .jpi-card { background: #fff; border-radius: var(--r); box-shadow: var(--shc); border: 1px solid #e7eef5; padding: clamp(20px, 3.6vw, 36px); margin-bottom: 22px; }
.jpi-card.jpi-center { padding-top: 40px; padding-bottom: 40px; }
.jpi-card.jpi-center > p { max-width: 560px; margin-left: auto; margin-right: auto; }
.jpi-sec { animation: jpi-in .45s ease both; }
.jpi-sec:nth-child(2) { animation-delay: .06s; } .jpi-sec:nth-child(3) { animation-delay: .12s; } .jpi-sec:nth-child(4) { animation-delay: .18s; }
.jpi-sechead { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.jpi-sechead .jpi-muted a { color: var(--t); } .jpi-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; color: currentColor; line-height: 0; }
.jpi-ico svg { width: 100%; height: 100%; overflow: visible; }
.jpi-ico--xs { width: 14px; height: 14px; vertical-align: -2px; }
.jpi-ico--sm { width: 18px; height: 18px; }
.jpi-ico--md { width: 50px; height: 50px; padding: 12px; border-radius: 15px; background: var(--bl); color: var(--t); transition: transform .3s, background .3s, color .3s; }
.jpi-ico--lg { width: 58px; height: 58px; padding: 14px; border-radius: 18px; background: var(--bl); color: var(--t); }
.jpi-ico--xl { width: 56px; height: 56px; color: var(--t); }
.jpi-ico--hero { width: 86px; height: 86px; padding: 20px; border-radius: 26px; background: linear-gradient(140deg, var(--ol), #fde3d5); color: var(--o); box-shadow: 0 10px 26px rgba(233, 91, 34, .18); }
.jpi-center > .jpi-ico--hero { margin: 0 auto 16px; display: flex; }
.jpi-ico--warn { background: #fff4e5; color: #c96a00; }
.jpi-ico--ok { background: linear-gradient(140deg, #e6f5ec, #d2efdd); color: var(--g); box-shadow: 0 10px 26px rgba(47, 143, 91, .2); } .jpi-ico--draw svg > * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: jpi-draw 1.1s cubic-bezier(.6, .1, .3, 1) forwards; }
.jpi-ico--draw svg > *:nth-child(2) { animation-delay: .15s; } .jpi-ico--draw svg > *:nth-child(3) { animation-delay: .3s; } .jpi-ico--draw svg > *:nth-child(4) { animation-delay: .45s; } .jpi-ico--draw svg > *:nth-child(n+5) { animation-delay: .55s; }
@keyframes jpi-draw { to { stroke-dashoffset: 0; } }
.jpi-ico--float { animation: jpi-float 4.5s ease-in-out 1.2s infinite; }
@keyframes jpi-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-2deg); } }
.jpi-ico--spin svg { animation: jpi-spin 2s linear infinite; }
@keyframes jpi-spin { to { transform: rotate(360deg); } } .jpi-ico--float[data-icon="heart-pulse"] { animation: jpi-beat 1.6s ease-in-out 1.2s infinite; }
@keyframes jpi-beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.1); } 30% { transform: scale(.97); } 45% { transform: scale(1.06); } }
.jpi-ico--float[data-icon="party-popper"], .jpi-ready [data-icon="party-popper"] { animation: jpi-wiggle 2.4s ease-in-out 1.2s infinite; }
@keyframes jpi-wiggle { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg); } 85% { transform: rotate(10deg); } 92% { transform: rotate(-5deg); } }
.jpi-ico--float[data-icon="send"] { animation: jpi-fly 3s ease-in-out 1.2s infinite; }
@keyframes jpi-fly { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(5px, -5px); } }
.jpi-ico--float[data-icon="bed-double"] svg { animation: jpi-breathe 3.5s ease-in-out infinite; transform-origin: center bottom; }
@keyframes jpi-breathe { 50% { transform: scaleY(.94); } }
.jpi-verify [data-icon="mail"] { animation: jpi-wiggle 2.6s ease-in-out 1.2s infinite; } .jpi-sec:hover .jpi-sechead .jpi-ico--md, .jpi-sec:focus-within .jpi-sechead .jpi-ico--md { background: var(--ol); color: var(--o); transform: rotate(-6deg) scale(1.06); }
.jpi-sec:focus-within .jpi-sechead .jpi-ico--md svg { animation: jpi-pop .5s ease; }
@keyframes jpi-pop { 50% { transform: scale(.85); } } .jpi-how { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: how; }
.jpi-how li { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--rs); padding: 16px; box-shadow: var(--shc); border: 1px solid #e7eef5; animation: jpi-in .5s ease both; animation-delay: var(--d); position: relative; }
.jpi-how li::before { counter-increment: how; content: counter(how); position: absolute; top: -9px; left: -9px; width: 26px; height: 26px; border-radius: 50%; background: var(--o); color: #fff; font: 700 13px/26px var(--fh); text-align: center; }
.jpi-how strong { display: block; font-family: var(--fh); font-size: 14.5px; color: var(--b); }
.jpi-how span { font-size: 14.5px; color: var(--mu); line-height: 1.35; display: block; }
.jpi-how .jpi-ico--lg { width: 52px; height: 52px; padding: 13px; } .jpi-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 22px; }
.jpi-grid > .w-full { grid-column: span 6; }
.jpi-grid > .w-half { grid-column: span 3; }
.jpi-grid > .w-third { grid-column: span 2; }
.jpi-field { margin: 0; padding: 0; border: 0; min-width: 0; position: relative; }
.jpi-field.is-appearing, .jpi-sec.is-appearing { animation: jpi-in .4s ease both; }
.jpi .jpi-label { display: block; font-weight: 600; font-size: 15.5px; color: var(--b); margin: 0 0 7px; padding: 0; line-height: 1.35; }
.jpi .jpi-req { color: var(--o); font-style: normal; margin-left: 3px; }
.jpi .jpi-opt { font-weight: 400; font-size: 13px; color: var(--mu); margin-left: 6px; }
.jpi .jpi-help { display: block; font-size: 13.5px; color: var(--mu); margin-top: 6px; line-height: 1.4; }
.jpi .jpi-err { display: block; font-size: 13.5px; color: var(--red); font-weight: 600; min-height: 0; margin-top: 4px; }
.jpi .jpi-err:empty { display: none; }
.jpi input.jpi-input, .jpi select.jpi-input, .jpi textarea.jpi-input {
display: block; width: 100%; min-height: 50px; margin: 0; padding: 12px 15px;
font: 16.5px/1.3 var(--fb); color: var(--tx); background: #fbfdff;
border: 1.5px solid var(--line); border-radius: 12px; box-shadow: none; outline: none;
transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.jpi textarea.jpi-input { min-height: 110px; resize: vertical; }
.jpi select.jpi-input { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230b6374' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.jpi .jpi-input:hover { border-color: #b7c9d8; }
.jpi .jpi-input:focus { border-color: var(--t); background: #fff; box-shadow: 0 0 0 4px rgba(11, 99, 116, .13); }
.jpi .has-err .jpi-input { border-color: var(--red); background: #fff8f7; }
.jpi .is-missing .jpi-input, .jpi .is-missing .jpi-choice span, .jpi .is-missing .jpi-check, .jpi .is-missing .jpi-drop { border-color: #f0b89c; background-color: #fffaf6; }
.jpi .is-missing::after { content: "À compléter"; position: absolute; top: 0; right: 0; font-size: 11.5px; font-weight: 700; color: var(--o); background: var(--ol); padding: 1px 8px; border-radius: 99px; }
.jpi-unit { position: relative; display: block; }
.jpi-unit b { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--mu); font-weight: 600; } .jpi-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.jpi-choice { position: relative; margin: 0; cursor: pointer; }
.jpi-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.jpi-choice span { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 18px 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfdff; font-size: 16px; line-height: 1.25; transition: all .2s; }
.jpi-choice span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9fb3c4; flex: none; transition: all .2s; background: #fff; }
.jpi-choice:hover span { border-color: var(--t); }
.jpi-choice input:checked + span { border-color: var(--t); background: var(--bl); color: var(--b); font-weight: 600; box-shadow: 0 4px 12px rgba(11, 99, 116, .12); }
.jpi-choice input:checked + span::before { border-color: var(--t); background: var(--t); box-shadow: inset 0 0 0 3px #fff; animation: jpi-pop .3s ease; }
.jpi-choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(11, 99, 116, .2); }
.jpi-choices--cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.jpi-choices--cards .jpi-choice span { width: 100%; min-height: 62px; padding: 14px 16px; font-size: 16.5px; } .jpi-check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fbfdff; margin: 0; font-size: 15.5px; line-height: 1.45; transition: all .2s; position: relative; }
.jpi-check:hover { border-color: var(--t); }
.jpi-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jpi-check__box { width: 24px; height: 24px; border-radius: 7px; border: 2px solid #9fb3c4; flex: none; display: grid; place-items: center; color: #fff; background: #fff; transition: all .2s; margin-top: 1px; }
.jpi-check__box .jpi-ico { width: 15px; height: 15px; transform: scale(0); transition: transform .2s; }
.jpi-check input:checked ~ .jpi-check__box { background: var(--t); border-color: var(--t); }
.jpi-check input:checked ~ .jpi-check__box .jpi-ico { transform: scale(1); }
.jpi-check:has(input:checked) { border-color: var(--t); background: var(--bl); }
.jpi-check input:focus-visible ~ .jpi-check__box { box-shadow: 0 0 0 4px rgba(11, 99, 116, .2); }
.jpi-consent { font-size: 13.5px; color: var(--mu); margin-top: 24px; } .jpi-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 26px 18px; border: 2px dashed #b9cddd; border-radius: 16px; background: #f8fbfe; cursor: pointer; position: relative; transition: all .2s; margin: 0; overflow: hidden; }
.jpi-drop:hover, .jpi-drop.is-over { border-color: var(--o); background: var(--ol); }
.jpi-drop:hover .jpi-ico, .jpi-drop.is-over .jpi-ico { background: #fff; color: var(--o); animation: jpi-float 1.4s ease-in-out infinite; }
.jpi-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.jpi-drop strong { color: var(--o); }
.jpi-drop small { color: var(--mu); font-size: 13px; }
.jpi-drop__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; }
.jpi-drop__bar i { display: block; height: 100%; width: 0; background: var(--o); transition: width .2s; }
.is-uploading .jpi-drop { pointer-events: none; opacity: .8; }
.jpi-file { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1.5px solid #bfe0cc; background: #f3fbf6; border-radius: 16px; flex-wrap: wrap; animation: jpi-in .4s ease both; }
.jpi-file .jpi-ico--lg { background: #fff; color: var(--g); }
.jpi-file__thumb { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; box-shadow: var(--shc); }
.jpi-file__meta { flex: 1; min-width: 160px; }
.jpi-file__meta strong { display: block; word-break: break-all; color: var(--b); font-size: 15px; }
.jpi-file__meta span { font-size: 13.5px; color: var(--g); font-weight: 600; }
.jpi-file__act { display: flex; gap: 8px; }
.jpi-file__act label { position: relative; overflow: hidden; }
.jpi-file__act input { position: absolute; inset: 0; opacity: 0; cursor: pointer; } .jpi-info { display: flex; gap: 12px; background: var(--bl); border-left: 4px solid var(--t); border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.jpi-info .jpi-ico { color: var(--t); margin-top: 2px; }
.jpi-limit { display: inline-flex; gap: 8px; align-items: center; background: var(--ol); color: #a3400f; border-radius: 99px; padding: 6px 14px; font-size: 14.5px; margin: 0 0 18px; } .jpi .jpi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 13px 26px; border: 2px solid var(--o); border-radius: var(--rs); background: var(--o); color: #fff; font: 700 16px/1.2 var(--fh); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; box-shadow: 0 8px 18px rgba(233, 91, 34, .25); text-transform: none; letter-spacing: 0; }
.jpi .jpi-btn:hover { background: #d44d17; border-color: #d44d17; transform: translateY(-2px); color: #fff; }
.jpi .jpi-btn:hover .jpi-ico[data-icon="arrow-right"] { animation: jpi-nudge .6s ease infinite; }
@keyframes jpi-nudge { 50% { transform: translateX(4px); } }
.jpi .jpi-btn:focus-visible { outline: 3px solid var(--b); outline-offset: 3px; }
.jpi .jpi-btn:disabled { background: #c9d4de; border-color: #c9d4de; box-shadow: none; cursor: not-allowed; transform: none; }
.jpi .jpi-btn.is-busy { position: relative; color: transparent; pointer-events: none; }
.jpi .jpi-btn.is-busy::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: jpi-spin .8s linear infinite; }
.jpi .jpi-btn--ghost { background: #fff; color: var(--b); border-color: #cbd8e3; box-shadow: none; }
.jpi .jpi-btn--ghost:hover { background: var(--bl); border-color: var(--b); color: var(--b); }
.jpi .jpi-btn--text { background: none; border-color: transparent; color: var(--red); box-shadow: none; }
.jpi .jpi-btn--text:hover { background: #fff1ef; border-color: transparent; color: var(--red); }
.jpi .jpi-btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.jpi .jpi-btn--send { background: var(--g); border-color: var(--g); box-shadow: 0 8px 18px rgba(47, 143, 91, .28); }
.jpi .jpi-btn--send:hover { background: #267a4c; border-color: #267a4c; }
.jpi .jpi-link { background: none; border: 0; padding: 4px 0; color: var(--t); font: 600 15px var(--fb); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 6px; }
.jpi .jpi-link:hover { color: var(--o); }
.jpi .jpi-link:disabled { color: var(--mu); cursor: default; text-decoration: none; }
.jpi-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.jpi-actions--center { justify-content: center; }
.jpi-form-err { text-align: center; margin-top: 14px !important; }
.jpi-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; } .jpi-sticky { position: sticky; top: var(--jpi-top, 0px); z-index: 30; margin: 0 -6px 16px; padding: 6px; }
.admin-bar .jpi-sticky { --jpi-top: 32px; }
.jpi-progress { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-radius: var(--rs); box-shadow: var(--shc); border: 1px solid #e7eef5; padding: 12px 18px 14px; }
.jpi-progress__top { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.jpi-progress__pct { font-family: var(--fh); color: var(--t); font-size: 16px; font-weight: 700; }
.jpi-progress__pct strong { font-size: 26px; }
.jpi-progress__pct span { font-family: var(--fb); font-weight: 400; color: var(--mu); font-size: 15px; margin-left: 4px; }
.jpi-progress__info { font-size: 14.5px; color: var(--mu); }
.jpi-save { margin-left: auto; font-size: 13.5px; color: var(--mu); display: inline-flex; align-items: center; gap: 6px; }
.jpi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--o); animation: jpi-blink 1s ease infinite; }
@keyframes jpi-blink { 50% { opacity: .2; } }
.jpi-bar { height: 12px; border-radius: 99px; background: #e2ecf3; overflow: hidden; }
.jpi-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--t), #12a0a0); transition: width .6s cubic-bezier(.3, 1.2, .5, 1); position: relative; overflow: hidden; }
.jpi-bar span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-100%); animation: jpi-shine 2.6s ease-in-out infinite; }
@keyframes jpi-shine { 60%, 100% { transform: translateX(100%); } }
.jpi-stepper { overflow-x: auto; margin: 0 0 22px; padding: 4px 2px 10px; scrollbar-width: thin; }
.jpi-stepper ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.jpi-stepper li { margin: 0; flex: 1 0 auto; }
.jpi .jpi-step { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 58px; padding: 9px 14px 9px 10px; background: #fff; border: 1.5px solid #e1e9f0; border-radius: var(--rs); cursor: pointer; text-align: left; color: var(--tx); font: inherit; transition: all .2s; box-shadow: none; }
.jpi .jpi-step:hover { border-color: var(--t); transform: translateY(-2px); background: #fff; color: var(--tx); }
.jpi-step__ico { position: relative; width: 38px; height: 38px; border-radius: 12px; background: var(--bl); color: var(--t); display: grid; place-items: center; flex: none; transition: all .2s; }
.jpi-step__badge { position: absolute; top: -6px; right: -6px; }
.jpi-step__badge b, .jpi-step__badge .jpi-ico { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--o); color: #fff; font: 700 11px/19px var(--fh); border: 2px solid #fff; box-sizing: content-box; }
.jpi-step__badge .jpi-ico { background: var(--g); width: 11px; padding: 4px; height: 11px; }
.jpi-step__txt { font-family: var(--fh); font-size: 13px; font-weight: 700; line-height: 1.2; color: var(--b); white-space: nowrap; }
.jpi-step__txt small { display: block; font-family: var(--fb); font-weight: 400; font-size: 12px; color: var(--mu); }
.jpi .jpi-step.is-current { border-color: var(--o); background: var(--ol); box-shadow: 0 6px 16px rgba(233, 91, 34, .16); }
.jpi-step.is-current .jpi-step__ico { background: var(--o); color: #fff; }
.jpi-step.is-done .jpi-step__ico { background: #e3f4ea; color: var(--g); }
.jpi-stephead { display: flex; gap: 22px; align-items: center; margin: 6px 0 22px; animation: jpi-in .4s ease both; }
.jpi-stephead .jpi-h2 { margin: 2px 0 2px; }
.jpi-nav { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 8px; } .jpi-missing { border-color: #f6d2bf; background: linear-gradient(180deg, #fff, #fffaf6); }
.jpi-missing ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.jpi .jpi-miss { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border: 1.5px solid #f0dccf; border-radius: 14px; background: #fff; cursor: pointer; font: inherit; color: var(--tx); transition: all .2s; box-shadow: none; }
.jpi .jpi-miss:hover { border-color: var(--o); transform: translateX(4px); background: #fff; color: var(--tx); }
.jpi-miss > .jpi-ico:first-child { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--ol); color: var(--o); }
.jpi-miss span { flex: 1; min-width: 0; }
.jpi-miss strong { display: block; color: var(--b); font-family: var(--fh); font-size: 15px; }
.jpi-miss small { display: block; color: var(--mu); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jpi-miss em { font-style: normal; font-weight: 700; background: var(--o); color: #fff; border-radius: 99px; padding: 1px 9px; font-size: 13px; }
.jpi-ready { display: flex; gap: 18px; align-items: center; background: linear-gradient(120deg, #f0faf4, #fff); border-color: #cfe9da; }
.jpi-ready .jpi-ico--lg { background: #fff; color: var(--g); } .jpi-loading { text-align: center; color: var(--mu); }
.jpi-loading .jpi-ico { margin: 0 auto 10px; display: flex; }
.jpi-code { display: flex; justify-content: center; gap: 10px; margin: 22px 0 4px; }
.jpi input.jpi-code__d { width: 54px; height: 64px; text-align: center; font: 700 28px var(--fh); color: var(--b); border: 2px solid var(--line); border-radius: 14px; background: #fbfdff; outline: none; transition: all .2s; padding: 0; margin: 0; box-shadow: none; }
.jpi input.jpi-code__d:focus { border-color: var(--o); box-shadow: 0 0 0 4px rgba(233, 91, 34, .15); background: #fff; transform: translateY(-2px); }
.jpi-code.is-shake { animation: jpi-shake .45s ease; }
@keyframes jpi-shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.jpi-verify.is-busy { opacity: .7; pointer-events: none; }
.jpi-resume__row { display: flex; gap: 10px; max-width: 520px; margin: 20px auto 0; }
.jpi-resume__row .jpi-input { flex: 1; }
.jpi-ok { color: var(--g); font-weight: 600; margin-top: 14px; display: flex; gap: 8px; justify-content: center; align-items: center; }
.jpi-ok:empty { display: none; }
.jpi-done { position: relative; overflow: hidden; }
.jpi-next { text-align: left; max-width: 600px; margin: 24px auto 0; background: var(--bl); border-radius: 16px; padding: 18px 22px; }
.jpi-next ul { margin: 8px 0 0; padding-left: 20px; }
.jpi-next li { margin-bottom: 6px; }
.jpi-confetti i { position: absolute; top: -12px; left: var(--x); width: 9px; height: 15px; border-radius: 3px; background: var(--o); transform: rotate(var(--r)); animation: jpi-fall 2.6s ease-in var(--d) forwards; opacity: 0; }
.jpi-confetti i:nth-child(3n) { background: var(--t); } .jpi-confetti i:nth-child(4n) { background: #f2c14e; width: 7px; height: 7px; border-radius: 50%; }
@keyframes jpi-fall { 0% { opacity: 1; transform: translateY(0) rotate(var(--r)); } 100% { opacity: 0; transform: translateY(420px) rotate(calc(var(--r) + 540deg)); } } .jpi-toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%); z-index: 99999; display: flex; gap: 10px; align-items: center; max-width: min(560px, calc(100vw - 32px)); background: #10233f; color: #fff; padding: 13px 18px; border-radius: 14px; box-shadow: 0 14px 34px rgba(16, 35, 63, .3); font: 15px/1.35 "Source Sans Pro", "Source Sans 3", "Segoe UI", Arial, sans-serif; transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), opacity .3s, visibility .3s; opacity: 0; visibility: hidden; }
.jpi-toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.jpi-toast.err { background: #c0392b; }
.jpi-toast.warn { background: #8a3a12; }
.jpi-toast .jpi-ico { width: 18px; height: 18px; flex: none; display: inline-flex; }
.jpi-toast svg { width: 100%; height: 100%; } html.jpi-noscroll, html.jpi-noscroll body { overflow: hidden; }
.jpi-overlay { position: fixed; inset: 0; z-index: 99990; display: grid; place-items: center; overflow-y: auto; background: rgba(16, 35, 63, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); animation: jpi-fade .25s ease both; }
@keyframes jpi-fade { from { opacity: 0; } }
.jpi.jpi--modal { container-type: normal; position: relative; width: 100%; max-width: 540px; margin: 0; padding: 40px clamp(20px, 5vw, 40px) 28px; background: #fff; border-radius: var(--r); box-shadow: 0 30px 80px rgba(16, 35, 63, .4); text-align: center; animation: jpi-pop-in .4s cubic-bezier(.3, 1.3, .5, 1) both; }
@keyframes jpi-pop-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.jpi--modal > .jpi-ico--hero { margin: 0 auto 14px; display: flex; animation: jpi-wiggle 2.6s ease-in-out 1.2s infinite; }
.jpi--modal p { margin: 0 auto 10px; max-width: 420px; }
.jpi--modal .jpi-modal__mail { display: inline-block; margin-top: 6px; padding: 4px 12px; border-radius: 99px; background: var(--bl); color: var(--b); word-break: break-all; }
.jpi--modal kbd { display: inline-block; min-width: 26px; padding: 1px 7px; border: 1px solid #c9d6e2; border-bottom-width: 3px; border-radius: 7px; background: #f6f9fc; font: 700 13px/1.5 var(--fh); color: var(--b); }
.jpi--modal .jpi-code__ok { width: 100%; margin-top: 10px; }
.jpi--modal.is-busy { pointer-events: none; }
.jpi--modal.is-busy .jpi-code__ok { color: transparent; position: relative; }
.jpi--modal.is-busy .jpi-code__ok::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: jpi-spin .8s linear infinite; }
.jpi .jpi-modal__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--mu); cursor: pointer; padding: 0; }
.jpi .jpi-modal__x:hover { background: var(--bl); color: var(--b); }
.jpi .jpi-modal__x:focus-visible { outline: 3px solid var(--t); }
.jpi-code__sep { width: 10px; align-self: center; height: 3px; border-radius: 2px; background: #c9d6e2; }
.jpi input.jpi-code__d.is-filled { border-color: var(--t); background: var(--bl); } .jpi-fixed { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: var(--bl); border: 1.5px solid var(--t); color: var(--b); }
.jpi-fixed .jpi-ico { color: var(--t); }
@keyframes jpi-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } } @container jpi (max-width: 820px) {
.jpi-how { grid-template-columns: 1fr; }
.jpi-step__n, .jpi-step__dot { display: none; }
}
@container jpi (max-width: 640px) {
.jpi { font-size: 16px; padding: 0 12px; }
.jpi-grid { grid-template-columns: 1fr; gap: 18px; }
.jpi-grid > .w-full, .jpi-grid > .w-half, .jpi-grid > .w-third { grid-column: auto; }
.jpi-stephead { gap: 14px; }
.jpi-stephead .jpi-ico--hero { width: 64px; height: 64px; padding: 15px; border-radius: 20px; }
.jpi-sechead { gap: 12px; }
.jpi-sechead .jpi-ico--md { width: 42px; height: 42px; padding: 10px; }
.jpi-step__txt { display: none; }
.jpi .jpi-step { padding: 8px; min-height: 0; }
.jpi .jpi-step.is-current .jpi-step__txt { display: block; }
.jpi-stepper li { flex: 0 0 auto; }
.jpi-save { margin-left: 0; width: 100%; }
.jpi-progress__top { gap: 4px 12px; }
.jpi-nav .jpi-btn { flex: 1; }
.jpi-actions .jpi-btn { width: 100%; }
.jpi-actions { flex-direction: column-reverse; }
.jpi input.jpi-code__d { width: 42px; height: 54px; font-size: 23px; }
.jpi-code { gap: 6px; }
.jpi-resume__row { flex-direction: column; }
.jpi-hero__deco span:nth-child(2), .jpi-hero__deco span:nth-child(3) { display: none; }
.jpi .is-missing::after { position: static; display: inline-block; margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
.jpi *, .jpi *::before, .jpi *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
.jpi-ico--draw svg > * { stroke-dashoffset: 0; }
} .jpi--modal input.jpi-code__d { width: clamp(36px, 11vw, 54px); height: clamp(48px, 14vw, 64px); font-size: clamp(21px, 6vw, 28px); }
.jpi--modal .jpi-code { gap: clamp(4px, 1.6vw, 10px); } .jpi input.jpi-input--code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.jpi input.jpi-input--code::placeholder { text-transform: none; letter-spacing: .03em; } .jpi .jpi-info--total { background: var(--ol); border-left-color: var(--o); }
.jpi .jpi-info--total .jpi-ico { color: var(--o); }
.jpi .jpi-info--total strong { color: var(--b); font-size: 1.08em; } .jpi .jpi-doc { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0 54px; font-size: 14.5px; font-weight: 600; color: var(--t); text-decoration: underline; text-underline-offset: 3px; }
.jpi a.jpi-doc:hover { color: var(--o); }
.jpi .jpi-doc--none { color: var(--mu); font-weight: 400; text-decoration: none; }
@container jpi (max-width: 640px) { .jpi .jpi-doc { margin-left: 16px; } } .jpi-step__st i { font-style: normal; font-weight: 700; color: var(--o); }
.jpi-step__st i.ok { color: var(--g); } .jpi .jpi-quit { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1.5px solid #d6e2ec; border-radius: 99px; padding: 4px 12px; font: 600 13px var(--fb); color: var(--b); cursor: pointer; box-shadow: none; transition: all .2s; }
.jpi .jpi-quit:hover { border-color: var(--o); color: var(--o); background: var(--ol); }
.jpi .jpi-quit:focus-visible { outline: 3px solid var(--t); outline-offset: 2px; }
.jpi .jpi-locked__msg { display: flex; gap: 10px; align-items: flex-start; text-align: left; background: var(--bl); border-radius: 12px; padding: 12px 16px; color: var(--b); }
.jpi .jpi-locked__msg .jpi-ico { color: var(--t); margin-top: 2px; }
@container jpi (max-width: 640px) { .jpi .jpi-quit { width: 100%; justify-content: center; } } .jpi .jpi-fixed--locked { border-style: dashed; }
.jpi .jpi-form-err--box { background: #fff1ef; border: 1.5px solid #f3c2bb; border-radius: 12px; padding: 12px 16px; text-align: left; }
.jpi .jpi-prefill { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; background: #eef8f2; border: 1.5px solid #cfe9da; border-radius: var(--rs); padding: 14px 16px; margin: 0 0 18px; font-size: 15px; }
.jpi .jpi-prefill > .jpi-ico { color: var(--g); margin-top: 2px; }
.jpi .jpi-prefill > div { flex: 1; min-width: 220px; } .jpi .jpi-invite { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, #eef6f8, #fff); border: 1.5px solid var(--line); border-left: 5px solid var(--b); border-radius: var(--rs); padding: 16px 18px; margin: 0 0 20px; animation: jpi-in .5s ease both; }
.jpi .jpi-invite > .jpi-ico { color: var(--b); flex: none; }
.jpi .jpi-invite > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jpi .jpi-invite__k { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--o); }
.jpi .jpi-invite strong { font: 700 20px/1.25 var(--fh); color: var(--b); }
.jpi .jpi-invite em { font-style: normal; color: var(--g); font-size: 14.5px; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }