/* Scope: the connected home, its dialogs and the generic public home only. */
body:has(#customer-app:not(.hidden) #screen-home.ccu-home-v2.active) .brand-header{min-height:86px!important;overflow:visible!important;background:#fff!important;box-shadow:none!important;animation:none!important}
body:has(#customer-app:not(.hidden) #screen-home.ccu-home-v2.active) .brand-header::before,body:has(#customer-app:not(.hidden) #screen-home.ccu-home-v2.active) .brand-header::after{content:none!important}
body:has(#customer-app:not(.hidden) #screen-home.ccu-home-v2.active) .brand-header .brand-logo{width:94px!important;height:auto!important;max-height:90px;object-fit:contain;filter:none!important;animation:none!important;transform:none!important}
#screen-home.ccu-home-v2.active{margin:0!important;padding:0!important;background:#fff!important;color:#39464e!important;box-shadow:none!important;animation:none!important;isolation:auto!important}
#screen-home.ccu-home-v2::before,#screen-home.ccu-home-v2::after{content:none!important}
.ccu-home-v2,.ccu-public-home{font-family:Jost,sans-serif;font-weight:400;color:#39464e;font-size:16px;line-height:1.55}
#screen-home.ccu-home-v2>.hello{margin:0 0 15px!important;padding:0!important;font-size:16px!important;font-weight:400!important;color:#6f777c!important;text-shadow:none!important}
.home-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
:is(.ccu-home-v2,.ccu-public-home) .home-card{min-width:0;margin:0 0 18px;padding:19px 20px;border:1px solid #e2e5e6;border-top:3px solid #99cc99;border-radius:7px;background:#fff;box-shadow:0 3px 12px #39464e08}
:is(.ccu-home-v2,.ccu-public-home) .home-card h2,:is(.ccu-home-v2,.ccu-public-home) .home-section>h2{margin:0 0 12px;color:#39464e;font:500 22px/1.3 Jost,sans-serif;text-transform:none;letter-spacing:0}
#screen-home.ccu-home-v2 .home-card-trigger{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;margin:0 0 18px;padding:20px;text-align:left;color:#39464e;font-family:Jost,sans-serif;border:1px solid #e2e5e6;border-top:3px solid #99cc99;border-radius:7px;background:#fff;box-shadow:0 3px 12px #39464e08;cursor:pointer}
.home-card-trigger strong{display:block;font-size:23px;line-height:1.25;font-weight:500}.home-card-trigger small{display:block;margin-top:5px;color:#6f777c;font-size:15px;font-weight:400}
.home-card-trigger svg{width:45px;height:45px;flex:0 0 auto;color:#39464e}
.home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 24px}
#screen-home.ccu-home-v2 .home-shortcuts button{min-width:0;min-height:75px;padding:12px 9px;border:1px solid #e2e5e6;border-top:2px solid #99cc99;border-radius:6px;background:#fff;color:#39464e;font:400 16px/1.3 Jost,sans-serif;text-align:center;white-space:normal;box-shadow:none}
#screen-home.ccu-home-v2 .home-shortcuts button:last-child{border-top-color:#cc3366}.home-shortcuts small{display:block;color:#6f777c;font-size:14px;margin-top:4px}
:is(.ccu-home-v2,.ccu-public-home) .home-gang-card{border-top-color:#cc3366}
.home-muted{margin:4px 0 12px;color:#6f777c;font-size:14px}.home-offers{list-style:none;padding:0;margin:12px 0 15px;display:grid;gap:10px}.home-offers li{padding:0 0 10px;border-bottom:1px solid #edf0f1;display:grid;gap:2px}.home-offers li:last-child{border:0;padding-bottom:0}.home-offers strong{font-weight:500;font-size:18px}.home-offers span{font-size:14px;color:#6f777c}
.ccu-home-v2 .home-inline-link,.ccu-public-home .home-inline-link{display:inline-block;color:#ad214f;font:400 15px/1.5 Jost,sans-serif;text-decoration:underline;text-underline-offset:4px;min-height:34px;padding:5px 0}
.home-section{margin:26px 0}.home-editorial{display:grid;grid-template-columns:150px minmax(0,1fr);gap:0;overflow:hidden;align-items:stretch;border:1px solid #e2e5e6;border-top:3px solid #99cc99;border-radius:7px;color:#39464e!important;text-decoration:none;background:#fff}
.home-editorial img{display:block;width:100%;height:100%;min-height:140px;max-height:220px;object-fit:cover}.home-editorial-copy{display:block;padding:17px 18px}.home-kicker{display:block;color:#6f777c;font-size:13px;margin-bottom:7px}.home-editorial h3{font:500 19px/1.3 Jost,sans-serif;text-transform:none;letter-spacing:0;margin:0 0 10px;color:#39464e}.home-editorial-copy>span:last-child{font-size:14px;color:#ad214f}
.home-service-links{display:flex;gap:8px 18px;flex-wrap:wrap;margin:14px 0}.home-service-links a{font:400 15px/1.4 Jost,sans-serif;color:#39464e;text-decoration:underline;text-underline-offset:4px;padding:5px 0;min-height:34px}
.home-brand-panel{position:relative;display:flex;align-items:center;min-height:145px;margin:24px 0;padding:20px;overflow:hidden;border-radius:7px;background:#99cc99;color:#2d3b36}
.home-brand-panel>div{position:relative;z-index:1;max-width:55%}.home-brand-panel h2{font:500 21px/1.25 Jost,sans-serif!important;margin:0 0 10px!important;color:#2d3b36!important;text-transform:none!important}.home-brand-panel a{font:400 14px/1.4 Jost,sans-serif;color:#2d3b36!important;text-underline-offset:4px}.home-brand-panel>img{position:absolute;right:0;bottom:0;display:block;width:47%;height:145px;object-fit:contain;object-position:right bottom}
.home-dialog{width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px - env(safe-area-inset-bottom,0px));overflow:auto;box-sizing:border-box;padding:24px;border:1px solid #e2e5e6;border-radius:8px;background:#fff;color:#39464e;font:400 16px/1.5 Jost,sans-serif;box-shadow:0 12px 40px #39464e25}
.home-dialog::backdrop{background:#25333a66}.home-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.home-dialog-header h2{font:500 23px/1.3 Jost,sans-serif!important;margin:0!important;text-transform:none!important}.home-dialog-close{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #e2e5e6;border-radius:50%;background:#fff;color:#39464e;font:400 27px/1 Jost,sans-serif;flex:0 0 auto}
#screen-home.ccu-home-v2 .home-dialog .loyalty-qr-wrap{width:100%;text-align:center}#screen-home.ccu-home-v2 #loyalty-qr{display:block;width:100%;max-width:290px;min-height:120px;margin:12px auto;background:#fff;padding:8px}#screen-home.ccu-home-v2 #loyalty-qr svg{display:block;width:100%;height:auto;max-height:none;max-width:100%}#screen-home.ccu-home-v2 .home-dialog .loyalty-card-code{font-size:13px;letter-spacing:.02em;overflow-wrap:anywhere}
#screen-home.ccu-home-v2 .home-dialog #home-wallet{margin:0;padding:16px;border:0;border-top:3px solid #99cc99;border-radius:5px;background:#f7f7f7!important;box-shadow:none!important;overflow:visible;color:#39464e!important}#screen-home.ccu-home-v2 .home-dialog #home-wallet>span{font-size:16px;font-weight:400;text-transform:none}#screen-home.ccu-home-v2 .home-dialog #home-wallet strong{font:500 38px/1.3 Jost,sans-serif;color:#39464e!important}#screen-home.ccu-home-v2 .home-dialog #home-wallet small{font-size:13px}
#screen-home.ccu-home-v2 .home-dialog #home-wallet .button{font:500 16px/1.4 Jost,sans-serif;background:#cc3366!important;color:#fff!important;box-shadow:none!important;border-color:#cc3366!important;white-space:normal;padding:12px}
.ccu-home-v2 [hidden],.ccu-public-home [hidden]{display:none!important}.ccu-home-v2 button:focus-visible,.ccu-home-v2 a:focus-visible,.ccu-public-home a:focus-visible{outline:3px solid #39464e;outline-offset:4px}
@media(max-width:560px){.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.home-editorial{grid-template-columns:110px minmax(0,1fr)}.home-editorial-copy{padding:14px}.home-editorial h3{font-size:18px}.home-editorial img{max-height:240px}.home-brand-panel{min-height:135px}.home-brand-panel>img{height:135px}.home-brand-panel h2{font-size:20px!important}}
@media(max-width:350px){.home-editorial{grid-template-columns:1fr}.home-editorial img{height:130px;min-height:0;object-position:center}.home-brand-panel{padding:16px}.home-brand-panel h2{font-size:18px!important}.home-dialog{padding:18px}.home-card-trigger strong{font-size:21px}}
.services-layout-v2 .services-cat-catalogue{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:70px;margin:18px 0 4px;padding:16px;border:1px solid #dce5df;border-top:3px solid #99cc99;border-radius:6px;background:#f2f8f3;color:#39464e;font:500 19px/1.3 Jost,sans-serif;text-align:left;box-shadow:0 3px 10px #39464e08}
.services-layout-v2 .services-list{gap:4px;padding-top:14px}
.services-layout-v2 .services-list>button,.services-layout-v2 .services-group{min-width:0;border:0;border-bottom:1px solid #e2e5e6;border-radius:0;background:#fff;box-shadow:none}
.services-layout-v2 .services-list button{width:100%;padding:14px 10px;min-height:48px;font:400 17px/1.35 Jost,sans-serif;text-align:left;color:#39464e;background:#fff;white-space:normal}
.services-layout-v2 .services-list button[aria-current="page"]{background:#fff1f5;color:#ad214f;border-color:#e2e5e6}
.services-layout-v2 .services-group summary{padding:14px 10px;min-height:50px;color:#39464e;font:500 18px/1.3 Jost,sans-serif;cursor:pointer}
.services-layout-v2 .services-group summary::marker{color:#ad214f}
.services-layout-v2 .services-group>div{display:grid;padding:0 8px 8px 20px}
.services-layout-v2 .services-group>div>button{border:0;border-left:2px solid #99cc99;border-radius:0;padding-left:14px;font-size:16px;background:#f7f7f7}
.services-layout-v2 .services-profile-link{display:block;margin:18px 0 0;padding:8px 10px;min-height:40px;border:0;background:transparent;color:#6f777c;font:400 14px/1.4 Jost,sans-serif;text-align:left;text-decoration:underline;text-underline-offset:4px}
.services-layout-v2>nav[aria-label="Découvrir les services publics"]{gap:6px!important;padding:14px 10px 0!important;font:400 13px/1.4 Jost,sans-serif}
.services-layout-v2 button:focus-visible,.services-layout-v2 summary:focus-visible{outline:3px solid #39464e;outline-offset:2px}
.ccu-public-home .home-public-intro{margin:0 0 23px;font:400 17px/1.6 Jost,sans-serif;color:#39464e}
:is(.ccu-home-v2,.ccu-public-home) .home-explore{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0;padding:0}
:is(.ccu-home-v2,.ccu-public-home) .home-explore li{padding:13px 0;border-bottom:1px solid #e2e5e6;min-width:0}
:is(.ccu-home-v2,.ccu-public-home) .home-explore li>a{font:500 17px/1.4 Jost,sans-serif;color:#39464e;text-underline-offset:4px}
:is(.ccu-home-v2,.ccu-public-home) .home-explore p{margin:4px 0 0;color:#6f777c;font:400 14px/1.5 Jost,sans-serif}
:is(.ccu-home-v2,.ccu-public-home) .home-explore p>a{color:#39464e}
@media(max-width:560px){:is(.ccu-home-v2,.ccu-public-home) .home-explore{grid-template-columns:1fr}}
.services-layout-v2 .services-entry-title{display:block;font:400 18px/1.3 Jost,sans-serif}
.services-layout-v2 .services-list button small,.services-layout-v2 .services-profile-link small{display:block;margin-top:4px;color:#6f777c;font:400 13px/1.4 Jost,sans-serif;text-decoration:none}
.services-layout-v2 .services-profile-link{padding:14px 10px;border-top:1px solid #e2e5e6;text-decoration:none}
.services-layout-v2 .services-profile-link .services-entry-title{font-size:16px;text-decoration:underline;text-underline-offset:4px}
.services-layout-v2 .services-list .services-secondary .services-entry-title{font-size:16px;color:#6f777c}
.home-wallet-movements{margin-top:22px;border-top:1px solid #e2e5e6;padding-top:14px}
.home-wallet-movements h3{font:500 18px/1.3 Jost,sans-serif;margin:0 0 12px;text-transform:none}
.home-movements-list{list-style:none;margin:0;padding:0}.home-movements-list li{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #edf0f1;font-size:14px}.home-movements-list strong{font-weight:500;white-space:nowrap}
.services-layout-v2 .services-list>button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 10px}
.services-layout-v2 .services-entry-title{min-width:0;font-size:16px;white-space:nowrap}
.services-layout-v2 .services-entry-badge{min-width:0;max-width:46%;color:#6f777c;font:400 12px/1.3 Jost,sans-serif;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.services-layout-v2 .services-entry-badge:empty{display:none}.services-layout-v2 .services-profile-link{font-size:16px}


@media(max-width:350px){.services-layout-v2 .services-entry-title{font-size:15px}.services-layout-v2 .services-entry-badge{font-size:11px}}
:is(.ccu-home-v2,.ccu-public-home) .home-explore li{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px}
:is(.ccu-home-v2,.ccu-public-home) .home-explore h2{font:400 18px/1.3 Jost,sans-serif!important;margin:0!important;min-width:0}
:is(.ccu-home-v2,.ccu-public-home) .home-explore li>a{font:400 13px/1.35 Jost,sans-serif;white-space:nowrap;color:#ad214f}
.ccu-home-v2 .home-feature-button{padding:4px 0;min-height:40px;border:0;background:transparent;color:#39464e;font:inherit;text-align:left}
.breed-search-widget{margin:16px 0;min-width:0}.breed-search-widget>p{font-size:15px;line-height:1.5}.breed-search-widget input{width:100%;min-height:48px;box-sizing:border-box}
.breed-suggestions{list-style:none;margin:8px 0;padding:0;max-height:260px;overflow:auto}.breed-suggestions:empty{display:none}.breed-suggestions li{margin:0;border-bottom:1px solid #e2e5e6}.breed-suggestions button{display:block;width:100%;min-height:44px;padding:10px 12px;border:0;background:#f7f7f7;color:#39464e;font:400 16px/1.4 Jost,sans-serif;text-align:left}.breed-suggestions [aria-selected=true] button{background:#fff1f5;color:#ad214f}
#directory-breed-next{width:100%;margin-top:18px}.public-directory-form .public-breed-back{display:block;border:0;background:transparent;color:#39464e;text-decoration:underline;font-size:14px;padding:6px 0;margin-bottom:12px}

/* Reprise des composants existants : Poppins pour le texte, Jost pour les titres. */
#screen-home.ccu-home-v2{font-family:Poppins,"Trebuchet MS",sans-serif;font-size:14px;line-height:1.6}
#screen-home.ccu-home-v2>.hello{margin:2px 0 18px!important;color:var(--pink)!important;font:600 20px/1.3 Jost,sans-serif!important}
body:has(#customer-app:not(.hidden) #screen-home.ccu-home-v2.active) .brand-header{min-height:96px!important;margin-bottom:24px;padding-block:12px}
body:has(#customer-app:not(.hidden) #screen-home.ccu-home-v2.active) .brand-header .brand-logo{width:122px!important;max-height:90px}
#screen-home.ccu-home-v2 .home-wallet-entry{display:grid;gap:4px;width:100%;margin:0 0 18px;padding:24px;text-align:left;border:0;border-radius:4px;color:var(--ink);background:var(--green-soft);box-shadow:var(--shadow);cursor:pointer}
#screen-home.ccu-home-v2 .home-wallet-entry>span{font:600 18px/1.3 Jost,sans-serif}
#screen-home.ccu-home-v2 .home-wallet-entry>strong{display:block;min-height:58px;font:700 46px/1.25 Jost,sans-serif;color:var(--pink);font-variant-numeric:tabular-nums}
#screen-home.ccu-home-v2 .home-wallet-entry>strong:empty::before{content:'—';color:var(--muted)}
#screen-home.ccu-home-v2 .home-card-trigger{margin:0 0 14px;padding:21px 24px;border:1px solid var(--line);border-top:0;border-radius:4px;box-shadow:var(--shadow)}
#screen-home.ccu-home-v2 .home-card-trigger strong{font:700 24px/1.2 Jost,sans-serif;text-transform:uppercase}
#screen-home.ccu-home-v2 .home-card-trigger small{font:400 14px/1.5 Poppins,sans-serif;color:var(--muted)}
#screen-home.ccu-home-v2 .home-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 28px}
#screen-home.ccu-home-v2 .home-shortcuts button{min-height:48px;padding:10px 8px;border:1px solid var(--line);border-radius:4px;font:700 15px/1.25 Jost,sans-serif;box-shadow:none;background:#fff;color:var(--ink)}
#screen-home.ccu-home-v2 .home-shortcuts button:last-child{border-color:var(--line)}
#screen-home.ccu-home-v2 .home-shortcuts button:hover{color:var(--pink);border-color:var(--pink)}
#screen-home.ccu-home-v2 .home-card{padding:24px;border:0;border-radius:4px;box-shadow:var(--shadow);background:var(--pink-soft)}
#screen-home.ccu-home-v2 .home-card h2,#screen-home.ccu-home-v2 .home-section>h2{margin:0 0 16px;font:600 27px/1.15 Jost,sans-serif;text-transform:uppercase;color:var(--ink)}
#screen-home.ccu-home-v2 .home-muted,#screen-home.ccu-home-v2 .home-offers span{font:400 14px/1.6 Poppins,sans-serif;color:var(--muted)}
#screen-home.ccu-home-v2 .home-offers strong{font:700 20px/1.3 Jost,sans-serif}
#screen-home.ccu-home-v2 .home-offers li{padding-block:8px;border-color:var(--line)}
#screen-home.ccu-home-v2 .home-editorial{border:0;border-radius:4px;box-shadow:var(--shadow)}
#screen-home.ccu-home-v2 .home-editorial h3{font:600 22px/1.2 Jost,sans-serif;color:var(--ink)}
#screen-home.ccu-home-v2 .home-editorial-copy{padding:20px}
#screen-home.ccu-home-v2 .home-editorial-copy>span:last-child{display:inline-block;margin-top:4px;font:600 14px/1.4 Poppins,sans-serif;color:var(--pink)}
#screen-home.ccu-home-v2 .home-inline-link{font:600 14px/1.5 Poppins,sans-serif;color:var(--pink)}
#screen-home.ccu-home-v2 .home-explore{display:grid;grid-template-columns:1fr;gap:8px;margin:0;padding:0}
#screen-home.ccu-home-v2 .home-explore li{display:block;min-height:0;padding:0;border:0}
#screen-home.ccu-home-v2 .home-explore h2{margin:0!important;font:700 18px/1.3 Jost,sans-serif!important}
#screen-home.ccu-home-v2 .home-feature-button{display:block;width:100%;min-height:52px;margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:4px;color:var(--ink);background:#fff;font:inherit;text-align:left;white-space:normal}
#screen-home.ccu-home-v2 .home-feature-button:hover{border-color:var(--pink);color:var(--pink)}
.services-layout-v2 .services-entry-title{font:700 17px/1.3 Jost,sans-serif}
.services-layout-v2 .services-entry-badge{font:400 12px/1.4 Poppins,sans-serif}
.services-layout-v2 .services-profile-link .services-entry-title{font-size:17px}




body:has(#customer-app:not(.hidden) #screen-home.ccu-home-v2.active) .app-shell{padding-bottom:calc(130px + env(safe-area-inset-bottom,0px))}
@media(min-width:800px){#screen-home.ccu-home-v2 .home-explore{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){#screen-home.ccu-home-v2 .home-shortcuts button{font-size:14px;padding-inline:6px}#screen-home.ccu-home-v2 .home-card h2,#screen-home.ccu-home-v2 .home-section>h2{font-size:25px}#screen-home.ccu-home-v2 .home-wallet-entry,#screen-home.ccu-home-v2 .home-card-trigger{padding:20px}}

/* Composition définitive : une seule zone fidélité, fonctions personnelles dans Mon espace. */
#screen-home.ccu-home-v2 .home-loyalty-zone{margin:0 0 26px;overflow:hidden;border:1px solid var(--line);border-top:5px solid var(--pink);border-radius:4px;background:#fff;box-shadow:var(--shadow)}
#screen-home.ccu-home-v2 .home-loyalty-zone .home-wallet-entry{margin:0;border:0;border-radius:0;background:var(--green-soft);box-shadow:none}
#screen-home.ccu-home-v2 .home-loyalty-zone .home-card-trigger{margin:0;border:0;border-top:1px solid var(--line);border-radius:0;background:#fff;box-shadow:none}
#screen-home.ccu-home-v2 .home-loyalty-zone .home-card-trigger strong{font-weight:600}
#screen-home.ccu-home-v2 #home-current-offers .home-offers li:nth-child(n+3){display:none}
#screen-home.ccu-home-v2 .review-card{gap:14px;padding:22px;box-shadow:0 8px 24px rgba(57,70,78,.09)}
#screen-home.ccu-home-v2 .review-card h2{font-size:24px;line-height:1.15}
#screen-home.ccu-home-v2 .review-card p{font-size:14px;line-height:1.5}
.home-review-details:has(#google-latest-reviews.hidden){display:none}
.home-review-details>summary{padding:10px 0;color:var(--pink);font:600 14px/1.4 Poppins,sans-serif;cursor:pointer}

/* Brief consolidé : visuel réel de marque en en-tête et menu du site. */
.brand-animals-header{display:none}
body:has(#customer-app:not(.hidden) #screen-home.active) .brand-animals-header{display:block;position:absolute;right:82px;bottom:10px;width:120px;height:80px;object-fit:contain;object-position:center bottom}
body:has(#customer-app:not(.hidden) #screen-home.active) .services-menu-button{border:0;background:transparent}
body:has(#customer-app:not(.hidden) #screen-home.active) .services-menu-button span{width:26px;background:var(--pink)}
@media(max-width:350px){body:has(#customer-app:not(.hidden) #screen-home.ccu-home-v2.active) .brand-header .brand-logo{width:96px!important;max-height:80px}body:has(#customer-app:not(.hidden) #screen-home.active) .brand-animals-header{right:73px;width:105px;height:72px}}

/* Réutilisation des composants historiques du profil, sans changement des données. */
.services-layout-v2 .services-list{display:grid;gap:8px;padding-top:18px}
.services-layout-v2 .services-list>button,.services-layout-v2 .services-profile-link{min-height:52px;border:1px solid var(--line);border-radius:4px;padding:12px 14px;color:var(--ink);background:#fff;font-family:Jost,sans-serif;font-size:16px;font-weight:700;text-align:left;box-shadow:none}
.services-layout-v2 .services-entry-title,.services-layout-v2 .services-profile-link .services-entry-title{font:700 16px/1.3 Jost,sans-serif;text-decoration:none;color:var(--ink)}
.services-layout-v2 .services-list .services-secondary .services-entry-title{font-size:16px;color:var(--ink)}
.services-layout-v2 .services-profile-link{margin:8px 0 0;text-decoration:none}
.services-layout-v2 .services-entry-badge{font:400 12px/1.4 Poppins,sans-serif;color:var(--muted)}

/* Pages publiques : mêmes familles et mêmes titres que le site, sans police fine ajoutée. */
.ccu-public-home{font-family:Poppins,sans-serif;font-weight:400;color:var(--ink,#39464e)}
.ccu-public-home .home-card h2,.ccu-public-home .home-section>h2{font:600 28px/1.2 Jost,sans-serif;text-transform:uppercase}
.ccu-public-home .home-editorial h3{font:600 24px/1.25 Jost,sans-serif}
.ccu-public-home .home-explore h2{font:600 20px/1.3 Jost,sans-serif!important}
.ccu-public-home .home-explore h2 a{color:var(--ink,#39464e);text-decoration:none}

.services-layout-v2 .services-profile-link{width:100%}
.brand-animals-frame{display:none}
body:has(#customer-app:not(.hidden) #screen-home.active) .brand-animals-frame{display:block;position:absolute;right:74px;bottom:0;width:144px;height:80px;overflow:hidden}
body:has(#customer-app:not(.hidden) #screen-home.active) .brand-animals-frame .brand-animals-header{display:block;position:absolute;left:-17px;right:auto;bottom:0;width:178px;max-width:none;height:auto;object-fit:contain}
@media(max-width:350px){body:has(#customer-app:not(.hidden) #screen-home.active) .brand-animals-frame{width:120px;right:68px}body:has(#customer-app:not(.hidden) #screen-home.active) .brand-animals-frame .brand-animals-header{width:150px;left:-15px;height:auto}}

/* Même menu de marque sur toutes les pages connectées. */
body:has(#customer-app:not(.hidden)) .services-menu-button{border:0;background:transparent}
body:has(#customer-app:not(.hidden)) .services-menu-button span{width:26px;background:var(--pink)}

/* Accueil validé en petits blocs ; la cagnotte reste uniquement dans Mon profil. */
#screen-home.ccu-home-v2 .home-loyalty-zone{border-top:0;box-shadow:var(--shadow)}
#screen-home.ccu-home-v2 .home-loyalty-zone .home-card-trigger{border-top:4px solid var(--pink)}
#screen-home.ccu-home-v2 .home-gang-card{margin:24px 0;padding:0;border:0;background:transparent;box-shadow:none}
#screen-home.ccu-home-v2 .home-gang-card>h2{font-size:24px;margin-bottom:10px}
#screen-home.ccu-home-v2 .home-gang-card>.home-muted{margin-bottom:10px}
#screen-home.ccu-home-v2 .home-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;list-style:none}
#screen-home.ccu-home-v2 .home-offers li,#screen-home.ccu-home-v2 .home-offers li:last-child{display:block;padding:14px 12px;border:1px solid var(--line);border-top:4px solid var(--pink);border-radius:4px;background:#fff;box-shadow:0 5px 16px rgba(57,70,78,.06)}
#screen-home.ccu-home-v2 .home-offers li:nth-child(2){border-top-color:var(--green)}
#screen-home.ccu-home-v2 .home-offers strong{display:block;font:600 18px/1.25 Jost,sans-serif}
#screen-home.ccu-home-v2 .home-offers span{display:block;margin-top:8px;font:400 12px/1.5 Poppins,sans-serif}
#screen-home.ccu-home-v2 .home-explore{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#screen-home.ccu-home-v2 .home-explore li{padding:0;min-width:0}
#screen-home.ccu-home-v2 .home-feature-button{height:100%;min-height:76px;padding:14px 12px;border:1px solid var(--line);border-top:4px solid var(--pink);border-radius:4px;box-shadow:0 5px 16px rgba(57,70,78,.06);font:600 18px/1.25 Jost,sans-serif}
#screen-home.ccu-home-v2 .home-explore li:nth-child(even) .home-feature-button{border-top-color:var(--green)}
@media(min-width:800px){#screen-home.ccu-home-v2 .home-explore{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:350px){#screen-home.ccu-home-v2 .home-feature-button,#screen-home.ccu-home-v2 .home-offers strong{font-size:16px}}

/* Carte fidélité clairement présentée comme une action principale. */
#screen-home.ccu-home-v2 .home-loyalty-zone{border:0;box-shadow:0 8px 22px rgba(204,51,102,.18)}
#screen-home.ccu-home-v2 .home-loyalty-zone .home-card-trigger{border:2px solid var(--pink);border-radius:4px;background:var(--pink);color:#fff;padding:24px}
#screen-home.ccu-home-v2 .home-card-trigger strong{color:#fff}
#screen-home.ccu-home-v2 .home-card-trigger small{display:inline-block;margin-top:12px;padding:8px 12px;border-radius:4px;background:#fff;color:var(--pink);font:600 14px/1.4 Poppins,sans-serif}
#screen-home.ccu-home-v2 .home-card-trigger small::after{content:' →'}
#screen-home.ccu-home-v2 .home-card-trigger svg{color:#fff;width:48px;height:48px}
#screen-home.ccu-home-v2 .home-card-trigger:hover{background:var(--pink-deep);border-color:var(--pink-deep)}
#screen-home.ccu-home-v2 .home-card-trigger:active{transform:translateY(1px)}
#screen-home.ccu-home-v2 .home-loyalty-zone+.home-section{margin-top:20px}

/* Carte de fidélité plus légère : transparence et hauteur contenue. */
#screen-home.ccu-home-v2 .home-loyalty-zone{border:0;border-radius:4px;box-shadow:none}
#screen-home.ccu-home-v2 .home-loyalty-zone .home-card-trigger{gap:14px;padding:14px 18px;border:1px solid rgba(204,51,102,.2);border-radius:4px;background:rgba(204,51,102,.035);color:var(--ink);box-shadow:none}
#screen-home.ccu-home-v2 .home-card-trigger strong{font:600 20px/1.2 Jost,sans-serif;color:var(--ink)}
#screen-home.ccu-home-v2 .home-card-trigger small{display:block;margin-top:4px;padding:0;background:transparent;color:var(--pink);font:600 13px/1.4 Poppins,sans-serif;text-decoration:none}
#screen-home.ccu-home-v2 .home-card-trigger svg{width:32px;height:32px;color:var(--pink)}
#screen-home.ccu-home-v2 .home-card-trigger:hover{border-color:rgba(204,51,102,.4);background:rgba(204,51,102,.065)}
@media(max-width:350px){#screen-home.ccu-home-v2 .home-loyalty-zone .home-card-trigger{padding:12px 14px}#screen-home.ccu-home-v2 .home-card-trigger strong{font-size:18px}}

/* Palette CCU validée : rose, vert et anthracite, sans nouvelle couleur de marque. */
#customer-app{--pink:#CC3366;--green:#99CC99;--ink:#39464E}
#customer-app .button-secondary:not(#review-link){border-color:var(--green);background:rgba(153,204,153,.14);color:var(--ink)}
#customer-app .button-secondary:not(#review-link):hover{background:rgba(153,204,153,.28);color:var(--ink)}
#profile-form button[type=submit],#pet-form button[type=submit],#screen-nutrition .button-primary{border-color:var(--green);background:var(--green);color:var(--ink)}
#profile-form button[type=submit]:hover,#pet-form button[type=submit]:hover,#screen-nutrition .button-primary:hover{border-color:var(--green);background:rgba(153,204,153,.75);color:var(--ink)}
#benefits-list .benefit-card:not(.muted) .tag{background:var(--green);color:var(--ink)}
.services-layout-v2 .services-list>button{border-top:3px solid var(--pink)}
.services-layout-v2 .services-list>button:nth-child(even){border-top-color:var(--green)}
.services-layout-v2 .services-profile-link{border-top:3px solid var(--green)}
#google-latest-reviews{display:grid;gap:12px}
#google-latest-reviews .google-latest-review{padding:14px;border:1px solid var(--line);border-top:3px solid var(--pink);border-radius:4px;background:#fff}
#google-latest-reviews .google-latest-review:nth-child(even){border-top-color:var(--green)}
#google-latest-reviews .google-latest-review.has-more:not(.is-expanded) .google-latest-review-comment{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#google-latest-reviews .google-latest-review-comment{font:400 14px/1.55 Poppins,sans-serif;color:var(--ink)}
#google-latest-reviews .google-review-expand{padding:4px 0;margin-top:6px;border:0;background:transparent;color:var(--ink);font:600 13px/1.4 Poppins,sans-serif;text-decoration:underline;text-underline-offset:3px}

/* Compact wallet page: normal title, restrained spacing. */
#screen-wallet{padding-top:clamp(12px,3vh,28px)}
#screen-wallet>h1{max-width:520px;margin-left:auto;margin-right:auto}
#screen-wallet>.wallet-hero{box-sizing:border-box;width:100%;max-width:520px;margin:20px auto 32px}

/* QR modal layout only. Header and card number do not displace the QR center. */
#home-card-dialog[open]{--ccu-qr-panel-height:min(520px,calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)));--ccu-qr-side:min(290px,calc(100vw - 72px),calc(var(--ccu-qr-panel-height) - 208px));position:fixed;inset:auto;top:50vh;top:50dvh;left:50vw;transform:translate(-50%,-50%);margin:0;padding:0;width:min(440px,calc(100vw - 24px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));height:var(--ccu-qr-panel-height);max-width:none;max-height:none;overflow:hidden;box-sizing:border-box}
#home-card-dialog .home-dialog-header{position:absolute;top:12px;left:16px;right:12px;margin:0;gap:8px;z-index:2}
#home-card-dialog .home-dialog-header h2{min-width:0}
#home-card-dialog #loyalty-card-purpose{position:absolute;top:78px;left:16px;right:16px;margin:0;text-align:center;z-index:2}
#screen-home.ccu-home-v2 #home-card-dialog .loyalty-qr-wrap{position:absolute;inset:0;width:100%;height:100%;justify-self:stretch;align-self:stretch;display:block;margin:0;padding:0;border:0;box-sizing:border-box;pointer-events:none}
#screen-home.ccu-home-v2 #home-card-dialog #loyalty-qr{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:var(--ccu-qr-side);height:var(--ccu-qr-side);min-height:0;max-width:none;margin:0;padding:8px;box-sizing:border-box}
#screen-home.ccu-home-v2 #home-card-dialog #loyalty-qr svg{display:block;width:100%;height:100%;max-width:none;max-height:none}
#screen-home.ccu-home-v2 #home-card-dialog .loyalty-card-code{position:absolute;bottom:16px;left:16px;right:16px;text-align:center;pointer-events:auto}

/* Outings: location choice only; existing CCU typography and palette retained. */
#screen-community-outings .outings-zone-card{margin:16px 0 10px;padding:16px;border:1px solid var(--line);border-top:3px solid #99CC99;border-radius:4px;background:#f7f7f7;min-width:0}
#screen-community-outings .outings-zone-card strong{display:block;font:600 17px/1.4 Jost,sans-serif;color:#39464E;overflow-wrap:anywhere}
#screen-community-outings #outings-coordinates{font-size:12px;line-height:1.6;overflow-wrap:anywhere;margin:6px 0}
#screen-community-outings .outings-zone-options{display:grid;gap:8px;list-style:none;padding:0;margin:10px 0}
#screen-community-outings .outings-zone-options .button{width:100%;height:auto;white-space:normal;text-align:left;overflow-wrap:anywhere;font-size:14px}
#screen-community-outings .outings-radius-control{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}
#screen-community-outings .outings-radius-control select{width:110px;min-width:0;min-height:44px;font-size:16px}
#screen-community-outings .outings-map-link{display:inline-block;font-weight:600;color:#CC3366;overflow-wrap:anywhere}
#screen-community-outings .outings-privacy{margin:12px 0 20px;font-size:12px;line-height:1.5;color:#39464E}
#screen-community-outings .outings-privacy summary{cursor:pointer;text-decoration:underline}
#screen-community-outings .outings-distance{font-size:12px;color:#39464E}
#screen-community-outings [hidden]{display:none!important}
@media(max-width:360px){#screen-community-outings .directory-query-row{grid-template-columns:minmax(0,1fr)}#screen-community-outings .directory-query-row .button{width:100%}}

/* Shared CCU presentation: no content, route or behavior changes. */
:root{--ccu-pink:#CC3366;--ccu-green:#99CC99;--ccu-ink:#39464E;--ccu-line:#dce2e4;--ccu-soft-green:rgba(153,204,153,.14)}
body{font-family:Poppins,sans-serif;color:var(--ccu-ink);--muted:#39464E}
body :is(h1,h2,h3,h4){font-family:Jost,sans-serif;overflow-wrap:anywhere}
body :is(p,li,dd,dt,address,label,summary){overflow-wrap:anywhere}
body a,body a:visited{color:var(--ccu-pink)!important;text-underline-offset:3px;text-decoration-thickness:1px;overflow-wrap:anywhere}
body a:hover{text-decoration-thickness:2px}
body :is(a,button,input,select,textarea,summary,[role="button"]):focus-visible{outline:2px solid var(--ccu-ink)!important;outline-offset:3px;box-shadow:0 0 0 5px rgba(153,204,153,.3)!important}
body :is(a,button,input,select,textarea,summary){scroll-margin-top:24px;scroll-margin-bottom:110px}
body :is(input,select,textarea){font-family:Poppins,sans-serif;color:var(--ccu-ink);accent-color:var(--ccu-pink);max-width:100%;box-sizing:border-box}
body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="hidden"]),select,textarea){min-height:44px;font-size:16px;border-radius:4px;border:1px solid var(--ccu-line);background:#fff}
body input::placeholder,body textarea::placeholder{color:var(--ccu-ink);opacity:.85}
body :is(input[type="checkbox"],input[type="radio"]){width:18px;height:18px;min-width:18px;vertical-align:middle}
body label:has(>input[type="checkbox"]),body label:has(>input[type="radio"]){min-height:44px;align-items:center}
body :is(.button,button:not([class]):not([data-screen]):not(#bottom-services-button),button[class=""]:not([data-screen]):not(#bottom-services-button),input[type="submit"]){box-sizing:border-box;min-height:44px;max-width:100%;padding:10px 16px;border-radius:4px;font-family:Jost,sans-serif;font-size:16px;font-weight:600;line-height:1.3;white-space:normal;overflow-wrap:anywhere;text-align:center;text-decoration:none;box-shadow:none;cursor:pointer}
body :is(.button-primary,button:not([class]):not([data-screen]):not(#bottom-services-button),button[class=""]:not([data-screen]):not(#bottom-services-button),input[type="submit"]){border:1px solid var(--ccu-pink)!important;background:var(--ccu-pink)!important;color:#fff!important}
body .button-secondary{border:1px solid var(--ccu-green)!important;background:var(--ccu-soft-green)!important;color:var(--ccu-ink)!important}
body a.button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
body :is(.text-button,.gang-small-link,.google-review-expand,.install-help-open,.install-step-skip){display:inline-flex;align-items:center;justify-content:flex-start;min-height:44px;max-width:100%;padding:8px 0;border:0;background:transparent;color:var(--ccu-pink)!important;font-family:Jost,sans-serif;font-size:14px;font-weight:600;line-height:1.5;text-align:left;text-decoration:underline;text-underline-offset:3px;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
body :is(.button,.text-button,.gang-small-link):disabled{cursor:not-allowed}
body :is(.ration-option,.directory-category-button,.directory-breed-choice){min-height:44px;font-family:Jost,sans-serif;font-weight:600;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
body :is(.ration-option.active,.directory-category-button.active,button[aria-pressed="true"]){background:var(--ccu-green)!important;border-color:var(--ccu-green)!important;color:var(--ccu-ink)!important}
body :is(.form-intro,.nutrition-date,.nutrition-caution,.privacy-card p,.wallet-hero small,.birth-date-field small,.form-stack small,.pet-photo-picker~p){color:var(--ccu-ink)!important}
body .review-card #review-link{background:var(--ccu-pink)!important;border-color:var(--ccu-pink)!important;color:#fff!important}
#profile-form button[type="submit"],#pet-form button[type="submit"],#screen-nutrition .button-primary{background:var(--ccu-green)!important;border-color:var(--ccu-green)!important;color:var(--ccu-ink)!important}
body a.brand{color:var(--ccu-ink)!important}
body:not(:has(#customer-app))>header nav{display:flex;flex-wrap:wrap;gap:8px}
body:not(:has(#customer-app))>header nav a{display:inline-flex;align-items:center;min-height:44px;padding:7px 12px;border:1px solid var(--ccu-green);border-radius:4px;background:var(--ccu-soft-green);font:600 15px/1.4 Jost,sans-serif;color:var(--ccu-ink)!important;text-decoration:none;box-sizing:border-box}
body:not(:has(#customer-app))>main>p>a:only-child:not([href^="tel:"]):not([href^="mailto:"]),body:not(:has(#customer-app)) .home-card>p>a:only-child,body:not(:has(#customer-app)) .public-card>p>a:only-child:not([href^="tel:"]):not([href^="mailto:"]){display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;box-sizing:border-box;padding:10px 16px;border:1px solid var(--ccu-pink);border-radius:4px;background:var(--ccu-pink);color:#fff!important;font:600 16px/1.4 Jost,sans-serif;text-align:center;text-decoration:none}
body:not(:has(#customer-app)) .public-card>p>a:only-child:not([href^="tel:"]):not([href^="mailto:"]){border-color:var(--ccu-green);background:var(--ccu-soft-green);color:var(--ccu-ink)!important}
body:not(:has(#customer-app)) :is(.public-card h2,.public-card h3,.home-explore h2)>a{color:var(--ccu-ink)!important;text-decoration:none}
body:not(:has(#customer-app)) :is(.public-card h2,.public-card h3,.home-explore h2)>a:hover{color:var(--ccu-pink)!important;text-decoration:underline}
body:not(:has(#customer-app))>main :is(.public-card,.public-grid,.public-directory-form,fieldset){min-width:0;max-width:100%;box-sizing:border-box}
body:not(:has(#customer-app))>main :is(img,video,iframe){max-width:100%}
body :is(.button,.text-button,.gang-small-link):focus-visible{outline-width:2px}
@media(prefers-reduced-motion:reduce){body :is(.button,.text-button,.gang-small-link,.directory-category-button){transition:none}}

body input[type="file"]::file-selector-button{min-height:44px;padding:8px 12px;margin-right:8px;border:1px solid var(--ccu-green);border-radius:4px;background:var(--ccu-soft-green);color:var(--ccu-ink);font:600 14px/1.4 Jost,sans-serif}
body:not(:has(#customer-app))>footer nav a{display:inline-flex;align-items:center;min-height:44px;padding-block:6px;box-sizing:border-box}
body:not(:has(#customer-app)) .breadcrumb a{display:inline-flex;align-items:center;min-height:24px}

body #bottom-nav a{color:var(--ccu-ink)!important}

/* Form tracks must shrink to the viewport, including WebKit select intrinsic widths. */
body :is(.form-stack,.form-grid,.form-stack>label,.form-grid>label){min-width:0;max-width:100%;box-sizing:border-box}
body :is(.form-stack,.form-grid) select{width:100%;min-width:0;-webkit-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2339464E' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");background-size:12px 8px;background-repeat:no-repeat;background-position:right 14px center}

body :is(.form-stack,.form-grid) textarea{width:100%;min-width:0}

/* Preserve explicit HTML visibility across shared and legacy component styles. */
body [hidden]{display:none!important}
