/* Chargé après les styles de page, dans le header commun. */
.pm-header{gap:20px}
.pm-header .pm-account-menu{display:grid!important;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border:0;border-radius:10px;background:transparent;color:#0c1837;order:-1}
.pm-account-menu svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.pm-header .pm-theme-switch{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;padding:5px 7px;margin-left:auto;border:1px solid #ccd7e6;border-radius:99px;background:#e9eff8;color:#51627d;cursor:pointer;isolation:isolate}
.pm-theme-switch svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pm-header .pm-theme-switch[aria-checked=true]{background:#18263d;border-color:#435570;color:#e2edff}
.pm-header .pm-account-menu:hover{background:#edf3ff}
@media(max-width:740px){.pm-header{gap:10px;padding:0 12px}.pm-header .pm-account-menu{flex-basis:36px;width:36px;height:40px;padding:7px}.pm-header .pm-logo{font-size:22px;gap:5px}.pm-header .pm-logo svg{width:28px}.pm-header .pm-theme-switch{flex-basis:36px}.pm-header .pm-notification{margin-left:0}}
html[data-pm-theme=dark]{color-scheme:dark;background:#101827}
html[data-pm-theme=dark] body{--blue:#79aaff;--navy:#e7eefb;--muted:#a7b6ce;--border:#34445c;--bg:#101827;background:#101827!important;color:#e7eefb!important}
html[data-pm-theme=dark] .pm-header{background:#162134f5;border-color:#34445c;color:#e7eefb}
html[data-pm-theme=dark] .pm-header :is(.pm-logo,.pm-links a,.pm-icon-button,.pm-account-menu){color:#e7eefb}
html[data-pm-theme=dark] .pm-header .pm-logo>svg>path:first-child{fill:#e7eefb}
html[data-pm-theme=dark] .pm-header .pm-logo>svg :is(path:not(:first-child),circle){stroke:#162134;fill:#162134}
html[data-pm-theme=dark] .pm-header .pm-logo span span{color:#79aaff}
html[data-pm-theme=dark] :is(.ads-main,.pm-home,.pm-msg-main,.infos-main,.myads-main){color:#e7eefb}
html[data-pm-theme=dark] :is(.card,.ads-card,.ads-empty,.pm-home-group,.pm-home-empty,.pm-msg-layout,.infos-card,.myads-card,.myads-empty,dialog){background:#1a2639!important;color:#e7eefb!important;border-color:#34445c!important;box-shadow:none}
html[data-pm-theme=dark] :is(.ads-filters,.ads-visual,.ads-missing,.pm-search,.pm-home-group h3,.pm-msg-bubble,.sidebar,.console-card,.myads-metrics div){background:#202f45!important;color:#d9e5f7!important;border-color:#34445c!important}
html[data-pm-theme=dark] :is(.ads-body h2 a,.ads-heading h1,.pm-home h1,.pm-home-heading h2,.pm-msg-thread strong,.pm-msg-chat h2){color:#e7eefb!important}
html[data-pm-theme=dark] :is(.ads-platform,.ads-offer-count,.ads-heading p,.ads-filter-note,.ads-credit,.ads-range,.ads-filter-field label,.ads-favorites-status,.intro,.hint,.steps,.login,.pm-home-intro,.pm-home-heading p,.pm-home-footer,.pm-msg-main small,.pm-msg-thread span,.infos-heading p,.infos-intro,.infos-help,.myads-stats-note){color:#adbed5!important}
html[data-pm-theme=dark] :is(.ads-main,.pm-home,.pm-msg-main,.pm-infos,.pm-myads,.pm-login) a:not(.ads-create):not(.ads-pagination [aria-current]):not(.pm-home-button){color:#8bb6ff}
html[data-pm-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){background:#152135!important;color:#e7eefb!important;border-color:#435570!important}
html[data-pm-theme=dark] ::placeholder{color:#93a5bf!important;opacity:1}
html[data-pm-theme=dark] :is(.ads-favorite,.ads-pagination a,.ads-pagination span,.pm-msg-toolbar nav a,.pm-home-button-secondary){background:#202f45!important;color:#b4cfff!important;border-color:#435570!important}
html[data-pm-theme=dark] .ads-favorite[aria-pressed=true]{color:#ff849f!important}
html[data-pm-theme=dark] :is(.pm-msg-thread.selected,.pm-msg-bubble.mine,.status,.pm-msg-toolbar [aria-current=true]){background:#233e63!important;color:#deebff!important}
html[data-pm-theme=dark] :is(.ads-price,.percentage){color:#8bb6ff!important}
html[data-pm-theme=dark] :is(.pm-msg-list,.pm-msg-chat header,.pm-msg-compose,.pm-msg-thread,.pm-home-list li+li,.activity-item){border-color:#34445c!important}
html[data-pm-theme=dark] .pm-header .pm-account-menu:hover{background:#2a3c58}
html[data-pm-theme=dark] :is(.ads-create,.submit,.btn,.pm-home-button:not(.pm-home-button-secondary),.ads-filter-actions button,.pm-msg-compose button){background:#175aca;color:#fff}
html[data-pm-theme=dark] :is(.ads-pagination [aria-current=page]){background:#175aca!important;color:white!important}
html[data-pm-theme=dark] :is(.ads-alert,.pm-msg-error,.login-alert,.infos-alert-error){background:#482b35!important;color:#ffc1c8!important}

/* Image d’accueil adaptée au thème. */
html:not([data-pm-theme="dark"]) .pm-home-hero{
  background-image:linear-gradient(90deg,rgba(255,255,255,.80) 0%,rgba(255,255,255,.56) 56%,rgba(255,255,255,.08) 100%),url("/assets/hero-padmarket-soleil.webp")!important;
  background-size:cover!important;
  background-position:center!important;
}
html:not([data-pm-theme="dark"]) .pm-home-hero h1{color:#10203a!important}
html:not([data-pm-theme="dark"]) .pm-home-hero :is(p,.pm-home-intro){color:#34435c!important}
html[data-pm-theme="dark"] .pm-home-hero{
  background-image:linear-gradient(90deg,rgba(9,17,33,.78) 0%,rgba(9,17,33,.52) 56%,rgba(9,17,33,.08) 100%),url("/assets/hero-padmarket-lune.webp")!important;
  background-size:cover!important;
  background-position:center!important;
}
