@font-face{font-family:Fredoka;src:url('assets/fredoka-latin.woff2') format('woff2');font-style:normal;font-weight:300 700;font-display:swap}
.head .nav>a,.head>.actions>.btn,.account-menu .mobile-menu-link{font-family:Fredoka,ui-rounded,system-ui,sans-serif;font-weight:500;font-size:17px;letter-spacing:.01em}
body:has(.auth-stage){background:#faf8f3}
body:has(.auth-stage) #main{width:min(1240px,94%);padding-top:30px;padding-bottom:42px}
.auth-stage{position:relative;isolation:isolate;padding:32px;border-radius:38px;background:radial-gradient(ellipse at 8% 5%,#f3b9b675,transparent 55%),radial-gradient(ellipse at 94% 15%,#c7dbc6c4,transparent 60%),linear-gradient(135deg,#fae8e2,#f7f4eb 60%,#ecf0e5);overflow:hidden}
.auth-stage:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#fff3 1px,transparent 1px),linear-gradient(90deg,#fff3 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(#0008,transparent 70%)}
.auth-card{display:grid;grid-template-columns:1.04fr 1fr;gap:18px;padding:18px;background:#fff9;border:1px solid #ffffffdb;border-radius:28px;box-shadow:0 18px 54px #4d433413;min-height:0}
.auth-main{padding:28px 34px 25px;min-width:0;align-self:center}
.auth-brand{display:inline-block;margin-bottom:38px}.auth-brand img{width:138px;display:block}
.auth-heading{margin-bottom:26px}.auth-kicker{display:block;font-size:10px;letter-spacing:.16em;font-weight:650;color:#68756c;margin-bottom:10px}
.auth-heading h1{font-family:Fredoka,ui-rounded,system-ui,sans-serif;font-size:clamp(30px,3vw,40px);font-weight:500;letter-spacing:-.025em;line-height:1.12;margin:0 0 12px}
.auth-heading p{color:#677169;font-size:14px;line-height:1.65;margin:0}
.auth-main .form{gap:16px}.auth-main .form label{font-size:13px;font-weight:500;gap:7px;color:#39463f}
.auth-main .form input:not([type=checkbox]),.auth-main .form select{border:1px solid #dce0d6;background:#fffdfad9;border-radius:28px;min-height:50px;padding:12px 18px;font-size:14px;box-shadow:inset 0 2px 4px #4d534105}
.auth-main .form select{padding-right:30px}.auth-main .form input:focus,.auth-main .form select:focus{outline:2px solid #32634f;outline-offset:3px}
.auth-password{position:relative}.auth-main .auth-password input{padding-right:16px!important}.auth-reveal{position:absolute;right:7px;bottom:5px;min-height:40px;width:40px;height:40px;padding:10px;border:0;background:transparent;color:#6b756d;border-radius:50%}.auth-reveal svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
.auth-password-hint{font-size:11px;color:#687169;line-height:1.6;margin:-7px 4px 0}.auth-help{text-align:right;margin-top:-8px}.auth-help button{font-weight:400;font-size:12px;min-height:32px;padding:0;color:#536459}
.auth-main .primary{background:#2d5d4b;border:1px solid #2d5d4b;color:white;min-height:50px;border-radius:30px;font-weight:600;font-size:14px;display:flex;align-items:center;justify-content:center;width:100%;box-shadow:0 5px 12px #2d5d4b12}
.auth-main .primary:hover{background:#214a3a}.auth-switch{text-align:center;font-size:12px;color:#687169;margin:24px 0 0}.auth-switch a{color:#a9343d;font-weight:600;margin-left:4px}.auth-main .link{font-weight:400}
.auth-story{position:relative;display:flex;flex-direction:column;overflow:hidden;min-width:0;padding:35px 30px 24px;border-radius:20px;background:radial-gradient(ellipse at 90% 0,#f7d7ce 0,transparent 60%),linear-gradient(150deg,#ebcfc1,#e2e6ce 56%,#c7dbc7);color:#2c4637}
.auth-tag{display:flex;gap:8px;align-items:center;font-size:10px;color:#52614f}.auth-tag i{width:6px;height:6px;border-radius:50%;background:#467658;flex-shrink:0}
.auth-story h2{position:relative;z-index:1;font-family:Fredoka,ui-rounded,sans-serif;font-weight:500;font-size:clamp(32px,3.9vw,50px);line-height:1.08;letter-spacing:-.025em;margin:38px 0 18px}.auth-story h2 span{color:var(--partnera-sage)}.auth-story>p{font-size:12px;line-height:1.75;margin:0;position:relative;z-index:1}
.auth-art{position:relative;height:184px;flex:1;min-height:150px;margin:4px -12px 8px}.auth-orbit{position:absolute;width:168px;height:103px;border:21px solid;border-radius:90px;top:45px;left:calc(50% - 132px);transform:rotate(-35deg)}.orbit-one{border-color:#ef8f83;box-shadow:inset 2px 4px 6px #ffffff50,0 5px 15px #705e4b0b}.orbit-two{left:calc(50% - 30px);top:51px;border-color:#799d80;transform:rotate(-35deg)}.orbit-one:after{content:"";position:absolute;width:46px;height:28px;right:-18px;top:16px;border-top:21px solid #ef8f83;transform:rotate(0deg);z-index:2}.auth-dot{position:absolute;border-radius:50%;background:#fcf8eb;box-shadow:0 2px 5px #43543a0b}.dot-one{width:15px;height:15px;left:30px;top:35px}.dot-two{width:8px;height:8px;right:12%;top:32px}.dot-three{width:12px;height:12px;right:30px;bottom:30px}.auth-art-label{position:absolute;background:#fff9;border:1px solid #fffb;padding:7px 12px;border-radius:16px;font-size:10px;color:#475d4d;z-index:3}.label-one{top:28px;left:0;transform:rotate(-6deg)}.label-two{right:0;bottom:19px;transform:rotate(5deg)}
.auth-story-note{display:flex;gap:14px;align-items:center;padding:20px;background:#fffc;border-radius:18px;position:relative}.auth-note-icon{font-size:22px;color:#5a7c61;align-self:flex-start}.auth-story-note h3{font-family:Fredoka,sans-serif;font-size:18px;font-weight:400;letter-spacing:-.02em;line-height:1.2;margin:0 0 7px}.auth-story-note p{font-size:11px;line-height:1.5;margin:0;color:#6c7469}
.auth-mail-symbol{display:grid;place-items:center;width:54px;height:54px;background:#e4ecdf;border-radius:18px;color:#365d44;font-size:28px;margin-bottom:26px}.auth-email{overflow-wrap:anywhere;font-weight:600;font-size:14px}.auth-email-note{color:#626e63;font-size:12px;line-height:1.6;margin:22px 0}.auth-main>p{font-size:14px;line-height:1.7}.auth-main .error{border-radius:14px;padding:10px 12px;background:#fff0ed}
@media(min-width:1500px){body:has(.auth-stage) #main{padding-top:48px}.auth-stage{padding:42px}.auth-main{padding-inline:50px}}
@media(max-width:900px){.auth-stage{padding:20px}.auth-card{gap:10px;padding:12px}.auth-main{padding:24px 16px}.auth-story{padding:28px 20px}.auth-story h2{font-size:38px}.auth-tag{font-size:9px}}
@media(max-width:720px){.head .nav>a,.head>.actions>.btn{font-size:15px}.auth-stage{padding:14px;border-radius:27px}.auth-card{grid-template-columns:1fr;padding:0;min-height:0;border-radius:21px}.auth-main{padding:27px 22px 30px}.auth-brand{margin-bottom:28px}.auth-brand img{width:124px}.auth-story{display:none}.auth-heading h1{font-size:33px}.auth-heading{margin-bottom:24px}body:has(.auth-stage) #main{padding-top:17px;padding-bottom:25px}.auth-main .form{gap:17px}.auth-switch{margin-top:24px}.auth-heading p{font-size:13px}}
@media(max-width:360px){.head .nav>a,.head>.actions>.btn{font-size:13px}.auth-stage{padding:9px}.auth-main{padding:25px 17px}.auth-heading h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){.auth-stage *{transition:none!important;animation:none!important}}
/* Override the older global heading/submit rules only inside authentication. */
#main .auth-heading h1{font-size:clamp(30px,3vw,40px)!important;font-weight:500}
#main .auth-main .primary{width:100%;justify-self:stretch;background:#2d5d4b;border-color:#2d5d4b;box-shadow:0 5px 12px #2d5d4b12}
#main .auth-main .primary:hover{background:#214a3a;border-color:#214a3a}
.auth-main .error:empty{display:none}
.auth-reveal{box-shadow:none}
body:has(.auth-stage) #main>.page-back{display:none}
.auth-main .coral-select-trigger{border:1px solid #dce0d6;background:#fffdfad9;border-radius:28px;min-height:50px;padding:12px 18px;font-size:14px;font-weight:400;box-shadow:none}
.auth-main .coral-select-trigger:focus-visible{outline:2px solid #32634f;outline-offset:3px}

/* Local review, second pass. Shared palette across authentication, home and plans. */
:root{--partnera-pastel:radial-gradient(ellipse at 90% 0,#f7d7ce 0,transparent 60%),linear-gradient(150deg,#ebcfc1,#e2e6ce 56%,#c7dbc7);--partnera-logo:#f94549;--partnera-sage:#8aa690;--partnera-pastel-soft:radial-gradient(ellipse at 90% 0,#f7d7cea3 0,transparent 60%),linear-gradient(150deg,#ebcfc1a3,#e2e6cea3 56%,#c7dbc7a3)}
.auth-main{align-self:start}.auth-brand{margin-bottom:28px}
.auth-main .auth-switch a,.auth-main .auth-switch button,.auth-support-prompt .link{color:var(--partnera-logo)}
.auth-socials{display:flex;justify-content:center;gap:15px;margin-top:22px}
.auth-socials .auth-social{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:9px;border-radius:50%;border:1px solid #ece8de;background:#fff;color:#252525;box-shadow:0 3px 6px #514e3814}
.auth-social svg{width:26px;height:26px}.auth-social:hover{transform:translateY(-2px)}.auth-social:focus-visible{outline:2px solid #2d5d4b;outline-offset:3px}
.auth-story{background:var(--partnera-pastel);padding-top:32px}
.auth-story h2{margin:0 0 20px;font-size:clamp(30px,3.2vw,41px);line-height:1.13}
.auth-story>p{font-size:13px}
.auth-art{min-height:278px;height:300px;flex:1;margin:7px -8px 14px;display:grid;place-items:center}
.auth-chain{position:relative;z-index:1;width:89%;max-width:330px;height:290px;object-fit:contain;transform:translateY(-16px);filter:saturate(.72) brightness(1.08) drop-shadow(18px 30px 13px #344c496b) drop-shadow(5px 9px 5px #344c3533)}
.auth-art-label{font-family:Fredoka,ui-rounded,sans-serif;font-size:17px;font-weight:500;line-height:1.15;padding:11px 15px;border-radius:18px;border:1px solid transparent;text-shadow:none;box-shadow:8px 14px 12px #41523933,2px 4px 4px #41523914;z-index:2}
.auth-art .label-one{left:auto;right:-2px;top:auto;bottom:44px;background:#f0c1b6;color:#39463f;transform:rotate(6deg)}
.auth-art .label-two{right:auto;left:-2px;top:32px;bottom:auto;background:color-mix(in srgb,var(--partnera-sage) 82%,#fffefa);color:#39463f;transform:rotate(-6deg)}
.auth-story-note{display:block;width:fit-content;max-width:100%;margin:2px auto 0;padding:16px 21px;text-align:center;border-radius:19px}
.auth-story-note h3{margin:0;font-size:19px;line-height:1.3}
.auth-waiting{scroll-margin-top:24px}.auth-support-prompt{line-height:1.7;margin:28px 0}.auth-support-prompt .link{display:inline;padding:0;min-height:0;font-weight:400;text-decoration:underline;text-underline-offset:3px}
.auth-delivery-status{font-size:12px!important;color:#646b63}
.homegrid .rolecard{background:var(--partnera-pastel-soft);background-color:#fffefa}
.auth-plan-grid>.plan{background-color:#fffefa;background-image:var(--partnera-pastel-soft);background-size:calc(300% + 36px) 100%;background-repeat:no-repeat}
.auth-plan-grid>.plan:nth-child(1){background-position:left top}.auth-plan-grid>.plan:nth-child(2){background-position:center top}.auth-plan-grid>.plan:nth-child(3){background-position:right top}
@media(max-width:900px){.auth-story h2{font-size:32px}.auth-art-label{font-size:14px;padding:10px 12px}.auth-chain{height:260px}}
@media(max-width:720px){.auth-plan-grid>.plan{background-size:100% calc(300% + 36px)}.auth-plan-grid>.plan:nth-child(2){background-position:left center}.auth-plan-grid>.plan:nth-child(3){background-position:left bottom}.auth-brand{margin-bottom:24px}.auth-socials{margin-top:20px}}

/* Compact authentication cards and tactile primary actions, local review. */
.head>.actions{gap:16px}
body:has(.auth-stage) #main{padding-top:18px;padding-bottom:24px}
.auth-stage{padding:22px}
.auth-card{padding:12px;gap:12px}
.auth-main{padding:20px 28px}
.auth-brand{margin-bottom:18px}.auth-brand img{width:124px}
.auth-heading{margin-bottom:18px}
#main .auth-heading h1{font-size:clamp(28px,2.7vw,34px)!important;margin-bottom:8px}
.auth-heading p{font-size:13px;line-height:1.55}
.auth-main .form{gap:12px}.auth-main .form label{gap:5px}
.auth-main .form input:not([type=checkbox]),.auth-main .form select,.auth-main .coral-select-trigger{min-height:44px;padding:9px 16px}
.auth-reveal{bottom:2px;right:4px}
.auth-password-hint{margin:-3px 4px 0;line-height:1.45}
.auth-help{margin-top:-6px}
#main .auth-main .primary{min-height:46px;background:linear-gradient(160deg,#427961,#2d5d4b 65%);border-color:#37644f;box-shadow:inset 0 2px 1px #ffffff45,inset 0 -2px 2px #1a3b2e33,0 4px 0 #204735,0 9px 13px #254b3429}
#main .auth-main .primary:hover{background:linear-gradient(160deg,#4a8169,#2d5d4b 65%);box-shadow:inset 0 2px 1px #ffffff50,0 4px 0 #204735,0 11px 16px #254b3438}
#main .auth-main .primary:not(:disabled):active{transform:translateY(3px);box-shadow:inset 0 1px 3px #173e3030,0 1px 0 #204735,0 4px 6px #254b3426}
.auth-socials{margin-top:16px}.auth-main .auth-switch{margin-top:16px;font-size:15px;line-height:1.55}.auth-main .auth-switch a{font-size:18px;display:inline-block;white-space:nowrap}
.auth-story{padding:26px 26px 20px}
.auth-story h2{font-size:clamp(28px,3vw,37px);margin-bottom:16px}
.auth-story>p{font-size:12px;line-height:1.65}
.auth-art{min-height:244px;height:260px;margin-top:7px;margin-bottom:10px}
.auth-chain{height:250px;max-width:290px}
.auth-art .label-two{top:32px}
.auth-story-note{padding:13px 18px}.auth-story-note h3{font-size:17px}
@media(max-width:900px){.auth-stage{padding:16px}.auth-main{padding:20px 16px}.auth-story{padding:24px 18px 18px}.auth-story h2{font-size:30px}.auth-chain{height:230px}.auth-art-label{font-size:14px;padding:10px 12px}}
@media(max-width:720px){.head>.actions>a[href="#connexion"]{display:inline-flex}.head>.actions{gap:12px}.auth-stage{padding:12px}.auth-card{padding:0}.auth-main{padding:22px}.auth-brand{margin-bottom:18px}.auth-main .form{gap:12px}.auth-heading{margin-bottom:18px}}
@media(max-width:360px){.auth-stage{padding:9px}.auth-main{padding:20px 16px}.head>.actions{gap:9px}.head>.actions>.btn{padding-inline:7px}}

/* Fit the main actions to their labels; keep the larger resend/support actions unchanged. */
#main .auth-main :is([data-form="login"],[data-form="register"])>.primary{width:fit-content;min-width:180px;max-width:100%;padding-inline:34px;justify-self:center}
.auth-heading:has(>h1:only-child){margin-bottom:16px}.auth-heading>h1:only-child{margin-bottom:0!important}
/* Fine paper grain sits behind the content and never intercepts input. */
.auth-stage:after,.auth-story:before{content:"";position:absolute;inset:0;pointer-events:none;background:url('assets/paper-grain.svg') repeat;background-size:160px 160px;opacity:.32;mix-blend-mode:soft-light}
.auth-stage:after{z-index:-1}.auth-story{isolation:isolate}.auth-story:before{z-index:-1}

/* A consistent vertical rhythm below the login title. */
.auth-main:has([data-form="login"]) .auth-heading{margin-bottom:22px}
.auth-main [data-form="login"]{gap:18px}
.auth-main [data-form="login"] .auth-help{margin-top:-4px;display:flex;justify-content:flex-end;height:24px}
.auth-main [data-form="login"] .auth-help button{min-height:24px}
.auth-main:has([data-form="login"]) .auth-socials{margin-top:26px}
.auth-main:has([data-form="login"]) .auth-switch{margin-top:22px}

/* Navigation framing and selected subscription category. */
.auth-plan-tabs{scroll-margin-top:12px}
#main .auth-plan-tabs .chip.active,#main .auth-plan-tabs .chip.active:hover,#main .auth-plan-tabs .chip.active:focus-visible{background:var(--partnera-pastel-soft);background-color:#fffefa;color:#39463f;border-color:#a6b6a4}
.auth-main [data-form="login"]>.primary{margin-top:-13px}

/* Keep Fredoka on home buttons; headings use the original site typography. */
body:has(#main>.homegrid) :is(button,.btn){font-family:Fredoka,ui-rounded,system-ui,sans-serif;font-weight:500}
/* 18px row gap + 20px label + 5px label gap = 43px between field outlines.
   Password to submit: 18 - 4 + 24 + 18 - 13 = the same 43px. */
.auth-main [data-form="login"] label{line-height:20px}
.auth-main .form input:is([type="email"],[type="password"]){border-color:#b9c3b6}

/* Shared pastel navigation and selected controls. */
:root{--selection-fade:var(--partnera-pastel-soft)}
header#header{background:var(--partnera-pastel-soft);background-color:#fffefa}
#main .chip.active,dialog .chip.active,.options input:checked+span{background:var(--partnera-pastel-soft);background-color:#fffefa;color:#39463f;border-color:#a6b6a4}
/* Focus réseau: narrow edge controls replace the separate arrow buttons. */
#slide{position:relative;touch-action:pan-y;margin-inline:-12px;padding:10px 24px;min-height:174px;overflow:hidden;border-radius:10px}
#slide .focus-content{pointer-events:none}
#slide .focus-content p{margin-bottom:0}
#slide .focus-edge{position:absolute;top:0;bottom:0;width:24px;height:100%;min-height:44px;padding:0;border:0;border-radius:0;box-shadow:none;background:linear-gradient(90deg,#39463f0c,transparent);color:#6e786fb3;opacity:0;transition:opacity .15s;transform:none}
#slide .focus-prev{left:0}#slide .focus-next{right:0;background:linear-gradient(270deg,#39463f0c,transparent)}
#slide:hover .focus-edge,#slide:focus-within .focus-edge{opacity:1}
#slide .focus-edge:focus-visible{outline:2px solid #32634f;outline-offset:-3px}
@media(hover:none){#slide .focus-edge{opacity:1;color:#39463f88;background:linear-gradient(90deg,#39463f08,transparent)}#slide .focus-next{background:linear-gradient(270deg,#39463f08,transparent)}}

/* Match the login entry to the adjacent account-menu surface. */
.head>.actions>a[href="#connexion"]{background:#eeece6}

/* Slightly stronger text and a restrained lift on the two home role cards. */
.homegrid .rolecard h2{color:#20251f}
.homegrid .rolecard p{color:#41483f}
.homegrid .rolecard .eyebrow{color:#4b5348}
.homegrid .rolecard{transition:transform .18s ease,box-shadow .18s ease}
@media(hover:hover) and (pointer:fine){.homegrid .rolecard:hover{transform:translateY(-3px);box-shadow:0 4px 8px #41302014,0 14px 28px -8px #41302040}}
@media(prefers-reduced-motion:reduce){.homegrid .rolecard{transition:none}.homegrid .rolecard:hover{transform:none}}

/* Search focus follows the outer pill instead of framing the text input. */
.searchbar input:focus,.searchbar input:focus-visible{outline:none}
.searchbar:focus-within{border-color:#98ad9b}

/* Light outline chevrons, independent of the button font weight. */
#slide .focus-edge svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}

/* Local auth feedback: keep errors next to the relevant controls. */
.auth-main .auth-field-feedback{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0;border:0}
.auth-password-hint .is-unmet{font-weight:600}
.auth-main [data-form="login"] .auth-help{height:auto;min-height:24px;align-items:baseline;gap:8px 14px;flex-wrap:wrap;text-align:left}
.auth-main .auth-login-error{color:#ab2d31;font-size:12px;line-height:1.5;flex:1 1 190px}
.auth-main .auth-login-error:empty{display:none}
.auth-main [data-form="login"] .auth-help button{margin-left:auto;white-space:nowrap}

.auth-password-check{display:inline-block;width:12px;height:12px;margin-left:5px;vertical-align:-2px;color:#2d5d4b}
.auth-password-check svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

@keyframes auth-email-shake{0%,100%{transform:translateX(0)}20%,60%{transform:translateX(-3px)}40%,80%{transform:translateX(3px)}}
.auth-main input.auth-email-shake{animation:auth-email-shake .3s ease-in-out}
@media(prefers-reduced-motion:reduce){.auth-main input.auth-email-shake{animation:none}}
