.pd-auth-page{margin:0;background:#f8f9f6;color:#293129;font:14px/1.6 Inter,"Segoe UI",Arial,sans-serif;min-height:100vh;-webkit-font-smoothing:antialiased}
.pd-auth-page *{box-sizing:border-box}
.pd-auth-wrap{width:min(460px,100% - 32px);margin:0 auto;padding:52px 0 32px}
.pd-auth-brand{display:flex;justify-content:center;align-items:center;min-height:52px;margin-bottom:25px;font-size:20px;font-weight:700;letter-spacing:-.5px;color:#384533;text-decoration:none}
.pd-auth-brand img{max-width:220px;max-height:64px;width:auto;height:auto;object-fit:contain}
.pd-auth-header{position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px;padding:0 8px}
.pd-auth-header .pd-auth-brand{min-width:0;margin:0;padding:0}
.pd-auth-language{position:relative;flex:0 0 auto}
.pd-auth-language>summary{display:flex;align-items:center;gap:9px;min-height:43px;max-width:260px;padding:9px 12px;border:1px solid #dfe4da;border-radius:12px;background:#fff;color:#4c5b50;box-shadow:0 5px 18px #2431210a;cursor:pointer;list-style:none;font-size:12px;font-weight:650;line-height:1.2}
.pd-auth-language>summary::-webkit-details-marker{display:none}.pd-auth-language>summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pd-auth-language-icon{width:18px;height:18px;flex:0 0 18px}.pd-auth-language-chevron{width:15px;height:15px;flex:0 0 15px;transition:transform .18s}.pd-auth-language[open] .pd-auth-language-chevron{transform:rotate(180deg)}
.pd-auth-language>summary:hover,.pd-auth-language>summary:focus-visible,.pd-auth-language[open]>summary{border-color:#c9d3c4;background:#f7f9f4;color:#29483a}.pd-auth-language>summary:focus-visible,.pd-auth-language-menu button:focus-visible{outline:2px solid #647852;outline-offset:3px}
.pd-auth-language-menu{position:absolute;z-index:30;top:calc(100% + 8px);right:0;width:max-content;min-width:210px;max-width:min(310px,calc(100vw - 32px));max-height:min(340px,60vh);overflow:auto;padding:8px;border:1px solid #dfe4da;border-radius:13px;background:#fff;box-shadow:0 18px 46px #24312122}
.pd-auth-language-menu form{margin:0}.pd-auth-language-menu button{display:block;width:100%;min-height:41px;margin:0;padding:9px 11px;border:0;border-radius:8px;background:transparent;color:#3d5044;text-align:left;font:600 12px/1.4 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer}.pd-auth-language-menu button:hover,.pd-auth-language-menu button[aria-current=true]{background:#edf3ed;color:#204233}
.pd-auth-page .pd-auth-card{padding:34px;border:1px solid #e4e7dd;background:#fff;border-radius:24px;box-shadow:0 18px 65px #24312108}
.pd-auth-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#f2f4eb;color:#657458;margin-bottom:22px}
.pd-auth-mark svg{width:23px;height:23px}
.pd-auth-page .pd-auth-card h1{font-size:27px;line-height:1.2;letter-spacing:-.8px;margin:0 0 10px;font-weight:700;color:#293129}
.pd-auth-intro{margin:0 0 24px;color:#78816e}
.pd-auth-page .pd-auth-card label{display:block;font-size:12px;font-weight:600;margin:16px 0 7px}
.pd-auth-page .pd-auth-card input:not([type=hidden]):not([type=checkbox]){display:block;width:100%;min-height:46px;background:#fff;color:#293129;border:1px solid #dce1d5;border-radius:10px;padding:10px 12px;font:inherit;font-size:14px;line-height:1.5;box-shadow:none}
.pd-auth-page .pd-auth-card input:focus{border-color:#7a8b69;outline:2px solid #e4eadb;outline-offset:2px}
.pd-auth-page .pd-auth-card button{display:block;width:100%;min-height:46px;padding:12px 16px;margin-top:24px;background:#d04e3c;color:#fff;border:0;border-radius:11px;font-size:13px;line-height:1.5;font-weight:600;cursor:pointer}
.pd-auth-page .pd-auth-card button:hover,.pd-auth-page .pd-auth-card button:focus{background:#b63e2e;color:#fff}
.pd-auth-page .pd-auth-card a{color:#5e7050;text-decoration:none;font-size:12px}
.pd-auth-page .pd-auth-card a:hover{text-decoration:underline}
.pd-auth-page .pd-auth-card :is(button,a):focus-visible{outline:2px solid #647852;outline-offset:3px}
.pd-auth-page .pd-auth-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px;flex-wrap:wrap}
.pd-auth-page .pd-auth-options label{display:flex;align-items:center;gap:6px;margin:0;font-weight:400}
.pd-auth-page .pd-auth-options input{width:16px;height:16px;accent-color:#657458}
.pd-auth-page .pd-auth-links{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:24px}
.pd-auth-error,.pd-auth-notice{padding:12px 14px;margin:20px 0;border-radius:10px;font-size:13px;overflow-wrap:anywhere}
.pd-auth-error{background:#fff0ed;border:1px solid #f0c8bd;color:#9a3828}
.pd-auth-notice{background:#eef5e8;border:1px solid #ceddc0;color:#435f32}
@media(max-width:480px){.pd-auth-wrap{padding-top:28px}.pd-auth-page .pd-auth-card{padding:25px 22px}.pd-auth-page .pd-auth-card h1{font-size:24px}}

/* Split authentication layout; form semantics and endpoints remain server-rendered. */
.pd-auth-wrap{width:min(1100px,100% - 48px);padding:32px 0}
.pd-auth-brand{justify-content:flex-start;margin:0 0 26px;padding-left:8px}
.pd-auth-layout{display:grid;grid-template-columns:1.05fr 1fr;align-items:stretch;gap:22px}
.pd-auth-page .pd-auth-card{align-self:center;margin:20px 0;padding:48px 44px;border-color:transparent;box-shadow:none;background:transparent}
.pd-auth-page .pd-auth-card h1{font-size:32px;letter-spacing:-1px}
.pd-auth-page .pd-auth-card input:not([type=hidden]):not([type=checkbox]){min-height:50px;border-radius:12px}
.pd-auth-page .pd-auth-card button{min-height:50px;border-radius:12px}
.pd-auth-page .pd-auth-card a{font-size:13px}
.pd-auth-page .pd-auth-links{border-top:1px solid #e4e7dd;padding-top:23px}
@media(max-width:700px){.pd-auth-wrap{width:calc(100% - 32px);padding:20px 0}.pd-auth-header{margin-bottom:18px;padding:0}.pd-auth-brand{min-height:43px}.pd-auth-brand img{max-height:48px;max-width:160px}.pd-auth-language>summary{max-width:180px}.pd-auth-language>summary span{max-width:110px}.pd-auth-layout{grid-template-columns:minmax(0,1fr);gap:4px}.pd-auth-page .pd-auth-card{padding:28px 10px;margin:0}.pd-auth-page .pd-auth-card h1{font-size:27px}}

/* Registration uses the same standalone frame as login, with room for all fields. */
.pd-registration-page .pd-registration-layout{grid-template-columns:1.05fr 1fr;gap:22px}
.pd-registration-page .pd-registration-layout>.pd-auth-visual{padding:46px 38px;top:32px}
.pd-registration-page .pd-registration-layout>.pd-auth-visual h2{font-size:clamp(32px,3.5vw,52px);letter-spacing:-1.5px}
.pd-registration-page .pd-registration-layout>.pd-auth-visual .pd-connection-art{display:block;transform:none}
.pd-registration-page .pd-registration-layout>.pd-registration-card{align-self:start;padding:0 44px 48px;margin:0;border:0;box-shadow:none;border-radius:0;background:transparent}
.pd-registration-page .pd-registration-heading{padding:0;margin-bottom:28px;border:0}
.pd-registration-page .pd-registration-heading h1{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:10px 0 14px;color:#293129;font-weight:700}
.pd-registration-page .pd-registration-heading a{color:#5e7050}
.pd-registration-page .pd-edit-form{gap:22px 16px}
.pd-registration-page .pd-edit-form input:not([type=checkbox]),.pd-registration-page .pd-edit-form select{min-height:50px;border-radius:12px}
.pd-registration-page .pd-edit-form>[type=submit]{width:100%;grid-column:1/-1;min-height:50px}
@media(max-width:700px){.pd-registration-page .pd-registration-layout{grid-template-columns:minmax(0,1fr);gap:4px}.pd-registration-page .pd-registration-layout>.pd-auth-visual{position:relative;top:auto;padding:26px}.pd-registration-page .pd-registration-layout>.pd-auth-visual h2{font-size:34px;margin:15px 0}.pd-registration-page .pd-registration-layout>.pd-auth-visual .pd-connection-art{transform:scale(.65)}.pd-registration-page .pd-registration-layout>.pd-registration-card{padding:28px 10px;margin:0}.pd-registration-page .pd-registration-heading h1{font-size:27px}}

/* Quiet dating motifs and a warm form surface shared by login and registration. */
.pd-auth-page{position:relative;isolation:isolate;overflow-x:hidden;background:radial-gradient(circle at 88% 16%,#e7c9b72b 0,transparent 30%),radial-gradient(circle at 9% 86%,#afc1aa30 0,transparent 28%),#f8f9f6}
.pd-auth-page::before,.pd-auth-page::after{content:"";position:fixed;z-index:0;width:270px;height:430px;pointer-events:none;background:url('../images/sidebar-pattern.svg') center/100% auto no-repeat}
.pd-auth-page::before{left:-24px;bottom:-18px;opacity:.86}
.pd-auth-page::after{right:-18px;top:54px;opacity:.45;transform:rotate(180deg)}
.pd-auth-wrap{position:relative;z-index:1}
.pd-auth-page .pd-auth-card{background:linear-gradient(145deg,#fffdf9fa,#f8f0e8f2);border:1px solid #d8c7b845;border-radius:28px;box-shadow:0 26px 72px #513f3420,inset 0 1px #ffffffd9}
.pd-registration-page .pd-registration-layout>.pd-registration-card{padding:40px 44px 48px;background:linear-gradient(145deg,#fffdf9fa,#f8f0e8f2);border:1px solid #d8c7b845;border-radius:28px;box-shadow:0 26px 72px #513f3420,inset 0 1px #ffffffd9}
.pd-auth-page .pd-auth-card input:-webkit-autofill,.pd-auth-page .pd-auth-card input:-webkit-autofill:hover,.pd-auth-page .pd-auth-card input:-webkit-autofill:focus{-webkit-text-fill-color:#293129;-webkit-box-shadow:0 0 0 1000px #fff inset;box-shadow:0 0 0 1000px #fff inset;caret-color:#293129}
@media(max-width:700px){.pd-auth-page::before,.pd-auth-page::after{width:190px;height:304px;opacity:.38}.pd-auth-page::before{left:-74px;bottom:-30px}.pd-auth-page::after{right:-76px;top:92px}.pd-auth-layout,.pd-registration-page .pd-registration-layout{gap:14px}.pd-auth-page .pd-auth-card{padding:28px 22px;border-radius:22px}.pd-registration-page .pd-registration-layout>.pd-registration-card{padding:28px 20px 32px;border-radius:22px}}
