/* The previously approved UXAgent password dialog, scoped to this new modal.
   Existing local Urbanist/Inter fonts are reused. No page/card styles change. */
.packy-password-dialog,.packy-password-card{font-family:Inter,Arial,sans-serif;color:#20355a;box-sizing:border-box;text-align:left;letter-spacing:normal}
.packy-password-dialog *{box-sizing:border-box}
.packy-password-dialog{width:min(500px,calc(100% - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #d7e0ed;border-radius:22px;background:#fff;overflow:auto;box-shadow:0 30px 100px #07172b38}
.packy-password-dialog:not([open]){display:none}
.packy-password-dialog::backdrop{background:#0e2039b8;backdrop-filter:blur(7px)}
.packy-password-card{position:relative;padding:36px 38px 0;background:#fff;overflow:hidden;border-radius:inherit}
.packy-password-close{position:absolute;right:15px;top:15px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#f3f6fa;color:#53647f;cursor:pointer}
.packy-password-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.packy-password-card .packy-password-eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 10px;padding-right:28px;color:#586d8b;font-size:11px;font-weight:600;line-height:1.5;letter-spacing:.065em;text-transform:uppercase}
.packy-password-eyebrow>svg{width:17px;height:17px;flex-shrink:0;fill:none;stroke:#33548f;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.packy-password-card h2#packy-password-title{margin:0;color:#20355a;font-family:Urbanist,Inter,Arial,sans-serif;font-size:36px;line-height:1.1;letter-spacing:-.035em;font-weight:700}
.packy-password-card h2#packy-password-title span{color:#33548f}
.packy-password-card .packy-password-intro{margin:17px 0 0;max-width:36ch;color:#596a81;font-size:14px;line-height:1.7}
.packy-password-card .packy-password-project{margin:18px 0 20px;padding:0 0 0 10px;border-left:3px solid #11dcd1;color:#20355a;font-size:12px;font-weight:600;line-height:1.5}
.packy-password-dialog form{margin:0;padding:0}
.packy-password-dialog form>label{display:block;margin:0 0 8px;color:#20355a;font-size:12px;font-weight:600;line-height:1.5}
.packy-password-field{position:relative}
.packy-password-field input{display:block;width:100%;height:53px;margin:0;padding:12px 54px 12px 15px;border:1px solid #bac9df;border-radius:8px;box-shadow:none;background:#fff;color:#20355a;font:400 16px/1.4 Inter,Arial,sans-serif;letter-spacing:normal}
.packy-password-field input::placeholder{color:#8490a2;opacity:1}
.packy-password-field input[aria-invalid=true]{border-color:#53647f}
.packy-password-reveal{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:45px;height:45px;padding:0;border:0;border-radius:6px;background:transparent;color:#657795;cursor:pointer}
.packy-password-reveal svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.packy-password-error{min-height:0;margin:0;color:#20355a;font-size:12px;line-height:1.5}
.packy-password-error:not(:empty){margin:9px 0 0}
.packy-password-submit{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:52px;margin:14px 0 0;padding:14px 18px;border:1px solid #64cfc8;border-radius:8px;background:#11efe3;color:#163451;font:600 14px/1.4 Inter,Arial,sans-serif;text-align:left;cursor:pointer;box-shadow:0 5px 14px #20355a12}
.packy-password-submit svg,.packy-password-contact a svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.packy-password-submit:disabled{cursor:wait;opacity:.65}
.packy-password-card .packy-password-shared{display:flex;justify-content:center;align-items:center;gap:7px;margin:12px 0 24px;color:#6f7e92;font-size:10px;line-height:1.5}
.packy-password-shared svg{width:13px;height:13px;fill:none;stroke:#567498;stroke-width:1.8}
.packy-password-contact{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 -38px;padding:22px 38px;background:#f4f7fb;border-top:1px solid #e5ebf4}
.packy-password-contact p{margin:0;color:#20355a;font-size:12px;line-height:1.65;font-weight:600}
.packy-password-contact p span{color:#687a91;font-weight:400}
.packy-password-contact a{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:#28497b;font-size:12px;line-height:1.4;font-weight:600;text-decoration:underline;text-decoration-color:#b1c1da;text-underline-offset:4px;white-space:nowrap}
.packy-password-fallback{display:block;margin:0 -38px;padding:10px 38px 15px;background:#f4f7fb;color:#596a81;font:400 11px/1.5 Inter,Arial,sans-serif;text-underline-offset:3px}
.packy-password-dialog :focus-visible{outline:3px solid #099d98;outline-offset:3px}
@media(hover:hover){.packy-password-close:hover,.packy-password-reveal:hover{background:#eaf0f9}.packy-password-submit:hover{background:#62f5eb}}
@media(prefers-reduced-motion:no-preference){.packy-password-dialog[open]{animation:packy-password-enter 180ms cubic-bezier(.2,.8,.2,1)}.packy-password-submit{transition:background 140ms ease,transform 100ms ease}.packy-password-submit:active{transform:translateY(1px)}@keyframes packy-password-enter{from{opacity:0;transform:translateY(9px) scale(.985)}to{opacity:1;transform:none}}}
@media(max-width:540px){.packy-password-dialog{max-height:calc(100dvh - 24px);border-radius:18px}.packy-password-card{padding:28px 25px 0}.packy-password-card h2#packy-password-title{font-size:32px}.packy-password-card .packy-password-intro{font-size:13px}.packy-password-contact{margin:0 -25px;padding:18px 25px;gap:12px}.packy-password-contact p,.packy-password-contact a{font-size:11px}.packy-password-card .packy-password-project{margin-top:14px}.packy-password-close{width:40px;height:40px;right:11px;top:11px}.packy-password-fallback{margin:0 -25px;padding:8px 25px 15px}}
@media(max-height:720px) and (min-width:541px){.packy-password-card{padding-top:25px}.packy-password-card h2#packy-password-title{font-size:32px}.packy-password-contact{padding-top:16px;padding-bottom:16px}}
@media(forced-colors:active){.packy-password-dialog,.packy-password-card,.packy-password-field input,.packy-password-submit{border:1px solid CanvasText}}
